File size: 2,721 Bytes
c30abb6
 
 
 
 
c07e7c2
c30abb6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3380376
c30abb6
 
 
 
 
3380376
c30abb6
3380376
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
// This file is auto-generated by @hey-api/openapi-ts

export type CreateSessionRequest = {
    session_id: string;
    policy_path: string;
    transport_server_url: string;
    camera_names?: Array<(string)>;
    workspace_id?: (string | null);
    policy_type?: string;
    language_instruction?: (string | null);
};

export type CreateSessionResponse = {
    workspace_id: string;
    camera_room_ids: {
        [key: string]: (string);
    };
    joint_input_room_id: string;
    joint_output_room_id: string;
};

export type HTTPValidationError = {
    detail?: Array<ValidationError>;
};

export type SessionStatusResponse = {
    session_id: string;
    status: string;
    policy_path: string;
    policy_type: string;
    camera_names: Array<(string)>;
    workspace_id: string;
    rooms: {
        [key: string]: unknown;
    };
    stats: {
        [key: string]: unknown;
    };
    inference_stats?: ({
    [key: string]: unknown;
} | null);
    error_message?: (string | null);
};

export type ValidationError = {
    loc: Array<(string | number)>;
    msg: string;
    type: string;
};

export type RootGetResponse = (unknown);

export type RootGetError = unknown;

export type HealthCheckHealthGetResponse = (unknown);

export type HealthCheckHealthGetError = unknown;

export type ListSessionsSessionsGetResponse = (Array<SessionStatusResponse>);

export type ListSessionsSessionsGetError = unknown;

export type CreateSessionSessionsPostData = {
    body: CreateSessionRequest;
};

export type CreateSessionSessionsPostResponse = (CreateSessionResponse);

export type CreateSessionSessionsPostError = (HTTPValidationError);

export type StartInferenceSessionsSessionIdStartPostData = {
    path: {
        session_id: string;
    };
};

export type StartInferenceSessionsSessionIdStartPostResponse = (unknown);

export type StartInferenceSessionsSessionIdStartPostError = (HTTPValidationError);

export type StopInferenceSessionsSessionIdStopPostData = {
    path: {
        session_id: string;
    };
};

export type StopInferenceSessionsSessionIdStopPostResponse = (unknown);

export type StopInferenceSessionsSessionIdStopPostError = (HTTPValidationError);

export type RestartInferenceSessionsSessionIdRestartPostData = {
    path: {
        session_id: string;
    };
};

export type RestartInferenceSessionsSessionIdRestartPostResponse = (unknown);

export type RestartInferenceSessionsSessionIdRestartPostError = (HTTPValidationError);

export type DeleteSessionSessionsSessionIdDeleteData = {
    path: {
        session_id: string;
    };
};

export type DeleteSessionSessionsSessionIdDeleteResponse = (unknown);

export type DeleteSessionSessionsSessionIdDeleteError = (HTTPValidationError);