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