diff --git a/CHANGELOG.md b/CHANGELOG.md index 31a70fb95..d0afb89ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,9 @@ All notable changes to this project will be documented in this file. * Updated PHP dependencies. * Added Playwright github action. * Changed how templates are imported. +* Removed propTypes. +* Upgraded redux-toolkit and how api slices are generated. +* Fixed redux-toolkit cache handling. ### NB! Prior to 3.x the project was split into separate repositories diff --git a/README.md b/README.md index 59b17024e..50508dd4e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ## Development ```bash -docker compose pull +docker compose pull docker compose up --detach docker compose exec phpfpm composer install docker compose run --rm node npm install @@ -25,7 +25,38 @@ The fixtures have the image-text template, and two screen layouts: full screen a TODO -## Documentation +## API specification and generated code + +When the API is changed a new OpenAPI specification should be generated that reflects the changes to the API. + +To generate the updated API specification, run the following command: + +```shell +docker compose exec phpfpm composer update-api-spec +``` + +This will generate `public/api-spec-v2.json` and `public/api-spec-v2.yaml`. + +This generated API specification is used to generate +[Redux Toolkit RTK Query](https://redux-toolkit.js.org/rtk-query/overview) code for interacting with the API. + +To generate the Redux Toolkit RTK Query code, run the following command: + +```shell +docker compose exec node npx @rtk-query/codegen-openapi /app/assets/shared/redux/openapi-config.js +``` + +This will generate `assets/shared/redux/generated-api.ts`. This generated code is enhanced by the custom file +`assets/shared/redux/enhanced-api.ts`. + +### Important + +If new endpoints are added to the API, `assets/shared/redux/enhanced-api.ts` should be modified to reflect changes in +Redux-Toolkit cache invalidation and new hooks should be added. + +See +[https://redux-toolkit.js.org/rtk-query/usage/code-generation](https://redux-toolkit.js.org/rtk-query/usage/code-generation) +for information about the code generation. ## Tests @@ -33,7 +64,7 @@ TODO TODO -### Admin / Client tests +### Admin and Client tests To run tests, use the script: diff --git a/assets/admin/components/activation-code/activation-code-activate.jsx b/assets/admin/components/activation-code/activation-code-activate.jsx index b365b89dd..52b564940 100644 --- a/assets/admin/components/activation-code/activation-code-activate.jsx +++ b/assets/admin/components/activation-code/activation-code-activate.jsx @@ -3,7 +3,7 @@ import { useTranslation } from "react-i18next"; import { useNavigate } from "react-router-dom"; import Form from "react-bootstrap/Form"; import { Button } from "react-bootstrap"; -import { usePostV2UserActivationCodesActivateMutation } from "../../redux/api/api.generated.ts"; +import { usePostV2UserActivationCodesActivateMutation } from "../../../shared/redux/enhanced-api.ts"; import { displaySuccess, displayError, diff --git a/assets/admin/components/activation-code/activation-code-create.jsx b/assets/admin/components/activation-code/activation-code-create.jsx index 4762f7bc9..96f4c55c3 100644 --- a/assets/admin/components/activation-code/activation-code-create.jsx +++ b/assets/admin/components/activation-code/activation-code-create.jsx @@ -1,7 +1,7 @@ import { React, useState, useEffect } from "react"; import { useTranslation } from "react-i18next"; import { useNavigate } from "react-router-dom"; -import { usePostV2UserActivationCodesMutation } from "../../redux/api/api.generated.ts"; +import { usePostV2UserActivationCodesMutation } from "../../../shared/redux/enhanced-api.ts"; import ActivationCodeForm from "./activation-code-form"; import { displaySuccess, @@ -64,7 +64,7 @@ function ActivationCodeCreate() { }; PostV2UserActivationCode({ - userActivationCodeUserActivationCodeInput: JSON.stringify(saveData), + userActivationCodeUserActivationCodeInputJsonld: JSON.stringify(saveData), }); }; diff --git a/assets/admin/components/activation-code/activation-code-form.jsx b/assets/admin/components/activation-code/activation-code-form.jsx index 6d4b4c633..23101f425 100644 --- a/assets/admin/components/activation-code/activation-code-form.jsx +++ b/assets/admin/components/activation-code/activation-code-form.jsx @@ -2,7 +2,6 @@ import { React } from "react"; import { useNavigate } from "react-router-dom"; import { Button, Col, Row } from "react-bootstrap"; import { useTranslation } from "react-i18next"; -import PropTypes from "prop-types"; import Form from "react-bootstrap/Form"; import LoadingComponent from "../util/loading-component/loading-component"; import ContentBody from "../util/content-body/content-body"; @@ -107,16 +106,4 @@ function ActivationCodeForm({ ); } -ActivationCodeForm.propTypes = { - activationCode: PropTypes.shape({ - displayName: PropTypes.string.isRequired, - role: PropTypes.string.isRequired, - }).isRequired, - handleInput: PropTypes.func.isRequired, - handleSubmit: PropTypes.func.isRequired, - headerText: PropTypes.string.isRequired, - isLoading: PropTypes.bool, - loadingMessage: PropTypes.string, -}; - export default ActivationCodeForm; diff --git a/assets/admin/components/activation-code/activation-code-list.jsx b/assets/admin/components/activation-code/activation-code-list.jsx index cbf72dd99..fb1fdf080 100644 --- a/assets/admin/components/activation-code/activation-code-list.jsx +++ b/assets/admin/components/activation-code/activation-code-list.jsx @@ -15,10 +15,10 @@ import { displayError, } from "../util/list/toast-component/display-toast"; import { - api, + enhancedApi, useDeleteV2UserActivationCodesByIdMutation, useGetV2UserActivationCodesQuery, -} from "../../redux/api/api.generated.ts"; +} from "../../../shared/redux/enhanced-api.ts"; /** * The Activation Code list component. @@ -135,7 +135,7 @@ function ActivationCodeList() { } dispatch( - api.endpoints.postV2UserActivationCodesRefresh.initiate({ + enhancedApi.endpoints.postV2UserActivationCodesRefresh.initiate({ userActivationCodeActivationCode: JSON.stringify({ activationCode: item[0].code, }), diff --git a/assets/admin/components/auth-handler.jsx b/assets/admin/components/auth-handler.jsx index 85ac60271..6a948c79e 100644 --- a/assets/admin/components/auth-handler.jsx +++ b/assets/admin/components/auth-handler.jsx @@ -1,5 +1,4 @@ import { React, useContext } from "react"; -import PropTypes from "prop-types"; import Login from "./user/login"; import UserContext from "../context/user-context"; @@ -20,8 +19,4 @@ function AuthHandler({ children }) { return children; } -AuthHandler.propTypes = { - children: PropTypes.node.isRequired, -}; - export default AuthHandler; diff --git a/assets/admin/components/error-boundary.jsx b/assets/admin/components/error-boundary.jsx index 047f31f27..2eda7c9a4 100644 --- a/assets/admin/components/error-boundary.jsx +++ b/assets/admin/components/error-boundary.jsx @@ -1,5 +1,4 @@ import React, { Component } from "react"; -import PropTypes from "prop-types"; import "./error-boundary.scss"; class ErrorBoundary extends Component { @@ -38,10 +37,4 @@ class ErrorBoundary extends Component { } } -ErrorBoundary.propTypes = { - children: PropTypes.node.isRequired, - errorText: PropTypes.string.isRequired, - errorHandler: PropTypes.func, -}; - export default ErrorBoundary; diff --git a/assets/admin/components/feed-sources/feed-source-edit.jsx b/assets/admin/components/feed-sources/feed-source-edit.jsx index 4766320b0..81ecb5a4d 100644 --- a/assets/admin/components/feed-sources/feed-source-edit.jsx +++ b/assets/admin/components/feed-sources/feed-source-edit.jsx @@ -1,6 +1,6 @@ import { React } from "react"; import { useParams } from "react-router-dom"; -import { useGetV2FeedSourcesByIdQuery } from "../../redux/api/api.generated.ts"; +import { useGetV2FeedSourcesByIdQuery } from "../../../shared/redux/enhanced-api.ts"; import FeedSourceManager from "./feed-source-manager"; /** diff --git a/assets/admin/components/feed-sources/feed-source-form.jsx b/assets/admin/components/feed-sources/feed-source-form.jsx index 31b7d2d8f..4075b7326 100644 --- a/assets/admin/components/feed-sources/feed-source-form.jsx +++ b/assets/admin/components/feed-sources/feed-source-form.jsx @@ -2,7 +2,6 @@ import { React } from "react"; import { Alert, Button, Row, Col } from "react-bootstrap"; import { useTranslation } from "react-i18next"; import { useNavigate } from "react-router-dom"; -import PropTypes from "prop-types"; import Form from "react-bootstrap/Form"; import LoadingComponent from "../util/loading-component/loading-component"; import FormInputArea from "../util/forms/form-input-area"; @@ -185,30 +184,4 @@ function FeedSourceForm({ ); } -FeedSourceForm.propTypes = { - feedSource: PropTypes.shape({ - title: PropTypes.string, - description: PropTypes.string, - feedType: PropTypes.string, - supportedFeedOutputType: PropTypes.string, - }), - handleInput: PropTypes.func.isRequired, - handleSubmit: PropTypes.func.isRequired, - handleSaveNoClose: PropTypes.func.isRequired, - handleSecretInput: PropTypes.func.isRequired, - onFeedTypeChange: PropTypes.func.isRequired, - headerText: PropTypes.string.isRequired, - isLoading: PropTypes.bool, - loadingMessage: PropTypes.string, - feedSourceTypeOptions: PropTypes.arrayOf( - PropTypes.shape({ - value: PropTypes.string.isRequired, - title: PropTypes.string, - key: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired, - template: PropTypes.element, - }) - ).isRequired, - mode: PropTypes.string, -}; - export default FeedSourceForm; diff --git a/assets/admin/components/feed-sources/feed-source-manager.jsx b/assets/admin/components/feed-sources/feed-source-manager.jsx index 0499cd172..cbe2ca4d3 100644 --- a/assets/admin/components/feed-sources/feed-source-manager.jsx +++ b/assets/admin/components/feed-sources/feed-source-manager.jsx @@ -1,12 +1,11 @@ import { React, useEffect, useState } from "react"; import { useTranslation } from "react-i18next"; -import PropTypes from "prop-types"; import { useNavigate } from "react-router-dom"; import FeedSourceForm from "./feed-source-form"; import { usePostV2FeedSourcesMutation, usePutV2FeedSourcesByIdMutation, -} from "../../redux/api/api.generated.ts"; +} from "../../../shared/redux/enhanced-api.ts"; import { displayError, displaySuccess, @@ -157,11 +156,11 @@ function FeedSourceManager({ if (saveMethod === "POST") { postV2FeedSources({ - feedSourceFeedSourceInput: JSON.stringify(formStateObject), + feedSourceFeedSourceInputJsonld: JSON.stringify(formStateObject), }); } else if (saveMethod === "PUT") { PutV2FeedSourcesById({ - feedSourceFeedSourceInput: JSON.stringify(formStateObject), + feedSourceFeedSourceInputJsonld: JSON.stringify(formStateObject), id, }); } @@ -236,27 +235,4 @@ function FeedSourceManager({ ); } -FeedSourceManager.propTypes = { - initialState: PropTypes.shape({ - title: PropTypes.string, - description: PropTypes.string, - feedType: PropTypes.string, - feedSourceType: PropTypes.string, - host: PropTypes.string, - token: PropTypes.string, - baseUrl: PropTypes.string, - clientId: PropTypes.string, - clientSecret: PropTypes.string, - feedSources: PropTypes.string, - }), - saveMethod: PropTypes.string.isRequired, - id: PropTypes.string, - isLoading: PropTypes.bool, - loadingError: PropTypes.shape({ - data: PropTypes.shape({ - status: PropTypes.number, - }), - }), -}; - export default FeedSourceManager; diff --git a/assets/admin/components/feed-sources/feed-sources-list.jsx b/assets/admin/components/feed-sources/feed-sources-list.jsx index 514c4d595..6f9c0ea19 100644 --- a/assets/admin/components/feed-sources/feed-sources-list.jsx +++ b/assets/admin/components/feed-sources/feed-sources-list.jsx @@ -5,7 +5,7 @@ import { useGetV2FeedSourcesQuery, useDeleteV2FeedSourcesByIdMutation, useGetV2FeedSourcesByIdSlidesQuery, -} from "../../redux/api/api.generated.ts"; +} from "../../../shared/redux/enhanced-api.ts"; import ListContext from "../../context/list-context"; import ContentBody from "../util/content-body/content-body"; import List from "../util/list/list"; diff --git a/assets/admin/components/feed-sources/templates/calendar-api-feed-type.jsx b/assets/admin/components/feed-sources/templates/calendar-api-feed-type.jsx index dd595bec6..cda578bfb 100644 --- a/assets/admin/components/feed-sources/templates/calendar-api-feed-type.jsx +++ b/assets/admin/components/feed-sources/templates/calendar-api-feed-type.jsx @@ -1,5 +1,4 @@ import { React, useEffect, useState } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import { Alert } from "react-bootstrap"; import MultiselectFromEndpoint from "../../slide/content/multiselect-from-endpoint"; @@ -43,12 +42,4 @@ const CalendarApiFeedType = ({ ); }; -CalendarApiFeedType.propTypes = { - handleInput: PropTypes.func, - formStateObject: PropTypes.shape({ - locations: PropTypes.arrayOf(PropTypes.string), - }), - feedSourceId: PropTypes.string, -}; - export default CalendarApiFeedType; diff --git a/assets/admin/components/feed-sources/templates/colibo-feed-type.jsx b/assets/admin/components/feed-sources/templates/colibo-feed-type.jsx index 7ccd28913..e1053ceb7 100644 --- a/assets/admin/components/feed-sources/templates/colibo-feed-type.jsx +++ b/assets/admin/components/feed-sources/templates/colibo-feed-type.jsx @@ -1,5 +1,4 @@ import { React, useEffect, useState } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import { Alert } from "react-bootstrap"; import MultiselectFromEndpoint from "../../slide/content/multiselect-from-endpoint"; @@ -86,16 +85,4 @@ const ColiboFeedType = ({ ); }; -ColiboFeedType.propTypes = { - handleInput: PropTypes.func, - formStateObject: PropTypes.shape({ - api_base_uri: PropTypes.string, - client_id: PropTypes.string, - client_secret: PropTypes.string, - allowed_recipients: PropTypes.arrayOf(PropTypes.string), - }), - feedSourceId: PropTypes.string, - mode: PropTypes.string, -}; - export default ColiboFeedType; diff --git a/assets/admin/components/feed-sources/templates/event-database-feed-type.jsx b/assets/admin/components/feed-sources/templates/event-database-feed-type.jsx index 9fd32b09b..b766e55b2 100644 --- a/assets/admin/components/feed-sources/templates/event-database-feed-type.jsx +++ b/assets/admin/components/feed-sources/templates/event-database-feed-type.jsx @@ -1,5 +1,4 @@ import { React } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import FormInput from "../../util/forms/form-input"; @@ -24,12 +23,4 @@ const EventDatabaseApiTemplate = ({ handleInput, formStateObject, mode }) => { ); }; -EventDatabaseApiTemplate.propTypes = { - handleInput: PropTypes.func, - formStateObject: PropTypes.shape({ - host: PropTypes.string, - }), - mode: PropTypes.string, -}; - export default EventDatabaseApiTemplate; diff --git a/assets/admin/components/feed-sources/templates/event-database-v2-feed-type.jsx b/assets/admin/components/feed-sources/templates/event-database-v2-feed-type.jsx index 4f39f39d6..5b1983665 100644 --- a/assets/admin/components/feed-sources/templates/event-database-v2-feed-type.jsx +++ b/assets/admin/components/feed-sources/templates/event-database-v2-feed-type.jsx @@ -1,5 +1,4 @@ import { React } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import FormInput from "../../util/forms/form-input"; @@ -31,13 +30,4 @@ const EventDatabaseApiV2FeedType = ({ handleInput, formStateObject, mode }) => { ); }; -EventDatabaseApiV2FeedType.propTypes = { - handleInput: PropTypes.func, - formStateObject: PropTypes.shape({ - host: PropTypes.string.isRequired, - apikey: PropTypes.string, - }), - mode: PropTypes.string, -}; - export default EventDatabaseApiV2FeedType; diff --git a/assets/admin/components/feed-sources/templates/notified-feed-type.jsx b/assets/admin/components/feed-sources/templates/notified-feed-type.jsx index 2f48a6b6f..2c39b221d 100644 --- a/assets/admin/components/feed-sources/templates/notified-feed-type.jsx +++ b/assets/admin/components/feed-sources/templates/notified-feed-type.jsx @@ -1,5 +1,4 @@ import { React } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import FormInput from "../../util/forms/form-input"; @@ -24,12 +23,4 @@ const NotifiedFeedType = ({ handleInput, formStateObject, mode }) => { ); }; -NotifiedFeedType.propTypes = { - handleInput: PropTypes.func, - formStateObject: PropTypes.shape({ - token: PropTypes.string, - }), - mode: PropTypes.string, -}; - export default NotifiedFeedType; diff --git a/assets/admin/components/groups/group-create.jsx b/assets/admin/components/groups/group-create.jsx index c3ef0372b..be27951d5 100644 --- a/assets/admin/components/groups/group-create.jsx +++ b/assets/admin/components/groups/group-create.jsx @@ -1,7 +1,7 @@ import { React, useState, useEffect } from "react"; import { useTranslation } from "react-i18next"; import { useNavigate } from "react-router-dom"; -import { usePostV2ScreenGroupsMutation } from "../../redux/api/api.generated.ts"; +import { usePostV2ScreenGroupsMutation } from "../../../shared/redux/enhanced-api.ts"; import GroupForm from "./group-form"; import { displaySuccess, @@ -66,7 +66,7 @@ function GroupCreate() { }; PostV2ScreenGroups({ - screenGroupScreenGroupInput: JSON.stringify(saveData), + screenGroupScreenGroupInputJsonld: JSON.stringify(saveData), }); }; diff --git a/assets/admin/components/groups/group-edit.jsx b/assets/admin/components/groups/group-edit.jsx index 7009f08f8..b1ba321f2 100644 --- a/assets/admin/components/groups/group-edit.jsx +++ b/assets/admin/components/groups/group-edit.jsx @@ -4,7 +4,7 @@ import { useTranslation } from "react-i18next"; import { useGetV2ScreenGroupsByIdQuery, usePutV2ScreenGroupsByIdMutation, -} from "../../redux/api/api.generated.ts"; +} from "../../../shared/redux/enhanced-api.ts"; import { displaySuccess, displayError, @@ -97,7 +97,7 @@ function GroupEdit() { }; PutV2ScreenGroup({ id, - screenGroupScreenGroupInput: JSON.stringify(saveData), + screenGroupScreenGroupInputJsonld: JSON.stringify(saveData), }); }; diff --git a/assets/admin/components/groups/group-form.jsx b/assets/admin/components/groups/group-form.jsx index c3a5e5ec1..28b445a0f 100644 --- a/assets/admin/components/groups/group-form.jsx +++ b/assets/admin/components/groups/group-form.jsx @@ -2,7 +2,6 @@ import { React } from "react"; import { useNavigate } from "react-router-dom"; import { Button } from "react-bootstrap"; import { useTranslation } from "react-i18next"; -import PropTypes from "prop-types"; import Form from "react-bootstrap/Form"; import LoadingComponent from "../util/loading-component/loading-component"; import ContentBody from "../util/content-body/content-body"; @@ -85,16 +84,4 @@ function GroupForm({ ); } -GroupForm.propTypes = { - group: PropTypes.shape({ - description: PropTypes.string.isRequired, - title: PropTypes.string.isRequired, - }), - handleInput: PropTypes.func.isRequired, - handleSubmit: PropTypes.func.isRequired, - headerText: PropTypes.string.isRequired, - isLoading: PropTypes.bool, - loadingMessage: PropTypes.string, -}; - export default GroupForm; diff --git a/assets/admin/components/groups/groups-list.jsx b/assets/admin/components/groups/groups-list.jsx index 1031a7901..a3c9448ee 100644 --- a/assets/admin/components/groups/groups-list.jsx +++ b/assets/admin/components/groups/groups-list.jsx @@ -16,7 +16,7 @@ import { useGetV2ScreenGroupsQuery, useGetV2ScreenGroupsByIdScreensQuery, useDeleteV2ScreenGroupsByIdMutation, -} from "../../redux/api/api.generated.ts"; +} from "../../../shared/redux/enhanced-api.ts"; /** * The groups list component. diff --git a/assets/admin/components/media-modal/media-modal.jsx b/assets/admin/components/media-modal/media-modal.jsx index e30450bf4..85284fefd 100644 --- a/assets/admin/components/media-modal/media-modal.jsx +++ b/assets/admin/components/media-modal/media-modal.jsx @@ -1,5 +1,4 @@ import { React, useEffect } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import Modal from "react-bootstrap/Modal"; import ModalDialog from "../util/modal/modal-dialog"; @@ -50,11 +49,4 @@ function MediaModal({ show, onClose, handleAccept, multiple }) { ); } -MediaModal.propTypes = { - show: PropTypes.bool.isRequired, - onClose: PropTypes.func.isRequired, - handleAccept: PropTypes.func.isRequired, - multiple: PropTypes.bool.isRequired, -}; - export default MediaModal; diff --git a/assets/admin/components/media/image-list.jsx b/assets/admin/components/media/image-list.jsx index 6850bd1d0..25c23dbe4 100644 --- a/assets/admin/components/media/image-list.jsx +++ b/assets/admin/components/media/image-list.jsx @@ -1,5 +1,4 @@ import { React } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import { Form } from "react-bootstrap"; import selectedHelper from "../util/helpers/selected-helper"; @@ -76,17 +75,4 @@ function ImageList({ media = [], multiple }) { ); } -ImageList.propTypes = { - multiple: PropTypes.bool.isRequired, - media: PropTypes.arrayOf( - PropTypes.shape({ - name: PropTypes.string, - selected: PropTypes.bool, - "@id": PropTypes.string, - description: PropTypes.string, - assets: PropTypes.shape({ uri: PropTypes.string }), - }) - ), -}; - export default ListLoading(ImageList); diff --git a/assets/admin/components/media/media-create.jsx b/assets/admin/components/media/media-create.jsx index 15c48b388..488999a0f 100644 --- a/assets/admin/components/media/media-create.jsx +++ b/assets/admin/components/media/media-create.jsx @@ -1,6 +1,6 @@ import { React, useState, useEffect } from "react"; import { useTranslation } from "react-i18next"; -import { usePostMediaCollectionMutation } from "../../redux/api/api.generated.ts"; +import { usePostMediaCollectionMutation } from "../../../shared/redux/enhanced-api.ts"; import MediaForm from "./media-form"; import { displayError, diff --git a/assets/admin/components/media/media-form.jsx b/assets/admin/components/media/media-form.jsx index 1f896cc0f..029c03db5 100644 --- a/assets/admin/components/media/media-form.jsx +++ b/assets/admin/components/media/media-form.jsx @@ -2,7 +2,6 @@ import { React } from "react"; import { useNavigate } from "react-router-dom"; import { Button } from "react-bootstrap"; import { useTranslation } from "react-i18next"; -import PropTypes from "prop-types"; import Form from "react-bootstrap/Form"; import LoadingComponent from "../util/loading-component/loading-component"; import ContentBody from "../util/content-body/content-body"; @@ -84,21 +83,4 @@ function MediaForm({ ); } -MediaForm.propTypes = { - media: PropTypes.arrayOf( - PropTypes.shape({ - url: PropTypes.string, - }) - ).isRequired, - handleInput: PropTypes.func.isRequired, - handleSubmit: PropTypes.func.isRequired, - headerText: PropTypes.string.isRequired, - errors: PropTypes.oneOfType([ - PropTypes.objectOf(PropTypes.any), - PropTypes.bool, - ]).isRequired, - isLoading: PropTypes.bool, - loadingMessage: PropTypes.string, -}; - export default MediaForm; diff --git a/assets/admin/components/media/media-list.jsx b/assets/admin/components/media/media-list.jsx index 9009158b0..e4cfaceda 100644 --- a/assets/admin/components/media/media-list.jsx +++ b/assets/admin/components/media/media-list.jsx @@ -1,5 +1,4 @@ import { React, useEffect, useState, useContext } from "react"; -import PropTypes from "prop-types"; import { Button, Col, Row } from "react-bootstrap"; import { Link, useNavigate, useLocation } from "react-router-dom"; import { useTranslation } from "react-i18next"; @@ -17,7 +16,7 @@ import { import { useGetV2MediaQuery, useDeleteV2MediaByIdMutation, -} from "../../redux/api/api.generated.ts"; +} from "../../../shared/redux/enhanced-api.ts"; import FormCheckbox from "../util/forms/form-checkbox"; import "./media-list.scss"; @@ -237,9 +236,4 @@ function MediaList({ fromModal = false, multiple = true }) { ); } -MediaList.propTypes = { - fromModal: PropTypes.bool, - multiple: PropTypes.bool, -}; - export default MediaList; diff --git a/assets/admin/components/navigation/nav-items/restricted-nav-route.jsx b/assets/admin/components/navigation/nav-items/restricted-nav-route.jsx index d56c8f374..192cca756 100644 --- a/assets/admin/components/navigation/nav-items/restricted-nav-route.jsx +++ b/assets/admin/components/navigation/nav-items/restricted-nav-route.jsx @@ -1,5 +1,4 @@ import { React, useContext } from "react"; -import PropTypes from "prop-types"; import UserContext from "../../../context/user-context"; /** @@ -25,9 +24,4 @@ function RestrictedNavRoute({ children, roles }) { return children; } -RestrictedNavRoute.propTypes = { - children: PropTypes.node.isRequired, - roles: PropTypes.arrayOf(PropTypes.string).isRequired, -}; - export default RestrictedNavRoute; diff --git a/assets/admin/components/playlist-drag-and-drop/playlist-drag-and-drop.jsx b/assets/admin/components/playlist-drag-and-drop/playlist-drag-and-drop.jsx index a40d6ac49..0a7c92fab 100644 --- a/assets/admin/components/playlist-drag-and-drop/playlist-drag-and-drop.jsx +++ b/assets/admin/components/playlist-drag-and-drop/playlist-drag-and-drop.jsx @@ -7,7 +7,7 @@ import FormCheckbox from "../util/forms/form-checkbox"; import { useGetV2PlaylistsByIdSlidesQuery, useGetV2PlaylistsQuery, -} from "../../redux/api/api.generated.ts"; +} from "../../../shared/redux/enhanced-api.ts"; import ScreenGanttChart from "../screen/util/screen-gantt-chart"; /** diff --git a/assets/admin/components/playlist/campaign-form.jsx b/assets/admin/components/playlist/campaign-form.jsx index cb30e33df..3aff7120a 100644 --- a/assets/admin/components/playlist/campaign-form.jsx +++ b/assets/admin/components/playlist/campaign-form.jsx @@ -1,8 +1,7 @@ import { React } from "react"; import { useTranslation } from "react-i18next"; -import PropTypes from "prop-types"; import idFromUrl from "../util/helpers/id-from-url"; -import { useGetV2CampaignsByIdScreenGroupsQuery } from "../../redux/api/api.generated.ts"; +import { useGetV2CampaignsByIdScreenGroupsQuery } from "../../../shared/redux/enhanced-api.ts"; import ContentBody from "../util/content-body/content-body"; import SelectScreensTable from "../util/multi-and-table/select-screens-table"; import SelectGroupsTable from "../util/multi-and-table/select-groups-table"; @@ -46,11 +45,4 @@ function CampaignForm({ campaign = null, handleInput }) { ); } -CampaignForm.propTypes = { - campaign: PropTypes.shape({ - "@id": PropTypes.string, - }), - handleInput: PropTypes.func.isRequired, -}; - export default CampaignForm; diff --git a/assets/admin/components/playlist/playlist-campaign-create.jsx b/assets/admin/components/playlist/playlist-campaign-create.jsx index aa89fe53e..d0a2f9f90 100644 --- a/assets/admin/components/playlist/playlist-campaign-create.jsx +++ b/assets/admin/components/playlist/playlist-campaign-create.jsx @@ -1,5 +1,4 @@ import { React } from "react"; -import PropTypes from "prop-types"; import PlaylistCampaignManager from "./playlist-campaign-manager"; /** @@ -33,8 +32,4 @@ function PlaylistCampaignCreate({ location }) { ); } -PlaylistCampaignCreate.propTypes = { - location: PropTypes.string.isRequired, -}; - export default PlaylistCampaignCreate; diff --git a/assets/admin/components/playlist/playlist-campaign-edit.jsx b/assets/admin/components/playlist/playlist-campaign-edit.jsx index 5c833e44b..fce6016ba 100644 --- a/assets/admin/components/playlist/playlist-campaign-edit.jsx +++ b/assets/admin/components/playlist/playlist-campaign-edit.jsx @@ -1,9 +1,8 @@ import { React, useEffect, useState } from "react"; import { useParams } from "react-router-dom"; -import PropTypes from "prop-types"; import PlaylistCampaignManager from "./playlist-campaign-manager"; import idFromUrl from "../util/helpers/id-from-url"; -import { useGetV2PlaylistsByIdQuery } from "../../redux/api/api.generated.ts"; +import { useGetV2PlaylistsByIdQuery } from "../../../shared/redux/enhanced-api.ts"; /** * The playlist/campaign edit component. @@ -45,8 +44,4 @@ function PlaylistCampaignEdit({ location }) { ); } -PlaylistCampaignEdit.propTypes = { - location: PropTypes.string.isRequired, -}; - export default PlaylistCampaignEdit; diff --git a/assets/admin/components/playlist/playlist-campaign-form.jsx b/assets/admin/components/playlist/playlist-campaign-form.jsx index 3ebf6531a..5226113e6 100644 --- a/assets/admin/components/playlist/playlist-campaign-form.jsx +++ b/assets/admin/components/playlist/playlist-campaign-form.jsx @@ -2,7 +2,6 @@ import { React, useContext, useState } from "react"; import { Alert, Button, Col, Form, Row } from "react-bootstrap"; import { useTranslation } from "react-i18next"; import { useNavigate } from "react-router-dom"; -import PropTypes from "prop-types"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faExpand } from "@fortawesome/free-solid-svg-icons"; import ContentBody from "../util/content-body/content-body"; @@ -314,26 +313,4 @@ function PlaylistCampaignForm({ ); } -PlaylistCampaignForm.propTypes = { - playlist: PropTypes.shape({ - description: PropTypes.string, - "@id": PropTypes.string.isRequired, - published: PropTypes.shape({ - from: PropTypes.string, - to: PropTypes.string, - }), - title: PropTypes.string, - }), - handleInput: PropTypes.func.isRequired, - handleSubmit: PropTypes.func.isRequired, - handleSaveNoClose: PropTypes.func.isRequired, - headerText: PropTypes.string.isRequired, - slideId: PropTypes.string, - isLoading: PropTypes.bool, - loadingMessage: PropTypes.string, - isCampaign: PropTypes.bool, - location: PropTypes.string.isRequired, - children: PropTypes.node.isRequired, -}; - export default PlaylistCampaignForm; diff --git a/assets/admin/components/playlist/playlist-campaign-list.jsx b/assets/admin/components/playlist/playlist-campaign-list.jsx index 5649750af..a9611b0af 100644 --- a/assets/admin/components/playlist/playlist-campaign-list.jsx +++ b/assets/admin/components/playlist/playlist-campaign-list.jsx @@ -1,5 +1,4 @@ import { React, useState, useEffect, useContext } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import useModal from "../../context/modal-context/modal-context-hook"; import UserContext from "../../context/user-context"; @@ -17,7 +16,7 @@ import { useDeleteV2PlaylistsByIdMutation, useGetV2PlaylistsByIdSlidesQuery, useGetV2PlaylistsQuery, -} from "../../redux/api/api.generated.ts"; +} from "../../../shared/redux/enhanced-api.ts"; /** * The shared list component. @@ -165,8 +164,4 @@ function PlaylistCampaignList({ location }) { ); } -PlaylistCampaignList.propTypes = { - location: PropTypes.string.isRequired, -}; - export default PlaylistCampaignList; diff --git a/assets/admin/components/playlist/playlist-campaign-manager.jsx b/assets/admin/components/playlist/playlist-campaign-manager.jsx index 566de7de7..7b838fff0 100644 --- a/assets/admin/components/playlist/playlist-campaign-manager.jsx +++ b/assets/admin/components/playlist/playlist-campaign-manager.jsx @@ -2,7 +2,6 @@ import { React, useEffect, useState } from "react"; import { useTranslation } from "react-i18next"; import { useNavigate, useLocation } from "react-router-dom"; import set from "lodash.set"; -import PropTypes from "prop-types"; import dayjs from "dayjs"; import { useDispatch } from "react-redux"; import idFromUrl from "../util/helpers/id-from-url"; @@ -14,10 +13,10 @@ import { displayError, } from "../util/list/toast-component/display-toast"; import { - api, + enhancedApi, usePutV2PlaylistsByIdMutation, usePostV2PlaylistsMutation, -} from "../../redux/api/api.generated.ts"; +} from "../../../shared/redux/enhanced-api.ts"; /** * The shared manager component. @@ -117,7 +116,7 @@ function PlaylistCampaignManager({ setLoadingMessage(t(`${location}.loading-messages.saving-screens`)); dispatch( - api.endpoints.putV2ScreensByIdCampaigns.initiate({ + enhancedApi.endpoints.putV2ScreensByIdCampaigns.initiate({ id: playlistId, body: JSON.stringify(selectedScreens), }) @@ -152,7 +151,7 @@ function PlaylistCampaignManager({ setLoadingMessage(t(`${location}.loading-messages.saving-groups`)); dispatch( - api.endpoints.putV2ScreenGroupsByIdCampaigns.initiate({ + enhancedApi.endpoints.putV2ScreenGroupsByIdCampaigns.initiate({ id: playlistId, body: JSON.stringify(selectedScreenGroups), }) @@ -186,7 +185,7 @@ function PlaylistCampaignManager({ setLoadingMessage(t(`${location}.loading-messages.saving-slides`)); dispatch( - api.endpoints.putV2PlaylistsByIdSlides.initiate({ + enhancedApi.endpoints.putV2PlaylistsByIdSlides.initiate({ id: playlistId, body: JSON.stringify(selectedSlides), }) @@ -327,12 +326,12 @@ function PlaylistCampaignManager({ if (saveMethod === "POST") { PostV2Playlist({ - playlistPlaylistInput: JSON.stringify(saveData), + playlistPlaylistInputJsonld: JSON.stringify(saveData), }); } else if (saveMethod === "PUT") { PutV2Playlists({ id, - playlistPlaylistInput: JSON.stringify(saveData), + playlistPlaylistInputJsonld: JSON.stringify(saveData), }); } }; @@ -376,22 +375,4 @@ function PlaylistCampaignManager({ ); } -PlaylistCampaignManager.propTypes = { - initialState: PropTypes.shape({ - feed: PropTypes.shape({ - "@id": PropTypes.string, - }), - }), - saveMethod: PropTypes.string.isRequired, - id: PropTypes.string, - isLoading: PropTypes.bool, - loadingError: PropTypes.shape({ - data: PropTypes.shape({ - status: PropTypes.number, - }), - }), - slideId: PropTypes.string, - location: PropTypes.string.isRequired, -}; - export default PlaylistCampaignManager; diff --git a/assets/admin/components/playlist/playlist-form.jsx b/assets/admin/components/playlist/playlist-form.jsx index 985bef8f3..347a3024e 100644 --- a/assets/admin/components/playlist/playlist-form.jsx +++ b/assets/admin/components/playlist/playlist-form.jsx @@ -1,10 +1,9 @@ import { React, useContext } from "react"; import { useTranslation } from "react-i18next"; -import PropTypes from "prop-types"; import { Alert } from "react-bootstrap"; import UserContext from "../../context/user-context"; import Schedule from "../util/schedule/schedule"; -import { useGetV2TenantsQuery } from "../../redux/api/api.generated.ts"; +import { useGetV2TenantsQuery } from "../../../shared/redux/enhanced-api.ts"; import ContentBody from "../util/content-body/content-body"; import TenantsDropdown from "../util/forms/multiselect-dropdown/tenants/tenants-dropdown"; @@ -66,37 +65,4 @@ function PlaylistForm({ ); } -PlaylistForm.propTypes = { - playlist: PropTypes.shape({ - "@id": PropTypes.string, - schedules: PropTypes.arrayOf( - PropTypes.shape({ - duration: PropTypes.number, - id: PropTypes.string, - rrule: PropTypes.string, - }) - ), - tenants: PropTypes.arrayOf( - PropTypes.shape({ - description: PropTypes.string, - id: PropTypes.string, - modifiedAt: PropTypes.string, - modifiedBy: PropTypes.string, - tenantKey: PropTypes.string, - title: PropTypes.string, - userRoleTenants: PropTypes.arrayOf( - PropTypes.shape({ - description: PropTypes.string, - roles: PropTypes.arrayOf(PropTypes.string), - tenantKey: PropTypes.string, - title: PropTypes.string, - }) - ), - }) - ), - }), - handleInput: PropTypes.func.isRequired, - highlightSharedSection: PropTypes.bool, -}; - export default PlaylistForm; diff --git a/assets/admin/components/playlist/playlist-gantt-chart.jsx b/assets/admin/components/playlist/playlist-gantt-chart.jsx index 25f3b2fa2..08884dea7 100644 --- a/assets/admin/components/playlist/playlist-gantt-chart.jsx +++ b/assets/admin/components/playlist/playlist-gantt-chart.jsx @@ -1,5 +1,4 @@ import React, { useEffect, useState } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import GanttChart from "../util/gantt-chart"; import localStorageKeys from "../util/local-storage-keys"; @@ -83,9 +82,4 @@ function PlaylistGanttChart({ slides }) { ); } -PlaylistGanttChart.propTypes = { - slides: PropTypes.arrayOf( - PropTypes.shape({ name: PropTypes.string, id: PropTypes.string }) - ).isRequired, -}; export default PlaylistGanttChart; diff --git a/assets/admin/components/playlist/shared-playlists.jsx b/assets/admin/components/playlist/shared-playlists.jsx index 5947e46a0..572be6767 100644 --- a/assets/admin/components/playlist/shared-playlists.jsx +++ b/assets/admin/components/playlist/shared-playlists.jsx @@ -7,7 +7,7 @@ import ListContext from "../../context/list-context"; import ContentBody from "../util/content-body/content-body"; import { displayError } from "../util/list/toast-component/display-toast"; import getSharedPlaylistColumns from "./shared-playlists-column"; -import { useGetV2PlaylistsQuery } from "../../redux/api/api.generated.ts"; +import { useGetV2PlaylistsQuery } from "../../../shared/redux/enhanced-api.ts"; /** * The list component for shared playlists. diff --git a/assets/admin/components/preview/preview.jsx b/assets/admin/components/preview/preview.jsx index f896ab00b..fb4c77f95 100644 --- a/assets/admin/components/preview/preview.jsx +++ b/assets/admin/components/preview/preview.jsx @@ -1,5 +1,4 @@ import { React, JSX, useEffect, useState } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import LocalStorageKeys from "../util/local-storage-keys"; @@ -72,13 +71,4 @@ function Preview({ ); } -Preview.propTypes = { - id: PropTypes.string.isRequired, - mode: PropTypes.string.isRequired, - width: PropTypes.number, - height: PropTypes.number, - simulatedWidth: PropTypes.number, - simulatedHeight: PropTypes.number, -}; - export default Preview; diff --git a/assets/admin/components/proptypes/column-proptypes.jsx b/assets/admin/components/proptypes/column-proptypes.jsx deleted file mode 100644 index 2ec27d016..000000000 --- a/assets/admin/components/proptypes/column-proptypes.jsx +++ /dev/null @@ -1,12 +0,0 @@ -import PropTypes from "prop-types"; -/** The proptypes for column, as these are in multiple places. */ -const ColumnProptypes = PropTypes.arrayOf( - PropTypes.shape({ - path: PropTypes.string, - label: PropTypes.string, - content: PropTypes.func, - key: PropTypes.string, - }) -); - -export default ColumnProptypes; diff --git a/assets/admin/components/restricted-route.jsx b/assets/admin/components/restricted-route.jsx index c6b19ec30..970d1868e 100644 --- a/assets/admin/components/restricted-route.jsx +++ b/assets/admin/components/restricted-route.jsx @@ -1,5 +1,4 @@ import { React, useContext } from "react"; -import PropTypes from "prop-types"; import UserContext from "../context/user-context"; import NoAccess from "./no-access/no-access"; @@ -25,9 +24,4 @@ function RestrictedRoute({ children, roles }) { return children; } -RestrictedRoute.propTypes = { - children: PropTypes.node.isRequired, - roles: PropTypes.arrayOf(PropTypes.string).isRequired, -}; - export default RestrictedRoute; diff --git a/assets/admin/components/screen/screen-edit.jsx b/assets/admin/components/screen/screen-edit.jsx index baf04ab6a..ef97faa34 100644 --- a/assets/admin/components/screen/screen-edit.jsx +++ b/assets/admin/components/screen/screen-edit.jsx @@ -2,7 +2,7 @@ import { React, useEffect, useState } from "react"; import { useParams } from "react-router-dom"; import idFromUrl from "../util/helpers/id-from-url"; import ScreenManager from "./screen-manager"; -import { useGetV2ScreensByIdQuery } from "../../redux/api/api.generated.ts"; +import { useGetV2ScreensByIdQuery } from "../../../shared/redux/enhanced-api.ts"; /** * The screen edit component. diff --git a/assets/admin/components/screen/screen-form.jsx b/assets/admin/components/screen/screen-form.jsx index 4f46e7ccf..6c565c336 100644 --- a/assets/admin/components/screen/screen-form.jsx +++ b/assets/admin/components/screen/screen-form.jsx @@ -14,7 +14,7 @@ import idFromUrl from "../util/helpers/id-from-url"; import { useGetV2LayoutsQuery, useGetV2ScreensByIdScreenGroupsQuery, -} from "../../redux/api/api.generated.ts"; +} from "../../../shared/redux/enhanced-api.ts"; import FormCheckbox from "../util/forms/form-checkbox"; import "./screen-form.scss"; import Preview from "../preview/preview"; diff --git a/assets/admin/components/screen/screen-list.jsx b/assets/admin/components/screen/screen-list.jsx index ab26b6ded..4c7095bbb 100644 --- a/assets/admin/components/screen/screen-list.jsx +++ b/assets/admin/components/screen/screen-list.jsx @@ -12,7 +12,7 @@ import { useGetV2ScreensQuery, useDeleteV2ScreensByIdMutation, useGetV2ScreensByIdScreenGroupsQuery, -} from "../../redux/api/api.generated.ts"; +} from "../../../shared/redux/enhanced-api.ts"; import { displaySuccess, displayError, diff --git a/assets/admin/components/screen/screen-manager.jsx b/assets/admin/components/screen/screen-manager.jsx index c73baeb81..473672f8f 100644 --- a/assets/admin/components/screen/screen-manager.jsx +++ b/assets/admin/components/screen/screen-manager.jsx @@ -1,12 +1,11 @@ import { React, useEffect, useState } from "react"; import { useTranslation } from "react-i18next"; import set from "lodash.set"; -import PropTypes from "prop-types"; import { useNavigate } from "react-router-dom"; import { usePostV2ScreensMutation, usePutV2ScreensByIdMutation, -} from "../../redux/api/api.generated.ts"; +} from "../../../shared/redux/enhanced-api.ts"; import ScreenForm from "./screen-form"; import { displaySuccess, @@ -241,7 +240,7 @@ function ScreenManager({ } = localFormStateObject; const saveData = { - screenScreenInput: JSON.stringify({ + screenScreenInputJsonld: JSON.stringify({ title, description, size, @@ -308,29 +307,4 @@ function ScreenManager({ ); } -ScreenManager.propTypes = { - initialState: PropTypes.shape({ - orientation: PropTypes.string, - resolution: PropTypes.string, - description: PropTypes.string, - "@id": PropTypes.string, - enableColorSchemeChange: PropTypes.bool, - layout: PropTypes.string, - location: PropTypes.string, - regions: PropTypes.arrayOf(PropTypes.string), - screenUser: PropTypes.string, - size: PropTypes.string, - title: PropTypes.string, - }), - saveMethod: PropTypes.string.isRequired, - id: PropTypes.string, - isLoading: PropTypes.bool, - loadingError: PropTypes.shape({ - data: PropTypes.shape({ - status: PropTypes.number, - }), - }), - groupId: PropTypes.string, -}; - export default ScreenManager; diff --git a/assets/admin/components/screen/screen-status.jsx b/assets/admin/components/screen/screen-status.jsx index 6530968a7..6650534ac 100644 --- a/assets/admin/components/screen/screen-status.jsx +++ b/assets/admin/components/screen/screen-status.jsx @@ -1,5 +1,4 @@ import dayjs from "dayjs"; -import PropTypes from "prop-types"; import { React, JSX, useState, useEffect } from "react"; import { Alert, Button } from "react-bootstrap"; import { useTranslation } from "react-i18next"; @@ -15,7 +14,7 @@ import { import { useNavigate } from "react-router-dom"; import { useDispatch } from "react-redux"; import idFromUrl from "../util/helpers/id-from-url"; -import { api } from "../../redux/api/api.generated.ts"; +import { enhancedApi } from "../../../shared/redux/enhanced-api.ts"; import { displayError } from "../util/list/toast-component/display-toast"; import FormInput from "../util/forms/form-input"; import AdminConfigLoader from "../util/admin-config-loader.js"; @@ -43,7 +42,7 @@ function ScreenStatus({ screen, handleInput = () => {}, mode = "default" }) { const handleBindScreen = () => { if (bindKey) { dispatch( - api.endpoints.postScreenBindKey.initiate({ + enhancedApi.endpoints.postScreenBindKey.initiate({ id: idFromUrl(screen["@id"]), screenBindObject: JSON.stringify({ bindKey, @@ -71,7 +70,7 @@ function ScreenStatus({ screen, handleInput = () => {}, mode = "default" }) { setBindKey(""); dispatch( - api.endpoints.postScreenUnbind.initiate({ + enhancedApi.endpoints.postScreenUnbind.initiate({ id: idFromUrl(screen["@id"]), }) ).then((response) => { @@ -302,24 +301,4 @@ function ScreenStatus({ screen, handleInput = () => {}, mode = "default" }) { return <>{getStatusAlert()}; } -ScreenStatus.propTypes = { - screen: PropTypes.shape({ - "@id": PropTypes.string.isRequired, - screenUser: PropTypes.string, - status: PropTypes.shape({ - releaseVersion: PropTypes.string, - releaseTimestamp: PropTypes.number, - latestRequestDateTime: PropTypes.string, - clientMeta: PropTypes.shape({ - ip: PropTypes.string, - host: PropTypes.string, - userAgent: PropTypes.string, - tokenExpired: PropTypes.bool, - }), - }), - }).isRequired, - mode: PropTypes.string, - handleInput: PropTypes.func, -}; - export default ScreenStatus; diff --git a/assets/admin/components/screen/util/campaign-icon.jsx b/assets/admin/components/screen/util/campaign-icon.jsx index 94ccafcf0..049148b7f 100644 --- a/assets/admin/components/screen/util/campaign-icon.jsx +++ b/assets/admin/components/screen/util/campaign-icon.jsx @@ -1,15 +1,14 @@ import { React, useEffect, useState } from "react"; import { useDispatch } from "react-redux"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import Spinner from "react-bootstrap/Spinner"; import idFromUrl from "../../util/helpers/id-from-url"; import calculateIsPublished from "../../util/helpers/calculate-is-published"; import { - api, + enhancedApi, useGetV2ScreensByIdCampaignsQuery, useGetV2ScreensByIdScreenGroupsQuery, -} from "../../../redux/api/api.generated.ts"; +} from "../../../../shared/redux/enhanced-api.ts"; /** * An icon to show if the screen has an active campaign. @@ -47,7 +46,7 @@ function CampaignIcon({ id, delay = 1000 }) { if (groups && !isOverriddenByCampaign && screenCampaignsChecked) { groups["hydra:member"].forEach((group) => { dispatch( - api.endpoints.getV2ScreenGroupsByIdCampaigns.initiate({ + enhancedApi.endpoints.getV2ScreenGroupsByIdCampaigns.initiate({ id: idFromUrl(group["@id"]), }) ).then((result) => { @@ -103,9 +102,4 @@ function CampaignIcon({ id, delay = 1000 }) { : t("not-overridden-by-campaign"); } -CampaignIcon.propTypes = { - id: PropTypes.string.isRequired, - delay: PropTypes.number, -}; - export default CampaignIcon; diff --git a/assets/admin/components/screen/util/grid-generation-and-select.jsx b/assets/admin/components/screen/util/grid-generation-and-select.jsx index a30674c6a..5b4a8de36 100644 --- a/assets/admin/components/screen/util/grid-generation-and-select.jsx +++ b/assets/admin/components/screen/util/grid-generation-and-select.jsx @@ -1,12 +1,11 @@ import { useState, useEffect } from "react"; -import PropTypes from "prop-types"; import { Tabs, Tab, Alert } from "react-bootstrap"; import { createGridArea, createGrid } from "../../../../shared/grid-generator/grid-generator"; import { useTranslation } from "react-i18next"; import { useDispatch } from "react-redux"; import idFromUrl from "../../util/helpers/id-from-url"; import PlaylistDragAndDrop from "../../playlist-drag-and-drop/playlist-drag-and-drop"; -import { api } from "../../../redux/api/api.generated.ts"; +import { enhancedApi } from "../../../../shared/redux/enhanced-api.ts"; import "./grid.scss"; /** @@ -97,7 +96,7 @@ function GridGenerationAndSelect({ regions.forEach(({ "@id": id }) => { promises.push( dispatch( - api.endpoints.getV2ScreensByIdRegionsAndRegionIdPlaylists.initiate({ + enhancedApi.endpoints.getV2ScreensByIdRegionsAndRegionIdPlaylists.initiate({ id: screenId, regionId: idFromUrl(id), page: 1, @@ -231,13 +230,4 @@ function GridGenerationAndSelect({ ); } -GridGenerationAndSelect.propTypes = { - grid: PropTypes.shape({ columns: PropTypes.number, rows: PropTypes.number }) - .isRequired, - screenId: PropTypes.string.isRequired, - vertical: PropTypes.bool.isRequired, - handleInput: PropTypes.func.isRequired, - regions: PropTypes.arrayOf(PropTypes.shape(PropTypes.any)), -}; - export default GridGenerationAndSelect; diff --git a/assets/admin/components/screen/util/screen-gantt-chart.jsx b/assets/admin/components/screen/util/screen-gantt-chart.jsx index e9b13f2e8..140aa18dc 100644 --- a/assets/admin/components/screen/util/screen-gantt-chart.jsx +++ b/assets/admin/components/screen/util/screen-gantt-chart.jsx @@ -1,6 +1,5 @@ import React, { useEffect, useState, useContext } from "react"; import { RRule } from "rrule"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import GanttChart from "../../util/gantt-chart"; import localStorageKeys from "../../util/local-storage-keys"; @@ -127,10 +126,4 @@ function ScreenGanttChart({ playlists, id }) { ); } -ScreenGanttChart.propTypes = { - playlists: PropTypes.arrayOf( - PropTypes.shape({ name: PropTypes.string, id: PropTypes.number }) - ).isRequired, - id: PropTypes.string.isRequired, -}; export default ScreenGanttChart; diff --git a/assets/admin/components/slide/content/contacts/contact-form.jsx b/assets/admin/components/slide/content/contacts/contact-form.jsx index 7d900757e..cb5336566 100644 --- a/assets/admin/components/slide/content/contacts/contact-form.jsx +++ b/assets/admin/components/slide/content/contacts/contact-form.jsx @@ -1,5 +1,4 @@ import { React } from "react"; -import PropTypes from "prop-types"; import set from "lodash.set"; import { Col, Row } from "react-bootstrap"; import { useTranslation } from "react-i18next"; @@ -91,19 +90,4 @@ function ContactForm({ ); } -ContactForm.propTypes = { - name: PropTypes.string.isRequired, - index: PropTypes.number.isRequired, - contact: PropTypes.shape({ - name: PropTypes.string, - image: PropTypes.arrayOf(PropTypes.string), - phone: PropTypes.string, - email: PropTypes.string, - title: PropTypes.string, - }).isRequired, - getInputFiles: PropTypes.func.isRequired, - onChange: PropTypes.func.isRequired, - onFilesChange: PropTypes.func.isRequired, -}; - export default ContactForm; diff --git a/assets/admin/components/slide/content/contacts/contact-view.jsx b/assets/admin/components/slide/content/contacts/contact-view.jsx index 69735291c..f1a4949be 100644 --- a/assets/admin/components/slide/content/contacts/contact-view.jsx +++ b/assets/admin/components/slide/content/contacts/contact-view.jsx @@ -1,5 +1,4 @@ import { React } from "react"; -import PropTypes from "prop-types"; import { Button, Card } from "react-bootstrap"; import { useTranslation } from "react-i18next"; @@ -48,16 +47,4 @@ function ContactView({ contact, editContact, getInputFiles, removeContact }) { ); } -ContactView.propTypes = { - contact: PropTypes.objectOf({ - name: PropTypes.string, - image: PropTypes.string, - phone: PropTypes.number, - title: PropTypes.string, - }).isRequired, - editContact: PropTypes.func.isRequired, - getInputFiles: PropTypes.func.isRequired, - removeContact: PropTypes.func.isRequired, -}; - export default ContactView; diff --git a/assets/admin/components/slide/content/contacts/contacts.jsx b/assets/admin/components/slide/content/contacts/contacts.jsx index 9307c4461..d114e847a 100644 --- a/assets/admin/components/slide/content/contacts/contacts.jsx +++ b/assets/admin/components/slide/content/contacts/contacts.jsx @@ -1,5 +1,4 @@ import { React, useState, useEffect } from "react"; -import PropTypes from "prop-types"; import { Button, Card, Row } from "react-bootstrap"; import { ulid } from "ulid"; import { useTranslation } from "react-i18next"; @@ -104,22 +103,4 @@ function Contacts({ ); } -Contacts.propTypes = { - name: PropTypes.string.isRequired, - inputContacts: PropTypes.arrayOf( - PropTypes.shape({ - id: PropTypes.string, - name: PropTypes.string, - image: PropTypes.arrayOf(PropTypes.string), - phone: PropTypes.string, - title: PropTypes.string, - email: PropTypes.string, - }) - ).isRequired, - formGroupClasses: PropTypes.string, - onChange: PropTypes.func.isRequired, - onFilesChange: PropTypes.func.isRequired, - getInputFiles: PropTypes.func.isRequired, -}; - export default Contacts; diff --git a/assets/admin/components/slide/content/content-form.jsx b/assets/admin/components/slide/content/content-form.jsx index bc5536436..bc353ee31 100644 --- a/assets/admin/components/slide/content/content-form.jsx +++ b/assets/admin/components/slide/content/content-form.jsx @@ -1,5 +1,4 @@ import { React } from "react"; -import PropTypes from "prop-types"; import FormCheckbox from "../../util/forms/form-checkbox"; import FormInput from "../../util/forms/form-input"; import Select from "../../util/forms/select"; @@ -271,23 +270,4 @@ function ContentForm({ return <>{renderElement(data)}; } -ContentForm.propTypes = { - data: PropTypes.shape({ - input: PropTypes.string, - name: PropTypes.string, - type: PropTypes.string, - label: PropTypes.string, - helpText: PropTypes.string, - required: PropTypes.bool, - multipleImages: PropTypes.bool, - }).isRequired, - errors: PropTypes.arrayOf(PropTypes.string), - formStateObject: PropTypes.shape({}).isRequired, - onChange: PropTypes.func, - onFileChange: PropTypes.func.isRequired, - mediaData: PropTypes.shape({ - "@id": PropTypes.string, - }), -}; - export default ContentForm; diff --git a/assets/admin/components/slide/content/feed-selector.jsx b/assets/admin/components/slide/content/feed-selector.jsx index b233b5af2..9483951e1 100644 --- a/assets/admin/components/slide/content/feed-selector.jsx +++ b/assets/admin/components/slide/content/feed-selector.jsx @@ -1,13 +1,12 @@ import { React, useEffect, useState } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import { Spinner } from "react-bootstrap"; import { useDispatch } from "react-redux"; import set from "lodash.set"; import { - api, + enhancedApi, useGetV2FeedSourcesQuery, -} from "../../../redux/api/api.generated.ts"; +} from "../../../../shared/redux/enhanced-api.ts"; import MultiSelectComponent from "../../util/forms/multiselect-dropdown/multi-dropdown"; import idFromUrl from "../../util/helpers/id-from-url"; import ContentForm from "./content-form"; @@ -77,7 +76,7 @@ function FeedSelector({ useEffect(() => { if (value?.feedSource) { dispatch( - api.endpoints.getV2FeedSourcesById.initiate({ + enhancedApi.endpoints.getV2FeedSourcesById.initiate({ id: idFromUrl(value.feedSource), }) ) @@ -204,16 +203,4 @@ function FeedSelector({ ); } -FeedSelector.propTypes = { - value: PropTypes.shape({ - feedSource: PropTypes.string, - configuration: PropTypes.shape({}), - }), - onChange: PropTypes.func.isRequired, - formElement: PropTypes.shape({ - singleSelect: PropTypes.bool, - supportedFeedOutputType: PropTypes.string, - }), -}; - export default FeedSelector; diff --git a/assets/admin/components/slide/content/file-dropzone.jsx b/assets/admin/components/slide/content/file-dropzone.jsx index 26e489a2b..1d427ce2e 100644 --- a/assets/admin/components/slide/content/file-dropzone.jsx +++ b/assets/admin/components/slide/content/file-dropzone.jsx @@ -1,6 +1,5 @@ import { React } from "react"; import { useDropzone } from "react-dropzone"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; /** @@ -63,9 +62,4 @@ function FileDropzone({ onFilesAdded, acceptedMimetypes = null }) { ); } -FileDropzone.propTypes = { - onFilesAdded: PropTypes.func.isRequired, - acceptedMimetypes: PropTypes.arrayOf(PropTypes.string), -}; - export default FileDropzone; diff --git a/assets/admin/components/slide/content/file-form-element.jsx b/assets/admin/components/slide/content/file-form-element.jsx index 50bc39654..8f812e050 100644 --- a/assets/admin/components/slide/content/file-form-element.jsx +++ b/assets/admin/components/slide/content/file-form-element.jsx @@ -1,5 +1,4 @@ import { React } from "react"; -import PropTypes from "prop-types"; import { Button, Row, Col } from "react-bootstrap"; import { useTranslation } from "react-i18next"; import FormInput from "../../util/forms/form-input"; @@ -98,22 +97,4 @@ function FileFormElement({ ); } -FileFormElement.propTypes = { - inputFile: PropTypes.shape({ - url: PropTypes.string, - file: PropTypes.shape({ - path: PropTypes.string, - size: PropTypes.number, - }), - title: PropTypes.string, - description: PropTypes.string, - license: PropTypes.string, - }).isRequired, - onRemove: PropTypes.func.isRequired, - onChange: PropTypes.func.isRequired, - disableInput: PropTypes.bool, - displayPreview: PropTypes.bool, - displayFileInfo: PropTypes.bool, -}; - export default FileFormElement; diff --git a/assets/admin/components/slide/content/file-preview.jsx b/assets/admin/components/slide/content/file-preview.jsx index 6ee8d5d31..35b3a33e6 100644 --- a/assets/admin/components/slide/content/file-preview.jsx +++ b/assets/admin/components/slide/content/file-preview.jsx @@ -1,5 +1,4 @@ import { React, useEffect, useState } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; /** @@ -63,12 +62,4 @@ function FilePreview({ fileEntry, enableVideoControls = false }) { return renderPreview(fileEntry); } -FilePreview.propTypes = { - fileEntry: PropTypes.shape({ - assets: PropTypes.shape({}), - file: PropTypes.shape({}), - }), - enableVideoControls: PropTypes.bool, -}; - export default FilePreview; diff --git a/assets/admin/components/slide/content/file-selector.jsx b/assets/admin/components/slide/content/file-selector.jsx index 06d143511..a0bbb479e 100644 --- a/assets/admin/components/slide/content/file-selector.jsx +++ b/assets/admin/components/slide/content/file-selector.jsx @@ -1,5 +1,4 @@ import { React, useState } from "react"; -import PropTypes from "prop-types"; import { Button } from "react-bootstrap"; import "../../util/image-uploader/image-uploader.scss"; import { useTranslation } from "react-i18next"; @@ -138,13 +137,4 @@ function FileSelector({ ); } -FileSelector.propTypes = { - files: PropTypes.arrayOf(PropTypes.shape({})).isRequired, - onFilesChange: PropTypes.func.isRequired, - multiple: PropTypes.bool, - enableMediaLibrary: PropTypes.bool, - name: PropTypes.string.isRequired, - acceptedMimetypes: PropTypes.arrayOf(PropTypes.string), -}; - export default FileSelector; diff --git a/assets/admin/components/slide/content/media-selector-list.jsx b/assets/admin/components/slide/content/media-selector-list.jsx index b4c2acbec..f6b0fd507 100644 --- a/assets/admin/components/slide/content/media-selector-list.jsx +++ b/assets/admin/components/slide/content/media-selector-list.jsx @@ -1,10 +1,9 @@ import { React, useEffect, useState } from "react"; -import PropTypes from "prop-types"; import { Col, Form, Row, Spinner } from "react-bootstrap"; import { useTranslation } from "react-i18next"; import SearchBox from "../../util/search-box/search-box"; import ContentBody from "../../util/content-body/content-body"; -import { useGetV2MediaQuery } from "../../../redux/api/api.generated.ts"; +import { useGetV2MediaQuery } from "../../../../shared/redux/enhanced-api.ts"; import "../../media/media-list.scss"; import Pagination from "../../util/paginate/pagination"; import FilePreview from "./file-preview"; @@ -144,10 +143,4 @@ function MediaSelectorList({ ); } -MediaSelectorList.propTypes = { - selectedMediaIds: PropTypes.arrayOf(PropTypes.string.isRequired).isRequired, - onItemClick: PropTypes.func.isRequired, - multiple: PropTypes.bool, -}; - export default MediaSelectorList; diff --git a/assets/admin/components/slide/content/media-selector-modal.jsx b/assets/admin/components/slide/content/media-selector-modal.jsx index f96f363ec..4a7eb5733 100644 --- a/assets/admin/components/slide/content/media-selector-modal.jsx +++ b/assets/admin/components/slide/content/media-selector-modal.jsx @@ -1,5 +1,4 @@ import { React, useEffect, useState } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import Modal from "react-bootstrap/Modal"; import ModalDialog from "../../util/modal/modal-dialog"; @@ -115,15 +114,4 @@ function MediaSelectorModal({ ); } -MediaSelectorModal.propTypes = { - multiple: PropTypes.bool.isRequired, - onClose: PropTypes.func.isRequired, - selectedMedia: PropTypes.arrayOf( - PropTypes.oneOfType([PropTypes.shape({}), PropTypes.string]) - ).isRequired, - selectMedia: PropTypes.func.isRequired, - show: PropTypes.bool.isRequired, - fieldName: PropTypes.string.isRequired, -}; - export default MediaSelectorModal; diff --git a/assets/admin/components/slide/content/multiselect-from-endpoint.jsx b/assets/admin/components/slide/content/multiselect-from-endpoint.jsx index acabe4b9f..fffbf1d15 100644 --- a/assets/admin/components/slide/content/multiselect-from-endpoint.jsx +++ b/assets/admin/components/slide/content/multiselect-from-endpoint.jsx @@ -1,5 +1,4 @@ import { React, useEffect, useState } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import MultiSelectComponent from "../../util/forms/multiselect-dropdown/multi-dropdown"; import localStorageKeys from "../../util/local-storage-keys"; @@ -107,15 +106,4 @@ function MultiselectFromEndpoint({ ); } -MultiselectFromEndpoint.propTypes = { - name: PropTypes.string.isRequired, - label: PropTypes.string, - value: PropTypes.arrayOf(PropTypes.string), - onChange: PropTypes.func.isRequired, - optionsEndpoint: PropTypes.string.isRequired, - singleSelect: PropTypes.bool, - disableSearch: PropTypes.bool, - helpText: PropTypes.string, -}; - export default MultiselectFromEndpoint; diff --git a/assets/admin/components/slide/content/poster/poster-selector-v1.jsx b/assets/admin/components/slide/content/poster/poster-selector-v1.jsx index 39db9e629..2217b4d2a 100644 --- a/assets/admin/components/slide/content/poster/poster-selector-v1.jsx +++ b/assets/admin/components/slide/content/poster/poster-selector-v1.jsx @@ -1,5 +1,4 @@ import { React, useEffect, useState } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import { Button, Card, Row, Spinner } from "react-bootstrap"; import AsyncSelect from "react-select/async"; @@ -890,17 +889,4 @@ function PosterSelectorV1({ /* eslint-enable jsx-a11y/control-has-associated-label */ } -PosterSelectorV1.propTypes = { - getValueFromConfiguration: PropTypes.func.isRequired, - configurationChange: PropTypes.func.isRequired, - feedSource: PropTypes.shape({ - admin: PropTypes.arrayOf( - PropTypes.shape({ - endpointEntity: PropTypes.string, - endpointSearch: PropTypes.string, - }) - ), - }).isRequired, -}; - export default PosterSelectorV1; diff --git a/assets/admin/components/slide/content/poster/poster-selector-v2.jsx b/assets/admin/components/slide/content/poster/poster-selector-v2.jsx index 6f1397572..2d043cb8e 100644 --- a/assets/admin/components/slide/content/poster/poster-selector-v2.jsx +++ b/assets/admin/components/slide/content/poster/poster-selector-v2.jsx @@ -1,5 +1,4 @@ import { React } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import { Button, Card, Row } from "react-bootstrap"; import Col from "react-bootstrap/Col"; @@ -87,18 +86,4 @@ function PosterSelectorV2({ ); } -PosterSelectorV2.propTypes = { - getValueFromConfiguration: PropTypes.func.isRequired, - configurationChange: PropTypes.func.isRequired, - configuration: PropTypes.shape({}), - feedSource: PropTypes.shape({ - admin: PropTypes.arrayOf( - PropTypes.shape({ - endpointEntity: PropTypes.string, - endpointSearch: PropTypes.string, - }) - ), - }).isRequired, -}; - export default PosterSelectorV2; diff --git a/assets/admin/components/slide/content/poster/poster-single-events.jsx b/assets/admin/components/slide/content/poster/poster-single-events.jsx index c62685f88..c487e1306 100644 --- a/assets/admin/components/slide/content/poster/poster-single-events.jsx +++ b/assets/admin/components/slide/content/poster/poster-single-events.jsx @@ -1,6 +1,5 @@ import { Button } from "react-bootstrap"; import { React } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import { formatDate } from "./poster-helper"; @@ -72,9 +71,4 @@ function PosterSingleEvents({ events, handleSelectEvent }) { ); } -PosterSingleEvents.propTypes = { - events: PropTypes.arrayOf(PropTypes.shape({})).isRequired, - handleSelectEvent: PropTypes.func.isRequired, -}; - export default PosterSingleEvents; diff --git a/assets/admin/components/slide/content/poster/poster-single-occurences.jsx b/assets/admin/components/slide/content/poster/poster-single-occurences.jsx index d3b498913..195eb9aa7 100644 --- a/assets/admin/components/slide/content/poster/poster-single-occurences.jsx +++ b/assets/admin/components/slide/content/poster/poster-single-occurences.jsx @@ -1,6 +1,5 @@ import { Button } from "react-bootstrap"; import { React } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import { formatDate } from "./poster-helper"; @@ -42,15 +41,4 @@ function PosterSingleOccurrences({ occurrences, handleSelectOccurrence }) { ); } -PosterSingleOccurrences.propTypes = { - occurrences: PropTypes.arrayOf( - PropTypes.shape({ - entityId: PropTypes.number.isRequired, - start: PropTypes.string.isRequired, - ticketPriceRange: PropTypes.string.isRequired, - }) - ).isRequired, - handleSelectOccurrence: PropTypes.func.isRequired, -}; - export default PosterSingleOccurrences; diff --git a/assets/admin/components/slide/content/poster/poster-single-override.jsx b/assets/admin/components/slide/content/poster/poster-single-override.jsx index 078f27173..d355f6c30 100644 --- a/assets/admin/components/slide/content/poster/poster-single-override.jsx +++ b/assets/admin/components/slide/content/poster/poster-single-override.jsx @@ -1,5 +1,4 @@ import { React } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import FormInput from "../../../util/forms/form-input"; import FormCheckbox from "../../../util/forms/form-checkbox"; @@ -77,16 +76,4 @@ function PosterSingleOverride({ ); } -PosterSingleOverride.propTypes = { - configuration: PropTypes.shape({ - overrideTitle: PropTypes.string, - overrideSubTitle: PropTypes.string, - overrideTicketPrice: PropTypes.string, - readMoreText: PropTypes.string, - overrideReadMoreUrl: PropTypes.string, - hideTime: PropTypes.bool, - }).isRequired, - onChange: PropTypes.func.isRequired, -}; - export default PosterSingleOverride; diff --git a/assets/admin/components/slide/content/poster/poster-single-search.jsx b/assets/admin/components/slide/content/poster/poster-single-search.jsx index 725b3b071..10a1f89e1 100644 --- a/assets/admin/components/slide/content/poster/poster-single-search.jsx +++ b/assets/admin/components/slide/content/poster/poster-single-search.jsx @@ -2,7 +2,6 @@ import { React, useEffect, useState } from "react"; import { Button, Row } from "react-bootstrap"; import Col from "react-bootstrap/Col"; import { useTranslation } from "react-i18next"; -import PropTypes from "prop-types"; import { MultiSelect } from "react-multi-select-component"; import Form from "react-bootstrap/Form"; import FormInput from "../../../util/forms/form-input"; @@ -155,11 +154,4 @@ function PosterSingleSearch({ ); } -PosterSingleSearch.propTypes = { - searchEndpoint: PropTypes.string.isRequired, - optionsEndpoint: PropTypes.string.isRequired, - setLoading: PropTypes.func.isRequired, - setResult: PropTypes.func.isRequired, -}; - export default PosterSingleSearch; diff --git a/assets/admin/components/slide/content/poster/poster-single.jsx b/assets/admin/components/slide/content/poster/poster-single.jsx index ca3744ded..8a67f86dd 100644 --- a/assets/admin/components/slide/content/poster/poster-single.jsx +++ b/assets/admin/components/slide/content/poster/poster-single.jsx @@ -1,5 +1,4 @@ import { React, useEffect, useState } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import { Alert, Button, Card, Row, Spinner } from "react-bootstrap"; import Col from "react-bootstrap/Col"; @@ -233,27 +232,4 @@ function PosterSingle({ configurationChange, feedSource, configuration }) { ); } -PosterSingle.propTypes = { - configurationChange: PropTypes.func.isRequired, - configuration: PropTypes.shape({ - singleSelectedEvent: PropTypes.number, - singleSelectedOccurrence: PropTypes.number, - overrideTitle: PropTypes.string, - overrideSubTitle: PropTypes.string, - overrideTicketPrice: PropTypes.string, - readMoreText: PropTypes.string, - overrideReadMoreUrl: PropTypes.string, - hideTime: PropTypes.bool, - }).isRequired, - feedSource: PropTypes.shape({ - admin: PropTypes.arrayOf( - PropTypes.shape({ - endpointEntity: PropTypes.string, - endpointSearch: PropTypes.string, - endpointOption: PropTypes.string, - }) - ), - }).isRequired, -}; - export default PosterSingle; diff --git a/assets/admin/components/slide/content/poster/poster-subscription-criteria.jsx b/assets/admin/components/slide/content/poster/poster-subscription-criteria.jsx index d2da99773..c4f109b18 100644 --- a/assets/admin/components/slide/content/poster/poster-subscription-criteria.jsx +++ b/assets/admin/components/slide/content/poster/poster-subscription-criteria.jsx @@ -1,6 +1,5 @@ import { React, useEffect, useState } from "react"; import { useTranslation } from "react-i18next"; -import PropTypes from "prop-types"; import { MultiSelect } from "react-multi-select-component"; import { getHeaders, loadDropdownOptionsPromise } from "./poster-helper"; @@ -159,21 +158,4 @@ function PosterSubscriptionCriteria({ ); } -PosterSubscriptionCriteria.propTypes = { - optionsEndpoint: PropTypes.string.isRequired, - configuration: PropTypes.shape({ - subscriptionPlaceValue: PropTypes.arrayOf( - PropTypes.shape({ label: PropTypes.string, value: PropTypes.number }) - ), - subscriptionOrganizerValue: PropTypes.arrayOf( - PropTypes.shape({ label: PropTypes.string, value: PropTypes.number }) - ), - subscriptionTagValue: PropTypes.arrayOf( - PropTypes.shape({ label: PropTypes.string, value: PropTypes.number }) - ), - subscriptionNumberValue: PropTypes.number, - }).isRequired, - handleSelect: PropTypes.func.isRequired, -}; - export default PosterSubscriptionCriteria; diff --git a/assets/admin/components/slide/content/poster/poster-subscription.jsx b/assets/admin/components/slide/content/poster/poster-subscription.jsx index d62eb93fc..5bd6bc596 100644 --- a/assets/admin/components/slide/content/poster/poster-subscription.jsx +++ b/assets/admin/components/slide/content/poster/poster-subscription.jsx @@ -1,5 +1,4 @@ import { React, useEffect, useState } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import { Row, Spinner } from "react-bootstrap"; import Col from "react-bootstrap/Col"; @@ -164,30 +163,4 @@ function PosterSubscription({ ); } -PosterSubscription.propTypes = { - configuration: PropTypes.shape({ - subscriptionPlaceValue: PropTypes.arrayOf( - PropTypes.shape({ label: PropTypes.string, value: PropTypes.number }) - ), - subscriptionOrganizerValue: PropTypes.arrayOf( - PropTypes.shape({ label: PropTypes.string, value: PropTypes.number }) - ), - subscriptionTagValue: PropTypes.arrayOf( - PropTypes.shape({ label: PropTypes.string, value: PropTypes.number }) - ), - subscriptionNumberValue: PropTypes.number, - }).isRequired, - configurationChange: PropTypes.func.isRequired, - feedSource: PropTypes.shape({ - admin: PropTypes.arrayOf( - PropTypes.shape({ - endpointEntity: PropTypes.string, - endpointOption: PropTypes.string, - endpointSearch: PropTypes.string, - endpointSubscription: PropTypes.string, - }) - ), - }).isRequired, -}; - export default PosterSubscription; diff --git a/assets/admin/components/slide/content/station/station-selector.jsx b/assets/admin/components/slide/content/station/station-selector.jsx index 44047ac1e..cf4e06cd4 100644 --- a/assets/admin/components/slide/content/station/station-selector.jsx +++ b/assets/admin/components/slide/content/station/station-selector.jsx @@ -1,5 +1,4 @@ import { React, useState, useEffect, useContext } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import MultiSelectComponent from "../../../util/forms/multiselect-dropdown/multi-dropdown"; import { displayError } from "../../../util/list/toast-component/display-toast"; @@ -110,19 +109,4 @@ function StationSelector({ ); } -StationSelector.propTypes = { - label: PropTypes.string.isRequired, - name: PropTypes.string.isRequired, - onChange: PropTypes.func.isRequired, - value: PropTypes.arrayOf( - PropTypes.shape({ - id: PropTypes.string, - name: PropTypes.string, - x: PropTypes.string, - y: PropTypes.string, - }) - ), - helpText: PropTypes.string, -}; - export default StationSelector; diff --git a/assets/admin/components/slide/preview/slide-preview.jsx b/assets/admin/components/slide/preview/slide-preview.jsx index afd65adc9..277fd3cf5 100644 --- a/assets/admin/components/slide/preview/slide-preview.jsx +++ b/assets/admin/components/slide/preview/slide-preview.jsx @@ -1,6 +1,5 @@ import { React, useEffect, useState } from "react"; import { Button } from "react-bootstrap"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import ErrorBoundary from "../../error-boundary"; import "./slide-preview.scss"; @@ -143,20 +142,4 @@ function SlidePreview({ ); } -SlidePreview.propTypes = { - slide: PropTypes.shape({ content: PropTypes.shape({}).isRequired }) - .isRequired, - mediaData: PropTypes.shape({ - "@id": PropTypes.string, - }), - themeData: PropTypes.shape({ - css: PropTypes.string, - }), - closeCallback: PropTypes.func, - showPreview: PropTypes.bool.isRequired, - closeButton: PropTypes.bool, - orientation: PropTypes.string, - adjustFontSize: PropTypes.bool, -}; - export default SlidePreview; diff --git a/assets/admin/components/slide/slide-edit.jsx b/assets/admin/components/slide/slide-edit.jsx index 033f77ace..514c31277 100644 --- a/assets/admin/components/slide/slide-edit.jsx +++ b/assets/admin/components/slide/slide-edit.jsx @@ -1,6 +1,6 @@ import { React } from "react"; import { useParams } from "react-router-dom"; -import { useGetV2SlidesByIdQuery } from "../../redux/api/api.generated.ts"; +import { useGetV2SlidesByIdQuery } from "../../../shared/redux/enhanced-api.ts"; import SlideManager from "./slide-manager"; /** diff --git a/assets/admin/components/slide/slide-form.jsx b/assets/admin/components/slide/slide-form.jsx index e226b706a..359558e62 100644 --- a/assets/admin/components/slide/slide-form.jsx +++ b/assets/admin/components/slide/slide-form.jsx @@ -2,7 +2,6 @@ import { React, useEffect, useState, Fragment, useContext } from "react"; import { Button, Row, Col, Alert } from "react-bootstrap"; import { useTranslation } from "react-i18next"; import { useNavigate } from "react-router-dom"; -import PropTypes from "prop-types"; import Form from "react-bootstrap/Form"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faExpand } from "@fortawesome/free-solid-svg-icons"; @@ -11,7 +10,7 @@ import MultiSelectComponent from "../util/forms/multiselect-dropdown/multi-dropd import { useGetV2TemplatesQuery, useGetV2ThemesQuery, -} from "../../redux/api/api.generated.ts"; +} from "../../../shared/redux/enhanced-api.ts"; import idFromUrl from "../util/helpers/id-from-url"; import FormInput from "../util/forms/form-input"; import ContentForm from "./content/content-form"; @@ -550,39 +549,4 @@ function SlideForm({ ); } -SlideForm.propTypes = { - slide: PropTypes.shape({ - title: PropTypes.string, - content: PropTypes.shape({ touchRegionButtonText: PropTypes.string }), - feed: PropTypes.shape({ - feedSource: PropTypes.string, - configuration: PropTypes.shape({}), - }), - published: PropTypes.shape({ - from: PropTypes.string, - to: PropTypes.string, - }), - "@id": PropTypes.string, - }), - handleInput: PropTypes.func.isRequired, - handleSubmit: PropTypes.func.isRequired, - handleSaveNoClose: PropTypes.func.isRequired, - headerText: PropTypes.string.isRequired, - selectTheme: PropTypes.func.isRequired, - selectedTheme: PropTypes.arrayOf( - PropTypes.shape({ "@id": PropTypes.string.isRequired }) - ), - selectTemplate: PropTypes.func.isRequired, - selectedTemplate: PropTypes.shape({ - "@id": PropTypes.string, - }), - isLoading: PropTypes.bool, - loadingMessage: PropTypes.string, - handleContent: PropTypes.func.isRequired, - handleMedia: PropTypes.func.isRequired, - mediaData: PropTypes.shape({ - "@id": PropTypes.string, - }), -}; - export default SlideForm; diff --git a/assets/admin/components/slide/slide-manager.jsx b/assets/admin/components/slide/slide-manager.jsx index 8487387e4..fbef3b1da 100644 --- a/assets/admin/components/slide/slide-manager.jsx +++ b/assets/admin/components/slide/slide-manager.jsx @@ -3,18 +3,17 @@ import { useTranslation } from "react-i18next"; import get from "lodash.get"; import set from "lodash.set"; import { ulid } from "ulid"; -import PropTypes from "prop-types"; import { useDispatch } from "react-redux"; import dayjs from "dayjs"; import { useNavigate } from "react-router-dom"; import UserContext from "../../context/user-context"; import { - api, + enhancedApi, usePostMediaCollectionMutation, usePostV2SlidesMutation, usePutV2SlidesByIdPlaylistsMutation, usePutV2SlidesByIdMutation, -} from "../../redux/api/api.generated.ts"; +} from "../../../shared/redux/enhanced-api.ts"; import SlideForm from "./slide-form"; import { displaySuccess, @@ -224,7 +223,7 @@ function SlideManager({ getTemplate ) { dispatch( - api.endpoints.getV2TemplatesById.initiate({ + enhancedApi.endpoints.getV2TemplatesById.initiate({ id: idFromUrl(formStateObject.templateInfo["@id"]), }) ) @@ -241,7 +240,7 @@ function SlideManager({ // Load theme if set, getTheme because if not, it runs on every time formstateobject is changed if (formStateObject?.theme && getTheme) { dispatch( - api.endpoints.getV2ThemesById.initiate({ + enhancedApi.endpoints.getV2ThemesById.initiate({ id: idFromUrl(formStateObject.theme), }) ) @@ -271,7 +270,7 @@ function SlideManager({ if (initialState?.feed && initialState?.feed["@id"]) { dispatch( - api.endpoints.getV2FeedsByIdData.initiate({ + enhancedApi.endpoints.getV2FeedsByIdData.initiate({ id: idFromUrl(initialState.feed["@id"]), }) ).then((response) => { @@ -293,7 +292,7 @@ function SlideManager({ localFormStateObject.media.forEach((media) => { promises.push( dispatch( - api.endpoints.getv2MediaById.initiate({ id: idFromUrl(media) }) + enhancedApi.endpoints.getv2MediaById.initiate({ id: idFromUrl(media) }) ) ); }); @@ -510,7 +509,7 @@ function SlideManager({ } // Construct data for submitting. const saveData = { - slideSlideInput: JSON.stringify({ + slideSlideInputJsonld: JSON.stringify({ title: formStateObject.title, theme: formStateObject.theme ?? "", description: formStateObject.description, @@ -618,20 +617,4 @@ function SlideManager({ ); } -SlideManager.propTypes = { - initialState: PropTypes.shape({ - feed: PropTypes.shape({ - "@id": PropTypes.string, - }), - }), - saveMethod: PropTypes.string.isRequired, - id: PropTypes.string, - isLoading: PropTypes.bool, - loadingError: PropTypes.shape({ - data: PropTypes.shape({ - status: PropTypes.number, - }), - }), -}; - export default SlideManager; diff --git a/assets/admin/components/slide/slides-list.jsx b/assets/admin/components/slide/slides-list.jsx index f3176811b..77cc2ada5 100644 --- a/assets/admin/components/slide/slides-list.jsx +++ b/assets/admin/components/slide/slides-list.jsx @@ -16,7 +16,7 @@ import { useGetV2SlidesQuery, useDeleteV2SlidesByIdMutation, useGetV2PlaylistsByIdQuery, -} from "../../redux/api/api.generated.ts"; +} from "../../../shared/redux/enhanced-api.ts"; /** * The slides list component. diff --git a/assets/admin/components/themes/theme-edit.jsx b/assets/admin/components/themes/theme-edit.jsx index 000e4a062..0fd10cc6e 100644 --- a/assets/admin/components/themes/theme-edit.jsx +++ b/assets/admin/components/themes/theme-edit.jsx @@ -1,6 +1,6 @@ import { React } from "react"; import { useParams } from "react-router-dom"; -import { useGetV2ThemesByIdQuery } from "../../redux/api/api.generated.ts"; +import { useGetV2ThemesByIdQuery } from "../../../shared/redux/enhanced-api.ts"; import ThemeManager from "./theme-manager"; /** diff --git a/assets/admin/components/themes/theme-form.jsx b/assets/admin/components/themes/theme-form.jsx index 50d9aaa39..9be9da0a5 100644 --- a/assets/admin/components/themes/theme-form.jsx +++ b/assets/admin/components/themes/theme-form.jsx @@ -2,7 +2,6 @@ import { React } from "react"; import { Button, FormLabel, Row, Col } from "react-bootstrap"; import { useTranslation } from "react-i18next"; import { useNavigate } from "react-router-dom"; -import PropTypes from "prop-types"; import Form from "react-bootstrap/Form"; import LoadingComponent from "../util/loading-component/loading-component"; import FormInputArea from "../util/forms/form-input-area"; @@ -115,19 +114,4 @@ function ThemeForm({ ); } -ThemeForm.propTypes = { - theme: PropTypes.shape({ - cssStyles: PropTypes.string, - logo: PropTypes.shape({}), - description: PropTypes.string, - title: PropTypes.string, - }), - handleInput: PropTypes.func.isRequired, - handleSubmit: PropTypes.func.isRequired, - handleSaveNoClose: PropTypes.func.isRequired, - headerText: PropTypes.string.isRequired, - isLoading: PropTypes.bool, - loadingMessage: PropTypes.string, -}; - export default ThemeForm; diff --git a/assets/admin/components/themes/theme-manager.jsx b/assets/admin/components/themes/theme-manager.jsx index 89c5cc850..28609c82d 100644 --- a/assets/admin/components/themes/theme-manager.jsx +++ b/assets/admin/components/themes/theme-manager.jsx @@ -1,13 +1,12 @@ import { React, useEffect, useState } from "react"; import { useTranslation } from "react-i18next"; -import PropTypes from "prop-types"; import { useNavigate } from "react-router-dom"; import ThemeForm from "./theme-form"; import { usePostV2ThemesMutation, usePutV2ThemesByIdMutation, usePostMediaCollectionMutation, -} from "../../redux/api/api.generated.ts"; +} from "../../../shared/redux/enhanced-api.ts"; import { displaySuccess, displayError, @@ -115,9 +114,9 @@ function ThemeManager({ saveData.logo = logo; } if (saveMethod === "POST") { - postV2Themes({ themeThemeInput: JSON.stringify(saveData) }); + postV2Themes({ themeThemeInputJsonld: JSON.stringify(saveData) }); } else if (saveMethod === "PUT") { - PutV2ThemesById({ themeThemeInput: JSON.stringify(saveData), id }); + PutV2ThemesById({ themeThemeInputJsonld: JSON.stringify(saveData), id }); } } @@ -232,18 +231,4 @@ function ThemeManager({ ); } -ThemeManager.propTypes = { - initialState: PropTypes.shape({ - logo: PropTypes.shape({}), - }), - saveMethod: PropTypes.string.isRequired, - id: PropTypes.string, - isLoading: PropTypes.bool, - loadingError: PropTypes.shape({ - data: PropTypes.shape({ - status: PropTypes.number, - }), - }), -}; - export default ThemeManager; diff --git a/assets/admin/components/themes/themes-list.jsx b/assets/admin/components/themes/themes-list.jsx index 6c257cfec..3065dbe6f 100644 --- a/assets/admin/components/themes/themes-list.jsx +++ b/assets/admin/components/themes/themes-list.jsx @@ -15,7 +15,7 @@ import { import { useGetV2ThemesQuery, useDeleteV2ThemesByIdMutation, -} from "../../redux/api/api.generated.ts"; +} from "../../../shared/redux/enhanced-api.ts"; /** * The themes list component. diff --git a/assets/admin/components/user/login.jsx b/assets/admin/components/user/login.jsx index f56677a11..067260060 100644 --- a/assets/admin/components/user/login.jsx +++ b/assets/admin/components/user/login.jsx @@ -8,14 +8,14 @@ import Col from "react-bootstrap/Col"; import {MultiSelect} from "react-multi-select-component"; import UserContext from "../../context/user-context"; import FormInput from "../util/forms/form-input"; -import {api} from "../../redux/api/api.generated.ts"; +import { enhancedApi } from "../../../shared/redux/enhanced-api.ts"; import AdminConfigLoader from "../util/admin-config-loader.js"; import {displayError} from "../util/list/toast-component/display-toast"; import localStorageKeys from "../util/local-storage-keys"; import LoginSidebar from "../navigation/login-sidebar/login-sidebar"; -import "./login.scss"; import OIDCLogin from "./oidc-login"; import LoadingComponent from "../util/loading-component/loading-component"; +import "./login.scss"; /** * Login component @@ -145,7 +145,7 @@ function Login() { e.stopPropagation(); dispatch( - api.endpoints.postV2UserActivationCodesActivate.initiate({ + enhancedApi.endpoints.postV2UserActivationCodesActivate.initiate({ userActivationCodeActivationCode: JSON.stringify({ activationCode, }), @@ -165,7 +165,7 @@ function Login() { e.stopPropagation(); dispatch( - api.endpoints.loginCheckPost.initiate({ + enhancedApi.endpoints.loginCheckPost.initiate({ body: JSON.stringify({ providerId: email, password, diff --git a/assets/admin/components/user/oidc-login.jsx b/assets/admin/components/user/oidc-login.jsx index 2b3d1e7e3..729a8493c 100644 --- a/assets/admin/components/user/oidc-login.jsx +++ b/assets/admin/components/user/oidc-login.jsx @@ -2,7 +2,6 @@ import { React, useState } from "react"; import { Alert } from "react-bootstrap"; import { useTranslation } from "react-i18next"; import "./login.scss"; -import PropTypes from "prop-types"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import * as FontAwesomeIcons from "@fortawesome/free-solid-svg-icons"; import MitIdLogo from "./mitid-logo.svg"; @@ -93,12 +92,4 @@ function OIDCLogin({ config }) { ); } -OIDCLogin.propTypes = { - config: PropTypes.shape({ - provider: PropTypes.string.isRequired, - icon: PropTypes.string, - label: PropTypes.string, - }).isRequired, -}; - export default OIDCLogin; diff --git a/assets/admin/components/users/users-list.jsx b/assets/admin/components/users/users-list.jsx index dc91577c4..f303e1280 100644 --- a/assets/admin/components/users/users-list.jsx +++ b/assets/admin/components/users/users-list.jsx @@ -16,7 +16,7 @@ import { import { useDeleteV2UsersByIdRemoveFromTenantMutation, useGetV2UsersQuery, -} from "../../redux/api/api.generated.ts"; +} from "../../../shared/redux/enhanced-api.ts"; /** * The users list component. diff --git a/assets/admin/components/util/content-body/content-body.jsx b/assets/admin/components/util/content-body/content-body.jsx index ff0d41f91..9064a0cf3 100644 --- a/assets/admin/components/util/content-body/content-body.jsx +++ b/assets/admin/components/util/content-body/content-body.jsx @@ -1,5 +1,4 @@ import { React } from "react"; -import PropTypes from "prop-types"; /** * @param {object} props - The props. @@ -20,10 +19,4 @@ function ContentBody({ children, id = "", highlightSection = false }) { ); } -ContentBody.propTypes = { - children: PropTypes.node.isRequired, - id: PropTypes.string, - highlightSection: PropTypes.bool, -}; - export default ContentBody; diff --git a/assets/admin/components/util/content-footer/content-footer.jsx b/assets/admin/components/util/content-footer/content-footer.jsx index cd31faf21..3805f59de 100644 --- a/assets/admin/components/util/content-footer/content-footer.jsx +++ b/assets/admin/components/util/content-footer/content-footer.jsx @@ -1,5 +1,4 @@ import { React } from "react"; -import PropTypes from "prop-types"; /** * @param {object} props The props. @@ -14,8 +13,4 @@ function ContentFooter({ children }) { ); } -ContentFooter.propTypes = { - children: PropTypes.node.isRequired, -}; - export default ContentFooter; diff --git a/assets/admin/components/util/content-header/content-header.jsx b/assets/admin/components/util/content-header/content-header.jsx index 55c89233c..8a1eadd19 100644 --- a/assets/admin/components/util/content-header/content-header.jsx +++ b/assets/admin/components/util/content-header/content-header.jsx @@ -1,5 +1,4 @@ import { React } from "react"; -import PropTypes from "prop-types"; import Button from "react-bootstrap/Button"; import Col from "react-bootstrap/Col"; import Row from "react-bootstrap/Row"; @@ -36,10 +35,4 @@ function ContentHeader({ title, newBtnTitle, newBtnLink }) { ); } -ContentHeader.propTypes = { - title: PropTypes.string.isRequired, - newBtnTitle: PropTypes.string.isRequired, - newBtnLink: PropTypes.string.isRequired, -}; - export default ContentHeader; diff --git a/assets/admin/components/util/date-value.jsx b/assets/admin/components/util/date-value.jsx index 065f6148b..4c2b33547 100644 --- a/assets/admin/components/util/date-value.jsx +++ b/assets/admin/components/util/date-value.jsx @@ -1,4 +1,3 @@ -import PropTypes from "prop-types"; import dayjs from "dayjs"; /** @@ -10,8 +9,4 @@ function DateValue({ date }) { return date ? dayjs(date).format("D/M/YYYY HH:mm") : ""; } -DateValue.propTypes = { - date: PropTypes.string, -}; - export default DateValue; diff --git a/assets/admin/components/util/drag-and-drop-table/drag-and-drop-table.jsx b/assets/admin/components/util/drag-and-drop-table/drag-and-drop-table.jsx index cacd75593..481d34141 100644 --- a/assets/admin/components/util/drag-and-drop-table/drag-and-drop-table.jsx +++ b/assets/admin/components/util/drag-and-drop-table/drag-and-drop-table.jsx @@ -1,12 +1,10 @@ import React from "react"; -import PropTypes from "prop-types"; import { Row, Table, Col } from "react-bootstrap"; import { DragDropContext, Draggable, Droppable } from "@hello-pangea/dnd"; import { useTranslation } from "react-i18next"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faGripVertical } from "@fortawesome/free-solid-svg-icons"; import TableHeader from "../table/table-header"; -import ColumnProptypes from "../../proptypes/column-proptypes"; import PaginationButton from "../forms/multiselect-dropdown/pagination-button"; import "./drag-and-drop-table.scss"; @@ -173,20 +171,4 @@ function DragAndDropTable({ /* eslint-enable jsx-a11y/control-has-associated-label */ } -DragAndDropTable.propTypes = { - data: PropTypes.arrayOf( - PropTypes.shape({ - name: PropTypes.string, - id: PropTypes.string, - className: PropTypes.string, - }) - ).isRequired, - columns: ColumnProptypes.isRequired, - name: PropTypes.string.isRequired, - onDropped: PropTypes.func.isRequired, - label: PropTypes.string.isRequired, - callback: PropTypes.func.isRequired, - totalItems: PropTypes.number.isRequired, -}; - export default DragAndDropTable; diff --git a/assets/admin/components/util/forms/checkbox-options.jsx b/assets/admin/components/util/forms/checkbox-options.jsx index 9ad11adba..3434d2ab5 100644 --- a/assets/admin/components/util/forms/checkbox-options.jsx +++ b/assets/admin/components/util/forms/checkbox-options.jsx @@ -1,5 +1,4 @@ import { React } from "react"; -import PropTypes from "prop-types"; /** * @param {object} props The props. @@ -49,19 +48,4 @@ function CheckboxOptions({ formData, data, onChange }) { ); } -CheckboxOptions.propTypes = { - formData: PropTypes.shape({ - name: PropTypes.string, - formGroupClasses: PropTypes.string, - options: PropTypes.arrayOf( - PropTypes.shape({ - value: PropTypes.string.isRequired, - title: PropTypes.string.isRequired, - }) - ), - }), - onChange: PropTypes.func.isRequired, - data: PropTypes.shape({}), -}; - export default CheckboxOptions; diff --git a/assets/admin/components/util/forms/form-checkbox.jsx b/assets/admin/components/util/forms/form-checkbox.jsx index 62baa1caf..ef5c2c076 100644 --- a/assets/admin/components/util/forms/form-checkbox.jsx +++ b/assets/admin/components/util/forms/form-checkbox.jsx @@ -1,5 +1,4 @@ import { React } from "react"; -import PropTypes from "prop-types"; import { FormCheck, FormGroup } from "react-bootstrap"; /** @@ -48,16 +47,4 @@ function FormCheckbox({ ); } -FormCheckbox.propTypes = { - name: PropTypes.string.isRequired, - value: PropTypes.oneOfType([ - PropTypes.objectOf(PropTypes.any), - PropTypes.bool, - ]), - label: PropTypes.string.isRequired, - helpText: PropTypes.string, - formGroupClasses: PropTypes.string, - onChange: PropTypes.func.isRequired, -}; - export default FormCheckbox; diff --git a/assets/admin/components/util/forms/form-input-area.jsx b/assets/admin/components/util/forms/form-input-area.jsx index 39a66fc2e..dc71154c0 100644 --- a/assets/admin/components/util/forms/form-input-area.jsx +++ b/assets/admin/components/util/forms/form-input-area.jsx @@ -1,5 +1,4 @@ import React from "react"; -import PropTypes from "prop-types"; import { FormLabel } from "react-bootstrap"; /** @@ -41,14 +40,4 @@ function FormInputArea({ ); } -FormInputArea.propTypes = { - name: PropTypes.string.isRequired, - formGroupClasses: PropTypes.string, - label: PropTypes.string.isRequired, - placeholder: PropTypes.string, - value: PropTypes.string, - required: PropTypes.bool, - onChange: PropTypes.func.isRequired, -}; - export default FormInputArea; diff --git a/assets/admin/components/util/forms/form-input.jsx b/assets/admin/components/util/forms/form-input.jsx index 5283ee450..4e95216fd 100644 --- a/assets/admin/components/util/forms/form-input.jsx +++ b/assets/admin/components/util/forms/form-input.jsx @@ -1,5 +1,4 @@ import { React } from "react"; -import PropTypes from "prop-types"; import { FormControl, FormGroup, FormLabel, InputGroup } from "react-bootstrap"; import { useTranslation } from "react-i18next"; import Tooltip from "../tooltip"; @@ -78,21 +77,4 @@ function FormInput({ /* eslint-enable react/jsx-props-no-spreading */ } -FormInput.propTypes = { - error: PropTypes.bool, - name: PropTypes.string.isRequired, - type: PropTypes.string, - value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), - label: PropTypes.string, - helpText: PropTypes.string, - placeholder: PropTypes.string, - onChange: PropTypes.func.isRequired, - invalidText: PropTypes.string, - formGroupClasses: PropTypes.string, - disabled: PropTypes.bool, - required: PropTypes.bool, - inputGroupExtra: PropTypes.node, - tooltip: PropTypes.string, -}; - export default FormInput; diff --git a/assets/admin/components/util/forms/form-table/editable-cell.jsx b/assets/admin/components/util/forms/form-table/editable-cell.jsx index b0a456e1e..c190e162e 100644 --- a/assets/admin/components/util/forms/form-table/editable-cell.jsx +++ b/assets/admin/components/util/forms/form-table/editable-cell.jsx @@ -1,5 +1,4 @@ import { React, useEffect, useState } from "react"; -import PropTypes from "prop-types"; /** * This file is built on @@ -36,11 +35,4 @@ const EditableCell = ({ ); }; -EditableCell.propTypes = { - value: PropTypes.string.isRequired, - row: PropTypes.objectOf({ index: PropTypes.number }).isRequired, - column: PropTypes.objectOf({ id: PropTypes.string }).isRequired, - updateTableData: PropTypes.func.isRequired, -}; - export default EditableCell; diff --git a/assets/admin/components/util/forms/form-table/form-table.jsx b/assets/admin/components/util/forms/form-table/form-table.jsx index 1915c95e4..c6acf5752 100644 --- a/assets/admin/components/util/forms/form-table/form-table.jsx +++ b/assets/admin/components/util/forms/form-table/form-table.jsx @@ -3,7 +3,6 @@ import { useTranslation } from "react-i18next"; import { Tabs, Tab, Button, InputGroup, FormControl } from "react-bootstrap"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faBackspace } from "@fortawesome/free-solid-svg-icons"; -import PropTypes from "prop-types"; import { ulid } from "ulid"; import ReactTable from "./react-table"; import FormInput from "../form-input"; @@ -239,22 +238,4 @@ function FormTable({ name, onChange, formGroupClasses = "", value = [] }) { ); } -FormTable.propTypes = { - name: PropTypes.string.isRequired, - value: PropTypes.arrayOf( - PropTypes.shape({ - columns: PropTypes.arrayOf( - PropTypes.shape({ - Header: PropTypes.string, - accessor: PropTypes.string, - key: PropTypes.string, - }) - ), - type: PropTypes.string, - }) - ), - formGroupClasses: PropTypes.string, - onChange: PropTypes.func.isRequired, -}; - export default FormTable; diff --git a/assets/admin/components/util/forms/form-table/react-table.jsx b/assets/admin/components/util/forms/form-table/react-table.jsx index f66588597..0f9bf1ba4 100644 --- a/assets/admin/components/util/forms/form-table/react-table.jsx +++ b/assets/admin/components/util/forms/form-table/react-table.jsx @@ -1,6 +1,5 @@ import { React } from "react"; import { useTranslation } from "react-i18next"; -import PropTypes from "prop-types"; import { Button } from "react-bootstrap"; import TableComponent from "./table-component"; import "./react-table.scss"; @@ -43,10 +42,4 @@ function ReactTable({ data, columns, updateTableData }) { ); } -ReactTable.propTypes = { - data: PropTypes.arrayOf(PropTypes.objectOf(PropTypes.any)).isRequired, - columns: PropTypes.arrayOf(PropTypes.objectOf(PropTypes.any)).isRequired, - updateTableData: PropTypes.func.isRequired, -}; - export default ReactTable; diff --git a/assets/admin/components/util/forms/form-table/table-component.jsx b/assets/admin/components/util/forms/form-table/table-component.jsx index 61b791af7..8f39d2242 100644 --- a/assets/admin/components/util/forms/form-table/table-component.jsx +++ b/assets/admin/components/util/forms/form-table/table-component.jsx @@ -1,6 +1,5 @@ /* eslint-disable react/jsx-props-no-spreading */ import { React } from "react"; -import PropTypes from "prop-types"; import { useTable } from "react-table"; import EditableCell from "./editable-cell"; @@ -54,10 +53,4 @@ function TableComponent({ columns, data, updateTableData }) { ); } -TableComponent.propTypes = { - data: PropTypes.arrayOf(PropTypes.objectOf(PropTypes.any)).isRequired, - columns: PropTypes.arrayOf(PropTypes.objectOf(PropTypes.any)).isRequired, - updateTableData: PropTypes.func.isRequired, -}; - export default TableComponent; diff --git a/assets/admin/components/util/forms/multiselect-dropdown/groups/groups-dropdown.jsx b/assets/admin/components/util/forms/multiselect-dropdown/groups/groups-dropdown.jsx index 4088e64ee..d625315c4 100644 --- a/assets/admin/components/util/forms/multiselect-dropdown/groups/groups-dropdown.jsx +++ b/assets/admin/components/util/forms/multiselect-dropdown/groups/groups-dropdown.jsx @@ -1,5 +1,4 @@ import React from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import MultiSelectComponent from "../multi-dropdown"; @@ -38,23 +37,4 @@ function GroupsDropdown({ ); } -GroupsDropdown.propTypes = { - handleGroupsSelection: PropTypes.func.isRequired, - filterCallback: PropTypes.func.isRequired, - selected: PropTypes.arrayOf( - PropTypes.shape({ - value: PropTypes.string, - label: PropTypes.number, - disabled: PropTypes.bool, - }) - ), - name: PropTypes.string.isRequired, - errors: PropTypes.arrayOf(PropTypes.string), - data: PropTypes.arrayOf( - PropTypes.shape({ - title: PropTypes.string, - }) - ).isRequired, -}; - export default GroupsDropdown; diff --git a/assets/admin/components/util/forms/multiselect-dropdown/multi-dropdown.jsx b/assets/admin/components/util/forms/multiselect-dropdown/multi-dropdown.jsx index 6e5e6b5c3..b3145862c 100644 --- a/assets/admin/components/util/forms/multiselect-dropdown/multi-dropdown.jsx +++ b/assets/admin/components/util/forms/multiselect-dropdown/multi-dropdown.jsx @@ -1,6 +1,5 @@ import { React, useEffect, useState } from "react"; import { MultiSelect } from "react-multi-select-component"; -import PropTypes from "prop-types"; import Form from "react-bootstrap/Form"; import { useTranslation } from "react-i18next"; import contentString from "../../helpers/content-string"; @@ -204,32 +203,4 @@ function MultiSelectComponent({ ); } -MultiSelectComponent.propTypes = { - options: PropTypes.arrayOf( - PropTypes.shape({ - value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), - label: PropTypes.string, - disabled: PropTypes.bool, - }) - ), - handleSelection: PropTypes.func.isRequired, - selected: PropTypes.arrayOf( - PropTypes.shape({ - value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), - label: PropTypes.string, - disabled: PropTypes.bool, - }) - ), - filterCallback: PropTypes.func, - noSelectedString: PropTypes.string, - name: PropTypes.string.isRequired, - isLoading: PropTypes.bool, - errorText: PropTypes.string, - error: PropTypes.bool, - label: PropTypes.string.isRequired, - helpText: PropTypes.string, - singleSelect: PropTypes.bool, - disableSearch: PropTypes.bool, -}; - export default MultiSelectComponent; diff --git a/assets/admin/components/util/forms/multiselect-dropdown/pagination-button.jsx b/assets/admin/components/util/forms/multiselect-dropdown/pagination-button.jsx index 18137b1ae..fa95290d1 100644 --- a/assets/admin/components/util/forms/multiselect-dropdown/pagination-button.jsx +++ b/assets/admin/components/util/forms/multiselect-dropdown/pagination-button.jsx @@ -1,6 +1,5 @@ import { React } from "react"; import { Button } from "react-bootstrap"; -import PropTypes from "prop-types"; /** * A pagination button for multiselect dropdowns. @@ -24,10 +23,4 @@ const PaginationButton = ({ ); }; -PaginationButton.propTypes = { - label: PropTypes.string, - showButton: PropTypes.bool, - callback: PropTypes.func, -}; - export default PaginationButton; diff --git a/assets/admin/components/util/forms/multiselect-dropdown/playlists/playlists-dropdown.jsx b/assets/admin/components/util/forms/multiselect-dropdown/playlists/playlists-dropdown.jsx index 5fcd618f0..6cc5aa6b7 100644 --- a/assets/admin/components/util/forms/multiselect-dropdown/playlists/playlists-dropdown.jsx +++ b/assets/admin/components/util/forms/multiselect-dropdown/playlists/playlists-dropdown.jsx @@ -1,5 +1,4 @@ import React from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import MultiSelectComponent from "../multi-dropdown"; @@ -43,24 +42,4 @@ function PlaylistsDropdown({ ); } -PlaylistsDropdown.propTypes = { - handlePlaylistSelection: PropTypes.func.isRequired, - selected: PropTypes.arrayOf( - PropTypes.shape({ - value: PropTypes.number, - label: PropTypes.string, - disabled: PropTypes.bool, - }) - ).isRequired, - helpText: PropTypes.string, - filterCallback: PropTypes.func.isRequired, - data: PropTypes.arrayOf( - PropTypes.shape({ - title: PropTypes.string, - }) - ).isRequired, - name: PropTypes.string.isRequired, - errors: PropTypes.arrayOf(PropTypes.string), -}; - export default PlaylistsDropdown; diff --git a/assets/admin/components/util/forms/multiselect-dropdown/screens/screens-dropdown.jsx b/assets/admin/components/util/forms/multiselect-dropdown/screens/screens-dropdown.jsx index 93eb5afb6..825b89d01 100644 --- a/assets/admin/components/util/forms/multiselect-dropdown/screens/screens-dropdown.jsx +++ b/assets/admin/components/util/forms/multiselect-dropdown/screens/screens-dropdown.jsx @@ -1,5 +1,4 @@ import React from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import MultiSelectComponent from "../multi-dropdown"; @@ -44,23 +43,4 @@ function ScreensDropdown({ ); } -ScreensDropdown.propTypes = { - handleScreenSelection: PropTypes.func.isRequired, - selected: PropTypes.arrayOf( - PropTypes.shape({ - value: PropTypes.number, - label: PropTypes.string, - disabled: PropTypes.bool, - }) - ), - filterCallback: PropTypes.func.isRequired, - data: PropTypes.arrayOf( - PropTypes.shape({ - title: PropTypes.string, - }) - ).isRequired, - name: PropTypes.string.isRequired, - errors: PropTypes.arrayOf(PropTypes.string), -}; - export default ScreensDropdown; diff --git a/assets/admin/components/util/forms/multiselect-dropdown/slides/slides-dropdown.jsx b/assets/admin/components/util/forms/multiselect-dropdown/slides/slides-dropdown.jsx index 3f0154222..6f6decd03 100644 --- a/assets/admin/components/util/forms/multiselect-dropdown/slides/slides-dropdown.jsx +++ b/assets/admin/components/util/forms/multiselect-dropdown/slides/slides-dropdown.jsx @@ -1,5 +1,4 @@ import React from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import MultiSelectComponent from "../multi-dropdown"; /** @@ -37,23 +36,4 @@ function SlidesDropdown({ ); } -SlidesDropdown.propTypes = { - handleSlideSelection: PropTypes.func.isRequired, - filterCallback: PropTypes.func.isRequired, - selected: PropTypes.arrayOf( - PropTypes.shape({ - value: PropTypes.number, - label: PropTypes.string, - disabled: PropTypes.bool, - }) - ), - name: PropTypes.string.isRequired, - errors: PropTypes.arrayOf(PropTypes.string), - data: PropTypes.arrayOf( - PropTypes.shape({ - title: PropTypes.string, - }) - ).isRequired, -}; - export default SlidesDropdown; diff --git a/assets/admin/components/util/forms/multiselect-dropdown/tenants/tenants-dropdown.jsx b/assets/admin/components/util/forms/multiselect-dropdown/tenants/tenants-dropdown.jsx index e9ad28e69..932d926af 100644 --- a/assets/admin/components/util/forms/multiselect-dropdown/tenants/tenants-dropdown.jsx +++ b/assets/admin/components/util/forms/multiselect-dropdown/tenants/tenants-dropdown.jsx @@ -1,5 +1,4 @@ import React from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import MultiSelectComponent from "../multi-dropdown"; /** @@ -34,22 +33,4 @@ function TenantsDropdown({ ); } -TenantsDropdown.propTypes = { - handleTenantSelection: PropTypes.func.isRequired, - selected: PropTypes.arrayOf( - PropTypes.shape({ - value: PropTypes.number, - label: PropTypes.string, - disabled: PropTypes.bool, - }) - ), - name: PropTypes.string.isRequired, - errors: PropTypes.arrayOf(PropTypes.string), - data: PropTypes.arrayOf( - PropTypes.shape({ - title: PropTypes.string, - }) - ).isRequired, -}; - export default TenantsDropdown; diff --git a/assets/admin/components/util/forms/radio-buttons.jsx b/assets/admin/components/util/forms/radio-buttons.jsx index 53b7c555f..c13f96130 100644 --- a/assets/admin/components/util/forms/radio-buttons.jsx +++ b/assets/admin/components/util/forms/radio-buttons.jsx @@ -1,5 +1,4 @@ import React from "react"; -import PropTypes from "prop-types"; /** * Radio buttons for forms. @@ -59,19 +58,4 @@ function RadioButtons({ ); } -RadioButtons.propTypes = { - radioGroupName: PropTypes.string.isRequired, - label: PropTypes.string.isRequired, - selected: PropTypes.string.isRequired, - options: PropTypes.arrayOf( - PropTypes.shape({ - id: PropTypes.string.isRequired, - label: PropTypes.string.isRequired, - }) - ).isRequired, - disabled: PropTypes.bool, - handleChange: PropTypes.func.isRequired, - labelScreenReaderOnly: PropTypes.bool, -}; - export default RadioButtons; diff --git a/assets/admin/components/util/forms/rich-text/rich-text.jsx b/assets/admin/components/util/forms/rich-text/rich-text.jsx index 613033884..25c079650 100644 --- a/assets/admin/components/util/forms/rich-text/rich-text.jsx +++ b/assets/admin/components/util/forms/rich-text/rich-text.jsx @@ -1,6 +1,5 @@ import { React } from "react"; import ReactQuill from "react-quill"; -import PropTypes from "prop-types"; import { FormGroup, FormLabel } from "react-bootstrap"; import DOMPurify from "dompurify"; import "react-quill/dist/quill.snow.css"; @@ -85,14 +84,4 @@ function RichText({ ); } -RichText.propTypes = { - name: PropTypes.string.isRequired, - label: PropTypes.string, - helpText: PropTypes.string, - value: PropTypes.string, - onChange: PropTypes.func.isRequired, - formGroupClasses: PropTypes.string, - required: PropTypes.bool, -}; - export default RichText; diff --git a/assets/admin/components/util/forms/select.jsx b/assets/admin/components/util/forms/select.jsx index 5c6f51069..9f58dd5a8 100644 --- a/assets/admin/components/util/forms/select.jsx +++ b/assets/admin/components/util/forms/select.jsx @@ -1,5 +1,4 @@ import { React, useEffect, useState } from "react"; -import PropTypes from "prop-types"; import { FormGroup } from "react-bootstrap"; import { useTranslation } from "react-i18next"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; @@ -110,25 +109,4 @@ function Select({ /* eslint-enable jsx-a11y/anchor-is-valid */ } -Select.propTypes = { - options: PropTypes.arrayOf( - PropTypes.shape({ - id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), - title: PropTypes.string.isRequired, - }) - ).isRequired, - disabled: PropTypes.bool, - tooltip: PropTypes.string, - errors: PropTypes.arrayOf(PropTypes.string), - label: PropTypes.string, - name: PropTypes.string.isRequired, - onChange: PropTypes.func.isRequired, - value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), - isRequired: PropTypes.bool, - errorText: PropTypes.string, - helpText: PropTypes.string, - formGroupClasses: PropTypes.string, - allowNull: PropTypes.bool, -}; - export default Select; diff --git a/assets/admin/components/util/gantt-chart.jsx b/assets/admin/components/util/gantt-chart.jsx index 9c9e431bc..fec3d100d 100644 --- a/assets/admin/components/util/gantt-chart.jsx +++ b/assets/admin/components/util/gantt-chart.jsx @@ -1,5 +1,4 @@ import React, { useEffect } from "react"; -import PropTypes from "prop-types"; import * as am4core from "@amcharts/amcharts4/core"; import * as am4charts from "@amcharts/amcharts4/charts"; import { useNavigate } from "react-router-dom"; @@ -96,16 +95,4 @@ function GanttChart({ id, data, component }) { ); } -GanttChart.propTypes = { - data: PropTypes.arrayOf( - PropTypes.shape({ - regions: PropTypes.arrayOf(PropTypes.string), - title: PropTypes.string, - id: PropTypes.string, - }) - ).isRequired, - id: PropTypes.string.isRequired, - component: PropTypes.string.isRequired, -}; - export default GanttChart; diff --git a/assets/admin/components/util/helpers/form-errors-helper.jsx b/assets/admin/components/util/helpers/form-errors-helper.jsx index 237b659a3..9a9076dba 100644 --- a/assets/admin/components/util/helpers/form-errors-helper.jsx +++ b/assets/admin/components/util/helpers/form-errors-helper.jsx @@ -1,4 +1,3 @@ -import PropTypes from "prop-types"; /** * @param {Array} requiredFields The fields that are required. @@ -34,10 +33,4 @@ function getFormErrors(requiredFields, formStateObject) { return validationErrors; } -getFormErrors.propTypes = { - formStateObject: PropTypes.shape({ screen_name: PropTypes.string }) - .isRequired, - requiredFields: PropTypes.arrayOf(PropTypes.string).isRequired, -}; - export default getFormErrors; diff --git a/assets/admin/components/util/image-uploader/image-uploader.jsx b/assets/admin/components/util/image-uploader/image-uploader.jsx index 6f6e7c548..d36c09158 100644 --- a/assets/admin/components/util/image-uploader/image-uploader.jsx +++ b/assets/admin/components/util/image-uploader/image-uploader.jsx @@ -1,5 +1,4 @@ import { React, useEffect, useState } from "react"; -import PropTypes from "prop-types"; import ImageUploading from "react-images-uploading"; import { Button } from "react-bootstrap"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; @@ -190,16 +189,4 @@ function ImageUploader({ /* eslint-enable jsx-a11y/control-has-associated-label */ } -ImageUploader.propTypes = { - inputImage: PropTypes.oneOfType([ - PropTypes.arrayOf(PropTypes.shape({ url: PropTypes.string })), - PropTypes.shape({ url: PropTypes.string }), - ]), - handleImageUpload: PropTypes.func.isRequired, - name: PropTypes.string.isRequired, - multipleImages: PropTypes.bool, - invalidText: PropTypes.string, - showLibraryButton: PropTypes.bool, -}; - export default ImageUploader; diff --git a/assets/admin/components/util/image-uploader/image.jsx b/assets/admin/components/util/image-uploader/image.jsx index dd48106f7..75767a13d 100644 --- a/assets/admin/components/util/image-uploader/image.jsx +++ b/assets/admin/components/util/image-uploader/image.jsx @@ -1,5 +1,4 @@ import { React, useState } from "react"; -import PropTypes from "prop-types"; import { Button, Row, Col } from "react-bootstrap"; import { useTranslation } from "react-i18next"; import FormInput from "../forms/form-input"; @@ -82,13 +81,4 @@ function Image({ inputImage, onImageRemove, handleChange, index }) { ); } -Image.propTypes = { - inputImage: PropTypes.shape({ - url: PropTypes.string, - }).isRequired, - onImageRemove: PropTypes.func.isRequired, - handleChange: PropTypes.func.isRequired, - index: PropTypes.number.isRequired, -}; - export default Image; diff --git a/assets/admin/components/util/list/checkbox-for-list.jsx b/assets/admin/components/util/list/checkbox-for-list.jsx index 7a5d7e47a..0c63d687d 100644 --- a/assets/admin/components/util/list/checkbox-for-list.jsx +++ b/assets/admin/components/util/list/checkbox-for-list.jsx @@ -1,6 +1,5 @@ import { React } from "react"; import { Form } from "react-bootstrap"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import "./checkbox-for-list.scss"; @@ -38,11 +37,4 @@ function CheckboxForList({ ); } -CheckboxForList.propTypes = { - onSelected: PropTypes.func.isRequired, - selected: PropTypes.bool, - disabled: PropTypes.bool, - title: PropTypes.string.isRequired, -}; - export default CheckboxForList; diff --git a/assets/admin/components/util/list/link-for-list.jsx b/assets/admin/components/util/list/link-for-list.jsx index 5a7832e59..d255eb379 100644 --- a/assets/admin/components/util/list/link-for-list.jsx +++ b/assets/admin/components/util/list/link-for-list.jsx @@ -1,6 +1,5 @@ import { React } from "react"; import { Link } from "react-router-dom"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import idFromUrl from "../helpers/id-from-url"; @@ -29,10 +28,4 @@ function LinkForList({ id, param, targetBlank = false }) { ); } -LinkForList.propTypes = { - id: PropTypes.string.isRequired, - param: PropTypes.string.isRequired, - targetBlank: PropTypes.bool, -}; - export default LinkForList; diff --git a/assets/admin/components/util/list/list-button.jsx b/assets/admin/components/util/list/list-button.jsx index 3b6bd8fa2..fabfa38db 100644 --- a/assets/admin/components/util/list/list-button.jsx +++ b/assets/admin/components/util/list/list-button.jsx @@ -1,6 +1,5 @@ import { React, useEffect, useState } from "react"; import Spinner from "react-bootstrap/Spinner"; -import PropTypes from "prop-types"; import idFromUrl from "../helpers/id-from-url"; import useModal from "../../../context/modal-context/modal-context-hook"; /** @@ -105,16 +104,4 @@ function ListButton({ ); } -ListButton.propTypes = { - displayData: PropTypes.oneOfType([ - PropTypes.arrayOf(PropTypes.any).isRequired, - PropTypes.string, - ]).isRequired, - apiCall: PropTypes.func, - dataKey: PropTypes.string, - modalTitle: PropTypes.string.isRequired, - redirectTo: PropTypes.string.isRequired, - delayApiCall: PropTypes.number, -}; - export default ListButton; diff --git a/assets/admin/components/util/list/list.jsx b/assets/admin/components/util/list/list.jsx index 4dd87ec45..7edea1f1c 100644 --- a/assets/admin/components/util/list/list.jsx +++ b/assets/admin/components/util/list/list.jsx @@ -1,7 +1,6 @@ import { React, useEffect, useContext } from "react"; import { Button, Col, Row } from "react-bootstrap"; import { useNavigate, useLocation } from "react-router-dom"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import dayjs from "dayjs"; import Table from "../table/table"; @@ -9,7 +8,6 @@ import UserContext from "../../../context/user-context"; import SearchBox from "../search-box/search-box"; import useModal from "../../../context/modal-context/modal-context-hook"; import Pagination from "../paginate/pagination"; -import ColumnProptypes from "../../proptypes/column-proptypes"; import ListLoading from "../loading-component/list-loading"; import localStorageKeys from "../local-storage-keys"; import FormCheckbox from "../forms/form-checkbox"; @@ -361,18 +359,4 @@ function List({ ); } -List.propTypes = { - data: PropTypes.arrayOf( - PropTypes.shape({ name: PropTypes.string, id: PropTypes.string }) - ).isRequired, - columns: ColumnProptypes.isRequired, - handleDelete: PropTypes.func, - totalItems: PropTypes.number.isRequired, - displayPublished: PropTypes.bool, - showCreatedByFilter: PropTypes.bool, - displaySearch: PropTypes.bool, - enableScreenStatus: PropTypes.bool, - isFetching: PropTypes.bool, -}; - export default ListLoading(List); diff --git a/assets/admin/components/util/loading-component/loading-component.jsx b/assets/admin/components/util/loading-component/loading-component.jsx index 57c26a437..e4e2cd023 100644 --- a/assets/admin/components/util/loading-component/loading-component.jsx +++ b/assets/admin/components/util/loading-component/loading-component.jsx @@ -1,6 +1,5 @@ import React from "react"; import { Spinner } from "react-bootstrap"; -import PropTypes from "prop-types"; /** * The loading component for forms. @@ -25,9 +24,4 @@ function LoadingComponent({ isLoading = false, loadingMessage = "" }) { ); } -LoadingComponent.propTypes = { - isLoading: PropTypes.bool, - loadingMessage: PropTypes.string, -}; - export default LoadingComponent; diff --git a/assets/admin/components/util/modal/modal-dialog.jsx b/assets/admin/components/util/modal/modal-dialog.jsx index 8f4af2dd2..6d035494b 100644 --- a/assets/admin/components/util/modal/modal-dialog.jsx +++ b/assets/admin/components/util/modal/modal-dialog.jsx @@ -1,6 +1,5 @@ import { React, useEffect } from "react"; import { Button, Modal } from "react-bootstrap"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import FocusTrap from "focus-trap-react"; @@ -73,15 +72,4 @@ function ModalDialog({ ); } -ModalDialog.propTypes = { - title: PropTypes.string.isRequired, - acceptText: PropTypes.string, - declineText: PropTypes.string, - showAcceptButton: PropTypes.bool, - onClose: PropTypes.func.isRequired, - handleAccept: PropTypes.func, - children: PropTypes.node.isRequired, - btnVariant: PropTypes.string, -}; - export default ModalDialog; diff --git a/assets/admin/components/util/multi-and-table/select-groups-table.jsx b/assets/admin/components/util/multi-and-table/select-groups-table.jsx index 58a914a23..21dd0c01b 100644 --- a/assets/admin/components/util/multi-and-table/select-groups-table.jsx +++ b/assets/admin/components/util/multi-and-table/select-groups-table.jsx @@ -1,12 +1,11 @@ import { React, useState, useEffect } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import Table from "../table/table"; import { SelectGroupColumns } from "../../groups/groups-columns"; import { useGetV2ScreenGroupsQuery, useGetV2ScreenGroupsByIdScreensQuery, -} from "../../../redux/api/api.generated.ts"; +} from "../../../../shared/redux/enhanced-api.ts"; import GroupsDropdown from "../forms/multiselect-dropdown/groups/groups-dropdown"; /** @@ -152,12 +151,4 @@ function SelectGroupsTable({ ); } -SelectGroupsTable.propTypes = { - name: PropTypes.string.isRequired, - handleChange: PropTypes.func.isRequired, - id: PropTypes.string, - mappingId: PropTypes.string, - getSelectedMethod: PropTypes.func.isRequired, -}; - export default SelectGroupsTable; diff --git a/assets/admin/components/util/multi-and-table/select-playlists-table.jsx b/assets/admin/components/util/multi-and-table/select-playlists-table.jsx index b101a08b8..710cff70f 100644 --- a/assets/admin/components/util/multi-and-table/select-playlists-table.jsx +++ b/assets/admin/components/util/multi-and-table/select-playlists-table.jsx @@ -1,12 +1,11 @@ import { React, useState, useEffect } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import Table from "../table/table"; import { useGetV2PlaylistsQuery, useGetV2SlidesByIdPlaylistsQuery, useGetV2PlaylistsByIdSlidesQuery, -} from "../../../redux/api/api.generated.ts"; +} from "../../../../shared/redux/enhanced-api.ts"; import PlaylistsDropdown from "../forms/multiselect-dropdown/playlists/playlists-dropdown"; import { SelectPlaylistColumns } from "../../playlist/playlists-columns"; @@ -142,11 +141,4 @@ function SelectPlaylistsTable({ handleChange, name, id = "", helpText }) { ); } -SelectPlaylistsTable.propTypes = { - name: PropTypes.string.isRequired, - handleChange: PropTypes.func.isRequired, - id: PropTypes.string, - helpText: PropTypes.string.isRequired, -}; - export default SelectPlaylistsTable; diff --git a/assets/admin/components/util/multi-and-table/select-screens-table.jsx b/assets/admin/components/util/multi-and-table/select-screens-table.jsx index 21bb2d14c..a12c40101 100644 --- a/assets/admin/components/util/multi-and-table/select-screens-table.jsx +++ b/assets/admin/components/util/multi-and-table/select-screens-table.jsx @@ -1,5 +1,4 @@ import { React, useState, useEffect } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import Table from "../table/table"; import ScreensDropdown from "../forms/multiselect-dropdown/screens/screens-dropdown"; @@ -8,7 +7,7 @@ import { useGetV2ScreensQuery, useGetV2ScreensByIdScreenGroupsQuery, useGetV2CampaignsByIdScreensQuery, -} from "../../../redux/api/api.generated.ts"; +} from "../../../../shared/redux/enhanced-api.ts"; /** * A multiselect and table for screens. @@ -136,10 +135,4 @@ function SelectScreensTable({ handleChange, name, campaignId = "" }) { ); } -SelectScreensTable.propTypes = { - name: PropTypes.string.isRequired, - handleChange: PropTypes.func.isRequired, - campaignId: PropTypes.string, -}; - export default SelectScreensTable; diff --git a/assets/admin/components/util/multi-and-table/select-slides-table.jsx b/assets/admin/components/util/multi-and-table/select-slides-table.jsx index a716cfccd..67ea9fed1 100644 --- a/assets/admin/components/util/multi-and-table/select-slides-table.jsx +++ b/assets/admin/components/util/multi-and-table/select-slides-table.jsx @@ -1,5 +1,4 @@ import { React, useEffect, useState } from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import dayjs from "dayjs"; import { SelectSlideColumns } from "../../slide/slides-columns"; @@ -9,7 +8,7 @@ import { useGetV2SlidesQuery, useGetV2PlaylistsByIdSlidesQuery, useGetV2PlaylistsByIdQuery, -} from "../../../redux/api/api.generated.ts"; +} from "../../../../shared/redux/enhanced-api.ts"; import PlaylistGanttChart from "../../playlist/playlist-gantt-chart"; import { displayWarning } from "../list/toast-component/display-toast"; @@ -224,10 +223,4 @@ function SelectSlidesTable({ handleChange, name, slideId = "" }) { ); } -SelectSlidesTable.propTypes = { - name: PropTypes.string.isRequired, - handleChange: PropTypes.func.isRequired, - slideId: PropTypes.string, -}; - export default SelectSlidesTable; diff --git a/assets/admin/components/util/paginate/pagination.jsx b/assets/admin/components/util/paginate/pagination.jsx index 32485af32..48c8c3fca 100644 --- a/assets/admin/components/util/paginate/pagination.jsx +++ b/assets/admin/components/util/paginate/pagination.jsx @@ -1,5 +1,4 @@ import React from "react"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import ReactPaginate from "react-paginate"; @@ -65,11 +64,4 @@ function Pagination({ itemsCount, pageSize, onPageChange, currentPage }) { ); } -Pagination.propTypes = { - itemsCount: PropTypes.number.isRequired, - pageSize: PropTypes.number.isRequired, - currentPage: PropTypes.number.isRequired, - onPageChange: PropTypes.func.isRequired, -}; - export default Pagination; diff --git a/assets/admin/components/util/publishing.jsx b/assets/admin/components/util/publishing.jsx index 6d6782271..ab1135f53 100644 --- a/assets/admin/components/util/publishing.jsx +++ b/assets/admin/components/util/publishing.jsx @@ -1,5 +1,4 @@ import { React, useEffect } from "react"; -import PropTypes from "prop-types"; import dayjs from "dayjs"; import localeDa from "dayjs/locale/da"; import localizedFormat from "dayjs/plugin/localizedFormat"; @@ -47,11 +46,4 @@ function Publishing({ published }) { ); } -Publishing.propTypes = { - published: PropTypes.shape({ - from: PropTypes.string, - to: PropTypes.string, - }).isRequired, -}; - export default Publishing; diff --git a/assets/admin/components/util/publishingStatus.jsx b/assets/admin/components/util/publishingStatus.jsx index 8eba5430f..dfce4f4eb 100644 --- a/assets/admin/components/util/publishingStatus.jsx +++ b/assets/admin/components/util/publishingStatus.jsx @@ -1,5 +1,4 @@ import { React, useEffect, useState } from "react"; -import PropTypes from "prop-types"; import dayjs from "dayjs"; import localizedFormat from "dayjs/plugin/localizedFormat"; import { useTranslation } from "react-i18next"; @@ -75,11 +74,4 @@ function PublishingStatus({ published }) { ); } -PublishingStatus.propTypes = { - published: PropTypes.shape({ - from: PropTypes.string, - to: PropTypes.string, - }).isRequired, -}; - export default PublishingStatus; diff --git a/assets/admin/components/util/schedule/schedule.jsx b/assets/admin/components/util/schedule/schedule.jsx index 927363889..7ad682d0a 100644 --- a/assets/admin/components/util/schedule/schedule.jsx +++ b/assets/admin/components/util/schedule/schedule.jsx @@ -1,6 +1,5 @@ import { React, useEffect, useState } from "react"; import { useTranslation } from "react-i18next"; -import PropTypes from "prop-types"; import { MultiSelect } from "react-multi-select-component"; import { Button, FormGroup } from "react-bootstrap"; import dayjs from "dayjs"; @@ -565,15 +564,4 @@ function Schedule({ schedules, onChange }) { ); } -Schedule.propTypes = { - schedules: PropTypes.arrayOf( - PropTypes.shape({ - id: PropTypes.string.isRequired, - rrule: PropTypes.string.isRequired, - duration: PropTypes.number.isRequired, - }) - ).isRequired, - onChange: PropTypes.func.isRequired, -}; - export default Schedule; diff --git a/assets/admin/components/util/search-box/search-box.jsx b/assets/admin/components/util/search-box/search-box.jsx index a441093ff..73f3f03cd 100644 --- a/assets/admin/components/util/search-box/search-box.jsx +++ b/assets/admin/components/util/search-box/search-box.jsx @@ -4,7 +4,6 @@ import { faSearch } from "@fortawesome/free-solid-svg-icons"; import Form from "react-bootstrap/Form"; import FormControl from "react-bootstrap/FormControl"; import InputGroup from "react-bootstrap/InputGroup"; -import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; /** @@ -51,10 +50,4 @@ function SearchBox({ onChange, value = "", showLabel = false }) { ); } -SearchBox.propTypes = { - value: PropTypes.string, - onChange: PropTypes.func.isRequired, - showLabel: PropTypes.bool, -}; - export default SearchBox; diff --git a/assets/admin/components/util/sticky-footer.jsx b/assets/admin/components/util/sticky-footer.jsx index 085b45816..c18e07212 100644 --- a/assets/admin/components/util/sticky-footer.jsx +++ b/assets/admin/components/util/sticky-footer.jsx @@ -1,5 +1,4 @@ import { React, JSX } from "react"; -import PropTypes from "prop-types"; /** * @param {object} props The props. @@ -14,8 +13,4 @@ function StickyFooter({ children }) { ); } -StickyFooter.propTypes = { - children: PropTypes.node.isRequired, -}; - export default StickyFooter; diff --git a/assets/admin/components/util/table/table-body.jsx b/assets/admin/components/util/table/table-body.jsx index dfae83d9d..dcaaf688f 100644 --- a/assets/admin/components/util/table/table-body.jsx +++ b/assets/admin/components/util/table/table-body.jsx @@ -1,8 +1,6 @@ import { React, Fragment } from "react"; -import PropTypes from "prop-types"; import get from "lodash.get"; import useModal from "../../../context/modal-context/modal-context-hook"; -import ColumnProptypes from "../../proptypes/column-proptypes"; /** * @param {object} props The props. @@ -63,11 +61,4 @@ function TableBody({ columns, data }) { ); } -TableBody.propTypes = { - data: PropTypes.arrayOf( - PropTypes.shape({ name: PropTypes.string, "@id": PropTypes.string }) - ).isRequired, - columns: ColumnProptypes.isRequired, -}; - export default TableBody; diff --git a/assets/admin/components/util/table/table-header.jsx b/assets/admin/components/util/table/table-header.jsx index f0d6a01ec..0310c4808 100644 --- a/assets/admin/components/util/table/table-header.jsx +++ b/assets/admin/components/util/table/table-header.jsx @@ -1,7 +1,5 @@ import { Fragment, React } from "react"; import { useTranslation } from "react-i18next"; -import PropTypes from "prop-types"; -import ColumnProptypes from "../../proptypes/column-proptypes"; import "./table-header.scss"; /** @@ -36,9 +34,4 @@ function TableHeader({ columns, draggable = false }) { ); } -TableHeader.propTypes = { - columns: ColumnProptypes.isRequired, - draggable: PropTypes.bool, -}; - export default TableHeader; diff --git a/assets/admin/components/util/table/table.jsx b/assets/admin/components/util/table/table.jsx index 6d671890b..452bbac96 100644 --- a/assets/admin/components/util/table/table.jsx +++ b/assets/admin/components/util/table/table.jsx @@ -1,8 +1,6 @@ import React from "react"; -import PropTypes from "prop-types"; import TableHeader from "./table-header"; import TableBody from "./table-body"; -import ColumnProptypes from "../../proptypes/column-proptypes"; import PaginationButton from "../forms/multiselect-dropdown/pagination-button"; /** @@ -40,15 +38,4 @@ function Table({ ); } -Table.propTypes = { - data: PropTypes.arrayOf( - PropTypes.shape({ name: PropTypes.string, "@id": PropTypes.string }) - ).isRequired, - columns: ColumnProptypes.isRequired, - label: PropTypes.string, - callback: PropTypes.func, - totalItems: PropTypes.number, - isFetching: PropTypes.bool, -}; - export default Table; diff --git a/assets/admin/components/util/template-label-in-list.jsx b/assets/admin/components/util/template-label-in-list.jsx index 3b822ed66..1c948fe1b 100644 --- a/assets/admin/components/util/template-label-in-list.jsx +++ b/assets/admin/components/util/template-label-in-list.jsx @@ -1,7 +1,6 @@ import { React } from "react"; -import PropTypes from "prop-types"; import Spinner from "react-bootstrap/Spinner"; -import { useGetV2TemplatesByIdQuery } from "../../redux/api/api.generated.ts"; +import { useGetV2TemplatesByIdQuery } from "../../../shared/redux/enhanced-api.ts"; import idFromUrl from "./helpers/id-from-url"; /** * @param {object} props The props. @@ -33,10 +32,4 @@ function TemplateLabelInList({ templateInfo }) { ); } -TemplateLabelInList.propTypes = { - templateInfo: PropTypes.shape({ - "@id": PropTypes.string, - }).isRequired, -}; - export default TemplateLabelInList; diff --git a/assets/admin/components/util/tooltip.jsx b/assets/admin/components/util/tooltip.jsx index bd4cdd0b2..7d59cd1a6 100644 --- a/assets/admin/components/util/tooltip.jsx +++ b/assets/admin/components/util/tooltip.jsx @@ -2,7 +2,6 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faQuestionCircle } from "@fortawesome/free-solid-svg-icons"; import { Tooltip as ReactTooltip } from "react-tooltip"; import { React } from "react"; -import PropTypes from "prop-types"; /** * @param {object} props The props. @@ -21,9 +20,4 @@ function Tooltip({ id, content }) { ); } -Tooltip.propTypes = { - id: PropTypes.string.isRequired, - content: PropTypes.string.isRequired, -}; - export default Tooltip; diff --git a/assets/admin/context/modal-context/delete-modal.jsx b/assets/admin/context/modal-context/delete-modal.jsx index fe166f4d1..fa7a8dd60 100644 --- a/assets/admin/context/modal-context/delete-modal.jsx +++ b/assets/admin/context/modal-context/delete-modal.jsx @@ -1,7 +1,6 @@ import React, { useEffect } from "react"; import { Modal } from "react-bootstrap"; import { useTranslation } from "react-i18next"; -import { PropTypes } from "prop-types"; import ModalDialog from "../../components/util/modal/modal-dialog"; /** @@ -77,16 +76,4 @@ function DeleteModal({ unSetModal, onAccept, selected, setSelected }) { ); } -DeleteModal.propTypes = { - unSetModal: PropTypes.func.isRequired, - onAccept: PropTypes.func.isRequired, - setSelected: PropTypes.func.isRequired, - selected: PropTypes.arrayOf( - PropTypes.shape({ - id: PropTypes.string, - title: PropTypes.string, - }) - ).isRequired, -}; - export default DeleteModal; diff --git a/assets/admin/context/modal-context/info-modal.jsx b/assets/admin/context/modal-context/info-modal.jsx index df03eed87..9ba4366ce 100644 --- a/assets/admin/context/modal-context/info-modal.jsx +++ b/assets/admin/context/modal-context/info-modal.jsx @@ -1,5 +1,4 @@ import { React, useState, useEffect } from "react"; -import PropTypes from "prop-types"; import Modal from "react-bootstrap/Modal"; import { useTranslation } from "react-i18next"; import { Link } from "react-router-dom"; @@ -84,16 +83,4 @@ function InfoModal({ ); } -InfoModal.propTypes = { - displayData: PropTypes.oneOfType([ - PropTypes.arrayOf(PropTypes.string), - PropTypes.string, - ]), - apiCall: PropTypes.func.isRequired, - modalTitle: PropTypes.string.isRequired, - dataKey: PropTypes.string, - redirectTo: PropTypes.string.isRequired, - unSetModal: PropTypes.func.isRequired, -}; - export default InfoModal; diff --git a/assets/admin/context/modal-context/modal-provider.jsx b/assets/admin/context/modal-context/modal-provider.jsx index 680c95f3b..1662d02f8 100644 --- a/assets/admin/context/modal-context/modal-provider.jsx +++ b/assets/admin/context/modal-context/modal-provider.jsx @@ -1,5 +1,4 @@ import React, { useCallback, useState } from "react"; -import { PropTypes } from "prop-types"; import DeleteModalContext from "./modal-context"; import DeleteModal from "./delete-modal"; import InfoModal from "./info-modal"; @@ -46,8 +45,4 @@ function ModalProvider({ children }) { ); } -ModalProvider.propTypes = { - children: PropTypes.node.isRequired, -}; - export default ModalProvider; diff --git a/assets/admin/context/modal-context/title-fetcher.jsx b/assets/admin/context/modal-context/title-fetcher.jsx index f56d577c2..e77e3b4eb 100644 --- a/assets/admin/context/modal-context/title-fetcher.jsx +++ b/assets/admin/context/modal-context/title-fetcher.jsx @@ -1,5 +1,4 @@ import { React } from "react"; -import PropTypes from "prop-types"; import { Link } from "react-router-dom"; import { Spinner } from "react-bootstrap"; import idFromUrl from "../../components/util/helpers/id-from-url"; @@ -39,10 +38,4 @@ function TitleFetcher({ apiCall, dataUrl, redirectTo }) { ); } -TitleFetcher.propTypes = { - apiCall: PropTypes.func.isRequired, - dataUrl: PropTypes.string.isRequired, - redirectTo: PropTypes.string.isRequired, -}; - export default TitleFetcher; diff --git a/assets/admin/index.jsx b/assets/admin/index.jsx index fa4d7780b..ef394af68 100644 --- a/assets/admin/index.jsx +++ b/assets/admin/index.jsx @@ -2,7 +2,7 @@ import React from "react"; import { BrowserRouter } from "react-router-dom"; import { createRoot } from "react-dom/client"; import { Provider } from "react-redux"; -import { store } from "./redux/store"; +import { store } from "../shared/redux/store.js"; import App from "./app"; const container = document.getElementById("root"); diff --git a/assets/admin/redux/README.md b/assets/admin/redux/README.md deleted file mode 100644 index 964c236d2..000000000 --- a/assets/admin/redux/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# Redux setup - -The Redux setup is built with Redux Toolkit and RTK Query for communicating with the api. - -The api integration is generated with . - -The folder `src/redux/api` contains the latest generated ApiSlice and a node setup for generating a new ApiSlice: - -```shell -# Override api.json with new OpenAPI specification. - -npm install -node start -``` - -The generated api is typescript which is compiled to a javascript file (`api.generated.js`). diff --git a/assets/admin/redux/api/.gitignore b/assets/admin/redux/api/.gitignore deleted file mode 100644 index c2658d7d1..000000000 --- a/assets/admin/redux/api/.gitignore +++ /dev/null @@ -1 +0,0 @@ -node_modules/ diff --git a/assets/admin/redux/api/api.generated.ts b/assets/admin/redux/api/api.generated.ts deleted file mode 100644 index 2892ec292..000000000 --- a/assets/admin/redux/api/api.generated.ts +++ /dev/null @@ -1,1714 +0,0 @@ -import { createApi } from "@reduxjs/toolkit/query/react"; -import extendedBaseQuery from "../dynamic-base-query"; -export const api = createApi({ - baseQuery: extendedBaseQuery, - keepUnusedDataFor: 0, - tagTypes: [], - endpoints: (build) => ({ - getOidcAuthTokenItem: build.query< - GetOidcAuthTokenItemApiResponse, - GetOidcAuthTokenItemApiArg - >({ - query: (queryArg) => ({ - url: `/v2/authentication/oidc/token`, - params: { state: queryArg.state, code: queryArg.code }, - }), - }), - getOidcAuthUrlsItem: build.query< - GetOidcAuthUrlsItemApiResponse, - GetOidcAuthUrlsItemApiArg - >({ - query: (queryArg) => ({ - url: `/v2/authentication/oidc/urls`, - params: { providerKey: queryArg.providerKey }, - }), - }), - postLoginInfoScreen: build.mutation< - PostLoginInfoScreenApiResponse, - PostLoginInfoScreenApiArg - >({ - query: (queryArg) => ({ - url: `/v2/authentication/screen`, - method: "POST", - body: queryArg.screenLoginInput, - }), - }), - postRefreshTokenItem: build.mutation< - PostRefreshTokenItemApiResponse, - PostRefreshTokenItemApiArg - >({ - query: (queryArg) => ({ - url: `/v2/authentication/token/refresh`, - method: "POST", - body: queryArg.refreshTokenRequest, - }), - }), - getV2FeedSources: build.query< - GetV2FeedSourcesApiResponse, - GetV2FeedSourcesApiArg - >({ - query: (queryArg) => ({ - url: `/v2/feed-sources`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - supportedFeedOutputType: queryArg.supportedFeedOutputType, - title: queryArg.title, - description: queryArg.description, - createdBy: queryArg.createdBy, - modifiedBy: queryArg.modifiedBy, - order: queryArg.order, - }, - }), - }), - postV2FeedSources: build.mutation< - PostV2FeedSourcesApiResponse, - PostV2FeedSourcesApiArg - >({ - query: (queryArg) => ({ - url: `/v2/feed-sources`, - method: "POST", - body: queryArg.feedSourceFeedSourceInput, - }), - }), - getV2FeedSourcesById: build.query< - GetV2FeedSourcesByIdApiResponse, - GetV2FeedSourcesByIdApiArg - >({ - query: (queryArg) => ({ url: `/v2/feed-sources/${queryArg.id}` }), - }), - putV2FeedSourcesById: build.mutation< - PutV2FeedSourcesByIdApiResponse, - PutV2FeedSourcesByIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/feed-sources/${queryArg.id}`, - method: "PUT", - body: queryArg.feedSourceFeedSourceInput, - }), - }), - deleteV2FeedSourcesById: build.mutation< - DeleteV2FeedSourcesByIdApiResponse, - DeleteV2FeedSourcesByIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/feed-sources/${queryArg.id}`, - method: "DELETE", - }), - }), - getV2FeedSourcesByIdSlides: build.query< - GetV2FeedSourcesByIdSlidesApiResponse, - GetV2FeedSourcesByIdSlidesApiArg - >({ - query: (queryArg) => ({ - url: `/v2/feed-sources/${queryArg.id}/slides`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - title: queryArg.title, - description: queryArg.description, - createdBy: queryArg.createdBy, - modifiedBy: queryArg.modifiedBy, - published: queryArg.published, - order: queryArg.order, - }, - }), - }), - getV2FeedSourcesByIdConfigAndName: build.query< - GetV2FeedSourcesByIdConfigAndNameApiResponse, - GetV2FeedSourcesByIdConfigAndNameApiArg - >({ - query: (queryArg) => ({ - url: `/v2/feed_sources/${queryArg.id}/config/${queryArg.name}`, - }), - }), - getV2Feeds: build.query({ - query: (queryArg) => ({ - url: `/v2/feeds`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - createdBy: queryArg.createdBy, - modifiedBy: queryArg.modifiedBy, - order: queryArg.order, - }, - }), - }), - getV2FeedsById: build.query< - GetV2FeedsByIdApiResponse, - GetV2FeedsByIdApiArg - >({ - query: (queryArg) => ({ url: `/v2/feeds/${queryArg.id}` }), - }), - getV2FeedsByIdData: build.query< - GetV2FeedsByIdDataApiResponse, - GetV2FeedsByIdDataApiArg - >({ - query: (queryArg) => ({ url: `/v2/feeds/${queryArg.id}/data` }), - }), - getV2Layouts: build.query({ - query: (queryArg) => ({ - url: `/v2/layouts`, - params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage }, - }), - }), - getV2LayoutsById: build.query< - GetV2LayoutsByIdApiResponse, - GetV2LayoutsByIdApiArg - >({ - query: (queryArg) => ({ url: `/v2/layouts/${queryArg.id}` }), - }), - loginCheckPost: build.mutation< - LoginCheckPostApiResponse, - LoginCheckPostApiArg - >({ - query: (queryArg) => ({ - url: `/v2/authentication/token`, - method: "POST", - body: queryArg.body, - }), - }), - getV2Media: build.query({ - query: (queryArg) => ({ - url: `/v2/media`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - title: queryArg.title, - description: queryArg.description, - createdBy: queryArg.createdBy, - modifiedBy: queryArg.modifiedBy, - order: queryArg.order, - }, - }), - }), - postMediaCollection: build.mutation< - PostMediaCollectionApiResponse, - PostMediaCollectionApiArg - >({ - query: (queryArg) => ({ - url: `/v2/media`, - method: "POST", - body: queryArg.body, - }), - }), - getv2MediaById: build.query< - Getv2MediaByIdApiResponse, - Getv2MediaByIdApiArg - >({ - query: (queryArg) => ({ url: `/v2/media/${queryArg.id}` }), - }), - deleteV2MediaById: build.mutation< - DeleteV2MediaByIdApiResponse, - DeleteV2MediaByIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/media/${queryArg.id}`, - method: "DELETE", - }), - }), - getV2CampaignsByIdScreenGroups: build.query< - GetV2CampaignsByIdScreenGroupsApiResponse, - GetV2CampaignsByIdScreenGroupsApiArg - >({ - query: (queryArg) => ({ - url: `/v2/campaigns/${queryArg.id}/screen-groups`, - params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage }, - }), - }), - getV2CampaignsByIdScreens: build.query< - GetV2CampaignsByIdScreensApiResponse, - GetV2CampaignsByIdScreensApiArg - >({ - query: (queryArg) => ({ - url: `/v2/campaigns/${queryArg.id}/screens`, - params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage }, - }), - }), - getV2Playlists: build.query< - GetV2PlaylistsApiResponse, - GetV2PlaylistsApiArg - >({ - query: (queryArg) => ({ - url: `/v2/playlists`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - title: queryArg.title, - description: queryArg.description, - createdBy: queryArg.createdBy, - modifiedBy: queryArg.modifiedBy, - published: queryArg.published, - isCampaign: queryArg.isCampaign, - order: queryArg.order, - sharedWithMe: queryArg.sharedWithMe, - }, - }), - }), - postV2Playlists: build.mutation< - PostV2PlaylistsApiResponse, - PostV2PlaylistsApiArg - >({ - query: (queryArg) => ({ - url: `/v2/playlists`, - method: "POST", - body: queryArg.playlistPlaylistInput, - }), - }), - getV2PlaylistsById: build.query< - GetV2PlaylistsByIdApiResponse, - GetV2PlaylistsByIdApiArg - >({ - query: (queryArg) => ({ url: `/v2/playlists/${queryArg.id}` }), - }), - putV2PlaylistsById: build.mutation< - PutV2PlaylistsByIdApiResponse, - PutV2PlaylistsByIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/playlists/${queryArg.id}`, - method: "PUT", - body: queryArg.playlistPlaylistInput, - }), - }), - deleteV2PlaylistsById: build.mutation< - DeleteV2PlaylistsByIdApiResponse, - DeleteV2PlaylistsByIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/playlists/${queryArg.id}`, - method: "DELETE", - }), - }), - getV2PlaylistsByIdSlides: build.query< - GetV2PlaylistsByIdSlidesApiResponse, - GetV2PlaylistsByIdSlidesApiArg - >({ - query: (queryArg) => ({ - url: `/v2/playlists/${queryArg.id}/slides`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - published: queryArg.published, - }, - }), - }), - putV2PlaylistsByIdSlides: build.mutation< - PutV2PlaylistsByIdSlidesApiResponse, - PutV2PlaylistsByIdSlidesApiArg - >({ - query: (queryArg) => ({ - url: `/v2/playlists/${queryArg.id}/slides`, - method: "PUT", - body: queryArg.body, - }), - }), - deleteV2PlaylistsByIdSlidesAndSlideId: build.mutation< - DeleteV2PlaylistsByIdSlidesAndSlideIdApiResponse, - DeleteV2PlaylistsByIdSlidesAndSlideIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/playlists/${queryArg.id}/slides/${queryArg.slideId}`, - method: "DELETE", - }), - }), - getV2SlidesByIdPlaylists: build.query< - GetV2SlidesByIdPlaylistsApiResponse, - GetV2SlidesByIdPlaylistsApiArg - >({ - query: (queryArg) => ({ - url: `/v2/slides/${queryArg.id}/playlists`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - published: queryArg.published, - }, - }), - }), - putV2SlidesByIdPlaylists: build.mutation< - PutV2SlidesByIdPlaylistsApiResponse, - PutV2SlidesByIdPlaylistsApiArg - >({ - query: (queryArg) => ({ - url: `/v2/slides/${queryArg.id}/playlists`, - method: "PUT", - body: queryArg.body, - }), - }), - getScreenGroupCampaignItem: build.query< - GetScreenGroupCampaignItemApiResponse, - GetScreenGroupCampaignItemApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screen-groups-campaigns/${queryArg.id}`, - }), - }), - getV2ScreenGroups: build.query< - GetV2ScreenGroupsApiResponse, - GetV2ScreenGroupsApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screen-groups`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - title: queryArg.title, - description: queryArg.description, - createdBy: queryArg.createdBy, - modifiedBy: queryArg.modifiedBy, - order: queryArg.order, - }, - }), - }), - postV2ScreenGroups: build.mutation< - PostV2ScreenGroupsApiResponse, - PostV2ScreenGroupsApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screen-groups`, - method: "POST", - body: queryArg.screenGroupScreenGroupInput, - }), - }), - getV2ScreenGroupsById: build.query< - GetV2ScreenGroupsByIdApiResponse, - GetV2ScreenGroupsByIdApiArg - >({ - query: (queryArg) => ({ url: `/v2/screen-groups/${queryArg.id}` }), - }), - putV2ScreenGroupsById: build.mutation< - PutV2ScreenGroupsByIdApiResponse, - PutV2ScreenGroupsByIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screen-groups/${queryArg.id}`, - method: "PUT", - body: queryArg.screenGroupScreenGroupInput, - }), - }), - deleteV2ScreenGroupsById: build.mutation< - DeleteV2ScreenGroupsByIdApiResponse, - DeleteV2ScreenGroupsByIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screen-groups/${queryArg.id}`, - method: "DELETE", - }), - }), - getV2ScreenGroupsByIdCampaigns: build.query< - GetV2ScreenGroupsByIdCampaignsApiResponse, - GetV2ScreenGroupsByIdCampaignsApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screen-groups/${queryArg.id}/campaigns`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - published: queryArg.published, - }, - }), - }), - putV2ScreenGroupsByIdCampaigns: build.mutation< - PutV2ScreenGroupsByIdCampaignsApiResponse, - PutV2ScreenGroupsByIdCampaignsApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screen-groups/${queryArg.id}/campaigns`, - method: "PUT", - body: queryArg.body, - }), - }), - deleteV2ScreenGroupsByIdCampaignsAndCampaignId: build.mutation< - DeleteV2ScreenGroupsByIdCampaignsAndCampaignIdApiResponse, - DeleteV2ScreenGroupsByIdCampaignsAndCampaignIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screen-groups/${queryArg.id}/campaigns/${queryArg.campaignId}`, - method: "DELETE", - }), - }), - getV2ScreenGroupsByIdScreens: build.query< - GetV2ScreenGroupsByIdScreensApiResponse, - GetV2ScreenGroupsByIdScreensApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screen-groups/${queryArg.id}/screens`, - params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage }, - }), - }), - getV2Screens: build.query({ - query: (queryArg) => ({ - url: `/v2/screens`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - search: queryArg.search, - exists: queryArg.exists, - "screenUser.latestRequest": queryArg["screenUser.latestRequest"], - createdBy: queryArg.createdBy, - modifiedBy: queryArg.modifiedBy, - order: queryArg.order, - }, - }), - }), - postV2Screens: build.mutation< - PostV2ScreensApiResponse, - PostV2ScreensApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screens`, - method: "POST", - body: queryArg.screenScreenInput, - }), - }), - getV2ScreensById: build.query< - GetV2ScreensByIdApiResponse, - GetV2ScreensByIdApiArg - >({ - query: (queryArg) => ({ url: `/v2/screens/${queryArg.id}` }), - }), - putV2ScreensById: build.mutation< - PutV2ScreensByIdApiResponse, - PutV2ScreensByIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screens/${queryArg.id}`, - method: "PUT", - body: queryArg.screenScreenInput, - }), - }), - deleteV2ScreensById: build.mutation< - DeleteV2ScreensByIdApiResponse, - DeleteV2ScreensByIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screens/${queryArg.id}`, - method: "DELETE", - }), - }), - postScreenBindKey: build.mutation< - PostScreenBindKeyApiResponse, - PostScreenBindKeyApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screens/${queryArg.id}/bind`, - method: "POST", - body: queryArg.screenBindObject, - }), - }), - getV2ScreensByIdCampaigns: build.query< - GetV2ScreensByIdCampaignsApiResponse, - GetV2ScreensByIdCampaignsApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screens/${queryArg.id}/campaigns`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - published: queryArg.published, - }, - }), - }), - putV2ScreensByIdCampaigns: build.mutation< - PutV2ScreensByIdCampaignsApiResponse, - PutV2ScreensByIdCampaignsApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screens/${queryArg.id}/campaigns`, - method: "PUT", - body: queryArg.body, - }), - }), - deleteV2ScreensByIdCampaignsAndCampaignId: build.mutation< - DeleteV2ScreensByIdCampaignsAndCampaignIdApiResponse, - DeleteV2ScreensByIdCampaignsAndCampaignIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screens/${queryArg.id}/campaigns/${queryArg.campaignId}`, - method: "DELETE", - }), - }), - getV2ScreensByIdRegionsAndRegionIdPlaylists: build.query< - GetV2ScreensByIdRegionsAndRegionIdPlaylistsApiResponse, - GetV2ScreensByIdRegionsAndRegionIdPlaylistsApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screens/${queryArg.id}/regions/${queryArg.regionId}/playlists`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - sharedWithMe: queryArg.sharedWithMe, - }, - }), - }), - putPlaylistScreenRegionItem: build.mutation< - PutPlaylistScreenRegionItemApiResponse, - PutPlaylistScreenRegionItemApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screens/${queryArg.id}/regions/${queryArg.regionId}/playlists`, - method: "PUT", - body: queryArg.body, - }), - }), - deletePlaylistScreenRegionItem: build.mutation< - DeletePlaylistScreenRegionItemApiResponse, - DeletePlaylistScreenRegionItemApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screens/${queryArg.id}/regions/${queryArg.regionId}/playlists/${queryArg.playlistId}`, - method: "DELETE", - }), - }), - getV2ScreensByIdScreenGroups: build.query< - GetV2ScreensByIdScreenGroupsApiResponse, - GetV2ScreensByIdScreenGroupsApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screens/${queryArg.id}/screen-groups`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - order: queryArg.order, - }, - }), - }), - putV2ScreensByIdScreenGroups: build.mutation< - PutV2ScreensByIdScreenGroupsApiResponse, - PutV2ScreensByIdScreenGroupsApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screens/${queryArg.id}/screen-groups`, - method: "PUT", - body: queryArg.body, - }), - }), - deleteV2ScreensByIdScreenGroupsAndScreenGroupId: build.mutation< - DeleteV2ScreensByIdScreenGroupsAndScreenGroupIdApiResponse, - DeleteV2ScreensByIdScreenGroupsAndScreenGroupIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screens/${queryArg.id}/screen-groups/${queryArg.screenGroupId}`, - method: "DELETE", - }), - }), - postScreenUnbind: build.mutation< - PostScreenUnbindApiResponse, - PostScreenUnbindApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screens/${queryArg.id}/unbind`, - method: "POST", - body: queryArg.body, - }), - }), - getV2Slides: build.query({ - query: (queryArg) => ({ - url: `/v2/slides`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - title: queryArg.title, - description: queryArg.description, - createdBy: queryArg.createdBy, - modifiedBy: queryArg.modifiedBy, - published: queryArg.published, - order: queryArg.order, - }, - }), - }), - postV2Slides: build.mutation({ - query: (queryArg) => ({ - url: `/v2/slides`, - method: "POST", - body: queryArg.slideSlideInput, - }), - }), - getV2SlidesById: build.query< - GetV2SlidesByIdApiResponse, - GetV2SlidesByIdApiArg - >({ - query: (queryArg) => ({ url: `/v2/slides/${queryArg.id}` }), - }), - putV2SlidesById: build.mutation< - PutV2SlidesByIdApiResponse, - PutV2SlidesByIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/slides/${queryArg.id}`, - method: "PUT", - body: queryArg.slideSlideInput, - }), - }), - deleteV2SlidesById: build.mutation< - DeleteV2SlidesByIdApiResponse, - DeleteV2SlidesByIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/slides/${queryArg.id}`, - method: "DELETE", - }), - }), - apiSlidePerformAction: build.mutation< - ApiSlidePerformActionApiResponse, - ApiSlidePerformActionApiArg - >({ - query: (queryArg) => ({ - url: `/v2/slides/${queryArg.id}/action`, - method: "POST", - body: queryArg.slideInteractiveSlideActionInput, - }), - }), - getV2Templates: build.query< - GetV2TemplatesApiResponse, - GetV2TemplatesApiArg - >({ - query: (queryArg) => ({ - url: `/v2/templates`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - title: queryArg.title, - description: queryArg.description, - createdBy: queryArg.createdBy, - modifiedBy: queryArg.modifiedBy, - order: queryArg.order, - }, - }), - }), - getV2TemplatesById: build.query< - GetV2TemplatesByIdApiResponse, - GetV2TemplatesByIdApiArg - >({ - query: (queryArg) => ({ url: `/v2/templates/${queryArg.id}` }), - }), - getV2Tenants: build.query({ - query: (queryArg) => ({ - url: `/v2/tenants`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - title: queryArg.title, - description: queryArg.description, - createdBy: queryArg.createdBy, - modifiedBy: queryArg.modifiedBy, - }, - }), - }), - getV2TenantsById: build.query< - GetV2TenantsByIdApiResponse, - GetV2TenantsByIdApiArg - >({ - query: (queryArg) => ({ url: `/v2/tenants/${queryArg.id}` }), - }), - getV2Themes: build.query({ - query: (queryArg) => ({ - url: `/v2/themes`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - title: queryArg.title, - description: queryArg.description, - createdBy: queryArg.createdBy, - modifiedBy: queryArg.modifiedBy, - order: queryArg.order, - }, - }), - }), - postV2Themes: build.mutation({ - query: (queryArg) => ({ - url: `/v2/themes`, - method: "POST", - body: queryArg.themeThemeInput, - }), - }), - getV2ThemesById: build.query< - GetV2ThemesByIdApiResponse, - GetV2ThemesByIdApiArg - >({ - query: (queryArg) => ({ url: `/v2/themes/${queryArg.id}` }), - }), - putV2ThemesById: build.mutation< - PutV2ThemesByIdApiResponse, - PutV2ThemesByIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/themes/${queryArg.id}`, - method: "PUT", - body: queryArg.themeThemeInput, - }), - }), - deleteV2ThemesById: build.mutation< - DeleteV2ThemesByIdApiResponse, - DeleteV2ThemesByIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/themes/${queryArg.id}`, - method: "DELETE", - }), - }), - getV2Users: build.query({ - query: (queryArg) => ({ - url: `/v2/users`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - fullName: queryArg.fullName, - email: queryArg.email, - createdBy: queryArg.createdBy, - modifiedBy: queryArg.modifiedBy, - order: queryArg.order, - }, - }), - }), - postV2Users: build.mutation({ - query: (queryArg) => ({ - url: `/v2/users`, - method: "POST", - body: queryArg.userUserInput, - }), - }), - getV2UsersById: build.query< - GetV2UsersByIdApiResponse, - GetV2UsersByIdApiArg - >({ - query: (queryArg) => ({ url: `/v2/users/${queryArg.id}` }), - }), - putV2UsersById: build.mutation< - PutV2UsersByIdApiResponse, - PutV2UsersByIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/users/${queryArg.id}`, - method: "PUT", - body: queryArg.userUserInput, - }), - }), - deleteV2UsersById: build.mutation< - DeleteV2UsersByIdApiResponse, - DeleteV2UsersByIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/users/${queryArg.id}`, - method: "DELETE", - }), - }), - deleteV2UsersByIdRemoveFromTenant: build.mutation< - DeleteV2UsersByIdRemoveFromTenantApiResponse, - DeleteV2UsersByIdRemoveFromTenantApiArg - >({ - query: (queryArg) => ({ - url: `/v2/users/${queryArg.id}/remove-from-tenant`, - method: "DELETE", - }), - }), - getV2UserActivationCodes: build.query< - GetV2UserActivationCodesApiResponse, - GetV2UserActivationCodesApiArg - >({ - query: (queryArg) => ({ - url: `/v2/user-activation-codes`, - params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage }, - }), - }), - postV2UserActivationCodes: build.mutation< - PostV2UserActivationCodesApiResponse, - PostV2UserActivationCodesApiArg - >({ - query: (queryArg) => ({ - url: `/v2/user-activation-codes`, - method: "POST", - body: queryArg.userActivationCodeUserActivationCodeInput, - }), - }), - postV2UserActivationCodesActivate: build.mutation< - PostV2UserActivationCodesActivateApiResponse, - PostV2UserActivationCodesActivateApiArg - >({ - query: (queryArg) => ({ - url: `/v2/user-activation-codes/activate`, - method: "POST", - body: queryArg.userActivationCodeActivationCode, - }), - }), - postV2UserActivationCodesRefresh: build.mutation< - PostV2UserActivationCodesRefreshApiResponse, - PostV2UserActivationCodesRefreshApiArg - >({ - query: (queryArg) => ({ - url: `/v2/user-activation-codes/refresh`, - method: "POST", - body: queryArg.userActivationCodeActivationCode, - }), - }), - getV2UserActivationCodesById: build.query< - GetV2UserActivationCodesByIdApiResponse, - GetV2UserActivationCodesByIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/user-activation-codes/${queryArg.id}`, - }), - }), - deleteV2UserActivationCodesById: build.mutation< - DeleteV2UserActivationCodesByIdApiResponse, - DeleteV2UserActivationCodesByIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/user-activation-codes/${queryArg.id}`, - method: "DELETE", - }), - }), - }), -}); -export type GetOidcAuthTokenItemApiResponse = - /** status 200 Get JWT token from OIDC code */ Token; -export type GetOidcAuthTokenItemApiArg = { - /** OIDC state */ - state?: string; - /** OIDC code */ - code?: string; -}; -export type GetOidcAuthUrlsItemApiResponse = - /** status 200 Get authentication and end session endpoints */ OidcEndpoints; -export type GetOidcAuthUrlsItemApiArg = { - /** The key for the provider to use. Leave out to use the default provider */ - providerKey?: string; -}; -export type PostLoginInfoScreenApiResponse = - /** status 200 Login with bindKey to get JWT token for screen */ ScreenLoginOutput; -export type PostLoginInfoScreenApiArg = { - /** Get login info with JWT token for given nonce */ - screenLoginInput: ScreenLoginInput; -}; -export type PostRefreshTokenItemApiResponse = - /** status 200 Refresh JWT token */ RefreshTokenResponse; -export type PostRefreshTokenItemApiArg = { - /** Refresh JWT Token */ - refreshTokenRequest: RefreshTokenRequest; -}; -export type GetV2FeedSourcesApiResponse = unknown; -export type GetV2FeedSourcesApiArg = { - page?: number; - /** The number of items per page */ - itemsPerPage?: string; - supportedFeedOutputType?: { - ""?: string[]; - }; - title?: string; - description?: string; - createdBy?: { - ""?: string[]; - }; - modifiedBy?: { - ""?: string[]; - }; - order?: { - title?: "asc" | "desc"; - description?: "asc" | "desc"; - createdAt?: "asc" | "desc"; - modifiedAt?: "asc" | "desc"; - }; -}; -export type PostV2FeedSourcesApiResponse = unknown; -export type PostV2FeedSourcesApiArg = { - /** The new FeedSource resource */ - feedSourceFeedSourceInput: FeedSourceFeedSourceInput; -}; -export type GetV2FeedSourcesByIdApiResponse = unknown; -export type GetV2FeedSourcesByIdApiArg = { - id: string; -}; -export type PutV2FeedSourcesByIdApiResponse = unknown; -export type PutV2FeedSourcesByIdApiArg = { - id: string; - /** The updated FeedSource resource */ - feedSourceFeedSourceInput: FeedSourceFeedSourceInput; -}; -export type DeleteV2FeedSourcesByIdApiResponse = unknown; -export type DeleteV2FeedSourcesByIdApiArg = { - id: string; -}; -export type GetV2FeedSourcesByIdSlidesApiResponse = unknown; -export type GetV2FeedSourcesByIdSlidesApiArg = { - id: string; - page: number; - /** The number of items per page */ - itemsPerPage?: string; - title?: string; - description?: string; - createdBy?: { - ""?: string[]; - }; - modifiedBy?: { - ""?: string[]; - }; - /** If true only published content will be shown */ - published?: boolean; - order?: { - title?: "asc" | "desc"; - description?: "asc" | "desc"; - createdAt?: "asc" | "desc"; - modifiedAt?: "asc" | "desc"; - }; -}; -export type GetV2FeedSourcesByIdConfigAndNameApiResponse = unknown; -export type GetV2FeedSourcesByIdConfigAndNameApiArg = { - id: string; - name: string; -}; -export type GetV2FeedsApiResponse = unknown; -export type GetV2FeedsApiArg = { - page?: number; - /** The number of items per page */ - itemsPerPage?: string; - createdBy?: { - ""?: string[]; - }; - modifiedBy?: { - ""?: string[]; - }; - order?: { - createdAt?: "asc" | "desc"; - modifiedAt?: "asc" | "desc"; - }; -}; -export type GetV2FeedsByIdApiResponse = unknown; -export type GetV2FeedsByIdApiArg = { - id: string; -}; -export type GetV2FeedsByIdDataApiResponse = /** status 200 undefined */ Blob; -export type GetV2FeedsByIdDataApiArg = { - id: string; -}; -export type GetV2LayoutsApiResponse = unknown; -export type GetV2LayoutsApiArg = { - page?: number; - /** The number of items per page */ - itemsPerPage?: number; -}; -export type GetV2LayoutsByIdApiResponse = unknown; -export type GetV2LayoutsByIdApiArg = { - id: string; -}; -export type LoginCheckPostApiResponse = /** status 200 User token created */ { - token: string; -}; -export type LoginCheckPostApiArg = { - /** The login data */ - body: { - providerId: string; - password: string; - }; -}; -export type GetV2MediaApiResponse = unknown; -export type GetV2MediaApiArg = { - page?: number; - /** The number of items per page */ - itemsPerPage?: string; - title?: string; - description?: string; - createdBy?: { - ""?: string[]; - }; - modifiedBy?: { - ""?: string[]; - }; - order?: { - title?: "asc" | "desc"; - description?: "asc" | "desc"; - createdAt?: "asc" | "desc"; - modifiedAt?: "asc" | "desc"; - }; -}; -export type PostMediaCollectionApiResponse = unknown; -export type PostMediaCollectionApiArg = { - body: { - title: string; - description: string; - license: string; - file: Blob; - }; -}; -export type Getv2MediaByIdApiResponse = unknown; -export type Getv2MediaByIdApiArg = { - id: string; -}; -export type DeleteV2MediaByIdApiResponse = unknown; -export type DeleteV2MediaByIdApiArg = { - id: string; -}; -export type GetV2CampaignsByIdScreenGroupsApiResponse = unknown; -export type GetV2CampaignsByIdScreenGroupsApiArg = { - id: string; - page?: number; - /** The number of items per page */ - itemsPerPage?: string; -}; -export type GetV2CampaignsByIdScreensApiResponse = unknown; -export type GetV2CampaignsByIdScreensApiArg = { - id: string; - page?: number; - /** The number of items per page */ - itemsPerPage?: string; -}; -export type GetV2PlaylistsApiResponse = unknown; -export type GetV2PlaylistsApiArg = { - page: number; - /** The number of items per page */ - itemsPerPage?: number; - title?: string; - description?: string; - createdBy?: { - ""?: string[]; - }; - modifiedBy?: { - ""?: string[]; - }; - /** If true only published content will be shown */ - published?: boolean; - /** If true only campaigns will be shown */ - isCampaign?: boolean; - order?: { - title?: "asc" | "desc"; - description?: "asc" | "desc"; - createdAt?: "asc" | "desc"; - modifiedAt?: "asc" | "desc"; - }; - /** If true only entities that are shared with me will be shown */ - sharedWithMe?: boolean; -}; -export type PostV2PlaylistsApiResponse = unknown; -export type PostV2PlaylistsApiArg = { - /** The new Playlist resource */ - playlistPlaylistInput: PlaylistPlaylistInput; -}; -export type GetV2PlaylistsByIdApiResponse = unknown; -export type GetV2PlaylistsByIdApiArg = { - id: string; -}; -export type PutV2PlaylistsByIdApiResponse = unknown; -export type PutV2PlaylistsByIdApiArg = { - id: string; - /** The updated Playlist resource */ - playlistPlaylistInput: PlaylistPlaylistInput; -}; -export type DeleteV2PlaylistsByIdApiResponse = unknown; -export type DeleteV2PlaylistsByIdApiArg = { - id: string; -}; -export type GetV2PlaylistsByIdSlidesApiResponse = unknown; -export type GetV2PlaylistsByIdSlidesApiArg = { - id: string; - page: number; - /** The number of items per page */ - itemsPerPage?: string; - /** If true only published content will be shown */ - published?: boolean; -}; -export type PutV2PlaylistsByIdSlidesApiResponse = unknown; -export type PutV2PlaylistsByIdSlidesApiArg = { - /** PlaylistSlide identifier */ - id: string; - body: Blob; -}; -export type DeleteV2PlaylistsByIdSlidesAndSlideIdApiResponse = unknown; -export type DeleteV2PlaylistsByIdSlidesAndSlideIdApiArg = { - id: string; - slideId: string; -}; -export type GetV2SlidesByIdPlaylistsApiResponse = unknown; -export type GetV2SlidesByIdPlaylistsApiArg = { - id: string; - page?: number; - /** The number of items per page */ - itemsPerPage?: string; - /** If true only published content will be shown */ - published?: boolean; -}; -export type PutV2SlidesByIdPlaylistsApiResponse = unknown; -export type PutV2SlidesByIdPlaylistsApiArg = { - id: string; - body: Blob; -}; -export type GetScreenGroupCampaignItemApiResponse = unknown; -export type GetScreenGroupCampaignItemApiArg = { - /** ScreenGroupCampaign identifier */ - id: string; -}; -export type GetV2ScreenGroupsApiResponse = unknown; -export type GetV2ScreenGroupsApiArg = { - page?: number; - /** The number of items per page */ - itemsPerPage?: string; - title?: string; - description?: string; - createdBy?: { - ""?: string[]; - }; - modifiedBy?: { - ""?: string[]; - }; - order?: { - title?: "asc" | "desc"; - description?: "asc" | "desc"; - createdAt?: "asc" | "desc"; - }; -}; -export type PostV2ScreenGroupsApiResponse = unknown; -export type PostV2ScreenGroupsApiArg = { - /** The new ScreenGroup resource */ - screenGroupScreenGroupInput: ScreenGroupScreenGroupInput; -}; -export type GetV2ScreenGroupsByIdApiResponse = unknown; -export type GetV2ScreenGroupsByIdApiArg = { - id: string; -}; -export type PutV2ScreenGroupsByIdApiResponse = unknown; -export type PutV2ScreenGroupsByIdApiArg = { - id: string; - /** The updated ScreenGroup resource */ - screenGroupScreenGroupInput: ScreenGroupScreenGroupInput; -}; -export type DeleteV2ScreenGroupsByIdApiResponse = unknown; -export type DeleteV2ScreenGroupsByIdApiArg = { - id: string; -}; -export type GetV2ScreenGroupsByIdCampaignsApiResponse = unknown; -export type GetV2ScreenGroupsByIdCampaignsApiArg = { - id: string; - page: number; - /** The number of items per page */ - itemsPerPage?: string; - /** If true only published content will be shown */ - published?: boolean; -}; -export type PutV2ScreenGroupsByIdCampaignsApiResponse = unknown; -export type PutV2ScreenGroupsByIdCampaignsApiArg = { - /** ScreenGroupCampaign identifier */ - id: string; - body: Blob; -}; -export type DeleteV2ScreenGroupsByIdCampaignsAndCampaignIdApiResponse = unknown; -export type DeleteV2ScreenGroupsByIdCampaignsAndCampaignIdApiArg = { - id: string; - campaignId: string; -}; -export type GetV2ScreenGroupsByIdScreensApiResponse = unknown; -export type GetV2ScreenGroupsByIdScreensApiArg = { - id: string; - page?: number; - /** The number of items per page */ - itemsPerPage?: string; -}; -export type GetV2ScreensApiResponse = unknown; -export type GetV2ScreensApiArg = { - page?: number; - /** The number of items per page */ - itemsPerPage?: string; - /** Search on both location and title */ - search?: string; - exists?: { - screenUser?: boolean; - }; - "screenUser.latestRequest"?: { - before?: string; - strictly_before?: string; - after?: string; - strictly_after?: string; - }; - createdBy?: { - ""?: string[]; - }; - modifiedBy?: { - ""?: string[]; - }; - order?: { - title?: "asc" | "desc"; - description?: "asc" | "desc"; - createdAt?: "asc" | "desc"; - modifiedAt?: "asc" | "desc"; - }; -}; -export type PostV2ScreensApiResponse = unknown; -export type PostV2ScreensApiArg = { - /** The new Screen resource */ - screenScreenInput: ScreenScreenInput; -}; -export type GetV2ScreensByIdApiResponse = unknown; -export type GetV2ScreensByIdApiArg = { - id: string; -}; -export type PutV2ScreensByIdApiResponse = unknown; -export type PutV2ScreensByIdApiArg = { - id: string; - /** The updated Screen resource */ - screenScreenInput: ScreenScreenInput; -}; -export type DeleteV2ScreensByIdApiResponse = unknown; -export type DeleteV2ScreensByIdApiArg = { - id: string; -}; -export type PostScreenBindKeyApiResponse = unknown; -export type PostScreenBindKeyApiArg = { - /** The screen id */ - id: string; - /** Bind the screen with the bind key */ - screenBindObject: ScreenBindObject; -}; -export type GetV2ScreensByIdCampaignsApiResponse = unknown; -export type GetV2ScreensByIdCampaignsApiArg = { - id: string; - page: number; - /** The number of items per page */ - itemsPerPage?: string; - /** If true only published content will be shown */ - published?: boolean; -}; -export type PutV2ScreensByIdCampaignsApiResponse = unknown; -export type PutV2ScreensByIdCampaignsApiArg = { - /** ScreenCampaign identifier */ - id: string; - body: Blob; -}; -export type DeleteV2ScreensByIdCampaignsAndCampaignIdApiResponse = unknown; -export type DeleteV2ScreensByIdCampaignsAndCampaignIdApiArg = { - id: string; - campaignId: string; -}; -export type GetV2ScreensByIdRegionsAndRegionIdPlaylistsApiResponse = unknown; -export type GetV2ScreensByIdRegionsAndRegionIdPlaylistsApiArg = { - id: string; - regionId: string; - page: number; - /** The number of items per page */ - itemsPerPage?: string; - /** If true only entities that are shared with me will be shown */ - sharedWithMe?: boolean; -}; -export type PutPlaylistScreenRegionItemApiResponse = unknown; -export type PutPlaylistScreenRegionItemApiArg = { - id: string; - regionId: string; - body: Blob; -}; -export type DeletePlaylistScreenRegionItemApiResponse = unknown; -export type DeletePlaylistScreenRegionItemApiArg = { - id: string; - regionId: string; - playlistId: string; -}; -export type GetV2ScreensByIdScreenGroupsApiResponse = unknown; -export type GetV2ScreensByIdScreenGroupsApiArg = { - id: string; - page: number; - /** The number of items per page */ - itemsPerPage?: string; - order?: { - title?: "asc" | "desc"; - description?: "asc" | "desc"; - }; -}; -export type PutV2ScreensByIdScreenGroupsApiResponse = unknown; -export type PutV2ScreensByIdScreenGroupsApiArg = { - id: string; - body: string[]; -}; -export type DeleteV2ScreensByIdScreenGroupsAndScreenGroupIdApiResponse = - unknown; -export type DeleteV2ScreensByIdScreenGroupsAndScreenGroupIdApiArg = { - id: string; - screenGroupId: string; -}; -export type PostScreenUnbindApiResponse = unknown; -export type PostScreenUnbindApiArg = { - /** The screen id */ - id: string; - /** Unbind from machine */ - body: string; -}; -export type GetV2SlidesApiResponse = unknown; -export type GetV2SlidesApiArg = { - page?: number; - /** The number of items per page */ - itemsPerPage?: string; - title?: string; - description?: string; - createdBy?: { - ""?: string[]; - }; - modifiedBy?: { - ""?: string[]; - }; - /** If true only published content will be shown */ - published?: boolean; - order?: { - title?: "asc" | "desc"; - description?: "asc" | "desc"; - createdAt?: "asc" | "desc"; - modifiedAt?: "asc" | "desc"; - }; -}; -export type PostV2SlidesApiResponse = unknown; -export type PostV2SlidesApiArg = { - /** The new Slide resource */ - slideSlideInput: SlideSlideInput; -}; -export type GetV2SlidesByIdApiResponse = unknown; -export type GetV2SlidesByIdApiArg = { - id: string; -}; -export type PutV2SlidesByIdApiResponse = unknown; -export type PutV2SlidesByIdApiArg = { - id: string; - /** The updated Slide resource */ - slideSlideInput: SlideSlideInput; -}; -export type DeleteV2SlidesByIdApiResponse = unknown; -export type DeleteV2SlidesByIdApiArg = { - id: string; -}; -export type ApiSlidePerformActionApiResponse = unknown; -export type ApiSlidePerformActionApiArg = { - id: string; - /** The new Slide resource */ - slideInteractiveSlideActionInput: SlideInteractiveSlideActionInput; -}; -export type GetV2TemplatesApiResponse = unknown; -export type GetV2TemplatesApiArg = { - page?: number; - /** The number of items per page */ - itemsPerPage?: string; - title?: string; - description?: string; - createdBy?: { - ""?: string[]; - }; - modifiedBy?: { - ""?: string[]; - }; - order?: { - createdAt?: "asc" | "desc"; - modifiedAt?: "asc" | "desc"; - }; -}; -export type GetV2TemplatesByIdApiResponse = unknown; -export type GetV2TemplatesByIdApiArg = { - id: string; -}; -export type GetV2TenantsApiResponse = unknown; -export type GetV2TenantsApiArg = { - page?: number; - /** The number of items per page */ - itemsPerPage?: string; - title?: string; - description?: string; - createdBy?: { - ""?: string[]; - }; - modifiedBy?: { - ""?: string[]; - }; -}; -export type GetV2TenantsByIdApiResponse = unknown; -export type GetV2TenantsByIdApiArg = { - id: string; -}; -export type GetV2ThemesApiResponse = unknown; -export type GetV2ThemesApiArg = { - page?: number; - /** The number of items per page */ - itemsPerPage?: string; - title?: string; - description?: string; - createdBy?: { - ""?: string[]; - }; - modifiedBy?: { - ""?: string[]; - }; - order?: { - title?: "asc" | "desc"; - description?: "asc" | "desc"; - createdAt?: "asc" | "desc"; - modifiedAt?: "asc" | "desc"; - }; -}; -export type PostV2ThemesApiResponse = unknown; -export type PostV2ThemesApiArg = { - /** The new Theme resource */ - themeThemeInput: ThemeThemeInput; -}; -export type GetV2ThemesByIdApiResponse = unknown; -export type GetV2ThemesByIdApiArg = { - id: string; -}; -export type PutV2ThemesByIdApiResponse = unknown; -export type PutV2ThemesByIdApiArg = { - id: string; - /** The updated Theme resource */ - themeThemeInput: ThemeThemeInput; -}; -export type DeleteV2ThemesByIdApiResponse = unknown; -export type DeleteV2ThemesByIdApiArg = { - id: string; -}; -export type GetV2UsersApiResponse = unknown; -export type GetV2UsersApiArg = { - page?: number; - /** The number of items per page */ - itemsPerPage?: string; - fullName?: string; - email?: string; - createdBy?: { - ""?: string[]; - }; - modifiedBy?: { - ""?: string[]; - }; - order?: { - createdAt?: "asc" | "desc"; - }; -}; -export type PostV2UsersApiResponse = unknown; -export type PostV2UsersApiArg = { - id: string; - /** The new User resource */ - userUserInput: UserUserInput; -}; -export type GetV2UsersByIdApiResponse = unknown; -export type GetV2UsersByIdApiArg = { - id: string; -}; -export type PutV2UsersByIdApiResponse = unknown; -export type PutV2UsersByIdApiArg = { - id: string; - /** The updated User resource */ - userUserInput: UserUserInput; -}; -export type DeleteV2UsersByIdApiResponse = unknown; -export type DeleteV2UsersByIdApiArg = { - id: string; -}; -export type DeleteV2UsersByIdRemoveFromTenantApiResponse = unknown; -export type DeleteV2UsersByIdRemoveFromTenantApiArg = { - id: string; -}; -export type GetV2UserActivationCodesApiResponse = unknown; -export type GetV2UserActivationCodesApiArg = { - /** The collection page number */ - page?: number; - /** The number of items per page */ - itemsPerPage?: number; -}; -export type PostV2UserActivationCodesApiResponse = unknown; -export type PostV2UserActivationCodesApiArg = { - /** The new UserActivationCode resource */ - userActivationCodeUserActivationCodeInput: UserActivationCodeUserActivationCodeInput; -}; -export type PostV2UserActivationCodesActivateApiResponse = unknown; -export type PostV2UserActivationCodesActivateApiArg = { - /** The new UserActivationCode resource */ - userActivationCodeActivationCode: UserActivationCodeActivationCode; -}; -export type PostV2UserActivationCodesRefreshApiResponse = unknown; -export type PostV2UserActivationCodesRefreshApiArg = { - /** The new UserActivationCode resource */ - userActivationCodeActivationCode: UserActivationCodeActivationCode; -}; -export type GetV2UserActivationCodesByIdApiResponse = unknown; -export type GetV2UserActivationCodesByIdApiArg = { - /** UserActivationCode identifier */ - id: string; -}; -export type DeleteV2UserActivationCodesByIdApiResponse = unknown; -export type DeleteV2UserActivationCodesByIdApiArg = { - /** UserActivationCode identifier */ - id: string; -}; -export type Token = { - token?: string; - refresh_token?: string; - refresh_token_expiration?: any; - tenants?: { - tenantKey?: string; - title?: string; - description?: string; - roles?: string[]; - }[]; - user?: { - fullname?: string; - email?: string; - }; -}; -export type OidcEndpoints = { - authorizationUrl?: string; - endSessionUrl?: string; -}; -export type ScreenLoginOutput = { - bindKey?: string; - token?: string; -}; -export type ScreenLoginInput = object; -export type RefreshTokenResponse = { - token?: string; - refresh_token?: string; -}; -export type RefreshTokenRequest = { - refresh_token?: string; -}; -export type FeedSourceFeedSourceInput = { - title?: string; - description?: string; - outputType?: string; - feedType?: string; - secrets?: string[]; - feeds?: string[]; - supportedFeedOutputType?: string; -}; -export type PlaylistPlaylistInput = { - title?: string; - description?: string; - schedules?: string[]; - tenants?: string[]; - isCampaign?: boolean; - published?: string[]; -}; -export type ScreenGroupScreenGroupInput = { - title?: string; - description?: string; -}; -export type ScreenScreenInput = { - title?: string; - description?: string; - size?: string; - layout?: string; - location?: string; - resolution?: string; - orientation?: string; - enableColorSchemeChange?: any; - regions?: string[]; - groups?: string[]; -}; -export type ScreenBindObject = { - bindKey?: string; -}; -export type SlideSlideInput = { - title?: string; - description?: string; - templateInfo?: string[]; - theme?: string; - duration?: any; - published?: string[]; - feed?: string[]; - media?: string[]; - content?: string[]; -}; -export type SlideInteractiveSlideActionInput = { - action?: any; - data?: string[]; -}; -export type ThemeThemeInput = { - title?: string; - description?: string; - logo?: string; - css?: string; -}; -export type UserUserInput = { - fullName?: any; -}; -export type UserActivationCodeUserActivationCodeInput = { - displayName?: string; - roles?: string[]; -}; -export type UserActivationCodeActivationCode = { - activationCode?: string; -}; -export const { - useGetOidcAuthTokenItemQuery, - useGetOidcAuthUrlsItemQuery, - usePostLoginInfoScreenMutation, - usePostRefreshTokenItemMutation, - useGetV2FeedSourcesQuery, - usePostV2FeedSourcesMutation, - useGetV2FeedSourcesByIdQuery, - usePutV2FeedSourcesByIdMutation, - useDeleteV2FeedSourcesByIdMutation, - useGetV2FeedSourcesByIdSlidesQuery, - useGetV2FeedSourcesByIdConfigAndNameQuery, - useGetV2FeedsQuery, - useGetV2FeedsByIdQuery, - useGetV2FeedsByIdDataQuery, - useGetV2LayoutsQuery, - useGetV2LayoutsByIdQuery, - useLoginCheckPostMutation, - useGetV2MediaQuery, - usePostMediaCollectionMutation, - useGetv2MediaByIdQuery, - useDeleteV2MediaByIdMutation, - useGetV2CampaignsByIdScreenGroupsQuery, - useGetV2CampaignsByIdScreensQuery, - useGetV2PlaylistsQuery, - usePostV2PlaylistsMutation, - useGetV2PlaylistsByIdQuery, - usePutV2PlaylistsByIdMutation, - useDeleteV2PlaylistsByIdMutation, - useGetV2PlaylistsByIdSlidesQuery, - usePutV2PlaylistsByIdSlidesMutation, - useDeleteV2PlaylistsByIdSlidesAndSlideIdMutation, - useGetV2SlidesByIdPlaylistsQuery, - usePutV2SlidesByIdPlaylistsMutation, - useGetScreenGroupCampaignItemQuery, - useGetV2ScreenGroupsQuery, - usePostV2ScreenGroupsMutation, - useGetV2ScreenGroupsByIdQuery, - usePutV2ScreenGroupsByIdMutation, - useDeleteV2ScreenGroupsByIdMutation, - useGetV2ScreenGroupsByIdCampaignsQuery, - usePutV2ScreenGroupsByIdCampaignsMutation, - useDeleteV2ScreenGroupsByIdCampaignsAndCampaignIdMutation, - useGetV2ScreenGroupsByIdScreensQuery, - useGetV2ScreensQuery, - usePostV2ScreensMutation, - useGetV2ScreensByIdQuery, - usePutV2ScreensByIdMutation, - useDeleteV2ScreensByIdMutation, - usePostScreenBindKeyMutation, - useGetV2ScreensByIdCampaignsQuery, - usePutV2ScreensByIdCampaignsMutation, - useDeleteV2ScreensByIdCampaignsAndCampaignIdMutation, - useGetV2ScreensByIdRegionsAndRegionIdPlaylistsQuery, - usePutPlaylistScreenRegionItemMutation, - useDeletePlaylistScreenRegionItemMutation, - useGetV2ScreensByIdScreenGroupsQuery, - usePutV2ScreensByIdScreenGroupsMutation, - useDeleteV2ScreensByIdScreenGroupsAndScreenGroupIdMutation, - usePostScreenUnbindMutation, - useGetV2SlidesQuery, - usePostV2SlidesMutation, - useGetV2SlidesByIdQuery, - usePutV2SlidesByIdMutation, - useDeleteV2SlidesByIdMutation, - useApiSlidePerformActionMutation, - useGetV2TemplatesQuery, - useGetV2TemplatesByIdQuery, - useGetV2TenantsQuery, - useGetV2TenantsByIdQuery, - useGetV2ThemesQuery, - usePostV2ThemesMutation, - useGetV2ThemesByIdQuery, - usePutV2ThemesByIdMutation, - useDeleteV2ThemesByIdMutation, - useGetV2UsersQuery, - usePostV2UsersMutation, - useGetV2UsersByIdQuery, - usePutV2UsersByIdMutation, - useDeleteV2UsersByIdMutation, - useDeleteV2UsersByIdRemoveFromTenantMutation, - useGetV2UserActivationCodesQuery, - usePostV2UserActivationCodesMutation, - usePostV2UserActivationCodesActivateMutation, - usePostV2UserActivationCodesRefreshMutation, - useGetV2UserActivationCodesByIdQuery, - useDeleteV2UserActivationCodesByIdMutation, -} = api; - diff --git a/assets/admin/redux/api/api.json b/assets/admin/redux/api/api.json deleted file mode 100644 index ce90fb5a8..000000000 --- a/assets/admin/redux/api/api.json +++ /dev/null @@ -1,16188 +0,0 @@ -{ - "openapi": "3.1.0", - "info": { - "title": "OS2Display Service API", - "description": "API description", - "license": { - "name": "MIT" - }, - "version": "1" - }, - "servers": [ - { - "url": "/", - "description": "" - } - ], - "paths": { - "/v2/authentication/oidc/token": { - "get": { - "operationId": "getOidcAuthTokenItem", - "tags": [ - "Authentication" - ], - "responses": { - "200": { - "description": "Get JWT token from OIDC code", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Token" - } - } - } - } - }, - "summary": "Get JWT token to login from OIDC code", - "parameters": [ - { - "name": "state", - "description": "OIDC state", - "in": "query", - "required": false, - "example": "5fd84892c27dbb5cad2c3cdc517b71f1", - "schema": { - "type": "string" - } - }, - { - "name": "code", - "description": "OIDC code", - "in": "query", - "required": false, - "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "schema": { - "type": "string" - } - } - ] - } - }, - "/v2/authentication/oidc/urls": { - "get": { - "operationId": "getOidcAuthUrlsItem", - "tags": [ - "Authentication" - ], - "responses": { - "200": { - "description": "Get authentication and end session endpoints", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/OidcEndpoints" - } - } - } - } - }, - "summary": "Get OpenID connect URLs", - "parameters": [ - { - "name": "providerKey", - "description": "The key for the provider to use. Leave out to use the default provider", - "in": "query", - "required": false, - "example": "foobar_oidc", - "schema": { - "type": "string" - } - } - ] - } - }, - "/v2/authentication/screen": { - "post": { - "operationId": "postLoginInfoScreen", - "tags": [ - "Authentication" - ], - "responses": { - "200": { - "description": "Login with bindKey to get JWT token for screen", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ScreenLoginOutput" - } - } - } - } - }, - "summary": "Get login info for a screen.", - "requestBody": { - "description": "Get login info with JWT token for given nonce", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ScreenLoginInput" - } - } - }, - "required": false - } - } - }, - "/v2/authentication/token/refresh": { - "post": { - "operationId": "postRefreshTokenItem", - "tags": [ - "Authentication" - ], - "responses": { - "200": { - "description": "Refresh JWT token", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RefreshTokenResponse" - } - } - } - } - }, - "summary": "Get JWT token from refresh token.", - "requestBody": { - "description": "Refresh JWT Token", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RefreshTokenRequest" - } - } - }, - "required": false - } - } - }, - "/v2/feed-sources": { - "get": { - "operationId": "get-v2-feed-sources", - "tags": [ - "FeedSources" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieves a collection of FeedSource resources.", - "description": "Retrieves a collection of FeedSource resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "supportedFeedOutputType", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "title", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "description", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "order[title]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[description]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[modifiedAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "supportedFeedOutputType[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - } - ], - "deprecated": false - }, - "post": { - "operationId": "create-v2-feed-source", - "tags": [ - "FeedSources" - ], - "responses": { - "201": { - "description": "FeedSource resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/FeedSource.FeedSource.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/FeedSource.FeedSource" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/FeedSource.FeedSource" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } - }, - "summary": "Creates a Feed Source resource.", - "description": "Creates a Feed Source resource.", - "parameters": [], - "requestBody": { - "description": "The new FeedSource resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/FeedSource.FeedSourceInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/FeedSource.FeedSourceInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/FeedSource.FeedSourceInput" - } - } - }, - "required": true - }, - "deprecated": false - } - }, - "/v2/feed-sources/{id}": { - "get": { - "operationId": "get-feed-source-id", - "tags": [ - "FeedSources" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieve a Feed Source resource.", - "description": "Retrieves a Feed Source resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-feed-source-id", - "tags": [ - "FeedSources" - ], - "responses": { - "200": { - "description": "FeedSource resource updated", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/FeedSource.FeedSource.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/FeedSource.FeedSource" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/FeedSource.FeedSource" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Update a Feed Source resource.", - "description": "Update a Feed Source resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "The updated FeedSource resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/FeedSource.FeedSourceInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/FeedSource.FeedSourceInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/FeedSource.FeedSourceInput" - } - } - }, - "required": true - }, - "deprecated": false - }, - "delete": { - "operationId": "delete-v2-feed-source-id", - "tags": [ - "FeedSources" - ], - "responses": { - "204": { - "description": "FeedSource resource deleted" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Delete a Feed Source resource.", - "description": "Delete a Feed Source resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/feed-sources/{id}/slides": { - "get": { - "operationId": "get-v2-feed-source-slide-id", - "tags": [ - "FeedSources" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieves collection of weighted slide resources (feedsource).", - "description": "Retrieves collection of weighted slide resources (feedsource).", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "page", - "in": "query", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "title", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "description", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "published", - "in": "query", - "description": "If true only published content will be shown", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[title]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[description]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[modifiedAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/feed_sources/{id}/config/{name}": { - "get": { - "operationId": "get-v2-feed-source-id-config-name", - "tags": [ - "FeedSources" - ], - "responses": { - "200": { - "content": { - "application/ld+json": { - "examples": { - "example1": { - "value": [ - { - "key": "key1", - "id": "id1", - "value": "value1" - } - ] - } - } - } - }, - "headers": [] - } - }, - "summary": "Get config for name from a feed source.", - "description": "Get config for name from a feed source.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "name", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "pattern": "^[A-Za-z0-9]*$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/feeds": { - "get": { - "operationId": "get-v2-feeds", - "tags": [ - "Feeds" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieves a collection of Feed resources.", - "description": "Retrieves a collection of Feed resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[modifiedAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/feeds/{id}": { - "get": { - "operationId": "get-feeds-id", - "tags": [ - "Feeds" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieve a feed resource.", - "description": "Retrieves a feed resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/feeds/{id}/data": { - "get": { - "operationId": "get-v2-feed-id-data", - "tags": [ - "Feeds" - ], - "responses": { - "200": { - "content": { - "application/json": { - "examples": { - "example1": { - "value": [ - { - "key1": "value1", - "key2": "value2" - }, - { - "key1": "value3", - "key2": "value4" - } - ] - }, - "example2": { - "value": { - "key1": "value1" - } - } - } - } - }, - "headers": [] - } - }, - "summary": "Get data from a feed.", - "description": "Get data from a feed.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/layouts": { - "get": { - "operationId": "get-v2-layouts", - "tags": [ - "Layouts" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - }, - "headers": [] - } - } - }, - "summary": "Retrieves a collection of layouts resources.", - "description": "Retrieve a collection of layouts resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 10 - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/layouts/{id}": { - "get": { - "operationId": "get-v2-layouts-id", - "tags": [ - "Layouts" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieve a screen layout resource.", - "description": "Retrieves a screen layout resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/authentication/token": { - "post": { - "operationId": "login_check_post", - "tags": [ - "Login Check" - ], - "responses": { - "200": { - "description": "User token created", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "token": { - "readOnly": true, - "type": "string", - "nullable": false - } - }, - "required": [ - "token" - ] - } - } - } - } - }, - "summary": "Creates a user token.", - "description": "Creates a user token.", - "requestBody": { - "description": "The login data", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "providerId": { - "type": "string", - "nullable": false - }, - "password": { - "type": "string", - "nullable": false - } - }, - "required": [ - "providerId", - "password" - ] - } - } - }, - "required": true - } - } - }, - "/v2/media": { - "get": { - "operationId": "get-v2-medias", - "tags": [ - "Media" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieves a collection of Media resources.", - "description": "Retrieve a collection of Media resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "title", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "description", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "order[title]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[description]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[modifiedAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "post": { - "operationId": "postMediaCollection", - "tags": [ - "Media" - ], - "responses": { - "201": { - "description": "Media resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Media.Media.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Media.Media" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Media.Media" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } - }, - "summary": "Creates a Media resource.", - "description": "Creates a Media resource.", - "parameters": [], - "requestBody": { - "description": "", - "content": { - "multipart/form-data": { - "schema": { - "type": "object", - "required": [ - "title", - "description", - "license", - "file" - ], - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "license": { - "type": "string" - }, - "file": { - "type": "string", - "format": "binary" - } - } - } - } - }, - "required": false - }, - "deprecated": false - } - }, - "/v2/media/{id}": { - "get": { - "operationId": "getv2MediaById", - "tags": [ - "Media" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieve a Media resource.", - "description": "Retrieves a Media resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "delete": { - "operationId": "delete-v2-media-id", - "tags": [ - "Media" - ], - "responses": { - "204": { - "description": "Media resource deleted" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Delete a Media resource.", - "description": "Delete a Media resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/campaigns/{id}/screen-groups": { - "get": { - "operationId": "get-v2-campaign-id-screen-group", - "tags": [ - "Playlists" - ], - "responses": { - "200": { - "description": "ScreenGroupCampaign collection", - "content": { - "application/ld+json": { - "schema": { - "type": "object", - "properties": { - "hydra:member": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenGroupCampaign.jsonld-campaigns.screen-groups.read" - } - }, - "hydra:totalItems": { - "type": "integer", - "minimum": 0 - }, - "hydra:view": { - "type": "object", - "properties": { - "@id": { - "type": "string", - "format": "iri-reference" - }, - "@type": { - "type": "string" - }, - "hydra:first": { - "type": "string", - "format": "iri-reference" - }, - "hydra:last": { - "type": "string", - "format": "iri-reference" - }, - "hydra:previous": { - "type": "string", - "format": "iri-reference" - }, - "hydra:next": { - "type": "string", - "format": "iri-reference" - } - }, - "example": { - "@id": "string", - "type": "string", - "hydra:first": "string", - "hydra:last": "string", - "hydra:previous": "string", - "hydra:next": "string" - } - }, - "hydra:search": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "hydra:template": { - "type": "string" - }, - "hydra:variableRepresentation": { - "type": "string" - }, - "hydra:mapping": { - "type": "array", - "items": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "variable": { - "type": "string" - }, - "property": { - "type": [ - "string", - "null" - ] - }, - "required": { - "type": "boolean" - } - } - } - } - } - } - }, - "required": [ - "hydra:member" - ] - } - }, - "text/html": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenGroupCampaign-campaigns.screen-groups.read" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenGroupCampaign-campaigns.screen-groups.read" - } - } - } - } - } - }, - "summary": "Get Screen group resources on campaign.", - "description": "Get Screen group resources on campaign.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/campaigns/{id}/screens": { - "get": { - "operationId": "get-v2-campaign-id-screen", - "tags": [ - "Playlists" - ], - "responses": { - "200": { - "description": "ScreenCampaign collection", - "content": { - "application/ld+json": { - "schema": { - "type": "object", - "properties": { - "hydra:member": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenCampaign.jsonld-campaigns.screens.read" - } - }, - "hydra:totalItems": { - "type": "integer", - "minimum": 0 - }, - "hydra:view": { - "type": "object", - "properties": { - "@id": { - "type": "string", - "format": "iri-reference" - }, - "@type": { - "type": "string" - }, - "hydra:first": { - "type": "string", - "format": "iri-reference" - }, - "hydra:last": { - "type": "string", - "format": "iri-reference" - }, - "hydra:previous": { - "type": "string", - "format": "iri-reference" - }, - "hydra:next": { - "type": "string", - "format": "iri-reference" - } - }, - "example": { - "@id": "string", - "type": "string", - "hydra:first": "string", - "hydra:last": "string", - "hydra:previous": "string", - "hydra:next": "string" - } - }, - "hydra:search": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "hydra:template": { - "type": "string" - }, - "hydra:variableRepresentation": { - "type": "string" - }, - "hydra:mapping": { - "type": "array", - "items": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "variable": { - "type": "string" - }, - "property": { - "type": [ - "string", - "null" - ] - }, - "required": { - "type": "boolean" - } - } - } - } - } - } - }, - "required": [ - "hydra:member" - ] - } - }, - "text/html": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenCampaign-campaigns.screens.read" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenCampaign-campaigns.screens.read" - } - } - } - } - } - }, - "summary": "Get screens connected to a campaign.", - "description": "Get screens connected to a campaign.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/playlists": { - "get": { - "operationId": "get-v2-playlists", - "tags": [ - "Playlists" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieve a collection of Playlist resources.", - "description": "Retrieves a collection of Playlist resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "integer", - "default": 10, - "minimum": 0, - "maximum": 30 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "title", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "description", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "published", - "in": "query", - "description": "If true only published content will be shown", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "isCampaign", - "in": "query", - "description": "If true only campaigns will be shown", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[title]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[description]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[modifiedAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "sharedWithMe", - "in": "query", - "description": "If true only entities that are shared with me will be shown", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "post": { - "operationId": "create-v2-playlist", - "tags": [ - "Playlists" - ], - "responses": { - "201": { - "description": "Playlist resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Playlist.Playlist.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Playlist.Playlist" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Playlist.Playlist" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } - }, - "summary": "Creates a Playlist resource.", - "description": "Creates a Playlist resource.", - "parameters": [], - "requestBody": { - "description": "The new Playlist resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Playlist.PlaylistInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Playlist.PlaylistInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Playlist.PlaylistInput" - } - } - }, - "required": true - }, - "deprecated": false - } - }, - "/v2/playlists/{id}": { - "get": { - "operationId": "get-v2-playlist-id", - "tags": [ - "Playlists" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieves a Playlist resource.", - "description": "Retrieve a Playlist resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-playlist-id", - "tags": [ - "Playlists" - ], - "responses": { - "200": { - "description": "Playlist resource updated", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Playlist.Playlist.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Playlist.Playlist" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Playlist.Playlist" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Update a Playlist resource.", - "description": "Update a Playlist resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "The updated Playlist resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Playlist.PlaylistInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Playlist.PlaylistInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Playlist.PlaylistInput" - } - } - }, - "required": true - }, - "deprecated": false - }, - "delete": { - "operationId": "delete-v2-playlist-id", - "tags": [ - "Playlists" - ], - "responses": { - "204": { - "description": "Playlist resource deleted" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Delete a Playlist resource.", - "description": "Delete a Playlist resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/playlists/{id}/slides": { - "get": { - "operationId": "get-v2-playlist-slide-id", - "tags": [ - "Playlists" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieves collection of weighted slide resources.", - "description": "Retrieves collection of weighted slide resources.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "page", - "in": "query", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "published", - "in": "query", - "description": "If true only published content will be shown", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-playlist-slide-id", - "tags": [ - "Playlists" - ], - "responses": { - "201": { - "description": "Created", - "content": { - "application/ld+json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "slide": { - "type": "string" - }, - "playlist": { - "type": "string" - }, - "weight": { - "type": "integer" - } - } - } - } - } - } - } - }, - "summary": "Update the collection of slide on a playlist.", - "description": "Update the collection of slide on a playlist.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "PlaylistSlide identifier", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "", - "content": { - "application/ld+json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "slide": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$", - "description": "Slide ULID" - }, - "weight": { - "type": "integer" - } - } - } - } - } - }, - "required": false - }, - "deprecated": false - } - }, - "/v2/playlists/{id}/slides/{slideId}": { - "delete": { - "operationId": "delete-v2-playlist-slide-id", - "tags": [ - "Playlists" - ], - "responses": { - "204": { - "description": "PlaylistSlide resource deleted" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Delete a slide from a playlist.", - "description": "Delete a slide from a playlist.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "slideId", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/slides/{id}/playlists": { - "get": { - "operationId": "put-v2-slide-playlist-id", - "tags": [ - "Playlists" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Get the collection of playlist connected to a slide.", - "description": "Get the collection of playlist connected to a slide.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "published", - "in": "query", - "description": "If true only published content will be shown", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "get-v2-slide-playlist-id", - "tags": [ - "Playlists" - ], - "responses": { - "200": { - "description": "PlaylistSlide resource updated", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/PlaylistSlide.PlaylistSlide.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/PlaylistSlide.PlaylistSlide" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PlaylistSlide.PlaylistSlide" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Retrieves collection of playlistresources.", - "description": "Retrieves collection of playlist resources.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "", - "content": { - "application/ld+json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "playlist": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$", - "description": "Playlist ULID" - } - } - } - } - } - }, - "required": false - }, - "deprecated": false - } - }, - "/v2/screen-groups-campaigns/{id}": { - "get": { - "operationId": "getScreenGroupCampaignItem", - "tags": [ - "ScreenGroupCampaign" - ], - "responses": { - "200": { - "description": "ScreenGroupCampaign resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/ScreenGroupCampaign.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/ScreenGroupCampaign" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ScreenGroupCampaign" - } - } - } - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Retrieves a ScreenGroupCampaign resource.", - "description": "Retrieves a ScreenGroupCampaign resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "ScreenGroupCampaign identifier", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/screen-groups": { - "get": { - "operationId": "get-v2-screen-groups", - "tags": [ - "ScreenGroups" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieves a collection of Screen group resources.", - "description": "Retrieve a collection of Screen group resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "title", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "description", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "order[title]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[description]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "post": { - "operationId": "post-v2-screen-groups", - "tags": [ - "ScreenGroups" - ], - "responses": { - "201": { - "description": "ScreenGroup resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroup.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroup" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroup" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } - }, - "summary": "Create Screen group resources.", - "description": "Create Screen group resources.", - "parameters": [], - "requestBody": { - "description": "The new ScreenGroup resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroupInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroupInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroupInput" - } - } - }, - "required": true - }, - "deprecated": false - } - }, - "/v2/screen-groups/{id}": { - "get": { - "operationId": "get-v2-screen-groups-id", - "tags": [ - "ScreenGroups" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieve a Screen group resource.", - "description": "Retrieves a Screen group resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-screen-groups-id", - "tags": [ - "ScreenGroups" - ], - "responses": { - "200": { - "description": "ScreenGroup resource updated", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroup.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroup" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroup" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Update a Screen group resource.", - "description": "Update a Screen group resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "The updated ScreenGroup resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroupInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroupInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroupInput" - } - } - }, - "required": true - }, - "deprecated": false - }, - "delete": { - "operationId": "delete-v2-screen-groups-id", - "tags": [ - "ScreenGroups" - ], - "responses": { - "204": { - "description": "ScreenGroup resource deleted" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Delete a Screen group resource.", - "description": "Delete a Screen group resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/screen-groups/{id}/campaigns": { - "get": { - "operationId": "get-v2-screen-groups-campaign-id", - "tags": [ - "ScreenGroups" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieves collection of campaign resources connected to a screen group.", - "description": "Retrieves collection of campaign resources connected to a screen group.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "page", - "in": "query", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "published", - "in": "query", - "description": "If true only published content will be shown", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-screen-groups-campaign-id", - "tags": [ - "ScreenGroups" - ], - "responses": { - "201": { - "description": "Created", - "content": { - "application/ld+json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "playlist": { - "type": "string" - }, - "screen-group": { - "type": "string" - } - } - } - } - } - } - } - }, - "summary": "Update the collection of screen groups on a playlist.", - "description": "Update the collection of screen groups on a playlist.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "ScreenGroupCampaign identifier", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "", - "content": { - "application/ld+json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "screenGroup": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$", - "description": "Screen group ULID" - } - } - } - } - } - }, - "required": false - }, - "deprecated": false - } - }, - "/v2/screen-groups/{id}/campaigns/{campaignId}": { - "delete": { - "operationId": "delete-v2-screen-groups-campaign-id", - "tags": [ - "ScreenGroups" - ], - "responses": { - "204": { - "description": "ScreenGroupCampaign resource deleted" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Delete a campaign from a screen group.", - "description": "Delete a campaign from a screen group.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "campaignId", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/screen-groups/{id}/screens": { - "get": { - "operationId": "get-v2-screen-id-screen-group", - "tags": [ - "ScreenGroups" - ], - "responses": { - "200": { - "description": "ScreenGroup collection", - "content": { - "application/ld+json": { - "schema": { - "type": "object", - "properties": { - "hydra:member": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenGroup.jsonld-screen-groups.screens.read" - } - }, - "hydra:totalItems": { - "type": "integer", - "minimum": 0 - }, - "hydra:view": { - "type": "object", - "properties": { - "@id": { - "type": "string", - "format": "iri-reference" - }, - "@type": { - "type": "string" - }, - "hydra:first": { - "type": "string", - "format": "iri-reference" - }, - "hydra:last": { - "type": "string", - "format": "iri-reference" - }, - "hydra:previous": { - "type": "string", - "format": "iri-reference" - }, - "hydra:next": { - "type": "string", - "format": "iri-reference" - } - }, - "example": { - "@id": "string", - "type": "string", - "hydra:first": "string", - "hydra:last": "string", - "hydra:previous": "string", - "hydra:next": "string" - } - }, - "hydra:search": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "hydra:template": { - "type": "string" - }, - "hydra:variableRepresentation": { - "type": "string" - }, - "hydra:mapping": { - "type": "array", - "items": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "variable": { - "type": "string" - }, - "property": { - "type": [ - "string", - "null" - ] - }, - "required": { - "type": "boolean" - } - } - } - } - } - } - }, - "required": [ - "hydra:member" - ] - } - }, - "text/html": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenGroup-screen-groups.screens.read" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenGroup-screen-groups.screens.read" - } - } - } - } - } - }, - "summary": "Gets screens in screen group.", - "description": "Get screens in screen group.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/screens": { - "get": { - "operationId": "get-v2-screens", - "tags": [ - "Screens" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieves a collection of Screen resources.", - "description": "Retrieves a collection of Screen resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "search", - "in": "query", - "description": "Search on both location and title", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "exists[screenUser]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "screenUser.latestRequest[before]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "screenUser.latestRequest[strictly_before]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "screenUser.latestRequest[after]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "screenUser.latestRequest[strictly_after]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "order[title]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[description]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[modifiedAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "post": { - "operationId": "create-v2-screens", - "tags": [ - "Screens" - ], - "responses": { - "201": { - "description": "Screen resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Screen.Screen.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Screen.Screen" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Screen.Screen" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } - }, - "summary": "Creates a Screen resource.", - "description": "Creates a Screen resource.", - "parameters": [], - "requestBody": { - "description": "The new Screen resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Screen.ScreenInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Screen.ScreenInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Screen.ScreenInput" - } - } - }, - "required": true - }, - "deprecated": false - } - }, - "/v2/screens/{id}": { - "get": { - "operationId": "get-screens-id", - "tags": [ - "Screens" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieve a Screen resource.", - "description": "Retrieves a Screen resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-screen-id", - "tags": [ - "Screens" - ], - "responses": { - "200": { - "description": "Screen resource updated", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Screen.Screen.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Screen.Screen" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Screen.Screen" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Update a Screen resource.", - "description": "Update a Screen resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "The updated Screen resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Screen.ScreenInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Screen.ScreenInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Screen.ScreenInput" - } - } - }, - "required": true - }, - "deprecated": false - }, - "delete": { - "operationId": "delete-v2-screen-id", - "tags": [ - "Screens" - ], - "responses": { - "204": { - "description": "Screen resource deleted" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Delete a Screen resource.", - "description": "Delete a Screen resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/screens/{id}/bind": { - "post": { - "operationId": "postScreenBindKey", - "tags": [ - "Screens" - ], - "responses": { - "201": { - "description": "Bind screen to a logged in machine with bind key" - } - }, - "summary": "Bind screen with BindKey", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "The screen id", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "Bind the screen with the bind key", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ScreenBindObject" - } - } - }, - "required": false - } - } - }, - "/v2/screens/{id}/campaigns": { - "get": { - "operationId": "get-v2-screen-campaign-id", - "tags": [ - "Screens" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieves collection of campaign resources.", - "description": "Retrieves collection of campaign resources.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "page", - "in": "query", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "published", - "in": "query", - "description": "If true only published content will be shown", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-screen-campaign-id", - "tags": [ - "Screens" - ], - "responses": { - "201": { - "description": "Created", - "content": { - "application/ld+json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "playlist": { - "type": "string" - }, - "screen": { - "type": "string" - } - } - } - } - } - } - } - }, - "summary": "Update the collection of screens on a playlist.", - "description": "Update the collection of screens on a playlist.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "ScreenCampaign identifier", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "", - "content": { - "application/ld+json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "screen": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$", - "description": "Screen ULID" - } - } - } - } - } - }, - "required": false - }, - "deprecated": false - } - }, - "/v2/screens/{id}/campaigns/{campaignId}": { - "delete": { - "operationId": "delete-v2-screen-campaign-id", - "tags": [ - "Screens" - ], - "responses": { - "204": { - "description": "ScreenCampaign resource deleted" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Delete a campaign from a screen.", - "description": "Delete a campaign from a screen.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "campaignId", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/screens/{id}/regions/{regionId}/playlists": { - "get": { - "operationId": "get-v2-playlist-screen-regions", - "tags": [ - "Screens" - ], - "responses": { - "200": { - "description": "PlaylistScreenRegion collection", - "content": { - "application/ld+json": { - "schema": { - "type": "object", - "properties": { - "hydra:member": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PlaylistScreenRegion.jsonld-playlist-screen-region.read" - } - }, - "hydra:totalItems": { - "type": "integer", - "minimum": 0 - }, - "hydra:view": { - "type": "object", - "properties": { - "@id": { - "type": "string", - "format": "iri-reference" - }, - "@type": { - "type": "string" - }, - "hydra:first": { - "type": "string", - "format": "iri-reference" - }, - "hydra:last": { - "type": "string", - "format": "iri-reference" - }, - "hydra:previous": { - "type": "string", - "format": "iri-reference" - }, - "hydra:next": { - "type": "string", - "format": "iri-reference" - } - }, - "example": { - "@id": "string", - "type": "string", - "hydra:first": "string", - "hydra:last": "string", - "hydra:previous": "string", - "hydra:next": "string" - } - }, - "hydra:search": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "hydra:template": { - "type": "string" - }, - "hydra:variableRepresentation": { - "type": "string" - }, - "hydra:mapping": { - "type": "array", - "items": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "variable": { - "type": "string" - }, - "property": { - "type": [ - "string", - "null" - ] - }, - "required": { - "type": "boolean" - } - } - } - } - } - } - }, - "required": [ - "hydra:member" - ] - } - }, - "text/html": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PlaylistScreenRegion-playlist-screen-region.read" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PlaylistScreenRegion-playlist-screen-region.read" - } - } - } - } - } - }, - "summary": "Retrieves a Playlist resources base on screen region.", - "description": "Retrieve a Playlist resources base on screen regions.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "regionId", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "page", - "in": "query", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "sharedWithMe", - "in": "query", - "description": "If true only entities that are shared with me will be shown", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "putPlaylistScreenRegionItem", - "tags": [ - "Screens" - ], - "responses": { - "200": { - "description": "Not used - remove the default 200 response" - }, - "201": { - "description": "Created" - }, - "404": { - "description": "Not found" - } - }, - "summary": "Add Playlist resource from screen region.", - "description": "Add Playlist resource from screen region.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "regionId", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "", - "content": { - "application/ld+json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "playlist": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$", - "description": "Playlist ULID" - }, - "weight": { - "type": "integer" - } - } - } - } - } - }, - "required": false - }, - "deprecated": false - } - }, - "/v2/screens/{id}/regions/{regionId}/playlists/{playlistId}": { - "delete": { - "operationId": "deletePlaylistScreenRegionItem", - "tags": [ - "Screens" - ], - "responses": { - "204": { - "description": "PlaylistScreenRegion resource deleted" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Remove Playlist resource from screen region.", - "description": "Remove Playlist resource from screen region.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "regionId", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "playlistId", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/screens/{id}/screen-groups": { - "get": { - "operationId": "get-v2-screen-id-screen-groups", - "tags": [ - "Screens" - ], - "responses": { - "200": { - "description": "ScreenGroup collection", - "content": { - "application/ld+json": { - "schema": { - "type": "object", - "properties": { - "hydra:member": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroup.jsonld-screens.screen-groups.read" - } - }, - "hydra:totalItems": { - "type": "integer", - "minimum": 0 - }, - "hydra:view": { - "type": "object", - "properties": { - "@id": { - "type": "string", - "format": "iri-reference" - }, - "@type": { - "type": "string" - }, - "hydra:first": { - "type": "string", - "format": "iri-reference" - }, - "hydra:last": { - "type": "string", - "format": "iri-reference" - }, - "hydra:previous": { - "type": "string", - "format": "iri-reference" - }, - "hydra:next": { - "type": "string", - "format": "iri-reference" - } - }, - "example": { - "@id": "string", - "type": "string", - "hydra:first": "string", - "hydra:last": "string", - "hydra:previous": "string", - "hydra:next": "string" - } - }, - "hydra:search": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "hydra:template": { - "type": "string" - }, - "hydra:variableRepresentation": { - "type": "string" - }, - "hydra:mapping": { - "type": "array", - "items": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "variable": { - "type": "string" - }, - "property": { - "type": [ - "string", - "null" - ] - }, - "required": { - "type": "boolean" - } - } - } - } - } - } - }, - "required": [ - "hydra:member" - ] - } - }, - "text/html": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroup-screens.screen-groups.read" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroup-screens.screen-groups.read" - } - } - } - } - } - }, - "summary": "Retrieve screen-groups from screen id.", - "description": "Retrieve screen-groups from screen id.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "page", - "in": "query", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[title]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[description]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-screen-groups-screen", - "tags": [ - "Screens" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - } - } - }, - "summary": "Update the collection of ScreenGroups on a Screen.", - "description": "Update the collection of ScreenGroups on a Screen.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "required": false - }, - "deprecated": false - } - }, - "/v2/screens/{id}/screen-groups/{screenGroupId}": { - "delete": { - "operationId": "delete-v2-screen-group-screen-id", - "tags": [ - "Screens" - ], - "responses": { - "204": { - "description": "ScreenGroup resource deleted" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Delete a screen groups from a screen", - "description": "Delete a screen groups from a screen.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "screenGroupId", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/screens/{id}/unbind": { - "post": { - "operationId": "postScreenUnbind", - "tags": [ - "Screens" - ], - "responses": { - "201": { - "description": "Unbind screen from machine" - } - }, - "summary": "Unbind screen from machine", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "The screen id", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "Unbind from machine", - "content": {}, - "required": false - } - } - }, - "/v2/slides": { - "get": { - "operationId": "get-v2-slides", - "tags": [ - "Slides" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieves a collection of Slide resources.", - "description": "Retrieves a collection of Slide resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "title", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "description", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "published", - "in": "query", - "description": "If true only published content will be shown", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[title]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[description]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[modifiedAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "post": { - "operationId": "create-v2-slides", - "tags": [ - "Slides" - ], - "responses": { - "201": { - "description": "Slide resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Slide.Slide.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Slide.Slide" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Slide.Slide" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } - }, - "summary": "Creates a Slide resource.", - "description": "Creates a Slide resource.", - "parameters": [], - "requestBody": { - "description": "The new Slide resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Slide.SlideInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Slide.SlideInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Slide.SlideInput" - } - } - }, - "required": true - }, - "deprecated": false - } - }, - "/v2/slides/{id}": { - "get": { - "operationId": "get-v2-slide-id", - "tags": [ - "Slides" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieve a Slide resource.", - "description": "Retrieves a Slide resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-slide-id", - "tags": [ - "Slides" - ], - "responses": { - "200": { - "description": "Slide resource updated", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Slide.Slide.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Slide.Slide" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Slide.Slide" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Update a Slide resource.", - "description": "Update a Slide resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "The updated Slide resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Slide.SlideInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Slide.SlideInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Slide.SlideInput" - } - } - }, - "required": true - }, - "deprecated": false - }, - "delete": { - "operationId": "delete-v2-slide-id", - "tags": [ - "Slides" - ], - "responses": { - "204": { - "description": "Slide resource deleted" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Delete a Slide resource.", - "description": "Delete a Slide resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/slides/{id}/action": { - "post": { - "operationId": "api_Slide_perform_action", - "tags": [ - "Slides" - ], - "responses": { - "201": { - "description": "Slide resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Slide.Slide.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Slide.Slide" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Slide.Slide" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } - }, - "summary": "Performs an action for a slide.", - "description": "Perform an action for a slide.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "The new Slide resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Slide.InteractiveSlideActionInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Slide.InteractiveSlideActionInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Slide.InteractiveSlideActionInput" - } - } - }, - "required": true - }, - "deprecated": false - } - }, - "/v2/templates": { - "get": { - "operationId": "get-v2-templates", - "tags": [ - "Templates" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieve a collection of Template resources.", - "description": "Retrieve a collection of Template resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "title", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "description", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[modifiedAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/templates/{id}": { - "get": { - "operationId": "get-v2-template-id", - "tags": [ - "Templates" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieve a Template resource.", - "description": "Retrieves a Template resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/tenants": { - "get": { - "operationId": "get-v2-tenants", - "tags": [ - "Tenants" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieves a collection of tenant resources.", - "description": "Retrieves a collection of tenant resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "title", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "description", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/tenants/{id}": { - "get": { - "operationId": "get-v2-tenant-id", - "tags": [ - "Tenants" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieve a tenant resource.", - "description": "Retrieves a tenant resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/themes": { - "get": { - "operationId": "get-v2-themes", - "tags": [ - "Themes" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieve a collection of Theme resources.", - "description": "Retrieve a collection of Theme resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "title", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "description", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "order[title]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[description]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[modifiedAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "post": { - "operationId": "create-v2-themes", - "tags": [ - "Themes" - ], - "responses": { - "201": { - "description": "Theme resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Theme.Theme.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Theme.Theme" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Theme.Theme" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } - }, - "summary": "Creates a Theme resource.", - "description": "Creates a Theme resource.", - "parameters": [], - "requestBody": { - "description": "The new Theme resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Theme.ThemeInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Theme.ThemeInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Theme.ThemeInput" - } - } - }, - "required": true - }, - "deprecated": false - } - }, - "/v2/themes/{id}": { - "get": { - "operationId": "get-v2-theme-id", - "tags": [ - "Themes" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieve a Theme resource.", - "description": "Retrieves a Theme resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-theme-id", - "tags": [ - "Themes" - ], - "responses": { - "200": { - "description": "Theme resource updated", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Theme.Theme.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Theme.Theme" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Theme.Theme" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Update a Theme resource.", - "description": "Update a Theme resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "The updated Theme resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Theme.ThemeInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Theme.ThemeInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Theme.ThemeInput" - } - } - }, - "required": true - }, - "deprecated": false - }, - "delete": { - "operationId": "delete-v2-theme-id", - "tags": [ - "Themes" - ], - "responses": { - "204": { - "description": "Theme resource deleted" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Delete a Theme resource.", - "description": "Delete a Theme resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/users": { - "get": { - "operationId": "get-v2-users", - "tags": [ - "User" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieve a collection of User resources.", - "description": "Retrieve a collection of User resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "fullName", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "email", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "asc", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "post": { - "operationId": "post-v2-user", - "tags": [ - "User" - ], - "responses": { - "201": { - "description": "User resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/User.User.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/User.User" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/User.User" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } - }, - "summary": "Create a User resource.", - "description": "Create a User resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "The new User resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/User.UserInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/User.UserInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/User.UserInput" - } - } - }, - "required": true - }, - "deprecated": false - } - }, - "/v2/users/{id}": { - "get": { - "operationId": "get-v2-user-id", - "tags": [ - "User" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieve User resource.", - "description": "Retrieves User resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-user-id", - "tags": [ - "User" - ], - "responses": { - "200": { - "description": "User resource updated", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/User.User.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/User.User" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/User.User" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Update User resource.", - "description": "Update User resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "The updated User resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/User.UserInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/User.UserInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/User.UserInput" - } - } - }, - "required": true - }, - "deprecated": false - }, - "delete": { - "operationId": "delete-v2-user-id", - "tags": [ - "User" - ], - "responses": { - "204": { - "description": "User resource deleted" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Delete an User resource.", - "description": "Delete an User resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/users/{id}/remove-from-tenant": { - "delete": { - "operationId": "post-v2-remove-user-from-tenant", - "tags": [ - "User" - ], - "responses": { - "204": { - "description": "User removed from tenant" - } - }, - "summary": "Remove a User resource from the current tenant.", - "description": "Remove a User resource from the current tenant.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - }, - "/v2/user-activation-codes": { - "get": { - "operationId": "api_v2user-activation-codes_get_collection", - "tags": [ - "UserActivationCode" - ], - "responses": { - "200": { - "description": "UserActivationCode collection", - "content": { - "application/ld+json": { - "schema": { - "type": "object", - "properties": { - "hydra:member": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode.jsonld" - } - }, - "hydra:totalItems": { - "type": "integer", - "minimum": 0 - }, - "hydra:view": { - "type": "object", - "properties": { - "@id": { - "type": "string", - "format": "iri-reference" - }, - "@type": { - "type": "string" - }, - "hydra:first": { - "type": "string", - "format": "iri-reference" - }, - "hydra:last": { - "type": "string", - "format": "iri-reference" - }, - "hydra:previous": { - "type": "string", - "format": "iri-reference" - }, - "hydra:next": { - "type": "string", - "format": "iri-reference" - } - }, - "example": { - "@id": "string", - "type": "string", - "hydra:first": "string", - "hydra:last": "string", - "hydra:previous": "string", - "hydra:next": "string" - } - }, - "hydra:search": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "hydra:template": { - "type": "string" - }, - "hydra:variableRepresentation": { - "type": "string" - }, - "hydra:mapping": { - "type": "array", - "items": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "variable": { - "type": "string" - }, - "property": { - "type": [ - "string", - "null" - ] - }, - "required": { - "type": "boolean" - } - } - } - } - } - } - }, - "required": [ - "hydra:member" - ] - } - }, - "text/html": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" - } - } - } - } - } - }, - "summary": "Retrieves the collection of UserActivationCode resources.", - "description": "Retrieves the collection of UserActivationCode resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "The collection page number", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "integer", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "integer", - "default": 10, - "minimum": 0, - "maximum": 30 - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "post": { - "operationId": "post-v2-create-user-activation-code", - "tags": [ - "UserActivationCode" - ], - "responses": { - "201": { - "description": "UserActivationCode resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } - }, - "summary": "Create user activation code.", - "description": "Create user activation code", - "parameters": [], - "requestBody": { - "description": "The new UserActivationCode resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCodeInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCodeInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCodeInput" - } - } - }, - "required": true - }, - "deprecated": false - } - }, - "/v2/user-activation-codes/activate": { - "post": { - "operationId": "post-v2-activate-user-activation-code", - "tags": [ - "UserActivationCode" - ], - "responses": { - "201": { - "description": "UserActivationCode resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } - }, - "summary": "Use user activation code.", - "description": "Use user activation code.", - "parameters": [], - "requestBody": { - "description": "The new UserActivationCode resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.ActivationCode.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.ActivationCode" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.ActivationCode" - } - } - }, - "required": true - }, - "deprecated": false - } - }, - "/v2/user-activation-codes/refresh": { - "post": { - "operationId": "post-v2-refresh-user-activation-code", - "tags": [ - "UserActivationCode" - ], - "responses": { - "201": { - "description": "UserActivationCode resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } - }, - "summary": "Refresh user activation code.", - "description": "Refresh user activation code.", - "parameters": [], - "requestBody": { - "description": "The new UserActivationCode resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.ActivationCode.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.ActivationCode" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.ActivationCode" - } - } - }, - "required": true - }, - "deprecated": false - } - }, - "/v2/user-activation-codes/{id}": { - "get": { - "operationId": "api_v2user-activation-codes_id_get", - "tags": [ - "UserActivationCode" - ], - "responses": { - "200": { - "description": "UserActivationCode resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode" - } - } - } - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Retrieves a UserActivationCode resource.", - "description": "Retrieves a UserActivationCode resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "UserActivationCode identifier", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "delete": { - "operationId": "api_v2user-activation-codes_id_delete", - "tags": [ - "UserActivationCode" - ], - "responses": { - "204": { - "description": "UserActivationCode resource deleted" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Removes the UserActivationCode resource.", - "description": "Removes the UserActivationCode resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "UserActivationCode identifier", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - } - } - }, - "components": { - "schemas": { - "Collection": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "empty": { - "readOnly": true, - "description": "Checks whether the collection is empty (contains no elements).", - "type": "boolean" - }, - "keys": { - "readOnly": true, - "description": "Gets all keys/indices of the collection.", - "anyOf": [ - { - "type": "array", - "items": { - "type": "integer" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "values": { - "readOnly": true, - "description": "Gets all values of the collection.", - "type": "array", - "items": { - "type": "string" - } - }, - "iterator": { - "readOnly": true - } - } - }, - "Collection-campaigns.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false - }, - "Collection-campaigns.screens.read": { - "type": "object", - "description": "", - "deprecated": false - }, - "Collection-playlist-screen-region.read": { - "type": "object", - "description": "", - "deprecated": false - }, - "Collection-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false - }, - "Collection-screen-campaigns.read": { - "type": "object", - "description": "", - "deprecated": false - }, - "Collection-screen-groups.campaigns.read": { - "type": "object", - "description": "", - "deprecated": false - }, - "Collection-slides.playlists.read": { - "type": "object", - "description": "", - "deprecated": false - }, - "Collection.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "empty": { - "readOnly": true, - "description": "Checks whether the collection is empty (contains no elements).", - "type": "boolean" - }, - "keys": { - "readOnly": true, - "description": "Gets all keys/indices of the collection.", - "anyOf": [ - { - "type": "array", - "items": { - "type": "integer" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "values": { - "readOnly": true, - "description": "Gets all values of the collection.", - "type": "array", - "items": { - "type": "string" - } - }, - "iterator": { - "readOnly": true - } - } - }, - "Collection.jsonld-campaigns.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - } - } - }, - "Collection.jsonld-campaigns.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - } - } - }, - "Collection.jsonld-playlist-screen-region.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - } - } - }, - "Collection.jsonld-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - } - } - }, - "Collection.jsonld-screen-campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - } - } - }, - "Collection.jsonld-screen-groups.campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - } - } - }, - "Collection.jsonld-slides.playlists.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - } - } - }, - "Feed": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "configuration": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slide": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "feedSource": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "feedUrl": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Feed.Feed": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "configuration": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slide": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "feedSource": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "feedUrl": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Feed.Feed.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "configuration": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slide": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "feedSource": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "feedUrl": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Feed.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "configuration": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slide": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "feedSource": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "feedUrl": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "FeedSource": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "outputType": { - "type": "string" - }, - "feedType": { - "type": "string" - }, - "feeds": { - "type": "array", - "items": { - "type": "string" - } - }, - "admin": { - "type": "array", - "items": { - "type": "string" - } - }, - "supportedFeedOutputType": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "FeedSource-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false - }, - "FeedSource.FeedSource": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "outputType": { - "type": "string" - }, - "feedType": { - "type": "string" - }, - "feeds": { - "type": "array", - "items": { - "type": "string" - } - }, - "admin": { - "type": "array", - "items": { - "type": "string" - } - }, - "supportedFeedOutputType": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "FeedSource.FeedSource-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false - }, - "FeedSource.FeedSource.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "outputType": { - "type": "string" - }, - "feedType": { - "type": "string" - }, - "feeds": { - "type": "array", - "items": { - "type": "string" - } - }, - "admin": { - "type": "array", - "items": { - "type": "string" - } - }, - "supportedFeedOutputType": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "FeedSource.FeedSource.jsonld-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - } - } - }, - "FeedSource.FeedSourceInput": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "outputType": { - "type": "string" - }, - "feedType": { - "type": "string" - }, - "secrets": { - "type": "array", - "items": { - "type": "string" - } - }, - "feeds": { - "type": "array", - "items": { - "type": "string" - } - }, - "supportedFeedOutputType": { - "type": "string" - } - } - }, - "FeedSource.FeedSourceInput.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "outputType": { - "type": "string" - }, - "feedType": { - "type": "string" - }, - "secrets": { - "type": "array", - "items": { - "type": "string" - } - }, - "feeds": { - "type": "array", - "items": { - "type": "string" - } - }, - "supportedFeedOutputType": { - "type": "string" - } - } - }, - "FeedSource.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "outputType": { - "type": "string" - }, - "feedType": { - "type": "string" - }, - "feeds": { - "type": "array", - "items": { - "type": "string" - } - }, - "admin": { - "type": "array", - "items": { - "type": "string" - } - }, - "supportedFeedOutputType": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "FeedSource.jsonld-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - } - } - }, - "Media": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "license": { - "type": "string" - }, - "media": { - "$ref": "#/components/schemas/Collection" - }, - "assets": { - "type": "array", - "items": { - "type": "string" - } - }, - "thumbnail": { - "type": [ - "string", - "null" - ] - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "Media-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "license": { - "type": "string" - }, - "assets": { - "type": "array", - "items": { - "type": "string" - } - }, - "thumbnail": { - "type": [ - "string", - "null" - ] - } - } - }, - "Media-theme.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "license": { - "type": "string" - }, - "assets": { - "type": "array", - "items": { - "type": "string" - } - }, - "thumbnail": { - "type": [ - "string", - "null" - ] - } - } - }, - "Media.Media": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "license": { - "type": "string" - }, - "media": { - "$ref": "#/components/schemas/Collection" - }, - "assets": { - "type": "array", - "items": { - "type": "string" - } - }, - "thumbnail": { - "type": [ - "string", - "null" - ] - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "Media.Media.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "license": { - "type": "string" - }, - "media": { - "$ref": "#/components/schemas/Collection.jsonld" - }, - "assets": { - "type": "array", - "items": { - "type": "string" - } - }, - "thumbnail": { - "type": [ - "string", - "null" - ] - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "Media.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "license": { - "type": "string" - }, - "media": { - "$ref": "#/components/schemas/Collection.jsonld" - }, - "assets": { - "type": "array", - "items": { - "type": "string" - } - }, - "thumbnail": { - "type": [ - "string", - "null" - ] - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "Media.jsonld-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "license": { - "type": "string" - }, - "assets": { - "type": "array", - "items": { - "type": "string" - } - }, - "thumbnail": { - "type": [ - "string", - "null" - ] - } - } - }, - "Media.jsonld-theme.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "license": { - "type": "string" - }, - "assets": { - "type": "array", - "items": { - "type": "string" - } - }, - "thumbnail": { - "type": [ - "string", - "null" - ] - } - } - }, - "Playlist": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist-campaigns.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-campaigns.screen-groups.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-campaigns.screen-groups.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-campaigns.screen-groups.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist-campaigns.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-campaigns.screens.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-campaigns.screens.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-campaigns.screens.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist-playlist-screen-region.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-playlist-screen-region.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-playlist-screen-region.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-playlist-screen-region.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist-screen-campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-screen-campaigns.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-screen-campaigns.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-screen-campaigns.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist-screen-groups.campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-screen-groups.campaigns.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-screen-groups.campaigns.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-screen-groups.campaigns.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist-slides.playlists.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-slides.playlists.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-slides.playlists.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-slides.playlists.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist.Playlist": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist.Playlist.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist.PlaylistInput": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": "array", - "items": { - "type": "string" - } - }, - "tenants": { - "type": "array", - "items": { - "type": "string" - } - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "0", - "to": "0" - }, - "example": { - "from": "0", - "to": "0" - }, - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "Playlist.PlaylistInput.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": "array", - "items": { - "type": "string" - } - }, - "tenants": { - "type": "array", - "items": { - "type": "string" - } - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "0", - "to": "0" - }, - "example": { - "from": "0", - "to": "0" - }, - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "Playlist.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist.jsonld-campaigns.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-campaigns.screen-groups.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-campaigns.screen-groups.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-campaigns.screen-groups.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist.jsonld-campaigns.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-campaigns.screens.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-campaigns.screens.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-campaigns.screens.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist.jsonld-playlist-screen-region.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-playlist-screen-region.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-playlist-screen-region.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-playlist-screen-region.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist.jsonld-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist.jsonld-screen-campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-screen-campaigns.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-screen-campaigns.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-screen-campaigns.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist.jsonld-screen-groups.campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-screen-groups.campaigns.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-screen-groups.campaigns.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-screen-groups.campaigns.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist.jsonld-slides.playlists.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-slides.playlists.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-slides.playlists.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-slides.playlists.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistScreenRegion": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "playlist": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "weight": { - "type": "integer" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistScreenRegion-playlist-screen-region.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "playlist": { - "$ref": "#/components/schemas/Playlist-playlist-screen-region.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistScreenRegion.PlaylistScreenRegion": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "playlist": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "weight": { - "type": "integer" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistScreenRegion.PlaylistScreenRegion-playlist-screen-region.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "playlist": { - "$ref": "#/components/schemas/Playlist-playlist-screen-region.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistScreenRegion.PlaylistScreenRegion.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "playlist": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "weight": { - "type": "integer" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistScreenRegion.PlaylistScreenRegion.jsonld-playlist-screen-region.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "playlist": { - "$ref": "#/components/schemas/Playlist.jsonld-playlist-screen-region.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistScreenRegion.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "playlist": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "weight": { - "type": "integer" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistScreenRegion.jsonld-playlist-screen-region.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "playlist": { - "$ref": "#/components/schemas/Playlist.jsonld-playlist-screen-region.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "slide": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "playlist": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "weight": { - "type": "integer" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "slide": { - "$ref": "#/components/schemas/Slide-playlist-slide.read" - }, - "playlist": { - "$ref": "#/components/schemas/Playlist-playlist-slide.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide-slides.playlists.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "slide": { - "$ref": "#/components/schemas/Slide-slides.playlists.read" - }, - "playlist": { - "$ref": "#/components/schemas/Playlist-slides.playlists.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide.PlaylistSlide": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "slide": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "playlist": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "weight": { - "type": "integer" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide.PlaylistSlide-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "slide": { - "$ref": "#/components/schemas/Slide-playlist-slide.read" - }, - "playlist": { - "$ref": "#/components/schemas/Playlist-playlist-slide.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide.PlaylistSlide-slides.playlists.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "slide": { - "$ref": "#/components/schemas/Slide-slides.playlists.read" - }, - "playlist": { - "$ref": "#/components/schemas/Playlist-slides.playlists.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide.PlaylistSlide.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "slide": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "playlist": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "weight": { - "type": "integer" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide.PlaylistSlide.jsonld-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "slide": { - "$ref": "#/components/schemas/Slide.jsonld-playlist-slide.read" - }, - "playlist": { - "$ref": "#/components/schemas/Playlist.jsonld-playlist-slide.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide.PlaylistSlide.jsonld-slides.playlists.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "slide": { - "$ref": "#/components/schemas/Slide.jsonld-slides.playlists.read" - }, - "playlist": { - "$ref": "#/components/schemas/Playlist.jsonld-slides.playlists.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "slide": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "playlist": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "weight": { - "type": "integer" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide.jsonld-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "slide": { - "$ref": "#/components/schemas/Slide.jsonld-playlist-slide.read" - }, - "playlist": { - "$ref": "#/components/schemas/Playlist.jsonld-playlist-slide.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide.jsonld-slides.playlists.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "slide": { - "$ref": "#/components/schemas/Slide.jsonld-slides.playlists.read" - }, - "playlist": { - "$ref": "#/components/schemas/Playlist.jsonld-slides.playlists.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Screen": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "size": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "layout": { - "type": "string" - }, - "orientation": { - "type": "string" - }, - "resolution": { - "type": "string" - }, - "location": { - "type": "string" - }, - "regions": { - "type": "array", - "items": { - "type": "string" - } - }, - "inScreenGroups": { - "default": "/v2/screens/{id}/groups", - "example": "/v2/screens/{id}/groups", - "type": "string" - }, - "screenUser": { - "type": [ - "string", - "null" - ] - }, - "enableColorSchemeChange": { - "type": [ - "boolean", - "null" - ] - }, - "status": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Screen-campaigns.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "size": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "layout": { - "type": "string" - }, - "orientation": { - "type": "string" - }, - "resolution": { - "type": "string" - }, - "location": { - "type": "string" - }, - "regions": { - "type": "array", - "items": { - "type": "string" - } - }, - "inScreenGroups": { - "default": "/v2/screens/{id}/groups", - "example": "/v2/screens/{id}/groups", - "type": "string" - }, - "screenUser": { - "type": [ - "string", - "null" - ] - }, - "enableColorSchemeChange": { - "type": [ - "boolean", - "null" - ] - }, - "status": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Screen-screen-campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "relationsChecksum": { - "type": "object" - } - } - }, - "Screen.Screen": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "size": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "layout": { - "type": "string" - }, - "orientation": { - "type": "string" - }, - "resolution": { - "type": "string" - }, - "location": { - "type": "string" - }, - "regions": { - "type": "array", - "items": { - "type": "string" - } - }, - "inScreenGroups": { - "default": "/v2/screens/{id}/groups", - "example": "/v2/screens/{id}/groups", - "type": "string" - }, - "screenUser": { - "type": [ - "string", - "null" - ] - }, - "enableColorSchemeChange": { - "type": [ - "boolean", - "null" - ] - }, - "status": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Screen.Screen.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "size": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "layout": { - "type": "string" - }, - "orientation": { - "type": "string" - }, - "resolution": { - "type": "string" - }, - "location": { - "type": "string" - }, - "regions": { - "type": "array", - "items": { - "type": "string" - } - }, - "inScreenGroups": { - "default": "/v2/screens/{id}/groups", - "example": "/v2/screens/{id}/groups", - "type": "string" - }, - "screenUser": { - "type": [ - "string", - "null" - ] - }, - "enableColorSchemeChange": { - "type": [ - "boolean", - "null" - ] - }, - "status": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Screen.ScreenInput": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "size": { - "type": "string" - }, - "layout": { - "type": "string" - }, - "location": { - "type": "string" - }, - "resolution": { - "type": "string" - }, - "orientation": { - "type": "string" - }, - "enableColorSchemeChange": { - "type": [ - "boolean", - "null" - ] - }, - "regions": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "groups": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - } - }, - "Screen.ScreenInput.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "size": { - "type": "string" - }, - "layout": { - "type": "string" - }, - "location": { - "type": "string" - }, - "resolution": { - "type": "string" - }, - "orientation": { - "type": "string" - }, - "enableColorSchemeChange": { - "type": [ - "boolean", - "null" - ] - }, - "regions": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "groups": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - } - }, - "Screen.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "size": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "layout": { - "type": "string" - }, - "orientation": { - "type": "string" - }, - "resolution": { - "type": "string" - }, - "location": { - "type": "string" - }, - "regions": { - "type": "array", - "items": { - "type": "string" - } - }, - "inScreenGroups": { - "default": "/v2/screens/{id}/groups", - "example": "/v2/screens/{id}/groups", - "type": "string" - }, - "screenUser": { - "type": [ - "string", - "null" - ] - }, - "enableColorSchemeChange": { - "type": [ - "boolean", - "null" - ] - }, - "status": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Screen.jsonld-campaigns.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "size": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "layout": { - "type": "string" - }, - "orientation": { - "type": "string" - }, - "resolution": { - "type": "string" - }, - "location": { - "type": "string" - }, - "regions": { - "type": "array", - "items": { - "type": "string" - } - }, - "inScreenGroups": { - "default": "/v2/screens/{id}/groups", - "example": "/v2/screens/{id}/groups", - "type": "string" - }, - "screenUser": { - "type": [ - "string", - "null" - ] - }, - "enableColorSchemeChange": { - "type": [ - "boolean", - "null" - ] - }, - "status": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Screen.jsonld-screen-campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "screen": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign-campaigns.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "$ref": "#/components/schemas/Playlist-campaigns.screens.read" - }, - "screen": { - "$ref": "#/components/schemas/Screen-campaigns.screens.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign-screen-campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "$ref": "#/components/schemas/Playlist-screen-campaigns.read" - }, - "screen": { - "$ref": "#/components/schemas/Screen-screen-campaigns.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign.ScreenCampaign": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "screen": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign.ScreenCampaign-campaigns.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "$ref": "#/components/schemas/Playlist-campaigns.screens.read" - }, - "screen": { - "$ref": "#/components/schemas/Screen-campaigns.screens.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign.ScreenCampaign-screen-campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "$ref": "#/components/schemas/Playlist-screen-campaigns.read" - }, - "screen": { - "$ref": "#/components/schemas/Screen-screen-campaigns.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign.ScreenCampaign.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "screen": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign.ScreenCampaign.jsonld-campaigns.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "$ref": "#/components/schemas/Playlist.jsonld-campaigns.screens.read" - }, - "screen": { - "$ref": "#/components/schemas/Screen.jsonld-campaigns.screens.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign.ScreenCampaign.jsonld-screen-campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "$ref": "#/components/schemas/Playlist.jsonld-screen-campaigns.read" - }, - "screen": { - "$ref": "#/components/schemas/Screen.jsonld-screen-campaigns.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "screen": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign.jsonld-campaigns.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "$ref": "#/components/schemas/Playlist.jsonld-campaigns.screens.read" - }, - "screen": { - "$ref": "#/components/schemas/Screen.jsonld-campaigns.screens.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign.jsonld-screen-campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "$ref": "#/components/schemas/Playlist.jsonld-screen-campaigns.read" - }, - "screen": { - "$ref": "#/components/schemas/Screen.jsonld-screen-campaigns.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup-campaigns.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup-screen-groups.campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup-screen-groups.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup-screens.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.ScreenGroup": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.ScreenGroup-screen-groups.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.ScreenGroup-screens.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.ScreenGroup.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.ScreenGroup.jsonld-screen-groups.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.ScreenGroup.jsonld-screens.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.ScreenGroupInput": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - } - } - }, - "ScreenGroup.ScreenGroupInput.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - } - } - }, - "ScreenGroup.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.jsonld-campaigns.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.jsonld-screen-groups.campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.jsonld-screen-groups.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.jsonld-screens.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "screenGroup": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign-campaigns.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "$ref": "#/components/schemas/Playlist-campaigns.screen-groups.read" - }, - "screenGroup": { - "$ref": "#/components/schemas/ScreenGroup-campaigns.screen-groups.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign-screen-groups.campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "$ref": "#/components/schemas/Playlist-screen-groups.campaigns.read" - }, - "screenGroup": { - "$ref": "#/components/schemas/ScreenGroup-screen-groups.campaigns.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign.ScreenGroupCampaign": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "screenGroup": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign.ScreenGroupCampaign-campaigns.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "$ref": "#/components/schemas/Playlist-campaigns.screen-groups.read" - }, - "screenGroup": { - "$ref": "#/components/schemas/ScreenGroup-campaigns.screen-groups.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign.ScreenGroupCampaign-screen-groups.campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "$ref": "#/components/schemas/Playlist-screen-groups.campaigns.read" - }, - "screenGroup": { - "$ref": "#/components/schemas/ScreenGroup-screen-groups.campaigns.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign.ScreenGroupCampaign.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "screenGroup": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign.ScreenGroupCampaign.jsonld-campaigns.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "$ref": "#/components/schemas/Playlist.jsonld-campaigns.screen-groups.read" - }, - "screenGroup": { - "$ref": "#/components/schemas/ScreenGroup.jsonld-campaigns.screen-groups.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign.ScreenGroupCampaign.jsonld-screen-groups.campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "$ref": "#/components/schemas/Playlist.jsonld-screen-groups.campaigns.read" - }, - "screenGroup": { - "$ref": "#/components/schemas/ScreenGroup.jsonld-screen-groups.campaigns.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "screenGroup": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign.jsonld-campaigns.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "$ref": "#/components/schemas/Playlist.jsonld-campaigns.screen-groups.read" - }, - "screenGroup": { - "$ref": "#/components/schemas/ScreenGroup.jsonld-campaigns.screen-groups.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign.jsonld-screen-groups.campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "$ref": "#/components/schemas/Playlist.jsonld-screen-groups.campaigns.read" - }, - "screenGroup": { - "$ref": "#/components/schemas/ScreenGroup.jsonld-screen-groups.campaigns.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenLayout": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "grid": { - "default": { - "rows": 1, - "columns": 1 - }, - "example": { - "rows": 1, - "columns": 1 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "regions": { - "$ref": "#/components/schemas/Collection" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenLayout.ScreenLayout": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "grid": { - "default": { - "rows": 1, - "columns": 1 - }, - "example": { - "rows": 1, - "columns": 1 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "regions": { - "$ref": "#/components/schemas/Collection" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenLayout.ScreenLayout.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "title": { - "type": "string" - }, - "grid": { - "default": { - "rows": 1, - "columns": 1 - }, - "example": { - "rows": 1, - "columns": 1 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "regions": { - "$ref": "#/components/schemas/Collection.jsonld" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenLayout.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "grid": { - "default": { - "rows": 1, - "columns": 1 - }, - "example": { - "rows": 1, - "columns": 1 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "regions": { - "$ref": "#/components/schemas/Collection.jsonld" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenLayoutRegions.ScreenLayoutRegions": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "gridArea": { - "type": "array", - "items": { - "type": "string" - } - }, - "type": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - } - } - }, - "ScreenLayoutRegions.ScreenLayoutRegions.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "title": { - "type": "string" - }, - "gridArea": { - "type": "array", - "items": { - "type": "string" - } - }, - "type": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - } - } - }, - "Slide": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "templateInfo": { - "default": { - "@id": "", - "options": [] - }, - "example": { - "@id": "", - "options": [] - }, - "type": "array", - "items": { - "type": "string" - } - }, - "theme": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "onPlaylists": { - "$ref": "#/components/schemas/Collection" - }, - "duration": { - "type": [ - "integer", - "null" - ] - }, - "published": { - "default": { - "from": 0, - "to": 0 - }, - "example": { - "from": 0, - "to": 0 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "media": { - "$ref": "#/components/schemas/Collection" - }, - "content": { - "type": "array", - "items": { - "type": "string" - } - }, - "feed": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Slide-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "templateInfo": { - "default": { - "@id": "", - "options": [] - }, - "example": { - "@id": "", - "options": [] - }, - "type": "array", - "items": { - "type": "string" - } - }, - "theme": { - "$ref": "#/components/schemas/Theme-playlist-slide.read" - }, - "onPlaylists": { - "$ref": "#/components/schemas/Collection-playlist-slide.read" - }, - "duration": { - "type": [ - "integer", - "null" - ] - }, - "published": { - "default": { - "from": 0, - "to": 0 - }, - "example": { - "from": 0, - "to": 0 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "media": { - "$ref": "#/components/schemas/Collection-playlist-slide.read" - }, - "content": { - "type": "array", - "items": { - "type": "string" - } - }, - "feed": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Slide-slides.playlists.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "relationsChecksum": { - "type": "object" - } - } - }, - "Slide.InteractiveSlideActionInput": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "action": { - "type": [ - "string", - "null" - ] - }, - "data": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "Slide.InteractiveSlideActionInput.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "action": { - "type": [ - "string", - "null" - ] - }, - "data": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "Slide.Slide": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "templateInfo": { - "default": { - "@id": "", - "options": [] - }, - "example": { - "@id": "", - "options": [] - }, - "type": "array", - "items": { - "type": "string" - } - }, - "theme": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "onPlaylists": { - "$ref": "#/components/schemas/Collection" - }, - "duration": { - "type": [ - "integer", - "null" - ] - }, - "published": { - "default": { - "from": 0, - "to": 0 - }, - "example": { - "from": 0, - "to": 0 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "media": { - "$ref": "#/components/schemas/Collection" - }, - "content": { - "type": "array", - "items": { - "type": "string" - } - }, - "feed": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Slide.Slide.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "templateInfo": { - "default": { - "@id": "", - "options": [] - }, - "example": { - "@id": "", - "options": [] - }, - "type": "array", - "items": { - "type": "string" - } - }, - "theme": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "onPlaylists": { - "$ref": "#/components/schemas/Collection.jsonld" - }, - "duration": { - "type": [ - "integer", - "null" - ] - }, - "published": { - "default": { - "from": 0, - "to": 0 - }, - "example": { - "from": 0, - "to": 0 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "media": { - "$ref": "#/components/schemas/Collection.jsonld" - }, - "content": { - "type": "array", - "items": { - "type": "string" - } - }, - "feed": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Slide.SlideInput": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "templateInfo": { - "default": { - "@id": "", - "options": { - "fade": false - } - }, - "example": { - "@id": "", - "options": { - "fade": false - } - }, - "type": "array", - "items": { - "type": "string" - } - }, - "theme": { - "type": "string" - }, - "duration": { - "type": [ - "integer", - "null" - ] - }, - "published": { - "default": { - "from": 0, - "to": 0 - }, - "example": { - "from": 0, - "to": 0 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "feed": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "media": { - "type": "array", - "items": { - "type": "string" - } - }, - "content": { - "default": { - "text": "Test text" - }, - "example": { - "text": "Test text" - }, - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "Slide.SlideInput.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "templateInfo": { - "default": { - "@id": "", - "options": { - "fade": false - } - }, - "example": { - "@id": "", - "options": { - "fade": false - } - }, - "type": "array", - "items": { - "type": "string" - } - }, - "theme": { - "type": "string" - }, - "duration": { - "type": [ - "integer", - "null" - ] - }, - "published": { - "default": { - "from": 0, - "to": 0 - }, - "example": { - "from": 0, - "to": 0 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "feed": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "media": { - "type": "array", - "items": { - "type": "string" - } - }, - "content": { - "default": { - "text": "Test text" - }, - "example": { - "text": "Test text" - }, - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "Slide.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "templateInfo": { - "default": { - "@id": "", - "options": [] - }, - "example": { - "@id": "", - "options": [] - }, - "type": "array", - "items": { - "type": "string" - } - }, - "theme": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "onPlaylists": { - "$ref": "#/components/schemas/Collection.jsonld" - }, - "duration": { - "type": [ - "integer", - "null" - ] - }, - "published": { - "default": { - "from": 0, - "to": 0 - }, - "example": { - "from": 0, - "to": 0 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "media": { - "$ref": "#/components/schemas/Collection.jsonld" - }, - "content": { - "type": "array", - "items": { - "type": "string" - } - }, - "feed": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Slide.jsonld-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "templateInfo": { - "default": { - "@id": "", - "options": [] - }, - "example": { - "@id": "", - "options": [] - }, - "type": "array", - "items": { - "type": "string" - } - }, - "theme": { - "$ref": "#/components/schemas/Theme.jsonld-playlist-slide.read" - }, - "onPlaylists": { - "$ref": "#/components/schemas/Collection.jsonld-playlist-slide.read" - }, - "duration": { - "type": [ - "integer", - "null" - ] - }, - "published": { - "default": { - "from": 0, - "to": 0 - }, - "example": { - "from": 0, - "to": 0 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "media": { - "$ref": "#/components/schemas/Collection.jsonld-playlist-slide.read" - }, - "content": { - "type": "array", - "items": { - "type": "string" - } - }, - "feed": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Slide.jsonld-slides.playlists.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Template": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "resources": { - "type": "array", - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "Template.Template": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "resources": { - "type": "array", - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "Template.Template.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "resources": { - "type": "array", - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "Template.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "resources": { - "type": "array", - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "Tenant": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "tenantKey": { - "type": "string" - }, - "userRoleTenants": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserRoleTenant" - } - }, - "fallbackImageUrl": { - "type": [ - "string", - "null" - ] - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "readOnly": true, - "description": "Get the Ulid.", - "type": "string", - "format": "ulid" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "modifiedAt": { - "type": "string", - "format": "date-time" - }, - "createdBy": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - } - } - }, - "Tenant.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "tenantKey": { - "type": "string" - }, - "userRoleTenants": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserRoleTenant.jsonld" - } - }, - "fallbackImageUrl": { - "type": [ - "string", - "null" - ] - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "readOnly": true, - "description": "Get the Ulid.", - "type": "string", - "format": "ulid" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "modifiedAt": { - "type": "string", - "format": "date-time" - }, - "createdBy": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - } - } - }, - "Theme-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "anyOf": [ - { - "$ref": "#/components/schemas/Media-playlist-slide.read" - }, - { - "type": "null" - } - ] - }, - "cssStyles": { - "type": "string" - } - } - }, - "Theme-theme.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "anyOf": [ - { - "$ref": "#/components/schemas/Media-theme.read" - }, - { - "type": "null" - } - ] - }, - "cssStyles": { - "type": "string" - } - } - }, - "Theme.Theme": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "type": [ - "string", - "null" - ], - "format": "iri-reference", - "example": "https://example.com/" - }, - "cssStyles": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "Theme.Theme-theme.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "anyOf": [ - { - "$ref": "#/components/schemas/Media-theme.read" - }, - { - "type": "null" - } - ] - }, - "cssStyles": { - "type": "string" - } - } - }, - "Theme.Theme.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "type": [ - "string", - "null" - ], - "format": "iri-reference", - "example": "https://example.com/" - }, - "cssStyles": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "Theme.Theme.jsonld-theme.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "anyOf": [ - { - "$ref": "#/components/schemas/Media.jsonld-theme.read" - }, - { - "type": "null" - } - ] - }, - "cssStyles": { - "type": "string" - } - } - }, - "Theme.ThemeInput": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "type": "string" - }, - "css": { - "type": "string" - } - } - }, - "Theme.ThemeInput.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "type": "string" - }, - "css": { - "type": "string" - } - } - }, - "Theme.jsonld-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "anyOf": [ - { - "$ref": "#/components/schemas/Media.jsonld-playlist-slide.read" - }, - { - "type": "null" - } - ] - }, - "cssStyles": { - "type": "string" - } - } - }, - "Theme.jsonld-theme.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "anyOf": [ - { - "$ref": "#/components/schemas/Media.jsonld-theme.read" - }, - { - "type": "null" - } - ] - }, - "cssStyles": { - "type": "string" - } - } - }, - "User": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "fullName": { - "type": [ - "string", - "null" - ] - }, - "userType": { - "type": [ - "string", - "null" - ], - "enum": [ - "OIDC_EXTERNAL", - "OIDC_INTERNAL", - "USERNAME_PASSWORD", - null - ] - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "id": { - "type": "string", - "format": "ulid" - } - } - }, - "User.User": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "fullName": { - "type": [ - "string", - "null" - ] - }, - "userType": { - "type": [ - "string", - "null" - ], - "enum": [ - "OIDC_EXTERNAL", - "OIDC_INTERNAL", - "USERNAME_PASSWORD", - null - ] - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "id": { - "type": "string", - "format": "ulid" - } - } - }, - "User.User.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "fullName": { - "type": [ - "string", - "null" - ] - }, - "userType": { - "type": [ - "string", - "null" - ], - "enum": [ - "OIDC_EXTERNAL", - "OIDC_INTERNAL", - "USERNAME_PASSWORD", - null - ] - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "id": { - "type": "string", - "format": "ulid" - } - } - }, - "User.UserInput": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "fullName": { - "type": [ - "string", - "null" - ] - } - } - }, - "User.UserInput.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "fullName": { - "type": [ - "string", - "null" - ] - } - } - }, - "User.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "fullName": { - "type": [ - "string", - "null" - ] - }, - "userType": { - "type": [ - "string", - "null" - ], - "enum": [ - "OIDC_EXTERNAL", - "OIDC_INTERNAL", - "USERNAME_PASSWORD", - null - ] - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "id": { - "type": "string", - "format": "ulid" - } - } - }, - "UserActivationCode": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "code": { - "type": [ - "string", - "null" - ] - }, - "codeExpire": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "username": { - "type": [ - "string", - "null" - ] - }, - "roles": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "UserActivationCode.ActivationCode": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "activationCode": { - "type": "string" - } - } - }, - "UserActivationCode.ActivationCode.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "activationCode": { - "type": "string" - } - } - }, - "UserActivationCode.UserActivationCode": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "code": { - "type": [ - "string", - "null" - ] - }, - "codeExpire": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "username": { - "type": [ - "string", - "null" - ] - }, - "roles": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "UserActivationCode.UserActivationCode.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "code": { - "type": [ - "string", - "null" - ] - }, - "codeExpire": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "username": { - "type": [ - "string", - "null" - ] - }, - "roles": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "UserActivationCode.UserActivationCodeInput": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "displayName": { - "type": "string" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "UserActivationCode.UserActivationCodeInput.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "displayName": { - "type": "string" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "UserActivationCode.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "code": { - "type": [ - "string", - "null" - ] - }, - "codeExpire": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "username": { - "type": [ - "string", - "null" - ] - }, - "roles": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "UserRoleTenant": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "user": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "tenant": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "id": { - "readOnly": true, - "description": "Get the Ulid.", - "type": "string", - "format": "ulid" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "modifiedAt": { - "type": "string", - "format": "date-time" - }, - "createdBy": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - } - } - }, - "UserRoleTenant.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "user": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "tenant": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "id": { - "readOnly": true, - "description": "Get the Ulid.", - "type": "string", - "format": "ulid" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "modifiedAt": { - "type": "string", - "format": "date-time" - }, - "createdBy": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - } - } - }, - "Token": { - "type": "object", - "properties": { - "token": { - "type": "string", - "readOnly": true, - "example": "ABCDEFGHIJKLMNOPQRSTUVWXYZ" - }, - "refresh_token": { - "type": "string", - "readOnly": true, - "example": "ABCDEFGHIJKLMNOPQRSTUVWXYZ" - }, - "refresh_token_expiration": { - "type": "int", - "readOnly": true, - "example": "1678802283" - }, - "tenants": { - "type": "array", - "items": { - "type": "object", - "properties": { - "tenantKey": { - "type": "string", - "readOnly": true, - "example": "ABC" - }, - "title": { - "type": "string", - "readOnly": true, - "example": "ABC Tenant" - }, - "description": { - "type": "string", - "readOnly": true, - "example": "Nulla quam ipsam voluptatem cupiditate." - }, - "roles": { - "type": "array", - "items": { - "type": "string", - "readOnly": true, - "example": "ROLE_ADMIN" - } - } - } - } - }, - "user": { - "type": "object", - "properties": { - "fullname": { - "type": "string", - "readOnly": true, - "example": "John Doe" - }, - "email": { - "type": "string", - "readOnly": true, - "example": "john@example.com" - } - } - } - } - }, - "RefreshTokenResponse": { - "type": "object", - "properties": { - "token": { - "type": "string", - "readOnly": true, - "example": "ABCDEFGHIJKLMNOPQRSTUVWXYZ" - }, - "refresh_token": { - "type": "string", - "readOnly": true, - "example": "ABCDEFGHIJKLMNOPQRSTUVWXYZ" - } - } - }, - "RefreshTokenRequest": { - "type": "object", - "properties": { - "refresh_token": { - "type": "string", - "example": "ABCDEFGHIJKLMNOPQRSTUVWXYZ" - } - } - }, - "Credentials": { - "type": "object", - "properties": { - "providerId": { - "type": "string", - "example": "john@example.com" - }, - "password": { - "type": "string", - "example": "apassword" - } - } - }, - "OidcEndpoints": { - "type": "object", - "properties": { - "authorizationUrl": { - "type": "string", - "example": "https://azure_b2c_test.b2clogin.com/azure_b2c_test.onmicrosoft.com/oauth2/v2.0/authorize?p=test-policy&state=5fd84892c27dbb5cad2c3cdc517b71f1&nonce=a9700e5677f3e610a5727429d9628308&scope=openid&response_type=id_token&response_mode=query&approval_prompt=auto&redirect_uri=ADMIN_APP_REDIRECT_URI&client_id=a9997a98-40be-4b49-bd1a-69cbf4a910d5" - }, - "endSessionUrl": { - "type": "string", - "example": "https://azure_b2c_test.b2clogin.com/azure_b2c_test.onmicrosoft.com/oauth2/v2.0/logout?p=test-policy" - } - } - }, - "ScreenLoginOutput": { - "type": "object", - "properties": { - "bindKey": { - "type": "string", - "readOnly": true - }, - "token": { - "type": "string", - "readOnly": true - } - } - }, - "ScreenLoginInput": { - "type": "object" - }, - "ScreenBindObject": { - "type": "object", - "properties": { - "bindKey": { - "type": "string" - } - } - } - }, - "responses": {}, - "parameters": {}, - "examples": {}, - "requestBodies": {}, - "headers": {}, - "securitySchemes": { - "bearerAuth": { - "type": "http", - "scheme": "bearer", - "bearerFormat": "JWT" - }, - "tenantHeader": { - "type": "apiKey", - "in": "header", - "name": "Authorization-Tenant-Key" - }, - "JWT": { - "type": "http", - "scheme": "bearer", - "bearerFormat": "JWT" - } - } - }, - "security": [ - { - "bearerAuth": [], - "tenantHeader": [] - } - ], - "tags": [], - "webhooks": {} -} \ No newline at end of file diff --git a/assets/admin/redux/api/package-lock.json b/assets/admin/redux/api/package-lock.json deleted file mode 100644 index 5b0b137cb..000000000 --- a/assets/admin/redux/api/package-lock.json +++ /dev/null @@ -1,1234 +0,0 @@ -{ - "name": "api-generation", - "version": "1.0.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "api-generation", - "version": "1.0.0", - "license": "ISC", - "dependencies": { - "@reduxjs/toolkit": "^1.6.1", - "@rtk-incubator/rtk-query-codegen-openapi": "^0.5.1", - "typescript": "^4.4.3" - } - }, - "node_modules/@apidevtools/json-schema-ref-parser": { - "version": "9.0.6", - "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz", - "integrity": "sha512-M3YgsLjI0lZxvrpeGVk9Ap032W6TPQkH6pRAZz81Ac3WUNF79VQooAFnp8umjvVzUmD93NkogxEwbSce7qMsUg==", - "license": "MIT", - "dependencies": { - "@jsdevtools/ono": "^7.1.3", - "call-me-maybe": "^1.0.1", - "js-yaml": "^3.13.1" - } - }, - "node_modules/@apidevtools/openapi-schemas": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@apidevtools/openapi-schemas/-/openapi-schemas-2.1.0.tgz", - "integrity": "sha512-Zc1AlqrJlX3SlpupFGpiLi2EbteyP7fXmUOGup6/DnkRgjP9bgMM/ag+n91rsv0U1Gpz0H3VILA/o3bW7Ua6BQ==", - "license": "MIT", - "engines": { - "node": ">=10" - } - }, - "node_modules/@apidevtools/swagger-methods": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@apidevtools/swagger-methods/-/swagger-methods-3.0.2.tgz", - "integrity": "sha512-QAkD5kK2b1WfjDS/UQn/qQkbwF31uqRjPTrsCs5ZG9BQGAkjwvqGFjjPqAuzac/IYzpPtRzjCP1WrTuAIjMrXg==", - "license": "MIT" - }, - "node_modules/@apidevtools/swagger-parser": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/@apidevtools/swagger-parser/-/swagger-parser-10.1.0.tgz", - "integrity": "sha512-9Kt7EuS/7WbMAUv2gSziqjvxwDbFSg3Xeyfuj5laUODX8o/k/CpsAKiQ8W7/R88eXFTMbJYg6+7uAmOWNKmwnw==", - "license": "MIT", - "dependencies": { - "@apidevtools/json-schema-ref-parser": "9.0.6", - "@apidevtools/openapi-schemas": "^2.1.0", - "@apidevtools/swagger-methods": "^3.0.2", - "@jsdevtools/ono": "^7.1.3", - "ajv": "^8.6.3", - "ajv-draft-04": "^1.0.0", - "call-me-maybe": "^1.0.1" - }, - "peerDependencies": { - "openapi-types": ">=7" - } - }, - "node_modules/@babel/runtime": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.15.4.tgz", - "integrity": "sha512-99catp6bHCaxr4sJ/DbTGgHS4+Rs2RVd2g7iOap6SLGPDknRK9ztKNsE/Fg6QhSeh1FGE5f6gHGQmvvn3I3xhw==", - "dependencies": { - "regenerator-runtime": "^0.13.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@dsherret/to-absolute-glob": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@dsherret/to-absolute-glob/-/to-absolute-glob-2.0.2.tgz", - "integrity": "sha512-InCaQ/KEOcFtAFztn47wadritBLP2nT6m/ucbBnIgI5YwxuMzKKCHtqazR2+D1yR6y1ZTnPea9aLFEUrTttUSQ==", - "license": "MIT", - "dependencies": { - "is-absolute": "^1.0.0", - "is-negated-glob": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@exodus/schemasafe": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@exodus/schemasafe/-/schemasafe-1.3.0.tgz", - "integrity": "sha512-5Aap/GaRupgNx/feGBwLLTVv8OQFfv3pq2lPRzPg9R+IOBnDgghTGW7l7EuVXOvg5cc/xSAlRW8rBrjIC3Nvqw==", - "license": "MIT" - }, - "node_modules/@jsdevtools/ono": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", - "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==", - "license": "MIT" - }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "license": "MIT", - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@reduxjs/toolkit": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-1.6.1.tgz", - "integrity": "sha512-pa3nqclCJaZPAyBhruQtiRwtTjottRrVJqziVZcWzI73i6L3miLTtUyWfauwv08HWtiXLx1xGyGt+yLFfW/d0A==", - "dependencies": { - "immer": "^9.0.1", - "redux": "^4.1.0", - "redux-thunk": "^2.3.0", - "reselect": "^4.0.0" - }, - "peerDependencies": { - "react": "^16.14.0 || ^17.0.0", - "react-redux": "^7.2.1" - }, - "peerDependenciesMeta": { - "react": { - "optional": true - }, - "react-redux": { - "optional": true - } - } - }, - "node_modules/@rtk-incubator/rtk-query-codegen-openapi": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/@rtk-incubator/rtk-query-codegen-openapi/-/rtk-query-codegen-openapi-0.5.1.tgz", - "integrity": "sha512-zAfV38nhFxxNiBg/+b5/rSh6D2tYgAUXAv9GTIu2nbuAp5P7JhKGXexLF/APICO+hNI71n2PRBhnOyTpmmbO6w==", - "license": "MIT", - "dependencies": { - "@apidevtools/swagger-parser": "^10.0.2", - "@types/semver": "^7.3.9", - "commander": "^6.2.0", - "glob-to-regexp": "^0.4.1", - "oazapfts": "3.4.0", - "prettier": "^2.2.1", - "semver": "^7.3.5", - "swagger2openapi": "^7.0.4", - "ts-morph": "^9.1.0", - "typescript": "^4.1.2" - }, - "bin": { - "rtk-query-codegen-openapi": "lib/bin/cli.js" - } - }, - "node_modules/@ts-morph/common": { - "version": "0.7.5", - "resolved": "https://registry.npmjs.org/@ts-morph/common/-/common-0.7.5.tgz", - "integrity": "sha512-nlFunSKAsFWI0Ol/uPxJcpVqXxTGNuaWXTmoQDhcnwj1UM4QmBSUVWzqoQ0OzUlqo4sV1gobfFBkMHuZVemMAQ==", - "license": "MIT", - "dependencies": { - "@dsherret/to-absolute-glob": "^2.0.2", - "fast-glob": "^3.2.5", - "is-negated-glob": "^1.0.0", - "mkdirp": "^1.0.4", - "multimatch": "^5.0.0", - "typescript": "~4.1.3" - } - }, - "node_modules/@ts-morph/common/node_modules/typescript": { - "version": "4.1.6", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.1.6.tgz", - "integrity": "sha512-pxnwLxeb/Z5SP80JDRzVjh58KsM6jZHRAOtTpS7sXLS4ogXNKC9ANxHHZqLLeVHZN35jCtI4JdmLLbLiC1kBow==", - "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - } - }, - "node_modules/@types/minimatch": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", - "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", - "license": "MIT" - }, - "node_modules/@types/semver": { - "version": "7.5.8", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", - "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==", - "license": "MIT" - }, - "node_modules/ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ajv-draft-04": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/ajv-draft-04/-/ajv-draft-04-1.0.0.tgz", - "integrity": "sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==", - "license": "MIT", - "peerDependencies": { - "ajv": "^8.5.0" - }, - "peerDependenciesMeta": { - "ajv": { - "optional": true - } - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "license": "MIT", - "dependencies": { - "sprintf-js": "~1.0.2" - } - }, - "node_modules/array-differ": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-3.0.0.tgz", - "integrity": "sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "license": "MIT" - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", - "license": "MIT", - "dependencies": { - "fill-range": "^7.1.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/call-me-maybe": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz", - "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==", - "license": "MIT" - }, - "node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/code-block-writer": { - "version": "10.1.1", - "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-10.1.1.tgz", - "integrity": "sha512-67ueh2IRGst/51p0n6FvPrnRjAGHY5F8xdjkgrYE7DDzpJe6qA07RYQ9VcoUeo5ATOjSOiWpSL3SWBRRbempMw==", - "license": "MIT" - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "license": "MIT" - }, - "node_modules/commander": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", - "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "license": "MIT" - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "license": "MIT" - }, - "node_modules/es6-promise": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.3.1.tgz", - "integrity": "sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==", - "license": "MIT" - }, - "node_modules/escalade": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", - "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "license": "BSD-2-Clause", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "license": "MIT" - }, - "node_modules/fast-glob": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", - "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/fast-safe-stringify": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", - "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==", - "license": "MIT" - }, - "node_modules/fast-uri": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.2.tgz", - "integrity": "sha512-GR6f0hD7XXyNJa25Tb9BuIdN0tdr+0BMi6/CJPH3wJO1JjNG3n/VsSw38AwRdKZABm8lGbPfakLRkYzx2V9row==", - "license": "MIT" - }, - "node_modules/fastq": { - "version": "1.17.1", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", - "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", - "license": "ISC", - "dependencies": { - "reusify": "^1.0.4" - } - }, - "node_modules/fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", - "license": "MIT", - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "license": "ISC", - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/glob-to-regexp": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", - "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", - "license": "BSD-2-Clause" - }, - "node_modules/http2-client": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/http2-client/-/http2-client-1.3.5.tgz", - "integrity": "sha512-EC2utToWl4RKfs5zd36Mxq7nzHHBuomZboI0yYL6Y0RmBgT7Sgkq4rQ0ezFTYoIsSs7Tm9SJe+o2FcAg6GBhGA==", - "license": "MIT" - }, - "node_modules/immer": { - "version": "9.0.6", - "resolved": "https://registry.npmjs.org/immer/-/immer-9.0.6.tgz", - "integrity": "sha512-G95ivKpy+EvVAnAab4fVa4YGYn24J1SpEktnJX7JJ45Bd7xqME/SCplFzYFmTbrkwZbQ4xJK1xMTUYBkN6pWsQ==", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/immer" - } - }, - "node_modules/is-absolute": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz", - "integrity": "sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==", - "license": "MIT", - "dependencies": { - "is-relative": "^1.0.0", - "is-windows": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "license": "MIT", - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-negated-glob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-negated-glob/-/is-negated-glob-1.0.0.tgz", - "integrity": "sha512-czXVVn/QEmgvej1f50BZ648vUI+em0xqMq2Sn+QncCLN4zj1UAxlT+kw/6ggQTOaZPd1HqKQGEqbpQVtJucWug==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "license": "MIT", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-relative": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-1.0.0.tgz", - "integrity": "sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==", - "license": "MIT", - "dependencies": { - "is-unc-path": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-unc-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-unc-path/-/is-unc-path-1.0.0.tgz", - "integrity": "sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==", - "license": "MIT", - "dependencies": { - "unc-path-regex": "^0.1.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-windows": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "license": "MIT", - "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "license": "MIT" - }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "license": "MIT" - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "node_modules/micromatch": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", - "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", - "license": "MIT", - "dependencies": { - "braces": "^3.0.3", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "license": "MIT", - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/multimatch": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-5.0.0.tgz", - "integrity": "sha512-ypMKuglUrZUD99Tk2bUQ+xNQj43lPEfAeX2o9cTteAmShXy2VHDJpuwu1o0xqoKCt9jLVAvwyFKdLTPXKAfJyA==", - "license": "MIT", - "dependencies": { - "@types/minimatch": "^3.0.3", - "array-differ": "^3.0.0", - "array-union": "^2.1.0", - "arrify": "^2.0.1", - "minimatch": "^3.0.4" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/node-fetch": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", - "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", - "license": "MIT", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, - "node_modules/node-fetch-h2": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/node-fetch-h2/-/node-fetch-h2-2.3.0.tgz", - "integrity": "sha512-ofRW94Ab0T4AOh5Fk8t0h8OBWrmjb0SSB20xh1H8YnPV9EJ+f5AMoYSUQ2zgJ4Iq2HAK0I2l5/Nequ8YzFS3Hg==", - "license": "MIT", - "dependencies": { - "http2-client": "^1.2.5" - }, - "engines": { - "node": "4.x || >=6.0.0" - } - }, - "node_modules/node-readfiles": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/node-readfiles/-/node-readfiles-0.2.0.tgz", - "integrity": "sha512-SU00ZarexNlE4Rjdm83vglt5Y9yiQ+XI1XpflWlb7q7UTN1JUItm69xMeiQCTxtTfnzt+83T8Cx+vI2ED++VDA==", - "license": "MIT", - "dependencies": { - "es6-promise": "^3.2.1" - } - }, - "node_modules/oas-kit-common": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/oas-kit-common/-/oas-kit-common-1.0.8.tgz", - "integrity": "sha512-pJTS2+T0oGIwgjGpw7sIRU8RQMcUoKCDWFLdBqKB2BNmGpbBMH2sdqAaOXUg8OzonZHU0L7vfJu1mJFEiYDWOQ==", - "license": "BSD-3-Clause", - "dependencies": { - "fast-safe-stringify": "^2.0.7" - } - }, - "node_modules/oas-linter": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/oas-linter/-/oas-linter-3.2.2.tgz", - "integrity": "sha512-KEGjPDVoU5K6swgo9hJVA/qYGlwfbFx+Kg2QB/kd7rzV5N8N5Mg6PlsoCMohVnQmo+pzJap/F610qTodKzecGQ==", - "license": "BSD-3-Clause", - "dependencies": { - "@exodus/schemasafe": "^1.0.0-rc.2", - "should": "^13.2.1", - "yaml": "^1.10.0" - }, - "funding": { - "url": "https://github.com/Mermade/oas-kit?sponsor=1" - } - }, - "node_modules/oas-resolver": { - "version": "2.5.6", - "resolved": "https://registry.npmjs.org/oas-resolver/-/oas-resolver-2.5.6.tgz", - "integrity": "sha512-Yx5PWQNZomfEhPPOphFbZKi9W93CocQj18NlD2Pa4GWZzdZpSJvYwoiuurRI7m3SpcChrnO08hkuQDL3FGsVFQ==", - "license": "BSD-3-Clause", - "dependencies": { - "node-fetch-h2": "^2.3.0", - "oas-kit-common": "^1.0.8", - "reftools": "^1.1.9", - "yaml": "^1.10.0", - "yargs": "^17.0.1" - }, - "bin": { - "resolve": "resolve.js" - }, - "funding": { - "url": "https://github.com/Mermade/oas-kit?sponsor=1" - } - }, - "node_modules/oas-schema-walker": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/oas-schema-walker/-/oas-schema-walker-1.1.5.tgz", - "integrity": "sha512-2yucenq1a9YPmeNExoUa9Qwrt9RFkjqaMAA1X+U7sbb0AqBeTIdMHky9SQQ6iN94bO5NW0W4TRYXerG+BdAvAQ==", - "license": "BSD-3-Clause", - "funding": { - "url": "https://github.com/Mermade/oas-kit?sponsor=1" - } - }, - "node_modules/oas-validator": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/oas-validator/-/oas-validator-5.0.8.tgz", - "integrity": "sha512-cu20/HE5N5HKqVygs3dt94eYJfBi0TsZvPVXDhbXQHiEityDN+RROTleefoKRKKJ9dFAF2JBkDHgvWj0sjKGmw==", - "license": "BSD-3-Clause", - "dependencies": { - "call-me-maybe": "^1.0.1", - "oas-kit-common": "^1.0.8", - "oas-linter": "^3.2.2", - "oas-resolver": "^2.5.6", - "oas-schema-walker": "^1.1.5", - "reftools": "^1.1.9", - "should": "^13.2.1", - "yaml": "^1.10.0" - }, - "funding": { - "url": "https://github.com/Mermade/oas-kit?sponsor=1" - } - }, - "node_modules/oazapfts": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/oazapfts/-/oazapfts-3.4.0.tgz", - "integrity": "sha512-t5SmOWnxRobud6ho2ROQ4UWdNVTYoXxfd2E2v32zNCa9XBrVL4jZLDe4kHx52Dfq5xm44ZCENF0yinQX/uW8uQ==", - "license": "MIT", - "dependencies": { - "@apidevtools/swagger-parser": "^10.0.1", - "lodash": "^4.17.20", - "minimist": "^1.2.5", - "swagger2openapi": "^7.0.7", - "typescript": "^4.1.2" - }, - "bin": { - "oazapfts": "lib/codegen/cli.js" - } - }, - "node_modules/openapi-types": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-12.1.3.tgz", - "integrity": "sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==", - "license": "MIT", - "peer": true - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "license": "MIT", - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", - "license": "MIT", - "bin": { - "prettier": "bin-prettier.js" - }, - "engines": { - "node": ">=10.13.0" - }, - "funding": { - "url": "https://github.com/prettier/prettier?sponsor=1" - } - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/redux": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/redux/-/redux-4.1.1.tgz", - "integrity": "sha512-hZQZdDEM25UY2P493kPYuKqviVwZ58lEmGQNeQ+gXa+U0gYPUBf7NKYazbe3m+bs/DzM/ahN12DbF+NG8i0CWw==", - "dependencies": { - "@babel/runtime": "^7.9.2" - } - }, - "node_modules/redux-thunk": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-2.3.0.tgz", - "integrity": "sha512-km6dclyFnmcvxhAcrQV2AkZmPQjzPDjgVlQtR0EQjxZPyJ0BnMf3in1ryuR8A2qU0HldVRfxYXbFSKlI3N7Slw==" - }, - "node_modules/reftools": { - "version": "1.1.9", - "resolved": "https://registry.npmjs.org/reftools/-/reftools-1.1.9.tgz", - "integrity": "sha512-OVede/NQE13xBQ+ob5CKd5KyeJYU2YInb1bmV4nRoOfquZPkAkxuOXicSe1PvqIuZZ4kD13sPKBbR7UFDmli6w==", - "license": "BSD-3-Clause", - "funding": { - "url": "https://github.com/Mermade/oas-kit?sponsor=1" - } - }, - "node_modules/regenerator-runtime": { - "version": "0.13.9", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", - "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/reselect": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/reselect/-/reselect-4.0.0.tgz", - "integrity": "sha512-qUgANli03jjAyGlnbYVAV5vvnOmJnODyABz51RdBN7M4WaVu8mecZWgyQNkG8Yqe3KRGRt0l4K4B3XVEULC4CA==" - }, - "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "license": "MIT", - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, - "node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/should": { - "version": "13.2.3", - "resolved": "https://registry.npmjs.org/should/-/should-13.2.3.tgz", - "integrity": "sha512-ggLesLtu2xp+ZxI+ysJTmNjh2U0TsC+rQ/pfED9bUZZ4DKefP27D+7YJVVTvKsmjLpIi9jAa7itwDGkDDmt1GQ==", - "license": "MIT", - "dependencies": { - "should-equal": "^2.0.0", - "should-format": "^3.0.3", - "should-type": "^1.4.0", - "should-type-adaptors": "^1.0.1", - "should-util": "^1.0.0" - } - }, - "node_modules/should-equal": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/should-equal/-/should-equal-2.0.0.tgz", - "integrity": "sha512-ZP36TMrK9euEuWQYBig9W55WPC7uo37qzAEmbjHz4gfyuXrEUgF8cUvQVO+w+d3OMfPvSRQJ22lSm8MQJ43LTA==", - "license": "MIT", - "dependencies": { - "should-type": "^1.4.0" - } - }, - "node_modules/should-format": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/should-format/-/should-format-3.0.3.tgz", - "integrity": "sha512-hZ58adtulAk0gKtua7QxevgUaXTTXxIi8t41L3zo9AHvjXO1/7sdLECuHeIN2SRtYXpNkmhoUP2pdeWgricQ+Q==", - "license": "MIT", - "dependencies": { - "should-type": "^1.3.0", - "should-type-adaptors": "^1.0.1" - } - }, - "node_modules/should-type": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/should-type/-/should-type-1.4.0.tgz", - "integrity": "sha512-MdAsTu3n25yDbIe1NeN69G4n6mUnJGtSJHygX3+oN0ZbO3DTiATnf7XnYJdGT42JCXurTb1JI0qOBR65shvhPQ==", - "license": "MIT" - }, - "node_modules/should-type-adaptors": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/should-type-adaptors/-/should-type-adaptors-1.1.0.tgz", - "integrity": "sha512-JA4hdoLnN+kebEp2Vs8eBe9g7uy0zbRo+RMcU0EsNy+R+k049Ki+N5tT5Jagst2g7EAja+euFuoXFCa8vIklfA==", - "license": "MIT", - "dependencies": { - "should-type": "^1.3.0", - "should-util": "^1.0.0" - } - }, - "node_modules/should-util": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/should-util/-/should-util-1.0.1.tgz", - "integrity": "sha512-oXF8tfxx5cDk8r2kYqlkUJzZpDBqVY/II2WhvU0n9Y3XYvAYRmeaf1PvvIvTgPnv4KJ+ES5M0PyDq5Jp+Ygy2g==", - "license": "MIT" - }, - "node_modules/sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "license": "BSD-3-Clause" - }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/swagger2openapi": { - "version": "7.0.8", - "resolved": "https://registry.npmjs.org/swagger2openapi/-/swagger2openapi-7.0.8.tgz", - "integrity": "sha512-upi/0ZGkYgEcLeGieoz8gT74oWHA0E7JivX7aN9mAf+Tc7BQoRBvnIGHoPDw+f9TXTW4s6kGYCZJtauP6OYp7g==", - "license": "BSD-3-Clause", - "dependencies": { - "call-me-maybe": "^1.0.1", - "node-fetch": "^2.6.1", - "node-fetch-h2": "^2.3.0", - "node-readfiles": "^0.2.0", - "oas-kit-common": "^1.0.8", - "oas-resolver": "^2.5.6", - "oas-schema-walker": "^1.1.5", - "oas-validator": "^5.0.8", - "reftools": "^1.1.9", - "yaml": "^1.10.0", - "yargs": "^17.0.1" - }, - "bin": { - "boast": "boast.js", - "oas-validate": "oas-validate.js", - "swagger2openapi": "swagger2openapi.js" - }, - "funding": { - "url": "https://github.com/Mermade/oas-kit?sponsor=1" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "license": "MIT", - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "license": "MIT" - }, - "node_modules/ts-morph": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-9.1.0.tgz", - "integrity": "sha512-sei4u651MBenr27sD6qLDXN3gZ4thiX71E3qV7SuVtDas0uvK2LtgZkIYUf9DKm/fLJ6AB/+yhRJ1vpEBJgy7Q==", - "license": "MIT", - "dependencies": { - "@dsherret/to-absolute-glob": "^2.0.2", - "@ts-morph/common": "~0.7.0", - "code-block-writer": "^10.1.1" - } - }, - "node_modules/typescript": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.3.tgz", - "integrity": "sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - } - }, - "node_modules/unc-path-regex": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz", - "integrity": "sha512-eXL4nmJT7oCpkZsHZUOJo8hcX3GbsiDOa0Qu9F646fi8dT3XuSVopVqAcEiVzSKKH7UoDti23wNX3qGFxcW5Qg==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "license": "BSD-2-Clause" - }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "license": "MIT", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "license": "ISC", - "engines": { - "node": ">=10" - } - }, - "node_modules/yaml": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", - "license": "ISC", - "engines": { - "node": ">= 6" - } - }, - "node_modules/yargs": { - "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", - "license": "MIT", - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "license": "ISC", - "engines": { - "node": ">=12" - } - } - } -} diff --git a/assets/admin/redux/api/package.json b/assets/admin/redux/api/package.json deleted file mode 100644 index 4a0bbe540..000000000 --- a/assets/admin/redux/api/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "api-generation", - "version": "1.0.0", - "description": "Provides project for generating api from OpenAPI spec and converting from typescript to vanilla javascript.", - "main": "index.js", - "scripts": { - "generate": "npx @rtk-incubator/rtk-query-codegen-openapi --hooks api.json > api.generated.ts", - "//": "# Therefore we replace into a temporary file which is then renamed to the original file", - "replace": "sed 's/import { fetchBaseQuery } from .*;/import extendedBaseQuery from \"..\\/dynamic-base-query\";/g;s/baseQuery: fetchBaseQuery.*,/baseQuery: extendedBaseQuery,\\n keepUnusedDataFor: 0,/g' api.generated.ts > api.generated.ts.patched && mv api.generated.ts.patched api.generated.ts", - "compile": "node_modules/typescript/bin/tsc api.generated.ts", - "start": "npm run generate && npm run replace" - }, - "author": "ITKDev", - "license": "ISC", - "dependencies": { - "@reduxjs/toolkit": "^1.6.1", - "@rtk-incubator/rtk-query-codegen-openapi": "^0.5.1", - "typescript": "^4.4.3" - } -} diff --git a/assets/client/app.jsx b/assets/client/app.jsx index c99cc02b0..e44e69ff1 100644 --- a/assets/client/app.jsx +++ b/assets/client/app.jsx @@ -1,5 +1,4 @@ import React, { useEffect, useRef, useState } from "react"; -import PropTypes from "prop-types"; import Screen from "./components/screen.jsx"; import ContentService from "./service/content-service"; import ClientConfigLoader from "./util/client-config-loader.js"; @@ -287,9 +286,4 @@ function App({ preview, previewId }) { ); } -App.propTypes = { - preview: PropTypes.string, - previewId: PropTypes.string, -}; - export default App; diff --git a/assets/client/components/error-boundary.jsx b/assets/client/components/error-boundary.jsx index a78bcdd05..b794bf6c8 100644 --- a/assets/client/components/error-boundary.jsx +++ b/assets/client/components/error-boundary.jsx @@ -1,5 +1,4 @@ import React, { Component } from "react"; -import PropTypes from "prop-types"; import logger from "../logger/logger"; import fallback from "../assets/fallback.png"; import "./error-boundary.scss"; @@ -52,9 +51,4 @@ class ErrorBoundary extends Component { } } -ErrorBoundary.propTypes = { - children: PropTypes.node.isRequired, - errorHandler: PropTypes.func, -}; - export default ErrorBoundary; diff --git a/assets/client/components/region.jsx b/assets/client/components/region.jsx index a06d2b7ba..f16147eaa 100644 --- a/assets/client/components/region.jsx +++ b/assets/client/components/region.jsx @@ -1,5 +1,4 @@ import { React, useEffect, useState, createRef } from "react"; -import PropTypes from "prop-types"; import "./region.scss"; import { createGridArea } from "../../shared/grid-generator/grid-generator"; import { TransitionGroup, CSSTransition } from "react-transition-group"; @@ -206,11 +205,4 @@ function Region({ region }) { ); } -Region.propTypes = { - region: PropTypes.shape({ - "@id": PropTypes.string.isRequired, - gridArea: PropTypes.arrayOf(PropTypes.string.isRequired), - }).isRequired, -}; - export default Region; diff --git a/assets/client/components/screen.jsx b/assets/client/components/screen.jsx index 5c384a6d9..68710d964 100644 --- a/assets/client/components/screen.jsx +++ b/assets/client/components/screen.jsx @@ -1,5 +1,4 @@ import { Fragment, React, useEffect, useRef } from "react"; -import PropTypes from "prop-types"; import SunCalc from "suncalc"; import { createGrid } from "../../shared/grid-generator/grid-generator"; import Region from "./region.jsx"; @@ -111,23 +110,4 @@ function Screen({ screen }) { ); } -Screen.propTypes = { - screen: PropTypes.shape({ - "@id": PropTypes.string.isRequired, - layoutData: PropTypes.shape({ - grid: PropTypes.shape({ - columns: PropTypes.number.isRequired, - rows: PropTypes.number.isRequired, - }), - regions: PropTypes.arrayOf( - PropTypes.shape({ - "@id": PropTypes.string.isRequired, - // @TODO: Expand prop type. - }) - ), - }).isRequired, - enableColorSchemeChange: PropTypes.bool, - }).isRequired, -}; - export default Screen; diff --git a/assets/client/components/touch-region.jsx b/assets/client/components/touch-region.jsx index 05d3b5562..eef540f75 100644 --- a/assets/client/components/touch-region.jsx +++ b/assets/client/components/touch-region.jsx @@ -1,5 +1,4 @@ import { React, useEffect, useState, createRef } from "react"; -import PropTypes from "prop-types"; import "./touch-region.scss"; import { createGridArea } from "../../shared/grid-generator/grid-generator"; import ErrorBoundary from "./error-boundary.jsx"; @@ -191,11 +190,4 @@ function TouchRegion({ region }) { ); } -TouchRegion.propTypes = { - region: PropTypes.shape({ - "@id": PropTypes.string.isRequired, - gridArea: PropTypes.arrayOf(PropTypes.string.isRequired), - }).isRequired, -}; - export default TouchRegion; diff --git a/assets/shared/redux/empty-api.ts b/assets/shared/redux/empty-api.ts new file mode 100644 index 000000000..7e72803f7 --- /dev/null +++ b/assets/shared/redux/empty-api.ts @@ -0,0 +1,7 @@ +import { createApi } from '@reduxjs/toolkit/query/react'; +import extendedBaseQuery from "./extended-base-query"; + +export const emptySplitApi = createApi({ + baseQuery: extendedBaseQuery, + endpoints: () => ({}), +}); diff --git a/assets/shared/redux/enhanced-api.ts b/assets/shared/redux/enhanced-api.ts new file mode 100644 index 000000000..6c4b95b0a --- /dev/null +++ b/assets/shared/redux/enhanced-api.ts @@ -0,0 +1,179 @@ +import { api as generatedApi } from "./generated-api"; + +// Invalidate the following tags for the given endpoints: +// endpointName: ["TagToInvalidate1", "TagToInvalidate2"] +// @see addTagTypes from generated-api.ts for available tags. +const invalidatesTagsForEndpoints = { + postLoginInfoScreen: ["Authentication"], + postRefreshTokenItem: ["Authentication"], + + postV2FeedSources: ["Feeds", "FeedSources"], + putV2FeedSourcesById: ["Feeds", "FeedSources"], + deleteV2FeedSourcesById: ["Feeds", "FeedSources"], + + postMediaCollection: ["Media"], + deleteV2MediaById: ["Media"], + + postV2Playlists: ["Playlists"], + putV2PlaylistsById: ["Playlists"], + deleteV2PlaylistsById: ["Playlists"], + + putV2PlaylistsByIdSlides: ["Playlists", "Slides"], + deleteV2PlaylistsByIdSlidesAndSlideId: ["Playlists", "Slides"], + putV2SlidesByIdPlaylists: ["Playlists", "Slides"], + + postV2ScreenGroups: ["ScreenGroups"], + putV2ScreenGroupsById: ["ScreenGroups"], + deleteV2ScreenGroupsById: ["ScreenGroups"], + + putV2ScreenGroupsByIdCampaigns: ["Playlists", "ScreenGroups"], + deleteV2ScreenGroupsByIdCampaignsAndCampaignId: ["Playlists", "ScreenGroups"], + + postV2Screens: ["Screens", "ScreenGroupCampaign", "ScreenGroups", "Playlists"], + putV2ScreensById: ["Screens", "ScreenGroupCampaign", "ScreenGroups", "Playlists"], + deleteV2ScreensById: ["Screens", "ScreenGroupCampaign", "ScreenGroups", "Playlists"], + + putV2ScreensByIdCampaigns: ["Screens", "ScreenGroupCampaign"], + deleteV2ScreensByIdCampaignsAndCampaignId: ["Screens", "ScreenGroupCampaign"], + + putPlaylistScreenRegionItem: ["Screens", "Playlists"], + deletePlaylistScreenRegionItem: ["Screens", "Playlists"], + + putV2ScreensByIdScreenGroups: ["Screens", "ScreenGroups"], + deleteV2ScreensByIdScreenGroupsAndScreenGroupId: ["Screens", "ScreenGroups"], + + postScreenBindKey: ["Screens"], + postScreenUnbind: ["Screens"], + + postV2Slides: ["Slides"], + putV2SlidesById: ["Slides"], + deleteV2SlidesById: ["Slides"], + + apiSlidePerformAction: [], + + postV2Themes: ["Themes"], + putV2ThemesById: ["Themes"], + deleteV2ThemesById: ["Themes"], + + postV2Users: ["User"], + putV2UsersById: ["User"], + deleteV2UsersById: ["User"], + deleteV2UsersByIdRemoveFromTenant: ["User"], + + postV2UserActivationCodes: ["UserActivationCode"], + postV2UserActivationCodesActivate: ["UserActivationCode", "User"], + postV2UserActivationCodesRefresh: ["UserActivationCode"], + deleteV2UserActivationCodesById: ["UserActivationCode"], +}; + +// Enhance the api with specifications about what should be invalidated for the +// given endpoints. +export const enhancedApi = generatedApi.enhanceEndpoints({ + // @ts-ignore + endpoints: Object.fromEntries( + // @ts-ignore + Object.entries(generatedApi.endpoints).map(([key, endpoint]) => { + const enhancedEndpoint = { + ...endpoint, + invalidatesTags: ["region"], + }; + + if (invalidatesTagsForEndpoints.hasOwnProperty(key)) { + enhancedEndpoint.invalidatesTags = invalidatesTagsForEndpoints[key]; + } + + return [key, enhancedEndpoint]; + }) + )} +); + +// These hooks are copied from generated-api. +// If new endpoints are added to the OpenAPI spec, this list should be updated. +export const { + useGetOidcAuthTokenItemQuery, + useGetOidcAuthUrlsItemQuery, + usePostLoginInfoScreenMutation, + usePostRefreshTokenItemMutation, + useGetV2FeedSourcesQuery, + usePostV2FeedSourcesMutation, + useGetV2FeedSourcesByIdQuery, + usePutV2FeedSourcesByIdMutation, + useDeleteV2FeedSourcesByIdMutation, + useGetV2FeedSourcesByIdConfigAndNameQuery, + useGetV2FeedSourcesByIdSlidesQuery, + useGetV2FeedsQuery, + useGetV2FeedsByIdQuery, + useGetV2FeedsByIdDataQuery, + useGetV2LayoutsQuery, + useGetV2LayoutsByIdQuery, + useLoginCheckPostMutation, + useGetV2MediaQuery, + usePostMediaCollectionMutation, + useGetv2MediaByIdQuery, + useDeleteV2MediaByIdMutation, + useGetV2CampaignsByIdScreenGroupsQuery, + useGetV2CampaignsByIdScreensQuery, + useGetV2PlaylistsQuery, + usePostV2PlaylistsMutation, + useGetV2PlaylistsByIdQuery, + usePutV2PlaylistsByIdMutation, + useDeleteV2PlaylistsByIdMutation, + useGetV2PlaylistsByIdSlidesQuery, + usePutV2PlaylistsByIdSlidesMutation, + useDeleteV2PlaylistsByIdSlidesAndSlideIdMutation, + useGetV2SlidesByIdPlaylistsQuery, + usePutV2SlidesByIdPlaylistsMutation, + useGetScreenGroupCampaignItemQuery, + useGetV2ScreenGroupsQuery, + usePostV2ScreenGroupsMutation, + useGetV2ScreenGroupsByIdQuery, + usePutV2ScreenGroupsByIdMutation, + useDeleteV2ScreenGroupsByIdMutation, + useGetV2ScreenGroupsByIdCampaignsQuery, + usePutV2ScreenGroupsByIdCampaignsMutation, + useDeleteV2ScreenGroupsByIdCampaignsAndCampaignIdMutation, + useGetV2ScreenGroupsByIdScreensQuery, + useGetV2ScreensQuery, + usePostV2ScreensMutation, + useGetV2ScreensByIdQuery, + usePutV2ScreensByIdMutation, + useDeleteV2ScreensByIdMutation, + usePostScreenBindKeyMutation, + useGetV2ScreensByIdCampaignsQuery, + usePutV2ScreensByIdCampaignsMutation, + useDeleteV2ScreensByIdCampaignsAndCampaignIdMutation, + useGetV2ScreensByIdRegionsAndRegionIdPlaylistsQuery, + usePutPlaylistScreenRegionItemMutation, + useDeletePlaylistScreenRegionItemMutation, + useGetV2ScreensByIdScreenGroupsQuery, + usePutV2ScreensByIdScreenGroupsMutation, + useDeleteV2ScreensByIdScreenGroupsAndScreenGroupIdMutation, + usePostScreenUnbindMutation, + useGetV2SlidesQuery, + usePostV2SlidesMutation, + useGetV2SlidesByIdQuery, + usePutV2SlidesByIdMutation, + useDeleteV2SlidesByIdMutation, + useApiSlidePerformActionMutation, + useGetV2TemplatesQuery, + useGetV2TemplatesByIdQuery, + useGetV2TenantsQuery, + useGetV2TenantsByIdQuery, + useGetV2ThemesQuery, + usePostV2ThemesMutation, + useGetV2ThemesByIdQuery, + usePutV2ThemesByIdMutation, + useDeleteV2ThemesByIdMutation, + useGetV2UsersQuery, + usePostV2UsersMutation, + useGetV2UsersByIdQuery, + usePutV2UsersByIdMutation, + useDeleteV2UsersByIdMutation, + useDeleteV2UsersByIdRemoveFromTenantMutation, + useGetV2UserActivationCodesQuery, + usePostV2UserActivationCodesMutation, + usePostV2UserActivationCodesActivateMutation, + usePostV2UserActivationCodesRefreshMutation, + useGetV2UserActivationCodesByIdQuery, + useDeleteV2UserActivationCodesByIdMutation, +} = enhancedApi; diff --git a/assets/admin/redux/dynamic-base-query.js b/assets/shared/redux/extended-base-query.js similarity index 96% rename from assets/admin/redux/dynamic-base-query.js rename to assets/shared/redux/extended-base-query.js index 0de2f3692..efe300a32 100644 --- a/assets/admin/redux/dynamic-base-query.js +++ b/assets/shared/redux/extended-base-query.js @@ -1,5 +1,5 @@ import { fetchBaseQuery } from "@reduxjs/toolkit/query/react"; -import localStorageKeys from "../components/util/local-storage-keys"; +import localStorageKeys from "../../admin/components/util/local-storage-keys.jsx"; const extendedBaseQuery = async (args, api, extraOptions) => { const baseUrl = "/"; diff --git a/assets/shared/redux/generated-api.ts b/assets/shared/redux/generated-api.ts new file mode 100644 index 000000000..4e3282eab --- /dev/null +++ b/assets/shared/redux/generated-api.ts @@ -0,0 +1,2672 @@ +import { emptySplitApi as api } from "./empty-api"; +export const addTagTypes = [ + "Authentication", + "FeedSources", + "Feeds", + "Layouts", + "Login Check", + "Media", + "Playlists", + "ScreenGroupCampaign", + "ScreenGroups", + "Screens", + "Slides", + "Templates", + "Tenants", + "Themes", + "User", + "UserActivationCode", +] as const; +const injectedRtkApi = api + .enhanceEndpoints({ + addTagTypes, + }) + .injectEndpoints({ + endpoints: (build) => ({ + getOidcAuthTokenItem: build.query< + GetOidcAuthTokenItemApiResponse, + GetOidcAuthTokenItemApiArg + >({ + query: (queryArg) => ({ + url: `/v2/authentication/oidc/token`, + params: { + state: queryArg.state, + code: queryArg.code, + }, + }), + providesTags: ["Authentication"], + }), + getOidcAuthUrlsItem: build.query< + GetOidcAuthUrlsItemApiResponse, + GetOidcAuthUrlsItemApiArg + >({ + query: (queryArg) => ({ + url: `/v2/authentication/oidc/urls`, + params: { + providerKey: queryArg.providerKey, + }, + }), + providesTags: ["Authentication"], + }), + postLoginInfoScreen: build.mutation< + PostLoginInfoScreenApiResponse, + PostLoginInfoScreenApiArg + >({ + query: (queryArg) => ({ + url: `/v2/authentication/screen`, + method: "POST", + body: queryArg.screenLoginInput, + }), + invalidatesTags: ["Authentication"], + }), + postRefreshTokenItem: build.mutation< + PostRefreshTokenItemApiResponse, + PostRefreshTokenItemApiArg + >({ + query: (queryArg) => ({ + url: `/v2/authentication/token/refresh`, + method: "POST", + body: queryArg.refreshTokenRequest, + }), + invalidatesTags: ["Authentication"], + }), + getV2FeedSources: build.query< + GetV2FeedSourcesApiResponse, + GetV2FeedSourcesApiArg + >({ + query: (queryArg) => ({ + url: `/v2/feed-sources`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + supportedFeedOutputType: queryArg.supportedFeedOutputType, + title: queryArg.title, + description: queryArg.description, + createdBy: queryArg.createdBy, + modifiedBy: queryArg.modifiedBy, + order: queryArg.order, + }, + }), + providesTags: ["FeedSources"], + }), + postV2FeedSources: build.mutation< + PostV2FeedSourcesApiResponse, + PostV2FeedSourcesApiArg + >({ + query: (queryArg) => ({ + url: `/v2/feed-sources`, + method: "POST", + body: queryArg.feedSourceFeedSourceInputJsonld, + }), + invalidatesTags: ["FeedSources"], + }), + getV2FeedSourcesById: build.query< + GetV2FeedSourcesByIdApiResponse, + GetV2FeedSourcesByIdApiArg + >({ + query: (queryArg) => ({ url: `/v2/feed-sources/${queryArg.id}` }), + providesTags: ["FeedSources"], + }), + putV2FeedSourcesById: build.mutation< + PutV2FeedSourcesByIdApiResponse, + PutV2FeedSourcesByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/feed-sources/${queryArg.id}`, + method: "PUT", + body: queryArg.feedSourceFeedSourceInputJsonld, + }), + invalidatesTags: ["FeedSources"], + }), + deleteV2FeedSourcesById: build.mutation< + DeleteV2FeedSourcesByIdApiResponse, + DeleteV2FeedSourcesByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/feed-sources/${queryArg.id}`, + method: "DELETE", + }), + invalidatesTags: ["FeedSources"], + }), + getV2FeedSourcesByIdConfigAndName: build.query< + GetV2FeedSourcesByIdConfigAndNameApiResponse, + GetV2FeedSourcesByIdConfigAndNameApiArg + >({ + query: (queryArg) => ({ + url: `/v2/feed-sources/${queryArg.id}/config/${queryArg.name}`, + }), + providesTags: ["FeedSources"], + }), + getV2FeedSourcesByIdSlides: build.query< + GetV2FeedSourcesByIdSlidesApiResponse, + GetV2FeedSourcesByIdSlidesApiArg + >({ + query: (queryArg) => ({ + url: `/v2/feed-sources/${queryArg.id}/slides`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + title: queryArg.title, + description: queryArg.description, + createdBy: queryArg.createdBy, + modifiedBy: queryArg.modifiedBy, + published: queryArg.published, + order: queryArg.order, + }, + }), + providesTags: ["FeedSources"], + }), + getV2Feeds: build.query({ + query: (queryArg) => ({ + url: `/v2/feeds`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + createdBy: queryArg.createdBy, + modifiedBy: queryArg.modifiedBy, + order: queryArg.order, + }, + }), + providesTags: ["Feeds"], + }), + getV2FeedsById: build.query< + GetV2FeedsByIdApiResponse, + GetV2FeedsByIdApiArg + >({ + query: (queryArg) => ({ url: `/v2/feeds/${queryArg.id}` }), + providesTags: ["Feeds"], + }), + getV2FeedsByIdData: build.query< + GetV2FeedsByIdDataApiResponse, + GetV2FeedsByIdDataApiArg + >({ + query: (queryArg) => ({ url: `/v2/feeds/${queryArg.id}/data` }), + providesTags: ["Feeds"], + }), + getV2Layouts: build.query({ + query: (queryArg) => ({ + url: `/v2/layouts`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + }, + }), + providesTags: ["Layouts"], + }), + getV2LayoutsById: build.query< + GetV2LayoutsByIdApiResponse, + GetV2LayoutsByIdApiArg + >({ + query: (queryArg) => ({ url: `/v2/layouts/${queryArg.id}` }), + providesTags: ["Layouts"], + }), + loginCheckPost: build.mutation< + LoginCheckPostApiResponse, + LoginCheckPostApiArg + >({ + query: (queryArg) => ({ + url: `/v2/authentication/token`, + method: "POST", + body: queryArg.body, + }), + invalidatesTags: ["Login Check"], + }), + getV2Media: build.query({ + query: (queryArg) => ({ + url: `/v2/media`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + title: queryArg.title, + description: queryArg.description, + createdBy: queryArg.createdBy, + modifiedBy: queryArg.modifiedBy, + order: queryArg.order, + }, + }), + providesTags: ["Media"], + }), + postMediaCollection: build.mutation< + PostMediaCollectionApiResponse, + PostMediaCollectionApiArg + >({ + query: (queryArg) => ({ + url: `/v2/media`, + method: "POST", + body: queryArg.body, + }), + invalidatesTags: ["Media"], + }), + getv2MediaById: build.query< + Getv2MediaByIdApiResponse, + Getv2MediaByIdApiArg + >({ + query: (queryArg) => ({ url: `/v2/media/${queryArg.id}` }), + providesTags: ["Media"], + }), + deleteV2MediaById: build.mutation< + DeleteV2MediaByIdApiResponse, + DeleteV2MediaByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/media/${queryArg.id}`, + method: "DELETE", + }), + invalidatesTags: ["Media"], + }), + getV2CampaignsByIdScreenGroups: build.query< + GetV2CampaignsByIdScreenGroupsApiResponse, + GetV2CampaignsByIdScreenGroupsApiArg + >({ + query: (queryArg) => ({ + url: `/v2/campaigns/${queryArg.id}/screen-groups`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + }, + }), + providesTags: ["Playlists"], + }), + getV2CampaignsByIdScreens: build.query< + GetV2CampaignsByIdScreensApiResponse, + GetV2CampaignsByIdScreensApiArg + >({ + query: (queryArg) => ({ + url: `/v2/campaigns/${queryArg.id}/screens`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + }, + }), + providesTags: ["Playlists"], + }), + getV2Playlists: build.query< + GetV2PlaylistsApiResponse, + GetV2PlaylistsApiArg + >({ + query: (queryArg) => ({ + url: `/v2/playlists`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + title: queryArg.title, + description: queryArg.description, + createdBy: queryArg.createdBy, + modifiedBy: queryArg.modifiedBy, + published: queryArg.published, + isCampaign: queryArg.isCampaign, + order: queryArg.order, + sharedWithMe: queryArg.sharedWithMe, + }, + }), + providesTags: ["Playlists"], + }), + postV2Playlists: build.mutation< + PostV2PlaylistsApiResponse, + PostV2PlaylistsApiArg + >({ + query: (queryArg) => ({ + url: `/v2/playlists`, + method: "POST", + body: queryArg.playlistPlaylistInputJsonld, + }), + invalidatesTags: ["Playlists"], + }), + getV2PlaylistsById: build.query< + GetV2PlaylistsByIdApiResponse, + GetV2PlaylistsByIdApiArg + >({ + query: (queryArg) => ({ url: `/v2/playlists/${queryArg.id}` }), + providesTags: ["Playlists"], + }), + putV2PlaylistsById: build.mutation< + PutV2PlaylistsByIdApiResponse, + PutV2PlaylistsByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/playlists/${queryArg.id}`, + method: "PUT", + body: queryArg.playlistPlaylistInputJsonld, + }), + invalidatesTags: ["Playlists"], + }), + deleteV2PlaylistsById: build.mutation< + DeleteV2PlaylistsByIdApiResponse, + DeleteV2PlaylistsByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/playlists/${queryArg.id}`, + method: "DELETE", + }), + invalidatesTags: ["Playlists"], + }), + getV2PlaylistsByIdSlides: build.query< + GetV2PlaylistsByIdSlidesApiResponse, + GetV2PlaylistsByIdSlidesApiArg + >({ + query: (queryArg) => ({ + url: `/v2/playlists/${queryArg.id}/slides`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + published: queryArg.published, + }, + }), + providesTags: ["Playlists"], + }), + putV2PlaylistsByIdSlides: build.mutation< + PutV2PlaylistsByIdSlidesApiResponse, + PutV2PlaylistsByIdSlidesApiArg + >({ + query: (queryArg) => ({ + url: `/v2/playlists/${queryArg.id}/slides`, + method: "PUT", + body: queryArg.body, + }), + invalidatesTags: ["Playlists"], + }), + deleteV2PlaylistsByIdSlidesAndSlideId: build.mutation< + DeleteV2PlaylistsByIdSlidesAndSlideIdApiResponse, + DeleteV2PlaylistsByIdSlidesAndSlideIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/playlists/${queryArg.id}/slides/${queryArg.slideId}`, + method: "DELETE", + }), + invalidatesTags: ["Playlists"], + }), + getV2SlidesByIdPlaylists: build.query< + GetV2SlidesByIdPlaylistsApiResponse, + GetV2SlidesByIdPlaylistsApiArg + >({ + query: (queryArg) => ({ + url: `/v2/slides/${queryArg.id}/playlists`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + published: queryArg.published, + }, + }), + providesTags: ["Playlists"], + }), + putV2SlidesByIdPlaylists: build.mutation< + PutV2SlidesByIdPlaylistsApiResponse, + PutV2SlidesByIdPlaylistsApiArg + >({ + query: (queryArg) => ({ + url: `/v2/slides/${queryArg.id}/playlists`, + method: "PUT", + body: queryArg.body, + }), + invalidatesTags: ["Playlists"], + }), + getScreenGroupCampaignItem: build.query< + GetScreenGroupCampaignItemApiResponse, + GetScreenGroupCampaignItemApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screen-groups-campaigns/${queryArg.id}`, + }), + providesTags: ["ScreenGroupCampaign"], + }), + getV2ScreenGroups: build.query< + GetV2ScreenGroupsApiResponse, + GetV2ScreenGroupsApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screen-groups`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + title: queryArg.title, + description: queryArg.description, + createdBy: queryArg.createdBy, + modifiedBy: queryArg.modifiedBy, + order: queryArg.order, + }, + }), + providesTags: ["ScreenGroups"], + }), + postV2ScreenGroups: build.mutation< + PostV2ScreenGroupsApiResponse, + PostV2ScreenGroupsApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screen-groups`, + method: "POST", + body: queryArg.screenGroupScreenGroupInputJsonld, + }), + invalidatesTags: ["ScreenGroups"], + }), + getV2ScreenGroupsById: build.query< + GetV2ScreenGroupsByIdApiResponse, + GetV2ScreenGroupsByIdApiArg + >({ + query: (queryArg) => ({ url: `/v2/screen-groups/${queryArg.id}` }), + providesTags: ["ScreenGroups"], + }), + putV2ScreenGroupsById: build.mutation< + PutV2ScreenGroupsByIdApiResponse, + PutV2ScreenGroupsByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screen-groups/${queryArg.id}`, + method: "PUT", + body: queryArg.screenGroupScreenGroupInputJsonld, + }), + invalidatesTags: ["ScreenGroups"], + }), + deleteV2ScreenGroupsById: build.mutation< + DeleteV2ScreenGroupsByIdApiResponse, + DeleteV2ScreenGroupsByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screen-groups/${queryArg.id}`, + method: "DELETE", + }), + invalidatesTags: ["ScreenGroups"], + }), + getV2ScreenGroupsByIdCampaigns: build.query< + GetV2ScreenGroupsByIdCampaignsApiResponse, + GetV2ScreenGroupsByIdCampaignsApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screen-groups/${queryArg.id}/campaigns`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + published: queryArg.published, + }, + }), + providesTags: ["ScreenGroups"], + }), + putV2ScreenGroupsByIdCampaigns: build.mutation< + PutV2ScreenGroupsByIdCampaignsApiResponse, + PutV2ScreenGroupsByIdCampaignsApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screen-groups/${queryArg.id}/campaigns`, + method: "PUT", + body: queryArg.body, + }), + invalidatesTags: ["ScreenGroups"], + }), + deleteV2ScreenGroupsByIdCampaignsAndCampaignId: build.mutation< + DeleteV2ScreenGroupsByIdCampaignsAndCampaignIdApiResponse, + DeleteV2ScreenGroupsByIdCampaignsAndCampaignIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screen-groups/${queryArg.id}/campaigns/${queryArg.campaignId}`, + method: "DELETE", + }), + invalidatesTags: ["ScreenGroups"], + }), + getV2ScreenGroupsByIdScreens: build.query< + GetV2ScreenGroupsByIdScreensApiResponse, + GetV2ScreenGroupsByIdScreensApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screen-groups/${queryArg.id}/screens`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + }, + }), + providesTags: ["ScreenGroups"], + }), + getV2Screens: build.query({ + query: (queryArg) => ({ + url: `/v2/screens`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + search: queryArg.search, + exists: queryArg.exists, + "screenUser.latestRequest": queryArg["screenUser.latestRequest"], + createdBy: queryArg.createdBy, + modifiedBy: queryArg.modifiedBy, + order: queryArg.order, + }, + }), + providesTags: ["Screens"], + }), + postV2Screens: build.mutation< + PostV2ScreensApiResponse, + PostV2ScreensApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screens`, + method: "POST", + body: queryArg.screenScreenInputJsonld, + }), + invalidatesTags: ["Screens"], + }), + getV2ScreensById: build.query< + GetV2ScreensByIdApiResponse, + GetV2ScreensByIdApiArg + >({ + query: (queryArg) => ({ url: `/v2/screens/${queryArg.id}` }), + providesTags: ["Screens"], + }), + putV2ScreensById: build.mutation< + PutV2ScreensByIdApiResponse, + PutV2ScreensByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screens/${queryArg.id}`, + method: "PUT", + body: queryArg.screenScreenInputJsonld, + }), + invalidatesTags: ["Screens"], + }), + deleteV2ScreensById: build.mutation< + DeleteV2ScreensByIdApiResponse, + DeleteV2ScreensByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screens/${queryArg.id}`, + method: "DELETE", + }), + invalidatesTags: ["Screens"], + }), + postScreenBindKey: build.mutation< + PostScreenBindKeyApiResponse, + PostScreenBindKeyApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screens/${queryArg.id}/bind`, + method: "POST", + body: queryArg.screenBindObject, + }), + invalidatesTags: ["Screens"], + }), + getV2ScreensByIdCampaigns: build.query< + GetV2ScreensByIdCampaignsApiResponse, + GetV2ScreensByIdCampaignsApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screens/${queryArg.id}/campaigns`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + published: queryArg.published, + }, + }), + providesTags: ["Screens"], + }), + putV2ScreensByIdCampaigns: build.mutation< + PutV2ScreensByIdCampaignsApiResponse, + PutV2ScreensByIdCampaignsApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screens/${queryArg.id}/campaigns`, + method: "PUT", + body: queryArg.body, + }), + invalidatesTags: ["Screens"], + }), + deleteV2ScreensByIdCampaignsAndCampaignId: build.mutation< + DeleteV2ScreensByIdCampaignsAndCampaignIdApiResponse, + DeleteV2ScreensByIdCampaignsAndCampaignIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screens/${queryArg.id}/campaigns/${queryArg.campaignId}`, + method: "DELETE", + }), + invalidatesTags: ["Screens"], + }), + getV2ScreensByIdRegionsAndRegionIdPlaylists: build.query< + GetV2ScreensByIdRegionsAndRegionIdPlaylistsApiResponse, + GetV2ScreensByIdRegionsAndRegionIdPlaylistsApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screens/${queryArg.id}/regions/${queryArg.regionId}/playlists`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + sharedWithMe: queryArg.sharedWithMe, + }, + }), + providesTags: ["Screens"], + }), + putPlaylistScreenRegionItem: build.mutation< + PutPlaylistScreenRegionItemApiResponse, + PutPlaylistScreenRegionItemApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screens/${queryArg.id}/regions/${queryArg.regionId}/playlists`, + method: "PUT", + body: queryArg.body, + }), + invalidatesTags: ["Screens"], + }), + deletePlaylistScreenRegionItem: build.mutation< + DeletePlaylistScreenRegionItemApiResponse, + DeletePlaylistScreenRegionItemApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screens/${queryArg.id}/regions/${queryArg.regionId}/playlists/${queryArg.playlistId}`, + method: "DELETE", + }), + invalidatesTags: ["Screens"], + }), + getV2ScreensByIdScreenGroups: build.query< + GetV2ScreensByIdScreenGroupsApiResponse, + GetV2ScreensByIdScreenGroupsApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screens/${queryArg.id}/screen-groups`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + order: queryArg.order, + }, + }), + providesTags: ["Screens"], + }), + putV2ScreensByIdScreenGroups: build.mutation< + PutV2ScreensByIdScreenGroupsApiResponse, + PutV2ScreensByIdScreenGroupsApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screens/${queryArg.id}/screen-groups`, + method: "PUT", + body: queryArg.body, + }), + invalidatesTags: ["Screens"], + }), + deleteV2ScreensByIdScreenGroupsAndScreenGroupId: build.mutation< + DeleteV2ScreensByIdScreenGroupsAndScreenGroupIdApiResponse, + DeleteV2ScreensByIdScreenGroupsAndScreenGroupIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screens/${queryArg.id}/screen-groups/${queryArg.screenGroupId}`, + method: "DELETE", + }), + invalidatesTags: ["Screens"], + }), + postScreenUnbind: build.mutation< + PostScreenUnbindApiResponse, + PostScreenUnbindApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screens/${queryArg.id}/unbind`, + method: "POST", + body: queryArg.body, + }), + invalidatesTags: ["Screens"], + }), + getV2Slides: build.query({ + query: (queryArg) => ({ + url: `/v2/slides`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + title: queryArg.title, + description: queryArg.description, + createdBy: queryArg.createdBy, + modifiedBy: queryArg.modifiedBy, + published: queryArg.published, + order: queryArg.order, + }, + }), + providesTags: ["Slides"], + }), + postV2Slides: build.mutation( + { + query: (queryArg) => ({ + url: `/v2/slides`, + method: "POST", + body: queryArg.slideSlideInputJsonld, + }), + invalidatesTags: ["Slides"], + }, + ), + getV2SlidesById: build.query< + GetV2SlidesByIdApiResponse, + GetV2SlidesByIdApiArg + >({ + query: (queryArg) => ({ url: `/v2/slides/${queryArg.id}` }), + providesTags: ["Slides"], + }), + putV2SlidesById: build.mutation< + PutV2SlidesByIdApiResponse, + PutV2SlidesByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/slides/${queryArg.id}`, + method: "PUT", + body: queryArg.slideSlideInputJsonld, + }), + invalidatesTags: ["Slides"], + }), + deleteV2SlidesById: build.mutation< + DeleteV2SlidesByIdApiResponse, + DeleteV2SlidesByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/slides/${queryArg.id}`, + method: "DELETE", + }), + invalidatesTags: ["Slides"], + }), + apiSlidePerformAction: build.mutation< + ApiSlidePerformActionApiResponse, + ApiSlidePerformActionApiArg + >({ + query: (queryArg) => ({ + url: `/v2/slides/${queryArg.id}/action`, + method: "POST", + body: queryArg.slideInteractiveSlideActionInputJsonld, + }), + invalidatesTags: ["Slides"], + }), + getV2Templates: build.query< + GetV2TemplatesApiResponse, + GetV2TemplatesApiArg + >({ + query: (queryArg) => ({ + url: `/v2/templates`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + title: queryArg.title, + createdBy: queryArg.createdBy, + modifiedBy: queryArg.modifiedBy, + order: queryArg.order, + }, + }), + providesTags: ["Templates"], + }), + getV2TemplatesById: build.query< + GetV2TemplatesByIdApiResponse, + GetV2TemplatesByIdApiArg + >({ + query: (queryArg) => ({ url: `/v2/templates/${queryArg.id}` }), + providesTags: ["Templates"], + }), + getV2Tenants: build.query({ + query: (queryArg) => ({ + url: `/v2/tenants`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + title: queryArg.title, + description: queryArg.description, + createdBy: queryArg.createdBy, + modifiedBy: queryArg.modifiedBy, + }, + }), + providesTags: ["Tenants"], + }), + getV2TenantsById: build.query< + GetV2TenantsByIdApiResponse, + GetV2TenantsByIdApiArg + >({ + query: (queryArg) => ({ url: `/v2/tenants/${queryArg.id}` }), + providesTags: ["Tenants"], + }), + getV2Themes: build.query({ + query: (queryArg) => ({ + url: `/v2/themes`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + title: queryArg.title, + description: queryArg.description, + createdBy: queryArg.createdBy, + modifiedBy: queryArg.modifiedBy, + order: queryArg.order, + }, + }), + providesTags: ["Themes"], + }), + postV2Themes: build.mutation( + { + query: (queryArg) => ({ + url: `/v2/themes`, + method: "POST", + body: queryArg.themeThemeInputJsonld, + }), + invalidatesTags: ["Themes"], + }, + ), + getV2ThemesById: build.query< + GetV2ThemesByIdApiResponse, + GetV2ThemesByIdApiArg + >({ + query: (queryArg) => ({ url: `/v2/themes/${queryArg.id}` }), + providesTags: ["Themes"], + }), + putV2ThemesById: build.mutation< + PutV2ThemesByIdApiResponse, + PutV2ThemesByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/themes/${queryArg.id}`, + method: "PUT", + body: queryArg.themeThemeInputJsonld, + }), + invalidatesTags: ["Themes"], + }), + deleteV2ThemesById: build.mutation< + DeleteV2ThemesByIdApiResponse, + DeleteV2ThemesByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/themes/${queryArg.id}`, + method: "DELETE", + }), + invalidatesTags: ["Themes"], + }), + getV2Users: build.query({ + query: (queryArg) => ({ + url: `/v2/users`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + fullName: queryArg.fullName, + email: queryArg.email, + createdBy: queryArg.createdBy, + modifiedBy: queryArg.modifiedBy, + order: queryArg.order, + }, + }), + providesTags: ["User"], + }), + postV2Users: build.mutation({ + query: (queryArg) => ({ + url: `/v2/users`, + method: "POST", + body: queryArg.userUserInputJsonld, + }), + invalidatesTags: ["User"], + }), + getV2UsersById: build.query< + GetV2UsersByIdApiResponse, + GetV2UsersByIdApiArg + >({ + query: (queryArg) => ({ url: `/v2/users/${queryArg.id}` }), + providesTags: ["User"], + }), + putV2UsersById: build.mutation< + PutV2UsersByIdApiResponse, + PutV2UsersByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/users/${queryArg.id}`, + method: "PUT", + body: queryArg.userUserInputJsonld, + }), + invalidatesTags: ["User"], + }), + deleteV2UsersById: build.mutation< + DeleteV2UsersByIdApiResponse, + DeleteV2UsersByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/users/${queryArg.id}`, + method: "DELETE", + }), + invalidatesTags: ["User"], + }), + deleteV2UsersByIdRemoveFromTenant: build.mutation< + DeleteV2UsersByIdRemoveFromTenantApiResponse, + DeleteV2UsersByIdRemoveFromTenantApiArg + >({ + query: (queryArg) => ({ + url: `/v2/users/${queryArg.id}/remove-from-tenant`, + method: "DELETE", + }), + invalidatesTags: ["User"], + }), + getV2UserActivationCodes: build.query< + GetV2UserActivationCodesApiResponse, + GetV2UserActivationCodesApiArg + >({ + query: (queryArg) => ({ + url: `/v2/user-activation-codes`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + }, + }), + providesTags: ["UserActivationCode"], + }), + postV2UserActivationCodes: build.mutation< + PostV2UserActivationCodesApiResponse, + PostV2UserActivationCodesApiArg + >({ + query: (queryArg) => ({ + url: `/v2/user-activation-codes`, + method: "POST", + body: queryArg.userActivationCodeUserActivationCodeInputJsonld, + }), + invalidatesTags: ["UserActivationCode"], + }), + postV2UserActivationCodesActivate: build.mutation< + PostV2UserActivationCodesActivateApiResponse, + PostV2UserActivationCodesActivateApiArg + >({ + query: (queryArg) => ({ + url: `/v2/user-activation-codes/activate`, + method: "POST", + body: queryArg.userActivationCodeActivationCodeJsonld, + }), + invalidatesTags: ["UserActivationCode"], + }), + postV2UserActivationCodesRefresh: build.mutation< + PostV2UserActivationCodesRefreshApiResponse, + PostV2UserActivationCodesRefreshApiArg + >({ + query: (queryArg) => ({ + url: `/v2/user-activation-codes/refresh`, + method: "POST", + body: queryArg.userActivationCodeActivationCodeJsonld, + }), + invalidatesTags: ["UserActivationCode"], + }), + getV2UserActivationCodesById: build.query< + GetV2UserActivationCodesByIdApiResponse, + GetV2UserActivationCodesByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/user-activation-codes/${queryArg.id}`, + }), + providesTags: ["UserActivationCode"], + }), + deleteV2UserActivationCodesById: build.mutation< + DeleteV2UserActivationCodesByIdApiResponse, + DeleteV2UserActivationCodesByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/user-activation-codes/${queryArg.id}`, + method: "DELETE", + }), + invalidatesTags: ["UserActivationCode"], + }), + }), + overrideExisting: false, + }); +export { injectedRtkApi as api }; +export type GetOidcAuthTokenItemApiResponse = + /** status 200 Get JWT token from OIDC code */ TokenRead; +export type GetOidcAuthTokenItemApiArg = { + /** OIDC state */ + state?: string; + /** OIDC code */ + code?: string; +}; +export type GetOidcAuthUrlsItemApiResponse = + /** status 200 Get authentication and end session endpoints */ OidcEndpoints; +export type GetOidcAuthUrlsItemApiArg = { + /** The key for the provider to use. Leave out to use the default provider */ + providerKey?: string; +}; +export type PostLoginInfoScreenApiResponse = + /** status 200 Login with bindKey to get JWT token for screen */ ScreenLoginOutputRead; +export type PostLoginInfoScreenApiArg = { + /** Get login info with JWT token for given nonce */ + screenLoginInput: ScreenLoginInput; +}; +export type PostRefreshTokenItemApiResponse = + /** status 200 Refresh JWT token */ RefreshTokenResponseRead; +export type PostRefreshTokenItemApiArg = { + /** Refresh JWT Token */ + refreshTokenRequest: RefreshTokenRequest; +}; +export type GetV2FeedSourcesApiResponse = /** status 200 OK */ Blob; +export type GetV2FeedSourcesApiArg = { + page?: number; + /** The number of items per page */ + itemsPerPage?: string; + supportedFeedOutputType?: string; + title?: string; + description?: string; + createdBy?: string; + modifiedBy?: string; + order?: { + title?: "asc" | "desc"; + description?: "asc" | "desc"; + createdAt?: "asc" | "desc"; + modifiedAt?: "asc" | "desc"; + }; +}; +export type PostV2FeedSourcesApiResponse = + /** status 201 FeedSource resource created */ FeedSourceFeedSourceJsonldRead; +export type PostV2FeedSourcesApiArg = { + /** The new FeedSource resource */ + feedSourceFeedSourceInputJsonld: FeedSourceFeedSourceInputJsonld; +}; +export type GetV2FeedSourcesByIdApiResponse = /** status 200 OK */ Blob; +export type GetV2FeedSourcesByIdApiArg = { + id: string; +}; +export type PutV2FeedSourcesByIdApiResponse = + /** status 200 FeedSource resource updated */ FeedSourceFeedSourceJsonldRead; +export type PutV2FeedSourcesByIdApiArg = { + id: string; + /** The updated FeedSource resource */ + feedSourceFeedSourceInputJsonld: FeedSourceFeedSourceInputJsonld; +}; +export type DeleteV2FeedSourcesByIdApiResponse = unknown; +export type DeleteV2FeedSourcesByIdApiArg = { + id: string; +}; +export type GetV2FeedSourcesByIdConfigAndNameApiResponse = + /** status 200 undefined */ Blob; +export type GetV2FeedSourcesByIdConfigAndNameApiArg = { + id: string; + name: string; +}; +export type GetV2FeedSourcesByIdSlidesApiResponse = /** status 200 OK */ Blob; +export type GetV2FeedSourcesByIdSlidesApiArg = { + id: string; + page: number; + /** The number of items per page */ + itemsPerPage?: string; + title?: string; + description?: string; + createdBy?: string; + modifiedBy?: string; + /** If true only published content will be shown */ + published?: boolean; + order?: { + title?: "asc" | "desc"; + description?: "asc" | "desc"; + createdAt?: "asc" | "desc"; + modifiedAt?: "asc" | "desc"; + }; +}; +export type GetV2FeedsApiResponse = /** status 200 OK */ Blob; +export type GetV2FeedsApiArg = { + page?: number; + /** The number of items per page */ + itemsPerPage?: string; + createdBy?: string; + modifiedBy?: string; + order?: { + createdAt?: "asc" | "desc"; + modifiedAt?: "asc" | "desc"; + }; +}; +export type GetV2FeedsByIdApiResponse = /** status 200 OK */ Blob; +export type GetV2FeedsByIdApiArg = { + id: string; +}; +export type GetV2FeedsByIdDataApiResponse = /** status 200 undefined */ Blob; +export type GetV2FeedsByIdDataApiArg = { + id: string; +}; +export type GetV2LayoutsApiResponse = /** status 200 OK */ Blob; +export type GetV2LayoutsApiArg = { + page?: number; + /** The number of items per page */ + itemsPerPage?: number; +}; +export type GetV2LayoutsByIdApiResponse = /** status 200 OK */ Blob; +export type GetV2LayoutsByIdApiArg = { + id: string; +}; +export type LoginCheckPostApiResponse = /** status 200 User token created */ { + token: string; +}; +export type LoginCheckPostApiArg = { + /** The login data */ + body: { + providerId: string; + password: string; + }; +}; +export type GetV2MediaApiResponse = /** status 200 OK */ Blob; +export type GetV2MediaApiArg = { + page?: number; + /** The number of items per page */ + itemsPerPage?: string; + title?: string; + description?: string; + createdBy?: string; + modifiedBy?: string; + order?: { + title?: "asc" | "desc"; + description?: "asc" | "desc"; + createdAt?: "asc" | "desc"; + modifiedAt?: "asc" | "desc"; + }; +}; +export type PostMediaCollectionApiResponse = + /** status 201 Media resource created */ MediaMediaJsonldRead; +export type PostMediaCollectionApiArg = { + body: { + title: string; + description: string; + license: string; + file: Blob; + }; +}; +export type Getv2MediaByIdApiResponse = /** status 200 OK */ Blob; +export type Getv2MediaByIdApiArg = { + id: string; +}; +export type DeleteV2MediaByIdApiResponse = unknown; +export type DeleteV2MediaByIdApiArg = { + id: string; +}; +export type GetV2CampaignsByIdScreenGroupsApiResponse = + /** status 200 ScreenGroupCampaign collection */ { + "hydra:member": ScreenGroupCampaignJsonldCampaignsScreenGroupsReadRead[]; + "hydra:totalItems"?: number; + "hydra:view"?: { + "@id"?: string; + "@type"?: string; + "hydra:first"?: string; + "hydra:last"?: string; + "hydra:previous"?: string; + "hydra:next"?: string; + }; + "hydra:search"?: { + "@type"?: string; + "hydra:template"?: string; + "hydra:variableRepresentation"?: string; + "hydra:mapping"?: { + "@type"?: string; + variable?: string; + property?: string | null; + required?: boolean; + }[]; + }; + }; +export type GetV2CampaignsByIdScreenGroupsApiArg = { + id: string; + page?: number; + /** The number of items per page */ + itemsPerPage?: string; +}; +export type GetV2CampaignsByIdScreensApiResponse = + /** status 200 ScreenCampaign collection */ { + "hydra:member": ScreenCampaignJsonldCampaignsScreensReadRead[]; + "hydra:totalItems"?: number; + "hydra:view"?: { + "@id"?: string; + "@type"?: string; + "hydra:first"?: string; + "hydra:last"?: string; + "hydra:previous"?: string; + "hydra:next"?: string; + }; + "hydra:search"?: { + "@type"?: string; + "hydra:template"?: string; + "hydra:variableRepresentation"?: string; + "hydra:mapping"?: { + "@type"?: string; + variable?: string; + property?: string | null; + required?: boolean; + }[]; + }; + }; +export type GetV2CampaignsByIdScreensApiArg = { + id: string; + page?: number; + /** The number of items per page */ + itemsPerPage?: string; +}; +export type GetV2PlaylistsApiResponse = /** status 200 OK */ Blob; +export type GetV2PlaylistsApiArg = { + page: number; + /** The number of items per page */ + itemsPerPage?: number; + title?: string; + description?: string; + createdBy?: string; + modifiedBy?: string; + /** If true only published content will be shown */ + published?: boolean; + /** If true only campaigns will be shown */ + isCampaign?: boolean; + order?: { + title?: "asc" | "desc"; + description?: "asc" | "desc"; + createdAt?: "asc" | "desc"; + modifiedAt?: "asc" | "desc"; + }; + /** If true only entities that are shared with me will be shown */ + sharedWithMe?: boolean; +}; +export type PostV2PlaylistsApiResponse = + /** status 201 Playlist resource created */ PlaylistPlaylistJsonldRead; +export type PostV2PlaylistsApiArg = { + /** The new Playlist resource */ + playlistPlaylistInputJsonld: PlaylistPlaylistInputJsonld; +}; +export type GetV2PlaylistsByIdApiResponse = /** status 200 OK */ Blob; +export type GetV2PlaylistsByIdApiArg = { + id: string; +}; +export type PutV2PlaylistsByIdApiResponse = + /** status 200 Playlist resource updated */ PlaylistPlaylistJsonldRead; +export type PutV2PlaylistsByIdApiArg = { + id: string; + /** The updated Playlist resource */ + playlistPlaylistInputJsonld: PlaylistPlaylistInputJsonld; +}; +export type DeleteV2PlaylistsByIdApiResponse = unknown; +export type DeleteV2PlaylistsByIdApiArg = { + id: string; +}; +export type GetV2PlaylistsByIdSlidesApiResponse = /** status 200 OK */ Blob; +export type GetV2PlaylistsByIdSlidesApiArg = { + id: string; + page: number; + /** The number of items per page */ + itemsPerPage?: string; + /** If true only published content will be shown */ + published?: boolean; +}; +export type PutV2PlaylistsByIdSlidesApiResponse = /** status 201 Created */ { + slide?: string; + playlist?: string; + weight?: number; +}[]; +export type PutV2PlaylistsByIdSlidesApiArg = { + /** PlaylistSlide identifier */ + id: string; + body: { + /** Slide ULID */ + slide?: string; + weight?: number; + }[]; +}; +export type DeleteV2PlaylistsByIdSlidesAndSlideIdApiResponse = unknown; +export type DeleteV2PlaylistsByIdSlidesAndSlideIdApiArg = { + id: string; + slideId: string; +}; +export type GetV2SlidesByIdPlaylistsApiResponse = /** status 200 OK */ Blob; +export type GetV2SlidesByIdPlaylistsApiArg = { + id: string; + page?: number; + /** The number of items per page */ + itemsPerPage?: string; + /** If true only published content will be shown */ + published?: boolean; +}; +export type PutV2SlidesByIdPlaylistsApiResponse = + /** status 200 PlaylistSlide resource updated */ PlaylistSlidePlaylistSlideJsonldRead; +export type PutV2SlidesByIdPlaylistsApiArg = { + id: string; + body: { + /** Playlist ULID */ + playlist?: string; + }[]; +}; +export type GetScreenGroupCampaignItemApiResponse = + /** status 200 ScreenGroupCampaign resource */ ScreenGroupCampaignJsonldRead; +export type GetScreenGroupCampaignItemApiArg = { + /** ScreenGroupCampaign identifier */ + id: string; +}; +export type GetV2ScreenGroupsApiResponse = /** status 200 OK */ Blob; +export type GetV2ScreenGroupsApiArg = { + page?: number; + /** The number of items per page */ + itemsPerPage?: string; + title?: string; + description?: string; + createdBy?: string; + modifiedBy?: string; + order?: { + title?: "asc" | "desc"; + description?: "asc" | "desc"; + createdAt?: "asc" | "desc"; + }; +}; +export type PostV2ScreenGroupsApiResponse = + /** status 201 ScreenGroup resource created */ ScreenGroupScreenGroupJsonldRead; +export type PostV2ScreenGroupsApiArg = { + /** The new ScreenGroup resource */ + screenGroupScreenGroupInputJsonld: ScreenGroupScreenGroupInputJsonld; +}; +export type GetV2ScreenGroupsByIdApiResponse = /** status 200 OK */ Blob; +export type GetV2ScreenGroupsByIdApiArg = { + id: string; +}; +export type PutV2ScreenGroupsByIdApiResponse = + /** status 200 ScreenGroup resource updated */ ScreenGroupScreenGroupJsonldRead; +export type PutV2ScreenGroupsByIdApiArg = { + id: string; + /** The updated ScreenGroup resource */ + screenGroupScreenGroupInputJsonld: ScreenGroupScreenGroupInputJsonld; +}; +export type DeleteV2ScreenGroupsByIdApiResponse = unknown; +export type DeleteV2ScreenGroupsByIdApiArg = { + id: string; +}; +export type GetV2ScreenGroupsByIdCampaignsApiResponse = + /** status 200 OK */ Blob; +export type GetV2ScreenGroupsByIdCampaignsApiArg = { + id: string; + page: number; + /** The number of items per page */ + itemsPerPage?: string; + /** If true only published content will be shown */ + published?: boolean; +}; +export type PutV2ScreenGroupsByIdCampaignsApiResponse = + /** status 201 Created */ { + playlist?: string; + "screen-group"?: string; + }[]; +export type PutV2ScreenGroupsByIdCampaignsApiArg = { + /** ScreenGroupCampaign identifier */ + id: string; + body: { + /** Screen group ULID */ + screenGroup?: string; + }[]; +}; +export type DeleteV2ScreenGroupsByIdCampaignsAndCampaignIdApiResponse = unknown; +export type DeleteV2ScreenGroupsByIdCampaignsAndCampaignIdApiArg = { + id: string; + campaignId: string; +}; +export type GetV2ScreenGroupsByIdScreensApiResponse = + /** status 200 ScreenGroup collection */ { + "hydra:member": ScreenGroupJsonldScreenGroupsScreensReadRead[]; + "hydra:totalItems"?: number; + "hydra:view"?: { + "@id"?: string; + "@type"?: string; + "hydra:first"?: string; + "hydra:last"?: string; + "hydra:previous"?: string; + "hydra:next"?: string; + }; + "hydra:search"?: { + "@type"?: string; + "hydra:template"?: string; + "hydra:variableRepresentation"?: string; + "hydra:mapping"?: { + "@type"?: string; + variable?: string; + property?: string | null; + required?: boolean; + }[]; + }; + }; +export type GetV2ScreenGroupsByIdScreensApiArg = { + id: string; + page?: number; + /** The number of items per page */ + itemsPerPage?: string; +}; +export type GetV2ScreensApiResponse = /** status 200 OK */ Blob; +export type GetV2ScreensApiArg = { + page?: number; + /** The number of items per page */ + itemsPerPage?: string; + /** Search on both location and title */ + search?: string; + exists?: { + screenUser?: boolean; + }; + "screenUser.latestRequest"?: { + before?: string; + strictly_before?: string; + after?: string; + strictly_after?: string; + }; + createdBy?: string; + modifiedBy?: string; + order?: { + title?: "asc" | "desc"; + description?: "asc" | "desc"; + createdAt?: "asc" | "desc"; + modifiedAt?: "asc" | "desc"; + }; +}; +export type PostV2ScreensApiResponse = + /** status 201 Screen resource created */ ScreenScreenJsonldRead; +export type PostV2ScreensApiArg = { + /** The new Screen resource */ + screenScreenInputJsonld: ScreenScreenInputJsonld; +}; +export type GetV2ScreensByIdApiResponse = /** status 200 OK */ Blob; +export type GetV2ScreensByIdApiArg = { + id: string; +}; +export type PutV2ScreensByIdApiResponse = + /** status 200 Screen resource updated */ ScreenScreenJsonldRead; +export type PutV2ScreensByIdApiArg = { + id: string; + /** The updated Screen resource */ + screenScreenInputJsonld: ScreenScreenInputJsonld; +}; +export type DeleteV2ScreensByIdApiResponse = unknown; +export type DeleteV2ScreensByIdApiArg = { + id: string; +}; +export type PostScreenBindKeyApiResponse = unknown; +export type PostScreenBindKeyApiArg = { + /** The screen id */ + id: string; + /** Bind the screen with the bind key */ + screenBindObject: ScreenBindObject; +}; +export type GetV2ScreensByIdCampaignsApiResponse = /** status 200 OK */ Blob; +export type GetV2ScreensByIdCampaignsApiArg = { + id: string; + page: number; + /** The number of items per page */ + itemsPerPage?: string; + /** If true only published content will be shown */ + published?: boolean; +}; +export type PutV2ScreensByIdCampaignsApiResponse = /** status 201 Created */ { + playlist?: string; + screen?: string; +}[]; +export type PutV2ScreensByIdCampaignsApiArg = { + /** ScreenCampaign identifier */ + id: string; + body: { + /** Screen ULID */ + screen?: string; + }[]; +}; +export type DeleteV2ScreensByIdCampaignsAndCampaignIdApiResponse = unknown; +export type DeleteV2ScreensByIdCampaignsAndCampaignIdApiArg = { + id: string; + campaignId: string; +}; +export type GetV2ScreensByIdRegionsAndRegionIdPlaylistsApiResponse = + /** status 200 PlaylistScreenRegion collection */ { + "hydra:member": PlaylistScreenRegionJsonldPlaylistScreenRegionReadRead[]; + "hydra:totalItems"?: number; + "hydra:view"?: { + "@id"?: string; + "@type"?: string; + "hydra:first"?: string; + "hydra:last"?: string; + "hydra:previous"?: string; + "hydra:next"?: string; + }; + "hydra:search"?: { + "@type"?: string; + "hydra:template"?: string; + "hydra:variableRepresentation"?: string; + "hydra:mapping"?: { + "@type"?: string; + variable?: string; + property?: string | null; + required?: boolean; + }[]; + }; + }; +export type GetV2ScreensByIdRegionsAndRegionIdPlaylistsApiArg = { + id: string; + regionId: string; + page: number; + /** The number of items per page */ + itemsPerPage?: string; + /** If true only entities that are shared with me will be shown */ + sharedWithMe?: boolean; +}; +export type PutPlaylistScreenRegionItemApiResponse = unknown; +export type PutPlaylistScreenRegionItemApiArg = { + id: string; + regionId: string; + body: { + /** Playlist ULID */ + playlist?: string; + weight?: number; + }[]; +}; +export type DeletePlaylistScreenRegionItemApiResponse = unknown; +export type DeletePlaylistScreenRegionItemApiArg = { + id: string; + regionId: string; + playlistId: string; +}; +export type GetV2ScreensByIdScreenGroupsApiResponse = + /** status 200 ScreenGroup collection */ { + "hydra:member": ScreenGroupScreenGroupJsonldScreensScreenGroupsReadRead[]; + "hydra:totalItems"?: number; + "hydra:view"?: { + "@id"?: string; + "@type"?: string; + "hydra:first"?: string; + "hydra:last"?: string; + "hydra:previous"?: string; + "hydra:next"?: string; + }; + "hydra:search"?: { + "@type"?: string; + "hydra:template"?: string; + "hydra:variableRepresentation"?: string; + "hydra:mapping"?: { + "@type"?: string; + variable?: string; + property?: string | null; + required?: boolean; + }[]; + }; + }; +export type GetV2ScreensByIdScreenGroupsApiArg = { + id: string; + page: number; + /** The number of items per page */ + itemsPerPage?: string; + order?: { + title?: "asc" | "desc"; + description?: "asc" | "desc"; + }; +}; +export type PutV2ScreensByIdScreenGroupsApiResponse = /** status 200 OK */ Blob; +export type PutV2ScreensByIdScreenGroupsApiArg = { + id: string; + body: string[]; +}; +export type DeleteV2ScreensByIdScreenGroupsAndScreenGroupIdApiResponse = + unknown; +export type DeleteV2ScreensByIdScreenGroupsAndScreenGroupIdApiArg = { + id: string; + screenGroupId: string; +}; +export type PostScreenUnbindApiResponse = unknown; +export type PostScreenUnbindApiArg = { + /** The screen id */ + id: string; + /** Unbind from machine */ + body: string; +}; +export type GetV2SlidesApiResponse = /** status 200 OK */ Blob; +export type GetV2SlidesApiArg = { + page?: number; + /** The number of items per page */ + itemsPerPage?: string; + title?: string; + description?: string; + createdBy?: string; + modifiedBy?: string; + /** If true only published content will be shown */ + published?: boolean; + order?: { + title?: "asc" | "desc"; + description?: "asc" | "desc"; + createdAt?: "asc" | "desc"; + modifiedAt?: "asc" | "desc"; + }; +}; +export type PostV2SlidesApiResponse = + /** status 201 Slide resource created */ SlideSlideJsonldRead; +export type PostV2SlidesApiArg = { + /** The new Slide resource */ + slideSlideInputJsonld: SlideSlideInputJsonld; +}; +export type GetV2SlidesByIdApiResponse = /** status 200 OK */ Blob; +export type GetV2SlidesByIdApiArg = { + id: string; +}; +export type PutV2SlidesByIdApiResponse = + /** status 200 Slide resource updated */ SlideSlideJsonldRead; +export type PutV2SlidesByIdApiArg = { + id: string; + /** The updated Slide resource */ + slideSlideInputJsonld: SlideSlideInputJsonld; +}; +export type DeleteV2SlidesByIdApiResponse = unknown; +export type DeleteV2SlidesByIdApiArg = { + id: string; +}; +export type ApiSlidePerformActionApiResponse = + /** status 201 Slide resource created */ SlideSlideJsonldRead; +export type ApiSlidePerformActionApiArg = { + id: string; + /** The new Slide resource */ + slideInteractiveSlideActionInputJsonld: SlideInteractiveSlideActionInputJsonld; +}; +export type GetV2TemplatesApiResponse = /** status 200 OK */ Blob; +export type GetV2TemplatesApiArg = { + page?: number; + /** The number of items per page */ + itemsPerPage?: string; + title?: string; + createdBy?: string; + modifiedBy?: string; + order?: { + createdAt?: "asc" | "desc"; + modifiedAt?: "asc" | "desc"; + }; +}; +export type GetV2TemplatesByIdApiResponse = /** status 200 OK */ Blob; +export type GetV2TemplatesByIdApiArg = { + id: string; +}; +export type GetV2TenantsApiResponse = /** status 200 OK */ Blob; +export type GetV2TenantsApiArg = { + page?: number; + /** The number of items per page */ + itemsPerPage?: string; + title?: string; + description?: string; + createdBy?: string; + modifiedBy?: string; +}; +export type GetV2TenantsByIdApiResponse = /** status 200 OK */ Blob; +export type GetV2TenantsByIdApiArg = { + id: string; +}; +export type GetV2ThemesApiResponse = /** status 200 OK */ Blob; +export type GetV2ThemesApiArg = { + page?: number; + /** The number of items per page */ + itemsPerPage?: string; + title?: string; + description?: string; + createdBy?: string; + modifiedBy?: string; + order?: { + title?: "asc" | "desc"; + description?: "asc" | "desc"; + createdAt?: "asc" | "desc"; + modifiedAt?: "asc" | "desc"; + }; +}; +export type PostV2ThemesApiResponse = + /** status 201 Theme resource created */ ThemeThemeJsonldRead; +export type PostV2ThemesApiArg = { + /** The new Theme resource */ + themeThemeInputJsonld: ThemeThemeInputJsonld; +}; +export type GetV2ThemesByIdApiResponse = /** status 200 OK */ Blob; +export type GetV2ThemesByIdApiArg = { + id: string; +}; +export type PutV2ThemesByIdApiResponse = + /** status 200 Theme resource updated */ ThemeThemeJsonldRead; +export type PutV2ThemesByIdApiArg = { + id: string; + /** The updated Theme resource */ + themeThemeInputJsonld: ThemeThemeInputJsonld; +}; +export type DeleteV2ThemesByIdApiResponse = unknown; +export type DeleteV2ThemesByIdApiArg = { + id: string; +}; +export type GetV2UsersApiResponse = /** status 200 OK */ Blob; +export type GetV2UsersApiArg = { + page?: number; + /** The number of items per page */ + itemsPerPage?: string; + fullName?: string; + email?: string; + createdBy?: string; + modifiedBy?: string; + order?: { + createdAt?: "asc" | "desc"; + }; +}; +export type PostV2UsersApiResponse = + /** status 201 User resource created */ UserUserJsonldRead; +export type PostV2UsersApiArg = { + id: string; + /** The new User resource */ + userUserInputJsonld: UserUserInputJsonld; +}; +export type GetV2UsersByIdApiResponse = /** status 200 OK */ Blob; +export type GetV2UsersByIdApiArg = { + id: string; +}; +export type PutV2UsersByIdApiResponse = + /** status 200 User resource updated */ UserUserJsonldRead; +export type PutV2UsersByIdApiArg = { + id: string; + /** The updated User resource */ + userUserInputJsonld: UserUserInputJsonld; +}; +export type DeleteV2UsersByIdApiResponse = unknown; +export type DeleteV2UsersByIdApiArg = { + id: string; +}; +export type DeleteV2UsersByIdRemoveFromTenantApiResponse = unknown; +export type DeleteV2UsersByIdRemoveFromTenantApiArg = { + id: string; +}; +export type GetV2UserActivationCodesApiResponse = + /** status 200 UserActivationCode collection */ { + "hydra:member": UserActivationCodeUserActivationCodeJsonldRead[]; + "hydra:totalItems"?: number; + "hydra:view"?: { + "@id"?: string; + "@type"?: string; + "hydra:first"?: string; + "hydra:last"?: string; + "hydra:previous"?: string; + "hydra:next"?: string; + }; + "hydra:search"?: { + "@type"?: string; + "hydra:template"?: string; + "hydra:variableRepresentation"?: string; + "hydra:mapping"?: { + "@type"?: string; + variable?: string; + property?: string | null; + required?: boolean; + }[]; + }; + }; +export type GetV2UserActivationCodesApiArg = { + /** The collection page number */ + page?: number; + /** The number of items per page */ + itemsPerPage?: number; +}; +export type PostV2UserActivationCodesApiResponse = + /** status 201 UserActivationCode resource created */ UserActivationCodeUserActivationCodeJsonldRead; +export type PostV2UserActivationCodesApiArg = { + /** The new UserActivationCode resource */ + userActivationCodeUserActivationCodeInputJsonld: UserActivationCodeUserActivationCodeInputJsonld; +}; +export type PostV2UserActivationCodesActivateApiResponse = + /** status 201 UserActivationCode resource created */ UserActivationCodeUserActivationCodeJsonldRead; +export type PostV2UserActivationCodesActivateApiArg = { + /** The new UserActivationCode resource */ + userActivationCodeActivationCodeJsonld: UserActivationCodeActivationCodeJsonld; +}; +export type PostV2UserActivationCodesRefreshApiResponse = + /** status 201 UserActivationCode resource created */ UserActivationCodeUserActivationCodeJsonldRead; +export type PostV2UserActivationCodesRefreshApiArg = { + /** The new UserActivationCode resource */ + userActivationCodeActivationCodeJsonld: UserActivationCodeActivationCodeJsonld; +}; +export type GetV2UserActivationCodesByIdApiResponse = + /** status 200 UserActivationCode resource */ UserActivationCodeJsonldRead; +export type GetV2UserActivationCodesByIdApiArg = { + /** UserActivationCode identifier */ + id: string; +}; +export type DeleteV2UserActivationCodesByIdApiResponse = unknown; +export type DeleteV2UserActivationCodesByIdApiArg = { + /** UserActivationCode identifier */ + id: string; +}; +export type Token = {}; +export type TokenRead = { + token?: string; + refresh_token?: string; + refresh_token_expiration?: any; + tenants?: { + tenantKey?: string; + title?: string; + description?: string; + roles?: string[]; + }[]; + user?: { + fullname?: string; + email?: string; + }; +}; +export type OidcEndpoints = { + authorizationUrl?: string; + endSessionUrl?: string; +}; +export type ScreenLoginOutput = {}; +export type ScreenLoginOutputRead = { + bindKey?: string; + token?: string; +}; +export type ScreenLoginInput = object; +export type RefreshTokenResponse = {}; +export type RefreshTokenResponseRead = { + token?: string; + refresh_token?: string; +}; +export type RefreshTokenRequest = { + refresh_token?: string; +}; +export type FeedSourceFeedSourceJsonld = { + title?: string; + description?: string; + outputType?: string; + feedType?: string; + secrets?: string[]; + feeds?: string[]; + admin?: string[]; + supportedFeedOutputType?: string; + modifiedBy?: string; + createdBy?: string; + id?: string; + created?: string; + modified?: string; +}; +export type FeedSourceFeedSourceJsonldRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; + title?: string; + description?: string; + outputType?: string; + feedType?: string; + secrets?: string[]; + feeds?: string[]; + admin?: string[]; + supportedFeedOutputType?: string; + modifiedBy?: string; + createdBy?: string; + id?: string; + created?: string; + modified?: string; +}; +export type FeedSourceFeedSourceInputJsonld = { + title?: string; + description?: string; + outputType?: string; + feedType?: string; + secrets?: string[]; + feeds?: string[]; + supportedFeedOutputType?: string; +}; +export type CollectionJsonld = {}; +export type CollectionJsonldRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; + /** Checks whether the collection is empty (contains no elements). */ + empty?: boolean; + /** Gets all keys/indices of the collection. */ + keys?: number[] | string[]; + /** Gets all values of the collection. */ + values?: string[]; + iterator?: any; +}; +export type MediaMediaJsonld = { + title?: string; + description?: string; + license?: string; + media?: CollectionJsonld; + assets?: string[]; + thumbnail?: string | null; + modifiedBy?: string; + createdBy?: string; + id?: string; + created?: string; + modified?: string; +}; +export type MediaMediaJsonldRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; + title?: string; + description?: string; + license?: string; + media?: CollectionJsonldRead; + assets?: string[]; + thumbnail?: string | null; + modifiedBy?: string; + createdBy?: string; + id?: string; + created?: string; + modified?: string; +}; +export type CollectionJsonldCampaignsScreenGroupsRead = {}; +export type CollectionJsonldCampaignsScreenGroupsReadRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; +}; +export type PlaylistJsonldCampaignsScreenGroupsRead = { + title?: string; + description?: string; + schedules?: string[] | null; + slides?: string; + campaignScreens?: CollectionJsonldCampaignsScreenGroupsRead | null; + campaignScreenGroups?: CollectionJsonldCampaignsScreenGroupsRead | null; + tenants?: CollectionJsonldCampaignsScreenGroupsRead | null; + isCampaign?: boolean; + published?: string[]; + relationsChecksum?: object; +}; +export type PlaylistJsonldCampaignsScreenGroupsReadRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; + title?: string; + description?: string; + schedules?: string[] | null; + slides?: string; + campaignScreens?: CollectionJsonldCampaignsScreenGroupsReadRead | null; + campaignScreenGroups?: CollectionJsonldCampaignsScreenGroupsReadRead | null; + tenants?: CollectionJsonldCampaignsScreenGroupsReadRead | null; + isCampaign?: boolean; + published?: string[]; + relationsChecksum?: object; +}; +export type ScreenGroupJsonldCampaignsScreenGroupsRead = { + title?: string; + description?: string; + campaigns?: string; + screens?: string; + relationsChecksum?: object; +}; +export type ScreenGroupJsonldCampaignsScreenGroupsReadRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; + title?: string; + description?: string; + campaigns?: string; + screens?: string; + relationsChecksum?: object; +}; +export type ScreenGroupCampaignJsonldCampaignsScreenGroupsRead = { + campaign?: PlaylistJsonldCampaignsScreenGroupsRead; + screenGroup?: ScreenGroupJsonldCampaignsScreenGroupsRead; + relationsChecksum?: object; +}; +export type ScreenGroupCampaignJsonldCampaignsScreenGroupsReadRead = { + "@id"?: string; + "@type"?: string; + campaign?: PlaylistJsonldCampaignsScreenGroupsReadRead; + screenGroup?: ScreenGroupJsonldCampaignsScreenGroupsReadRead; + relationsChecksum?: object; +}; +export type CollectionJsonldCampaignsScreensRead = {}; +export type CollectionJsonldCampaignsScreensReadRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; +}; +export type PlaylistJsonldCampaignsScreensRead = { + title?: string; + description?: string; + schedules?: string[] | null; + slides?: string; + campaignScreens?: CollectionJsonldCampaignsScreensRead | null; + campaignScreenGroups?: CollectionJsonldCampaignsScreensRead | null; + tenants?: CollectionJsonldCampaignsScreensRead | null; + isCampaign?: boolean; + published?: string[]; + relationsChecksum?: object; +}; +export type PlaylistJsonldCampaignsScreensReadRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; + title?: string; + description?: string; + schedules?: string[] | null; + slides?: string; + campaignScreens?: CollectionJsonldCampaignsScreensReadRead | null; + campaignScreenGroups?: CollectionJsonldCampaignsScreensReadRead | null; + tenants?: CollectionJsonldCampaignsScreensReadRead | null; + isCampaign?: boolean; + published?: string[]; + relationsChecksum?: object; +}; +export type ScreenJsonldCampaignsScreensRead = { + title?: string; + description?: string; + size?: string; + campaigns?: string; + layout?: string; + orientation?: string; + resolution?: string; + location?: string; + regions?: string[]; + inScreenGroups?: string; + screenUser?: string | null; + enableColorSchemeChange?: boolean | null; + status?: string[] | null; + relationsChecksum?: object; +}; +export type ScreenJsonldCampaignsScreensReadRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; + title?: string; + description?: string; + size?: string; + campaigns?: string; + layout?: string; + orientation?: string; + resolution?: string; + location?: string; + regions?: string[]; + inScreenGroups?: string; + screenUser?: string | null; + enableColorSchemeChange?: boolean | null; + status?: string[] | null; + relationsChecksum?: object; +}; +export type ScreenCampaignJsonldCampaignsScreensRead = { + campaign?: PlaylistJsonldCampaignsScreensRead; + screen?: ScreenJsonldCampaignsScreensRead; + relationsChecksum?: object; +}; +export type ScreenCampaignJsonldCampaignsScreensReadRead = { + "@id"?: string; + "@type"?: string; + campaign?: PlaylistJsonldCampaignsScreensReadRead; + screen?: ScreenJsonldCampaignsScreensReadRead; + relationsChecksum?: object; +}; +export type PlaylistPlaylistJsonld = { + title?: string; + description?: string; + schedules?: string[] | null; + slides?: string; + campaignScreens?: CollectionJsonld | null; + campaignScreenGroups?: CollectionJsonld | null; + tenants?: CollectionJsonld | null; + isCampaign?: boolean; + published?: string[]; + modifiedBy?: string; + createdBy?: string; + id?: string; + created?: string; + modified?: string; + relationsChecksum?: object; +}; +export type PlaylistPlaylistJsonldRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; + title?: string; + description?: string; + schedules?: string[] | null; + slides?: string; + campaignScreens?: CollectionJsonldRead | null; + campaignScreenGroups?: CollectionJsonldRead | null; + tenants?: CollectionJsonldRead | null; + isCampaign?: boolean; + published?: string[]; + modifiedBy?: string; + createdBy?: string; + id?: string; + created?: string; + modified?: string; + relationsChecksum?: object; +}; +export type PlaylistPlaylistInputJsonld = { + title?: string; + description?: string; + schedules?: string[]; + tenants?: string[]; + isCampaign?: boolean; + published?: string[]; +}; +export type PlaylistSlidePlaylistSlideJsonld = { + slide?: string; + playlist?: string; + weight?: number; + id?: string; + relationsChecksum?: object; +}; +export type PlaylistSlidePlaylistSlideJsonldRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; + slide?: string; + playlist?: string; + weight?: number; + id?: string; + relationsChecksum?: object; +}; +export type ScreenGroupCampaignJsonld = { + campaign?: string; + screenGroup?: string; + id?: string; + relationsChecksum?: object; +}; +export type ScreenGroupCampaignJsonldRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; + campaign?: string; + screenGroup?: string; + id?: string; + relationsChecksum?: object; +}; +export type ScreenGroupScreenGroupJsonld = { + title?: string; + description?: string; + campaigns?: string; + screens?: string; + modifiedBy?: string; + createdBy?: string; + id?: string; + created?: string; + modified?: string; + relationsChecksum?: object; +}; +export type ScreenGroupScreenGroupJsonldRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; + title?: string; + description?: string; + campaigns?: string; + screens?: string; + modifiedBy?: string; + createdBy?: string; + id?: string; + created?: string; + modified?: string; + relationsChecksum?: object; +}; +export type ScreenGroupScreenGroupInputJsonld = { + title?: string; + description?: string; +}; +export type ScreenGroupJsonldScreenGroupsScreensRead = { + relationsChecksum?: object; +}; +export type ScreenGroupJsonldScreenGroupsScreensReadRead = { + "@id"?: string; + "@type"?: string; + relationsChecksum?: object; +}; +export type ScreenScreenJsonld = { + title?: string; + description?: string; + size?: string; + campaigns?: string; + layout?: string; + orientation?: string; + resolution?: string; + location?: string; + regions?: string[]; + inScreenGroups?: string; + screenUser?: string | null; + enableColorSchemeChange?: boolean | null; + status?: string[] | null; + modifiedBy?: string; + createdBy?: string; + id?: string; + created?: string; + modified?: string; + relationsChecksum?: object; +}; +export type ScreenScreenJsonldRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; + title?: string; + description?: string; + size?: string; + campaigns?: string; + layout?: string; + orientation?: string; + resolution?: string; + location?: string; + regions?: string[]; + inScreenGroups?: string; + screenUser?: string | null; + enableColorSchemeChange?: boolean | null; + status?: string[] | null; + modifiedBy?: string; + createdBy?: string; + id?: string; + created?: string; + modified?: string; + relationsChecksum?: object; +}; +export type ScreenScreenInputJsonld = { + title?: string; + description?: string; + size?: string; + layout?: string; + location?: string; + resolution?: string; + orientation?: string; + enableColorSchemeChange?: boolean | null; + regions?: string[] | null; + groups?: string[] | null; +}; +export type ScreenBindObject = { + bindKey?: string; +}; +export type CollectionJsonldPlaylistScreenRegionRead = {}; +export type CollectionJsonldPlaylistScreenRegionReadRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; +}; +export type PlaylistJsonldPlaylistScreenRegionRead = { + title?: string; + description?: string; + schedules?: string[] | null; + slides?: string; + campaignScreens?: CollectionJsonldPlaylistScreenRegionRead | null; + campaignScreenGroups?: CollectionJsonldPlaylistScreenRegionRead | null; + tenants?: CollectionJsonldPlaylistScreenRegionRead | null; + isCampaign?: boolean; + published?: string[]; + relationsChecksum?: object; +}; +export type PlaylistJsonldPlaylistScreenRegionReadRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; + title?: string; + description?: string; + schedules?: string[] | null; + slides?: string; + campaignScreens?: CollectionJsonldPlaylistScreenRegionReadRead | null; + campaignScreenGroups?: CollectionJsonldPlaylistScreenRegionReadRead | null; + tenants?: CollectionJsonldPlaylistScreenRegionReadRead | null; + isCampaign?: boolean; + published?: string[]; + relationsChecksum?: object; +}; +export type PlaylistScreenRegionJsonldPlaylistScreenRegionRead = { + playlist?: PlaylistJsonldPlaylistScreenRegionRead; + weight?: number; + relationsChecksum?: object; +}; +export type PlaylistScreenRegionJsonldPlaylistScreenRegionReadRead = { + "@id"?: string; + "@type"?: string; + playlist?: PlaylistJsonldPlaylistScreenRegionReadRead; + weight?: number; + relationsChecksum?: object; +}; +export type ScreenGroupScreenGroupJsonldScreensScreenGroupsRead = { + title?: string; + description?: string; + campaigns?: string; + screens?: string; + relationsChecksum?: object; +}; +export type ScreenGroupScreenGroupJsonldScreensScreenGroupsReadRead = { + "@id"?: string; + "@type"?: string; + title?: string; + description?: string; + campaigns?: string; + screens?: string; + relationsChecksum?: object; +}; +export type SlideSlideJsonld = { + title?: string; + description?: string; + templateInfo?: string[]; + theme?: string; + onPlaylists?: CollectionJsonld; + duration?: number | null; + published?: string[]; + media?: CollectionJsonld; + content?: string[]; + feed?: string[] | null; + modifiedBy?: string; + createdBy?: string; + id?: string; + created?: string; + modified?: string; + relationsChecksum?: object; +}; +export type SlideSlideJsonldRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; + title?: string; + description?: string; + templateInfo?: string[]; + theme?: string; + onPlaylists?: CollectionJsonldRead; + duration?: number | null; + published?: string[]; + media?: CollectionJsonldRead; + content?: string[]; + feed?: string[] | null; + modifiedBy?: string; + createdBy?: string; + id?: string; + created?: string; + modified?: string; + relationsChecksum?: object; +}; +export type SlideSlideInputJsonld = { + title?: string; + description?: string; + templateInfo?: string[]; + theme?: string; + duration?: number | null; + published?: string[]; + feed?: string[] | null; + media?: string[]; + content?: string[]; +}; +export type SlideInteractiveSlideActionInputJsonld = { + action?: string | null; + data?: string[]; +}; +export type ThemeThemeJsonld = { + title?: string; + description?: string; + logo?: string | null; + cssStyles?: string; + modifiedBy?: string; + createdBy?: string; + id?: string; + created?: string; + modified?: string; +}; +export type ThemeThemeJsonldRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; + title?: string; + description?: string; + logo?: string | null; + cssStyles?: string; + modifiedBy?: string; + createdBy?: string; + id?: string; + created?: string; + modified?: string; +}; +export type ThemeThemeInputJsonld = { + title?: string; + description?: string; + logo?: string; + css?: string; +}; +export type UserUserJsonld = { + fullName?: string | null; + userType?: + | ("OIDC_EXTERNAL" | "OIDC_INTERNAL" | "USERNAME_PASSWORD" | null) + | ("OIDC_EXTERNAL" | "OIDC_INTERNAL" | "USERNAME_PASSWORD" | null); + roles?: string[]; + createdAt?: string; + id?: string; +}; +export type UserUserJsonldRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; + fullName?: string | null; + userType?: + | ("OIDC_EXTERNAL" | "OIDC_INTERNAL" | "USERNAME_PASSWORD" | null) + | ("OIDC_EXTERNAL" | "OIDC_INTERNAL" | "USERNAME_PASSWORD" | null); + roles?: string[]; + createdAt?: string; + id?: string; +}; +export type UserUserInputJsonld = { + fullName?: string | null; +}; +export type UserActivationCodeUserActivationCodeJsonld = { + code?: string | null; + codeExpire?: string | null; + username?: string | null; + roles?: string[] | null; + modifiedBy?: string; + createdBy?: string; + id?: string; + created?: string; + modified?: string; +}; +export type UserActivationCodeUserActivationCodeJsonldRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; + code?: string | null; + codeExpire?: string | null; + username?: string | null; + roles?: string[] | null; + modifiedBy?: string; + createdBy?: string; + id?: string; + created?: string; + modified?: string; +}; +export type UserActivationCodeUserActivationCodeInputJsonld = { + displayName?: string; + roles?: string[]; +}; +export type UserActivationCodeActivationCodeJsonld = { + activationCode?: string; +}; +export type UserActivationCodeJsonld = { + code?: string | null; + codeExpire?: string | null; + username?: string | null; + roles?: string[] | null; + modifiedBy?: string; + createdBy?: string; + id?: string; + created?: string; + modified?: string; +}; +export type UserActivationCodeJsonldRead = { + "@context"?: + | string + | { + "@vocab": string; + hydra: "http://www.w3.org/ns/hydra/core#"; + [key: string]: any; + }; + "@id"?: string; + "@type"?: string; + code?: string | null; + codeExpire?: string | null; + username?: string | null; + roles?: string[] | null; + modifiedBy?: string; + createdBy?: string; + id?: string; + created?: string; + modified?: string; +}; +export const { + useGetOidcAuthTokenItemQuery, + useGetOidcAuthUrlsItemQuery, + usePostLoginInfoScreenMutation, + usePostRefreshTokenItemMutation, + useGetV2FeedSourcesQuery, + usePostV2FeedSourcesMutation, + useGetV2FeedSourcesByIdQuery, + usePutV2FeedSourcesByIdMutation, + useDeleteV2FeedSourcesByIdMutation, + useGetV2FeedSourcesByIdConfigAndNameQuery, + useGetV2FeedSourcesByIdSlidesQuery, + useGetV2FeedsQuery, + useGetV2FeedsByIdQuery, + useGetV2FeedsByIdDataQuery, + useGetV2LayoutsQuery, + useGetV2LayoutsByIdQuery, + useLoginCheckPostMutation, + useGetV2MediaQuery, + usePostMediaCollectionMutation, + useGetv2MediaByIdQuery, + useDeleteV2MediaByIdMutation, + useGetV2CampaignsByIdScreenGroupsQuery, + useGetV2CampaignsByIdScreensQuery, + useGetV2PlaylistsQuery, + usePostV2PlaylistsMutation, + useGetV2PlaylistsByIdQuery, + usePutV2PlaylistsByIdMutation, + useDeleteV2PlaylistsByIdMutation, + useGetV2PlaylistsByIdSlidesQuery, + usePutV2PlaylistsByIdSlidesMutation, + useDeleteV2PlaylistsByIdSlidesAndSlideIdMutation, + useGetV2SlidesByIdPlaylistsQuery, + usePutV2SlidesByIdPlaylistsMutation, + useGetScreenGroupCampaignItemQuery, + useGetV2ScreenGroupsQuery, + usePostV2ScreenGroupsMutation, + useGetV2ScreenGroupsByIdQuery, + usePutV2ScreenGroupsByIdMutation, + useDeleteV2ScreenGroupsByIdMutation, + useGetV2ScreenGroupsByIdCampaignsQuery, + usePutV2ScreenGroupsByIdCampaignsMutation, + useDeleteV2ScreenGroupsByIdCampaignsAndCampaignIdMutation, + useGetV2ScreenGroupsByIdScreensQuery, + useGetV2ScreensQuery, + usePostV2ScreensMutation, + useGetV2ScreensByIdQuery, + usePutV2ScreensByIdMutation, + useDeleteV2ScreensByIdMutation, + usePostScreenBindKeyMutation, + useGetV2ScreensByIdCampaignsQuery, + usePutV2ScreensByIdCampaignsMutation, + useDeleteV2ScreensByIdCampaignsAndCampaignIdMutation, + useGetV2ScreensByIdRegionsAndRegionIdPlaylistsQuery, + usePutPlaylistScreenRegionItemMutation, + useDeletePlaylistScreenRegionItemMutation, + useGetV2ScreensByIdScreenGroupsQuery, + usePutV2ScreensByIdScreenGroupsMutation, + useDeleteV2ScreensByIdScreenGroupsAndScreenGroupIdMutation, + usePostScreenUnbindMutation, + useGetV2SlidesQuery, + usePostV2SlidesMutation, + useGetV2SlidesByIdQuery, + usePutV2SlidesByIdMutation, + useDeleteV2SlidesByIdMutation, + useApiSlidePerformActionMutation, + useGetV2TemplatesQuery, + useGetV2TemplatesByIdQuery, + useGetV2TenantsQuery, + useGetV2TenantsByIdQuery, + useGetV2ThemesQuery, + usePostV2ThemesMutation, + useGetV2ThemesByIdQuery, + usePutV2ThemesByIdMutation, + useDeleteV2ThemesByIdMutation, + useGetV2UsersQuery, + usePostV2UsersMutation, + useGetV2UsersByIdQuery, + usePutV2UsersByIdMutation, + useDeleteV2UsersByIdMutation, + useDeleteV2UsersByIdRemoveFromTenantMutation, + useGetV2UserActivationCodesQuery, + usePostV2UserActivationCodesMutation, + usePostV2UserActivationCodesActivateMutation, + usePostV2UserActivationCodesRefreshMutation, + useGetV2UserActivationCodesByIdQuery, + useDeleteV2UserActivationCodesByIdMutation, +} = injectedRtkApi; diff --git a/assets/shared/redux/openapi-config.js b/assets/shared/redux/openapi-config.js new file mode 100644 index 000000000..86744762d --- /dev/null +++ b/assets/shared/redux/openapi-config.js @@ -0,0 +1,25 @@ +const config = { + schemaFile: "../../../public/api-spec-v2.json", + apiFile: "./empty-api.ts", + apiImport: "emptySplitApi", + outputFile: "./generated-api.ts", + exportName: "api", + hooks: true, + tag: true, + endpointOverrides: [ + { + pattern: /.*/, + parameterFilter: (_name, parameter) => { + // Filter out parameters from OpenAPI specification that results in + // invalid javascript with duplicate query parameters. + return !( + ["createdBy", "modifiedBy", "supportedFeedOutputType"].includes( + _name, + ) && parameter.style === "deepObject" + ); + }, + }, + ], +}; + +export default config; diff --git a/assets/admin/redux/store.js b/assets/shared/redux/store.js similarity index 86% rename from assets/admin/redux/store.js rename to assets/shared/redux/store.js index f2888cea1..5eb1b4377 100644 --- a/assets/admin/redux/store.js +++ b/assets/shared/redux/store.js @@ -1,5 +1,5 @@ import { configureStore } from "@reduxjs/toolkit"; -import { api } from "./api/api.generated.ts"; +import { api } from "./generated-api.ts"; /* eslint-disable-next-line import/prefer-default-export */ export const store = configureStore({ diff --git a/assets/shared/slide-utils/slide-util.jsx b/assets/shared/slide-utils/slide-util.jsx index 7053a6828..3c61e5d6f 100644 --- a/assets/shared/slide-utils/slide-util.jsx +++ b/assets/shared/slide-utils/slide-util.jsx @@ -1,6 +1,5 @@ import { createGlobalStyle } from "styled-components"; import React from "react"; -import PropTypes from "prop-types"; /** * Get the first media url of a media field. @@ -67,9 +66,4 @@ function ThemeStyles({ id, css = null }) { return ; } -ThemeStyles.propTypes = { - id: PropTypes.string.isRequired, - css: PropTypes.string, -}; - export { getAllMediaUrlsFromField, getFirstMediaUrlFromField, ThemeStyles }; diff --git a/assets/template/index.jsx b/assets/template/index.jsx index 5bf72e71f..144975a77 100644 --- a/assets/template/index.jsx +++ b/assets/template/index.jsx @@ -12,7 +12,6 @@ import { Routes, useParams, } from "react-router-dom"; -import PropTypes from "prop-types"; import { renderSlide } from "../shared/slide-utils/templates.js"; import slideFixtures from "./fixtures/slide-fixtures.js"; import screenFixtures from "./fixtures/screen-fixtures.js"; @@ -122,10 +121,6 @@ export const Screen = ({screen}) => { return
{screen && renderScreen(screen)}
; }; -Screen.propTypes = { - screen: PropTypes.shape({}).isRequired, -}; - export const Overview = () => { return (
diff --git a/package-lock.json b/package-lock.json index c6b41214f..370688e34 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,6 +14,7 @@ "@fortawesome/react-fontawesome": "^0.2.2", "@hello-pangea/dnd": "^16.0.0", "@popperjs/core": "^2.11.8", + "@reduxjs/toolkit": "^2.8.2", "@u-wave/react-vimeo": "^0.9.11", "@vitejs/plugin-react-oxc": "^0.3.0", "bootstrap": "^5.3.7", @@ -30,7 +31,6 @@ "lodash.set": "^4.3.2", "lodash.uniqwith": "^4.5.0", "pino": "^9.1.0", - "prop-types": "^15.7.2", "qrcode": "^1.5.4", "query-string": "^7.1.1", "react": "^18.2.0", @@ -59,9 +59,10 @@ }, "devDependencies": { "@playwright/test": "1.53.2", - "@reduxjs/toolkit": "^1.6.1", + "@rtk-query/codegen-openapi": "^2.0.0", "@vitejs/plugin-react": "^4.6.0", "esbuild": "^0.25.8", + "esbuild-runner": "^2.2.2", "sass": "^1.88.9", "typescript": "^4.4.2", "vite": "npm:rolldown-vite@^7.0.3", @@ -104,6 +105,60 @@ "node": ">=6.0.0" } }, + "node_modules/@apidevtools/json-schema-ref-parser": { + "version": "11.7.2", + "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-11.7.2.tgz", + "integrity": "sha512-4gY54eEGEstClvEkGnwVkTkrx0sqwemEFG5OSRRn3tD91XH0+Q8XIkYIfo7IwEWPpJZwILb9GUXeShtplRc/eA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jsdevtools/ono": "^7.1.3", + "@types/json-schema": "^7.0.15", + "js-yaml": "^4.1.0" + }, + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://github.com/sponsors/philsturgeon" + } + }, + "node_modules/@apidevtools/openapi-schemas": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@apidevtools/openapi-schemas/-/openapi-schemas-2.1.0.tgz", + "integrity": "sha512-Zc1AlqrJlX3SlpupFGpiLi2EbteyP7fXmUOGup6/DnkRgjP9bgMM/ag+n91rsv0U1Gpz0H3VILA/o3bW7Ua6BQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/@apidevtools/swagger-methods": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@apidevtools/swagger-methods/-/swagger-methods-3.0.2.tgz", + "integrity": "sha512-QAkD5kK2b1WfjDS/UQn/qQkbwF31uqRjPTrsCs5ZG9BQGAkjwvqGFjjPqAuzac/IYzpPtRzjCP1WrTuAIjMrXg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@apidevtools/swagger-parser": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/@apidevtools/swagger-parser/-/swagger-parser-10.1.1.tgz", + "integrity": "sha512-u/kozRnsPO/x8QtKYJOqoGtC4kH6yg1lfYkB9Au0WhYB0FNLpyFusttQtvhlwjtG3rOwiRz4D8DnnXa8iEpIKA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@apidevtools/json-schema-ref-parser": "11.7.2", + "@apidevtools/openapi-schemas": "^2.1.0", + "@apidevtools/swagger-methods": "^3.0.2", + "@jsdevtools/ono": "^7.1.3", + "ajv": "^8.17.1", + "ajv-draft-04": "^1.0.0", + "call-me-maybe": "^1.0.2" + }, + "peerDependencies": { + "openapi-types": ">=7" + } + }, "node_modules/@babel/code-frame": { "version": "7.27.1", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", @@ -987,6 +1042,13 @@ "node": ">=18" } }, + "node_modules/@exodus/schemasafe": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@exodus/schemasafe/-/schemasafe-1.3.0.tgz", + "integrity": "sha512-5Aap/GaRupgNx/feGBwLLTVv8OQFfv3pq2lPRzPg9R+IOBnDgghTGW7l7EuVXOvg5cc/xSAlRW8rBrjIC3Nvqw==", + "dev": true, + "license": "MIT" + }, "node_modules/@floating-ui/core": { "version": "1.7.3", "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.3.tgz", @@ -1299,6 +1361,13 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, + "node_modules/@jsdevtools/ono": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", + "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==", + "dev": true, + "license": "MIT" + }, "node_modules/@napi-rs/wasm-runtime": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.0.1.tgz", @@ -1349,6 +1418,14 @@ "node": ">= 8" } }, + "node_modules/@oazapfts/runtime": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@oazapfts/runtime/-/runtime-1.0.4.tgz", + "integrity": "sha512-7t6C2shug/6tZhQgkCa532oTYBLEnbASV/i1SG1rH2GB4h3aQQujYciYSPT92hvN4IwTe8S2hPkN/6iiOyTlCg==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/@oxc-project/runtime": { "version": "0.78.0", "resolved": "https://registry.npmjs.org/@oxc-project/runtime/-/runtime-0.78.0.tgz", @@ -1697,20 +1774,21 @@ } }, "node_modules/@reduxjs/toolkit": { - "version": "1.9.7", - "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-1.9.7.tgz", - "integrity": "sha512-t7v8ZPxhhKgOKtU+uyJT13lu4vL7az5aFi4IdoDs/eS548edn2M8Ik9h8fxgvMjGoAUVFSt6ZC1P5cWmQ014QQ==", - "dev": true, + "version": "2.8.2", + "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-2.8.2.tgz", + "integrity": "sha512-MYlOhQ0sLdw4ud48FoC5w0dH9VfWQjtCjreKwYTT3l+r427qYC5Y8PihNutepr8XrNaBUDQo9khWUwQxZaqt5A==", "license": "MIT", "dependencies": { - "immer": "^9.0.21", - "redux": "^4.2.1", - "redux-thunk": "^2.4.2", - "reselect": "^4.1.8" + "@standard-schema/spec": "^1.0.0", + "@standard-schema/utils": "^0.3.0", + "immer": "^10.0.3", + "redux": "^5.0.1", + "redux-thunk": "^3.1.0", + "reselect": "^5.1.0" }, "peerDependencies": { - "react": "^16.9.0 || ^17.0.0 || ^18", - "react-redux": "^7.2.1 || ^8.0.2" + "react": "^16.9.0 || ^17.0.0 || ^18 || ^19", + "react-redux": "^7.2.1 || ^8.1.3 || ^9.0.0" }, "peerDependenciesMeta": { "react": { @@ -1721,6 +1799,21 @@ } } }, + "node_modules/@reduxjs/toolkit/node_modules/redux": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/redux/-/redux-5.0.1.tgz", + "integrity": "sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==", + "license": "MIT" + }, + "node_modules/@reduxjs/toolkit/node_modules/redux-thunk": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-3.1.0.tgz", + "integrity": "sha512-NW2r5T6ksUKXCabzhL9z+h206HQw/NJkcLm1GPImRQ8IzfXwRGqjVhKJGauHirT0DAuyy6hjdnMZaRoAcy0Klw==", + "license": "MIT", + "peerDependencies": { + "redux": "^5.0.0" + } + }, "node_modules/@remix-run/router": { "version": "1.23.0", "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.23.0.tgz", @@ -1978,6 +2071,75 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/@rtk-query/codegen-openapi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@rtk-query/codegen-openapi/-/codegen-openapi-2.0.0.tgz", + "integrity": "sha512-uIOshfqX6bcsMpiwUMKAC+oFEw2fUxICMruhXunB6wq7tHpUg2b+gz+qGjiWAWw1Ly6g6jjvb3N4HRxWy9Yqew==", + "dev": true, + "license": "MIT", + "dependencies": { + "@apidevtools/swagger-parser": "^10.0.2", + "commander": "^6.2.0", + "lodash.camelcase": "^4.3.0", + "oazapfts": "^6.1.0", + "prettier": "^3.2.5", + "semver": "^7.3.5", + "swagger2openapi": "^7.0.4", + "typescript": "^5.5.4" + }, + "bin": { + "rtk-query-codegen-openapi": "lib/bin/cli.mjs" + } + }, + "node_modules/@rtk-query/codegen-openapi/node_modules/commander": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", + "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/@rtk-query/codegen-openapi/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@rtk-query/codegen-openapi/node_modules/typescript": { + "version": "5.9.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.2.tgz", + "integrity": "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/@standard-schema/spec": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.0.0.tgz", + "integrity": "sha512-m2bOd0f2RT9k8QJx1JN85cZYyH1RqFBdlwtkSlf4tBDYLCiiZnv1fIIwacK6cqwXavOydf0NPToMQgpKq+dVlA==", + "license": "MIT" + }, + "node_modules/@standard-schema/utils": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@standard-schema/utils/-/utils-0.3.0.tgz", + "integrity": "sha512-e7Mew686owMaPJVNNLs55PUvgz371nKgwsc4vxE49zsODpJEnxgxRo2y/OKrqueavXgZNMDVj3DdHFlaSAeU8g==", + "license": "MIT" + }, "node_modules/@svgr/babel-plugin-add-jsx-attribute": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-8.0.0.tgz", @@ -2323,6 +2485,13 @@ "integrity": "sha512-IwpIMieE55oGWiXkQPSBY1nw1nFs6bsKXTFskNY8sdS17K24vyEBRQZEwlRS7ZmXCWnJcQtbxWzly+cODWGs2A==", "license": "MIT" }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/parse-json": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.2.tgz", @@ -2461,6 +2630,38 @@ "vite": "^6.3.0 || ^7.0.0" } }, + "node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-draft-04": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ajv-draft-04/-/ajv-draft-04-1.0.0.tgz", + "integrity": "sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "ajv": "^8.5.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, "node_modules/ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", @@ -2629,6 +2830,13 @@ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" } }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true, + "license": "MIT" + }, "node_modules/call-bind": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz", @@ -2676,6 +2884,13 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/call-me-maybe": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz", + "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==", + "dev": true, + "license": "MIT" + }, "node_modules/callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", @@ -3332,6 +3547,13 @@ "node": ">= 0.4" } }, + "node_modules/es6-promise": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.3.1.tgz", + "integrity": "sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==", + "dev": true, + "license": "MIT" + }, "node_modules/esbuild": { "version": "0.25.8", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.8.tgz", @@ -3374,6 +3596,30 @@ "@esbuild/win32-x64": "0.25.8" } }, + "node_modules/esbuild-runner": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/esbuild-runner/-/esbuild-runner-2.2.2.tgz", + "integrity": "sha512-fRFVXcmYVmSmtYm2mL8RlUASt2TDkGh3uRcvHFOKNr/T58VrfVeKD9uT9nlgxk96u0LS0ehS/GY7Da/bXWKkhw==", + "dev": true, + "license": "Apache License 2.0", + "dependencies": { + "source-map-support": "0.5.21", + "tslib": "2.4.0" + }, + "bin": { + "esr": "bin/esr.js" + }, + "peerDependencies": { + "esbuild": "*" + } + }, + "node_modules/esbuild-runner/node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "dev": true, + "license": "0BSD" + }, "node_modules/escalade": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", @@ -3414,6 +3660,13 @@ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", "license": "MIT" }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true, + "license": "MIT" + }, "node_modules/fast-diff": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.1.2.tgz", @@ -3446,6 +3699,30 @@ "node": ">=6" } }, + "node_modules/fast-safe-stringify": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", + "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-uri": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz", + "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "BSD-3-Clause" + }, "node_modules/fastq": { "version": "1.19.1", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz", @@ -3788,6 +4065,13 @@ "entities": "^3.0.1" } }, + "node_modules/http2-client": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/http2-client/-/http2-client-1.3.5.tgz", + "integrity": "sha512-EC2utToWl4RKfs5zd36Mxq7nzHHBuomZboI0yYL6Y0RmBgT7Sgkq4rQ0ezFTYoIsSs7Tm9SJe+o2FcAg6GBhGA==", + "dev": true, + "license": "MIT" + }, "node_modules/i18next": { "version": "21.10.0", "resolved": "https://registry.npmjs.org/i18next/-/i18next-21.10.0.tgz", @@ -3824,10 +4108,9 @@ } }, "node_modules/immer": { - "version": "9.0.21", - "resolved": "https://registry.npmjs.org/immer/-/immer-9.0.21.tgz", - "integrity": "sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==", - "dev": true, + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/immer/-/immer-10.1.1.tgz", + "integrity": "sha512-s2MPrmjovJcoMaHtx6K11Ra7oD05NT97w1IC5zpMkT6Atjr7H8LjaDd81iIxUYpMKSRRNMJE703M1Fhr/TctHw==", "license": "MIT", "funding": { "type": "opencollective", @@ -4055,6 +4338,13 @@ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", "license": "MIT" }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true, + "license": "MIT" + }, "node_modules/json5": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", @@ -4334,6 +4624,13 @@ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "license": "MIT" }, + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==", + "dev": true, + "license": "MIT" + }, "node_modules/lodash.clonedeep": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", @@ -4435,6 +4732,16 @@ "node": ">=8.6" } }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/mrmime": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.1.tgz", @@ -4493,12 +4800,303 @@ "license": "MIT", "optional": true }, + "node_modules/node-fetch": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/node-fetch-h2": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/node-fetch-h2/-/node-fetch-h2-2.3.0.tgz", + "integrity": "sha512-ofRW94Ab0T4AOh5Fk8t0h8OBWrmjb0SSB20xh1H8YnPV9EJ+f5AMoYSUQ2zgJ4Iq2HAK0I2l5/Nequ8YzFS3Hg==", + "dev": true, + "license": "MIT", + "dependencies": { + "http2-client": "^1.2.5" + }, + "engines": { + "node": "4.x || >=6.0.0" + } + }, + "node_modules/node-readfiles": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/node-readfiles/-/node-readfiles-0.2.0.tgz", + "integrity": "sha512-SU00ZarexNlE4Rjdm83vglt5Y9yiQ+XI1XpflWlb7q7UTN1JUItm69xMeiQCTxtTfnzt+83T8Cx+vI2ED++VDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es6-promise": "^3.2.1" + } + }, "node_modules/node-releases": { "version": "2.0.19", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz", "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==", "license": "MIT" }, + "node_modules/oas-kit-common": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/oas-kit-common/-/oas-kit-common-1.0.8.tgz", + "integrity": "sha512-pJTS2+T0oGIwgjGpw7sIRU8RQMcUoKCDWFLdBqKB2BNmGpbBMH2sdqAaOXUg8OzonZHU0L7vfJu1mJFEiYDWOQ==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "fast-safe-stringify": "^2.0.7" + } + }, + "node_modules/oas-linter": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/oas-linter/-/oas-linter-3.2.2.tgz", + "integrity": "sha512-KEGjPDVoU5K6swgo9hJVA/qYGlwfbFx+Kg2QB/kd7rzV5N8N5Mg6PlsoCMohVnQmo+pzJap/F610qTodKzecGQ==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@exodus/schemasafe": "^1.0.0-rc.2", + "should": "^13.2.1", + "yaml": "^1.10.0" + }, + "funding": { + "url": "https://github.com/Mermade/oas-kit?sponsor=1" + } + }, + "node_modules/oas-linter/node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">= 6" + } + }, + "node_modules/oas-resolver": { + "version": "2.5.6", + "resolved": "https://registry.npmjs.org/oas-resolver/-/oas-resolver-2.5.6.tgz", + "integrity": "sha512-Yx5PWQNZomfEhPPOphFbZKi9W93CocQj18NlD2Pa4GWZzdZpSJvYwoiuurRI7m3SpcChrnO08hkuQDL3FGsVFQ==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "node-fetch-h2": "^2.3.0", + "oas-kit-common": "^1.0.8", + "reftools": "^1.1.9", + "yaml": "^1.10.0", + "yargs": "^17.0.1" + }, + "bin": { + "resolve": "resolve.js" + }, + "funding": { + "url": "https://github.com/Mermade/oas-kit?sponsor=1" + } + }, + "node_modules/oas-resolver/node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/oas-resolver/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/oas-resolver/node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/oas-resolver/node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">= 6" + } + }, + "node_modules/oas-resolver/node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/oas-resolver/node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/oas-schema-walker": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/oas-schema-walker/-/oas-schema-walker-1.1.5.tgz", + "integrity": "sha512-2yucenq1a9YPmeNExoUa9Qwrt9RFkjqaMAA1X+U7sbb0AqBeTIdMHky9SQQ6iN94bO5NW0W4TRYXerG+BdAvAQ==", + "dev": true, + "license": "BSD-3-Clause", + "funding": { + "url": "https://github.com/Mermade/oas-kit?sponsor=1" + } + }, + "node_modules/oas-validator": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/oas-validator/-/oas-validator-5.0.8.tgz", + "integrity": "sha512-cu20/HE5N5HKqVygs3dt94eYJfBi0TsZvPVXDhbXQHiEityDN+RROTleefoKRKKJ9dFAF2JBkDHgvWj0sjKGmw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "call-me-maybe": "^1.0.1", + "oas-kit-common": "^1.0.8", + "oas-linter": "^3.2.2", + "oas-resolver": "^2.5.6", + "oas-schema-walker": "^1.1.5", + "reftools": "^1.1.9", + "should": "^13.2.1", + "yaml": "^1.10.0" + }, + "funding": { + "url": "https://github.com/Mermade/oas-kit?sponsor=1" + } + }, + "node_modules/oas-validator/node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">= 6" + } + }, + "node_modules/oazapfts": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/oazapfts/-/oazapfts-6.3.1.tgz", + "integrity": "sha512-iFWDzRMXOw/UwO/AcgkEVO6CECthgKN0elJt72zsTZNiYU9ZtfMEDaUuxb767hT4lvlCoohPbz6HvY3upFth8w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@apidevtools/swagger-parser": "^12.0.0", + "lodash": "^4.17.21", + "minimist": "^1.2.8", + "swagger2openapi": "^7.0.8", + "tapable": "^2.2.2", + "typescript": "^5.8.3" + }, + "bin": { + "oazapfts": "cli.js" + }, + "peerDependencies": { + "@oazapfts/runtime": "*" + } + }, + "node_modules/oazapfts/node_modules/@apidevtools/json-schema-ref-parser": { + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-14.0.1.tgz", + "integrity": "sha512-Oc96zvmxx1fqoSEdUmfmvvb59/KDOnUoJ7s2t7bISyAn0XEz57LCCw8k2Y4Pf3mwKaZLMciESALORLgfe2frCw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/json-schema": "^7.0.15", + "js-yaml": "^4.1.0" + }, + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://github.com/sponsors/philsturgeon" + } + }, + "node_modules/oazapfts/node_modules/@apidevtools/swagger-parser": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@apidevtools/swagger-parser/-/swagger-parser-12.0.0.tgz", + "integrity": "sha512-WLJIWcfOXrSKlZEM+yhA2Xzatgl488qr1FoOxixYmtWapBzwSC0gVGq4WObr4hHClMIiFFdOBdixNkvWqkWIWA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@apidevtools/json-schema-ref-parser": "14.0.1", + "@apidevtools/openapi-schemas": "^2.1.0", + "@apidevtools/swagger-methods": "^3.0.2", + "ajv": "^8.17.1", + "ajv-draft-04": "^1.0.0", + "call-me-maybe": "^1.0.2" + }, + "peerDependencies": { + "openapi-types": ">=7" + } + }, + "node_modules/oazapfts/node_modules/typescript": { + "version": "5.9.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.2.tgz", + "integrity": "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", @@ -4542,6 +5140,14 @@ "node": ">=14.0.0" } }, + "node_modules/openapi-types": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-12.1.3.tgz", + "integrity": "sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", @@ -4818,6 +5424,22 @@ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", "license": "MIT" }, + "node_modules/prettier": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.6.2.tgz", + "integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, "node_modules/process-warning": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/process-warning/-/process-warning-5.0.0.tgz", @@ -5414,14 +6036,14 @@ "@babel/runtime": "^7.9.2" } }, - "node_modules/redux-thunk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-2.4.2.tgz", - "integrity": "sha512-+P3TjtnP0k/FEjcBL5FZpoovtvrTNT/UXd4/sluaSyrURlSlhLSzEdfsTBW7WsKB6yPvgd7q/iZPICFjW4o57Q==", + "node_modules/reftools": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/reftools/-/reftools-1.1.9.tgz", + "integrity": "sha512-OVede/NQE13xBQ+ob5CKd5KyeJYU2YInb1bmV4nRoOfquZPkAkxuOXicSe1PvqIuZZ4kD13sPKBbR7UFDmli6w==", "dev": true, - "license": "MIT", - "peerDependencies": { - "redux": "^4" + "license": "BSD-3-Clause", + "funding": { + "url": "https://github.com/Mermade/oas-kit?sponsor=1" } }, "node_modules/regexp.prototype.flags": { @@ -5459,6 +6081,16 @@ "node": ">=0.10.0" } }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/require-main-filename": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", @@ -5466,10 +6098,9 @@ "license": "ISC" }, "node_modules/reselect": { - "version": "4.1.8", - "resolved": "https://registry.npmjs.org/reselect/-/reselect-4.1.8.tgz", - "integrity": "sha512-ab9EmR80F/zQTMNeneUr4cv+jSwPJgIlvEmVwLerwrWVbpLlBuls9XHzIeTFy4cegU2NHBp3va0LKOzU5qFEYQ==", - "dev": true, + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/reselect/-/reselect-5.1.1.tgz", + "integrity": "sha512-K/BG6eIky/SBpzfHZv/dd+9JBFiS4SWV7FIujVyJRux6e45+73RaUHXLmIR1f7WOMaQ0U1km6qwklRQxpJJY0w==", "license": "MIT" }, "node_modules/resolve": { @@ -5701,6 +6332,66 @@ "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==", "license": "MIT" }, + "node_modules/should": { + "version": "13.2.3", + "resolved": "https://registry.npmjs.org/should/-/should-13.2.3.tgz", + "integrity": "sha512-ggLesLtu2xp+ZxI+ysJTmNjh2U0TsC+rQ/pfED9bUZZ4DKefP27D+7YJVVTvKsmjLpIi9jAa7itwDGkDDmt1GQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "should-equal": "^2.0.0", + "should-format": "^3.0.3", + "should-type": "^1.4.0", + "should-type-adaptors": "^1.0.1", + "should-util": "^1.0.0" + } + }, + "node_modules/should-equal": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/should-equal/-/should-equal-2.0.0.tgz", + "integrity": "sha512-ZP36TMrK9euEuWQYBig9W55WPC7uo37qzAEmbjHz4gfyuXrEUgF8cUvQVO+w+d3OMfPvSRQJ22lSm8MQJ43LTA==", + "dev": true, + "license": "MIT", + "dependencies": { + "should-type": "^1.4.0" + } + }, + "node_modules/should-format": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/should-format/-/should-format-3.0.3.tgz", + "integrity": "sha512-hZ58adtulAk0gKtua7QxevgUaXTTXxIi8t41L3zo9AHvjXO1/7sdLECuHeIN2SRtYXpNkmhoUP2pdeWgricQ+Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "should-type": "^1.3.0", + "should-type-adaptors": "^1.0.1" + } + }, + "node_modules/should-type": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/should-type/-/should-type-1.4.0.tgz", + "integrity": "sha512-MdAsTu3n25yDbIe1NeN69G4n6mUnJGtSJHygX3+oN0ZbO3DTiATnf7XnYJdGT42JCXurTb1JI0qOBR65shvhPQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/should-type-adaptors": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/should-type-adaptors/-/should-type-adaptors-1.1.0.tgz", + "integrity": "sha512-JA4hdoLnN+kebEp2Vs8eBe9g7uy0zbRo+RMcU0EsNy+R+k049Ki+N5tT5Jagst2g7EAja+euFuoXFCa8vIklfA==", + "dev": true, + "license": "MIT", + "dependencies": { + "should-type": "^1.3.0", + "should-util": "^1.0.0" + } + }, + "node_modules/should-util": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/should-util/-/should-util-1.0.1.tgz", + "integrity": "sha512-oXF8tfxx5cDk8r2kYqlkUJzZpDBqVY/II2WhvU0n9Y3XYvAYRmeaf1PvvIvTgPnv4KJ+ES5M0PyDq5Jp+Ygy2g==", + "dev": true, + "license": "MIT" + }, "node_modules/sirv": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/sirv/-/sirv-3.0.1.tgz", @@ -5754,6 +6445,27 @@ "node": ">=0.10.0" } }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/source-map-support/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/split-on-first": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz", @@ -5912,12 +6624,136 @@ "dev": true, "license": "MIT" }, + "node_modules/swagger2openapi": { + "version": "7.0.8", + "resolved": "https://registry.npmjs.org/swagger2openapi/-/swagger2openapi-7.0.8.tgz", + "integrity": "sha512-upi/0ZGkYgEcLeGieoz8gT74oWHA0E7JivX7aN9mAf+Tc7BQoRBvnIGHoPDw+f9TXTW4s6kGYCZJtauP6OYp7g==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "call-me-maybe": "^1.0.1", + "node-fetch": "^2.6.1", + "node-fetch-h2": "^2.3.0", + "node-readfiles": "^0.2.0", + "oas-kit-common": "^1.0.8", + "oas-resolver": "^2.5.6", + "oas-schema-walker": "^1.1.5", + "oas-validator": "^5.0.8", + "reftools": "^1.1.9", + "yaml": "^1.10.0", + "yargs": "^17.0.1" + }, + "bin": { + "boast": "boast.js", + "oas-validate": "oas-validate.js", + "swagger2openapi": "swagger2openapi.js" + }, + "funding": { + "url": "https://github.com/Mermade/oas-kit?sponsor=1" + } + }, + "node_modules/swagger2openapi/node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/swagger2openapi/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/swagger2openapi/node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/swagger2openapi/node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">= 6" + } + }, + "node_modules/swagger2openapi/node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/swagger2openapi/node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, "node_modules/tabbable": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.2.0.tgz", "integrity": "sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==", "license": "MIT" }, + "node_modules/tapable": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.3.tgz", + "integrity": "sha512-ZL6DDuAlRlLGghwcfmSn9sK3Hr6ArtyudlSAiCqQ6IfE+b+HHbydbYDIG15IfS5do+7XQQBdBiubF/cV2dnDzg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, "node_modules/thread-stream": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/thread-stream/-/thread-stream-3.1.0.tgz", @@ -6016,6 +6852,13 @@ "node": ">=6" } }, + "node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "dev": true, + "license": "MIT" + }, "node_modules/tslib": { "version": "2.8.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", @@ -6321,6 +7164,24 @@ "node": ">=8.10.0" } }, + "node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dev": true, + "license": "MIT", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, "node_modules/which-module": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz", diff --git a/package.json b/package.json index 39bcd49f9..0c7f7692a 100644 --- a/package.json +++ b/package.json @@ -9,9 +9,10 @@ }, "devDependencies": { "@playwright/test": "1.53.2", - "@reduxjs/toolkit": "^1.6.1", + "@rtk-query/codegen-openapi": "^2.0.0", "@vitejs/plugin-react": "^4.6.0", "esbuild": "^0.25.8", + "esbuild-runner": "^2.2.2", "sass": "^1.88.9", "typescript": "^4.4.2", "vite": "npm:rolldown-vite@^7.0.3", @@ -25,6 +26,7 @@ "@fortawesome/react-fontawesome": "^0.2.2", "@hello-pangea/dnd": "^16.0.0", "@popperjs/core": "^2.11.8", + "@reduxjs/toolkit": "^2.8.2", "@u-wave/react-vimeo": "^0.9.11", "@vitejs/plugin-react-oxc": "^0.3.0", "bootstrap": "^5.3.7", @@ -41,7 +43,6 @@ "lodash.set": "^4.3.2", "lodash.uniqwith": "^4.5.0", "pino": "^9.1.0", - "prop-types": "^15.7.2", "qrcode": "^1.5.4", "query-string": "^7.1.1", "react": "^18.2.0",