@globalscoutme/api-client 1.1.29 → 1.2.1
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/README.md +334 -303
- package/client/client.gen.ts +0 -1
- package/dist/client/client.gen.js +0 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1 -1
- package/dist/sdk.gen.d.ts +18 -1
- package/dist/sdk.gen.js +66 -0
- package/dist/types.gen.d.ts +202 -0
- package/index.ts +45 -0
- package/package.json +1 -1
- package/sdk.gen.ts +158 -0
- package/tsconfig.json +2 -1
- package/types.gen.ts +257 -0
package/sdk.gen.ts
CHANGED
|
@@ -73,6 +73,12 @@ import type {
|
|
|
73
73
|
GetApiDocumentsMeData,
|
|
74
74
|
GetApiDocumentsMeErrors,
|
|
75
75
|
GetApiDocumentsMeResponses,
|
|
76
|
+
GetApiGlobalChatMessagesData,
|
|
77
|
+
GetApiGlobalChatMessagesResponses,
|
|
78
|
+
GetApiGlobalChatStatusData,
|
|
79
|
+
GetApiGlobalChatStatusResponses,
|
|
80
|
+
GetApiGlobalChatTimelineData,
|
|
81
|
+
GetApiGlobalChatTimelineResponses,
|
|
76
82
|
GetApiIndexByTableNameData,
|
|
77
83
|
GetApiIndexByTableNameErrors,
|
|
78
84
|
GetApiIndexByTableNameResponses,
|
|
@@ -81,6 +87,8 @@ import type {
|
|
|
81
87
|
GetApiIndexCountriesResponses,
|
|
82
88
|
GetApiInvitationsData,
|
|
83
89
|
GetApiInvitationsResponses,
|
|
90
|
+
GetApiKycMobileReturnData,
|
|
91
|
+
GetApiKycMobileReturnResponses,
|
|
84
92
|
GetApiKycStatusByUserIdData,
|
|
85
93
|
GetApiKycStatusByUserIdErrors,
|
|
86
94
|
GetApiKycStatusByUserIdResponses,
|
|
@@ -159,6 +167,10 @@ import type {
|
|
|
159
167
|
PatchApiClubsMeByIdData,
|
|
160
168
|
PatchApiClubsMeByIdErrors,
|
|
161
169
|
PatchApiClubsMeByIdResponses,
|
|
170
|
+
PatchApiGlobalChatNotificationsData,
|
|
171
|
+
PatchApiGlobalChatNotificationsResponses,
|
|
172
|
+
PatchApiGlobalChatReadData,
|
|
173
|
+
PatchApiGlobalChatReadResponses,
|
|
162
174
|
PatchApiNotificationsPreferencesData,
|
|
163
175
|
PatchApiNotificationsPreferencesResponses,
|
|
164
176
|
PatchApiOffersConversationsByIdReadData,
|
|
@@ -196,6 +208,14 @@ import type {
|
|
|
196
208
|
PostApiDocumentsData,
|
|
197
209
|
PostApiDocumentsErrors,
|
|
198
210
|
PostApiDocumentsResponses,
|
|
211
|
+
PostApiGlobalChatJoinData,
|
|
212
|
+
PostApiGlobalChatJoinResponses,
|
|
213
|
+
PostApiGlobalChatLeaveData,
|
|
214
|
+
PostApiGlobalChatLeaveResponses,
|
|
215
|
+
PostApiGlobalChatMessagesByMessageIdReportData,
|
|
216
|
+
PostApiGlobalChatMessagesByMessageIdReportResponses,
|
|
217
|
+
PostApiGlobalChatMessagesData,
|
|
218
|
+
PostApiGlobalChatMessagesResponses,
|
|
199
219
|
PostApiInvitationsAcceptData,
|
|
200
220
|
PostApiInvitationsAcceptResponses,
|
|
201
221
|
PostApiInvitationsByIdResendData,
|
|
@@ -1216,6 +1236,19 @@ export class Invitations extends HeyApiClient {
|
|
|
1216
1236
|
}
|
|
1217
1237
|
|
|
1218
1238
|
export class Kyc extends HeyApiClient {
|
|
1239
|
+
/**
|
|
1240
|
+
* Return a Smile Link browser session to the mobile app
|
|
1241
|
+
*/
|
|
1242
|
+
public returnToMobileKyc<ThrowOnError extends boolean = false>(
|
|
1243
|
+
options: Options<GetApiKycMobileReturnData, ThrowOnError>
|
|
1244
|
+
) {
|
|
1245
|
+
return (options.client ?? this.client).get<
|
|
1246
|
+
GetApiKycMobileReturnResponses,
|
|
1247
|
+
unknown,
|
|
1248
|
+
ThrowOnError
|
|
1249
|
+
>({ url: '/api/kyc/mobile-return', ...options });
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1219
1252
|
/**
|
|
1220
1253
|
* Start or resume a KYC verification job
|
|
1221
1254
|
*/
|
|
@@ -1685,6 +1718,126 @@ export class Subscriptions extends HeyApiClient {
|
|
|
1685
1718
|
}
|
|
1686
1719
|
}
|
|
1687
1720
|
|
|
1721
|
+
export class GlobalChat extends HeyApiClient {
|
|
1722
|
+
public getGlobalChatStatus<ThrowOnError extends boolean = false>(
|
|
1723
|
+
options?: Options<GetApiGlobalChatStatusData, ThrowOnError>
|
|
1724
|
+
) {
|
|
1725
|
+
return (options?.client ?? this.client).get<
|
|
1726
|
+
GetApiGlobalChatStatusResponses,
|
|
1727
|
+
unknown,
|
|
1728
|
+
ThrowOnError
|
|
1729
|
+
>({ url: '/api/global-chat/status', ...options });
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
public joinGlobalChat<ThrowOnError extends boolean = false>(
|
|
1733
|
+
options: Options<PostApiGlobalChatJoinData, ThrowOnError>
|
|
1734
|
+
) {
|
|
1735
|
+
return (options.client ?? this.client).post<
|
|
1736
|
+
PostApiGlobalChatJoinResponses,
|
|
1737
|
+
unknown,
|
|
1738
|
+
ThrowOnError
|
|
1739
|
+
>({
|
|
1740
|
+
url: '/api/global-chat/join',
|
|
1741
|
+
...options,
|
|
1742
|
+
headers: {
|
|
1743
|
+
'Content-Type': 'application/json',
|
|
1744
|
+
...options.headers,
|
|
1745
|
+
},
|
|
1746
|
+
});
|
|
1747
|
+
}
|
|
1748
|
+
|
|
1749
|
+
public leaveGlobalChat<ThrowOnError extends boolean = false>(
|
|
1750
|
+
options?: Options<PostApiGlobalChatLeaveData, ThrowOnError>
|
|
1751
|
+
) {
|
|
1752
|
+
return (options?.client ?? this.client).post<
|
|
1753
|
+
PostApiGlobalChatLeaveResponses,
|
|
1754
|
+
unknown,
|
|
1755
|
+
ThrowOnError
|
|
1756
|
+
>({ url: '/api/global-chat/leave', ...options });
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1759
|
+
public listGlobalChatMessages<ThrowOnError extends boolean = false>(
|
|
1760
|
+
options?: Options<GetApiGlobalChatMessagesData, ThrowOnError>
|
|
1761
|
+
) {
|
|
1762
|
+
return (options?.client ?? this.client).get<
|
|
1763
|
+
GetApiGlobalChatMessagesResponses,
|
|
1764
|
+
unknown,
|
|
1765
|
+
ThrowOnError
|
|
1766
|
+
>({ url: '/api/global-chat/messages', ...options });
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1769
|
+
public sendGlobalChatMessage<ThrowOnError extends boolean = false>(
|
|
1770
|
+
options: Options<PostApiGlobalChatMessagesData, ThrowOnError>
|
|
1771
|
+
) {
|
|
1772
|
+
return (options.client ?? this.client).post<
|
|
1773
|
+
PostApiGlobalChatMessagesResponses,
|
|
1774
|
+
unknown,
|
|
1775
|
+
ThrowOnError
|
|
1776
|
+
>({
|
|
1777
|
+
url: '/api/global-chat/messages',
|
|
1778
|
+
...options,
|
|
1779
|
+
headers: {
|
|
1780
|
+
'Content-Type': 'application/json',
|
|
1781
|
+
...options.headers,
|
|
1782
|
+
},
|
|
1783
|
+
});
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
public listGlobalChatTimeline<ThrowOnError extends boolean = false>(
|
|
1787
|
+
options?: Options<GetApiGlobalChatTimelineData, ThrowOnError>
|
|
1788
|
+
) {
|
|
1789
|
+
return (options?.client ?? this.client).get<
|
|
1790
|
+
GetApiGlobalChatTimelineResponses,
|
|
1791
|
+
unknown,
|
|
1792
|
+
ThrowOnError
|
|
1793
|
+
>({ url: '/api/global-chat/timeline', ...options });
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
public markGlobalChatRead<ThrowOnError extends boolean = false>(
|
|
1797
|
+
options: Options<PatchApiGlobalChatReadData, ThrowOnError>
|
|
1798
|
+
) {
|
|
1799
|
+
return (options.client ?? this.client).patch<
|
|
1800
|
+
PatchApiGlobalChatReadResponses,
|
|
1801
|
+
unknown,
|
|
1802
|
+
ThrowOnError
|
|
1803
|
+
>({
|
|
1804
|
+
url: '/api/global-chat/read',
|
|
1805
|
+
...options,
|
|
1806
|
+
headers: {
|
|
1807
|
+
'Content-Type': 'application/json',
|
|
1808
|
+
...options.headers,
|
|
1809
|
+
},
|
|
1810
|
+
});
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
public reportGlobalChatMessage<ThrowOnError extends boolean = false>(
|
|
1814
|
+
options: Options<PostApiGlobalChatMessagesByMessageIdReportData, ThrowOnError>
|
|
1815
|
+
) {
|
|
1816
|
+
return (options.client ?? this.client).post<
|
|
1817
|
+
PostApiGlobalChatMessagesByMessageIdReportResponses,
|
|
1818
|
+
unknown,
|
|
1819
|
+
ThrowOnError
|
|
1820
|
+
>({ url: '/api/global-chat/messages/{messageId}/report', ...options });
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
public updateGlobalChatNotifications<ThrowOnError extends boolean = false>(
|
|
1824
|
+
options: Options<PatchApiGlobalChatNotificationsData, ThrowOnError>
|
|
1825
|
+
) {
|
|
1826
|
+
return (options.client ?? this.client).patch<
|
|
1827
|
+
PatchApiGlobalChatNotificationsResponses,
|
|
1828
|
+
unknown,
|
|
1829
|
+
ThrowOnError
|
|
1830
|
+
>({
|
|
1831
|
+
url: '/api/global-chat/notifications',
|
|
1832
|
+
...options,
|
|
1833
|
+
headers: {
|
|
1834
|
+
'Content-Type': 'application/json',
|
|
1835
|
+
...options.headers,
|
|
1836
|
+
},
|
|
1837
|
+
});
|
|
1838
|
+
}
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1688
1841
|
export class GlobalScoutMeClient extends HeyApiClient {
|
|
1689
1842
|
public static readonly __registry = new HeyApiRegistry<GlobalScoutMeClient>();
|
|
1690
1843
|
|
|
@@ -1817,4 +1970,9 @@ export class GlobalScoutMeClient extends HeyApiClient {
|
|
|
1817
1970
|
get subscriptions(): Subscriptions {
|
|
1818
1971
|
return (this._subscriptions ??= new Subscriptions({ client: this.client }));
|
|
1819
1972
|
}
|
|
1973
|
+
|
|
1974
|
+
private _globalChat?: GlobalChat;
|
|
1975
|
+
get globalChat(): GlobalChat {
|
|
1976
|
+
return (this._globalChat ??= new GlobalChat({ client: this.client }));
|
|
1977
|
+
}
|
|
1820
1978
|
}
|
package/tsconfig.json
CHANGED
package/types.gen.ts
CHANGED
|
@@ -2684,6 +2684,113 @@ export type PortalResultDto = {
|
|
|
2684
2684
|
url: string;
|
|
2685
2685
|
};
|
|
2686
2686
|
|
|
2687
|
+
export type GlobalChatTimelineMessageDto = {
|
|
2688
|
+
id: string;
|
|
2689
|
+
senderId: string;
|
|
2690
|
+
senderDisplayName: string;
|
|
2691
|
+
senderAvatarUrl: string | null;
|
|
2692
|
+
body: string;
|
|
2693
|
+
createdAt: string;
|
|
2694
|
+
isOwnMessage: boolean;
|
|
2695
|
+
clientMessageId: string;
|
|
2696
|
+
kind: 'message';
|
|
2697
|
+
sortCreatedAt: string;
|
|
2698
|
+
};
|
|
2699
|
+
|
|
2700
|
+
export type GlobalChatTimelineSystemDto = {
|
|
2701
|
+
kind: 'system';
|
|
2702
|
+
id: string;
|
|
2703
|
+
eventType: 'member_joined' | 'member_removed_after_reports';
|
|
2704
|
+
subjectDisplayName: string | null;
|
|
2705
|
+
createdAt: string;
|
|
2706
|
+
sortCreatedAt: string;
|
|
2707
|
+
};
|
|
2708
|
+
|
|
2709
|
+
export type GlobalChatMessageDto = {
|
|
2710
|
+
id: string;
|
|
2711
|
+
senderId: string;
|
|
2712
|
+
senderDisplayName: string;
|
|
2713
|
+
senderAvatarUrl: string | null;
|
|
2714
|
+
body: string;
|
|
2715
|
+
createdAt: string;
|
|
2716
|
+
isOwnMessage: boolean;
|
|
2717
|
+
clientMessageId: string;
|
|
2718
|
+
};
|
|
2719
|
+
|
|
2720
|
+
export type GlobalChatStatusDto = {
|
|
2721
|
+
available: boolean;
|
|
2722
|
+
eligibility: 'eligible' | 'underage' | 'incomplete' | 'wrong_role' | 'inactive';
|
|
2723
|
+
membership: 'not_joined' | 'active' | 'left' | 'excluded' | 'rules_required';
|
|
2724
|
+
rulesVersion: number;
|
|
2725
|
+
notificationsEnabled: boolean;
|
|
2726
|
+
masterPushEnabled: boolean;
|
|
2727
|
+
unreadCount: number;
|
|
2728
|
+
latestMessage: GlobalChatMessageDto | null;
|
|
2729
|
+
};
|
|
2730
|
+
|
|
2731
|
+
export type JoinGlobalChatDto = {
|
|
2732
|
+
acceptedRulesVersion?: number;
|
|
2733
|
+
rulesLocale?: string;
|
|
2734
|
+
notificationsEnabled: boolean;
|
|
2735
|
+
};
|
|
2736
|
+
|
|
2737
|
+
export type JoinGlobalChatResultDto = {
|
|
2738
|
+
available: boolean;
|
|
2739
|
+
eligibility: 'eligible' | 'underage' | 'incomplete' | 'wrong_role' | 'inactive';
|
|
2740
|
+
membership: 'not_joined' | 'active' | 'left' | 'excluded' | 'rules_required';
|
|
2741
|
+
rulesVersion: number;
|
|
2742
|
+
notificationsEnabled: boolean;
|
|
2743
|
+
masterPushEnabled: boolean;
|
|
2744
|
+
unreadCount: number;
|
|
2745
|
+
latestMessage: GlobalChatMessageDto | null;
|
|
2746
|
+
becameActive: boolean;
|
|
2747
|
+
};
|
|
2748
|
+
|
|
2749
|
+
export type GlobalChatActionDto = {
|
|
2750
|
+
ok: boolean;
|
|
2751
|
+
};
|
|
2752
|
+
|
|
2753
|
+
export type GlobalChatMessageCursorDto = {
|
|
2754
|
+
createdAt: string;
|
|
2755
|
+
id: string;
|
|
2756
|
+
};
|
|
2757
|
+
|
|
2758
|
+
export type GlobalChatMessagePageDto = {
|
|
2759
|
+
messages: Array<GlobalChatMessageDto>;
|
|
2760
|
+
nextCursor: GlobalChatMessageCursorDto | null;
|
|
2761
|
+
};
|
|
2762
|
+
|
|
2763
|
+
export type GlobalChatTimelineCursorDto = {
|
|
2764
|
+
createdAt: string;
|
|
2765
|
+
id: string;
|
|
2766
|
+
kind: 'message' | 'system';
|
|
2767
|
+
};
|
|
2768
|
+
|
|
2769
|
+
export type GlobalChatTimelinePageDto = {
|
|
2770
|
+
items: Array<
|
|
2771
|
+
| ({
|
|
2772
|
+
kind: 'message';
|
|
2773
|
+
} & GlobalChatTimelineMessageDto)
|
|
2774
|
+
| ({
|
|
2775
|
+
kind: 'system';
|
|
2776
|
+
} & GlobalChatTimelineSystemDto)
|
|
2777
|
+
>;
|
|
2778
|
+
nextCursor: GlobalChatTimelineCursorDto | null;
|
|
2779
|
+
};
|
|
2780
|
+
|
|
2781
|
+
export type SendGlobalChatMessageDto = {
|
|
2782
|
+
body: string;
|
|
2783
|
+
clientMessageId: string;
|
|
2784
|
+
};
|
|
2785
|
+
|
|
2786
|
+
export type MarkGlobalChatReadDto = {
|
|
2787
|
+
messageId: string;
|
|
2788
|
+
};
|
|
2789
|
+
|
|
2790
|
+
export type UpdateGlobalChatNotificationsDto = {
|
|
2791
|
+
notificationsEnabled: boolean;
|
|
2792
|
+
};
|
|
2793
|
+
|
|
2687
2794
|
export type GetApiAuthMeData = {
|
|
2688
2795
|
body?: never;
|
|
2689
2796
|
path?: never;
|
|
@@ -4206,6 +4313,19 @@ export type PostApiInvitationsAcceptResponses = {
|
|
|
4206
4313
|
export type PostApiInvitationsAcceptResponse =
|
|
4207
4314
|
PostApiInvitationsAcceptResponses[keyof PostApiInvitationsAcceptResponses];
|
|
4208
4315
|
|
|
4316
|
+
export type GetApiKycMobileReturnData = {
|
|
4317
|
+
body?: never;
|
|
4318
|
+
path?: never;
|
|
4319
|
+
query: {
|
|
4320
|
+
status: string;
|
|
4321
|
+
};
|
|
4322
|
+
url: '/api/kyc/mobile-return';
|
|
4323
|
+
};
|
|
4324
|
+
|
|
4325
|
+
export type GetApiKycMobileReturnResponses = {
|
|
4326
|
+
200: unknown;
|
|
4327
|
+
};
|
|
4328
|
+
|
|
4209
4329
|
export type PostApiKycStartData = {
|
|
4210
4330
|
body: StartKycRequestDto;
|
|
4211
4331
|
path?: never;
|
|
@@ -4992,3 +5112,140 @@ export type PostApiSubscriptionsWebhookResponses = {
|
|
|
4992
5112
|
*/
|
|
4993
5113
|
200: unknown;
|
|
4994
5114
|
};
|
|
5115
|
+
|
|
5116
|
+
export type GetApiGlobalChatStatusData = {
|
|
5117
|
+
body?: never;
|
|
5118
|
+
path?: never;
|
|
5119
|
+
query?: never;
|
|
5120
|
+
url: '/api/global-chat/status';
|
|
5121
|
+
};
|
|
5122
|
+
|
|
5123
|
+
export type GetApiGlobalChatStatusResponses = {
|
|
5124
|
+
200: GlobalChatStatusDto;
|
|
5125
|
+
};
|
|
5126
|
+
|
|
5127
|
+
export type GetApiGlobalChatStatusResponse =
|
|
5128
|
+
GetApiGlobalChatStatusResponses[keyof GetApiGlobalChatStatusResponses];
|
|
5129
|
+
|
|
5130
|
+
export type PostApiGlobalChatJoinData = {
|
|
5131
|
+
body: JoinGlobalChatDto;
|
|
5132
|
+
path?: never;
|
|
5133
|
+
query?: never;
|
|
5134
|
+
url: '/api/global-chat/join';
|
|
5135
|
+
};
|
|
5136
|
+
|
|
5137
|
+
export type PostApiGlobalChatJoinResponses = {
|
|
5138
|
+
201: JoinGlobalChatResultDto;
|
|
5139
|
+
};
|
|
5140
|
+
|
|
5141
|
+
export type PostApiGlobalChatJoinResponse =
|
|
5142
|
+
PostApiGlobalChatJoinResponses[keyof PostApiGlobalChatJoinResponses];
|
|
5143
|
+
|
|
5144
|
+
export type PostApiGlobalChatLeaveData = {
|
|
5145
|
+
body?: never;
|
|
5146
|
+
path?: never;
|
|
5147
|
+
query?: never;
|
|
5148
|
+
url: '/api/global-chat/leave';
|
|
5149
|
+
};
|
|
5150
|
+
|
|
5151
|
+
export type PostApiGlobalChatLeaveResponses = {
|
|
5152
|
+
201: GlobalChatActionDto;
|
|
5153
|
+
};
|
|
5154
|
+
|
|
5155
|
+
export type PostApiGlobalChatLeaveResponse =
|
|
5156
|
+
PostApiGlobalChatLeaveResponses[keyof PostApiGlobalChatLeaveResponses];
|
|
5157
|
+
|
|
5158
|
+
export type GetApiGlobalChatMessagesData = {
|
|
5159
|
+
body?: never;
|
|
5160
|
+
path?: never;
|
|
5161
|
+
query?: {
|
|
5162
|
+
limit?: number;
|
|
5163
|
+
cursorId?: string;
|
|
5164
|
+
cursorCreatedAt?: string;
|
|
5165
|
+
};
|
|
5166
|
+
url: '/api/global-chat/messages';
|
|
5167
|
+
};
|
|
5168
|
+
|
|
5169
|
+
export type GetApiGlobalChatMessagesResponses = {
|
|
5170
|
+
200: GlobalChatMessagePageDto;
|
|
5171
|
+
};
|
|
5172
|
+
|
|
5173
|
+
export type GetApiGlobalChatMessagesResponse =
|
|
5174
|
+
GetApiGlobalChatMessagesResponses[keyof GetApiGlobalChatMessagesResponses];
|
|
5175
|
+
|
|
5176
|
+
export type PostApiGlobalChatMessagesData = {
|
|
5177
|
+
body: SendGlobalChatMessageDto;
|
|
5178
|
+
path?: never;
|
|
5179
|
+
query?: never;
|
|
5180
|
+
url: '/api/global-chat/messages';
|
|
5181
|
+
};
|
|
5182
|
+
|
|
5183
|
+
export type PostApiGlobalChatMessagesResponses = {
|
|
5184
|
+
201: GlobalChatMessageDto;
|
|
5185
|
+
};
|
|
5186
|
+
|
|
5187
|
+
export type PostApiGlobalChatMessagesResponse =
|
|
5188
|
+
PostApiGlobalChatMessagesResponses[keyof PostApiGlobalChatMessagesResponses];
|
|
5189
|
+
|
|
5190
|
+
export type GetApiGlobalChatTimelineData = {
|
|
5191
|
+
body?: never;
|
|
5192
|
+
path?: never;
|
|
5193
|
+
query?: {
|
|
5194
|
+
limit?: number;
|
|
5195
|
+
cursorKind?: 'message' | 'system';
|
|
5196
|
+
cursorId?: string;
|
|
5197
|
+
cursorCreatedAt?: string;
|
|
5198
|
+
};
|
|
5199
|
+
url: '/api/global-chat/timeline';
|
|
5200
|
+
};
|
|
5201
|
+
|
|
5202
|
+
export type GetApiGlobalChatTimelineResponses = {
|
|
5203
|
+
200: GlobalChatTimelinePageDto;
|
|
5204
|
+
};
|
|
5205
|
+
|
|
5206
|
+
export type GetApiGlobalChatTimelineResponse =
|
|
5207
|
+
GetApiGlobalChatTimelineResponses[keyof GetApiGlobalChatTimelineResponses];
|
|
5208
|
+
|
|
5209
|
+
export type PatchApiGlobalChatReadData = {
|
|
5210
|
+
body: MarkGlobalChatReadDto;
|
|
5211
|
+
path?: never;
|
|
5212
|
+
query?: never;
|
|
5213
|
+
url: '/api/global-chat/read';
|
|
5214
|
+
};
|
|
5215
|
+
|
|
5216
|
+
export type PatchApiGlobalChatReadResponses = {
|
|
5217
|
+
200: GlobalChatActionDto;
|
|
5218
|
+
};
|
|
5219
|
+
|
|
5220
|
+
export type PatchApiGlobalChatReadResponse =
|
|
5221
|
+
PatchApiGlobalChatReadResponses[keyof PatchApiGlobalChatReadResponses];
|
|
5222
|
+
|
|
5223
|
+
export type PostApiGlobalChatMessagesByMessageIdReportData = {
|
|
5224
|
+
body?: never;
|
|
5225
|
+
path: {
|
|
5226
|
+
messageId: string;
|
|
5227
|
+
};
|
|
5228
|
+
query?: never;
|
|
5229
|
+
url: '/api/global-chat/messages/{messageId}/report';
|
|
5230
|
+
};
|
|
5231
|
+
|
|
5232
|
+
export type PostApiGlobalChatMessagesByMessageIdReportResponses = {
|
|
5233
|
+
201: GlobalChatActionDto;
|
|
5234
|
+
};
|
|
5235
|
+
|
|
5236
|
+
export type PostApiGlobalChatMessagesByMessageIdReportResponse =
|
|
5237
|
+
PostApiGlobalChatMessagesByMessageIdReportResponses[keyof PostApiGlobalChatMessagesByMessageIdReportResponses];
|
|
5238
|
+
|
|
5239
|
+
export type PatchApiGlobalChatNotificationsData = {
|
|
5240
|
+
body: UpdateGlobalChatNotificationsDto;
|
|
5241
|
+
path?: never;
|
|
5242
|
+
query?: never;
|
|
5243
|
+
url: '/api/global-chat/notifications';
|
|
5244
|
+
};
|
|
5245
|
+
|
|
5246
|
+
export type PatchApiGlobalChatNotificationsResponses = {
|
|
5247
|
+
200: GlobalChatStatusDto;
|
|
5248
|
+
};
|
|
5249
|
+
|
|
5250
|
+
export type PatchApiGlobalChatNotificationsResponse =
|
|
5251
|
+
PatchApiGlobalChatNotificationsResponses[keyof PatchApiGlobalChatNotificationsResponses];
|