File size: 5,662 Bytes
c30abb6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
export declare const CreateSessionRequestSchema: {
    readonly properties: {
        readonly session_id: {
            readonly type: "string";
            readonly title: "Session Id";
        };
        readonly policy_path: {
            readonly type: "string";
            readonly title: "Policy Path";
        };
        readonly camera_names: {
            readonly items: {
                readonly type: "string";
            };
            readonly type: "array";
            readonly title: "Camera Names";
            readonly default: readonly ["front"];
        };
        readonly arena_server_url: {
            readonly type: "string";
            readonly title: "Arena Server Url";
            readonly default: "http://localhost:8000";
        };
        readonly workspace_id: {
            readonly anyOf: readonly [{
                readonly type: "string";
            }, {
                readonly type: "null";
            }];
            readonly title: "Workspace Id";
        };
        readonly policy_type: {
            readonly type: "string";
            readonly title: "Policy Type";
            readonly default: "act";
        };
        readonly language_instruction: {
            readonly anyOf: readonly [{
                readonly type: "string";
            }, {
                readonly type: "null";
            }];
            readonly title: "Language Instruction";
        };
    };
    readonly type: "object";
    readonly required: readonly ["session_id", "policy_path"];
    readonly title: "CreateSessionRequest";
};
export declare const CreateSessionResponseSchema: {
    readonly properties: {
        readonly workspace_id: {
            readonly type: "string";
            readonly title: "Workspace Id";
        };
        readonly camera_room_ids: {
            readonly additionalProperties: {
                readonly type: "string";
            };
            readonly type: "object";
            readonly title: "Camera Room Ids";
        };
        readonly joint_input_room_id: {
            readonly type: "string";
            readonly title: "Joint Input Room Id";
        };
        readonly joint_output_room_id: {
            readonly type: "string";
            readonly title: "Joint Output Room Id";
        };
    };
    readonly type: "object";
    readonly required: readonly ["workspace_id", "camera_room_ids", "joint_input_room_id", "joint_output_room_id"];
    readonly title: "CreateSessionResponse";
};
export declare const HTTPValidationErrorSchema: {
    readonly properties: {
        readonly detail: {
            readonly items: {
                readonly $ref: "#/components/schemas/ValidationError";
            };
            readonly type: "array";
            readonly title: "Detail";
        };
    };
    readonly type: "object";
    readonly title: "HTTPValidationError";
};
export declare const SessionStatusResponseSchema: {
    readonly properties: {
        readonly session_id: {
            readonly type: "string";
            readonly title: "Session Id";
        };
        readonly status: {
            readonly type: "string";
            readonly title: "Status";
        };
        readonly policy_path: {
            readonly type: "string";
            readonly title: "Policy Path";
        };
        readonly policy_type: {
            readonly type: "string";
            readonly title: "Policy Type";
        };
        readonly camera_names: {
            readonly items: {
                readonly type: "string";
            };
            readonly type: "array";
            readonly title: "Camera Names";
        };
        readonly workspace_id: {
            readonly type: "string";
            readonly title: "Workspace Id";
        };
        readonly rooms: {
            readonly additionalProperties: true;
            readonly type: "object";
            readonly title: "Rooms";
        };
        readonly stats: {
            readonly additionalProperties: true;
            readonly type: "object";
            readonly title: "Stats";
        };
        readonly inference_stats: {
            readonly anyOf: readonly [{
                readonly additionalProperties: true;
                readonly type: "object";
            }, {
                readonly type: "null";
            }];
            readonly title: "Inference Stats";
        };
        readonly error_message: {
            readonly anyOf: readonly [{
                readonly type: "string";
            }, {
                readonly type: "null";
            }];
            readonly title: "Error Message";
        };
    };
    readonly type: "object";
    readonly required: readonly ["session_id", "status", "policy_path", "policy_type", "camera_names", "workspace_id", "rooms", "stats"];
    readonly title: "SessionStatusResponse";
};
export declare const ValidationErrorSchema: {
    readonly properties: {
        readonly loc: {
            readonly items: {
                readonly anyOf: readonly [{
                    readonly type: "string";
                }, {
                    readonly type: "integer";
                }];
            };
            readonly type: "array";
            readonly title: "Location";
        };
        readonly msg: {
            readonly type: "string";
            readonly title: "Message";
        };
        readonly type: {
            readonly type: "string";
            readonly title: "Error Type";
        };
    };
    readonly type: "object";
    readonly required: readonly ["loc", "msg", "type"];
    readonly title: "ValidationError";
};
//# sourceMappingURL=schemas.gen.d.ts.map