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

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
  *
@@ -4495,6 +4495,7 @@ export type Comment = {
4495
4495
  * Email address
4496
4496
  */
4497
4497
  readonly author_email: string;
4498
+ readonly author_image: string;
4498
4499
  readonly backend_id: string | null;
4499
4500
  remote_id?: string | null;
4500
4501
  readonly created: string;
@@ -5108,6 +5109,7 @@ export type ConstanceSettings = {
5108
5109
  MANDATORY_USER_ATTRIBUTES?: Array<UserAttributeEnum | BlankEnum>;
5109
5110
  ENFORCE_MANDATORY_USER_ATTRIBUTES?: boolean;
5110
5111
  MAINTENANCE_ANNOUNCEMENT_NOTIFY_BEFORE_MINUTES?: number;
5112
+ MAINTENANCE_ANNOUNCEMENT_TRAILING_BUFFER_MINUTES?: number;
5111
5113
  MAINTENANCE_ANNOUNCEMENT_NOTIFY_SYSTEM?: Array<NotifySystemEnum | BlankEnum>;
5112
5114
  ENFORCE_USER_CONSENT_FOR_OFFERINGS?: boolean;
5113
5115
  ENFORCE_OFFERING_USER_PROFILE_COMPLETENESS?: boolean;
@@ -5204,6 +5206,9 @@ export type ConstanceSettings = {
5204
5206
  MATRIX_USER_ID_FORMAT?: string;
5205
5207
  MATRIX_LOGIN_METHOD?: string;
5206
5208
  MATRIX_OIDC_PROVIDER_URL?: string;
5209
+ MATRIX_LIVEKIT_KEY?: string;
5210
+ MATRIX_LIVEKIT_SECRET?: string;
5211
+ MATRIX_LIVEKIT_URL?: string;
5207
5212
  SITE_AGENT_LOG_MAX_ROWS_PER_IDENTITY?: number;
5208
5213
  PAT_ENABLED?: boolean;
5209
5214
  PAT_MAX_LIFETIME_DAYS?: number;
@@ -5406,6 +5411,7 @@ export type ConstanceSettingsRequest = {
5406
5411
  MANDATORY_USER_ATTRIBUTES?: Array<UserAttributeEnum | BlankEnum>;
5407
5412
  ENFORCE_MANDATORY_USER_ATTRIBUTES?: boolean;
5408
5413
  MAINTENANCE_ANNOUNCEMENT_NOTIFY_BEFORE_MINUTES?: number;
5414
+ MAINTENANCE_ANNOUNCEMENT_TRAILING_BUFFER_MINUTES?: number;
5409
5415
  MAINTENANCE_ANNOUNCEMENT_NOTIFY_SYSTEM?: Array<NotifySystemEnum | BlankEnum>;
5410
5416
  ENFORCE_USER_CONSENT_FOR_OFFERINGS?: boolean;
5411
5417
  ENFORCE_OFFERING_USER_PROFILE_COMPLETENESS?: boolean;
@@ -5502,6 +5508,9 @@ export type ConstanceSettingsRequest = {
5502
5508
  MATRIX_USER_ID_FORMAT?: string;
5503
5509
  MATRIX_LOGIN_METHOD?: string;
5504
5510
  MATRIX_OIDC_PROVIDER_URL?: string;
5511
+ MATRIX_LIVEKIT_KEY?: string;
5512
+ MATRIX_LIVEKIT_SECRET?: string;
5513
+ MATRIX_LIVEKIT_URL?: string;
5505
5514
  SITE_AGENT_LOG_MAX_ROWS_PER_IDENTITY?: number;
5506
5515
  PAT_ENABLED?: boolean;
5507
5516
  PAT_MAX_LIFETIME_DAYS?: number;
@@ -9696,6 +9705,41 @@ export type LinkResourceResponse = {
9696
9705
  export type LinkToInvoiceRequest = {
9697
9706
  invoice: string;
9698
9707
  };
9708
+ export type LiveKitOverviewResponse = {
9709
+ rooms: Array<LiveKitRoomSummary>;
9710
+ totals: LiveKitTotals;
9711
+ livekit_url: string;
9712
+ };
9713
+ export type LiveKitParticipant = {
9714
+ sid: string;
9715
+ identity: string;
9716
+ state: string;
9717
+ is_publisher: boolean;
9718
+ joined_at: number;
9719
+ tracks: Array<LiveKitTrack>;
9720
+ };
9721
+ export type LiveKitRoomSummary = {
9722
+ sid: string;
9723
+ name: string;
9724
+ num_participants: number;
9725
+ num_publishers: number;
9726
+ creation_time: number;
9727
+ max_participants: number;
9728
+ metadata: string;
9729
+ };
9730
+ export type LiveKitTotals = {
9731
+ room_count: number;
9732
+ participant_count: number;
9733
+ publisher_count: number;
9734
+ };
9735
+ export type LiveKitTrack = {
9736
+ sid: string;
9737
+ name: string;
9738
+ type: string;
9739
+ muted: boolean;
9740
+ width: number;
9741
+ height: number;
9742
+ };
9699
9743
  export type LoadBalancerAttachFloatingIpRequest = {
9700
9744
  floating_ip: string;
9701
9745
  };
@@ -10389,6 +10433,7 @@ export type MatrixRoomMember = {
10389
10433
  readonly uuid: string;
10390
10434
  readonly user_uuid: string;
10391
10435
  readonly user_full_name: string;
10436
+ readonly user_image: string;
10392
10437
  readonly matrix_user_id: string;
10393
10438
  readonly power_level: number;
10394
10439
  membership_state: MembershipStateEnum;
@@ -19373,6 +19418,10 @@ export type Project = {
19373
19418
  * Number of active resources in this project
19374
19419
  */
19375
19420
  readonly resources_count: number;
19421
+ /**
19422
+ * Answers to the customer's project-metadata checklist (read-only).
19423
+ */
19424
+ readonly project_metadata: Array<ProjectMetadataAnswer>;
19376
19425
  /**
19377
19426
  * Maximum number of service accounts allowed
19378
19427
  */
@@ -19733,6 +19782,20 @@ export type ProjectMapping = {
19733
19782
  export type ProjectMappingMap = {
19734
19783
  '*': ProjectMapping | null;
19735
19784
  };
19785
+ export type ProjectMetadataAnswer = {
19786
+ question_uuid: string;
19787
+ /**
19788
+ * Question description.
19789
+ */
19790
+ question: string;
19791
+ question_type: string;
19792
+ /**
19793
+ * Human-readable answer value; select-type option UUIDs are resolved to their labels.
19794
+ */
19795
+ answer: {
19796
+ [key: string]: unknown;
19797
+ };
19798
+ };
19736
19799
  export type ProjectOrderAutoApproval = {
19737
19800
  readonly uuid: string;
19738
19801
  readonly url: string;
@@ -20309,6 +20372,7 @@ export type ProposalReview = {
20309
20372
  reviewer?: string;
20310
20373
  readonly reviewer_full_name: string;
20311
20374
  readonly reviewer_uuid: string;
20375
+ readonly reviewer_image: string;
20312
20376
  /**
20313
20377
  * Generate an anonymous reviewer identifier like 'Reviewer 1', 'Reviewer 2'.
20314
20378
  * Returns None if the review is not associated with a proposal.
@@ -29757,6 +29821,7 @@ export type ConstanceSettingsRequestForm = {
29757
29821
  MANDATORY_USER_ATTRIBUTES?: Array<UserAttributeEnum | BlankEnum>;
29758
29822
  ENFORCE_MANDATORY_USER_ATTRIBUTES?: boolean;
29759
29823
  MAINTENANCE_ANNOUNCEMENT_NOTIFY_BEFORE_MINUTES?: number;
29824
+ MAINTENANCE_ANNOUNCEMENT_TRAILING_BUFFER_MINUTES?: number;
29760
29825
  MAINTENANCE_ANNOUNCEMENT_NOTIFY_SYSTEM?: Array<NotifySystemEnum | BlankEnum>;
29761
29826
  ENFORCE_USER_CONSENT_FOR_OFFERINGS?: boolean;
29762
29827
  ENFORCE_OFFERING_USER_PROFILE_COMPLETENESS?: boolean;
@@ -29853,6 +29918,9 @@ export type ConstanceSettingsRequestForm = {
29853
29918
  MATRIX_USER_ID_FORMAT?: string;
29854
29919
  MATRIX_LOGIN_METHOD?: string;
29855
29920
  MATRIX_OIDC_PROVIDER_URL?: string;
29921
+ MATRIX_LIVEKIT_KEY?: string;
29922
+ MATRIX_LIVEKIT_SECRET?: string;
29923
+ MATRIX_LIVEKIT_URL?: string;
29856
29924
  SITE_AGENT_LOG_MAX_ROWS_PER_IDENTITY?: number;
29857
29925
  PAT_ENABLED?: boolean;
29858
29926
  PAT_MAX_LIFETIME_DAYS?: number;
@@ -30055,6 +30123,7 @@ export type ConstanceSettingsRequestMultipart = {
30055
30123
  MANDATORY_USER_ATTRIBUTES?: Array<UserAttributeEnum | BlankEnum>;
30056
30124
  ENFORCE_MANDATORY_USER_ATTRIBUTES?: boolean;
30057
30125
  MAINTENANCE_ANNOUNCEMENT_NOTIFY_BEFORE_MINUTES?: number;
30126
+ MAINTENANCE_ANNOUNCEMENT_TRAILING_BUFFER_MINUTES?: number;
30058
30127
  MAINTENANCE_ANNOUNCEMENT_NOTIFY_SYSTEM?: Array<NotifySystemEnum | BlankEnum>;
30059
30128
  ENFORCE_USER_CONSENT_FOR_OFFERINGS?: boolean;
30060
30129
  ENFORCE_OFFERING_USER_PROFILE_COMPLETENESS?: boolean;
@@ -30151,6 +30220,9 @@ export type ConstanceSettingsRequestMultipart = {
30151
30220
  MATRIX_USER_ID_FORMAT?: string;
30152
30221
  MATRIX_LOGIN_METHOD?: string;
30153
30222
  MATRIX_OIDC_PROVIDER_URL?: string;
30223
+ MATRIX_LIVEKIT_KEY?: string;
30224
+ MATRIX_LIVEKIT_SECRET?: string;
30225
+ MATRIX_LIVEKIT_URL?: string;
30154
30226
  SITE_AGENT_LOG_MAX_ROWS_PER_IDENTITY?: number;
30155
30227
  PAT_ENABLED?: boolean;
30156
30228
  PAT_MAX_LIFETIME_DAYS?: number;
@@ -30667,7 +30739,7 @@ export type RemoteProjectUpdateRequestStateEnum = 'approved' | 'canceled' | 'dra
30667
30739
  export type ProviderOfferingDetailsFieldEnum = 'access_url' | 'attributes' | 'backend_id' | 'backend_id_rules' | 'backend_metadata' | 'billable' | 'billing_type_classification' | 'category' | 'category_title' | 'category_uuid' | 'citation_count' | 'compliance_checklist' | 'components' | 'country' | 'created' | 'customer' | 'customer_name' | 'customer_uuid' | 'datacite_doi' | 'description' | 'documentation_url' | 'effective_available_limits' | 'endpoints' | 'files' | 'full_description' | 'getting_started' | 'google_calendar_is_public' | 'google_calendar_link' | 'has_compliance_requirements' | 'helpdesk_url' | 'image' | 'integration_guide' | 'integration_status' | 'latitude' | 'longitude' | 'name' | 'offering_group' | 'offering_group_title' | 'offering_group_uuid' | 'options' | 'order_count' | 'organization_groups' | 'parent_description' | 'parent_name' | 'parent_uuid' | 'partitions' | 'paused_reason' | 'plans' | 'plugin_options' | 'privacy_policy_link' | 'profile_name' | 'profile_uuid' | 'project' | 'project_name' | 'project_uuid' | 'quotas' | 'resource_options' | 'scope' | 'scope_error_message' | 'scope_name' | 'scope_state' | 'scope_uuid' | 'screenshots' | 'secret_options' | 'service_attributes' | 'shared' | 'slug' | 'software_catalogs' | 'state' | 'tags' | 'thumbnail' | 'total_cost' | 'total_cost_estimated' | 'total_customers' | 'type' | 'url' | 'uuid' | 'vendor_details';
30668
30740
  export type ProviderOfferingDetailsOEnum = '-created' | '-name' | '-state' | '-total_cost' | '-total_cost_estimated' | '-total_customers' | '-type' | 'created' | 'name' | 'state' | 'total_cost' | 'total_cost_estimated' | 'total_customers' | 'type';
30669
30741
  export type ProviderOfferingCustomerFieldEnum = 'abbreviation' | 'email' | 'name' | 'phone_number' | 'slug' | 'uuid';
30670
- export type ProjectFieldEnum = 'affiliation' | 'affiliation_code' | 'affiliation_name' | 'affiliation_uuid' | 'backend_id' | 'billing_price_estimate' | 'created' | 'customer' | 'customer_abbreviation' | 'customer_display_billing_info_in_projects' | 'customer_grace_period_days' | 'customer_name' | 'customer_native_name' | 'customer_slug' | 'customer_uuid' | 'description' | 'effective_end_date' | 'end_date' | 'end_date_requested_by' | 'end_date_updated_at' | 'grace_period_days' | 'image' | 'is_in_grace_period' | 'is_industry' | 'is_removed' | 'kind' | 'marketplace_resource_count' | 'max_service_accounts' | 'name' | 'oecd_fos_2007_code' | 'oecd_fos_2007_label' | 'project_credit' | 'resources_count' | 'science_domain_code' | 'science_domain_name' | 'science_domain_uuid' | 'science_sub_domain' | 'science_sub_domain_code' | 'science_sub_domain_name' | 'slug' | 'staff_notes' | 'start_date' | 'termination_metadata' | 'type' | 'type_name' | 'type_uuid' | 'url' | 'user_affiliations' | 'user_email_patterns' | 'user_identity_sources' | 'uuid';
30742
+ export type ProjectFieldEnum = 'affiliation' | 'affiliation_code' | 'affiliation_name' | 'affiliation_uuid' | 'backend_id' | 'billing_price_estimate' | 'created' | 'customer' | 'customer_abbreviation' | 'customer_display_billing_info_in_projects' | 'customer_grace_period_days' | 'customer_name' | 'customer_native_name' | 'customer_slug' | 'customer_uuid' | 'description' | 'effective_end_date' | 'end_date' | 'end_date_requested_by' | 'end_date_updated_at' | 'grace_period_days' | 'image' | 'is_in_grace_period' | 'is_industry' | 'is_removed' | 'kind' | 'marketplace_resource_count' | 'max_service_accounts' | 'name' | 'oecd_fos_2007_code' | 'oecd_fos_2007_label' | 'project_credit' | 'project_metadata' | 'resources_count' | 'science_domain_code' | 'science_domain_name' | 'science_domain_uuid' | 'science_sub_domain' | 'science_sub_domain_code' | 'science_sub_domain_name' | 'slug' | 'staff_notes' | 'start_date' | 'termination_metadata' | 'type' | 'type_name' | 'type_uuid' | 'url' | 'user_affiliations' | 'user_email_patterns' | 'user_identity_sources' | 'uuid';
30671
30743
  export type UserFieldEnum = 'active_isds' | 'address' | 'affiliations' | 'agree_with_policy' | 'agreement_date' | 'attribute_sources' | 'birth_date' | 'can_use_personal_access_tokens' | 'civil_number' | 'country_of_residence' | 'date_joined' | 'deactivation_reason' | 'description' | 'eduperson_assurance' | 'email' | 'first_name' | 'full_name' | 'gender' | 'has_active_session' | 'has_usable_password' | 'identity_provider_fields' | 'identity_provider_label' | 'identity_provider_management_url' | 'identity_provider_name' | 'identity_source' | 'image' | 'ip_address' | 'is_active' | 'is_admin_deactivated' | 'is_identity_manager' | 'is_staff' | 'is_support' | 'job_title' | 'last_name' | 'managed_isds' | 'nationalities' | 'nationality' | 'native_name' | 'notifications_enabled' | 'organization' | 'organization_country' | 'organization_registry_code' | 'organization_type' | 'permissions' | 'personal_title' | 'phone_number' | 'place_of_birth' | 'preferred_language' | 'registration_method' | 'requested_email' | 'should_protect_user_details' | 'slug' | 'token' | 'token_expires_at' | 'token_lifetime' | 'url' | 'username' | 'uuid';
30672
30744
  export type ResourceOEnum = '-created' | '-end_date' | '-name' | '-project_name' | '-state' | 'created' | 'end_date' | 'name' | 'project_name' | 'state';
30673
30745
  export type ResourceTeamMemberFieldEnum = 'email' | 'expiration_time' | 'full_name' | 'image' | 'resource_projects' | 'role_name' | 'role_uuid' | 'url' | 'username' | 'uuid';
@@ -32224,6 +32296,31 @@ export type AdminMatrixDiagnosticsRetrieveResponses = {
32224
32296
  200: MatrixDiagnosticsResponse;
32225
32297
  };
32226
32298
  export type AdminMatrixDiagnosticsRetrieveResponse = AdminMatrixDiagnosticsRetrieveResponses[keyof AdminMatrixDiagnosticsRetrieveResponses];
32299
+ export type AdminMatrixLivekitOverviewRetrieveData = {
32300
+ body?: never;
32301
+ path?: never;
32302
+ query?: never;
32303
+ url: '/api/admin/matrix/livekit/overview/';
32304
+ };
32305
+ export type AdminMatrixLivekitOverviewRetrieveResponses = {
32306
+ 200: LiveKitOverviewResponse;
32307
+ };
32308
+ export type AdminMatrixLivekitOverviewRetrieveResponse = AdminMatrixLivekitOverviewRetrieveResponses[keyof AdminMatrixLivekitOverviewRetrieveResponses];
32309
+ export type AdminMatrixLivekitParticipantsListData = {
32310
+ body?: never;
32311
+ path?: never;
32312
+ query: {
32313
+ /**
32314
+ * LiveKit room name. A query parameter rather than a path segment because Element Call room names are base64 and routinely contain '/'.
32315
+ */
32316
+ room: string;
32317
+ };
32318
+ url: '/api/admin/matrix/livekit/participants/';
32319
+ };
32320
+ export type AdminMatrixLivekitParticipantsListResponses = {
32321
+ 200: Array<LiveKitParticipant>;
32322
+ };
32323
+ export type AdminMatrixLivekitParticipantsListResponse = AdminMatrixLivekitParticipantsListResponses[keyof AdminMatrixLivekitParticipantsListResponses];
32227
32324
  export type AdminMatrixReprovisionData = {
32228
32325
  body?: never;
32229
32326
  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.65",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",