waldur-js-client 8.0.9-dev.62 → 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
  };
@@ -13694,9 +13735,7 @@ export type OfferingUser = {
13694
13735
  /**
13695
13736
  * Person's affiliation within organization such as student, faculty, staff.
13696
13737
  */
13697
- readonly user_affiliations: {
13698
- [key: string]: unknown;
13699
- };
13738
+ readonly user_affiliations: Array<string>;
13700
13739
  /**
13701
13740
  * User's gender (male, female, or unknown)
13702
13741
  */
@@ -13715,9 +13754,7 @@ export type OfferingUser = {
13715
13754
  /**
13716
13755
  * List of all citizenships (ISO 3166-1 alpha-2 codes)
13717
13756
  */
13718
- readonly user_nationalities: {
13719
- [key: string]: unknown;
13720
- };
13757
+ readonly user_nationalities: Array<string>;
13721
13758
  readonly user_organization_country: string;
13722
13759
  /**
13723
13760
  * SCHAC URN (e.g., urn:schac:homeOrganizationType:int:university)
@@ -13730,9 +13767,7 @@ export type OfferingUser = {
13730
13767
  /**
13731
13768
  * REFEDS assurance profile URIs from identity provider
13732
13769
  */
13733
- readonly user_eduperson_assurance: {
13734
- [key: string]: unknown;
13735
- };
13770
+ readonly user_eduperson_assurance: Array<string>;
13736
13771
  readonly user_civil_number: string | null;
13737
13772
  readonly user_birth_date: string | null;
13738
13773
  /**
@@ -13744,9 +13779,7 @@ export type OfferingUser = {
13744
13779
  /**
13745
13780
  * List of ISDs that have asserted this user exists. User is deactivated when this becomes empty.
13746
13781
  */
13747
- readonly user_active_isds: {
13748
- [key: string]: unknown;
13749
- };
13782
+ readonly user_active_isds: Array<string>;
13750
13783
  readonly created: string;
13751
13784
  readonly modified: string;
13752
13785
  readonly customer_uuid: string;
@@ -29861,6 +29894,9 @@ export type ConstanceSettingsRequestForm = {
29861
29894
  MATRIX_USER_ID_FORMAT?: string;
29862
29895
  MATRIX_LOGIN_METHOD?: string;
29863
29896
  MATRIX_OIDC_PROVIDER_URL?: string;
29897
+ MATRIX_LIVEKIT_KEY?: string;
29898
+ MATRIX_LIVEKIT_SECRET?: string;
29899
+ MATRIX_LIVEKIT_URL?: string;
29864
29900
  SITE_AGENT_LOG_MAX_ROWS_PER_IDENTITY?: number;
29865
29901
  PAT_ENABLED?: boolean;
29866
29902
  PAT_MAX_LIFETIME_DAYS?: number;
@@ -30159,6 +30195,9 @@ export type ConstanceSettingsRequestMultipart = {
30159
30195
  MATRIX_USER_ID_FORMAT?: string;
30160
30196
  MATRIX_LOGIN_METHOD?: string;
30161
30197
  MATRIX_OIDC_PROVIDER_URL?: string;
30198
+ MATRIX_LIVEKIT_KEY?: string;
30199
+ MATRIX_LIVEKIT_SECRET?: string;
30200
+ MATRIX_LIVEKIT_URL?: string;
30162
30201
  SITE_AGENT_LOG_MAX_ROWS_PER_IDENTITY?: number;
30163
30202
  PAT_ENABLED?: boolean;
30164
30203
  PAT_MAX_LIFETIME_DAYS?: number;
@@ -32232,6 +32271,31 @@ export type AdminMatrixDiagnosticsRetrieveResponses = {
32232
32271
  200: MatrixDiagnosticsResponse;
32233
32272
  };
32234
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];
32235
32299
  export type AdminMatrixReprovisionData = {
32236
32300
  body?: never;
32237
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.62",
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",