@stream-io/node-sdk 0.8.6 → 0.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/index.cjs.js +40 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +40 -4
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/chat/ChannelApi.d.ts +1 -0
- package/dist/src/gen/chat/ChatApi.d.ts +1 -0
- package/dist/src/gen/common/CommonApi.d.ts +3 -0
- package/dist/src/gen/feeds/FeedsApi.d.ts +11 -1
- package/dist/src/gen/models/index.d.ts +176 -9
- package/package.json +1 -1
- package/src/gen/chat/ChannelApi.ts +1 -0
- package/src/gen/chat/ChatApi.ts +5 -0
- package/src/gen/common/CommonApi.ts +9 -1
- package/src/gen/feeds/FeedsApi.ts +63 -0
- package/src/gen/models/index.ts +252 -9
- package/src/gen/moderation/ModerationApi.ts +1 -0
|
@@ -7,6 +7,7 @@ export declare class ChannelApi {
|
|
|
7
7
|
constructor(chatApi: ChatApi, type: string, id: string | undefined);
|
|
8
8
|
delete(request?: {
|
|
9
9
|
hard_delete?: boolean;
|
|
10
|
+
skip_truncate?: boolean;
|
|
10
11
|
}): Promise<StreamResponse<DeleteChannelResponse>>;
|
|
11
12
|
get(request?: {
|
|
12
13
|
state?: boolean;
|
|
@@ -117,6 +117,7 @@ export declare class CommonApi {
|
|
|
117
117
|
getPollOption(request: {
|
|
118
118
|
poll_id: string;
|
|
119
119
|
option_id: string;
|
|
120
|
+
user_id?: string;
|
|
120
121
|
}): Promise<StreamResponse<PollOptionResponse>>;
|
|
121
122
|
queryPollVotes(request: QueryPollVotesRequest & {
|
|
122
123
|
poll_id: string;
|
|
@@ -140,6 +141,8 @@ export declare class CommonApi {
|
|
|
140
141
|
ios?: boolean;
|
|
141
142
|
web?: boolean;
|
|
142
143
|
unity?: boolean;
|
|
144
|
+
unity_desktop?: boolean;
|
|
145
|
+
unity_console?: boolean;
|
|
143
146
|
endpoints?: string;
|
|
144
147
|
}): Promise<StreamResponse<GetRateLimitsResponse>>;
|
|
145
148
|
listRoles(): Promise<StreamResponse<ListRolesResponse>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApiClient, StreamResponse } from '../../gen-imports';
|
|
2
|
-
import { AcceptFeedMemberInviteRequest, AcceptFeedMemberInviteResponse, AcceptFollowRequest, AcceptFollowResponse, ActivityFeedbackRequest, ActivityFeedbackResponse, AddActivityRequest, AddActivityResponse, AddBookmarkRequest, AddBookmarkResponse, AddCommentBookmarkRequest, AddCommentBookmarkResponse, AddCommentReactionRequest, AddCommentReactionResponse, AddCommentRequest, AddCommentResponse, AddCommentsBatchRequest, AddCommentsBatchResponse, AddReactionRequest, AddReactionResponse, BatchQueryActivityReactionsRequest, BatchQueryActivityReactionsResponse, BatchQueryCommentReactionsRequest, BatchQueryCommentReactionsResponse, CastPollVoteRequest, ChangeFeedVisibilityRequest, ChangeFeedVisibilityResponse, CreateCollectionsRequest, CreateCollectionsResponse, CreateFeedGroupRequest, CreateFeedGroupResponse, CreateFeedViewRequest, CreateFeedViewResponse, CreateFeedsBatchRequest, CreateFeedsBatchResponse, CreateMembershipLevelRequest, CreateMembershipLevelResponse, DeleteActivitiesRequest, DeleteActivitiesResponse, DeleteActivityReactionResponse, DeleteActivityResponse, DeleteBookmarkFolderResponse, DeleteBookmarkResponse, DeleteCollectionsResponse, DeleteCommentBookmarkResponse, DeleteCommentReactionResponse, DeleteCommentResponse, DeleteFeedGroupResponse, DeleteFeedResponse, DeleteFeedUserDataRequest, DeleteFeedUserDataResponse, DeleteFeedViewResponse, DeleteFeedsBatchRequest, DeleteFeedsBatchResponse, ExportFeedUserDataResponse, FollowBatchRequest, FollowBatchResponse, FollowRequest, GetActivityResponse, GetCommentRepliesResponse, GetCommentResponse, GetCommentsResponse, GetFeedCountsResponse, GetFeedGroupResponse, GetFeedViewResponse, GetFeedVisibilityResponse, GetFeedsRateLimitsResponse, GetFollowSuggestionsResponse, GetOrCreateFeedGroupRequest, GetOrCreateFeedGroupResponse, GetOrCreateFeedRequest, GetOrCreateFeedResponse, GetOrCreateFeedViewRequest, GetOrCreateFeedViewResponse, GetOrCreateFollowResponse, GetOrCreateUnfollowRequest, GetOrCreateUnfollowResponse, GetUserInterestsResponse, ListFeedGroupsResponse, ListFeedViewsResponse, ListFeedVisibilitiesResponse, MarkActivityRequest, OwnBatchRequest, OwnBatchResponse, PinActivityRequest, PinActivityResponse, PollVoteResponse, QueryActivitiesRequest, QueryActivitiesResponse, QueryActivityReactionsRequest, QueryActivityReactionsResponse, QueryActivitySharesResponse, QueryBookmarkFoldersRequest, QueryBookmarkFoldersResponse, QueryBookmarksRequest, QueryBookmarksResponse, QueryCollectionsRequest, QueryCollectionsResponse, QueryCommentReactionsRequest, QueryCommentReactionsResponse, QueryCommentsRequest, QueryCommentsResponse, QueryFeedMembersRequest, QueryFeedMembersResponse, QueryFeedsRequest, QueryFeedsResponse, QueryFeedsUsageStatsRequest, QueryFeedsUsageStatsResponse, QueryFollowsRequest, QueryFollowsResponse, QueryMembershipLevelsRequest, QueryMembershipLevelsResponse, QueryPinnedActivitiesRequest, QueryPinnedActivitiesResponse, QueryRevisionHistoryRequest, QueryRevisionHistoryResponse, ReadCollectionsResponse, RejectFeedMemberInviteRequest, RejectFeedMemberInviteResponse, RejectFollowRequest, RejectFollowResponse, Response, RestoreActivityRequest, RestoreActivityResponse, RestoreCommentRequest, RestoreCommentResponse, RestoreFeedGroupResponse, SingleFollowResponse, TrackActivityMetricsRequest, TrackActivityMetricsResponse, TranslateActivityRequest, TranslateActivityResponse, TranslateCommentRequest, TranslateCommentResponse, UnfollowBatchRequest, UnfollowBatchResponse, UnfollowResponse, UnpinActivityResponse, UpdateActivitiesPartialBatchRequest, UpdateActivitiesPartialBatchResponse, UpdateActivityPartialRequest, UpdateActivityPartialResponse, UpdateActivityRequest, UpdateActivityResponse, UpdateBookmarkFolderRequest, UpdateBookmarkFolderResponse, UpdateBookmarkRequest, UpdateBookmarkResponse, UpdateCollectionsRequest, UpdateCollectionsResponse, UpdateCommentBookmarkRequest, UpdateCommentBookmarkResponse, UpdateCommentPartialRequest, UpdateCommentPartialResponse, UpdateCommentRequest, UpdateCommentResponse, UpdateFeedGroupRequest, UpdateFeedGroupResponse, UpdateFeedMembersRequest, UpdateFeedMembersResponse, UpdateFeedRequest, UpdateFeedResponse, UpdateFeedViewRequest, UpdateFeedViewResponse, UpdateFeedVisibilityRequest, UpdateFeedVisibilityResponse, UpdateFollowRequest, UpdateFollowResponse, UpdateMembershipLevelRequest, UpdateMembershipLevelResponse, UpsertActivitiesRequest, UpsertActivitiesResponse, UpsertCollectionsRequest, UpsertCollectionsResponse } from '../models';
|
|
2
|
+
import { AcceptFeedMemberInviteRequest, AcceptFeedMemberInviteResponse, AcceptFollowRequest, AcceptFollowResponse, ActivityFeedbackRequest, ActivityFeedbackResponse, AddActivityRequest, AddActivityResponse, AddBookmarkRequest, AddBookmarkResponse, AddCommentBookmarkRequest, AddCommentBookmarkResponse, AddCommentReactionRequest, AddCommentReactionResponse, AddCommentRequest, AddCommentResponse, AddCommentsBatchRequest, AddCommentsBatchResponse, AddReactionRequest, AddReactionResponse, BatchQueryActivityReactionsRequest, BatchQueryActivityReactionsResponse, BatchQueryCommentReactionsRequest, BatchQueryCommentReactionsResponse, CastPollVoteRequest, ChangeFeedVisibilityRequest, ChangeFeedVisibilityResponse, CreateCollectionsRequest, CreateCollectionsResponse, CreateFeedGroupRequest, CreateFeedGroupResponse, CreateFeedViewRequest, CreateFeedViewResponse, CreateFeedsBatchRequest, CreateFeedsBatchResponse, CreateMembershipLevelRequest, CreateMembershipLevelResponse, DeleteActivitiesRequest, DeleteActivitiesResponse, DeleteActivityReactionResponse, DeleteActivityResponse, DeleteBookmarkFolderResponse, DeleteBookmarkResponse, DeleteCollectionsResponse, DeleteCommentBookmarkResponse, DeleteCommentReactionResponse, DeleteCommentResponse, DeleteFeedGroupResponse, DeleteFeedResponse, DeleteFeedUserDataRequest, DeleteFeedUserDataResponse, DeleteFeedViewResponse, DeleteFeedsBatchRequest, DeleteFeedsBatchResponse, DeleteUserInterestsResponse, ExportFeedUserDataResponse, FollowBatchRequest, FollowBatchResponse, FollowRequest, GetActivityResponse, GetCommentRepliesResponse, GetCommentResponse, GetCommentsResponse, GetFeedCountsResponse, GetFeedGroupResponse, GetFeedViewResponse, GetFeedVisibilityResponse, GetFeedsRateLimitsResponse, GetFollowSuggestionsResponse, GetOrCreateFeedGroupRequest, GetOrCreateFeedGroupResponse, GetOrCreateFeedRequest, GetOrCreateFeedResponse, GetOrCreateFeedViewRequest, GetOrCreateFeedViewResponse, GetOrCreateFollowResponse, GetOrCreateUnfollowRequest, GetOrCreateUnfollowResponse, GetUserInterestsResponse, ListFeedGroupsResponse, ListFeedViewsResponse, ListFeedVisibilitiesResponse, MarkActivityRequest, OwnBatchRequest, OwnBatchResponse, PinActivityRequest, PinActivityResponse, PollVoteResponse, QueryActivitiesRequest, QueryActivitiesResponse, QueryActivityReactionsRequest, QueryActivityReactionsResponse, QueryActivitySharesResponse, QueryBookmarkFoldersRequest, QueryBookmarkFoldersResponse, QueryBookmarksRequest, QueryBookmarksResponse, QueryCollectionsRequest, QueryCollectionsResponse, QueryCommentReactionsRequest, QueryCommentReactionsResponse, QueryCommentsRequest, QueryCommentsResponse, QueryFeedMembersRequest, QueryFeedMembersResponse, QueryFeedsRequest, QueryFeedsResponse, QueryFeedsUsageStatsRequest, QueryFeedsUsageStatsResponse, QueryFollowsRequest, QueryFollowsResponse, QueryMembershipLevelsRequest, QueryMembershipLevelsResponse, QueryPinnedActivitiesRequest, QueryPinnedActivitiesResponse, QueryRevisionHistoryRequest, QueryRevisionHistoryResponse, ReadCollectionsResponse, RejectFeedMemberInviteRequest, RejectFeedMemberInviteResponse, RejectFollowRequest, RejectFollowResponse, Response, RestoreActivityRequest, RestoreActivityResponse, RestoreCommentRequest, RestoreCommentResponse, RestoreFeedGroupResponse, SingleFollowResponse, TrackActivityMetricsRequest, TrackActivityMetricsResponse, TranslateActivityRequest, TranslateActivityResponse, TranslateCommentRequest, TranslateCommentResponse, UnfollowBatchRequest, UnfollowBatchResponse, UnfollowResponse, UnpinActivityResponse, UpdateActivitiesPartialBatchRequest, UpdateActivitiesPartialBatchResponse, UpdateActivityPartialRequest, UpdateActivityPartialResponse, UpdateActivityRequest, UpdateActivityResponse, UpdateBookmarkFolderRequest, UpdateBookmarkFolderResponse, UpdateBookmarkRequest, UpdateBookmarkResponse, UpdateCollectionsRequest, UpdateCollectionsResponse, UpdateCommentBookmarkRequest, UpdateCommentBookmarkResponse, UpdateCommentPartialRequest, UpdateCommentPartialResponse, UpdateCommentRequest, UpdateCommentResponse, UpdateFeedGroupRequest, UpdateFeedGroupResponse, UpdateFeedMembersRequest, UpdateFeedMembersResponse, UpdateFeedRequest, UpdateFeedResponse, UpdateFeedViewRequest, UpdateFeedViewResponse, UpdateFeedVisibilityRequest, UpdateFeedVisibilityResponse, UpdateFollowRequest, UpdateFollowResponse, UpdateMembershipLevelRequest, UpdateMembershipLevelResponse, UpsertActivitiesRequest, UpsertActivitiesResponse, UpsertCollectionsRequest, UpsertCollectionsResponse, UpsertUserInterestsRequest, UpsertUserInterestsResponse } from '../models';
|
|
3
3
|
export declare class FeedsApi {
|
|
4
4
|
readonly apiClient: ApiClient;
|
|
5
5
|
constructor(apiClient: ApiClient);
|
|
@@ -64,6 +64,7 @@ export declare class FeedsApi {
|
|
|
64
64
|
id: string;
|
|
65
65
|
comment_sort?: string;
|
|
66
66
|
comment_limit?: number;
|
|
67
|
+
skip_own_followings?: boolean;
|
|
67
68
|
user_id?: string;
|
|
68
69
|
language?: string;
|
|
69
70
|
translate_text?: boolean;
|
|
@@ -302,6 +303,8 @@ export declare class FeedsApi {
|
|
|
302
303
|
ios?: boolean;
|
|
303
304
|
web?: boolean;
|
|
304
305
|
unity?: boolean;
|
|
306
|
+
unity_desktop?: boolean;
|
|
307
|
+
unity_console?: boolean;
|
|
305
308
|
server_side?: boolean;
|
|
306
309
|
}): Promise<StreamResponse<GetFeedsRateLimitsResponse>>;
|
|
307
310
|
updateFollow(request: UpdateFollowRequest): Promise<StreamResponse<UpdateFollowResponse>>;
|
|
@@ -338,8 +341,15 @@ export declare class FeedsApi {
|
|
|
338
341
|
exportFeedUserData(request: {
|
|
339
342
|
user_id: string;
|
|
340
343
|
}): Promise<StreamResponse<ExportFeedUserDataResponse>>;
|
|
344
|
+
deleteUserInterests(request: {
|
|
345
|
+
user_id: string;
|
|
346
|
+
tags: Array<string>;
|
|
347
|
+
}): Promise<StreamResponse<DeleteUserInterestsResponse>>;
|
|
341
348
|
getUserInterests(request: {
|
|
342
349
|
user_id: string;
|
|
343
350
|
limit?: number;
|
|
344
351
|
}): Promise<StreamResponse<GetUserInterestsResponse>>;
|
|
352
|
+
upsertUserInterests(request: UpsertUserInterestsRequest & {
|
|
353
|
+
user_id: string;
|
|
354
|
+
}): Promise<StreamResponse<UpsertUserInterestsResponse>>;
|
|
345
355
|
}
|
|
@@ -29,7 +29,6 @@ export interface AITextConfig {
|
|
|
29
29
|
export interface AIVideoConfig {
|
|
30
30
|
async?: boolean;
|
|
31
31
|
enabled?: boolean;
|
|
32
|
-
provider?: string;
|
|
33
32
|
rules?: Array<AWSRekognitionRule>;
|
|
34
33
|
}
|
|
35
34
|
export interface AIVideoConfigRequest {
|
|
@@ -383,6 +382,16 @@ export interface ActivityMarkEvent {
|
|
|
383
382
|
mark_watched?: Array<string>;
|
|
384
383
|
user?: UserResponseCommonFields;
|
|
385
384
|
}
|
|
385
|
+
export interface ActivityMarksConfig {
|
|
386
|
+
/**
|
|
387
|
+
* Whether to return per-activity read status on content feeds
|
|
388
|
+
*/
|
|
389
|
+
track_read?: boolean;
|
|
390
|
+
/**
|
|
391
|
+
* Whether to return per-activity seen status on content feeds
|
|
392
|
+
*/
|
|
393
|
+
track_seen?: boolean;
|
|
394
|
+
}
|
|
386
395
|
export interface ActivityPinResponse {
|
|
387
396
|
/**
|
|
388
397
|
* When the pin was created
|
|
@@ -1075,10 +1084,18 @@ export interface AddCommentReactionRequest {
|
|
|
1075
1084
|
user?: UserRequest;
|
|
1076
1085
|
}
|
|
1077
1086
|
export interface AddCommentReactionResponse {
|
|
1087
|
+
/**
|
|
1088
|
+
* The change this write made to the number of reactions the user holds on this target: 1 when outcome is 'created', 0 when it is 'replaced' or 'unchanged'. These endpoints never return -1; a successful delete-reaction call is what decrements the count. With enforce_unique this is the delta of the user's reaction on the target; without it, the delta of reactions of this type.
|
|
1089
|
+
*/
|
|
1090
|
+
counter_delta: number;
|
|
1078
1091
|
/**
|
|
1079
1092
|
* Duration of the request
|
|
1080
1093
|
*/
|
|
1081
1094
|
duration: string;
|
|
1095
|
+
/**
|
|
1096
|
+
* What this write did to the user's reaction on this target. One of: created, replaced, unchanged. 'created' means a new reaction was written and nothing was replaced; 'replaced' means enforce_unique removed one or more of the user's other reaction types; 'unchanged' means the user already held this reaction type (its custom data may still have been updated). Without enforce_unique a user can hold several reaction types on one target, so 'created' then means 'this reaction type was newly added', not 'the user's first reaction on this target'.
|
|
1097
|
+
*/
|
|
1098
|
+
outcome: string;
|
|
1082
1099
|
comment: CommentResponse;
|
|
1083
1100
|
reaction: FeedsReactionResponse;
|
|
1084
1101
|
/**
|
|
@@ -1094,6 +1111,10 @@ export interface AddCommentReactionResponse {
|
|
|
1094
1111
|
* ID of the async notification-creation task; poll GET /tasks/{id} for its status
|
|
1095
1112
|
*/
|
|
1096
1113
|
notification_task_id?: string;
|
|
1114
|
+
/**
|
|
1115
|
+
* The reaction type this write replaced, or null when nothing was replaced. Non-null exactly when outcome is 'replaced'. If enforce_unique removed several reactions — possible only for data created before enforce_unique was adopted — this is the most recently created one.
|
|
1116
|
+
*/
|
|
1117
|
+
previous_reaction_type?: string;
|
|
1097
1118
|
reference_activity?: ActivityResponse;
|
|
1098
1119
|
}
|
|
1099
1120
|
export interface AddCommentRequest {
|
|
@@ -1226,7 +1247,15 @@ export interface AddReactionRequest {
|
|
|
1226
1247
|
user?: UserRequest;
|
|
1227
1248
|
}
|
|
1228
1249
|
export interface AddReactionResponse {
|
|
1250
|
+
/**
|
|
1251
|
+
* The change this write made to the number of reactions the user holds on this target: 1 when outcome is 'created', 0 when it is 'replaced' or 'unchanged'. These endpoints never return -1; a successful delete-reaction call is what decrements the count. With enforce_unique this is the delta of the user's reaction on the target; without it, the delta of reactions of this type.
|
|
1252
|
+
*/
|
|
1253
|
+
counter_delta: number;
|
|
1229
1254
|
duration: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* What this write did to the user's reaction on this target. One of: created, replaced, unchanged. 'created' means a new reaction was written and nothing was replaced; 'replaced' means enforce_unique removed one or more of the user's other reaction types; 'unchanged' means the user already held this reaction type (its custom data may still have been updated). Without enforce_unique a user can hold several reaction types on one target, so 'created' then means 'this reaction type was newly added', not 'the user's first reaction on this target'.
|
|
1257
|
+
*/
|
|
1258
|
+
outcome: string;
|
|
1230
1259
|
activity: ActivityResponse;
|
|
1231
1260
|
reaction: FeedsReactionResponse;
|
|
1232
1261
|
/**
|
|
@@ -1242,6 +1271,10 @@ export interface AddReactionResponse {
|
|
|
1242
1271
|
* ID of the async notification-creation task; poll GET /tasks/{id} for its status
|
|
1243
1272
|
*/
|
|
1244
1273
|
notification_task_id?: string;
|
|
1274
|
+
/**
|
|
1275
|
+
* The reaction type this write replaced, or null when nothing was replaced. Non-null exactly when outcome is 'replaced'. If enforce_unique removed several reactions — possible only for data created before enforce_unique was adopted — this is the most recently created one.
|
|
1276
|
+
*/
|
|
1277
|
+
previous_reaction_type?: string;
|
|
1245
1278
|
reference_activity?: ActivityResponse;
|
|
1246
1279
|
}
|
|
1247
1280
|
export interface AddSegmentTargetsRequest {
|
|
@@ -1436,6 +1469,7 @@ export interface AppResponseFields {
|
|
|
1436
1469
|
allow_multi_user_devices: boolean;
|
|
1437
1470
|
async_url_enrich_enabled: boolean;
|
|
1438
1471
|
auto_translation_enabled: boolean;
|
|
1472
|
+
before_message_send_hook_system_messages: boolean;
|
|
1439
1473
|
campaign_enabled: boolean;
|
|
1440
1474
|
cdn_expiration_seconds: number;
|
|
1441
1475
|
custom_action_handler_url: string;
|
|
@@ -1543,7 +1577,7 @@ export interface AppealItemResponse {
|
|
|
1543
1577
|
*/
|
|
1544
1578
|
ai_text_severity?: string;
|
|
1545
1579
|
/**
|
|
1546
|
-
* CID of the channel the entity belongs to,
|
|
1580
|
+
* CID of the channel the entity belongs to (content appeals), or of the channel ban being appealed (stream:user appeals). Empty for a global ban appeal.
|
|
1547
1581
|
*/
|
|
1548
1582
|
channel_cid?: string;
|
|
1549
1583
|
/**
|
|
@@ -1614,6 +1648,10 @@ export interface AppealRequest {
|
|
|
1614
1648
|
* Type of entity being appealed (e.g., message, user)
|
|
1615
1649
|
*/
|
|
1616
1650
|
entity_type: string;
|
|
1651
|
+
/**
|
|
1652
|
+
* CID of the channel ban being appealed. Only used when entity_type is stream:user; omit to appeal the global ban.
|
|
1653
|
+
*/
|
|
1654
|
+
channel_cid?: string;
|
|
1617
1655
|
/**
|
|
1618
1656
|
* ID of the review queue item (flagged message) that triggered the ban. Applicable only for user ban appeals.
|
|
1619
1657
|
*/
|
|
@@ -3787,11 +3825,19 @@ export interface ChannelBatchStartedEvent {
|
|
|
3787
3825
|
received_at?: Date;
|
|
3788
3826
|
}
|
|
3789
3827
|
export interface ChannelBatchUpdateRequest {
|
|
3790
|
-
operation: 'addMembers' | 'removeMembers' | 'inviteMembers' | 'invites' | 'assignRoles' | 'addModerators' | 'demoteModerators' | 'hide' | 'show' | 'archive' | 'unarchive' | 'updateData';
|
|
3828
|
+
operation: 'addMembers' | 'addMembersHideHistory' | 'removeMembers' | 'inviteMembers' | 'invites' | 'assignRoles' | 'addModerators' | 'demoteModerators' | 'hide' | 'show' | 'archive' | 'unarchive' | 'updateData';
|
|
3791
3829
|
/**
|
|
3792
3830
|
* Filter to apply to the query
|
|
3793
3831
|
*/
|
|
3794
3832
|
filter: Record<string, any>;
|
|
3833
|
+
/**
|
|
3834
|
+
* Required with the `addMembersHideHistory` operation, and rejected with every other operation including `addMembers`. Hides each matched channel's history before this time from the members the operation adds. Members that already belong to a matched channel are never affected. Must be in RFC3339 format (e.g., "2024-01-01T10:00:00Z") and in the past.
|
|
3835
|
+
*/
|
|
3836
|
+
hide_history_before?: Date;
|
|
3837
|
+
/**
|
|
3838
|
+
* For updateData only. Requires a root cids $eq or $in filter with at most 100 CIDs and no root $or/$and. Split larger selections into requests of at most 100 CIDs. A success_channels_count response means the database update completed; a task_id response means it was queued and must be polled, including on older API nodes.
|
|
3839
|
+
*/
|
|
3840
|
+
synchronous?: boolean;
|
|
3795
3841
|
/**
|
|
3796
3842
|
* `updateData` only. Deletes these keys from each channel's existing custom object, leaving every other custom key untouched. Keys are dot-paths; deleting a key that does not exist is a no-op. Cannot be combined with `data.custom`
|
|
3797
3843
|
*/
|
|
@@ -3804,10 +3850,14 @@ export interface ChannelBatchUpdateRequest {
|
|
|
3804
3850
|
data?: ChannelDataUpdate;
|
|
3805
3851
|
}
|
|
3806
3852
|
export interface ChannelBatchUpdateResponse {
|
|
3853
|
+
duration: string;
|
|
3807
3854
|
/**
|
|
3808
|
-
*
|
|
3855
|
+
* Positive count of channels selected for a completed synchronous database update, not an affected-row count. Concurrent deletion may reduce the rows written. task_id is absent.
|
|
3856
|
+
*/
|
|
3857
|
+
success_channels_count?: number;
|
|
3858
|
+
/**
|
|
3859
|
+
* Present for asynchronous updates. Poll this task even if synchronous was requested: an older API node may have queued the update.
|
|
3809
3860
|
*/
|
|
3810
|
-
duration: string;
|
|
3811
3861
|
task_id?: string;
|
|
3812
3862
|
}
|
|
3813
3863
|
export interface ChannelConfig {
|
|
@@ -5275,6 +5325,10 @@ export interface ClientEvent {
|
|
|
5275
5325
|
* Identifier of the SFU the client was attempting to connect to. Required on WSJoin and PeerConnectionConnect failure, and on FirstAudioFrame and FirstVideoFrame.
|
|
5276
5326
|
*/
|
|
5277
5327
|
sfu_id?: string;
|
|
5328
|
+
/**
|
|
5329
|
+
* Source of the coordinator join. Optional on CoordinatorJoin events; omitted when not provided.
|
|
5330
|
+
*/
|
|
5331
|
+
source?: string;
|
|
5278
5332
|
/**
|
|
5279
5333
|
* Discriminator identifying the event kind. JoinInitiated marks the start of a join attempt; join-lifecycle events use CoordinatorJoin, CoordinatorWS, WSJoin, or PeerConnectionConnect; media-readiness events use FirstAudioFrame or FirstVideoFrame; MediaDevicePermission reports device permission results; other values denote generic client events.
|
|
5280
5334
|
*/
|
|
@@ -6210,6 +6264,7 @@ export interface CreateFeedGroupRequest {
|
|
|
6210
6264
|
*/
|
|
6211
6265
|
activity_selectors?: Array<ActivitySelectorConfig>;
|
|
6212
6266
|
activity_filter?: ActivityFilterConfig;
|
|
6267
|
+
activity_marks?: ActivityMarksConfig;
|
|
6213
6268
|
activity_processing?: ActivityProcessingConfig;
|
|
6214
6269
|
aggregation?: AggregationConfig;
|
|
6215
6270
|
/**
|
|
@@ -6948,9 +7003,13 @@ export interface DeleteChannelsRequest {
|
|
|
6948
7003
|
*/
|
|
6949
7004
|
cids: Array<string>;
|
|
6950
7005
|
/**
|
|
6951
|
-
*
|
|
7006
|
+
* Server-side only. When true, the channels and all their resources are permanently deleted instead of soft-deleted.
|
|
6952
7007
|
*/
|
|
6953
7008
|
hard_delete?: boolean;
|
|
7009
|
+
/**
|
|
7010
|
+
* Server-side only. When true, the soft delete preserves message history instead of hiding it, so a later recreation of any of these channel IDs restores the full history. Only supported for distinct channels. Cannot be combined with hard_delete.
|
|
7011
|
+
*/
|
|
7012
|
+
skip_truncate?: boolean;
|
|
6954
7013
|
}
|
|
6955
7014
|
export interface DeleteChannelsResponse {
|
|
6956
7015
|
/**
|
|
@@ -7186,6 +7245,13 @@ export interface DeleteTranscriptionResponse {
|
|
|
7186
7245
|
*/
|
|
7187
7246
|
duration: string;
|
|
7188
7247
|
}
|
|
7248
|
+
export interface DeleteUserInterestsResponse {
|
|
7249
|
+
duration: string;
|
|
7250
|
+
/**
|
|
7251
|
+
* Interest tags still set on the user
|
|
7252
|
+
*/
|
|
7253
|
+
interests: Array<InterestTagResponse>;
|
|
7254
|
+
}
|
|
7189
7255
|
export interface DeleteUserMessagesRequestPayload {
|
|
7190
7256
|
/**
|
|
7191
7257
|
* Message deletion mode: soft, pruning, or hard
|
|
@@ -7990,6 +8056,7 @@ export interface FeedGroupResponse {
|
|
|
7990
8056
|
*/
|
|
7991
8057
|
activity_selectors?: Array<ActivitySelectorConfigResponse>;
|
|
7992
8058
|
activity_filter?: ActivityFilterConfig;
|
|
8059
|
+
activity_marks?: ActivityMarksConfig;
|
|
7993
8060
|
activity_processing?: ActivityProcessingConfig;
|
|
7994
8061
|
aggregation?: AggregationConfig;
|
|
7995
8062
|
/**
|
|
@@ -8876,8 +8943,10 @@ export interface FloodIdenticalConfig {
|
|
|
8876
8943
|
time_window?: string;
|
|
8877
8944
|
}
|
|
8878
8945
|
export interface FloodIdenticalRuleParameters {
|
|
8946
|
+
min_text_length?: number;
|
|
8879
8947
|
threshold?: number;
|
|
8880
8948
|
time_window?: string;
|
|
8949
|
+
track_across_users?: boolean;
|
|
8881
8950
|
allowlist?: Array<string>;
|
|
8882
8951
|
}
|
|
8883
8952
|
export interface FloodSimilarConfig {
|
|
@@ -9455,6 +9524,14 @@ export interface GetFeedsRateLimitsResponse {
|
|
|
9455
9524
|
* Rate limits for Unity platform (endpoint name -> limit info)
|
|
9456
9525
|
*/
|
|
9457
9526
|
unity?: Record<string, LimitInfoResponse>;
|
|
9527
|
+
/**
|
|
9528
|
+
* Rate limits for Unity console platform (endpoint name -> limit info)
|
|
9529
|
+
*/
|
|
9530
|
+
unity_console?: Record<string, LimitInfoResponse>;
|
|
9531
|
+
/**
|
|
9532
|
+
* Rate limits for Unity desktop platform (endpoint name -> limit info)
|
|
9533
|
+
*/
|
|
9534
|
+
unity_desktop?: Record<string, LimitInfoResponse>;
|
|
9458
9535
|
/**
|
|
9459
9536
|
* Rate limits for Web platform (endpoint name -> limit info)
|
|
9460
9537
|
*/
|
|
@@ -9630,6 +9707,7 @@ export interface GetOrCreateFeedGroupRequest {
|
|
|
9630
9707
|
*/
|
|
9631
9708
|
activity_selectors?: Array<ActivitySelectorConfig>;
|
|
9632
9709
|
activity_filter?: ActivityFilterConfig;
|
|
9710
|
+
activity_marks?: ActivityMarksConfig;
|
|
9633
9711
|
activity_processing?: ActivityProcessingConfig;
|
|
9634
9712
|
aggregation?: AggregationConfig;
|
|
9635
9713
|
/**
|
|
@@ -9798,6 +9876,14 @@ export interface GetRateLimitsResponse {
|
|
|
9798
9876
|
* Map of endpoint rate limits for the Unity platform
|
|
9799
9877
|
*/
|
|
9800
9878
|
unity?: Record<string, LimitInfoResponse>;
|
|
9879
|
+
/**
|
|
9880
|
+
* Map of endpoint rate limits for the Unity console platform
|
|
9881
|
+
*/
|
|
9882
|
+
unity_console?: Record<string, LimitInfoResponse>;
|
|
9883
|
+
/**
|
|
9884
|
+
* Map of endpoint rate limits for the Unity desktop platform
|
|
9885
|
+
*/
|
|
9886
|
+
unity_desktop?: Record<string, LimitInfoResponse>;
|
|
9801
9887
|
/**
|
|
9802
9888
|
* Map of endpoint rate limits for the web platform
|
|
9803
9889
|
*/
|
|
@@ -9890,7 +9976,7 @@ export interface GetUserGroupResponse {
|
|
|
9890
9976
|
export interface GetUserInterestsResponse {
|
|
9891
9977
|
duration: string;
|
|
9892
9978
|
/**
|
|
9893
|
-
*
|
|
9979
|
+
* Interest tags sorted by descending weight, then manually set tags before computed ones, then descending count, then alphabetically by tag
|
|
9894
9980
|
*/
|
|
9895
9981
|
interests: Array<InterestTagResponse>;
|
|
9896
9982
|
}
|
|
@@ -10371,13 +10457,21 @@ export interface InsertActionLogResponse {
|
|
|
10371
10457
|
}
|
|
10372
10458
|
export interface InterestTagResponse {
|
|
10373
10459
|
/**
|
|
10374
|
-
*
|
|
10460
|
+
* Lifetime number of distinct reacted-to activities tagged with this value, without decay; 0 for manually set tags
|
|
10375
10461
|
*/
|
|
10376
10462
|
count: number;
|
|
10463
|
+
/**
|
|
10464
|
+
* How the tag was set: computed (from the user's reactions) or manual (through the API)
|
|
10465
|
+
*/
|
|
10466
|
+
source: string;
|
|
10377
10467
|
/**
|
|
10378
10468
|
* The interest tag value
|
|
10379
10469
|
*/
|
|
10380
10470
|
tag: string;
|
|
10471
|
+
/**
|
|
10472
|
+
* Ranking weight between -1.0 and 1.0. Computed tags carry a recency-decayed weight in (0, 1.0]: the user's strongest tag is 1.0 and every other a proportional share
|
|
10473
|
+
*/
|
|
10474
|
+
weight: number;
|
|
10381
10475
|
}
|
|
10382
10476
|
export interface JoinCallAPIMetrics {
|
|
10383
10477
|
failures: number;
|
|
@@ -10552,7 +10646,7 @@ export interface LabelsRequest {
|
|
|
10552
10646
|
*/
|
|
10553
10647
|
dry_run?: boolean;
|
|
10554
10648
|
/**
|
|
10555
|
-
* Optional moderation policy key (max 128 chars). For username moderation, set this to a policy whose key starts with 'username:' (e.g. 'username:default') to opt into the low-latency fast-path: blocklists (customer + Stream-managed defaults) short-circuit the LLM, and the LLM fallback uses gpt-
|
|
10649
|
+
* Optional moderation policy key (max 128 chars). For username moderation, set this to a policy whose key starts with 'username:' (e.g. 'username:default') to opt into the low-latency fast-path: blocklists (customer + Stream-managed defaults) short-circuit the LLM, and the LLM fallback uses gpt-4o-mini (overridable via moderation_settings.llm_username_model) with a 24h Valkey verdict cache. Without a 'username:' prefix the request falls through to the standard Bodyguard Analyze v1 username path.
|
|
10556
10650
|
*/
|
|
10557
10651
|
policy?: string;
|
|
10558
10652
|
/**
|
|
@@ -12284,6 +12378,7 @@ export interface ModerationDashboardPreferences {
|
|
|
12284
12378
|
async_review_queue_upsert?: boolean;
|
|
12285
12379
|
block_foreign_cdn_attachments?: boolean;
|
|
12286
12380
|
custom_views_enabled?: boolean;
|
|
12381
|
+
disable_action_logs?: boolean;
|
|
12287
12382
|
disable_audit_logs?: boolean;
|
|
12288
12383
|
disable_flagging_reviewed_entity?: boolean;
|
|
12289
12384
|
enforce_shadow_server_side?: boolean;
|
|
@@ -13062,6 +13157,10 @@ export interface PagerResponse {
|
|
|
13062
13157
|
prev?: string;
|
|
13063
13158
|
}
|
|
13064
13159
|
export interface PaginationParams {
|
|
13160
|
+
id_gt?: number;
|
|
13161
|
+
id_gte?: number;
|
|
13162
|
+
id_lt?: number;
|
|
13163
|
+
id_lte?: number;
|
|
13065
13164
|
limit?: number;
|
|
13066
13165
|
offset?: number;
|
|
13067
13166
|
}
|
|
@@ -13991,6 +14090,10 @@ export interface QueryBannedUsersPayload {
|
|
|
13991
14090
|
* Filter conditions to apply to the query
|
|
13992
14091
|
*/
|
|
13993
14092
|
filter_conditions: Record<string, any>;
|
|
14093
|
+
created_at_after?: Date;
|
|
14094
|
+
created_at_after_or_equal?: Date;
|
|
14095
|
+
created_at_before?: Date;
|
|
14096
|
+
created_at_before_or_equal?: Date;
|
|
13994
14097
|
/**
|
|
13995
14098
|
* Whether to exclude expired bans or not
|
|
13996
14099
|
*/
|
|
@@ -14592,6 +14695,10 @@ export interface QueryFollowsResponse {
|
|
|
14592
14695
|
prev?: string;
|
|
14593
14696
|
}
|
|
14594
14697
|
export interface QueryFutureChannelBansPayload {
|
|
14698
|
+
created_at_after?: Date;
|
|
14699
|
+
created_at_after_or_equal?: Date;
|
|
14700
|
+
created_at_before?: Date;
|
|
14701
|
+
created_at_before_or_equal?: Date;
|
|
14595
14702
|
/**
|
|
14596
14703
|
* Whether to exclude expired bans or not
|
|
14597
14704
|
*/
|
|
@@ -14661,10 +14768,18 @@ export interface QueryLabelResultsResponse {
|
|
|
14661
14768
|
}
|
|
14662
14769
|
export interface QueryMembersPayload {
|
|
14663
14770
|
type: string;
|
|
14771
|
+
created_at_after?: Date;
|
|
14772
|
+
created_at_after_or_equal?: Date;
|
|
14773
|
+
created_at_before?: Date;
|
|
14774
|
+
created_at_before_or_equal?: Date;
|
|
14664
14775
|
id?: string;
|
|
14665
14776
|
limit?: number;
|
|
14666
14777
|
offset?: number;
|
|
14667
14778
|
user_id?: string;
|
|
14779
|
+
user_id_gt?: string;
|
|
14780
|
+
user_id_gte?: string;
|
|
14781
|
+
user_id_lt?: string;
|
|
14782
|
+
user_id_lte?: string;
|
|
14668
14783
|
members?: Array<ChannelMemberRequest>;
|
|
14669
14784
|
/**
|
|
14670
14785
|
* Array of sort parameters
|
|
@@ -15266,6 +15381,10 @@ export interface QueryUsersPayload {
|
|
|
15266
15381
|
* Filter conditions to apply to the query
|
|
15267
15382
|
*/
|
|
15268
15383
|
filter_conditions: Record<string, any>;
|
|
15384
|
+
id_gt?: string;
|
|
15385
|
+
id_gte?: string;
|
|
15386
|
+
id_lt?: string;
|
|
15387
|
+
id_lte?: string;
|
|
15269
15388
|
include_deactivated_users?: boolean;
|
|
15270
15389
|
limit?: number;
|
|
15271
15390
|
offset?: number;
|
|
@@ -16178,6 +16297,10 @@ export interface ReviewQueueItemResponse {
|
|
|
16178
16297
|
* When the review was completed
|
|
16179
16298
|
*/
|
|
16180
16299
|
completed_at?: Date;
|
|
16300
|
+
/**
|
|
16301
|
+
* Highest per-label confidence (0-1) any provider reported across the item's flags; absent when no flag carried one
|
|
16302
|
+
*/
|
|
16303
|
+
confidence_score?: number;
|
|
16181
16304
|
config_key?: string;
|
|
16182
16305
|
/**
|
|
16183
16306
|
* ID of who created the entity
|
|
@@ -16339,6 +16462,8 @@ export interface RuleBuilderCondition {
|
|
|
16339
16462
|
user_custom_property_params?: UserCustomPropertyParameters;
|
|
16340
16463
|
user_flag_count_rule_params?: FlagCountRuleParameters;
|
|
16341
16464
|
user_identical_content_count_params?: UserIdenticalContentCountParameters;
|
|
16465
|
+
user_identical_image_count_params?: UserIdenticalImageCountParameters;
|
|
16466
|
+
user_reaction_count_params?: UserReactionCountRuleParameters;
|
|
16342
16467
|
user_role_params?: UserRoleParameters;
|
|
16343
16468
|
user_rule_params?: UserRuleParameters;
|
|
16344
16469
|
video_content_params?: VideoContentParameters;
|
|
@@ -16363,6 +16488,7 @@ export interface RuleBuilderRule {
|
|
|
16363
16488
|
action?: RuleBuilderAction;
|
|
16364
16489
|
}
|
|
16365
16490
|
export interface RunStats {
|
|
16491
|
+
activities_deleted?: number;
|
|
16366
16492
|
channels_deleted?: number;
|
|
16367
16493
|
messages_deleted?: number;
|
|
16368
16494
|
}
|
|
@@ -19195,6 +19321,7 @@ export interface UpdateFeedGroupRequest {
|
|
|
19195
19321
|
*/
|
|
19196
19322
|
activity_selectors?: Array<ActivitySelectorConfig>;
|
|
19197
19323
|
activity_filter?: ActivityFilterConfig;
|
|
19324
|
+
activity_marks?: ActivityMarksConfig;
|
|
19198
19325
|
activity_processing?: ActivityProcessingConfig;
|
|
19199
19326
|
aggregation?: AggregationConfig;
|
|
19200
19327
|
/**
|
|
@@ -20151,6 +20278,19 @@ export interface UpsertSetupSessionResponse {
|
|
|
20151
20278
|
duration: string;
|
|
20152
20279
|
setup_session?: SetupSession;
|
|
20153
20280
|
}
|
|
20281
|
+
export interface UpsertUserInterestsRequest {
|
|
20282
|
+
/**
|
|
20283
|
+
* Interest tags to add or update (1-50)
|
|
20284
|
+
*/
|
|
20285
|
+
interests: Array<UserInterestRequest>;
|
|
20286
|
+
}
|
|
20287
|
+
export interface UpsertUserInterestsResponse {
|
|
20288
|
+
duration: string;
|
|
20289
|
+
/**
|
|
20290
|
+
* All interest tags of the user after the write
|
|
20291
|
+
*/
|
|
20292
|
+
interests: Array<InterestTagResponse>;
|
|
20293
|
+
}
|
|
20154
20294
|
export interface User {
|
|
20155
20295
|
id: string;
|
|
20156
20296
|
data?: Record<string, any>;
|
|
@@ -20420,6 +20560,22 @@ export interface UserIdenticalContentCountParameters {
|
|
|
20420
20560
|
threshold?: number;
|
|
20421
20561
|
time_window?: string;
|
|
20422
20562
|
}
|
|
20563
|
+
export interface UserIdenticalImageCountParameters {
|
|
20564
|
+
match?: string;
|
|
20565
|
+
similarity_distance?: number;
|
|
20566
|
+
threshold?: number;
|
|
20567
|
+
time_window?: string;
|
|
20568
|
+
}
|
|
20569
|
+
export interface UserInterestRequest {
|
|
20570
|
+
/**
|
|
20571
|
+
* The interest tag; trimmed and lower-cased like activity interest_tags
|
|
20572
|
+
*/
|
|
20573
|
+
tag: string;
|
|
20574
|
+
/**
|
|
20575
|
+
* Ranking weight between -1.0 (dislike) and 1.0 (like). Defaults to 1.0
|
|
20576
|
+
*/
|
|
20577
|
+
weight?: number;
|
|
20578
|
+
}
|
|
20423
20579
|
export interface UserMessagesDeletedEvent {
|
|
20424
20580
|
/**
|
|
20425
20581
|
* Date/time of creation
|
|
@@ -20491,6 +20647,11 @@ export interface UserRatingReportResponse {
|
|
|
20491
20647
|
average: number;
|
|
20492
20648
|
count: number;
|
|
20493
20649
|
}
|
|
20650
|
+
export interface UserReactionCountRuleParameters {
|
|
20651
|
+
count?: string;
|
|
20652
|
+
threshold?: number;
|
|
20653
|
+
time_window?: string;
|
|
20654
|
+
}
|
|
20494
20655
|
export interface UserReactivatedEvent {
|
|
20495
20656
|
/**
|
|
20496
20657
|
* Date/time of creation
|
|
@@ -21246,6 +21407,12 @@ export interface WebhookFailoverConfig {
|
|
|
21246
21407
|
gcs_bucket?: string;
|
|
21247
21408
|
gcs_credentials?: string;
|
|
21248
21409
|
gcs_path?: string;
|
|
21410
|
+
s3_api_key?: string;
|
|
21411
|
+
s3_bucket?: string;
|
|
21412
|
+
s3_path?: string;
|
|
21413
|
+
s3_region?: string;
|
|
21414
|
+
s3_role_arn?: string;
|
|
21415
|
+
s3_secret?: string;
|
|
21249
21416
|
type?: string;
|
|
21250
21417
|
}
|
|
21251
21418
|
export interface WrappedUnreadCountsResponse {
|
package/package.json
CHANGED
package/src/gen/chat/ChatApi.ts
CHANGED
|
@@ -391,6 +391,8 @@ export class ChatApi {
|
|
|
391
391
|
const body = {
|
|
392
392
|
operation: request?.operation,
|
|
393
393
|
filter: request?.filter,
|
|
394
|
+
hide_history_before: request?.hide_history_before,
|
|
395
|
+
synchronous: request?.synchronous,
|
|
394
396
|
custom_unset: request?.custom_unset,
|
|
395
397
|
members: request?.members,
|
|
396
398
|
custom_set: request?.custom_set,
|
|
@@ -419,6 +421,7 @@ export class ChatApi {
|
|
|
419
421
|
const body = {
|
|
420
422
|
cids: request?.cids,
|
|
421
423
|
hard_delete: request?.hard_delete,
|
|
424
|
+
skip_truncate: request?.skip_truncate,
|
|
422
425
|
};
|
|
423
426
|
|
|
424
427
|
const response = await this.apiClient.sendRequest<
|
|
@@ -551,9 +554,11 @@ export class ChatApi {
|
|
|
551
554
|
type: string;
|
|
552
555
|
id: string;
|
|
553
556
|
hard_delete?: boolean;
|
|
557
|
+
skip_truncate?: boolean;
|
|
554
558
|
}): Promise<StreamResponse<DeleteChannelResponse>> {
|
|
555
559
|
const queryParams = {
|
|
556
560
|
hard_delete: request?.hard_delete,
|
|
561
|
+
skip_truncate: request?.skip_truncate,
|
|
557
562
|
};
|
|
558
563
|
const pathParams = {
|
|
559
564
|
type: request?.type,
|
|
@@ -1257,7 +1257,11 @@ export class CommonApi {
|
|
|
1257
1257
|
async getPollOption(request: {
|
|
1258
1258
|
poll_id: string;
|
|
1259
1259
|
option_id: string;
|
|
1260
|
+
user_id?: string;
|
|
1260
1261
|
}): Promise<StreamResponse<PollOptionResponse>> {
|
|
1262
|
+
const queryParams = {
|
|
1263
|
+
user_id: request?.user_id,
|
|
1264
|
+
};
|
|
1261
1265
|
const pathParams = {
|
|
1262
1266
|
poll_id: request?.poll_id,
|
|
1263
1267
|
option_id: request?.option_id,
|
|
@@ -1269,7 +1273,7 @@ export class CommonApi {
|
|
|
1269
1273
|
'GET',
|
|
1270
1274
|
'/api/v2/polls/{poll_id}/options/{option_id}',
|
|
1271
1275
|
pathParams,
|
|
1272
|
-
|
|
1276
|
+
queryParams,
|
|
1273
1277
|
);
|
|
1274
1278
|
|
|
1275
1279
|
decoders['PollOptionResponse']?.(response.body);
|
|
@@ -1440,6 +1444,8 @@ export class CommonApi {
|
|
|
1440
1444
|
ios?: boolean;
|
|
1441
1445
|
web?: boolean;
|
|
1442
1446
|
unity?: boolean;
|
|
1447
|
+
unity_desktop?: boolean;
|
|
1448
|
+
unity_console?: boolean;
|
|
1443
1449
|
endpoints?: string;
|
|
1444
1450
|
}): Promise<StreamResponse<GetRateLimitsResponse>> {
|
|
1445
1451
|
const queryParams = {
|
|
@@ -1448,6 +1454,8 @@ export class CommonApi {
|
|
|
1448
1454
|
ios: request?.ios,
|
|
1449
1455
|
web: request?.web,
|
|
1450
1456
|
unity: request?.unity,
|
|
1457
|
+
unity_desktop: request?.unity_desktop,
|
|
1458
|
+
unity_console: request?.unity_console,
|
|
1451
1459
|
endpoints: request?.endpoints,
|
|
1452
1460
|
};
|
|
1453
1461
|
|