@matchi/api 0.20251119.2 → 0.20251124.2

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,11 @@ declare class UserServiceV1Service {
3199
3199
  static listUserOfferValueCards(offset?: number, limit?: number): CancelablePromise<userOfferValueCardsResponse>;
3200
3200
  }
3201
3201
 
3202
+ type FacilityMessagePayload = {
3203
+ description: string;
3204
+ image_url?: string;
3205
+ title: string;
3206
+ };
3202
3207
  type FacilityOffer = {
3203
3208
  data: FacilityPunchCardData | FacilityValueCardData;
3204
3209
  type: 'FACILITY_PUNCH_CARD' | 'FACILITY_VALUE_CARD';
@@ -3277,6 +3282,49 @@ type FacilityValueCardData = {
3277
3282
  price: string;
3278
3283
  user_has_active_membership: boolean;
3279
3284
  };
3285
+ type Metadata = {
3286
+ pagination: PkgOpenapiSharedOffsetPaginatedResultSet;
3287
+ summary: NotificationsSummary;
3288
+ };
3289
+ type Notification = {
3290
+ created_at: string;
3291
+ id: string;
3292
+ payload: NotificationPayload;
3293
+ read_at?: string;
3294
+ source: Source;
3295
+ source_id: string;
3296
+ topic: Topic;
3297
+ };
3298
+ type NotificationPayload = FacilityMessagePayload;
3299
+ type NotificationRequestBody = {
3300
+ /**
3301
+ * Set to a timestamp to mark as read, null to mark as unread
3302
+ */
3303
+ read_at?: string | null;
3304
+ };
3305
+ type NotificationsFilter = {
3306
+ source?: Source;
3307
+ source_id?: string;
3308
+ topic?: Topic;
3309
+ };
3310
+ type NotificationsPaginatedResponse = {
3311
+ items: Array<Notification>;
3312
+ meta: Metadata;
3313
+ };
3314
+ type NotificationsSummary = {
3315
+ count: number;
3316
+ global_count: number;
3317
+ global_unread_count: number;
3318
+ unread_count: number;
3319
+ };
3320
+ type Source = 'FACILITY';
3321
+ declare const Source: {
3322
+ readonly FACILITY: "FACILITY";
3323
+ };
3324
+ type Topic = 'FACILITY_MESSAGE';
3325
+ declare const Topic: {
3326
+ readonly FACILITY_MESSAGE: "FACILITY_MESSAGE";
3327
+ };
3280
3328
  type User = {
3281
3329
  first_name: string;
3282
3330
  last_name: string;
@@ -3372,6 +3420,7 @@ type PkgOpenapiSharedProblemDetails = {
3372
3420
  type?: string;
3373
3421
  };
3374
3422
  type FacilityIdPath = string;
3423
+ type NotificationsFilterParam = NotificationsFilter;
3375
3424
  type OfferIdPath = string;
3376
3425
  /**
3377
3426
  * Maximum number of items to return per page.
@@ -3473,14 +3522,15 @@ type CreateFacilityOfferOrderResponses = {
3473
3522
  200: FacilityOfferOrder;
3474
3523
  };
3475
3524
  type CreateFacilityOfferOrderResponse = CreateFacilityOfferOrderResponses[keyof CreateFacilityOfferOrderResponses];
3476
- type RecommendedUsersData = {
3525
+ type GetNotificationsData = {
3477
3526
  body?: never;
3478
3527
  path?: never;
3479
3528
  query?: {
3529
+ filters?: NotificationsFilter;
3480
3530
  /**
3481
- * Include friends in the recommended users list
3531
+ * Get a summary of read and unread notifications (returns an empty list if true)
3482
3532
  */
3483
- include_friends?: boolean;
3533
+ summary?: boolean;
3484
3534
  /**
3485
3535
  * Number of items to skip before returning the results.
3486
3536
  */
@@ -3490,9 +3540,13 @@ type RecommendedUsersData = {
3490
3540
  */
3491
3541
  limit?: number;
3492
3542
  };
3493
- url: '/users/recommended';
3543
+ url: '/notifications';
3494
3544
  };
3495
- type RecommendedUsersErrors = {
3545
+ type GetNotificationsErrors = {
3546
+ /**
3547
+ * The request was malformed or could not be processed.
3548
+ */
3549
+ 400: PkgOpenapiSharedProblemDetails;
3496
3550
  /**
3497
3551
  * Access token is not set or invalid.
3498
3552
  */
@@ -3506,22 +3560,148 @@ type RecommendedUsersErrors = {
3506
3560
  */
3507
3561
  501: PkgOpenapiSharedProblemDetails;
3508
3562
  };
3509
- type RecommendedUsersError = RecommendedUsersErrors[keyof RecommendedUsersErrors];
3510
- type RecommendedUsersResponses = {
3563
+ type GetNotificationsError = GetNotificationsErrors[keyof GetNotificationsErrors];
3564
+ type GetNotificationsResponses = {
3511
3565
  /**
3512
3566
  * OK
3513
3567
  */
3514
- 200: UsersPaginatedResponse;
3568
+ 200: NotificationsPaginatedResponse;
3569
+ };
3570
+ type GetNotificationsResponse = GetNotificationsResponses[keyof GetNotificationsResponses];
3571
+ type UpdateAllNotificationsData = {
3572
+ body: NotificationRequestBody;
3573
+ path?: never;
3574
+ query?: {
3575
+ filters?: NotificationsFilter;
3576
+ /**
3577
+ * Number of items to skip before returning the results.
3578
+ */
3579
+ offset?: number;
3580
+ /**
3581
+ * Maximum number of items to return.
3582
+ */
3583
+ limit?: number;
3584
+ };
3585
+ url: '/notifications';
3586
+ };
3587
+ type UpdateAllNotificationsErrors = {
3588
+ /**
3589
+ * The request was malformed or could not be processed.
3590
+ */
3591
+ 400: PkgOpenapiSharedProblemDetails;
3592
+ /**
3593
+ * Access token is not set or invalid.
3594
+ */
3595
+ 401: PkgOpenapiSharedProblemDetails;
3596
+ /**
3597
+ * The server encountered an unexpected error
3598
+ */
3599
+ 500: PkgOpenapiSharedProblemDetails;
3600
+ /**
3601
+ * The requested operation is not implemented.
3602
+ */
3603
+ 501: PkgOpenapiSharedProblemDetails;
3604
+ };
3605
+ type UpdateAllNotificationsError = UpdateAllNotificationsErrors[keyof UpdateAllNotificationsErrors];
3606
+ type UpdateAllNotificationsResponses = {
3607
+ /**
3608
+ * OK
3609
+ */
3610
+ 200: NotificationsPaginatedResponse;
3611
+ };
3612
+ type UpdateAllNotificationsResponse = UpdateAllNotificationsResponses[keyof UpdateAllNotificationsResponses];
3613
+ type GetNotificationByIdData = {
3614
+ body?: never;
3615
+ path: {
3616
+ id: string;
3617
+ };
3618
+ query?: never;
3619
+ url: '/notifications/{id}';
3515
3620
  };
3516
- type RecommendedUsersResponse = RecommendedUsersResponses[keyof RecommendedUsersResponses];
3621
+ type GetNotificationByIdErrors = {
3622
+ /**
3623
+ * The request was malformed or could not be processed.
3624
+ */
3625
+ 400: PkgOpenapiSharedProblemDetails;
3626
+ /**
3627
+ * Access token is not set or invalid.
3628
+ */
3629
+ 401: PkgOpenapiSharedProblemDetails;
3630
+ /**
3631
+ * The requested resource was not found.
3632
+ */
3633
+ 404: PkgOpenapiSharedProblemDetails;
3634
+ /**
3635
+ * The server encountered an unexpected error
3636
+ */
3637
+ 500: PkgOpenapiSharedProblemDetails;
3638
+ /**
3639
+ * The requested operation is not implemented.
3640
+ */
3641
+ 501: PkgOpenapiSharedProblemDetails;
3642
+ };
3643
+ type GetNotificationByIdError = GetNotificationByIdErrors[keyof GetNotificationByIdErrors];
3644
+ type GetNotificationByIdResponses = {
3645
+ /**
3646
+ * OK
3647
+ */
3648
+ 200: Notification;
3649
+ };
3650
+ type GetNotificationByIdResponse = GetNotificationByIdResponses[keyof GetNotificationByIdResponses];
3651
+ type UpdateNotificationData = {
3652
+ body: NotificationRequestBody;
3653
+ path: {
3654
+ id: string;
3655
+ };
3656
+ query?: never;
3657
+ url: '/notifications/{id}';
3658
+ };
3659
+ type UpdateNotificationErrors = {
3660
+ /**
3661
+ * The request was malformed or could not be processed.
3662
+ */
3663
+ 400: PkgOpenapiSharedProblemDetails;
3664
+ /**
3665
+ * Access token is not set or invalid.
3666
+ */
3667
+ 401: PkgOpenapiSharedProblemDetails;
3668
+ /**
3669
+ * The requested resource was not found.
3670
+ */
3671
+ 404: PkgOpenapiSharedProblemDetails;
3672
+ /**
3673
+ * The server encountered an unexpected error
3674
+ */
3675
+ 500: PkgOpenapiSharedProblemDetails;
3676
+ /**
3677
+ * The requested operation is not implemented.
3678
+ */
3679
+ 501: PkgOpenapiSharedProblemDetails;
3680
+ };
3681
+ type UpdateNotificationError = UpdateNotificationErrors[keyof UpdateNotificationErrors];
3682
+ type UpdateNotificationResponses = {
3683
+ /**
3684
+ * OK
3685
+ */
3686
+ 200: Notification;
3687
+ };
3688
+ type UpdateNotificationResponse = UpdateNotificationResponses[keyof UpdateNotificationResponses];
3517
3689
  type SearchUsersData = {
3518
3690
  body?: never;
3519
3691
  path?: never;
3520
- query: {
3692
+ query?: {
3521
3693
  /**
3522
3694
  * The search query, must be at least 3 characters long
3523
3695
  */
3524
- name: string;
3696
+ name?: string;
3697
+ /**
3698
+ * Include friends in the recommended users list (only used if only_recommendations is true)
3699
+ */
3700
+ include_friends?: boolean;
3701
+ /**
3702
+ * Only return recommended users
3703
+ */
3704
+ only_recommendations?: boolean;
3525
3705
  /**
3526
3706
  * Number of items to skip before returning the results.
3527
3707
  */
@@ -3531,7 +3711,7 @@ type SearchUsersData = {
3531
3711
  */
3532
3712
  limit?: number;
3533
3713
  };
3534
- url: '/users/search';
3714
+ url: '/users/profiles';
3535
3715
  };
3536
3716
  type SearchUsersErrors = {
3537
3717
  /**
@@ -3542,10 +3722,6 @@ type SearchUsersErrors = {
3542
3722
  * Access token is not set or invalid.
3543
3723
  */
3544
3724
  401: PkgOpenapiSharedProblemDetails;
3545
- /**
3546
- * The requestor is not authorized to perform this operation on the resource.
3547
- */
3548
- 403: PkgOpenapiSharedProblemDetails;
3549
3725
  /**
3550
3726
  * The server encountered an unexpected error
3551
3727
  */
@@ -3569,6 +3745,21 @@ type ClientOptions = {
3569
3745
 
3570
3746
  declare const client: _hey_api_client_fetch.Client;
3571
3747
 
3748
+ declare const FacilityMessagePayloadSchema: {
3749
+ readonly properties: {
3750
+ readonly description: {
3751
+ readonly type: "string";
3752
+ };
3753
+ readonly image_url: {
3754
+ readonly type: "string";
3755
+ };
3756
+ readonly title: {
3757
+ readonly type: "string";
3758
+ };
3759
+ };
3760
+ readonly required: readonly ["title", "description"];
3761
+ readonly type: "object";
3762
+ };
3572
3763
  declare const FacilityOfferSchema: {
3573
3764
  readonly properties: {
3574
3765
  readonly data: {
@@ -3718,6 +3909,7 @@ declare const FacilityOfferListSchema: {
3718
3909
  readonly $ref: "#/components/schemas/FacilityOffer";
3719
3910
  };
3720
3911
  readonly type: "array";
3912
+ readonly 'x-deprecated-pagination-style': true;
3721
3913
  };
3722
3914
  readonly meta: {
3723
3915
  readonly $ref: "#/components/schemas/pkgOpenapiSharedCursorPaginatedResultSet";
@@ -3847,6 +4039,119 @@ declare const FacilityValueCardDataSchema: {
3847
4039
  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"];
3848
4040
  readonly type: "object";
3849
4041
  };
4042
+ declare const MetadataSchema: {
4043
+ readonly properties: {
4044
+ readonly pagination: {
4045
+ readonly $ref: "#/components/schemas/pkgOpenapiSharedOffsetPaginatedResultSet";
4046
+ };
4047
+ readonly summary: {
4048
+ readonly $ref: "#/components/schemas/NotificationsSummary";
4049
+ };
4050
+ };
4051
+ readonly required: readonly ["pagination", "summary"];
4052
+ readonly type: "object";
4053
+ };
4054
+ declare const NotificationSchema: {
4055
+ readonly properties: {
4056
+ readonly created_at: {
4057
+ readonly format: "date-time";
4058
+ readonly type: "string";
4059
+ };
4060
+ readonly id: {
4061
+ readonly format: "uuid";
4062
+ readonly type: "string";
4063
+ };
4064
+ readonly payload: {
4065
+ readonly $ref: "#/components/schemas/NotificationPayload";
4066
+ };
4067
+ readonly read_at: {
4068
+ readonly format: "date-time";
4069
+ readonly type: "string";
4070
+ };
4071
+ readonly source: {
4072
+ readonly $ref: "#/components/schemas/Source";
4073
+ };
4074
+ readonly source_id: {
4075
+ readonly type: "string";
4076
+ };
4077
+ readonly topic: {
4078
+ readonly $ref: "#/components/schemas/Topic";
4079
+ };
4080
+ };
4081
+ readonly required: readonly ["id", "topic", "source", "source_id", "created_at", "payload"];
4082
+ readonly type: "object";
4083
+ };
4084
+ declare const NotificationPayloadSchema: {
4085
+ readonly oneOf: readonly [{
4086
+ readonly $ref: "#/components/schemas/FacilityMessagePayload";
4087
+ }];
4088
+ };
4089
+ declare const NotificationRequestBodySchema: {
4090
+ readonly properties: {
4091
+ readonly read_at: {
4092
+ readonly description: "Set to a timestamp to mark as read, null to mark as unread";
4093
+ readonly format: "date-time";
4094
+ readonly nullable: true;
4095
+ readonly type: "string";
4096
+ };
4097
+ };
4098
+ readonly type: "object";
4099
+ };
4100
+ declare const NotificationsFilterSchema: {
4101
+ readonly properties: {
4102
+ readonly source: {
4103
+ readonly $ref: "#/components/schemas/Source";
4104
+ };
4105
+ readonly source_id: {
4106
+ readonly type: "string";
4107
+ };
4108
+ readonly topic: {
4109
+ readonly $ref: "#/components/schemas/Topic";
4110
+ };
4111
+ };
4112
+ readonly type: "object";
4113
+ };
4114
+ declare const NotificationsPaginatedResponseSchema: {
4115
+ readonly properties: {
4116
+ readonly items: {
4117
+ readonly items: {
4118
+ readonly $ref: "#/components/schemas/Notification";
4119
+ };
4120
+ readonly type: "array";
4121
+ };
4122
+ readonly meta: {
4123
+ readonly $ref: "#/components/schemas/Metadata";
4124
+ };
4125
+ };
4126
+ readonly required: readonly ["items", "meta"];
4127
+ readonly type: "object";
4128
+ };
4129
+ declare const NotificationsSummarySchema: {
4130
+ readonly properties: {
4131
+ readonly count: {
4132
+ readonly type: "integer";
4133
+ };
4134
+ readonly global_count: {
4135
+ readonly type: "integer";
4136
+ };
4137
+ readonly global_unread_count: {
4138
+ readonly type: "integer";
4139
+ };
4140
+ readonly unread_count: {
4141
+ readonly type: "integer";
4142
+ };
4143
+ };
4144
+ readonly required: readonly ["count", "unread_count", "global_count", "global_unread_count"];
4145
+ readonly type: "object";
4146
+ };
4147
+ declare const SourceSchema: {
4148
+ readonly enum: readonly ["FACILITY"];
4149
+ readonly type: "string";
4150
+ };
4151
+ declare const TopicSchema: {
4152
+ readonly enum: readonly ["FACILITY_MESSAGE"];
4153
+ readonly type: "string";
4154
+ };
3850
4155
  declare const UserSchema: {
3851
4156
  readonly properties: {
3852
4157
  readonly first_name: {
@@ -3979,6 +4284,7 @@ declare const pkgOpenapiSharedProblemDetailsSchema: {
3979
4284
  readonly type: "object";
3980
4285
  };
3981
4286
 
4287
+ declare const schemas_gen_FacilityMessagePayloadSchema: typeof FacilityMessagePayloadSchema;
3982
4288
  declare const schemas_gen_FacilityOfferConditionActivitiesSchema: typeof FacilityOfferConditionActivitiesSchema;
3983
4289
  declare const schemas_gen_FacilityOfferConditionCourtsSchema: typeof FacilityOfferConditionCourtsSchema;
3984
4290
  declare const schemas_gen_FacilityOfferConditionDateSchema: typeof FacilityOfferConditionDateSchema;
@@ -3991,6 +4297,15 @@ declare const schemas_gen_FacilityOfferOrderSchema: typeof FacilityOfferOrderSch
3991
4297
  declare const schemas_gen_FacilityOfferSchema: typeof FacilityOfferSchema;
3992
4298
  declare const schemas_gen_FacilityPunchCardDataSchema: typeof FacilityPunchCardDataSchema;
3993
4299
  declare const schemas_gen_FacilityValueCardDataSchema: typeof FacilityValueCardDataSchema;
4300
+ declare const schemas_gen_MetadataSchema: typeof MetadataSchema;
4301
+ declare const schemas_gen_NotificationPayloadSchema: typeof NotificationPayloadSchema;
4302
+ declare const schemas_gen_NotificationRequestBodySchema: typeof NotificationRequestBodySchema;
4303
+ declare const schemas_gen_NotificationSchema: typeof NotificationSchema;
4304
+ declare const schemas_gen_NotificationsFilterSchema: typeof NotificationsFilterSchema;
4305
+ declare const schemas_gen_NotificationsPaginatedResponseSchema: typeof NotificationsPaginatedResponseSchema;
4306
+ declare const schemas_gen_NotificationsSummarySchema: typeof NotificationsSummarySchema;
4307
+ declare const schemas_gen_SourceSchema: typeof SourceSchema;
4308
+ declare const schemas_gen_TopicSchema: typeof TopicSchema;
3994
4309
  declare const schemas_gen_UserRelationSchema: typeof UserRelationSchema;
3995
4310
  declare const schemas_gen_UserSchema: typeof UserSchema;
3996
4311
  declare const schemas_gen_UsersPaginatedResponseSchema: typeof UsersPaginatedResponseSchema;
@@ -4000,7 +4315,7 @@ declare const schemas_gen_pkgOpenapiSharedErrorsSchema: typeof pkgOpenapiSharedE
4000
4315
  declare const schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema: typeof pkgOpenapiSharedOffsetPaginatedResultSetSchema;
4001
4316
  declare const schemas_gen_pkgOpenapiSharedProblemDetailsSchema: typeof pkgOpenapiSharedProblemDetailsSchema;
4002
4317
  declare namespace schemas_gen {
4003
- export { 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_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 };
4318
+ 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 };
4004
4319
  }
4005
4320
 
4006
4321
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
@@ -4027,15 +4342,30 @@ declare const listFacilityOffers: <ThrowOnError extends boolean = false>(options
4027
4342
  */
4028
4343
  declare const createFacilityOfferOrder: <ThrowOnError extends boolean = false>(options: Options<CreateFacilityOfferOrderData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<FacilityOfferOrder, PkgOpenapiSharedProblemDetails, ThrowOnError>;
4029
4344
  /**
4030
- * Get user recommendations
4031
- * Get a list of recommended users based on the current user's interests
4345
+ * Get all notifications
4346
+ * Get all notifications
4347
+ */
4348
+ declare const getNotifications: <ThrowOnError extends boolean = false>(options?: Options<GetNotificationsData, ThrowOnError> | undefined) => _hey_api_client_fetch.RequestResult<NotificationsPaginatedResponse, PkgOpenapiSharedProblemDetails, ThrowOnError>;
4349
+ /**
4350
+ * Update all notifications
4351
+ * Update all notifications
4032
4352
  */
4033
- declare const recommendedUsers: <ThrowOnError extends boolean = false>(options?: Options<RecommendedUsersData, ThrowOnError> | undefined) => _hey_api_client_fetch.RequestResult<UsersPaginatedResponse, PkgOpenapiSharedProblemDetails, ThrowOnError>;
4353
+ declare const updateAllNotifications: <ThrowOnError extends boolean = false>(options: Options<UpdateAllNotificationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<NotificationsPaginatedResponse, PkgOpenapiSharedProblemDetails, ThrowOnError>;
4354
+ /**
4355
+ * Get a notification by id
4356
+ * Get a notification by id
4357
+ */
4358
+ declare const getNotificationById: <ThrowOnError extends boolean = false>(options: Options<GetNotificationByIdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Notification, PkgOpenapiSharedProblemDetails, ThrowOnError>;
4359
+ /**
4360
+ * Update notification
4361
+ * Update notification
4362
+ */
4363
+ declare const updateNotification: <ThrowOnError extends boolean = false>(options: Options<UpdateNotificationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Notification, PkgOpenapiSharedProblemDetails, ThrowOnError>;
4034
4364
  /**
4035
4365
  * Search for users by name
4036
4366
  * Get a list of users based on the current user's search query
4037
4367
  */
4038
- declare const searchUsers: <ThrowOnError extends boolean = false>(options: Options<SearchUsersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UsersPaginatedResponse, PkgOpenapiSharedProblemDetails, ThrowOnError>;
4368
+ declare const searchUsers: <ThrowOnError extends boolean = false>(options?: Options<SearchUsersData, ThrowOnError> | undefined) => _hey_api_client_fetch.RequestResult<UsersPaginatedResponse, PkgOpenapiSharedProblemDetails, ThrowOnError>;
4039
4369
 
4040
4370
  type QueryKey<TOptions extends Options> = [
4041
4371
  Pick<TOptions, 'baseUrl' | 'body' | 'headers' | 'path' | 'query'> & {
@@ -4104,50 +4434,73 @@ declare const createFacilityOfferOrderOptions: (options: Options<CreateFacilityO
4104
4434
  };
4105
4435
  };
4106
4436
  declare const createFacilityOfferOrderMutation: (options?: Partial<Options<CreateFacilityOfferOrderData>>) => UseMutationOptions<FacilityOfferOrder, PkgOpenapiSharedProblemDetails, Options<CreateFacilityOfferOrderData>, unknown>;
4107
- declare const recommendedUsersQueryKey: (options?: Options<RecommendedUsersData>) => [Pick<Options<RecommendedUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4437
+ declare const getNotificationsQueryKey: (options?: Options<GetNotificationsData>) => [Pick<Options<GetNotificationsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4108
4438
  _id: string;
4109
4439
  _infinite?: boolean | undefined;
4110
4440
  }];
4111
- declare const recommendedUsersOptions: (options?: Options<RecommendedUsersData>) => _tanstack_query_core_build_legacy_hydration_ClXcjjG9.O<_tanstack_react_query_build_legacy_types.UseQueryOptions<UsersPaginatedResponse, Error, UsersPaginatedResponse, [Pick<Options<RecommendedUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4441
+ declare const getNotificationsOptions: (options?: Options<GetNotificationsData>) => _tanstack_query_core_build_legacy_hydration_ClXcjjG9.O<_tanstack_react_query_build_legacy_types.UseQueryOptions<NotificationsPaginatedResponse, Error, NotificationsPaginatedResponse, [Pick<Options<GetNotificationsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4112
4442
  _id: string;
4113
4443
  _infinite?: boolean | undefined;
4114
4444
  }]>, "queryFn"> & {
4115
- queryFn?: _tanstack_query_core_build_legacy_hydration_ClXcjjG9.K<UsersPaginatedResponse, [Pick<Options<RecommendedUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4445
+ queryFn?: _tanstack_query_core_build_legacy_hydration_ClXcjjG9.K<NotificationsPaginatedResponse, [Pick<Options<GetNotificationsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4116
4446
  _id: string;
4117
4447
  _infinite?: boolean | undefined;
4118
4448
  }], never> | undefined;
4119
4449
  } & {
4120
- queryKey: [Pick<Options<RecommendedUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4450
+ queryKey: [Pick<Options<GetNotificationsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4121
4451
  _id: string;
4122
4452
  _infinite?: boolean | undefined;
4123
4453
  }] & {
4124
- [dataTagSymbol]: UsersPaginatedResponse;
4454
+ [dataTagSymbol]: NotificationsPaginatedResponse;
4125
4455
  [dataTagErrorSymbol]: Error;
4126
4456
  };
4127
4457
  };
4128
- declare const recommendedUsersInfiniteQueryKey: (options?: Options<RecommendedUsersData>) => QueryKey<Options<RecommendedUsersData>>;
4129
- declare const recommendedUsersInfiniteOptions: (options?: Options<RecommendedUsersData>) => _tanstack_react_query_build_legacy_types.UseInfiniteQueryOptions<UsersPaginatedResponse, PkgOpenapiSharedProblemDetails, InfiniteData<UsersPaginatedResponse, unknown>, UsersPaginatedResponse, QueryKey<Options<RecommendedUsersData>>, number | Pick<Pick<Options<RecommendedUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4458
+ declare const getNotificationsInfiniteQueryKey: (options?: Options<GetNotificationsData>) => QueryKey<Options<GetNotificationsData>>;
4459
+ declare const getNotificationsInfiniteOptions: (options?: Options<GetNotificationsData>) => _tanstack_react_query_build_legacy_types.UseInfiniteQueryOptions<NotificationsPaginatedResponse, PkgOpenapiSharedProblemDetails, InfiniteData<NotificationsPaginatedResponse, unknown>, NotificationsPaginatedResponse, QueryKey<Options<GetNotificationsData>>, number | Pick<Pick<Options<GetNotificationsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4130
4460
  _id: string;
4131
4461
  _infinite?: boolean | undefined;
4132
4462
  }, "body" | "headers" | "path" | "query">> & {
4133
- initialData: InfiniteData<UsersPaginatedResponse, number | Pick<Pick<Options<RecommendedUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4463
+ initialData: InfiniteData<NotificationsPaginatedResponse, number | Pick<Pick<Options<GetNotificationsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4134
4464
  _id: string;
4135
4465
  _infinite?: boolean | undefined;
4136
- }, "body" | "headers" | "path" | "query">> | (() => InfiniteData<UsersPaginatedResponse, number | Pick<Pick<Options<RecommendedUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4466
+ }, "body" | "headers" | "path" | "query">> | (() => InfiniteData<NotificationsPaginatedResponse, number | Pick<Pick<Options<GetNotificationsData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4137
4467
  _id: string;
4138
4468
  _infinite?: boolean | undefined;
4139
4469
  }, "body" | "headers" | "path" | "query">>) | undefined;
4140
4470
  } & {
4141
- queryKey: QueryKey<Options<RecommendedUsersData>> & {
4142
- [dataTagSymbol]: InfiniteData<UsersPaginatedResponse, unknown>;
4471
+ queryKey: QueryKey<Options<GetNotificationsData>> & {
4472
+ [dataTagSymbol]: InfiniteData<NotificationsPaginatedResponse, unknown>;
4143
4473
  [dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
4144
4474
  };
4145
4475
  };
4146
- declare const searchUsersQueryKey: (options: Options<SearchUsersData>) => [Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4476
+ declare const updateAllNotificationsMutation: (options?: Partial<Options<UpdateAllNotificationsData>>) => UseMutationOptions<NotificationsPaginatedResponse, PkgOpenapiSharedProblemDetails, Options<UpdateAllNotificationsData>, unknown>;
4477
+ declare const getNotificationByIdQueryKey: (options: Options<GetNotificationByIdData>) => [Pick<Options<GetNotificationByIdData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4478
+ _id: string;
4479
+ _infinite?: boolean | undefined;
4480
+ }];
4481
+ declare const getNotificationByIdOptions: (options: Options<GetNotificationByIdData>) => _tanstack_query_core_build_legacy_hydration_ClXcjjG9.O<_tanstack_react_query_build_legacy_types.UseQueryOptions<Notification, Error, Notification, [Pick<Options<GetNotificationByIdData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4482
+ _id: string;
4483
+ _infinite?: boolean | undefined;
4484
+ }]>, "queryFn"> & {
4485
+ queryFn?: _tanstack_query_core_build_legacy_hydration_ClXcjjG9.K<Notification, [Pick<Options<GetNotificationByIdData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4486
+ _id: string;
4487
+ _infinite?: boolean | undefined;
4488
+ }], never> | undefined;
4489
+ } & {
4490
+ queryKey: [Pick<Options<GetNotificationByIdData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4491
+ _id: string;
4492
+ _infinite?: boolean | undefined;
4493
+ }] & {
4494
+ [dataTagSymbol]: Notification;
4495
+ [dataTagErrorSymbol]: Error;
4496
+ };
4497
+ };
4498
+ declare const updateNotificationMutation: (options?: Partial<Options<UpdateNotificationData>>) => UseMutationOptions<Notification, PkgOpenapiSharedProblemDetails, Options<UpdateNotificationData>, unknown>;
4499
+ declare const searchUsersQueryKey: (options?: Options<SearchUsersData>) => [Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4147
4500
  _id: string;
4148
4501
  _infinite?: boolean | undefined;
4149
4502
  }];
4150
- declare const searchUsersOptions: (options: Options<SearchUsersData>) => _tanstack_query_core_build_legacy_hydration_ClXcjjG9.O<_tanstack_react_query_build_legacy_types.UseQueryOptions<UsersPaginatedResponse, Error, UsersPaginatedResponse, [Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4503
+ declare const searchUsersOptions: (options?: Options<SearchUsersData>) => _tanstack_query_core_build_legacy_hydration_ClXcjjG9.O<_tanstack_react_query_build_legacy_types.UseQueryOptions<UsersPaginatedResponse, Error, UsersPaginatedResponse, [Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4151
4504
  _id: string;
4152
4505
  _infinite?: boolean | undefined;
4153
4506
  }]>, "queryFn"> & {
@@ -4164,8 +4517,8 @@ declare const searchUsersOptions: (options: Options<SearchUsersData>) => _tansta
4164
4517
  [dataTagErrorSymbol]: Error;
4165
4518
  };
4166
4519
  };
4167
- declare const searchUsersInfiniteQueryKey: (options: Options<SearchUsersData>) => QueryKey<Options<SearchUsersData>>;
4168
- declare const searchUsersInfiniteOptions: (options: Options<SearchUsersData>) => _tanstack_react_query_build_legacy_types.UseInfiniteQueryOptions<UsersPaginatedResponse, PkgOpenapiSharedProblemDetails, InfiniteData<UsersPaginatedResponse, unknown>, UsersPaginatedResponse, QueryKey<Options<SearchUsersData>>, number | Pick<Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4520
+ declare const searchUsersInfiniteQueryKey: (options?: Options<SearchUsersData>) => QueryKey<Options<SearchUsersData>>;
4521
+ declare const searchUsersInfiniteOptions: (options?: Options<SearchUsersData>) => _tanstack_react_query_build_legacy_types.UseInfiniteQueryOptions<UsersPaginatedResponse, PkgOpenapiSharedProblemDetails, InfiniteData<UsersPaginatedResponse, unknown>, UsersPaginatedResponse, QueryKey<Options<SearchUsersData>>, number | Pick<Pick<Options<SearchUsersData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
4169
4522
  _id: string;
4170
4523
  _infinite?: boolean | undefined;
4171
4524
  }, "body" | "headers" | "path" | "query">> & {
@@ -4187,20 +4540,24 @@ type reactQuery_gen_QueryKey<TOptions extends Options> = QueryKey<TOptions>;
4187
4540
  declare const reactQuery_gen_createFacilityOfferOrderMutation: typeof createFacilityOfferOrderMutation;
4188
4541
  declare const reactQuery_gen_createFacilityOfferOrderOptions: typeof createFacilityOfferOrderOptions;
4189
4542
  declare const reactQuery_gen_createFacilityOfferOrderQueryKey: typeof createFacilityOfferOrderQueryKey;
4543
+ declare const reactQuery_gen_getNotificationByIdOptions: typeof getNotificationByIdOptions;
4544
+ declare const reactQuery_gen_getNotificationByIdQueryKey: typeof getNotificationByIdQueryKey;
4545
+ declare const reactQuery_gen_getNotificationsInfiniteOptions: typeof getNotificationsInfiniteOptions;
4546
+ declare const reactQuery_gen_getNotificationsInfiniteQueryKey: typeof getNotificationsInfiniteQueryKey;
4547
+ declare const reactQuery_gen_getNotificationsOptions: typeof getNotificationsOptions;
4548
+ declare const reactQuery_gen_getNotificationsQueryKey: typeof getNotificationsQueryKey;
4190
4549
  declare const reactQuery_gen_listFacilityOffersInfiniteOptions: typeof listFacilityOffersInfiniteOptions;
4191
4550
  declare const reactQuery_gen_listFacilityOffersInfiniteQueryKey: typeof listFacilityOffersInfiniteQueryKey;
4192
4551
  declare const reactQuery_gen_listFacilityOffersOptions: typeof listFacilityOffersOptions;
4193
4552
  declare const reactQuery_gen_listFacilityOffersQueryKey: typeof listFacilityOffersQueryKey;
4194
- declare const reactQuery_gen_recommendedUsersInfiniteOptions: typeof recommendedUsersInfiniteOptions;
4195
- declare const reactQuery_gen_recommendedUsersInfiniteQueryKey: typeof recommendedUsersInfiniteQueryKey;
4196
- declare const reactQuery_gen_recommendedUsersOptions: typeof recommendedUsersOptions;
4197
- declare const reactQuery_gen_recommendedUsersQueryKey: typeof recommendedUsersQueryKey;
4198
4553
  declare const reactQuery_gen_searchUsersInfiniteOptions: typeof searchUsersInfiniteOptions;
4199
4554
  declare const reactQuery_gen_searchUsersInfiniteQueryKey: typeof searchUsersInfiniteQueryKey;
4200
4555
  declare const reactQuery_gen_searchUsersOptions: typeof searchUsersOptions;
4201
4556
  declare const reactQuery_gen_searchUsersQueryKey: typeof searchUsersQueryKey;
4557
+ declare const reactQuery_gen_updateAllNotificationsMutation: typeof updateAllNotificationsMutation;
4558
+ declare const reactQuery_gen_updateNotificationMutation: typeof updateNotificationMutation;
4202
4559
  declare namespace reactQuery_gen {
4203
- export { type reactQuery_gen_QueryKey as QueryKey, reactQuery_gen_createFacilityOfferOrderMutation as createFacilityOfferOrderMutation, reactQuery_gen_createFacilityOfferOrderOptions as createFacilityOfferOrderOptions, reactQuery_gen_createFacilityOfferOrderQueryKey as createFacilityOfferOrderQueryKey, reactQuery_gen_listFacilityOffersInfiniteOptions as listFacilityOffersInfiniteOptions, reactQuery_gen_listFacilityOffersInfiniteQueryKey as listFacilityOffersInfiniteQueryKey, reactQuery_gen_listFacilityOffersOptions as listFacilityOffersOptions, reactQuery_gen_listFacilityOffersQueryKey as listFacilityOffersQueryKey, reactQuery_gen_recommendedUsersInfiniteOptions as recommendedUsersInfiniteOptions, reactQuery_gen_recommendedUsersInfiniteQueryKey as recommendedUsersInfiniteQueryKey, reactQuery_gen_recommendedUsersOptions as recommendedUsersOptions, reactQuery_gen_recommendedUsersQueryKey as recommendedUsersQueryKey, reactQuery_gen_searchUsersInfiniteOptions as searchUsersInfiniteOptions, reactQuery_gen_searchUsersInfiniteQueryKey as searchUsersInfiniteQueryKey, reactQuery_gen_searchUsersOptions as searchUsersOptions, reactQuery_gen_searchUsersQueryKey as searchUsersQueryKey };
4560
+ 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 };
4204
4561
  }
4205
4562
 
4206
4563
  type indexV1_ClientOptions = ClientOptions;
@@ -4210,6 +4567,7 @@ type indexV1_CreateFacilityOfferOrderErrors = CreateFacilityOfferOrderErrors;
4210
4567
  type indexV1_CreateFacilityOfferOrderResponse = CreateFacilityOfferOrderResponse;
4211
4568
  type indexV1_CreateFacilityOfferOrderResponses = CreateFacilityOfferOrderResponses;
4212
4569
  type indexV1_FacilityIdPath = FacilityIdPath;
4570
+ type indexV1_FacilityMessagePayload = FacilityMessagePayload;
4213
4571
  type indexV1_FacilityOffer = FacilityOffer;
4214
4572
  type indexV1_FacilityOfferCondition = FacilityOfferCondition;
4215
4573
  type indexV1_FacilityOfferConditionActivities = FacilityOfferConditionActivities;
@@ -4222,11 +4580,29 @@ type indexV1_FacilityOfferList = FacilityOfferList;
4222
4580
  type indexV1_FacilityOfferOrder = FacilityOfferOrder;
4223
4581
  type indexV1_FacilityPunchCardData = FacilityPunchCardData;
4224
4582
  type indexV1_FacilityValueCardData = FacilityValueCardData;
4583
+ type indexV1_GetNotificationByIdData = GetNotificationByIdData;
4584
+ type indexV1_GetNotificationByIdError = GetNotificationByIdError;
4585
+ type indexV1_GetNotificationByIdErrors = GetNotificationByIdErrors;
4586
+ type indexV1_GetNotificationByIdResponse = GetNotificationByIdResponse;
4587
+ type indexV1_GetNotificationByIdResponses = GetNotificationByIdResponses;
4588
+ type indexV1_GetNotificationsData = GetNotificationsData;
4589
+ type indexV1_GetNotificationsError = GetNotificationsError;
4590
+ type indexV1_GetNotificationsErrors = GetNotificationsErrors;
4591
+ type indexV1_GetNotificationsResponse = GetNotificationsResponse;
4592
+ type indexV1_GetNotificationsResponses = GetNotificationsResponses;
4225
4593
  type indexV1_ListFacilityOffersData = ListFacilityOffersData;
4226
4594
  type indexV1_ListFacilityOffersError = ListFacilityOffersError;
4227
4595
  type indexV1_ListFacilityOffersErrors = ListFacilityOffersErrors;
4228
4596
  type indexV1_ListFacilityOffersResponse = ListFacilityOffersResponse;
4229
4597
  type indexV1_ListFacilityOffersResponses = ListFacilityOffersResponses;
4598
+ type indexV1_Metadata = Metadata;
4599
+ type indexV1_Notification = Notification;
4600
+ type indexV1_NotificationPayload = NotificationPayload;
4601
+ type indexV1_NotificationRequestBody = NotificationRequestBody;
4602
+ type indexV1_NotificationsFilter = NotificationsFilter;
4603
+ type indexV1_NotificationsFilterParam = NotificationsFilterParam;
4604
+ type indexV1_NotificationsPaginatedResponse = NotificationsPaginatedResponse;
4605
+ type indexV1_NotificationsSummary = NotificationsSummary;
4230
4606
  type indexV1_OfferIdPath = OfferIdPath;
4231
4607
  type indexV1_Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options<TData, ThrowOnError>;
4232
4608
  type indexV1_PkgOpenapiSharedCursorLimitParam = PkgOpenapiSharedCursorLimitParam;
@@ -4238,26 +4614,36 @@ type indexV1_PkgOpenapiSharedOffsetLimitParam = PkgOpenapiSharedOffsetLimitParam
4238
4614
  type indexV1_PkgOpenapiSharedOffsetPaginatedResultSet = PkgOpenapiSharedOffsetPaginatedResultSet;
4239
4615
  type indexV1_PkgOpenapiSharedOffsetParam = PkgOpenapiSharedOffsetParam;
4240
4616
  type indexV1_PkgOpenapiSharedProblemDetails = PkgOpenapiSharedProblemDetails;
4241
- type indexV1_RecommendedUsersData = RecommendedUsersData;
4242
- type indexV1_RecommendedUsersError = RecommendedUsersError;
4243
- type indexV1_RecommendedUsersErrors = RecommendedUsersErrors;
4244
- type indexV1_RecommendedUsersResponse = RecommendedUsersResponse;
4245
- type indexV1_RecommendedUsersResponses = RecommendedUsersResponses;
4246
4617
  type indexV1_SearchUsersData = SearchUsersData;
4247
4618
  type indexV1_SearchUsersError = SearchUsersError;
4248
4619
  type indexV1_SearchUsersErrors = SearchUsersErrors;
4249
4620
  type indexV1_SearchUsersResponse = SearchUsersResponse;
4250
4621
  type indexV1_SearchUsersResponses = SearchUsersResponses;
4622
+ declare const indexV1_Source: typeof Source;
4623
+ declare const indexV1_Topic: typeof Topic;
4624
+ type indexV1_UpdateAllNotificationsData = UpdateAllNotificationsData;
4625
+ type indexV1_UpdateAllNotificationsError = UpdateAllNotificationsError;
4626
+ type indexV1_UpdateAllNotificationsErrors = UpdateAllNotificationsErrors;
4627
+ type indexV1_UpdateAllNotificationsResponse = UpdateAllNotificationsResponse;
4628
+ type indexV1_UpdateAllNotificationsResponses = UpdateAllNotificationsResponses;
4629
+ type indexV1_UpdateNotificationData = UpdateNotificationData;
4630
+ type indexV1_UpdateNotificationError = UpdateNotificationError;
4631
+ type indexV1_UpdateNotificationErrors = UpdateNotificationErrors;
4632
+ type indexV1_UpdateNotificationResponse = UpdateNotificationResponse;
4633
+ type indexV1_UpdateNotificationResponses = UpdateNotificationResponses;
4251
4634
  type indexV1_User = User;
4252
4635
  declare const indexV1_UserRelation: typeof UserRelation;
4253
4636
  type indexV1_UsersPaginatedResponse = UsersPaginatedResponse;
4254
4637
  declare const indexV1_client: typeof client;
4255
4638
  declare const indexV1_createFacilityOfferOrder: typeof createFacilityOfferOrder;
4639
+ declare const indexV1_getNotificationById: typeof getNotificationById;
4640
+ declare const indexV1_getNotifications: typeof getNotifications;
4256
4641
  declare const indexV1_listFacilityOffers: typeof listFacilityOffers;
4257
- declare const indexV1_recommendedUsers: typeof recommendedUsers;
4258
4642
  declare const indexV1_searchUsers: typeof searchUsers;
4643
+ declare const indexV1_updateAllNotifications: typeof updateAllNotifications;
4644
+ declare const indexV1_updateNotification: typeof updateNotification;
4259
4645
  declare namespace indexV1 {
4260
- 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_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_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_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_RecommendedUsersData as RecommendedUsersData, type indexV1_RecommendedUsersError as RecommendedUsersError, type indexV1_RecommendedUsersErrors as RecommendedUsersErrors, type indexV1_RecommendedUsersResponse as RecommendedUsersResponse, type indexV1_RecommendedUsersResponses as RecommendedUsersResponses, 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_User as User, indexV1_UserRelation as UserRelation, type indexV1_UsersPaginatedResponse as UsersPaginatedResponse, indexV1_client as client, indexV1_createFacilityOfferOrder as createFacilityOfferOrder, indexV1_listFacilityOffers as listFacilityOffers, reactQuery_gen as queries, indexV1_recommendedUsers as recommendedUsers, schemas_gen as schemas, indexV1_searchUsers as searchUsers };
4646
+ 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 };
4261
4647
  }
4262
4648
 
4263
4649
  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 };