-
Notifications
You must be signed in to change notification settings - Fork 1
Generated code from latest spec #46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
+616
−842
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Generated by 🚫 Danger |
Public Interface+ public final class BlockActionRequest: @unchecked Sendable, Codable, JSONEncodable, Hashable
+
+ public var reason: String?
+
+
+ public init(reason: String? = nil)
+
+
+ public static func ==(lhs: BlockActionRequest,rhs: BlockActionRequest)-> Bool
+ public func hash(into hasher: inout Hasher)
+
+
+ public enum CodingKeys: String, CodingKey, CaseIterable
+
+ case reason
+ public final class ActivityFeedbackEvent: @unchecked Sendable, Event, Codable, JSONEncodable, Hashable
+
+ public var activityFeedback: ActivityFeedbackEventPayload
+ public var createdAt: Date
+ public var custom: [String: RawJSON]
+ public var receivedAt: Date?
+ public var type: String
+ public var user: UserResponseCommonFields?
+
+
+ public init(activityFeedback: ActivityFeedbackEventPayload,createdAt: Date,custom: [String: RawJSON],receivedAt: Date? = nil,user: UserResponseCommonFields? = nil)
+
+
+ public static func ==(lhs: ActivityFeedbackEvent,rhs: ActivityFeedbackEvent)-> Bool
+ public func hash(into hasher: inout Hasher)
+
+
+ public enum CodingKeys: String, CodingKey, CaseIterable
+
+ case activityFeedback = "activity_feedback"
+ case createdAt = "created_at"
+ case custom
+ case receivedAt = "received_at"
+ case type
+ case user
+ public final class SpeechSegmentConfig: @unchecked Sendable, Codable, JSONEncodable, Hashable
+
+ public var maxSpeechCaptionMs: Int?
+ public var silenceDurationMs: Int?
+
+
+ public init(maxSpeechCaptionMs: Int? = nil,silenceDurationMs: Int? = nil)
+
+
+ public static func ==(lhs: SpeechSegmentConfig,rhs: SpeechSegmentConfig)-> Bool
+ public func hash(into hasher: inout Hasher)
+
+
+ public enum CodingKeys: String, CodingKey, CaseIterable
+
+ case maxSpeechCaptionMs = "max_speech_caption_ms"
+ case silenceDurationMs = "silence_duration_ms"
+ public final class OwnCapabilitiesBatchResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable
+
+ public var capabilities: [String: [FeedOwnCapability]]
+ public var duration: String
+
+
+ public init(capabilities: [String: [FeedOwnCapability]],duration: String)
+
+
+ public static func ==(lhs: OwnCapabilitiesBatchResponse,rhs: OwnCapabilitiesBatchResponse)-> Bool
+ public func hash(into hasher: inout Hasher)
+
+
+ public enum CodingKeys: String, CodingKey, CaseIterable
+
+ case capabilities
+ case duration
+ public final class ActivityFeedbackEventPayload: @unchecked Sendable, Codable, JSONEncodable, Hashable
+
+ public var action: ActivityFeedbackEventPayloadAction
+ public var activityId: String
+ public var createdAt: Date
+ public var updatedAt: Date
+ public var user: UserResponse
+ public var value: String
+
+
+ public init(action: ActivityFeedbackEventPayloadAction,activityId: String,createdAt: Date,updatedAt: Date,user: UserResponse,value: String)
+
+
+ public static func ==(lhs: ActivityFeedbackEventPayload,rhs: ActivityFeedbackEventPayload)-> Bool
+ public func hash(into hasher: inout Hasher)
+
+
+ public enum ActivityFeedbackEventPayloadAction: String, Sendable, Codable, CaseIterable
+
+ case hide = "hide"
+ case showLess = "show_less"
+ case showMore = "show_more"
+ case unknown = "_unknown"
+
+
+ public init(from decoder: Decoder)throws
+
+
+ public enum CodingKeys: String, CodingKey, CaseIterable
+
+ case action
+ case activityId = "activity_id"
+ case createdAt = "created_at"
+ case updatedAt = "updated_at"
+ case user
+ case value
+ public final class StoriesFeedUpdatedEvent: @unchecked Sendable, Event, Codable, JSONEncodable, Hashable
+
+ public var activities: [ActivityResponse]?
+ public var aggregatedActivities: [AggregatedActivityResponse]?
+ public var createdAt: Date
+ public var custom: [String: RawJSON]
+ public var feedVisibility: String?
+ public var fid: String
+ public var receivedAt: Date?
+ public var type: String
+ public var user: UserResponseCommonFields?
+
+
+ public init(activities: [ActivityResponse]? = nil,aggregatedActivities: [AggregatedActivityResponse]? = nil,createdAt: Date,custom: [String: RawJSON],feedVisibility: String? = nil,fid: String,receivedAt: Date? = nil,user: UserResponseCommonFields? = nil)
+
+
+ public static func ==(lhs: StoriesFeedUpdatedEvent,rhs: StoriesFeedUpdatedEvent)-> Bool
+ public func hash(into hasher: inout Hasher)
+
+
+ public enum CodingKeys: String, CodingKey, CaseIterable
+
+ case activities
+ case aggregatedActivities = "aggregated_activities"
+ case createdAt = "created_at"
+ case custom
+ case feedVisibility = "feed_visibility"
+ case fid
+ case receivedAt = "received_at"
+ case type
+ case user
+ public final class FeedSuggestionResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable
+
+ public var algorithmScores: [String: Float]?
+ public var createdAt: Date
+ public var createdBy: UserResponse
+ public var custom: [String: RawJSON]?
+ public var deletedAt: Date?
+ public var description: String
+ public var feed: String
+ public var filterTags: [String]?
+ public var followerCount: Int
+ public var followingCount: Int
+ public var groupId: String
+ public var id: String
+ public var memberCount: Int
+ public var name: String
+ public var ownCapabilities: [FeedOwnCapability]?
+ public var ownFollows: [FollowResponse]?
+ public var ownMembership: FeedMemberResponse?
+ public var pinCount: Int
+ public var reason: String?
+ public var recommendationScore: Float?
+ public var updatedAt: Date
+ public var visibility: String?
+
+
+ public init(algorithmScores: [String: Float]? = nil,createdAt: Date,createdBy: UserResponse,custom: [String: RawJSON]? = nil,deletedAt: Date? = nil,description: String,feed: String,filterTags: [String]? = nil,followerCount: Int,followingCount: Int,groupId: String,id: String,memberCount: Int,name: String,ownCapabilities: [FeedOwnCapability]? = nil,ownFollows: [FollowResponse]? = nil,ownMembership: FeedMemberResponse? = nil,pinCount: Int,reason: String? = nil,recommendationScore: Float? = nil,updatedAt: Date,visibility: String? = nil)
+
+
+ public static func ==(lhs: FeedSuggestionResponse,rhs: FeedSuggestionResponse)-> Bool
+ public func hash(into hasher: inout Hasher)
+
+
+ public enum CodingKeys: String, CodingKey, CaseIterable
+
+ case algorithmScores = "algorithm_scores"
+ case createdAt = "created_at"
+ case createdBy = "created_by"
+ case custom
+ case deletedAt = "deleted_at"
+ case description
+ case feed
+ case filterTags = "filter_tags"
+ case followerCount = "follower_count"
+ case followingCount = "following_count"
+ case groupId = "group_id"
+ case id
+ case memberCount = "member_count"
+ case name
+ case ownCapabilities = "own_capabilities"
+ case ownFollows = "own_follows"
+ case ownMembership = "own_membership"
+ case pinCount = "pin_count"
+ case reason
+ case recommendationScore = "recommendation_score"
+ case updatedAt = "updated_at"
+ case visibility
+ public final class OwnCapabilitiesBatchRequest: @unchecked Sendable, Codable, JSONEncodable, Hashable
+
+ public var feeds: [String]
+
+
+ public init(feeds: [String])
+
+
+ public static func ==(lhs: OwnCapabilitiesBatchRequest,rhs: OwnCapabilitiesBatchRequest)-> Bool
+ public func hash(into hasher: inout Hasher)
+
+
+ public enum CodingKeys: String, CodingKey, CaseIterable
+
+ case feeds
+ public final class ShadowBlockActionRequest: @unchecked Sendable, Codable, JSONEncodable, Hashable
+
+ public var reason: String?
+
+
+ public init(reason: String? = nil)
+
+
+ public static func ==(lhs: ShadowBlockActionRequest,rhs: ShadowBlockActionRequest)-> Bool
+ public func hash(into hasher: inout Hasher)
+
+
+ public enum CodingKeys: String, CodingKey, CaseIterable
+
+ case reason
- public final class EntityCreator: @unchecked Sendable, Codable, JSONEncodable, Hashable
-
- public var avgResponseTime: Int?
- public var banCount: Int
- public var banExpires: Date?
- public var banned: Bool
- public var createdAt: Date?
- public var custom: [String: RawJSON]
- public var deactivatedAt: Date?
- public var deletedAt: Date?
- public var deletedContentCount: Int
- public var id: String
- public var invisible: Bool?
- public var language: String?
- public var lastActive: Date?
- public var lastEngagedAt: Date?
- public var online: Bool
- public var privacySettings: PrivacySettings?
- public var revokeTokensIssuedBefore: Date?
- public var role: String
- public var teams: [String]?
- public var teamsRole: [String: String]
- public var updatedAt: Date?
-
-
- public init(avgResponseTime: Int? = nil,banCount: Int,banExpires: Date? = nil,banned: Bool,createdAt: Date? = nil,custom: [String: RawJSON],deactivatedAt: Date? = nil,deletedAt: Date? = nil,deletedContentCount: Int,id: String,invisible: Bool? = nil,language: String? = nil,lastActive: Date? = nil,lastEngagedAt: Date? = nil,online: Bool,privacySettings: PrivacySettings? = nil,revokeTokensIssuedBefore: Date? = nil,role: String,teams: [String]? = nil,teamsRole: [String: String],updatedAt: Date? = nil)
-
-
- public static func ==(lhs: EntityCreator,rhs: EntityCreator)-> Bool
- public func hash(into hasher: inout Hasher)
-
-
- public enum CodingKeys: String, CodingKey, CaseIterable
-
- case avgResponseTime = "avg_response_time"
- case banCount = "ban_count"
- case banExpires = "ban_expires"
- case banned
- case createdAt = "created_at"
- case custom
- case deactivatedAt = "deactivated_at"
- case deletedAt = "deleted_at"
- case deletedContentCount = "deleted_content_count"
- case id
- case invisible
- case language
- case lastActive = "last_active"
- case lastEngagedAt = "last_engaged_at"
- case online
- case privacySettings = "privacy_settings"
- case revokeTokensIssuedBefore = "revoke_tokens_issued_before"
- case role
- case teams
- case teamsRole = "teams_role"
- case updatedAt = "updated_at"
- public final class APNS: @unchecked Sendable, Codable, JSONEncodable, Hashable
-
- public var body: String
- public var contentAvailable: Int?
- public var data: [String: RawJSON]?
- public var mutableContent: Int?
- public var sound: String?
- public var title: String
-
-
- public init(body: String,contentAvailable: Int? = nil,data: [String: RawJSON]? = nil,mutableContent: Int? = nil,sound: String? = nil,title: String)
-
-
- public static func ==(lhs: APNS,rhs: APNS)-> Bool
- public func hash(into hasher: inout Hasher)
-
-
- public enum CodingKeys: String, CodingKey, CaseIterable
-
- case body
- case contentAvailable = "content-available"
- case data
- case mutableContent = "mutable-content"
- case sound
- case title
- public final class EventNotificationSettings: @unchecked Sendable, Codable, JSONEncodable, Hashable
-
- public var apns: APNS
- public var enabled: Bool
- public var fcm: FCM
-
-
- public init(apns: APNS,enabled: Bool,fcm: FCM)
-
-
- public static func ==(lhs: EventNotificationSettings,rhs: EventNotificationSettings)-> Bool
- public func hash(into hasher: inout Hasher)
-
-
- public enum CodingKeys: String, CodingKey, CaseIterable
-
- case apns
- case enabled
- case fcm
- public final class ExternalStorage: @unchecked Sendable, Codable, JSONEncodable, Hashable
-
- public var absAccountName: String?
- public var absClientId: String?
- public var absClientSecret: String?
- public var absTenantId: String?
- public var bucket: String?
- public var gcsCredentials: String?
- public var path: String?
- public var s3ApiKey: String?
- public var s3CustomEndpoint: String?
- public var s3Region: String?
- public var s3SecretKey: String?
- public var storageName: String?
- public var storageType: Int?
-
-
- public init(absAccountName: String? = nil,absClientId: String? = nil,absClientSecret: String? = nil,absTenantId: String? = nil,bucket: String? = nil,gcsCredentials: String? = nil,path: String? = nil,s3ApiKey: String? = nil,s3CustomEndpoint: String? = nil,s3Region: String? = nil,s3SecretKey: String? = nil,storageName: String? = nil,storageType: Int? = nil)
-
-
- public static func ==(lhs: ExternalStorage,rhs: ExternalStorage)-> Bool
- public func hash(into hasher: inout Hasher)
-
-
- public enum CodingKeys: String, CodingKey, CaseIterable
-
- case absAccountName = "abs_account_name"
- case absClientId = "abs_client_id"
- case absClientSecret = "abs_client_secret"
- case absTenantId = "abs_tenant_id"
- case bucket
- case gcsCredentials = "gcs_credentials"
- case path
- case s3ApiKey = "s3_api_key"
- case s3CustomEndpoint = "s3_custom_endpoint"
- case s3Region = "s3_region"
- case s3SecretKey = "s3_secret_key"
- case storageName = "storage_name"
- case storageType = "storage_type"
- public final class FCM: @unchecked Sendable, Codable, JSONEncodable, Hashable
-
- public var data: [String: RawJSON]?
-
-
- public init(data: [String: RawJSON]? = nil)
-
-
- public static func ==(lhs: FCM,rhs: FCM)-> Bool
- public func hash(into hasher: inout Hasher)
-
-
- public enum CodingKeys: String, CodingKey, CaseIterable
-
- case data
- public final class ReviewQueueItem: @unchecked Sendable, Codable, JSONEncodable, Hashable
-
- public var actions: [ActionLog]
- public var activity: EnrichedActivity?
- public var aiTextSeverity: String
- public var assignedTo: User?
- public var bans: [Ban]
- public var bounceCount: Int
- public var configKey: String
- public var contentChanged: Bool
- public var createdAt: Date
- public var entityCreator: EntityCreator?
- public var entityId: String
- public var entityType: String
- public var feedsV2Activity: EnrichedActivity?
- public var flagLabels: [String]
- public var flagTypes: [String]
- public var flags: [Flag]
- public var flagsCount: Int
- public var hasImage: Bool
- public var hasText: Bool
- public var hasVideo: Bool
- public var id: String
- public var languages: [String]
- public var moderationPayload: ModerationPayload?
- public var moderationPayloadHash: String
- public var recommendedAction: String
- public var reporterIds: [String]
- public var reviewedBy: String
- public var severity: Int
- public var status: String
- public var teams: [String]
- public var updatedAt: Date
-
-
- public init(actions: [ActionLog],activity: EnrichedActivity? = nil,aiTextSeverity: String,assignedTo: User? = nil,bans: [Ban],bounceCount: Int,configKey: String,contentChanged: Bool,createdAt: Date,entityCreator: EntityCreator? = nil,entityId: String,entityType: String,feedsV2Activity: EnrichedActivity? = nil,flagLabels: [String],flagTypes: [String],flags: [Flag],flagsCount: Int,hasImage: Bool,hasText: Bool,hasVideo: Bool,id: String,languages: [String],moderationPayload: ModerationPayload? = nil,moderationPayloadHash: String,recommendedAction: String,reporterIds: [String],reviewedBy: String,severity: Int,status: String,teams: [String],updatedAt: Date)
-
-
- public static func ==(lhs: ReviewQueueItem,rhs: ReviewQueueItem)-> Bool
- public func hash(into hasher: inout Hasher)
-
-
- public enum CodingKeys: String, CodingKey, CaseIterable
-
- case actions
- case activity
- case aiTextSeverity = "ai_text_severity"
- case assignedTo = "assigned_to"
- case bans
- case bounceCount = "bounce_count"
- case configKey = "config_key"
- case contentChanged = "content_changed"
- case createdAt = "created_at"
- case entityCreator = "entity_creator"
- case entityId = "entity_id"
- case entityType = "entity_type"
- case feedsV2Activity = "feeds_v2_activity"
- case flagLabels = "flag_labels"
- case flagTypes = "flag_types"
- case flags
- case flagsCount = "flags_count"
- case hasImage = "has_image"
- case hasText = "has_text"
- case hasVideo = "has_video"
- case id
- case languages
- case moderationPayload = "moderation_payload"
- case moderationPayloadHash = "moderation_payload_hash"
- case recommendedAction = "recommended_action"
- case reporterIds = "reporter_ids"
- case reviewedBy = "reviewed_by"
- case severity
- case status
- case teams
- case updatedAt = "updated_at"
- public final class MemberLookup: @unchecked Sendable, Codable, JSONEncodable, Hashable
-
- public var limit: Int
-
-
- public init(limit: Int)
-
-
- public static func ==(lhs: MemberLookup,rhs: MemberLookup)-> Bool
- public func hash(into hasher: inout Hasher)
-
-
- public enum CodingKeys: String, CodingKey, CaseIterable
-
- case limit = "Limit"
- public final class ActionLog: @unchecked Sendable, Codable, JSONEncodable, Hashable
-
- public var createdAt: Date
- public var custom: [String: RawJSON]
- public var id: String
- public var reason: String
- public var reporterType: String
- public var reviewQueueItem: ReviewQueueItem?
- public var reviewQueueItemId: String
- public var targetUser: User?
- public var targetUserId: String
- public var type: String
- public var user: User?
-
-
- public init(createdAt: Date,custom: [String: RawJSON],id: String,reason: String,reporterType: String,reviewQueueItem: ReviewQueueItem? = nil,reviewQueueItemId: String,targetUser: User? = nil,targetUserId: String,type: String,user: User? = nil)
-
-
- public static func ==(lhs: ActionLog,rhs: ActionLog)-> Bool
- public func hash(into hasher: inout Hasher)
-
-
- public enum CodingKeys: String, CodingKey, CaseIterable
-
- case createdAt = "created_at"
- case custom
- case id
- case reason
- case reporterType = "reporter_type"
- case reviewQueueItem = "review_queue_item"
- case reviewQueueItemId = "review_queue_item_id"
- case targetUser = "target_user"
- case targetUserId = "target_user_id"
- case type
- case user
- public final class Flag: @unchecked Sendable, Codable, JSONEncodable, Hashable
-
- public var createdAt: Date
- public var custom: [String: RawJSON]?
- public var entityCreatorId: String?
- public var entityId: String
- public var entityType: String
- public var isStreamedContent: Bool?
- public var labels: [String]?
- public var moderationPayload: ModerationPayload?
- public var moderationPayloadHash: String?
- public var reason: String?
- public var result: [[String: RawJSON]]
- public var reviewQueueItem: ReviewQueueItem?
- public var reviewQueueItemId: String?
- public var type: String?
- public var updatedAt: Date
- public var user: User?
-
-
- public init(createdAt: Date,custom: [String: RawJSON]? = nil,entityCreatorId: String? = nil,entityId: String,entityType: String,isStreamedContent: Bool? = nil,labels: [String]? = nil,moderationPayload: ModerationPayload? = nil,moderationPayloadHash: String? = nil,reason: String? = nil,result: [[String: RawJSON]],reviewQueueItem: ReviewQueueItem? = nil,reviewQueueItemId: String? = nil,updatedAt: Date,user: User? = nil)
-
-
- public static func ==(lhs: Flag,rhs: Flag)-> Bool
- public func hash(into hasher: inout Hasher)
-
-
- public enum CodingKeys: String, CodingKey, CaseIterable
-
- case createdAt = "created_at"
- case custom
- case entityCreatorId = "entity_creator_id"
- case entityId = "entity_id"
- case entityType = "entity_type"
- case isStreamedContent = "is_streamed_content"
- case labels
- case moderationPayload = "moderation_payload"
- case moderationPayloadHash = "moderation_payload_hash"
- case reason
- case result
- case reviewQueueItem = "review_queue_item"
- case reviewQueueItemId = "review_queue_item_id"
- case type
- case updatedAt = "updated_at"
- case user
open class DefaultAPI: DefaultAPIEndpoints, @unchecked Sendable
- open func addReaction(activityId: String,addReactionRequest: AddReactionRequest)async throws -> AddReactionResponse
+ open func addActivityReaction(activityId: String,addReactionRequest: AddReactionRequest)async throws -> AddReactionResponse
+ open func ownCapabilitiesBatch(ownCapabilitiesBatchRequest: OwnCapabilitiesBatchRequest)async throws -> OwnCapabilitiesBatchResponse
public final class AppResponseFields: @unchecked Sendable, Codable, JSONEncodable, Hashable
- public var imageUploadConfig: FileUploadConfig
+ public var id: Int
- public var name: String
+ public var imageUploadConfig: FileUploadConfig
-
+ public var name: String
-
+ public var placement: String
- public init(asyncUrlEnrichEnabled: Bool,autoTranslationEnabled: Bool,fileUploadConfig: FileUploadConfig,imageUploadConfig: FileUploadConfig,name: String)
+
-
+
-
+ public init(asyncUrlEnrichEnabled: Bool,autoTranslationEnabled: Bool,fileUploadConfig: FileUploadConfig,id: Int,imageUploadConfig: FileUploadConfig,name: String,placement: String)
- public static func ==(lhs: AppResponseFields,rhs: AppResponseFields)-> Bool
+
- public func hash(into hasher: inout Hasher)
+
-
+ public static func ==(lhs: AppResponseFields,rhs: AppResponseFields)-> Bool
-
+ public func hash(into hasher: inout Hasher)
- public enum CodingKeys: String, CodingKey, CaseIterable
+
-
+
- case asyncUrlEnrichEnabled = "async_url_enrich_enabled"
+ public enum CodingKeys: String, CodingKey, CaseIterable
- case autoTranslationEnabled = "auto_translation_enabled"
+
- case fileUploadConfig = "file_upload_config"
+ case asyncUrlEnrichEnabled = "async_url_enrich_enabled"
- case imageUploadConfig = "image_upload_config"
+ case autoTranslationEnabled = "auto_translation_enabled"
- case name
+ case fileUploadConfig = "file_upload_config"
+ case id
+ case imageUploadConfig = "image_upload_config"
+ case name
+ case placement
public final class AggregatedActivityResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable
- public var score: Float
+ public var isWatched: Bool?
- public var updatedAt: Date
+ public var score: Float
- public var userCount: Int
+ public var updatedAt: Date
- public var userCountTruncated: Bool
+ public var userCount: Int
-
+ public var userCountTruncated: Bool
-
+
- public init(activities: [ActivityResponse],activityCount: Int,createdAt: Date,group: String,score: Float,updatedAt: Date,userCount: Int,userCountTruncated: Bool)
+
-
+ public init(activities: [ActivityResponse],activityCount: Int,createdAt: Date,group: String,isWatched: Bool? = nil,score: Float,updatedAt: Date,userCount: Int,userCountTruncated: Bool)
-
+
- public static func ==(lhs: AggregatedActivityResponse,rhs: AggregatedActivityResponse)-> Bool
+
- public func hash(into hasher: inout Hasher)
+ public static func ==(lhs: AggregatedActivityResponse,rhs: AggregatedActivityResponse)-> Bool
-
+ public func hash(into hasher: inout Hasher)
-
+
- public enum CodingKeys: String, CodingKey, CaseIterable
+
-
+ public enum CodingKeys: String, CodingKey, CaseIterable
- case activities
+
- case activityCount = "activity_count"
+ case activities
- case createdAt = "created_at"
+ case activityCount = "activity_count"
- case group
+ case createdAt = "created_at"
- case score
+ case group
- case updatedAt = "updated_at"
+ case isWatched = "is_watched"
- case userCount = "user_count"
+ case score
- case userCountTruncated = "user_count_truncated"
+ case updatedAt = "updated_at"
+ case userCount = "user_count"
+ case userCountTruncated = "user_count_truncated"
public final class ActivityFeedbackRequest: @unchecked Sendable, Codable, JSONEncodable, Hashable
- public var muteUser: Bool?
+ public var showLess: Bool?
- public var reason: String?
+ public var showMore: Bool?
- public var report: Bool?
+
- public var showLess: Bool?
+
-
+ public init(hide: Bool? = nil,showLess: Bool? = nil,showMore: Bool? = nil)
-
+
- public init(hide: Bool? = nil,muteUser: Bool? = nil,reason: String? = nil,report: Bool? = nil,showLess: Bool? = nil)
+
-
+ public static func ==(lhs: ActivityFeedbackRequest,rhs: ActivityFeedbackRequest)-> Bool
-
+ public func hash(into hasher: inout Hasher)
- public static func ==(lhs: ActivityFeedbackRequest,rhs: ActivityFeedbackRequest)-> Bool
+
- public func hash(into hasher: inout Hasher)
+
-
+ public enum CodingKeys: String, CodingKey, CaseIterable
-
+
- public enum CodingKeys: String, CodingKey, CaseIterable
+ case hide
-
+ case showLess = "show_less"
- case hide
+ case showMore = "show_more"
- case muteUser = "mute_user"
- case reason
- case report
- case showLess = "show_less"
public final class ModerationMarkReviewedEvent: @unchecked Sendable, Event, Codable, JSONEncodable, Hashable
- public var item: ReviewQueueItem?
+ public var item: ReviewQueueItemResponse?
- public init(createdAt: Date,item: ReviewQueueItem? = nil,user: User? = nil)
+ public init(createdAt: Date,item: ReviewQueueItemResponse? = nil,user: User? = nil)
public enum FeedOwnCapability: String, Sendable, Codable, CaseIterable
- case follow
+ case follow = "follow"
- case unfollow
+ case unfollow = "unfollow"
public final class ActivitySelectorConfig: @unchecked Sendable, Codable, JSONEncodable, Hashable
- public var filter: [String: RawJSON]?
+ public var cutoffWindow: String?
- public var minPopularity: Int?
+ public var filter: [String: RawJSON]?
- public var sort: [SortParam]?
+ public var minPopularity: Int?
- public var type: String?
+ public var sort: [SortParam]?
-
+ public var type: String?
-
+
- public init(cutoffTime: Date,filter: [String: RawJSON]? = nil,minPopularity: Int? = nil,sort: [SortParam]? = nil)
+
-
+ public init(cutoffTime: Date,cutoffWindow: String? = nil,filter: [String: RawJSON]? = nil,minPopularity: Int? = nil,sort: [SortParam]? = nil)
-
+
- public static func ==(lhs: ActivitySelectorConfig,rhs: ActivitySelectorConfig)-> Bool
+
- public func hash(into hasher: inout Hasher)
+ public static func ==(lhs: ActivitySelectorConfig,rhs: ActivitySelectorConfig)-> Bool
-
+ public func hash(into hasher: inout Hasher)
-
+
- public enum CodingKeys: String, CodingKey, CaseIterable
+
-
+ public enum CodingKeys: String, CodingKey, CaseIterable
- case cutoffTime = "cutoff_time"
+
- case filter
+ case cutoffTime = "cutoff_time"
- case minPopularity = "min_popularity"
+ case cutoffWindow = "cutoff_window"
- case sort
+ case filter
- case type
+ case minPopularity = "min_popularity"
+ case sort
+ case type
public final class ModerationCustomActionEvent: @unchecked Sendable, Event, Codable, JSONEncodable, Hashable
- public var createdAt: Date
+ public var actionId: String
- public var item: ReviewQueueItem?
+ public var actionOptions: [String: RawJSON]?
- public var type: String
+ public var createdAt: Date
- public var user: User?
+ public var custom: [String: RawJSON]
-
+ public var receivedAt: Date?
-
+ public var reviewQueueItem: ReviewQueueItemResponse
- public init(createdAt: Date,item: ReviewQueueItem? = nil,user: User? = nil)
+ public var type: String
- public static func ==(lhs: ModerationCustomActionEvent,rhs: ModerationCustomActionEvent)-> Bool
+ public init(actionId: String,actionOptions: [String: RawJSON]? = nil,createdAt: Date,custom: [String: RawJSON],receivedAt: Date? = nil,reviewQueueItem: ReviewQueueItemResponse)
- public func hash(into hasher: inout Hasher)
+
-
+
-
+ public static func ==(lhs: ModerationCustomActionEvent,rhs: ModerationCustomActionEvent)-> Bool
- public enum CodingKeys: String, CodingKey, CaseIterable
+ public func hash(into hasher: inout Hasher)
- case createdAt = "created_at"
+
- case item
+ public enum CodingKeys: String, CodingKey, CaseIterable
- case type
+
- case user
+ case actionId = "action_id"
+ case actionOptions = "action_options"
+ case createdAt = "created_at"
+ case custom
+ case receivedAt = "received_at"
+ case reviewQueueItem = "review_queue_item"
+ case type
public final class ActionLogResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable
- public var createdAt: Date
+ public var aiProviders: [String]
- public var custom: [String: RawJSON]
+ public var createdAt: Date
- public var id: String
+ public var custom: [String: RawJSON]
- public var reason: String
+ public var id: String
- public var reviewQueueItem: ReviewQueueItemResponse?
+ public var reason: String
- public var targetUser: UserResponse?
+ public var reviewQueueItem: ReviewQueueItemResponse?
- public var targetUserId: String
+ public var targetUser: UserResponse?
- public var type: String
+ public var targetUserId: String
- public var user: UserResponse?
+ public var type: String
- public var userId: String
+ public var user: UserResponse?
-
+ public var userId: String
-
+
- public init(createdAt: Date,custom: [String: RawJSON],id: String,reason: String,reviewQueueItem: ReviewQueueItemResponse? = nil,targetUser: UserResponse? = nil,targetUserId: String,type: String,user: UserResponse? = nil,userId: String)
+
-
+ public init(aiProviders: [String],createdAt: Date,custom: [String: RawJSON],id: String,reason: String,reviewQueueItem: ReviewQueueItemResponse? = nil,targetUser: UserResponse? = nil,targetUserId: String,type: String,user: UserResponse? = nil,userId: String)
-
+
- public static func ==(lhs: ActionLogResponse,rhs: ActionLogResponse)-> Bool
+
- public func hash(into hasher: inout Hasher)
+ public static func ==(lhs: ActionLogResponse,rhs: ActionLogResponse)-> Bool
-
+ public func hash(into hasher: inout Hasher)
-
+
- public enum CodingKeys: String, CodingKey, CaseIterable
+
-
+ public enum CodingKeys: String, CodingKey, CaseIterable
- case createdAt = "created_at"
+
- case custom
+ case aiProviders = "ai_providers"
- case id
+ case createdAt = "created_at"
- case reason
+ case custom
- case reviewQueueItem = "review_queue_item"
+ case id
- case targetUser = "target_user"
+ case reason
- case targetUserId = "target_user_id"
+ case reviewQueueItem = "review_queue_item"
- case type
+ case targetUser = "target_user"
- case user
+ case targetUserId = "target_user_id"
- case userId = "user_id"
+ case type
+ case user
+ case userId = "user_id"
public final class StoriesConfig: @unchecked Sendable, Codable, JSONEncodable, Hashable
- public var expirationBehaviour: StoriesConfigExpirationBehaviour?
+ public var skipWatched: Bool?
- public var skipWatched: Bool?
+ public var trackWatched: Bool?
- public init(expirationBehaviour: StoriesConfigExpirationBehaviour? = nil,skipWatched: Bool? = nil)
+ public init(skipWatched: Bool? = nil,trackWatched: Bool? = nil)
- public enum StoriesConfigExpirationBehaviour: String, Sendable, Codable, CaseIterable
+ public enum CodingKeys: String, CodingKey, CaseIterable
- case hideForEveryone = "hide_for_everyone"
+ case skipWatched = "skip_watched"
- case visibleForAuthor = "visible_for_author"
+ case trackWatched = "track_watched"
- case unknown = "_unknown"
-
-
- public init(from decoder: Decoder)throws
-
-
- public enum CodingKeys: String, CodingKey, CaseIterable
-
- case expirationBehaviour = "expiration_behaviour"
- case skipWatched = "skip_watched"
public enum FeedsEvent: Codable, Hashable
- case typeActivityMarkEvent(ActivityMarkEvent)
+ case typeActivityFeedbackEvent(ActivityFeedbackEvent)
- case typeActivityPinnedEvent(ActivityPinnedEvent)
+ case typeActivityMarkEvent(ActivityMarkEvent)
- case typeActivityReactionAddedEvent(ActivityReactionAddedEvent)
+ case typeActivityPinnedEvent(ActivityPinnedEvent)
- case typeActivityReactionDeletedEvent(ActivityReactionDeletedEvent)
+ case typeActivityReactionAddedEvent(ActivityReactionAddedEvent)
- case typeActivityReactionUpdatedEvent(ActivityReactionUpdatedEvent)
+ case typeActivityReactionDeletedEvent(ActivityReactionDeletedEvent)
- case typeActivityRemovedFromFeedEvent(ActivityRemovedFromFeedEvent)
+ case typeActivityReactionUpdatedEvent(ActivityReactionUpdatedEvent)
- case typeActivityUnpinnedEvent(ActivityUnpinnedEvent)
+ case typeActivityRemovedFromFeedEvent(ActivityRemovedFromFeedEvent)
- case typeActivityUpdatedEvent(ActivityUpdatedEvent)
+ case typeActivityUnpinnedEvent(ActivityUnpinnedEvent)
- case typeBookmarkAddedEvent(BookmarkAddedEvent)
+ case typeActivityUpdatedEvent(ActivityUpdatedEvent)
- case typeBookmarkDeletedEvent(BookmarkDeletedEvent)
+ case typeBookmarkAddedEvent(BookmarkAddedEvent)
- case typeBookmarkUpdatedEvent(BookmarkUpdatedEvent)
+ case typeBookmarkDeletedEvent(BookmarkDeletedEvent)
- case typeBookmarkFolderDeletedEvent(BookmarkFolderDeletedEvent)
+ case typeBookmarkUpdatedEvent(BookmarkUpdatedEvent)
- case typeBookmarkFolderUpdatedEvent(BookmarkFolderUpdatedEvent)
+ case typeBookmarkFolderDeletedEvent(BookmarkFolderDeletedEvent)
- case typeCommentAddedEvent(CommentAddedEvent)
+ case typeBookmarkFolderUpdatedEvent(BookmarkFolderUpdatedEvent)
- case typeCommentDeletedEvent(CommentDeletedEvent)
+ case typeCommentAddedEvent(CommentAddedEvent)
- case typeCommentReactionAddedEvent(CommentReactionAddedEvent)
+ case typeCommentDeletedEvent(CommentDeletedEvent)
- case typeCommentReactionDeletedEvent(CommentReactionDeletedEvent)
+ case typeCommentReactionAddedEvent(CommentReactionAddedEvent)
- case typeCommentReactionUpdatedEvent(CommentReactionUpdatedEvent)
+ case typeCommentReactionDeletedEvent(CommentReactionDeletedEvent)
- case typeCommentUpdatedEvent(CommentUpdatedEvent)
+ case typeCommentReactionUpdatedEvent(CommentReactionUpdatedEvent)
- case typeFeedCreatedEvent(FeedCreatedEvent)
+ case typeCommentUpdatedEvent(CommentUpdatedEvent)
- case typeFeedDeletedEvent(FeedDeletedEvent)
+ case typeFeedCreatedEvent(FeedCreatedEvent)
- case typeFeedUpdatedEvent(FeedUpdatedEvent)
+ case typeFeedDeletedEvent(FeedDeletedEvent)
- case typeFeedGroupChangedEvent(FeedGroupChangedEvent)
+ case typeFeedUpdatedEvent(FeedUpdatedEvent)
- case typeFeedGroupDeletedEvent(FeedGroupDeletedEvent)
+ case typeFeedGroupChangedEvent(FeedGroupChangedEvent)
- case typeFeedMemberAddedEvent(FeedMemberAddedEvent)
+ case typeFeedGroupDeletedEvent(FeedGroupDeletedEvent)
- case typeFeedMemberRemovedEvent(FeedMemberRemovedEvent)
+ case typeFeedMemberAddedEvent(FeedMemberAddedEvent)
- case typeFeedMemberUpdatedEvent(FeedMemberUpdatedEvent)
+ case typeFeedMemberRemovedEvent(FeedMemberRemovedEvent)
- case typeFollowCreatedEvent(FollowCreatedEvent)
+ case typeFeedMemberUpdatedEvent(FeedMemberUpdatedEvent)
- case typeFollowDeletedEvent(FollowDeletedEvent)
+ case typeFollowCreatedEvent(FollowCreatedEvent)
- case typeFollowUpdatedEvent(FollowUpdatedEvent)
+ case typeFollowDeletedEvent(FollowDeletedEvent)
- case typeNotificationFeedUpdatedEvent(NotificationFeedUpdatedEvent)
+ case typeFollowUpdatedEvent(FollowUpdatedEvent)
- case typePollClosedFeedEvent(PollClosedFeedEvent)
+ case typeNotificationFeedUpdatedEvent(NotificationFeedUpdatedEvent)
- case typePollDeletedFeedEvent(PollDeletedFeedEvent)
+ case typePollClosedFeedEvent(PollClosedFeedEvent)
- case typePollUpdatedFeedEvent(PollUpdatedFeedEvent)
+ case typePollDeletedFeedEvent(PollDeletedFeedEvent)
- case typePollVoteCastedFeedEvent(PollVoteCastedFeedEvent)
+ case typePollUpdatedFeedEvent(PollUpdatedFeedEvent)
- case typePollVoteChangedFeedEvent(PollVoteChangedFeedEvent)
+ case typePollVoteCastedFeedEvent(PollVoteCastedFeedEvent)
- case typePollVoteRemovedFeedEvent(PollVoteRemovedFeedEvent)
+ case typePollVoteChangedFeedEvent(PollVoteChangedFeedEvent)
- case typeHealthCheckEvent(HealthCheckEvent)
+ case typePollVoteRemovedFeedEvent(PollVoteRemovedFeedEvent)
- case typeModerationCustomActionEvent(ModerationCustomActionEvent)
+ case typeStoriesFeedUpdatedEvent(StoriesFeedUpdatedEvent)
- case typeModerationFlaggedEvent(ModerationFlaggedEvent)
+ case typeHealthCheckEvent(HealthCheckEvent)
- case typeModerationMarkReviewedEvent(ModerationMarkReviewedEvent)
+ case typeModerationCustomActionEvent(ModerationCustomActionEvent)
- case typeUserBannedEvent(UserBannedEvent)
+ case typeModerationMarkReviewedEvent(ModerationMarkReviewedEvent)
- case typeUserDeactivatedEvent(UserDeactivatedEvent)
+ case typeUserUpdatedEvent(UserUpdatedEvent)
- case typeUserMutedEvent(UserMutedEvent)
+ case typeUserBannedEvent(UserBannedEvent)
- case typeUserReactivatedEvent(UserReactivatedEvent)
+ case typeUserDeactivatedEvent(UserDeactivatedEvent)
- case typeUserUpdatedEvent(UserUpdatedEvent)
+ case typeUserMutedEvent(UserMutedEvent)
- case typeConnectedEvent(ConnectedEvent)
+ case typeUserReactivatedEvent(UserReactivatedEvent)
- case typeConnectionErrorEvent(ConnectionErrorEvent)
+ case typeConnectedEvent(ConnectedEvent)
-
+ case typeConnectionErrorEvent(ConnectionErrorEvent)
-
+
- public var type: String
+
- public var rawValue: Event
+ public var type: String
-
+ public var rawValue: Event
-
+
- public init(from decoder: Decoder)throws
+
-
+ public init(from decoder: Decoder)throws
-
+
- public func encode(to encoder: Encoder)throws
+
+ public func encode(to encoder: Encoder)throws |
laevandus
approved these changes
Nov 4, 2025
Collaborator
SDK Size
|
Collaborator
StreamFeeds XCSize
Show 54 more objects
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



🔗 Issue Links
Provide all Linear and/or Github issues related to this PR, if applicable.
🎯 Goal
Describe why we are making this change.
📝 Summary
Provide bullet points with the most important changes in the codebase.
🛠 Implementation
Provide a detailed description of the implementation and explain your decisions if you find them relevant.
🎨 Showcase
Add relevant screenshots and/or videos/gifs to easily see what this PR changes, if applicable.
🧪 Manual Testing Notes
Explain how this change can be tested manually, if applicable.
☑️ Contributor Checklist
docs-contentrepo