From 0c8d779503a982f9c5570d81e823fbc0ec72f6b6 Mon Sep 17 00:00:00 2001 From: Stream Bot Date: Mon, 23 Dec 2024 13:25:12 +0100 Subject: [PATCH] Generated new version of the spec --- Scripts/renamed-models.json | 4 +- Sources/StreamVideo/Call.swift | 25 +++- .../OpenApi/generated/APIs/DefaultAPI.swift | 53 ++++++-- .../OpenApi/generated/Models/Bound.swift | 31 +++++ .../generated/Models/CallDurationReport.swift | 26 ++++ .../Models/CallDurationReportResponse.swift | 26 ++++ .../Models/CallParticipantCountReport.swift | 26 ++++ .../CallParticipantCountReportResponse.swift | 26 ++++ .../CallSessionParticipantLeftEvent.swift | 7 +- .../CallStatsReportSummaryResponse.swift | 6 + .../generated/Models/CallsPerDayReport.swift | 26 ++++ .../Models/CallsPerDayReportResponse.swift | 26 ++++ ...yAggregateCallDurationReportResponse.swift | 31 +++++ ...teCallParticipantCountReportResponse.swift | 34 +++++ ...lyAggregateCallsPerDayReportResponse.swift | 31 +++++ ...yAggregateQualityScoreReportResponse.swift | 31 +++++ ...DailyAggregateSDKUsageReportResponse.swift | 31 +++++ ...yAggregateUserFeedbackReportResponse.swift | 31 +++++ .../{DeviceResponse.swift => Device.swift} | 4 +- .../Models/GetCallStatsResponse.swift | 6 + .../generated/Models/GoLiveRequest.swift | 6 + .../Models/ListDevicesResponse.swift | 4 +- .../Models/NetworkMetricsReportResponse.swift | 46 +++++++ .../generated/Models/OwnUserResponse.swift | 4 +- .../generated/Models/PerSDKUsageReport.swift | 31 +++++ .../generated/Models/QualityScoreReport.swift | 26 ++++ .../Models/QualityScoreReportResponse.swift | 26 ++++ .../QueryAggregateCallStatsRequest.swift | 36 ++++++ .../QueryAggregateCallStatsResponse.swift | 70 ++++++++++ .../Models/ReportByHistogramBucket.swift | 51 ++++++++ .../generated/Models/SDKUsageReport.swift | 26 ++++ .../Models/SDKUsageReportResponse.swift | 26 ++++ .../Models/StartClosedCaptionsRequest.swift | 36 ++++++ .../Models/StartTranscriptionRequest.swift | 14 +- .../Models/StopClosedCaptionsRequest.swift | 26 ++++ .../generated/Models/StopLiveRequest.swift | 20 ++- .../Models/StopTranscriptionRequest.swift | 26 ++++ .../Models/TranscriptionSettings.swift | 58 ++++++++- .../Models/TranscriptionSettingsRequest.swift | 58 ++++++++- .../generated/Models/UserFeedbackReport.swift | 31 +++++ .../Models/UserFeedbackReportResponse.swift | 26 ++++ .../generated/Models/UserSessionStats.swift | 8 +- .../generated/Models/VideoQuality.swift | 4 +- ...oDimension.swift => VideoResolution.swift} | 4 +- StreamVideo.xcodeproj/project.pbxproj | 120 ++++++++++++++++-- 45 files changed, 1207 insertions(+), 57 deletions(-) create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/Bound.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/CallDurationReport.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/CallDurationReportResponse.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/CallParticipantCountReport.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/CallParticipantCountReportResponse.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/CallsPerDayReport.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/CallsPerDayReportResponse.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateCallDurationReportResponse.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateCallParticipantCountReportResponse.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateCallsPerDayReportResponse.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateQualityScoreReportResponse.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateSDKUsageReportResponse.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateUserFeedbackReportResponse.swift rename Sources/StreamVideo/OpenApi/generated/Models/{DeviceResponse.swift => Device.swift} (91%) create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/NetworkMetricsReportResponse.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/PerSDKUsageReport.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/QualityScoreReport.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/QualityScoreReportResponse.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/QueryAggregateCallStatsRequest.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/QueryAggregateCallStatsResponse.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/ReportByHistogramBucket.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/SDKUsageReport.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/SDKUsageReportResponse.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/StartClosedCaptionsRequest.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/StopClosedCaptionsRequest.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/StopTranscriptionRequest.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/UserFeedbackReport.swift create mode 100644 Sources/StreamVideo/OpenApi/generated/Models/UserFeedbackReportResponse.swift rename Sources/StreamVideo/OpenApi/generated/Models/{VideoDimension.swift => VideoResolution.swift} (76%) diff --git a/Scripts/renamed-models.json b/Scripts/renamed-models.json index 31ed71337..d4700c164 100644 --- a/Scripts/renamed-models.json +++ b/Scripts/renamed-models.json @@ -17,5 +17,7 @@ "ThumbnailsSettingsResponse": "ThumbnailsSettings", "VideoSettingsResponse": "VideoSettings", "TimeStats": "Stats", - "NoiseCancellationSettings": "NoiseCancellationSettingsRequest" + "NoiseCancellationSettings": "NoiseCancellationSettingsRequest", + "VideoDimension": "VideoResolution", + "DeviceResponse": "Device" } diff --git a/Sources/StreamVideo/Call.swift b/Sources/StreamVideo/Call.swift index 11bb444ab..75961841c 100644 --- a/Sources/StreamVideo/Call.swift +++ b/Sources/StreamVideo/Call.swift @@ -734,7 +734,15 @@ public class Call: @unchecked Sendable, WSEventsSubscriber { /// Stops an ongoing live call. @discardableResult public func stopLive() async throws -> StopLiveResponse { - try await coordinatorClient.stopLive(type: callType, id: callId) + try await stopLive(request: .init()) + } + + public func stopLive(request: StopLiveRequest) async throws -> StopLiveResponse { + try await coordinatorClient.stopLive( + type: callType, + id: callId, + stopLiveRequest: request + ) } // MARK: - Recording @@ -786,7 +794,7 @@ public class Call: @unchecked Sendable, WSEventsSubscriber { /// - Throws: An error if the sending fails. @discardableResult public func sendCustomEvent(_ data: [String: RawJSON]) async throws -> SendEventResponse { - try await coordinatorClient.sendEvent( + try await coordinatorClient.sendCallEvent( type: callType, id: callId, sendEventRequest: SendEventRequest(custom: data) @@ -1087,14 +1095,19 @@ public class Call: @unchecked Sendable, WSEventsSubscriber { /// Stops a conversation from being transcribed and returns whether the stop request was successful /// or not. - /// - /// - Returns: A StopTranscriptionResponse indicating whether the stop request was successful + /// - Parameter stopClosedCaptions: A boolean value indicating whether to stop closed captions. + /// - Returns: A StopTranscriptionResponse indicating whether the stop request was successful. /// or not. @discardableResult - public func stopTranscription() async throws -> StopTranscriptionResponse { + public func stopTranscription( + stopClosedCaptions: Bool? = nil + ) async throws -> StopTranscriptionResponse { try await coordinatorClient.stopTranscription( type: callType, - id: callId + id: callId, + stopTranscriptionRequest: StopTranscriptionRequest( + stopClosedCaptions: stopClosedCaptions + ) ) } diff --git a/Sources/StreamVideo/OpenApi/generated/APIs/DefaultAPI.swift b/Sources/StreamVideo/OpenApi/generated/APIs/DefaultAPI.swift index 9084f5239..216f8ef24 100644 --- a/Sources/StreamVideo/OpenApi/generated/APIs/DefaultAPI.swift +++ b/Sources/StreamVideo/OpenApi/generated/APIs/DefaultAPI.swift @@ -665,7 +665,11 @@ open class DefaultAPI: DefaultAPIEndpoints, @unchecked Sendable { } } - open func startClosedCaptions(type: String, id: String) async throws -> StartClosedCaptionsResponse { + open func startClosedCaptions( + type: String, + id: String, + startClosedCaptionsRequest: StartClosedCaptionsRequest + ) async throws -> StartClosedCaptionsResponse { var path = "/video/call/{type}/{id}/start_closed_captions" let typePreEscape = "\(APIHelper.mapValueToPathItem(type))" @@ -677,7 +681,8 @@ open class DefaultAPI: DefaultAPIEndpoints, @unchecked Sendable { let urlRequest = try makeRequest( uriPath: path, - httpMethod: "POST" + httpMethod: "POST", + request: startClosedCaptionsRequest ) return try await send(request: urlRequest) { try self.jsonDecoder.decode(StartClosedCaptionsResponse.self, from: $0) @@ -778,7 +783,11 @@ open class DefaultAPI: DefaultAPIEndpoints, @unchecked Sendable { } } - open func stopClosedCaptions(type: String, id: String) async throws -> StopClosedCaptionsResponse { + open func stopClosedCaptions( + type: String, + id: String, + stopClosedCaptionsRequest: StopClosedCaptionsRequest + ) async throws -> StopClosedCaptionsResponse { var path = "/video/call/{type}/{id}/stop_closed_captions" let typePreEscape = "\(APIHelper.mapValueToPathItem(type))" @@ -790,7 +799,8 @@ open class DefaultAPI: DefaultAPIEndpoints, @unchecked Sendable { let urlRequest = try makeRequest( uriPath: path, - httpMethod: "POST" + httpMethod: "POST", + request: stopClosedCaptionsRequest ) return try await send(request: urlRequest) { try self.jsonDecoder.decode(StopClosedCaptionsResponse.self, from: $0) @@ -836,7 +846,11 @@ open class DefaultAPI: DefaultAPIEndpoints, @unchecked Sendable { } } - open func stopTranscription(type: String, id: String) async throws -> StopTranscriptionResponse { + open func stopTranscription( + type: String, + id: String, + stopTranscriptionRequest: StopTranscriptionRequest + ) async throws -> StopTranscriptionResponse { var path = "/video/call/{type}/{id}/stop_transcription" let typePreEscape = "\(APIHelper.mapValueToPathItem(type))" @@ -848,7 +862,8 @@ open class DefaultAPI: DefaultAPIEndpoints, @unchecked Sendable { let urlRequest = try makeRequest( uriPath: path, - httpMethod: "POST" + httpMethod: "POST", + request: stopTranscriptionRequest ) return try await send(request: urlRequest) { try self.jsonDecoder.decode(StopTranscriptionResponse.self, from: $0) @@ -1105,6 +1120,20 @@ open class DefaultAPI: DefaultAPIEndpoints, @unchecked Sendable { try self.jsonDecoder.decode(EmptyResponse.self, from: $0) } } + + open func queryAggregateCallStats(queryAggregateCallStatsRequest: QueryAggregateCallStatsRequest) async throws + -> QueryAggregateCallStatsResponse { + let path = "/video/stats" + + let urlRequest = try makeRequest( + uriPath: path, + httpMethod: "POST", + request: queryAggregateCallStatsRequest + ) + return try await send(request: urlRequest) { + try self.jsonDecoder.decode(QueryAggregateCallStatsResponse.self, from: $0) + } + } } protocol DefaultAPIEndpoints { @@ -1166,7 +1195,8 @@ protocol DefaultAPIEndpoints { func startHLSBroadcasting(type: String, id: String) async throws -> StartHLSBroadcastingResponse - func startClosedCaptions(type: String, id: String) async throws -> StartClosedCaptionsResponse + func startClosedCaptions(type: String, id: String, startClosedCaptionsRequest: StartClosedCaptionsRequest) async throws + -> StartClosedCaptionsResponse func startRecording(type: String, id: String, startRecordingRequest: StartRecordingRequest) async throws -> StartRecordingResponse @@ -1178,13 +1208,15 @@ protocol DefaultAPIEndpoints { func stopHLSBroadcasting(type: String, id: String) async throws -> StopHLSBroadcastingResponse - func stopClosedCaptions(type: String, id: String) async throws -> StopClosedCaptionsResponse + func stopClosedCaptions(type: String, id: String, stopClosedCaptionsRequest: StopClosedCaptionsRequest) async throws + -> StopClosedCaptionsResponse func stopLive(type: String, id: String, stopLiveRequest: StopLiveRequest) async throws -> StopLiveResponse func stopRecording(type: String, id: String) async throws -> StopRecordingResponse - func stopTranscription(type: String, id: String) async throws -> StopTranscriptionResponse + func stopTranscription(type: String, id: String, stopTranscriptionRequest: StopTranscriptionRequest) async throws + -> StopTranscriptionResponse func listTranscriptions(type: String, id: String) async throws -> ListTranscriptionsResponse @@ -1213,4 +1245,7 @@ protocol DefaultAPIEndpoints { func createGuest(createGuestRequest: CreateGuestRequest) async throws -> CreateGuestResponse func videoConnect() async throws -> Void + + func queryAggregateCallStats(queryAggregateCallStatsRequest: QueryAggregateCallStatsRequest) async throws + -> QueryAggregateCallStatsResponse } diff --git a/Sources/StreamVideo/OpenApi/generated/Models/Bound.swift b/Sources/StreamVideo/OpenApi/generated/Models/Bound.swift new file mode 100644 index 000000000..322babb92 --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/Bound.swift @@ -0,0 +1,31 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class Bound: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var inclusive: Bool + public var value: Float + + public init(inclusive: Bool, value: Float) { + self.inclusive = inclusive + self.value = value + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case inclusive + case value + } + + public static func == (lhs: Bound, rhs: Bound) -> Bool { + lhs.inclusive == rhs.inclusive && + lhs.value == rhs.value + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(inclusive) + hasher.combine(value) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/CallDurationReport.swift b/Sources/StreamVideo/OpenApi/generated/Models/CallDurationReport.swift new file mode 100644 index 000000000..d67ff48ae --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/CallDurationReport.swift @@ -0,0 +1,26 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class CallDurationReport: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var histogram: [ReportByHistogramBucket] + + public init(histogram: [ReportByHistogramBucket]) { + self.histogram = histogram + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case histogram + } + + public static func == (lhs: CallDurationReport, rhs: CallDurationReport) -> Bool { + lhs.histogram == rhs.histogram + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(histogram) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/CallDurationReportResponse.swift b/Sources/StreamVideo/OpenApi/generated/Models/CallDurationReportResponse.swift new file mode 100644 index 000000000..aad6ddfe9 --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/CallDurationReportResponse.swift @@ -0,0 +1,26 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class CallDurationReportResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var daily: [DailyAggregateCallDurationReportResponse] + + public init(daily: [DailyAggregateCallDurationReportResponse]) { + self.daily = daily + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case daily + } + + public static func == (lhs: CallDurationReportResponse, rhs: CallDurationReportResponse) -> Bool { + lhs.daily == rhs.daily + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(daily) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/CallParticipantCountReport.swift b/Sources/StreamVideo/OpenApi/generated/Models/CallParticipantCountReport.swift new file mode 100644 index 000000000..61cc2ec21 --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/CallParticipantCountReport.swift @@ -0,0 +1,26 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class CallParticipantCountReport: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var histogram: [ReportByHistogramBucket] + + public init(histogram: [ReportByHistogramBucket]) { + self.histogram = histogram + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case histogram + } + + public static func == (lhs: CallParticipantCountReport, rhs: CallParticipantCountReport) -> Bool { + lhs.histogram == rhs.histogram + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(histogram) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/CallParticipantCountReportResponse.swift b/Sources/StreamVideo/OpenApi/generated/Models/CallParticipantCountReportResponse.swift new file mode 100644 index 000000000..d0e224542 --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/CallParticipantCountReportResponse.swift @@ -0,0 +1,26 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class CallParticipantCountReportResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var daily: [DailyAggregateCallParticipantCountReportResponse] + + public init(daily: [DailyAggregateCallParticipantCountReportResponse]) { + self.daily = daily + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case daily + } + + public static func == (lhs: CallParticipantCountReportResponse, rhs: CallParticipantCountReportResponse) -> Bool { + lhs.daily == rhs.daily + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(daily) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/CallSessionParticipantLeftEvent.swift b/Sources/StreamVideo/OpenApi/generated/Models/CallSessionParticipantLeftEvent.swift index 74465de98..e2e828bf6 100644 --- a/Sources/StreamVideo/OpenApi/generated/Models/CallSessionParticipantLeftEvent.swift +++ b/Sources/StreamVideo/OpenApi/generated/Models/CallSessionParticipantLeftEvent.swift @@ -8,13 +8,15 @@ public final class CallSessionParticipantLeftEvent: @unchecked Sendable, Event, public var callCid: String public var createdAt: Date + public var durationSeconds: Int public var participant: CallParticipantResponse public var sessionId: String public var type: String = "call.session_participant_left" - public init(callCid: String, createdAt: Date, participant: CallParticipantResponse, sessionId: String) { + public init(callCid: String, createdAt: Date, durationSeconds: Int, participant: CallParticipantResponse, sessionId: String) { self.callCid = callCid self.createdAt = createdAt + self.durationSeconds = durationSeconds self.participant = participant self.sessionId = sessionId } @@ -22,6 +24,7 @@ public final class CallSessionParticipantLeftEvent: @unchecked Sendable, Event, public enum CodingKeys: String, CodingKey, CaseIterable { case callCid = "call_cid" case createdAt = "created_at" + case durationSeconds = "duration_seconds" case participant case sessionId = "session_id" case type @@ -30,6 +33,7 @@ public final class CallSessionParticipantLeftEvent: @unchecked Sendable, Event, public static func == (lhs: CallSessionParticipantLeftEvent, rhs: CallSessionParticipantLeftEvent) -> Bool { lhs.callCid == rhs.callCid && lhs.createdAt == rhs.createdAt && + lhs.durationSeconds == rhs.durationSeconds && lhs.participant == rhs.participant && lhs.sessionId == rhs.sessionId && lhs.type == rhs.type @@ -38,6 +42,7 @@ public final class CallSessionParticipantLeftEvent: @unchecked Sendable, Event, public func hash(into hasher: inout Hasher) { hasher.combine(callCid) hasher.combine(createdAt) + hasher.combine(durationSeconds) hasher.combine(participant) hasher.combine(sessionId) hasher.combine(type) diff --git a/Sources/StreamVideo/OpenApi/generated/Models/CallStatsReportSummaryResponse.swift b/Sources/StreamVideo/OpenApi/generated/Models/CallStatsReportSummaryResponse.swift index 8dfdc2146..1a34c6a27 100644 --- a/Sources/StreamVideo/OpenApi/generated/Models/CallStatsReportSummaryResponse.swift +++ b/Sources/StreamVideo/OpenApi/generated/Models/CallStatsReportSummaryResponse.swift @@ -12,6 +12,7 @@ public final class CallStatsReportSummaryResponse: @unchecked Sendable, Codable, public var callStatus: String public var createdAt: Date? public var firstStatsTime: Date + public var minUserRating: Int? public var qualityScore: Int? public init( @@ -21,6 +22,7 @@ public final class CallStatsReportSummaryResponse: @unchecked Sendable, Codable, callStatus: String, createdAt: Date? = nil, firstStatsTime: Date, + minUserRating: Int? = nil, qualityScore: Int? = nil ) { self.callCid = callCid @@ -29,6 +31,7 @@ public final class CallStatsReportSummaryResponse: @unchecked Sendable, Codable, self.callStatus = callStatus self.createdAt = createdAt self.firstStatsTime = firstStatsTime + self.minUserRating = minUserRating self.qualityScore = qualityScore } @@ -39,6 +42,7 @@ public final class CallStatsReportSummaryResponse: @unchecked Sendable, Codable, case callStatus = "call_status" case createdAt = "created_at" case firstStatsTime = "first_stats_time" + case minUserRating = "min_user_rating" case qualityScore = "quality_score" } @@ -49,6 +53,7 @@ public final class CallStatsReportSummaryResponse: @unchecked Sendable, Codable, lhs.callStatus == rhs.callStatus && lhs.createdAt == rhs.createdAt && lhs.firstStatsTime == rhs.firstStatsTime && + lhs.minUserRating == rhs.minUserRating && lhs.qualityScore == rhs.qualityScore } @@ -59,6 +64,7 @@ public final class CallStatsReportSummaryResponse: @unchecked Sendable, Codable, hasher.combine(callStatus) hasher.combine(createdAt) hasher.combine(firstStatsTime) + hasher.combine(minUserRating) hasher.combine(qualityScore) } } diff --git a/Sources/StreamVideo/OpenApi/generated/Models/CallsPerDayReport.swift b/Sources/StreamVideo/OpenApi/generated/Models/CallsPerDayReport.swift new file mode 100644 index 000000000..ca46d1246 --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/CallsPerDayReport.swift @@ -0,0 +1,26 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class CallsPerDayReport: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var count: Int + + public init(count: Int) { + self.count = count + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case count + } + + public static func == (lhs: CallsPerDayReport, rhs: CallsPerDayReport) -> Bool { + lhs.count == rhs.count + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(count) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/CallsPerDayReportResponse.swift b/Sources/StreamVideo/OpenApi/generated/Models/CallsPerDayReportResponse.swift new file mode 100644 index 000000000..e8e75b57e --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/CallsPerDayReportResponse.swift @@ -0,0 +1,26 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class CallsPerDayReportResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var daily: [DailyAggregateCallsPerDayReportResponse] + + public init(daily: [DailyAggregateCallsPerDayReportResponse]) { + self.daily = daily + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case daily + } + + public static func == (lhs: CallsPerDayReportResponse, rhs: CallsPerDayReportResponse) -> Bool { + lhs.daily == rhs.daily + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(daily) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateCallDurationReportResponse.swift b/Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateCallDurationReportResponse.swift new file mode 100644 index 000000000..8f641424f --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateCallDurationReportResponse.swift @@ -0,0 +1,31 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class DailyAggregateCallDurationReportResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var date: String + public var report: CallDurationReport + + public init(date: String, report: CallDurationReport) { + self.date = date + self.report = report + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case date + case report + } + + public static func == (lhs: DailyAggregateCallDurationReportResponse, rhs: DailyAggregateCallDurationReportResponse) -> Bool { + lhs.date == rhs.date && + lhs.report == rhs.report + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(date) + hasher.combine(report) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateCallParticipantCountReportResponse.swift b/Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateCallParticipantCountReportResponse.swift new file mode 100644 index 000000000..57b5f85b7 --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateCallParticipantCountReportResponse.swift @@ -0,0 +1,34 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class DailyAggregateCallParticipantCountReportResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var date: String + public var report: CallParticipantCountReport + + public init(date: String, report: CallParticipantCountReport) { + self.date = date + self.report = report + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case date + case report + } + + public static func == ( + lhs: DailyAggregateCallParticipantCountReportResponse, + rhs: DailyAggregateCallParticipantCountReportResponse + ) -> Bool { + lhs.date == rhs.date && + lhs.report == rhs.report + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(date) + hasher.combine(report) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateCallsPerDayReportResponse.swift b/Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateCallsPerDayReportResponse.swift new file mode 100644 index 000000000..77fc779b1 --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateCallsPerDayReportResponse.swift @@ -0,0 +1,31 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class DailyAggregateCallsPerDayReportResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var date: String + public var report: CallsPerDayReport + + public init(date: String, report: CallsPerDayReport) { + self.date = date + self.report = report + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case date + case report + } + + public static func == (lhs: DailyAggregateCallsPerDayReportResponse, rhs: DailyAggregateCallsPerDayReportResponse) -> Bool { + lhs.date == rhs.date && + lhs.report == rhs.report + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(date) + hasher.combine(report) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateQualityScoreReportResponse.swift b/Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateQualityScoreReportResponse.swift new file mode 100644 index 000000000..8053ec854 --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateQualityScoreReportResponse.swift @@ -0,0 +1,31 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class DailyAggregateQualityScoreReportResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var date: String + public var report: QualityScoreReport + + public init(date: String, report: QualityScoreReport) { + self.date = date + self.report = report + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case date + case report + } + + public static func == (lhs: DailyAggregateQualityScoreReportResponse, rhs: DailyAggregateQualityScoreReportResponse) -> Bool { + lhs.date == rhs.date && + lhs.report == rhs.report + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(date) + hasher.combine(report) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateSDKUsageReportResponse.swift b/Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateSDKUsageReportResponse.swift new file mode 100644 index 000000000..d43daadc1 --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateSDKUsageReportResponse.swift @@ -0,0 +1,31 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class DailyAggregateSDKUsageReportResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var date: String + public var report: SDKUsageReport + + public init(date: String, report: SDKUsageReport) { + self.date = date + self.report = report + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case date + case report + } + + public static func == (lhs: DailyAggregateSDKUsageReportResponse, rhs: DailyAggregateSDKUsageReportResponse) -> Bool { + lhs.date == rhs.date && + lhs.report == rhs.report + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(date) + hasher.combine(report) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateUserFeedbackReportResponse.swift b/Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateUserFeedbackReportResponse.swift new file mode 100644 index 000000000..dde822b07 --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/DailyAggregateUserFeedbackReportResponse.swift @@ -0,0 +1,31 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class DailyAggregateUserFeedbackReportResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var date: String + public var report: UserFeedbackReport + + public init(date: String, report: UserFeedbackReport) { + self.date = date + self.report = report + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case date + case report + } + + public static func == (lhs: DailyAggregateUserFeedbackReportResponse, rhs: DailyAggregateUserFeedbackReportResponse) -> Bool { + lhs.date == rhs.date && + lhs.report == rhs.report + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(date) + hasher.combine(report) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/DeviceResponse.swift b/Sources/StreamVideo/OpenApi/generated/Models/Device.swift similarity index 91% rename from Sources/StreamVideo/OpenApi/generated/Models/DeviceResponse.swift rename to Sources/StreamVideo/OpenApi/generated/Models/Device.swift index 5f4399bde..1b94bd241 100644 --- a/Sources/StreamVideo/OpenApi/generated/Models/DeviceResponse.swift +++ b/Sources/StreamVideo/OpenApi/generated/Models/Device.swift @@ -4,7 +4,7 @@ import Foundation -public final class DeviceResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable { +public final class Device: @unchecked Sendable, Codable, JSONEncodable, Hashable { public var createdAt: Date public var disabled: Bool? @@ -46,7 +46,7 @@ public final class DeviceResponse: @unchecked Sendable, Codable, JSONEncodable, case voip } - public static func == (lhs: DeviceResponse, rhs: DeviceResponse) -> Bool { + public static func == (lhs: Device, rhs: Device) -> Bool { lhs.createdAt == rhs.createdAt && lhs.disabled == rhs.disabled && lhs.disabledReason == rhs.disabledReason && diff --git a/Sources/StreamVideo/OpenApi/generated/Models/GetCallStatsResponse.swift b/Sources/StreamVideo/OpenApi/generated/Models/GetCallStatsResponse.swift index 18827ae2b..026a6ffbd 100644 --- a/Sources/StreamVideo/OpenApi/generated/Models/GetCallStatsResponse.swift +++ b/Sources/StreamVideo/OpenApi/generated/Models/GetCallStatsResponse.swift @@ -7,6 +7,7 @@ import Foundation public final class GetCallStatsResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable { public var aggregated: AggregatedStats? + public var averageConnectionTime: Float? public var callDurationSeconds: Int public var callStatus: String public var callTimeline: CallTimeline? @@ -24,6 +25,7 @@ public final class GetCallStatsResponse: @unchecked Sendable, Codable, JSONEncod public init( aggregated: AggregatedStats? = nil, + averageConnectionTime: Float? = nil, callDurationSeconds: Int, callStatus: String, callTimeline: CallTimeline? = nil, @@ -40,6 +42,7 @@ public final class GetCallStatsResponse: @unchecked Sendable, Codable, JSONEncod sfus: [SFULocationResponse] ) { self.aggregated = aggregated + self.averageConnectionTime = averageConnectionTime self.callDurationSeconds = callDurationSeconds self.callStatus = callStatus self.callTimeline = callTimeline @@ -58,6 +61,7 @@ public final class GetCallStatsResponse: @unchecked Sendable, Codable, JSONEncod public enum CodingKeys: String, CodingKey, CaseIterable { case aggregated + case averageConnectionTime = "average_connection_time" case callDurationSeconds = "call_duration_seconds" case callStatus = "call_status" case callTimeline = "call_timeline" @@ -76,6 +80,7 @@ public final class GetCallStatsResponse: @unchecked Sendable, Codable, JSONEncod public static func == (lhs: GetCallStatsResponse, rhs: GetCallStatsResponse) -> Bool { lhs.aggregated == rhs.aggregated && + lhs.averageConnectionTime == rhs.averageConnectionTime && lhs.callDurationSeconds == rhs.callDurationSeconds && lhs.callStatus == rhs.callStatus && lhs.callTimeline == rhs.callTimeline && @@ -94,6 +99,7 @@ public final class GetCallStatsResponse: @unchecked Sendable, Codable, JSONEncod public func hash(into hasher: inout Hasher) { hasher.combine(aggregated) + hasher.combine(averageConnectionTime) hasher.combine(callDurationSeconds) hasher.combine(callStatus) hasher.combine(callTimeline) diff --git a/Sources/StreamVideo/OpenApi/generated/Models/GoLiveRequest.swift b/Sources/StreamVideo/OpenApi/generated/Models/GoLiveRequest.swift index 366c25227..18fc4a2df 100644 --- a/Sources/StreamVideo/OpenApi/generated/Models/GoLiveRequest.swift +++ b/Sources/StreamVideo/OpenApi/generated/Models/GoLiveRequest.swift @@ -7,6 +7,7 @@ import Foundation public final class GoLiveRequest: @unchecked Sendable, Codable, JSONEncodable, Hashable { public var recordingStorageName: String? + public var startClosedCaption: Bool? public var startHls: Bool? public var startRecording: Bool? public var startRtmpBroadcasts: Bool? @@ -15,6 +16,7 @@ public final class GoLiveRequest: @unchecked Sendable, Codable, JSONEncodable, H public init( recordingStorageName: String? = nil, + startClosedCaption: Bool? = nil, startHls: Bool? = nil, startRecording: Bool? = nil, startRtmpBroadcasts: Bool? = nil, @@ -22,6 +24,7 @@ public final class GoLiveRequest: @unchecked Sendable, Codable, JSONEncodable, H transcriptionStorageName: String? = nil ) { self.recordingStorageName = recordingStorageName + self.startClosedCaption = startClosedCaption self.startHls = startHls self.startRecording = startRecording self.startRtmpBroadcasts = startRtmpBroadcasts @@ -31,6 +34,7 @@ public final class GoLiveRequest: @unchecked Sendable, Codable, JSONEncodable, H public enum CodingKeys: String, CodingKey, CaseIterable { case recordingStorageName = "recording_storage_name" + case startClosedCaption = "start_closed_caption" case startHls = "start_hls" case startRecording = "start_recording" case startRtmpBroadcasts = "start_rtmp_broadcasts" @@ -40,6 +44,7 @@ public final class GoLiveRequest: @unchecked Sendable, Codable, JSONEncodable, H public static func == (lhs: GoLiveRequest, rhs: GoLiveRequest) -> Bool { lhs.recordingStorageName == rhs.recordingStorageName && + lhs.startClosedCaption == rhs.startClosedCaption && lhs.startHls == rhs.startHls && lhs.startRecording == rhs.startRecording && lhs.startRtmpBroadcasts == rhs.startRtmpBroadcasts && @@ -49,6 +54,7 @@ public final class GoLiveRequest: @unchecked Sendable, Codable, JSONEncodable, H public func hash(into hasher: inout Hasher) { hasher.combine(recordingStorageName) + hasher.combine(startClosedCaption) hasher.combine(startHls) hasher.combine(startRecording) hasher.combine(startRtmpBroadcasts) diff --git a/Sources/StreamVideo/OpenApi/generated/Models/ListDevicesResponse.swift b/Sources/StreamVideo/OpenApi/generated/Models/ListDevicesResponse.swift index 9add87a05..12bf38ee1 100644 --- a/Sources/StreamVideo/OpenApi/generated/Models/ListDevicesResponse.swift +++ b/Sources/StreamVideo/OpenApi/generated/Models/ListDevicesResponse.swift @@ -6,10 +6,10 @@ import Foundation public final class ListDevicesResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable { - public var devices: [DeviceResponse] + public var devices: [Device] public var duration: String - public init(devices: [DeviceResponse], duration: String) { + public init(devices: [Device], duration: String) { self.devices = devices self.duration = duration } diff --git a/Sources/StreamVideo/OpenApi/generated/Models/NetworkMetricsReportResponse.swift b/Sources/StreamVideo/OpenApi/generated/Models/NetworkMetricsReportResponse.swift new file mode 100644 index 000000000..841232908 --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/NetworkMetricsReportResponse.swift @@ -0,0 +1,46 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class NetworkMetricsReportResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var averageConnectionTime: Float? + public var averageJitter: Float? + public var averageLatency: Float? + public var averageTimeToReconnect: Float? + + public init( + averageConnectionTime: Float? = nil, + averageJitter: Float? = nil, + averageLatency: Float? = nil, + averageTimeToReconnect: Float? = nil + ) { + self.averageConnectionTime = averageConnectionTime + self.averageJitter = averageJitter + self.averageLatency = averageLatency + self.averageTimeToReconnect = averageTimeToReconnect + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case averageConnectionTime = "average_connection_time" + case averageJitter = "average_jitter" + case averageLatency = "average_latency" + case averageTimeToReconnect = "average_time_to_reconnect" + } + + public static func == (lhs: NetworkMetricsReportResponse, rhs: NetworkMetricsReportResponse) -> Bool { + lhs.averageConnectionTime == rhs.averageConnectionTime && + lhs.averageJitter == rhs.averageJitter && + lhs.averageLatency == rhs.averageLatency && + lhs.averageTimeToReconnect == rhs.averageTimeToReconnect + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(averageConnectionTime) + hasher.combine(averageJitter) + hasher.combine(averageLatency) + hasher.combine(averageTimeToReconnect) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/OwnUserResponse.swift b/Sources/StreamVideo/OpenApi/generated/Models/OwnUserResponse.swift index f04bd4f0e..f92c2edc8 100644 --- a/Sources/StreamVideo/OpenApi/generated/Models/OwnUserResponse.swift +++ b/Sources/StreamVideo/OpenApi/generated/Models/OwnUserResponse.swift @@ -11,7 +11,7 @@ public final class OwnUserResponse: @unchecked Sendable, Codable, JSONEncodable, public var custom: [String: RawJSON] public var deactivatedAt: Date? public var deletedAt: Date? - public var devices: [DeviceResponse] + public var devices: [Device] public var id: String public var image: String? public var language: String @@ -29,7 +29,7 @@ public final class OwnUserResponse: @unchecked Sendable, Codable, JSONEncodable, custom: [String: RawJSON], deactivatedAt: Date? = nil, deletedAt: Date? = nil, - devices: [DeviceResponse], + devices: [Device], id: String, image: String? = nil, language: String, diff --git a/Sources/StreamVideo/OpenApi/generated/Models/PerSDKUsageReport.swift b/Sources/StreamVideo/OpenApi/generated/Models/PerSDKUsageReport.swift new file mode 100644 index 000000000..a03b5346d --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/PerSDKUsageReport.swift @@ -0,0 +1,31 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class PerSDKUsageReport: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var byVersion: [String: Int] + public var total: Int + + public init(byVersion: [String: Int], total: Int) { + self.byVersion = byVersion + self.total = total + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case byVersion = "by_version" + case total + } + + public static func == (lhs: PerSDKUsageReport, rhs: PerSDKUsageReport) -> Bool { + lhs.byVersion == rhs.byVersion && + lhs.total == rhs.total + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(byVersion) + hasher.combine(total) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/QualityScoreReport.swift b/Sources/StreamVideo/OpenApi/generated/Models/QualityScoreReport.swift new file mode 100644 index 000000000..87dee4ff8 --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/QualityScoreReport.swift @@ -0,0 +1,26 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class QualityScoreReport: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var histogram: [ReportByHistogramBucket] + + public init(histogram: [ReportByHistogramBucket]) { + self.histogram = histogram + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case histogram + } + + public static func == (lhs: QualityScoreReport, rhs: QualityScoreReport) -> Bool { + lhs.histogram == rhs.histogram + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(histogram) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/QualityScoreReportResponse.swift b/Sources/StreamVideo/OpenApi/generated/Models/QualityScoreReportResponse.swift new file mode 100644 index 000000000..c0ca85f98 --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/QualityScoreReportResponse.swift @@ -0,0 +1,26 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class QualityScoreReportResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var daily: [DailyAggregateQualityScoreReportResponse] + + public init(daily: [DailyAggregateQualityScoreReportResponse]) { + self.daily = daily + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case daily + } + + public static func == (lhs: QualityScoreReportResponse, rhs: QualityScoreReportResponse) -> Bool { + lhs.daily == rhs.daily + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(daily) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/QueryAggregateCallStatsRequest.swift b/Sources/StreamVideo/OpenApi/generated/Models/QueryAggregateCallStatsRequest.swift new file mode 100644 index 000000000..5007e56ac --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/QueryAggregateCallStatsRequest.swift @@ -0,0 +1,36 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class QueryAggregateCallStatsRequest: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var from: String? + public var reportTypes: [String]? + public var to: String? + + public init(from: String? = nil, reportTypes: [String]? = nil, to: String? = nil) { + self.from = from + self.reportTypes = reportTypes + self.to = to + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case from + case reportTypes = "report_types" + case to + } + + public static func == (lhs: QueryAggregateCallStatsRequest, rhs: QueryAggregateCallStatsRequest) -> Bool { + lhs.from == rhs.from && + lhs.reportTypes == rhs.reportTypes && + lhs.to == rhs.to + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(from) + hasher.combine(reportTypes) + hasher.combine(to) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/QueryAggregateCallStatsResponse.swift b/Sources/StreamVideo/OpenApi/generated/Models/QueryAggregateCallStatsResponse.swift new file mode 100644 index 000000000..43eb04efd --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/QueryAggregateCallStatsResponse.swift @@ -0,0 +1,70 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class QueryAggregateCallStatsResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var callDurationReport: CallDurationReportResponse? + public var callParticipantCountReport: CallParticipantCountReportResponse? + public var callsPerDayReport: CallsPerDayReportResponse? + public var duration: String + public var networkMetricsReport: NetworkMetricsReportResponse? + public var qualityScoreReport: QualityScoreReportResponse? + public var sdkUsageReport: SDKUsageReportResponse? + public var userFeedbackReport: UserFeedbackReportResponse? + + public init( + callDurationReport: CallDurationReportResponse? = nil, + callParticipantCountReport: CallParticipantCountReportResponse? = nil, + callsPerDayReport: CallsPerDayReportResponse? = nil, + duration: String, + networkMetricsReport: NetworkMetricsReportResponse? = nil, + qualityScoreReport: QualityScoreReportResponse? = nil, + sdkUsageReport: SDKUsageReportResponse? = nil, + userFeedbackReport: UserFeedbackReportResponse? = nil + ) { + self.callDurationReport = callDurationReport + self.callParticipantCountReport = callParticipantCountReport + self.callsPerDayReport = callsPerDayReport + self.duration = duration + self.networkMetricsReport = networkMetricsReport + self.qualityScoreReport = qualityScoreReport + self.sdkUsageReport = sdkUsageReport + self.userFeedbackReport = userFeedbackReport + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case callDurationReport = "call_duration_report" + case callParticipantCountReport = "call_participant_count_report" + case callsPerDayReport = "calls_per_day_report" + case duration + case networkMetricsReport = "network_metrics_report" + case qualityScoreReport = "quality_score_report" + case sdkUsageReport = "sdk_usage_report" + case userFeedbackReport = "user_feedback_report" + } + + public static func == (lhs: QueryAggregateCallStatsResponse, rhs: QueryAggregateCallStatsResponse) -> Bool { + lhs.callDurationReport == rhs.callDurationReport && + lhs.callParticipantCountReport == rhs.callParticipantCountReport && + lhs.callsPerDayReport == rhs.callsPerDayReport && + lhs.duration == rhs.duration && + lhs.networkMetricsReport == rhs.networkMetricsReport && + lhs.qualityScoreReport == rhs.qualityScoreReport && + lhs.sdkUsageReport == rhs.sdkUsageReport && + lhs.userFeedbackReport == rhs.userFeedbackReport + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(callDurationReport) + hasher.combine(callParticipantCountReport) + hasher.combine(callsPerDayReport) + hasher.combine(duration) + hasher.combine(networkMetricsReport) + hasher.combine(qualityScoreReport) + hasher.combine(sdkUsageReport) + hasher.combine(userFeedbackReport) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/ReportByHistogramBucket.swift b/Sources/StreamVideo/OpenApi/generated/Models/ReportByHistogramBucket.swift new file mode 100644 index 000000000..afbe01c90 --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/ReportByHistogramBucket.swift @@ -0,0 +1,51 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class ReportByHistogramBucket: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var category: String + public var count: Int + public var lowerBound: Bound? + public var mean: Float + public var sum: Float + public var upperBound: Bound? + + public init(category: String, count: Int, lowerBound: Bound? = nil, mean: Float, sum: Float, upperBound: Bound? = nil) { + self.category = category + self.count = count + self.lowerBound = lowerBound + self.mean = mean + self.sum = sum + self.upperBound = upperBound + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case category + case count + case lowerBound = "lower_bound" + case mean + case sum + case upperBound = "upper_bound" + } + + public static func == (lhs: ReportByHistogramBucket, rhs: ReportByHistogramBucket) -> Bool { + lhs.category == rhs.category && + lhs.count == rhs.count && + lhs.lowerBound == rhs.lowerBound && + lhs.mean == rhs.mean && + lhs.sum == rhs.sum && + lhs.upperBound == rhs.upperBound + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(category) + hasher.combine(count) + hasher.combine(lowerBound) + hasher.combine(mean) + hasher.combine(sum) + hasher.combine(upperBound) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/SDKUsageReport.swift b/Sources/StreamVideo/OpenApi/generated/Models/SDKUsageReport.swift new file mode 100644 index 000000000..a4acd4765 --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/SDKUsageReport.swift @@ -0,0 +1,26 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class SDKUsageReport: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var perSdkUsage: [String: PerSDKUsageReport?] + + public init(perSdkUsage: [String: PerSDKUsageReport?]) { + self.perSdkUsage = perSdkUsage + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case perSdkUsage = "per_sdk_usage" + } + + public static func == (lhs: SDKUsageReport, rhs: SDKUsageReport) -> Bool { + lhs.perSdkUsage == rhs.perSdkUsage + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(perSdkUsage) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/SDKUsageReportResponse.swift b/Sources/StreamVideo/OpenApi/generated/Models/SDKUsageReportResponse.swift new file mode 100644 index 000000000..c865b4c77 --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/SDKUsageReportResponse.swift @@ -0,0 +1,26 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class SDKUsageReportResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var daily: [DailyAggregateSDKUsageReportResponse] + + public init(daily: [DailyAggregateSDKUsageReportResponse]) { + self.daily = daily + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case daily + } + + public static func == (lhs: SDKUsageReportResponse, rhs: SDKUsageReportResponse) -> Bool { + lhs.daily == rhs.daily + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(daily) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/StartClosedCaptionsRequest.swift b/Sources/StreamVideo/OpenApi/generated/Models/StartClosedCaptionsRequest.swift new file mode 100644 index 000000000..ed7658a3d --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/StartClosedCaptionsRequest.swift @@ -0,0 +1,36 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class StartClosedCaptionsRequest: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var enableTranscription: Bool? + public var externalStorage: String? + public var language: String? + + public init(enableTranscription: Bool? = nil, externalStorage: String? = nil, language: String? = nil) { + self.enableTranscription = enableTranscription + self.externalStorage = externalStorage + self.language = language + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case enableTranscription = "enable_transcription" + case externalStorage = "external_storage" + case language + } + + public static func == (lhs: StartClosedCaptionsRequest, rhs: StartClosedCaptionsRequest) -> Bool { + lhs.enableTranscription == rhs.enableTranscription && + lhs.externalStorage == rhs.externalStorage && + lhs.language == rhs.language + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(enableTranscription) + hasher.combine(externalStorage) + hasher.combine(language) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/StartTranscriptionRequest.swift b/Sources/StreamVideo/OpenApi/generated/Models/StartTranscriptionRequest.swift index 9dfa878b8..ccb0cac84 100644 --- a/Sources/StreamVideo/OpenApi/generated/Models/StartTranscriptionRequest.swift +++ b/Sources/StreamVideo/OpenApi/generated/Models/StartTranscriptionRequest.swift @@ -6,21 +6,31 @@ import Foundation public final class StartTranscriptionRequest: @unchecked Sendable, Codable, JSONEncodable, Hashable { + public var enableClosedCaptions: Bool? + public var language: String? public var transcriptionExternalStorage: String? - public init(transcriptionExternalStorage: String? = nil) { + public init(enableClosedCaptions: Bool? = nil, language: String? = nil, transcriptionExternalStorage: String? = nil) { + self.enableClosedCaptions = enableClosedCaptions + self.language = language self.transcriptionExternalStorage = transcriptionExternalStorage } public enum CodingKeys: String, CodingKey, CaseIterable { + case enableClosedCaptions = "enable_closed_captions" + case language case transcriptionExternalStorage = "transcription_external_storage" } public static func == (lhs: StartTranscriptionRequest, rhs: StartTranscriptionRequest) -> Bool { - lhs.transcriptionExternalStorage == rhs.transcriptionExternalStorage + lhs.enableClosedCaptions == rhs.enableClosedCaptions && + lhs.language == rhs.language && + lhs.transcriptionExternalStorage == rhs.transcriptionExternalStorage } public func hash(into hasher: inout Hasher) { + hasher.combine(enableClosedCaptions) + hasher.combine(language) hasher.combine(transcriptionExternalStorage) } } diff --git a/Sources/StreamVideo/OpenApi/generated/Models/StopClosedCaptionsRequest.swift b/Sources/StreamVideo/OpenApi/generated/Models/StopClosedCaptionsRequest.swift new file mode 100644 index 000000000..7179497d5 --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/StopClosedCaptionsRequest.swift @@ -0,0 +1,26 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class StopClosedCaptionsRequest: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var stopTranscription: Bool? + + public init(stopTranscription: Bool? = nil) { + self.stopTranscription = stopTranscription + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case stopTranscription = "stop_transcription" + } + + public static func == (lhs: StopClosedCaptionsRequest, rhs: StopClosedCaptionsRequest) -> Bool { + lhs.stopTranscription == rhs.stopTranscription + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(stopTranscription) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/StopLiveRequest.swift b/Sources/StreamVideo/OpenApi/generated/Models/StopLiveRequest.swift index 7eb535ee9..6ecf93f8c 100644 --- a/Sources/StreamVideo/OpenApi/generated/Models/StopLiveRequest.swift +++ b/Sources/StreamVideo/OpenApi/generated/Models/StopLiveRequest.swift @@ -6,41 +6,47 @@ import Foundation public final class StopLiveRequest: @unchecked Sendable, Codable, JSONEncodable, Hashable { + public var continueClosedCaption: Bool? public var continueHls: Bool? public var continueRecording: Bool? - public var continueRtmpBroadcast: Bool? + public var continueRtmpBroadcasts: Bool? public var continueTranscription: Bool? public init( + continueClosedCaption: Bool? = nil, continueHls: Bool? = nil, continueRecording: Bool? = nil, - continueRtmpBroadcast: Bool? = nil, + continueRtmpBroadcasts: Bool? = nil, continueTranscription: Bool? = nil ) { + self.continueClosedCaption = continueClosedCaption self.continueHls = continueHls self.continueRecording = continueRecording - self.continueRtmpBroadcast = continueRtmpBroadcast + self.continueRtmpBroadcasts = continueRtmpBroadcasts self.continueTranscription = continueTranscription } public enum CodingKeys: String, CodingKey, CaseIterable { + case continueClosedCaption = "continue_closed_caption" case continueHls = "continue_hls" case continueRecording = "continue_recording" - case continueRtmpBroadcast = "continue_rtmp_broadcast" + case continueRtmpBroadcasts = "continue_rtmp_broadcasts" case continueTranscription = "continue_transcription" } public static func == (lhs: StopLiveRequest, rhs: StopLiveRequest) -> Bool { - lhs.continueHls == rhs.continueHls && + lhs.continueClosedCaption == rhs.continueClosedCaption && + lhs.continueHls == rhs.continueHls && lhs.continueRecording == rhs.continueRecording && - lhs.continueRtmpBroadcast == rhs.continueRtmpBroadcast && + lhs.continueRtmpBroadcasts == rhs.continueRtmpBroadcasts && lhs.continueTranscription == rhs.continueTranscription } public func hash(into hasher: inout Hasher) { + hasher.combine(continueClosedCaption) hasher.combine(continueHls) hasher.combine(continueRecording) - hasher.combine(continueRtmpBroadcast) + hasher.combine(continueRtmpBroadcasts) hasher.combine(continueTranscription) } } diff --git a/Sources/StreamVideo/OpenApi/generated/Models/StopTranscriptionRequest.swift b/Sources/StreamVideo/OpenApi/generated/Models/StopTranscriptionRequest.swift new file mode 100644 index 000000000..f17c32a11 --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/StopTranscriptionRequest.swift @@ -0,0 +1,26 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class StopTranscriptionRequest: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var stopClosedCaptions: Bool? + + public init(stopClosedCaptions: Bool? = nil) { + self.stopClosedCaptions = stopClosedCaptions + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case stopClosedCaptions = "stop_closed_captions" + } + + public static func == (lhs: StopTranscriptionRequest, rhs: StopTranscriptionRequest) -> Bool { + lhs.stopClosedCaptions == rhs.stopClosedCaptions + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(stopClosedCaptions) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/TranscriptionSettings.swift b/Sources/StreamVideo/OpenApi/generated/Models/TranscriptionSettings.swift index 18dd717a6..e71bb8602 100644 --- a/Sources/StreamVideo/OpenApi/generated/Models/TranscriptionSettings.swift +++ b/Sources/StreamVideo/OpenApi/generated/Models/TranscriptionSettings.swift @@ -23,6 +23,52 @@ public final class TranscriptionSettings: @unchecked Sendable, Codable, JSONEnco } } + public enum Language: String, Sendable, Codable, CaseIterable { + case ar + case ca + case cs + case da + case de + case el + case en + case es + case fi + case fr + case he + case hi + case hr + case hu + case id + case it + case ja + case ko + case ms + case nl + case no + case pl + case pt + case ro + case ru + case sv + case ta + case th + case tl + case tr + case uk + case zh + case unknown = "_unknown" + + public init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let decodedValue = try? container.decode(String.self), + let value = Self(rawValue: decodedValue) { + self = value + } else { + self = .unknown + } + } + } + public enum Mode: String, Sendable, Codable, CaseIterable { case autoOn = "auto-on" case available @@ -41,30 +87,30 @@ public final class TranscriptionSettings: @unchecked Sendable, Codable, JSONEnco } public var closedCaptionMode: ClosedCaptionMode - public var languages: [String] + public var language: Language public var mode: Mode - public init(closedCaptionMode: ClosedCaptionMode, languages: [String], mode: Mode) { + public init(closedCaptionMode: ClosedCaptionMode, language: Language, mode: Mode) { self.closedCaptionMode = closedCaptionMode - self.languages = languages + self.language = language self.mode = mode } public enum CodingKeys: String, CodingKey, CaseIterable { case closedCaptionMode = "closed_caption_mode" - case languages + case language case mode } public static func == (lhs: TranscriptionSettings, rhs: TranscriptionSettings) -> Bool { lhs.closedCaptionMode == rhs.closedCaptionMode && - lhs.languages == rhs.languages && + lhs.language == rhs.language && lhs.mode == rhs.mode } public func hash(into hasher: inout Hasher) { hasher.combine(closedCaptionMode) - hasher.combine(languages) + hasher.combine(language) hasher.combine(mode) } } diff --git a/Sources/StreamVideo/OpenApi/generated/Models/TranscriptionSettingsRequest.swift b/Sources/StreamVideo/OpenApi/generated/Models/TranscriptionSettingsRequest.swift index a1d463f79..63d0a5948 100644 --- a/Sources/StreamVideo/OpenApi/generated/Models/TranscriptionSettingsRequest.swift +++ b/Sources/StreamVideo/OpenApi/generated/Models/TranscriptionSettingsRequest.swift @@ -23,6 +23,52 @@ public final class TranscriptionSettingsRequest: @unchecked Sendable, Codable, J } } + public enum Language: String, Sendable, Codable, CaseIterable { + case ar + case ca + case cs + case da + case de + case el + case en + case es + case fi + case fr + case he + case hi + case hr + case hu + case id + case it + case ja + case ko + case ms + case nl + case no + case pl + case pt + case ro + case ru + case sv + case ta + case th + case tl + case tr + case uk + case zh + case unknown = "_unknown" + + public init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let decodedValue = try? container.decode(String.self), + let value = Self(rawValue: decodedValue) { + self = value + } else { + self = .unknown + } + } + } + public enum Mode: String, Sendable, Codable, CaseIterable { case autoOn = "auto-on" case available @@ -41,30 +87,30 @@ public final class TranscriptionSettingsRequest: @unchecked Sendable, Codable, J } public var closedCaptionMode: ClosedCaptionMode? - public var languages: [String]? + public var language: Language? public var mode: Mode - public init(closedCaptionMode: ClosedCaptionMode? = nil, languages: [String]? = nil, mode: Mode) { + public init(closedCaptionMode: ClosedCaptionMode? = nil, language: Language? = nil, mode: Mode) { self.closedCaptionMode = closedCaptionMode - self.languages = languages + self.language = language self.mode = mode } public enum CodingKeys: String, CodingKey, CaseIterable { case closedCaptionMode = "closed_caption_mode" - case languages + case language case mode } public static func == (lhs: TranscriptionSettingsRequest, rhs: TranscriptionSettingsRequest) -> Bool { lhs.closedCaptionMode == rhs.closedCaptionMode && - lhs.languages == rhs.languages && + lhs.language == rhs.language && lhs.mode == rhs.mode } public func hash(into hasher: inout Hasher) { hasher.combine(closedCaptionMode) - hasher.combine(languages) + hasher.combine(language) hasher.combine(mode) } } diff --git a/Sources/StreamVideo/OpenApi/generated/Models/UserFeedbackReport.swift b/Sources/StreamVideo/OpenApi/generated/Models/UserFeedbackReport.swift new file mode 100644 index 000000000..3956fb9c2 --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/UserFeedbackReport.swift @@ -0,0 +1,31 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class UserFeedbackReport: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var countByRating: [String: Int] + public var unreportedCount: Int + + public init(countByRating: [String: Int], unreportedCount: Int) { + self.countByRating = countByRating + self.unreportedCount = unreportedCount + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case countByRating = "count_by_rating" + case unreportedCount = "unreported_count" + } + + public static func == (lhs: UserFeedbackReport, rhs: UserFeedbackReport) -> Bool { + lhs.countByRating == rhs.countByRating && + lhs.unreportedCount == rhs.unreportedCount + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(countByRating) + hasher.combine(unreportedCount) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/UserFeedbackReportResponse.swift b/Sources/StreamVideo/OpenApi/generated/Models/UserFeedbackReportResponse.swift new file mode 100644 index 000000000..ed94a6486 --- /dev/null +++ b/Sources/StreamVideo/OpenApi/generated/Models/UserFeedbackReportResponse.swift @@ -0,0 +1,26 @@ +// +// Copyright © 2024 Stream.io Inc. All rights reserved. +// + +import Foundation + +public final class UserFeedbackReportResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable { + + public var daily: [DailyAggregateUserFeedbackReportResponse] + + public init(daily: [DailyAggregateUserFeedbackReportResponse]) { + self.daily = daily + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case daily + } + + public static func == (lhs: UserFeedbackReportResponse, rhs: UserFeedbackReportResponse) -> Bool { + lhs.daily == rhs.daily + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(daily) + } +} diff --git a/Sources/StreamVideo/OpenApi/generated/Models/UserSessionStats.swift b/Sources/StreamVideo/OpenApi/generated/Models/UserSessionStats.swift index fcb38d070..c21bc33a6 100644 --- a/Sources/StreamVideo/OpenApi/generated/Models/UserSessionStats.swift +++ b/Sources/StreamVideo/OpenApi/generated/Models/UserSessionStats.swift @@ -6,6 +6,7 @@ import Foundation public final class UserSessionStats: @unchecked Sendable, Codable, JSONEncodable, Hashable { + public var averageConnectionTime: Float? public var browser: String? public var browserVersion: String? public var currentIp: String? @@ -59,6 +60,7 @@ public final class UserSessionStats: @unchecked Sendable, Codable, JSONEncodable public var webrtcVersion: String? public init( + averageConnectionTime: Float? = nil, browser: String? = nil, browserVersion: String? = nil, currentIp: String? = nil, @@ -111,6 +113,7 @@ public final class UserSessionStats: @unchecked Sendable, Codable, JSONEncodable truncated: Bool? = nil, webrtcVersion: String? = nil ) { + self.averageConnectionTime = averageConnectionTime self.browser = browser self.browserVersion = browserVersion self.currentIp = currentIp @@ -165,6 +168,7 @@ public final class UserSessionStats: @unchecked Sendable, Codable, JSONEncodable } public enum CodingKeys: String, CodingKey, CaseIterable { + case averageConnectionTime = "average_connection_time" case browser case browserVersion = "browser_version" case currentIp = "current_ip" @@ -219,7 +223,8 @@ public final class UserSessionStats: @unchecked Sendable, Codable, JSONEncodable } public static func == (lhs: UserSessionStats, rhs: UserSessionStats) -> Bool { - lhs.browser == rhs.browser && + lhs.averageConnectionTime == rhs.averageConnectionTime && + lhs.browser == rhs.browser && lhs.browserVersion == rhs.browserVersion && lhs.currentIp == rhs.currentIp && lhs.currentSfu == rhs.currentSfu && @@ -273,6 +278,7 @@ public final class UserSessionStats: @unchecked Sendable, Codable, JSONEncodable } public func hash(into hasher: inout Hasher) { + hasher.combine(averageConnectionTime) hasher.combine(browser) hasher.combine(browserVersion) hasher.combine(currentIp) diff --git a/Sources/StreamVideo/OpenApi/generated/Models/VideoQuality.swift b/Sources/StreamVideo/OpenApi/generated/Models/VideoQuality.swift index f21815f9b..14db13234 100644 --- a/Sources/StreamVideo/OpenApi/generated/Models/VideoQuality.swift +++ b/Sources/StreamVideo/OpenApi/generated/Models/VideoQuality.swift @@ -6,10 +6,10 @@ import Foundation public final class VideoQuality: @unchecked Sendable, Codable, JSONEncodable, Hashable { - public var resolution: VideoDimension? + public var resolution: VideoResolution? public var usageType: String? - public init(resolution: VideoDimension? = nil, usageType: String? = nil) { + public init(resolution: VideoResolution? = nil, usageType: String? = nil) { self.resolution = resolution self.usageType = usageType } diff --git a/Sources/StreamVideo/OpenApi/generated/Models/VideoDimension.swift b/Sources/StreamVideo/OpenApi/generated/Models/VideoResolution.swift similarity index 76% rename from Sources/StreamVideo/OpenApi/generated/Models/VideoDimension.swift rename to Sources/StreamVideo/OpenApi/generated/Models/VideoResolution.swift index 14e23c25d..2f14414be 100644 --- a/Sources/StreamVideo/OpenApi/generated/Models/VideoDimension.swift +++ b/Sources/StreamVideo/OpenApi/generated/Models/VideoResolution.swift @@ -4,7 +4,7 @@ import Foundation -public final class VideoDimension: @unchecked Sendable, Codable, JSONEncodable, Hashable { +public final class VideoResolution: @unchecked Sendable, Codable, JSONEncodable, Hashable { public var height: Int public var width: Int @@ -19,7 +19,7 @@ public final class VideoDimension: @unchecked Sendable, Codable, JSONEncodable, case width } - public static func == (lhs: VideoDimension, rhs: VideoDimension) -> Bool { + public static func == (lhs: VideoResolution, rhs: VideoResolution) -> Bool { lhs.height == rhs.height && lhs.width == rhs.width } diff --git a/StreamVideo.xcodeproj/project.pbxproj b/StreamVideo.xcodeproj/project.pbxproj index 62afbdd97..a609ef557 100644 --- a/StreamVideo.xcodeproj/project.pbxproj +++ b/StreamVideo.xcodeproj/project.pbxproj @@ -625,11 +625,7 @@ 4159F1802C86FA41002B94D3 /* PushNotificationSettingsResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4159F14E2C86FA3F002B94D3 /* PushNotificationSettingsResponse.swift */; }; 4159F1822C86FA41002B94D3 /* UserEventPayload.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4159F1502C86FA3F002B94D3 /* UserEventPayload.swift */; }; 4159F1842C86FA41002B94D3 /* Count.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4159F1522C86FA3F002B94D3 /* Count.swift */; }; - 4159F1892C86FA41002B94D3 /* PushNotificationSettings.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4159F1572C86FA40002B94D3 /* PushNotificationSettings.swift */; }; - 4159F18A2C86FA41002B94D3 /* NullBool.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4159F1582C86FA40002B94D3 /* NullBool.swift */; }; - 4159F18E2C86FA41002B94D3 /* NullTime.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4159F15C2C86FA40002B94D3 /* NullTime.swift */; }; 4159F1902C86FA41002B94D3 /* PublisherAggregateStats.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4159F15E2C86FA40002B94D3 /* PublisherAggregateStats.swift */; }; - 4159F1932C86FA41002B94D3 /* UserMuteResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4159F1612C86FA41002B94D3 /* UserMuteResponse.swift */; }; 4159F1952C86FA41002B94D3 /* AggregatedStats.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4159F1632C86FA41002B94D3 /* AggregatedStats.swift */; }; 4159F1992C86FA41002B94D3 /* CountrywiseAggregateStats.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4159F1672C86FA41002B94D3 /* CountrywiseAggregateStats.swift */; }; 43217A0C2A44A28B002B5857 /* ConnectionErrorEvent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 43217A0B2A44A28B002B5857 /* ConnectionErrorEvent.swift */; }; @@ -1045,6 +1041,34 @@ 8493227E29093A420013C029 /* StreamVideo_Mock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8492B87929081E6600006649 /* StreamVideo_Mock.swift */; }; 8496A9A629CC500F00F15FF1 /* StreamVideoCaptureHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8496A9A529CC500F00F15FF1 /* StreamVideoCaptureHandler.swift */; }; 8498796828A15F0300D06F31 /* ViewFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8498796728A15F0300D06F31 /* ViewFactory.swift */; }; + 849A04DC2D198A0C004C33F2 /* StopTranscriptionRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04DB2D198A0C004C33F2 /* StopTranscriptionRequest.swift */; }; + 849A04DD2D198A0C004C33F2 /* StopClosedCaptionsRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04D92D198A0C004C33F2 /* StopClosedCaptionsRequest.swift */; }; + 849A04DE2D198A0C004C33F2 /* StopLiveRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04DA2D198A0C004C33F2 /* StopLiveRequest.swift */; }; + 849A04F82D198A92004C33F2 /* QueryAggregateCallStatsResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04F12D198A92004C33F2 /* QueryAggregateCallStatsResponse.swift */; }; + 849A04F92D198A92004C33F2 /* UserFeedbackReportResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04F72D198A92004C33F2 /* UserFeedbackReportResponse.swift */; }; + 849A04FA2D198A92004C33F2 /* Bound.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04DF2D198A92004C33F2 /* Bound.swift */; }; + 849A04FB2D198A92004C33F2 /* SDKUsageReportResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04F42D198A92004C33F2 /* SDKUsageReportResponse.swift */; }; + 849A04FC2D198A92004C33F2 /* CallParticipantCountReportResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04E32D198A92004C33F2 /* CallParticipantCountReportResponse.swift */; }; + 849A04FD2D198A92004C33F2 /* CallDurationReport.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04E02D198A92004C33F2 /* CallDurationReport.swift */; }; + 849A04FE2D198A92004C33F2 /* ReportByHistogramBucket.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04F22D198A92004C33F2 /* ReportByHistogramBucket.swift */; }; + 849A04FF2D198A92004C33F2 /* StartClosedCaptionsRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04F52D198A92004C33F2 /* StartClosedCaptionsRequest.swift */; }; + 849A05002D198A92004C33F2 /* CallsPerDayReport.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04E42D198A92004C33F2 /* CallsPerDayReport.swift */; }; + 849A05012D198A92004C33F2 /* CallParticipantCountReport.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04E22D198A92004C33F2 /* CallParticipantCountReport.swift */; }; + 849A05022D198A92004C33F2 /* DailyAggregateSDKUsageReportResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04EA2D198A92004C33F2 /* DailyAggregateSDKUsageReportResponse.swift */; }; + 849A05032D198A92004C33F2 /* SDKUsageReport.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04F32D198A92004C33F2 /* SDKUsageReport.swift */; }; + 849A05042D198A92004C33F2 /* CallsPerDayReportResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04E52D198A92004C33F2 /* CallsPerDayReportResponse.swift */; }; + 849A05052D198A92004C33F2 /* DailyAggregateCallsPerDayReportResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04E82D198A92004C33F2 /* DailyAggregateCallsPerDayReportResponse.swift */; }; + 849A05062D198A92004C33F2 /* QualityScoreReportResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04EF2D198A92004C33F2 /* QualityScoreReportResponse.swift */; }; + 849A05072D198A92004C33F2 /* DailyAggregateCallDurationReportResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04E62D198A92004C33F2 /* DailyAggregateCallDurationReportResponse.swift */; }; + 849A05082D198A92004C33F2 /* QueryAggregateCallStatsRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04F02D198A92004C33F2 /* QueryAggregateCallStatsRequest.swift */; }; + 849A05092D198A92004C33F2 /* UserFeedbackReport.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04F62D198A92004C33F2 /* UserFeedbackReport.swift */; }; + 849A050A2D198A92004C33F2 /* QualityScoreReport.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04EE2D198A92004C33F2 /* QualityScoreReport.swift */; }; + 849A050B2D198A92004C33F2 /* DailyAggregateQualityScoreReportResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04E92D198A92004C33F2 /* DailyAggregateQualityScoreReportResponse.swift */; }; + 849A050C2D198A92004C33F2 /* DailyAggregateUserFeedbackReportResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04EB2D198A92004C33F2 /* DailyAggregateUserFeedbackReportResponse.swift */; }; + 849A050D2D198A92004C33F2 /* CallDurationReportResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04E12D198A92004C33F2 /* CallDurationReportResponse.swift */; }; + 849A050E2D198A92004C33F2 /* NetworkMetricsReportResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04EC2D198A92004C33F2 /* NetworkMetricsReportResponse.swift */; }; + 849A050F2D198A92004C33F2 /* PerSDKUsageReport.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04ED2D198A92004C33F2 /* PerSDKUsageReport.swift */; }; + 849A05102D198A92004C33F2 /* DailyAggregateCallParticipantCountReportResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849A04E72D198A92004C33F2 /* DailyAggregateCallParticipantCountReportResponse.swift */; }; 849EDA8B297AFCC80072A12D /* PreJoiningView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849EDA8A297AFCC80072A12D /* PreJoiningView.swift */; }; 849EDA8D297AFD840072A12D /* Camera.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849EDA8C297AFD840072A12D /* Camera.swift */; }; 849EDA8F297AFE1C0072A12D /* PreJoiningViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849EDA8E297AFE1C0072A12D /* PreJoiningViewModel.swift */; }; @@ -2282,6 +2306,34 @@ 8493228129093B270013C029 /* StreamVideoUIKit.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = StreamVideoUIKit.xctestplan; sourceTree = ""; }; 8496A9A529CC500F00F15FF1 /* StreamVideoCaptureHandler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StreamVideoCaptureHandler.swift; sourceTree = ""; }; 8498796728A15F0300D06F31 /* ViewFactory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewFactory.swift; sourceTree = ""; }; + 849A04D92D198A0C004C33F2 /* StopClosedCaptionsRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StopClosedCaptionsRequest.swift; sourceTree = ""; }; + 849A04DA2D198A0C004C33F2 /* StopLiveRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StopLiveRequest.swift; sourceTree = ""; }; + 849A04DB2D198A0C004C33F2 /* StopTranscriptionRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StopTranscriptionRequest.swift; sourceTree = ""; }; + 849A04DF2D198A92004C33F2 /* Bound.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Bound.swift; sourceTree = ""; }; + 849A04E02D198A92004C33F2 /* CallDurationReport.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CallDurationReport.swift; sourceTree = ""; }; + 849A04E12D198A92004C33F2 /* CallDurationReportResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CallDurationReportResponse.swift; sourceTree = ""; }; + 849A04E22D198A92004C33F2 /* CallParticipantCountReport.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CallParticipantCountReport.swift; sourceTree = ""; }; + 849A04E32D198A92004C33F2 /* CallParticipantCountReportResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CallParticipantCountReportResponse.swift; sourceTree = ""; }; + 849A04E42D198A92004C33F2 /* CallsPerDayReport.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CallsPerDayReport.swift; sourceTree = ""; }; + 849A04E52D198A92004C33F2 /* CallsPerDayReportResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CallsPerDayReportResponse.swift; sourceTree = ""; }; + 849A04E62D198A92004C33F2 /* DailyAggregateCallDurationReportResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DailyAggregateCallDurationReportResponse.swift; sourceTree = ""; }; + 849A04E72D198A92004C33F2 /* DailyAggregateCallParticipantCountReportResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DailyAggregateCallParticipantCountReportResponse.swift; sourceTree = ""; }; + 849A04E82D198A92004C33F2 /* DailyAggregateCallsPerDayReportResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DailyAggregateCallsPerDayReportResponse.swift; sourceTree = ""; }; + 849A04E92D198A92004C33F2 /* DailyAggregateQualityScoreReportResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DailyAggregateQualityScoreReportResponse.swift; sourceTree = ""; }; + 849A04EA2D198A92004C33F2 /* DailyAggregateSDKUsageReportResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DailyAggregateSDKUsageReportResponse.swift; sourceTree = ""; }; + 849A04EB2D198A92004C33F2 /* DailyAggregateUserFeedbackReportResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DailyAggregateUserFeedbackReportResponse.swift; sourceTree = ""; }; + 849A04EC2D198A92004C33F2 /* NetworkMetricsReportResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NetworkMetricsReportResponse.swift; sourceTree = ""; }; + 849A04ED2D198A92004C33F2 /* PerSDKUsageReport.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PerSDKUsageReport.swift; sourceTree = ""; }; + 849A04EE2D198A92004C33F2 /* QualityScoreReport.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QualityScoreReport.swift; sourceTree = ""; }; + 849A04EF2D198A92004C33F2 /* QualityScoreReportResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QualityScoreReportResponse.swift; sourceTree = ""; }; + 849A04F02D198A92004C33F2 /* QueryAggregateCallStatsRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QueryAggregateCallStatsRequest.swift; sourceTree = ""; }; + 849A04F12D198A92004C33F2 /* QueryAggregateCallStatsResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QueryAggregateCallStatsResponse.swift; sourceTree = ""; }; + 849A04F22D198A92004C33F2 /* ReportByHistogramBucket.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ReportByHistogramBucket.swift; sourceTree = ""; }; + 849A04F32D198A92004C33F2 /* SDKUsageReport.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SDKUsageReport.swift; sourceTree = ""; }; + 849A04F42D198A92004C33F2 /* SDKUsageReportResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SDKUsageReportResponse.swift; sourceTree = ""; }; + 849A04F52D198A92004C33F2 /* StartClosedCaptionsRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StartClosedCaptionsRequest.swift; sourceTree = ""; }; + 849A04F62D198A92004C33F2 /* UserFeedbackReport.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserFeedbackReport.swift; sourceTree = ""; }; + 849A04F72D198A92004C33F2 /* UserFeedbackReportResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserFeedbackReportResponse.swift; sourceTree = ""; }; 849EDA8A297AFCC80072A12D /* PreJoiningView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PreJoiningView.swift; sourceTree = ""; }; 849EDA8C297AFD840072A12D /* Camera.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Camera.swift; sourceTree = ""; }; 849EDA8E297AFE1C0072A12D /* PreJoiningViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PreJoiningViewModel.swift; sourceTree = ""; }; @@ -5085,6 +5137,34 @@ 84DC383E29ADFCFC00946713 /* Models */ = { isa = PBXGroup; children = ( + 849A04DF2D198A92004C33F2 /* Bound.swift */, + 849A04E02D198A92004C33F2 /* CallDurationReport.swift */, + 849A04E12D198A92004C33F2 /* CallDurationReportResponse.swift */, + 849A04E22D198A92004C33F2 /* CallParticipantCountReport.swift */, + 849A04E32D198A92004C33F2 /* CallParticipantCountReportResponse.swift */, + 849A04E42D198A92004C33F2 /* CallsPerDayReport.swift */, + 849A04E52D198A92004C33F2 /* CallsPerDayReportResponse.swift */, + 849A04E62D198A92004C33F2 /* DailyAggregateCallDurationReportResponse.swift */, + 849A04E72D198A92004C33F2 /* DailyAggregateCallParticipantCountReportResponse.swift */, + 849A04E82D198A92004C33F2 /* DailyAggregateCallsPerDayReportResponse.swift */, + 849A04E92D198A92004C33F2 /* DailyAggregateQualityScoreReportResponse.swift */, + 849A04EA2D198A92004C33F2 /* DailyAggregateSDKUsageReportResponse.swift */, + 849A04EB2D198A92004C33F2 /* DailyAggregateUserFeedbackReportResponse.swift */, + 849A04EC2D198A92004C33F2 /* NetworkMetricsReportResponse.swift */, + 849A04ED2D198A92004C33F2 /* PerSDKUsageReport.swift */, + 849A04EE2D198A92004C33F2 /* QualityScoreReport.swift */, + 849A04EF2D198A92004C33F2 /* QualityScoreReportResponse.swift */, + 849A04F02D198A92004C33F2 /* QueryAggregateCallStatsRequest.swift */, + 849A04F12D198A92004C33F2 /* QueryAggregateCallStatsResponse.swift */, + 849A04F22D198A92004C33F2 /* ReportByHistogramBucket.swift */, + 849A04F32D198A92004C33F2 /* SDKUsageReport.swift */, + 849A04F42D198A92004C33F2 /* SDKUsageReportResponse.swift */, + 849A04F52D198A92004C33F2 /* StartClosedCaptionsRequest.swift */, + 849A04F62D198A92004C33F2 /* UserFeedbackReport.swift */, + 849A04F72D198A92004C33F2 /* UserFeedbackReportResponse.swift */, + 849A04D92D198A0C004C33F2 /* StopClosedCaptionsRequest.swift */, + 849A04DA2D198A0C004C33F2 /* StopLiveRequest.swift */, + 849A04DB2D198A0C004C33F2 /* StopTranscriptionRequest.swift */, 84FCE4482CE208C400649F86 /* CallClosedCaptionsFailedEvent.swift */, 84FCE4492CE208C400649F86 /* CallClosedCaptionsStartedEvent.swift */, 84FCE44A2CE208C400649F86 /* CallClosedCaptionsStoppedEvent.swift */, @@ -6392,7 +6472,6 @@ 842E70D02B91BE1700D2D68B /* ClosedCaptionEvent.swift in Sources */, 842D3B5829F667660051698A /* CreateDeviceRequest.swift in Sources */, 84BBF62B28AFC24000387A02 /* PeerConnectionFactory.swift in Sources */, - 4159F1932C86FA41002B94D3 /* UserMuteResponse.swift in Sources */, 841BAA3E2BD15CDE000C73E4 /* CollectUserFeedbackResponse.swift in Sources */, 402F04A92B70ED8600CA1986 /* StreamCallStatisticsReporter.swift in Sources */, 8490DD1F298D39D9007E53D2 /* JsonEventDecoder.swift in Sources */, @@ -6403,7 +6482,6 @@ 84D91E9C2C7CB0AA00B163A0 /* CallSessionParticipantCountsUpdatedEvent.swift in Sources */, 846E4AF529CDEA66003733AB /* ConnectUserDetailsRequest.swift in Sources */, 846D16262A52CE8C0036CE4C /* SpeakerManager.swift in Sources */, - 4159F18E2C86FA41002B94D3 /* NullTime.swift in Sources */, 841BAA3A2BD15CDE000C73E4 /* Location.swift in Sources */, 40AF6A392C93465100BA2935 /* WebSocketClientProviding.swift in Sources */, 842B8E302A2DFED900863A87 /* EgressResponse.swift in Sources */, @@ -6555,7 +6633,6 @@ 841BAA472BD15CDE000C73E4 /* CallTranscriptionReadyEvent.swift in Sources */, 4012B1922BFCA518006B0031 /* StreamCallStateMachine+AcceptingStage.swift in Sources */, 841BAA352BD15CDE000C73E4 /* CallTranscriptionStartedEvent.swift in Sources */, - 4159F18A2C86FA41002B94D3 /* NullBool.swift in Sources */, 84DC38A729ADFCFD00946713 /* GoLiveResponse.swift in Sources */, 4067F30D2CDA3377002E28BD /* AVAudioSession_RouteChangeReason+Convenience.swift in Sources */, 84DC38C329ADFCFD00946713 /* GeofenceSettings.swift in Sources */, @@ -6617,6 +6694,9 @@ 84C267C928F5980F00F0F673 /* ConnectOptions.swift in Sources */, 406B3BEF2C8F38CE00FC93A1 /* RTCPeerConnectionEvent.swift in Sources */, 842E70D22B91BE1700D2D68B /* StartTranscriptionRequest.swift in Sources */, + 849A04DC2D198A0C004C33F2 /* StopTranscriptionRequest.swift in Sources */, + 849A04DD2D198A0C004C33F2 /* StopClosedCaptionsRequest.swift in Sources */, + 849A04DE2D198A0C004C33F2 /* StopLiveRequest.swift in Sources */, 84DC389E29ADFCFD00946713 /* CallCreatedEvent.swift in Sources */, 842B8E202A2DFED900863A87 /* CallSessionParticipantLeftEvent.swift in Sources */, 40149DCC2B7E814300473176 /* AVAudioRecorderBuilder.swift in Sources */, @@ -6677,6 +6757,31 @@ 845C09852C0DEB5C00F725B3 /* LimitsSettingsResponse.swift in Sources */, 4159F1952C86FA41002B94D3 /* AggregatedStats.swift in Sources */, 84A7E1942883652000526C98 /* EventMiddleware.swift in Sources */, + 849A04F82D198A92004C33F2 /* QueryAggregateCallStatsResponse.swift in Sources */, + 849A04F92D198A92004C33F2 /* UserFeedbackReportResponse.swift in Sources */, + 849A04FA2D198A92004C33F2 /* Bound.swift in Sources */, + 849A04FB2D198A92004C33F2 /* SDKUsageReportResponse.swift in Sources */, + 849A04FC2D198A92004C33F2 /* CallParticipantCountReportResponse.swift in Sources */, + 849A04FD2D198A92004C33F2 /* CallDurationReport.swift in Sources */, + 849A04FE2D198A92004C33F2 /* ReportByHistogramBucket.swift in Sources */, + 849A04FF2D198A92004C33F2 /* StartClosedCaptionsRequest.swift in Sources */, + 849A05002D198A92004C33F2 /* CallsPerDayReport.swift in Sources */, + 849A05012D198A92004C33F2 /* CallParticipantCountReport.swift in Sources */, + 849A05022D198A92004C33F2 /* DailyAggregateSDKUsageReportResponse.swift in Sources */, + 849A05032D198A92004C33F2 /* SDKUsageReport.swift in Sources */, + 849A05042D198A92004C33F2 /* CallsPerDayReportResponse.swift in Sources */, + 849A05052D198A92004C33F2 /* DailyAggregateCallsPerDayReportResponse.swift in Sources */, + 849A05062D198A92004C33F2 /* QualityScoreReportResponse.swift in Sources */, + 849A05072D198A92004C33F2 /* DailyAggregateCallDurationReportResponse.swift in Sources */, + 849A05082D198A92004C33F2 /* QueryAggregateCallStatsRequest.swift in Sources */, + 849A05092D198A92004C33F2 /* UserFeedbackReport.swift in Sources */, + 849A050A2D198A92004C33F2 /* QualityScoreReport.swift in Sources */, + 849A050B2D198A92004C33F2 /* DailyAggregateQualityScoreReportResponse.swift in Sources */, + 849A050C2D198A92004C33F2 /* DailyAggregateUserFeedbackReportResponse.swift in Sources */, + 849A050D2D198A92004C33F2 /* CallDurationReportResponse.swift in Sources */, + 849A050E2D198A92004C33F2 /* NetworkMetricsReportResponse.swift in Sources */, + 849A050F2D198A92004C33F2 /* PerSDKUsageReport.swift in Sources */, + 849A05102D198A92004C33F2 /* DailyAggregateCallParticipantCountReportResponse.swift in Sources */, 8408A6222A949DB700DB1DFA /* VideoCapturingUtils.swift in Sources */, 40429D5F2C779B3D00AC7FFF /* ScreenShareSession.swift in Sources */, 84DC38D929ADFCFD00946713 /* OpenISO8601DateFormatter.swift in Sources */, @@ -6731,7 +6836,6 @@ 84E4F7D1294CB5F300DD4CE3 /* ConnectionQuality.swift in Sources */, 848CCCE72AB8ED8F002E83A2 /* ThumbnailsSettingsRequest.swift in Sources */, 8206D8532A5FF3260099F5EC /* SystemEnvironment+Version.swift in Sources */, - 4159F1892C86FA41002B94D3 /* PushNotificationSettings.swift in Sources */, 84CD12202C73831000056640 /* CallMissedEvent.swift in Sources */, 842B8E1C2A2DFED900863A87 /* AcceptCallResponse.swift in Sources */, 40FE5EB32C9C73E0006B0881 /* StreamDeviceOrientationAdapter.swift in Sources */,