Skip to content

Commit 6673805

Browse files
committed
chore: generate api
1 parent edcf429 commit 6673805

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/external/backend-api/src/services.gen.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2425,6 +2425,7 @@ export class DocumentService {
24252425
* @param data.query
24262426
* @param data.skip
24272427
* @param data.take
2428+
* @param data.parentId
24282429
* @returns unknown OK
24292430
* @throws ApiError
24302431
*/
@@ -2435,7 +2436,8 @@ export class DocumentService {
24352436
query: {
24362437
query: data.query,
24372438
skip: data.skip,
2438-
take: data.take
2439+
take: data.take,
2440+
parentId: data.parentId
24392441
},
24402442
errors: {
24412443
401: 'The resource is protected and requires an authentication token'
@@ -4014,6 +4016,7 @@ export class MediaService {
40144016
* @param data.query
40154017
* @param data.skip
40164018
* @param data.take
4019+
* @param data.parentId
40174020
* @returns unknown OK
40184021
* @throws ApiError
40194022
*/
@@ -4024,7 +4027,8 @@ export class MediaService {
40244027
query: {
40254028
query: data.query,
40264029
skip: data.skip,
4027-
take: data.take
4030+
take: data.take,
4031+
parentId: data.parentId
40284032
},
40294033
errors: {
40304034
401: 'The resource is protected and requires an authentication token'

src/external/backend-api/src/types.gen.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,7 @@ export type DocumentItemResponseModel = {
652652

653653
export type DocumentNotificationResponseModel = {
654654
actionId: string;
655+
alias: string;
655656
subscribed: boolean;
656657
};
657658

@@ -3501,6 +3502,7 @@ export type GetItemDocumentData = {
35013502
export type GetItemDocumentResponse = (Array<(DocumentItemResponseModel)>);
35023503

35033504
export type GetItemDocumentSearchData = {
3505+
parentId?: string;
35043506
query?: string;
35053507
skip?: number;
35063508
take?: number;
@@ -3954,6 +3956,7 @@ export type GetItemMediaData = {
39543956
export type GetItemMediaResponse = (Array<(MediaItemResponseModel)>);
39553957

39563958
export type GetItemMediaSearchData = {
3959+
parentId?: string;
39573960
query?: string;
39583961
skip?: number;
39593962
take?: number;

0 commit comments

Comments
 (0)