@matchi/api 0.20260714.1 → 0.20260731.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 +50 -24
- package/dist/main/index.d.ts +50 -24
- package/dist/main/index.js +13 -10
- package/dist/main/index.mjs +13 -10
- 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
|
|
@@ -4253,19 +4266,27 @@ type Recommendation = {
|
|
|
4253
4266
|
};
|
|
4254
4267
|
date_end: string;
|
|
4255
4268
|
date_start: string;
|
|
4269
|
+
/**
|
|
4270
|
+
* Facility ID. 0 for matches without facility details available.
|
|
4271
|
+
*
|
|
4272
|
+
*/
|
|
4256
4273
|
facility_id: number;
|
|
4274
|
+
/**
|
|
4275
|
+
* Facility name. Empty string for matches without facility details available.
|
|
4276
|
+
*
|
|
4277
|
+
*/
|
|
4257
4278
|
facility_name: string;
|
|
4258
4279
|
/**
|
|
4259
|
-
* The recommended entity's ID. Use together with type to navigate to the appropriate detail page.
|
|
4280
|
+
* The recommended entity's ID. Use together with type to navigate to the appropriate detail page. For activity occasions this is the occasion ID; for public matches it is the session ID.
|
|
4260
4281
|
*
|
|
4261
4282
|
*/
|
|
4262
4283
|
id: string;
|
|
4263
4284
|
/**
|
|
4264
|
-
* Maximum skill level
|
|
4285
|
+
* Maximum skill level. Null if not set.
|
|
4265
4286
|
*/
|
|
4266
4287
|
level_max?: number | null;
|
|
4267
4288
|
/**
|
|
4268
|
-
* Minimum skill level
|
|
4289
|
+
* Minimum skill level. Null if not set.
|
|
4269
4290
|
*/
|
|
4270
4291
|
level_min?: number | null;
|
|
4271
4292
|
/**
|
|
@@ -4274,7 +4295,8 @@ type Recommendation = {
|
|
|
4274
4295
|
*/
|
|
4275
4296
|
members_only?: boolean | null;
|
|
4276
4297
|
/**
|
|
4277
|
-
* Display name for the recommendation card.
|
|
4298
|
+
* Display name for the recommendation card. Empty string for MATCH_PUBLIC type which has no name set.
|
|
4299
|
+
*
|
|
4278
4300
|
*/
|
|
4279
4301
|
name: string;
|
|
4280
4302
|
/**
|
|
@@ -4309,10 +4331,10 @@ type Recommendation = {
|
|
|
4309
4331
|
*/
|
|
4310
4332
|
tags: Array<string>;
|
|
4311
4333
|
/**
|
|
4312
|
-
* The entity type. Determines what kind of detail page to navigate to.
|
|
4334
|
+
* The entity type. Determines what kind of detail page to navigate to. MATCH_ACTIVITY is a venue/facility-created match; MATCH_PUBLIC is a player-created public match.
|
|
4313
4335
|
*
|
|
4314
4336
|
*/
|
|
4315
|
-
type: 'CLASS_ACTIVITY' | 'EVENT_ACTIVITY' | 'COURSE_ACTIVITY' | 'MATCH_ACTIVITY';
|
|
4337
|
+
type: 'CLASS_ACTIVITY' | 'EVENT_ACTIVITY' | 'COURSE_ACTIVITY' | 'MATCH_ACTIVITY' | 'MATCH_PUBLIC';
|
|
4316
4338
|
};
|
|
4317
4339
|
type RecommendationList = {
|
|
4318
4340
|
items: Array<Recommendation>;
|
|
@@ -6264,10 +6286,10 @@ type GetRecommendationsData = {
|
|
|
6264
6286
|
};
|
|
6265
6287
|
query: {
|
|
6266
6288
|
/**
|
|
6267
|
-
* The category of recommendations to return. ACTIVITIES includes all activity-based occasions (classes, events, courses, and matches).
|
|
6289
|
+
* The category of recommendations to return. ACTIVITIES includes all activity-based occasions (classes, events, courses, and matches). MATCHES returns a blended feed of venue-created (MATCH_ACTIVITY) and player-created (MATCH_PUBLIC) matches, ordered by relevance score.
|
|
6268
6290
|
*
|
|
6269
6291
|
*/
|
|
6270
|
-
type: 'ACTIVITIES';
|
|
6292
|
+
type: 'ACTIVITIES' | 'MATCHES';
|
|
6271
6293
|
/**
|
|
6272
6294
|
* Caller gender for filtering gender-restricted activities. Omit to show all.
|
|
6273
6295
|
*/
|
|
@@ -8234,24 +8256,28 @@ declare const RecommendationSchema: {
|
|
|
8234
8256
|
readonly type: "string";
|
|
8235
8257
|
};
|
|
8236
8258
|
readonly facility_id: {
|
|
8259
|
+
readonly description: "Facility ID. 0 for matches without facility details available.\n";
|
|
8237
8260
|
readonly type: "integer";
|
|
8238
8261
|
};
|
|
8239
8262
|
readonly facility_name: {
|
|
8263
|
+
readonly description: "Facility name. Empty string for matches without facility details available.\n";
|
|
8240
8264
|
readonly type: "string";
|
|
8241
8265
|
};
|
|
8242
8266
|
readonly id: {
|
|
8243
|
-
readonly description: "The recommended entity's ID. Use together with type to navigate to the appropriate detail page.
|
|
8267
|
+
readonly description: "The recommended entity's ID. Use together with type to navigate to the appropriate detail page. For activity occasions this is the occasion ID; for public matches it is the session ID.\n";
|
|
8244
8268
|
readonly type: "string";
|
|
8245
8269
|
};
|
|
8246
8270
|
readonly level_max: {
|
|
8247
|
-
readonly description: "Maximum skill level
|
|
8271
|
+
readonly description: "Maximum skill level. Null if not set.";
|
|
8272
|
+
readonly format: "float";
|
|
8248
8273
|
readonly nullable: true;
|
|
8249
|
-
readonly type: "
|
|
8274
|
+
readonly type: "number";
|
|
8250
8275
|
};
|
|
8251
8276
|
readonly level_min: {
|
|
8252
|
-
readonly description: "Minimum skill level
|
|
8277
|
+
readonly description: "Minimum skill level. Null if not set.";
|
|
8278
|
+
readonly format: "float";
|
|
8253
8279
|
readonly nullable: true;
|
|
8254
|
-
readonly type: "
|
|
8280
|
+
readonly type: "number";
|
|
8255
8281
|
};
|
|
8256
8282
|
readonly members_only: {
|
|
8257
8283
|
readonly description: "Whether the activity is restricted to facility members. Null when membership restriction is unknown — callers should treat null as unknown and fall back to existing rendering.\n";
|
|
@@ -8259,7 +8285,7 @@ declare const RecommendationSchema: {
|
|
|
8259
8285
|
readonly type: "boolean";
|
|
8260
8286
|
};
|
|
8261
8287
|
readonly name: {
|
|
8262
|
-
readonly description: "Display name for the recommendation card.";
|
|
8288
|
+
readonly description: "Display name for the recommendation card. Empty string for MATCH_PUBLIC type which has no name set.\n";
|
|
8263
8289
|
readonly type: "string";
|
|
8264
8290
|
};
|
|
8265
8291
|
readonly participant_count: {
|
|
@@ -8303,8 +8329,8 @@ declare const RecommendationSchema: {
|
|
|
8303
8329
|
readonly type: "array";
|
|
8304
8330
|
};
|
|
8305
8331
|
readonly type: {
|
|
8306
|
-
readonly description: "The entity type. Determines what kind of detail page to navigate to.\n";
|
|
8307
|
-
readonly enum: readonly ["CLASS_ACTIVITY", "EVENT_ACTIVITY", "COURSE_ACTIVITY", "MATCH_ACTIVITY"];
|
|
8332
|
+
readonly description: "The entity type. Determines what kind of detail page to navigate to. MATCH_ACTIVITY is a venue/facility-created match; MATCH_PUBLIC is a player-created public match.\n";
|
|
8333
|
+
readonly enum: readonly ["CLASS_ACTIVITY", "EVENT_ACTIVITY", "COURSE_ACTIVITY", "MATCH_ACTIVITY", "MATCH_PUBLIC"];
|
|
8308
8334
|
readonly type: "string";
|
|
8309
8335
|
};
|
|
8310
8336
|
};
|
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
|
|
@@ -4253,19 +4266,27 @@ type Recommendation = {
|
|
|
4253
4266
|
};
|
|
4254
4267
|
date_end: string;
|
|
4255
4268
|
date_start: string;
|
|
4269
|
+
/**
|
|
4270
|
+
* Facility ID. 0 for matches without facility details available.
|
|
4271
|
+
*
|
|
4272
|
+
*/
|
|
4256
4273
|
facility_id: number;
|
|
4274
|
+
/**
|
|
4275
|
+
* Facility name. Empty string for matches without facility details available.
|
|
4276
|
+
*
|
|
4277
|
+
*/
|
|
4257
4278
|
facility_name: string;
|
|
4258
4279
|
/**
|
|
4259
|
-
* The recommended entity's ID. Use together with type to navigate to the appropriate detail page.
|
|
4280
|
+
* The recommended entity's ID. Use together with type to navigate to the appropriate detail page. For activity occasions this is the occasion ID; for public matches it is the session ID.
|
|
4260
4281
|
*
|
|
4261
4282
|
*/
|
|
4262
4283
|
id: string;
|
|
4263
4284
|
/**
|
|
4264
|
-
* Maximum skill level
|
|
4285
|
+
* Maximum skill level. Null if not set.
|
|
4265
4286
|
*/
|
|
4266
4287
|
level_max?: number | null;
|
|
4267
4288
|
/**
|
|
4268
|
-
* Minimum skill level
|
|
4289
|
+
* Minimum skill level. Null if not set.
|
|
4269
4290
|
*/
|
|
4270
4291
|
level_min?: number | null;
|
|
4271
4292
|
/**
|
|
@@ -4274,7 +4295,8 @@ type Recommendation = {
|
|
|
4274
4295
|
*/
|
|
4275
4296
|
members_only?: boolean | null;
|
|
4276
4297
|
/**
|
|
4277
|
-
* Display name for the recommendation card.
|
|
4298
|
+
* Display name for the recommendation card. Empty string for MATCH_PUBLIC type which has no name set.
|
|
4299
|
+
*
|
|
4278
4300
|
*/
|
|
4279
4301
|
name: string;
|
|
4280
4302
|
/**
|
|
@@ -4309,10 +4331,10 @@ type Recommendation = {
|
|
|
4309
4331
|
*/
|
|
4310
4332
|
tags: Array<string>;
|
|
4311
4333
|
/**
|
|
4312
|
-
* The entity type. Determines what kind of detail page to navigate to.
|
|
4334
|
+
* The entity type. Determines what kind of detail page to navigate to. MATCH_ACTIVITY is a venue/facility-created match; MATCH_PUBLIC is a player-created public match.
|
|
4313
4335
|
*
|
|
4314
4336
|
*/
|
|
4315
|
-
type: 'CLASS_ACTIVITY' | 'EVENT_ACTIVITY' | 'COURSE_ACTIVITY' | 'MATCH_ACTIVITY';
|
|
4337
|
+
type: 'CLASS_ACTIVITY' | 'EVENT_ACTIVITY' | 'COURSE_ACTIVITY' | 'MATCH_ACTIVITY' | 'MATCH_PUBLIC';
|
|
4316
4338
|
};
|
|
4317
4339
|
type RecommendationList = {
|
|
4318
4340
|
items: Array<Recommendation>;
|
|
@@ -6264,10 +6286,10 @@ type GetRecommendationsData = {
|
|
|
6264
6286
|
};
|
|
6265
6287
|
query: {
|
|
6266
6288
|
/**
|
|
6267
|
-
* The category of recommendations to return. ACTIVITIES includes all activity-based occasions (classes, events, courses, and matches).
|
|
6289
|
+
* The category of recommendations to return. ACTIVITIES includes all activity-based occasions (classes, events, courses, and matches). MATCHES returns a blended feed of venue-created (MATCH_ACTIVITY) and player-created (MATCH_PUBLIC) matches, ordered by relevance score.
|
|
6268
6290
|
*
|
|
6269
6291
|
*/
|
|
6270
|
-
type: 'ACTIVITIES';
|
|
6292
|
+
type: 'ACTIVITIES' | 'MATCHES';
|
|
6271
6293
|
/**
|
|
6272
6294
|
* Caller gender for filtering gender-restricted activities. Omit to show all.
|
|
6273
6295
|
*/
|
|
@@ -8234,24 +8256,28 @@ declare const RecommendationSchema: {
|
|
|
8234
8256
|
readonly type: "string";
|
|
8235
8257
|
};
|
|
8236
8258
|
readonly facility_id: {
|
|
8259
|
+
readonly description: "Facility ID. 0 for matches without facility details available.\n";
|
|
8237
8260
|
readonly type: "integer";
|
|
8238
8261
|
};
|
|
8239
8262
|
readonly facility_name: {
|
|
8263
|
+
readonly description: "Facility name. Empty string for matches without facility details available.\n";
|
|
8240
8264
|
readonly type: "string";
|
|
8241
8265
|
};
|
|
8242
8266
|
readonly id: {
|
|
8243
|
-
readonly description: "The recommended entity's ID. Use together with type to navigate to the appropriate detail page.
|
|
8267
|
+
readonly description: "The recommended entity's ID. Use together with type to navigate to the appropriate detail page. For activity occasions this is the occasion ID; for public matches it is the session ID.\n";
|
|
8244
8268
|
readonly type: "string";
|
|
8245
8269
|
};
|
|
8246
8270
|
readonly level_max: {
|
|
8247
|
-
readonly description: "Maximum skill level
|
|
8271
|
+
readonly description: "Maximum skill level. Null if not set.";
|
|
8272
|
+
readonly format: "float";
|
|
8248
8273
|
readonly nullable: true;
|
|
8249
|
-
readonly type: "
|
|
8274
|
+
readonly type: "number";
|
|
8250
8275
|
};
|
|
8251
8276
|
readonly level_min: {
|
|
8252
|
-
readonly description: "Minimum skill level
|
|
8277
|
+
readonly description: "Minimum skill level. Null if not set.";
|
|
8278
|
+
readonly format: "float";
|
|
8253
8279
|
readonly nullable: true;
|
|
8254
|
-
readonly type: "
|
|
8280
|
+
readonly type: "number";
|
|
8255
8281
|
};
|
|
8256
8282
|
readonly members_only: {
|
|
8257
8283
|
readonly description: "Whether the activity is restricted to facility members. Null when membership restriction is unknown — callers should treat null as unknown and fall back to existing rendering.\n";
|
|
@@ -8259,7 +8285,7 @@ declare const RecommendationSchema: {
|
|
|
8259
8285
|
readonly type: "boolean";
|
|
8260
8286
|
};
|
|
8261
8287
|
readonly name: {
|
|
8262
|
-
readonly description: "Display name for the recommendation card.";
|
|
8288
|
+
readonly description: "Display name for the recommendation card. Empty string for MATCH_PUBLIC type which has no name set.\n";
|
|
8263
8289
|
readonly type: "string";
|
|
8264
8290
|
};
|
|
8265
8291
|
readonly participant_count: {
|
|
@@ -8303,8 +8329,8 @@ declare const RecommendationSchema: {
|
|
|
8303
8329
|
readonly type: "array";
|
|
8304
8330
|
};
|
|
8305
8331
|
readonly type: {
|
|
8306
|
-
readonly description: "The entity type. Determines what kind of detail page to navigate to.\n";
|
|
8307
|
-
readonly enum: readonly ["CLASS_ACTIVITY", "EVENT_ACTIVITY", "COURSE_ACTIVITY", "MATCH_ACTIVITY"];
|
|
8332
|
+
readonly description: "The entity type. Determines what kind of detail page to navigate to. MATCH_ACTIVITY is a venue/facility-created match; MATCH_PUBLIC is a player-created public match.\n";
|
|
8333
|
+
readonly enum: readonly ["CLASS_ACTIVITY", "EVENT_ACTIVITY", "COURSE_ACTIVITY", "MATCH_ACTIVITY", "MATCH_PUBLIC"];
|
|
8308
8334
|
readonly type: "string";
|
|
8309
8335
|
};
|
|
8310
8336
|
};
|