@matchi/api 0.20251209.1 → 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 +731 -127
- package/dist/main/index.d.ts +731 -127
- 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,6 +3593,13 @@ type FacilityValueCardData = {
|
|
|
3286
3593
|
price: string;
|
|
3287
3594
|
user_has_active_membership: boolean;
|
|
3288
3595
|
};
|
|
3596
|
+
declare const Gender: {
|
|
3597
|
+
readonly MALE: "MALE";
|
|
3598
|
+
readonly FEMALE: "FEMALE";
|
|
3599
|
+
readonly OTHER: "OTHER";
|
|
3600
|
+
readonly PREFER_NOT_TO_SAY: "PREFER_NOT_TO_SAY";
|
|
3601
|
+
};
|
|
3602
|
+
type Gender = typeof Gender[keyof typeof Gender];
|
|
3289
3603
|
type Metadata = {
|
|
3290
3604
|
pagination?: PkgOpenapiSharedCursorPaginatedResultSet;
|
|
3291
3605
|
summary: NotificationsSummary;
|
|
@@ -3330,18 +3644,32 @@ type Preference = {
|
|
|
3330
3644
|
type PreferencesResponse = {
|
|
3331
3645
|
items: Array<Preference>;
|
|
3332
3646
|
};
|
|
3333
|
-
type Source = 'FACILITY';
|
|
3334
3647
|
declare const Source: {
|
|
3335
3648
|
readonly FACILITY: "FACILITY";
|
|
3336
3649
|
};
|
|
3337
|
-
type
|
|
3650
|
+
type Source = typeof Source[keyof typeof Source];
|
|
3338
3651
|
declare const Topic: {
|
|
3339
3652
|
readonly FACILITY_MESSAGE: "FACILITY_MESSAGE";
|
|
3340
3653
|
};
|
|
3654
|
+
type Topic = typeof Topic[keyof typeof Topic];
|
|
3341
3655
|
type UpdatePreferencesRequestBody = {
|
|
3342
3656
|
inapp?: boolean;
|
|
3343
3657
|
push?: boolean;
|
|
3344
3658
|
};
|
|
3659
|
+
type UpdateUserProfileRequest = {
|
|
3660
|
+
address?: string;
|
|
3661
|
+
birthday?: string;
|
|
3662
|
+
city?: string;
|
|
3663
|
+
country?: string;
|
|
3664
|
+
email?: string;
|
|
3665
|
+
firstname?: string;
|
|
3666
|
+
gender?: Gender;
|
|
3667
|
+
language?: string;
|
|
3668
|
+
lastname?: string;
|
|
3669
|
+
private_profile?: boolean;
|
|
3670
|
+
telephone?: string;
|
|
3671
|
+
zipcode?: string;
|
|
3672
|
+
};
|
|
3345
3673
|
type User = {
|
|
3346
3674
|
first_name: string;
|
|
3347
3675
|
last_name: string;
|
|
@@ -3349,6 +3677,23 @@ type User = {
|
|
|
3349
3677
|
relation_status: UserRelation;
|
|
3350
3678
|
user_id: string;
|
|
3351
3679
|
};
|
|
3680
|
+
type UserProfile = {
|
|
3681
|
+
address?: string;
|
|
3682
|
+
birthday?: string;
|
|
3683
|
+
city?: string;
|
|
3684
|
+
country?: string;
|
|
3685
|
+
email: string;
|
|
3686
|
+
firstname: string;
|
|
3687
|
+
gender?: Gender;
|
|
3688
|
+
keycloak_id: string;
|
|
3689
|
+
language: string;
|
|
3690
|
+
lastname?: string;
|
|
3691
|
+
membership_facilities?: Array<number>;
|
|
3692
|
+
private_profile?: boolean | null;
|
|
3693
|
+
profile_image_url?: string;
|
|
3694
|
+
telephone?: string;
|
|
3695
|
+
zipcode?: string;
|
|
3696
|
+
};
|
|
3352
3697
|
/**
|
|
3353
3698
|
* Returns :
|
|
3354
3699
|
* * `FRIENDS` - The user is a friend.
|
|
@@ -3357,7 +3702,12 @@ type User = {
|
|
|
3357
3702
|
* * `NO_RELATION` - The user has no ongoing relation with the current user.
|
|
3358
3703
|
*
|
|
3359
3704
|
*/
|
|
3360
|
-
|
|
3705
|
+
declare const UserRelation: {
|
|
3706
|
+
readonly FRIENDS: "FRIENDS";
|
|
3707
|
+
readonly OUTGOING: "OUTGOING";
|
|
3708
|
+
readonly INCOMING: "INCOMING";
|
|
3709
|
+
readonly NO_RELATION: "NO_RELATION";
|
|
3710
|
+
};
|
|
3361
3711
|
/**
|
|
3362
3712
|
* Returns :
|
|
3363
3713
|
* * `FRIENDS` - The user is a friend.
|
|
@@ -3366,12 +3716,7 @@ type UserRelation = 'FRIENDS' | 'OUTGOING' | 'INCOMING' | 'NO_RELATION';
|
|
|
3366
3716
|
* * `NO_RELATION` - The user has no ongoing relation with the current user.
|
|
3367
3717
|
*
|
|
3368
3718
|
*/
|
|
3369
|
-
|
|
3370
|
-
readonly FRIENDS: "FRIENDS";
|
|
3371
|
-
readonly OUTGOING: "OUTGOING";
|
|
3372
|
-
readonly INCOMING: "INCOMING";
|
|
3373
|
-
readonly NO_RELATION: "NO_RELATION";
|
|
3374
|
-
};
|
|
3719
|
+
type UserRelation = typeof UserRelation[keyof typeof UserRelation];
|
|
3375
3720
|
type UsersPaginatedResponse = {
|
|
3376
3721
|
items: Array<User>;
|
|
3377
3722
|
meta: PkgOpenapiSharedOffsetPaginatedResultSet;
|
|
@@ -3821,11 +4166,51 @@ type SearchUsersResponses = {
|
|
|
3821
4166
|
200: UsersPaginatedResponse;
|
|
3822
4167
|
};
|
|
3823
4168
|
type SearchUsersResponse = SearchUsersResponses[keyof SearchUsersResponses];
|
|
3824
|
-
type
|
|
3825
|
-
|
|
4169
|
+
type UpdateUserProfileData = {
|
|
4170
|
+
/**
|
|
4171
|
+
* The profile fields to update
|
|
4172
|
+
*/
|
|
4173
|
+
body: UpdateUserProfileRequest;
|
|
4174
|
+
path?: never;
|
|
4175
|
+
query?: never;
|
|
4176
|
+
url: '/users/profiles';
|
|
3826
4177
|
};
|
|
4178
|
+
type UpdateUserProfileErrors = {
|
|
4179
|
+
/**
|
|
4180
|
+
* The request was malformed or could not be processed.
|
|
4181
|
+
*/
|
|
4182
|
+
400: PkgOpenapiSharedProblemDetails;
|
|
4183
|
+
/**
|
|
4184
|
+
* Access token is not set or invalid.
|
|
4185
|
+
*/
|
|
4186
|
+
401: PkgOpenapiSharedProblemDetails;
|
|
4187
|
+
/**
|
|
4188
|
+
* The requestor is not authorized to perform this operation on the resource.
|
|
4189
|
+
*/
|
|
4190
|
+
403: PkgOpenapiSharedProblemDetails;
|
|
4191
|
+
/**
|
|
4192
|
+
* The server encountered an unexpected error
|
|
4193
|
+
*/
|
|
4194
|
+
500: PkgOpenapiSharedProblemDetails;
|
|
4195
|
+
/**
|
|
4196
|
+
* The requested operation is not implemented.
|
|
4197
|
+
*/
|
|
4198
|
+
501: PkgOpenapiSharedProblemDetails;
|
|
4199
|
+
/**
|
|
4200
|
+
* The service requested is unavailable
|
|
4201
|
+
*/
|
|
4202
|
+
503: PkgOpenapiSharedProblemDetails;
|
|
4203
|
+
};
|
|
4204
|
+
type UpdateUserProfileError = UpdateUserProfileErrors[keyof UpdateUserProfileErrors];
|
|
4205
|
+
type UpdateUserProfileResponses = {
|
|
4206
|
+
/**
|
|
4207
|
+
* Profile updated successfully
|
|
4208
|
+
*/
|
|
4209
|
+
200: UserProfile;
|
|
4210
|
+
};
|
|
4211
|
+
type UpdateUserProfileResponse = UpdateUserProfileResponses[keyof UpdateUserProfileResponses];
|
|
3827
4212
|
|
|
3828
|
-
declare const client:
|
|
4213
|
+
declare const client: Client;
|
|
3829
4214
|
|
|
3830
4215
|
declare const ChannelsSchema: {
|
|
3831
4216
|
readonly properties: {
|
|
@@ -4133,6 +4518,10 @@ declare const FacilityValueCardDataSchema: {
|
|
|
4133
4518
|
readonly required: readonly ["offer_id", "facility_id", "name", "description", "price", "nr_of_days_valid", "amount", "members_only", "user_has_active_membership", "facility_receive_membership_requests", "expire_date", "conditions"];
|
|
4134
4519
|
readonly type: "object";
|
|
4135
4520
|
};
|
|
4521
|
+
declare const GenderSchema: {
|
|
4522
|
+
readonly enum: readonly ["MALE", "FEMALE", "OTHER", "PREFER_NOT_TO_SAY"];
|
|
4523
|
+
readonly type: "string";
|
|
4524
|
+
};
|
|
4136
4525
|
declare const MetadataSchema: {
|
|
4137
4526
|
readonly properties: {
|
|
4138
4527
|
readonly pagination: {
|
|
@@ -4285,6 +4674,64 @@ declare const UpdatePreferencesRequestBodySchema: {
|
|
|
4285
4674
|
};
|
|
4286
4675
|
readonly type: "object";
|
|
4287
4676
|
};
|
|
4677
|
+
declare const UpdateUserProfileRequestSchema: {
|
|
4678
|
+
readonly properties: {
|
|
4679
|
+
readonly address: {
|
|
4680
|
+
readonly maxLength: 255;
|
|
4681
|
+
readonly type: "string";
|
|
4682
|
+
};
|
|
4683
|
+
readonly birthday: {
|
|
4684
|
+
readonly example: "1990-01-15";
|
|
4685
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
4686
|
+
readonly type: "string";
|
|
4687
|
+
};
|
|
4688
|
+
readonly city: {
|
|
4689
|
+
readonly maxLength: 100;
|
|
4690
|
+
readonly type: "string";
|
|
4691
|
+
};
|
|
4692
|
+
readonly country: {
|
|
4693
|
+
readonly maxLength: 2;
|
|
4694
|
+
readonly minLength: 2;
|
|
4695
|
+
readonly type: "string";
|
|
4696
|
+
};
|
|
4697
|
+
readonly email: {
|
|
4698
|
+
readonly format: "email";
|
|
4699
|
+
readonly maxLength: 255;
|
|
4700
|
+
readonly type: "string";
|
|
4701
|
+
};
|
|
4702
|
+
readonly firstname: {
|
|
4703
|
+
readonly maxLength: 100;
|
|
4704
|
+
readonly type: "string";
|
|
4705
|
+
};
|
|
4706
|
+
readonly gender: {
|
|
4707
|
+
readonly $ref: "#/components/schemas/Gender";
|
|
4708
|
+
};
|
|
4709
|
+
readonly language: {
|
|
4710
|
+
readonly example: "en";
|
|
4711
|
+
readonly maxLength: 2;
|
|
4712
|
+
readonly minLength: 2;
|
|
4713
|
+
readonly pattern: "^[a-z]{2}$";
|
|
4714
|
+
readonly type: "string";
|
|
4715
|
+
};
|
|
4716
|
+
readonly lastname: {
|
|
4717
|
+
readonly maxLength: 100;
|
|
4718
|
+
readonly type: "string";
|
|
4719
|
+
};
|
|
4720
|
+
readonly private_profile: {
|
|
4721
|
+
readonly type: "boolean";
|
|
4722
|
+
};
|
|
4723
|
+
readonly telephone: {
|
|
4724
|
+
readonly example: "+46701234567";
|
|
4725
|
+
readonly pattern: "^\\+?[1-9]\\d{1,14}$";
|
|
4726
|
+
readonly type: "string";
|
|
4727
|
+
};
|
|
4728
|
+
readonly zipcode: {
|
|
4729
|
+
readonly maxLength: 10;
|
|
4730
|
+
readonly type: "string";
|
|
4731
|
+
};
|
|
4732
|
+
};
|
|
4733
|
+
readonly type: "object";
|
|
4734
|
+
};
|
|
4288
4735
|
declare const UserSchema: {
|
|
4289
4736
|
readonly properties: {
|
|
4290
4737
|
readonly first_name: {
|
|
@@ -4307,6 +4754,62 @@ declare const UserSchema: {
|
|
|
4307
4754
|
readonly required: readonly ["user_id", "first_name", "last_name", "relation_status"];
|
|
4308
4755
|
readonly type: "object";
|
|
4309
4756
|
};
|
|
4757
|
+
declare const UserProfileSchema: {
|
|
4758
|
+
readonly properties: {
|
|
4759
|
+
readonly address: {
|
|
4760
|
+
readonly type: "string";
|
|
4761
|
+
};
|
|
4762
|
+
readonly birthday: {
|
|
4763
|
+
readonly type: "string";
|
|
4764
|
+
};
|
|
4765
|
+
readonly city: {
|
|
4766
|
+
readonly type: "string";
|
|
4767
|
+
};
|
|
4768
|
+
readonly country: {
|
|
4769
|
+
readonly type: "string";
|
|
4770
|
+
};
|
|
4771
|
+
readonly email: {
|
|
4772
|
+
readonly type: "string";
|
|
4773
|
+
};
|
|
4774
|
+
readonly firstname: {
|
|
4775
|
+
readonly type: "string";
|
|
4776
|
+
};
|
|
4777
|
+
readonly gender: {
|
|
4778
|
+
readonly $ref: "#/components/schemas/Gender";
|
|
4779
|
+
};
|
|
4780
|
+
readonly keycloak_id: {
|
|
4781
|
+
readonly format: "uuid";
|
|
4782
|
+
readonly type: "string";
|
|
4783
|
+
};
|
|
4784
|
+
readonly language: {
|
|
4785
|
+
readonly type: "string";
|
|
4786
|
+
};
|
|
4787
|
+
readonly lastname: {
|
|
4788
|
+
readonly type: "string";
|
|
4789
|
+
};
|
|
4790
|
+
readonly membership_facilities: {
|
|
4791
|
+
readonly items: {
|
|
4792
|
+
readonly type: "integer";
|
|
4793
|
+
};
|
|
4794
|
+
readonly type: "array";
|
|
4795
|
+
};
|
|
4796
|
+
readonly private_profile: {
|
|
4797
|
+
readonly nullable: true;
|
|
4798
|
+
readonly type: "boolean";
|
|
4799
|
+
};
|
|
4800
|
+
readonly profile_image_url: {
|
|
4801
|
+
readonly type: "string";
|
|
4802
|
+
};
|
|
4803
|
+
readonly telephone: {
|
|
4804
|
+
readonly type: "string";
|
|
4805
|
+
};
|
|
4806
|
+
readonly zipcode: {
|
|
4807
|
+
readonly type: "string";
|
|
4808
|
+
};
|
|
4809
|
+
};
|
|
4810
|
+
readonly required: readonly ["keycloak_id", "firstname", "language", "email"];
|
|
4811
|
+
readonly type: "object";
|
|
4812
|
+
};
|
|
4310
4813
|
declare const UserRelationSchema: {
|
|
4311
4814
|
readonly description: "Returns :\n* `FRIENDS` - The user is a friend.\n* `OUTGOING` - The user has sent a friend request to the current user.\n* `INCOMING` - The user has received a friend request from the current user.\n* `NO_RELATION` - The user has no ongoing relation with the current user.\n";
|
|
4312
4815
|
readonly enum: readonly ["FRIENDS", "OUTGOING", "INCOMING", "NO_RELATION"];
|
|
@@ -4431,6 +4934,7 @@ declare const schemas_gen_FacilityOfferOrderSchema: typeof FacilityOfferOrderSch
|
|
|
4431
4934
|
declare const schemas_gen_FacilityOfferSchema: typeof FacilityOfferSchema;
|
|
4432
4935
|
declare const schemas_gen_FacilityPunchCardDataSchema: typeof FacilityPunchCardDataSchema;
|
|
4433
4936
|
declare const schemas_gen_FacilityValueCardDataSchema: typeof FacilityValueCardDataSchema;
|
|
4937
|
+
declare const schemas_gen_GenderSchema: typeof GenderSchema;
|
|
4434
4938
|
declare const schemas_gen_MetadataSchema: typeof MetadataSchema;
|
|
4435
4939
|
declare const schemas_gen_NotificationPayloadSchema: typeof NotificationPayloadSchema;
|
|
4436
4940
|
declare const schemas_gen_NotificationRequestBodySchema: typeof NotificationRequestBodySchema;
|
|
@@ -4443,6 +4947,8 @@ declare const schemas_gen_PreferencesResponseSchema: typeof PreferencesResponseS
|
|
|
4443
4947
|
declare const schemas_gen_SourceSchema: typeof SourceSchema;
|
|
4444
4948
|
declare const schemas_gen_TopicSchema: typeof TopicSchema;
|
|
4445
4949
|
declare const schemas_gen_UpdatePreferencesRequestBodySchema: typeof UpdatePreferencesRequestBodySchema;
|
|
4950
|
+
declare const schemas_gen_UpdateUserProfileRequestSchema: typeof UpdateUserProfileRequestSchema;
|
|
4951
|
+
declare const schemas_gen_UserProfileSchema: typeof UserProfileSchema;
|
|
4446
4952
|
declare const schemas_gen_UserRelationSchema: typeof UserRelationSchema;
|
|
4447
4953
|
declare const schemas_gen_UserSchema: typeof UserSchema;
|
|
4448
4954
|
declare const schemas_gen_UsersPaginatedResponseSchema: typeof UsersPaginatedResponseSchema;
|
|
@@ -4452,7 +4958,7 @@ declare const schemas_gen_pkgOpenapiSharedErrorsSchema: typeof pkgOpenapiSharedE
|
|
|
4452
4958
|
declare const schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema: typeof pkgOpenapiSharedOffsetPaginatedResultSetSchema;
|
|
4453
4959
|
declare const schemas_gen_pkgOpenapiSharedProblemDetailsSchema: typeof pkgOpenapiSharedProblemDetailsSchema;
|
|
4454
4960
|
declare namespace schemas_gen {
|
|
4455
|
-
export { schemas_gen_ChannelsSchema as ChannelsSchema, schemas_gen_FacilityMessagePayloadSchema as FacilityMessagePayloadSchema, schemas_gen_FacilityOfferConditionActivitiesSchema as FacilityOfferConditionActivitiesSchema, schemas_gen_FacilityOfferConditionCourtsSchema as FacilityOfferConditionCourtsSchema, schemas_gen_FacilityOfferConditionDateSchema as FacilityOfferConditionDateSchema, schemas_gen_FacilityOfferConditionHoursinadvanceSchema as FacilityOfferConditionHoursinadvanceSchema, schemas_gen_FacilityOfferConditionSchema as FacilityOfferConditionSchema, schemas_gen_FacilityOfferConditionTimeSchema as FacilityOfferConditionTimeSchema, schemas_gen_FacilityOfferConditionWeekdaysSchema as FacilityOfferConditionWeekdaysSchema, schemas_gen_FacilityOfferListSchema as FacilityOfferListSchema, schemas_gen_FacilityOfferOrderSchema as FacilityOfferOrderSchema, schemas_gen_FacilityOfferSchema as FacilityOfferSchema, schemas_gen_FacilityPunchCardDataSchema as FacilityPunchCardDataSchema, schemas_gen_FacilityValueCardDataSchema as FacilityValueCardDataSchema, schemas_gen_MetadataSchema as MetadataSchema, schemas_gen_NotificationPayloadSchema as NotificationPayloadSchema, schemas_gen_NotificationRequestBodySchema as NotificationRequestBodySchema, schemas_gen_NotificationSchema as NotificationSchema, schemas_gen_NotificationsFilterSchema as NotificationsFilterSchema, schemas_gen_NotificationsPaginatedResponseSchema as NotificationsPaginatedResponseSchema, schemas_gen_NotificationsSummarySchema as NotificationsSummarySchema, schemas_gen_PreferenceSchema as PreferenceSchema, schemas_gen_PreferencesResponseSchema as PreferencesResponseSchema, schemas_gen_SourceSchema as SourceSchema, schemas_gen_TopicSchema as TopicSchema, schemas_gen_UpdatePreferencesRequestBodySchema as UpdatePreferencesRequestBodySchema, schemas_gen_UserRelationSchema as UserRelationSchema, schemas_gen_UserSchema as UserSchema, schemas_gen_UsersPaginatedResponseSchema as UsersPaginatedResponseSchema, schemas_gen_pkgOpenapiSharedCursorPaginatedResultSetSchema as pkgOpenapiSharedCursorPaginatedResultSetSchema, schemas_gen_pkgOpenapiSharedErrorSchema as pkgOpenapiSharedErrorSchema, schemas_gen_pkgOpenapiSharedErrorsSchema as pkgOpenapiSharedErrorsSchema, schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema as pkgOpenapiSharedOffsetPaginatedResultSetSchema, schemas_gen_pkgOpenapiSharedProblemDetailsSchema as pkgOpenapiSharedProblemDetailsSchema };
|
|
4961
|
+
export { schemas_gen_ChannelsSchema as ChannelsSchema, schemas_gen_FacilityMessagePayloadSchema as FacilityMessagePayloadSchema, schemas_gen_FacilityOfferConditionActivitiesSchema as FacilityOfferConditionActivitiesSchema, schemas_gen_FacilityOfferConditionCourtsSchema as FacilityOfferConditionCourtsSchema, schemas_gen_FacilityOfferConditionDateSchema as FacilityOfferConditionDateSchema, schemas_gen_FacilityOfferConditionHoursinadvanceSchema as FacilityOfferConditionHoursinadvanceSchema, schemas_gen_FacilityOfferConditionSchema as FacilityOfferConditionSchema, schemas_gen_FacilityOfferConditionTimeSchema as FacilityOfferConditionTimeSchema, schemas_gen_FacilityOfferConditionWeekdaysSchema as FacilityOfferConditionWeekdaysSchema, schemas_gen_FacilityOfferListSchema as FacilityOfferListSchema, schemas_gen_FacilityOfferOrderSchema as FacilityOfferOrderSchema, schemas_gen_FacilityOfferSchema as FacilityOfferSchema, schemas_gen_FacilityPunchCardDataSchema as FacilityPunchCardDataSchema, schemas_gen_FacilityValueCardDataSchema as FacilityValueCardDataSchema, schemas_gen_GenderSchema as GenderSchema, schemas_gen_MetadataSchema as MetadataSchema, schemas_gen_NotificationPayloadSchema as NotificationPayloadSchema, schemas_gen_NotificationRequestBodySchema as NotificationRequestBodySchema, schemas_gen_NotificationSchema as NotificationSchema, schemas_gen_NotificationsFilterSchema as NotificationsFilterSchema, schemas_gen_NotificationsPaginatedResponseSchema as NotificationsPaginatedResponseSchema, schemas_gen_NotificationsSummarySchema as NotificationsSummarySchema, schemas_gen_PreferenceSchema as PreferenceSchema, schemas_gen_PreferencesResponseSchema as PreferencesResponseSchema, schemas_gen_SourceSchema as SourceSchema, schemas_gen_TopicSchema as TopicSchema, schemas_gen_UpdatePreferencesRequestBodySchema as UpdatePreferencesRequestBodySchema, schemas_gen_UpdateUserProfileRequestSchema as UpdateUserProfileRequestSchema, schemas_gen_UserProfileSchema as UserProfileSchema, schemas_gen_UserRelationSchema as UserRelationSchema, schemas_gen_UserSchema as UserSchema, schemas_gen_UsersPaginatedResponseSchema as UsersPaginatedResponseSchema, schemas_gen_pkgOpenapiSharedCursorPaginatedResultSetSchema as pkgOpenapiSharedCursorPaginatedResultSetSchema, schemas_gen_pkgOpenapiSharedErrorSchema as pkgOpenapiSharedErrorSchema, schemas_gen_pkgOpenapiSharedErrorsSchema as pkgOpenapiSharedErrorsSchema, schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema as pkgOpenapiSharedOffsetPaginatedResultSetSchema, schemas_gen_pkgOpenapiSharedProblemDetailsSchema as pkgOpenapiSharedProblemDetailsSchema };
|
|
4456
4962
|
}
|
|
4457
4963
|
|
|
4458
4964
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
@@ -4470,245 +4976,333 @@ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean
|
|
|
4470
4976
|
};
|
|
4471
4977
|
/**
|
|
4472
4978
|
* List all offers for a facility
|
|
4979
|
+
*
|
|
4473
4980
|
* Retrieve a list of all facility offers
|
|
4474
4981
|
*/
|
|
4475
|
-
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">;
|
|
4476
4983
|
/**
|
|
4477
4984
|
* Create a facility offer order
|
|
4985
|
+
*
|
|
4478
4986
|
* Will create a facility offer order and return the order object
|
|
4479
4987
|
*/
|
|
4480
|
-
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">;
|
|
4481
4989
|
/**
|
|
4482
4990
|
* Get all notifications
|
|
4991
|
+
*
|
|
4483
4992
|
* Get all notifications
|
|
4484
4993
|
*/
|
|
4485
|
-
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">;
|
|
4486
4995
|
/**
|
|
4487
4996
|
* Update all notifications
|
|
4997
|
+
*
|
|
4488
4998
|
* Update all notifications
|
|
4489
4999
|
*/
|
|
4490
|
-
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">;
|
|
4491
5001
|
/**
|
|
4492
5002
|
* Get user's notifications preferences
|
|
5003
|
+
*
|
|
4493
5004
|
* Get user's notifications preferences
|
|
4494
5005
|
*/
|
|
4495
|
-
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">;
|
|
4496
5007
|
/**
|
|
4497
5008
|
* Update user's notifications preferences
|
|
5009
|
+
*
|
|
4498
5010
|
* Update user's notifications preferences
|
|
4499
5011
|
*/
|
|
4500
|
-
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">;
|
|
4501
5013
|
/**
|
|
4502
5014
|
* Get a notification by id
|
|
5015
|
+
*
|
|
4503
5016
|
* Get a notification by id
|
|
4504
5017
|
*/
|
|
4505
|
-
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">;
|
|
4506
5019
|
/**
|
|
4507
5020
|
* Update notification
|
|
5021
|
+
*
|
|
4508
5022
|
* Update notification
|
|
4509
5023
|
*/
|
|
4510
|
-
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">;
|
|
4511
5025
|
/**
|
|
4512
5026
|
* Search for users by name
|
|
5027
|
+
*
|
|
4513
5028
|
* Get a list of users based on the current user's search query
|
|
4514
5029
|
*/
|
|
4515
|
-
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">;
|
|
5031
|
+
/**
|
|
5032
|
+
* Update the current user's profile
|
|
5033
|
+
*
|
|
5034
|
+
* Update the current user's profile information
|
|
5035
|
+
*/
|
|
5036
|
+
declare const updateUserProfile: <ThrowOnError extends boolean = false>(options: Options<UpdateUserProfileData, ThrowOnError>) => RequestResult<UpdateUserProfileResponses, UpdateUserProfileErrors, ThrowOnError, "fields">;
|
|
4516
5037
|
|
|
4517
5038
|
type QueryKey<TOptions extends Options> = [
|
|
4518
5039
|
Pick<TOptions, 'baseUrl' | 'body' | 'headers' | 'path' | 'query'> & {
|
|
4519
5040
|
_id: string;
|
|
4520
5041
|
_infinite?: boolean;
|
|
5042
|
+
tags?: ReadonlyArray<string>;
|
|
4521
5043
|
}
|
|
4522
5044
|
];
|
|
4523
|
-
declare const listFacilityOffersQueryKey: (options: Options<ListFacilityOffersData>) => [Pick<Options<ListFacilityOffersData>, "
|
|
5045
|
+
declare const listFacilityOffersQueryKey: (options: Options<ListFacilityOffersData>) => [Pick<Options<ListFacilityOffersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4524
5046
|
_id: string;
|
|
4525
|
-
_infinite?: boolean
|
|
5047
|
+
_infinite?: boolean;
|
|
5048
|
+
tags?: ReadonlyArray<string>;
|
|
4526
5049
|
}];
|
|
4527
|
-
|
|
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"> & {
|
|
4528
5056
|
_id: string;
|
|
4529
|
-
_infinite?: boolean
|
|
5057
|
+
_infinite?: boolean;
|
|
5058
|
+
tags?: ReadonlyArray<string>;
|
|
4530
5059
|
}]>, "queryFn"> & {
|
|
4531
|
-
queryFn?:
|
|
5060
|
+
queryFn?: _tanstack_react_query.QueryFunction<FacilityOfferList, [Pick<Options<ListFacilityOffersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4532
5061
|
_id: string;
|
|
4533
|
-
_infinite?: boolean
|
|
5062
|
+
_infinite?: boolean;
|
|
5063
|
+
tags?: ReadonlyArray<string>;
|
|
4534
5064
|
}], never> | undefined;
|
|
4535
5065
|
} & {
|
|
4536
|
-
queryKey: [Pick<Options<ListFacilityOffersData>, "
|
|
5066
|
+
queryKey: [Pick<Options<ListFacilityOffersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4537
5067
|
_id: string;
|
|
4538
|
-
_infinite?: boolean
|
|
5068
|
+
_infinite?: boolean;
|
|
5069
|
+
tags?: ReadonlyArray<string>;
|
|
4539
5070
|
}] & {
|
|
4540
5071
|
[dataTagSymbol]: FacilityOfferList;
|
|
4541
|
-
[dataTagErrorSymbol]:
|
|
5072
|
+
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4542
5073
|
};
|
|
4543
5074
|
};
|
|
4544
5075
|
declare const listFacilityOffersInfiniteQueryKey: (options: Options<ListFacilityOffersData>) => QueryKey<Options<ListFacilityOffersData>>;
|
|
4545
|
-
|
|
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"> & {
|
|
4546
5082
|
_id: string;
|
|
4547
|
-
_infinite?: boolean
|
|
4548
|
-
|
|
4549
|
-
|
|
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"> & {
|
|
4550
5087
|
_id: string;
|
|
4551
|
-
_infinite?: boolean
|
|
4552
|
-
|
|
5088
|
+
_infinite?: boolean;
|
|
5089
|
+
tags?: ReadonlyArray<string>;
|
|
5090
|
+
}, "query" | "body" | "headers" | "path">> | (() => InfiniteData<FacilityOfferList, string | Pick<Pick<Options<ListFacilityOffersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4553
5091
|
_id: string;
|
|
4554
|
-
_infinite?: boolean
|
|
4555
|
-
|
|
5092
|
+
_infinite?: boolean;
|
|
5093
|
+
tags?: ReadonlyArray<string>;
|
|
5094
|
+
}, "query" | "body" | "headers" | "path">>) | undefined;
|
|
4556
5095
|
} & {
|
|
4557
5096
|
queryKey: QueryKey<Options<ListFacilityOffersData>> & {
|
|
4558
5097
|
[dataTagSymbol]: InfiniteData<FacilityOfferList, unknown>;
|
|
4559
5098
|
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4560
5099
|
};
|
|
4561
5100
|
};
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
}]>, "queryFn"> & {
|
|
4570
|
-
queryFn?: _tanstack_query_core_build_legacy_hydration_ClXcjjG9.K<FacilityOfferOrder, [Pick<Options<CreateFacilityOfferOrderData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4571
|
-
_id: string;
|
|
4572
|
-
_infinite?: boolean | undefined;
|
|
4573
|
-
}], never> | undefined;
|
|
4574
|
-
} & {
|
|
4575
|
-
queryKey: [Pick<Options<CreateFacilityOfferOrderData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
4576
|
-
_id: string;
|
|
4577
|
-
_infinite?: boolean | undefined;
|
|
4578
|
-
}] & {
|
|
4579
|
-
[dataTagSymbol]: FacilityOfferOrder;
|
|
4580
|
-
[dataTagErrorSymbol]: Error;
|
|
4581
|
-
};
|
|
4582
|
-
};
|
|
4583
|
-
declare const createFacilityOfferOrderMutation: (options?: Partial<Options<CreateFacilityOfferOrderData>>) => UseMutationOptions<FacilityOfferOrder, PkgOpenapiSharedProblemDetails, Options<CreateFacilityOfferOrderData>, unknown>;
|
|
4584
|
-
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"> & {
|
|
4585
5108
|
_id: string;
|
|
4586
|
-
_infinite?: boolean
|
|
5109
|
+
_infinite?: boolean;
|
|
5110
|
+
tags?: ReadonlyArray<string>;
|
|
4587
5111
|
}];
|
|
4588
|
-
|
|
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"> & {
|
|
4589
5118
|
_id: string;
|
|
4590
|
-
_infinite?: boolean
|
|
5119
|
+
_infinite?: boolean;
|
|
5120
|
+
tags?: ReadonlyArray<string>;
|
|
4591
5121
|
}]>, "queryFn"> & {
|
|
4592
|
-
queryFn?:
|
|
5122
|
+
queryFn?: _tanstack_react_query.QueryFunction<NotificationsPaginatedResponse, [Pick<Options<GetNotificationsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4593
5123
|
_id: string;
|
|
4594
|
-
_infinite?: boolean
|
|
5124
|
+
_infinite?: boolean;
|
|
5125
|
+
tags?: ReadonlyArray<string>;
|
|
4595
5126
|
}], never> | undefined;
|
|
4596
5127
|
} & {
|
|
4597
|
-
queryKey: [Pick<Options<GetNotificationsData>, "
|
|
5128
|
+
queryKey: [Pick<Options<GetNotificationsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4598
5129
|
_id: string;
|
|
4599
|
-
_infinite?: boolean
|
|
5130
|
+
_infinite?: boolean;
|
|
5131
|
+
tags?: ReadonlyArray<string>;
|
|
4600
5132
|
}] & {
|
|
4601
5133
|
[dataTagSymbol]: NotificationsPaginatedResponse;
|
|
4602
|
-
[dataTagErrorSymbol]:
|
|
5134
|
+
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4603
5135
|
};
|
|
4604
5136
|
};
|
|
4605
5137
|
declare const getNotificationsInfiniteQueryKey: (options?: Options<GetNotificationsData>) => QueryKey<Options<GetNotificationsData>>;
|
|
4606
|
-
|
|
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"> & {
|
|
4607
5144
|
_id: string;
|
|
4608
|
-
_infinite?: boolean
|
|
4609
|
-
|
|
4610
|
-
|
|
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"> & {
|
|
4611
5149
|
_id: string;
|
|
4612
|
-
_infinite?: boolean
|
|
4613
|
-
|
|
5150
|
+
_infinite?: boolean;
|
|
5151
|
+
tags?: ReadonlyArray<string>;
|
|
5152
|
+
}, "query" | "body" | "headers" | "path">> | (() => InfiniteData<NotificationsPaginatedResponse, string | Pick<Pick<Options<GetNotificationsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4614
5153
|
_id: string;
|
|
4615
|
-
_infinite?: boolean
|
|
4616
|
-
|
|
5154
|
+
_infinite?: boolean;
|
|
5155
|
+
tags?: ReadonlyArray<string>;
|
|
5156
|
+
}, "query" | "body" | "headers" | "path">>) | undefined;
|
|
4617
5157
|
} & {
|
|
4618
5158
|
queryKey: QueryKey<Options<GetNotificationsData>> & {
|
|
4619
5159
|
[dataTagSymbol]: InfiniteData<NotificationsPaginatedResponse, unknown>;
|
|
4620
5160
|
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4621
5161
|
};
|
|
4622
5162
|
};
|
|
4623
|
-
|
|
4624
|
-
|
|
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"> & {
|
|
4625
5170
|
_id: string;
|
|
4626
|
-
_infinite?: boolean
|
|
5171
|
+
_infinite?: boolean;
|
|
5172
|
+
tags?: ReadonlyArray<string>;
|
|
4627
5173
|
}];
|
|
4628
|
-
|
|
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"> & {
|
|
4629
5180
|
_id: string;
|
|
4630
|
-
_infinite?: boolean
|
|
5181
|
+
_infinite?: boolean;
|
|
5182
|
+
tags?: ReadonlyArray<string>;
|
|
4631
5183
|
}]>, "queryFn"> & {
|
|
4632
|
-
queryFn?:
|
|
5184
|
+
queryFn?: _tanstack_react_query.QueryFunction<PreferencesResponse, [Pick<Options<GetNotificationsPreferencesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4633
5185
|
_id: string;
|
|
4634
|
-
_infinite?: boolean
|
|
5186
|
+
_infinite?: boolean;
|
|
5187
|
+
tags?: ReadonlyArray<string>;
|
|
4635
5188
|
}], never> | undefined;
|
|
4636
5189
|
} & {
|
|
4637
|
-
queryKey: [Pick<Options<GetNotificationsPreferencesData>, "
|
|
5190
|
+
queryKey: [Pick<Options<GetNotificationsPreferencesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4638
5191
|
_id: string;
|
|
4639
|
-
_infinite?: boolean
|
|
5192
|
+
_infinite?: boolean;
|
|
5193
|
+
tags?: ReadonlyArray<string>;
|
|
4640
5194
|
}] & {
|
|
4641
5195
|
[dataTagSymbol]: PreferencesResponse;
|
|
4642
|
-
[dataTagErrorSymbol]:
|
|
5196
|
+
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4643
5197
|
};
|
|
4644
5198
|
};
|
|
4645
|
-
|
|
4646
|
-
|
|
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"> & {
|
|
4647
5206
|
_id: string;
|
|
4648
|
-
_infinite?: boolean
|
|
5207
|
+
_infinite?: boolean;
|
|
5208
|
+
tags?: ReadonlyArray<string>;
|
|
4649
5209
|
}];
|
|
4650
|
-
|
|
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"> & {
|
|
4651
5216
|
_id: string;
|
|
4652
|
-
_infinite?: boolean
|
|
5217
|
+
_infinite?: boolean;
|
|
5218
|
+
tags?: ReadonlyArray<string>;
|
|
4653
5219
|
}]>, "queryFn"> & {
|
|
4654
|
-
queryFn?:
|
|
5220
|
+
queryFn?: _tanstack_react_query.QueryFunction<Notification, [Pick<Options<GetNotificationByIdData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4655
5221
|
_id: string;
|
|
4656
|
-
_infinite?: boolean
|
|
5222
|
+
_infinite?: boolean;
|
|
5223
|
+
tags?: ReadonlyArray<string>;
|
|
4657
5224
|
}], never> | undefined;
|
|
4658
5225
|
} & {
|
|
4659
|
-
queryKey: [Pick<Options<GetNotificationByIdData>, "
|
|
5226
|
+
queryKey: [Pick<Options<GetNotificationByIdData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4660
5227
|
_id: string;
|
|
4661
|
-
_infinite?: boolean
|
|
5228
|
+
_infinite?: boolean;
|
|
5229
|
+
tags?: ReadonlyArray<string>;
|
|
4662
5230
|
}] & {
|
|
4663
5231
|
[dataTagSymbol]: Notification;
|
|
4664
|
-
[dataTagErrorSymbol]:
|
|
5232
|
+
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4665
5233
|
};
|
|
4666
5234
|
};
|
|
4667
|
-
|
|
4668
|
-
|
|
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"> & {
|
|
4669
5242
|
_id: string;
|
|
4670
|
-
_infinite?: boolean
|
|
5243
|
+
_infinite?: boolean;
|
|
5244
|
+
tags?: ReadonlyArray<string>;
|
|
4671
5245
|
}];
|
|
4672
|
-
|
|
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"> & {
|
|
4673
5252
|
_id: string;
|
|
4674
|
-
_infinite?: boolean
|
|
5253
|
+
_infinite?: boolean;
|
|
5254
|
+
tags?: ReadonlyArray<string>;
|
|
4675
5255
|
}]>, "queryFn"> & {
|
|
4676
|
-
queryFn?:
|
|
5256
|
+
queryFn?: _tanstack_react_query.QueryFunction<UsersPaginatedResponse, [Pick<Options<SearchUsersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4677
5257
|
_id: string;
|
|
4678
|
-
_infinite?: boolean
|
|
5258
|
+
_infinite?: boolean;
|
|
5259
|
+
tags?: ReadonlyArray<string>;
|
|
4679
5260
|
}], never> | undefined;
|
|
4680
5261
|
} & {
|
|
4681
|
-
queryKey: [Pick<Options<SearchUsersData>, "
|
|
5262
|
+
queryKey: [Pick<Options<SearchUsersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4682
5263
|
_id: string;
|
|
4683
|
-
_infinite?: boolean
|
|
5264
|
+
_infinite?: boolean;
|
|
5265
|
+
tags?: ReadonlyArray<string>;
|
|
4684
5266
|
}] & {
|
|
4685
5267
|
[dataTagSymbol]: UsersPaginatedResponse;
|
|
4686
|
-
[dataTagErrorSymbol]:
|
|
5268
|
+
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4687
5269
|
};
|
|
4688
5270
|
};
|
|
4689
5271
|
declare const searchUsersInfiniteQueryKey: (options?: Options<SearchUsersData>) => QueryKey<Options<SearchUsersData>>;
|
|
4690
|
-
|
|
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"> & {
|
|
4691
5278
|
_id: string;
|
|
4692
|
-
_infinite?: boolean
|
|
4693
|
-
|
|
4694
|
-
|
|
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"> & {
|
|
4695
5283
|
_id: string;
|
|
4696
|
-
_infinite?: boolean
|
|
4697
|
-
|
|
5284
|
+
_infinite?: boolean;
|
|
5285
|
+
tags?: ReadonlyArray<string>;
|
|
5286
|
+
}, "query" | "body" | "headers" | "path">> | (() => InfiniteData<UsersPaginatedResponse, number | Pick<Pick<Options<SearchUsersData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4698
5287
|
_id: string;
|
|
4699
|
-
_infinite?: boolean
|
|
4700
|
-
|
|
5288
|
+
_infinite?: boolean;
|
|
5289
|
+
tags?: ReadonlyArray<string>;
|
|
5290
|
+
}, "query" | "body" | "headers" | "path">>) | undefined;
|
|
4701
5291
|
} & {
|
|
4702
5292
|
queryKey: QueryKey<Options<SearchUsersData>> & {
|
|
4703
5293
|
[dataTagSymbol]: InfiniteData<UsersPaginatedResponse, unknown>;
|
|
4704
5294
|
[dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
|
|
4705
5295
|
};
|
|
4706
5296
|
};
|
|
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>>;
|
|
4707
5303
|
|
|
4708
5304
|
type reactQuery_gen_QueryKey<TOptions extends Options> = QueryKey<TOptions>;
|
|
4709
5305
|
declare const reactQuery_gen_createFacilityOfferOrderMutation: typeof createFacilityOfferOrderMutation;
|
|
4710
|
-
declare const reactQuery_gen_createFacilityOfferOrderOptions: typeof createFacilityOfferOrderOptions;
|
|
4711
|
-
declare const reactQuery_gen_createFacilityOfferOrderQueryKey: typeof createFacilityOfferOrderQueryKey;
|
|
4712
5306
|
declare const reactQuery_gen_getNotificationByIdOptions: typeof getNotificationByIdOptions;
|
|
4713
5307
|
declare const reactQuery_gen_getNotificationByIdQueryKey: typeof getNotificationByIdQueryKey;
|
|
4714
5308
|
declare const reactQuery_gen_getNotificationsInfiniteOptions: typeof getNotificationsInfiniteOptions;
|
|
@@ -4728,8 +5322,9 @@ declare const reactQuery_gen_searchUsersQueryKey: typeof searchUsersQueryKey;
|
|
|
4728
5322
|
declare const reactQuery_gen_updateAllNotificationsMutation: typeof updateAllNotificationsMutation;
|
|
4729
5323
|
declare const reactQuery_gen_updateNotificationMutation: typeof updateNotificationMutation;
|
|
4730
5324
|
declare const reactQuery_gen_updateNotificationsPreferencesMutation: typeof updateNotificationsPreferencesMutation;
|
|
5325
|
+
declare const reactQuery_gen_updateUserProfileMutation: typeof updateUserProfileMutation;
|
|
4731
5326
|
declare namespace reactQuery_gen {
|
|
4732
|
-
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 };
|
|
4733
5328
|
}
|
|
4734
5329
|
|
|
4735
5330
|
type indexV1_Channels = Channels;
|
|
@@ -4753,6 +5348,7 @@ type indexV1_FacilityOfferList = FacilityOfferList;
|
|
|
4753
5348
|
type indexV1_FacilityOfferOrder = FacilityOfferOrder;
|
|
4754
5349
|
type indexV1_FacilityPunchCardData = FacilityPunchCardData;
|
|
4755
5350
|
type indexV1_FacilityValueCardData = FacilityValueCardData;
|
|
5351
|
+
type indexV1_Gender = Gender;
|
|
4756
5352
|
type indexV1_GetNotificationByIdData = GetNotificationByIdData;
|
|
4757
5353
|
type indexV1_GetNotificationByIdError = GetNotificationByIdError;
|
|
4758
5354
|
type indexV1_GetNotificationByIdErrors = GetNotificationByIdErrors;
|
|
@@ -4799,8 +5395,8 @@ type indexV1_SearchUsersError = SearchUsersError;
|
|
|
4799
5395
|
type indexV1_SearchUsersErrors = SearchUsersErrors;
|
|
4800
5396
|
type indexV1_SearchUsersResponse = SearchUsersResponse;
|
|
4801
5397
|
type indexV1_SearchUsersResponses = SearchUsersResponses;
|
|
4802
|
-
|
|
4803
|
-
|
|
5398
|
+
type indexV1_Source = Source;
|
|
5399
|
+
type indexV1_Topic = Topic;
|
|
4804
5400
|
type indexV1_UpdateAllNotificationsData = UpdateAllNotificationsData;
|
|
4805
5401
|
type indexV1_UpdateAllNotificationsError = UpdateAllNotificationsError;
|
|
4806
5402
|
type indexV1_UpdateAllNotificationsErrors = UpdateAllNotificationsErrors;
|
|
@@ -4817,8 +5413,15 @@ type indexV1_UpdateNotificationsPreferencesErrors = UpdateNotificationsPreferenc
|
|
|
4817
5413
|
type indexV1_UpdateNotificationsPreferencesResponse = UpdateNotificationsPreferencesResponse;
|
|
4818
5414
|
type indexV1_UpdateNotificationsPreferencesResponses = UpdateNotificationsPreferencesResponses;
|
|
4819
5415
|
type indexV1_UpdatePreferencesRequestBody = UpdatePreferencesRequestBody;
|
|
5416
|
+
type indexV1_UpdateUserProfileData = UpdateUserProfileData;
|
|
5417
|
+
type indexV1_UpdateUserProfileError = UpdateUserProfileError;
|
|
5418
|
+
type indexV1_UpdateUserProfileErrors = UpdateUserProfileErrors;
|
|
5419
|
+
type indexV1_UpdateUserProfileRequest = UpdateUserProfileRequest;
|
|
5420
|
+
type indexV1_UpdateUserProfileResponse = UpdateUserProfileResponse;
|
|
5421
|
+
type indexV1_UpdateUserProfileResponses = UpdateUserProfileResponses;
|
|
4820
5422
|
type indexV1_User = User;
|
|
4821
|
-
|
|
5423
|
+
type indexV1_UserProfile = UserProfile;
|
|
5424
|
+
type indexV1_UserRelation = UserRelation;
|
|
4822
5425
|
type indexV1_UsersPaginatedResponse = UsersPaginatedResponse;
|
|
4823
5426
|
declare const indexV1_client: typeof client;
|
|
4824
5427
|
declare const indexV1_createFacilityOfferOrder: typeof createFacilityOfferOrder;
|
|
@@ -4830,8 +5433,9 @@ declare const indexV1_searchUsers: typeof searchUsers;
|
|
|
4830
5433
|
declare const indexV1_updateAllNotifications: typeof updateAllNotifications;
|
|
4831
5434
|
declare const indexV1_updateNotification: typeof updateNotification;
|
|
4832
5435
|
declare const indexV1_updateNotificationsPreferences: typeof updateNotificationsPreferences;
|
|
5436
|
+
declare const indexV1_updateUserProfile: typeof updateUserProfile;
|
|
4833
5437
|
declare namespace indexV1 {
|
|
4834
|
-
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_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_User as User, 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 };
|
|
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 };
|
|
4835
5439
|
}
|
|
4836
5440
|
|
|
4837
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 };
|