@matchi/api 0.20260121.6 → 0.20260122.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 +518 -133
- package/dist/main/index.d.ts +518 -133
- 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;
|
|
@@ -3382,7 +3689,7 @@ type UserProfile = {
|
|
|
3382
3689
|
language: string;
|
|
3383
3690
|
lastname?: string;
|
|
3384
3691
|
membership_facilities?: Array<number>;
|
|
3385
|
-
private_profile?: boolean
|
|
3692
|
+
private_profile?: boolean;
|
|
3386
3693
|
profile_image_url?: string;
|
|
3387
3694
|
telephone?: string;
|
|
3388
3695
|
zipcode?: string;
|
|
@@ -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: {
|
|
@@ -4490,7 +4794,6 @@ declare const UserProfileSchema: {
|
|
|
4490
4794
|
readonly type: "array";
|
|
4491
4795
|
};
|
|
4492
4796
|
readonly private_profile: {
|
|
4493
|
-
readonly nullable: true;
|
|
4494
4797
|
readonly type: "boolean";
|
|
4495
4798
|
};
|
|
4496
4799
|
readonly profile_image_url: {
|
|
@@ -4672,251 +4975,333 @@ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean
|
|
|
4672
4975
|
};
|
|
4673
4976
|
/**
|
|
4674
4977
|
* List all offers for a facility
|
|
4978
|
+
*
|
|
4675
4979
|
* Retrieve a list of all facility offers
|
|
4676
4980
|
*/
|
|
4677
|
-
declare const listFacilityOffers: <ThrowOnError extends boolean = false>(options: Options<ListFacilityOffersData, ThrowOnError>) =>
|
|
4981
|
+
declare const listFacilityOffers: <ThrowOnError extends boolean = false>(options: Options<ListFacilityOffersData, ThrowOnError>) => RequestResult<ListFacilityOffersResponses, ListFacilityOffersErrors, ThrowOnError, "fields">;
|
|
4678
4982
|
/**
|
|
4679
4983
|
* Create a facility offer order
|
|
4984
|
+
*
|
|
4680
4985
|
* Will create a facility offer order and return the order object
|
|
4681
4986
|
*/
|
|
4682
|
-
declare const createFacilityOfferOrder: <ThrowOnError extends boolean = false>(options: Options<CreateFacilityOfferOrderData, ThrowOnError>) =>
|
|
4987
|
+
declare const createFacilityOfferOrder: <ThrowOnError extends boolean = false>(options: Options<CreateFacilityOfferOrderData, ThrowOnError>) => RequestResult<CreateFacilityOfferOrderResponses, CreateFacilityOfferOrderErrors, ThrowOnError, "fields">;
|
|
4683
4988
|
/**
|
|
4684
4989
|
* Get all notifications
|
|
4990
|
+
*
|
|
4685
4991
|
* Get all notifications
|
|
4686
4992
|
*/
|
|
4687
|
-
declare const getNotifications: <ThrowOnError extends boolean = false>(options?: Options<GetNotificationsData, ThrowOnError>
|
|
4993
|
+
declare const getNotifications: <ThrowOnError extends boolean = false>(options?: Options<GetNotificationsData, ThrowOnError>) => RequestResult<GetNotificationsResponses, GetNotificationsErrors, ThrowOnError, "fields">;
|
|
4688
4994
|
/**
|
|
4689
4995
|
* Update all notifications
|
|
4996
|
+
*
|
|
4690
4997
|
* Update all notifications
|
|
4691
4998
|
*/
|
|
4692
|
-
declare const updateAllNotifications: <ThrowOnError extends boolean = false>(options: Options<UpdateAllNotificationsData, ThrowOnError>) =>
|
|
4999
|
+
declare const updateAllNotifications: <ThrowOnError extends boolean = false>(options: Options<UpdateAllNotificationsData, ThrowOnError>) => RequestResult<UpdateAllNotificationsResponses, UpdateAllNotificationsErrors, ThrowOnError, "fields">;
|
|
4693
5000
|
/**
|
|
4694
5001
|
* Get user's notifications preferences
|
|
5002
|
+
*
|
|
4695
5003
|
* Get user's notifications preferences
|
|
4696
5004
|
*/
|
|
4697
|
-
declare const getNotificationsPreferences: <ThrowOnError extends boolean = false>(options?: Options<GetNotificationsPreferencesData, ThrowOnError>
|
|
5005
|
+
declare const getNotificationsPreferences: <ThrowOnError extends boolean = false>(options?: Options<GetNotificationsPreferencesData, ThrowOnError>) => RequestResult<GetNotificationsPreferencesResponses, GetNotificationsPreferencesErrors, ThrowOnError, "fields">;
|
|
4698
5006
|
/**
|
|
4699
5007
|
* Update user's notifications preferences
|
|
5008
|
+
*
|
|
4700
5009
|
* Update user's notifications preferences
|
|
4701
5010
|
*/
|
|
4702
|
-
declare const updateNotificationsPreferences: <ThrowOnError extends boolean = false>(options: Options<UpdateNotificationsPreferencesData, ThrowOnError>) =>
|
|
5011
|
+
declare const updateNotificationsPreferences: <ThrowOnError extends boolean = false>(options: Options<UpdateNotificationsPreferencesData, ThrowOnError>) => RequestResult<UpdateNotificationsPreferencesResponses, UpdateNotificationsPreferencesErrors, ThrowOnError, "fields">;
|
|
4703
5012
|
/**
|
|
4704
5013
|
* Get a notification by id
|
|
5014
|
+
*
|
|
4705
5015
|
* Get a notification by id
|
|
4706
5016
|
*/
|
|
4707
|
-
declare const getNotificationById: <ThrowOnError extends boolean = false>(options: Options<GetNotificationByIdData, ThrowOnError>) =>
|
|
5017
|
+
declare const getNotificationById: <ThrowOnError extends boolean = false>(options: Options<GetNotificationByIdData, ThrowOnError>) => RequestResult<GetNotificationByIdResponses, GetNotificationByIdErrors, ThrowOnError, "fields">;
|
|
4708
5018
|
/**
|
|
4709
5019
|
* Update notification
|
|
5020
|
+
*
|
|
4710
5021
|
* Update notification
|
|
4711
5022
|
*/
|
|
4712
|
-
declare const updateNotification: <ThrowOnError extends boolean = false>(options: Options<UpdateNotificationData, ThrowOnError>) =>
|
|
5023
|
+
declare const updateNotification: <ThrowOnError extends boolean = false>(options: Options<UpdateNotificationData, ThrowOnError>) => RequestResult<UpdateNotificationResponses, UpdateNotificationErrors, ThrowOnError, "fields">;
|
|
4713
5024
|
/**
|
|
4714
5025
|
* Search for users by name
|
|
5026
|
+
*
|
|
4715
5027
|
* Get a list of users based on the current user's search query
|
|
4716
5028
|
*/
|
|
4717
|
-
declare const searchUsers: <ThrowOnError extends boolean = false>(options?: Options<SearchUsersData, ThrowOnError>
|
|
5029
|
+
declare const searchUsers: <ThrowOnError extends boolean = false>(options?: Options<SearchUsersData, ThrowOnError>) => RequestResult<SearchUsersResponses, SearchUsersErrors, ThrowOnError, "fields">;
|
|
4718
5030
|
/**
|
|
4719
5031
|
* Update the current user's profile
|
|
5032
|
+
*
|
|
4720
5033
|
* Update the current user's profile information
|
|
4721
5034
|
*/
|
|
4722
|
-
declare const updateUserProfile: <ThrowOnError extends boolean = false>(options: Options<UpdateUserProfileData, ThrowOnError>) =>
|
|
5035
|
+
declare const updateUserProfile: <ThrowOnError extends boolean = false>(options: Options<UpdateUserProfileData, ThrowOnError>) => RequestResult<UpdateUserProfileResponses, UpdateUserProfileErrors, ThrowOnError, "fields">;
|
|
4723
5036
|
|
|
4724
5037
|
type QueryKey<TOptions extends Options> = [
|
|
4725
5038
|
Pick<TOptions, 'baseUrl' | 'body' | 'headers' | 'path' | 'query'> & {
|
|
4726
5039
|
_id: string;
|
|
4727
5040
|
_infinite?: boolean;
|
|
5041
|
+
tags?: ReadonlyArray<string>;
|
|
4728
5042
|
}
|
|
4729
5043
|
];
|
|
4730
|
-
declare const listFacilityOffersQueryKey: (options: Options<ListFacilityOffersData>) => [Pick<Options<ListFacilityOffersData>, "
|
|
5044
|
+
declare const listFacilityOffersQueryKey: (options: Options<ListFacilityOffersData>) => [Pick<Options<ListFacilityOffersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4731
5045
|
_id: string;
|
|
4732
|
-
_infinite?: boolean
|
|
5046
|
+
_infinite?: boolean;
|
|
5047
|
+
tags?: ReadonlyArray<string>;
|
|
4733
5048
|
}];
|
|
4734
|
-
|
|
5049
|
+
/**
|
|
5050
|
+
* List all offers for a facility
|
|
5051
|
+
*
|
|
5052
|
+
* Retrieve a list of all facility offers
|
|
5053
|
+
*/
|
|
5054
|
+
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
5055
|
_id: string;
|
|
4736
|
-
_infinite?: boolean
|
|
5056
|
+
_infinite?: boolean;
|
|
5057
|
+
tags?: ReadonlyArray<string>;
|
|
4737
5058
|
}]>, "queryFn"> & {
|
|
4738
|
-
queryFn?:
|
|
5059
|
+
queryFn?: _tanstack_react_query.QueryFunction<FacilityOfferList, [Pick<Options<ListFacilityOffersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4739
5060
|
_id: string;
|
|
4740
|
-
_infinite?: boolean
|
|
5061
|
+
_infinite?: boolean;
|
|
5062
|
+
tags?: ReadonlyArray<string>;
|
|
4741
5063
|
}], never> | undefined;
|
|
4742
5064
|
} & {
|
|
4743
|
-
queryKey: [Pick<Options<ListFacilityOffersData>, "
|
|
5065
|
+
queryKey: [Pick<Options<ListFacilityOffersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4744
5066
|
_id: string;
|
|
4745
|
-
_infinite?: boolean
|
|
5067
|
+
_infinite?: boolean;
|
|
5068
|
+
tags?: ReadonlyArray<string>;
|
|
4746
5069
|
}] & {
|
|
4747
5070
|
[dataTagSymbol]: FacilityOfferList;
|
|
4748
|
-
[dataTagErrorSymbol]:
|
|
5071
|
+
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4749
5072
|
};
|
|
4750
5073
|
};
|
|
4751
5074
|
declare const listFacilityOffersInfiniteQueryKey: (options: Options<ListFacilityOffersData>) => QueryKey<Options<ListFacilityOffersData>>;
|
|
4752
|
-
|
|
5075
|
+
/**
|
|
5076
|
+
* List all offers for a facility
|
|
5077
|
+
*
|
|
5078
|
+
* Retrieve a list of all facility offers
|
|
5079
|
+
*/
|
|
5080
|
+
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
5081
|
_id: string;
|
|
4754
|
-
_infinite?: boolean
|
|
4755
|
-
|
|
4756
|
-
|
|
5082
|
+
_infinite?: boolean;
|
|
5083
|
+
tags?: ReadonlyArray<string>;
|
|
5084
|
+
}, "query" | "body" | "headers" | "path">> & {
|
|
5085
|
+
initialData: InfiniteData<FacilityOfferList, string | Pick<Pick<Options<ListFacilityOffersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4757
5086
|
_id: string;
|
|
4758
|
-
_infinite?: boolean
|
|
4759
|
-
|
|
5087
|
+
_infinite?: boolean;
|
|
5088
|
+
tags?: ReadonlyArray<string>;
|
|
5089
|
+
}, "query" | "body" | "headers" | "path">> | (() => InfiniteData<FacilityOfferList, string | Pick<Pick<Options<ListFacilityOffersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4760
5090
|
_id: string;
|
|
4761
|
-
_infinite?: boolean
|
|
4762
|
-
|
|
5091
|
+
_infinite?: boolean;
|
|
5092
|
+
tags?: ReadonlyArray<string>;
|
|
5093
|
+
}, "query" | "body" | "headers" | "path">>) | undefined;
|
|
4763
5094
|
} & {
|
|
4764
5095
|
queryKey: QueryKey<Options<ListFacilityOffersData>> & {
|
|
4765
5096
|
[dataTagSymbol]: InfiniteData<FacilityOfferList, unknown>;
|
|
4766
5097
|
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4767
5098
|
};
|
|
4768
5099
|
};
|
|
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"> & {
|
|
5100
|
+
/**
|
|
5101
|
+
* Create a facility offer order
|
|
5102
|
+
*
|
|
5103
|
+
* Will create a facility offer order and return the order object
|
|
5104
|
+
*/
|
|
5105
|
+
declare const createFacilityOfferOrderMutation: (options?: Partial<Options<CreateFacilityOfferOrderData>>) => UseMutationOptions<CreateFacilityOfferOrderResponse, CreateFacilityOfferOrderError, Options<CreateFacilityOfferOrderData>>;
|
|
5106
|
+
declare const getNotificationsQueryKey: (options?: Options<GetNotificationsData>) => [Pick<Options<GetNotificationsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4792
5107
|
_id: string;
|
|
4793
|
-
_infinite?: boolean
|
|
5108
|
+
_infinite?: boolean;
|
|
5109
|
+
tags?: ReadonlyArray<string>;
|
|
4794
5110
|
}];
|
|
4795
|
-
|
|
5111
|
+
/**
|
|
5112
|
+
* Get all notifications
|
|
5113
|
+
*
|
|
5114
|
+
* Get all notifications
|
|
5115
|
+
*/
|
|
5116
|
+
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
5117
|
_id: string;
|
|
4797
|
-
_infinite?: boolean
|
|
5118
|
+
_infinite?: boolean;
|
|
5119
|
+
tags?: ReadonlyArray<string>;
|
|
4798
5120
|
}]>, "queryFn"> & {
|
|
4799
|
-
queryFn?:
|
|
5121
|
+
queryFn?: _tanstack_react_query.QueryFunction<NotificationsPaginatedResponse, [Pick<Options<GetNotificationsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4800
5122
|
_id: string;
|
|
4801
|
-
_infinite?: boolean
|
|
5123
|
+
_infinite?: boolean;
|
|
5124
|
+
tags?: ReadonlyArray<string>;
|
|
4802
5125
|
}], never> | undefined;
|
|
4803
5126
|
} & {
|
|
4804
|
-
queryKey: [Pick<Options<GetNotificationsData>, "
|
|
5127
|
+
queryKey: [Pick<Options<GetNotificationsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4805
5128
|
_id: string;
|
|
4806
|
-
_infinite?: boolean
|
|
5129
|
+
_infinite?: boolean;
|
|
5130
|
+
tags?: ReadonlyArray<string>;
|
|
4807
5131
|
}] & {
|
|
4808
5132
|
[dataTagSymbol]: NotificationsPaginatedResponse;
|
|
4809
|
-
[dataTagErrorSymbol]:
|
|
5133
|
+
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4810
5134
|
};
|
|
4811
5135
|
};
|
|
4812
5136
|
declare const getNotificationsInfiniteQueryKey: (options?: Options<GetNotificationsData>) => QueryKey<Options<GetNotificationsData>>;
|
|
4813
|
-
|
|
5137
|
+
/**
|
|
5138
|
+
* Get all notifications
|
|
5139
|
+
*
|
|
5140
|
+
* Get all notifications
|
|
5141
|
+
*/
|
|
5142
|
+
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
5143
|
_id: string;
|
|
4815
|
-
_infinite?: boolean
|
|
4816
|
-
|
|
4817
|
-
|
|
5144
|
+
_infinite?: boolean;
|
|
5145
|
+
tags?: ReadonlyArray<string>;
|
|
5146
|
+
}, "query" | "body" | "headers" | "path">> & {
|
|
5147
|
+
initialData: InfiniteData<NotificationsPaginatedResponse, string | Pick<Pick<Options<GetNotificationsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4818
5148
|
_id: string;
|
|
4819
|
-
_infinite?: boolean
|
|
4820
|
-
|
|
5149
|
+
_infinite?: boolean;
|
|
5150
|
+
tags?: ReadonlyArray<string>;
|
|
5151
|
+
}, "query" | "body" | "headers" | "path">> | (() => InfiniteData<NotificationsPaginatedResponse, string | Pick<Pick<Options<GetNotificationsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4821
5152
|
_id: string;
|
|
4822
|
-
_infinite?: boolean
|
|
4823
|
-
|
|
5153
|
+
_infinite?: boolean;
|
|
5154
|
+
tags?: ReadonlyArray<string>;
|
|
5155
|
+
}, "query" | "body" | "headers" | "path">>) | undefined;
|
|
4824
5156
|
} & {
|
|
4825
5157
|
queryKey: QueryKey<Options<GetNotificationsData>> & {
|
|
4826
5158
|
[dataTagSymbol]: InfiniteData<NotificationsPaginatedResponse, unknown>;
|
|
4827
5159
|
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4828
5160
|
};
|
|
4829
5161
|
};
|
|
4830
|
-
|
|
4831
|
-
|
|
5162
|
+
/**
|
|
5163
|
+
* Update all notifications
|
|
5164
|
+
*
|
|
5165
|
+
* Update all notifications
|
|
5166
|
+
*/
|
|
5167
|
+
declare const updateAllNotificationsMutation: (options?: Partial<Options<UpdateAllNotificationsData>>) => UseMutationOptions<UpdateAllNotificationsResponse, UpdateAllNotificationsError, Options<UpdateAllNotificationsData>>;
|
|
5168
|
+
declare const getNotificationsPreferencesQueryKey: (options?: Options<GetNotificationsPreferencesData>) => [Pick<Options<GetNotificationsPreferencesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4832
5169
|
_id: string;
|
|
4833
|
-
_infinite?: boolean
|
|
5170
|
+
_infinite?: boolean;
|
|
5171
|
+
tags?: ReadonlyArray<string>;
|
|
4834
5172
|
}];
|
|
4835
|
-
|
|
5173
|
+
/**
|
|
5174
|
+
* Get user's notifications preferences
|
|
5175
|
+
*
|
|
5176
|
+
* Get user's notifications preferences
|
|
5177
|
+
*/
|
|
5178
|
+
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
5179
|
_id: string;
|
|
4837
|
-
_infinite?: boolean
|
|
5180
|
+
_infinite?: boolean;
|
|
5181
|
+
tags?: ReadonlyArray<string>;
|
|
4838
5182
|
}]>, "queryFn"> & {
|
|
4839
|
-
queryFn?:
|
|
5183
|
+
queryFn?: _tanstack_react_query.QueryFunction<PreferencesResponse, [Pick<Options<GetNotificationsPreferencesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4840
5184
|
_id: string;
|
|
4841
|
-
_infinite?: boolean
|
|
5185
|
+
_infinite?: boolean;
|
|
5186
|
+
tags?: ReadonlyArray<string>;
|
|
4842
5187
|
}], never> | undefined;
|
|
4843
5188
|
} & {
|
|
4844
|
-
queryKey: [Pick<Options<GetNotificationsPreferencesData>, "
|
|
5189
|
+
queryKey: [Pick<Options<GetNotificationsPreferencesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4845
5190
|
_id: string;
|
|
4846
|
-
_infinite?: boolean
|
|
5191
|
+
_infinite?: boolean;
|
|
5192
|
+
tags?: ReadonlyArray<string>;
|
|
4847
5193
|
}] & {
|
|
4848
5194
|
[dataTagSymbol]: PreferencesResponse;
|
|
4849
|
-
[dataTagErrorSymbol]:
|
|
5195
|
+
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4850
5196
|
};
|
|
4851
5197
|
};
|
|
4852
|
-
|
|
4853
|
-
|
|
5198
|
+
/**
|
|
5199
|
+
* Update user's notifications preferences
|
|
5200
|
+
*
|
|
5201
|
+
* Update user's notifications preferences
|
|
5202
|
+
*/
|
|
5203
|
+
declare const updateNotificationsPreferencesMutation: (options?: Partial<Options<UpdateNotificationsPreferencesData>>) => UseMutationOptions<UpdateNotificationsPreferencesResponse, UpdateNotificationsPreferencesError, Options<UpdateNotificationsPreferencesData>>;
|
|
5204
|
+
declare const getNotificationByIdQueryKey: (options: Options<GetNotificationByIdData>) => [Pick<Options<GetNotificationByIdData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4854
5205
|
_id: string;
|
|
4855
|
-
_infinite?: boolean
|
|
5206
|
+
_infinite?: boolean;
|
|
5207
|
+
tags?: ReadonlyArray<string>;
|
|
4856
5208
|
}];
|
|
4857
|
-
|
|
5209
|
+
/**
|
|
5210
|
+
* Get a notification by id
|
|
5211
|
+
*
|
|
5212
|
+
* Get a notification by id
|
|
5213
|
+
*/
|
|
5214
|
+
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
5215
|
_id: string;
|
|
4859
|
-
_infinite?: boolean
|
|
5216
|
+
_infinite?: boolean;
|
|
5217
|
+
tags?: ReadonlyArray<string>;
|
|
4860
5218
|
}]>, "queryFn"> & {
|
|
4861
|
-
queryFn?:
|
|
5219
|
+
queryFn?: _tanstack_react_query.QueryFunction<Notification, [Pick<Options<GetNotificationByIdData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4862
5220
|
_id: string;
|
|
4863
|
-
_infinite?: boolean
|
|
5221
|
+
_infinite?: boolean;
|
|
5222
|
+
tags?: ReadonlyArray<string>;
|
|
4864
5223
|
}], never> | undefined;
|
|
4865
5224
|
} & {
|
|
4866
|
-
queryKey: [Pick<Options<GetNotificationByIdData>, "
|
|
5225
|
+
queryKey: [Pick<Options<GetNotificationByIdData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4867
5226
|
_id: string;
|
|
4868
|
-
_infinite?: boolean
|
|
5227
|
+
_infinite?: boolean;
|
|
5228
|
+
tags?: ReadonlyArray<string>;
|
|
4869
5229
|
}] & {
|
|
4870
5230
|
[dataTagSymbol]: Notification;
|
|
4871
|
-
[dataTagErrorSymbol]:
|
|
5231
|
+
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4872
5232
|
};
|
|
4873
5233
|
};
|
|
4874
|
-
|
|
4875
|
-
|
|
5234
|
+
/**
|
|
5235
|
+
* Update notification
|
|
5236
|
+
*
|
|
5237
|
+
* Update notification
|
|
5238
|
+
*/
|
|
5239
|
+
declare const updateNotificationMutation: (options?: Partial<Options<UpdateNotificationData>>) => UseMutationOptions<UpdateNotificationResponse, UpdateNotificationError, Options<UpdateNotificationData>>;
|
|
5240
|
+
declare const searchUsersQueryKey: (options?: Options<SearchUsersData>) => [Pick<Options<SearchUsersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4876
5241
|
_id: string;
|
|
4877
|
-
_infinite?: boolean
|
|
5242
|
+
_infinite?: boolean;
|
|
5243
|
+
tags?: ReadonlyArray<string>;
|
|
4878
5244
|
}];
|
|
4879
|
-
|
|
5245
|
+
/**
|
|
5246
|
+
* Search for users by name
|
|
5247
|
+
*
|
|
5248
|
+
* Get a list of users based on the current user's search query
|
|
5249
|
+
*/
|
|
5250
|
+
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
5251
|
_id: string;
|
|
4881
|
-
_infinite?: boolean
|
|
5252
|
+
_infinite?: boolean;
|
|
5253
|
+
tags?: ReadonlyArray<string>;
|
|
4882
5254
|
}]>, "queryFn"> & {
|
|
4883
|
-
queryFn?:
|
|
5255
|
+
queryFn?: _tanstack_react_query.QueryFunction<UsersPaginatedResponse, [Pick<Options<SearchUsersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4884
5256
|
_id: string;
|
|
4885
|
-
_infinite?: boolean
|
|
5257
|
+
_infinite?: boolean;
|
|
5258
|
+
tags?: ReadonlyArray<string>;
|
|
4886
5259
|
}], never> | undefined;
|
|
4887
5260
|
} & {
|
|
4888
|
-
queryKey: [Pick<Options<SearchUsersData>, "
|
|
5261
|
+
queryKey: [Pick<Options<SearchUsersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4889
5262
|
_id: string;
|
|
4890
|
-
_infinite?: boolean
|
|
5263
|
+
_infinite?: boolean;
|
|
5264
|
+
tags?: ReadonlyArray<string>;
|
|
4891
5265
|
}] & {
|
|
4892
5266
|
[dataTagSymbol]: UsersPaginatedResponse;
|
|
4893
|
-
[dataTagErrorSymbol]:
|
|
5267
|
+
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4894
5268
|
};
|
|
4895
5269
|
};
|
|
4896
5270
|
declare const searchUsersInfiniteQueryKey: (options?: Options<SearchUsersData>) => QueryKey<Options<SearchUsersData>>;
|
|
4897
|
-
|
|
5271
|
+
/**
|
|
5272
|
+
* Search for users by name
|
|
5273
|
+
*
|
|
5274
|
+
* Get a list of users based on the current user's search query
|
|
5275
|
+
*/
|
|
5276
|
+
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
5277
|
_id: string;
|
|
4899
|
-
_infinite?: boolean
|
|
4900
|
-
|
|
4901
|
-
|
|
5278
|
+
_infinite?: boolean;
|
|
5279
|
+
tags?: ReadonlyArray<string>;
|
|
5280
|
+
}, "query" | "body" | "headers" | "path">> & {
|
|
5281
|
+
initialData: InfiniteData<UsersPaginatedResponse, number | Pick<Pick<Options<SearchUsersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4902
5282
|
_id: string;
|
|
4903
|
-
_infinite?: boolean
|
|
4904
|
-
|
|
5283
|
+
_infinite?: boolean;
|
|
5284
|
+
tags?: ReadonlyArray<string>;
|
|
5285
|
+
}, "query" | "body" | "headers" | "path">> | (() => InfiniteData<UsersPaginatedResponse, number | Pick<Pick<Options<SearchUsersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4905
5286
|
_id: string;
|
|
4906
|
-
_infinite?: boolean
|
|
4907
|
-
|
|
5287
|
+
_infinite?: boolean;
|
|
5288
|
+
tags?: ReadonlyArray<string>;
|
|
5289
|
+
}, "query" | "body" | "headers" | "path">>) | undefined;
|
|
4908
5290
|
} & {
|
|
4909
5291
|
queryKey: QueryKey<Options<SearchUsersData>> & {
|
|
4910
5292
|
[dataTagSymbol]: InfiniteData<UsersPaginatedResponse, unknown>;
|
|
4911
5293
|
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4912
5294
|
};
|
|
4913
5295
|
};
|
|
4914
|
-
|
|
5296
|
+
/**
|
|
5297
|
+
* Update the current user's profile
|
|
5298
|
+
*
|
|
5299
|
+
* Update the current user's profile information
|
|
5300
|
+
*/
|
|
5301
|
+
declare const updateUserProfileMutation: (options?: Partial<Options<UpdateUserProfileData>>) => UseMutationOptions<UpdateUserProfileResponse, UpdateUserProfileError, Options<UpdateUserProfileData>>;
|
|
4915
5302
|
|
|
4916
5303
|
type reactQuery_gen_QueryKey<TOptions extends Options> = QueryKey<TOptions>;
|
|
4917
5304
|
declare const reactQuery_gen_createFacilityOfferOrderMutation: typeof createFacilityOfferOrderMutation;
|
|
4918
|
-
declare const reactQuery_gen_createFacilityOfferOrderOptions: typeof createFacilityOfferOrderOptions;
|
|
4919
|
-
declare const reactQuery_gen_createFacilityOfferOrderQueryKey: typeof createFacilityOfferOrderQueryKey;
|
|
4920
5305
|
declare const reactQuery_gen_getNotificationByIdOptions: typeof getNotificationByIdOptions;
|
|
4921
5306
|
declare const reactQuery_gen_getNotificationByIdQueryKey: typeof getNotificationByIdQueryKey;
|
|
4922
5307
|
declare const reactQuery_gen_getNotificationsInfiniteOptions: typeof getNotificationsInfiniteOptions;
|
|
@@ -4938,7 +5323,7 @@ declare const reactQuery_gen_updateNotificationMutation: typeof updateNotificati
|
|
|
4938
5323
|
declare const reactQuery_gen_updateNotificationsPreferencesMutation: typeof updateNotificationsPreferencesMutation;
|
|
4939
5324
|
declare const reactQuery_gen_updateUserProfileMutation: typeof updateUserProfileMutation;
|
|
4940
5325
|
declare namespace reactQuery_gen {
|
|
4941
|
-
export { type reactQuery_gen_QueryKey as QueryKey, reactQuery_gen_createFacilityOfferOrderMutation as createFacilityOfferOrderMutation,
|
|
5326
|
+
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
5327
|
}
|
|
4943
5328
|
|
|
4944
5329
|
type indexV1_Channels = Channels;
|
|
@@ -4962,7 +5347,7 @@ type indexV1_FacilityOfferList = FacilityOfferList;
|
|
|
4962
5347
|
type indexV1_FacilityOfferOrder = FacilityOfferOrder;
|
|
4963
5348
|
type indexV1_FacilityPunchCardData = FacilityPunchCardData;
|
|
4964
5349
|
type indexV1_FacilityValueCardData = FacilityValueCardData;
|
|
4965
|
-
|
|
5350
|
+
type indexV1_Gender = Gender;
|
|
4966
5351
|
type indexV1_GetNotificationByIdData = GetNotificationByIdData;
|
|
4967
5352
|
type indexV1_GetNotificationByIdError = GetNotificationByIdError;
|
|
4968
5353
|
type indexV1_GetNotificationByIdErrors = GetNotificationByIdErrors;
|
|
@@ -5009,8 +5394,8 @@ type indexV1_SearchUsersError = SearchUsersError;
|
|
|
5009
5394
|
type indexV1_SearchUsersErrors = SearchUsersErrors;
|
|
5010
5395
|
type indexV1_SearchUsersResponse = SearchUsersResponse;
|
|
5011
5396
|
type indexV1_SearchUsersResponses = SearchUsersResponses;
|
|
5012
|
-
|
|
5013
|
-
|
|
5397
|
+
type indexV1_Source = Source;
|
|
5398
|
+
type indexV1_Topic = Topic;
|
|
5014
5399
|
type indexV1_UpdateAllNotificationsData = UpdateAllNotificationsData;
|
|
5015
5400
|
type indexV1_UpdateAllNotificationsError = UpdateAllNotificationsError;
|
|
5016
5401
|
type indexV1_UpdateAllNotificationsErrors = UpdateAllNotificationsErrors;
|
|
@@ -5035,7 +5420,7 @@ type indexV1_UpdateUserProfileResponse = UpdateUserProfileResponse;
|
|
|
5035
5420
|
type indexV1_UpdateUserProfileResponses = UpdateUserProfileResponses;
|
|
5036
5421
|
type indexV1_User = User;
|
|
5037
5422
|
type indexV1_UserProfile = UserProfile;
|
|
5038
|
-
|
|
5423
|
+
type indexV1_UserRelation = UserRelation;
|
|
5039
5424
|
type indexV1_UsersPaginatedResponse = UsersPaginatedResponse;
|
|
5040
5425
|
declare const indexV1_client: typeof client;
|
|
5041
5426
|
declare const indexV1_createFacilityOfferOrder: typeof createFacilityOfferOrder;
|
|
@@ -5049,7 +5434,7 @@ declare const indexV1_updateNotification: typeof updateNotification;
|
|
|
5049
5434
|
declare const indexV1_updateNotificationsPreferences: typeof updateNotificationsPreferences;
|
|
5050
5435
|
declare const indexV1_updateUserProfile: typeof updateUserProfile;
|
|
5051
5436
|
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 };
|
|
5437
|
+
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
5438
|
}
|
|
5054
5439
|
|
|
5055
5440
|
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 };
|