Skip to content

Commit 5f18743

Browse files
author
Sine Jespersen
committed
2314: update api.json/api.generated.ts
1 parent 9bc3d5b commit 5f18743

File tree

2 files changed

+15594
-15417
lines changed

2 files changed

+15594
-15417
lines changed

src/redux/api/api.generated.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,16 @@ export const api = createApi({
577577
method: "DELETE",
578578
}),
579579
}),
580+
apiSlidePerformAction: build.mutation<
581+
ApiSlidePerformActionApiResponse,
582+
ApiSlidePerformActionApiArg
583+
>({
584+
query: (queryArg) => ({
585+
url: `/v2/slides/${queryArg.id}/action`,
586+
method: "POST",
587+
body: queryArg.slideInteractiveSlideActionInput,
588+
}),
589+
}),
580590
getV2SlidesByIdPlaylists: build.query<
581591
GetV2SlidesByIdPlaylistsApiResponse,
582592
GetV2SlidesByIdPlaylistsApiArg
@@ -1247,6 +1257,12 @@ export type DeleteV2SlidesByIdApiResponse = unknown;
12471257
export type DeleteV2SlidesByIdApiArg = {
12481258
id: string;
12491259
};
1260+
export type ApiSlidePerformActionApiResponse = unknown;
1261+
export type ApiSlidePerformActionApiArg = {
1262+
id: string;
1263+
/** The new Slide resource */
1264+
slideInteractiveSlideActionInput: SlideInteractiveSlideActionInput;
1265+
};
12501266
export type GetV2SlidesByIdPlaylistsApiResponse = unknown;
12511267
export type GetV2SlidesByIdPlaylistsApiArg = {
12521268
id: string;
@@ -1465,6 +1481,8 @@ export type ScreenScreenInput = {
14651481
resolution?: string;
14661482
orientation?: string;
14671483
enableColorSchemeChange?: any;
1484+
regions?: string[];
1485+
groups?: string[];
14681486
};
14691487
export type ScreenBindObject = {
14701488
bindKey?: string;
@@ -1480,6 +1498,10 @@ export type SlideSlideInput = {
14801498
media?: string[];
14811499
content?: string[];
14821500
};
1501+
export type SlideInteractiveSlideActionInput = {
1502+
action?: any;
1503+
data?: string[];
1504+
};
14831505
export type ThemeThemeInput = {
14841506
title?: string;
14851507
description?: string;
@@ -1555,6 +1577,7 @@ export const {
15551577
useGetV2SlidesByIdQuery,
15561578
usePutV2SlidesByIdMutation,
15571579
useDeleteV2SlidesByIdMutation,
1580+
useApiSlidePerformActionMutation,
15581581
useGetV2SlidesByIdPlaylistsQuery,
15591582
usePutV2SlidesByIdPlaylistsMutation,
15601583
useGetV2TemplatesQuery,

0 commit comments

Comments
 (0)