diff --git a/CHANGELOG.md b/CHANGELOG.md index 8657ff44..81f44741 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +- [#223](https://github.com/os2display/display-admin-client/pull/223) + - Updated to API Platform 3 - [#222](https://github.com/os2display/display-admin-client/pull/222) - Fixed redux build. @@ -39,8 +41,8 @@ All notable changes to this project will be documented in this file. - [#205](https://github.com/os2display/display-admin-client/pull/205) Setup separate image builds for itkdev and os2display - [#204](https://github.com/os2display/display-admin-client/pull/204) - Change docker image name from `os2display/os2display-admin-client` - to `os2display/display-admin-client` to match image name and + Change docker image name from `os2display/os2display-admin-client` + to `os2display/display-admin-client` to match image name and repository name - [#200](https://github.com/os2display/display-admin-client/pull/200) Update docker build to publish to "os2display" org on docker hub. @@ -65,7 +67,7 @@ All notable changes to this project will be documented in this file. Prevent screen-manager.js from redirecting before everything is saved. - [#192](https://github.com/os2display/display-admin-client/pull/193) Readd and fix cypress tests. -- +- ## [1.2.6] - 2023-05-11 - [#197](https://github.com/os2display/display-admin-client/pull/197) diff --git a/src/components/user/login.jsx b/src/components/user/login.jsx index ac2f15bd..39d72d82 100644 --- a/src/components/user/login.jsx +++ b/src/components/user/login.jsx @@ -101,8 +101,8 @@ function Login() { e.stopPropagation(); dispatch( - api.endpoints.postCredentialsItem.initiate({ - credentials: JSON.stringify({ + api.endpoints.loginCheckPost.initiate({ + body: JSON.stringify({ email, password, }), diff --git a/src/redux/api/api.generated.js b/src/redux/api/api.generated.js index 9eb9f2ad..569b6c28 100644 --- a/src/redux/api/api.generated.js +++ b/src/redux/api/api.generated.js @@ -1,6 +1,6 @@ "use strict"; exports.__esModule = true; -exports.useDeletePlaylistScreenRegionItemMutation = exports.usePutPlaylistScreenRegionItemMutation = exports.useGetV1ScreensByIdRegionsAndRegionIdPlaylistsQuery = exports.useDeleteV1ScreensByIdCampaignsAndCampaignIdMutation = exports.usePutV1ScreensByIdCampaignsMutation = exports.useGetV1ScreensByIdCampaignsQuery = exports.usePostScreenBindKeyMutation = exports.useDeleteV1ScreensByIdMutation = exports.usePutV1ScreensByIdMutation = exports.useGetV1ScreensByIdQuery = exports.usePostV1ScreensMutation = exports.useGetV1ScreensQuery = exports.useGetV1ScreenGroupsByIdScreensQuery = exports.useDeleteV1ScreenGroupsByIdCampaignsAndCampaignIdMutation = exports.usePutV1ScreenGroupsByIdCampaignsMutation = exports.useGetV1ScreenGroupsByIdCampaignsQuery = exports.useDeleteV1ScreenGroupsByIdMutation = exports.usePutV1ScreenGroupsByIdMutation = exports.useGetV1ScreenGroupsByIdQuery = exports.useGetScreenGroupCampaignItemQuery = exports.usePostV1ScreenGroupsMutation = exports.useGetV1ScreenGroupsQuery = exports.useDeleteV1PlaylistsByIdSlidesAndSlideIdMutation = exports.usePutV1PlaylistsByIdSlidesMutation = exports.useGetV1PlaylistsByIdSlidesQuery = exports.useDeleteV1PlaylistsByIdMutation = exports.usePutV1PlaylistsByIdMutation = exports.useGetV1PlaylistsByIdQuery = exports.usePostV1PlaylistsMutation = exports.useGetV1PlaylistsQuery = exports.useDeleteV1MediaByIdMutation = exports.useGetV1MediaByIdQuery = exports.usePostMediaCollectionMutation = exports.useGetV1MediaQuery = exports.useGetV1LayoutsByIdQuery = exports.useGetV1LayoutsQuery = exports.useGetV1FeedsByIdDataQuery = exports.useGetV1FeedsByIdQuery = exports.useGetV1FeedsQuery = exports.useGetV1FeedSourcesByIdConfigAndNameQuery = exports.useGetV1FeedSourcesByIdQuery = exports.useGetV1FeedSourcesQuery = exports.useGetV1CampaignsByIdScreensQuery = exports.useGetV1CampaignsByIdScreenGroupsQuery = exports.usePostRefreshTokenItemMutation = exports.usePostCredentialsItemMutation = exports.usePostLoginInfoScreenMutation = exports.useGetOidcAuthUrlsItemQuery = exports.useGetOidcAuthTokenItemQuery = exports.api = void 0; +exports.useDeletePlaylistScreenRegionItemMutation = exports.usePutPlaylistScreenRegionItemMutation = exports.useGetV1ScreensByIdRegionsAndRegionIdPlaylistsQuery = exports.useDeleteV1ScreensByIdCampaignsAndCampaignIdMutation = exports.usePutV1ScreensByIdCampaignsMutation = exports.useGetV1ScreensByIdCampaignsQuery = exports.usePostScreenBindKeyMutation = exports.useDeleteV1ScreensByIdMutation = exports.usePutV1ScreensByIdMutation = exports.useGetV1ScreensByIdQuery = exports.usePostV1ScreensMutation = exports.useGetV1ScreensQuery = exports.useGetV1ScreenGroupsByIdScreensQuery = exports.useDeleteV1ScreenGroupsByIdCampaignsAndCampaignIdMutation = exports.usePutV1ScreenGroupsByIdCampaignsMutation = exports.useGetV1ScreenGroupsByIdCampaignsQuery = exports.useDeleteV1ScreenGroupsByIdMutation = exports.usePutV1ScreenGroupsByIdMutation = exports.useGetV1ScreenGroupsByIdQuery = exports.useGetScreenGroupCampaignItemQuery = exports.usePostV1ScreenGroupsMutation = exports.useGetV1ScreenGroupsQuery = exports.useDeleteV1PlaylistsByIdSlidesAndSlideIdMutation = exports.usePutV1PlaylistsByIdSlidesMutation = exports.useGetV1PlaylistsByIdSlidesQuery = exports.useDeleteV1PlaylistsByIdMutation = exports.usePutV1PlaylistsByIdMutation = exports.useGetV1PlaylistsByIdQuery = exports.usePostV1PlaylistsMutation = exports.useGetV1PlaylistsQuery = exports.useDeleteV1MediaByIdMutation = exports.useGetV1MediaByIdQuery = exports.usePostMediaCollectionMutation = exports.useGetV1MediaQuery = exports.useGetV1LayoutsByIdQuery = exports.useGetV1LayoutsQuery = exports.useGetV1FeedsByIdDataQuery = exports.useGetV1FeedsByIdQuery = exports.useGetV1FeedsQuery = exports.useGetV1FeedSourcesByIdConfigAndNameQuery = exports.useGetV1FeedSourcesByIdQuery = exports.useGetV1FeedSourcesQuery = exports.useGetV1CampaignsByIdScreensQuery = exports.useGetV1CampaignsByIdScreenGroupsQuery = exports.usePostRefreshTokenItemMutation = exports.useLoginCheckPostMutation = exports.usePostLoginInfoScreenMutation = exports.useGetOidcAuthUrlsItemQuery = exports.useGetOidcAuthTokenItemQuery = exports.api = void 0; exports.useDeleteV1ThemesByIdMutation = exports.usePutV1ThemesByIdMutation = exports.useGetV1ThemesByIdQuery = exports.usePostV1ThemesMutation = exports.useGetV1ThemesQuery = exports.useGetV1TenantsByIdQuery = exports.useGetV1TenantsQuery = exports.useGetV1TemplatesByIdQuery = exports.useGetV1TemplatesQuery = exports.usePutV1SlidesByIdPlaylistsMutation = exports.useGetV1SlidesByIdPlaylistsQuery = exports.useDeleteV1SlidesByIdMutation = exports.usePutV1SlidesByIdMutation = exports.useGetV1SlidesByIdQuery = exports.usePostV1SlidesMutation = exports.useGetV1SlidesQuery = exports.usePostScreenUnbindMutation = exports.useDeleteV1ScreensByIdScreenGroupsAndScreenGroupIdMutation = exports.usePutV1ScreensByIdScreenGroupsMutation = exports.useGetV1ScreensByIdScreenGroupsQuery = void 0; var react_1 = require("@reduxjs/toolkit/query/react"); var dynamic_base_query_1 = require("../dynamic-base-query"); @@ -11,7 +11,7 @@ exports.api = (0, react_1.createApi)({ getOidcAuthTokenItem: build.query({ query: function (queryArg) { return ({ url: "/v1/authentication/oidc/token", - params: { state: queryArg.state, id_token: queryArg.idToken } + params: { state: queryArg.state, code: queryArg.code } }); } }), getOidcAuthUrlsItem: build.query({ @@ -27,11 +27,11 @@ exports.api = (0, react_1.createApi)({ body: queryArg.screenLoginInput }); } }), - postCredentialsItem: build.mutation({ + loginCheckPost: build.mutation({ query: function (queryArg) { return ({ url: "/v1/authentication/token", method: "POST", - body: queryArg.credentials + body: queryArg.body }); } }), postRefreshTokenItem: build.mutation({ @@ -54,11 +54,7 @@ exports.api = (0, react_1.createApi)({ getV1CampaignsByIdScreens: build.query({ query: function (queryArg) { return ({ url: "/v1/campaigns/" + queryArg.id + "/screens", - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - order: queryArg.order - } + params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage } }); } }), getV1FeedSources: build.query({ @@ -330,10 +326,7 @@ exports.api = (0, react_1.createApi)({ params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage, - createdBy: queryArg.createdBy, - modifiedBy: queryArg.modifiedBy, - published: queryArg.published, - order: queryArg.order + published: queryArg.published } }); } }), @@ -533,4 +526,4 @@ exports.api = (0, react_1.createApi)({ }) }); } }); -exports.useGetOidcAuthTokenItemQuery = exports.api.useGetOidcAuthTokenItemQuery, exports.useGetOidcAuthUrlsItemQuery = exports.api.useGetOidcAuthUrlsItemQuery, exports.usePostLoginInfoScreenMutation = exports.api.usePostLoginInfoScreenMutation, exports.usePostCredentialsItemMutation = exports.api.usePostCredentialsItemMutation, exports.usePostRefreshTokenItemMutation = exports.api.usePostRefreshTokenItemMutation, exports.useGetV1CampaignsByIdScreenGroupsQuery = exports.api.useGetV1CampaignsByIdScreenGroupsQuery, exports.useGetV1CampaignsByIdScreensQuery = exports.api.useGetV1CampaignsByIdScreensQuery, exports.useGetV1FeedSourcesQuery = exports.api.useGetV1FeedSourcesQuery, exports.useGetV1FeedSourcesByIdQuery = exports.api.useGetV1FeedSourcesByIdQuery, exports.useGetV1FeedSourcesByIdConfigAndNameQuery = exports.api.useGetV1FeedSourcesByIdConfigAndNameQuery, exports.useGetV1FeedsQuery = exports.api.useGetV1FeedsQuery, exports.useGetV1FeedsByIdQuery = exports.api.useGetV1FeedsByIdQuery, exports.useGetV1FeedsByIdDataQuery = exports.api.useGetV1FeedsByIdDataQuery, exports.useGetV1LayoutsQuery = exports.api.useGetV1LayoutsQuery, exports.useGetV1LayoutsByIdQuery = exports.api.useGetV1LayoutsByIdQuery, exports.useGetV1MediaQuery = exports.api.useGetV1MediaQuery, exports.usePostMediaCollectionMutation = exports.api.usePostMediaCollectionMutation, exports.useGetV1MediaByIdQuery = exports.api.useGetV1MediaByIdQuery, exports.useDeleteV1MediaByIdMutation = exports.api.useDeleteV1MediaByIdMutation, exports.useGetV1PlaylistsQuery = exports.api.useGetV1PlaylistsQuery, exports.usePostV1PlaylistsMutation = exports.api.usePostV1PlaylistsMutation, exports.useGetV1PlaylistsByIdQuery = exports.api.useGetV1PlaylistsByIdQuery, exports.usePutV1PlaylistsByIdMutation = exports.api.usePutV1PlaylistsByIdMutation, exports.useDeleteV1PlaylistsByIdMutation = exports.api.useDeleteV1PlaylistsByIdMutation, exports.useGetV1PlaylistsByIdSlidesQuery = exports.api.useGetV1PlaylistsByIdSlidesQuery, exports.usePutV1PlaylistsByIdSlidesMutation = exports.api.usePutV1PlaylistsByIdSlidesMutation, exports.useDeleteV1PlaylistsByIdSlidesAndSlideIdMutation = exports.api.useDeleteV1PlaylistsByIdSlidesAndSlideIdMutation, exports.useGetV1ScreenGroupsQuery = exports.api.useGetV1ScreenGroupsQuery, exports.usePostV1ScreenGroupsMutation = exports.api.usePostV1ScreenGroupsMutation, exports.useGetScreenGroupCampaignItemQuery = exports.api.useGetScreenGroupCampaignItemQuery, exports.useGetV1ScreenGroupsByIdQuery = exports.api.useGetV1ScreenGroupsByIdQuery, exports.usePutV1ScreenGroupsByIdMutation = exports.api.usePutV1ScreenGroupsByIdMutation, exports.useDeleteV1ScreenGroupsByIdMutation = exports.api.useDeleteV1ScreenGroupsByIdMutation, exports.useGetV1ScreenGroupsByIdCampaignsQuery = exports.api.useGetV1ScreenGroupsByIdCampaignsQuery, exports.usePutV1ScreenGroupsByIdCampaignsMutation = exports.api.usePutV1ScreenGroupsByIdCampaignsMutation, exports.useDeleteV1ScreenGroupsByIdCampaignsAndCampaignIdMutation = exports.api.useDeleteV1ScreenGroupsByIdCampaignsAndCampaignIdMutation, exports.useGetV1ScreenGroupsByIdScreensQuery = exports.api.useGetV1ScreenGroupsByIdScreensQuery, exports.useGetV1ScreensQuery = exports.api.useGetV1ScreensQuery, exports.usePostV1ScreensMutation = exports.api.usePostV1ScreensMutation, exports.useGetV1ScreensByIdQuery = exports.api.useGetV1ScreensByIdQuery, exports.usePutV1ScreensByIdMutation = exports.api.usePutV1ScreensByIdMutation, exports.useDeleteV1ScreensByIdMutation = exports.api.useDeleteV1ScreensByIdMutation, exports.usePostScreenBindKeyMutation = exports.api.usePostScreenBindKeyMutation, exports.useGetV1ScreensByIdCampaignsQuery = exports.api.useGetV1ScreensByIdCampaignsQuery, exports.usePutV1ScreensByIdCampaignsMutation = exports.api.usePutV1ScreensByIdCampaignsMutation, exports.useDeleteV1ScreensByIdCampaignsAndCampaignIdMutation = exports.api.useDeleteV1ScreensByIdCampaignsAndCampaignIdMutation, exports.useGetV1ScreensByIdRegionsAndRegionIdPlaylistsQuery = exports.api.useGetV1ScreensByIdRegionsAndRegionIdPlaylistsQuery, exports.usePutPlaylistScreenRegionItemMutation = exports.api.usePutPlaylistScreenRegionItemMutation, exports.useDeletePlaylistScreenRegionItemMutation = exports.api.useDeletePlaylistScreenRegionItemMutation, exports.useGetV1ScreensByIdScreenGroupsQuery = exports.api.useGetV1ScreensByIdScreenGroupsQuery, exports.usePutV1ScreensByIdScreenGroupsMutation = exports.api.usePutV1ScreensByIdScreenGroupsMutation, exports.useDeleteV1ScreensByIdScreenGroupsAndScreenGroupIdMutation = exports.api.useDeleteV1ScreensByIdScreenGroupsAndScreenGroupIdMutation, exports.usePostScreenUnbindMutation = exports.api.usePostScreenUnbindMutation, exports.useGetV1SlidesQuery = exports.api.useGetV1SlidesQuery, exports.usePostV1SlidesMutation = exports.api.usePostV1SlidesMutation, exports.useGetV1SlidesByIdQuery = exports.api.useGetV1SlidesByIdQuery, exports.usePutV1SlidesByIdMutation = exports.api.usePutV1SlidesByIdMutation, exports.useDeleteV1SlidesByIdMutation = exports.api.useDeleteV1SlidesByIdMutation, exports.useGetV1SlidesByIdPlaylistsQuery = exports.api.useGetV1SlidesByIdPlaylistsQuery, exports.usePutV1SlidesByIdPlaylistsMutation = exports.api.usePutV1SlidesByIdPlaylistsMutation, exports.useGetV1TemplatesQuery = exports.api.useGetV1TemplatesQuery, exports.useGetV1TemplatesByIdQuery = exports.api.useGetV1TemplatesByIdQuery, exports.useGetV1TenantsQuery = exports.api.useGetV1TenantsQuery, exports.useGetV1TenantsByIdQuery = exports.api.useGetV1TenantsByIdQuery, exports.useGetV1ThemesQuery = exports.api.useGetV1ThemesQuery, exports.usePostV1ThemesMutation = exports.api.usePostV1ThemesMutation, exports.useGetV1ThemesByIdQuery = exports.api.useGetV1ThemesByIdQuery, exports.usePutV1ThemesByIdMutation = exports.api.usePutV1ThemesByIdMutation, exports.useDeleteV1ThemesByIdMutation = exports.api.useDeleteV1ThemesByIdMutation; +exports.useGetOidcAuthTokenItemQuery = exports.api.useGetOidcAuthTokenItemQuery, exports.useGetOidcAuthUrlsItemQuery = exports.api.useGetOidcAuthUrlsItemQuery, exports.usePostLoginInfoScreenMutation = exports.api.usePostLoginInfoScreenMutation, exports.useLoginCheckPostMutation = exports.api.useLoginCheckPostMutation, exports.usePostRefreshTokenItemMutation = exports.api.usePostRefreshTokenItemMutation, exports.useGetV1CampaignsByIdScreenGroupsQuery = exports.api.useGetV1CampaignsByIdScreenGroupsQuery, exports.useGetV1CampaignsByIdScreensQuery = exports.api.useGetV1CampaignsByIdScreensQuery, exports.useGetV1FeedSourcesQuery = exports.api.useGetV1FeedSourcesQuery, exports.useGetV1FeedSourcesByIdQuery = exports.api.useGetV1FeedSourcesByIdQuery, exports.useGetV1FeedSourcesByIdConfigAndNameQuery = exports.api.useGetV1FeedSourcesByIdConfigAndNameQuery, exports.useGetV1FeedsQuery = exports.api.useGetV1FeedsQuery, exports.useGetV1FeedsByIdQuery = exports.api.useGetV1FeedsByIdQuery, exports.useGetV1FeedsByIdDataQuery = exports.api.useGetV1FeedsByIdDataQuery, exports.useGetV1LayoutsQuery = exports.api.useGetV1LayoutsQuery, exports.useGetV1LayoutsByIdQuery = exports.api.useGetV1LayoutsByIdQuery, exports.useGetV1MediaQuery = exports.api.useGetV1MediaQuery, exports.usePostMediaCollectionMutation = exports.api.usePostMediaCollectionMutation, exports.useGetV1MediaByIdQuery = exports.api.useGetV1MediaByIdQuery, exports.useDeleteV1MediaByIdMutation = exports.api.useDeleteV1MediaByIdMutation, exports.useGetV1PlaylistsQuery = exports.api.useGetV1PlaylistsQuery, exports.usePostV1PlaylistsMutation = exports.api.usePostV1PlaylistsMutation, exports.useGetV1PlaylistsByIdQuery = exports.api.useGetV1PlaylistsByIdQuery, exports.usePutV1PlaylistsByIdMutation = exports.api.usePutV1PlaylistsByIdMutation, exports.useDeleteV1PlaylistsByIdMutation = exports.api.useDeleteV1PlaylistsByIdMutation, exports.useGetV1PlaylistsByIdSlidesQuery = exports.api.useGetV1PlaylistsByIdSlidesQuery, exports.usePutV1PlaylistsByIdSlidesMutation = exports.api.usePutV1PlaylistsByIdSlidesMutation, exports.useDeleteV1PlaylistsByIdSlidesAndSlideIdMutation = exports.api.useDeleteV1PlaylistsByIdSlidesAndSlideIdMutation, exports.useGetV1ScreenGroupsQuery = exports.api.useGetV1ScreenGroupsQuery, exports.usePostV1ScreenGroupsMutation = exports.api.usePostV1ScreenGroupsMutation, exports.useGetScreenGroupCampaignItemQuery = exports.api.useGetScreenGroupCampaignItemQuery, exports.useGetV1ScreenGroupsByIdQuery = exports.api.useGetV1ScreenGroupsByIdQuery, exports.usePutV1ScreenGroupsByIdMutation = exports.api.usePutV1ScreenGroupsByIdMutation, exports.useDeleteV1ScreenGroupsByIdMutation = exports.api.useDeleteV1ScreenGroupsByIdMutation, exports.useGetV1ScreenGroupsByIdCampaignsQuery = exports.api.useGetV1ScreenGroupsByIdCampaignsQuery, exports.usePutV1ScreenGroupsByIdCampaignsMutation = exports.api.usePutV1ScreenGroupsByIdCampaignsMutation, exports.useDeleteV1ScreenGroupsByIdCampaignsAndCampaignIdMutation = exports.api.useDeleteV1ScreenGroupsByIdCampaignsAndCampaignIdMutation, exports.useGetV1ScreenGroupsByIdScreensQuery = exports.api.useGetV1ScreenGroupsByIdScreensQuery, exports.useGetV1ScreensQuery = exports.api.useGetV1ScreensQuery, exports.usePostV1ScreensMutation = exports.api.usePostV1ScreensMutation, exports.useGetV1ScreensByIdQuery = exports.api.useGetV1ScreensByIdQuery, exports.usePutV1ScreensByIdMutation = exports.api.usePutV1ScreensByIdMutation, exports.useDeleteV1ScreensByIdMutation = exports.api.useDeleteV1ScreensByIdMutation, exports.usePostScreenBindKeyMutation = exports.api.usePostScreenBindKeyMutation, exports.useGetV1ScreensByIdCampaignsQuery = exports.api.useGetV1ScreensByIdCampaignsQuery, exports.usePutV1ScreensByIdCampaignsMutation = exports.api.usePutV1ScreensByIdCampaignsMutation, exports.useDeleteV1ScreensByIdCampaignsAndCampaignIdMutation = exports.api.useDeleteV1ScreensByIdCampaignsAndCampaignIdMutation, exports.useGetV1ScreensByIdRegionsAndRegionIdPlaylistsQuery = exports.api.useGetV1ScreensByIdRegionsAndRegionIdPlaylistsQuery, exports.usePutPlaylistScreenRegionItemMutation = exports.api.usePutPlaylistScreenRegionItemMutation, exports.useDeletePlaylistScreenRegionItemMutation = exports.api.useDeletePlaylistScreenRegionItemMutation, exports.useGetV1ScreensByIdScreenGroupsQuery = exports.api.useGetV1ScreensByIdScreenGroupsQuery, exports.usePutV1ScreensByIdScreenGroupsMutation = exports.api.usePutV1ScreensByIdScreenGroupsMutation, exports.useDeleteV1ScreensByIdScreenGroupsAndScreenGroupIdMutation = exports.api.useDeleteV1ScreensByIdScreenGroupsAndScreenGroupIdMutation, exports.usePostScreenUnbindMutation = exports.api.usePostScreenUnbindMutation, exports.useGetV1SlidesQuery = exports.api.useGetV1SlidesQuery, exports.usePostV1SlidesMutation = exports.api.usePostV1SlidesMutation, exports.useGetV1SlidesByIdQuery = exports.api.useGetV1SlidesByIdQuery, exports.usePutV1SlidesByIdMutation = exports.api.usePutV1SlidesByIdMutation, exports.useDeleteV1SlidesByIdMutation = exports.api.useDeleteV1SlidesByIdMutation, exports.useGetV1SlidesByIdPlaylistsQuery = exports.api.useGetV1SlidesByIdPlaylistsQuery, exports.usePutV1SlidesByIdPlaylistsMutation = exports.api.usePutV1SlidesByIdPlaylistsMutation, exports.useGetV1TemplatesQuery = exports.api.useGetV1TemplatesQuery, exports.useGetV1TemplatesByIdQuery = exports.api.useGetV1TemplatesByIdQuery, exports.useGetV1TenantsQuery = exports.api.useGetV1TenantsQuery, exports.useGetV1TenantsByIdQuery = exports.api.useGetV1TenantsByIdQuery, exports.useGetV1ThemesQuery = exports.api.useGetV1ThemesQuery, exports.usePostV1ThemesMutation = exports.api.usePostV1ThemesMutation, exports.useGetV1ThemesByIdQuery = exports.api.useGetV1ThemesByIdQuery, exports.usePutV1ThemesByIdMutation = exports.api.usePutV1ThemesByIdMutation, exports.useDeleteV1ThemesByIdMutation = exports.api.useDeleteV1ThemesByIdMutation; diff --git a/src/redux/api/api.generated.ts b/src/redux/api/api.generated.ts index 73ccbf90..a666b85e 100644 --- a/src/redux/api/api.generated.ts +++ b/src/redux/api/api.generated.ts @@ -10,7 +10,7 @@ export const api = createApi({ >({ query: (queryArg) => ({ url: `/v1/authentication/oidc/token`, - params: { state: queryArg.state, id_token: queryArg.idToken }, + params: { state: queryArg.state, code: queryArg.code }, }), }), getOidcAuthUrlsItem: build.query< @@ -32,14 +32,14 @@ export const api = createApi({ body: queryArg.screenLoginInput, }), }), - postCredentialsItem: build.mutation< - PostCredentialsItemApiResponse, - PostCredentialsItemApiArg + loginCheckPost: build.mutation< + LoginCheckPostApiResponse, + LoginCheckPostApiArg >({ query: (queryArg) => ({ url: `/v1/authentication/token`, method: "POST", - body: queryArg.credentials, + body: queryArg.body, }), }), postRefreshTokenItem: build.mutation< @@ -71,11 +71,7 @@ export const api = createApi({ >({ query: (queryArg) => ({ url: `/v1/campaigns/${queryArg.id}/screens`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - order: queryArg.order, - }, + params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage }, }), }), getV1FeedSources: build.query< @@ -446,10 +442,7 @@ export const api = createApi({ params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage, - createdBy: queryArg.createdBy, - modifiedBy: queryArg.modifiedBy, published: queryArg.published, - order: queryArg.order, }, }), }), @@ -710,12 +703,12 @@ export const api = createApi({ }), }); export type GetOidcAuthTokenItemApiResponse = - /** status 200 Get JWT token from OIDC token */ Token; + /** status 200 Get JWT token from OIDC code */ Token; export type GetOidcAuthTokenItemApiArg = { /** OIDC state */ state?: string; - /** OIDC id token */ - idToken?: string; + /** OIDC code */ + code?: string; }; export type GetOidcAuthUrlsItemApiResponse = /** status 200 Get authentication and end session endpoints */ OidcEndpoints; @@ -729,11 +722,15 @@ export type PostLoginInfoScreenApiArg = { /** Get login info with JWT token for given nonce */ screenLoginInput: ScreenLoginInput; }; -export type PostCredentialsItemApiResponse = - /** status 200 Get JWT token */ Token; -export type PostCredentialsItemApiArg = { - /** Generate new JWT Token */ - credentials: Credentials; +export type LoginCheckPostApiResponse = /** status 200 User token created */ { + token: string; +}; +export type LoginCheckPostApiArg = { + /** The login data */ + body: { + email: string; + password: string; + }; }; export type PostRefreshTokenItemApiResponse = /** status 200 Refresh JWT token */ RefreshTokenResponse; @@ -749,6 +746,7 @@ export type GetV1CampaignsByIdScreenGroupsApiArg = { itemsPerPage?: string; order?: { createdAt?: "asc" | "desc"; + modifiedAt?: "asc" | "desc"; }; }; export type GetV1CampaignsByIdScreensApiResponse = unknown; @@ -757,9 +755,6 @@ export type GetV1CampaignsByIdScreensApiArg = { page?: number; /** The number of items per page */ itemsPerPage?: string; - order?: { - createdAt?: "asc" | "desc"; - }; }; export type GetV1FeedSourcesApiResponse = unknown; export type GetV1FeedSourcesApiArg = { @@ -781,6 +776,7 @@ export type GetV1FeedSourcesApiArg = { title?: "asc" | "desc"; description?: "asc" | "desc"; createdAt?: "asc" | "desc"; + modifiedAt?: "asc" | "desc"; }; }; export type GetV1FeedSourcesByIdApiResponse = unknown; @@ -805,6 +801,7 @@ export type GetV1FeedsApiArg = { }; order?: { createdAt?: "asc" | "desc"; + modifiedAt?: "asc" | "desc"; }; }; export type GetV1FeedsByIdApiResponse = unknown; @@ -842,6 +839,7 @@ export type GetV1MediaApiArg = { title?: "asc" | "desc"; description?: "asc" | "desc"; createdAt?: "asc" | "desc"; + modifiedAt?: "asc" | "desc"; }; }; export type PostMediaCollectionApiResponse = unknown; @@ -882,6 +880,7 @@ export type GetV1PlaylistsApiArg = { 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; @@ -921,11 +920,12 @@ export type GetV1PlaylistsByIdSlidesApiArg = { published?: boolean; order?: { createdAt?: "asc" | "desc"; + modifiedAt?: "asc" | "desc"; }; }; export type PutV1PlaylistsByIdSlidesApiResponse = unknown; export type PutV1PlaylistsByIdSlidesApiArg = { - /** Resource identifier */ + /** PlaylistSlide identifier */ id: string; body: Blob; }; @@ -960,7 +960,7 @@ export type PostV1ScreenGroupsApiArg = { }; export type GetScreenGroupCampaignItemApiResponse = unknown; export type GetScreenGroupCampaignItemApiArg = { - /** Resource identifier */ + /** ScreenGroupCampaign identifier */ id: string; }; export type GetV1ScreenGroupsByIdApiResponse = unknown; @@ -993,11 +993,12 @@ export type GetV1ScreenGroupsByIdCampaignsApiArg = { published?: boolean; order?: { createdAt?: "asc" | "desc"; + modifiedAt?: "asc" | "desc"; }; }; export type PutV1ScreenGroupsByIdCampaignsApiResponse = unknown; export type PutV1ScreenGroupsByIdCampaignsApiArg = { - /** Resource identifier */ + /** ScreenGroupCampaign identifier */ id: string; body: Blob; }; @@ -1030,6 +1031,7 @@ export type GetV1ScreensApiArg = { title?: "asc" | "desc"; description?: "asc" | "desc"; createdAt?: "asc" | "desc"; + modifiedAt?: "asc" | "desc"; }; }; export type PostV1ScreensApiResponse = unknown; @@ -1064,21 +1066,12 @@ export type GetV1ScreensByIdCampaignsApiArg = { page: number; /** The number of items per page */ itemsPerPage?: string; - createdBy?: { - ""?: string[]; - }; - modifiedBy?: { - ""?: string[]; - }; /** If true only published content will be shown */ published?: boolean; - order?: { - createdAt?: "asc" | "desc"; - }; }; export type PutV1ScreensByIdCampaignsApiResponse = unknown; export type PutV1ScreensByIdCampaignsApiArg = { - /** Resource identifier */ + /** ScreenCampaign identifier */ id: string; body: Blob; }; @@ -1157,6 +1150,7 @@ export type GetV1SlidesApiArg = { title?: "asc" | "desc"; description?: "asc" | "desc"; createdAt?: "asc" | "desc"; + modifiedAt?: "asc" | "desc"; }; }; export type PostV1SlidesApiResponse = unknown; @@ -1194,6 +1188,7 @@ export type GetV1SlidesByIdPlaylistsApiArg = { published?: boolean; order?: { createdAt?: "asc" | "desc"; + modifiedAt?: "asc" | "desc"; }; }; export type PutV1SlidesByIdPlaylistsApiResponse = unknown; @@ -1216,6 +1211,7 @@ export type GetV1TemplatesApiArg = { }; order?: { createdAt?: "asc" | "desc"; + modifiedAt?: "asc" | "desc"; }; }; export type GetV1TemplatesByIdApiResponse = unknown; @@ -1257,6 +1253,7 @@ export type GetV1ThemesApiArg = { title?: "asc" | "desc"; description?: "asc" | "desc"; createdAt?: "asc" | "desc"; + modifiedAt?: "asc" | "desc"; }; }; export type PostV1ThemesApiResponse = unknown; @@ -1281,6 +1278,7 @@ export type DeleteV1ThemesByIdApiArg = { export type Token = { token?: string; refresh_token?: string; + refresh_token_expiration?: any; tenants?: { tenantKey?: string; title?: string; @@ -1301,10 +1299,6 @@ export type ScreenLoginOutput = { token?: string; }; export type ScreenLoginInput = object; -export type Credentials = { - email?: string; - password?: string; -}; export type RefreshTokenResponse = { token?: string; refresh_token?: string; @@ -1330,8 +1324,9 @@ export type ScreenScreenInput = { size?: string; layout?: string; location?: string; - dimensions?: string[]; - enableColorSchemeChange?: boolean | null; + resolution?: string; + orientation?: string; + enableColorSchemeChange?: any; }; export type ScreenBindObject = { bindKey?: string; @@ -1341,9 +1336,9 @@ export type SlideSlideInput = { description?: string; templateInfo?: string[]; theme?: string; - duration?: number | null; + duration?: any; published?: string[]; - feed?: string[] | null; + feed?: string[]; media?: string[]; content?: string[]; }; @@ -1357,7 +1352,7 @@ export const { useGetOidcAuthTokenItemQuery, useGetOidcAuthUrlsItemQuery, usePostLoginInfoScreenMutation, - usePostCredentialsItemMutation, + useLoginCheckPostMutation, usePostRefreshTokenItemMutation, useGetV1CampaignsByIdScreenGroupsQuery, useGetV1CampaignsByIdScreensQuery, diff --git a/src/redux/api/api.json b/src/redux/api/api.json index f2030576..644faadd 100644 --- a/src/redux/api/api.json +++ b/src/redux/api/api.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.3", + "openapi": "3.1.0", "info": { "title": "OS2Display Service API", "description": "API description", @@ -23,7 +23,7 @@ ], "responses": { "200": { - "description": "Get JWT token from OIDC token", + "description": "Get JWT token from OIDC code", "content": { "application/json": { "schema": { @@ -33,8 +33,7 @@ } } }, - "summary": "Get JWT token to login from OIDC token", - "description": "", + "summary": "Get JWT token to login from OIDC code", "parameters": [ { "name": "state", @@ -47,8 +46,8 @@ } }, { - "name": "id_token", - "description": "OIDC id token", + "name": "code", + "description": "OIDC code", "in": "query", "required": false, "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", @@ -56,8 +55,7 @@ "type": "string" } } - ], - "deprecated": false + ] }, "parameters": [] }, @@ -80,7 +78,6 @@ } }, "summary": "Get OpenID connect URLs", - "description": "", "parameters": [ { "name": "providerKey", @@ -92,8 +89,7 @@ "type": "string" } } - ], - "deprecated": false + ] }, "parameters": [] }, @@ -116,8 +112,6 @@ } }, "summary": "Get login info for a screen.", - "description": "", - "parameters": [], "requestBody": { "description": "Get login info with JWT token for given nonce", "content": { @@ -128,44 +122,65 @@ } }, "required": false - }, - "deprecated": false + } }, "parameters": [] }, "/v1/authentication/token": { "post": { - "operationId": "postCredentialsItem", + "operationId": "login_check_post", "tags": [ - "Authentication" + "Login Check" ], "responses": { "200": { - "description": "Get JWT token", + "description": "User token created", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Token" + "type": "object", + "properties": { + "token": { + "readOnly": true, + "type": "string", + "nullable": false + } + }, + "required": [ + "token" + ] } } } } }, - "summary": "Get JWT token to login from local user.", - "description": "", - "parameters": [], + "summary": "Creates a user token.", + "description": "Creates a user token.", "requestBody": { - "description": "Generate new JWT Token", + "description": "The login data", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Credentials" + "type": "object", + "properties": { + "email": { + "type": "string", + "nullable": false + }, + "password": { + "type": "string", + "nullable": false + } + }, + "required": [ + "email", + "password" + ] } } }, - "required": false - }, - "deprecated": false + "required": true + } }, "parameters": [] }, @@ -188,8 +203,6 @@ } }, "summary": "Get JWT token from refresh token.", - "description": "", - "parameters": [], "requestBody": { "description": "Refresh JWT Token", "content": { @@ -200,8 +213,7 @@ } }, "required": false - }, - "deprecated": false + } }, "parameters": [] }, @@ -255,6 +267,14 @@ "type": "string", "format": "iri-reference" } + }, + "example": { + "@id": "string", + "type": "string", + "hydra:first": "string", + "hydra:last": "string", + "hydra:previous": "string", + "hydra:next": "string" } }, "hydra:search": { @@ -281,8 +301,10 @@ "type": "string" }, "property": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ] }, "required": { "type": "boolean" @@ -385,6 +407,24 @@ "style": "form", "explode": false, "allowReserved": false + }, + { + "name": "order[modifiedAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": true, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false } ], "deprecated": false @@ -408,7 +448,7 @@ "hydra:member": { "type": "array", "items": { - "$ref": "#/components/schemas/ScreenCampaign.ScreenCampaign.jsonld" + "$ref": "#/components/schemas/ScreenCampaign.jsonld" } }, "hydra:totalItems": { @@ -441,6 +481,14 @@ "type": "string", "format": "iri-reference" } + }, + "example": { + "@id": "string", + "type": "string", + "hydra:first": "string", + "hydra:last": "string", + "hydra:previous": "string", + "hydra:next": "string" } }, "hydra:search": { @@ -467,8 +515,10 @@ "type": "string" }, "property": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ] }, "required": { "type": "boolean" @@ -488,7 +538,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ScreenCampaign.ScreenCampaign" + "$ref": "#/components/schemas/ScreenCampaign" } } }, @@ -496,7 +546,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ScreenCampaign.ScreenCampaign" + "$ref": "#/components/schemas/ScreenCampaign" } } } @@ -553,24 +603,6 @@ "style": "form", "explode": false, "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false } ], "deprecated": false @@ -591,7 +623,7 @@ "examples": null } }, - "headers": {} + "headers": [] } }, "summary": "Retrieves a collection of FeedSource resources.", @@ -787,6 +819,24 @@ "explode": false, "allowReserved": false }, + { + "name": "order[modifiedAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": true, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, { "name": "supportedFeedOutputType[]", "in": "query", @@ -823,10 +873,7 @@ "examples": null } }, - "headers": {} - }, - "404": { - "description": "Resource not found" + "headers": [] } }, "summary": "Retrieve a Feed Source resource.", @@ -861,7 +908,6 @@ ], "responses": { "200": { - "description": "", "content": { "application/ld+json": { "examples": { @@ -877,10 +923,7 @@ } } }, - "headers": {} - }, - "404": { - "description": "Resource not found" + "headers": [] } }, "summary": "Get config for name from a feed source.", @@ -936,7 +979,7 @@ "examples": null } }, - "headers": {} + "headers": [] } }, "summary": "Retrieves a collection of Feed resources.", @@ -1053,6 +1096,24 @@ "style": "form", "explode": false, "allowReserved": false + }, + { + "name": "order[modifiedAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": true, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false } ], "deprecated": false @@ -1073,10 +1134,7 @@ "examples": null } }, - "headers": {} - }, - "404": { - "description": "Resource not found" + "headers": [] } }, "summary": "Retrieve a feed resource.", @@ -1111,7 +1169,6 @@ ], "responses": { "200": { - "description": "", "content": { "application/ld+json": { "examples": { @@ -1135,10 +1192,7 @@ } } }, - "headers": {} - }, - "404": { - "description": "Resource not found" + "headers": [] } }, "summary": "Get data from a feed.", @@ -1177,9 +1231,9 @@ "content": { "application/ld+json": { "examples": null - } - }, - "headers": {} + }, + "headers": [] + } } }, "summary": "Retrieves a collection of layouts resources.", @@ -1238,10 +1292,7 @@ "examples": null } }, - "headers": {} - }, - "404": { - "description": "Resource not found" + "headers": [] } }, "summary": "Retrieve a screen layout resource.", @@ -1282,7 +1333,7 @@ "examples": null } }, - "headers": {} + "headers": [] } }, "summary": "Retrieves a collection of Media resources.", @@ -1463,6 +1514,24 @@ "style": "form", "explode": false, "allowReserved": false + }, + { + "name": "order[modifiedAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": true, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false } ], "deprecated": false @@ -1542,7 +1611,7 @@ }, "/v1/media/{id}": { "get": { - "operationId": "get-v1-media-id", + "operationId": "getV1MediaById", "tags": [ "Media" ], @@ -1554,10 +1623,7 @@ "examples": null } }, - "headers": {} - }, - "404": { - "description": "Resource not found" + "headers": [] } }, "summary": "Retrieve a Media resource.", @@ -1633,7 +1699,7 @@ "examples": null } }, - "headers": {} + "headers": [] } }, "summary": "Retrieve a collection of Playlist resources.", @@ -1845,6 +1911,24 @@ "explode": false, "allowReserved": false }, + { + "name": "order[modifiedAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": true, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, { "name": "sharedWithMe", "in": "query", @@ -1938,10 +2022,7 @@ "examples": null } }, - "headers": {} - }, - "404": { - "description": "Resource not found" + "headers": [] } }, "summary": "Retrieves a Playlist resource.", @@ -2097,7 +2178,7 @@ "examples": null } }, - "headers": {} + "headers": [] } }, "summary": "Retrieves collection of weighted slide resources.", @@ -2244,6 +2325,24 @@ "style": "form", "explode": false, "allowReserved": false + }, + { + "name": "order[modifiedAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": true, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false } ], "deprecated": false @@ -2254,44 +2353,6 @@ "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": { - "GetPlaylistSlideItem": { - "operationId": "getPlaylistSlideItem", - "parameters": { - "id": "$response.body#/id" - }, - "description": "The `id` value returned in the response can be used as the `id` parameter in `GET /v1/playlist-slides/{id}`." - } - } - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - }, - "404": { - "description": "Resource not found" - }, "201": { "description": "Created", "content": { @@ -2323,7 +2384,7 @@ { "name": "id", "in": "path", - "description": "Resource identifier", + "description": "PlaylistSlide identifier", "required": true, "deprecated": false, "allowEmptyValue": false, @@ -2432,7 +2493,7 @@ "examples": null } }, - "headers": {} + "headers": [] } }, "summary": "Retrieves a collection of Screen group resources.", @@ -2716,7 +2777,7 @@ { "name": "id", "in": "path", - "description": "Resource identifier", + "description": "ScreenGroupCampaign identifier", "required": true, "deprecated": false, "allowEmptyValue": false, @@ -2746,10 +2807,7 @@ "examples": null } }, - "headers": {} - }, - "404": { - "description": "Resource not found" + "headers": [] } }, "summary": "Retrieve a Screen group resource.", @@ -2905,7 +2963,7 @@ "examples": null } }, - "headers": {} + "headers": [] } }, "summary": "Retrieves collection of campaign resources connected to a screen group.", @@ -3052,6 +3110,24 @@ "style": "form", "explode": false, "allowReserved": false + }, + { + "name": "order[modifiedAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": true, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false } ], "deprecated": false @@ -3062,46 +3138,8 @@ "ScreenGroups" ], "responses": { - "200": { - "description": "ScreenGroupCampaign resource updated", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/ScreenGroupCampaign.ScreenGroupCampaign.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/ScreenGroupCampaign.ScreenGroupCampaign" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ScreenGroupCampaign.ScreenGroupCampaign" - } - } - }, - "links": { - "GetScreenGroupCampaignItem": { - "operationId": "getScreenGroupCampaignItem", - "parameters": { - "id": "$response.body#/id" - }, - "description": "The `id` value returned in the response can be used as the `id` parameter in `GET /v1/screen-groups-campaigns/{id}`." - } - } - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - }, - "404": { - "description": "Resource not found" - }, - "201": { - "description": "Created", + "201": { + "description": "Created", "content": { "application/ld+json": { "schema": { @@ -3128,7 +3166,7 @@ { "name": "id", "in": "path", - "description": "Resource identifier", + "description": "ScreenGroupCampaign identifier", "required": true, "deprecated": false, "allowEmptyValue": false, @@ -3270,6 +3308,14 @@ "type": "string", "format": "iri-reference" } + }, + "example": { + "@id": "string", + "type": "string", + "hydra:first": "string", + "hydra:last": "string", + "hydra:previous": "string", + "hydra:next": "string" } }, "hydra:search": { @@ -3296,8 +3342,10 @@ "type": "string" }, "property": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ] }, "required": { "type": "boolean" @@ -3402,7 +3450,7 @@ "examples": null } }, - "headers": {} + "headers": [] } }, "summary": "Retrieves a collection of Screen resources.", @@ -3569,6 +3617,24 @@ "style": "form", "explode": false, "allowReserved": false + }, + { + "name": "order[modifiedAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": true, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false } ], "deprecated": false @@ -3649,10 +3715,7 @@ "examples": null } }, - "headers": {} - }, - "404": { - "description": "Resource not found" + "headers": [] } }, "summary": "Retrieve a Screen resource.", @@ -3806,7 +3869,6 @@ } }, "summary": "Bind screen with BindKey", - "description": "", "parameters": [ { "name": "id", @@ -3833,8 +3895,7 @@ } }, "required": false - }, - "deprecated": false + } }, "parameters": [] }, @@ -3852,7 +3913,7 @@ "examples": null } }, - "headers": {} + "headers": [] } }, "summary": "Retrieves collection of campaign resources.", @@ -3906,68 +3967,6 @@ "explode": false, "allowReserved": false }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, { "name": "published", "in": "query", @@ -3981,24 +3980,6 @@ "style": "form", "explode": false, "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false } ], "deprecated": false @@ -4009,44 +3990,6 @@ "Screens" ], "responses": { - "200": { - "description": "ScreenCampaign resource updated", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/ScreenCampaign.ScreenCampaign.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/ScreenCampaign.ScreenCampaign" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ScreenCampaign.ScreenCampaign" - } - } - }, - "links": { - "GetScreenCampaignItem": { - "operationId": "getScreenCampaignItem", - "parameters": { - "id": "$response.body#/id" - }, - "description": "The `id` value returned in the response can be used as the `id` parameter in `GET /v1/screen-campaigns/{id}`." - } - } - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - }, - "404": { - "description": "Resource not found" - }, "201": { "description": "Created", "content": { @@ -4075,7 +4018,7 @@ { "name": "id", "in": "path", - "description": "Resource identifier", + "description": "ScreenCampaign identifier", "required": true, "deprecated": false, "allowEmptyValue": false, @@ -4217,6 +4160,14 @@ "type": "string", "format": "iri-reference" } + }, + "example": { + "@id": "string", + "type": "string", + "hydra:first": "string", + "hydra:last": "string", + "hydra:previous": "string", + "hydra:next": "string" } }, "hydra:search": { @@ -4243,8 +4194,10 @@ "type": "string" }, "property": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ] }, "required": { "type": "boolean" @@ -4372,17 +4325,11 @@ "200": { "description": "Not used - remove the default 200 response" }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" + "201": { + "description": "Created" }, "404": { "description": "Not found" - }, - "201": { - "description": "Created" } }, "summary": "Add Playlist resource from screen region.", @@ -4570,6 +4517,14 @@ "type": "string", "format": "iri-reference" } + }, + "example": { + "@id": "string", + "type": "string", + "hydra:first": "string", + "hydra:last": "string", + "hydra:previous": "string", + "hydra:next": "string" } }, "hydra:search": { @@ -4596,8 +4551,10 @@ "type": "string" }, "property": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ] }, "required": { "type": "boolean" @@ -4735,15 +4692,6 @@ "examples": null } } - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - }, - "404": { - "description": "Resource not found" } }, "summary": "Update the collection of ScreenGroups on a Screen.", @@ -4850,7 +4798,6 @@ } }, "summary": "Unbind screen from machine", - "description": "", "parameters": [ { "name": "id", @@ -4871,8 +4818,7 @@ "description": "Unbind from machine", "content": {}, "required": false - }, - "deprecated": false + } }, "parameters": [] }, @@ -4890,7 +4836,7 @@ "examples": null } }, - "headers": {} + "headers": [] } }, "summary": "Retrieves a collection of Slide resources.", @@ -5085,6 +5031,24 @@ "style": "form", "explode": false, "allowReserved": false + }, + { + "name": "order[modifiedAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": true, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false } ], "deprecated": false @@ -5165,10 +5129,7 @@ "examples": null } }, - "headers": {} - }, - "404": { - "description": "Resource not found" + "headers": [] } }, "summary": "Retrieve a Slide resource.", @@ -5324,7 +5285,7 @@ "examples": null } }, - "headers": {} + "headers": [] } }, "summary": "Get the collection of playlist connected to a slide.", @@ -5471,6 +5432,24 @@ "style": "form", "explode": false, "allowReserved": false + }, + { + "name": "order[modifiedAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": true, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false } ], "deprecated": false @@ -5486,119 +5465,30 @@ "content": { "application/ld+json": { "schema": { - "type": "object", - "properties": { - "hydra:member": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PlaylistSlide.PlaylistSlide.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" - } - } - }, - "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", - "nullable": true - }, - "required": { - "type": "boolean" - } - } - } - } - } - } - }, - "required": [ - "hydra:member" - ] + "$ref": "#/components/schemas/PlaylistSlide.PlaylistSlide.jsonld" } }, "text/html": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PlaylistSlide.PlaylistSlide" - } + "$ref": "#/components/schemas/PlaylistSlide.PlaylistSlide" } }, "multipart/form-data": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PlaylistSlide.PlaylistSlide" - } + "$ref": "#/components/schemas/PlaylistSlide.PlaylistSlide" } } }, - "links": { - "GetPlaylistSlideItem": { - "operationId": "getPlaylistSlideItem", - "parameters": { - "id": "$response.body#/id" - }, - "description": "The `id` value returned in the response can be used as the `id` parameter in `GET /v1/playlist-slides/{id}`." - } - } + "links": {} }, "400": { "description": "Invalid input" }, "422": { "description": "Unprocessable entity" + }, + "404": { + "description": "Resource not found" } }, "summary": "Retrieves collection of playlistresources.", @@ -5661,7 +5551,7 @@ "examples": null } }, - "headers": {} + "headers": [] } }, "summary": "Retrieve a collection of Template resources.", @@ -5806,6 +5696,24 @@ "style": "form", "explode": false, "allowReserved": false + }, + { + "name": "order[modifiedAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": true, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false } ], "deprecated": false @@ -5826,10 +5734,7 @@ "examples": null } }, - "headers": {} - }, - "404": { - "description": "Resource not found" + "headers": [] } }, "summary": "Retrieve a Template resource.", @@ -5870,7 +5775,7 @@ "examples": null } }, - "headers": {} + "headers": [] } }, "summary": "Retrieves a collection of tenant resources.", @@ -6017,10 +5922,7 @@ "examples": null } }, - "headers": {} - }, - "404": { - "description": "Resource not found" + "headers": [] } }, "summary": "Retrieve a tenant resource.", @@ -6061,7 +5963,7 @@ "examples": null } }, - "headers": {} + "headers": [] } }, "summary": "Retrieve a collection of Theme resources.", @@ -6242,6 +6144,24 @@ "style": "form", "explode": false, "allowReserved": false + }, + { + "name": "order[modifiedAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": true, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false } ], "deprecated": false @@ -6257,17 +6177,17 @@ "content": { "application/ld+json": { "schema": { - "$ref": "#/components/schemas/Theme.Theme.jsonld" + "$ref": "#/components/schemas/Theme.jsonld" } }, "text/html": { "schema": { - "$ref": "#/components/schemas/Theme.Theme" + "$ref": "#/components/schemas/Theme" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/Theme.Theme" + "$ref": "#/components/schemas/Theme" } } }, @@ -6322,10 +6242,7 @@ "examples": null } }, - "headers": {} - }, - "404": { - "description": "Resource not found" + "headers": [] } }, "summary": "Retrieve a Theme resource.", @@ -6361,17 +6278,17 @@ "content": { "application/ld+json": { "schema": { - "$ref": "#/components/schemas/Theme.Theme.jsonld" + "$ref": "#/components/schemas/Theme.jsonld" } }, "text/html": { "schema": { - "$ref": "#/components/schemas/Theme.Theme" + "$ref": "#/components/schemas/Theme" } }, "multipart/form-data": { "schema": { - "$ref": "#/components/schemas/Theme.Theme" + "$ref": "#/components/schemas/Theme" } } }, @@ -6472,6 +6389,8 @@ "schemas": { "Collection": { "type": "object", + "description": "", + "deprecated": false, "properties": { "empty": { "readOnly": true, @@ -6481,10 +6400,20 @@ "keys": { "readOnly": true, "description": "Gets all keys/indices of the collection.", - "type": "array", - "items": { - "type": "integer" - } + "anyOf": [ + { + "type": "array", + "items": { + "type": "integer" + } + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] }, "values": { "readOnly": true, @@ -6501,42 +6430,9 @@ }, "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).", @@ -6545,10 +6441,20 @@ "keys": { "readOnly": true, "description": "Gets all keys/indices of the collection.", - "type": "array", - "items": { - "type": "integer" - } + "anyOf": [ + { + "type": "array", + "items": { + "type": "integer" + } + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] }, "values": { "readOnly": true, @@ -6566,14 +6472,34 @@ "Feed.Feed": { "type": "object", "description": "", + "deprecated": false, "properties": { - "created": { - "type": "string", - "format": "date-time" + "configuration": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } }, - "modified": { - "type": "string", - "format": "date-time" + "slide": { + "type": [ + "string", + "null" + ] + }, + "feedSource": { + "type": [ + "string", + "null" + ] + }, + "feedUrl": { + "type": [ + "string", + "null" + ] }, "modifiedBy": { "type": "string" @@ -6581,30 +6507,20 @@ "createdBy": { "type": "string" }, - "configuration": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "slide": { - "type": "string", - "nullable": true - }, - "feedSource": { + "created": { "type": "string", - "nullable": true + "format": "date-time" }, - "feedUrl": { + "modified": { "type": "string", - "nullable": true + "format": "date-time" } } }, "Feed.Feed.jsonld": { "type": "object", "description": "", + "deprecated": false, "properties": { "@id": { "readOnly": true, @@ -6641,49 +6557,37 @@ } ] }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, "configuration": { - "type": "array", + "type": [ + "array", + "null" + ], "items": { "type": "string" - }, - "nullable": true + } }, "slide": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ] }, "feedSource": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ] }, "feedUrl": { - "type": "string", - "nullable": true - } - } - }, - "FeedSource.FeedSource": { - "type": "object", - "description": "", - "properties": { - "title": { + "type": [ + "string", + "null" + ] + }, + "modifiedBy": { "type": "string" }, - "description": { + "createdBy": { "type": "string" }, "created": { @@ -6693,11 +6597,18 @@ "modified": { "type": "string", "format": "date-time" - }, - "modifiedBy": { + } + } + }, + "FeedSource": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { "type": "string" }, - "createdBy": { + "description": { "type": "string" }, "outputType": { @@ -6726,53 +6637,16 @@ }, "supportedFeedOutputType": { "type": "string" - } - } - }, - "FeedSource.FeedSource.jsonld": { - "type": "object", - "description": "", - "properties": { - "@id": { - "readOnly": true, + }, + "modifiedBy": { "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": { + "createdBy": { "type": "string" }, - "description": { - "type": "string" + "id": { + "type": "string", + "format": "ulid" }, "created": { "type": "string", @@ -6781,11 +6655,18 @@ "modified": { "type": "string", "format": "date-time" - }, - "modifiedBy": { + } + } + }, + "FeedSource.FeedSource": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { "type": "string" }, - "createdBy": { + "description": { "type": "string" }, "outputType": { @@ -6814,21 +6695,17 @@ }, "supportedFeedOutputType": { "type": "string" - } - } - }, - "Media": { - "type": "object", - "properties": { - "title": { - "type": "string" }, - "description": { + "modifiedBy": { "type": "string" }, - "license": { + "createdBy": { "type": "string" }, + "id": { + "type": "string", + "format": "ulid" + }, "created": { "type": "string", "format": "date-time" @@ -6836,66 +6713,22 @@ "modified": { "type": "string", "format": "date-time" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "media": { - "$ref": "#/components/schemas/Collection" - }, - "assets": { - "type": "array", - "items": { - "type": "string" - } } } }, - "Media.Media": { + "FeedSource.FeedSource.jsonld": { "type": "object", "description": "", + "deprecated": false, "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "license": { - "type": "string" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "modifiedBy": { + "@id": { + "readOnly": true, "type": "string" }, - "createdBy": { + "@type": { + "readOnly": true, "type": "string" }, - "media": { - "$ref": "#/components/schemas/Collection" - }, - "assets": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "Media.Media.jsonld": { - "type": "object", - "description": "", - "properties": { "@context": { "readOnly": true, "oneOf": [ @@ -6923,30 +6756,38 @@ } ] }, - "@id": { - "readOnly": true, + "title": { "type": "string" }, - "@type": { - "readOnly": true, + "description": { "type": "string" }, - "title": { + "outputType": { "type": "string" }, - "description": { + "feedType": { "type": "string" }, - "license": { - "type": "string" + "secrets": { + "type": "array", + "items": { + "type": "string" + } }, - "created": { - "type": "string", - "format": "date-time" + "feeds": { + "type": "array", + "items": { + "type": "string" + } }, - "modified": { - "type": "string", - "format": "date-time" + "admin": { + "type": "array", + "items": { + "type": "string" + } + }, + "supportedFeedOutputType": { + "type": "string" }, "modifiedBy": { "type": "string" @@ -6954,19 +6795,24 @@ "createdBy": { "type": "string" }, - "media": { - "$ref": "#/components/schemas/Collection.jsonld" + "id": { + "type": "string", + "format": "ulid" }, - "assets": { - "type": "array", - "items": { - "type": "string" - } + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" } } }, - "Media.jsonld": { + "FeedSource.jsonld": { "type": "object", + "description": "", + "deprecated": false, "properties": { "@context": { "readOnly": true, @@ -7009,16 +6855,32 @@ "description": { "type": "string" }, - "license": { + "outputType": { "type": "string" }, - "created": { - "type": "string", - "format": "date-time" + "feedType": { + "type": "string" }, - "modified": { - "type": "string", - "format": "date-time" + "secrets": { + "type": "array", + "items": { + "type": "string" + } + }, + "feeds": { + "type": "array", + "items": { + "type": "string" + } + }, + "admin": { + "type": "array", + "items": { + "type": "string" + } + }, + "supportedFeedOutputType": { + "type": "string" }, "modifiedBy": { "type": "string" @@ -7026,20 +6888,24 @@ "createdBy": { "type": "string" }, - "media": { - "$ref": "#/components/schemas/Collection.jsonld" + "id": { + "type": "string", + "format": "ulid" }, - "assets": { - "type": "array", - "items": { - "type": "string" - } + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" } } }, - "Playlist.Playlist": { + "Media": { "type": "object", "description": "", + "deprecated": false, "properties": { "title": { "type": "string" @@ -7047,12 +6913,34 @@ "description": { "type": "string" }, - "schedules": { + "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" @@ -7060,47 +6948,62 @@ "modified": { "type": "string", "format": "date-time" - }, - "modifiedBy": { + } + } + }, + "Media.Media": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { "type": "string" }, - "createdBy": { + "description": { "type": "string" }, - "slides": { + "license": { "type": "string" }, - "campaignScreens": { - "$ref": "#/components/schemas/Collection" - }, - "campaignScreenGroups": { - "$ref": "#/components/schemas/Collection" - }, - "tenants": { + "media": { "$ref": "#/components/schemas/Collection" }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, + "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" } } }, - "Playlist.Playlist.jsonld": { + "Media.Media.jsonld": { "type": "object", "description": "", + "deprecated": false, "properties": { "@context": { "readOnly": true, @@ -7143,12 +7046,34 @@ "description": { "type": "string" }, - "schedules": { + "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" @@ -7156,6 +7081,72 @@ "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" @@ -7163,17 +7154,48 @@ "createdBy": { "type": "string" }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "Playlist": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "schedules": { + "type": "array", + "items": { + "type": "string" + } + }, "slides": { "type": "string" }, "campaignScreens": { - "$ref": "#/components/schemas/Collection.jsonld" + "$ref": "#/components/schemas/Collection" }, "campaignScreenGroups": { - "$ref": "#/components/schemas/Collection.jsonld" + "$ref": "#/components/schemas/Collection" }, "tenants": { - "$ref": "#/components/schemas/Collection.jsonld" + "$ref": "#/components/schemas/Collection" }, "isCampaign": { "type": "boolean" @@ -7191,12 +7213,31 @@ "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" } } }, - "Playlist.PlaylistInput": { + "Playlist.Playlist": { "type": "object", "description": "", + "deprecated": false, "properties": { "title": { "type": "string" @@ -7210,34 +7251,59 @@ "type": "string" } }, + "slides": { + "type": "string" + }, + "campaignScreens": { + "$ref": "#/components/schemas/Collection" + }, + "campaignScreenGroups": { + "$ref": "#/components/schemas/Collection" + }, "tenants": { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/Collection" }, "isCampaign": { "type": "boolean" }, "published": { "default": { - "from": "0", - "to": "0" + "from": "", + "to": "" }, "example": { - "from": "0", - "to": "0" + "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" } } }, - "Playlist.PlaylistInput.jsonld": { + "Playlist.Playlist.jsonld": { "type": "object", "description": "", + "deprecated": false, "properties": { "@context": { "readOnly": true, @@ -7286,40 +7352,251 @@ "type": "string" } }, + "slides": { + "type": "string" + }, + "campaignScreens": { + "$ref": "#/components/schemas/Collection.jsonld" + }, + "campaignScreenGroups": { + "$ref": "#/components/schemas/Collection.jsonld" + }, "tenants": { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/Collection.jsonld" }, "isCampaign": { "type": "boolean" }, "published": { "default": { - "from": "0", - "to": "0" + "from": "", + "to": "" }, "example": { - "from": "0", - "to": "0" + "from": "", + "to": "" }, "type": "array", "items": { "type": "string" } - } - } - }, - "PlaylistScreenRegion.PlaylistScreenRegion": { - "type": "object", - "description": "", - "properties": { - "playlist": { - "type": "string", - "format": "iri-reference" }, - "weight": { + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "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", + "items": { + "type": "string" + } + }, + "slides": { + "type": "string" + }, + "campaignScreens": { + "$ref": "#/components/schemas/Collection.jsonld" + }, + "campaignScreenGroups": { + "$ref": "#/components/schemas/Collection.jsonld" + }, + "tenants": { + "$ref": "#/components/schemas/Collection.jsonld" + }, + "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" + } + } + }, + "PlaylistScreenRegion.PlaylistScreenRegion": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "playlist": { + "owl:maxCardinality": 1, + "type": "string", + "format": "iri-reference" + }, + "weight": { "type": "integer" } } @@ -7327,6 +7604,7 @@ "PlaylistScreenRegion.PlaylistScreenRegion.jsonld": { "type": "object", "description": "", + "deprecated": false, "properties": { "@id": { "readOnly": true, @@ -7364,6 +7642,7 @@ ] }, "playlist": { + "owl:maxCardinality": 1, "type": "string", "format": "iri-reference" }, @@ -7375,12 +7654,15 @@ "PlaylistSlide.PlaylistSlide": { "type": "object", "description": "", + "deprecated": false, "properties": { "slide": { + "owl:maxCardinality": 1, "type": "string", "format": "iri-reference" }, "playlist": { + "owl:maxCardinality": 1, "type": "string", "format": "iri-reference" }, @@ -7392,6 +7674,7 @@ "PlaylistSlide.PlaylistSlide.jsonld": { "type": "object", "description": "", + "deprecated": false, "properties": { "@id": { "readOnly": true, @@ -7429,10 +7712,12 @@ ] }, "slide": { + "owl:maxCardinality": 1, "type": "string", "format": "iri-reference" }, "playlist": { + "owl:maxCardinality": 1, "type": "string", "format": "iri-reference" }, @@ -7441,9 +7726,10 @@ } } }, - "Screen.Screen": { + "Screen": { "type": "object", "description": "", + "deprecated": false, "properties": { "title": { "type": "string" @@ -7454,24 +7740,16 @@ "size": { "type": "string" }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "modifiedBy": { + "campaigns": { "type": "string" }, - "createdBy": { + "layout": { "type": "string" }, - "campaigns": { + "orientation": { "type": "string" }, - "layout": { + "resolution": { "type": "string" }, "location": { @@ -7488,33 +7766,114 @@ "example": "/v1/screens/{id}/groups", "type": "string" }, - "dimensions": { - "default": { - "width": 0, - "height": 0 - }, - "example": { - "width": 0, - "height": 0 - }, - "type": "array", - "items": { - "type": "string" - } - }, "screenUser": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ] }, "enableColorSchemeChange": { - "type": "boolean", - "nullable": true + "type": [ + "boolean", + "null" + ] + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" } } }, - "Screen.Screen.jsonld": { + "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": "/v1/screens/{id}/groups", + "example": "/v1/screens/{id}/groups", + "type": "string" + }, + "screenUser": { + "type": [ + "string", + "null" + ] + }, + "enableColorSchemeChange": { + "type": [ + "boolean", + "null" + ] + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "Screen.Screen.jsonld": { "type": "object", "description": "", + "deprecated": false, "properties": { "@context": { "readOnly": true, @@ -7560,24 +7919,16 @@ "size": { "type": "string" }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "modifiedBy": { + "campaigns": { "type": "string" }, - "createdBy": { + "layout": { "type": "string" }, - "campaigns": { + "orientation": { "type": "string" }, - "layout": { + "resolution": { "type": "string" }, "location": { @@ -7594,33 +7945,42 @@ "example": "/v1/screens/{id}/groups", "type": "string" }, - "dimensions": { - "default": { - "width": 0, - "height": 0 - }, - "example": { - "width": 0, - "height": 0 - }, - "type": "array", - "items": { - "type": "string" - } - }, "screenUser": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ] }, "enableColorSchemeChange": { - "type": "boolean", - "nullable": true + "type": [ + "boolean", + "null" + ] + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" } } }, "Screen.ScreenInput": { "type": "object", "description": "", + "deprecated": false, "properties": { "title": { "type": "string" @@ -7637,30 +7997,314 @@ "location": { "type": "string" }, - "dimensions": { - "default": { - "width": 0, - "height": 0 - }, - "example": { - "width": 0, - "height": 0 - }, + "resolution": { + "type": "string" + }, + "orientation": { + "type": "string" + }, + "enableColorSchemeChange": { + "type": [ + "boolean", + "null" + ] + } + } + }, + "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" + ] + } + } + }, + "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" } }, - "enableColorSchemeChange": { - "type": "boolean", - "nullable": true + "inScreenGroups": { + "default": "/v1/screens/{id}/groups", + "example": "/v1/screens/{id}/groups", + "type": "string" + }, + "screenUser": { + "type": [ + "string", + "null" + ] + }, + "enableColorSchemeChange": { + "type": [ + "boolean", + "null" + ] + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "ScreenCampaign": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "campaign": { + "owl:maxCardinality": 1, + "type": "string", + "format": "iri-reference" + }, + "screen": { + "owl:maxCardinality": 1, + "type": "string", + "format": "iri-reference" + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "ScreenCampaign.ScreenCampaign": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "campaign": { + "owl:maxCardinality": 1, + "type": "string", + "format": "iri-reference" + }, + "screen": { + "owl:maxCardinality": 1, + "type": "string", + "format": "iri-reference" + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "ScreenCampaign.ScreenCampaign.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 + } + ] + }, + "campaign": { + "owl:maxCardinality": 1, + "type": "string", + "format": "iri-reference" + }, + "screen": { + "owl:maxCardinality": 1, + "type": "string", + "format": "iri-reference" + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" } } }, - "Screen.ScreenInput.jsonld": { + "ScreenCampaign.jsonld": { "type": "object", "description": "", + "deprecated": false, "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, "@context": { "readOnly": true, "oneOf": [ @@ -7688,66 +8332,114 @@ } ] }, - "@id": { - "readOnly": true, + "campaign": { + "owl:maxCardinality": 1, + "type": "string", + "format": "iri-reference" + }, + "screen": { + "owl:maxCardinality": 1, + "type": "string", + "format": "iri-reference" + }, + "modifiedBy": { "type": "string" }, - "@type": { - "readOnly": true, + "createdBy": { "type": "string" }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "ScreenGroup": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { "title": { "type": "string" }, "description": { "type": "string" }, - "size": { + "campaigns": { "type": "string" }, - "layout": { + "screens": { "type": "string" }, - "location": { + "modifiedBy": { "type": "string" }, - "dimensions": { - "default": { - "width": 0, - "height": 0 - }, - "example": { - "width": 0, - "height": 0 - }, - "type": "array", - "items": { - "type": "string" - } + "createdBy": { + "type": "string" }, - "enableColorSchemeChange": { - "type": "boolean", - "nullable": true + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" } } }, - "ScreenCampaign.ScreenCampaign": { + "ScreenGroup.ScreenGroup": { "type": "object", "description": "", + "deprecated": false, "properties": { - "campaign": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "campaigns": { + "type": "string" + }, + "screens": { + "type": "string" + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { "type": "string", - "format": "iri-reference" + "format": "ulid" }, - "screen": { + "created": { "type": "string", - "format": "iri-reference" + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" } } }, - "ScreenCampaign.ScreenCampaign.jsonld": { + "ScreenGroup.ScreenGroup.jsonld": { "type": "object", "description": "", + "deprecated": false, "properties": { "@id": { "readOnly": true, @@ -7784,33 +8476,17 @@ } ] }, - "campaign": { - "type": "string", - "format": "iri-reference" - }, - "screen": { - "type": "string", - "format": "iri-reference" - } - } - }, - "ScreenGroup.ScreenGroup": { - "type": "object", - "description": "", - "properties": { "title": { "type": "string" }, "description": { "type": "string" }, - "created": { - "type": "string", - "format": "date-time" + "campaigns": { + "type": "string" }, - "modified": { - "type": "string", - "format": "date-time" + "screens": { + "type": "string" }, "modifiedBy": { "type": "string" @@ -7818,26 +8494,51 @@ "createdBy": { "type": "string" }, - "campaigns": { + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "ScreenGroup.ScreenGroupInput": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { "type": "string" }, - "screens": { + "description": { "type": "string" } } }, - "ScreenGroup.ScreenGroup.jsonld": { + "ScreenGroup.ScreenGroupInput.jsonld": { "type": "object", "description": "", + "deprecated": false, "properties": { - "@id": { - "readOnly": true, + "title": { "type": "string" }, - "@type": { - "readOnly": true, + "description": { "type": "string" - }, + } + } + }, + "ScreenGroup.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { "@context": { "readOnly": true, "oneOf": [ @@ -7865,19 +8566,25 @@ } ] }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, "title": { "type": "string" }, "description": { "type": "string" }, - "created": { - "type": "string", - "format": "date-time" + "campaigns": { + "type": "string" }, - "modified": { - "type": "string", - "format": "date-time" + "screens": { + "type": "string" }, "modifiedBy": { "type": "string" @@ -7885,30 +8592,50 @@ "createdBy": { "type": "string" }, - "campaigns": { - "type": "string" + "id": { + "type": "string", + "format": "ulid" }, - "screens": { - "type": "string" + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" } } }, - "ScreenGroup.ScreenGroupInput": { + "ScreenGroupCampaign.ScreenGroupCampaign": { "type": "object", "description": "", + "deprecated": false, "properties": { - "title": { - "type": "string" + "campaign": { + "owl:maxCardinality": 1, + "type": "string", + "format": "iri-reference" }, - "description": { - "type": "string" + "screenGroup": { + "owl:maxCardinality": 1, + "type": "string", + "format": "iri-reference" } } }, - "ScreenGroup.ScreenGroupInput.jsonld": { + "ScreenGroupCampaign.ScreenGroupCampaign.jsonld": { "type": "object", "description": "", + "deprecated": false, "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, "@context": { "readOnly": true, "oneOf": [ @@ -7936,39 +8663,92 @@ } ] }, - "@id": { - "readOnly": true, + "campaign": { + "owl:maxCardinality": 1, + "type": "string", + "format": "iri-reference" + }, + "screenGroup": { + "owl:maxCardinality": 1, + "type": "string", + "format": "iri-reference" + } + } + }, + "ScreenLayout": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { "type": "string" }, - "@type": { - "readOnly": true, - "type": "string" + "grid": { + "default": { + "rows": 1, + "columns": 1 + }, + "example": { + "rows": 1, + "columns": 1 + }, + "type": "array", + "items": { + "type": "string" + } + }, + "regions": { + "$ref": "#/components/schemas/Collection" }, - "title": { - "type": "string" + "created": { + "type": "string", + "format": "date-time" }, - "description": { - "type": "string" + "modified": { + "type": "string", + "format": "date-time" } } }, - "ScreenGroupCampaign.ScreenGroupCampaign": { + "ScreenLayout.ScreenLayout": { "type": "object", "description": "", + "deprecated": false, "properties": { - "campaign": { + "title": { + "type": "string" + }, + "grid": { + "default": { + "rows": 1, + "columns": 1 + }, + "example": { + "rows": 1, + "columns": 1 + }, + "type": "array", + "items": { + "type": "string" + } + }, + "regions": { + "$ref": "#/components/schemas/Collection" + }, + "created": { "type": "string", - "format": "iri-reference" + "format": "date-time" }, - "screenGroup": { + "modified": { "type": "string", - "format": "iri-reference" + "format": "date-time" } } }, - "ScreenGroupCampaign.ScreenGroupCampaign.jsonld": { + "ScreenLayout.ScreenLayout.jsonld": { "type": "object", "description": "", + "deprecated": false, "properties": { "@id": { "readOnly": true, @@ -8005,20 +8785,6 @@ } ] }, - "campaign": { - "type": "string", - "format": "iri-reference" - }, - "screenGroup": { - "type": "string", - "format": "iri-reference" - } - } - }, - "ScreenLayout.ScreenLayout": { - "type": "object", - "description": "", - "properties": { "title": { "type": "string" }, @@ -8037,22 +8803,23 @@ } }, "regions": { - "$ref": "#/components/schemas/Collection" + "$ref": "#/components/schemas/Collection.jsonld" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" } } }, - "ScreenLayout.ScreenLayout.jsonld": { + "ScreenLayout.jsonld": { "type": "object", "description": "", + "deprecated": false, "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, "@context": { "readOnly": true, "oneOf": [ @@ -8080,6 +8847,14 @@ } ] }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, "title": { "type": "string" }, @@ -8099,16 +8874,40 @@ }, "regions": { "$ref": "#/components/schemas/Collection.jsonld" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" } } }, - "ScreenLayoutRegions.ScreenLayoutRegions-read": { + "ScreenLayoutRegions.ScreenLayoutRegions": { "type": "object", - "description": "" + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "gridArea": { + "type": "array", + "items": { + "type": "string" + } + }, + "type": { + "type": "string" + } + } }, - "ScreenLayoutRegions.ScreenLayoutRegions.jsonld-read": { + "ScreenLayoutRegions.ScreenLayoutRegions.jsonld": { "type": "object", "description": "", + "deprecated": false, "properties": { "@id": { "readOnly": true, @@ -8144,12 +8943,25 @@ "additionalProperties": true } ] + }, + "title": { + "type": "string" + }, + "gridArea": { + "type": "array", + "items": { + "type": "string" + } + }, + "type": { + "type": "string" } } }, - "Slide.Slide": { + "Slide": { "type": "object", "description": "", + "deprecated": false, "properties": { "title": { "type": "string" @@ -8157,6 +8969,74 @@ "description": { "type": "string" }, + "templateInfo": { + "default": { + "@id": "", + "options": [] + }, + "example": { + "@id": "", + "options": [] + }, + "type": "array", + "items": { + "type": "string" + } + }, + "theme": { + "type": "string" + }, + "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" @@ -8164,11 +9044,18 @@ "modified": { "type": "string", "format": "date-time" - }, - "modifiedBy": { + } + } + }, + "Slide.Slide": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { "type": "string" }, - "createdBy": { + "description": { "type": "string" }, "templateInfo": { @@ -8192,8 +9079,10 @@ "$ref": "#/components/schemas/Collection" }, "duration": { - "type": "integer", - "nullable": true + "type": [ + "integer", + "null" + ] }, "published": { "default": { @@ -8219,17 +9108,38 @@ } }, "feed": { - "type": "array", + "type": [ + "array", + "null" + ], "items": { "type": "string" - }, - "nullable": true + } + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" } } }, "Slide.Slide.jsonld": { "type": "object", "description": "", + "deprecated": false, "properties": { "@context": { "readOnly": true, @@ -8258,20 +9168,88 @@ } ] }, - "@id": { - "readOnly": true, - "type": "string" + "@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" + }, + "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" }, - "@type": { - "readOnly": true, - "type": "string" + "content": { + "type": "array", + "items": { + "type": "string" + } }, - "title": { + "feed": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "modifiedBy": { "type": "string" }, - "description": { + "createdBy": { "type": "string" }, + "id": { + "type": "string", + "format": "ulid" + }, "created": { "type": "string", "format": "date-time" @@ -8279,21 +9257,32 @@ "modified": { "type": "string", "format": "date-time" - }, - "modifiedBy": { + } + } + }, + "Slide.SlideInput": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { "type": "string" }, - "createdBy": { + "description": { "type": "string" }, "templateInfo": { "default": { "@id": "", - "options": [] + "options": { + "fade": false + } }, "example": { "@id": "", - "options": [] + "options": { + "fade": false + } }, "type": "array", "items": { @@ -8303,12 +9292,11 @@ "theme": { "type": "string" }, - "onPlaylists": { - "$ref": "#/components/schemas/Collection.jsonld" - }, "duration": { - "type": "integer", - "nullable": true + "type": [ + "integer", + "null" + ] }, "published": { "default": { @@ -8324,27 +9312,39 @@ "type": "string" } }, - "media": { - "$ref": "#/components/schemas/Collection.jsonld" + "feed": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } }, - "content": { + "media": { "type": "array", "items": { "type": "string" } }, - "feed": { + "content": { + "default": { + "text": "Test text" + }, + "example": { + "text": "Test text" + }, "type": "array", "items": { "type": "string" - }, - "nullable": true + } } } }, - "Slide.SlideInput": { + "Slide.SlideInput.jsonld": { "type": "object", "description": "", + "deprecated": false, "properties": { "title": { "type": "string" @@ -8374,8 +9374,10 @@ "type": "string" }, "duration": { - "type": "integer", - "nullable": true + "type": [ + "integer", + "null" + ] }, "published": { "default": { @@ -8392,11 +9394,13 @@ } }, "feed": { - "type": "array", + "type": [ + "array", + "null" + ], "items": { "type": "string" - }, - "nullable": true + } }, "media": { "type": "array", @@ -8418,9 +9422,10 @@ } } }, - "Slide.SlideInput.jsonld": { + "Slide.jsonld": { "type": "object", "description": "", + "deprecated": false, "properties": { "@context": { "readOnly": true, @@ -8466,15 +9471,11 @@ "templateInfo": { "default": { "@id": "", - "options": { - "fade": false - } + "options": [] }, "example": { "@id": "", - "options": { - "fade": false - } + "options": [] }, "type": "array", "items": { @@ -8484,9 +9485,14 @@ "theme": { "type": "string" }, + "onPlaylists": { + "$ref": "#/components/schemas/Collection.jsonld" + }, "duration": { - "type": "integer", - "nullable": true + "type": [ + "integer", + "null" + ] }, "published": { "default": { @@ -8502,36 +9508,48 @@ "type": "string" } }, - "feed": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, "media": { + "$ref": "#/components/schemas/Collection.jsonld" + }, + "content": { "type": "array", "items": { "type": "string" } }, - "content": { - "default": { - "text": "Test text" - }, - "example": { - "text": "Test text" - }, - "type": "array", + "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" } } }, - "Template.Template": { + "Template": { "type": "object", "description": "", + "deprecated": false, "properties": { "title": { "type": "string" @@ -8539,6 +9557,22 @@ "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" @@ -8546,11 +9580,18 @@ "modified": { "type": "string", "format": "date-time" - }, - "modifiedBy": { + } + } + }, + "Template.Template": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { "type": "string" }, - "createdBy": { + "description": { "type": "string" }, "resources": { @@ -8558,12 +9599,31 @@ "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, @@ -8606,6 +9666,22 @@ "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" @@ -8613,6 +9689,60 @@ "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" @@ -8620,17 +9750,24 @@ "createdBy": { "type": "string" }, - "resources": { - "type": "array", - "items": { - "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" @@ -8642,8 +9779,10 @@ } }, "fallbackImageUrl": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ] }, "title": { "type": "string" @@ -8678,6 +9817,7 @@ "Tenant.jsonld": { "type": "object", "description": "", + "deprecated": false, "properties": { "@id": { "readOnly": true, @@ -8724,8 +9864,10 @@ } }, "fallbackImageUrl": { - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ] }, "title": { "type": "string" @@ -8757,124 +9899,87 @@ } } }, - "Theme.Theme": { + "Theme": { "type": "object", "description": "", + "deprecated": false, "properties": { + "cssStyles": { + "type": "string" + }, + "logo": { + "owl:maxCardinality": 1, + "type": [ + "string", + "null" + ], + "format": "iri-reference" + }, + "slides": { + "type": "array", + "items": { + "type": "string", + "format": "iri-reference" + } + }, "title": { "type": "string" }, "description": { "type": "string" }, - "onNumberOfSlides": { - "type": "integer" + "tenant": { + "owl:maxCardinality": 1, + "type": "string", + "format": "iri-reference" }, - "created": { + "id": { + "readOnly": true, + "description": "Get the Ulid.", "type": "string", - "format": "date-time" + "format": "ulid" }, - "modified": { + "createdAt": { + "readOnly": true, "type": "string", "format": "date-time" }, - "modifiedBy": { - "type": "string" + "modifiedAt": { + "readOnly": true, + "type": "string", + "format": "date-time" }, "createdBy": { "type": "string" }, - "logo": { - "nullable": true, - "anyOf": [ - { - "$ref": "#/components/schemas/Media" - } - ] - }, - "css": { + "modifiedBy": { "type": "string" } } }, - "Theme.Theme.jsonld": { + "Theme.ThemeInput": { "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" }, - "onNumberOfSlides": { - "type": "integer" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, "logo": { - "nullable": true, - "anyOf": [ - { - "$ref": "#/components/schemas/Media.jsonld" - } - ] + "type": "string" }, "css": { "type": "string" } } }, - "Theme.ThemeInput": { + "Theme.ThemeInput.jsonld": { "type": "object", "description": "", + "deprecated": false, "properties": { "title": { "type": "string" @@ -8890,9 +9995,10 @@ } } }, - "Theme.ThemeInput.jsonld": { + "Theme.jsonld": { "type": "object", "description": "", + "deprecated": false, "properties": { "@context": { "readOnly": true, @@ -8929,27 +10035,68 @@ "readOnly": true, "type": "string" }, + "cssStyles": { + "type": "string" + }, + "logo": { + "owl:maxCardinality": 1, + "type": [ + "string", + "null" + ], + "format": "iri-reference" + }, + "slides": { + "type": "array", + "items": { + "type": "string", + "format": "iri-reference" + } + }, "title": { "type": "string" }, "description": { "type": "string" }, - "logo": { + "tenant": { + "owl:maxCardinality": 1, + "type": "string", + "format": "iri-reference" + }, + "id": { + "readOnly": true, + "description": "Get the Ulid.", + "type": "string", + "format": "ulid" + }, + "createdAt": { + "readOnly": true, + "type": "string", + "format": "date-time" + }, + "modifiedAt": { + "readOnly": true, + "type": "string", + "format": "date-time" + }, + "createdBy": { "type": "string" }, - "css": { + "modifiedBy": { "type": "string" } } }, "User": { "type": "object", + "description": "", + "deprecated": false, "properties": { "email": { "format": "email", "externalDocs": { - "url": "http://schema.org/email" + "url": "https://schema.org/email" }, "type": "string" }, @@ -8960,10 +10107,6 @@ "description": "The hashed password", "type": "string" }, - "activeTenant": { - "type": "string", - "format": "iri-reference" - }, "userRoleTenants": { "type": "array", "items": { @@ -8973,6 +10116,11 @@ "provider": { "type": "string" }, + "activeTenant": { + "owl:maxCardinality": 1, + "type": "string", + "format": "iri-reference" + }, "userIdentifier": { "readOnly": true, "description": "A visual identifier that represents this user.", @@ -8996,8 +10144,10 @@ "salt": { "readOnly": true, "description": "Returning a salt is only needed, if you are not using a modern\nhashing algorithm (e.g. bcrypt or sodium) in your security.yaml.", - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ] }, "roleTenant": { "writeOnly": true, @@ -9006,13 +10156,6 @@ "type": "string" } }, - "userRoleTenant": { - "writeOnly": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/UserRoleTenant" - } - }, "id": { "readOnly": true, "description": "Get the Ulid.", @@ -9042,46 +10185,13 @@ }, "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" - }, "email": { "format": "email", "externalDocs": { - "url": "http://schema.org/email" + "url": "https://schema.org/email" }, "type": "string" }, @@ -9092,10 +10202,6 @@ "description": "The hashed password", "type": "string" }, - "activeTenant": { - "type": "string", - "format": "iri-reference" - }, "userRoleTenants": { "type": "array", "items": { @@ -9105,6 +10211,11 @@ "provider": { "type": "string" }, + "activeTenant": { + "owl:maxCardinality": 1, + "type": "string", + "format": "iri-reference" + }, "userIdentifier": { "readOnly": true, "description": "A visual identifier that represents this user.", @@ -9128,8 +10239,10 @@ "salt": { "readOnly": true, "description": "Returning a salt is only needed, if you are not using a modern\nhashing algorithm (e.g. bcrypt or sodium) in your security.yaml.", - "type": "string", - "nullable": true + "type": [ + "string", + "null" + ] }, "roleTenant": { "writeOnly": true, @@ -9138,13 +10251,6 @@ "type": "string" } }, - "userRoleTenant": { - "writeOnly": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/UserRoleTenant.jsonld" - } - }, "id": { "readOnly": true, "description": "Get the Ulid.", @@ -9174,11 +10280,14 @@ }, "UserRoleTenant": { "type": "object", + "description": "", + "deprecated": false, "properties": { "user": { "$ref": "#/components/schemas/User" }, "tenant": { + "owl:maxCardinality": 1, "type": "string", "format": "iri-reference" }, @@ -9214,46 +10323,14 @@ }, "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": { "$ref": "#/components/schemas/User.jsonld" }, "tenant": { + "owl:maxCardinality": 1, "type": "string", "format": "iri-reference" }, @@ -9300,6 +10377,11 @@ "readOnly": true, "example": "ABCDEFGHIJKLMNOPQRSTUVWXYZ" }, + "refresh_token_expiration": { + "type": "int", + "readOnly": true, + "example": "1678802283" + }, "tenants": { "type": "array", "items": { @@ -9342,7 +10424,7 @@ "email": { "type": "string", "readOnly": true, - "example": "johndoe@example.com" + "example": "john@example.com" } } } @@ -9377,7 +10459,7 @@ "properties": { "email": { "type": "string", - "example": "johndoe@example.com" + "example": "john@example.com" }, "password": { "type": "string",