waldur-js-client 8.0.9-dev.63 → 8.0.9-dev.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/sdk.gen.js CHANGED
@@ -1047,6 +1047,32 @@ export const adminMatrixDiagnosticsRetrieve = (options) => (options?.client ?? c
1047
1047
  url: '/api/admin/matrix/diagnostics/',
1048
1048
  ...options
1049
1049
  });
1050
+ /**
1051
+ * Get LiveKit calls overview
1052
+ *
1053
+ * Point-in-time snapshot of active LiveKit rooms with participant/publisher totals. Staff only. Returns 503 when LiveKit credentials are not configured and 502 when LiveKit is unreachable or rejects the configured credentials.
1054
+ */
1055
+ export const adminMatrixLivekitOverviewRetrieve = (options) => (options?.client ?? client).get({
1056
+ security: [
1057
+ { name: 'Authorization', type: 'apiKey' },
1058
+ { scheme: 'bearer', type: 'http' }
1059
+ ],
1060
+ url: '/api/admin/matrix/livekit/overview/',
1061
+ ...options
1062
+ });
1063
+ /**
1064
+ * List participants in a LiveKit room
1065
+ *
1066
+ * Participants and their tracks for a single LiveKit room. Staff only. An unknown or empty room returns 200 with an empty list. Returns 503 when LiveKit credentials are not configured and 502 when LiveKit is unreachable or rejects the configured credentials.
1067
+ */
1068
+ export const adminMatrixLivekitParticipantsList = (options) => (options.client ?? client).get({
1069
+ security: [
1070
+ { name: 'Authorization', type: 'apiKey' },
1071
+ { scheme: 'bearer', type: 'http' }
1072
+ ],
1073
+ url: '/api/admin/matrix/livekit/participants/',
1074
+ ...options
1075
+ });
1050
1076
  /**
1051
1077
  * Reprovision all active Matrix rooms on a new homeserver
1052
1078
  *
@@ -5204,6 +5204,9 @@ export type ConstanceSettings = {
5204
5204
  MATRIX_USER_ID_FORMAT?: string;
5205
5205
  MATRIX_LOGIN_METHOD?: string;
5206
5206
  MATRIX_OIDC_PROVIDER_URL?: string;
5207
+ MATRIX_LIVEKIT_KEY?: string;
5208
+ MATRIX_LIVEKIT_SECRET?: string;
5209
+ MATRIX_LIVEKIT_URL?: string;
5207
5210
  SITE_AGENT_LOG_MAX_ROWS_PER_IDENTITY?: number;
5208
5211
  PAT_ENABLED?: boolean;
5209
5212
  PAT_MAX_LIFETIME_DAYS?: number;
@@ -5502,6 +5505,9 @@ export type ConstanceSettingsRequest = {
5502
5505
  MATRIX_USER_ID_FORMAT?: string;
5503
5506
  MATRIX_LOGIN_METHOD?: string;
5504
5507
  MATRIX_OIDC_PROVIDER_URL?: string;
5508
+ MATRIX_LIVEKIT_KEY?: string;
5509
+ MATRIX_LIVEKIT_SECRET?: string;
5510
+ MATRIX_LIVEKIT_URL?: string;
5505
5511
  SITE_AGENT_LOG_MAX_ROWS_PER_IDENTITY?: number;
5506
5512
  PAT_ENABLED?: boolean;
5507
5513
  PAT_MAX_LIFETIME_DAYS?: number;
@@ -9696,6 +9702,41 @@ export type LinkResourceResponse = {
9696
9702
  export type LinkToInvoiceRequest = {
9697
9703
  invoice: string;
9698
9704
  };
9705
+ export type LiveKitOverviewResponse = {
9706
+ rooms: Array<LiveKitRoomSummary>;
9707
+ totals: LiveKitTotals;
9708
+ livekit_url: string;
9709
+ };
9710
+ export type LiveKitParticipant = {
9711
+ sid: string;
9712
+ identity: string;
9713
+ state: string;
9714
+ is_publisher: boolean;
9715
+ joined_at: number;
9716
+ tracks: Array<LiveKitTrack>;
9717
+ };
9718
+ export type LiveKitRoomSummary = {
9719
+ sid: string;
9720
+ name: string;
9721
+ num_participants: number;
9722
+ num_publishers: number;
9723
+ creation_time: number;
9724
+ max_participants: number;
9725
+ metadata: string;
9726
+ };
9727
+ export type LiveKitTotals = {
9728
+ room_count: number;
9729
+ participant_count: number;
9730
+ publisher_count: number;
9731
+ };
9732
+ export type LiveKitTrack = {
9733
+ sid: string;
9734
+ name: string;
9735
+ type: string;
9736
+ muted: boolean;
9737
+ width: number;
9738
+ height: number;
9739
+ };
9699
9740
  export type LoadBalancerAttachFloatingIpRequest = {
9700
9741
  floating_ip: string;
9701
9742
  };
@@ -29853,6 +29894,9 @@ export type ConstanceSettingsRequestForm = {
29853
29894
  MATRIX_USER_ID_FORMAT?: string;
29854
29895
  MATRIX_LOGIN_METHOD?: string;
29855
29896
  MATRIX_OIDC_PROVIDER_URL?: string;
29897
+ MATRIX_LIVEKIT_KEY?: string;
29898
+ MATRIX_LIVEKIT_SECRET?: string;
29899
+ MATRIX_LIVEKIT_URL?: string;
29856
29900
  SITE_AGENT_LOG_MAX_ROWS_PER_IDENTITY?: number;
29857
29901
  PAT_ENABLED?: boolean;
29858
29902
  PAT_MAX_LIFETIME_DAYS?: number;
@@ -30151,6 +30195,9 @@ export type ConstanceSettingsRequestMultipart = {
30151
30195
  MATRIX_USER_ID_FORMAT?: string;
30152
30196
  MATRIX_LOGIN_METHOD?: string;
30153
30197
  MATRIX_OIDC_PROVIDER_URL?: string;
30198
+ MATRIX_LIVEKIT_KEY?: string;
30199
+ MATRIX_LIVEKIT_SECRET?: string;
30200
+ MATRIX_LIVEKIT_URL?: string;
30154
30201
  SITE_AGENT_LOG_MAX_ROWS_PER_IDENTITY?: number;
30155
30202
  PAT_ENABLED?: boolean;
30156
30203
  PAT_MAX_LIFETIME_DAYS?: number;
@@ -32224,6 +32271,31 @@ export type AdminMatrixDiagnosticsRetrieveResponses = {
32224
32271
  200: MatrixDiagnosticsResponse;
32225
32272
  };
32226
32273
  export type AdminMatrixDiagnosticsRetrieveResponse = AdminMatrixDiagnosticsRetrieveResponses[keyof AdminMatrixDiagnosticsRetrieveResponses];
32274
+ export type AdminMatrixLivekitOverviewRetrieveData = {
32275
+ body?: never;
32276
+ path?: never;
32277
+ query?: never;
32278
+ url: '/api/admin/matrix/livekit/overview/';
32279
+ };
32280
+ export type AdminMatrixLivekitOverviewRetrieveResponses = {
32281
+ 200: LiveKitOverviewResponse;
32282
+ };
32283
+ export type AdminMatrixLivekitOverviewRetrieveResponse = AdminMatrixLivekitOverviewRetrieveResponses[keyof AdminMatrixLivekitOverviewRetrieveResponses];
32284
+ export type AdminMatrixLivekitParticipantsListData = {
32285
+ body?: never;
32286
+ path?: never;
32287
+ query: {
32288
+ /**
32289
+ * LiveKit room name. A query parameter rather than a path segment because Element Call room names are base64 and routinely contain '/'.
32290
+ */
32291
+ room: string;
32292
+ };
32293
+ url: '/api/admin/matrix/livekit/participants/';
32294
+ };
32295
+ export type AdminMatrixLivekitParticipantsListResponses = {
32296
+ 200: Array<LiveKitParticipant>;
32297
+ };
32298
+ export type AdminMatrixLivekitParticipantsListResponse = AdminMatrixLivekitParticipantsListResponses[keyof AdminMatrixLivekitParticipantsListResponses];
32227
32299
  export type AdminMatrixReprovisionData = {
32228
32300
  body?: never;
32229
32301
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.9-dev.63",
3
+ "version": "8.0.9-dev.64",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",