Skip to content

Commit 8f03b4f

Browse files
chore: update OpenAPI specs to v239.46.0 (#2121)
Co-authored-by: GH Action CI Stream <ci@stream.io>
1 parent c4feaa4 commit 8f03b4f

58 files changed

Lines changed: 695 additions & 144 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎openapi/chat-openapi-clientside.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎openapi/chat-openapi-clientside.yaml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,6 @@ components:
940940
x-stream-index: 001.002.016
941941
max_message_length:
942942
format: int32
943-
maximum: 20000
944943
type: integer
945944
x-stream-index: 001.002.022
946945
message_retention:
@@ -16621,7 +16620,7 @@ components:
1662116620
type: apiKey
1662216621
info:
1662316622
title: Stream API
16624-
version: v239.45.0
16623+
version: v239.46.0
1662516624
openapi: 3.0.3
1662616625
paths:
1662716626
/app:

‎openapi/chat-openapi.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎openapi/chat-openapi.yaml‎

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ components:
247247
format: int32
248248
type: integer
249249
type: object
250-
x-stream-index: "062"
250+
x-stream-index: "063"
251251
allow_multi_user_devices:
252252
type: boolean
253253
x-stream-index: "018"
@@ -268,7 +268,7 @@ components:
268268
x-stream-index: "025"
269269
before_message_send_hook_system_messages:
270270
type: boolean
271-
x-stream-index: "066"
271+
x-stream-index: "067"
272272
before_message_send_hook_url:
273273
type: string
274274
x-stream-index: "024"
@@ -355,13 +355,13 @@ components:
355355
x-stream-index: "055"
356356
member_custom_on_mentioned_users_enabled:
357357
type: boolean
358-
x-stream-index: "064"
358+
x-stream-index: "065"
359359
member_custom_on_messages_enabled:
360360
type: boolean
361-
x-stream-index: "063"
361+
x-stream-index: "064"
362362
member_custom_on_typing_events_enabled:
363363
type: boolean
364-
x-stream-index: "065"
364+
x-stream-index: "066"
365365
moderation_audio_call_moderation_enabled:
366366
type: boolean
367367
x-stream-index: "059"
@@ -383,9 +383,12 @@ components:
383383
moderation_onboarding_complete:
384384
type: boolean
385385
x-stream-index: "057"
386+
moderation_quality_reports_enabled:
387+
type: boolean
388+
x-stream-index: "061"
386389
moderation_s3_image_access_role_arn:
387390
type: string
388-
x-stream-index: "061"
391+
x-stream-index: "062"
389392
moderation_video_call_moderation_enabled:
390393
type: boolean
391394
x-stream-index: "058"
@@ -520,6 +523,7 @@ components:
520523
- moderation_video_call_moderation_enabled
521524
- moderation_audio_call_moderation_enabled
522525
- moderation_keyframe_video_enabled
526+
- moderation_quality_reports_enabled
523527
- member_custom_on_messages_enabled
524528
- member_custom_on_mentioned_users_enabled
525529
- member_custom_on_typing_events_enabled
@@ -2117,7 +2121,6 @@ components:
21172121
x-stream-index: "001.016"
21182122
max_message_length:
21192123
format: int32
2120-
maximum: 20000
21212124
type: integer
21222125
x-stream-index: "001.022"
21232126
message_retention:
@@ -2403,7 +2406,6 @@ components:
24032406
x-stream-index: 001.002.016
24042407
max_message_length:
24052408
format: int32
2406-
maximum: 20000
24072409
type: integer
24082410
x-stream-index: 001.002.022
24092411
message_retention:
@@ -3865,7 +3867,6 @@ components:
38653867
x-stream-index: 003.002.016
38663868
max_message_length:
38673869
format: int32
3868-
maximum: 20000
38693870
type: integer
38703871
x-stream-index: 003.002.022
38713872
message_retention:
@@ -5182,7 +5183,6 @@ components:
51825183
x-stream-index: 001.001.016
51835184
max_message_length:
51845185
format: int32
5185-
maximum: 20000
51865186
type: integer
51875187
x-stream-index: 001.001.022
51885188
message_retention:
@@ -8052,7 +8052,6 @@ components:
80528052
x-stream-index: 003.002.016
80538053
max_message_length:
80548054
format: int32
8055-
maximum: 20000
80568055
type: integer
80578056
x-stream-index: 003.002.022
80588057
message_retention:
@@ -20519,7 +20518,6 @@ components:
2051920518
x-stream-index: 009.001.016
2052020519
max_message_length:
2052120520
format: int32
20522-
maximum: 20000
2052320521
type: integer
2052420522
x-stream-index: 009.001.022
2052520523
message_retention:
@@ -20687,7 +20685,6 @@ components:
2068720685
x-stream-index: 003.001.016
2068820686
max_message_length:
2068920687
format: int32
20690-
maximum: 20000
2069120688
type: integer
2069220689
x-stream-index: 003.001.022
2069320690
message_retention:
@@ -23883,7 +23880,7 @@ components:
2388323880
type: apiKey
2388423881
info:
2388523882
title: Stream API
23886-
version: v239.45.0
23883+
version: v239.46.0
2388723884
openapi: 3.0.3
2388823885
paths:
2388923886
/app:

‎openapi/clientside-api.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎openapi/clientside-api.yaml‎

Lines changed: 52 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,69 @@ components:
22
schemas:
33
AIAudioConfigRequest:
44
properties:
5+
ai_text_config:
6+
$ref: '#/components/schemas/AITextConfig'
7+
description: Rules applied to transcripts when LLM configurability is disabled
8+
title: AITextConfig
9+
x-stream-index: "003"
10+
llm_config:
11+
$ref: '#/components/schemas/LLMConfig'
12+
description: Rules applied to transcripts when LLM configurability is enabled
13+
title: LLMConfig
14+
x-stream-index: "004"
515
profile:
16+
description: Bodyguard credentials profile to classify transcripts with.
17+
Applies to the NLP engine only; ignored when LLM configurability is enabled.
18+
Empty falls back to the app-pinned profile, then the organization's top-level
19+
credentials
20+
title: Profile
621
type: string
722
x-stream-index: "001"
823
rules:
24+
description: Deprecated pre-split rule list. Still the live config while
25+
no engine config exists; once one does it is kept as a fallback for whichever
26+
engine has none of its own
927
items:
1028
$ref: '#/components/schemas/BodyguardRule'
29+
title: Rules
1130
type: array
1231
x-stream-index: "002"
1332
type: object
1433
AIAudioConfigResponse:
1534
properties:
35+
ai_text_config:
36+
$ref: '#/components/schemas/AITextConfig'
37+
description: The rules applied to transcripts when LLM configurability is
38+
disabled. Present only when a config for that engine is stored; a policy
39+
still on the pre-split flat shape returns rules alone
40+
title: AITextConfig
41+
x-stream-index: "004"
1642
enabled:
43+
description: Whether the engine selected by the application's LLM configurability
44+
flag has a rule that does something. Derived, not stored
45+
title: Enabled
1746
type: boolean
1847
x-stream-index: "001"
48+
llm_config:
49+
$ref: '#/components/schemas/LLMConfig'
50+
description: The rules applied to transcripts when LLM configurability is
51+
enabled. Present only when a config for that engine is stored; a policy
52+
still on the pre-split flat shape returns rules alone
53+
title: LLMConfig
54+
x-stream-index: "005"
1955
profile:
56+
description: Bodyguard credentials profile transcripts are classified with.
57+
Applies to the NLP engine only
58+
title: Profile
2059
type: string
2160
x-stream-index: "002"
2261
rules:
62+
description: The active engine's rules, flattened into the pre-split shape
63+
for clients that predate the per-engine configs. This is the whole config
64+
for a policy that has no per-engine config stored
2365
items:
2466
$ref: '#/components/schemas/BodyguardRule'
67+
title: Rules
2568
type: array
2669
x-stream-index: "003"
2770
required:
@@ -4185,6 +4228,7 @@ components:
41854228
type: string
41864229
x-stream-index: "002"
41874230
label:
4231+
maxLength: 128
41884232
type: string
41894233
x-stream-index: "001"
41904234
severity_rules:
@@ -8191,7 +8235,6 @@ components:
81918235
x-stream-index: 001.002.016
81928236
max_message_length:
81938237
format: int32
8194-
maximum: 20000
81958238
type: integer
81968239
x-stream-index: 001.002.022
81978240
message_retention:
@@ -19543,6 +19586,7 @@ components:
1954319586
type: string
1954419587
x-stream-index: "002"
1954519588
label:
19589+
maxLength: 128
1954619590
type: string
1954719591
x-stream-index: "001"
1954819592
severity_rules:
@@ -42403,7 +42447,7 @@ components:
4240342447
type: apiKey
4240442448
info:
4240542449
title: Stream API
42406-
version: v239.45.0
42450+
version: v239.46.0
4240742451
openapi: 3.0.3
4240842452
paths:
4240942453
/api/v2/app:
@@ -49571,6 +49615,12 @@ paths:
4957149615
type: string
4957249616
writeOnly: true
4957349617
x-stream-index: "002"
49618+
- in: query
49619+
name: close
49620+
schema:
49621+
type: boolean
49622+
writeOnly: true
49623+
x-stream-index: "003"
4957449624
responses:
4957549625
"400":
4957649626
content:

‎openapi/moderation-clientside-api.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎openapi/moderation-clientside-api.yaml‎

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,69 @@ components:
22
schemas:
33
AIAudioConfigRequest:
44
properties:
5+
ai_text_config:
6+
$ref: '#/components/schemas/AITextConfig'
7+
description: Rules applied to transcripts when LLM configurability is disabled
8+
title: AITextConfig
9+
x-stream-index: "003"
10+
llm_config:
11+
$ref: '#/components/schemas/LLMConfig'
12+
description: Rules applied to transcripts when LLM configurability is enabled
13+
title: LLMConfig
14+
x-stream-index: "004"
515
profile:
16+
description: Bodyguard credentials profile to classify transcripts with.
17+
Applies to the NLP engine only; ignored when LLM configurability is enabled.
18+
Empty falls back to the app-pinned profile, then the organization's top-level
19+
credentials
20+
title: Profile
621
type: string
722
x-stream-index: "001"
823
rules:
24+
description: Deprecated pre-split rule list. Still the live config while
25+
no engine config exists; once one does it is kept as a fallback for whichever
26+
engine has none of its own
927
items:
1028
$ref: '#/components/schemas/BodyguardRule'
29+
title: Rules
1130
type: array
1231
x-stream-index: "002"
1332
type: object
1433
AIAudioConfigResponse:
1534
properties:
35+
ai_text_config:
36+
$ref: '#/components/schemas/AITextConfig'
37+
description: The rules applied to transcripts when LLM configurability is
38+
disabled. Present only when a config for that engine is stored; a policy
39+
still on the pre-split flat shape returns rules alone
40+
title: AITextConfig
41+
x-stream-index: "004"
1642
enabled:
43+
description: Whether the engine selected by the application's LLM configurability
44+
flag has a rule that does something. Derived, not stored
45+
title: Enabled
1746
type: boolean
1847
x-stream-index: "001"
48+
llm_config:
49+
$ref: '#/components/schemas/LLMConfig'
50+
description: The rules applied to transcripts when LLM configurability is
51+
enabled. Present only when a config for that engine is stored; a policy
52+
still on the pre-split flat shape returns rules alone
53+
title: LLMConfig
54+
x-stream-index: "005"
1955
profile:
56+
description: Bodyguard credentials profile transcripts are classified with.
57+
Applies to the NLP engine only
58+
title: Profile
2059
type: string
2160
x-stream-index: "002"
2261
rules:
62+
description: The active engine's rules, flattened into the pre-split shape
63+
for clients that predate the per-engine configs. This is the whole config
64+
for a policy that has no per-engine config stored
2365
items:
2466
$ref: '#/components/schemas/BodyguardRule'
67+
title: Rules
2568
type: array
2669
x-stream-index: "003"
2770
required:
@@ -1032,6 +1075,7 @@ components:
10321075
type: string
10331076
x-stream-index: "002"
10341077
label:
1078+
maxLength: 128
10351079
type: string
10361080
x-stream-index: "001"
10371081
severity_rules:
@@ -1389,7 +1433,6 @@ components:
13891433
x-stream-index: 001.002.016
13901434
max_message_length:
13911435
format: int32
1392-
maximum: 20000
13931436
type: integer
13941437
x-stream-index: 001.002.022
13951438
message_retention:
@@ -4816,6 +4859,7 @@ components:
48164859
type: string
48174860
x-stream-index: "002"
48184861
label:
4862+
maxLength: 128
48194863
type: string
48204864
x-stream-index: "001"
48214865
severity_rules:
@@ -8854,7 +8898,7 @@ components:
88548898
type: apiKey
88558899
info:
88568900
title: Stream API
8857-
version: v239.45.0
8901+
version: v239.46.0
88588902
openapi: 3.0.3
88598903
paths:
88608904
/api/v2/moderation/action_config:

‎openapi/moderation-openapi.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎openapi/moderation-openapi.yaml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ components:
581581
type: string
582582
x-stream-index: "002.001"
583583
type:
584-
default: export.bulk_image_moderation.error
584+
default: export.moderation_logs.error
585585
type: string
586586
x-stream-index: "003.002"
587587
required:
@@ -924,7 +924,6 @@ components:
924924
x-stream-index: 001.002.016
925925
max_message_length:
926926
format: int32
927-
maximum: 20000
928927
type: integer
929928
x-stream-index: 001.002.022
930929
message_retention:
@@ -6304,7 +6303,7 @@ components:
63046303
type: apiKey
63056304
info:
63066305
title: Stream API
6307-
version: v239.45.0
6306+
version: v239.46.0
63086307
openapi: 3.0.3
63096308
paths:
63106309
/api/v1/moderation/chat_message_tasks:

0 commit comments

Comments
 (0)