@matchi/api 0.20251202.1 → 0.20251209.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.
@@ -3199,6 +3199,10 @@ declare class UserServiceV1Service {
3199
3199
  static listUserOfferValueCards(offset?: number, limit?: number): CancelablePromise<userOfferValueCardsResponse>;
3200
3200
  }
3201
3201
 
3202
+ type Channels = {
3203
+ inapp: boolean;
3204
+ push: boolean;
3205
+ };
3202
3206
  type FacilityMessagePayload = {
3203
3207
  description: string;
3204
3208
  image_url?: string;
@@ -3298,9 +3302,9 @@ type Notification = {
3298
3302
  type NotificationPayload = FacilityMessagePayload;
3299
3303
  type NotificationRequestBody = {
3300
3304
  /**
3301
- * Set to a timestamp to mark as read, null to mark as unread
3305
+ * true to mark as read, false to mark as unread
3302
3306
  */
3303
- read_at?: string | null;
3307
+ is_read?: boolean;
3304
3308
  };
3305
3309
  type NotificationsFilter = {
3306
3310
  source?: Source;
@@ -3317,6 +3321,15 @@ type NotificationsSummary = {
3317
3321
  global_unread_count: number;
3318
3322
  unread_count: number;
3319
3323
  };
3324
+ type Preference = {
3325
+ channels: Channels;
3326
+ source?: Source;
3327
+ source_id?: string;
3328
+ topic: Topic;
3329
+ };
3330
+ type PreferencesResponse = {
3331
+ items: Array<Preference>;
3332
+ };
3320
3333
  type Source = 'FACILITY';
3321
3334
  declare const Source: {
3322
3335
  readonly FACILITY: "FACILITY";
@@ -3325,6 +3338,10 @@ type Topic = 'FACILITY_MESSAGE';
3325
3338
  declare const Topic: {
3326
3339
  readonly FACILITY_MESSAGE: "FACILITY_MESSAGE";
3327
3340
  };
3341
+ type UpdatePreferencesRequestBody = {
3342
+ inapp?: boolean;
3343
+ push?: boolean;
3344
+ };
3328
3345
  type User = {
3329
3346
  first_name: string;
3330
3347
  last_name: string;
@@ -3603,6 +3620,78 @@ type UpdateAllNotificationsResponses = {
3603
3620
  200: NotificationsPaginatedResponse;
3604
3621
  };
3605
3622
  type UpdateAllNotificationsResponse = UpdateAllNotificationsResponses[keyof UpdateAllNotificationsResponses];
3623
+ type GetNotificationsPreferencesData = {
3624
+ body?: never;
3625
+ path?: never;
3626
+ query?: {
3627
+ topic?: Topic;
3628
+ source?: Source;
3629
+ source_ids?: Array<string>;
3630
+ };
3631
+ url: '/notifications/preferences';
3632
+ };
3633
+ type GetNotificationsPreferencesErrors = {
3634
+ /**
3635
+ * The request was malformed or could not be processed.
3636
+ */
3637
+ 400: PkgOpenapiSharedProblemDetails;
3638
+ /**
3639
+ * Access token is not set or invalid.
3640
+ */
3641
+ 401: PkgOpenapiSharedProblemDetails;
3642
+ /**
3643
+ * The server encountered an unexpected error
3644
+ */
3645
+ 500: PkgOpenapiSharedProblemDetails;
3646
+ /**
3647
+ * The requested operation is not implemented.
3648
+ */
3649
+ 501: PkgOpenapiSharedProblemDetails;
3650
+ };
3651
+ type GetNotificationsPreferencesError = GetNotificationsPreferencesErrors[keyof GetNotificationsPreferencesErrors];
3652
+ type GetNotificationsPreferencesResponses = {
3653
+ /**
3654
+ * OK
3655
+ */
3656
+ 200: PreferencesResponse;
3657
+ };
3658
+ type GetNotificationsPreferencesResponse = GetNotificationsPreferencesResponses[keyof GetNotificationsPreferencesResponses];
3659
+ type UpdateNotificationsPreferencesData = {
3660
+ body: UpdatePreferencesRequestBody;
3661
+ path?: never;
3662
+ query: {
3663
+ topic: Topic;
3664
+ source?: Source;
3665
+ source_id?: string;
3666
+ };
3667
+ url: '/notifications/preferences';
3668
+ };
3669
+ type UpdateNotificationsPreferencesErrors = {
3670
+ /**
3671
+ * The request was malformed or could not be processed.
3672
+ */
3673
+ 400: PkgOpenapiSharedProblemDetails;
3674
+ /**
3675
+ * Access token is not set or invalid.
3676
+ */
3677
+ 401: PkgOpenapiSharedProblemDetails;
3678
+ /**
3679
+ * The server encountered an unexpected error
3680
+ */
3681
+ 500: PkgOpenapiSharedProblemDetails;
3682
+ /**
3683
+ * The requested operation is not implemented.
3684
+ */
3685
+ 501: PkgOpenapiSharedProblemDetails;
3686
+ };
3687
+ type UpdateNotificationsPreferencesError = UpdateNotificationsPreferencesErrors[keyof UpdateNotificationsPreferencesErrors];
3688
+ type UpdateNotificationsPreferencesResponses = {
3689
+ /**
3690
+ * OK
3691
+ */
3692
+ 200: PreferencesResponse;
3693
+ };
3694
+ type UpdateNotificationsPreferencesResponse = UpdateNotificationsPreferencesResponses[keyof UpdateNotificationsPreferencesResponses];
3606
3695
  type GetNotificationByIdData = {
3607
3696
  body?: never;
3608
3697
  path: {
@@ -3738,6 +3827,18 @@ type ClientOptions = {
3738
3827
 
3739
3828
  declare const client: _hey_api_client_fetch.Client;
3740
3829
 
3830
+ declare const ChannelsSchema: {
3831
+ readonly properties: {
3832
+ readonly inapp: {
3833
+ readonly type: "boolean";
3834
+ };
3835
+ readonly push: {
3836
+ readonly type: "boolean";
3837
+ };
3838
+ };
3839
+ readonly required: readonly ["inapp", "push"];
3840
+ readonly type: "object";
3841
+ };
3741
3842
  declare const FacilityMessagePayloadSchema: {
3742
3843
  readonly properties: {
3743
3844
  readonly description: {
@@ -4081,11 +4182,9 @@ declare const NotificationPayloadSchema: {
4081
4182
  };
4082
4183
  declare const NotificationRequestBodySchema: {
4083
4184
  readonly properties: {
4084
- readonly read_at: {
4085
- readonly description: "Set to a timestamp to mark as read, null to mark as unread";
4086
- readonly format: "date-time";
4087
- readonly nullable: true;
4088
- readonly type: "string";
4185
+ readonly is_read: {
4186
+ readonly description: "true to mark as read, false to mark as unread";
4187
+ readonly type: "boolean";
4089
4188
  };
4090
4189
  };
4091
4190
  readonly type: "object";
@@ -4137,6 +4236,36 @@ declare const NotificationsSummarySchema: {
4137
4236
  readonly required: readonly ["count", "unread_count", "global_count", "global_unread_count"];
4138
4237
  readonly type: "object";
4139
4238
  };
4239
+ declare const PreferenceSchema: {
4240
+ readonly properties: {
4241
+ readonly channels: {
4242
+ readonly $ref: "#/components/schemas/Channels";
4243
+ };
4244
+ readonly source: {
4245
+ readonly $ref: "#/components/schemas/Source";
4246
+ };
4247
+ readonly source_id: {
4248
+ readonly type: "string";
4249
+ };
4250
+ readonly topic: {
4251
+ readonly $ref: "#/components/schemas/Topic";
4252
+ };
4253
+ };
4254
+ readonly required: readonly ["topic", "channels"];
4255
+ readonly type: "object";
4256
+ };
4257
+ declare const PreferencesResponseSchema: {
4258
+ readonly properties: {
4259
+ readonly items: {
4260
+ readonly items: {
4261
+ readonly $ref: "#/components/schemas/Preference";
4262
+ };
4263
+ readonly type: "array";
4264
+ };
4265
+ };
4266
+ readonly required: readonly ["items"];
4267
+ readonly type: "object";
4268
+ };
4140
4269
  declare const SourceSchema: {
4141
4270
  readonly enum: readonly ["FACILITY"];
4142
4271
  readonly type: "string";
@@ -4145,6 +4274,17 @@ declare const TopicSchema: {
4145
4274
  readonly enum: readonly ["FACILITY_MESSAGE"];
4146
4275
  readonly type: "string";
4147
4276
  };
4277
+ declare const UpdatePreferencesRequestBodySchema: {
4278
+ readonly properties: {
4279
+ readonly inapp: {
4280
+ readonly type: "boolean";
4281
+ };
4282
+ readonly push: {
4283
+ readonly type: "boolean";
4284
+ };
4285
+ };
4286
+ readonly type: "object";
4287
+ };
4148
4288
  declare const UserSchema: {
4149
4289
  readonly properties: {
4150
4290
  readonly first_name: {
@@ -4277,6 +4417,7 @@ declare const pkgOpenapiSharedProblemDetailsSchema: {
4277
4417
  readonly type: "object";
4278
4418
  };
4279
4419
 
4420
+ declare const schemas_gen_ChannelsSchema: typeof ChannelsSchema;
4280
4421
  declare const schemas_gen_FacilityMessagePayloadSchema: typeof FacilityMessagePayloadSchema;
4281
4422
  declare const schemas_gen_FacilityOfferConditionActivitiesSchema: typeof FacilityOfferConditionActivitiesSchema;
4282
4423
  declare const schemas_gen_FacilityOfferConditionCourtsSchema: typeof FacilityOfferConditionCourtsSchema;
@@ -4297,8 +4438,11 @@ declare const schemas_gen_NotificationSchema: typeof NotificationSchema;
4297
4438
  declare const schemas_gen_NotificationsFilterSchema: typeof NotificationsFilterSchema;
4298
4439
  declare const schemas_gen_NotificationsPaginatedResponseSchema: typeof NotificationsPaginatedResponseSchema;
4299
4440
  declare const schemas_gen_NotificationsSummarySchema: typeof NotificationsSummarySchema;
4441
+ declare const schemas_gen_PreferenceSchema: typeof PreferenceSchema;
4442
+ declare const schemas_gen_PreferencesResponseSchema: typeof PreferencesResponseSchema;
4300
4443
  declare const schemas_gen_SourceSchema: typeof SourceSchema;
4301
4444
  declare const schemas_gen_TopicSchema: typeof TopicSchema;
4445
+ declare const schemas_gen_UpdatePreferencesRequestBodySchema: typeof UpdatePreferencesRequestBodySchema;
4302
4446
  declare const schemas_gen_UserRelationSchema: typeof UserRelationSchema;
4303
4447
  declare const schemas_gen_UserSchema: typeof UserSchema;
4304
4448
  declare const schemas_gen_UsersPaginatedResponseSchema: typeof UsersPaginatedResponseSchema;
@@ -4308,7 +4452,7 @@ declare const schemas_gen_pkgOpenapiSharedErrorsSchema: typeof pkgOpenapiSharedE
4308
4452
  declare const schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema: typeof pkgOpenapiSharedOffsetPaginatedResultSetSchema;
4309
4453
  declare const schemas_gen_pkgOpenapiSharedProblemDetailsSchema: typeof pkgOpenapiSharedProblemDetailsSchema;
4310
4454
  declare namespace schemas_gen {
4311
- export { 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_SourceSchema as SourceSchema, schemas_gen_TopicSchema as TopicSchema, 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 };
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 };
4312
4456
  }
4313
4457
 
4314
4458
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
@@ -4344,6 +4488,16 @@ declare const getNotifications: <ThrowOnError extends boolean = false>(options?:
4344
4488
  * Update all notifications
4345
4489
  */
4346
4490
  declare const updateAllNotifications: <ThrowOnError extends boolean = false>(options: Options<UpdateAllNotificationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<NotificationsPaginatedResponse, PkgOpenapiSharedProblemDetails, ThrowOnError>;
4491
+ /**
4492
+ * Get user's notifications preferences
4493
+ * Get user's notifications preferences
4494
+ */
4495
+ declare const getNotificationsPreferences: <ThrowOnError extends boolean = false>(options?: Options<GetNotificationsPreferencesData, ThrowOnError> | undefined) => _hey_api_client_fetch.RequestResult<PreferencesResponse, PkgOpenapiSharedProblemDetails, ThrowOnError>;
4496
+ /**
4497
+ * Update user's notifications preferences
4498
+ * Update user's notifications preferences
4499
+ */
4500
+ declare const updateNotificationsPreferences: <ThrowOnError extends boolean = false>(options: Options<UpdateNotificationsPreferencesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PreferencesResponse, PkgOpenapiSharedProblemDetails, ThrowOnError>;
4347
4501
  /**
4348
4502
  * Get a notification by id
4349
4503
  * Get a notification by id
@@ -4467,6 +4621,28 @@ declare const getNotificationsInfiniteOptions: (options?: Options<GetNotificatio
4467
4621
  };
4468
4622
  };
4469
4623
  declare const updateAllNotificationsMutation: (options?: Partial<Options<UpdateAllNotificationsData>>) => UseMutationOptions<NotificationsPaginatedResponse, PkgOpenapiSharedProblemDetails, Options<UpdateAllNotificationsData>, unknown>;
4624
+ declare const getNotificationsPreferencesQueryKey: (options?: Options<GetNotificationsPreferencesData>) => [Pick<Options<GetNotificationsPreferencesData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4625
+ _id: string;
4626
+ _infinite?: boolean | undefined;
4627
+ }];
4628
+ declare const getNotificationsPreferencesOptions: (options?: Options<GetNotificationsPreferencesData>) => _tanstack_query_core_build_legacy_hydration_ClXcjjG9.O<_tanstack_react_query_build_legacy_types.UseQueryOptions<PreferencesResponse, Error, PreferencesResponse, [Pick<Options<GetNotificationsPreferencesData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4629
+ _id: string;
4630
+ _infinite?: boolean | undefined;
4631
+ }]>, "queryFn"> & {
4632
+ queryFn?: _tanstack_query_core_build_legacy_hydration_ClXcjjG9.K<PreferencesResponse, [Pick<Options<GetNotificationsPreferencesData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4633
+ _id: string;
4634
+ _infinite?: boolean | undefined;
4635
+ }], never> | undefined;
4636
+ } & {
4637
+ queryKey: [Pick<Options<GetNotificationsPreferencesData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4638
+ _id: string;
4639
+ _infinite?: boolean | undefined;
4640
+ }] & {
4641
+ [dataTagSymbol]: PreferencesResponse;
4642
+ [dataTagErrorSymbol]: Error;
4643
+ };
4644
+ };
4645
+ declare const updateNotificationsPreferencesMutation: (options?: Partial<Options<UpdateNotificationsPreferencesData>>) => UseMutationOptions<PreferencesResponse, PkgOpenapiSharedProblemDetails, Options<UpdateNotificationsPreferencesData>, unknown>;
4470
4646
  declare const getNotificationByIdQueryKey: (options: Options<GetNotificationByIdData>) => [Pick<Options<GetNotificationByIdData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4471
4647
  _id: string;
4472
4648
  _infinite?: boolean | undefined;
@@ -4538,6 +4714,8 @@ declare const reactQuery_gen_getNotificationByIdQueryKey: typeof getNotification
4538
4714
  declare const reactQuery_gen_getNotificationsInfiniteOptions: typeof getNotificationsInfiniteOptions;
4539
4715
  declare const reactQuery_gen_getNotificationsInfiniteQueryKey: typeof getNotificationsInfiniteQueryKey;
4540
4716
  declare const reactQuery_gen_getNotificationsOptions: typeof getNotificationsOptions;
4717
+ declare const reactQuery_gen_getNotificationsPreferencesOptions: typeof getNotificationsPreferencesOptions;
4718
+ declare const reactQuery_gen_getNotificationsPreferencesQueryKey: typeof getNotificationsPreferencesQueryKey;
4541
4719
  declare const reactQuery_gen_getNotificationsQueryKey: typeof getNotificationsQueryKey;
4542
4720
  declare const reactQuery_gen_listFacilityOffersInfiniteOptions: typeof listFacilityOffersInfiniteOptions;
4543
4721
  declare const reactQuery_gen_listFacilityOffersInfiniteQueryKey: typeof listFacilityOffersInfiniteQueryKey;
@@ -4549,10 +4727,12 @@ declare const reactQuery_gen_searchUsersOptions: typeof searchUsersOptions;
4549
4727
  declare const reactQuery_gen_searchUsersQueryKey: typeof searchUsersQueryKey;
4550
4728
  declare const reactQuery_gen_updateAllNotificationsMutation: typeof updateAllNotificationsMutation;
4551
4729
  declare const reactQuery_gen_updateNotificationMutation: typeof updateNotificationMutation;
4730
+ declare const reactQuery_gen_updateNotificationsPreferencesMutation: typeof updateNotificationsPreferencesMutation;
4552
4731
  declare namespace reactQuery_gen {
4553
- export { type reactQuery_gen_QueryKey as QueryKey, reactQuery_gen_createFacilityOfferOrderMutation as createFacilityOfferOrderMutation, reactQuery_gen_createFacilityOfferOrderOptions as createFacilityOfferOrderOptions, reactQuery_gen_createFacilityOfferOrderQueryKey as createFacilityOfferOrderQueryKey, 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_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 };
4732
+ export { type reactQuery_gen_QueryKey as QueryKey, reactQuery_gen_createFacilityOfferOrderMutation as createFacilityOfferOrderMutation, reactQuery_gen_createFacilityOfferOrderOptions as createFacilityOfferOrderOptions, reactQuery_gen_createFacilityOfferOrderQueryKey as createFacilityOfferOrderQueryKey, 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 };
4554
4733
  }
4555
4734
 
4735
+ type indexV1_Channels = Channels;
4556
4736
  type indexV1_ClientOptions = ClientOptions;
4557
4737
  type indexV1_CreateFacilityOfferOrderData = CreateFacilityOfferOrderData;
4558
4738
  type indexV1_CreateFacilityOfferOrderError = CreateFacilityOfferOrderError;
@@ -4581,6 +4761,11 @@ type indexV1_GetNotificationByIdResponses = GetNotificationByIdResponses;
4581
4761
  type indexV1_GetNotificationsData = GetNotificationsData;
4582
4762
  type indexV1_GetNotificationsError = GetNotificationsError;
4583
4763
  type indexV1_GetNotificationsErrors = GetNotificationsErrors;
4764
+ type indexV1_GetNotificationsPreferencesData = GetNotificationsPreferencesData;
4765
+ type indexV1_GetNotificationsPreferencesError = GetNotificationsPreferencesError;
4766
+ type indexV1_GetNotificationsPreferencesErrors = GetNotificationsPreferencesErrors;
4767
+ type indexV1_GetNotificationsPreferencesResponse = GetNotificationsPreferencesResponse;
4768
+ type indexV1_GetNotificationsPreferencesResponses = GetNotificationsPreferencesResponses;
4584
4769
  type indexV1_GetNotificationsResponse = GetNotificationsResponse;
4585
4770
  type indexV1_GetNotificationsResponses = GetNotificationsResponses;
4586
4771
  type indexV1_ListFacilityOffersData = ListFacilityOffersData;
@@ -4607,6 +4792,8 @@ type indexV1_PkgOpenapiSharedOffsetLimitParam = PkgOpenapiSharedOffsetLimitParam
4607
4792
  type indexV1_PkgOpenapiSharedOffsetPaginatedResultSet = PkgOpenapiSharedOffsetPaginatedResultSet;
4608
4793
  type indexV1_PkgOpenapiSharedOffsetParam = PkgOpenapiSharedOffsetParam;
4609
4794
  type indexV1_PkgOpenapiSharedProblemDetails = PkgOpenapiSharedProblemDetails;
4795
+ type indexV1_Preference = Preference;
4796
+ type indexV1_PreferencesResponse = PreferencesResponse;
4610
4797
  type indexV1_SearchUsersData = SearchUsersData;
4611
4798
  type indexV1_SearchUsersError = SearchUsersError;
4612
4799
  type indexV1_SearchUsersErrors = SearchUsersErrors;
@@ -4624,6 +4811,12 @@ type indexV1_UpdateNotificationError = UpdateNotificationError;
4624
4811
  type indexV1_UpdateNotificationErrors = UpdateNotificationErrors;
4625
4812
  type indexV1_UpdateNotificationResponse = UpdateNotificationResponse;
4626
4813
  type indexV1_UpdateNotificationResponses = UpdateNotificationResponses;
4814
+ type indexV1_UpdateNotificationsPreferencesData = UpdateNotificationsPreferencesData;
4815
+ type indexV1_UpdateNotificationsPreferencesError = UpdateNotificationsPreferencesError;
4816
+ type indexV1_UpdateNotificationsPreferencesErrors = UpdateNotificationsPreferencesErrors;
4817
+ type indexV1_UpdateNotificationsPreferencesResponse = UpdateNotificationsPreferencesResponse;
4818
+ type indexV1_UpdateNotificationsPreferencesResponses = UpdateNotificationsPreferencesResponses;
4819
+ type indexV1_UpdatePreferencesRequestBody = UpdatePreferencesRequestBody;
4627
4820
  type indexV1_User = User;
4628
4821
  declare const indexV1_UserRelation: typeof UserRelation;
4629
4822
  type indexV1_UsersPaginatedResponse = UsersPaginatedResponse;
@@ -4631,12 +4824,14 @@ declare const indexV1_client: typeof client;
4631
4824
  declare const indexV1_createFacilityOfferOrder: typeof createFacilityOfferOrder;
4632
4825
  declare const indexV1_getNotificationById: typeof getNotificationById;
4633
4826
  declare const indexV1_getNotifications: typeof getNotifications;
4827
+ declare const indexV1_getNotificationsPreferences: typeof getNotificationsPreferences;
4634
4828
  declare const indexV1_listFacilityOffers: typeof listFacilityOffers;
4635
4829
  declare const indexV1_searchUsers: typeof searchUsers;
4636
4830
  declare const indexV1_updateAllNotifications: typeof updateAllNotifications;
4637
4831
  declare const indexV1_updateNotification: typeof updateNotification;
4832
+ declare const indexV1_updateNotificationsPreferences: typeof updateNotificationsPreferences;
4638
4833
  declare namespace indexV1 {
4639
- export { 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_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_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_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_listFacilityOffers as listFacilityOffers, reactQuery_gen as queries, schemas_gen as schemas, indexV1_searchUsers as searchUsers, indexV1_updateAllNotifications as updateAllNotifications, indexV1_updateNotification as updateNotification };
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 };
4640
4835
  }
4641
4836
 
4642
4837
  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 };