@matchi/api 0.20260121.6 → 0.20260121.7
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 +517 -131
- package/dist/main/index.d.ts +517 -131
- package/dist/main/index.js +7 -1
- package/dist/main/index.mjs +7 -1
- package/package.json +6 -8
package/dist/main/index.d.mts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { TDataShape, Options as Options$1, Client } from '@hey-api/client-fetch';
|
|
3
|
-
import * as _tanstack_query_core_build_legacy_hydration_ClXcjjG9 from '@tanstack/query-core/build/legacy/hydration-ClXcjjG9';
|
|
4
|
-
import * as _tanstack_react_query_build_legacy_types from '@tanstack/react-query/build/legacy/types';
|
|
1
|
+
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
5
2
|
import { InfiniteData, UseMutationOptions } from '@tanstack/react-query';
|
|
6
3
|
|
|
7
4
|
type ApiRequestOptions = {
|
|
@@ -3199,6 +3196,316 @@ declare class UserServiceV1Service {
|
|
|
3199
3196
|
static listUserOfferValueCards(offset?: number, limit?: number): CancelablePromise<userOfferValueCardsResponse>;
|
|
3200
3197
|
}
|
|
3201
3198
|
|
|
3199
|
+
type AuthToken = string | undefined;
|
|
3200
|
+
interface Auth {
|
|
3201
|
+
/**
|
|
3202
|
+
* Which part of the request do we use to send the auth?
|
|
3203
|
+
*
|
|
3204
|
+
* @default 'header'
|
|
3205
|
+
*/
|
|
3206
|
+
in?: 'header' | 'query' | 'cookie';
|
|
3207
|
+
/**
|
|
3208
|
+
* Header or query parameter name.
|
|
3209
|
+
*
|
|
3210
|
+
* @default 'Authorization'
|
|
3211
|
+
*/
|
|
3212
|
+
name?: string;
|
|
3213
|
+
scheme?: 'basic' | 'bearer';
|
|
3214
|
+
type: 'apiKey' | 'http';
|
|
3215
|
+
}
|
|
3216
|
+
|
|
3217
|
+
interface SerializerOptions<T> {
|
|
3218
|
+
/**
|
|
3219
|
+
* @default true
|
|
3220
|
+
*/
|
|
3221
|
+
explode: boolean;
|
|
3222
|
+
style: T;
|
|
3223
|
+
}
|
|
3224
|
+
type ArrayStyle = 'form' | 'spaceDelimited' | 'pipeDelimited';
|
|
3225
|
+
type ObjectStyle = 'form' | 'deepObject';
|
|
3226
|
+
|
|
3227
|
+
type QuerySerializer = (query: Record<string, unknown>) => string;
|
|
3228
|
+
type BodySerializer = (body: any) => any;
|
|
3229
|
+
type QuerySerializerOptionsObject = {
|
|
3230
|
+
allowReserved?: boolean;
|
|
3231
|
+
array?: Partial<SerializerOptions<ArrayStyle>>;
|
|
3232
|
+
object?: Partial<SerializerOptions<ObjectStyle>>;
|
|
3233
|
+
};
|
|
3234
|
+
type QuerySerializerOptions = QuerySerializerOptionsObject & {
|
|
3235
|
+
/**
|
|
3236
|
+
* Per-parameter serialization overrides. When provided, these settings
|
|
3237
|
+
* override the global array/object settings for specific parameter names.
|
|
3238
|
+
*/
|
|
3239
|
+
parameters?: Record<string, QuerySerializerOptionsObject>;
|
|
3240
|
+
};
|
|
3241
|
+
|
|
3242
|
+
type HttpMethod = 'connect' | 'delete' | 'get' | 'head' | 'options' | 'patch' | 'post' | 'put' | 'trace';
|
|
3243
|
+
type Client$1<RequestFn = never, Config = unknown, MethodFn = never, BuildUrlFn = never, SseFn = never> = {
|
|
3244
|
+
/**
|
|
3245
|
+
* Returns the final request URL.
|
|
3246
|
+
*/
|
|
3247
|
+
buildUrl: BuildUrlFn;
|
|
3248
|
+
getConfig: () => Config;
|
|
3249
|
+
request: RequestFn;
|
|
3250
|
+
setConfig: (config: Config) => Config;
|
|
3251
|
+
} & {
|
|
3252
|
+
[K in HttpMethod]: MethodFn;
|
|
3253
|
+
} & ([SseFn] extends [never] ? {
|
|
3254
|
+
sse?: never;
|
|
3255
|
+
} : {
|
|
3256
|
+
sse: {
|
|
3257
|
+
[K in HttpMethod]: SseFn;
|
|
3258
|
+
};
|
|
3259
|
+
});
|
|
3260
|
+
interface Config$1 {
|
|
3261
|
+
/**
|
|
3262
|
+
* Auth token or a function returning auth token. The resolved value will be
|
|
3263
|
+
* added to the request payload as defined by its `security` array.
|
|
3264
|
+
*/
|
|
3265
|
+
auth?: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken;
|
|
3266
|
+
/**
|
|
3267
|
+
* A function for serializing request body parameter. By default,
|
|
3268
|
+
* {@link JSON.stringify()} will be used.
|
|
3269
|
+
*/
|
|
3270
|
+
bodySerializer?: BodySerializer | null;
|
|
3271
|
+
/**
|
|
3272
|
+
* An object containing any HTTP headers that you want to pre-populate your
|
|
3273
|
+
* `Headers` object with.
|
|
3274
|
+
*
|
|
3275
|
+
* {@link https://developer.mozilla.org/docs/Web/API/Headers/Headers#init See more}
|
|
3276
|
+
*/
|
|
3277
|
+
headers?: RequestInit['headers'] | Record<string, string | number | boolean | (string | number | boolean)[] | null | undefined | unknown>;
|
|
3278
|
+
/**
|
|
3279
|
+
* The request method.
|
|
3280
|
+
*
|
|
3281
|
+
* {@link https://developer.mozilla.org/docs/Web/API/fetch#method See more}
|
|
3282
|
+
*/
|
|
3283
|
+
method?: Uppercase<HttpMethod>;
|
|
3284
|
+
/**
|
|
3285
|
+
* A function for serializing request query parameters. By default, arrays
|
|
3286
|
+
* will be exploded in form style, objects will be exploded in deepObject
|
|
3287
|
+
* style, and reserved characters are percent-encoded.
|
|
3288
|
+
*
|
|
3289
|
+
* This method will have no effect if the native `paramsSerializer()` Axios
|
|
3290
|
+
* API function is used.
|
|
3291
|
+
*
|
|
3292
|
+
* {@link https://swagger.io/docs/specification/serialization/#query View examples}
|
|
3293
|
+
*/
|
|
3294
|
+
querySerializer?: QuerySerializer | QuerySerializerOptions;
|
|
3295
|
+
/**
|
|
3296
|
+
* A function validating request data. This is useful if you want to ensure
|
|
3297
|
+
* the request conforms to the desired shape, so it can be safely sent to
|
|
3298
|
+
* the server.
|
|
3299
|
+
*/
|
|
3300
|
+
requestValidator?: (data: unknown) => Promise<unknown>;
|
|
3301
|
+
/**
|
|
3302
|
+
* A function transforming response data before it's returned. This is useful
|
|
3303
|
+
* for post-processing data, e.g. converting ISO strings into Date objects.
|
|
3304
|
+
*/
|
|
3305
|
+
responseTransformer?: (data: unknown) => Promise<unknown>;
|
|
3306
|
+
/**
|
|
3307
|
+
* A function validating response data. This is useful if you want to ensure
|
|
3308
|
+
* the response conforms to the desired shape, so it can be safely passed to
|
|
3309
|
+
* the transformers and returned to the user.
|
|
3310
|
+
*/
|
|
3311
|
+
responseValidator?: (data: unknown) => Promise<unknown>;
|
|
3312
|
+
}
|
|
3313
|
+
|
|
3314
|
+
type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$1, 'method' | 'responseTransformer' | 'responseValidator'> & {
|
|
3315
|
+
/**
|
|
3316
|
+
* Fetch API implementation. You can use this option to provide a custom
|
|
3317
|
+
* fetch instance.
|
|
3318
|
+
*
|
|
3319
|
+
* @default globalThis.fetch
|
|
3320
|
+
*/
|
|
3321
|
+
fetch?: typeof fetch;
|
|
3322
|
+
/**
|
|
3323
|
+
* Implementing clients can call request interceptors inside this hook.
|
|
3324
|
+
*/
|
|
3325
|
+
onRequest?: (url: string, init: RequestInit) => Promise<Request>;
|
|
3326
|
+
/**
|
|
3327
|
+
* Callback invoked when a network or parsing error occurs during streaming.
|
|
3328
|
+
*
|
|
3329
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
3330
|
+
*
|
|
3331
|
+
* @param error The error that occurred.
|
|
3332
|
+
*/
|
|
3333
|
+
onSseError?: (error: unknown) => void;
|
|
3334
|
+
/**
|
|
3335
|
+
* Callback invoked when an event is streamed from the server.
|
|
3336
|
+
*
|
|
3337
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
3338
|
+
*
|
|
3339
|
+
* @param event Event streamed from the server.
|
|
3340
|
+
* @returns Nothing (void).
|
|
3341
|
+
*/
|
|
3342
|
+
onSseEvent?: (event: StreamEvent<TData>) => void;
|
|
3343
|
+
serializedBody?: RequestInit['body'];
|
|
3344
|
+
/**
|
|
3345
|
+
* Default retry delay in milliseconds.
|
|
3346
|
+
*
|
|
3347
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
3348
|
+
*
|
|
3349
|
+
* @default 3000
|
|
3350
|
+
*/
|
|
3351
|
+
sseDefaultRetryDelay?: number;
|
|
3352
|
+
/**
|
|
3353
|
+
* Maximum number of retry attempts before giving up.
|
|
3354
|
+
*/
|
|
3355
|
+
sseMaxRetryAttempts?: number;
|
|
3356
|
+
/**
|
|
3357
|
+
* Maximum retry delay in milliseconds.
|
|
3358
|
+
*
|
|
3359
|
+
* Applies only when exponential backoff is used.
|
|
3360
|
+
*
|
|
3361
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
3362
|
+
*
|
|
3363
|
+
* @default 30000
|
|
3364
|
+
*/
|
|
3365
|
+
sseMaxRetryDelay?: number;
|
|
3366
|
+
/**
|
|
3367
|
+
* Optional sleep function for retry backoff.
|
|
3368
|
+
*
|
|
3369
|
+
* Defaults to using `setTimeout`.
|
|
3370
|
+
*/
|
|
3371
|
+
sseSleepFn?: (ms: number) => Promise<void>;
|
|
3372
|
+
url: string;
|
|
3373
|
+
};
|
|
3374
|
+
interface StreamEvent<TData = unknown> {
|
|
3375
|
+
data: TData;
|
|
3376
|
+
event?: string;
|
|
3377
|
+
id?: string;
|
|
3378
|
+
retry?: number;
|
|
3379
|
+
}
|
|
3380
|
+
type ServerSentEventsResult<TData = unknown, TReturn = void, TNext = unknown> = {
|
|
3381
|
+
stream: AsyncGenerator<TData extends Record<string, unknown> ? TData[keyof TData] : TData, TReturn, TNext>;
|
|
3382
|
+
};
|
|
3383
|
+
|
|
3384
|
+
type ErrInterceptor<Err, Res, Req, Options> = (error: Err, response: Res, request: Req, options: Options) => Err | Promise<Err>;
|
|
3385
|
+
type ReqInterceptor<Req, Options> = (request: Req, options: Options) => Req | Promise<Req>;
|
|
3386
|
+
type ResInterceptor<Res, Req, Options> = (response: Res, request: Req, options: Options) => Res | Promise<Res>;
|
|
3387
|
+
declare class Interceptors<Interceptor> {
|
|
3388
|
+
fns: Array<Interceptor | null>;
|
|
3389
|
+
clear(): void;
|
|
3390
|
+
eject(id: number | Interceptor): void;
|
|
3391
|
+
exists(id: number | Interceptor): boolean;
|
|
3392
|
+
getInterceptorIndex(id: number | Interceptor): number;
|
|
3393
|
+
update(id: number | Interceptor, fn: Interceptor): number | Interceptor | false;
|
|
3394
|
+
use(fn: Interceptor): number;
|
|
3395
|
+
}
|
|
3396
|
+
interface Middleware<Req, Res, Err, Options> {
|
|
3397
|
+
error: Interceptors<ErrInterceptor<Err, Res, Req, Options>>;
|
|
3398
|
+
request: Interceptors<ReqInterceptor<Req, Options>>;
|
|
3399
|
+
response: Interceptors<ResInterceptor<Res, Req, Options>>;
|
|
3400
|
+
}
|
|
3401
|
+
|
|
3402
|
+
type ResponseStyle = 'data' | 'fields';
|
|
3403
|
+
interface Config<T extends ClientOptions$1 = ClientOptions$1> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$1 {
|
|
3404
|
+
/**
|
|
3405
|
+
* Base URL for all requests made by this client.
|
|
3406
|
+
*/
|
|
3407
|
+
baseUrl?: T['baseUrl'];
|
|
3408
|
+
/**
|
|
3409
|
+
* Fetch API implementation. You can use this option to provide a custom
|
|
3410
|
+
* fetch instance.
|
|
3411
|
+
*
|
|
3412
|
+
* @default globalThis.fetch
|
|
3413
|
+
*/
|
|
3414
|
+
fetch?: typeof fetch;
|
|
3415
|
+
/**
|
|
3416
|
+
* Please don't use the Fetch client for Next.js applications. The `next`
|
|
3417
|
+
* options won't have any effect.
|
|
3418
|
+
*
|
|
3419
|
+
* Install {@link https://www.npmjs.com/package/@hey-api/client-next `@hey-api/client-next`} instead.
|
|
3420
|
+
*/
|
|
3421
|
+
next?: never;
|
|
3422
|
+
/**
|
|
3423
|
+
* Return the response data parsed in a specified format. By default, `auto`
|
|
3424
|
+
* will infer the appropriate method from the `Content-Type` response header.
|
|
3425
|
+
* You can override this behavior with any of the {@link Body} methods.
|
|
3426
|
+
* Select `stream` if you don't want to parse response data at all.
|
|
3427
|
+
*
|
|
3428
|
+
* @default 'auto'
|
|
3429
|
+
*/
|
|
3430
|
+
parseAs?: 'arrayBuffer' | 'auto' | 'blob' | 'formData' | 'json' | 'stream' | 'text';
|
|
3431
|
+
/**
|
|
3432
|
+
* Should we return only data or multiple fields (data, error, response, etc.)?
|
|
3433
|
+
*
|
|
3434
|
+
* @default 'fields'
|
|
3435
|
+
*/
|
|
3436
|
+
responseStyle?: ResponseStyle;
|
|
3437
|
+
/**
|
|
3438
|
+
* Throw an error instead of returning it in the response?
|
|
3439
|
+
*
|
|
3440
|
+
* @default false
|
|
3441
|
+
*/
|
|
3442
|
+
throwOnError?: T['throwOnError'];
|
|
3443
|
+
}
|
|
3444
|
+
interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config<{
|
|
3445
|
+
responseStyle: TResponseStyle;
|
|
3446
|
+
throwOnError: ThrowOnError;
|
|
3447
|
+
}>, Pick<ServerSentEventsOptions<TData>, 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
|
|
3448
|
+
/**
|
|
3449
|
+
* Any body that you want to add to your request.
|
|
3450
|
+
*
|
|
3451
|
+
* {@link https://developer.mozilla.org/docs/Web/API/fetch#body}
|
|
3452
|
+
*/
|
|
3453
|
+
body?: unknown;
|
|
3454
|
+
path?: Record<string, unknown>;
|
|
3455
|
+
query?: Record<string, unknown>;
|
|
3456
|
+
/**
|
|
3457
|
+
* Security mechanism(s) to use for the request.
|
|
3458
|
+
*/
|
|
3459
|
+
security?: ReadonlyArray<Auth>;
|
|
3460
|
+
url: Url;
|
|
3461
|
+
}
|
|
3462
|
+
interface ResolvedRequestOptions<TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends RequestOptions<unknown, TResponseStyle, ThrowOnError, Url> {
|
|
3463
|
+
serializedBody?: string;
|
|
3464
|
+
}
|
|
3465
|
+
type RequestResult<TData = unknown, TError = unknown, ThrowOnError extends boolean = boolean, TResponseStyle extends ResponseStyle = 'fields'> = ThrowOnError extends true ? Promise<TResponseStyle extends 'data' ? TData extends Record<string, unknown> ? TData[keyof TData] : TData : {
|
|
3466
|
+
data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
|
|
3467
|
+
request: Request;
|
|
3468
|
+
response: Response;
|
|
3469
|
+
}> : Promise<TResponseStyle extends 'data' ? (TData extends Record<string, unknown> ? TData[keyof TData] : TData) | undefined : ({
|
|
3470
|
+
data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
|
|
3471
|
+
error: undefined;
|
|
3472
|
+
} | {
|
|
3473
|
+
data: undefined;
|
|
3474
|
+
error: TError extends Record<string, unknown> ? TError[keyof TError] : TError;
|
|
3475
|
+
}) & {
|
|
3476
|
+
request: Request;
|
|
3477
|
+
response: Response;
|
|
3478
|
+
}>;
|
|
3479
|
+
interface ClientOptions$1 {
|
|
3480
|
+
baseUrl?: string;
|
|
3481
|
+
responseStyle?: ResponseStyle;
|
|
3482
|
+
throwOnError?: boolean;
|
|
3483
|
+
}
|
|
3484
|
+
type MethodFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
|
|
3485
|
+
type SseFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'>) => Promise<ServerSentEventsResult<TData, TError>>;
|
|
3486
|
+
type RequestFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'> & Pick<Required<RequestOptions<TData, TResponseStyle, ThrowOnError>>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
|
|
3487
|
+
type BuildUrlFn = <TData extends {
|
|
3488
|
+
body?: unknown;
|
|
3489
|
+
path?: Record<string, unknown>;
|
|
3490
|
+
query?: Record<string, unknown>;
|
|
3491
|
+
url: string;
|
|
3492
|
+
}>(options: TData & Options$1<TData>) => string;
|
|
3493
|
+
type Client = Client$1<RequestFn, Config, MethodFn, BuildUrlFn, SseFn> & {
|
|
3494
|
+
interceptors: Middleware<Request, Response, unknown, ResolvedRequestOptions>;
|
|
3495
|
+
};
|
|
3496
|
+
interface TDataShape {
|
|
3497
|
+
body?: unknown;
|
|
3498
|
+
headers?: unknown;
|
|
3499
|
+
path?: unknown;
|
|
3500
|
+
query?: unknown;
|
|
3501
|
+
url: string;
|
|
3502
|
+
}
|
|
3503
|
+
type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
3504
|
+
type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = 'fields'> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
3505
|
+
|
|
3506
|
+
type ClientOptions = {
|
|
3507
|
+
baseUrl: 'https://api.matchi.com/v1' | (string & {});
|
|
3508
|
+
};
|
|
3202
3509
|
type Channels = {
|
|
3203
3510
|
inapp: boolean;
|
|
3204
3511
|
push: boolean;
|
|
@@ -3286,13 +3593,13 @@ type FacilityValueCardData = {
|
|
|
3286
3593
|
price: string;
|
|
3287
3594
|
user_has_active_membership: boolean;
|
|
3288
3595
|
};
|
|
3289
|
-
type Gender = 'MALE' | 'FEMALE' | 'OTHER' | 'PREFER_NOT_TO_SAY';
|
|
3290
3596
|
declare const Gender: {
|
|
3291
3597
|
readonly MALE: "MALE";
|
|
3292
3598
|
readonly FEMALE: "FEMALE";
|
|
3293
3599
|
readonly OTHER: "OTHER";
|
|
3294
3600
|
readonly PREFER_NOT_TO_SAY: "PREFER_NOT_TO_SAY";
|
|
3295
3601
|
};
|
|
3602
|
+
type Gender = typeof Gender[keyof typeof Gender];
|
|
3296
3603
|
type Metadata = {
|
|
3297
3604
|
pagination?: PkgOpenapiSharedCursorPaginatedResultSet;
|
|
3298
3605
|
summary: NotificationsSummary;
|
|
@@ -3337,14 +3644,14 @@ type Preference = {
|
|
|
3337
3644
|
type PreferencesResponse = {
|
|
3338
3645
|
items: Array<Preference>;
|
|
3339
3646
|
};
|
|
3340
|
-
type Source = 'FACILITY';
|
|
3341
3647
|
declare const Source: {
|
|
3342
3648
|
readonly FACILITY: "FACILITY";
|
|
3343
3649
|
};
|
|
3344
|
-
type
|
|
3650
|
+
type Source = typeof Source[keyof typeof Source];
|
|
3345
3651
|
declare const Topic: {
|
|
3346
3652
|
readonly FACILITY_MESSAGE: "FACILITY_MESSAGE";
|
|
3347
3653
|
};
|
|
3654
|
+
type Topic = typeof Topic[keyof typeof Topic];
|
|
3348
3655
|
type UpdatePreferencesRequestBody = {
|
|
3349
3656
|
inapp?: boolean;
|
|
3350
3657
|
push?: boolean;
|
|
@@ -3395,7 +3702,12 @@ type UserProfile = {
|
|
|
3395
3702
|
* * `NO_RELATION` - The user has no ongoing relation with the current user.
|
|
3396
3703
|
*
|
|
3397
3704
|
*/
|
|
3398
|
-
|
|
3705
|
+
declare const UserRelation: {
|
|
3706
|
+
readonly FRIENDS: "FRIENDS";
|
|
3707
|
+
readonly OUTGOING: "OUTGOING";
|
|
3708
|
+
readonly INCOMING: "INCOMING";
|
|
3709
|
+
readonly NO_RELATION: "NO_RELATION";
|
|
3710
|
+
};
|
|
3399
3711
|
/**
|
|
3400
3712
|
* Returns :
|
|
3401
3713
|
* * `FRIENDS` - The user is a friend.
|
|
@@ -3404,12 +3716,7 @@ type UserRelation = 'FRIENDS' | 'OUTGOING' | 'INCOMING' | 'NO_RELATION';
|
|
|
3404
3716
|
* * `NO_RELATION` - The user has no ongoing relation with the current user.
|
|
3405
3717
|
*
|
|
3406
3718
|
*/
|
|
3407
|
-
|
|
3408
|
-
readonly FRIENDS: "FRIENDS";
|
|
3409
|
-
readonly OUTGOING: "OUTGOING";
|
|
3410
|
-
readonly INCOMING: "INCOMING";
|
|
3411
|
-
readonly NO_RELATION: "NO_RELATION";
|
|
3412
|
-
};
|
|
3719
|
+
type UserRelation = typeof UserRelation[keyof typeof UserRelation];
|
|
3413
3720
|
type UsersPaginatedResponse = {
|
|
3414
3721
|
items: Array<User>;
|
|
3415
3722
|
meta: PkgOpenapiSharedOffsetPaginatedResultSet;
|
|
@@ -3902,11 +4209,8 @@ type UpdateUserProfileResponses = {
|
|
|
3902
4209
|
200: UserProfile;
|
|
3903
4210
|
};
|
|
3904
4211
|
type UpdateUserProfileResponse = UpdateUserProfileResponses[keyof UpdateUserProfileResponses];
|
|
3905
|
-
type ClientOptions = {
|
|
3906
|
-
baseUrl: 'https://api.matchi.com/v1' | (string & {});
|
|
3907
|
-
};
|
|
3908
4212
|
|
|
3909
|
-
declare const client:
|
|
4213
|
+
declare const client: Client;
|
|
3910
4214
|
|
|
3911
4215
|
declare const ChannelsSchema: {
|
|
3912
4216
|
readonly properties: {
|
|
@@ -4672,251 +4976,333 @@ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean
|
|
|
4672
4976
|
};
|
|
4673
4977
|
/**
|
|
4674
4978
|
* List all offers for a facility
|
|
4979
|
+
*
|
|
4675
4980
|
* Retrieve a list of all facility offers
|
|
4676
4981
|
*/
|
|
4677
|
-
declare const listFacilityOffers: <ThrowOnError extends boolean = false>(options: Options<ListFacilityOffersData, ThrowOnError>) =>
|
|
4982
|
+
declare const listFacilityOffers: <ThrowOnError extends boolean = false>(options: Options<ListFacilityOffersData, ThrowOnError>) => RequestResult<ListFacilityOffersResponses, ListFacilityOffersErrors, ThrowOnError, "fields">;
|
|
4678
4983
|
/**
|
|
4679
4984
|
* Create a facility offer order
|
|
4985
|
+
*
|
|
4680
4986
|
* Will create a facility offer order and return the order object
|
|
4681
4987
|
*/
|
|
4682
|
-
declare const createFacilityOfferOrder: <ThrowOnError extends boolean = false>(options: Options<CreateFacilityOfferOrderData, ThrowOnError>) =>
|
|
4988
|
+
declare const createFacilityOfferOrder: <ThrowOnError extends boolean = false>(options: Options<CreateFacilityOfferOrderData, ThrowOnError>) => RequestResult<CreateFacilityOfferOrderResponses, CreateFacilityOfferOrderErrors, ThrowOnError, "fields">;
|
|
4683
4989
|
/**
|
|
4684
4990
|
* Get all notifications
|
|
4991
|
+
*
|
|
4685
4992
|
* Get all notifications
|
|
4686
4993
|
*/
|
|
4687
|
-
declare const getNotifications: <ThrowOnError extends boolean = false>(options?: Options<GetNotificationsData, ThrowOnError>
|
|
4994
|
+
declare const getNotifications: <ThrowOnError extends boolean = false>(options?: Options<GetNotificationsData, ThrowOnError>) => RequestResult<GetNotificationsResponses, GetNotificationsErrors, ThrowOnError, "fields">;
|
|
4688
4995
|
/**
|
|
4689
4996
|
* Update all notifications
|
|
4997
|
+
*
|
|
4690
4998
|
* Update all notifications
|
|
4691
4999
|
*/
|
|
4692
|
-
declare const updateAllNotifications: <ThrowOnError extends boolean = false>(options: Options<UpdateAllNotificationsData, ThrowOnError>) =>
|
|
5000
|
+
declare const updateAllNotifications: <ThrowOnError extends boolean = false>(options: Options<UpdateAllNotificationsData, ThrowOnError>) => RequestResult<UpdateAllNotificationsResponses, UpdateAllNotificationsErrors, ThrowOnError, "fields">;
|
|
4693
5001
|
/**
|
|
4694
5002
|
* Get user's notifications preferences
|
|
5003
|
+
*
|
|
4695
5004
|
* Get user's notifications preferences
|
|
4696
5005
|
*/
|
|
4697
|
-
declare const getNotificationsPreferences: <ThrowOnError extends boolean = false>(options?: Options<GetNotificationsPreferencesData, ThrowOnError>
|
|
5006
|
+
declare const getNotificationsPreferences: <ThrowOnError extends boolean = false>(options?: Options<GetNotificationsPreferencesData, ThrowOnError>) => RequestResult<GetNotificationsPreferencesResponses, GetNotificationsPreferencesErrors, ThrowOnError, "fields">;
|
|
4698
5007
|
/**
|
|
4699
5008
|
* Update user's notifications preferences
|
|
5009
|
+
*
|
|
4700
5010
|
* Update user's notifications preferences
|
|
4701
5011
|
*/
|
|
4702
|
-
declare const updateNotificationsPreferences: <ThrowOnError extends boolean = false>(options: Options<UpdateNotificationsPreferencesData, ThrowOnError>) =>
|
|
5012
|
+
declare const updateNotificationsPreferences: <ThrowOnError extends boolean = false>(options: Options<UpdateNotificationsPreferencesData, ThrowOnError>) => RequestResult<UpdateNotificationsPreferencesResponses, UpdateNotificationsPreferencesErrors, ThrowOnError, "fields">;
|
|
4703
5013
|
/**
|
|
4704
5014
|
* Get a notification by id
|
|
5015
|
+
*
|
|
4705
5016
|
* Get a notification by id
|
|
4706
5017
|
*/
|
|
4707
|
-
declare const getNotificationById: <ThrowOnError extends boolean = false>(options: Options<GetNotificationByIdData, ThrowOnError>) =>
|
|
5018
|
+
declare const getNotificationById: <ThrowOnError extends boolean = false>(options: Options<GetNotificationByIdData, ThrowOnError>) => RequestResult<GetNotificationByIdResponses, GetNotificationByIdErrors, ThrowOnError, "fields">;
|
|
4708
5019
|
/**
|
|
4709
5020
|
* Update notification
|
|
5021
|
+
*
|
|
4710
5022
|
* Update notification
|
|
4711
5023
|
*/
|
|
4712
|
-
declare const updateNotification: <ThrowOnError extends boolean = false>(options: Options<UpdateNotificationData, ThrowOnError>) =>
|
|
5024
|
+
declare const updateNotification: <ThrowOnError extends boolean = false>(options: Options<UpdateNotificationData, ThrowOnError>) => RequestResult<UpdateNotificationResponses, UpdateNotificationErrors, ThrowOnError, "fields">;
|
|
4713
5025
|
/**
|
|
4714
5026
|
* Search for users by name
|
|
5027
|
+
*
|
|
4715
5028
|
* Get a list of users based on the current user's search query
|
|
4716
5029
|
*/
|
|
4717
|
-
declare const searchUsers: <ThrowOnError extends boolean = false>(options?: Options<SearchUsersData, ThrowOnError>
|
|
5030
|
+
declare const searchUsers: <ThrowOnError extends boolean = false>(options?: Options<SearchUsersData, ThrowOnError>) => RequestResult<SearchUsersResponses, SearchUsersErrors, ThrowOnError, "fields">;
|
|
4718
5031
|
/**
|
|
4719
5032
|
* Update the current user's profile
|
|
5033
|
+
*
|
|
4720
5034
|
* Update the current user's profile information
|
|
4721
5035
|
*/
|
|
4722
|
-
declare const updateUserProfile: <ThrowOnError extends boolean = false>(options: Options<UpdateUserProfileData, ThrowOnError>) =>
|
|
5036
|
+
declare const updateUserProfile: <ThrowOnError extends boolean = false>(options: Options<UpdateUserProfileData, ThrowOnError>) => RequestResult<UpdateUserProfileResponses, UpdateUserProfileErrors, ThrowOnError, "fields">;
|
|
4723
5037
|
|
|
4724
5038
|
type QueryKey<TOptions extends Options> = [
|
|
4725
5039
|
Pick<TOptions, 'baseUrl' | 'body' | 'headers' | 'path' | 'query'> & {
|
|
4726
5040
|
_id: string;
|
|
4727
5041
|
_infinite?: boolean;
|
|
5042
|
+
tags?: ReadonlyArray<string>;
|
|
4728
5043
|
}
|
|
4729
5044
|
];
|
|
4730
|
-
declare const listFacilityOffersQueryKey: (options: Options<ListFacilityOffersData>) => [Pick<Options<ListFacilityOffersData>, "
|
|
5045
|
+
declare const listFacilityOffersQueryKey: (options: Options<ListFacilityOffersData>) => [Pick<Options<ListFacilityOffersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4731
5046
|
_id: string;
|
|
4732
|
-
_infinite?: boolean
|
|
5047
|
+
_infinite?: boolean;
|
|
5048
|
+
tags?: ReadonlyArray<string>;
|
|
4733
5049
|
}];
|
|
4734
|
-
|
|
5050
|
+
/**
|
|
5051
|
+
* List all offers for a facility
|
|
5052
|
+
*
|
|
5053
|
+
* Retrieve a list of all facility offers
|
|
5054
|
+
*/
|
|
5055
|
+
declare const listFacilityOffersOptions: (options: Options<ListFacilityOffersData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<FacilityOfferList, PkgOpenapiSharedProblemDetails, FacilityOfferList, [Pick<Options<ListFacilityOffersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4735
5056
|
_id: string;
|
|
4736
|
-
_infinite?: boolean
|
|
5057
|
+
_infinite?: boolean;
|
|
5058
|
+
tags?: ReadonlyArray<string>;
|
|
4737
5059
|
}]>, "queryFn"> & {
|
|
4738
|
-
queryFn?:
|
|
5060
|
+
queryFn?: _tanstack_react_query.QueryFunction<FacilityOfferList, [Pick<Options<ListFacilityOffersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4739
5061
|
_id: string;
|
|
4740
|
-
_infinite?: boolean
|
|
5062
|
+
_infinite?: boolean;
|
|
5063
|
+
tags?: ReadonlyArray<string>;
|
|
4741
5064
|
}], never> | undefined;
|
|
4742
5065
|
} & {
|
|
4743
|
-
queryKey: [Pick<Options<ListFacilityOffersData>, "
|
|
5066
|
+
queryKey: [Pick<Options<ListFacilityOffersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4744
5067
|
_id: string;
|
|
4745
|
-
_infinite?: boolean
|
|
5068
|
+
_infinite?: boolean;
|
|
5069
|
+
tags?: ReadonlyArray<string>;
|
|
4746
5070
|
}] & {
|
|
4747
5071
|
[dataTagSymbol]: FacilityOfferList;
|
|
4748
|
-
[dataTagErrorSymbol]:
|
|
5072
|
+
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4749
5073
|
};
|
|
4750
5074
|
};
|
|
4751
5075
|
declare const listFacilityOffersInfiniteQueryKey: (options: Options<ListFacilityOffersData>) => QueryKey<Options<ListFacilityOffersData>>;
|
|
4752
|
-
|
|
5076
|
+
/**
|
|
5077
|
+
* List all offers for a facility
|
|
5078
|
+
*
|
|
5079
|
+
* Retrieve a list of all facility offers
|
|
5080
|
+
*/
|
|
5081
|
+
declare const listFacilityOffersInfiniteOptions: (options: Options<ListFacilityOffersData>) => _tanstack_react_query.UseInfiniteQueryOptions<FacilityOfferList, PkgOpenapiSharedProblemDetails, InfiniteData<FacilityOfferList, unknown>, QueryKey<Options<ListFacilityOffersData>>, string | Pick<Pick<Options<ListFacilityOffersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4753
5082
|
_id: string;
|
|
4754
|
-
_infinite?: boolean
|
|
4755
|
-
|
|
4756
|
-
|
|
5083
|
+
_infinite?: boolean;
|
|
5084
|
+
tags?: ReadonlyArray<string>;
|
|
5085
|
+
}, "query" | "body" | "headers" | "path">> & {
|
|
5086
|
+
initialData: InfiniteData<FacilityOfferList, string | Pick<Pick<Options<ListFacilityOffersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4757
5087
|
_id: string;
|
|
4758
|
-
_infinite?: boolean
|
|
4759
|
-
|
|
5088
|
+
_infinite?: boolean;
|
|
5089
|
+
tags?: ReadonlyArray<string>;
|
|
5090
|
+
}, "query" | "body" | "headers" | "path">> | (() => InfiniteData<FacilityOfferList, string | Pick<Pick<Options<ListFacilityOffersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4760
5091
|
_id: string;
|
|
4761
|
-
_infinite?: boolean
|
|
4762
|
-
|
|
5092
|
+
_infinite?: boolean;
|
|
5093
|
+
tags?: ReadonlyArray<string>;
|
|
5094
|
+
}, "query" | "body" | "headers" | "path">>) | undefined;
|
|
4763
5095
|
} & {
|
|
4764
5096
|
queryKey: QueryKey<Options<ListFacilityOffersData>> & {
|
|
4765
5097
|
[dataTagSymbol]: InfiniteData<FacilityOfferList, unknown>;
|
|
4766
5098
|
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4767
5099
|
};
|
|
4768
5100
|
};
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
}]>, "queryFn"> & {
|
|
4777
|
-
queryFn?: _tanstack_query_core_build_legacy_hydration_ClXcjjG9.K<FacilityOfferOrder, [Pick<Options<CreateFacilityOfferOrderData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4778
|
-
_id: string;
|
|
4779
|
-
_infinite?: boolean | undefined;
|
|
4780
|
-
}], never> | undefined;
|
|
4781
|
-
} & {
|
|
4782
|
-
queryKey: [Pick<Options<CreateFacilityOfferOrderData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4783
|
-
_id: string;
|
|
4784
|
-
_infinite?: boolean | undefined;
|
|
4785
|
-
}] & {
|
|
4786
|
-
[dataTagSymbol]: FacilityOfferOrder;
|
|
4787
|
-
[dataTagErrorSymbol]: Error;
|
|
4788
|
-
};
|
|
4789
|
-
};
|
|
4790
|
-
declare const createFacilityOfferOrderMutation: (options?: Partial<Options<CreateFacilityOfferOrderData>>) => UseMutationOptions<FacilityOfferOrder, PkgOpenapiSharedProblemDetails, Options<CreateFacilityOfferOrderData>, unknown>;
|
|
4791
|
-
declare const getNotificationsQueryKey: (options?: Options<GetNotificationsData>) => [Pick<Options<GetNotificationsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
5101
|
+
/**
|
|
5102
|
+
* Create a facility offer order
|
|
5103
|
+
*
|
|
5104
|
+
* Will create a facility offer order and return the order object
|
|
5105
|
+
*/
|
|
5106
|
+
declare const createFacilityOfferOrderMutation: (options?: Partial<Options<CreateFacilityOfferOrderData>>) => UseMutationOptions<CreateFacilityOfferOrderResponse, CreateFacilityOfferOrderError, Options<CreateFacilityOfferOrderData>>;
|
|
5107
|
+
declare const getNotificationsQueryKey: (options?: Options<GetNotificationsData>) => [Pick<Options<GetNotificationsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4792
5108
|
_id: string;
|
|
4793
|
-
_infinite?: boolean
|
|
5109
|
+
_infinite?: boolean;
|
|
5110
|
+
tags?: ReadonlyArray<string>;
|
|
4794
5111
|
}];
|
|
4795
|
-
|
|
5112
|
+
/**
|
|
5113
|
+
* Get all notifications
|
|
5114
|
+
*
|
|
5115
|
+
* Get all notifications
|
|
5116
|
+
*/
|
|
5117
|
+
declare const getNotificationsOptions: (options?: Options<GetNotificationsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<NotificationsPaginatedResponse, PkgOpenapiSharedProblemDetails, NotificationsPaginatedResponse, [Pick<Options<GetNotificationsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4796
5118
|
_id: string;
|
|
4797
|
-
_infinite?: boolean
|
|
5119
|
+
_infinite?: boolean;
|
|
5120
|
+
tags?: ReadonlyArray<string>;
|
|
4798
5121
|
}]>, "queryFn"> & {
|
|
4799
|
-
queryFn?:
|
|
5122
|
+
queryFn?: _tanstack_react_query.QueryFunction<NotificationsPaginatedResponse, [Pick<Options<GetNotificationsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4800
5123
|
_id: string;
|
|
4801
|
-
_infinite?: boolean
|
|
5124
|
+
_infinite?: boolean;
|
|
5125
|
+
tags?: ReadonlyArray<string>;
|
|
4802
5126
|
}], never> | undefined;
|
|
4803
5127
|
} & {
|
|
4804
|
-
queryKey: [Pick<Options<GetNotificationsData>, "
|
|
5128
|
+
queryKey: [Pick<Options<GetNotificationsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4805
5129
|
_id: string;
|
|
4806
|
-
_infinite?: boolean
|
|
5130
|
+
_infinite?: boolean;
|
|
5131
|
+
tags?: ReadonlyArray<string>;
|
|
4807
5132
|
}] & {
|
|
4808
5133
|
[dataTagSymbol]: NotificationsPaginatedResponse;
|
|
4809
|
-
[dataTagErrorSymbol]:
|
|
5134
|
+
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4810
5135
|
};
|
|
4811
5136
|
};
|
|
4812
5137
|
declare const getNotificationsInfiniteQueryKey: (options?: Options<GetNotificationsData>) => QueryKey<Options<GetNotificationsData>>;
|
|
4813
|
-
|
|
5138
|
+
/**
|
|
5139
|
+
* Get all notifications
|
|
5140
|
+
*
|
|
5141
|
+
* Get all notifications
|
|
5142
|
+
*/
|
|
5143
|
+
declare const getNotificationsInfiniteOptions: (options?: Options<GetNotificationsData>) => _tanstack_react_query.UseInfiniteQueryOptions<NotificationsPaginatedResponse, PkgOpenapiSharedProblemDetails, InfiniteData<NotificationsPaginatedResponse, unknown>, QueryKey<Options<GetNotificationsData>>, string | Pick<Pick<Options<GetNotificationsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4814
5144
|
_id: string;
|
|
4815
|
-
_infinite?: boolean
|
|
4816
|
-
|
|
4817
|
-
|
|
5145
|
+
_infinite?: boolean;
|
|
5146
|
+
tags?: ReadonlyArray<string>;
|
|
5147
|
+
}, "query" | "body" | "headers" | "path">> & {
|
|
5148
|
+
initialData: InfiniteData<NotificationsPaginatedResponse, string | Pick<Pick<Options<GetNotificationsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4818
5149
|
_id: string;
|
|
4819
|
-
_infinite?: boolean
|
|
4820
|
-
|
|
5150
|
+
_infinite?: boolean;
|
|
5151
|
+
tags?: ReadonlyArray<string>;
|
|
5152
|
+
}, "query" | "body" | "headers" | "path">> | (() => InfiniteData<NotificationsPaginatedResponse, string | Pick<Pick<Options<GetNotificationsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4821
5153
|
_id: string;
|
|
4822
|
-
_infinite?: boolean
|
|
4823
|
-
|
|
5154
|
+
_infinite?: boolean;
|
|
5155
|
+
tags?: ReadonlyArray<string>;
|
|
5156
|
+
}, "query" | "body" | "headers" | "path">>) | undefined;
|
|
4824
5157
|
} & {
|
|
4825
5158
|
queryKey: QueryKey<Options<GetNotificationsData>> & {
|
|
4826
5159
|
[dataTagSymbol]: InfiniteData<NotificationsPaginatedResponse, unknown>;
|
|
4827
5160
|
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4828
5161
|
};
|
|
4829
5162
|
};
|
|
4830
|
-
|
|
4831
|
-
|
|
5163
|
+
/**
|
|
5164
|
+
* Update all notifications
|
|
5165
|
+
*
|
|
5166
|
+
* Update all notifications
|
|
5167
|
+
*/
|
|
5168
|
+
declare const updateAllNotificationsMutation: (options?: Partial<Options<UpdateAllNotificationsData>>) => UseMutationOptions<UpdateAllNotificationsResponse, UpdateAllNotificationsError, Options<UpdateAllNotificationsData>>;
|
|
5169
|
+
declare const getNotificationsPreferencesQueryKey: (options?: Options<GetNotificationsPreferencesData>) => [Pick<Options<GetNotificationsPreferencesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4832
5170
|
_id: string;
|
|
4833
|
-
_infinite?: boolean
|
|
5171
|
+
_infinite?: boolean;
|
|
5172
|
+
tags?: ReadonlyArray<string>;
|
|
4834
5173
|
}];
|
|
4835
|
-
|
|
5174
|
+
/**
|
|
5175
|
+
* Get user's notifications preferences
|
|
5176
|
+
*
|
|
5177
|
+
* Get user's notifications preferences
|
|
5178
|
+
*/
|
|
5179
|
+
declare const getNotificationsPreferencesOptions: (options?: Options<GetNotificationsPreferencesData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<PreferencesResponse, PkgOpenapiSharedProblemDetails, PreferencesResponse, [Pick<Options<GetNotificationsPreferencesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4836
5180
|
_id: string;
|
|
4837
|
-
_infinite?: boolean
|
|
5181
|
+
_infinite?: boolean;
|
|
5182
|
+
tags?: ReadonlyArray<string>;
|
|
4838
5183
|
}]>, "queryFn"> & {
|
|
4839
|
-
queryFn?:
|
|
5184
|
+
queryFn?: _tanstack_react_query.QueryFunction<PreferencesResponse, [Pick<Options<GetNotificationsPreferencesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4840
5185
|
_id: string;
|
|
4841
|
-
_infinite?: boolean
|
|
5186
|
+
_infinite?: boolean;
|
|
5187
|
+
tags?: ReadonlyArray<string>;
|
|
4842
5188
|
}], never> | undefined;
|
|
4843
5189
|
} & {
|
|
4844
|
-
queryKey: [Pick<Options<GetNotificationsPreferencesData>, "
|
|
5190
|
+
queryKey: [Pick<Options<GetNotificationsPreferencesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4845
5191
|
_id: string;
|
|
4846
|
-
_infinite?: boolean
|
|
5192
|
+
_infinite?: boolean;
|
|
5193
|
+
tags?: ReadonlyArray<string>;
|
|
4847
5194
|
}] & {
|
|
4848
5195
|
[dataTagSymbol]: PreferencesResponse;
|
|
4849
|
-
[dataTagErrorSymbol]:
|
|
5196
|
+
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4850
5197
|
};
|
|
4851
5198
|
};
|
|
4852
|
-
|
|
4853
|
-
|
|
5199
|
+
/**
|
|
5200
|
+
* Update user's notifications preferences
|
|
5201
|
+
*
|
|
5202
|
+
* Update user's notifications preferences
|
|
5203
|
+
*/
|
|
5204
|
+
declare const updateNotificationsPreferencesMutation: (options?: Partial<Options<UpdateNotificationsPreferencesData>>) => UseMutationOptions<UpdateNotificationsPreferencesResponse, UpdateNotificationsPreferencesError, Options<UpdateNotificationsPreferencesData>>;
|
|
5205
|
+
declare const getNotificationByIdQueryKey: (options: Options<GetNotificationByIdData>) => [Pick<Options<GetNotificationByIdData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4854
5206
|
_id: string;
|
|
4855
|
-
_infinite?: boolean
|
|
5207
|
+
_infinite?: boolean;
|
|
5208
|
+
tags?: ReadonlyArray<string>;
|
|
4856
5209
|
}];
|
|
4857
|
-
|
|
5210
|
+
/**
|
|
5211
|
+
* Get a notification by id
|
|
5212
|
+
*
|
|
5213
|
+
* Get a notification by id
|
|
5214
|
+
*/
|
|
5215
|
+
declare const getNotificationByIdOptions: (options: Options<GetNotificationByIdData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Notification, PkgOpenapiSharedProblemDetails, Notification, [Pick<Options<GetNotificationByIdData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4858
5216
|
_id: string;
|
|
4859
|
-
_infinite?: boolean
|
|
5217
|
+
_infinite?: boolean;
|
|
5218
|
+
tags?: ReadonlyArray<string>;
|
|
4860
5219
|
}]>, "queryFn"> & {
|
|
4861
|
-
queryFn?:
|
|
5220
|
+
queryFn?: _tanstack_react_query.QueryFunction<Notification, [Pick<Options<GetNotificationByIdData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4862
5221
|
_id: string;
|
|
4863
|
-
_infinite?: boolean
|
|
5222
|
+
_infinite?: boolean;
|
|
5223
|
+
tags?: ReadonlyArray<string>;
|
|
4864
5224
|
}], never> | undefined;
|
|
4865
5225
|
} & {
|
|
4866
|
-
queryKey: [Pick<Options<GetNotificationByIdData>, "
|
|
5226
|
+
queryKey: [Pick<Options<GetNotificationByIdData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4867
5227
|
_id: string;
|
|
4868
|
-
_infinite?: boolean
|
|
5228
|
+
_infinite?: boolean;
|
|
5229
|
+
tags?: ReadonlyArray<string>;
|
|
4869
5230
|
}] & {
|
|
4870
5231
|
[dataTagSymbol]: Notification;
|
|
4871
|
-
[dataTagErrorSymbol]:
|
|
5232
|
+
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4872
5233
|
};
|
|
4873
5234
|
};
|
|
4874
|
-
|
|
4875
|
-
|
|
5235
|
+
/**
|
|
5236
|
+
* Update notification
|
|
5237
|
+
*
|
|
5238
|
+
* Update notification
|
|
5239
|
+
*/
|
|
5240
|
+
declare const updateNotificationMutation: (options?: Partial<Options<UpdateNotificationData>>) => UseMutationOptions<UpdateNotificationResponse, UpdateNotificationError, Options<UpdateNotificationData>>;
|
|
5241
|
+
declare const searchUsersQueryKey: (options?: Options<SearchUsersData>) => [Pick<Options<SearchUsersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4876
5242
|
_id: string;
|
|
4877
|
-
_infinite?: boolean
|
|
5243
|
+
_infinite?: boolean;
|
|
5244
|
+
tags?: ReadonlyArray<string>;
|
|
4878
5245
|
}];
|
|
4879
|
-
|
|
5246
|
+
/**
|
|
5247
|
+
* Search for users by name
|
|
5248
|
+
*
|
|
5249
|
+
* Get a list of users based on the current user's search query
|
|
5250
|
+
*/
|
|
5251
|
+
declare const searchUsersOptions: (options?: Options<SearchUsersData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<UsersPaginatedResponse, PkgOpenapiSharedProblemDetails, UsersPaginatedResponse, [Pick<Options<SearchUsersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4880
5252
|
_id: string;
|
|
4881
|
-
_infinite?: boolean
|
|
5253
|
+
_infinite?: boolean;
|
|
5254
|
+
tags?: ReadonlyArray<string>;
|
|
4882
5255
|
}]>, "queryFn"> & {
|
|
4883
|
-
queryFn?:
|
|
5256
|
+
queryFn?: _tanstack_react_query.QueryFunction<UsersPaginatedResponse, [Pick<Options<SearchUsersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4884
5257
|
_id: string;
|
|
4885
|
-
_infinite?: boolean
|
|
5258
|
+
_infinite?: boolean;
|
|
5259
|
+
tags?: ReadonlyArray<string>;
|
|
4886
5260
|
}], never> | undefined;
|
|
4887
5261
|
} & {
|
|
4888
|
-
queryKey: [Pick<Options<SearchUsersData>, "
|
|
5262
|
+
queryKey: [Pick<Options<SearchUsersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4889
5263
|
_id: string;
|
|
4890
|
-
_infinite?: boolean
|
|
5264
|
+
_infinite?: boolean;
|
|
5265
|
+
tags?: ReadonlyArray<string>;
|
|
4891
5266
|
}] & {
|
|
4892
5267
|
[dataTagSymbol]: UsersPaginatedResponse;
|
|
4893
|
-
[dataTagErrorSymbol]:
|
|
5268
|
+
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4894
5269
|
};
|
|
4895
5270
|
};
|
|
4896
5271
|
declare const searchUsersInfiniteQueryKey: (options?: Options<SearchUsersData>) => QueryKey<Options<SearchUsersData>>;
|
|
4897
|
-
|
|
5272
|
+
/**
|
|
5273
|
+
* Search for users by name
|
|
5274
|
+
*
|
|
5275
|
+
* Get a list of users based on the current user's search query
|
|
5276
|
+
*/
|
|
5277
|
+
declare const searchUsersInfiniteOptions: (options?: Options<SearchUsersData>) => _tanstack_react_query.UseInfiniteQueryOptions<UsersPaginatedResponse, PkgOpenapiSharedProblemDetails, InfiniteData<UsersPaginatedResponse, unknown>, QueryKey<Options<SearchUsersData>>, number | Pick<Pick<Options<SearchUsersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4898
5278
|
_id: string;
|
|
4899
|
-
_infinite?: boolean
|
|
4900
|
-
|
|
4901
|
-
|
|
5279
|
+
_infinite?: boolean;
|
|
5280
|
+
tags?: ReadonlyArray<string>;
|
|
5281
|
+
}, "query" | "body" | "headers" | "path">> & {
|
|
5282
|
+
initialData: InfiniteData<UsersPaginatedResponse, number | Pick<Pick<Options<SearchUsersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4902
5283
|
_id: string;
|
|
4903
|
-
_infinite?: boolean
|
|
4904
|
-
|
|
5284
|
+
_infinite?: boolean;
|
|
5285
|
+
tags?: ReadonlyArray<string>;
|
|
5286
|
+
}, "query" | "body" | "headers" | "path">> | (() => InfiniteData<UsersPaginatedResponse, number | Pick<Pick<Options<SearchUsersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4905
5287
|
_id: string;
|
|
4906
|
-
_infinite?: boolean
|
|
4907
|
-
|
|
5288
|
+
_infinite?: boolean;
|
|
5289
|
+
tags?: ReadonlyArray<string>;
|
|
5290
|
+
}, "query" | "body" | "headers" | "path">>) | undefined;
|
|
4908
5291
|
} & {
|
|
4909
5292
|
queryKey: QueryKey<Options<SearchUsersData>> & {
|
|
4910
5293
|
[dataTagSymbol]: InfiniteData<UsersPaginatedResponse, unknown>;
|
|
4911
5294
|
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4912
5295
|
};
|
|
4913
5296
|
};
|
|
4914
|
-
|
|
5297
|
+
/**
|
|
5298
|
+
* Update the current user's profile
|
|
5299
|
+
*
|
|
5300
|
+
* Update the current user's profile information
|
|
5301
|
+
*/
|
|
5302
|
+
declare const updateUserProfileMutation: (options?: Partial<Options<UpdateUserProfileData>>) => UseMutationOptions<UpdateUserProfileResponse, UpdateUserProfileError, Options<UpdateUserProfileData>>;
|
|
4915
5303
|
|
|
4916
5304
|
type reactQuery_gen_QueryKey<TOptions extends Options> = QueryKey<TOptions>;
|
|
4917
5305
|
declare const reactQuery_gen_createFacilityOfferOrderMutation: typeof createFacilityOfferOrderMutation;
|
|
4918
|
-
declare const reactQuery_gen_createFacilityOfferOrderOptions: typeof createFacilityOfferOrderOptions;
|
|
4919
|
-
declare const reactQuery_gen_createFacilityOfferOrderQueryKey: typeof createFacilityOfferOrderQueryKey;
|
|
4920
5306
|
declare const reactQuery_gen_getNotificationByIdOptions: typeof getNotificationByIdOptions;
|
|
4921
5307
|
declare const reactQuery_gen_getNotificationByIdQueryKey: typeof getNotificationByIdQueryKey;
|
|
4922
5308
|
declare const reactQuery_gen_getNotificationsInfiniteOptions: typeof getNotificationsInfiniteOptions;
|
|
@@ -4938,7 +5324,7 @@ declare const reactQuery_gen_updateNotificationMutation: typeof updateNotificati
|
|
|
4938
5324
|
declare const reactQuery_gen_updateNotificationsPreferencesMutation: typeof updateNotificationsPreferencesMutation;
|
|
4939
5325
|
declare const reactQuery_gen_updateUserProfileMutation: typeof updateUserProfileMutation;
|
|
4940
5326
|
declare namespace reactQuery_gen {
|
|
4941
|
-
export { type reactQuery_gen_QueryKey as QueryKey, reactQuery_gen_createFacilityOfferOrderMutation as createFacilityOfferOrderMutation,
|
|
5327
|
+
export { type reactQuery_gen_QueryKey as QueryKey, reactQuery_gen_createFacilityOfferOrderMutation as createFacilityOfferOrderMutation, reactQuery_gen_getNotificationByIdOptions as getNotificationByIdOptions, reactQuery_gen_getNotificationByIdQueryKey as getNotificationByIdQueryKey, reactQuery_gen_getNotificationsInfiniteOptions as getNotificationsInfiniteOptions, reactQuery_gen_getNotificationsInfiniteQueryKey as getNotificationsInfiniteQueryKey, reactQuery_gen_getNotificationsOptions as getNotificationsOptions, reactQuery_gen_getNotificationsPreferencesOptions as getNotificationsPreferencesOptions, reactQuery_gen_getNotificationsPreferencesQueryKey as getNotificationsPreferencesQueryKey, reactQuery_gen_getNotificationsQueryKey as getNotificationsQueryKey, reactQuery_gen_listFacilityOffersInfiniteOptions as listFacilityOffersInfiniteOptions, reactQuery_gen_listFacilityOffersInfiniteQueryKey as listFacilityOffersInfiniteQueryKey, reactQuery_gen_listFacilityOffersOptions as listFacilityOffersOptions, reactQuery_gen_listFacilityOffersQueryKey as listFacilityOffersQueryKey, reactQuery_gen_searchUsersInfiniteOptions as searchUsersInfiniteOptions, reactQuery_gen_searchUsersInfiniteQueryKey as searchUsersInfiniteQueryKey, reactQuery_gen_searchUsersOptions as searchUsersOptions, reactQuery_gen_searchUsersQueryKey as searchUsersQueryKey, reactQuery_gen_updateAllNotificationsMutation as updateAllNotificationsMutation, reactQuery_gen_updateNotificationMutation as updateNotificationMutation, reactQuery_gen_updateNotificationsPreferencesMutation as updateNotificationsPreferencesMutation, reactQuery_gen_updateUserProfileMutation as updateUserProfileMutation };
|
|
4942
5328
|
}
|
|
4943
5329
|
|
|
4944
5330
|
type indexV1_Channels = Channels;
|
|
@@ -4962,7 +5348,7 @@ type indexV1_FacilityOfferList = FacilityOfferList;
|
|
|
4962
5348
|
type indexV1_FacilityOfferOrder = FacilityOfferOrder;
|
|
4963
5349
|
type indexV1_FacilityPunchCardData = FacilityPunchCardData;
|
|
4964
5350
|
type indexV1_FacilityValueCardData = FacilityValueCardData;
|
|
4965
|
-
|
|
5351
|
+
type indexV1_Gender = Gender;
|
|
4966
5352
|
type indexV1_GetNotificationByIdData = GetNotificationByIdData;
|
|
4967
5353
|
type indexV1_GetNotificationByIdError = GetNotificationByIdError;
|
|
4968
5354
|
type indexV1_GetNotificationByIdErrors = GetNotificationByIdErrors;
|
|
@@ -5009,8 +5395,8 @@ type indexV1_SearchUsersError = SearchUsersError;
|
|
|
5009
5395
|
type indexV1_SearchUsersErrors = SearchUsersErrors;
|
|
5010
5396
|
type indexV1_SearchUsersResponse = SearchUsersResponse;
|
|
5011
5397
|
type indexV1_SearchUsersResponses = SearchUsersResponses;
|
|
5012
|
-
|
|
5013
|
-
|
|
5398
|
+
type indexV1_Source = Source;
|
|
5399
|
+
type indexV1_Topic = Topic;
|
|
5014
5400
|
type indexV1_UpdateAllNotificationsData = UpdateAllNotificationsData;
|
|
5015
5401
|
type indexV1_UpdateAllNotificationsError = UpdateAllNotificationsError;
|
|
5016
5402
|
type indexV1_UpdateAllNotificationsErrors = UpdateAllNotificationsErrors;
|
|
@@ -5035,7 +5421,7 @@ type indexV1_UpdateUserProfileResponse = UpdateUserProfileResponse;
|
|
|
5035
5421
|
type indexV1_UpdateUserProfileResponses = UpdateUserProfileResponses;
|
|
5036
5422
|
type indexV1_User = User;
|
|
5037
5423
|
type indexV1_UserProfile = UserProfile;
|
|
5038
|
-
|
|
5424
|
+
type indexV1_UserRelation = UserRelation;
|
|
5039
5425
|
type indexV1_UsersPaginatedResponse = UsersPaginatedResponse;
|
|
5040
5426
|
declare const indexV1_client: typeof client;
|
|
5041
5427
|
declare const indexV1_createFacilityOfferOrder: typeof createFacilityOfferOrder;
|
|
@@ -5049,7 +5435,7 @@ declare const indexV1_updateNotification: typeof updateNotification;
|
|
|
5049
5435
|
declare const indexV1_updateNotificationsPreferences: typeof updateNotificationsPreferences;
|
|
5050
5436
|
declare const indexV1_updateUserProfile: typeof updateUserProfile;
|
|
5051
5437
|
declare namespace indexV1 {
|
|
5052
|
-
export { type indexV1_Channels as Channels, type indexV1_ClientOptions as ClientOptions, type indexV1_CreateFacilityOfferOrderData as CreateFacilityOfferOrderData, type indexV1_CreateFacilityOfferOrderError as CreateFacilityOfferOrderError, type indexV1_CreateFacilityOfferOrderErrors as CreateFacilityOfferOrderErrors, type indexV1_CreateFacilityOfferOrderResponse as CreateFacilityOfferOrderResponse, type indexV1_CreateFacilityOfferOrderResponses as CreateFacilityOfferOrderResponses, type indexV1_FacilityIdPath as FacilityIdPath, type indexV1_FacilityMessagePayload as FacilityMessagePayload, type indexV1_FacilityOffer as FacilityOffer, type indexV1_FacilityOfferCondition as FacilityOfferCondition, type indexV1_FacilityOfferConditionActivities as FacilityOfferConditionActivities, type indexV1_FacilityOfferConditionCourts as FacilityOfferConditionCourts, type indexV1_FacilityOfferConditionDate as FacilityOfferConditionDate, type indexV1_FacilityOfferConditionHoursinadvance as FacilityOfferConditionHoursinadvance, type indexV1_FacilityOfferConditionTime as FacilityOfferConditionTime, type indexV1_FacilityOfferConditionWeekdays as FacilityOfferConditionWeekdays, type indexV1_FacilityOfferList as FacilityOfferList, type indexV1_FacilityOfferOrder as FacilityOfferOrder, type indexV1_FacilityPunchCardData as FacilityPunchCardData, type indexV1_FacilityValueCardData as FacilityValueCardData, indexV1_Gender as Gender, type indexV1_GetNotificationByIdData as GetNotificationByIdData, type indexV1_GetNotificationByIdError as GetNotificationByIdError, type indexV1_GetNotificationByIdErrors as GetNotificationByIdErrors, type indexV1_GetNotificationByIdResponse as GetNotificationByIdResponse, type indexV1_GetNotificationByIdResponses as GetNotificationByIdResponses, type indexV1_GetNotificationsData as GetNotificationsData, type indexV1_GetNotificationsError as GetNotificationsError, type indexV1_GetNotificationsErrors as GetNotificationsErrors, type indexV1_GetNotificationsPreferencesData as GetNotificationsPreferencesData, type indexV1_GetNotificationsPreferencesError as GetNotificationsPreferencesError, type indexV1_GetNotificationsPreferencesErrors as GetNotificationsPreferencesErrors, type indexV1_GetNotificationsPreferencesResponse as GetNotificationsPreferencesResponse, type indexV1_GetNotificationsPreferencesResponses as GetNotificationsPreferencesResponses, type indexV1_GetNotificationsResponse as GetNotificationsResponse, type indexV1_GetNotificationsResponses as GetNotificationsResponses, type indexV1_ListFacilityOffersData as ListFacilityOffersData, type indexV1_ListFacilityOffersError as ListFacilityOffersError, type indexV1_ListFacilityOffersErrors as ListFacilityOffersErrors, type indexV1_ListFacilityOffersResponse as ListFacilityOffersResponse, type indexV1_ListFacilityOffersResponses as ListFacilityOffersResponses, type indexV1_Metadata as Metadata, type indexV1_Notification as Notification, type indexV1_NotificationPayload as NotificationPayload, type indexV1_NotificationRequestBody as NotificationRequestBody, type indexV1_NotificationsFilter as NotificationsFilter, type indexV1_NotificationsFilterParam as NotificationsFilterParam, type indexV1_NotificationsPaginatedResponse as NotificationsPaginatedResponse, type indexV1_NotificationsSummary as NotificationsSummary, type indexV1_OfferIdPath as OfferIdPath, type indexV1_Options as Options, type indexV1_PkgOpenapiSharedCursorLimitParam as PkgOpenapiSharedCursorLimitParam, type indexV1_PkgOpenapiSharedCursorPaginatedResultSet as PkgOpenapiSharedCursorPaginatedResultSet, type indexV1_PkgOpenapiSharedCursorParam as PkgOpenapiSharedCursorParam, type indexV1_PkgOpenapiSharedError as PkgOpenapiSharedError, type indexV1_PkgOpenapiSharedErrors as PkgOpenapiSharedErrors, type indexV1_PkgOpenapiSharedOffsetLimitParam as PkgOpenapiSharedOffsetLimitParam, type indexV1_PkgOpenapiSharedOffsetPaginatedResultSet as PkgOpenapiSharedOffsetPaginatedResultSet, type indexV1_PkgOpenapiSharedOffsetParam as PkgOpenapiSharedOffsetParam, type indexV1_PkgOpenapiSharedProblemDetails as PkgOpenapiSharedProblemDetails, type indexV1_Preference as Preference, type indexV1_PreferencesResponse as PreferencesResponse, type indexV1_SearchUsersData as SearchUsersData, type indexV1_SearchUsersError as SearchUsersError, type indexV1_SearchUsersErrors as SearchUsersErrors, type indexV1_SearchUsersResponse as SearchUsersResponse, type indexV1_SearchUsersResponses as SearchUsersResponses, indexV1_Source as Source, indexV1_Topic as Topic, type indexV1_UpdateAllNotificationsData as UpdateAllNotificationsData, type indexV1_UpdateAllNotificationsError as UpdateAllNotificationsError, type indexV1_UpdateAllNotificationsErrors as UpdateAllNotificationsErrors, type indexV1_UpdateAllNotificationsResponse as UpdateAllNotificationsResponse, type indexV1_UpdateAllNotificationsResponses as UpdateAllNotificationsResponses, type indexV1_UpdateNotificationData as UpdateNotificationData, type indexV1_UpdateNotificationError as UpdateNotificationError, type indexV1_UpdateNotificationErrors as UpdateNotificationErrors, type indexV1_UpdateNotificationResponse as UpdateNotificationResponse, type indexV1_UpdateNotificationResponses as UpdateNotificationResponses, type indexV1_UpdateNotificationsPreferencesData as UpdateNotificationsPreferencesData, type indexV1_UpdateNotificationsPreferencesError as UpdateNotificationsPreferencesError, type indexV1_UpdateNotificationsPreferencesErrors as UpdateNotificationsPreferencesErrors, type indexV1_UpdateNotificationsPreferencesResponse as UpdateNotificationsPreferencesResponse, type indexV1_UpdateNotificationsPreferencesResponses as UpdateNotificationsPreferencesResponses, type indexV1_UpdatePreferencesRequestBody as UpdatePreferencesRequestBody, type indexV1_UpdateUserProfileData as UpdateUserProfileData, type indexV1_UpdateUserProfileError as UpdateUserProfileError, type indexV1_UpdateUserProfileErrors as UpdateUserProfileErrors, type indexV1_UpdateUserProfileRequest as UpdateUserProfileRequest, type indexV1_UpdateUserProfileResponse as UpdateUserProfileResponse, type indexV1_UpdateUserProfileResponses as UpdateUserProfileResponses, type indexV1_User as User, type indexV1_UserProfile as UserProfile, indexV1_UserRelation as UserRelation, type indexV1_UsersPaginatedResponse as UsersPaginatedResponse, indexV1_client as client, indexV1_createFacilityOfferOrder as createFacilityOfferOrder, indexV1_getNotificationById as getNotificationById, indexV1_getNotifications as getNotifications, indexV1_getNotificationsPreferences as getNotificationsPreferences, indexV1_listFacilityOffers as listFacilityOffers, reactQuery_gen as queries, schemas_gen as schemas, indexV1_searchUsers as searchUsers, indexV1_updateAllNotifications as updateAllNotifications, indexV1_updateNotification as updateNotification, indexV1_updateNotificationsPreferences as updateNotificationsPreferences, indexV1_updateUserProfile as updateUserProfile };
|
|
5438
|
+
export { type indexV1_Channels as Channels, type indexV1_ClientOptions as ClientOptions, type indexV1_CreateFacilityOfferOrderData as CreateFacilityOfferOrderData, type indexV1_CreateFacilityOfferOrderError as CreateFacilityOfferOrderError, type indexV1_CreateFacilityOfferOrderErrors as CreateFacilityOfferOrderErrors, type indexV1_CreateFacilityOfferOrderResponse as CreateFacilityOfferOrderResponse, type indexV1_CreateFacilityOfferOrderResponses as CreateFacilityOfferOrderResponses, type indexV1_FacilityIdPath as FacilityIdPath, type indexV1_FacilityMessagePayload as FacilityMessagePayload, type indexV1_FacilityOffer as FacilityOffer, type indexV1_FacilityOfferCondition as FacilityOfferCondition, type indexV1_FacilityOfferConditionActivities as FacilityOfferConditionActivities, type indexV1_FacilityOfferConditionCourts as FacilityOfferConditionCourts, type indexV1_FacilityOfferConditionDate as FacilityOfferConditionDate, type indexV1_FacilityOfferConditionHoursinadvance as FacilityOfferConditionHoursinadvance, type indexV1_FacilityOfferConditionTime as FacilityOfferConditionTime, type indexV1_FacilityOfferConditionWeekdays as FacilityOfferConditionWeekdays, type indexV1_FacilityOfferList as FacilityOfferList, type indexV1_FacilityOfferOrder as FacilityOfferOrder, type indexV1_FacilityPunchCardData as FacilityPunchCardData, type indexV1_FacilityValueCardData as FacilityValueCardData, type indexV1_Gender as Gender, type indexV1_GetNotificationByIdData as GetNotificationByIdData, type indexV1_GetNotificationByIdError as GetNotificationByIdError, type indexV1_GetNotificationByIdErrors as GetNotificationByIdErrors, type indexV1_GetNotificationByIdResponse as GetNotificationByIdResponse, type indexV1_GetNotificationByIdResponses as GetNotificationByIdResponses, type indexV1_GetNotificationsData as GetNotificationsData, type indexV1_GetNotificationsError as GetNotificationsError, type indexV1_GetNotificationsErrors as GetNotificationsErrors, type indexV1_GetNotificationsPreferencesData as GetNotificationsPreferencesData, type indexV1_GetNotificationsPreferencesError as GetNotificationsPreferencesError, type indexV1_GetNotificationsPreferencesErrors as GetNotificationsPreferencesErrors, type indexV1_GetNotificationsPreferencesResponse as GetNotificationsPreferencesResponse, type indexV1_GetNotificationsPreferencesResponses as GetNotificationsPreferencesResponses, type indexV1_GetNotificationsResponse as GetNotificationsResponse, type indexV1_GetNotificationsResponses as GetNotificationsResponses, type indexV1_ListFacilityOffersData as ListFacilityOffersData, type indexV1_ListFacilityOffersError as ListFacilityOffersError, type indexV1_ListFacilityOffersErrors as ListFacilityOffersErrors, type indexV1_ListFacilityOffersResponse as ListFacilityOffersResponse, type indexV1_ListFacilityOffersResponses as ListFacilityOffersResponses, type indexV1_Metadata as Metadata, type indexV1_Notification as Notification, type indexV1_NotificationPayload as NotificationPayload, type indexV1_NotificationRequestBody as NotificationRequestBody, type indexV1_NotificationsFilter as NotificationsFilter, type indexV1_NotificationsFilterParam as NotificationsFilterParam, type indexV1_NotificationsPaginatedResponse as NotificationsPaginatedResponse, type indexV1_NotificationsSummary as NotificationsSummary, type indexV1_OfferIdPath as OfferIdPath, type indexV1_Options as Options, type indexV1_PkgOpenapiSharedCursorLimitParam as PkgOpenapiSharedCursorLimitParam, type indexV1_PkgOpenapiSharedCursorPaginatedResultSet as PkgOpenapiSharedCursorPaginatedResultSet, type indexV1_PkgOpenapiSharedCursorParam as PkgOpenapiSharedCursorParam, type indexV1_PkgOpenapiSharedError as PkgOpenapiSharedError, type indexV1_PkgOpenapiSharedErrors as PkgOpenapiSharedErrors, type indexV1_PkgOpenapiSharedOffsetLimitParam as PkgOpenapiSharedOffsetLimitParam, type indexV1_PkgOpenapiSharedOffsetPaginatedResultSet as PkgOpenapiSharedOffsetPaginatedResultSet, type indexV1_PkgOpenapiSharedOffsetParam as PkgOpenapiSharedOffsetParam, type indexV1_PkgOpenapiSharedProblemDetails as PkgOpenapiSharedProblemDetails, type indexV1_Preference as Preference, type indexV1_PreferencesResponse as PreferencesResponse, type indexV1_SearchUsersData as SearchUsersData, type indexV1_SearchUsersError as SearchUsersError, type indexV1_SearchUsersErrors as SearchUsersErrors, type indexV1_SearchUsersResponse as SearchUsersResponse, type indexV1_SearchUsersResponses as SearchUsersResponses, type indexV1_Source as Source, type indexV1_Topic as Topic, type indexV1_UpdateAllNotificationsData as UpdateAllNotificationsData, type indexV1_UpdateAllNotificationsError as UpdateAllNotificationsError, type indexV1_UpdateAllNotificationsErrors as UpdateAllNotificationsErrors, type indexV1_UpdateAllNotificationsResponse as UpdateAllNotificationsResponse, type indexV1_UpdateAllNotificationsResponses as UpdateAllNotificationsResponses, type indexV1_UpdateNotificationData as UpdateNotificationData, type indexV1_UpdateNotificationError as UpdateNotificationError, type indexV1_UpdateNotificationErrors as UpdateNotificationErrors, type indexV1_UpdateNotificationResponse as UpdateNotificationResponse, type indexV1_UpdateNotificationResponses as UpdateNotificationResponses, type indexV1_UpdateNotificationsPreferencesData as UpdateNotificationsPreferencesData, type indexV1_UpdateNotificationsPreferencesError as UpdateNotificationsPreferencesError, type indexV1_UpdateNotificationsPreferencesErrors as UpdateNotificationsPreferencesErrors, type indexV1_UpdateNotificationsPreferencesResponse as UpdateNotificationsPreferencesResponse, type indexV1_UpdateNotificationsPreferencesResponses as UpdateNotificationsPreferencesResponses, type indexV1_UpdatePreferencesRequestBody as UpdatePreferencesRequestBody, type indexV1_UpdateUserProfileData as UpdateUserProfileData, type indexV1_UpdateUserProfileError as UpdateUserProfileError, type indexV1_UpdateUserProfileErrors as UpdateUserProfileErrors, type indexV1_UpdateUserProfileRequest as UpdateUserProfileRequest, type indexV1_UpdateUserProfileResponse as UpdateUserProfileResponse, type indexV1_UpdateUserProfileResponses as UpdateUserProfileResponses, type indexV1_User as User, type indexV1_UserProfile as UserProfile, type indexV1_UserRelation as UserRelation, type indexV1_UsersPaginatedResponse as UsersPaginatedResponse, indexV1_client as client, indexV1_createFacilityOfferOrder as createFacilityOfferOrder, indexV1_getNotificationById as getNotificationById, indexV1_getNotifications as getNotifications, indexV1_getNotificationsPreferences as getNotificationsPreferences, indexV1_listFacilityOffers as listFacilityOffers, reactQuery_gen as queries, schemas_gen as schemas, indexV1_searchUsers as searchUsers, indexV1_updateAllNotifications as updateAllNotifications, indexV1_updateNotification as updateNotification, indexV1_updateNotificationsPreferences as updateNotificationsPreferences, indexV1_updateUserProfile as updateUserProfile };
|
|
5053
5439
|
}
|
|
5054
5440
|
|
|
5055
5441
|
export { type ActivityEvent, ActivityServiceV1Service, type AdminOccasionDetails, AnonymousService, ApiClientServiceV1Service, ApiError, AuthorizedService, BookingServiceV1Service, CancelError, CancelablePromise, CheckoutServiceV1Service, CompetitionServiceV1Service, CorsService, type Error$1 as Error, type ExternalServiceProperty, LoyaltyServiceV1Service, MembershipServiceV1Service, type OccasionCourt, OpenAPI, type OpenAPIConfig, type OrderPaymentDetails, type OrderPriceDetails, type OrderSplitPayments, type OrderSplitPaymentsRow, type OrderSplitPrice, type PaymentMethodPaymentRefund, PlaySessionServiceV1Service, type ServiceFeeSettings, UserServiceV1Service, type access, type activitiesResponse, type activity, type activityOccasion, type activityType, type actor, type address, type adyenGiftCardOutcome, type apiClient, type apiClientInput, type apiClientListResponse, type article, type articleMetadata, type availability, type booking, type bookingGroup, bookingRestriction, type bookingRestrictions, bookingSubType, bookingSubscription, type bookingSubscriptionPayment, type bookingUser, bookingUserStatus, type bookingUsersResponse, type bookingsResponse, type camera, cancellationPolicy, chat, type chatAuth, chatCreation, chatTarget, type checkoutResponse, clientType, type competitionAdminAccount, type config, type configuration, type configurationEntry, type configurationMap, type configurationResource, type coupon, type createBookingEventExternal, type createPromoCode, type dailyQuota, type days, type deleteBookingEventExternal, directionParam, type endTimePriceDetail, type endTimesWithRestrictions, type exposeOccasions, type facilitiesResponse, type facility, type facilityConfiguration, type facilityDetails, type friendRelationResponse, type friendRelationsResponse, type giftCard, type hideFullyBooked, type hours, type internalPaymentMethod, type levelRange, type limitParam, type listOfChats, type listUserRelations, type membershipRequest, type membershipRequestItem, type monthlyUsage, months, type newMessageNotification, notificationChatGroup, type notificationChatMember, notificationEntity, type notificationMessage, type notificationMessageData, type occasionBooking, type occasionParticipant, type offsetParam, type openingHours, type order, type orderSplitBaseResponse, type participants, type payment, type paymentDetails, type paymentInfo, type paymentInterval, type paymentMethodPaymentDetail, type paymentMethods, type paymentType, type paymentsResponse, pendingPayment, type playSession, type playSessionBooking, type playSessionBookingPayment, type playSessionResponse, playSessionSettings, playSessionUser, type playerLevels, playerStatusParam, playingUserResponse, type playingUsersResponse, type playsessionUserDetails, type position, type price, type priceDetails, type priceDetailsActivity, type profile, type promoCode, type promoCodeOutcome, type pspSession, type resource, type resultSet, type serviceFee, type sportLevels, type timeOfDay, type timeStamp, type usagePlan, userChatStatusParam, userChatTargetParam, type userFacility, type userId, type userInfo, type userMembership, type userOfferPunchCardsResponse, type userOfferValueCardsResponse, type userPublicProfile, userPunchCard, userRelation, userRelationStatusParam, type userValueCard, indexV1 as v1, type valueCardOutcome };
|