Skip to content

Commit

Permalink
chore(ts): update openapi ts models
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
  • Loading branch information
Antreesy committed Feb 29, 2024
1 parent ada24ba commit 3a27abc
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 8 deletions.
18 changes: 17 additions & 1 deletion src/types/openapi/openapi-backend-sipbridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export type components = {
lastActivity: number;
/** Format: int64 */
lastCommonReadMessage: number;
lastMessage: components["schemas"]["ChatMessage"] | unknown[];
lastMessage: components["schemas"]["RoomLastMessage"] | unknown[];
/** Format: int64 */
lastPing: number;
/** Format: int64 */
Expand Down Expand Up @@ -213,6 +213,22 @@ export type components = {
/** Format: int64 */
unreadMessages: number;
};
RoomLastMessage: components["schemas"]["ChatMessage"] | components["schemas"]["RoomProxyMessage"];
RoomProxyMessage: {
actorDisplayName: string;
actorId: string;
actorType: string;
/** Format: int64 */
expirationTimestamp: number;
message: string;
messageParameters: {
[key: string]: {
[key: string]: Record<string, never>;
};
};
messageType: string;
systemMessage: string;
};
};
responses: never;
parameters: never;
Expand Down
18 changes: 17 additions & 1 deletion src/types/openapi/openapi-federation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export type components = {
lastActivity: number;
/** Format: int64 */
lastCommonReadMessage: number;
lastMessage: components["schemas"]["ChatMessage"] | unknown[];
lastMessage: components["schemas"]["RoomLastMessage"] | unknown[];
/** Format: int64 */
lastPing: number;
/** Format: int64 */
Expand Down Expand Up @@ -226,6 +226,22 @@ export type components = {
/** Format: int64 */
unreadMessages: number;
};
RoomLastMessage: components["schemas"]["ChatMessage"] | components["schemas"]["RoomProxyMessage"];
RoomProxyMessage: {
actorDisplayName: string;
actorId: string;
actorType: string;
/** Format: int64 */
expirationTimestamp: number;
message: string;
messageParameters: {
[key: string]: {
[key: string]: Record<string, never>;
};
};
messageType: string;
systemMessage: string;
};
};
responses: never;
parameters: never;
Expand Down
22 changes: 19 additions & 3 deletions src/types/openapi/openapi-full.ts
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ export type components = {
lastActivity: number;
/** Format: int64 */
lastCommonReadMessage: number;
lastMessage: components["schemas"]["ChatMessage"] | unknown[];
lastMessage: components["schemas"]["RoomLastMessage"] | unknown[];
/** Format: int64 */
lastPing: number;
/** Format: int64 */
Expand Down Expand Up @@ -830,6 +830,22 @@ export type components = {
/** Format: int64 */
unreadMessages: number;
};
RoomLastMessage: components["schemas"]["ChatMessage"] | components["schemas"]["RoomProxyMessage"];
RoomProxyMessage: {
actorDisplayName: string;
actorId: string;
actorType: string;
/** Format: int64 */
expirationTimestamp: number;
message: string;
messageParameters: {
[key: string]: {
[key: string]: Record<string, never>;
};
};
messageType: string;
systemMessage: string;
};
SignalingSession: {
/** Format: int64 */
inCall: number;
Expand Down Expand Up @@ -2434,7 +2450,7 @@ export type operations = {
"application/json": {
ocs: {
meta: components["schemas"]["OCSMeta"];
data: unknown;
data: components["schemas"]["Room"];
};
};
};
Expand Down Expand Up @@ -2463,7 +2479,7 @@ export type operations = {
"application/json": {
ocs: {
meta: components["schemas"]["OCSMeta"];
data: unknown;
data: components["schemas"]["Room"];
};
};
};
Expand Down
22 changes: 19 additions & 3 deletions src/types/openapi/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ export type components = {
lastActivity: number;
/** Format: int64 */
lastCommonReadMessage: number;
lastMessage: components["schemas"]["ChatMessage"] | unknown[];
lastMessage: components["schemas"]["RoomLastMessage"] | unknown[];
/** Format: int64 */
lastPing: number;
/** Format: int64 */
Expand Down Expand Up @@ -671,6 +671,22 @@ export type components = {
/** Format: int64 */
unreadMessages: number;
};
RoomLastMessage: components["schemas"]["ChatMessage"] | components["schemas"]["RoomProxyMessage"];
RoomProxyMessage: {
actorDisplayName: string;
actorId: string;
actorType: string;
/** Format: int64 */
expirationTimestamp: number;
message: string;
messageParameters: {
[key: string]: {
[key: string]: Record<string, never>;
};
};
messageType: string;
systemMessage: string;
};
SignalingSession: {
/** Format: int64 */
inCall: number;
Expand Down Expand Up @@ -2275,7 +2291,7 @@ export type operations = {
"application/json": {
ocs: {
meta: components["schemas"]["OCSMeta"];
data: unknown;
data: components["schemas"]["Room"];
};
};
};
Expand Down Expand Up @@ -2304,7 +2320,7 @@ export type operations = {
"application/json": {
ocs: {
meta: components["schemas"]["OCSMeta"];
data: unknown;
data: components["schemas"]["Room"];
};
};
};
Expand Down

0 comments on commit 3a27abc

Please sign in to comment.