@matchi/api 0.20260731.1 → 0.20260731.2
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/dist/main/index.d.mts +8 -21
- package/dist/main/index.d.ts +8 -21
- package/dist/main/index.js +6 -6
- package/dist/main/index.mjs +6 -6
- package/package.json +1 -1
package/dist/main/index.d.mts
CHANGED
|
@@ -616,8 +616,7 @@ declare namespace chatCreation {
|
|
|
616
616
|
declare enum chatTarget {
|
|
617
617
|
PLAYSESSION = "playsession",
|
|
618
618
|
USERGROUP = "usergroup",
|
|
619
|
-
AICOACH = "aicoach"
|
|
620
|
-
ADMINMATCH = "adminmatch"
|
|
619
|
+
AICOACH = "aicoach"
|
|
621
620
|
}
|
|
622
621
|
|
|
623
622
|
type giftCard = {
|
|
@@ -1789,14 +1788,12 @@ declare enum userChatStatusParam {
|
|
|
1789
1788
|
* * `ALL` - Default: No filtering.
|
|
1790
1789
|
* * `PLAYSESSION` - Only returns user chats where the user is a participant of a playsession chat.
|
|
1791
1790
|
* * `USERGROUP` - Only returns user chats where the user is a participant of a user group chat.
|
|
1792
|
-
* * `ADMINMATCH` - Only returns user chats where the user is a participant of an admin match chat.
|
|
1793
1791
|
*
|
|
1794
1792
|
*/
|
|
1795
1793
|
declare enum userChatTargetParam {
|
|
1796
1794
|
ALL = "ALL",
|
|
1797
1795
|
PLAYSESSION = "PLAYSESSION",
|
|
1798
|
-
USERGROUP = "USERGROUP"
|
|
1799
|
-
ADMINMATCH = "ADMINMATCH"
|
|
1796
|
+
USERGROUP = "USERGROUP"
|
|
1800
1797
|
}
|
|
1801
1798
|
|
|
1802
1799
|
type userFacility = {
|
|
@@ -2206,17 +2203,16 @@ declare class AuthorizedService {
|
|
|
2206
2203
|
* * `ALL` - Default: No filtering.
|
|
2207
2204
|
* * `PLAYSESSION` - Only returns user chats where the user is a participant of a playsession chat.
|
|
2208
2205
|
* * `USERGROUP` - Only returns user chats where the user is a participant of a user group chat.
|
|
2209
|
-
* * `ADMINMATCH` - Only returns user chats where the user is a participant of an admin match chat.
|
|
2210
2206
|
*
|
|
2211
2207
|
* @param offset Number of items to skip before returning the results.
|
|
2212
2208
|
* @param limit Maximum number of items to return.
|
|
2213
2209
|
* @returns listOfChats List of user chats based on the provided filters
|
|
2214
2210
|
* @throws ApiError
|
|
2215
2211
|
*/
|
|
2216
|
-
static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', userChatTarget?: 'ALL' | 'PLAYSESSION' | 'USERGROUP'
|
|
2212
|
+
static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', userChatTarget?: 'ALL' | 'PLAYSESSION' | 'USERGROUP', offset?: number, limit?: number): CancelablePromise<listOfChats>;
|
|
2217
2213
|
/**
|
|
2218
|
-
* Create a new chat for a playsession
|
|
2219
|
-
* @param requestBody Create chat request.
|
|
2214
|
+
* Create a new chat for a playsession or a group of players
|
|
2215
|
+
* @param requestBody Create chat request.
|
|
2220
2216
|
* @returns chatCreation Successfully created chat.
|
|
2221
2217
|
* @throws ApiError
|
|
2222
2218
|
*/
|
|
@@ -2229,10 +2225,6 @@ declare class AuthorizedService {
|
|
|
2229
2225
|
* The ID of the play session to create a chat for
|
|
2230
2226
|
*/
|
|
2231
2227
|
sessionId?: string;
|
|
2232
|
-
/**
|
|
2233
|
-
* The ID of the admin match to create a chat for.
|
|
2234
|
-
*/
|
|
2235
|
-
adminMatchId?: string;
|
|
2236
2228
|
/**
|
|
2237
2229
|
* Not needed anymore. In case of target play session, the facilityId of this playsession will be used instead.
|
|
2238
2230
|
* @deprecated
|
|
@@ -3139,17 +3131,16 @@ declare class UserServiceV1Service {
|
|
|
3139
3131
|
* * `ALL` - Default: No filtering.
|
|
3140
3132
|
* * `PLAYSESSION` - Only returns user chats where the user is a participant of a playsession chat.
|
|
3141
3133
|
* * `USERGROUP` - Only returns user chats where the user is a participant of a user group chat.
|
|
3142
|
-
* * `ADMINMATCH` - Only returns user chats where the user is a participant of an admin match chat.
|
|
3143
3134
|
*
|
|
3144
3135
|
* @param offset Number of items to skip before returning the results.
|
|
3145
3136
|
* @param limit Maximum number of items to return.
|
|
3146
3137
|
* @returns listOfChats List of user chats based on the provided filters
|
|
3147
3138
|
* @throws ApiError
|
|
3148
3139
|
*/
|
|
3149
|
-
static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', userChatTarget?: 'ALL' | 'PLAYSESSION' | 'USERGROUP'
|
|
3140
|
+
static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', userChatTarget?: 'ALL' | 'PLAYSESSION' | 'USERGROUP', offset?: number, limit?: number): CancelablePromise<listOfChats>;
|
|
3150
3141
|
/**
|
|
3151
|
-
* Create a new chat for a playsession
|
|
3152
|
-
* @param requestBody Create chat request.
|
|
3142
|
+
* Create a new chat for a playsession or a group of players
|
|
3143
|
+
* @param requestBody Create chat request.
|
|
3153
3144
|
* @returns chatCreation Successfully created chat.
|
|
3154
3145
|
* @throws ApiError
|
|
3155
3146
|
*/
|
|
@@ -3162,10 +3153,6 @@ declare class UserServiceV1Service {
|
|
|
3162
3153
|
* The ID of the play session to create a chat for
|
|
3163
3154
|
*/
|
|
3164
3155
|
sessionId?: string;
|
|
3165
|
-
/**
|
|
3166
|
-
* The ID of the admin match to create a chat for.
|
|
3167
|
-
*/
|
|
3168
|
-
adminMatchId?: string;
|
|
3169
3156
|
/**
|
|
3170
3157
|
* Not needed anymore. In case of target play session, the facilityId of this playsession will be used instead.
|
|
3171
3158
|
* @deprecated
|
package/dist/main/index.d.ts
CHANGED
|
@@ -616,8 +616,7 @@ declare namespace chatCreation {
|
|
|
616
616
|
declare enum chatTarget {
|
|
617
617
|
PLAYSESSION = "playsession",
|
|
618
618
|
USERGROUP = "usergroup",
|
|
619
|
-
AICOACH = "aicoach"
|
|
620
|
-
ADMINMATCH = "adminmatch"
|
|
619
|
+
AICOACH = "aicoach"
|
|
621
620
|
}
|
|
622
621
|
|
|
623
622
|
type giftCard = {
|
|
@@ -1789,14 +1788,12 @@ declare enum userChatStatusParam {
|
|
|
1789
1788
|
* * `ALL` - Default: No filtering.
|
|
1790
1789
|
* * `PLAYSESSION` - Only returns user chats where the user is a participant of a playsession chat.
|
|
1791
1790
|
* * `USERGROUP` - Only returns user chats where the user is a participant of a user group chat.
|
|
1792
|
-
* * `ADMINMATCH` - Only returns user chats where the user is a participant of an admin match chat.
|
|
1793
1791
|
*
|
|
1794
1792
|
*/
|
|
1795
1793
|
declare enum userChatTargetParam {
|
|
1796
1794
|
ALL = "ALL",
|
|
1797
1795
|
PLAYSESSION = "PLAYSESSION",
|
|
1798
|
-
USERGROUP = "USERGROUP"
|
|
1799
|
-
ADMINMATCH = "ADMINMATCH"
|
|
1796
|
+
USERGROUP = "USERGROUP"
|
|
1800
1797
|
}
|
|
1801
1798
|
|
|
1802
1799
|
type userFacility = {
|
|
@@ -2206,17 +2203,16 @@ declare class AuthorizedService {
|
|
|
2206
2203
|
* * `ALL` - Default: No filtering.
|
|
2207
2204
|
* * `PLAYSESSION` - Only returns user chats where the user is a participant of a playsession chat.
|
|
2208
2205
|
* * `USERGROUP` - Only returns user chats where the user is a participant of a user group chat.
|
|
2209
|
-
* * `ADMINMATCH` - Only returns user chats where the user is a participant of an admin match chat.
|
|
2210
2206
|
*
|
|
2211
2207
|
* @param offset Number of items to skip before returning the results.
|
|
2212
2208
|
* @param limit Maximum number of items to return.
|
|
2213
2209
|
* @returns listOfChats List of user chats based on the provided filters
|
|
2214
2210
|
* @throws ApiError
|
|
2215
2211
|
*/
|
|
2216
|
-
static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', userChatTarget?: 'ALL' | 'PLAYSESSION' | 'USERGROUP'
|
|
2212
|
+
static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', userChatTarget?: 'ALL' | 'PLAYSESSION' | 'USERGROUP', offset?: number, limit?: number): CancelablePromise<listOfChats>;
|
|
2217
2213
|
/**
|
|
2218
|
-
* Create a new chat for a playsession
|
|
2219
|
-
* @param requestBody Create chat request.
|
|
2214
|
+
* Create a new chat for a playsession or a group of players
|
|
2215
|
+
* @param requestBody Create chat request.
|
|
2220
2216
|
* @returns chatCreation Successfully created chat.
|
|
2221
2217
|
* @throws ApiError
|
|
2222
2218
|
*/
|
|
@@ -2229,10 +2225,6 @@ declare class AuthorizedService {
|
|
|
2229
2225
|
* The ID of the play session to create a chat for
|
|
2230
2226
|
*/
|
|
2231
2227
|
sessionId?: string;
|
|
2232
|
-
/**
|
|
2233
|
-
* The ID of the admin match to create a chat for.
|
|
2234
|
-
*/
|
|
2235
|
-
adminMatchId?: string;
|
|
2236
2228
|
/**
|
|
2237
2229
|
* Not needed anymore. In case of target play session, the facilityId of this playsession will be used instead.
|
|
2238
2230
|
* @deprecated
|
|
@@ -3139,17 +3131,16 @@ declare class UserServiceV1Service {
|
|
|
3139
3131
|
* * `ALL` - Default: No filtering.
|
|
3140
3132
|
* * `PLAYSESSION` - Only returns user chats where the user is a participant of a playsession chat.
|
|
3141
3133
|
* * `USERGROUP` - Only returns user chats where the user is a participant of a user group chat.
|
|
3142
|
-
* * `ADMINMATCH` - Only returns user chats where the user is a participant of an admin match chat.
|
|
3143
3134
|
*
|
|
3144
3135
|
* @param offset Number of items to skip before returning the results.
|
|
3145
3136
|
* @param limit Maximum number of items to return.
|
|
3146
3137
|
* @returns listOfChats List of user chats based on the provided filters
|
|
3147
3138
|
* @throws ApiError
|
|
3148
3139
|
*/
|
|
3149
|
-
static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', userChatTarget?: 'ALL' | 'PLAYSESSION' | 'USERGROUP'
|
|
3140
|
+
static listChats(userChatStatus?: 'ALL' | 'ACTIVE' | 'INACTIVE' | 'NOT_CONNECTED', userChatTarget?: 'ALL' | 'PLAYSESSION' | 'USERGROUP', offset?: number, limit?: number): CancelablePromise<listOfChats>;
|
|
3150
3141
|
/**
|
|
3151
|
-
* Create a new chat for a playsession
|
|
3152
|
-
* @param requestBody Create chat request.
|
|
3142
|
+
* Create a new chat for a playsession or a group of players
|
|
3143
|
+
* @param requestBody Create chat request.
|
|
3153
3144
|
* @returns chatCreation Successfully created chat.
|
|
3154
3145
|
* @throws ApiError
|
|
3155
3146
|
*/
|
|
@@ -3162,10 +3153,6 @@ declare class UserServiceV1Service {
|
|
|
3162
3153
|
* The ID of the play session to create a chat for
|
|
3163
3154
|
*/
|
|
3164
3155
|
sessionId?: string;
|
|
3165
|
-
/**
|
|
3166
|
-
* The ID of the admin match to create a chat for.
|
|
3167
|
-
*/
|
|
3168
|
-
adminMatchId?: string;
|
|
3169
3156
|
/**
|
|
3170
3157
|
* Not needed anymore. In case of target play session, the facilityId of this playsession will be used instead.
|
|
3171
3158
|
* @deprecated
|