From bf240be8cfd5a2f1ce5035e9266b0315ede3f9b5 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 8 May 2024 12:57:52 +0200 Subject: feat(capabilities): Expose which capabilities should be considered local vs federated Signed-off-by: Joas Schilling --- src/types/openapi/openapi-administration.ts | 4 ++++ src/types/openapi/openapi-backend-recording.ts | 4 ++++ src/types/openapi/openapi-backend-signaling.ts | 4 ++++ src/types/openapi/openapi-backend-sipbridge.ts | 4 ++++ src/types/openapi/openapi-bots.ts | 4 ++++ src/types/openapi/openapi-federation.ts | 4 ++++ src/types/openapi/openapi-full.ts | 4 ++++ src/types/openapi/openapi.ts | 4 ++++ 8 files changed, 32 insertions(+) (limited to 'src') diff --git a/src/types/openapi/openapi-administration.ts b/src/types/openapi/openapi-administration.ts index 24c71b525..ab0097f74 100644 --- a/src/types/openapi/openapi-administration.ts +++ b/src/types/openapi/openapi-administration.ts @@ -101,6 +101,7 @@ export type components = { }; Capabilities: { features: string[]; + "features-local": string[]; config: { attachments: { allowed: boolean; @@ -147,6 +148,9 @@ export type components = { "hello-v2-token-key"?: string; }; }; + "config-local": { + [key: string]: string[]; + }; version: string; }; OCSMeta: { diff --git a/src/types/openapi/openapi-backend-recording.ts b/src/types/openapi/openapi-backend-recording.ts index 9c62cae16..6bb66d535 100644 --- a/src/types/openapi/openapi-backend-recording.ts +++ b/src/types/openapi/openapi-backend-recording.ts @@ -26,6 +26,7 @@ export type components = { schemas: { Capabilities: { features: string[]; + "features-local": string[]; config: { attachments: { allowed: boolean; @@ -72,6 +73,9 @@ export type components = { "hello-v2-token-key"?: string; }; }; + "config-local": { + [key: string]: string[]; + }; version: string; }; OCSMeta: { diff --git a/src/types/openapi/openapi-backend-signaling.ts b/src/types/openapi/openapi-backend-signaling.ts index 8a431dafd..6539ee10f 100644 --- a/src/types/openapi/openapi-backend-signaling.ts +++ b/src/types/openapi/openapi-backend-signaling.ts @@ -25,6 +25,7 @@ export type components = { schemas: { Capabilities: { features: string[]; + "features-local": string[]; config: { attachments: { allowed: boolean; @@ -71,6 +72,9 @@ export type components = { "hello-v2-token-key"?: string; }; }; + "config-local": { + [key: string]: string[]; + }; version: string; }; OCSMeta: { diff --git a/src/types/openapi/openapi-backend-sipbridge.ts b/src/types/openapi/openapi-backend-sipbridge.ts index 9c84f3648..e2032d564 100644 --- a/src/types/openapi/openapi-backend-sipbridge.ts +++ b/src/types/openapi/openapi-backend-sipbridge.ts @@ -55,6 +55,7 @@ export type components = { }; Capabilities: { features: string[]; + "features-local": string[]; config: { attachments: { allowed: boolean; @@ -101,6 +102,9 @@ export type components = { "hello-v2-token-key"?: string; }; }; + "config-local": { + [key: string]: string[]; + }; version: string; }; ChatMessage: components["schemas"]["BaseMessage"] & { diff --git a/src/types/openapi/openapi-bots.ts b/src/types/openapi/openapi-bots.ts index c4f3ef466..b2337d894 100644 --- a/src/types/openapi/openapi-bots.ts +++ b/src/types/openapi/openapi-bots.ts @@ -31,6 +31,7 @@ export type components = { schemas: { Capabilities: { features: string[]; + "features-local": string[]; config: { attachments: { allowed: boolean; @@ -77,6 +78,9 @@ export type components = { "hello-v2-token-key"?: string; }; }; + "config-local": { + [key: string]: string[]; + }; version: string; }; OCSMeta: { diff --git a/src/types/openapi/openapi-federation.ts b/src/types/openapi/openapi-federation.ts index 0cdcd9d8f..164ac9217 100644 --- a/src/types/openapi/openapi-federation.ts +++ b/src/types/openapi/openapi-federation.ts @@ -70,6 +70,7 @@ export type components = { }; Capabilities: { features: string[]; + "features-local": string[]; config: { attachments: { allowed: boolean; @@ -116,6 +117,9 @@ export type components = { "hello-v2-token-key"?: string; }; }; + "config-local": { + [key: string]: string[]; + }; version: string; }; ChatMessage: components["schemas"]["BaseMessage"] & { diff --git a/src/types/openapi/openapi-full.ts b/src/types/openapi/openapi-full.ts index 5c9815401..a9699f34b 100644 --- a/src/types/openapi/openapi-full.ts +++ b/src/types/openapi/openapi-full.ts @@ -606,6 +606,7 @@ export type components = { }; Capabilities: { features: string[]; + "features-local": string[]; config: { attachments: { allowed: boolean; @@ -652,6 +653,9 @@ export type components = { "hello-v2-token-key"?: string; }; }; + "config-local": { + [key: string]: string[]; + }; version: string; }; ChatMentionSuggestion: { diff --git a/src/types/openapi/openapi.ts b/src/types/openapi/openapi.ts index 2662409f2..e0d1c8bcc 100644 --- a/src/types/openapi/openapi.ts +++ b/src/types/openapi/openapi.ts @@ -445,6 +445,7 @@ export type components = { }; Capabilities: { features: string[]; + "features-local": string[]; config: { attachments: { allowed: boolean; @@ -491,6 +492,9 @@ export type components = { "hello-v2-token-key"?: string; }; }; + "config-local": { + [key: string]: string[]; + }; version: string; }; ChatMentionSuggestion: { -- cgit v1.2.3