Skip to content

Commit 4dc944d

Browse files
chore: update OpenAPI specs to v239.57.0 (#2132)
Co-authored-by: GH Action CI Stream <ci@stream.io>
1 parent 7545806 commit 4dc944d

58 files changed

Lines changed: 1937 additions & 689 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: 42 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ components:
3939
title: Event Type
4040
type: string
4141
x-stream-index: 001.001.001.002
42+
user:
43+
$ref: '#/components/schemas/UserResponseCommonFields'
44+
description: The user who sent the event
45+
title: User
46+
x-stream-index: "002.001"
4247
required:
4348
- type
4449
- created_at
@@ -89,6 +94,11 @@ components:
8994
title: Event Type
9095
type: string
9196
x-stream-index: 001.001.001.002
97+
user:
98+
$ref: '#/components/schemas/UserResponseCommonFields'
99+
description: The user who sent the event
100+
title: User
101+
x-stream-index: "002.001"
92102
required:
93103
- type
94104
- created_at
@@ -154,6 +164,11 @@ components:
154164
title: Event Type
155165
type: string
156166
x-stream-index: 001.001.001.002
167+
user:
168+
$ref: '#/components/schemas/UserResponseCommonFields'
169+
description: The user who sent the event
170+
title: User
171+
x-stream-index: "005.001"
157172
required:
158173
- type
159174
- created_at
@@ -4277,10 +4292,6 @@ components:
42774292
privacy_settings:
42784293
$ref: '#/components/schemas/PrivacySettingsResponse'
42794294
x-stream-index: "003"
4280-
revoke_tokens_issued_before:
4281-
format: date-time
4282-
type: string
4283-
x-stream-index: "001.015"
42844295
role:
42854296
type: string
42864297
x-stream-index: "001.006"
@@ -7433,6 +7444,12 @@ components:
74337444
additionalProperties: {}
74347445
type: object
74357446
x-stream-index: 001.001.001.001.001.007
7447+
grouped_unread_channels:
7448+
additionalProperties:
7449+
format: int32
7450+
type: integer
7451+
type: object
7452+
x-stream-index: "006"
74367453
member:
74377454
$ref: '#/components/schemas/ChannelMemberResponse'
74387455
description: The member that was added
@@ -7447,13 +7464,31 @@ components:
74477464
title: Team
74487465
type: string
74497466
x-stream-index: 001.001.001.003
7467+
total_unread_count:
7468+
description: The total number of unread messages
7469+
format: int32
7470+
title: Total Unread Count
7471+
type: integer
7472+
x-stream-index: "004"
74507473
type:
74517474
default: notification.added_to_channel
74527475
description: 'The type of event: "notification.added_to_channel" in this
74537476
case'
74547477
title: Event Type
74557478
type: string
74567479
x-stream-index: 001.001.001.001.001.002
7480+
unread_channels:
7481+
description: The number of channels with unread messages
7482+
format: int32
7483+
title: Unread Channels
7484+
type: integer
7485+
x-stream-index: "005"
7486+
unread_count:
7487+
description: The number of unread messages
7488+
format: int32
7489+
title: Unread Count
7490+
type: integer
7491+
x-stream-index: "003"
74577492
required:
74587493
- type
74597494
- created_at
@@ -8711,10 +8746,6 @@ components:
87118746
push_preferences:
87128747
$ref: '#/components/schemas/PushPreferencesResponse'
87138748
x-stream-index: "002"
8714-
revoke_tokens_issued_before:
8715-
format: date-time
8716-
type: string
8717-
x-stream-index: "001.015"
87188749
role:
87198750
type: string
87208751
x-stream-index: "001.006"
@@ -14563,7 +14594,7 @@ components:
1456314594
description: Sets new field values
1456414595
title: Set
1456514596
type: object
14566-
x-stream-index: "002.001"
14597+
x-stream-index: "004.001"
1456714598
x-stream-map:
1456814599
description: New value to set
1456914600
key: field
@@ -14574,7 +14605,7 @@ components:
1457414605
type: string
1457514606
title: Unset
1457614607
type: array
14577-
x-stream-index: "002.002"
14608+
x-stream-index: "004.002"
1457814609
type: object
1457914610
UpdatePollRequest:
1458014611
nullable: true
@@ -15893,12 +15924,6 @@ components:
1589315924
title: Online
1589415925
type: boolean
1589515926
x-stream-index: "001.013"
15896-
revoke_tokens_issued_before:
15897-
description: Revocation date for tokens
15898-
format: date-time
15899-
title: Revoke tokens issued before
15900-
type: string
15901-
x-stream-index: "001.015"
1590215927
role:
1590315928
description: Determines the set of user permissions
1590415929
title: Role
@@ -15984,10 +16009,6 @@ components:
1598416009
online:
1598516010
type: boolean
1598616011
x-stream-index: "013"
15987-
revoke_tokens_issued_before:
15988-
format: date-time
15989-
type: string
15990-
x-stream-index: "015"
1599116012
role:
1599216013
type: string
1599316014
x-stream-index: "006"
@@ -16072,10 +16093,6 @@ components:
1607216093
privacy_settings:
1607316094
$ref: '#/components/schemas/PrivacySettingsResponse'
1607416095
x-stream-index: "002"
16075-
revoke_tokens_issued_before:
16076-
format: date-time
16077-
type: string
16078-
x-stream-index: "001.015"
1607916096
role:
1608016097
type: string
1608116098
x-stream-index: "001.006"
@@ -16781,7 +16798,7 @@ components:
1678116798
type: apiKey
1678216799
info:
1678316800
title: Stream API
16784-
version: v239.56.0
16801+
version: v239.57.0
1678516802
openapi: 3.0.3
1678616803
paths:
1678716804
/app:

‎openapi/chat-openapi.json‎

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

‎openapi/chat-openapi.yaml‎

Lines changed: 76 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ components:
660660
type: string
661661
x-stream-index: "002.001"
662662
type:
663-
default: export.review_queue.error
663+
default: export.users.error
664664
type: string
665665
x-stream-index: "003.002"
666666
required:
@@ -1845,12 +1845,22 @@ components:
18451845
CastPollVoteRequest:
18461846
nullable: true
18471847
properties:
1848+
config_key:
1849+
description: Key of the moderation configuration to use. Server-side only.
1850+
title: Config Key
1851+
type: string
1852+
x-stream-index: "005"
1853+
config_team:
1854+
description: Team associated with the configuration. Server-side only.
1855+
title: Config Team
1856+
type: string
1857+
x-stream-index: "006"
18481858
user:
18491859
$ref: '#/components/schemas/UserRequest'
1850-
x-stream-index: "005.002"
1860+
x-stream-index: "007.002"
18511861
user_id:
18521862
type: string
1853-
x-stream-index: "005.001"
1863+
x-stream-index: "007.001"
18541864
vote:
18551865
$ref: '#/components/schemas/VoteData'
18561866
description: Vote data
@@ -5831,6 +5841,16 @@ components:
58315841
CreatePollOptionRequest:
58325842
nullable: true
58335843
properties:
5844+
config_key:
5845+
description: Key of the moderation configuration to use. Server-side only.
5846+
title: Config Key
5847+
type: string
5848+
x-stream-index: "004"
5849+
config_team:
5850+
description: Team associated with the configuration. Server-side only.
5851+
title: Config Team
5852+
type: string
5853+
x-stream-index: "005"
58345854
custom:
58355855
additionalProperties: {}
58365856
description: Custom data for this object
@@ -5844,10 +5864,10 @@ components:
58445864
x-stream-index: "002"
58455865
user:
58465866
$ref: '#/components/schemas/UserRequest'
5847-
x-stream-index: "004.002"
5867+
x-stream-index: "006.002"
58485868
user_id:
58495869
type: string
5850-
x-stream-index: "004.001"
5870+
x-stream-index: "006.001"
58515871
required:
58525872
- text
58535873
type: object
@@ -5863,6 +5883,16 @@ components:
58635883
allow_user_suggested_options:
58645884
type: boolean
58655885
x-stream-index: "008"
5886+
config_key:
5887+
description: Key of the moderation configuration to use. Server-side only.
5888+
title: Config Key
5889+
type: string
5890+
x-stream-index: "013"
5891+
config_team:
5892+
description: Team associated with the configuration. Server-side only.
5893+
title: Config Team
5894+
type: string
5895+
x-stream-index: "014"
58665896
custom:
58675897
additionalProperties: {}
58685898
description: Custom data for this object
@@ -5912,10 +5942,10 @@ components:
59125942
x-stream-index: "011"
59135943
user:
59145944
$ref: '#/components/schemas/UserRequest'
5915-
x-stream-index: "013.002"
5945+
x-stream-index: "015.002"
59165946
user_id:
59175947
type: string
5918-
x-stream-index: "013.001"
5948+
x-stream-index: "015.001"
59195949
voting_visibility:
59205950
description: Represents the visibility of votes in a poll.
59215951
enum:
@@ -21321,6 +21351,16 @@ components:
2132121351
UpdatePollOptionRequest:
2132221352
nullable: true
2132321353
properties:
21354+
config_key:
21355+
description: Key of the moderation configuration to use. Server-side only.
21356+
title: Config Key
21357+
type: string
21358+
x-stream-index: "005"
21359+
config_team:
21360+
description: Team associated with the configuration. Server-side only.
21361+
title: Config Team
21362+
type: string
21363+
x-stream-index: "006"
2132421364
custom:
2132521365
additionalProperties: {}
2132621366
description: Custom data for this object
@@ -21340,23 +21380,33 @@ components:
2134021380
x-stream-index: "003"
2134121381
user:
2134221382
$ref: '#/components/schemas/UserRequest'
21343-
x-stream-index: "005.002"
21383+
x-stream-index: "007.002"
2134421384
user_id:
2134521385
type: string
21346-
x-stream-index: "005.001"
21386+
x-stream-index: "007.001"
2134721387
required:
2134821388
- id
2134921389
- text
2135021390
type: object
2135121391
UpdatePollPartialRequest:
2135221392
nullable: true
2135321393
properties:
21394+
config_key:
21395+
description: Key of the moderation configuration to use. Server-side only.
21396+
title: Config Key
21397+
type: string
21398+
x-stream-index: "002"
21399+
config_team:
21400+
description: Team associated with the configuration. Server-side only.
21401+
title: Config Team
21402+
type: string
21403+
x-stream-index: "003"
2135421404
set:
2135521405
additionalProperties: {}
2135621406
description: Sets new field values
2135721407
title: Set
2135821408
type: object
21359-
x-stream-index: "002.001"
21409+
x-stream-index: "004.001"
2136021410
x-stream-map:
2136121411
description: New value to set
2136221412
key: field
@@ -21367,13 +21417,13 @@ components:
2136721417
type: string
2136821418
title: Unset
2136921419
type: array
21370-
x-stream-index: "002.002"
21420+
x-stream-index: "004.002"
2137121421
user:
2137221422
$ref: '#/components/schemas/UserRequest'
21373-
x-stream-index: "003.002"
21423+
x-stream-index: "005.002"
2137421424
user_id:
2137521425
type: string
21376-
x-stream-index: "003.001"
21426+
x-stream-index: "005.001"
2137721427
type: object
2137821428
UpdatePollRequest:
2137921429
nullable: true
@@ -21388,6 +21438,16 @@ components:
2138821438
title: boolean
2138921439
type: boolean
2139021440
x-stream-index: "008"
21441+
config_key:
21442+
description: Key of the moderation configuration to use. Server-side only.
21443+
title: Config Key
21444+
type: string
21445+
x-stream-index: "012"
21446+
config_team:
21447+
description: Team associated with the configuration. Server-side only.
21448+
title: Config Team
21449+
type: string
21450+
x-stream-index: "013"
2139121451
custom:
2139221452
additionalProperties: {}
2139321453
description: Custom data for this object
@@ -21437,10 +21497,10 @@ components:
2143721497
x-stream-index: "004"
2143821498
user:
2143921499
$ref: '#/components/schemas/UserRequest'
21440-
x-stream-index: "012.002"
21500+
x-stream-index: "014.002"
2144121501
user_id:
2144221502
type: string
21443-
x-stream-index: "012.001"
21503+
x-stream-index: "014.001"
2144421504
voting_visibility:
2144521505
description: Voting visibility
2144621506
enum:
@@ -24135,7 +24195,7 @@ components:
2413524195
type: apiKey
2413624196
info:
2413724197
title: Stream API
24138-
version: v239.56.0
24198+
version: v239.57.0
2413924199
openapi: 3.0.3
2414024200
paths:
2414124201
/app:

‎openapi/clientside-api.json‎

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

0 commit comments

Comments
 (0)