feat: update to open api version 235.16.3 - #328
Open
oliverlaz wants to merge 1 commit into
Open
Conversation
szuperaz
approved these changes
Aug 14, 2026
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
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.
Regenerates the client from the
chatserverside spec at v235.16.3 (previously v233.25.1, #326).Moderation: policy test sets & runs
New endpoints for creating labelled test sets and running the active moderation policy against them:
ModerationApi.createPolicyTestSet—POST /moderation/policy_tests/setsModerationApi.listPolicyTestSets—GET /moderation/policy_tests/setsModerationApi.getPolicyTestSet/deletePolicyTestSet—GET|DELETE /moderation/policy_tests/sets/{id}ModerationApi.startPolicyTestRun—POST /moderation/policy_tests/sets/{id}/runsModerationApi.getPolicyTestRun—GET /moderation/policy_tests/runs/{id}Models:
CreatePolicyTestSetRequest,PolicyTestSet,PolicyTestSetResponse,PolicyTestSetListResponse,PolicyTestRow,PolicyTestSeedSpec,PolicyTestRun,PolicyTestRunResponse,PolicyTestRunMetrics,PolicyTestResult,PolicyTestTotals,PolicyTestLabelDrift.ModerationApi.listQueuesnow accepts an optionaluser_id.Imports: external storage configuration
CommonApi.getImporterExternalStorage/upsertImporterExternalStorage/deleteImporterExternalStorage—GET|PUT|DELETE /imports/v2/external-storageCommonApi.validateImporterExternalStorage—POST /imports/v2/external-storage/validateSupports S3 and GCS via
UpsertExternalStorageRequest(aws_s3/gcs).Video: daily digest
VideoApi.getDailyDigest—GET /video/stats/daily_digest, optionaldateandapp_id.Adds the digest model tree:
GetDailyDigestResponse,BroadcastDigest,BroadcastDailyRollup,BroadcastInfo,BroadcastSegment,DailyDigestCallSessionSummary,PublisherSession,SourceHealth,Quality,Percentiles,Segments,ViewerBehavior,EncodingProfile,Incident, and friends.Chat
getOrCreateChannel(ChannelApiandChatApi):messages_id_lt,messages_id_lte,messages_id_gt,messages_id_gte,messages_id_around.sendMessagegainsinclude_channel_context(response carrieschannel_context: ChannelContextResponse— slimcid/type/id/created_by) andinclude_mentioned_members(per mentioned user, whether they are currently a channel member; requiresReadChannelMembers).format: 'json' | 'csv'(csv requiresversion=v2, incompatible withexport_users) andinclude_fieldsfor selecting csv message columns.QueryBannedUsersRequestgainsinclude_total; theuser_idfilter is now documented for client-side use too.Feeds
AddActivityRequest/ActivityRequestgaincollections: CollectionRequest[]— create or update collections in the same call as the activity; their refs are added tocollection_refsautomatically.App settings
UpdateAppRequest.member_custom_on_messages_enabledandAppResponseFields.member_custom_on_messages_enabled.Events
moderation.analysis.failed→ModerationAnalysisFailedEvent(added to theWSEventunion).AppResponseFields.moderation_flood_rules_enabledremoved.ThreadParticipant.app_pkremoved.ThreadResponse.reply_countandThreadStateResponse.reply_countare now required (were optional).MessageRequest.typedrops the"''"variant — now'regular' | 'system'.CommonApi.getPollOptionno longer accepts auser_idquery parameter.The rest of the models diff is JSDoc that the spec now emits for shared schema refs (
user,channel,message, etc.).Verification
yarn lint— cleanyarn build— succeeds