@matchi/api 0.20260423.3 → 0.20260424.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 +13 -13
- package/dist/main/index.d.ts +13 -13
- package/dist/main/index.js +5 -5
- package/dist/main/index.mjs +5 -5
- package/package.json +1 -1
package/dist/main/index.d.mts
CHANGED
|
@@ -4430,23 +4430,23 @@ type ListMatchesData = {
|
|
|
4430
4430
|
/**
|
|
4431
4431
|
* Start of date range (ISO 8601 UTC)
|
|
4432
4432
|
*/
|
|
4433
|
-
|
|
4433
|
+
startDateTime: string;
|
|
4434
4434
|
/**
|
|
4435
4435
|
* End of date range (ISO 8601 UTC)
|
|
4436
4436
|
*/
|
|
4437
|
-
|
|
4437
|
+
endDateTime: string;
|
|
4438
4438
|
/**
|
|
4439
4439
|
* Filter by facility IDs
|
|
4440
4440
|
*/
|
|
4441
|
-
|
|
4441
|
+
facilityIds?: Array<number>;
|
|
4442
4442
|
/**
|
|
4443
4443
|
* Filter by sport IDs
|
|
4444
4444
|
*/
|
|
4445
|
-
|
|
4445
|
+
sportIds?: Array<number>;
|
|
4446
4446
|
/**
|
|
4447
4447
|
* Minimum number of available spots
|
|
4448
4448
|
*/
|
|
4449
|
-
|
|
4449
|
+
availableSpots?: number;
|
|
4450
4450
|
/**
|
|
4451
4451
|
* Number of items to skip before returning the results.
|
|
4452
4452
|
*/
|
|
@@ -4483,10 +4483,10 @@ type ListMatchesResponse = ListMatchesResponses[keyof ListMatchesResponses];
|
|
|
4483
4483
|
type GetMatchData = {
|
|
4484
4484
|
body?: never;
|
|
4485
4485
|
path: {
|
|
4486
|
-
|
|
4486
|
+
matchId: string;
|
|
4487
4487
|
};
|
|
4488
4488
|
query?: never;
|
|
4489
|
-
url: '/matches/{
|
|
4489
|
+
url: '/matches/{matchId}';
|
|
4490
4490
|
};
|
|
4491
4491
|
type GetMatchErrors = {
|
|
4492
4492
|
/**
|
|
@@ -4513,13 +4513,13 @@ type GetMatchResponse = GetMatchResponses[keyof GetMatchResponses];
|
|
|
4513
4513
|
type GetMatchUserPriceData = {
|
|
4514
4514
|
body?: never;
|
|
4515
4515
|
path: {
|
|
4516
|
-
|
|
4517
|
-
|
|
4516
|
+
matchId: string;
|
|
4517
|
+
userId: string;
|
|
4518
4518
|
};
|
|
4519
4519
|
query?: {
|
|
4520
|
-
|
|
4520
|
+
promoCode?: string;
|
|
4521
4521
|
};
|
|
4522
|
-
url: '/matches/{
|
|
4522
|
+
url: '/matches/{matchId}/prices/{userId}';
|
|
4523
4523
|
};
|
|
4524
4524
|
type GetMatchUserPriceErrors = {
|
|
4525
4525
|
/**
|
|
@@ -7358,7 +7358,7 @@ declare const getMatch: <ThrowOnError extends boolean = false>(options: Options<
|
|
|
7358
7358
|
/**
|
|
7359
7359
|
* Get user-specific match pricing
|
|
7360
7360
|
*
|
|
7361
|
-
* Get personalized pricing for a match. The path
|
|
7361
|
+
* Get personalized pricing for a match. The path userId must match the authenticated user.
|
|
7362
7362
|
*/
|
|
7363
7363
|
declare const getMatchUserPrice: <ThrowOnError extends boolean = false>(options: Options<GetMatchUserPriceData, ThrowOnError>) => RequestResult<GetMatchUserPriceResponses, GetMatchUserPriceErrors, ThrowOnError, "fields">;
|
|
7364
7364
|
/**
|
|
@@ -7638,7 +7638,7 @@ declare const getMatchUserPriceQueryKey: (options: Options<GetMatchUserPriceData
|
|
|
7638
7638
|
/**
|
|
7639
7639
|
* Get user-specific match pricing
|
|
7640
7640
|
*
|
|
7641
|
-
* Get personalized pricing for a match. The path
|
|
7641
|
+
* Get personalized pricing for a match. The path userId must match the authenticated user.
|
|
7642
7642
|
*/
|
|
7643
7643
|
declare const getMatchUserPriceOptions: (options: Options<GetMatchUserPriceData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<MatchUserPrice, PkgOpenapiSharedProblemDetails, MatchUserPrice, [Pick<Options<GetMatchUserPriceData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
7644
7644
|
_id: string;
|
package/dist/main/index.d.ts
CHANGED
|
@@ -4430,23 +4430,23 @@ type ListMatchesData = {
|
|
|
4430
4430
|
/**
|
|
4431
4431
|
* Start of date range (ISO 8601 UTC)
|
|
4432
4432
|
*/
|
|
4433
|
-
|
|
4433
|
+
startDateTime: string;
|
|
4434
4434
|
/**
|
|
4435
4435
|
* End of date range (ISO 8601 UTC)
|
|
4436
4436
|
*/
|
|
4437
|
-
|
|
4437
|
+
endDateTime: string;
|
|
4438
4438
|
/**
|
|
4439
4439
|
* Filter by facility IDs
|
|
4440
4440
|
*/
|
|
4441
|
-
|
|
4441
|
+
facilityIds?: Array<number>;
|
|
4442
4442
|
/**
|
|
4443
4443
|
* Filter by sport IDs
|
|
4444
4444
|
*/
|
|
4445
|
-
|
|
4445
|
+
sportIds?: Array<number>;
|
|
4446
4446
|
/**
|
|
4447
4447
|
* Minimum number of available spots
|
|
4448
4448
|
*/
|
|
4449
|
-
|
|
4449
|
+
availableSpots?: number;
|
|
4450
4450
|
/**
|
|
4451
4451
|
* Number of items to skip before returning the results.
|
|
4452
4452
|
*/
|
|
@@ -4483,10 +4483,10 @@ type ListMatchesResponse = ListMatchesResponses[keyof ListMatchesResponses];
|
|
|
4483
4483
|
type GetMatchData = {
|
|
4484
4484
|
body?: never;
|
|
4485
4485
|
path: {
|
|
4486
|
-
|
|
4486
|
+
matchId: string;
|
|
4487
4487
|
};
|
|
4488
4488
|
query?: never;
|
|
4489
|
-
url: '/matches/{
|
|
4489
|
+
url: '/matches/{matchId}';
|
|
4490
4490
|
};
|
|
4491
4491
|
type GetMatchErrors = {
|
|
4492
4492
|
/**
|
|
@@ -4513,13 +4513,13 @@ type GetMatchResponse = GetMatchResponses[keyof GetMatchResponses];
|
|
|
4513
4513
|
type GetMatchUserPriceData = {
|
|
4514
4514
|
body?: never;
|
|
4515
4515
|
path: {
|
|
4516
|
-
|
|
4517
|
-
|
|
4516
|
+
matchId: string;
|
|
4517
|
+
userId: string;
|
|
4518
4518
|
};
|
|
4519
4519
|
query?: {
|
|
4520
|
-
|
|
4520
|
+
promoCode?: string;
|
|
4521
4521
|
};
|
|
4522
|
-
url: '/matches/{
|
|
4522
|
+
url: '/matches/{matchId}/prices/{userId}';
|
|
4523
4523
|
};
|
|
4524
4524
|
type GetMatchUserPriceErrors = {
|
|
4525
4525
|
/**
|
|
@@ -7358,7 +7358,7 @@ declare const getMatch: <ThrowOnError extends boolean = false>(options: Options<
|
|
|
7358
7358
|
/**
|
|
7359
7359
|
* Get user-specific match pricing
|
|
7360
7360
|
*
|
|
7361
|
-
* Get personalized pricing for a match. The path
|
|
7361
|
+
* Get personalized pricing for a match. The path userId must match the authenticated user.
|
|
7362
7362
|
*/
|
|
7363
7363
|
declare const getMatchUserPrice: <ThrowOnError extends boolean = false>(options: Options<GetMatchUserPriceData, ThrowOnError>) => RequestResult<GetMatchUserPriceResponses, GetMatchUserPriceErrors, ThrowOnError, "fields">;
|
|
7364
7364
|
/**
|
|
@@ -7638,7 +7638,7 @@ declare const getMatchUserPriceQueryKey: (options: Options<GetMatchUserPriceData
|
|
|
7638
7638
|
/**
|
|
7639
7639
|
* Get user-specific match pricing
|
|
7640
7640
|
*
|
|
7641
|
-
* Get personalized pricing for a match. The path
|
|
7641
|
+
* Get personalized pricing for a match. The path userId must match the authenticated user.
|
|
7642
7642
|
*/
|
|
7643
7643
|
declare const getMatchUserPriceOptions: (options: Options<GetMatchUserPriceData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<MatchUserPrice, PkgOpenapiSharedProblemDetails, MatchUserPrice, [Pick<Options<GetMatchUserPriceData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
7644
7644
|
_id: string;
|