From ce75a406e63e93d91bcd15b3e6d005c4de2aca87 Mon Sep 17 00:00:00 2001 From: Daniil Zavyalov Date: Sat, 27 Apr 2024 15:04:56 +0600 Subject: [PATCH 1/4] [~] update readme --- effectiveOfficeBackend/.env.example | 9 ++-- effectiveOfficeBackend/docker-compose.yml | 1 - effectiveOfficeBackend/readme.md | 54 +++++++++++------------ 3 files changed, 29 insertions(+), 35 deletions(-) diff --git a/effectiveOfficeBackend/.env.example b/effectiveOfficeBackend/.env.example index f45be35ff..6bba4f67a 100644 --- a/effectiveOfficeBackend/.env.example +++ b/effectiveOfficeBackend/.env.example @@ -1,18 +1,15 @@ POSTGRES_PASSWORD=1234567890test POSTGRES_DB=effectiveOfficeBackendDB POSTGRES_USER=postgres -DATABASE_PASSWORD=1234567890test -GOOGLE_CLIENT_ID=random -GOOGLE_CLIENT_SECRET=random -VERIFICATION_PLUGIN_ENABLE=false DATABASE_HOST=0.0.0.0 DATABASE_PORT=15432 DATABASE_NAME=effectiveOfficeBackendDB DATABASE_USERNAME=postgres -MIGRATIONS_ENABLE=true +DATABASE_PASSWORD=1234567890test +VERIFICATION_PLUGIN_ENABLE=false +MIGRATIONS_ENABLE=false SERVICE_ACCOUNT_KEY_PATH={your firebase service account credentials json} JSON_CREDENTIALS={your google calendar service account credentials json} -APPLICATION_URL=https://deployed.app.example.yandexcloud.net LOG_LEVEL=debug DEFAULT_CALENDAR=effective.office@effective.band WORKSPACE_CALENDAR=c_46707d19c716de0d5d28b52082edfeb03376269e7da5fea78e43fcb15afda57e@group.calendar.google.com \ No newline at end of file diff --git a/effectiveOfficeBackend/docker-compose.yml b/effectiveOfficeBackend/docker-compose.yml index 49d900d21..0be8998eb 100644 --- a/effectiveOfficeBackend/docker-compose.yml +++ b/effectiveOfficeBackend/docker-compose.yml @@ -19,7 +19,6 @@ services: SERVICE_ACCOUNT_KEY_PATH: ${SERVICE_ACCOUNT_KEY_PATH} JSON_GOOGLE_CREDENTIALS: ${JSON_GOOGLE_CREDENTIALS} FIREBASE_SA_JSON: ${FIREBASE_SA_JSON} - APPLICATION_URL: ${APPLICATION_URL} db_postgres: container_name: postgresForKtor diff --git a/effectiveOfficeBackend/readme.md b/effectiveOfficeBackend/readme.md index dea44fef0..c6f4626b7 100644 --- a/effectiveOfficeBackend/readme.md +++ b/effectiveOfficeBackend/readme.md @@ -54,7 +54,6 @@ A list of technologies used within the project: * firebase * kotlin tests junit * mockito -* h2 database drivers (for tests) * logback classic # How to launch backend :running: @@ -75,10 +74,21 @@ In our project, we use monorepository, so you really don't need all the folders. ## Launch project +### Intellij Idea + test server database + +You can run the application using test server database (see backend.local.properties in Notion). +This allows all backend developers to use common data for testing +and correctly receive data from the test Google calendars. **Don't use this configuration for testing migrations.** + +First of all, you should create Kotlin run/debug configuration for the project in your Intellij Idea. +In the configuration, you should add values for project environment variables. +List of variables you may found in the text below. **MIGRATIONS_ENABLE variable must be false**. +Then you may run the application. + ### Docker If you have **Docker** and **Docker compose**, you may use docker-compose.yml and Dockerfile files to run project.
-In that case, you may need to specify some environment variables. You may use .env file in the same directory, +In that case, you also should specify all environment variables. You may use .env file in the same directory, as docker-compose.yml located. This file must contain few variables definitions. List of variables you may found in text below. Syntax: @@ -89,44 +99,32 @@ As a sample, you may use **.env.example** file To run application you need type in terminal, being inside backend project root directory (/effectiveOfficeBackend). > docker compose up -Docker will download docker images of postgreSQL and java, +Docker will download docker images of PostgreSQL and Java, build image with application itself and run postgres container at first place and effectiveOfficeBackend container at the second. If build ends well, last message you will see in terminal is goind to be > effectiveOfficeBackend | [DefaultDispatcher-worker-1] INFO ktor.application - Responding at http://0.0.0.0:8080 -### Local machine - -It is hightly recommended not to run project locally, if you doesn't want to take part in development process. - -To launch locally (without docker at all), you will need postgreSQL and jre. You also need to specify -environment variables on running .jar file or inside your IDE. - -Also, it may be useful during development, to run application itsserlf on local machine, but use -postgres container from docker. In that case you may run named container by command: -> docker compsoe up - ## Environment variables +You may use file .env.example as an example. -**POSTGRES_PASSWORD** - defines password for postgres db
-**POSTGRES_DB** - defines name of the postgres database to connect
-**POSTGRES_USER** - defines username for postgres container(postgresForKtor)
-**DATABASE_PASSWORD** - specify password to send to database container to connect
-**GOOGLE_CLIENT_ID** - Deprecated
-**GOOGLE_CLIENT_SECRET** - Deprecated
-**VERIFICATION_PLUGIN_ENABLE** - allows to turn on/off need in authetnication to access api. Any value instead of "true" will be recognised as "false"
-**DATABASE_HOST** - the name of the postgres docker container in the same network
**DATABASE_PORT** - specify the port of database container where application will make a call to establish connection with postgres
**DATABASE_NAME** - specify the name of database to connect
**DATABASE_USERNAME** - specify the username of **database** user to connect
+**DATABASE_PASSWORD** - specify password to send to database container to connect
**MIGRATIONS_ENABLE** - allows to turn on/off database migrations process. Any value instead of "true" will be recognised as "false"
-**JSON_GOOGLE_CREDENTIALS** - json file with Google credentials, needed to access calendar api
-**FIREBASE_SA_JSON** - credentials json file from Firebase service account
-**APPLICATION_URL** - actual url address of application itself. Must be https url. Can't be localhost.
+**VERIFICATION_PLUGIN_ENABLE** - allows to turn on/off requests authentication. Any value instead of "true" will be recognised as "false"
+**JSON_GOOGLE_CREDENTIALS** - json with Google credentials, needed to access Google calendar api
+**FIREBASE_SA_JSON** - credentials json file of Firebase service account
**LOG_LEVEL** - logging level in application. Used in logback.xml. Default value: debug
-**DEFAULT_CALENDAR** - default Google calendar, used for booking meeting rooms. If not defined value from the config file will be used instead. -**WORKSPACE_CALENDAR** - Google calendar for booking working places. If not defined value from the config file will be used instead. +**DEFAULT_CALENDAR** - default Google calendar id, used for booking meeting rooms. If not defined value from the config file will be used instead. +**WORKSPACE_CALENDAR** - Google calendar id for booking working places (regular workspaces). If not defined value from the config file will be used instead. + +### Docker-only environment variables + +**POSTGRES_PASSWORD** - defines a password for postgres docker container
+**POSTGRES_DB** - defines a database name for postgres docker container
+**POSTGRES_USER** - defines an username for postgres container
-You may use file .env.example as an example. ## Authors: :writing_hand: From 3ce0f63bc111f77d6060ed5055ba6ad6d06a3bed Mon Sep 17 00:00:00 2001 From: Daniil Zavyalov Date: Sat, 27 Apr 2024 15:56:46 +0600 Subject: [PATCH 2/4] [~] update documentation --- effectiveOfficeBackend/.env.example | 2 +- .../model/-ending/-count/-count.md | 6 - .../model/-ending/-count/value.md | 6 - .../model/-ending/-empty/index.md | 6 - .../model/-ending/-until/-until.md | 6 - .../model/-ending/-until/value.md | 6 - .../model/-recurrence-d-t-o/index.md | 2 +- .../model/-recurrence/-companion/index.md | 12 -- .../-recurrence/-companion/to-recurrence.md | 6 - .../model/-recurrence/ending.md | 6 - .../model/-recurrence/freq.md | 6 - .../model/-recurrence/interval.md | 6 - .../model/-recurrence/to-dto.md | 6 - .../model/index.md | 3 - .../-d-e-f-a-u-l-t_-c-a-l-e-n-d-a-r.md | 6 + .../-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-i-d.md | 6 + .../-u-n-t-i-l_-f-o-r-m-a-t.md | 6 + .../-w-o-r-k-s-p-a-c-e_-c-a-l-e-n-d-a-r.md | 6 + .../-booking-constants/index.md | 4 + .../-database-transaction-manager-impl.md | 6 + .../index.md | 20 ++ .../use-transaction.md | 19 ++ .../index.md | 9 + .../-database-transaction-manager.md | 6 - .../-database-transaction-manager/index.md | 15 +- .../use-transaction.md | 2 +- .../office.effective.common.utils/index.md | 2 +- .../auth-di-module.md | 0 .../index.md | 0 .../-api-key-entity/-companion/index.md | 2 +- .../-api-key-entity/id.md | 0 .../-api-key-entity/index.md | 0 .../-api-key-entity/key-value.md | 0 .../-api-keys/id.md | 0 .../-api-keys/index.md | 4 +- .../-api-keys/value.md | 0 .../-auth-repository/-auth-repository.md | 0 .../-auth-repository/find-api-key.md | 2 +- .../-auth-repository/index.md | 2 +- .../apikeys.md | 0 .../index.md | 0 .../-api-key-authorizer.md | 6 + .../-api-key-authorizer/authorize.md | 24 +++ .../-api-key-authorizer/index.md | 26 +++ .../-api-key-authorizer/logger.md | 6 + .../-authorization-pipeline.md | 6 + .../-authorization-pipeline/add-authorizer.md | 24 +++ .../-authorization-pipeline/authorize.md | 18 ++ .../-authorization-pipeline/index.md | 27 +++ .../-authorization-pipeline/logger.md | 6 + .../-authorizer/authorize.md | 18 ++ .../-authorizer/index.md | 23 ++ .../-permit-authorizer/-permit-authorizer.md | 6 + .../-permit-authorizer/authorize.md | 18 ++ .../-permit-authorizer/index.md | 30 +++ .../-permit-authorizer/logger.md | 6 + .../-request-authorizer.md | 6 + .../-request-authorizer/authorize.md | 24 +++ .../-request-authorizer/index.md | 26 +++ .../-request-authorizer/logger.md | 6 + .../-token-authorizer/-token-authorizer.md | 6 + .../-token-authorizer/authorize.md | 32 +++ .../-token-authorizer/index.md | 26 +++ .../-token-authorizer/logger.md | 6 + .../-token-extractor/-token-extractor.md | 6 + .../-token-extractor/extract-token.md | 22 ++ .../-token-extractor/index.md | 18 ++ .../index.md | 15 ++ .../-booking-repository-converter/index.md | 13 +- .../-google-calendar-converter/index.md | 9 +- .../to-booking-d-t-o.md | 26 --- .../to-booking-model-for-meeting-workspace.md | 24 +++ .../to-booking-model.md | 28 --- .../to-google-event.md | 45 ---- .../to-google-workspace-event.md | 45 ---- .../to-google-workspace-meeting-event.md | 24 +++ .../to-google-workspace-regular-event.md | 24 +++ .../to-workspace-booking.md | 2 +- .../-recurrence-converter/index.md | 1 + .../recurrence-to-model.md | 6 + .../get-recurrence.md | 2 +- .../-recurrence-rule-factory/index.md | 4 +- .../-recurrence-rule-factory/rule.md | 2 +- .../index.md | 2 +- .../-booking-meeting-repository.md} | 4 +- .../delete-by-id.md | 6 +- .../exists-by-id.md | 6 +- .../find-all-by-owner-and-workspace-id.md | 6 +- .../find-all-by-owner-id.md | 2 +- .../find-all-by-workspace-id.md | 6 +- .../find-all.md | 6 +- .../find-by-id.md | 6 +- .../index.md | 8 +- .../save.md | 6 +- .../update.md | 6 +- .../-booking-regular-repository.md} | 4 +- .../delete-by-id.md | 2 +- .../exists-by-id.md | 2 +- .../find-all-by-owner-and-workspace-id.md | 2 +- .../find-all-by-owner-id.md | 2 +- .../find-all-by-workspace-id.md | 2 +- .../find-all.md | 2 +- .../find-by-id.md | 2 +- .../index.md | 10 +- .../save.md | 2 +- .../update.md | 2 +- .../-booking-repository/index.md | 13 +- .../-i-booking-repository/index.md | 4 +- .../index.md | 6 +- .../-booking-service/-booking-service.md | 2 +- .../-booking-service/index.md | 6 +- .../index.md | 2 +- .../find-all-calendars-id.md | 4 - .../find-by-workspace.md | 4 - .../find-workspace-by-id.md | 4 - .../-user-facade/-user-facade.md | 2 +- .../-user-facade/index.md | 4 +- .../index.md | 2 +- .../-user-repository/find-all-by-email.md | 22 ++ .../-user-repository/index.md | 1 + .../-api-key-verifier/-api-key-verifier.md | 6 - .../-api-key-verifier/index.md | 20 -- .../-api-key-verifier/is-correct-token.md | 24 --- .../-i-token-verifier/index.md | 20 -- .../-i-token-verifier/is-correct-token.md | 18 -- .../-token-verifier/-token-verifier.md | 6 - .../-token-verifier/index.md | 20 -- .../-token-verifier/is-correct-token.md | 32 --- .../office.effective.features.user/index.md | 11 - .../-ending/-count/-count.md | 6 + .../-ending/-count/index.md | 2 +- .../-ending/-count/value.md | 6 + .../-ending/-empty/index.md | 6 + .../-ending/-until/-until.md | 6 + .../-ending/-until/index.md | 2 +- .../-ending/-until/value.md | 6 + .../-ending/index.md | 2 +- .../-freq/-d-a-i-l-y/index.md | 2 +- .../-freq/-m-o-n-t-h-l-y/index.md | 2 +- .../-freq/-w-e-e-k-l-y/index.md | 2 +- .../-freq/-y-e-a-r-l-y/index.md | 2 +- .../-freq/index.md | 2 +- .../-freq/value-of.md | 2 +- .../-freq/values.md | 2 +- .../-recurrence-model/-companion/index.md | 12 ++ .../-companion/to-recurrence.md | 6 + .../-recurrence-model/index.md | 12 ++ .../-recurrence/-companion/index.md | 12 ++ .../-recurrence/-companion/to-recurrence.md | 6 + .../-recurrence/-recurrence.md | 2 +- .../-recurrence/by-day.md | 2 +- .../-recurrence/by-hour.md | 2 +- .../-recurrence/by-month.md | 2 +- .../-recurrence/by-year-day.md | 2 +- .../-recurrence/ending.md | 6 + .../-recurrence/freq.md | 6 + .../-recurrence/index.md | 4 +- .../-recurrence/interval.md | 6 + .../-recurrence/to-dto.md | 6 + .../office.effective.model/index.md | 3 + .../-custom-authorization-plugin.md | 8 + .../-verification-plugin.md | 8 - .../office.effective.plugins/index.md | 2 +- .../com.backend.effectiveoffice/package-list | 199 ++++++++++-------- .../documentation/gfm/index.md | 73 +++---- effectiveOfficeBackend/readme.md | 6 +- 166 files changed, 1001 insertions(+), 651 deletions(-) delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-count/-count.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-count/value.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-empty/index.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-until/-until.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-until/value.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/-companion/index.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/-companion/to-recurrence.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/ending.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/freq.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/interval.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/to-dto.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-d-e-f-a-u-l-t_-c-a-l-e-n-d-a-r.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-i-d.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-u-n-t-i-l_-f-o-r-m-a-t.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-w-o-r-k-s-p-a-c-e_-c-a-l-e-n-d-a-r.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils.impl/-database-transaction-manager-impl/-database-transaction-manager-impl.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils.impl/-database-transaction-manager-impl/index.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils.impl/-database-transaction-manager-impl/use-transaction.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils.impl/index.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils/-database-transaction-manager/-database-transaction-manager.md rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{office.effective.features.simpleAuth.di => office.effective.features.auth.di}/auth-di-module.md (100%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{office.effective.features.simpleAuth.di => office.effective.features.auth.di}/index.md (100%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{office.effective.features.simpleAuth.repository => office.effective.features.auth.repository}/-api-key-entity/-companion/index.md (88%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{office.effective.features.simpleAuth.repository => office.effective.features.auth.repository}/-api-key-entity/id.md (100%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{office.effective.features.simpleAuth.repository => office.effective.features.auth.repository}/-api-key-entity/index.md (100%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{office.effective.features.simpleAuth.repository => office.effective.features.auth.repository}/-api-key-entity/key-value.md (100%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{office.effective.features.simpleAuth.repository => office.effective.features.auth.repository}/-api-keys/id.md (100%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{office.effective.features.simpleAuth.repository => office.effective.features.auth.repository}/-api-keys/index.md (88%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{office.effective.features.simpleAuth.repository => office.effective.features.auth.repository}/-api-keys/value.md (100%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{office.effective.features.simpleAuth.repository => office.effective.features.auth.repository}/-auth-repository/-auth-repository.md (100%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{office.effective.features.simpleAuth.repository => office.effective.features.auth.repository}/-auth-repository/find-api-key.md (97%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{office.effective.features.simpleAuth.repository => office.effective.features.auth.repository}/-auth-repository/index.md (90%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{office.effective.features.simpleAuth.repository => office.effective.features.auth.repository}/apikeys.md (100%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{office.effective.features.simpleAuth.repository => office.effective.features.auth.repository}/index.md (100%) create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-api-key-authorizer/-api-key-authorizer.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-api-key-authorizer/authorize.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-api-key-authorizer/index.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-api-key-authorizer/logger.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/-authorization-pipeline.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/add-authorizer.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/authorize.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/index.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/logger.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorizer/authorize.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorizer/index.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-permit-authorizer/-permit-authorizer.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-permit-authorizer/authorize.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-permit-authorizer/index.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-permit-authorizer/logger.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-request-authorizer/-request-authorizer.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-request-authorizer/authorize.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-request-authorizer/index.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-request-authorizer/logger.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-authorizer/-token-authorizer.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-authorizer/authorize.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-authorizer/index.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-authorizer/logger.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-extractor/-token-extractor.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-extractor/extract-token.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-extractor/index.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/index.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-booking-d-t-o.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-booking-model-for-meeting-workspace.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-booking-model.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-event.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-event.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-meeting-event.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-regular-event.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-converter/recurrence-to-model.md rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-calendar-repository/-booking-calendar-repository.md => -booking-meeting-repository/-booking-meeting-repository.md} (73%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-calendar-repository => -booking-meeting-repository}/delete-by-id.md (68%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-calendar-repository => -booking-meeting-repository}/exists-by-id.md (75%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-workspace-repository => -booking-meeting-repository}/find-all-by-owner-and-workspace-id.md (86%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-calendar-repository => -booking-meeting-repository}/find-all-by-owner-id.md (90%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-calendar-repository => -booking-meeting-repository}/find-all-by-workspace-id.md (85%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-workspace-repository => -booking-meeting-repository}/find-all.md (86%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-calendar-repository => -booking-meeting-repository}/find-by-id.md (80%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-calendar-repository => -booking-meeting-repository}/index.md (79%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-calendar-repository => -booking-meeting-repository}/save.md (81%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-calendar-repository => -booking-meeting-repository}/update.md (87%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-workspace-repository/-booking-workspace-repository.md => -booking-regular-repository/-booking-regular-repository.md} (73%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-workspace-repository => -booking-regular-repository}/delete-by-id.md (75%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-workspace-repository => -booking-regular-repository}/exists-by-id.md (80%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-calendar-repository => -booking-regular-repository}/find-all-by-owner-and-workspace-id.md (88%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-workspace-repository => -booking-regular-repository}/find-all-by-owner-id.md (90%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-workspace-repository => -booking-regular-repository}/find-all-by-workspace-id.md (88%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-calendar-repository => -booking-regular-repository}/find-all.md (89%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-workspace-repository => -booking-regular-repository}/find-by-id.md (85%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-workspace-repository => -booking-regular-repository}/index.md (77%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-workspace-repository => -booking-regular-repository}/save.md (85%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/{-booking-workspace-repository => -booking-regular-repository}/update.md (89%) create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-all-by-email.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-api-key-verifier/-api-key-verifier.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-api-key-verifier/index.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-api-key-verifier/is-correct-token.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-i-token-verifier/index.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-i-token-verifier/is-correct-token.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-token-verifier/-token-verifier.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-token-verifier/index.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-token-verifier/is-correct-token.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/index.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-count/-count.md rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{model => office.effective.model}/-ending/-count/index.md (78%) create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-count/value.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-empty/index.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-until/-until.md rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{model => office.effective.model}/-ending/-until/index.md (79%) create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-until/value.md rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{model => office.effective.model}/-ending/index.md (86%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{model => office.effective.model}/-freq/-d-a-i-l-y/index.md (80%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{model => office.effective.model}/-freq/-m-o-n-t-h-l-y/index.md (80%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{model => office.effective.model}/-freq/-w-e-e-k-l-y/index.md (80%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{model => office.effective.model}/-freq/-y-e-a-r-l-y/index.md (78%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{model => office.effective.model}/-freq/index.md (94%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{model => office.effective.model}/-freq/value-of.md (81%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{model => office.effective.model}/-freq/values.md (70%) create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence-model/-companion/index.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence-model/-companion/to-recurrence.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/-companion/index.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/-companion/to-recurrence.md rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{model => office.effective.model}/-recurrence/-recurrence.md (86%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{model => office.effective.model}/-recurrence/by-day.md (61%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{model => office.effective.model}/-recurrence/by-hour.md (61%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{model => office.effective.model}/-recurrence/by-month.md (61%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{model => office.effective.model}/-recurrence/by-year-day.md (61%) create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/ending.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/freq.md rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/{model => office.effective.model}/-recurrence/index.md (95%) create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/interval.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/to-dto.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.plugins/-custom-authorization-plugin.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.plugins/-verification-plugin.md diff --git a/effectiveOfficeBackend/.env.example b/effectiveOfficeBackend/.env.example index 6bba4f67a..b17ecd0a4 100644 --- a/effectiveOfficeBackend/.env.example +++ b/effectiveOfficeBackend/.env.example @@ -10,6 +10,6 @@ VERIFICATION_PLUGIN_ENABLE=false MIGRATIONS_ENABLE=false SERVICE_ACCOUNT_KEY_PATH={your firebase service account credentials json} JSON_CREDENTIALS={your google calendar service account credentials json} -LOG_LEVEL=debug +LOG_LEVEL=trace DEFAULT_CALENDAR=effective.office@effective.band WORKSPACE_CALENDAR=c_46707d19c716de0d5d28b52082edfeb03376269e7da5fea78e43fcb15afda57e@group.calendar.google.com \ No newline at end of file diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-count/-count.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-count/-count.md deleted file mode 100644 index 79186c792..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-count/-count.md +++ /dev/null @@ -1,6 +0,0 @@ -//[com.backend.effectiveoffice](../../../../index.md)/[model](../../index.md)/[Ending](../index.md)/[Count](index.md)/[Count](-count.md) - -# Count - -[jvm]\ -constructor(value: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-count/value.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-count/value.md deleted file mode 100644 index 862be0910..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-count/value.md +++ /dev/null @@ -1,6 +0,0 @@ -//[com.backend.effectiveoffice](../../../../index.md)/[model](../../index.md)/[Ending](../index.md)/[Count](index.md)/[value](value.md) - -# value - -[jvm]\ -val [value](value.md): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-empty/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-empty/index.md deleted file mode 100644 index bd91aef16..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-empty/index.md +++ /dev/null @@ -1,6 +0,0 @@ -//[com.backend.effectiveoffice](../../../../index.md)/[model](../../index.md)/[Ending](../index.md)/[Empty](index.md) - -# Empty - -[jvm]\ -object [Empty](index.md) : [Ending](../index.md) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-until/-until.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-until/-until.md deleted file mode 100644 index 2551e1a3c..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-until/-until.md +++ /dev/null @@ -1,6 +0,0 @@ -//[com.backend.effectiveoffice](../../../../index.md)/[model](../../index.md)/[Ending](../index.md)/[Until](index.md)/[Until](-until.md) - -# Until - -[jvm]\ -constructor(value: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-until/value.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-until/value.md deleted file mode 100644 index 6cdbcdc55..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-until/value.md +++ /dev/null @@ -1,6 +0,0 @@ -//[com.backend.effectiveoffice](../../../../index.md)/[model](../../index.md)/[Ending](../index.md)/[Until](index.md)/[value](value.md) - -# value - -[jvm]\ -val [value](value.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence-d-t-o/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence-d-t-o/index.md index 0eb08cfed..3b6e610c2 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence-d-t-o/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence-d-t-o/index.md @@ -30,4 +30,4 @@ data class [RecurrenceDTO](index.md)(val interval: [Int](https://kotlinlang.org/ | Name | Summary | |---|---| -| [toRecurrence](../-recurrence/-companion/to-recurrence.md) | [jvm]
fun [RecurrenceDTO](index.md).[toRecurrence](../-recurrence/-companion/to-recurrence.md)(): [Recurrence](../-recurrence/index.md) | +| [toRecurrence](../../office.effective.model/-recurrence/-companion/to-recurrence.md) | [jvm]
fun [RecurrenceDTO](index.md).[toRecurrence](../../office.effective.model/-recurrence/-companion/to-recurrence.md)(): [Recurrence](../../office.effective.model/-recurrence/index.md) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/-companion/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/-companion/index.md deleted file mode 100644 index 3e44bbf17..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/-companion/index.md +++ /dev/null @@ -1,12 +0,0 @@ -//[com.backend.effectiveoffice](../../../../index.md)/[model](../../index.md)/[Recurrence](../index.md)/[Companion](index.md) - -# Companion - -[jvm]\ -object [Companion](index.md) - -## Functions - -| Name | Summary | -|---|---| -| [toRecurrence](to-recurrence.md) | [jvm]
fun [RecurrenceDTO](../../-recurrence-d-t-o/index.md).[toRecurrence](to-recurrence.md)(): [Recurrence](../index.md) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/-companion/to-recurrence.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/-companion/to-recurrence.md deleted file mode 100644 index c653d5ec4..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/-companion/to-recurrence.md +++ /dev/null @@ -1,6 +0,0 @@ -//[com.backend.effectiveoffice](../../../../index.md)/[model](../../index.md)/[Recurrence](../index.md)/[Companion](index.md)/[toRecurrence](to-recurrence.md) - -# toRecurrence - -[jvm]\ -fun [RecurrenceDTO](../../-recurrence-d-t-o/index.md).[toRecurrence](to-recurrence.md)(): [Recurrence](../index.md) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/ending.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/ending.md deleted file mode 100644 index 0b28c04fe..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/ending.md +++ /dev/null @@ -1,6 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[model](../index.md)/[Recurrence](index.md)/[ending](ending.md) - -# ending - -[jvm]\ -val [ending](ending.md): [Ending](../-ending/index.md) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/freq.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/freq.md deleted file mode 100644 index a11f72d84..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/freq.md +++ /dev/null @@ -1,6 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[model](../index.md)/[Recurrence](index.md)/[freq](freq.md) - -# freq - -[jvm]\ -val [freq](freq.md): [Freq](../-freq/index.md) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/interval.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/interval.md deleted file mode 100644 index 20b0770b4..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/interval.md +++ /dev/null @@ -1,6 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[model](../index.md)/[Recurrence](index.md)/[interval](interval.md) - -# interval - -[jvm]\ -val [interval](interval.md): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/to-dto.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/to-dto.md deleted file mode 100644 index 87e07892d..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/to-dto.md +++ /dev/null @@ -1,6 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[model](../index.md)/[Recurrence](index.md)/[toDto](to-dto.md) - -# toDto - -[jvm]\ -fun [toDto](to-dto.md)(): [RecurrenceDTO](../-recurrence-d-t-o/index.md) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/index.md index 4f8b3776d..8173e1e87 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/index.md @@ -6,7 +6,4 @@ | Name | Summary | |---|---| -| [Ending](-ending/index.md) | [jvm]
sealed class [Ending](-ending/index.md) | -| [Freq](-freq/index.md) | [jvm]
enum [Freq](-freq/index.md) : [Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)<[Freq](-freq/index.md)> | -| [Recurrence](-recurrence/index.md) | [jvm]
data class [Recurrence](-recurrence/index.md)(val interval: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), val freq: [Freq](-freq/index.md), val ending: [Ending](-ending/index.md), val byDay: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)>, val byMonth: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)>, val byYearDay: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)>, val byHour: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)>) | | [RecurrenceDTO](-recurrence-d-t-o/index.md) | [jvm]
@Serializable
data class [RecurrenceDTO](-recurrence-d-t-o/index.md)(val interval: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)? = null, val freq: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val count: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)? = null, val until: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null, val byDay: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)> = listOf(), val byMonth: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)> = listOf(), val byYearDay: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)> = listOf(), val byHour: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)> = listOf()) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-d-e-f-a-u-l-t_-c-a-l-e-n-d-a-r.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-d-e-f-a-u-l-t_-c-a-l-e-n-d-a-r.md new file mode 100644 index 000000000..724c9cea7 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-d-e-f-a-u-l-t_-c-a-l-e-n-d-a-r.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.common.constants](../index.md)/[BookingConstants](index.md)/[DEFAULT_CALENDAR](-d-e-f-a-u-l-t_-c-a-l-e-n-d-a-r.md) + +# DEFAULT_CALENDAR + +[jvm]\ +val [DEFAULT_CALENDAR](-d-e-f-a-u-l-t_-c-a-l-e-n-d-a-r.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-i-d.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-i-d.md new file mode 100644 index 000000000..5cda89283 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-i-d.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.common.constants](../index.md)/[BookingConstants](index.md)/[DEFAULT_TIMEZONE_ID](-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-i-d.md) + +# DEFAULT_TIMEZONE_ID + +[jvm]\ +val [DEFAULT_TIMEZONE_ID](-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-i-d.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-u-n-t-i-l_-f-o-r-m-a-t.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-u-n-t-i-l_-f-o-r-m-a-t.md new file mode 100644 index 000000000..4fafd904d --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-u-n-t-i-l_-f-o-r-m-a-t.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.common.constants](../index.md)/[BookingConstants](index.md)/[UNTIL_FORMAT](-u-n-t-i-l_-f-o-r-m-a-t.md) + +# UNTIL_FORMAT + +[jvm]\ +const val [UNTIL_FORMAT](-u-n-t-i-l_-f-o-r-m-a-t.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-w-o-r-k-s-p-a-c-e_-c-a-l-e-n-d-a-r.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-w-o-r-k-s-p-a-c-e_-c-a-l-e-n-d-a-r.md new file mode 100644 index 000000000..1721ebfe4 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-w-o-r-k-s-p-a-c-e_-c-a-l-e-n-d-a-r.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.common.constants](../index.md)/[BookingConstants](index.md)/[WORKSPACE_CALENDAR](-w-o-r-k-s-p-a-c-e_-c-a-l-e-n-d-a-r.md) + +# WORKSPACE_CALENDAR + +[jvm]\ +val [WORKSPACE_CALENDAR](-w-o-r-k-s-p-a-c-e_-c-a-l-e-n-d-a-r.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/index.md index 7cd421b57..220215cc0 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/index.md @@ -11,4 +11,8 @@ Constants for booking | Name | Summary | |---|---| +| [DEFAULT_CALENDAR](-d-e-f-a-u-l-t_-c-a-l-e-n-d-a-r.md) | [jvm]
val [DEFAULT_CALENDAR](-d-e-f-a-u-l-t_-c-a-l-e-n-d-a-r.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | +| [DEFAULT_TIMEZONE_ID](-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-i-d.md) | [jvm]
val [DEFAULT_TIMEZONE_ID](-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-i-d.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | | [MIN_SEARCH_START_TIME](-m-i-n_-s-e-a-r-c-h_-s-t-a-r-t_-t-i-m-e.md) | [jvm]
val [MIN_SEARCH_START_TIME](-m-i-n_-s-e-a-r-c-h_-s-t-a-r-t_-t-i-m-e.md): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)
Minimum booking start time. Bookings that started earlier should be filtered out in requests. | +| [UNTIL_FORMAT](-u-n-t-i-l_-f-o-r-m-a-t.md) | [jvm]
const val [UNTIL_FORMAT](-u-n-t-i-l_-f-o-r-m-a-t.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | +| [WORKSPACE_CALENDAR](-w-o-r-k-s-p-a-c-e_-c-a-l-e-n-d-a-r.md) | [jvm]
val [WORKSPACE_CALENDAR](-w-o-r-k-s-p-a-c-e_-c-a-l-e-n-d-a-r.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils.impl/-database-transaction-manager-impl/-database-transaction-manager-impl.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils.impl/-database-transaction-manager-impl/-database-transaction-manager-impl.md new file mode 100644 index 000000000..04cfbf869 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils.impl/-database-transaction-manager-impl/-database-transaction-manager-impl.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.common.utils.impl](../index.md)/[DatabaseTransactionManagerImpl](index.md)/[DatabaseTransactionManagerImpl](-database-transaction-manager-impl.md) + +# DatabaseTransactionManagerImpl + +[jvm]\ +constructor(database: Database) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils.impl/-database-transaction-manager-impl/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils.impl/-database-transaction-manager-impl/index.md new file mode 100644 index 000000000..ec29cfe95 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils.impl/-database-transaction-manager-impl/index.md @@ -0,0 +1,20 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.common.utils.impl](../index.md)/[DatabaseTransactionManagerImpl](index.md) + +# DatabaseTransactionManagerImpl + +[jvm]\ +class [DatabaseTransactionManagerImpl](index.md)(database: Database) : [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md) + +Class used for creation database transaction on the facade layer + +## Constructors + +| | | +|---|---| +| [DatabaseTransactionManagerImpl](-database-transaction-manager-impl.md) | [jvm]
constructor(database: Database) | + +## Functions + +| Name | Summary | +|---|---| +| [useTransaction](use-transaction.md) | [jvm]
open override fun <[T](use-transaction.md)> [useTransaction](use-transaction.md)(serviceCall: () -> [T](use-transaction.md), isolation: TransactionIsolation): [T](use-transaction.md)
Executes code in a database transaction. | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils.impl/-database-transaction-manager-impl/use-transaction.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils.impl/-database-transaction-manager-impl/use-transaction.md new file mode 100644 index 000000000..ee909dc27 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils.impl/-database-transaction-manager-impl/use-transaction.md @@ -0,0 +1,19 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.common.utils.impl](../index.md)/[DatabaseTransactionManagerImpl](index.md)/[useTransaction](use-transaction.md) + +# useTransaction + +[jvm]\ +open override fun <[T](use-transaction.md)> [useTransaction](use-transaction.md)(serviceCall: () -> [T](use-transaction.md), isolation: TransactionIsolation): [T](use-transaction.md) + +Executes code in a database transaction. + +Rollbacks the transaction if an exception was thrown. + +#### Parameters + +jvm + +| | | +|---|---| +| serviceCall | lambda function to be executed | +| isolation | transaction isolation | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils.impl/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils.impl/index.md new file mode 100644 index 000000000..5f6d41774 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils.impl/index.md @@ -0,0 +1,9 @@ +//[com.backend.effectiveoffice](../../index.md)/[office.effective.common.utils.impl](index.md) + +# Package-level declarations + +## Types + +| Name | Summary | +|---|---| +| [DatabaseTransactionManagerImpl](-database-transaction-manager-impl/index.md) | [jvm]
class [DatabaseTransactionManagerImpl](-database-transaction-manager-impl/index.md)(database: Database) : [DatabaseTransactionManager](../office.effective.common.utils/-database-transaction-manager/index.md)
Class used for creation database transaction on the facade layer | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils/-database-transaction-manager/-database-transaction-manager.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils/-database-transaction-manager/-database-transaction-manager.md deleted file mode 100644 index 8e07de32a..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils/-database-transaction-manager/-database-transaction-manager.md +++ /dev/null @@ -1,6 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.common.utils](../index.md)/[DatabaseTransactionManager](index.md)/[DatabaseTransactionManager](-database-transaction-manager.md) - -# DatabaseTransactionManager - -[jvm]\ -constructor(database: Database) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils/-database-transaction-manager/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils/-database-transaction-manager/index.md index 413218446..112b4cea4 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils/-database-transaction-manager/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils/-database-transaction-manager/index.md @@ -2,19 +2,18 @@ # DatabaseTransactionManager -[jvm]\ -class [DatabaseTransactionManager](index.md)(database: Database) +interface [DatabaseTransactionManager](index.md) -Class used for creation database transaction on the facade layer +Interface for classes used for creation database transaction on the facade layer -## Constructors +#### Inheritors -| | | -|---|---| -| [DatabaseTransactionManager](-database-transaction-manager.md) | [jvm]
constructor(database: Database) | +| | +|---| +| [DatabaseTransactionManagerImpl](../../office.effective.common.utils.impl/-database-transaction-manager-impl/index.md) | ## Functions | Name | Summary | |---|---| -| [useTransaction](use-transaction.md) | [jvm]
fun <[T](use-transaction.md)> [useTransaction](use-transaction.md)(serviceCall: () -> [T](use-transaction.md), isolation: TransactionIsolation = TransactionIsolation.READ_COMMITTED): [T](use-transaction.md)
Executes code in a database transaction. | +| [useTransaction](use-transaction.md) | [jvm]
abstract fun <[T](use-transaction.md)> [useTransaction](use-transaction.md)(serviceCall: () -> [T](use-transaction.md), isolation: TransactionIsolation = TransactionIsolation.READ_COMMITTED): [T](use-transaction.md)
Executes code in a database transaction. | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils/-database-transaction-manager/use-transaction.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils/-database-transaction-manager/use-transaction.md index 9072ff4c3..923440057 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils/-database-transaction-manager/use-transaction.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils/-database-transaction-manager/use-transaction.md @@ -3,7 +3,7 @@ # useTransaction [jvm]\ -fun <[T](use-transaction.md)> [useTransaction](use-transaction.md)(serviceCall: () -> [T](use-transaction.md), isolation: TransactionIsolation = TransactionIsolation.READ_COMMITTED): [T](use-transaction.md) +abstract fun <[T](use-transaction.md)> [useTransaction](use-transaction.md)(serviceCall: () -> [T](use-transaction.md), isolation: TransactionIsolation = TransactionIsolation.READ_COMMITTED): [T](use-transaction.md) Executes code in a database transaction. diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils/index.md index 53a7f0c40..8b511e0a9 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.utils/index.md @@ -6,6 +6,6 @@ | Name | Summary | |---|---| -| [DatabaseTransactionManager](-database-transaction-manager/index.md) | [jvm]
class [DatabaseTransactionManager](-database-transaction-manager/index.md)(database: Database)
Class used for creation database transaction on the facade layer | +| [DatabaseTransactionManager](-database-transaction-manager/index.md) | [jvm]
interface [DatabaseTransactionManager](-database-transaction-manager/index.md)
Interface for classes used for creation database transaction on the facade layer | | [UserSession](-user-session/index.md) | [jvm]
data class [UserSession](-user-session/index.md)(val token: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val email: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?) | | [UuidValidator](-uuid-validator/index.md) | [jvm]
class [UuidValidator](-uuid-validator/index.md)
Class for UUID validation and conversion | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.di/auth-di-module.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.di/auth-di-module.md similarity index 100% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.di/auth-di-module.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.di/auth-di-module.md diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.di/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.di/index.md similarity index 100% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.di/index.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.di/index.md diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-api-key-entity/-companion/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-key-entity/-companion/index.md similarity index 88% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-api-key-entity/-companion/index.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-key-entity/-companion/index.md index 11a2b4ddb..277c56a69 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-api-key-entity/-companion/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-key-entity/-companion/index.md @@ -16,4 +16,4 @@ object [Companion](index.md) : Entity.Factory<[ApiKeyEntity](../index.md)> | Name | Summary | |---|---| -| [invoke](../../../office.effective.features.workspace.repository/-workspace-zone-entity/-companion/index.md#-1863046006%2FFunctions%2F-1216412040) | [jvm]
operator fun [invoke](../../../office.effective.features.workspace.repository/-workspace-zone-entity/-companion/index.md#-1863046006%2FFunctions%2F-1216412040)(): [ApiKeyEntity](../index.md)
inline operator fun [invoke](index.md#1015406641%2FFunctions%2F-1216412040)(init: [ApiKeyEntity](../index.md).() -> [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)): [ApiKeyEntity](../index.md) | +| [invoke](../../../office.effective.features.workspace.repository/-workspace-zone-entity/-companion/index.md#-1863046006%2FFunctions%2F-1216412040) | [jvm]
operator fun [invoke](../../../office.effective.features.workspace.repository/-workspace-zone-entity/-companion/index.md#-1863046006%2FFunctions%2F-1216412040)(): [ApiKeyEntity](../index.md)
inline operator fun [invoke](index.md#368378463%2FFunctions%2F-1216412040)(init: [ApiKeyEntity](../index.md).() -> [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)): [ApiKeyEntity](../index.md) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-api-key-entity/id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-key-entity/id.md similarity index 100% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-api-key-entity/id.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-key-entity/id.md diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-api-key-entity/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-key-entity/index.md similarity index 100% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-api-key-entity/index.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-key-entity/index.md diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-api-key-entity/key-value.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-key-entity/key-value.md similarity index 100% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-api-key-entity/key-value.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-key-entity/key-value.md diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-api-keys/id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-keys/id.md similarity index 100% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-api-keys/id.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-keys/id.md diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-api-keys/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-keys/index.md similarity index 88% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-api-keys/index.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-keys/index.md index d7697d486..e4d13b3c0 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-api-keys/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-keys/index.md @@ -27,13 +27,13 @@ object [ApiKeys](index.md) : Table<[ApiKeyEntity](../-api-key-entity/index.md |---|---| | [aliased](../../office.effective.features.workspace.repository/-workspace-zones/index.md#1316499710%2FFunctions%2F-1216412040) | [jvm]
open override fun [aliased](../../office.effective.features.workspace.repository/-workspace-zones/index.md#1316499710%2FFunctions%2F-1216412040)(alias: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): Table<[ApiKeyEntity](../-api-key-entity/index.md)> | | [asExpression](../../office.effective.features.workspace.repository/-workspace-zones/index.md#-1780546710%2FFunctions%2F-1216412040) | [jvm]
fun [asExpression](../../office.effective.features.workspace.repository/-workspace-zones/index.md#-1780546710%2FFunctions%2F-1216412040)(): TableExpression | -| [bindTo](index.md#-418805204%2FExtensions%2F-1216412040) | [jvm]
inline fun <[C](index.md#-418805204%2FExtensions%2F-1216412040) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> Column<[C](index.md#-418805204%2FExtensions%2F-1216412040)>.[bindTo](index.md#-418805204%2FExtensions%2F-1216412040)(selector: ([ApiKeyEntity](../-api-key-entity/index.md)) -> [C](index.md#-418805204%2FExtensions%2F-1216412040)?): Column<[C](index.md#-418805204%2FExtensions%2F-1216412040)> | +| [bindTo](index.md#-1007765158%2FExtensions%2F-1216412040) | [jvm]
inline fun <[C](index.md#-1007765158%2FExtensions%2F-1216412040) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> Column<[C](index.md#-1007765158%2FExtensions%2F-1216412040)>.[bindTo](index.md#-1007765158%2FExtensions%2F-1216412040)(selector: ([ApiKeyEntity](../-api-key-entity/index.md)) -> [C](index.md#-1007765158%2FExtensions%2F-1216412040)?): Column<[C](index.md#-1007765158%2FExtensions%2F-1216412040)> | | [createEntity](../../office.effective.features.workspace.repository/-workspace-zones/index.md#-1519680417%2FFunctions%2F-1216412040) | [jvm]
fun [createEntity](../../office.effective.features.workspace.repository/-workspace-zones/index.md#-1519680417%2FFunctions%2F-1216412040)(row: QueryRowSet, withReferences: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [ApiKeyEntity](../-api-key-entity/index.md) | | [equals](../../office.effective.features.workspace.repository/-workspace-zones/index.md#49267181%2FFunctions%2F-1216412040) | [jvm]
operator override fun [equals](../../office.effective.features.workspace.repository/-workspace-zones/index.md#49267181%2FFunctions%2F-1216412040)(other: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | | [get](../../office.effective.features.workspace.repository/-workspace-zones/index.md#-353756012%2FFunctions%2F-1216412040) | [jvm]
operator fun [get](../../office.effective.features.workspace.repository/-workspace-zones/index.md#-353756012%2FFunctions%2F-1216412040)(name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): Column<*> | | [hashCode](../../office.effective.features.workspace.repository/-workspace-zones/index.md#-331409319%2FFunctions%2F-1216412040) | [jvm]
override fun [hashCode](../../office.effective.features.workspace.repository/-workspace-zones/index.md#-331409319%2FFunctions%2F-1216412040)(): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | | [primaryKey](../../office.effective.features.workspace.repository/-workspace-zones/index.md#525735072%2FExtensions%2F-1216412040) | [jvm]
fun <[C](../../office.effective.features.workspace.repository/-workspace-zones/index.md#525735072%2FExtensions%2F-1216412040) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> Column<[C](../../office.effective.features.workspace.repository/-workspace-zones/index.md#525735072%2FExtensions%2F-1216412040)>.[primaryKey](../../office.effective.features.workspace.repository/-workspace-zones/index.md#525735072%2FExtensions%2F-1216412040)(): Column<[C](../../office.effective.features.workspace.repository/-workspace-zones/index.md#525735072%2FExtensions%2F-1216412040)> | -| [references](index.md#-2068499066%2FExtensions%2F-1216412040) | [jvm]
inline fun <[C](index.md#-2068499066%2FExtensions%2F-1216412040) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html), [R](index.md#-2068499066%2FExtensions%2F-1216412040) : Entity<[R](index.md#-2068499066%2FExtensions%2F-1216412040)>> Column<[C](index.md#-2068499066%2FExtensions%2F-1216412040)>.[references](index.md#-2068499066%2FExtensions%2F-1216412040)(referenceTable: Table<[R](index.md#-2068499066%2FExtensions%2F-1216412040)>, selector: ([ApiKeyEntity](../-api-key-entity/index.md)) -> [R](index.md#-2068499066%2FExtensions%2F-1216412040)?): Column<[C](index.md#-2068499066%2FExtensions%2F-1216412040)> | +| [references](index.md#-286431436%2FExtensions%2F-1216412040) | [jvm]
inline fun <[C](index.md#-286431436%2FExtensions%2F-1216412040) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html), [R](index.md#-286431436%2FExtensions%2F-1216412040) : Entity<[R](index.md#-286431436%2FExtensions%2F-1216412040)>> Column<[C](index.md#-286431436%2FExtensions%2F-1216412040)>.[references](index.md#-286431436%2FExtensions%2F-1216412040)(referenceTable: Table<[R](index.md#-286431436%2FExtensions%2F-1216412040)>, selector: ([ApiKeyEntity](../-api-key-entity/index.md)) -> [R](index.md#-286431436%2FExtensions%2F-1216412040)?): Column<[C](index.md#-286431436%2FExtensions%2F-1216412040)> | | [registerColumn](../../office.effective.features.workspace.repository/-workspace-zones/index.md#-1907218187%2FFunctions%2F-1216412040) | [jvm]
fun <[C](../../office.effective.features.workspace.repository/-workspace-zones/index.md#-1907218187%2FFunctions%2F-1216412040) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [registerColumn](../../office.effective.features.workspace.repository/-workspace-zones/index.md#-1907218187%2FFunctions%2F-1216412040)(name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), sqlType: SqlType<[C](../../office.effective.features.workspace.repository/-workspace-zones/index.md#-1907218187%2FFunctions%2F-1216412040)>): Column<[C](../../office.effective.features.workspace.repository/-workspace-zones/index.md#-1907218187%2FFunctions%2F-1216412040)> | | [toString](../../office.effective.features.workspace.repository/-workspace-zones/index.md#-509575384%2FFunctions%2F-1216412040) | [jvm]
open override fun [toString](../../office.effective.features.workspace.repository/-workspace-zones/index.md#-509575384%2FFunctions%2F-1216412040)(): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | | [transform](../../office.effective.features.workspace.repository/-workspace-zones/index.md#675323752%2FExtensions%2F-1216412040) | [jvm]
fun <[C](../../office.effective.features.workspace.repository/-workspace-zones/index.md#675323752%2FExtensions%2F-1216412040) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html), [R](../../office.effective.features.workspace.repository/-workspace-zones/index.md#675323752%2FExtensions%2F-1216412040) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> Column<[C](../../office.effective.features.workspace.repository/-workspace-zones/index.md#675323752%2FExtensions%2F-1216412040)>.[transform](../../office.effective.features.workspace.repository/-workspace-zones/index.md#675323752%2FExtensions%2F-1216412040)(fromUnderlyingValue: ([C](../../office.effective.features.workspace.repository/-workspace-zones/index.md#675323752%2FExtensions%2F-1216412040)) -> [R](../../office.effective.features.workspace.repository/-workspace-zones/index.md#675323752%2FExtensions%2F-1216412040), toUnderlyingValue: ([R](../../office.effective.features.workspace.repository/-workspace-zones/index.md#675323752%2FExtensions%2F-1216412040)) -> [C](../../office.effective.features.workspace.repository/-workspace-zones/index.md#675323752%2FExtensions%2F-1216412040)): Column<[R](../../office.effective.features.workspace.repository/-workspace-zones/index.md#675323752%2FExtensions%2F-1216412040)> | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-api-keys/value.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-keys/value.md similarity index 100% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-api-keys/value.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-keys/value.md diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-auth-repository/-auth-repository.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-auth-repository/-auth-repository.md similarity index 100% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-auth-repository/-auth-repository.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-auth-repository/-auth-repository.md diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-auth-repository/find-api-key.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-auth-repository/find-api-key.md similarity index 97% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-auth-repository/find-api-key.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-auth-repository/find-api-key.md index 02c27653c..3c8e81071 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-auth-repository/find-api-key.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-auth-repository/find-api-key.md @@ -3,7 +3,7 @@ # findApiKey [jvm]\ -fun [findApiKey](find-api-key.md)(keyEncrypted: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) +fun [findApiKey](find-api-key.md)(keyEncrypted: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? #### Return diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-auth-repository/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-auth-repository/index.md similarity index 90% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-auth-repository/index.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-auth-repository/index.md index 6b795b0fd..0231fc63e 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/-auth-repository/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/-auth-repository/index.md @@ -17,4 +17,4 @@ Provides methods to access to api_keys table in database | Name | Summary | |---|---| -| [findApiKey](find-api-key.md) | [jvm]
fun [findApiKey](find-api-key.md)(keyEncrypted: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | +| [findApiKey](find-api-key.md) | [jvm]
fun [findApiKey](find-api-key.md)(keyEncrypted: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/apikeys.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/apikeys.md similarity index 100% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/apikeys.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/apikeys.md diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/index.md similarity index 100% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/index.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.repository/index.md diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-api-key-authorizer/-api-key-authorizer.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-api-key-authorizer/-api-key-authorizer.md new file mode 100644 index 000000000..706645204 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-api-key-authorizer/-api-key-authorizer.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[ApiKeyAuthorizer](index.md)/[ApiKeyAuthorizer](-api-key-authorizer.md) + +# ApiKeyAuthorizer + +[jvm]\ +constructor(extractor: [TokenExtractor](../-token-extractor/index.md) = TokenExtractor()) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-api-key-authorizer/authorize.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-api-key-authorizer/authorize.md new file mode 100644 index 000000000..6c8d1c122 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-api-key-authorizer/authorize.md @@ -0,0 +1,24 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[ApiKeyAuthorizer](index.md)/[authorize](authorize.md) + +# authorize + +[jvm]\ +open suspend override fun [authorize](authorize.md)(call: ApplicationCall): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) + +Check api key from input line. String encrypting by SHA-256 and comparing with encrypted keys from database. If it cannot find one, throw [InstanceNotFoundException](../../office.effective.common.exception/-instance-not-found-exception/index.md) + +#### Return + +random String + +#### Author + +Kiselev Danil + +#### Parameters + +jvm + +| | | +|---|---| +| call | ApplicationCall which contains token to verify | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-api-key-authorizer/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-api-key-authorizer/index.md new file mode 100644 index 000000000..2dd3b9ba9 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-api-key-authorizer/index.md @@ -0,0 +1,26 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[ApiKeyAuthorizer](index.md) + +# ApiKeyAuthorizer + +[jvm]\ +class [ApiKeyAuthorizer](index.md)(extractor: [TokenExtractor](../-token-extractor/index.md) = TokenExtractor()) : [Authorizer](../-authorizer/index.md) + +[Authorizer](../-authorizer/index.md) implementation. Check api keys + +## Constructors + +| | | +|---|---| +| [ApiKeyAuthorizer](-api-key-authorizer.md) | [jvm]
constructor(extractor: [TokenExtractor](../-token-extractor/index.md) = TokenExtractor()) | + +## Properties + +| Name | Summary | +|---|---| +| [logger](logger.md) | [jvm]
val [logger](logger.md): Logger | + +## Functions + +| Name | Summary | +|---|---| +| [authorize](authorize.md) | [jvm]
open suspend override fun [authorize](authorize.md)(call: ApplicationCall): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Check api key from input line. String encrypting by SHA-256 and comparing with encrypted keys from database. If it cannot find one, throw [InstanceNotFoundException](../../office.effective.common.exception/-instance-not-found-exception/index.md) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-api-key-authorizer/logger.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-api-key-authorizer/logger.md new file mode 100644 index 000000000..616647b9a --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-api-key-authorizer/logger.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[ApiKeyAuthorizer](index.md)/[logger](logger.md) + +# logger + +[jvm]\ +val [logger](logger.md): Logger diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/-authorization-pipeline.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/-authorization-pipeline.md new file mode 100644 index 000000000..e528164c0 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/-authorization-pipeline.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[AuthorizationPipeline](index.md)/[AuthorizationPipeline](-authorization-pipeline.md) + +# AuthorizationPipeline + +[jvm]\ +constructor() diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/add-authorizer.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/add-authorizer.md new file mode 100644 index 000000000..d008cd1e8 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/add-authorizer.md @@ -0,0 +1,24 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[AuthorizationPipeline](index.md)/[addAuthorizer](add-authorizer.md) + +# addAuthorizer + +[jvm]\ +fun [addAuthorizer](add-authorizer.md)(authorizer: [Authorizer](../-authorizer/index.md)): [AuthorizationPipeline](index.md) + +Allow you to add authorizer to pipeline + +#### Return + +[AuthorizationPipeline](index.md) - instance of pipeline + +#### Author + +Danil Kiselev + +#### Parameters + +jvm + +| | | +|---|---| +| authorizer | [Authorizer](../-authorizer/index.md) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/authorize.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/authorize.md new file mode 100644 index 000000000..d62935695 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/authorize.md @@ -0,0 +1,18 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[AuthorizationPipeline](index.md)/[authorize](authorize.md) + +# authorize + +[jvm]\ +open suspend override fun [authorize](authorize.md)(call: ApplicationCall): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) + +#### Author + +Kiselev Danil + +#### Parameters + +jvm + +| | | +|---|---| +| call | ApplicationCall incoming call to authorize | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/index.md new file mode 100644 index 000000000..417790d60 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/index.md @@ -0,0 +1,27 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[AuthorizationPipeline](index.md) + +# AuthorizationPipeline + +[jvm]\ +class [AuthorizationPipeline](index.md) : [Authorizer](../-authorizer/index.md) + +Encapsulate pipeline of authorizers + +## Constructors + +| | | +|---|---| +| [AuthorizationPipeline](-authorization-pipeline.md) | [jvm]
constructor() | + +## Properties + +| Name | Summary | +|---|---| +| [logger](logger.md) | [jvm]
val [logger](logger.md): Logger | + +## Functions + +| Name | Summary | +|---|---| +| [addAuthorizer](add-authorizer.md) | [jvm]
fun [addAuthorizer](add-authorizer.md)(authorizer: [Authorizer](../-authorizer/index.md)): [AuthorizationPipeline](index.md)
Allow you to add authorizer to pipeline | +| [authorize](authorize.md) | [jvm]
open suspend override fun [authorize](authorize.md)(call: ApplicationCall): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/logger.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/logger.md new file mode 100644 index 000000000..2dce8ccd3 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/logger.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[AuthorizationPipeline](index.md)/[logger](logger.md) + +# logger + +[jvm]\ +val [logger](logger.md): Logger diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorizer/authorize.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorizer/authorize.md new file mode 100644 index 000000000..62f42c1d9 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorizer/authorize.md @@ -0,0 +1,18 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[Authorizer](index.md)/[authorize](authorize.md) + +# authorize + +[jvm]\ +abstract suspend fun [authorize](authorize.md)(call: ApplicationCall): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) + +#### Author + +Kiselev Danil + +#### Parameters + +jvm + +| | | +|---|---| +| call | ApplicationCall incoming call to authorize | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorizer/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorizer/index.md new file mode 100644 index 000000000..36befb12d --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-authorizer/index.md @@ -0,0 +1,23 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[Authorizer](index.md) + +# Authorizer + +interface [Authorizer](index.md) + +Interface for authorization chain of responsibility element + +#### Inheritors + +| | +|---| +| [ApiKeyAuthorizer](../-api-key-authorizer/index.md) | +| [AuthorizationPipeline](../-authorization-pipeline/index.md) | +| [PermitAuthorizer](../-permit-authorizer/index.md) | +| [RequestAuthorizer](../-request-authorizer/index.md) | +| [TokenAuthorizer](../-token-authorizer/index.md) | + +## Functions + +| Name | Summary | +|---|---| +| [authorize](authorize.md) | [jvm]
abstract suspend fun [authorize](authorize.md)(call: ApplicationCall): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-permit-authorizer/-permit-authorizer.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-permit-authorizer/-permit-authorizer.md new file mode 100644 index 000000000..84d208f3a --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-permit-authorizer/-permit-authorizer.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[PermitAuthorizer](index.md)/[PermitAuthorizer](-permit-authorizer.md) + +# PermitAuthorizer + +[jvm]\ +constructor(permittedPaths: [Iterable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-iterable/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-permit-authorizer/authorize.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-permit-authorizer/authorize.md new file mode 100644 index 000000000..bccb4b646 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-permit-authorizer/authorize.md @@ -0,0 +1,18 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[PermitAuthorizer](index.md)/[authorize](authorize.md) + +# authorize + +[jvm]\ +open suspend override fun [authorize](authorize.md)(call: ApplicationCall): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) + +#### Author + +Kiselev Danil + +#### Parameters + +jvm + +| | | +|---|---| +| call | ApplicationCall incoming call to authorize | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-permit-authorizer/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-permit-authorizer/index.md new file mode 100644 index 000000000..2672ecfe0 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-permit-authorizer/index.md @@ -0,0 +1,30 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[PermitAuthorizer](index.md) + +# PermitAuthorizer + +[jvm]\ +class [PermitAuthorizer](index.md)(permittedPaths: [Iterable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-iterable/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>) : [Authorizer](../-authorizer/index.md) + +Authorizer to permit routes. Permit all child routes, if parent permitted. Example: "/workspaces" permission allow access to "/workspaces/zones" routes. + +#### Author + +Danil Kiselev + +## Constructors + +| | | +|---|---| +| [PermitAuthorizer](-permit-authorizer.md) | [jvm]
constructor(permittedPaths: [Iterable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-iterable/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>) | + +## Properties + +| Name | Summary | +|---|---| +| [logger](logger.md) | [jvm]
val [logger](logger.md): Logger | + +## Functions + +| Name | Summary | +|---|---| +| [authorize](authorize.md) | [jvm]
open suspend override fun [authorize](authorize.md)(call: ApplicationCall): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-permit-authorizer/logger.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-permit-authorizer/logger.md new file mode 100644 index 000000000..7983f29b7 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-permit-authorizer/logger.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[PermitAuthorizer](index.md)/[logger](logger.md) + +# logger + +[jvm]\ +val [logger](logger.md): Logger diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-request-authorizer/-request-authorizer.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-request-authorizer/-request-authorizer.md new file mode 100644 index 000000000..a5b02a311 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-request-authorizer/-request-authorizer.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[RequestAuthorizer](index.md)/[RequestAuthorizer](-request-authorizer.md) + +# RequestAuthorizer + +[jvm]\ +constructor(extractor: [TokenExtractor](../-token-extractor/index.md) = TokenExtractor()) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-request-authorizer/authorize.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-request-authorizer/authorize.md new file mode 100644 index 000000000..20f1d12c3 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-request-authorizer/authorize.md @@ -0,0 +1,24 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[RequestAuthorizer](index.md)/[authorize](authorize.md) + +# authorize + +[jvm]\ +open suspend override fun [authorize](authorize.md)(call: ApplicationCall): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) + +Check Google ID Token. Calls oauth2.googleapis.com + +#### Return + +is token correct + +#### Author + +Kiselev Danil + +#### Parameters + +jvm + +| | | +|---|---| +| call | ApplicationCall which contains token to verify | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-request-authorizer/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-request-authorizer/index.md new file mode 100644 index 000000000..bf00dd130 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-request-authorizer/index.md @@ -0,0 +1,26 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[RequestAuthorizer](index.md) + +# RequestAuthorizer + +[jvm]\ +class [RequestAuthorizer](index.md)(extractor: [TokenExtractor](../-token-extractor/index.md) = TokenExtractor()) : [Authorizer](../-authorizer/index.md) + +[Authorizer](../-authorizer/index.md) implementation. Calls oauth2.googleapis.com to verify token + +## Constructors + +| | | +|---|---| +| [RequestAuthorizer](-request-authorizer.md) | [jvm]
constructor(extractor: [TokenExtractor](../-token-extractor/index.md) = TokenExtractor()) | + +## Properties + +| Name | Summary | +|---|---| +| [logger](logger.md) | [jvm]
val [logger](logger.md): Logger | + +## Functions + +| Name | Summary | +|---|---| +| [authorize](authorize.md) | [jvm]
open suspend override fun [authorize](authorize.md)(call: ApplicationCall): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Check Google ID Token. Calls oauth2.googleapis.com | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-request-authorizer/logger.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-request-authorizer/logger.md new file mode 100644 index 000000000..0f689cdbc --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-request-authorizer/logger.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[RequestAuthorizer](index.md)/[logger](logger.md) + +# logger + +[jvm]\ +val [logger](logger.md): Logger diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-authorizer/-token-authorizer.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-authorizer/-token-authorizer.md new file mode 100644 index 000000000..b9f16e832 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-authorizer/-token-authorizer.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[TokenAuthorizer](index.md)/[TokenAuthorizer](-token-authorizer.md) + +# TokenAuthorizer + +[jvm]\ +constructor(extractor: [TokenExtractor](../-token-extractor/index.md) = TokenExtractor()) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-authorizer/authorize.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-authorizer/authorize.md new file mode 100644 index 000000000..bff21c1f4 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-authorizer/authorize.md @@ -0,0 +1,32 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[TokenAuthorizer](index.md)/[authorize](authorize.md) + +# authorize + +[jvm]\ +open suspend override fun [authorize](authorize.md)(call: ApplicationCall): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) + +Check Google ID Token using google library + +#### Author + +Kiselev Danil + +Kiselev Danil + +#### Return + +is token correct + +#### Parameters + +jvm + +| | | +|---|---| +| call | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) which contains token to verify | + +#### Throws + +| | | +|---|---| +| [Exception](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-exception/index.html) | ("Token wasn't verified by Google") if token does not contain payload | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-authorizer/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-authorizer/index.md new file mode 100644 index 000000000..a1b04f02a --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-authorizer/index.md @@ -0,0 +1,26 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[TokenAuthorizer](index.md) + +# TokenAuthorizer + +[jvm]\ +class [TokenAuthorizer](index.md)(extractor: [TokenExtractor](../-token-extractor/index.md) = TokenExtractor()) : [Authorizer](../-authorizer/index.md) + +Implementation of [Authorizer](../-authorizer/index.md). Checks GoogleIdTokens + +## Constructors + +| | | +|---|---| +| [TokenAuthorizer](-token-authorizer.md) | [jvm]
constructor(extractor: [TokenExtractor](../-token-extractor/index.md) = TokenExtractor()) | + +## Properties + +| Name | Summary | +|---|---| +| [logger](logger.md) | [jvm]
val [logger](logger.md): Logger | + +## Functions + +| Name | Summary | +|---|---| +| [authorize](authorize.md) | [jvm]
open suspend override fun [authorize](authorize.md)(call: ApplicationCall): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Check Google ID Token using google library | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-authorizer/logger.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-authorizer/logger.md new file mode 100644 index 000000000..0d1604107 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-authorizer/logger.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[TokenAuthorizer](index.md)/[logger](logger.md) + +# logger + +[jvm]\ +val [logger](logger.md): Logger diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-extractor/-token-extractor.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-extractor/-token-extractor.md new file mode 100644 index 000000000..b1e575dc7 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-extractor/-token-extractor.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[TokenExtractor](index.md)/[TokenExtractor](-token-extractor.md) + +# TokenExtractor + +[jvm]\ +constructor() diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-extractor/extract-token.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-extractor/extract-token.md new file mode 100644 index 000000000..f2f1b04be --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-extractor/extract-token.md @@ -0,0 +1,22 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[TokenExtractor](index.md)/[extractToken](extract-token.md) + +# extractToken + +[jvm]\ +fun [extractToken](extract-token.md)(call: ApplicationCall): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? + +#### Return + +token from Bearer Auth header or null, if + +#### Author + +Danil Kiselev + +#### Parameters + +jvm + +| | | +|---|---| +| call | ApplicationCall incoming call | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-extractor/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-extractor/index.md new file mode 100644 index 000000000..e4a55fc9f --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/-token-extractor/index.md @@ -0,0 +1,18 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.auth.service](../index.md)/[TokenExtractor](index.md) + +# TokenExtractor + +[jvm]\ +class [TokenExtractor](index.md) + +## Constructors + +| | | +|---|---| +| [TokenExtractor](-token-extractor.md) | [jvm]
constructor() | + +## Functions + +| Name | Summary | +|---|---| +| [extractToken](extract-token.md) | [jvm]
fun [extractToken](extract-token.md)(call: ApplicationCall): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/index.md new file mode 100644 index 000000000..d8407e909 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.auth.service/index.md @@ -0,0 +1,15 @@ +//[com.backend.effectiveoffice](../../index.md)/[office.effective.features.auth.service](index.md) + +# Package-level declarations + +## Types + +| Name | Summary | +|---|---| +| [ApiKeyAuthorizer](-api-key-authorizer/index.md) | [jvm]
class [ApiKeyAuthorizer](-api-key-authorizer/index.md)(extractor: [TokenExtractor](-token-extractor/index.md) = TokenExtractor()) : [Authorizer](-authorizer/index.md)
[Authorizer](-authorizer/index.md) implementation. Check api keys | +| [AuthorizationPipeline](-authorization-pipeline/index.md) | [jvm]
class [AuthorizationPipeline](-authorization-pipeline/index.md) : [Authorizer](-authorizer/index.md)
Encapsulate pipeline of authorizers | +| [Authorizer](-authorizer/index.md) | [jvm]
interface [Authorizer](-authorizer/index.md)
Interface for authorization chain of responsibility element | +| [PermitAuthorizer](-permit-authorizer/index.md) | [jvm]
class [PermitAuthorizer](-permit-authorizer/index.md)(permittedPaths: [Iterable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-iterable/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>) : [Authorizer](-authorizer/index.md)
Authorizer to permit routes. Permit all child routes, if parent permitted. Example: "/workspaces" permission allow access to "/workspaces/zones" routes. | +| [RequestAuthorizer](-request-authorizer/index.md) | [jvm]
class [RequestAuthorizer](-request-authorizer/index.md)(extractor: [TokenExtractor](-token-extractor/index.md) = TokenExtractor()) : [Authorizer](-authorizer/index.md)
[Authorizer](-authorizer/index.md) implementation. Calls oauth2.googleapis.com to verify token | +| [TokenAuthorizer](-token-authorizer/index.md) | [jvm]
class [TokenAuthorizer](-token-authorizer/index.md)(extractor: [TokenExtractor](-token-extractor/index.md) = TokenExtractor()) : [Authorizer](-authorizer/index.md)
Implementation of [Authorizer](-authorizer/index.md). Checks GoogleIdTokens | +| [TokenExtractor](-token-extractor/index.md) | [jvm]
class [TokenExtractor](-token-extractor/index.md) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-repository-converter/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-repository-converter/index.md index a2dbabf84..943aaf4a4 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-repository-converter/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-repository-converter/index.md @@ -3,7 +3,18 @@ # BookingRepositoryConverter [jvm]\ -class [BookingRepositoryConverter](index.md)(database: Database, workspaceConverter: [WorkspaceRepositoryConverter](../../office.effective.features.workspace.converters/-workspace-repository-converter/index.md), userConverter: [UserModelEntityConverter](../../office.effective.features.user.converters/-user-model-entity-converter/index.md), uuidValidator: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md)) +class [~~BookingRepositoryConverter~~](index.md)(database: Database, workspaceConverter: [WorkspaceRepositoryConverter](../../office.effective.features.workspace.converters/-workspace-repository-converter/index.md), userConverter: [UserModelEntityConverter](../../office.effective.features.user.converters/-user-model-entity-converter/index.md), uuidValidator: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md))--- + +### Deprecated + +Used to convert into db events. We don't store events into database. + +#### Replace with + +```kotlin +GoogleCalendarConverter +``` +--- Converts between [Booking](../../office.effective.model/-booking/index.md) and [WorkspaceBookingEntity](../../office.effective.features.booking.repository/-workspace-booking-entity/index.md) objects. Uses [UserModelEntityConverter](../../office.effective.features.user.converters/-user-model-entity-converter/index.md) and [WorkspaceRepositoryConverter](../../office.effective.features.workspace.converters/-workspace-repository-converter/index.md) to convert contained users and workspaces diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/index.md index 5a01e5452..224d87b00 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/index.md @@ -17,8 +17,7 @@ Converts between Google Calendar Event and [BookingDTO](../../office.effective.d | Name | Summary | |---|---| -| [toBookingDTO](to-booking-d-t-o.md) | [jvm]
fun [toBookingDTO](to-booking-d-t-o.md)(event: Event): [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md)
Converts Event to [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) | -| [toBookingModel](to-booking-model.md) | [jvm]
fun [toBookingModel](to-booking-model.md)(event: Event): [Booking](../../office.effective.model/-booking/index.md)
Converts Event to [Booking](../../office.effective.model/-booking/index.md) | -| [toGoogleEvent](to-google-event.md) | [jvm]
fun [toGoogleEvent](to-google-event.md)(dto: [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md)): Event
Converts [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) to Event. Event.description is used to indicate the booking author, because Event.organizer is defaultAccount of application
[jvm]
fun [toGoogleEvent](to-google-event.md)(model: [Booking](../../office.effective.model/-booking/index.md)): Event
Converts meeting room [Booking](../../office.effective.model/-booking/index.md) to Event. Event.description is used to indicate the booking author, because Event.organizer is defaultAccount of application | -| [toGoogleWorkspaceEvent](to-google-workspace-event.md) | [jvm]
fun [toGoogleWorkspaceEvent](to-google-workspace-event.md)(dto: [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md)): Event
Converts workspace [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) to Event. Event.description is used to indicate the booking author, because Event.organizer is defaultAccount of application. Event.summary is used to indicate the booking workspace.
[jvm]
fun [toGoogleWorkspaceEvent](to-google-workspace-event.md)(model: [Booking](../../office.effective.model/-booking/index.md)): Event
Converts workspace [Booking](../../office.effective.model/-booking/index.md) to Event. Event.description is used to indicate the booking author, because Event.organizer is defaultAccount of application. Event.summary is used to indicate the booking workspace. | -| [toWorkspaceBooking](to-workspace-booking.md) | [jvm]
fun [toWorkspaceBooking](to-workspace-booking.md)(event: Event): [Booking](../../office.effective.model/-booking/index.md)
Converts Event to [Booking](../../office.effective.model/-booking/index.md) | +| [toBookingModelForMeetingWorkspace](to-booking-model-for-meeting-workspace.md) | [jvm]
fun [toBookingModelForMeetingWorkspace](to-booking-model-for-meeting-workspace.md)(event: Event): [Booking](../../office.effective.model/-booking/index.md)
Converts meeting Event to [Booking](../../office.effective.model/-booking/index.md) | +| [toGoogleWorkspaceMeetingEvent](to-google-workspace-meeting-event.md) | [jvm]
fun [toGoogleWorkspaceMeetingEvent](to-google-workspace-meeting-event.md)(model: [Booking](../../office.effective.model/-booking/index.md)): Event
Converts meeting workspace [Booking](../../office.effective.model/-booking/index.md) to Event. Event.description is used to indicate the booking author, because Event.organizer is defaultAccount of application. Event.summary is used to indicate the booking workspace. | +| [toGoogleWorkspaceRegularEvent](to-google-workspace-regular-event.md) | [jvm]
fun [toGoogleWorkspaceRegularEvent](to-google-workspace-regular-event.md)(model: [Booking](../../office.effective.model/-booking/index.md)): Event
Converts regular workspace [Booking](../../office.effective.model/-booking/index.md) to Event. Event.description is used to indicate the booking author, because Event.organizer is defaultAccount of application. Event.summary is used to indicate the booking workspace. | +| [toWorkspaceBooking](to-workspace-booking.md) | [jvm]
fun [toWorkspaceBooking](to-workspace-booking.md)(event: Event): [Booking](../../office.effective.model/-booking/index.md)
Converts regular Event to [Booking](../../office.effective.model/-booking/index.md) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-booking-d-t-o.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-booking-d-t-o.md deleted file mode 100644 index 31b433e72..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-booking-d-t-o.md +++ /dev/null @@ -1,26 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[GoogleCalendarConverter](index.md)/[toBookingDTO](to-booking-d-t-o.md) - -# toBookingDTO - -[jvm]\ -fun [toBookingDTO](to-booking-d-t-o.md)(event: Event): [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) - -Converts Event to [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) - -Creates placeholders if workspace, owner or participant doesn't exist in database - -#### Return - -The resulting [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) object - -#### Author - -Danil Kiselev, Max Mishenko, Daniil Zavyalov - -#### Parameters - -jvm - -| | | -|---|---| -| event | Event to be converted | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-booking-model-for-meeting-workspace.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-booking-model-for-meeting-workspace.md new file mode 100644 index 000000000..7779c1923 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-booking-model-for-meeting-workspace.md @@ -0,0 +1,24 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[GoogleCalendarConverter](index.md)/[toBookingModelForMeetingWorkspace](to-booking-model-for-meeting-workspace.md) + +# toBookingModelForMeetingWorkspace + +[jvm]\ +fun [toBookingModelForMeetingWorkspace](to-booking-model-for-meeting-workspace.md)(event: Event): [Booking](../../office.effective.model/-booking/index.md) + +Converts meeting Event to [Booking](../../office.effective.model/-booking/index.md) + +#### Return + +The resulting [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) object + +#### Author + +Danil Kiselev, Max Mishenko + +#### Parameters + +jvm + +| | | +|---|---| +| event | Event to be converted | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-booking-model.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-booking-model.md deleted file mode 100644 index 2840478b8..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-booking-model.md +++ /dev/null @@ -1,28 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[GoogleCalendarConverter](index.md)/[toBookingModel](to-booking-model.md) - -# toBookingModel - -[jvm]\ -fun [toBookingModel](to-booking-model.md)(event: Event): [Booking](../../office.effective.model/-booking/index.md) - -Converts Event to [Booking](../../office.effective.model/-booking/index.md) - -Uses [toBookingDTO](to-booking-d-t-o.md) - -TODO: Event should be created without converting Booking to BookingDTO - -#### Return - -The resulting [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) object - -#### Author - -Danil Kiselev, Max Mishenko - -#### Parameters - -jvm - -| | | -|---|---| -| event | Event to be converted | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-event.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-event.md deleted file mode 100644 index 71937ae94..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-event.md +++ /dev/null @@ -1,45 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[GoogleCalendarConverter](index.md)/[toGoogleEvent](to-google-event.md) - -# toGoogleEvent - -[jvm]\ -fun [toGoogleEvent](to-google-event.md)(dto: [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md)): Event - -Converts [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) to Event. Event.description is used to indicate the booking author, because Event.organizer is defaultAccount of application - -#### Return - -The resulting Event object - -#### Author - -Danil Kiselev, Max Mishenko - -#### Parameters - -jvm - -| | | -|---|---| -| dto | [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) to be converted | - -[jvm]\ -fun [toGoogleEvent](to-google-event.md)(model: [Booking](../../office.effective.model/-booking/index.md)): Event - -Converts meeting room [Booking](../../office.effective.model/-booking/index.md) to Event. Event.description is used to indicate the booking author, because Event.organizer is defaultAccount of application - -#### Return - -The resulting Event object - -#### Author - -Danil Kiselev - -#### Parameters - -jvm - -| | | -|---|---| -| model | [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) to be converted | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-event.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-event.md deleted file mode 100644 index c9e799187..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-event.md +++ /dev/null @@ -1,45 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[GoogleCalendarConverter](index.md)/[toGoogleWorkspaceEvent](to-google-workspace-event.md) - -# toGoogleWorkspaceEvent - -[jvm]\ -fun [toGoogleWorkspaceEvent](to-google-workspace-event.md)(dto: [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md)): Event - -Converts workspace [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) to Event. Event.description is used to indicate the booking author, because Event.organizer is defaultAccount of application. Event.summary is used to indicate the booking workspace. - -#### Return - -The resulting Event object - -#### Author - -Daniil Zavyalov - -#### Parameters - -jvm - -| | | -|---|---| -| dto | [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) to be converted | - -[jvm]\ -fun [toGoogleWorkspaceEvent](to-google-workspace-event.md)(model: [Booking](../../office.effective.model/-booking/index.md)): Event - -Converts workspace [Booking](../../office.effective.model/-booking/index.md) to Event. Event.description is used to indicate the booking author, because Event.organizer is defaultAccount of application. Event.summary is used to indicate the booking workspace. - -#### Return - -The resulting Event object - -#### Author - -Daniil Zavyalov - -#### Parameters - -jvm - -| | | -|---|---| -| model | [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) to be converted | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-meeting-event.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-meeting-event.md new file mode 100644 index 000000000..65da2abd2 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-meeting-event.md @@ -0,0 +1,24 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[GoogleCalendarConverter](index.md)/[toGoogleWorkspaceMeetingEvent](to-google-workspace-meeting-event.md) + +# toGoogleWorkspaceMeetingEvent + +[jvm]\ +fun [toGoogleWorkspaceMeetingEvent](to-google-workspace-meeting-event.md)(model: [Booking](../../office.effective.model/-booking/index.md)): Event + +Converts meeting workspace [Booking](../../office.effective.model/-booking/index.md) to Event. Event.description is used to indicate the booking author, because Event.organizer is defaultAccount of application. Event.summary is used to indicate the booking workspace. + +#### Return + +The resulting Event object + +#### Author + +Daniil Zavyalov + +#### Parameters + +jvm + +| | | +|---|---| +| model | [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) to be converted | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-regular-event.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-regular-event.md new file mode 100644 index 000000000..865012e58 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-regular-event.md @@ -0,0 +1,24 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[GoogleCalendarConverter](index.md)/[toGoogleWorkspaceRegularEvent](to-google-workspace-regular-event.md) + +# toGoogleWorkspaceRegularEvent + +[jvm]\ +fun [toGoogleWorkspaceRegularEvent](to-google-workspace-regular-event.md)(model: [Booking](../../office.effective.model/-booking/index.md)): Event + +Converts regular workspace [Booking](../../office.effective.model/-booking/index.md) to Event. Event.description is used to indicate the booking author, because Event.organizer is defaultAccount of application. Event.summary is used to indicate the booking workspace. + +#### Return + +The resulting Event object + +#### Author + +Daniil Zavyalov + +#### Parameters + +jvm + +| | | +|---|---| +| model | [Booking](../../office.effective.model/-booking/index.md) to be converted | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-workspace-booking.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-workspace-booking.md index 0a4891343..c2a1b452f 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-workspace-booking.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-workspace-booking.md @@ -5,7 +5,7 @@ [jvm]\ fun [toWorkspaceBooking](to-workspace-booking.md)(event: Event): [Booking](../../office.effective.model/-booking/index.md) -Converts Event to [Booking](../../office.effective.model/-booking/index.md) +Converts regular Event to [Booking](../../office.effective.model/-booking/index.md) Creates placeholders if workspace or owner doesn't exist in database diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-converter/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-converter/index.md index 7a929d648..fa0859022 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-converter/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-converter/index.md @@ -13,3 +13,4 @@ Converts between [RecurrenceDTO](../../model/-recurrence-d-t-o/index.md) and [Re |---|---| | [dtoToModel](dto-to-model.md) | [jvm]
fun [dtoToModel](dto-to-model.md)(dto: [RecurrenceDTO](../../model/-recurrence-d-t-o/index.md)): [RecurrenceModel](../../office.effective.model/-recurrence-model/index.md)
Converts [RecurrenceDTO](../../model/-recurrence-d-t-o/index.md) to [RecurrenceModel](../../office.effective.model/-recurrence-model/index.md) | | [modelToDto](model-to-dto.md) | [jvm]
fun [modelToDto](model-to-dto.md)(model: [RecurrenceModel](../../office.effective.model/-recurrence-model/index.md)): [RecurrenceDTO](../../model/-recurrence-d-t-o/index.md)
Converts [RecurrenceModel](../../office.effective.model/-recurrence-model/index.md) to [RecurrenceDTO](../../model/-recurrence-d-t-o/index.md) | +| [recurrenceToModel](recurrence-to-model.md) | [jvm]
fun [recurrenceToModel](recurrence-to-model.md)(recurrence: [Recurrence](../../office.effective.model/-recurrence/index.md)): [RecurrenceModel](../../office.effective.model/-recurrence-model/index.md) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-converter/recurrence-to-model.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-converter/recurrence-to-model.md new file mode 100644 index 000000000..df6702962 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-converter/recurrence-to-model.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[RecurrenceConverter](index.md)/[recurrenceToModel](recurrence-to-model.md) + +# recurrenceToModel + +[jvm]\ +fun [recurrenceToModel](recurrence-to-model.md)(recurrence: [Recurrence](../../office.effective.model/-recurrence/index.md)): [RecurrenceModel](../../office.effective.model/-recurrence-model/index.md) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-rule-factory/get-recurrence.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-rule-factory/get-recurrence.md index 2554bf538..985b5a73f 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-rule-factory/get-recurrence.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-rule-factory/get-recurrence.md @@ -3,7 +3,7 @@ # getRecurrence [jvm]\ -fun [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html).[getRecurrence](get-recurrence.md)(): [Recurrence](../../model/-recurrence/index.md) +fun [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html).[getRecurrence](get-recurrence.md)(): [Recurrence](../../office.effective.model/-recurrence/index.md) #### Author diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-rule-factory/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-rule-factory/index.md index 2b3809fe1..729d542fd 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-rule-factory/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-rule-factory/index.md @@ -15,5 +15,5 @@ Max Mishenko | Name | Summary | |---|---| -| [getRecurrence](get-recurrence.md) | [jvm]
fun [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html).[getRecurrence](get-recurrence.md)(): [Recurrence](../../model/-recurrence/index.md) | -| [rule](rule.md) | [jvm]
fun [Recurrence](../../model/-recurrence/index.md).[rule](rule.md)(): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | +| [getRecurrence](get-recurrence.md) | [jvm]
fun [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html).[getRecurrence](get-recurrence.md)(): [Recurrence](../../office.effective.model/-recurrence/index.md) | +| [rule](rule.md) | [jvm]
fun [Recurrence](../../office.effective.model/-recurrence/index.md).[rule](rule.md)(): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-rule-factory/rule.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-rule-factory/rule.md index 37e686799..c2e2087be 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-rule-factory/rule.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-rule-factory/rule.md @@ -3,7 +3,7 @@ # rule [jvm]\ -fun [Recurrence](../../model/-recurrence/index.md).[rule](rule.md)(): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) +fun [Recurrence](../../office.effective.model/-recurrence/index.md).[rule](rule.md)(): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) #### Author diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/index.md index d377e76ad..34197013d 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/index.md @@ -7,7 +7,7 @@ | Name | Summary | |---|---| | [BookingFacadeConverter](-booking-facade-converter/index.md) | [jvm]
class [BookingFacadeConverter](-booking-facade-converter/index.md)(userConverter: [UserDTOModelConverter](../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), workspaceConverter: [WorkspaceFacadeConverter](../office.effective.features.workspace.converters/-workspace-facade-converter/index.md))
Converts between [BookingDTO](../office.effective.dto/-booking-d-t-o/index.md) and [Booking](../office.effective.model/-booking/index.md) | -| [BookingRepositoryConverter](-booking-repository-converter/index.md) | [jvm]
class [BookingRepositoryConverter](-booking-repository-converter/index.md)(database: Database, workspaceConverter: [WorkspaceRepositoryConverter](../office.effective.features.workspace.converters/-workspace-repository-converter/index.md), userConverter: [UserModelEntityConverter](../office.effective.features.user.converters/-user-model-entity-converter/index.md), uuidValidator: [UuidValidator](../office.effective.common.utils/-uuid-validator/index.md))
Converts between [Booking](../office.effective.model/-booking/index.md) and [WorkspaceBookingEntity](../office.effective.features.booking.repository/-workspace-booking-entity/index.md) objects. Uses [UserModelEntityConverter](../office.effective.features.user.converters/-user-model-entity-converter/index.md) and [WorkspaceRepositoryConverter](../office.effective.features.workspace.converters/-workspace-repository-converter/index.md) to convert contained users and workspaces | +| [BookingRepositoryConverter](-booking-repository-converter/index.md) | [jvm]
class [~~BookingRepositoryConverter~~](-booking-repository-converter/index.md)(database: Database, workspaceConverter: [WorkspaceRepositoryConverter](../office.effective.features.workspace.converters/-workspace-repository-converter/index.md), userConverter: [UserModelEntityConverter](../office.effective.features.user.converters/-user-model-entity-converter/index.md), uuidValidator: [UuidValidator](../office.effective.common.utils/-uuid-validator/index.md))
Converts between [Booking](../office.effective.model/-booking/index.md) and [WorkspaceBookingEntity](../office.effective.features.booking.repository/-workspace-booking-entity/index.md) objects. Uses [UserModelEntityConverter](../office.effective.features.user.converters/-user-model-entity-converter/index.md) and [WorkspaceRepositoryConverter](../office.effective.features.workspace.converters/-workspace-repository-converter/index.md) to convert contained users and workspaces | | [GoogleCalendarConverter](-google-calendar-converter/index.md) | [jvm]
class [GoogleCalendarConverter](-google-calendar-converter/index.md)(calendarIdsRepository: [CalendarIdsRepository](../office.effective.features.calendar.repository/-calendar-ids-repository/index.md), userRepository: [UserRepository](../office.effective.features.user.repository/-user-repository/index.md), workspaceConverter: [WorkspaceFacadeConverter](../office.effective.features.workspace.converters/-workspace-facade-converter/index.md), userConverter: [UserDTOModelConverter](../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), bookingConverter: [BookingFacadeConverter](-booking-facade-converter/index.md), verifier: [UuidValidator](../office.effective.common.utils/-uuid-validator/index.md), workspaceRepository: [WorkspaceRepository](../office.effective.features.workspace.repository/-workspace-repository/index.md))
Converts between Google Calendar Event and [BookingDTO](../office.effective.dto/-booking-d-t-o/index.md) objects. | | [RecurrenceConverter](-recurrence-converter/index.md) | [jvm]
object [RecurrenceConverter](-recurrence-converter/index.md)
Converts between [RecurrenceDTO](../model/-recurrence-d-t-o/index.md) and [RecurrenceModel](../office.effective.model/-recurrence-model/index.md) objects | | [RecurrenceRuleFactory](-recurrence-rule-factory/index.md) | [jvm]
object [RecurrenceRuleFactory](-recurrence-rule-factory/index.md)
Object for creating Google calendar recurrence rule | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/-booking-calendar-repository.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/-booking-meeting-repository.md similarity index 73% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/-booking-calendar-repository.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/-booking-meeting-repository.md index 7e0c94347..360f3f3f0 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/-booking-calendar-repository.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/-booking-meeting-repository.md @@ -1,6 +1,6 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingCalendarRepository](index.md)/[BookingCalendarRepository](-booking-calendar-repository.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingMeetingRepository](index.md)/[BookingMeetingRepository](-booking-meeting-repository.md) -# BookingCalendarRepository +# BookingMeetingRepository [jvm]\ constructor(calendarIdsRepository: [CalendarIdsRepository](../../office.effective.features.calendar.repository/-calendar-ids-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md), calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../../office.effective.features.booking.converters/-google-calendar-converter/index.md)) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/delete-by-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/delete-by-id.md similarity index 68% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/delete-by-id.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/delete-by-id.md index a0b5ba7d3..0aed776c7 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/delete-by-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/delete-by-id.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingCalendarRepository](index.md)/[deleteById](delete-by-id.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingMeetingRepository](index.md)/[deleteById](delete-by-id.md) # deleteById @@ -7,10 +7,6 @@ open override fun [deleteById](delete-by-id.md)(id: [String](https://kotlinlang. Deletes the booking with the given id -#### Author - -Danil Kiselev - #### Parameters jvm diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/exists-by-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/exists-by-id.md similarity index 75% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/exists-by-id.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/exists-by-id.md index b947f4c51..652c32e7a 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/exists-by-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/exists-by-id.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingCalendarRepository](index.md)/[existsById](exists-by-id.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingMeetingRepository](index.md)/[existsById](exists-by-id.md) # existsById @@ -11,10 +11,6 @@ Returns whether a booking with the given id exists true if booking exists -#### Author - -Danil Kiselev - #### Parameters jvm diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/find-all-by-owner-and-workspace-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-owner-and-workspace-id.md similarity index 86% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/find-all-by-owner-and-workspace-id.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-owner-and-workspace-id.md index 5ac177240..865eac917 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/find-all-by-owner-and-workspace-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-owner-and-workspace-id.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingWorkspaceRepository](index.md)/[findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingMeetingRepository](index.md)/[findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md) # findAllByOwnerAndWorkspaceId @@ -11,10 +11,6 @@ Returns all bookings with the given workspace and owner id List of all [Booking](../../office.effective.model/-booking/index.md)s with the given workspace and owner id -#### Author - -Daniil Zavyalov - #### Parameters jvm diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/find-all-by-owner-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-owner-id.md similarity index 90% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/find-all-by-owner-id.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-owner-id.md index ab6eace95..39b7613fd 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/find-all-by-owner-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-owner-id.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingCalendarRepository](index.md)/[findAllByOwnerId](find-all-by-owner-id.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingMeetingRepository](index.md)/[findAllByOwnerId](find-all-by-owner-id.md) # findAllByOwnerId diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/find-all-by-workspace-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-workspace-id.md similarity index 85% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/find-all-by-workspace-id.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-workspace-id.md index df0cfd29b..c6f119567 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/find-all-by-workspace-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-workspace-id.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingCalendarRepository](index.md)/[findAllByWorkspaceId](find-all-by-workspace-id.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingMeetingRepository](index.md)/[findAllByWorkspaceId](find-all-by-workspace-id.md) # findAllByWorkspaceId @@ -11,10 +11,6 @@ Returns all bookings with the given workspace id List of all workspace [Booking](../../office.effective.model/-booking/index.md) -#### Author - -Daniil Zavyalov, Danil Kiselev - #### Parameters jvm diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/find-all.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all.md similarity index 86% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/find-all.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all.md index ac212daa7..53ba0f8ec 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/find-all.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingWorkspaceRepository](index.md)/[findAll](find-all.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingMeetingRepository](index.md)/[findAll](find-all.md) # findAll @@ -11,10 +11,6 @@ Retrieves all bookings All [Booking](../../office.effective.model/-booking/index.md)s -#### Author - -Daniil Zavyalov - #### Parameters jvm diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/find-by-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-by-id.md similarity index 80% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/find-by-id.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-by-id.md index e9b5a53ce..88c1d17bc 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/find-by-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-by-id.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingCalendarRepository](index.md)/[findById](find-by-id.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingMeetingRepository](index.md)/[findById](find-by-id.md) # findById @@ -11,10 +11,6 @@ Retrieves a booking model by its id. Retrieved booking contains user and workspa [Booking](../../office.effective.model/-booking/index.md) with the given [bookingId](find-by-id.md) or null if booking with the given id doesn't exist -#### Author - -Daniil Zavyalov, Danil Kiselev - #### Parameters jvm diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/index.md similarity index 79% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/index.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/index.md index 46ef101d0..53f6b0357 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/index.md @@ -1,9 +1,9 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingCalendarRepository](index.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingMeetingRepository](index.md) -# BookingCalendarRepository +# BookingMeetingRepository [jvm]\ -class [BookingCalendarRepository](index.md)(calendarIdsRepository: [CalendarIdsRepository](../../office.effective.features.calendar.repository/-calendar-ids-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md), calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../../office.effective.features.booking.converters/-google-calendar-converter/index.md)) : [IBookingRepository](../-i-booking-repository/index.md) +class [BookingMeetingRepository](index.md)(calendarIdsRepository: [CalendarIdsRepository](../../office.effective.features.calendar.repository/-calendar-ids-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md), calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../../office.effective.features.booking.converters/-google-calendar-converter/index.md)) : [IBookingRepository](../-i-booking-repository/index.md) Class that executes Google calendar queries for booking meeting rooms @@ -13,7 +13,7 @@ Filters out all events that have a start less than the calendar.minTime from app | | | |---|---| -| [BookingCalendarRepository](-booking-calendar-repository.md) | [jvm]
constructor(calendarIdsRepository: [CalendarIdsRepository](../../office.effective.features.calendar.repository/-calendar-ids-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md), calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../../office.effective.features.booking.converters/-google-calendar-converter/index.md)) | +| [BookingMeetingRepository](-booking-meeting-repository.md) | [jvm]
constructor(calendarIdsRepository: [CalendarIdsRepository](../../office.effective.features.calendar.repository/-calendar-ids-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md), calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../../office.effective.features.booking.converters/-google-calendar-converter/index.md)) | ## Functions diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/save.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/save.md similarity index 81% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/save.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/save.md index cd5392f5f..3909cfb4e 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/save.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/save.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingCalendarRepository](index.md)/[save](save.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingMeetingRepository](index.md)/[save](save.md) # save @@ -11,10 +11,6 @@ Saves a given booking. If given model will have an id, it will be ignored. Use t saved [Booking](../../office.effective.model/-booking/index.md) -#### Author - -Danil Kiselev - #### Parameters jvm diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/update.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/update.md similarity index 87% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/update.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/update.md index 9d88aae26..b0dffab7b 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/update.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/update.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingCalendarRepository](index.md)/[update](update.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingMeetingRepository](index.md)/[update](update.md) # update @@ -11,10 +11,6 @@ Updates a given booking. Use the returned model for further operations [Booking](../../office.effective.model/-booking/index.md) after change saving -#### Author - -Daniil Zavyalov, Danil Kiselev - #### Parameters jvm diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/-booking-workspace-repository.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/-booking-regular-repository.md similarity index 73% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/-booking-workspace-repository.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/-booking-regular-repository.md index 8505e8097..8c2c51f46 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/-booking-workspace-repository.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/-booking-regular-repository.md @@ -1,6 +1,6 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingWorkspaceRepository](index.md)/[BookingWorkspaceRepository](-booking-workspace-repository.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingRegularRepository](index.md)/[BookingRegularRepository](-booking-regular-repository.md) -# BookingWorkspaceRepository +# BookingRegularRepository [jvm]\ constructor(calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../../office.effective.features.booking.converters/-google-calendar-converter/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md)) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/delete-by-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/delete-by-id.md similarity index 75% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/delete-by-id.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/delete-by-id.md index e3e2c8bc3..7e0185e15 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/delete-by-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/delete-by-id.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingWorkspaceRepository](index.md)/[deleteById](delete-by-id.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingRegularRepository](index.md)/[deleteById](delete-by-id.md) # deleteById diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/exists-by-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/exists-by-id.md similarity index 80% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/exists-by-id.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/exists-by-id.md index 23f030979..c5696bd44 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/exists-by-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/exists-by-id.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingWorkspaceRepository](index.md)/[existsById](exists-by-id.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingRegularRepository](index.md)/[existsById](exists-by-id.md) # existsById diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/find-all-by-owner-and-workspace-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-owner-and-workspace-id.md similarity index 88% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/find-all-by-owner-and-workspace-id.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-owner-and-workspace-id.md index 12d425810..1a08211a2 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/find-all-by-owner-and-workspace-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-owner-and-workspace-id.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingCalendarRepository](index.md)/[findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingRegularRepository](index.md)/[findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md) # findAllByOwnerAndWorkspaceId diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/find-all-by-owner-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-owner-id.md similarity index 90% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/find-all-by-owner-id.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-owner-id.md index 34cbb616e..ff36fa9dd 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/find-all-by-owner-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-owner-id.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingWorkspaceRepository](index.md)/[findAllByOwnerId](find-all-by-owner-id.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingRegularRepository](index.md)/[findAllByOwnerId](find-all-by-owner-id.md) # findAllByOwnerId diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/find-all-by-workspace-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-workspace-id.md similarity index 88% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/find-all-by-workspace-id.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-workspace-id.md index 1dac794d2..672aca22b 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/find-all-by-workspace-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-workspace-id.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingWorkspaceRepository](index.md)/[findAllByWorkspaceId](find-all-by-workspace-id.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingRegularRepository](index.md)/[findAllByWorkspaceId](find-all-by-workspace-id.md) # findAllByWorkspaceId diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/find-all.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all.md similarity index 89% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/find-all.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all.md index b52d2a7e5..21d9d1695 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/find-all.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingCalendarRepository](index.md)/[findAll](find-all.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingRegularRepository](index.md)/[findAll](find-all.md) # findAll diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/find-by-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-by-id.md similarity index 85% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/find-by-id.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-by-id.md index 1f2e3015f..bf583268d 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/find-by-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-by-id.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingWorkspaceRepository](index.md)/[findById](find-by-id.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingRegularRepository](index.md)/[findById](find-by-id.md) # findById diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/index.md similarity index 77% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/index.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/index.md index c0d7c3b22..5f53385bf 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/index.md @@ -1,11 +1,11 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingWorkspaceRepository](index.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingRegularRepository](index.md) -# BookingWorkspaceRepository +# BookingRegularRepository [jvm]\ -class [BookingWorkspaceRepository](index.md)(calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../../office.effective.features.booking.converters/-google-calendar-converter/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md)) : [IBookingRepository](../-i-booking-repository/index.md) +class [BookingRegularRepository](index.md)(calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../../office.effective.features.booking.converters/-google-calendar-converter/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md)) : [IBookingRepository](../-i-booking-repository/index.md) -Class that executes Google calendar queries for booking workspaces +Class that executes Google calendar queries for booking regular workspaces Filters out all events that have a start less than the calendar.minTime from application.conf @@ -13,7 +13,7 @@ Filters out all events that have a start less than the calendar.minTime from app | | | |---|---| -| [BookingWorkspaceRepository](-booking-workspace-repository.md) | [jvm]
constructor(calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../../office.effective.features.booking.converters/-google-calendar-converter/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md)) | +| [BookingRegularRepository](-booking-regular-repository.md) | [jvm]
constructor(calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../../office.effective.features.booking.converters/-google-calendar-converter/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md)) | ## Functions diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/save.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/save.md similarity index 85% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/save.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/save.md index 88d2bbc50..7624bbd67 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/save.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/save.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingWorkspaceRepository](index.md)/[save](save.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingRegularRepository](index.md)/[save](save.md) # save diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/update.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/update.md similarity index 89% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/update.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/update.md index e5dcbf40f..648565c19 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/update.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/update.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingWorkspaceRepository](index.md)/[update](update.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.repository](../index.md)/[BookingRegularRepository](index.md)/[update](update.md) # update diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-repository/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-repository/index.md index 5da8e7749..4e6b9e8e8 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-repository/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-repository/index.md @@ -3,7 +3,18 @@ # BookingRepository [jvm]\ -class [BookingRepository](index.md)(database: Database, converter: [BookingRepositoryConverter](../../office.effective.features.booking.converters/-booking-repository-converter/index.md), uuidValidator: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md)) +class [~~BookingRepository~~](index.md)(database: Database, converter: [BookingRepositoryConverter](../../office.effective.features.booking.converters/-booking-repository-converter/index.md), uuidValidator: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md))--- + +### Deprecated (with error) + +Used to store events inside database. We don't store events into database. + +#### Replace with + +```kotlin +BookingCalendarRepository +``` +--- Class that executes database queries with bookings diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/index.md index e4e9b25a3..4283f892c 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/index.md @@ -10,8 +10,8 @@ Interface of repository to manipulate with workspace bookings | | |---| -| [BookingCalendarRepository](../-booking-calendar-repository/index.md) | -| [BookingWorkspaceRepository](../-booking-workspace-repository/index.md) | +| [BookingMeetingRepository](../-booking-meeting-repository/index.md) | +| [BookingRegularRepository](../-booking-regular-repository/index.md) | ## Functions diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/index.md index f607221b2..387b3f9c0 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/index.md @@ -6,11 +6,11 @@ | Name | Summary | |---|---| -| [BookingCalendarRepository](-booking-calendar-repository/index.md) | [jvm]
class [BookingCalendarRepository](-booking-calendar-repository/index.md)(calendarIdsRepository: [CalendarIdsRepository](../office.effective.features.calendar.repository/-calendar-ids-repository/index.md), userRepository: [UserRepository](../office.effective.features.user.repository/-user-repository/index.md), calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../office.effective.features.booking.converters/-google-calendar-converter/index.md)) : [IBookingRepository](-i-booking-repository/index.md)
Class that executes Google calendar queries for booking meeting rooms | +| [BookingMeetingRepository](-booking-meeting-repository/index.md) | [jvm]
class [BookingMeetingRepository](-booking-meeting-repository/index.md)(calendarIdsRepository: [CalendarIdsRepository](../office.effective.features.calendar.repository/-calendar-ids-repository/index.md), userRepository: [UserRepository](../office.effective.features.user.repository/-user-repository/index.md), calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../office.effective.features.booking.converters/-google-calendar-converter/index.md)) : [IBookingRepository](-i-booking-repository/index.md)
Class that executes Google calendar queries for booking meeting rooms | | [BookingParticipantEntity](-booking-participant-entity/index.md) | [jvm]
interface [BookingParticipantEntity](-booking-participant-entity/index.md) : Entity<[BookingParticipantEntity](-booking-participant-entity/index.md)> | | [BookingParticipants](-booking-participants/index.md) | [jvm]
object [BookingParticipants](-booking-participants/index.md) : Table<[BookingParticipantEntity](-booking-participant-entity/index.md)> | -| [BookingRepository](-booking-repository/index.md) | [jvm]
class [BookingRepository](-booking-repository/index.md)(database: Database, converter: [BookingRepositoryConverter](../office.effective.features.booking.converters/-booking-repository-converter/index.md), uuidValidator: [UuidValidator](../office.effective.common.utils/-uuid-validator/index.md))
Class that executes database queries with bookings | -| [BookingWorkspaceRepository](-booking-workspace-repository/index.md) | [jvm]
class [BookingWorkspaceRepository](-booking-workspace-repository/index.md)(calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../office.effective.features.booking.converters/-google-calendar-converter/index.md), workspaceRepository: [WorkspaceRepository](../office.effective.features.workspace.repository/-workspace-repository/index.md), userRepository: [UserRepository](../office.effective.features.user.repository/-user-repository/index.md)) : [IBookingRepository](-i-booking-repository/index.md)
Class that executes Google calendar queries for booking workspaces | +| [BookingRegularRepository](-booking-regular-repository/index.md) | [jvm]
class [BookingRegularRepository](-booking-regular-repository/index.md)(calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../office.effective.features.booking.converters/-google-calendar-converter/index.md), workspaceRepository: [WorkspaceRepository](../office.effective.features.workspace.repository/-workspace-repository/index.md), userRepository: [UserRepository](../office.effective.features.user.repository/-user-repository/index.md)) : [IBookingRepository](-i-booking-repository/index.md)
Class that executes Google calendar queries for booking regular workspaces | +| [BookingRepository](-booking-repository/index.md) | [jvm]
class [~~BookingRepository~~](-booking-repository/index.md)(database: Database, converter: [BookingRepositoryConverter](../office.effective.features.booking.converters/-booking-repository-converter/index.md), uuidValidator: [UuidValidator](../office.effective.common.utils/-uuid-validator/index.md))
Class that executes database queries with bookings | | [IBookingRepository](-i-booking-repository/index.md) | [jvm]
interface [IBookingRepository](-i-booking-repository/index.md)
Interface of repository to manipulate with workspace bookings | | [WorkspaceBooking](-workspace-booking/index.md) | [jvm]
object [WorkspaceBooking](-workspace-booking/index.md) : Table<[WorkspaceBookingEntity](-workspace-booking-entity/index.md)> | | [WorkspaceBookingEntity](-workspace-booking-entity/index.md) | [jvm]
interface [WorkspaceBookingEntity](-workspace-booking-entity/index.md) : Entity<[WorkspaceBookingEntity](-workspace-booking-entity/index.md)> | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/-booking-service.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/-booking-service.md index 9af34eb85..f2a22e8b2 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/-booking-service.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/-booking-service.md @@ -3,4 +3,4 @@ # BookingService [jvm]\ -constructor(bookingRepository: [BookingCalendarRepository](../../office.effective.features.booking.repository/-booking-calendar-repository/index.md), bookingWorkspaceRepository: [BookingWorkspaceRepository](../../office.effective.features.booking.repository/-booking-workspace-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md)) +constructor(bookingMeetingRepository: [BookingMeetingRepository](../../office.effective.features.booking.repository/-booking-meeting-repository/index.md), bookingRegularRepository: [BookingRegularRepository](../../office.effective.features.booking.repository/-booking-regular-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md)) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/index.md index 762e0c366..672b106d1 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/index.md @@ -3,17 +3,17 @@ # BookingService [jvm]\ -class [BookingService](index.md)(bookingRepository: [BookingCalendarRepository](../../office.effective.features.booking.repository/-booking-calendar-repository/index.md), bookingWorkspaceRepository: [BookingWorkspaceRepository](../../office.effective.features.booking.repository/-booking-workspace-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md)) : [IBookingService](../../office.effective.serviceapi/-i-booking-service/index.md) +class [BookingService](index.md)(bookingMeetingRepository: [BookingMeetingRepository](../../office.effective.features.booking.repository/-booking-meeting-repository/index.md), bookingRegularRepository: [BookingRegularRepository](../../office.effective.features.booking.repository/-booking-regular-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md)) : [IBookingService](../../office.effective.serviceapi/-i-booking-service/index.md) Class that implements the [IBookingService](../../office.effective.serviceapi/-i-booking-service/index.md) methods -Uses [BookingCalendarRepository](../../office.effective.features.booking.repository/-booking-calendar-repository/index.md) for operations with meeting rooms. Uses [BookingWorkspaceRepository](../../office.effective.features.booking.repository/-booking-workspace-repository/index.md) for operations with workspaces. +Uses [BookingMeetingRepository](../../office.effective.features.booking.repository/-booking-meeting-repository/index.md) for operations with meeting rooms. Uses [BookingRegularRepository](../../office.effective.features.booking.repository/-booking-regular-repository/index.md) for operations with workspaces. ## Constructors | | | |---|---| -| [BookingService](-booking-service.md) | [jvm]
constructor(bookingRepository: [BookingCalendarRepository](../../office.effective.features.booking.repository/-booking-calendar-repository/index.md), bookingWorkspaceRepository: [BookingWorkspaceRepository](../../office.effective.features.booking.repository/-booking-workspace-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md)) | +| [BookingService](-booking-service.md) | [jvm]
constructor(bookingMeetingRepository: [BookingMeetingRepository](../../office.effective.features.booking.repository/-booking-meeting-repository/index.md), bookingRegularRepository: [BookingRegularRepository](../../office.effective.features.booking.repository/-booking-regular-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md)) | ## Functions diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/index.md index 4d6c69d5c..39a9c4981 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/index.md @@ -6,4 +6,4 @@ | Name | Summary | |---|---| -| [BookingService](-booking-service/index.md) | [jvm]
class [BookingService](-booking-service/index.md)(bookingRepository: [BookingCalendarRepository](../office.effective.features.booking.repository/-booking-calendar-repository/index.md), bookingWorkspaceRepository: [BookingWorkspaceRepository](../office.effective.features.booking.repository/-booking-workspace-repository/index.md), userRepository: [UserRepository](../office.effective.features.user.repository/-user-repository/index.md), workspaceRepository: [WorkspaceRepository](../office.effective.features.workspace.repository/-workspace-repository/index.md)) : [IBookingService](../office.effective.serviceapi/-i-booking-service/index.md)
Class that implements the [IBookingService](../office.effective.serviceapi/-i-booking-service/index.md) methods | +| [BookingService](-booking-service/index.md) | [jvm]
class [BookingService](-booking-service/index.md)(bookingMeetingRepository: [BookingMeetingRepository](../office.effective.features.booking.repository/-booking-meeting-repository/index.md), bookingRegularRepository: [BookingRegularRepository](../office.effective.features.booking.repository/-booking-regular-repository/index.md), userRepository: [UserRepository](../office.effective.features.user.repository/-user-repository/index.md), workspaceRepository: [WorkspaceRepository](../office.effective.features.workspace.repository/-workspace-repository/index.md)) : [IBookingService](../office.effective.serviceapi/-i-booking-service/index.md)
Class that implements the [IBookingService](../office.effective.serviceapi/-i-booking-service/index.md) methods | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.calendar.repository/-calendar-ids-repository/find-all-calendars-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.calendar.repository/-calendar-ids-repository/find-all-calendars-id.md index 64285db1f..7d12385e3 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.calendar.repository/-calendar-ids-repository/find-all-calendars-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.calendar.repository/-calendar-ids-repository/find-all-calendars-id.md @@ -10,7 +10,3 @@ Finds all Google calendar ids #### Return all calendar ids from database including default - -#### Author - -Danil Kiselev diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.calendar.repository/-calendar-ids-repository/find-by-workspace.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.calendar.repository/-calendar-ids-repository/find-by-workspace.md index e8fbdb0ac..db79a4354 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.calendar.repository/-calendar-ids-repository/find-by-workspace.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.calendar.repository/-calendar-ids-repository/find-by-workspace.md @@ -8,7 +8,3 @@ fun [findByWorkspace](find-by-workspace.md)(workspaceId: [UUID](https://docs.ora #### Return String - id of calendar for specified workspace - -#### Author - -Danil Kiselev diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.calendar.repository/-calendar-ids-repository/find-workspace-by-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.calendar.repository/-calendar-ids-repository/find-workspace-by-id.md index dd6a19570..bbf47acc7 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.calendar.repository/-calendar-ids-repository/find-workspace-by-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.calendar.repository/-calendar-ids-repository/find-workspace-by-id.md @@ -9,10 +9,6 @@ fun [findWorkspaceById](find-workspace-by-id.md)(calendarId: [String](https://ko [Workspace](../../office.effective.model/-workspace/index.md) model by calendar id (String) -#### Author - -Danil Kiselev - #### Parameters jvm diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/-user-facade.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/-user-facade.md index 575e77c36..d079a0471 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/-user-facade.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/-user-facade.md @@ -3,4 +3,4 @@ # UserFacade [jvm]\ -constructor(service: [IUserService](../../office.effective.serviceapi/-i-user-service/index.md), converterDTO: [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), verifier: [ITokenVerifier](../../office.effective.features.user/-i-token-verifier/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md)) +constructor(service: [IUserService](../../office.effective.serviceapi/-i-user-service/index.md), converterDTO: [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md)) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/index.md index d8733a856..be124fe37 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/index.md @@ -3,7 +3,7 @@ # UserFacade [jvm]\ -class [UserFacade](index.md)(service: [IUserService](../../office.effective.serviceapi/-i-user-service/index.md), converterDTO: [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), verifier: [ITokenVerifier](../../office.effective.features.user/-i-token-verifier/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md)) +class [UserFacade](index.md)(service: [IUserService](../../office.effective.serviceapi/-i-user-service/index.md), converterDTO: [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md)) Class used in routes to handle user-related requests. Provides business transaction, data conversion and validation. @@ -11,7 +11,7 @@ Class used in routes to handle user-related requests. Provides business transact | | | |---|---| -| [UserFacade](-user-facade.md) | [jvm]
constructor(service: [IUserService](../../office.effective.serviceapi/-i-user-service/index.md), converterDTO: [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), verifier: [ITokenVerifier](../../office.effective.features.user/-i-token-verifier/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md)) | +| [UserFacade](-user-facade.md) | [jvm]
constructor(service: [IUserService](../../office.effective.serviceapi/-i-user-service/index.md), converterDTO: [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md)) | ## Functions diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/index.md index 05730cbca..deb7b817b 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/index.md @@ -6,4 +6,4 @@ | Name | Summary | |---|---| -| [UserFacade](-user-facade/index.md) | [jvm]
class [UserFacade](-user-facade/index.md)(service: [IUserService](../office.effective.serviceapi/-i-user-service/index.md), converterDTO: [UserDTOModelConverter](../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), verifier: [ITokenVerifier](../office.effective.features.user/-i-token-verifier/index.md), transactionManager: [DatabaseTransactionManager](../office.effective.common.utils/-database-transaction-manager/index.md))
Class used in routes to handle user-related requests. Provides business transaction, data conversion and validation. | +| [UserFacade](-user-facade/index.md) | [jvm]
class [UserFacade](-user-facade/index.md)(service: [IUserService](../office.effective.serviceapi/-i-user-service/index.md), converterDTO: [UserDTOModelConverter](../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), transactionManager: [DatabaseTransactionManager](../office.effective.common.utils/-database-transaction-manager/index.md))
Class used in routes to handle user-related requests. Provides business transaction, data conversion and validation. | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-all-by-email.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-all-by-email.md new file mode 100644 index 000000000..46fba4343 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-all-by-email.md @@ -0,0 +1,22 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user.repository](../index.md)/[UserRepository](index.md)/[findAllByEmail](find-all-by-email.md) + +# findAllByEmail + +[jvm]\ +fun [findAllByEmail](find-all-by-email.md)(email: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserModel](../../office.effective.model/-user-model/index.md)> + +Retrieves a user models by email list + +#### Return + +[UserModel](../../office.effective.model/-user-model/index.md) + +#### Author + +Daniil Zavyalov + +#### Throws + +| | | +|---|---| +| [InstanceNotFoundException](../../office.effective.common.exception/-instance-not-found-exception/index.md) | if user with the given email doesn't exist in database | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/index.md index 958e5253c..22c8d0a9d 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/index.md @@ -19,6 +19,7 @@ Perform database queries with users |---|---| | [existsById](exists-by-id.md) | [jvm]
fun [existsById](exists-by-id.md)(userId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Checks existence of user by id, using count | | [findAll](find-all.md) | [jvm]
fun [findAll](find-all.md)(): [Set](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html)<[UserModel](../../office.effective.model/-user-model/index.md)>
Retrieves all users | +| [findAllByEmail](find-all-by-email.md) | [jvm]
fun [findAllByEmail](find-all-by-email.md)(email: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserModel](../../office.effective.model/-user-model/index.md)>
Retrieves a user models by email list | | [findAllIntegrationsByUserIds](find-all-integrations-by-user-ids.md) | [jvm]
fun [findAllIntegrationsByUserIds](find-all-integrations-by-user-ids.md)(ids: [Collection](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html)<[UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)>): [HashMap](https://docs.oracle.com/javase/8/docs/api/java/util/HashMap.html)<[UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), [MutableSet](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-set/index.html)<[IntegrationModel](../../office.effective.model/-integration-model/index.md)>>
Returns a HashMap that maps user ids and their integrations | | [findByEmail](find-by-email.md) | [jvm]
fun [findByEmail](find-by-email.md)(email: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [UserModel](../../office.effective.model/-user-model/index.md)?
Retrieves a user model by email | | [findById](find-by-id.md) | [jvm]
fun [findById](find-by-id.md)(userId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)): [UserModel](../../office.effective.model/-user-model/index.md)?
Retrieves user model by id | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-api-key-verifier/-api-key-verifier.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-api-key-verifier/-api-key-verifier.md deleted file mode 100644 index 58166f357..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-api-key-verifier/-api-key-verifier.md +++ /dev/null @@ -1,6 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user](../index.md)/[ApiKeyVerifier](index.md)/[ApiKeyVerifier](-api-key-verifier.md) - -# ApiKeyVerifier - -[jvm]\ -constructor() diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-api-key-verifier/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-api-key-verifier/index.md deleted file mode 100644 index 99e9529a2..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-api-key-verifier/index.md +++ /dev/null @@ -1,20 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user](../index.md)/[ApiKeyVerifier](index.md) - -# ApiKeyVerifier - -[jvm]\ -class [ApiKeyVerifier](index.md) : [ITokenVerifier](../-i-token-verifier/index.md) - -[ITokenVerifier](../-i-token-verifier/index.md) implementation. Needs to check api keys - -## Constructors - -| | | -|---|---| -| [ApiKeyVerifier](-api-key-verifier.md) | [jvm]
constructor() | - -## Functions - -| Name | Summary | -|---|---| -| [isCorrectToken](is-correct-token.md) | [jvm]
open override fun [isCorrectToken](is-correct-token.md)(tokenString: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
Check api key from input line. String encrypting by SHA-256 and comparing with encrypted keys from database. If it cannot find one, throw InstanceNotFoundException | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-api-key-verifier/is-correct-token.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-api-key-verifier/is-correct-token.md deleted file mode 100644 index c22039b53..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-api-key-verifier/is-correct-token.md +++ /dev/null @@ -1,24 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user](../index.md)/[ApiKeyVerifier](index.md)/[isCorrectToken](is-correct-token.md) - -# isCorrectToken - -[jvm]\ -open override fun [isCorrectToken](is-correct-token.md)(tokenString: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) - -Check api key from input line. String encrypting by SHA-256 and comparing with encrypted keys from database. If it cannot find one, throw InstanceNotFoundException - -#### Return - -random String - -#### Author - -Kiselev Danil - -#### Parameters - -jvm - -| | | -|---|---| -| tokenString | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) which contains token to verify | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-i-token-verifier/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-i-token-verifier/index.md deleted file mode 100644 index 46a367d22..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-i-token-verifier/index.md +++ /dev/null @@ -1,20 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user](../index.md)/[ITokenVerifier](index.md) - -# ITokenVerifier - -interface [ITokenVerifier](index.md) - -Interface presents methods to verify tokens - -#### Inheritors - -| | -|---| -| [ApiKeyVerifier](../-api-key-verifier/index.md) | -| [TokenVerifier](../-token-verifier/index.md) | - -## Functions - -| Name | Summary | -|---|---| -| [isCorrectToken](is-correct-token.md) | [jvm]
abstract fun [isCorrectToken](is-correct-token.md)(tokenString: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-i-token-verifier/is-correct-token.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-i-token-verifier/is-correct-token.md deleted file mode 100644 index ca2fe5558..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-i-token-verifier/is-correct-token.md +++ /dev/null @@ -1,18 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user](../index.md)/[ITokenVerifier](index.md)/[isCorrectToken](is-correct-token.md) - -# isCorrectToken - -[jvm]\ -abstract fun [isCorrectToken](is-correct-token.md)(tokenString: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) - -#### Author - -Kiselev Danil - -#### Parameters - -jvm - -| | | -|---|---| -| tokenString | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) which contains token to verify | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-token-verifier/-token-verifier.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-token-verifier/-token-verifier.md deleted file mode 100644 index 30ada8d1e..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-token-verifier/-token-verifier.md +++ /dev/null @@ -1,6 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user](../index.md)/[TokenVerifier](index.md)/[TokenVerifier](-token-verifier.md) - -# TokenVerifier - -[jvm]\ -constructor() diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-token-verifier/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-token-verifier/index.md deleted file mode 100644 index 0be185c43..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-token-verifier/index.md +++ /dev/null @@ -1,20 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user](../index.md)/[TokenVerifier](index.md) - -# TokenVerifier - -[jvm]\ -class [TokenVerifier](index.md) : [ITokenVerifier](../-i-token-verifier/index.md) - -Implementation of [ITokenVerifier](../-i-token-verifier/index.md). Checks GoogleIdTokens - -## Constructors - -| | | -|---|---| -| [TokenVerifier](-token-verifier.md) | [jvm]
constructor() | - -## Functions - -| Name | Summary | -|---|---| -| [isCorrectToken](is-correct-token.md) | [jvm]
open override fun [isCorrectToken](is-correct-token.md)(tokenString: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
Check Google Id Token from input line. Returns email | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-token-verifier/is-correct-token.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-token-verifier/is-correct-token.md deleted file mode 100644 index f3d5c4577..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/-token-verifier/is-correct-token.md +++ /dev/null @@ -1,32 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user](../index.md)/[TokenVerifier](index.md)/[isCorrectToken](is-correct-token.md) - -# isCorrectToken - -[jvm]\ -open override fun [isCorrectToken](is-correct-token.md)(tokenString: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) - -Check Google Id Token from input line. Returns email - -#### Author - -Kiselev Danil - -Kiselev Danil - -#### Return - -user email - -#### Parameters - -jvm - -| | | -|---|---| -| tokenString | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) which contains token to verify | - -#### Throws - -| | | -|---|---| -| [Exception](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-exception/index.html) | ("Token wasn't verified") if method can't extract email | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/index.md deleted file mode 100644 index b5656212e..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user/index.md +++ /dev/null @@ -1,11 +0,0 @@ -//[com.backend.effectiveoffice](../../index.md)/[office.effective.features.user](index.md) - -# Package-level declarations - -## Types - -| Name | Summary | -|---|---| -| [ApiKeyVerifier](-api-key-verifier/index.md) | [jvm]
class [ApiKeyVerifier](-api-key-verifier/index.md) : [ITokenVerifier](-i-token-verifier/index.md)
[ITokenVerifier](-i-token-verifier/index.md) implementation. Needs to check api keys | -| [ITokenVerifier](-i-token-verifier/index.md) | [jvm]
interface [ITokenVerifier](-i-token-verifier/index.md)
Interface presents methods to verify tokens | -| [TokenVerifier](-token-verifier/index.md) | [jvm]
class [TokenVerifier](-token-verifier/index.md) : [ITokenVerifier](-i-token-verifier/index.md)
Implementation of [ITokenVerifier](-i-token-verifier/index.md). Checks GoogleIdTokens | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-count/-count.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-count/-count.md new file mode 100644 index 000000000..b1a1f1487 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-count/-count.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../../index.md)/[office.effective.model](../../index.md)/[Ending](../index.md)/[Count](index.md)/[Count](-count.md) + +# Count + +[jvm]\ +constructor(value: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-count/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-count/index.md similarity index 78% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-count/index.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-count/index.md index 8d79b2315..3d4e95913 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-count/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-count/index.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../../index.md)/[model](../../index.md)/[Ending](../index.md)/[Count](index.md) +//[com.backend.effectiveoffice](../../../../index.md)/[office.effective.model](../../index.md)/[Ending](../index.md)/[Count](index.md) # Count diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-count/value.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-count/value.md new file mode 100644 index 000000000..b2212578d --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-count/value.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../../index.md)/[office.effective.model](../../index.md)/[Ending](../index.md)/[Count](index.md)/[value](value.md) + +# value + +[jvm]\ +val [value](value.md): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-empty/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-empty/index.md new file mode 100644 index 000000000..2c75376c0 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-empty/index.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../../index.md)/[office.effective.model](../../index.md)/[Ending](../index.md)/[Empty](index.md) + +# Empty + +[jvm]\ +object [Empty](index.md) : [Ending](../index.md) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-until/-until.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-until/-until.md new file mode 100644 index 000000000..c20d5a64a --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-until/-until.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../../index.md)/[office.effective.model](../../index.md)/[Ending](../index.md)/[Until](index.md)/[Until](-until.md) + +# Until + +[jvm]\ +constructor(value: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-until/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-until/index.md similarity index 79% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-until/index.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-until/index.md index 0881ee20b..9fd79cb57 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/-until/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-until/index.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../../index.md)/[model](../../index.md)/[Ending](../index.md)/[Until](index.md) +//[com.backend.effectiveoffice](../../../../index.md)/[office.effective.model](../../index.md)/[Ending](../index.md)/[Until](index.md) # Until diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-until/value.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-until/value.md new file mode 100644 index 000000000..c798c8c81 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/-until/value.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../../index.md)/[office.effective.model](../../index.md)/[Ending](../index.md)/[Until](index.md)/[value](value.md) + +# value + +[jvm]\ +val [value](value.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/index.md similarity index 86% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/index.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/index.md index ba7499810..bcfa3cef7 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-ending/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-ending/index.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[model](../index.md)/[Ending](index.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.model](../index.md)/[Ending](index.md) # Ending diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/-d-a-i-l-y/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/-d-a-i-l-y/index.md similarity index 80% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/-d-a-i-l-y/index.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/-d-a-i-l-y/index.md index 168ac3c39..c8651dde0 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/-d-a-i-l-y/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/-d-a-i-l-y/index.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../../index.md)/[model](../../index.md)/[Freq](../index.md)/[DAILY](index.md) +//[com.backend.effectiveoffice](../../../../index.md)/[office.effective.model](../../index.md)/[Freq](../index.md)/[DAILY](index.md) # DAILY diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/-m-o-n-t-h-l-y/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/-m-o-n-t-h-l-y/index.md similarity index 80% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/-m-o-n-t-h-l-y/index.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/-m-o-n-t-h-l-y/index.md index 6c7c9c17d..77524208e 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/-m-o-n-t-h-l-y/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/-m-o-n-t-h-l-y/index.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../../index.md)/[model](../../index.md)/[Freq](../index.md)/[MONTHLY](index.md) +//[com.backend.effectiveoffice](../../../../index.md)/[office.effective.model](../../index.md)/[Freq](../index.md)/[MONTHLY](index.md) # MONTHLY diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/-w-e-e-k-l-y/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/-w-e-e-k-l-y/index.md similarity index 80% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/-w-e-e-k-l-y/index.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/-w-e-e-k-l-y/index.md index 8be5b2068..378f2175d 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/-w-e-e-k-l-y/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/-w-e-e-k-l-y/index.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../../index.md)/[model](../../index.md)/[Freq](../index.md)/[WEEKLY](index.md) +//[com.backend.effectiveoffice](../../../../index.md)/[office.effective.model](../../index.md)/[Freq](../index.md)/[WEEKLY](index.md) # WEEKLY diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/-y-e-a-r-l-y/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/-y-e-a-r-l-y/index.md similarity index 78% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/-y-e-a-r-l-y/index.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/-y-e-a-r-l-y/index.md index dc0c4d13d..104adc2d0 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/-y-e-a-r-l-y/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/-y-e-a-r-l-y/index.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../../index.md)/[model](../../index.md)/[Freq](../index.md)/[YEARLY](index.md) +//[com.backend.effectiveoffice](../../../../index.md)/[office.effective.model](../../index.md)/[Freq](../index.md)/[YEARLY](index.md) # YEARLY diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/index.md similarity index 94% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/index.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/index.md index 7cc2ba74e..2b41103f0 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/index.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[model](../index.md)/[Freq](index.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.model](../index.md)/[Freq](index.md) # Freq diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/value-of.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/value-of.md similarity index 81% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/value-of.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/value-of.md index 6feed922b..96a4c549c 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/value-of.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/value-of.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[model](../index.md)/[Freq](index.md)/[valueOf](value-of.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.model](../index.md)/[Freq](index.md)/[valueOf](value-of.md) # valueOf diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/values.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/values.md similarity index 70% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/values.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/values.md index abf45d5c8..87806270e 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-freq/values.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-freq/values.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[model](../index.md)/[Freq](index.md)/[values](values.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.model](../index.md)/[Freq](index.md)/[values](values.md) # values diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence-model/-companion/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence-model/-companion/index.md new file mode 100644 index 000000000..fb765e393 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence-model/-companion/index.md @@ -0,0 +1,12 @@ +//[com.backend.effectiveoffice](../../../../index.md)/[office.effective.model](../../index.md)/[RecurrenceModel](../index.md)/[Companion](index.md) + +# Companion + +[jvm]\ +object [Companion](index.md) + +## Functions + +| Name | Summary | +|---|---| +| [toRecurrence](to-recurrence.md) | [jvm]
fun [RecurrenceModel](../index.md).[toRecurrence](to-recurrence.md)(): [Recurrence](../../-recurrence/index.md) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence-model/-companion/to-recurrence.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence-model/-companion/to-recurrence.md new file mode 100644 index 000000000..175ee293d --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence-model/-companion/to-recurrence.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../../index.md)/[office.effective.model](../../index.md)/[RecurrenceModel](../index.md)/[Companion](index.md)/[toRecurrence](to-recurrence.md) + +# toRecurrence + +[jvm]\ +fun [RecurrenceModel](../index.md).[toRecurrence](to-recurrence.md)(): [Recurrence](../../-recurrence/index.md) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence-model/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence-model/index.md index 5ca121f97..7fc052ca6 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence-model/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence-model/index.md @@ -11,6 +11,12 @@ data class [RecurrenceModel](index.md)(val interval: [Int](https://kotlinlang.or |---|---| | [RecurrenceModel](-recurrence-model.md) | [jvm]
constructor(interval: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)? = null, freq: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), count: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)? = null, until: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null, byDay: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)> = listOf(), byMonth: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)> = listOf(), byYearDay: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)> = listOf(), byHour: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)> = listOf()) | +## Types + +| Name | Summary | +|---|---| +| [Companion](-companion/index.md) | [jvm]
object [Companion](-companion/index.md) | + ## Properties | Name | Summary | @@ -23,3 +29,9 @@ data class [RecurrenceModel](index.md)(val interval: [Int](https://kotlinlang.or | [freq](freq.md) | [jvm]
val [freq](freq.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | | [interval](interval.md) | [jvm]
val [interval](interval.md): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)? = null | | [until](until.md) | [jvm]
val [until](until.md): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null | + +## Functions + +| Name | Summary | +|---|---| +| [toRecurrence](-companion/to-recurrence.md) | [jvm]
fun [RecurrenceModel](index.md).[toRecurrence](-companion/to-recurrence.md)(): [Recurrence](../-recurrence/index.md) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/-companion/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/-companion/index.md new file mode 100644 index 000000000..7b5e8ef9f --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/-companion/index.md @@ -0,0 +1,12 @@ +//[com.backend.effectiveoffice](../../../../index.md)/[office.effective.model](../../index.md)/[Recurrence](../index.md)/[Companion](index.md) + +# Companion + +[jvm]\ +object [Companion](index.md) + +## Functions + +| Name | Summary | +|---|---| +| [toRecurrence](to-recurrence.md) | [jvm]
fun [RecurrenceDTO](../../../model/-recurrence-d-t-o/index.md).[toRecurrence](to-recurrence.md)(): [Recurrence](../index.md) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/-companion/to-recurrence.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/-companion/to-recurrence.md new file mode 100644 index 000000000..00da37a2c --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/-companion/to-recurrence.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../../index.md)/[office.effective.model](../../index.md)/[Recurrence](../index.md)/[Companion](index.md)/[toRecurrence](to-recurrence.md) + +# toRecurrence + +[jvm]\ +fun [RecurrenceDTO](../../../model/-recurrence-d-t-o/index.md).[toRecurrence](to-recurrence.md)(): [Recurrence](../index.md) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/-recurrence.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/-recurrence.md similarity index 86% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/-recurrence.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/-recurrence.md index 6484bbc02..ff5a62b95 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/-recurrence.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/-recurrence.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[model](../index.md)/[Recurrence](index.md)/[Recurrence](-recurrence.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.model](../index.md)/[Recurrence](index.md)/[Recurrence](-recurrence.md) # Recurrence diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/by-day.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/by-day.md similarity index 61% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/by-day.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/by-day.md index 381a4afd7..205ca7abf 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/by-day.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/by-day.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[model](../index.md)/[Recurrence](index.md)/[byDay](by-day.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.model](../index.md)/[Recurrence](index.md)/[byDay](by-day.md) # byDay diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/by-hour.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/by-hour.md similarity index 61% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/by-hour.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/by-hour.md index 3f02b079c..578906ae5 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/by-hour.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/by-hour.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[model](../index.md)/[Recurrence](index.md)/[byHour](by-hour.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.model](../index.md)/[Recurrence](index.md)/[byHour](by-hour.md) # byHour diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/by-month.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/by-month.md similarity index 61% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/by-month.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/by-month.md index 590420d46..7457f4ee6 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/by-month.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/by-month.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[model](../index.md)/[Recurrence](index.md)/[byMonth](by-month.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.model](../index.md)/[Recurrence](index.md)/[byMonth](by-month.md) # byMonth diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/by-year-day.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/by-year-day.md similarity index 61% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/by-year-day.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/by-year-day.md index 6ef78184a..ec4cfa890 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/by-year-day.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/by-year-day.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[model](../index.md)/[Recurrence](index.md)/[byYearDay](by-year-day.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.model](../index.md)/[Recurrence](index.md)/[byYearDay](by-year-day.md) # byYearDay diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/ending.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/ending.md new file mode 100644 index 000000000..45bb4ba3f --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/ending.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.model](../index.md)/[Recurrence](index.md)/[ending](ending.md) + +# ending + +[jvm]\ +val [ending](ending.md): [Ending](../-ending/index.md) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/freq.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/freq.md new file mode 100644 index 000000000..2dbfa3ba7 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/freq.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.model](../index.md)/[Recurrence](index.md)/[freq](freq.md) + +# freq + +[jvm]\ +val [freq](freq.md): [Freq](../-freq/index.md) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/index.md similarity index 95% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/index.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/index.md index 211455235..6bc28e492 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/model/-recurrence/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/index.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[model](../index.md)/[Recurrence](index.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.model](../index.md)/[Recurrence](index.md) # Recurrence @@ -34,4 +34,4 @@ data class [Recurrence](index.md)(val interval: [Int](https://kotlinlang.org/api | Name | Summary | |---|---| | [rule](../../office.effective.features.booking.converters/-recurrence-rule-factory/rule.md) | [jvm]
fun [Recurrence](index.md).[rule](../../office.effective.features.booking.converters/-recurrence-rule-factory/rule.md)(): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | -| [toDto](to-dto.md) | [jvm]
fun [toDto](to-dto.md)(): [RecurrenceDTO](../-recurrence-d-t-o/index.md) | +| [toDto](to-dto.md) | [jvm]
fun [toDto](to-dto.md)(): [RecurrenceDTO](../../model/-recurrence-d-t-o/index.md) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/interval.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/interval.md new file mode 100644 index 000000000..996538937 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/interval.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.model](../index.md)/[Recurrence](index.md)/[interval](interval.md) + +# interval + +[jvm]\ +val [interval](interval.md): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/to-dto.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/to-dto.md new file mode 100644 index 000000000..498f3d4e7 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-recurrence/to-dto.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.model](../index.md)/[Recurrence](index.md)/[toDto](to-dto.md) + +# toDto + +[jvm]\ +fun [toDto](to-dto.md)(): [RecurrenceDTO](../../model/-recurrence-d-t-o/index.md) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/index.md index 94d354bd1..2c2c21dea 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/index.md @@ -7,7 +7,10 @@ | Name | Summary | |---|---| | [Booking](-booking/index.md) | [jvm]
data class [Booking](-booking/index.md)(var owner: [UserModel](-user-model/index.md), var participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserModel](-user-model/index.md)>, var workspace: [Workspace](-workspace/index.md), var id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, var beginBooking: [Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html), var endBooking: [Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html), var recurrence: [RecurrenceModel](-recurrence-model/index.md)?) | +| [Ending](-ending/index.md) | [jvm]
sealed class [Ending](-ending/index.md) | +| [Freq](-freq/index.md) | [jvm]
enum [Freq](-freq/index.md) : [Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)<[Freq](-freq/index.md)> | | [IntegrationModel](-integration-model/index.md) | [jvm]
data class [IntegrationModel](-integration-model/index.md)(var id: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)?, var name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), var valueStr: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), var iconUrl: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) | +| [Recurrence](-recurrence/index.md) | [jvm]
data class [Recurrence](-recurrence/index.md)(val interval: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), val freq: [Freq](-freq/index.md), val ending: [Ending](-ending/index.md), val byDay: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)>, val byMonth: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)>, val byYearDay: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)>, val byHour: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)>) | | [RecurrenceModel](-recurrence-model/index.md) | [jvm]
data class [RecurrenceModel](-recurrence-model/index.md)(val interval: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)? = null, val freq: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val count: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)? = null, val until: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null, val byDay: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)> = listOf(), val byMonth: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)> = listOf(), val byYearDay: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)> = listOf(), val byHour: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)> = listOf()) | | [UserModel](-user-model/index.md) | [jvm]
data class [UserModel](-user-model/index.md)(var fullName: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), var id: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)?, var tag: [UsersTagEntity](../office.effective.features.user.repository/-users-tag-entity/index.md)?, var active: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html), var role: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, var avatarURL: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, var integrations: [Set](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html)<[IntegrationModel](-integration-model/index.md)>?, var email: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) | | [UserTagModel](-user-tag-model/index.md) | [jvm]
data class [UserTagModel](-user-tag-model/index.md)(var id: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), var name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.plugins/-custom-authorization-plugin.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.plugins/-custom-authorization-plugin.md new file mode 100644 index 000000000..c294b1842 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.plugins/-custom-authorization-plugin.md @@ -0,0 +1,8 @@ +//[com.backend.effectiveoffice](../../index.md)/[office.effective.plugins](index.md)/[CustomAuthorizationPlugin](-custom-authorization-plugin.md) + +# CustomAuthorizationPlugin + +[jvm]\ +val [CustomAuthorizationPlugin](-custom-authorization-plugin.md): ApplicationPlugin<[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)> + +Allows to check Authentication plugins automatically. Run every time when receiving input call. Checks Authentication (bearer) header containment diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.plugins/-verification-plugin.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.plugins/-verification-plugin.md deleted file mode 100644 index 472866b13..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.plugins/-verification-plugin.md +++ /dev/null @@ -1,8 +0,0 @@ -//[com.backend.effectiveoffice](../../index.md)/[office.effective.plugins](index.md)/[VerificationPlugin](-verification-plugin.md) - -# VerificationPlugin - -[jvm]\ -val [VerificationPlugin](-verification-plugin.md): ApplicationPlugin<[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)> - -Allows to check Authentication plugins automatically. Run every time when receiving input call. Checks Authentication (bearer) header containment diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.plugins/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.plugins/index.md index 53fe0d7d4..a7de513a5 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.plugins/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.plugins/index.md @@ -7,7 +7,7 @@ | Name | Summary | |---|---| | [applicationHttpClient](application-http-client.md) | [jvm]
val [applicationHttpClient](application-http-client.md): HttpClient | -| [VerificationPlugin](-verification-plugin.md) | [jvm]
val [VerificationPlugin](-verification-plugin.md): ApplicationPlugin<[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)>
Allows to check Authentication plugins automatically. Run every time when receiving input call. Checks Authentication (bearer) header containment | +| [CustomAuthorizationPlugin](-custom-authorization-plugin.md) | [jvm]
val [CustomAuthorizationPlugin](-custom-authorization-plugin.md): ApplicationPlugin<[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)>
Allows to check Authentication plugins automatically. Run every time when receiving input call. Checks Authentication (bearer) header containment | ## Functions diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/package-list b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/package-list index dd9f951f8..37af2d945 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/package-list +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/package-list @@ -1,33 +1,6 @@ $dokka.format:gfm-v1 $dokka.linkExtension:md $dokka.location:model////PointingToDeclaration/com.backend.effectiveoffice/model/index.md -$dokka.location:model/Ending.Count///PointingToDeclaration/com.backend.effectiveoffice/model/-ending/-count/index.md -$dokka.location:model/Ending.Count/Count/#kotlin.Int/PointingToDeclaration/com.backend.effectiveoffice/model/-ending/-count/-count.md -$dokka.location:model/Ending.Count/value/#/PointingToDeclaration/com.backend.effectiveoffice/model/-ending/-count/value.md -$dokka.location:model/Ending.Empty///PointingToDeclaration/com.backend.effectiveoffice/model/-ending/-empty/index.md -$dokka.location:model/Ending.Until///PointingToDeclaration/com.backend.effectiveoffice/model/-ending/-until/index.md -$dokka.location:model/Ending.Until/Until/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/model/-ending/-until/-until.md -$dokka.location:model/Ending.Until/value/#/PointingToDeclaration/com.backend.effectiveoffice/model/-ending/-until/value.md -$dokka.location:model/Ending///PointingToDeclaration/com.backend.effectiveoffice/model/-ending/index.md -$dokka.location:model/Freq.DAILY///PointingToDeclaration/{"org.jetbrains.dokka.links.EnumEntryDRIExtra":{"key":"org.jetbrains.dokka.links.EnumEntryDRIExtra"}}com.backend.effectiveoffice/model/-freq/-d-a-i-l-y/index.md -$dokka.location:model/Freq.MONTHLY///PointingToDeclaration/{"org.jetbrains.dokka.links.EnumEntryDRIExtra":{"key":"org.jetbrains.dokka.links.EnumEntryDRIExtra"}}com.backend.effectiveoffice/model/-freq/-m-o-n-t-h-l-y/index.md -$dokka.location:model/Freq.WEEKLY///PointingToDeclaration/{"org.jetbrains.dokka.links.EnumEntryDRIExtra":{"key":"org.jetbrains.dokka.links.EnumEntryDRIExtra"}}com.backend.effectiveoffice/model/-freq/-w-e-e-k-l-y/index.md -$dokka.location:model/Freq.YEARLY///PointingToDeclaration/{"org.jetbrains.dokka.links.EnumEntryDRIExtra":{"key":"org.jetbrains.dokka.links.EnumEntryDRIExtra"}}com.backend.effectiveoffice/model/-freq/-y-e-a-r-l-y/index.md -$dokka.location:model/Freq///PointingToDeclaration/com.backend.effectiveoffice/model/-freq/index.md -$dokka.location:model/Freq/valueOf/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/model/-freq/value-of.md -$dokka.location:model/Freq/values/#/PointingToDeclaration/com.backend.effectiveoffice/model/-freq/values.md -$dokka.location:model/Recurrence.Companion///PointingToDeclaration/com.backend.effectiveoffice/model/-recurrence/-companion/index.md -$dokka.location:model/Recurrence.Companion/toRecurrence/model.RecurrenceDTO#/PointingToDeclaration/com.backend.effectiveoffice/model/-recurrence/-companion/to-recurrence.md -$dokka.location:model/Recurrence///PointingToDeclaration/com.backend.effectiveoffice/model/-recurrence/index.md -$dokka.location:model/Recurrence/Recurrence/#kotlin.Int#model.Freq#model.Ending#kotlin.collections.List[kotlin.Int]#kotlin.collections.List[kotlin.Int]#kotlin.collections.List[kotlin.Int]#kotlin.collections.List[kotlin.Int]/PointingToDeclaration/com.backend.effectiveoffice/model/-recurrence/-recurrence.md -$dokka.location:model/Recurrence/byDay/#/PointingToDeclaration/com.backend.effectiveoffice/model/-recurrence/by-day.md -$dokka.location:model/Recurrence/byHour/#/PointingToDeclaration/com.backend.effectiveoffice/model/-recurrence/by-hour.md -$dokka.location:model/Recurrence/byMonth/#/PointingToDeclaration/com.backend.effectiveoffice/model/-recurrence/by-month.md -$dokka.location:model/Recurrence/byYearDay/#/PointingToDeclaration/com.backend.effectiveoffice/model/-recurrence/by-year-day.md -$dokka.location:model/Recurrence/ending/#/PointingToDeclaration/com.backend.effectiveoffice/model/-recurrence/ending.md -$dokka.location:model/Recurrence/freq/#/PointingToDeclaration/com.backend.effectiveoffice/model/-recurrence/freq.md -$dokka.location:model/Recurrence/interval/#/PointingToDeclaration/com.backend.effectiveoffice/model/-recurrence/interval.md -$dokka.location:model/Recurrence/toDto/#/PointingToDeclaration/com.backend.effectiveoffice/model/-recurrence/to-dto.md $dokka.location:model/RecurrenceDTO///PointingToDeclaration/com.backend.effectiveoffice/model/-recurrence-d-t-o/index.md $dokka.location:model/RecurrenceDTO/RecurrenceDTO/#kotlin.Int?#kotlin.String#kotlin.Int?#kotlin.Long?#kotlin.collections.List[kotlin.Int]#kotlin.collections.List[kotlin.Int]#kotlin.collections.List[kotlin.Int]#kotlin.collections.List[kotlin.Int]/PointingToDeclaration/com.backend.effectiveoffice/model/-recurrence-d-t-o/-recurrence-d-t-o.md $dokka.location:model/RecurrenceDTO/byDay/#/PointingToDeclaration/com.backend.effectiveoffice/model/-recurrence-d-t-o/by-day.md @@ -40,7 +13,11 @@ $dokka.location:model/RecurrenceDTO/interval/#/PointingToDeclaration/com.backen $dokka.location:model/RecurrenceDTO/until/#/PointingToDeclaration/com.backend.effectiveoffice/model/-recurrence-d-t-o/until.md $dokka.location:office.effective.common.constants////PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.constants/index.md $dokka.location:office.effective.common.constants/BookingConstants///PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/index.md +$dokka.location:office.effective.common.constants/BookingConstants/DEFAULT_CALENDAR/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-d-e-f-a-u-l-t_-c-a-l-e-n-d-a-r.md +$dokka.location:office.effective.common.constants/BookingConstants/DEFAULT_TIMEZONE_ID/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-i-d.md $dokka.location:office.effective.common.constants/BookingConstants/MIN_SEARCH_START_TIME/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-m-i-n_-s-e-a-r-c-h_-s-t-a-r-t_-t-i-m-e.md +$dokka.location:office.effective.common.constants/BookingConstants/UNTIL_FORMAT/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-u-n-t-i-l_-f-o-r-m-a-t.md +$dokka.location:office.effective.common.constants/BookingConstants/WORKSPACE_CALENDAR/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-w-o-r-k-s-p-a-c-e_-c-a-l-e-n-d-a-r.md $dokka.location:office.effective.common.di////PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.di/index.md $dokka.location:office.effective.common.di//calendarDiModule/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.di/calendar-di-module.md $dokka.location:office.effective.common.di//commonDiModule/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.di/common-di-module.md @@ -68,9 +45,12 @@ $dokka.location:office.effective.common.notifications/INotificationSender/sendCo $dokka.location:office.effective.common.notifications/INotificationSender/sendEmptyMessage/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.notifications/-i-notification-sender/send-empty-message.md $dokka.location:office.effective.common.swagger////PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.swagger/index.md $dokka.location:office.effective.common.swagger/SwaggerDocument///PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.swagger/-swagger-document/index.md +$dokka.location:office.effective.common.utils.impl////PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.utils.impl/index.md +$dokka.location:office.effective.common.utils.impl/DatabaseTransactionManagerImpl///PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.utils.impl/-database-transaction-manager-impl/index.md +$dokka.location:office.effective.common.utils.impl/DatabaseTransactionManagerImpl/DatabaseTransactionManagerImpl/#org.ktorm.database.Database/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.utils.impl/-database-transaction-manager-impl/-database-transaction-manager-impl.md +$dokka.location:office.effective.common.utils.impl/DatabaseTransactionManagerImpl/useTransaction/#kotlin.Function0[TypeParam(bounds=[kotlin.Any?])]#org.ktorm.database.TransactionIsolation/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.utils.impl/-database-transaction-manager-impl/use-transaction.md $dokka.location:office.effective.common.utils////PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.utils/index.md $dokka.location:office.effective.common.utils/DatabaseTransactionManager///PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.utils/-database-transaction-manager/index.md -$dokka.location:office.effective.common.utils/DatabaseTransactionManager/DatabaseTransactionManager/#org.ktorm.database.Database/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.utils/-database-transaction-manager/-database-transaction-manager.md $dokka.location:office.effective.common.utils/DatabaseTransactionManager/useTransaction/#kotlin.Function0[TypeParam(bounds=[kotlin.Any?])]#org.ktorm.database.TransactionIsolation/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.utils/-database-transaction-manager/use-transaction.md $dokka.location:office.effective.common.utils/UserSession///PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.utils/-user-session/index.md $dokka.location:office.effective.common.utils/UserSession/UserSession/#kotlin.String#kotlin.String?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.utils/-user-session/-user-session.md @@ -121,6 +101,47 @@ $dokka.location:office.effective.dto/WorkspaceZoneDTO///PointingToDeclaration/c $dokka.location:office.effective.dto/WorkspaceZoneDTO/WorkspaceZoneDTO/#kotlin.String#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-workspace-zone-d-t-o/-workspace-zone-d-t-o.md $dokka.location:office.effective.dto/WorkspaceZoneDTO/id/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-workspace-zone-d-t-o/id.md $dokka.location:office.effective.dto/WorkspaceZoneDTO/name/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-workspace-zone-d-t-o/name.md +$dokka.location:office.effective.features.auth.di////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.di/index.md +$dokka.location:office.effective.features.auth.di//authDiModule/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.di/auth-di-module.md +$dokka.location:office.effective.features.auth.repository////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/index.md +$dokka.location:office.effective.features.auth.repository//apikeys/org.ktorm.database.Database#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/apikeys.md +$dokka.location:office.effective.features.auth.repository/ApiKeyEntity.Companion///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-key-entity/-companion/index.md +$dokka.location:office.effective.features.auth.repository/ApiKeyEntity///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-key-entity/index.md +$dokka.location:office.effective.features.auth.repository/ApiKeyEntity/id/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-key-entity/id.md +$dokka.location:office.effective.features.auth.repository/ApiKeyEntity/keyValue/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-key-entity/key-value.md +$dokka.location:office.effective.features.auth.repository/ApiKeys///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-keys/index.md +$dokka.location:office.effective.features.auth.repository/ApiKeys/id/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-keys/id.md +$dokka.location:office.effective.features.auth.repository/ApiKeys/value/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-keys/value.md +$dokka.location:office.effective.features.auth.repository/AuthRepository///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/-auth-repository/index.md +$dokka.location:office.effective.features.auth.repository/AuthRepository/AuthRepository/#org.ktorm.database.Database/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/-auth-repository/-auth-repository.md +$dokka.location:office.effective.features.auth.repository/AuthRepository/findApiKey/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/-auth-repository/find-api-key.md +$dokka.location:office.effective.features.auth.service////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/index.md +$dokka.location:office.effective.features.auth.service/ApiKeyAuthorizer///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-api-key-authorizer/index.md +$dokka.location:office.effective.features.auth.service/ApiKeyAuthorizer/ApiKeyAuthorizer/#office.effective.features.auth.service.TokenExtractor/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-api-key-authorizer/-api-key-authorizer.md +$dokka.location:office.effective.features.auth.service/ApiKeyAuthorizer/authorize/#io.ktor.server.application.ApplicationCall/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-api-key-authorizer/authorize.md +$dokka.location:office.effective.features.auth.service/ApiKeyAuthorizer/logger/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-api-key-authorizer/logger.md +$dokka.location:office.effective.features.auth.service/AuthorizationPipeline///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/index.md +$dokka.location:office.effective.features.auth.service/AuthorizationPipeline/AuthorizationPipeline/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/-authorization-pipeline.md +$dokka.location:office.effective.features.auth.service/AuthorizationPipeline/addAuthorizer/#office.effective.features.auth.service.Authorizer/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/add-authorizer.md +$dokka.location:office.effective.features.auth.service/AuthorizationPipeline/authorize/#io.ktor.server.application.ApplicationCall/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/authorize.md +$dokka.location:office.effective.features.auth.service/AuthorizationPipeline/logger/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-authorization-pipeline/logger.md +$dokka.location:office.effective.features.auth.service/Authorizer///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-authorizer/index.md +$dokka.location:office.effective.features.auth.service/Authorizer/authorize/#io.ktor.server.application.ApplicationCall/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-authorizer/authorize.md +$dokka.location:office.effective.features.auth.service/PermitAuthorizer///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-permit-authorizer/index.md +$dokka.location:office.effective.features.auth.service/PermitAuthorizer/PermitAuthorizer/#kotlin.collections.Iterable[kotlin.String]/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-permit-authorizer/-permit-authorizer.md +$dokka.location:office.effective.features.auth.service/PermitAuthorizer/authorize/#io.ktor.server.application.ApplicationCall/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-permit-authorizer/authorize.md +$dokka.location:office.effective.features.auth.service/PermitAuthorizer/logger/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-permit-authorizer/logger.md +$dokka.location:office.effective.features.auth.service/RequestAuthorizer///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-request-authorizer/index.md +$dokka.location:office.effective.features.auth.service/RequestAuthorizer/RequestAuthorizer/#office.effective.features.auth.service.TokenExtractor/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-request-authorizer/-request-authorizer.md +$dokka.location:office.effective.features.auth.service/RequestAuthorizer/authorize/#io.ktor.server.application.ApplicationCall/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-request-authorizer/authorize.md +$dokka.location:office.effective.features.auth.service/RequestAuthorizer/logger/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-request-authorizer/logger.md +$dokka.location:office.effective.features.auth.service/TokenAuthorizer///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-token-authorizer/index.md +$dokka.location:office.effective.features.auth.service/TokenAuthorizer/TokenAuthorizer/#office.effective.features.auth.service.TokenExtractor/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-token-authorizer/-token-authorizer.md +$dokka.location:office.effective.features.auth.service/TokenAuthorizer/authorize/#io.ktor.server.application.ApplicationCall/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-token-authorizer/authorize.md +$dokka.location:office.effective.features.auth.service/TokenAuthorizer/logger/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-token-authorizer/logger.md +$dokka.location:office.effective.features.auth.service/TokenExtractor///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-token-extractor/index.md +$dokka.location:office.effective.features.auth.service/TokenExtractor/TokenExtractor/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-token-extractor/-token-extractor.md +$dokka.location:office.effective.features.auth.service/TokenExtractor/extractToken/#io.ktor.server.application.ApplicationCall/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-token-extractor/extract-token.md $dokka.location:office.effective.features.booking.converters////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/index.md $dokka.location:office.effective.features.booking.converters/BookingFacadeConverter///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-facade-converter/index.md $dokka.location:office.effective.features.booking.converters/BookingFacadeConverter/BookingFacadeConverter/#office.effective.features.user.converters.UserDTOModelConverter#office.effective.features.workspace.converters.WorkspaceFacadeConverter/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-facade-converter/-booking-facade-converter.md @@ -132,19 +153,17 @@ $dokka.location:office.effective.features.booking.converters/BookingRepositoryCo $dokka.location:office.effective.features.booking.converters/BookingRepositoryConverter/modelToEntity/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-repository-converter/model-to-entity.md $dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/index.md $dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter/GoogleCalendarConverter/#office.effective.features.calendar.repository.CalendarIdsRepository#office.effective.features.user.repository.UserRepository#office.effective.features.workspace.converters.WorkspaceFacadeConverter#office.effective.features.user.converters.UserDTOModelConverter#office.effective.features.booking.converters.BookingFacadeConverter#office.effective.common.utils.UuidValidator#office.effective.features.workspace.repository.WorkspaceRepository/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/-google-calendar-converter.md -$dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter/toBookingDTO/#com.google.api.services.calendar.model.Event/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-booking-d-t-o.md -$dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter/toBookingModel/#com.google.api.services.calendar.model.Event/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-booking-model.md -$dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter/toGoogleEvent/#office.effective.dto.BookingDTO/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-event.md -$dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter/toGoogleEvent/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-event.md -$dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter/toGoogleWorkspaceEvent/#office.effective.dto.BookingDTO/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-event.md -$dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter/toGoogleWorkspaceEvent/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-event.md +$dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter/toBookingModelForMeetingWorkspace/#com.google.api.services.calendar.model.Event/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-booking-model-for-meeting-workspace.md +$dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter/toGoogleWorkspaceMeetingEvent/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-meeting-event.md +$dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter/toGoogleWorkspaceRegularEvent/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-regular-event.md $dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter/toWorkspaceBooking/#com.google.api.services.calendar.model.Event/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-workspace-booking.md $dokka.location:office.effective.features.booking.converters/RecurrenceConverter///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-converter/index.md $dokka.location:office.effective.features.booking.converters/RecurrenceConverter/dtoToModel/#model.RecurrenceDTO/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-converter/dto-to-model.md $dokka.location:office.effective.features.booking.converters/RecurrenceConverter/modelToDto/#office.effective.model.RecurrenceModel/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-converter/model-to-dto.md +$dokka.location:office.effective.features.booking.converters/RecurrenceConverter/recurrenceToModel/#office.effective.model.Recurrence/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-converter/recurrence-to-model.md $dokka.location:office.effective.features.booking.converters/RecurrenceRuleFactory///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-rule-factory/index.md $dokka.location:office.effective.features.booking.converters/RecurrenceRuleFactory/getRecurrence/kotlin.String#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-rule-factory/get-recurrence.md -$dokka.location:office.effective.features.booking.converters/RecurrenceRuleFactory/rule/model.Recurrence#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-rule-factory/rule.md +$dokka.location:office.effective.features.booking.converters/RecurrenceRuleFactory/rule/office.effective.model.Recurrence#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-rule-factory/rule.md $dokka.location:office.effective.features.booking.di////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.di/index.md $dokka.location:office.effective.features.booking.di//bookingDiModule/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.di/booking-di-module.md $dokka.location:office.effective.features.booking.facade////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.facade/index.md @@ -158,17 +177,17 @@ $dokka.location:office.effective.features.booking.facade/BookingFacade/put/#offi $dokka.location:office.effective.features.booking.repository////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/index.md $dokka.location:office.effective.features.booking.repository//bookingParticipants/org.ktorm.database.Database#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/booking-participants.md $dokka.location:office.effective.features.booking.repository//workspaceBooking/org.ktorm.database.Database#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/workspace-booking.md -$dokka.location:office.effective.features.booking.repository/BookingCalendarRepository///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/index.md -$dokka.location:office.effective.features.booking.repository/BookingCalendarRepository/BookingCalendarRepository/#office.effective.features.calendar.repository.CalendarIdsRepository#office.effective.features.user.repository.UserRepository#com.google.api.services.calendar.Calendar#office.effective.features.booking.converters.GoogleCalendarConverter/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/-booking-calendar-repository.md -$dokka.location:office.effective.features.booking.repository/BookingCalendarRepository/deleteById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/delete-by-id.md -$dokka.location:office.effective.features.booking.repository/BookingCalendarRepository/existsById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/exists-by-id.md -$dokka.location:office.effective.features.booking.repository/BookingCalendarRepository/findAll/#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/find-all.md -$dokka.location:office.effective.features.booking.repository/BookingCalendarRepository/findAllByOwnerAndWorkspaceId/#java.util.UUID#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/find-all-by-owner-and-workspace-id.md -$dokka.location:office.effective.features.booking.repository/BookingCalendarRepository/findAllByOwnerId/#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/find-all-by-owner-id.md -$dokka.location:office.effective.features.booking.repository/BookingCalendarRepository/findAllByWorkspaceId/#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/find-all-by-workspace-id.md -$dokka.location:office.effective.features.booking.repository/BookingCalendarRepository/findById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/find-by-id.md -$dokka.location:office.effective.features.booking.repository/BookingCalendarRepository/save/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/save.md -$dokka.location:office.effective.features.booking.repository/BookingCalendarRepository/update/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-calendar-repository/update.md +$dokka.location:office.effective.features.booking.repository/BookingMeetingRepository///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/index.md +$dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/BookingMeetingRepository/#office.effective.features.calendar.repository.CalendarIdsRepository#office.effective.features.user.repository.UserRepository#com.google.api.services.calendar.Calendar#office.effective.features.booking.converters.GoogleCalendarConverter/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/-booking-meeting-repository.md +$dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/deleteById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/delete-by-id.md +$dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/existsById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/exists-by-id.md +$dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/findAll/#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all.md +$dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/findAllByOwnerAndWorkspaceId/#java.util.UUID#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-owner-and-workspace-id.md +$dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/findAllByOwnerId/#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-owner-id.md +$dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/findAllByWorkspaceId/#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-workspace-id.md +$dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/findById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-by-id.md +$dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/save/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/save.md +$dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/update/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/update.md $dokka.location:office.effective.features.booking.repository/BookingParticipantEntity.Companion///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-participant-entity/-companion/index.md $dokka.location:office.effective.features.booking.repository/BookingParticipantEntity///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-participant-entity/index.md $dokka.location:office.effective.features.booking.repository/BookingParticipantEntity/booking/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-participant-entity/booking.md @@ -176,6 +195,17 @@ $dokka.location:office.effective.features.booking.repository/BookingParticipantE $dokka.location:office.effective.features.booking.repository/BookingParticipants///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-participants/index.md $dokka.location:office.effective.features.booking.repository/BookingParticipants/bookingId/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-participants/booking-id.md $dokka.location:office.effective.features.booking.repository/BookingParticipants/userId/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-participants/user-id.md +$dokka.location:office.effective.features.booking.repository/BookingRegularRepository///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/index.md +$dokka.location:office.effective.features.booking.repository/BookingRegularRepository/BookingRegularRepository/#com.google.api.services.calendar.Calendar#office.effective.features.booking.converters.GoogleCalendarConverter#office.effective.features.workspace.repository.WorkspaceRepository#office.effective.features.user.repository.UserRepository/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/-booking-regular-repository.md +$dokka.location:office.effective.features.booking.repository/BookingRegularRepository/deleteById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/delete-by-id.md +$dokka.location:office.effective.features.booking.repository/BookingRegularRepository/existsById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/exists-by-id.md +$dokka.location:office.effective.features.booking.repository/BookingRegularRepository/findAll/#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all.md +$dokka.location:office.effective.features.booking.repository/BookingRegularRepository/findAllByOwnerAndWorkspaceId/#java.util.UUID#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-owner-and-workspace-id.md +$dokka.location:office.effective.features.booking.repository/BookingRegularRepository/findAllByOwnerId/#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-owner-id.md +$dokka.location:office.effective.features.booking.repository/BookingRegularRepository/findAllByWorkspaceId/#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-workspace-id.md +$dokka.location:office.effective.features.booking.repository/BookingRegularRepository/findById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-by-id.md +$dokka.location:office.effective.features.booking.repository/BookingRegularRepository/save/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/save.md +$dokka.location:office.effective.features.booking.repository/BookingRegularRepository/update/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/update.md $dokka.location:office.effective.features.booking.repository/BookingRepository///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-repository/index.md $dokka.location:office.effective.features.booking.repository/BookingRepository/BookingRepository/#org.ktorm.database.Database#office.effective.features.booking.converters.BookingRepositoryConverter#office.effective.common.utils.UuidValidator/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-repository/-booking-repository.md $dokka.location:office.effective.features.booking.repository/BookingRepository/deleteById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-repository/delete-by-id.md @@ -187,17 +217,6 @@ $dokka.location:office.effective.features.booking.repository/BookingRepository/f $dokka.location:office.effective.features.booking.repository/BookingRepository/findById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-repository/find-by-id.md $dokka.location:office.effective.features.booking.repository/BookingRepository/save/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-repository/save.md $dokka.location:office.effective.features.booking.repository/BookingRepository/update/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-repository/update.md -$dokka.location:office.effective.features.booking.repository/BookingWorkspaceRepository///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/index.md -$dokka.location:office.effective.features.booking.repository/BookingWorkspaceRepository/BookingWorkspaceRepository/#com.google.api.services.calendar.Calendar#office.effective.features.booking.converters.GoogleCalendarConverter#office.effective.features.workspace.repository.WorkspaceRepository#office.effective.features.user.repository.UserRepository/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/-booking-workspace-repository.md -$dokka.location:office.effective.features.booking.repository/BookingWorkspaceRepository/deleteById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/delete-by-id.md -$dokka.location:office.effective.features.booking.repository/BookingWorkspaceRepository/existsById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/exists-by-id.md -$dokka.location:office.effective.features.booking.repository/BookingWorkspaceRepository/findAll/#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/find-all.md -$dokka.location:office.effective.features.booking.repository/BookingWorkspaceRepository/findAllByOwnerAndWorkspaceId/#java.util.UUID#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/find-all-by-owner-and-workspace-id.md -$dokka.location:office.effective.features.booking.repository/BookingWorkspaceRepository/findAllByOwnerId/#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/find-all-by-owner-id.md -$dokka.location:office.effective.features.booking.repository/BookingWorkspaceRepository/findAllByWorkspaceId/#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/find-all-by-workspace-id.md -$dokka.location:office.effective.features.booking.repository/BookingWorkspaceRepository/findById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/find-by-id.md -$dokka.location:office.effective.features.booking.repository/BookingWorkspaceRepository/save/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/save.md -$dokka.location:office.effective.features.booking.repository/BookingWorkspaceRepository/update/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-workspace-repository/update.md $dokka.location:office.effective.features.booking.repository/IBookingRepository///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/index.md $dokka.location:office.effective.features.booking.repository/IBookingRepository/deleteById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/delete-by-id.md $dokka.location:office.effective.features.booking.repository/IBookingRepository/existsById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/exists-by-id.md @@ -225,7 +244,7 @@ $dokka.location:office.effective.features.booking.routes////PointingToDeclaratio $dokka.location:office.effective.features.booking.routes//bookingRouting/io.ktor.server.routing.Route#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.routes/booking-routing.md $dokka.location:office.effective.features.booking.service////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.service/index.md $dokka.location:office.effective.features.booking.service/BookingService///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/index.md -$dokka.location:office.effective.features.booking.service/BookingService/BookingService/#office.effective.features.booking.repository.BookingCalendarRepository#office.effective.features.booking.repository.BookingWorkspaceRepository#office.effective.features.user.repository.UserRepository#office.effective.features.workspace.repository.WorkspaceRepository/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/-booking-service.md +$dokka.location:office.effective.features.booking.service/BookingService/BookingService/#office.effective.features.booking.repository.BookingMeetingRepository#office.effective.features.booking.repository.BookingRegularRepository#office.effective.features.user.repository.UserRepository#office.effective.features.workspace.repository.WorkspaceRepository/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/-booking-service.md $dokka.location:office.effective.features.booking.service/BookingService/deleteById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/delete-by-id.md $dokka.location:office.effective.features.booking.service/BookingService/existsById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/exists-by-id.md $dokka.location:office.effective.features.booking.service/BookingService/findAll/#java.util.UUID?#java.util.UUID?#kotlin.Long?#kotlin.Long/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/find-all.md @@ -248,20 +267,6 @@ $dokka.location:office.effective.features.calendar.repository/CalendarIdsReposit $dokka.location:office.effective.features.calendar.repository/CalendarIdsRepository/findWorkspaceById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.calendar.repository/-calendar-ids-repository/find-workspace-by-id.md $dokka.location:office.effective.features.notifications.routes////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.notifications.routes/index.md $dokka.location:office.effective.features.notifications.routes//calendarNotificationsRouting/io.ktor.server.routing.Route#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.notifications.routes/calendar-notifications-routing.md -$dokka.location:office.effective.features.auth.di////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.di/index.md -$dokka.location:office.effective.features.auth.di//authDiModule/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.di/auth-di-module.md -$dokka.location:office.effective.features.auth.repository////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/index.md -$dokka.location:office.effective.features.auth.repository//apikeys/org.ktorm.database.Database#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/apikeys.md -$dokka.location:office.effective.features.auth.repository/ApiKeyEntity.Companion///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-key-entity/-companion/index.md -$dokka.location:office.effective.features.auth.repository/ApiKeyEntity///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-key-entity/index.md -$dokka.location:office.effective.features.auth.repository/ApiKeyEntity/id/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-key-entity/id.md -$dokka.location:office.effective.features.auth.repository/ApiKeyEntity/keyValue/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-key-entity/key-value.md -$dokka.location:office.effective.features.auth.repository/ApiKeys///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-keys/index.md -$dokka.location:office.effective.features.auth.repository/ApiKeys/id/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-keys/id.md -$dokka.location:office.effective.features.auth.repository/ApiKeys/value/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/-api-keys/value.md -$dokka.location:office.effective.features.auth.repository/AuthRepository///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/-auth-repository/index.md -$dokka.location:office.effective.features.auth.repository/AuthRepository/AuthRepository/#org.ktorm.database.Database/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/-auth-repository/-auth-repository.md -$dokka.location:office.effective.features.auth.repository/AuthRepository/findApiKey/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.repository/-auth-repository/find-api-key.md $dokka.location:office.effective.features.user.converters////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.converters/index.md $dokka.location:office.effective.features.user.converters/IntegrationDTOModelConverter///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.converters/-integration-d-t-o-model-converter/index.md $dokka.location:office.effective.features.user.converters/IntegrationDTOModelConverter/IntegrationDTOModelConverter/#office.effective.common.utils.UuidValidator/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.converters/-integration-d-t-o-model-converter/-integration-d-t-o-model-converter.md @@ -283,7 +288,7 @@ $dokka.location:office.effective.features.user.di////PointingToDeclaration/com. $dokka.location:office.effective.features.user.di//userDIModule/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.di/user-d-i-module.md $dokka.location:office.effective.features.user.facade////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/index.md $dokka.location:office.effective.features.user.facade/UserFacade///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/index.md -$dokka.location:office.effective.features.user.facade/UserFacade/UserFacade/#office.effective.serviceapi.IUserService#office.effective.features.user.converters.UserDTOModelConverter#office.effective.features.user.ITokenVerifier#office.effective.common.utils.DatabaseTransactionManager/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/-user-facade.md +$dokka.location:office.effective.features.user.facade/UserFacade/UserFacade/#office.effective.serviceapi.IUserService#office.effective.features.user.converters.UserDTOModelConverter#office.effective.common.utils.DatabaseTransactionManager/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/-user-facade.md $dokka.location:office.effective.features.user.facade/UserFacade/getUserByEmail/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/get-user-by-email.md $dokka.location:office.effective.features.user.facade/UserFacade/getUserById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/get-user-by-id.md $dokka.location:office.effective.features.user.facade/UserFacade/getUsers/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/get-users.md @@ -320,6 +325,7 @@ $dokka.location:office.effective.features.user.repository/UserRepository///Point $dokka.location:office.effective.features.user.repository/UserRepository/UserRepository/#org.ktorm.database.Database#office.effective.features.user.converters.UserModelEntityConverter#office.effective.features.user.converters.IntegrationModelEntityConverter/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/-user-repository.md $dokka.location:office.effective.features.user.repository/UserRepository/existsById/#java.util.UUID/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/exists-by-id.md $dokka.location:office.effective.features.user.repository/UserRepository/findAll/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-all.md +$dokka.location:office.effective.features.user.repository/UserRepository/findAllByEmail/#kotlin.collections.List[kotlin.String]/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-all-by-email.md $dokka.location:office.effective.features.user.repository/UserRepository/findAllIntegrationsByUserIds/#kotlin.collections.Collection[java.util.UUID]/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-all-integrations-by-user-ids.md $dokka.location:office.effective.features.user.repository/UserRepository/findByEmail/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-by-email.md $dokka.location:office.effective.features.user.repository/UserRepository/findById/#java.util.UUID/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-by-id.md @@ -357,15 +363,6 @@ $dokka.location:office.effective.features.user.service/UserService/getUserByEmai $dokka.location:office.effective.features.user.service/UserService/getUserById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.service/-user-service/get-user-by-id.md $dokka.location:office.effective.features.user.service/UserService/getUsersByTag/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.service/-user-service/get-users-by-tag.md $dokka.location:office.effective.features.user.service/UserService/updateUser/#office.effective.model.UserModel/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.service/-user-service/update-user.md -$dokka.location:office.effective.features.user////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user/index.md -$dokka.location:office.effective.features.user/ApiKeyVerifier///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user/-api-key-verifier/index.md -$dokka.location:office.effective.features.user/ApiKeyVerifier/ApiKeyVerifier/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user/-api-key-verifier/-api-key-verifier.md -$dokka.location:office.effective.features.user/ApiKeyVerifier/isCorrectToken/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user/-api-key-verifier/is-correct-token.md -$dokka.location:office.effective.features.user/ITokenVerifier///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user/-i-token-verifier/index.md -$dokka.location:office.effective.features.user/ITokenVerifier/isCorrectToken/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user/-i-token-verifier/is-correct-token.md -$dokka.location:office.effective.features.user/TokenVerifier///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user/-token-verifier/index.md -$dokka.location:office.effective.features.user/TokenVerifier/TokenVerifier/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user/-token-verifier/-token-verifier.md -$dokka.location:office.effective.features.user/TokenVerifier/isCorrectToken/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user/-token-verifier/is-correct-token.md $dokka.location:office.effective.features.workspace.DI////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.DI/index.md $dokka.location:office.effective.features.workspace.DI//workspaceDiModule/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.DI/workspace-di-module.md $dokka.location:office.effective.features.workspace.converters////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.converters/index.md @@ -469,12 +466,41 @@ $dokka.location:office.effective.model/Booking/owner/#/PointingToDeclaration/co $dokka.location:office.effective.model/Booking/participants/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-booking/participants.md $dokka.location:office.effective.model/Booking/recurrence/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-booking/recurrence.md $dokka.location:office.effective.model/Booking/workspace/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-booking/workspace.md +$dokka.location:office.effective.model/Ending.Count///PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-ending/-count/index.md +$dokka.location:office.effective.model/Ending.Count/Count/#kotlin.Int/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-ending/-count/-count.md +$dokka.location:office.effective.model/Ending.Count/value/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-ending/-count/value.md +$dokka.location:office.effective.model/Ending.Empty///PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-ending/-empty/index.md +$dokka.location:office.effective.model/Ending.Until///PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-ending/-until/index.md +$dokka.location:office.effective.model/Ending.Until/Until/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-ending/-until/-until.md +$dokka.location:office.effective.model/Ending.Until/value/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-ending/-until/value.md +$dokka.location:office.effective.model/Ending///PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-ending/index.md +$dokka.location:office.effective.model/Freq.DAILY///PointingToDeclaration/{"org.jetbrains.dokka.links.EnumEntryDRIExtra":{"key":"org.jetbrains.dokka.links.EnumEntryDRIExtra"}}com.backend.effectiveoffice/office.effective.model/-freq/-d-a-i-l-y/index.md +$dokka.location:office.effective.model/Freq.MONTHLY///PointingToDeclaration/{"org.jetbrains.dokka.links.EnumEntryDRIExtra":{"key":"org.jetbrains.dokka.links.EnumEntryDRIExtra"}}com.backend.effectiveoffice/office.effective.model/-freq/-m-o-n-t-h-l-y/index.md +$dokka.location:office.effective.model/Freq.WEEKLY///PointingToDeclaration/{"org.jetbrains.dokka.links.EnumEntryDRIExtra":{"key":"org.jetbrains.dokka.links.EnumEntryDRIExtra"}}com.backend.effectiveoffice/office.effective.model/-freq/-w-e-e-k-l-y/index.md +$dokka.location:office.effective.model/Freq.YEARLY///PointingToDeclaration/{"org.jetbrains.dokka.links.EnumEntryDRIExtra":{"key":"org.jetbrains.dokka.links.EnumEntryDRIExtra"}}com.backend.effectiveoffice/office.effective.model/-freq/-y-e-a-r-l-y/index.md +$dokka.location:office.effective.model/Freq///PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-freq/index.md +$dokka.location:office.effective.model/Freq/valueOf/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-freq/value-of.md +$dokka.location:office.effective.model/Freq/values/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-freq/values.md $dokka.location:office.effective.model/IntegrationModel///PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-integration-model/index.md $dokka.location:office.effective.model/IntegrationModel/IntegrationModel/#java.util.UUID?#kotlin.String#kotlin.String#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-integration-model/-integration-model.md $dokka.location:office.effective.model/IntegrationModel/iconUrl/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-integration-model/icon-url.md $dokka.location:office.effective.model/IntegrationModel/id/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-integration-model/id.md $dokka.location:office.effective.model/IntegrationModel/name/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-integration-model/name.md $dokka.location:office.effective.model/IntegrationModel/valueStr/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-integration-model/value-str.md +$dokka.location:office.effective.model/Recurrence.Companion///PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-recurrence/-companion/index.md +$dokka.location:office.effective.model/Recurrence.Companion/toRecurrence/model.RecurrenceDTO#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-recurrence/-companion/to-recurrence.md +$dokka.location:office.effective.model/Recurrence///PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-recurrence/index.md +$dokka.location:office.effective.model/Recurrence/Recurrence/#kotlin.Int#office.effective.model.Freq#office.effective.model.Ending#kotlin.collections.List[kotlin.Int]#kotlin.collections.List[kotlin.Int]#kotlin.collections.List[kotlin.Int]#kotlin.collections.List[kotlin.Int]/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-recurrence/-recurrence.md +$dokka.location:office.effective.model/Recurrence/byDay/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-recurrence/by-day.md +$dokka.location:office.effective.model/Recurrence/byHour/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-recurrence/by-hour.md +$dokka.location:office.effective.model/Recurrence/byMonth/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-recurrence/by-month.md +$dokka.location:office.effective.model/Recurrence/byYearDay/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-recurrence/by-year-day.md +$dokka.location:office.effective.model/Recurrence/ending/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-recurrence/ending.md +$dokka.location:office.effective.model/Recurrence/freq/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-recurrence/freq.md +$dokka.location:office.effective.model/Recurrence/interval/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-recurrence/interval.md +$dokka.location:office.effective.model/Recurrence/toDto/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-recurrence/to-dto.md +$dokka.location:office.effective.model/RecurrenceModel.Companion///PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-recurrence-model/-companion/index.md +$dokka.location:office.effective.model/RecurrenceModel.Companion/toRecurrence/office.effective.model.RecurrenceModel#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-recurrence-model/-companion/to-recurrence.md $dokka.location:office.effective.model/RecurrenceModel///PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-recurrence-model/index.md $dokka.location:office.effective.model/RecurrenceModel/RecurrenceModel/#kotlin.Int?#kotlin.String#kotlin.Int?#kotlin.Long?#kotlin.collections.List[kotlin.Int]#kotlin.collections.List[kotlin.Int]#kotlin.collections.List[kotlin.Int]#kotlin.collections.List[kotlin.Int]/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-recurrence-model/-recurrence-model.md $dokka.location:office.effective.model/RecurrenceModel/byDay/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-recurrence-model/by-day.md @@ -517,7 +543,7 @@ $dokka.location:office.effective.model/WorkspaceZone/WorkspaceZone/#java.util.UU $dokka.location:office.effective.model/WorkspaceZone/id/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-workspace-zone/id.md $dokka.location:office.effective.model/WorkspaceZone/name/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-workspace-zone/name.md $dokka.location:office.effective.plugins////PointingToDeclaration/com.backend.effectiveoffice/office.effective.plugins/index.md -$dokka.location:office.effective.plugins//VerificationPlugin/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.plugins/-verification-plugin.md +$dokka.location:office.effective.plugins//CustomAuthorizationPlugin/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.plugins/-custom-authorization-plugin.md $dokka.location:office.effective.plugins//applicationHttpClient/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.plugins/application-http-client.md $dokka.location:office.effective.plugins//configureAuthentication/io.ktor.server.application.Application#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.plugins/configure-authentication.md $dokka.location:office.effective.plugins//configureDI/io.ktor.server.application.Application#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.plugins/configure-d-i.md @@ -560,7 +586,11 @@ office.effective.common.exception office.effective.common.notifications office.effective.common.swagger office.effective.common.utils +office.effective.common.utils.impl office.effective.dto +office.effective.features.auth.di +office.effective.features.auth.repository +office.effective.features.auth.service office.effective.features.booking.converters office.effective.features.booking.di office.effective.features.booking.facade @@ -569,9 +599,6 @@ office.effective.features.booking.routes office.effective.features.booking.service office.effective.features.calendar.repository office.effective.features.notifications.routes -office.effective.features.auth.di -office.effective.features.auth.repository -office.effective.features.user office.effective.features.user.converters office.effective.features.user.di office.effective.features.user.facade diff --git a/effectiveOfficeBackend/documentation/gfm/index.md b/effectiveOfficeBackend/documentation/gfm/index.md index a8eb60d58..dc08d30c1 100644 --- a/effectiveOfficeBackend/documentation/gfm/index.md +++ b/effectiveOfficeBackend/documentation/gfm/index.md @@ -4,39 +4,40 @@ ## Packages -| Name | -|------------------------------------------------------------------------------------------------------------------------| -| [model](com.backend.effectiveoffice/model/index.md) | -| [common.constants](com.backend.effectiveoffice/office.effective.common.constants/index.md) | -| [common.di](com.backend.effectiveoffice/office.effective.common.di/index.md) | -| [common.exception](com.backend.effectiveoffice/office.effective.common.exception/index.md) | -| [common.notifications](com.backend.effectiveoffice/office.effective.common.notifications/index.md) | -| [common.swagger](com.backend.effectiveoffice/office.effective.common.swagger/index.md) | -| [common.utils](com.backend.effectiveoffice/office.effective.common.utils/index.md) | -| [dto](com.backend.effectiveoffice/office.effective.dto/index.md) | -| [features.booking.converters](com.backend.effectiveoffice/office.effective.features.booking.converters/index.md) | -| [features.booking.di](com.backend.effectiveoffice/office.effective.features.booking.di/index.md) | -| [features.booking.facade](com.backend.effectiveoffice/office.effective.features.booking.facade/index.md) | -| [features.booking.repository](com.backend.effectiveoffice/office.effective.features.booking.repository/index.md) | -| [features.booking.routes](com.backend.effectiveoffice/office.effective.features.booking.routes/index.md) | -| [features.booking.service](com.backend.effectiveoffice/office.effective.features.booking.service/index.md) | -| [features.calendar.repository](com.backend.effectiveoffice/office.effective.features.calendar.repository/index.md) | -| [features.notifications.routes](com.backend.effectiveoffice/office.effective.features.notifications.routes/index.md) | -| [features.simpleAuth.di](com.backend.effectiveoffice/office.effective.features.simpleAuth.di/index.md) | -| [features.simpleAuth.repository](com.backend.effectiveoffice/office.effective.features.simpleAuth.repository/index.md) | -| [features.user](com.backend.effectiveoffice/office.effective.features.user/index.md) | -| [features.user.converters](com.backend.effectiveoffice/office.effective.features.user.converters/index.md) | -| [features.user.di](com.backend.effectiveoffice/office.effective.features.user.di/index.md) | -| [features.user.facade](com.backend.effectiveoffice/office.effective.features.user.facade/index.md) | -| [features.user.repository](com.backend.effectiveoffice/office.effective.features.user.repository/index.md) | -| [features.user.routes](com.backend.effectiveoffice/office.effective.features.user.routes/index.md) | -| [features.user.service](com.backend.effectiveoffice/office.effective.features.user.service/index.md) | -| [features.workspace.converters](com.backend.effectiveoffice/office.effective.features.workspace.converters/index.md) | -| [features.workspace.DI](com.backend.effectiveoffice/office.effective.features.workspace.DI/index.md) | -| [features.workspace.facade](com.backend.effectiveoffice/office.effective.features.workspace.facade/index.md) | -| [features.workspace.repository](com.backend.effectiveoffice/office.effective.features.workspace.repository/index.md) | -| [features.workspace.routes](com.backend.effectiveoffice/office.effective.features.workspace.routes/index.md) | -| [features.workspace.service](com.backend.effectiveoffice/office.effective.features.workspace.service/index.md) | -| [model](com.backend.effectiveoffice/office.effective.model/index.md) | -| [plugins](com.backend.effectiveoffice/office.effective.plugins/index.md) | -| [serviceapi](com.backend.effectiveoffice/office.effective.serviceapi/index.md) | +| Name | +|---| +| [model](com.backend.effectiveoffice/model/index.md) | +| [common.constants](com.backend.effectiveoffice/office.effective.common.constants/index.md) | +| [common.di](com.backend.effectiveoffice/office.effective.common.di/index.md) | +| [common.exception](com.backend.effectiveoffice/office.effective.common.exception/index.md) | +| [common.notifications](com.backend.effectiveoffice/office.effective.common.notifications/index.md) | +| [common.swagger](com.backend.effectiveoffice/office.effective.common.swagger/index.md) | +| [common.utils](com.backend.effectiveoffice/office.effective.common.utils/index.md) | +| [common.utils.impl](com.backend.effectiveoffice/office.effective.common.utils.impl/index.md) | +| [dto](com.backend.effectiveoffice/office.effective.dto/index.md) | +| [features.auth.di](com.backend.effectiveoffice/office.effective.features.auth.di/index.md) | +| [features.auth.repository](com.backend.effectiveoffice/office.effective.features.auth.repository/index.md) | +| [features.auth.service](com.backend.effectiveoffice/office.effective.features.auth.service/index.md) | +| [features.booking.converters](com.backend.effectiveoffice/office.effective.features.booking.converters/index.md) | +| [features.booking.di](com.backend.effectiveoffice/office.effective.features.booking.di/index.md) | +| [features.booking.facade](com.backend.effectiveoffice/office.effective.features.booking.facade/index.md) | +| [features.booking.repository](com.backend.effectiveoffice/office.effective.features.booking.repository/index.md) | +| [features.booking.routes](com.backend.effectiveoffice/office.effective.features.booking.routes/index.md) | +| [features.booking.service](com.backend.effectiveoffice/office.effective.features.booking.service/index.md) | +| [features.calendar.repository](com.backend.effectiveoffice/office.effective.features.calendar.repository/index.md) | +| [features.notifications.routes](com.backend.effectiveoffice/office.effective.features.notifications.routes/index.md) | +| [features.user.converters](com.backend.effectiveoffice/office.effective.features.user.converters/index.md) | +| [features.user.di](com.backend.effectiveoffice/office.effective.features.user.di/index.md) | +| [features.user.facade](com.backend.effectiveoffice/office.effective.features.user.facade/index.md) | +| [features.user.repository](com.backend.effectiveoffice/office.effective.features.user.repository/index.md) | +| [features.user.routes](com.backend.effectiveoffice/office.effective.features.user.routes/index.md) | +| [features.user.service](com.backend.effectiveoffice/office.effective.features.user.service/index.md) | +| [features.workspace.converters](com.backend.effectiveoffice/office.effective.features.workspace.converters/index.md) | +| [features.workspace.DI](com.backend.effectiveoffice/office.effective.features.workspace.DI/index.md) | +| [features.workspace.facade](com.backend.effectiveoffice/office.effective.features.workspace.facade/index.md) | +| [features.workspace.repository](com.backend.effectiveoffice/office.effective.features.workspace.repository/index.md) | +| [features.workspace.routes](com.backend.effectiveoffice/office.effective.features.workspace.routes/index.md) | +| [features.workspace.service](com.backend.effectiveoffice/office.effective.features.workspace.service/index.md) | +| [model](com.backend.effectiveoffice/office.effective.model/index.md) | +| [plugins](com.backend.effectiveoffice/office.effective.plugins/index.md) | +| [serviceapi](com.backend.effectiveoffice/office.effective.serviceapi/index.md) | diff --git a/effectiveOfficeBackend/readme.md b/effectiveOfficeBackend/readme.md index c6f4626b7..31ef1821b 100644 --- a/effectiveOfficeBackend/readme.md +++ b/effectiveOfficeBackend/readme.md @@ -4,7 +4,7 @@ # Effective-Office-EffectiveBackend -[See documentation](documentation/gfm/index.md) :point_left: +[See GFM documentation](documentation/gfm/index.md) :point_left: # Goal :dart: @@ -36,7 +36,9 @@ Provides the ability to authenticate via work email, add information about emplo # Swagger :sparkles: -[Link](https://d5do2upft1rficrbubot.apigw.yandexcloud.net/swagger/index.html) +[Production server](https://d5do2upft1rficrbubot.apigw.yandexcloud.net/swagger/index.html) + +[Test server](https://d5dfk1qp766h8rfsjrdl.apigw.yandexcloud.net/swagger) ## Used libraries 📚 From 9340dc2846832711ec7f46f315d5d941834e9e1e Mon Sep 17 00:00:00 2001 From: Daniil Zavyalov Date: Sat, 27 Apr 2024 17:24:22 +0600 Subject: [PATCH 3/4] [~] fix readme --- effectiveOfficeBackend/readme.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/effectiveOfficeBackend/readme.md b/effectiveOfficeBackend/readme.md index 31ef1821b..8bd6aad04 100644 --- a/effectiveOfficeBackend/readme.md +++ b/effectiveOfficeBackend/readme.md @@ -118,8 +118,10 @@ You may use file .env.example as an example. **JSON_GOOGLE_CREDENTIALS** - json with Google credentials, needed to access Google calendar api
**FIREBASE_SA_JSON** - credentials json file of Firebase service account
**LOG_LEVEL** - logging level in application. Used in logback.xml. Default value: debug
-**DEFAULT_CALENDAR** - default Google calendar id, used for booking meeting rooms. If not defined value from the config file will be used instead. -**WORKSPACE_CALENDAR** - Google calendar id for booking working places (regular workspaces). If not defined value from the config file will be used instead. +**DEFAULT_CALENDAR** - default Google calendar id, used for booking meeting rooms. +If not defined value from the config file will be used instead. +Please note that meeting room bookings created via Google Calendar will not be displayed in DEFAULT_CALENDAR.
+**WORKSPACE_CALENDAR** - Google calendar id for booking working places (regular workspaces). If not defined value from the config file will be used instead.
### Docker-only environment variables From 01bc0398e31f333aaa83ba22b9609cc56ce2e631 Mon Sep 17 00:00:00 2001 From: Daniil Zavyalov Date: Sun, 28 Apr 2024 19:51:30 +0600 Subject: [PATCH 4/4] [~] update dokka gfm --- ...i-m-e-z-o-n-e_-o-f-f-s-e-t_-m-i-l-l-i-s.md | 6 + ...r_-w-o-r-k-s-p-a-c-e-s_-c-a-l-e-n-d-a-r.md | 6 + .../-w-o-r-k-s-p-a-c-e_-c-a-l-e-n-d-a-r.md | 6 - .../-booking-constants/index.md | 3 +- .../-booking-d-t-o/index.md | 17 ++- .../-booking-request-d-t-o.md | 6 + .../-booking-request-d-t-o/begin-booking.md | 6 + .../-booking-request-d-t-o/end-booking.md | 6 + .../-booking-request-d-t-o/index.md | 25 ++++ .../-booking-request-d-t-o/owner-email.md | 6 + .../participant-emails.md | 6 + .../-booking-request-d-t-o/recurrence.md | 6 + .../-booking-request-d-t-o/workspace-id.md | 6 + .../-booking-response-d-t-o.md | 6 + .../-booking-response-d-t-o/begin-booking.md | 6 + .../-booking-response-d-t-o/end-booking.md | 6 + .../-booking-response-d-t-o/id.md | 6 + .../-booking-response-d-t-o/index.md | 27 +++++ .../-booking-response-d-t-o/owner.md | 6 + .../-booking-response-d-t-o/participants.md | 6 + .../-booking-response-d-t-o/recurrence.md | 6 + .../recurring-booking-id.md | 6 + .../-booking-response-d-t-o/workspace.md | 6 + .../-workspace-d-t-o/-workspace-d-t-o.md | 2 +- .../-workspace-d-t-o/bookings.md | 6 + .../-workspace-d-t-o/index.md | 5 +- .../office.effective.dto/index.md | 6 +- .../-booking-dto-model-converter.md | 6 + .../dto-to-model.md | 17 ++- .../-booking-dto-model-converter/index.md | 25 ++++ .../model-to-dto.md | 17 ++- .../model-to-response-dto.md | 30 +++++ .../request-dto-to-model.md | 31 +++++ .../-booking-facade-converter.md | 6 - .../-booking-facade-converter/index.md | 23 ---- .../-google-calendar-converter.md | 2 +- .../-google-calendar-converter/index.md | 8 +- .../to-booking-model-for-meeting-workspace.md | 24 ---- .../to-google-workspace-meeting-event.md | 2 +- .../to-meeting-workspace-booking.md | 27 +++++ .../to-regular-workspace-booking.md | 25 ++++ .../to-workspace-booking.md | 32 ----- .../index.md | 10 +- .../to-google-date-time.md | 10 ++ .../-booking-facade-v1/-booking-facade-v1.md | 6 + .../-booking-facade-v1/delete-by-id.md | 20 ++++ .../-booking-facade-v1/find-all.md | 28 +++++ .../-booking-facade-v1/find-by-id.md | 30 +++++ .../-booking-facade-v1/index.md | 26 +++++ .../-booking-facade-v1/post.md | 24 ++++ .../-booking-facade-v1/put.md | 25 ++++ .../-booking-facade/-booking-facade.md | 2 +- .../-booking-facade/index.md | 19 ++- .../index.md | 3 +- .../find-all-by-owner-and-workspace-id.md | 3 +- .../find-all-by-owner-id.md | 3 +- .../find-all-by-workspace-id.md | 3 +- .../-booking-meeting-repository/find-all.md | 3 +- .../-booking-meeting-repository/index.md | 8 +- .../-booking-regular-repository.md | 2 +- .../find-all-by-owner-and-workspace-id.md | 3 +- .../find-all-by-owner-id.md | 3 +- .../find-all-by-workspace-id.md | 3 +- .../-booking-regular-repository/find-all.md | 3 +- .../-booking-regular-repository/index.md | 12 +- .../-booking-regular-repository/save.md | 4 - .../-booking-regular-repository/update.md | 7 +- .../find-all-by-owner-and-workspace-id.md | 3 +- .../find-all-by-owner-id.md | 3 +- .../find-all-by-workspace-id.md | 3 +- .../-i-booking-repository/find-all.md | 3 +- .../-i-booking-repository/index.md | 8 +- .../index.md | 2 +- .../booking-routing-v1.md | 6 + .../index.md | 1 + .../-booking-service/find-all.md | 3 +- .../-booking-service/index.md | 2 +- .../-booking-service/update.md | 6 - .../-user-facade-v1.md} | 4 +- .../get-user-by-email.md | 2 +- .../get-user-by-id.md | 2 +- .../get-users-by-tag.md | 2 +- .../get-users.md | 2 +- .../index.md | 8 +- .../update-user.md | 2 +- .../index.md | 2 +- .../-user-repository/find-all-by-email.md | 22 ---- .../-user-repository/find-all-by-emails.md | 16 +++ .../-user-repository/index.md | 2 +- .../index.md | 1 + .../user-routing-v1.md | 6 + .../-workspace-facade-converter/index.md | 2 +- .../model-to-dto.md | 3 +- .../-workspace-facade-v1.md | 6 + .../-workspace-facade-v1/find-all-by-tag.md | 26 +++++ .../find-all-free-by-period.md | 32 +++++ .../-workspace-facade-v1/find-all-zones.md | 16 +++ .../-workspace-facade-v1/find-by-id.md | 30 +++++ .../-workspace-facade-v1/index.md | 25 ++++ .../index.md | 1 + .../index.md | 1 + .../workspace-routing-v1.md | 6 + .../-workspace-service/-workspace-service.md | 2 +- .../-workspace-service/index.md | 4 +- .../index.md | 2 +- .../-booking/-booking.md | 2 +- .../office.effective.model/-booking/index.md | 7 +- .../office.effective.model/-booking/owner.md | 2 +- .../-booking/recurring-booking-id.md | 6 + .../office.effective.model/index.md | 2 +- .../-i-booking-service/find-all.md | 3 +- .../-i-booking-service/index.md | 2 +- .../com.backend.effectiveoffice/package-list | 110 ++++++++++++------ 113 files changed, 898 insertions(+), 243 deletions(-) create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-o-f-f-s-e-t_-m-i-l-l-i-s.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-r-e-g-u-l-a-r_-w-o-r-k-s-p-a-c-e-s_-c-a-l-e-n-d-a-r.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-w-o-r-k-s-p-a-c-e_-c-a-l-e-n-d-a-r.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/-booking-request-d-t-o.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/begin-booking.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/end-booking.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/index.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/owner-email.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/participant-emails.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/recurrence.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/workspace-id.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/-booking-response-d-t-o.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/begin-booking.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/end-booking.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/id.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/index.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/owner.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/participants.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/recurrence.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/recurring-booking-id.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/workspace.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-workspace-d-t-o/bookings.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/-booking-dto-model-converter.md rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/{-booking-facade-converter => -booking-dto-model-converter}/dto-to-model.md (54%) create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/index.md rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/{-booking-facade-converter => -booking-dto-model-converter}/model-to-dto.md (54%) create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/model-to-response-dto.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/request-dto-to-model.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-facade-converter/-booking-facade-converter.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-facade-converter/index.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-booking-model-for-meeting-workspace.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-meeting-workspace-booking.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-regular-workspace-booking.md delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-workspace-booking.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/to-google-date-time.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/-booking-facade-v1.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/delete-by-id.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/find-all.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/find-by-id.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/index.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/post.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/put.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.routes/booking-routing-v1.md rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/{-user-facade/-user-facade.md => -user-facade-v1/-user-facade-v1.md} (78%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/{-user-facade => -user-facade-v1}/get-user-by-email.md (87%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/{-user-facade => -user-facade-v1}/get-user-by-id.md (88%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/{-user-facade => -user-facade-v1}/get-users-by-tag.md (86%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/{-user-facade => -user-facade-v1}/get-users.md (88%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/{-user-facade => -user-facade-v1}/index.md (67%) rename effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/{-user-facade => -user-facade-v1}/update-user.md (86%) delete mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-all-by-email.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-all-by-emails.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.routes/user-routing-v1.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/-workspace-facade-v1.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/find-all-by-tag.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/find-all-free-by-period.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/find-all-zones.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/find-by-id.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/index.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.routes/workspace-routing-v1.md create mode 100644 effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-booking/recurring-booking-id.md diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-o-f-f-s-e-t_-m-i-l-l-i-s.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-o-f-f-s-e-t_-m-i-l-l-i-s.md new file mode 100644 index 000000000..7c6d343a1 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-o-f-f-s-e-t_-m-i-l-l-i-s.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.common.constants](../index.md)/[BookingConstants](index.md)/[DEFAULT_TIMEZONE_OFFSET_MILLIS](-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-o-f-f-s-e-t_-m-i-l-l-i-s.md) + +# DEFAULT_TIMEZONE_OFFSET_MILLIS + +[jvm]\ +val [DEFAULT_TIMEZONE_OFFSET_MILLIS](-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-o-f-f-s-e-t_-m-i-l-l-i-s.md): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-r-e-g-u-l-a-r_-w-o-r-k-s-p-a-c-e-s_-c-a-l-e-n-d-a-r.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-r-e-g-u-l-a-r_-w-o-r-k-s-p-a-c-e-s_-c-a-l-e-n-d-a-r.md new file mode 100644 index 000000000..332a81641 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-r-e-g-u-l-a-r_-w-o-r-k-s-p-a-c-e-s_-c-a-l-e-n-d-a-r.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.common.constants](../index.md)/[BookingConstants](index.md)/[REGULAR_WORKSPACES_CALENDAR](-r-e-g-u-l-a-r_-w-o-r-k-s-p-a-c-e-s_-c-a-l-e-n-d-a-r.md) + +# REGULAR_WORKSPACES_CALENDAR + +[jvm]\ +val [REGULAR_WORKSPACES_CALENDAR](-r-e-g-u-l-a-r_-w-o-r-k-s-p-a-c-e-s_-c-a-l-e-n-d-a-r.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-w-o-r-k-s-p-a-c-e_-c-a-l-e-n-d-a-r.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-w-o-r-k-s-p-a-c-e_-c-a-l-e-n-d-a-r.md deleted file mode 100644 index 1721ebfe4..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-w-o-r-k-s-p-a-c-e_-c-a-l-e-n-d-a-r.md +++ /dev/null @@ -1,6 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.common.constants](../index.md)/[BookingConstants](index.md)/[WORKSPACE_CALENDAR](-w-o-r-k-s-p-a-c-e_-c-a-l-e-n-d-a-r.md) - -# WORKSPACE_CALENDAR - -[jvm]\ -val [WORKSPACE_CALENDAR](-w-o-r-k-s-p-a-c-e_-c-a-l-e-n-d-a-r.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/index.md index 220215cc0..afc85efd0 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/index.md @@ -13,6 +13,7 @@ Constants for booking |---|---| | [DEFAULT_CALENDAR](-d-e-f-a-u-l-t_-c-a-l-e-n-d-a-r.md) | [jvm]
val [DEFAULT_CALENDAR](-d-e-f-a-u-l-t_-c-a-l-e-n-d-a-r.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | | [DEFAULT_TIMEZONE_ID](-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-i-d.md) | [jvm]
val [DEFAULT_TIMEZONE_ID](-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-i-d.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | +| [DEFAULT_TIMEZONE_OFFSET_MILLIS](-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-o-f-f-s-e-t_-m-i-l-l-i-s.md) | [jvm]
val [DEFAULT_TIMEZONE_OFFSET_MILLIS](-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-o-f-f-s-e-t_-m-i-l-l-i-s.md): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | | [MIN_SEARCH_START_TIME](-m-i-n_-s-e-a-r-c-h_-s-t-a-r-t_-t-i-m-e.md) | [jvm]
val [MIN_SEARCH_START_TIME](-m-i-n_-s-e-a-r-c-h_-s-t-a-r-t_-t-i-m-e.md): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)
Minimum booking start time. Bookings that started earlier should be filtered out in requests. | +| [REGULAR_WORKSPACES_CALENDAR](-r-e-g-u-l-a-r_-w-o-r-k-s-p-a-c-e-s_-c-a-l-e-n-d-a-r.md) | [jvm]
val [REGULAR_WORKSPACES_CALENDAR](-r-e-g-u-l-a-r_-w-o-r-k-s-p-a-c-e-s_-c-a-l-e-n-d-a-r.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | | [UNTIL_FORMAT](-u-n-t-i-l_-f-o-r-m-a-t.md) | [jvm]
const val [UNTIL_FORMAT](-u-n-t-i-l_-f-o-r-m-a-t.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | -| [WORKSPACE_CALENDAR](-w-o-r-k-s-p-a-c-e_-c-a-l-e-n-d-a-r.md) | [jvm]
val [WORKSPACE_CALENDAR](-w-o-r-k-s-p-a-c-e_-c-a-l-e-n-d-a-r.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-d-t-o/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-d-t-o/index.md index 81c044571..ba419c079 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-d-t-o/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-d-t-o/index.md @@ -5,7 +5,22 @@ [jvm]\ @Serializable -data class [BookingDTO](index.md)(val owner: [UserDTO](../-user-d-t-o/index.md), val participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserDTO](../-user-d-t-o/index.md)>, val workspace: [WorkspaceDTO](../-workspace-d-t-o/index.md), val id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, val beginBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), val endBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), val recurrence: [RecurrenceDTO](../../model/-recurrence-d-t-o/index.md)? = null) +data class [~~BookingDTO~~](index.md)(val owner: [UserDTO](../-user-d-t-o/index.md), val participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserDTO](../-user-d-t-o/index.md)>, val workspace: [WorkspaceDTO](../-workspace-d-t-o/index.md), val id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, val beginBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), val endBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), val recurrence: [RecurrenceDTO](../../model/-recurrence-d-t-o/index.md)? = null)--- + +### Deprecated + +Deprecated since 1.0 api version + +#### Replace with + +```kotlin +import office.effective.dto.BookingRequestDTO + +``` +```kotlin +BookingRequestDTO or BookingResponseDTO +``` +--- ## Constructors diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/-booking-request-d-t-o.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/-booking-request-d-t-o.md new file mode 100644 index 000000000..b66f256ec --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/-booking-request-d-t-o.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.dto](../index.md)/[BookingRequestDTO](index.md)/[BookingRequestDTO](-booking-request-d-t-o.md) + +# BookingRequestDTO + +[jvm]\ +constructor(ownerEmail: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, participantEmails: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>, workspaceId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), beginBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), endBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), recurrence: [RecurrenceDTO](../../model/-recurrence-d-t-o/index.md)? = null) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/begin-booking.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/begin-booking.md new file mode 100644 index 000000000..4abdecad1 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/begin-booking.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.dto](../index.md)/[BookingRequestDTO](index.md)/[beginBooking](begin-booking.md) + +# beginBooking + +[jvm]\ +val [beginBooking](begin-booking.md): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/end-booking.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/end-booking.md new file mode 100644 index 000000000..552c9f38d --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/end-booking.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.dto](../index.md)/[BookingRequestDTO](index.md)/[endBooking](end-booking.md) + +# endBooking + +[jvm]\ +val [endBooking](end-booking.md): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/index.md new file mode 100644 index 000000000..6e4420f23 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/index.md @@ -0,0 +1,25 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.dto](../index.md)/[BookingRequestDTO](index.md) + +# BookingRequestDTO + +[jvm]\ +@Serializable + +data class [BookingRequestDTO](index.md)(val ownerEmail: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, val participantEmails: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>, val workspaceId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val beginBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), val endBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), val recurrence: [RecurrenceDTO](../../model/-recurrence-d-t-o/index.md)? = null) + +## Constructors + +| | | +|---|---| +| [BookingRequestDTO](-booking-request-d-t-o.md) | [jvm]
constructor(ownerEmail: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, participantEmails: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>, workspaceId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), beginBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), endBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), recurrence: [RecurrenceDTO](../../model/-recurrence-d-t-o/index.md)? = null) | + +## Properties + +| Name | Summary | +|---|---| +| [beginBooking](begin-booking.md) | [jvm]
val [beginBooking](begin-booking.md): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | +| [endBooking](end-booking.md) | [jvm]
val [endBooking](end-booking.md): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | +| [ownerEmail](owner-email.md) | [jvm]
val [ownerEmail](owner-email.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? | +| [participantEmails](participant-emails.md) | [jvm]
val [participantEmails](participant-emails.md): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)> | +| [recurrence](recurrence.md) | [jvm]
val [recurrence](recurrence.md): [RecurrenceDTO](../../model/-recurrence-d-t-o/index.md)? = null | +| [workspaceId](workspace-id.md) | [jvm]
val [workspaceId](workspace-id.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/owner-email.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/owner-email.md new file mode 100644 index 000000000..0be7770ed --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/owner-email.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.dto](../index.md)/[BookingRequestDTO](index.md)/[ownerEmail](owner-email.md) + +# ownerEmail + +[jvm]\ +val [ownerEmail](owner-email.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/participant-emails.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/participant-emails.md new file mode 100644 index 000000000..b6cba1170 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/participant-emails.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.dto](../index.md)/[BookingRequestDTO](index.md)/[participantEmails](participant-emails.md) + +# participantEmails + +[jvm]\ +val [participantEmails](participant-emails.md): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)> diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/recurrence.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/recurrence.md new file mode 100644 index 000000000..223242e4d --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/recurrence.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.dto](../index.md)/[BookingRequestDTO](index.md)/[recurrence](recurrence.md) + +# recurrence + +[jvm]\ +val [recurrence](recurrence.md): [RecurrenceDTO](../../model/-recurrence-d-t-o/index.md)? = null diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/workspace-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/workspace-id.md new file mode 100644 index 000000000..d3a59672b --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/workspace-id.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.dto](../index.md)/[BookingRequestDTO](index.md)/[workspaceId](workspace-id.md) + +# workspaceId + +[jvm]\ +val [workspaceId](workspace-id.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/-booking-response-d-t-o.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/-booking-response-d-t-o.md new file mode 100644 index 000000000..a307ed34d --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/-booking-response-d-t-o.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.dto](../index.md)/[BookingResponseDTO](index.md)/[BookingResponseDTO](-booking-response-d-t-o.md) + +# BookingResponseDTO + +[jvm]\ +constructor(owner: [UserDTO](../-user-d-t-o/index.md)?, participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserDTO](../-user-d-t-o/index.md)>, workspace: [WorkspaceDTO](../-workspace-d-t-o/index.md), id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), beginBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), endBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), recurrence: [RecurrenceDTO](../../model/-recurrence-d-t-o/index.md)? = null, recurringBookingId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/begin-booking.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/begin-booking.md new file mode 100644 index 000000000..59cf408cd --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/begin-booking.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.dto](../index.md)/[BookingResponseDTO](index.md)/[beginBooking](begin-booking.md) + +# beginBooking + +[jvm]\ +val [beginBooking](begin-booking.md): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/end-booking.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/end-booking.md new file mode 100644 index 000000000..a1fd63fb2 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/end-booking.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.dto](../index.md)/[BookingResponseDTO](index.md)/[endBooking](end-booking.md) + +# endBooking + +[jvm]\ +val [endBooking](end-booking.md): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/id.md new file mode 100644 index 000000000..b2ecea383 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/id.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.dto](../index.md)/[BookingResponseDTO](index.md)/[id](id.md) + +# id + +[jvm]\ +val [id](id.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/index.md new file mode 100644 index 000000000..8567b6894 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/index.md @@ -0,0 +1,27 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.dto](../index.md)/[BookingResponseDTO](index.md) + +# BookingResponseDTO + +[jvm]\ +@Serializable + +data class [BookingResponseDTO](index.md)(val owner: [UserDTO](../-user-d-t-o/index.md)?, val participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserDTO](../-user-d-t-o/index.md)>, val workspace: [WorkspaceDTO](../-workspace-d-t-o/index.md), val id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val beginBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), val endBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), val recurrence: [RecurrenceDTO](../../model/-recurrence-d-t-o/index.md)? = null, val recurringBookingId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null) + +## Constructors + +| | | +|---|---| +| [BookingResponseDTO](-booking-response-d-t-o.md) | [jvm]
constructor(owner: [UserDTO](../-user-d-t-o/index.md)?, participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserDTO](../-user-d-t-o/index.md)>, workspace: [WorkspaceDTO](../-workspace-d-t-o/index.md), id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), beginBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), endBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), recurrence: [RecurrenceDTO](../../model/-recurrence-d-t-o/index.md)? = null, recurringBookingId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null) | + +## Properties + +| Name | Summary | +|---|---| +| [beginBooking](begin-booking.md) | [jvm]
val [beginBooking](begin-booking.md): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | +| [endBooking](end-booking.md) | [jvm]
val [endBooking](end-booking.md): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | +| [id](id.md) | [jvm]
val [id](id.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | +| [owner](owner.md) | [jvm]
val [owner](owner.md): [UserDTO](../-user-d-t-o/index.md)? | +| [participants](participants.md) | [jvm]
val [participants](participants.md): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserDTO](../-user-d-t-o/index.md)> | +| [recurrence](recurrence.md) | [jvm]
val [recurrence](recurrence.md): [RecurrenceDTO](../../model/-recurrence-d-t-o/index.md)? = null | +| [recurringBookingId](recurring-booking-id.md) | [jvm]
val [recurringBookingId](recurring-booking-id.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null | +| [workspace](workspace.md) | [jvm]
val [workspace](workspace.md): [WorkspaceDTO](../-workspace-d-t-o/index.md) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/owner.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/owner.md new file mode 100644 index 000000000..0e27c75b6 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/owner.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.dto](../index.md)/[BookingResponseDTO](index.md)/[owner](owner.md) + +# owner + +[jvm]\ +val [owner](owner.md): [UserDTO](../-user-d-t-o/index.md)? diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/participants.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/participants.md new file mode 100644 index 000000000..32d9ff411 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/participants.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.dto](../index.md)/[BookingResponseDTO](index.md)/[participants](participants.md) + +# participants + +[jvm]\ +val [participants](participants.md): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserDTO](../-user-d-t-o/index.md)> diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/recurrence.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/recurrence.md new file mode 100644 index 000000000..866a56ab5 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/recurrence.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.dto](../index.md)/[BookingResponseDTO](index.md)/[recurrence](recurrence.md) + +# recurrence + +[jvm]\ +val [recurrence](recurrence.md): [RecurrenceDTO](../../model/-recurrence-d-t-o/index.md)? = null diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/recurring-booking-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/recurring-booking-id.md new file mode 100644 index 000000000..cbb7218e9 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/recurring-booking-id.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.dto](../index.md)/[BookingResponseDTO](index.md)/[recurringBookingId](recurring-booking-id.md) + +# recurringBookingId + +[jvm]\ +val [recurringBookingId](recurring-booking-id.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/workspace.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/workspace.md new file mode 100644 index 000000000..f647e5c84 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/workspace.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.dto](../index.md)/[BookingResponseDTO](index.md)/[workspace](workspace.md) + +# workspace + +[jvm]\ +val [workspace](workspace.md): [WorkspaceDTO](../-workspace-d-t-o/index.md) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-workspace-d-t-o/-workspace-d-t-o.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-workspace-d-t-o/-workspace-d-t-o.md index 9df40f044..c28af718f 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-workspace-d-t-o/-workspace-d-t-o.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-workspace-d-t-o/-workspace-d-t-o.md @@ -3,4 +3,4 @@ # WorkspaceDTO [jvm]\ -constructor(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), utilities: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UtilityDTO](../-utility-d-t-o/index.md)>, zone: [WorkspaceZoneDTO](../-workspace-zone-d-t-o/index.md)? = null, tag: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) +constructor(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), utilities: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UtilityDTO](../-utility-d-t-o/index.md)>, zone: [WorkspaceZoneDTO](../-workspace-zone-d-t-o/index.md)? = null, tag: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), bookings: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[BookingResponseDTO](../-booking-response-d-t-o/index.md)>? = null) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-workspace-d-t-o/bookings.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-workspace-d-t-o/bookings.md new file mode 100644 index 000000000..3bd9ec344 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-workspace-d-t-o/bookings.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.dto](../index.md)/[WorkspaceDTO](index.md)/[bookings](bookings.md) + +# bookings + +[jvm]\ +val [bookings](bookings.md): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[BookingResponseDTO](../-booking-response-d-t-o/index.md)>? = null diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-workspace-d-t-o/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-workspace-d-t-o/index.md index 4188d50e7..314a5e7b5 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-workspace-d-t-o/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/-workspace-d-t-o/index.md @@ -5,18 +5,19 @@ [jvm]\ @Serializable -data class [WorkspaceDTO](index.md)(val id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val utilities: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UtilityDTO](../-utility-d-t-o/index.md)>, val zone: [WorkspaceZoneDTO](../-workspace-zone-d-t-o/index.md)? = null, val tag: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) +data class [WorkspaceDTO](index.md)(val id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val utilities: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UtilityDTO](../-utility-d-t-o/index.md)>, val zone: [WorkspaceZoneDTO](../-workspace-zone-d-t-o/index.md)? = null, val tag: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val bookings: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[BookingResponseDTO](../-booking-response-d-t-o/index.md)>? = null) ## Constructors | | | |---|---| -| [WorkspaceDTO](-workspace-d-t-o.md) | [jvm]
constructor(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), utilities: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UtilityDTO](../-utility-d-t-o/index.md)>, zone: [WorkspaceZoneDTO](../-workspace-zone-d-t-o/index.md)? = null, tag: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) | +| [WorkspaceDTO](-workspace-d-t-o.md) | [jvm]
constructor(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), utilities: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UtilityDTO](../-utility-d-t-o/index.md)>, zone: [WorkspaceZoneDTO](../-workspace-zone-d-t-o/index.md)? = null, tag: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), bookings: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[BookingResponseDTO](../-booking-response-d-t-o/index.md)>? = null) | ## Properties | Name | Summary | |---|---| +| [bookings](bookings.md) | [jvm]
val [bookings](bookings.md): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[BookingResponseDTO](../-booking-response-d-t-o/index.md)>? = null | | [id](id.md) | [jvm]
val [id](id.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | | [name](name.md) | [jvm]
val [name](name.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | | [tag](tag.md) | [jvm]
val [tag](tag.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/index.md index b85365bc9..84016244c 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.dto/index.md @@ -6,9 +6,11 @@ | Name | Summary | |---|---| -| [BookingDTO](-booking-d-t-o/index.md) | [jvm]
@Serializable
data class [BookingDTO](-booking-d-t-o/index.md)(val owner: [UserDTO](-user-d-t-o/index.md), val participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserDTO](-user-d-t-o/index.md)>, val workspace: [WorkspaceDTO](-workspace-d-t-o/index.md), val id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, val beginBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), val endBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), val recurrence: [RecurrenceDTO](../model/-recurrence-d-t-o/index.md)? = null) | +| [BookingDTO](-booking-d-t-o/index.md) | [jvm]
@Serializable
data class [~~BookingDTO~~](-booking-d-t-o/index.md)(val owner: [UserDTO](-user-d-t-o/index.md), val participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserDTO](-user-d-t-o/index.md)>, val workspace: [WorkspaceDTO](-workspace-d-t-o/index.md), val id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, val beginBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), val endBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), val recurrence: [RecurrenceDTO](../model/-recurrence-d-t-o/index.md)? = null) | +| [BookingRequestDTO](-booking-request-d-t-o/index.md) | [jvm]
@Serializable
data class [BookingRequestDTO](-booking-request-d-t-o/index.md)(val ownerEmail: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, val participantEmails: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>, val workspaceId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val beginBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), val endBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), val recurrence: [RecurrenceDTO](../model/-recurrence-d-t-o/index.md)? = null) | +| [BookingResponseDTO](-booking-response-d-t-o/index.md) | [jvm]
@Serializable
data class [BookingResponseDTO](-booking-response-d-t-o/index.md)(val owner: [UserDTO](-user-d-t-o/index.md)?, val participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserDTO](-user-d-t-o/index.md)>, val workspace: [WorkspaceDTO](-workspace-d-t-o/index.md), val id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val beginBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), val endBooking: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), val recurrence: [RecurrenceDTO](../model/-recurrence-d-t-o/index.md)? = null, val recurringBookingId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null) | | [IntegrationDTO](-integration-d-t-o/index.md) | [jvm]
@Serializable
data class [IntegrationDTO](-integration-d-t-o/index.md)(val id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val value: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) | | [UserDTO](-user-d-t-o/index.md) | [jvm]
@Serializable
data class [UserDTO](-user-d-t-o/index.md)(val id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val fullName: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val active: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html), val role: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val avatarUrl: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val integrations: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[IntegrationDTO](-integration-d-t-o/index.md)>?, val email: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val tag: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) | | [UtilityDTO](-utility-d-t-o/index.md) | [jvm]
@Serializable
data class [UtilityDTO](-utility-d-t-o/index.md)(val id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val iconUrl: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val count: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)) | -| [WorkspaceDTO](-workspace-d-t-o/index.md) | [jvm]
@Serializable
data class [WorkspaceDTO](-workspace-d-t-o/index.md)(val id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val utilities: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UtilityDTO](-utility-d-t-o/index.md)>, val zone: [WorkspaceZoneDTO](-workspace-zone-d-t-o/index.md)? = null, val tag: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) | +| [WorkspaceDTO](-workspace-d-t-o/index.md) | [jvm]
@Serializable
data class [WorkspaceDTO](-workspace-d-t-o/index.md)(val id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val utilities: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UtilityDTO](-utility-d-t-o/index.md)>, val zone: [WorkspaceZoneDTO](-workspace-zone-d-t-o/index.md)? = null, val tag: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val bookings: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[BookingResponseDTO](-booking-response-d-t-o/index.md)>? = null) | | [WorkspaceZoneDTO](-workspace-zone-d-t-o/index.md) | [jvm]
@Serializable
data class [WorkspaceZoneDTO](-workspace-zone-d-t-o/index.md)(val id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/-booking-dto-model-converter.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/-booking-dto-model-converter.md new file mode 100644 index 000000000..47a7afa09 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/-booking-dto-model-converter.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[BookingDtoModelConverter](index.md)/[BookingDtoModelConverter](-booking-dto-model-converter.md) + +# BookingDtoModelConverter + +[jvm]\ +constructor(userConverter: [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), workspaceConverter: [WorkspaceFacadeConverter](../../office.effective.features.workspace.converters/-workspace-facade-converter/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md), uuidValidator: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md)) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-facade-converter/dto-to-model.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/dto-to-model.md similarity index 54% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-facade-converter/dto-to-model.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/dto-to-model.md index 1b33f807f..bf9bf36ca 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-facade-converter/dto-to-model.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/dto-to-model.md @@ -1,9 +1,22 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[BookingFacadeConverter](index.md)/[dtoToModel](dto-to-model.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[BookingDtoModelConverter](index.md)/[dtoToModel](dto-to-model.md) # dtoToModel [jvm]\ -fun [dtoToModel](dto-to-model.md)(bookingDTO: [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md)): [Booking](../../office.effective.model/-booking/index.md) +fun [~~dtoToModel~~](dto-to-model.md)(bookingDTO: [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md)): [Booking](../../office.effective.model/-booking/index.md) + +--- + +### Deprecated + +Deprecated since 1.0 api version + +#### Replace with + +```kotlin +requestDtoToModel(booking) +``` +--- Converts [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) to [Booking](../../office.effective.model/-booking/index.md) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/index.md new file mode 100644 index 000000000..7a7e1ba27 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/index.md @@ -0,0 +1,25 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[BookingDtoModelConverter](index.md) + +# BookingDtoModelConverter + +[jvm]\ +class [BookingDtoModelConverter](index.md)(userConverter: [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), workspaceConverter: [WorkspaceFacadeConverter](../../office.effective.features.workspace.converters/-workspace-facade-converter/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md), uuidValidator: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md)) + +Converts between [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) and [Booking](../../office.effective.model/-booking/index.md) + +Uses [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md) and [WorkspaceFacadeConverter](../../office.effective.features.workspace.converters/-workspace-facade-converter/index.md) to convert contained users and workspaces + +## Constructors + +| | | +|---|---| +| [BookingDtoModelConverter](-booking-dto-model-converter.md) | [jvm]
constructor(userConverter: [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), workspaceConverter: [WorkspaceFacadeConverter](../../office.effective.features.workspace.converters/-workspace-facade-converter/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md), uuidValidator: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md)) | + +## Functions + +| Name | Summary | +|---|---| +| [dtoToModel](dto-to-model.md) | [jvm]
fun [~~dtoToModel~~](dto-to-model.md)(bookingDTO: [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md)): [Booking](../../office.effective.model/-booking/index.md)
Converts [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) to [Booking](../../office.effective.model/-booking/index.md) | +| [modelToDto](model-to-dto.md) | [jvm]
fun [~~modelToDto~~](model-to-dto.md)(booking: [Booking](../../office.effective.model/-booking/index.md)): [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md)
Converts [Booking](../../office.effective.model/-booking/index.md) to [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) | +| [modelToResponseDto](model-to-response-dto.md) | [jvm]
fun [modelToResponseDto](model-to-response-dto.md)(booking: [Booking](../../office.effective.model/-booking/index.md)): [BookingResponseDTO](../../office.effective.dto/-booking-response-d-t-o/index.md)
Converts [Booking](../../office.effective.model/-booking/index.md) to [BookingResponseDTO](../../office.effective.dto/-booking-response-d-t-o/index.md) | +| [requestDtoToModel](request-dto-to-model.md) | [jvm]
fun [requestDtoToModel](request-dto-to-model.md)(bookingDto: [BookingRequestDTO](../../office.effective.dto/-booking-request-d-t-o/index.md), id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null): [Booking](../../office.effective.model/-booking/index.md)
Converts [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) to [Booking](../../office.effective.model/-booking/index.md). Users and workspace will be retrieved from database | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-facade-converter/model-to-dto.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/model-to-dto.md similarity index 54% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-facade-converter/model-to-dto.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/model-to-dto.md index b0c5c75d3..4c110b222 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-facade-converter/model-to-dto.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/model-to-dto.md @@ -1,9 +1,22 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[BookingFacadeConverter](index.md)/[modelToDto](model-to-dto.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[BookingDtoModelConverter](index.md)/[modelToDto](model-to-dto.md) # modelToDto [jvm]\ -fun [modelToDto](model-to-dto.md)(booking: [Booking](../../office.effective.model/-booking/index.md)): [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) +fun [~~modelToDto~~](model-to-dto.md)(booking: [Booking](../../office.effective.model/-booking/index.md)): [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) + +--- + +### Deprecated + +Deprecated since 1.0 api version + +#### Replace with + +```kotlin +modelToResponseDto(booking) +``` +--- Converts [Booking](../../office.effective.model/-booking/index.md) to [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/model-to-response-dto.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/model-to-response-dto.md new file mode 100644 index 000000000..86d3e14ad --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/model-to-response-dto.md @@ -0,0 +1,30 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[BookingDtoModelConverter](index.md)/[modelToResponseDto](model-to-response-dto.md) + +# modelToResponseDto + +[jvm]\ +fun [modelToResponseDto](model-to-response-dto.md)(booking: [Booking](../../office.effective.model/-booking/index.md)): [BookingResponseDTO](../../office.effective.dto/-booking-response-d-t-o/index.md) + +Converts [Booking](../../office.effective.model/-booking/index.md) to [BookingResponseDTO](../../office.effective.dto/-booking-response-d-t-o/index.md) + +#### Return + +The resulting [BookingResponseDTO](../../office.effective.dto/-booking-response-d-t-o/index.md) object + +#### Author + +Daniil Zavyalov, Danil Kiselev + +#### Parameters + +jvm + +| | | +|---|---| +| booking | [Booking](../../office.effective.model/-booking/index.md) to be converted | + +#### Throws + +| | | +|---|---| +| [MissingIdException](../../office.effective.common.exception/-missing-id-exception/index.md) | if [booking](model-to-response-dto.md) doesn't contain an id | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/request-dto-to-model.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/request-dto-to-model.md new file mode 100644 index 000000000..61346d4ea --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/request-dto-to-model.md @@ -0,0 +1,31 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[BookingDtoModelConverter](index.md)/[requestDtoToModel](request-dto-to-model.md) + +# requestDtoToModel + +[jvm]\ +fun [requestDtoToModel](request-dto-to-model.md)(bookingDto: [BookingRequestDTO](../../office.effective.dto/-booking-request-d-t-o/index.md), id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null): [Booking](../../office.effective.model/-booking/index.md) + +Converts [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) to [Booking](../../office.effective.model/-booking/index.md). Users and workspace will be retrieved from database + +#### Return + +The resulting [Booking](../../office.effective.model/-booking/index.md) object + +#### Author + +Daniil Zavyalov, Danil Kiselev + +#### Parameters + +jvm + +| | | +|---|---| +| bookingDto | [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) to be converted | +| id | booking id | + +#### Throws + +| | | +|---|---| +| [InstanceNotFoundException](../../office.effective.common.exception/-instance-not-found-exception/index.md) | if user with the given email or workspace with the given id doesn't exist in database | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-facade-converter/-booking-facade-converter.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-facade-converter/-booking-facade-converter.md deleted file mode 100644 index 4b5ca148c..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-facade-converter/-booking-facade-converter.md +++ /dev/null @@ -1,6 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[BookingFacadeConverter](index.md)/[BookingFacadeConverter](-booking-facade-converter.md) - -# BookingFacadeConverter - -[jvm]\ -constructor(userConverter: [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), workspaceConverter: [WorkspaceFacadeConverter](../../office.effective.features.workspace.converters/-workspace-facade-converter/index.md)) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-facade-converter/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-facade-converter/index.md deleted file mode 100644 index 9ad88f0e3..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-facade-converter/index.md +++ /dev/null @@ -1,23 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[BookingFacadeConverter](index.md) - -# BookingFacadeConverter - -[jvm]\ -class [BookingFacadeConverter](index.md)(userConverter: [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), workspaceConverter: [WorkspaceFacadeConverter](../../office.effective.features.workspace.converters/-workspace-facade-converter/index.md)) - -Converts between [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) and [Booking](../../office.effective.model/-booking/index.md) - -Uses [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md) and [WorkspaceFacadeConverter](../../office.effective.features.workspace.converters/-workspace-facade-converter/index.md) to convert contained users and workspaces - -## Constructors - -| | | -|---|---| -| [BookingFacadeConverter](-booking-facade-converter.md) | [jvm]
constructor(userConverter: [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), workspaceConverter: [WorkspaceFacadeConverter](../../office.effective.features.workspace.converters/-workspace-facade-converter/index.md)) | - -## Functions - -| Name | Summary | -|---|---| -| [dtoToModel](dto-to-model.md) | [jvm]
fun [dtoToModel](dto-to-model.md)(bookingDTO: [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md)): [Booking](../../office.effective.model/-booking/index.md)
Converts [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) to [Booking](../../office.effective.model/-booking/index.md) | -| [modelToDto](model-to-dto.md) | [jvm]
fun [modelToDto](model-to-dto.md)(booking: [Booking](../../office.effective.model/-booking/index.md)): [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md)
Converts [Booking](../../office.effective.model/-booking/index.md) to [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/-google-calendar-converter.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/-google-calendar-converter.md index 2d10cf6cc..8cd841196 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/-google-calendar-converter.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/-google-calendar-converter.md @@ -3,4 +3,4 @@ # GoogleCalendarConverter [jvm]\ -constructor(calendarIdsRepository: [CalendarIdsRepository](../../office.effective.features.calendar.repository/-calendar-ids-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md), workspaceConverter: [WorkspaceFacadeConverter](../../office.effective.features.workspace.converters/-workspace-facade-converter/index.md), userConverter: [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), bookingConverter: [BookingFacadeConverter](../-booking-facade-converter/index.md), verifier: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md)) +constructor(calendarIdsRepository: [CalendarIdsRepository](../../office.effective.features.calendar.repository/-calendar-ids-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md), verifier: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md)) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/index.md index 224d87b00..f712798f5 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/index.md @@ -3,7 +3,7 @@ # GoogleCalendarConverter [jvm]\ -class [GoogleCalendarConverter](index.md)(calendarIdsRepository: [CalendarIdsRepository](../../office.effective.features.calendar.repository/-calendar-ids-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md), workspaceConverter: [WorkspaceFacadeConverter](../../office.effective.features.workspace.converters/-workspace-facade-converter/index.md), userConverter: [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), bookingConverter: [BookingFacadeConverter](../-booking-facade-converter/index.md), verifier: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md)) +class [GoogleCalendarConverter](index.md)(calendarIdsRepository: [CalendarIdsRepository](../../office.effective.features.calendar.repository/-calendar-ids-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md), verifier: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md)) Converts between Google Calendar Event and [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) objects. @@ -11,13 +11,13 @@ Converts between Google Calendar Event and [BookingDTO](../../office.effective.d | | | |---|---| -| [GoogleCalendarConverter](-google-calendar-converter.md) | [jvm]
constructor(calendarIdsRepository: [CalendarIdsRepository](../../office.effective.features.calendar.repository/-calendar-ids-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md), workspaceConverter: [WorkspaceFacadeConverter](../../office.effective.features.workspace.converters/-workspace-facade-converter/index.md), userConverter: [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), bookingConverter: [BookingFacadeConverter](../-booking-facade-converter/index.md), verifier: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md)) | +| [GoogleCalendarConverter](-google-calendar-converter.md) | [jvm]
constructor(calendarIdsRepository: [CalendarIdsRepository](../../office.effective.features.calendar.repository/-calendar-ids-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md), verifier: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md)) | ## Functions | Name | Summary | |---|---| -| [toBookingModelForMeetingWorkspace](to-booking-model-for-meeting-workspace.md) | [jvm]
fun [toBookingModelForMeetingWorkspace](to-booking-model-for-meeting-workspace.md)(event: Event): [Booking](../../office.effective.model/-booking/index.md)
Converts meeting Event to [Booking](../../office.effective.model/-booking/index.md) | | [toGoogleWorkspaceMeetingEvent](to-google-workspace-meeting-event.md) | [jvm]
fun [toGoogleWorkspaceMeetingEvent](to-google-workspace-meeting-event.md)(model: [Booking](../../office.effective.model/-booking/index.md)): Event
Converts meeting workspace [Booking](../../office.effective.model/-booking/index.md) to Event. Event.description is used to indicate the booking author, because Event.organizer is defaultAccount of application. Event.summary is used to indicate the booking workspace. | | [toGoogleWorkspaceRegularEvent](to-google-workspace-regular-event.md) | [jvm]
fun [toGoogleWorkspaceRegularEvent](to-google-workspace-regular-event.md)(model: [Booking](../../office.effective.model/-booking/index.md)): Event
Converts regular workspace [Booking](../../office.effective.model/-booking/index.md) to Event. Event.description is used to indicate the booking author, because Event.organizer is defaultAccount of application. Event.summary is used to indicate the booking workspace. | -| [toWorkspaceBooking](to-workspace-booking.md) | [jvm]
fun [toWorkspaceBooking](to-workspace-booking.md)(event: Event): [Booking](../../office.effective.model/-booking/index.md)
Converts regular Event to [Booking](../../office.effective.model/-booking/index.md) | +| [toMeetingWorkspaceBooking](to-meeting-workspace-booking.md) | [jvm]
fun [toMeetingWorkspaceBooking](to-meeting-workspace-booking.md)(event: Event, owner: [UserModel](../../office.effective.model/-user-model/index.md)? = null, workspace: [Workspace](../../office.effective.model/-workspace/index.md)? = null, participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserModel](../../office.effective.model/-user-model/index.md)>? = null): [Booking](../../office.effective.model/-booking/index.md)
Converts meeting Event to [Booking](../../office.effective.model/-booking/index.md) | +| [toRegularWorkspaceBooking](to-regular-workspace-booking.md) | [jvm]
fun [toRegularWorkspaceBooking](to-regular-workspace-booking.md)(event: Event, owner: [UserModel](../../office.effective.model/-user-model/index.md)? = null, workspace: [Workspace](../../office.effective.model/-workspace/index.md)? = null, participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserModel](../../office.effective.model/-user-model/index.md)>? = null): [Booking](../../office.effective.model/-booking/index.md)
Converts regular Event to [Booking](../../office.effective.model/-booking/index.md) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-booking-model-for-meeting-workspace.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-booking-model-for-meeting-workspace.md deleted file mode 100644 index 7779c1923..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-booking-model-for-meeting-workspace.md +++ /dev/null @@ -1,24 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[GoogleCalendarConverter](index.md)/[toBookingModelForMeetingWorkspace](to-booking-model-for-meeting-workspace.md) - -# toBookingModelForMeetingWorkspace - -[jvm]\ -fun [toBookingModelForMeetingWorkspace](to-booking-model-for-meeting-workspace.md)(event: Event): [Booking](../../office.effective.model/-booking/index.md) - -Converts meeting Event to [Booking](../../office.effective.model/-booking/index.md) - -#### Return - -The resulting [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) object - -#### Author - -Danil Kiselev, Max Mishenko - -#### Parameters - -jvm - -| | | -|---|---| -| event | Event to be converted | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-meeting-event.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-meeting-event.md index 65da2abd2..76fd294ec 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-meeting-event.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-meeting-event.md @@ -21,4 +21,4 @@ jvm | | | |---|---| -| model | [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) to be converted | +| model | [Booking](../../office.effective.model/-booking/index.md) to be converted | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-meeting-workspace-booking.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-meeting-workspace-booking.md new file mode 100644 index 000000000..3450c90f5 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-meeting-workspace-booking.md @@ -0,0 +1,27 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[GoogleCalendarConverter](index.md)/[toMeetingWorkspaceBooking](to-meeting-workspace-booking.md) + +# toMeetingWorkspaceBooking + +[jvm]\ +fun [toMeetingWorkspaceBooking](to-meeting-workspace-booking.md)(event: Event, owner: [UserModel](../../office.effective.model/-user-model/index.md)? = null, workspace: [Workspace](../../office.effective.model/-workspace/index.md)? = null, participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserModel](../../office.effective.model/-user-model/index.md)>? = null): [Booking](../../office.effective.model/-booking/index.md) + +Converts meeting Event to [Booking](../../office.effective.model/-booking/index.md) + +#### Return + +The resulting [BookingDTO](../../office.effective.dto/-booking-d-t-o/index.md) object + +#### Author + +Danil Kiselev, Max Mishenko + +#### Parameters + +jvm + +| | | +|---|---| +| event | Event to be converted | +| owner | specify this parameter to reduce the number of database queries if the owner has already been retrieved | +| participants | specify this parameter to reduce the number of database queries if participants have already been retrieved | +| workspace | specify this parameter to reduce the number of database queries if workspace have already been retrieved | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-regular-workspace-booking.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-regular-workspace-booking.md new file mode 100644 index 000000000..3601afdea --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-regular-workspace-booking.md @@ -0,0 +1,25 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[GoogleCalendarConverter](index.md)/[toRegularWorkspaceBooking](to-regular-workspace-booking.md) + +# toRegularWorkspaceBooking + +[jvm]\ +fun [toRegularWorkspaceBooking](to-regular-workspace-booking.md)(event: Event, owner: [UserModel](../../office.effective.model/-user-model/index.md)? = null, workspace: [Workspace](../../office.effective.model/-workspace/index.md)? = null, participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserModel](../../office.effective.model/-user-model/index.md)>? = null): [Booking](../../office.effective.model/-booking/index.md) + +Converts regular Event to [Booking](../../office.effective.model/-booking/index.md) + +Creates placeholders if workspace or owner doesn't exist in database + +#### Return + +The resulting [Booking](../../office.effective.model/-booking/index.md) object + +#### Parameters + +jvm + +| | | +|---|---| +| event | Event to be converted | +| owner | specify this parameter to reduce the number of database queries if the owner has already been retrieved | +| participants | specify this parameter to reduce the number of database queries if participants have already been retrieved | +| workspace | specify this parameter to reduce the number of database queries if workspace have already been retrieved | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-workspace-booking.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-workspace-booking.md deleted file mode 100644 index c2a1b452f..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-workspace-booking.md +++ /dev/null @@ -1,32 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.converters](../index.md)/[GoogleCalendarConverter](index.md)/[toWorkspaceBooking](to-workspace-booking.md) - -# toWorkspaceBooking - -[jvm]\ -fun [toWorkspaceBooking](to-workspace-booking.md)(event: Event): [Booking](../../office.effective.model/-booking/index.md) - -Converts regular Event to [Booking](../../office.effective.model/-booking/index.md) - -Creates placeholders if workspace or owner doesn't exist in database - -#### Return - -The resulting [Booking](../../office.effective.model/-booking/index.md) object - -#### Author - -Danil Kiselev, Max Mishenko, Daniil Zavyalov - -#### Parameters - -jvm - -| | | -|---|---| -| event | Event to be converted | - -#### Throws - -| | | -|---|---| -| [Exception](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-exception/index.html) | if it fails to get user id from description or workspace id from summary of Google Calendar event | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/index.md index 34197013d..7b0a7e083 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/index.md @@ -6,8 +6,14 @@ | Name | Summary | |---|---| -| [BookingFacadeConverter](-booking-facade-converter/index.md) | [jvm]
class [BookingFacadeConverter](-booking-facade-converter/index.md)(userConverter: [UserDTOModelConverter](../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), workspaceConverter: [WorkspaceFacadeConverter](../office.effective.features.workspace.converters/-workspace-facade-converter/index.md))
Converts between [BookingDTO](../office.effective.dto/-booking-d-t-o/index.md) and [Booking](../office.effective.model/-booking/index.md) | +| [BookingDtoModelConverter](-booking-dto-model-converter/index.md) | [jvm]
class [BookingDtoModelConverter](-booking-dto-model-converter/index.md)(userConverter: [UserDTOModelConverter](../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), workspaceConverter: [WorkspaceFacadeConverter](../office.effective.features.workspace.converters/-workspace-facade-converter/index.md), userRepository: [UserRepository](../office.effective.features.user.repository/-user-repository/index.md), workspaceRepository: [WorkspaceRepository](../office.effective.features.workspace.repository/-workspace-repository/index.md), uuidValidator: [UuidValidator](../office.effective.common.utils/-uuid-validator/index.md))
Converts between [BookingDTO](../office.effective.dto/-booking-d-t-o/index.md) and [Booking](../office.effective.model/-booking/index.md) | | [BookingRepositoryConverter](-booking-repository-converter/index.md) | [jvm]
class [~~BookingRepositoryConverter~~](-booking-repository-converter/index.md)(database: Database, workspaceConverter: [WorkspaceRepositoryConverter](../office.effective.features.workspace.converters/-workspace-repository-converter/index.md), userConverter: [UserModelEntityConverter](../office.effective.features.user.converters/-user-model-entity-converter/index.md), uuidValidator: [UuidValidator](../office.effective.common.utils/-uuid-validator/index.md))
Converts between [Booking](../office.effective.model/-booking/index.md) and [WorkspaceBookingEntity](../office.effective.features.booking.repository/-workspace-booking-entity/index.md) objects. Uses [UserModelEntityConverter](../office.effective.features.user.converters/-user-model-entity-converter/index.md) and [WorkspaceRepositoryConverter](../office.effective.features.workspace.converters/-workspace-repository-converter/index.md) to convert contained users and workspaces | -| [GoogleCalendarConverter](-google-calendar-converter/index.md) | [jvm]
class [GoogleCalendarConverter](-google-calendar-converter/index.md)(calendarIdsRepository: [CalendarIdsRepository](../office.effective.features.calendar.repository/-calendar-ids-repository/index.md), userRepository: [UserRepository](../office.effective.features.user.repository/-user-repository/index.md), workspaceConverter: [WorkspaceFacadeConverter](../office.effective.features.workspace.converters/-workspace-facade-converter/index.md), userConverter: [UserDTOModelConverter](../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), bookingConverter: [BookingFacadeConverter](-booking-facade-converter/index.md), verifier: [UuidValidator](../office.effective.common.utils/-uuid-validator/index.md), workspaceRepository: [WorkspaceRepository](../office.effective.features.workspace.repository/-workspace-repository/index.md))
Converts between Google Calendar Event and [BookingDTO](../office.effective.dto/-booking-d-t-o/index.md) objects. | +| [GoogleCalendarConverter](-google-calendar-converter/index.md) | [jvm]
class [GoogleCalendarConverter](-google-calendar-converter/index.md)(calendarIdsRepository: [CalendarIdsRepository](../office.effective.features.calendar.repository/-calendar-ids-repository/index.md), userRepository: [UserRepository](../office.effective.features.user.repository/-user-repository/index.md), verifier: [UuidValidator](../office.effective.common.utils/-uuid-validator/index.md), workspaceRepository: [WorkspaceRepository](../office.effective.features.workspace.repository/-workspace-repository/index.md))
Converts between Google Calendar Event and [BookingDTO](../office.effective.dto/-booking-d-t-o/index.md) objects. | | [RecurrenceConverter](-recurrence-converter/index.md) | [jvm]
object [RecurrenceConverter](-recurrence-converter/index.md)
Converts between [RecurrenceDTO](../model/-recurrence-d-t-o/index.md) and [RecurrenceModel](../office.effective.model/-recurrence-model/index.md) objects | | [RecurrenceRuleFactory](-recurrence-rule-factory/index.md) | [jvm]
object [RecurrenceRuleFactory](-recurrence-rule-factory/index.md)
Object for creating Google calendar recurrence rule | + +## Functions + +| Name | Summary | +|---|---| +| [toGoogleDateTime](to-google-date-time.md) | [jvm]
fun [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html).[toGoogleDateTime](to-google-date-time.md)(): DateTime
Converts local time to Google DateTime in GMT. | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/to-google-date-time.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/to-google-date-time.md new file mode 100644 index 000000000..29bcbc19f --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.converters/to-google-date-time.md @@ -0,0 +1,10 @@ +//[com.backend.effectiveoffice](../../index.md)/[office.effective.features.booking.converters](index.md)/[toGoogleDateTime](to-google-date-time.md) + +# toGoogleDateTime + +[jvm]\ +fun [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html).[toGoogleDateTime](to-google-date-time.md)(): DateTime + +Converts local time to Google DateTime in GMT. + +Use it for all requests to Google Calendar. diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/-booking-facade-v1.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/-booking-facade-v1.md new file mode 100644 index 000000000..a08354524 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/-booking-facade-v1.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.facade](../index.md)/[BookingFacadeV1](index.md)/[BookingFacadeV1](-booking-facade-v1.md) + +# BookingFacadeV1 + +[jvm]\ +constructor(bookingService: [IBookingService](../../office.effective.serviceapi/-i-booking-service/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md), uuidValidator: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md), bookingConverter: [BookingDtoModelConverter](../../office.effective.features.booking.converters/-booking-dto-model-converter/index.md)) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/delete-by-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/delete-by-id.md new file mode 100644 index 000000000..a7a3c7ffb --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/delete-by-id.md @@ -0,0 +1,20 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.facade](../index.md)/[BookingFacadeV1](index.md)/[deleteById](delete-by-id.md) + +# deleteById + +[jvm]\ +fun [deleteById](delete-by-id.md)(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) + +Deletes the booking with the given id + +#### Author + +Daniil Zavyalov + +#### Parameters + +jvm + +| | | +|---|---| +| id | booking id | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/find-all.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/find-all.md new file mode 100644 index 000000000..bdc5c7c04 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/find-all.md @@ -0,0 +1,28 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.facade](../index.md)/[BookingFacadeV1](index.md)/[findAll](find-all.md) + +# findAll + +[jvm]\ +fun [findAll](find-all.md)(userId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, workspaceId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, bookingRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, bookingRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) = BookingConstants.MIN_SEARCH_START_TIME, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[BookingResponseDTO](../../office.effective.dto/-booking-response-d-t-o/index.md)> + +Returns all bookings. Bookings can be filtered by owner and workspace id + +#### Return + +[BookingResponseDTO](../../office.effective.dto/-booking-response-d-t-o/index.md) list + +#### Author + +Daniil Zavyalov + +#### Parameters + +jvm + +| | | +|---|---| +| userId | use to filter by booking owner id. Should be valid UUID | +| workspaceId | use to filter by booking workspace id. Should be valid UUID | +| bookingRangeTo | upper bound (exclusive) for a beginBooking to filter by. Optional. Should be greater than range_from. | +| bookingRangeFrom | lower bound (exclusive) for a endBooking to filter by. Should be lover than [bookingRangeFrom](find-all.md). Default value: [BookingConstants.MIN_SEARCH_START_TIME](../../office.effective.common.constants/-booking-constants/-m-i-n_-s-e-a-r-c-h_-s-t-a-r-t_-t-i-m-e.md) | +| returnInstances | return recurring bookings as non-recurrent instances | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/find-by-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/find-by-id.md new file mode 100644 index 000000000..7c9664957 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/find-by-id.md @@ -0,0 +1,30 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.facade](../index.md)/[BookingFacadeV1](index.md)/[findById](find-by-id.md) + +# findById + +[jvm]\ +fun [findById](find-by-id.md)(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [BookingResponseDTO](../../office.effective.dto/-booking-response-d-t-o/index.md) + +Retrieves a booking model by its id + +#### Return + +[BookingResponseDTO](../../office.effective.dto/-booking-response-d-t-o/index.md) with the given id + +#### Author + +Daniil Zavyalov + +#### Parameters + +jvm + +| | | +|---|---| +| id | id of requested booking | + +#### Throws + +| | | +|---|---| +| [InstanceNotFoundException](../../office.effective.common.exception/-instance-not-found-exception/index.md) | if booking with the given id doesn't exist in database | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/index.md new file mode 100644 index 000000000..ddb4ef7e1 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/index.md @@ -0,0 +1,26 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.facade](../index.md)/[BookingFacadeV1](index.md) + +# BookingFacadeV1 + +[jvm]\ +class [BookingFacadeV1](index.md)(bookingService: [IBookingService](../../office.effective.serviceapi/-i-booking-service/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md), uuidValidator: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md), bookingConverter: [BookingDtoModelConverter](../../office.effective.features.booking.converters/-booking-dto-model-converter/index.md)) + +Class used in routes to handle bookings requests. Provides business transaction, data conversion and validation. + +In case of an error, the database transaction will be rolled back. + +## Constructors + +| | | +|---|---| +| [BookingFacadeV1](-booking-facade-v1.md) | [jvm]
constructor(bookingService: [IBookingService](../../office.effective.serviceapi/-i-booking-service/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md), uuidValidator: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md), bookingConverter: [BookingDtoModelConverter](../../office.effective.features.booking.converters/-booking-dto-model-converter/index.md)) | + +## Functions + +| Name | Summary | +|---|---| +| [deleteById](delete-by-id.md) | [jvm]
fun [deleteById](delete-by-id.md)(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))
Deletes the booking with the given id | +| [findAll](find-all.md) | [jvm]
fun [findAll](find-all.md)(userId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, workspaceId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, bookingRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, bookingRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) = BookingConstants.MIN_SEARCH_START_TIME, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[BookingResponseDTO](../../office.effective.dto/-booking-response-d-t-o/index.md)>
Returns all bookings. Bookings can be filtered by owner and workspace id | +| [findById](find-by-id.md) | [jvm]
fun [findById](find-by-id.md)(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [BookingResponseDTO](../../office.effective.dto/-booking-response-d-t-o/index.md)
Retrieves a booking model by its id | +| [post](post.md) | [jvm]
fun [post](post.md)(bookingDTO: [BookingRequestDTO](../../office.effective.dto/-booking-request-d-t-o/index.md)): [BookingResponseDTO](../../office.effective.dto/-booking-response-d-t-o/index.md)
Saves a given booking. Use the returned model for further operations | +| [put](put.md) | [jvm]
fun [put](put.md)(bookingDTO: [BookingRequestDTO](../../office.effective.dto/-booking-request-d-t-o/index.md), bookingId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [BookingResponseDTO](../../office.effective.dto/-booking-response-d-t-o/index.md)
Updates a given booking. Use the returned model for further operations | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/post.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/post.md new file mode 100644 index 000000000..22ccffadb --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/post.md @@ -0,0 +1,24 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.facade](../index.md)/[BookingFacadeV1](index.md)/[post](post.md) + +# post + +[jvm]\ +fun [post](post.md)(bookingDTO: [BookingRequestDTO](../../office.effective.dto/-booking-request-d-t-o/index.md)): [BookingResponseDTO](../../office.effective.dto/-booking-response-d-t-o/index.md) + +Saves a given booking. Use the returned model for further operations + +#### Return + +saved [BookingResponseDTO](../../office.effective.dto/-booking-response-d-t-o/index.md) + +#### Author + +Daniil Zavyalov + +#### Parameters + +jvm + +| | | +|---|---| +| bookingDTO | [BookingRequestDTO](../../office.effective.dto/-booking-request-d-t-o/index.md) to be saved | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/put.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/put.md new file mode 100644 index 000000000..2927a782a --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/put.md @@ -0,0 +1,25 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.booking.facade](../index.md)/[BookingFacadeV1](index.md)/[put](put.md) + +# put + +[jvm]\ +fun [put](put.md)(bookingDTO: [BookingRequestDTO](../../office.effective.dto/-booking-request-d-t-o/index.md), bookingId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [BookingResponseDTO](../../office.effective.dto/-booking-response-d-t-o/index.md) + +Updates a given booking. Use the returned model for further operations + +#### Return + +updated booking + +#### Author + +Daniil Zavyalov + +#### Parameters + +jvm + +| | | +|---|---| +| bookingDTO | changed booking | +| bookingId | booking id | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade/-booking-facade.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade/-booking-facade.md index 8d0adde41..d65c3098d 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade/-booking-facade.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade/-booking-facade.md @@ -3,4 +3,4 @@ # BookingFacade [jvm]\ -constructor(bookingService: [IBookingService](../../office.effective.serviceapi/-i-booking-service/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md), uuidValidator: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md), bookingConverter: [BookingFacadeConverter](../../office.effective.features.booking.converters/-booking-facade-converter/index.md)) +constructor(bookingService: [IBookingService](../../office.effective.serviceapi/-i-booking-service/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md), uuidValidator: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md), bookingConverter: [BookingDtoModelConverter](../../office.effective.features.booking.converters/-booking-dto-model-converter/index.md)) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade/index.md index d609ab0cb..14b91fc68 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade/index.md @@ -3,7 +3,22 @@ # BookingFacade [jvm]\ -class [BookingFacade](index.md)(bookingService: [IBookingService](../../office.effective.serviceapi/-i-booking-service/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md), uuidValidator: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md), bookingConverter: [BookingFacadeConverter](../../office.effective.features.booking.converters/-booking-facade-converter/index.md)) +class [~~BookingFacade~~](index.md)(bookingService: [IBookingService](../../office.effective.serviceapi/-i-booking-service/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md), uuidValidator: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md), bookingConverter: [BookingDtoModelConverter](../../office.effective.features.booking.converters/-booking-dto-model-converter/index.md))--- + +### Deprecated + +Deprecated since 1.0 api version + +#### Replace with + +```kotlin +import office.effective.features.booking.facade.BookingFacadeV1 + +``` +```kotlin +BookingFacadeV1 +``` +--- Class used in routes to handle bookings requests. Provides business transaction, data conversion and validation. @@ -13,7 +28,7 @@ In case of an error, the database transaction will be rolled back. | | | |---|---| -| [BookingFacade](-booking-facade.md) | [jvm]
constructor(bookingService: [IBookingService](../../office.effective.serviceapi/-i-booking-service/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md), uuidValidator: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md), bookingConverter: [BookingFacadeConverter](../../office.effective.features.booking.converters/-booking-facade-converter/index.md)) | +| [BookingFacade](-booking-facade.md) | [jvm]
constructor(bookingService: [IBookingService](../../office.effective.serviceapi/-i-booking-service/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md), uuidValidator: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md), bookingConverter: [BookingDtoModelConverter](../../office.effective.features.booking.converters/-booking-dto-model-converter/index.md)) | ## Functions diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/index.md index 4a3a7007c..9aced1831 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.facade/index.md @@ -6,4 +6,5 @@ | Name | Summary | |---|---| -| [BookingFacade](-booking-facade/index.md) | [jvm]
class [BookingFacade](-booking-facade/index.md)(bookingService: [IBookingService](../office.effective.serviceapi/-i-booking-service/index.md), transactionManager: [DatabaseTransactionManager](../office.effective.common.utils/-database-transaction-manager/index.md), uuidValidator: [UuidValidator](../office.effective.common.utils/-uuid-validator/index.md), bookingConverter: [BookingFacadeConverter](../office.effective.features.booking.converters/-booking-facade-converter/index.md))
Class used in routes to handle bookings requests. Provides business transaction, data conversion and validation. | +| [BookingFacade](-booking-facade/index.md) | [jvm]
class [~~BookingFacade~~](-booking-facade/index.md)(bookingService: [IBookingService](../office.effective.serviceapi/-i-booking-service/index.md), transactionManager: [DatabaseTransactionManager](../office.effective.common.utils/-database-transaction-manager/index.md), uuidValidator: [UuidValidator](../office.effective.common.utils/-uuid-validator/index.md), bookingConverter: [BookingDtoModelConverter](../office.effective.features.booking.converters/-booking-dto-model-converter/index.md))
Class used in routes to handle bookings requests. Provides business transaction, data conversion and validation. | +| [BookingFacadeV1](-booking-facade-v1/index.md) | [jvm]
class [BookingFacadeV1](-booking-facade-v1/index.md)(bookingService: [IBookingService](../office.effective.serviceapi/-i-booking-service/index.md), transactionManager: [DatabaseTransactionManager](../office.effective.common.utils/-database-transaction-manager/index.md), uuidValidator: [UuidValidator](../office.effective.common.utils/-uuid-validator/index.md), bookingConverter: [BookingDtoModelConverter](../office.effective.features.booking.converters/-booking-dto-model-converter/index.md))
Class used in routes to handle bookings requests. Provides business transaction, data conversion and validation. | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-owner-and-workspace-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-owner-and-workspace-id.md index 865eac917..61be44f57 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-owner-and-workspace-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-owner-and-workspace-id.md @@ -3,7 +3,7 @@ # findAllByOwnerAndWorkspaceId [jvm]\ -open override fun [findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> +open override fun [findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> Returns all bookings with the given workspace and owner id @@ -21,3 +21,4 @@ jvm | workspaceId | | eventRangeFrom | lower bound (exclusive) for a endBooking to filter by. Old Google calendar events may not appear correctly in the system and cause unexpected exceptions | | eventRangeTo | upper bound (exclusive) for a beginBooking to filter by. Optional. | +| returnInstances | return recurring bookings as non-recurrent instances | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-owner-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-owner-id.md index 39b7613fd..cecf947f6 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-owner-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-owner-id.md @@ -3,7 +3,7 @@ # findAllByOwnerId [jvm]\ -open override fun [findAllByOwnerId](find-all-by-owner-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> +open override fun [findAllByOwnerId](find-all-by-owner-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> Returns all bookings with the given owner id @@ -24,6 +24,7 @@ jvm | ownerId | | eventRangeFrom | lower bound (exclusive) for a endBooking to filter by. Old Google calendar events may not appear correctly in the system and cause unexpected exceptions | | eventRangeTo | upper bound (exclusive) for a beginBooking to filter by. Optional. | +| returnInstances | return recurring bookings as non-recurrent instances | #### Throws diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-workspace-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-workspace-id.md index c6f119567..c487c63ff 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-workspace-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-workspace-id.md @@ -3,7 +3,7 @@ # findAllByWorkspaceId [jvm]\ -open override fun [findAllByWorkspaceId](find-all-by-workspace-id.md)(workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> +open override fun [findAllByWorkspaceId](find-all-by-workspace-id.md)(workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> Returns all bookings with the given workspace id @@ -18,5 +18,6 @@ jvm | | |---| | workspaceId | +| returnInstances | return recurring bookings as non-recurrent instances | | eventRangeFrom | lower bound (exclusive) for a endBooking to filter by. Old Google calendar events may not appear correctly in the system and cause unexpected exceptions | | eventRangeTo | upper bound (exclusive) for a beginBooking to filter by. Optional. | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all.md index 53ba0f8ec..8c3c3668e 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all.md @@ -3,7 +3,7 @@ # findAll [jvm]\ -open override fun [findAll](find-all.md)(eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> +open override fun [findAll](find-all.md)(eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> Retrieves all bookings @@ -19,3 +19,4 @@ jvm |---|---| | eventRangeFrom | lower bound (exclusive) for a endBooking to filter by. Old Google calendar events may not appear correctly in the system and cause unexpected exceptions | | eventRangeTo | upper bound (exclusive) for a beginBooking to filter by. Optional. | +| returnInstances | return recurring bookings as non-recurrent instances | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/index.md index 53f6b0357..4a13ab8c1 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/index.md @@ -21,10 +21,10 @@ Filters out all events that have a start less than the calendar.minTime from app |---|---| | [deleteById](delete-by-id.md) | [jvm]
open override fun [deleteById](delete-by-id.md)(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))
Deletes the booking with the given id | | [existsById](exists-by-id.md) | [jvm]
open override fun [existsById](exists-by-id.md)(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Returns whether a booking with the given id exists | -| [findAll](find-all.md) | [jvm]
open override fun [findAll](find-all.md)(eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Retrieves all bookings | -| [findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md) | [jvm]
open override fun [findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings with the given workspace and owner id | -| [findAllByOwnerId](find-all-by-owner-id.md) | [jvm]
open override fun [findAllByOwnerId](find-all-by-owner-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings with the given owner id | -| [findAllByWorkspaceId](find-all-by-workspace-id.md) | [jvm]
open override fun [findAllByWorkspaceId](find-all-by-workspace-id.md)(workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings with the given workspace id | +| [findAll](find-all.md) | [jvm]
open override fun [findAll](find-all.md)(eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Retrieves all bookings | +| [findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md) | [jvm]
open override fun [findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings with the given workspace and owner id | +| [findAllByOwnerId](find-all-by-owner-id.md) | [jvm]
open override fun [findAllByOwnerId](find-all-by-owner-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings with the given owner id | +| [findAllByWorkspaceId](find-all-by-workspace-id.md) | [jvm]
open override fun [findAllByWorkspaceId](find-all-by-workspace-id.md)(workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings with the given workspace id | | [findById](find-by-id.md) | [jvm]
open override fun [findById](find-by-id.md)(bookingId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [Booking](../../office.effective.model/-booking/index.md)?
Retrieves a booking model by its id. Retrieved booking contains user and workspace models without integrations and utilities | | [save](save.md) | [jvm]
open override fun [save](save.md)(booking: [Booking](../../office.effective.model/-booking/index.md)): [Booking](../../office.effective.model/-booking/index.md)
Saves a given booking. If given model will have an id, it will be ignored. Use the returned model for further operations | | [update](update.md) | [jvm]
open override fun [update](update.md)(booking: [Booking](../../office.effective.model/-booking/index.md)): [Booking](../../office.effective.model/-booking/index.md)
Updates a given booking. Use the returned model for further operations | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/-booking-regular-repository.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/-booking-regular-repository.md index 8c2c51f46..a721d3bc2 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/-booking-regular-repository.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/-booking-regular-repository.md @@ -3,4 +3,4 @@ # BookingRegularRepository [jvm]\ -constructor(calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../../office.effective.features.booking.converters/-google-calendar-converter/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md)) +constructor(calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../../office.effective.features.booking.converters/-google-calendar-converter/index.md)) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-owner-and-workspace-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-owner-and-workspace-id.md index 1a08211a2..e61877395 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-owner-and-workspace-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-owner-and-workspace-id.md @@ -3,7 +3,7 @@ # findAllByOwnerAndWorkspaceId [jvm]\ -open override fun [findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> +open override fun [findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> Returns all bookings with the given workspace and owner id @@ -25,3 +25,4 @@ jvm | workspaceId | | eventRangeFrom | lower bound (exclusive) for a endBooking to filter by. Old Google calendar events may not appear correctly in the system and cause unexpected exceptions | | eventRangeTo | upper bound (exclusive) for a beginBooking to filter by. Optional. | +| returnInstances | return recurring bookings as non-recurrent instances | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-owner-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-owner-id.md index ff36fa9dd..edb2eeb1c 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-owner-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-owner-id.md @@ -3,7 +3,7 @@ # findAllByOwnerId [jvm]\ -open override fun [findAllByOwnerId](find-all-by-owner-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> +open override fun [findAllByOwnerId](find-all-by-owner-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> Returns all bookings with the given owner id @@ -24,6 +24,7 @@ jvm | ownerId | | eventRangeFrom | lower bound (exclusive) for a endBooking to filter by. Old Google calendar events may not appear correctly in the system and cause unexpected exceptions | | eventRangeTo | upper bound (exclusive) for a beginBooking to filter by. Optional. | +| returnInstances | return recurring bookings as non-recurrent instances | #### Throws diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-workspace-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-workspace-id.md index 672aca22b..a150cf9d6 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-workspace-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-workspace-id.md @@ -3,7 +3,7 @@ # findAllByWorkspaceId [jvm]\ -open override fun [findAllByWorkspaceId](find-all-by-workspace-id.md)(workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> +open override fun [findAllByWorkspaceId](find-all-by-workspace-id.md)(workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> Returns all bookings with the given workspace id @@ -24,3 +24,4 @@ jvm | workspaceId | | eventRangeFrom | lower bound (exclusive) for a endBooking to filter by. Old Google calendar events may not appear correctly in the system and cause unexpected exceptions | | eventRangeTo | upper bound (exclusive) for a beginBooking to filter by. Optional. | +| returnInstances | return recurring bookings as non-recurrent instances | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all.md index 21d9d1695..3a371791f 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all.md @@ -3,7 +3,7 @@ # findAll [jvm]\ -open override fun [findAll](find-all.md)(eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> +open override fun [findAll](find-all.md)(eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> Retrieves all bookings @@ -23,3 +23,4 @@ jvm |---|---| | eventRangeFrom | lower bound (exclusive) for a endBooking to filter by. Old Google calendar events may not appear correctly in the system and cause unexpected exceptions | | eventRangeTo | upper bound (exclusive) for a beginBooking to filter by. Optional. | +| returnInstances | return recurring bookings as non-recurrent instances | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/index.md index 5f53385bf..93a10cdc0 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/index.md @@ -3,7 +3,7 @@ # BookingRegularRepository [jvm]\ -class [BookingRegularRepository](index.md)(calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../../office.effective.features.booking.converters/-google-calendar-converter/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md)) : [IBookingRepository](../-i-booking-repository/index.md) +class [BookingRegularRepository](index.md)(calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../../office.effective.features.booking.converters/-google-calendar-converter/index.md)) : [IBookingRepository](../-i-booking-repository/index.md) Class that executes Google calendar queries for booking regular workspaces @@ -13,7 +13,7 @@ Filters out all events that have a start less than the calendar.minTime from app | | | |---|---| -| [BookingRegularRepository](-booking-regular-repository.md) | [jvm]
constructor(calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../../office.effective.features.booking.converters/-google-calendar-converter/index.md), workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md), userRepository: [UserRepository](../../office.effective.features.user.repository/-user-repository/index.md)) | +| [BookingRegularRepository](-booking-regular-repository.md) | [jvm]
constructor(calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../../office.effective.features.booking.converters/-google-calendar-converter/index.md)) | ## Functions @@ -21,10 +21,10 @@ Filters out all events that have a start less than the calendar.minTime from app |---|---| | [deleteById](delete-by-id.md) | [jvm]
open override fun [deleteById](delete-by-id.md)(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))
Deletes the booking with the given id | | [existsById](exists-by-id.md) | [jvm]
open override fun [existsById](exists-by-id.md)(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Returns whether a booking with the given id exists | -| [findAll](find-all.md) | [jvm]
open override fun [findAll](find-all.md)(eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Retrieves all bookings | -| [findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md) | [jvm]
open override fun [findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings with the given workspace and owner id | -| [findAllByOwnerId](find-all-by-owner-id.md) | [jvm]
open override fun [findAllByOwnerId](find-all-by-owner-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings with the given owner id | -| [findAllByWorkspaceId](find-all-by-workspace-id.md) | [jvm]
open override fun [findAllByWorkspaceId](find-all-by-workspace-id.md)(workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings with the given workspace id | +| [findAll](find-all.md) | [jvm]
open override fun [findAll](find-all.md)(eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Retrieves all bookings | +| [findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md) | [jvm]
open override fun [findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings with the given workspace and owner id | +| [findAllByOwnerId](find-all-by-owner-id.md) | [jvm]
open override fun [findAllByOwnerId](find-all-by-owner-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings with the given owner id | +| [findAllByWorkspaceId](find-all-by-workspace-id.md) | [jvm]
open override fun [findAllByWorkspaceId](find-all-by-workspace-id.md)(workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings with the given workspace id | | [findById](find-by-id.md) | [jvm]
open override fun [findById](find-by-id.md)(bookingId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [Booking](../../office.effective.model/-booking/index.md)?
Retrieves a booking model by its id. Retrieved booking contains user and workspace models without integrations and utilities | | [save](save.md) | [jvm]
open override fun [save](save.md)(booking: [Booking](../../office.effective.model/-booking/index.md)): [Booking](../../office.effective.model/-booking/index.md)
Saves a given booking. If given model will have an id, it will be ignored. Use the returned model for further operations | | [update](update.md) | [jvm]
open override fun [update](update.md)(booking: [Booking](../../office.effective.model/-booking/index.md)): [Booking](../../office.effective.model/-booking/index.md)
Updates a given booking. Use the returned model for further operations | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/save.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/save.md index 7624bbd67..a255e762f 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/save.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/save.md @@ -11,10 +11,6 @@ Saves a given booking. If given model will have an id, it will be ignored. Use t saved [Booking](../../office.effective.model/-booking/index.md) -#### Author - -Daniil Zavyalov, Danil Kiselev - #### Parameters jvm diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/update.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/update.md index 648565c19..7f3ee7f69 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/update.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/update.md @@ -11,10 +11,6 @@ Updates a given booking. Use the returned model for further operations [Booking](../../office.effective.model/-booking/index.md) after change saving -#### Author - -Daniil Zavyalov, Danil Kiselev - #### Parameters jvm @@ -27,5 +23,6 @@ jvm | | | |---|---| -| [MissingIdException](../../office.effective.common.exception/-missing-id-exception/index.md) | if [Booking.id](../../office.effective.model/-booking/id.md) is null | +| [MissingIdException](../../office.effective.common.exception/-missing-id-exception/index.md) | if [Booking.id](../../office.effective.model/-booking/id.md) or [Booking.workspace](../../office.effective.model/-booking/workspace.md).id is null | | [InstanceNotFoundException](../../office.effective.common.exception/-instance-not-found-exception/index.md) | if booking given id doesn't exist in the database | +| [WorkspaceUnavailableException](../../office.effective.common.exception/-workspace-unavailable-exception/index.md) | if booking unavailable because of collision check | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all-by-owner-and-workspace-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all-by-owner-and-workspace-id.md index e98339fd7..28750020a 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all-by-owner-and-workspace-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all-by-owner-and-workspace-id.md @@ -3,7 +3,7 @@ # findAllByOwnerAndWorkspaceId [jvm]\ -abstract fun [findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> +abstract fun [findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> Returns all bookings with the given workspace and owner id @@ -25,3 +25,4 @@ jvm | workspaceId | | eventRangeFrom | use to set an upper bound for filtering bookings by start time | | eventRangeTo | lover bound for filtering bookings by start time | +| returnInstances | return recurring bookings as non-recurrent instances | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all-by-owner-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all-by-owner-id.md index 7f43d553d..76b756040 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all-by-owner-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all-by-owner-id.md @@ -3,7 +3,7 @@ # findAllByOwnerId [jvm]\ -abstract fun [findAllByOwnerId](find-all-by-owner-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> +abstract fun [findAllByOwnerId](find-all-by-owner-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> Returns all bookings with the given owner id @@ -24,3 +24,4 @@ jvm | ownerId | | eventRangeTo | use to set an upper bound for filtering bookings by start time | | eventRangeFrom | lover bound for filtering bookings by start time | +| returnInstances | return recurring bookings as non-recurrent instances | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all-by-workspace-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all-by-workspace-id.md index edc09c05c..0a60e9659 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all-by-workspace-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all-by-workspace-id.md @@ -3,7 +3,7 @@ # findAllByWorkspaceId [jvm]\ -abstract fun [findAllByWorkspaceId](find-all-by-workspace-id.md)(workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> +abstract fun [findAllByWorkspaceId](find-all-by-workspace-id.md)(workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> Returns all bookings with the given workspace id @@ -24,3 +24,4 @@ jvm | workspaceId | | eventRangeFrom | use to set an upper bound for filtering bookings by start time | | eventRangeTo | lover bound for filtering bookings by start time | +| returnInstances | return recurring bookings as non-recurrent instances | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all.md index c64297414..bc3c959da 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all.md @@ -3,7 +3,7 @@ # findAll [jvm]\ -abstract fun [findAll](find-all.md)(eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> +abstract fun [findAll](find-all.md)(eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> Retrieves all bookings @@ -23,3 +23,4 @@ jvm |---|---| | eventRangeFrom | use to set an upper bound for filtering bookings by start time | | eventRangeTo | lover bound for filtering bookings by start time | +| returnInstances | return recurring bookings as non-recurrent instances | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/index.md index 4283f892c..98f4f24cc 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/index.md @@ -19,10 +19,10 @@ Interface of repository to manipulate with workspace bookings |---|---| | [deleteById](delete-by-id.md) | [jvm]
abstract fun [deleteById](delete-by-id.md)(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))
Deletes the booking with the given id | | [existsById](exists-by-id.md) | [jvm]
abstract fun [existsById](exists-by-id.md)(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Returns whether a booking with the given id exists | -| [findAll](find-all.md) | [jvm]
abstract fun [findAll](find-all.md)(eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Retrieves all bookings | -| [findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md) | [jvm]
abstract fun [findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings with the given workspace and owner id | -| [findAllByOwnerId](find-all-by-owner-id.md) | [jvm]
abstract fun [findAllByOwnerId](find-all-by-owner-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings with the given owner id | -| [findAllByWorkspaceId](find-all-by-workspace-id.md) | [jvm]
abstract fun [findAllByWorkspaceId](find-all-by-workspace-id.md)(workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings with the given workspace id | +| [findAll](find-all.md) | [jvm]
abstract fun [findAll](find-all.md)(eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Retrieves all bookings | +| [findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md) | [jvm]
abstract fun [findAllByOwnerAndWorkspaceId](find-all-by-owner-and-workspace-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings with the given workspace and owner id | +| [findAllByOwnerId](find-all-by-owner-id.md) | [jvm]
abstract fun [findAllByOwnerId](find-all-by-owner-id.md)(ownerId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings with the given owner id | +| [findAllByWorkspaceId](find-all-by-workspace-id.md) | [jvm]
abstract fun [findAllByWorkspaceId](find-all-by-workspace-id.md)(workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), eventRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), eventRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings with the given workspace id | | [findById](find-by-id.md) | [jvm]
abstract fun [findById](find-by-id.md)(bookingId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [Booking](../../office.effective.model/-booking/index.md)?
Retrieves a booking model by its id. Retrieved booking contains user and workspace models without integrations and utilities | | [save](save.md) | [jvm]
abstract fun [save](save.md)(booking: [Booking](../../office.effective.model/-booking/index.md)): [Booking](../../office.effective.model/-booking/index.md)
Saves a given booking. If given model will have an id, it will be ignored. Use the returned model for further operations | | [update](update.md) | [jvm]
abstract fun [update](update.md)(booking: [Booking](../../office.effective.model/-booking/index.md)): [Booking](../../office.effective.model/-booking/index.md)
Updates a given booking. Use the returned model for further operations | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/index.md index 387b3f9c0..17e438218 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.repository/index.md @@ -9,7 +9,7 @@ | [BookingMeetingRepository](-booking-meeting-repository/index.md) | [jvm]
class [BookingMeetingRepository](-booking-meeting-repository/index.md)(calendarIdsRepository: [CalendarIdsRepository](../office.effective.features.calendar.repository/-calendar-ids-repository/index.md), userRepository: [UserRepository](../office.effective.features.user.repository/-user-repository/index.md), calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../office.effective.features.booking.converters/-google-calendar-converter/index.md)) : [IBookingRepository](-i-booking-repository/index.md)
Class that executes Google calendar queries for booking meeting rooms | | [BookingParticipantEntity](-booking-participant-entity/index.md) | [jvm]
interface [BookingParticipantEntity](-booking-participant-entity/index.md) : Entity<[BookingParticipantEntity](-booking-participant-entity/index.md)> | | [BookingParticipants](-booking-participants/index.md) | [jvm]
object [BookingParticipants](-booking-participants/index.md) : Table<[BookingParticipantEntity](-booking-participant-entity/index.md)> | -| [BookingRegularRepository](-booking-regular-repository/index.md) | [jvm]
class [BookingRegularRepository](-booking-regular-repository/index.md)(calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../office.effective.features.booking.converters/-google-calendar-converter/index.md), workspaceRepository: [WorkspaceRepository](../office.effective.features.workspace.repository/-workspace-repository/index.md), userRepository: [UserRepository](../office.effective.features.user.repository/-user-repository/index.md)) : [IBookingRepository](-i-booking-repository/index.md)
Class that executes Google calendar queries for booking regular workspaces | +| [BookingRegularRepository](-booking-regular-repository/index.md) | [jvm]
class [BookingRegularRepository](-booking-regular-repository/index.md)(calendar: Calendar, googleCalendarConverter: [GoogleCalendarConverter](../office.effective.features.booking.converters/-google-calendar-converter/index.md)) : [IBookingRepository](-i-booking-repository/index.md)
Class that executes Google calendar queries for booking regular workspaces | | [BookingRepository](-booking-repository/index.md) | [jvm]
class [~~BookingRepository~~](-booking-repository/index.md)(database: Database, converter: [BookingRepositoryConverter](../office.effective.features.booking.converters/-booking-repository-converter/index.md), uuidValidator: [UuidValidator](../office.effective.common.utils/-uuid-validator/index.md))
Class that executes database queries with bookings | | [IBookingRepository](-i-booking-repository/index.md) | [jvm]
interface [IBookingRepository](-i-booking-repository/index.md)
Interface of repository to manipulate with workspace bookings | | [WorkspaceBooking](-workspace-booking/index.md) | [jvm]
object [WorkspaceBooking](-workspace-booking/index.md) : Table<[WorkspaceBookingEntity](-workspace-booking-entity/index.md)> | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.routes/booking-routing-v1.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.routes/booking-routing-v1.md new file mode 100644 index 000000000..594f6eb3b --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.routes/booking-routing-v1.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../index.md)/[office.effective.features.booking.routes](index.md)/[bookingRoutingV1](booking-routing-v1.md) + +# bookingRoutingV1 + +[jvm]\ +fun Route.[bookingRoutingV1](booking-routing-v1.md)() diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.routes/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.routes/index.md index 649c0d15d..efd22d73a 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.routes/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.routes/index.md @@ -7,3 +7,4 @@ | Name | Summary | |---|---| | [bookingRouting](booking-routing.md) | [jvm]
fun Route.[bookingRouting](booking-routing.md)() | +| [bookingRoutingV1](booking-routing-v1.md) | [jvm]
fun Route.[bookingRoutingV1](booking-routing-v1.md)() | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/find-all.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/find-all.md index 7f3db26bd..281b4b83c 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/find-all.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/find-all.md @@ -3,7 +3,7 @@ # findAll [jvm]\ -open override fun [findAll](find-all.md)(userId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)?, workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)?, bookingRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, bookingRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> +open override fun [findAll](find-all.md)(userId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)?, workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)?, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html), bookingRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, bookingRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> Returns all bookings. Bookings can be filtered by owner and workspace id @@ -19,6 +19,7 @@ jvm |---|---| | userId | use to filter by booking owner id | | workspaceId | use to filter by booking workspace id | +| returnInstances | return recurring bookings as non-recurrent instances | | bookingRangeTo | upper bound (exclusive) for a beginBooking to filter by. Optional. | | bookingRangeFrom | lower bound (exclusive) for a endBooking to filter by. | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/index.md index 672b106d1..316510b34 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/index.md @@ -21,7 +21,7 @@ Uses [BookingMeetingRepository](../../office.effective.features.booking.reposito |---|---| | [deleteById](delete-by-id.md) | [jvm]
open override fun [deleteById](delete-by-id.md)(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))
Deletes the booking with the given id | | [existsById](exists-by-id.md) | [jvm]
open override fun [existsById](exists-by-id.md)(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Returns whether a booking with the given id exists | -| [findAll](find-all.md) | [jvm]
open override fun [findAll](find-all.md)(userId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)?, workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)?, bookingRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, bookingRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings. Bookings can be filtered by owner and workspace id | +| [findAll](find-all.md) | [jvm]
open override fun [findAll](find-all.md)(userId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)?, workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)?, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html), bookingRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, bookingRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings. Bookings can be filtered by owner and workspace id | | [findById](find-by-id.md) | [jvm]
open override fun [findById](find-by-id.md)(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [Booking](../../office.effective.model/-booking/index.md)?
Retrieves a booking model by its id | | [save](save.md) | [jvm]
open override fun [save](save.md)(booking: [Booking](../../office.effective.model/-booking/index.md)): [Booking](../../office.effective.model/-booking/index.md)
Saves a given booking. Use the returned model for further operations | | [update](update.md) | [jvm]
open override fun [update](update.md)(booking: [Booking](../../office.effective.model/-booking/index.md)): [Booking](../../office.effective.model/-booking/index.md)
Updates a given booking. Use the returned model for further operations | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/update.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/update.md index cbb3fd1eb..5d968e1f2 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/update.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/update.md @@ -22,9 +22,3 @@ jvm | | | |---|---| | booking | changed booking | - -#### Throws - -| | | -|---|---| -| [InstanceNotFoundException](../../office.effective.common.exception/-instance-not-found-exception/index.md) | if workspace with the given id not found | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/-user-facade.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/-user-facade-v1.md similarity index 78% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/-user-facade.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/-user-facade-v1.md index d079a0471..c7271efb2 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/-user-facade.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/-user-facade-v1.md @@ -1,6 +1,6 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user.facade](../index.md)/[UserFacade](index.md)/[UserFacade](-user-facade.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user.facade](../index.md)/[UserFacadeV1](index.md)/[UserFacadeV1](-user-facade-v1.md) -# UserFacade +# UserFacadeV1 [jvm]\ constructor(service: [IUserService](../../office.effective.serviceapi/-i-user-service/index.md), converterDTO: [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md)) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/get-user-by-email.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/get-user-by-email.md similarity index 87% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/get-user-by-email.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/get-user-by-email.md index 620f6af21..8ec6ef8b5 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/get-user-by-email.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/get-user-by-email.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user.facade](../index.md)/[UserFacade](index.md)/[getUserByEmail](get-user-by-email.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user.facade](../index.md)/[UserFacadeV1](index.md)/[getUserByEmail](get-user-by-email.md) # getUserByEmail diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/get-user-by-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/get-user-by-id.md similarity index 88% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/get-user-by-id.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/get-user-by-id.md index 49c7790e3..dc50679c3 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/get-user-by-id.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/get-user-by-id.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user.facade](../index.md)/[UserFacade](index.md)/[getUserById](get-user-by-id.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user.facade](../index.md)/[UserFacadeV1](index.md)/[getUserById](get-user-by-id.md) # getUserById diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/get-users-by-tag.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/get-users-by-tag.md similarity index 86% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/get-users-by-tag.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/get-users-by-tag.md index 7ba5299ed..fe911b733 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/get-users-by-tag.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/get-users-by-tag.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user.facade](../index.md)/[UserFacade](index.md)/[getUsersByTag](get-users-by-tag.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user.facade](../index.md)/[UserFacadeV1](index.md)/[getUsersByTag](get-users-by-tag.md) # getUsersByTag diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/get-users.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/get-users.md similarity index 88% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/get-users.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/get-users.md index 83b6c013e..1f5ef737b 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/get-users.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/get-users.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user.facade](../index.md)/[UserFacade](index.md)/[getUsers](get-users.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user.facade](../index.md)/[UserFacadeV1](index.md)/[getUsers](get-users.md) # getUsers diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/index.md similarity index 67% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/index.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/index.md index be124fe37..7fdda6f36 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/index.md @@ -1,9 +1,9 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user.facade](../index.md)/[UserFacade](index.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user.facade](../index.md)/[UserFacadeV1](index.md) -# UserFacade +# UserFacadeV1 [jvm]\ -class [UserFacade](index.md)(service: [IUserService](../../office.effective.serviceapi/-i-user-service/index.md), converterDTO: [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md)) +class [UserFacadeV1](index.md)(service: [IUserService](../../office.effective.serviceapi/-i-user-service/index.md), converterDTO: [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md)) Class used in routes to handle user-related requests. Provides business transaction, data conversion and validation. @@ -11,7 +11,7 @@ Class used in routes to handle user-related requests. Provides business transact | | | |---|---| -| [UserFacade](-user-facade.md) | [jvm]
constructor(service: [IUserService](../../office.effective.serviceapi/-i-user-service/index.md), converterDTO: [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md)) | +| [UserFacadeV1](-user-facade-v1.md) | [jvm]
constructor(service: [IUserService](../../office.effective.serviceapi/-i-user-service/index.md), converterDTO: [UserDTOModelConverter](../../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md)) | ## Functions diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/update-user.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/update-user.md similarity index 86% rename from effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/update-user.md rename to effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/update-user.md index 85d505b3c..d647dcc66 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/update-user.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/update-user.md @@ -1,4 +1,4 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user.facade](../index.md)/[UserFacade](index.md)/[updateUser](update-user.md) +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user.facade](../index.md)/[UserFacadeV1](index.md)/[updateUser](update-user.md) # updateUser diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/index.md index deb7b817b..05bb3ddaa 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.facade/index.md @@ -6,4 +6,4 @@ | Name | Summary | |---|---| -| [UserFacade](-user-facade/index.md) | [jvm]
class [UserFacade](-user-facade/index.md)(service: [IUserService](../office.effective.serviceapi/-i-user-service/index.md), converterDTO: [UserDTOModelConverter](../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), transactionManager: [DatabaseTransactionManager](../office.effective.common.utils/-database-transaction-manager/index.md))
Class used in routes to handle user-related requests. Provides business transaction, data conversion and validation. | +| [UserFacadeV1](-user-facade-v1/index.md) | [jvm]
class [UserFacadeV1](-user-facade-v1/index.md)(service: [IUserService](../office.effective.serviceapi/-i-user-service/index.md), converterDTO: [UserDTOModelConverter](../office.effective.features.user.converters/-user-d-t-o-model-converter/index.md), transactionManager: [DatabaseTransactionManager](../office.effective.common.utils/-database-transaction-manager/index.md))
Class used in routes to handle user-related requests. Provides business transaction, data conversion and validation. | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-all-by-email.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-all-by-email.md deleted file mode 100644 index 46fba4343..000000000 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-all-by-email.md +++ /dev/null @@ -1,22 +0,0 @@ -//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user.repository](../index.md)/[UserRepository](index.md)/[findAllByEmail](find-all-by-email.md) - -# findAllByEmail - -[jvm]\ -fun [findAllByEmail](find-all-by-email.md)(email: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserModel](../../office.effective.model/-user-model/index.md)> - -Retrieves a user models by email list - -#### Return - -[UserModel](../../office.effective.model/-user-model/index.md) - -#### Author - -Daniil Zavyalov - -#### Throws - -| | | -|---|---| -| [InstanceNotFoundException](../../office.effective.common.exception/-instance-not-found-exception/index.md) | if user with the given email doesn't exist in database | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-all-by-emails.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-all-by-emails.md new file mode 100644 index 000000000..88af90e3b --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-all-by-emails.md @@ -0,0 +1,16 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.user.repository](../index.md)/[UserRepository](index.md)/[findAllByEmails](find-all-by-emails.md) + +# findAllByEmails + +[jvm]\ +fun [findAllByEmails](find-all-by-emails.md)(emails: [Collection](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserModel](../../office.effective.model/-user-model/index.md)> + +Retrieves users models with integrations by emails. If a user with one of the specified emails does not exist, that email will be ignored. + +#### Return + +users with integrations + +#### Author + +Daniil Zavyalov diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/index.md index 22c8d0a9d..8c59c33f1 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/index.md @@ -19,7 +19,7 @@ Perform database queries with users |---|---| | [existsById](exists-by-id.md) | [jvm]
fun [existsById](exists-by-id.md)(userId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Checks existence of user by id, using count | | [findAll](find-all.md) | [jvm]
fun [findAll](find-all.md)(): [Set](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html)<[UserModel](../../office.effective.model/-user-model/index.md)>
Retrieves all users | -| [findAllByEmail](find-all-by-email.md) | [jvm]
fun [findAllByEmail](find-all-by-email.md)(email: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserModel](../../office.effective.model/-user-model/index.md)>
Retrieves a user models by email list | +| [findAllByEmails](find-all-by-emails.md) | [jvm]
fun [findAllByEmails](find-all-by-emails.md)(emails: [Collection](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserModel](../../office.effective.model/-user-model/index.md)>
Retrieves users models with integrations by emails. If a user with one of the specified emails does not exist, that email will be ignored. | | [findAllIntegrationsByUserIds](find-all-integrations-by-user-ids.md) | [jvm]
fun [findAllIntegrationsByUserIds](find-all-integrations-by-user-ids.md)(ids: [Collection](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html)<[UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)>): [HashMap](https://docs.oracle.com/javase/8/docs/api/java/util/HashMap.html)<[UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html), [MutableSet](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-set/index.html)<[IntegrationModel](../../office.effective.model/-integration-model/index.md)>>
Returns a HashMap that maps user ids and their integrations | | [findByEmail](find-by-email.md) | [jvm]
fun [findByEmail](find-by-email.md)(email: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [UserModel](../../office.effective.model/-user-model/index.md)?
Retrieves a user model by email | | [findById](find-by-id.md) | [jvm]
fun [findById](find-by-id.md)(userId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)): [UserModel](../../office.effective.model/-user-model/index.md)?
Retrieves user model by id | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.routes/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.routes/index.md index 73ac8fddd..d9e212287 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.routes/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.routes/index.md @@ -7,3 +7,4 @@ | Name | Summary | |---|---| | [userRouting](user-routing.md) | [jvm]
fun Route.[userRouting](user-routing.md)() | +| [userRoutingV1](user-routing-v1.md) | [jvm]
fun Route.[userRoutingV1](user-routing-v1.md)() | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.routes/user-routing-v1.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.routes/user-routing-v1.md new file mode 100644 index 000000000..81a7da43e --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.user.routes/user-routing-v1.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../index.md)/[office.effective.features.user.routes](index.md)/[userRoutingV1](user-routing-v1.md) + +# userRoutingV1 + +[jvm]\ +fun Route.[userRoutingV1](user-routing-v1.md)() diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.converters/-workspace-facade-converter/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.converters/-workspace-facade-converter/index.md index 92514084f..fb4ea4042 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.converters/-workspace-facade-converter/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.converters/-workspace-facade-converter/index.md @@ -20,5 +20,5 @@ This converter helps in the transformation of data between the DTO and model rep | Name | Summary | |---|---| | [dtoToModel](dto-to-model.md) | [jvm]
fun [dtoToModel](dto-to-model.md)(dto: [WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md)): [Workspace](../../office.effective.model/-workspace/index.md)
Converts [Workspace](../../office.effective.model/-workspace/index.md) with [WorkspaceZone](../../office.effective.model/-workspace-zone/index.md) and [Utilities](../../office.effective.model/-utility/index.md) to [WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md) with [WorkspaceZoneDTO](../../office.effective.dto/-workspace-zone-d-t-o/index.md) and [UtilityDTO](../../office.effective.dto/-utility-d-t-o/index.md)s. Uses [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md) to convert workspace id to UUID, but if [WorkspaceDTO.id](../../office.effective.dto/-workspace-d-t-o/id.md)=="null" [Workspace.id](../../office.effective.model/-workspace/id.md) will be null | -| [modelToDto](model-to-dto.md) | [jvm]
fun [modelToDto](model-to-dto.md)(model: [Workspace](../../office.effective.model/-workspace/index.md)): [WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md)
Converts [Workspace](../../office.effective.model/-workspace/index.md) with [WorkspaceZone](../../office.effective.model/-workspace-zone/index.md) and [Utilities](../../office.effective.model/-utility/index.md) to [WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md) with [WorkspaceZoneDTO](../../office.effective.dto/-workspace-zone-d-t-o/index.md) and [UtilityDTO](../../office.effective.dto/-utility-d-t-o/index.md)s | +| [modelToDto](model-to-dto.md) | [jvm]
fun [modelToDto](model-to-dto.md)(model: [Workspace](../../office.effective.model/-workspace/index.md), bookings: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[BookingResponseDTO](../../office.effective.dto/-booking-response-d-t-o/index.md)>? = null): [WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md)
Converts [Workspace](../../office.effective.model/-workspace/index.md) with [WorkspaceZone](../../office.effective.model/-workspace-zone/index.md) and [Utilities](../../office.effective.model/-utility/index.md) to [WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md) with [WorkspaceZoneDTO](../../office.effective.dto/-workspace-zone-d-t-o/index.md) and [UtilityDTO](../../office.effective.dto/-utility-d-t-o/index.md)s | | [zoneModelToDto](zone-model-to-dto.md) | [jvm]
fun [zoneModelToDto](zone-model-to-dto.md)(model: [WorkspaceZone](../../office.effective.model/-workspace-zone/index.md)): [WorkspaceZoneDTO](../../office.effective.dto/-workspace-zone-d-t-o/index.md)
Converts [WorkspaceZone](../../office.effective.model/-workspace-zone/index.md) to [WorkspaceZoneDTO](../../office.effective.dto/-workspace-zone-d-t-o/index.md) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.converters/-workspace-facade-converter/model-to-dto.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.converters/-workspace-facade-converter/model-to-dto.md index 49acf07b9..dac45bf35 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.converters/-workspace-facade-converter/model-to-dto.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.converters/-workspace-facade-converter/model-to-dto.md @@ -3,7 +3,7 @@ # modelToDto [jvm]\ -fun [modelToDto](model-to-dto.md)(model: [Workspace](../../office.effective.model/-workspace/index.md)): [WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md) +fun [modelToDto](model-to-dto.md)(model: [Workspace](../../office.effective.model/-workspace/index.md), bookings: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[BookingResponseDTO](../../office.effective.dto/-booking-response-d-t-o/index.md)>? = null): [WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md) Converts [Workspace](../../office.effective.model/-workspace/index.md) with [WorkspaceZone](../../office.effective.model/-workspace-zone/index.md) and [Utilities](../../office.effective.model/-utility/index.md) to [WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md) with [WorkspaceZoneDTO](../../office.effective.dto/-workspace-zone-d-t-o/index.md) and [UtilityDTO](../../office.effective.dto/-utility-d-t-o/index.md)s @@ -22,3 +22,4 @@ jvm | | | |---|---| | model | The [Workspace](../../office.effective.model/-workspace/index.md) object to be converted | +| bookings | bookings of this workspace | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/-workspace-facade-v1.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/-workspace-facade-v1.md new file mode 100644 index 000000000..01cfb210c --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/-workspace-facade-v1.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.workspace.facade](../index.md)/[WorkspaceFacadeV1](index.md)/[WorkspaceFacadeV1](-workspace-facade-v1.md) + +# WorkspaceFacadeV1 + +[jvm]\ +constructor(service: [IWorkspaceService](../../office.effective.serviceapi/-i-workspace-service/index.md), converter: [WorkspaceFacadeConverter](../../office.effective.features.workspace.converters/-workspace-facade-converter/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md), uuidValidator: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md), bookingFacade: [BookingFacadeV1](../../office.effective.features.booking.facade/-booking-facade-v1/index.md)) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/find-all-by-tag.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/find-all-by-tag.md new file mode 100644 index 000000000..b25db68e8 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/find-all-by-tag.md @@ -0,0 +1,26 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.workspace.facade](../index.md)/[WorkspaceFacadeV1](index.md)/[findAllByTag](find-all-by-tag.md) + +# findAllByTag + +[jvm]\ +fun [findAllByTag](find-all-by-tag.md)(tag: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), withBookingsFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null, withBookingsUntil: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md)> + +Returns all [WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md) with their bookings by tag + +#### Return + +List of [WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md) with their bookings + +#### Author + +Daniil Zavyalov + +#### Parameters + +jvm + +| | | +|---|---| +| tag | tag name of requested workspaces | +| withBookingsFrom | lower bound (exclusive) for a booking.endBooking to filter by. | +| withBookingsUntil | upper bound (exclusive) for a booking.beginBooking to filter by. | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/find-all-free-by-period.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/find-all-free-by-period.md new file mode 100644 index 000000000..5413c8b4f --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/find-all-free-by-period.md @@ -0,0 +1,32 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.workspace.facade](../index.md)/[WorkspaceFacadeV1](index.md)/[findAllFreeByPeriod](find-all-free-by-period.md) + +# findAllFreeByPeriod + +[jvm]\ +fun [findAllFreeByPeriod](find-all-free-by-period.md)(tag: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), beginTimestamp: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), endTimestamp: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md)> + +Returns all [Workspace](../../office.effective.model/-workspace/index.md)s with the given tag which are free during the given period + +#### Return + +List of [WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md) with the given [tag](find-all-free-by-period.md) + +#### Author + +Daniil Zavyalov + +#### Parameters + +jvm + +| | | +|---|---| +| tag | tag name of requested workspaces | +| beginTimestamp | period start time | +| endTimestamp | period end time | + +#### Throws + +| | | +|---|---| +| [ValidationException](../../office.effective.common.exception/-validation-exception/index.md) | if begin or end timestamp less than 0, greater than max timestamp or if end timestamp less than or equal to begin timestamp | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/find-all-zones.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/find-all-zones.md new file mode 100644 index 000000000..eecf95dc4 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/find-all-zones.md @@ -0,0 +1,16 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.workspace.facade](../index.md)/[WorkspaceFacadeV1](index.md)/[findAllZones](find-all-zones.md) + +# findAllZones + +[jvm]\ +fun [findAllZones](find-all-zones.md)(): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[WorkspaceZoneDTO](../../office.effective.dto/-workspace-zone-d-t-o/index.md)> + +Returns all workspace zones + +#### Return + +List of all [WorkspaceZoneDTO](../../office.effective.dto/-workspace-zone-d-t-o/index.md) + +#### Author + +Daniil Zavyalov diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/find-by-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/find-by-id.md new file mode 100644 index 000000000..b878120b6 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/find-by-id.md @@ -0,0 +1,30 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.workspace.facade](../index.md)/[WorkspaceFacadeV1](index.md)/[findById](find-by-id.md) + +# findById + +[jvm]\ +fun [findById](find-by-id.md)(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md) + +Retrieves a [WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md) by its id + +#### Return + +[WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md) with the given [id](find-by-id.md) + +#### Author + +Daniil Zavyalov + +#### Parameters + +jvm + +| | | +|---|---| +| id | id of requested workspace. Should be valid UUID | + +#### Throws + +| | | +|---|---| +| [InstanceNotFoundException](../../office.effective.common.exception/-instance-not-found-exception/index.md) | if workspace with the given id doesn't exist in database | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/index.md new file mode 100644 index 000000000..f94cd0312 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/index.md @@ -0,0 +1,25 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.features.workspace.facade](../index.md)/[WorkspaceFacadeV1](index.md) + +# WorkspaceFacadeV1 + +[jvm]\ +class [WorkspaceFacadeV1](index.md)(service: [IWorkspaceService](../../office.effective.serviceapi/-i-workspace-service/index.md), converter: [WorkspaceFacadeConverter](../../office.effective.features.workspace.converters/-workspace-facade-converter/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md), uuidValidator: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md), bookingFacade: [BookingFacadeV1](../../office.effective.features.booking.facade/-booking-facade-v1/index.md)) + +Class used in routes to handle workspaces requests. Provides business transaction, data conversion and validation. + +In case of an error, the database transaction will be rolled back. + +## Constructors + +| | | +|---|---| +| [WorkspaceFacadeV1](-workspace-facade-v1.md) | [jvm]
constructor(service: [IWorkspaceService](../../office.effective.serviceapi/-i-workspace-service/index.md), converter: [WorkspaceFacadeConverter](../../office.effective.features.workspace.converters/-workspace-facade-converter/index.md), transactionManager: [DatabaseTransactionManager](../../office.effective.common.utils/-database-transaction-manager/index.md), uuidValidator: [UuidValidator](../../office.effective.common.utils/-uuid-validator/index.md), bookingFacade: [BookingFacadeV1](../../office.effective.features.booking.facade/-booking-facade-v1/index.md)) | + +## Functions + +| Name | Summary | +|---|---| +| [findAllByTag](find-all-by-tag.md) | [jvm]
fun [findAllByTag](find-all-by-tag.md)(tag: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), withBookingsFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null, withBookingsUntil: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md)>
Returns all [WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md) with their bookings by tag | +| [findAllFreeByPeriod](find-all-free-by-period.md) | [jvm]
fun [findAllFreeByPeriod](find-all-free-by-period.md)(tag: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), beginTimestamp: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), endTimestamp: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md)>
Returns all [Workspace](../../office.effective.model/-workspace/index.md)s with the given tag which are free during the given period | +| [findAllZones](find-all-zones.md) | [jvm]
fun [findAllZones](find-all-zones.md)(): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[WorkspaceZoneDTO](../../office.effective.dto/-workspace-zone-d-t-o/index.md)>
Returns all workspace zones | +| [findById](find-by-id.md) | [jvm]
fun [findById](find-by-id.md)(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md)
Retrieves a [WorkspaceDTO](../../office.effective.dto/-workspace-d-t-o/index.md) by its id | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/index.md index ea6ff51be..c65894430 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.facade/index.md @@ -7,3 +7,4 @@ | Name | Summary | |---|---| | [WorkspaceFacade](-workspace-facade/index.md) | [jvm]
class [WorkspaceFacade](-workspace-facade/index.md)(service: [IWorkspaceService](../office.effective.serviceapi/-i-workspace-service/index.md), converter: [WorkspaceFacadeConverter](../office.effective.features.workspace.converters/-workspace-facade-converter/index.md), transactionManager: [DatabaseTransactionManager](../office.effective.common.utils/-database-transaction-manager/index.md), uuidValidator: [UuidValidator](../office.effective.common.utils/-uuid-validator/index.md))
Class used in routes to handle workspaces requests. Provides business transaction, data conversion and validation. | +| [WorkspaceFacadeV1](-workspace-facade-v1/index.md) | [jvm]
class [WorkspaceFacadeV1](-workspace-facade-v1/index.md)(service: [IWorkspaceService](../office.effective.serviceapi/-i-workspace-service/index.md), converter: [WorkspaceFacadeConverter](../office.effective.features.workspace.converters/-workspace-facade-converter/index.md), transactionManager: [DatabaseTransactionManager](../office.effective.common.utils/-database-transaction-manager/index.md), uuidValidator: [UuidValidator](../office.effective.common.utils/-uuid-validator/index.md), bookingFacade: [BookingFacadeV1](../office.effective.features.booking.facade/-booking-facade-v1/index.md))
Class used in routes to handle workspaces requests. Provides business transaction, data conversion and validation. | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.routes/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.routes/index.md index 7415783a1..f8d20f93c 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.routes/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.routes/index.md @@ -7,3 +7,4 @@ | Name | Summary | |---|---| | [workspaceRouting](workspace-routing.md) | [jvm]
fun Route.[workspaceRouting](workspace-routing.md)() | +| [workspaceRoutingV1](workspace-routing-v1.md) | [jvm]
fun Route.[workspaceRoutingV1](workspace-routing-v1.md)() | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.routes/workspace-routing-v1.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.routes/workspace-routing-v1.md new file mode 100644 index 000000000..7e7548812 --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.routes/workspace-routing-v1.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../index.md)/[office.effective.features.workspace.routes](index.md)/[workspaceRoutingV1](workspace-routing-v1.md) + +# workspaceRoutingV1 + +[jvm]\ +fun Route.[workspaceRoutingV1](workspace-routing-v1.md)() diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.service/-workspace-service/-workspace-service.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.service/-workspace-service/-workspace-service.md index 3a2501f67..0fd0f2e7d 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.service/-workspace-service/-workspace-service.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.service/-workspace-service/-workspace-service.md @@ -3,4 +3,4 @@ # WorkspaceService [jvm]\ -constructor(repository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md)) +constructor(workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md)) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.service/-workspace-service/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.service/-workspace-service/index.md index 04c685cdc..44c53a90c 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.service/-workspace-service/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.service/-workspace-service/index.md @@ -3,7 +3,7 @@ # WorkspaceService [jvm]\ -class [WorkspaceService](index.md)(repository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md)) : [IWorkspaceService](../../office.effective.serviceapi/-i-workspace-service/index.md) +class [WorkspaceService](index.md)(workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md)) : [IWorkspaceService](../../office.effective.serviceapi/-i-workspace-service/index.md) Class that implements the [IWorkspaceService](../../office.effective.serviceapi/-i-workspace-service/index.md) methods @@ -11,7 +11,7 @@ Class that implements the [IWorkspaceService](../../office.effective.serviceapi/ | | | |---|---| -| [WorkspaceService](-workspace-service.md) | [jvm]
constructor(repository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md)) | +| [WorkspaceService](-workspace-service.md) | [jvm]
constructor(workspaceRepository: [WorkspaceRepository](../../office.effective.features.workspace.repository/-workspace-repository/index.md)) | ## Functions diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.service/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.service/index.md index 0146b9a0a..661c43790 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.service/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.features.workspace.service/index.md @@ -6,4 +6,4 @@ | Name | Summary | |---|---| -| [WorkspaceService](-workspace-service/index.md) | [jvm]
class [WorkspaceService](-workspace-service/index.md)(repository: [WorkspaceRepository](../office.effective.features.workspace.repository/-workspace-repository/index.md)) : [IWorkspaceService](../office.effective.serviceapi/-i-workspace-service/index.md)
Class that implements the [IWorkspaceService](../office.effective.serviceapi/-i-workspace-service/index.md) methods | +| [WorkspaceService](-workspace-service/index.md) | [jvm]
class [WorkspaceService](-workspace-service/index.md)(workspaceRepository: [WorkspaceRepository](../office.effective.features.workspace.repository/-workspace-repository/index.md)) : [IWorkspaceService](../office.effective.serviceapi/-i-workspace-service/index.md)
Class that implements the [IWorkspaceService](../office.effective.serviceapi/-i-workspace-service/index.md) methods | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-booking/-booking.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-booking/-booking.md index 0687427de..52f12ac90 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-booking/-booking.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-booking/-booking.md @@ -3,4 +3,4 @@ # Booking [jvm]\ -constructor(owner: [UserModel](../-user-model/index.md), participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserModel](../-user-model/index.md)>, workspace: [Workspace](../-workspace/index.md), id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, beginBooking: [Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html), endBooking: [Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html), recurrence: [RecurrenceModel](../-recurrence-model/index.md)?) +constructor(owner: [UserModel](../-user-model/index.md)?, participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserModel](../-user-model/index.md)>, workspace: [Workspace](../-workspace/index.md), id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, beginBooking: [Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html), endBooking: [Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html), recurrence: [RecurrenceModel](../-recurrence-model/index.md)?, recurringBookingId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null) diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-booking/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-booking/index.md index 3da18bef0..5ee97283e 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-booking/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-booking/index.md @@ -3,13 +3,13 @@ # Booking [jvm]\ -data class [Booking](index.md)(var owner: [UserModel](../-user-model/index.md), var participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserModel](../-user-model/index.md)>, var workspace: [Workspace](../-workspace/index.md), var id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, var beginBooking: [Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html), var endBooking: [Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html), var recurrence: [RecurrenceModel](../-recurrence-model/index.md)?) +data class [Booking](index.md)(var owner: [UserModel](../-user-model/index.md)?, var participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserModel](../-user-model/index.md)>, var workspace: [Workspace](../-workspace/index.md), var id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, var beginBooking: [Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html), var endBooking: [Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html), var recurrence: [RecurrenceModel](../-recurrence-model/index.md)?, val recurringBookingId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null) ## Constructors | | | |---|---| -| [Booking](-booking.md) | [jvm]
constructor(owner: [UserModel](../-user-model/index.md), participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserModel](../-user-model/index.md)>, workspace: [Workspace](../-workspace/index.md), id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, beginBooking: [Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html), endBooking: [Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html), recurrence: [RecurrenceModel](../-recurrence-model/index.md)?) | +| [Booking](-booking.md) | [jvm]
constructor(owner: [UserModel](../-user-model/index.md)?, participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserModel](../-user-model/index.md)>, workspace: [Workspace](../-workspace/index.md), id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, beginBooking: [Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html), endBooking: [Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html), recurrence: [RecurrenceModel](../-recurrence-model/index.md)?, recurringBookingId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null) | ## Properties @@ -18,7 +18,8 @@ data class [Booking](index.md)(var owner: [UserModel](../-user-model/index.md), | [beginBooking](begin-booking.md) | [jvm]
var [beginBooking](begin-booking.md): [Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html) | | [endBooking](end-booking.md) | [jvm]
var [endBooking](end-booking.md): [Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html) | | [id](id.md) | [jvm]
var [id](id.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? | -| [owner](owner.md) | [jvm]
var [owner](owner.md): [UserModel](../-user-model/index.md) | +| [owner](owner.md) | [jvm]
var [owner](owner.md): [UserModel](../-user-model/index.md)? | | [participants](participants.md) | [jvm]
var [participants](participants.md): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserModel](../-user-model/index.md)> | | [recurrence](recurrence.md) | [jvm]
var [recurrence](recurrence.md): [RecurrenceModel](../-recurrence-model/index.md)? | +| [recurringBookingId](recurring-booking-id.md) | [jvm]
val [recurringBookingId](recurring-booking-id.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null | | [workspace](workspace.md) | [jvm]
var [workspace](workspace.md): [Workspace](../-workspace/index.md) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-booking/owner.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-booking/owner.md index 4eefe47c5..e982a675d 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-booking/owner.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-booking/owner.md @@ -3,4 +3,4 @@ # owner [jvm]\ -var [owner](owner.md): [UserModel](../-user-model/index.md) +var [owner](owner.md): [UserModel](../-user-model/index.md)? diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-booking/recurring-booking-id.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-booking/recurring-booking-id.md new file mode 100644 index 000000000..96a3ab95f --- /dev/null +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/-booking/recurring-booking-id.md @@ -0,0 +1,6 @@ +//[com.backend.effectiveoffice](../../../index.md)/[office.effective.model](../index.md)/[Booking](index.md)/[recurringBookingId](recurring-booking-id.md) + +# recurringBookingId + +[jvm]\ +val [recurringBookingId](recurring-booking-id.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/index.md index 2c2c21dea..a1a07bf20 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.model/index.md @@ -6,7 +6,7 @@ | Name | Summary | |---|---| -| [Booking](-booking/index.md) | [jvm]
data class [Booking](-booking/index.md)(var owner: [UserModel](-user-model/index.md), var participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserModel](-user-model/index.md)>, var workspace: [Workspace](-workspace/index.md), var id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, var beginBooking: [Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html), var endBooking: [Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html), var recurrence: [RecurrenceModel](-recurrence-model/index.md)?) | +| [Booking](-booking/index.md) | [jvm]
data class [Booking](-booking/index.md)(var owner: [UserModel](-user-model/index.md)?, var participants: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[UserModel](-user-model/index.md)>, var workspace: [Workspace](-workspace/index.md), var id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, var beginBooking: [Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html), var endBooking: [Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html), var recurrence: [RecurrenceModel](-recurrence-model/index.md)?, val recurringBookingId: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null) | | [Ending](-ending/index.md) | [jvm]
sealed class [Ending](-ending/index.md) | | [Freq](-freq/index.md) | [jvm]
enum [Freq](-freq/index.md) : [Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)<[Freq](-freq/index.md)> | | [IntegrationModel](-integration-model/index.md) | [jvm]
data class [IntegrationModel](-integration-model/index.md)(var id: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)?, var name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), var valueStr: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), var iconUrl: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.serviceapi/-i-booking-service/find-all.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.serviceapi/-i-booking-service/find-all.md index 74489b760..48d8f625b 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.serviceapi/-i-booking-service/find-all.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.serviceapi/-i-booking-service/find-all.md @@ -3,7 +3,7 @@ # findAll [jvm]\ -abstract fun [findAll](find-all.md)(userId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)? = null, workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)? = null, bookingRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null, bookingRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> +abstract fun [findAll](find-all.md)(userId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)? = null, workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)? = null, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true, bookingRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null, bookingRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)> Returns all bookings. Bookings can be filtered by owner and workspace id @@ -19,6 +19,7 @@ jvm |---|---| | userId | use to filter by booking owner id | | workspaceId | use to filter by booking workspace id | +| returnInstances | return recurring bookings as non-recurrent instances | | bookingRangeTo | upper bound (exclusive) for a beginBooking to filter by. Optional. | | bookingRangeFrom | lower bound (exclusive) for a endBooking to filter by. | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.serviceapi/-i-booking-service/index.md b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.serviceapi/-i-booking-service/index.md index 2eea7e470..a1997b3a8 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.serviceapi/-i-booking-service/index.md +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/office.effective.serviceapi/-i-booking-service/index.md @@ -18,7 +18,7 @@ Interface that provides methods for manipulating [Booking](../../office.effectiv |---|---| | [deleteById](delete-by-id.md) | [jvm]
abstract fun [deleteById](delete-by-id.md)(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))
Deletes the booking with the given id | | [existsById](exists-by-id.md) | [jvm]
abstract fun [existsById](exists-by-id.md)(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Returns whether a booking with the given id exists | -| [findAll](find-all.md) | [jvm]
abstract fun [findAll](find-all.md)(userId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)? = null, workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)? = null, bookingRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null, bookingRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings. Bookings can be filtered by owner and workspace id | +| [findAll](find-all.md) | [jvm]
abstract fun [findAll](find-all.md)(userId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)? = null, workspaceId: [UUID](https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html)? = null, returnInstances: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true, bookingRangeTo: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null, bookingRangeFrom: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[Booking](../../office.effective.model/-booking/index.md)>
Returns all bookings. Bookings can be filtered by owner and workspace id | | [findById](find-by-id.md) | [jvm]
abstract fun [findById](find-by-id.md)(id: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [Booking](../../office.effective.model/-booking/index.md)?
Retrieves a booking model by its id | | [save](save.md) | [jvm]
abstract fun [save](save.md)(booking: [Booking](../../office.effective.model/-booking/index.md)): [Booking](../../office.effective.model/-booking/index.md)
Saves a given booking. Use the returned model for further operations | | [update](update.md) | [jvm]
abstract fun [update](update.md)(booking: [Booking](../../office.effective.model/-booking/index.md)): [Booking](../../office.effective.model/-booking/index.md)
Updates a given booking. Use the returned model for further operations | diff --git a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/package-list b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/package-list index 37af2d945..cce60d32d 100644 --- a/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/package-list +++ b/effectiveOfficeBackend/documentation/gfm/com.backend.effectiveoffice/package-list @@ -15,9 +15,10 @@ $dokka.location:office.effective.common.constants////PointingToDeclaration/com. $dokka.location:office.effective.common.constants/BookingConstants///PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/index.md $dokka.location:office.effective.common.constants/BookingConstants/DEFAULT_CALENDAR/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-d-e-f-a-u-l-t_-c-a-l-e-n-d-a-r.md $dokka.location:office.effective.common.constants/BookingConstants/DEFAULT_TIMEZONE_ID/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-i-d.md +$dokka.location:office.effective.common.constants/BookingConstants/DEFAULT_TIMEZONE_OFFSET_MILLIS/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-d-e-f-a-u-l-t_-t-i-m-e-z-o-n-e_-o-f-f-s-e-t_-m-i-l-l-i-s.md $dokka.location:office.effective.common.constants/BookingConstants/MIN_SEARCH_START_TIME/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-m-i-n_-s-e-a-r-c-h_-s-t-a-r-t_-t-i-m-e.md +$dokka.location:office.effective.common.constants/BookingConstants/REGULAR_WORKSPACES_CALENDAR/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-r-e-g-u-l-a-r_-w-o-r-k-s-p-a-c-e-s_-c-a-l-e-n-d-a-r.md $dokka.location:office.effective.common.constants/BookingConstants/UNTIL_FORMAT/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-u-n-t-i-l_-f-o-r-m-a-t.md -$dokka.location:office.effective.common.constants/BookingConstants/WORKSPACE_CALENDAR/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.constants/-booking-constants/-w-o-r-k-s-p-a-c-e_-c-a-l-e-n-d-a-r.md $dokka.location:office.effective.common.di////PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.di/index.md $dokka.location:office.effective.common.di//calendarDiModule/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.di/calendar-di-module.md $dokka.location:office.effective.common.di//commonDiModule/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.common.di/common-di-module.md @@ -69,6 +70,24 @@ $dokka.location:office.effective.dto/BookingDTO/owner/#/PointingToDeclaration/c $dokka.location:office.effective.dto/BookingDTO/participants/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-d-t-o/participants.md $dokka.location:office.effective.dto/BookingDTO/recurrence/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-d-t-o/recurrence.md $dokka.location:office.effective.dto/BookingDTO/workspace/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-d-t-o/workspace.md +$dokka.location:office.effective.dto/BookingRequestDTO///PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/index.md +$dokka.location:office.effective.dto/BookingRequestDTO/BookingRequestDTO/#kotlin.String?#kotlin.collections.List[kotlin.String]#kotlin.String#kotlin.Long#kotlin.Long#model.RecurrenceDTO?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/-booking-request-d-t-o.md +$dokka.location:office.effective.dto/BookingRequestDTO/beginBooking/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/begin-booking.md +$dokka.location:office.effective.dto/BookingRequestDTO/endBooking/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/end-booking.md +$dokka.location:office.effective.dto/BookingRequestDTO/ownerEmail/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/owner-email.md +$dokka.location:office.effective.dto/BookingRequestDTO/participantEmails/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/participant-emails.md +$dokka.location:office.effective.dto/BookingRequestDTO/recurrence/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/recurrence.md +$dokka.location:office.effective.dto/BookingRequestDTO/workspaceId/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-request-d-t-o/workspace-id.md +$dokka.location:office.effective.dto/BookingResponseDTO///PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/index.md +$dokka.location:office.effective.dto/BookingResponseDTO/BookingResponseDTO/#office.effective.dto.UserDTO?#kotlin.collections.List[office.effective.dto.UserDTO]#office.effective.dto.WorkspaceDTO#kotlin.String#kotlin.Long#kotlin.Long#model.RecurrenceDTO?#kotlin.String?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/-booking-response-d-t-o.md +$dokka.location:office.effective.dto/BookingResponseDTO/beginBooking/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/begin-booking.md +$dokka.location:office.effective.dto/BookingResponseDTO/endBooking/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/end-booking.md +$dokka.location:office.effective.dto/BookingResponseDTO/id/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/id.md +$dokka.location:office.effective.dto/BookingResponseDTO/owner/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/owner.md +$dokka.location:office.effective.dto/BookingResponseDTO/participants/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/participants.md +$dokka.location:office.effective.dto/BookingResponseDTO/recurrence/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/recurrence.md +$dokka.location:office.effective.dto/BookingResponseDTO/recurringBookingId/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/recurring-booking-id.md +$dokka.location:office.effective.dto/BookingResponseDTO/workspace/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-booking-response-d-t-o/workspace.md $dokka.location:office.effective.dto/IntegrationDTO///PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-integration-d-t-o/index.md $dokka.location:office.effective.dto/IntegrationDTO/IntegrationDTO/#kotlin.String#kotlin.String#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-integration-d-t-o/-integration-d-t-o.md $dokka.location:office.effective.dto/IntegrationDTO/id/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-integration-d-t-o/id.md @@ -91,7 +110,8 @@ $dokka.location:office.effective.dto/UtilityDTO/iconUrl/#/PointingToDeclaration/ $dokka.location:office.effective.dto/UtilityDTO/id/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-utility-d-t-o/id.md $dokka.location:office.effective.dto/UtilityDTO/name/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-utility-d-t-o/name.md $dokka.location:office.effective.dto/WorkspaceDTO///PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-workspace-d-t-o/index.md -$dokka.location:office.effective.dto/WorkspaceDTO/WorkspaceDTO/#kotlin.String#kotlin.String#kotlin.collections.List[office.effective.dto.UtilityDTO]#office.effective.dto.WorkspaceZoneDTO?#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-workspace-d-t-o/-workspace-d-t-o.md +$dokka.location:office.effective.dto/WorkspaceDTO/WorkspaceDTO/#kotlin.String#kotlin.String#kotlin.collections.List[office.effective.dto.UtilityDTO]#office.effective.dto.WorkspaceZoneDTO?#kotlin.String#kotlin.collections.List[office.effective.dto.BookingResponseDTO]?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-workspace-d-t-o/-workspace-d-t-o.md +$dokka.location:office.effective.dto/WorkspaceDTO/bookings/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-workspace-d-t-o/bookings.md $dokka.location:office.effective.dto/WorkspaceDTO/id/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-workspace-d-t-o/id.md $dokka.location:office.effective.dto/WorkspaceDTO/name/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-workspace-d-t-o/name.md $dokka.location:office.effective.dto/WorkspaceDTO/tag/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.dto/-workspace-d-t-o/tag.md @@ -143,20 +163,23 @@ $dokka.location:office.effective.features.auth.service/TokenExtractor///Pointing $dokka.location:office.effective.features.auth.service/TokenExtractor/TokenExtractor/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-token-extractor/-token-extractor.md $dokka.location:office.effective.features.auth.service/TokenExtractor/extractToken/#io.ktor.server.application.ApplicationCall/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.auth.service/-token-extractor/extract-token.md $dokka.location:office.effective.features.booking.converters////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/index.md -$dokka.location:office.effective.features.booking.converters/BookingFacadeConverter///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-facade-converter/index.md -$dokka.location:office.effective.features.booking.converters/BookingFacadeConverter/BookingFacadeConverter/#office.effective.features.user.converters.UserDTOModelConverter#office.effective.features.workspace.converters.WorkspaceFacadeConverter/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-facade-converter/-booking-facade-converter.md -$dokka.location:office.effective.features.booking.converters/BookingFacadeConverter/dtoToModel/#office.effective.dto.BookingDTO/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-facade-converter/dto-to-model.md -$dokka.location:office.effective.features.booking.converters/BookingFacadeConverter/modelToDto/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-facade-converter/model-to-dto.md +$dokka.location:office.effective.features.booking.converters//toGoogleDateTime/kotlin.Long#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/to-google-date-time.md +$dokka.location:office.effective.features.booking.converters/BookingDtoModelConverter///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/index.md +$dokka.location:office.effective.features.booking.converters/BookingDtoModelConverter/BookingDtoModelConverter/#office.effective.features.user.converters.UserDTOModelConverter#office.effective.features.workspace.converters.WorkspaceFacadeConverter#office.effective.features.user.repository.UserRepository#office.effective.features.workspace.repository.WorkspaceRepository#office.effective.common.utils.UuidValidator/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/-booking-dto-model-converter.md +$dokka.location:office.effective.features.booking.converters/BookingDtoModelConverter/dtoToModel/#office.effective.dto.BookingDTO/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/dto-to-model.md +$dokka.location:office.effective.features.booking.converters/BookingDtoModelConverter/modelToDto/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/model-to-dto.md +$dokka.location:office.effective.features.booking.converters/BookingDtoModelConverter/modelToResponseDto/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/model-to-response-dto.md +$dokka.location:office.effective.features.booking.converters/BookingDtoModelConverter/requestDtoToModel/#office.effective.dto.BookingRequestDTO#kotlin.String?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-dto-model-converter/request-dto-to-model.md $dokka.location:office.effective.features.booking.converters/BookingRepositoryConverter///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-repository-converter/index.md $dokka.location:office.effective.features.booking.converters/BookingRepositoryConverter/BookingRepositoryConverter/#org.ktorm.database.Database#office.effective.features.workspace.converters.WorkspaceRepositoryConverter#office.effective.features.user.converters.UserModelEntityConverter#office.effective.common.utils.UuidValidator/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-repository-converter/-booking-repository-converter.md $dokka.location:office.effective.features.booking.converters/BookingRepositoryConverter/entityToModel/#office.effective.features.booking.repository.WorkspaceBookingEntity#kotlin.collections.List[office.effective.features.user.repository.UserEntity]/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-repository-converter/entity-to-model.md $dokka.location:office.effective.features.booking.converters/BookingRepositoryConverter/modelToEntity/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-booking-repository-converter/model-to-entity.md $dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/index.md -$dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter/GoogleCalendarConverter/#office.effective.features.calendar.repository.CalendarIdsRepository#office.effective.features.user.repository.UserRepository#office.effective.features.workspace.converters.WorkspaceFacadeConverter#office.effective.features.user.converters.UserDTOModelConverter#office.effective.features.booking.converters.BookingFacadeConverter#office.effective.common.utils.UuidValidator#office.effective.features.workspace.repository.WorkspaceRepository/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/-google-calendar-converter.md -$dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter/toBookingModelForMeetingWorkspace/#com.google.api.services.calendar.model.Event/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-booking-model-for-meeting-workspace.md +$dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter/GoogleCalendarConverter/#office.effective.features.calendar.repository.CalendarIdsRepository#office.effective.features.user.repository.UserRepository#office.effective.common.utils.UuidValidator#office.effective.features.workspace.repository.WorkspaceRepository/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/-google-calendar-converter.md $dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter/toGoogleWorkspaceMeetingEvent/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-meeting-event.md $dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter/toGoogleWorkspaceRegularEvent/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-google-workspace-regular-event.md -$dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter/toWorkspaceBooking/#com.google.api.services.calendar.model.Event/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-workspace-booking.md +$dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter/toMeetingWorkspaceBooking/#com.google.api.services.calendar.model.Event#office.effective.model.UserModel?#office.effective.model.Workspace?#kotlin.collections.List[office.effective.model.UserModel]?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-meeting-workspace-booking.md +$dokka.location:office.effective.features.booking.converters/GoogleCalendarConverter/toRegularWorkspaceBooking/#com.google.api.services.calendar.model.Event#office.effective.model.UserModel?#office.effective.model.Workspace?#kotlin.collections.List[office.effective.model.UserModel]?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-google-calendar-converter/to-regular-workspace-booking.md $dokka.location:office.effective.features.booking.converters/RecurrenceConverter///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-converter/index.md $dokka.location:office.effective.features.booking.converters/RecurrenceConverter/dtoToModel/#model.RecurrenceDTO/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-converter/dto-to-model.md $dokka.location:office.effective.features.booking.converters/RecurrenceConverter/modelToDto/#office.effective.model.RecurrenceModel/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.converters/-recurrence-converter/model-to-dto.md @@ -168,12 +191,19 @@ $dokka.location:office.effective.features.booking.di////PointingToDeclaration/c $dokka.location:office.effective.features.booking.di//bookingDiModule/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.di/booking-di-module.md $dokka.location:office.effective.features.booking.facade////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.facade/index.md $dokka.location:office.effective.features.booking.facade/BookingFacade///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade/index.md -$dokka.location:office.effective.features.booking.facade/BookingFacade/BookingFacade/#office.effective.serviceapi.IBookingService#office.effective.common.utils.DatabaseTransactionManager#office.effective.common.utils.UuidValidator#office.effective.features.booking.converters.BookingFacadeConverter/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade/-booking-facade.md +$dokka.location:office.effective.features.booking.facade/BookingFacade/BookingFacade/#office.effective.serviceapi.IBookingService#office.effective.common.utils.DatabaseTransactionManager#office.effective.common.utils.UuidValidator#office.effective.features.booking.converters.BookingDtoModelConverter/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade/-booking-facade.md $dokka.location:office.effective.features.booking.facade/BookingFacade/deleteById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade/delete-by-id.md $dokka.location:office.effective.features.booking.facade/BookingFacade/findAll/#kotlin.String?#kotlin.String?#kotlin.Long?#kotlin.Long/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade/find-all.md $dokka.location:office.effective.features.booking.facade/BookingFacade/findById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade/find-by-id.md $dokka.location:office.effective.features.booking.facade/BookingFacade/post/#office.effective.dto.BookingDTO/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade/post.md $dokka.location:office.effective.features.booking.facade/BookingFacade/put/#office.effective.dto.BookingDTO/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade/put.md +$dokka.location:office.effective.features.booking.facade/BookingFacadeV1///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/index.md +$dokka.location:office.effective.features.booking.facade/BookingFacadeV1/BookingFacadeV1/#office.effective.serviceapi.IBookingService#office.effective.common.utils.DatabaseTransactionManager#office.effective.common.utils.UuidValidator#office.effective.features.booking.converters.BookingDtoModelConverter/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/-booking-facade-v1.md +$dokka.location:office.effective.features.booking.facade/BookingFacadeV1/deleteById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/delete-by-id.md +$dokka.location:office.effective.features.booking.facade/BookingFacadeV1/findAll/#kotlin.String?#kotlin.String?#kotlin.Long?#kotlin.Long#kotlin.Boolean/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/find-all.md +$dokka.location:office.effective.features.booking.facade/BookingFacadeV1/findById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/find-by-id.md +$dokka.location:office.effective.features.booking.facade/BookingFacadeV1/post/#office.effective.dto.BookingRequestDTO/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/post.md +$dokka.location:office.effective.features.booking.facade/BookingFacadeV1/put/#office.effective.dto.BookingRequestDTO#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.facade/-booking-facade-v1/put.md $dokka.location:office.effective.features.booking.repository////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/index.md $dokka.location:office.effective.features.booking.repository//bookingParticipants/org.ktorm.database.Database#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/booking-participants.md $dokka.location:office.effective.features.booking.repository//workspaceBooking/org.ktorm.database.Database#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/workspace-booking.md @@ -181,10 +211,10 @@ $dokka.location:office.effective.features.booking.repository/BookingMeetingRepos $dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/BookingMeetingRepository/#office.effective.features.calendar.repository.CalendarIdsRepository#office.effective.features.user.repository.UserRepository#com.google.api.services.calendar.Calendar#office.effective.features.booking.converters.GoogleCalendarConverter/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/-booking-meeting-repository.md $dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/deleteById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/delete-by-id.md $dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/existsById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/exists-by-id.md -$dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/findAll/#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all.md -$dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/findAllByOwnerAndWorkspaceId/#java.util.UUID#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-owner-and-workspace-id.md -$dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/findAllByOwnerId/#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-owner-id.md -$dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/findAllByWorkspaceId/#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-workspace-id.md +$dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/findAll/#kotlin.Long#kotlin.Long?#kotlin.Boolean/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all.md +$dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/findAllByOwnerAndWorkspaceId/#java.util.UUID#java.util.UUID#kotlin.Long#kotlin.Long?#kotlin.Boolean/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-owner-and-workspace-id.md +$dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/findAllByOwnerId/#java.util.UUID#kotlin.Long#kotlin.Long?#kotlin.Boolean/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-owner-id.md +$dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/findAllByWorkspaceId/#java.util.UUID#kotlin.Long#kotlin.Long?#kotlin.Boolean/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-all-by-workspace-id.md $dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/findById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/find-by-id.md $dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/save/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/save.md $dokka.location:office.effective.features.booking.repository/BookingMeetingRepository/update/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-meeting-repository/update.md @@ -196,13 +226,13 @@ $dokka.location:office.effective.features.booking.repository/BookingParticipants $dokka.location:office.effective.features.booking.repository/BookingParticipants/bookingId/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-participants/booking-id.md $dokka.location:office.effective.features.booking.repository/BookingParticipants/userId/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-participants/user-id.md $dokka.location:office.effective.features.booking.repository/BookingRegularRepository///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/index.md -$dokka.location:office.effective.features.booking.repository/BookingRegularRepository/BookingRegularRepository/#com.google.api.services.calendar.Calendar#office.effective.features.booking.converters.GoogleCalendarConverter#office.effective.features.workspace.repository.WorkspaceRepository#office.effective.features.user.repository.UserRepository/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/-booking-regular-repository.md +$dokka.location:office.effective.features.booking.repository/BookingRegularRepository/BookingRegularRepository/#com.google.api.services.calendar.Calendar#office.effective.features.booking.converters.GoogleCalendarConverter/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/-booking-regular-repository.md $dokka.location:office.effective.features.booking.repository/BookingRegularRepository/deleteById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/delete-by-id.md $dokka.location:office.effective.features.booking.repository/BookingRegularRepository/existsById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/exists-by-id.md -$dokka.location:office.effective.features.booking.repository/BookingRegularRepository/findAll/#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all.md -$dokka.location:office.effective.features.booking.repository/BookingRegularRepository/findAllByOwnerAndWorkspaceId/#java.util.UUID#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-owner-and-workspace-id.md -$dokka.location:office.effective.features.booking.repository/BookingRegularRepository/findAllByOwnerId/#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-owner-id.md -$dokka.location:office.effective.features.booking.repository/BookingRegularRepository/findAllByWorkspaceId/#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-workspace-id.md +$dokka.location:office.effective.features.booking.repository/BookingRegularRepository/findAll/#kotlin.Long#kotlin.Long?#kotlin.Boolean/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all.md +$dokka.location:office.effective.features.booking.repository/BookingRegularRepository/findAllByOwnerAndWorkspaceId/#java.util.UUID#java.util.UUID#kotlin.Long#kotlin.Long?#kotlin.Boolean/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-owner-and-workspace-id.md +$dokka.location:office.effective.features.booking.repository/BookingRegularRepository/findAllByOwnerId/#java.util.UUID#kotlin.Long#kotlin.Long?#kotlin.Boolean/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-owner-id.md +$dokka.location:office.effective.features.booking.repository/BookingRegularRepository/findAllByWorkspaceId/#java.util.UUID#kotlin.Long#kotlin.Long?#kotlin.Boolean/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-all-by-workspace-id.md $dokka.location:office.effective.features.booking.repository/BookingRegularRepository/findById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/find-by-id.md $dokka.location:office.effective.features.booking.repository/BookingRegularRepository/save/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/save.md $dokka.location:office.effective.features.booking.repository/BookingRegularRepository/update/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-booking-regular-repository/update.md @@ -220,10 +250,10 @@ $dokka.location:office.effective.features.booking.repository/BookingRepository/u $dokka.location:office.effective.features.booking.repository/IBookingRepository///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/index.md $dokka.location:office.effective.features.booking.repository/IBookingRepository/deleteById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/delete-by-id.md $dokka.location:office.effective.features.booking.repository/IBookingRepository/existsById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/exists-by-id.md -$dokka.location:office.effective.features.booking.repository/IBookingRepository/findAll/#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all.md -$dokka.location:office.effective.features.booking.repository/IBookingRepository/findAllByOwnerAndWorkspaceId/#java.util.UUID#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all-by-owner-and-workspace-id.md -$dokka.location:office.effective.features.booking.repository/IBookingRepository/findAllByOwnerId/#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all-by-owner-id.md -$dokka.location:office.effective.features.booking.repository/IBookingRepository/findAllByWorkspaceId/#java.util.UUID#kotlin.Long#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all-by-workspace-id.md +$dokka.location:office.effective.features.booking.repository/IBookingRepository/findAll/#kotlin.Long#kotlin.Long?#kotlin.Boolean/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all.md +$dokka.location:office.effective.features.booking.repository/IBookingRepository/findAllByOwnerAndWorkspaceId/#java.util.UUID#java.util.UUID#kotlin.Long#kotlin.Long?#kotlin.Boolean/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all-by-owner-and-workspace-id.md +$dokka.location:office.effective.features.booking.repository/IBookingRepository/findAllByOwnerId/#java.util.UUID#kotlin.Long#kotlin.Long?#kotlin.Boolean/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all-by-owner-id.md +$dokka.location:office.effective.features.booking.repository/IBookingRepository/findAllByWorkspaceId/#java.util.UUID#kotlin.Long#kotlin.Long?#kotlin.Boolean/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-all-by-workspace-id.md $dokka.location:office.effective.features.booking.repository/IBookingRepository/findById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/find-by-id.md $dokka.location:office.effective.features.booking.repository/IBookingRepository/save/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/save.md $dokka.location:office.effective.features.booking.repository/IBookingRepository/update/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-i-booking-repository/update.md @@ -242,12 +272,13 @@ $dokka.location:office.effective.features.booking.repository/WorkspaceBookingEnt $dokka.location:office.effective.features.booking.repository/WorkspaceBookingEntity/workspace/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.repository/-workspace-booking-entity/workspace.md $dokka.location:office.effective.features.booking.routes////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.routes/index.md $dokka.location:office.effective.features.booking.routes//bookingRouting/io.ktor.server.routing.Route#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.routes/booking-routing.md +$dokka.location:office.effective.features.booking.routes//bookingRoutingV1/io.ktor.server.routing.Route#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.routes/booking-routing-v1.md $dokka.location:office.effective.features.booking.service////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.service/index.md $dokka.location:office.effective.features.booking.service/BookingService///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/index.md $dokka.location:office.effective.features.booking.service/BookingService/BookingService/#office.effective.features.booking.repository.BookingMeetingRepository#office.effective.features.booking.repository.BookingRegularRepository#office.effective.features.user.repository.UserRepository#office.effective.features.workspace.repository.WorkspaceRepository/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/-booking-service.md $dokka.location:office.effective.features.booking.service/BookingService/deleteById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/delete-by-id.md $dokka.location:office.effective.features.booking.service/BookingService/existsById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/exists-by-id.md -$dokka.location:office.effective.features.booking.service/BookingService/findAll/#java.util.UUID?#java.util.UUID?#kotlin.Long?#kotlin.Long/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/find-all.md +$dokka.location:office.effective.features.booking.service/BookingService/findAll/#java.util.UUID?#java.util.UUID?#kotlin.Boolean#kotlin.Long?#kotlin.Long/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/find-all.md $dokka.location:office.effective.features.booking.service/BookingService/findById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/find-by-id.md $dokka.location:office.effective.features.booking.service/BookingService/save/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/save.md $dokka.location:office.effective.features.booking.service/BookingService/update/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.booking.service/-booking-service/update.md @@ -287,13 +318,13 @@ $dokka.location:office.effective.features.user.converters/UserModelEntityConvert $dokka.location:office.effective.features.user.di////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.di/index.md $dokka.location:office.effective.features.user.di//userDIModule/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.di/user-d-i-module.md $dokka.location:office.effective.features.user.facade////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/index.md -$dokka.location:office.effective.features.user.facade/UserFacade///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/index.md -$dokka.location:office.effective.features.user.facade/UserFacade/UserFacade/#office.effective.serviceapi.IUserService#office.effective.features.user.converters.UserDTOModelConverter#office.effective.common.utils.DatabaseTransactionManager/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/-user-facade.md -$dokka.location:office.effective.features.user.facade/UserFacade/getUserByEmail/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/get-user-by-email.md -$dokka.location:office.effective.features.user.facade/UserFacade/getUserById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/get-user-by-id.md -$dokka.location:office.effective.features.user.facade/UserFacade/getUsers/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/get-users.md -$dokka.location:office.effective.features.user.facade/UserFacade/getUsersByTag/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/get-users-by-tag.md -$dokka.location:office.effective.features.user.facade/UserFacade/updateUser/#office.effective.dto.UserDTO/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade/update-user.md +$dokka.location:office.effective.features.user.facade/UserFacadeV1///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/index.md +$dokka.location:office.effective.features.user.facade/UserFacadeV1/UserFacadeV1/#office.effective.serviceapi.IUserService#office.effective.features.user.converters.UserDTOModelConverter#office.effective.common.utils.DatabaseTransactionManager/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/-user-facade-v1.md +$dokka.location:office.effective.features.user.facade/UserFacadeV1/getUserByEmail/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/get-user-by-email.md +$dokka.location:office.effective.features.user.facade/UserFacadeV1/getUserById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/get-user-by-id.md +$dokka.location:office.effective.features.user.facade/UserFacadeV1/getUsers/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/get-users.md +$dokka.location:office.effective.features.user.facade/UserFacadeV1/getUsersByTag/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/get-users-by-tag.md +$dokka.location:office.effective.features.user.facade/UserFacadeV1/updateUser/#office.effective.dto.UserDTO/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.facade/-user-facade-v1/update-user.md $dokka.location:office.effective.features.user.repository////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.repository/index.md $dokka.location:office.effective.features.user.repository//integrations/org.ktorm.database.Database#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.repository/integrations.md $dokka.location:office.effective.features.user.repository//users/org.ktorm.database.Database#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.repository/users.md @@ -325,7 +356,7 @@ $dokka.location:office.effective.features.user.repository/UserRepository///Point $dokka.location:office.effective.features.user.repository/UserRepository/UserRepository/#org.ktorm.database.Database#office.effective.features.user.converters.UserModelEntityConverter#office.effective.features.user.converters.IntegrationModelEntityConverter/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/-user-repository.md $dokka.location:office.effective.features.user.repository/UserRepository/existsById/#java.util.UUID/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/exists-by-id.md $dokka.location:office.effective.features.user.repository/UserRepository/findAll/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-all.md -$dokka.location:office.effective.features.user.repository/UserRepository/findAllByEmail/#kotlin.collections.List[kotlin.String]/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-all-by-email.md +$dokka.location:office.effective.features.user.repository/UserRepository/findAllByEmails/#kotlin.collections.Collection[kotlin.String]/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-all-by-emails.md $dokka.location:office.effective.features.user.repository/UserRepository/findAllIntegrationsByUserIds/#kotlin.collections.Collection[java.util.UUID]/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-all-integrations-by-user-ids.md $dokka.location:office.effective.features.user.repository/UserRepository/findByEmail/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-by-email.md $dokka.location:office.effective.features.user.repository/UserRepository/findById/#java.util.UUID/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.repository/-user-repository/find-by-id.md @@ -355,6 +386,7 @@ $dokka.location:office.effective.features.user.repository/UsersTags/id/#/Pointin $dokka.location:office.effective.features.user.repository/UsersTags/name/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.repository/-users-tags/name.md $dokka.location:office.effective.features.user.routes////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.routes/index.md $dokka.location:office.effective.features.user.routes//userRouting/io.ktor.server.routing.Route#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.routes/user-routing.md +$dokka.location:office.effective.features.user.routes//userRoutingV1/io.ktor.server.routing.Route#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.routes/user-routing-v1.md $dokka.location:office.effective.features.user.service////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.service/index.md $dokka.location:office.effective.features.user.service/UserService///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.service/-user-service/index.md $dokka.location:office.effective.features.user.service/UserService/UserService/#office.effective.features.user.repository.UserRepository/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.user.service/-user-service/-user-service.md @@ -369,7 +401,7 @@ $dokka.location:office.effective.features.workspace.converters////PointingToDecl $dokka.location:office.effective.features.workspace.converters/WorkspaceFacadeConverter///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.converters/-workspace-facade-converter/index.md $dokka.location:office.effective.features.workspace.converters/WorkspaceFacadeConverter/WorkspaceFacadeConverter/#office.effective.common.utils.UuidValidator/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.converters/-workspace-facade-converter/-workspace-facade-converter.md $dokka.location:office.effective.features.workspace.converters/WorkspaceFacadeConverter/dtoToModel/#office.effective.dto.WorkspaceDTO/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.converters/-workspace-facade-converter/dto-to-model.md -$dokka.location:office.effective.features.workspace.converters/WorkspaceFacadeConverter/modelToDto/#office.effective.model.Workspace/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.converters/-workspace-facade-converter/model-to-dto.md +$dokka.location:office.effective.features.workspace.converters/WorkspaceFacadeConverter/modelToDto/#office.effective.model.Workspace#kotlin.collections.List[office.effective.dto.BookingResponseDTO]?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.converters/-workspace-facade-converter/model-to-dto.md $dokka.location:office.effective.features.workspace.converters/WorkspaceFacadeConverter/zoneModelToDto/#office.effective.model.WorkspaceZone/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.converters/-workspace-facade-converter/zone-model-to-dto.md $dokka.location:office.effective.features.workspace.converters/WorkspaceRepositoryConverter///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.converters/-workspace-repository-converter/index.md $dokka.location:office.effective.features.workspace.converters/WorkspaceRepositoryConverter/WorkspaceRepositoryConverter/#org.ktorm.database.Database/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.converters/-workspace-repository-converter/-workspace-repository-converter.md @@ -385,6 +417,12 @@ $dokka.location:office.effective.features.workspace.facade/WorkspaceFacade/findA $dokka.location:office.effective.features.workspace.facade/WorkspaceFacade/findAllFreeByPeriod/#kotlin.String#kotlin.Long#kotlin.Long/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade/find-all-free-by-period.md $dokka.location:office.effective.features.workspace.facade/WorkspaceFacade/findAllZones/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade/find-all-zones.md $dokka.location:office.effective.features.workspace.facade/WorkspaceFacade/findById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade/find-by-id.md +$dokka.location:office.effective.features.workspace.facade/WorkspaceFacadeV1///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/index.md +$dokka.location:office.effective.features.workspace.facade/WorkspaceFacadeV1/WorkspaceFacadeV1/#office.effective.serviceapi.IWorkspaceService#office.effective.features.workspace.converters.WorkspaceFacadeConverter#office.effective.common.utils.DatabaseTransactionManager#office.effective.common.utils.UuidValidator#office.effective.features.booking.facade.BookingFacadeV1/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/-workspace-facade-v1.md +$dokka.location:office.effective.features.workspace.facade/WorkspaceFacadeV1/findAllByTag/#kotlin.String#kotlin.Long?#kotlin.Long?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/find-all-by-tag.md +$dokka.location:office.effective.features.workspace.facade/WorkspaceFacadeV1/findAllFreeByPeriod/#kotlin.String#kotlin.Long#kotlin.Long/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/find-all-free-by-period.md +$dokka.location:office.effective.features.workspace.facade/WorkspaceFacadeV1/findAllZones/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/find-all-zones.md +$dokka.location:office.effective.features.workspace.facade/WorkspaceFacadeV1/findById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.facade/-workspace-facade-v1/find-by-id.md $dokka.location:office.effective.features.workspace.repository////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.repository/index.md $dokka.location:office.effective.features.workspace.repository//utilities/org.ktorm.database.Database#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.repository/utilities.md $dokka.location:office.effective.features.workspace.repository//workspaceTags/org.ktorm.database.Database#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.repository/workspace-tags.md @@ -449,6 +487,7 @@ $dokka.location:office.effective.features.workspace.repository/Workspaces/tagId/ $dokka.location:office.effective.features.workspace.repository/Workspaces/zoneId/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.repository/-workspaces/zone-id.md $dokka.location:office.effective.features.workspace.routes////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.routes/index.md $dokka.location:office.effective.features.workspace.routes//workspaceRouting/io.ktor.server.routing.Route#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.routes/workspace-routing.md +$dokka.location:office.effective.features.workspace.routes//workspaceRoutingV1/io.ktor.server.routing.Route#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.routes/workspace-routing-v1.md $dokka.location:office.effective.features.workspace.service////PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.service/index.md $dokka.location:office.effective.features.workspace.service/WorkspaceService///PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.service/-workspace-service/index.md $dokka.location:office.effective.features.workspace.service/WorkspaceService/WorkspaceService/#office.effective.features.workspace.repository.WorkspaceRepository/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.service/-workspace-service/-workspace-service.md @@ -458,13 +497,14 @@ $dokka.location:office.effective.features.workspace.service/WorkspaceService/fin $dokka.location:office.effective.features.workspace.service/WorkspaceService/findById/#java.util.UUID/PointingToDeclaration/com.backend.effectiveoffice/office.effective.features.workspace.service/-workspace-service/find-by-id.md $dokka.location:office.effective.model////PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/index.md $dokka.location:office.effective.model/Booking///PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-booking/index.md -$dokka.location:office.effective.model/Booking/Booking/#office.effective.model.UserModel#kotlin.collections.List[office.effective.model.UserModel]#office.effective.model.Workspace#kotlin.String?#java.time.Instant#java.time.Instant#office.effective.model.RecurrenceModel?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-booking/-booking.md +$dokka.location:office.effective.model/Booking/Booking/#office.effective.model.UserModel?#kotlin.collections.List[office.effective.model.UserModel]#office.effective.model.Workspace#kotlin.String?#java.time.Instant#java.time.Instant#office.effective.model.RecurrenceModel?#kotlin.String?/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-booking/-booking.md $dokka.location:office.effective.model/Booking/beginBooking/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-booking/begin-booking.md $dokka.location:office.effective.model/Booking/endBooking/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-booking/end-booking.md $dokka.location:office.effective.model/Booking/id/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-booking/id.md $dokka.location:office.effective.model/Booking/owner/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-booking/owner.md $dokka.location:office.effective.model/Booking/participants/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-booking/participants.md $dokka.location:office.effective.model/Booking/recurrence/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-booking/recurrence.md +$dokka.location:office.effective.model/Booking/recurringBookingId/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-booking/recurring-booking-id.md $dokka.location:office.effective.model/Booking/workspace/#/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-booking/workspace.md $dokka.location:office.effective.model/Ending.Count///PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-ending/-count/index.md $dokka.location:office.effective.model/Ending.Count/Count/#kotlin.Int/PointingToDeclaration/com.backend.effectiveoffice/office.effective.model/-ending/-count/-count.md @@ -557,7 +597,7 @@ $dokka.location:office.effective.serviceapi////PointingToDeclaration/com.backen $dokka.location:office.effective.serviceapi/IBookingService///PointingToDeclaration/com.backend.effectiveoffice/office.effective.serviceapi/-i-booking-service/index.md $dokka.location:office.effective.serviceapi/IBookingService/deleteById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.serviceapi/-i-booking-service/delete-by-id.md $dokka.location:office.effective.serviceapi/IBookingService/existsById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.serviceapi/-i-booking-service/exists-by-id.md -$dokka.location:office.effective.serviceapi/IBookingService/findAll/#java.util.UUID?#java.util.UUID?#kotlin.Long?#kotlin.Long/PointingToDeclaration/com.backend.effectiveoffice/office.effective.serviceapi/-i-booking-service/find-all.md +$dokka.location:office.effective.serviceapi/IBookingService/findAll/#java.util.UUID?#java.util.UUID?#kotlin.Boolean#kotlin.Long?#kotlin.Long/PointingToDeclaration/com.backend.effectiveoffice/office.effective.serviceapi/-i-booking-service/find-all.md $dokka.location:office.effective.serviceapi/IBookingService/findById/#kotlin.String/PointingToDeclaration/com.backend.effectiveoffice/office.effective.serviceapi/-i-booking-service/find-by-id.md $dokka.location:office.effective.serviceapi/IBookingService/save/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.serviceapi/-i-booking-service/save.md $dokka.location:office.effective.serviceapi/IBookingService/update/#office.effective.model.Booking/PointingToDeclaration/com.backend.effectiveoffice/office.effective.serviceapi/-i-booking-service/update.md