@matchi/api 0.20251209.1 → 0.20260121.6

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.
@@ -3286,6 +3286,13 @@ type FacilityValueCardData = {
3286
3286
  price: string;
3287
3287
  user_has_active_membership: boolean;
3288
3288
  };
3289
+ type Gender = 'MALE' | 'FEMALE' | 'OTHER' | 'PREFER_NOT_TO_SAY';
3290
+ declare const Gender: {
3291
+ readonly MALE: "MALE";
3292
+ readonly FEMALE: "FEMALE";
3293
+ readonly OTHER: "OTHER";
3294
+ readonly PREFER_NOT_TO_SAY: "PREFER_NOT_TO_SAY";
3295
+ };
3289
3296
  type Metadata = {
3290
3297
  pagination?: PkgOpenapiSharedCursorPaginatedResultSet;
3291
3298
  summary: NotificationsSummary;
@@ -3342,6 +3349,20 @@ type UpdatePreferencesRequestBody = {
3342
3349
  inapp?: boolean;
3343
3350
  push?: boolean;
3344
3351
  };
3352
+ type UpdateUserProfileRequest = {
3353
+ address?: string;
3354
+ birthday?: string;
3355
+ city?: string;
3356
+ country?: string;
3357
+ email?: string;
3358
+ firstname?: string;
3359
+ gender?: Gender;
3360
+ language?: string;
3361
+ lastname?: string;
3362
+ private_profile?: boolean;
3363
+ telephone?: string;
3364
+ zipcode?: string;
3365
+ };
3345
3366
  type User = {
3346
3367
  first_name: string;
3347
3368
  last_name: string;
@@ -3349,6 +3370,23 @@ type User = {
3349
3370
  relation_status: UserRelation;
3350
3371
  user_id: string;
3351
3372
  };
3373
+ type UserProfile = {
3374
+ address?: string;
3375
+ birthday?: string;
3376
+ city?: string;
3377
+ country?: string;
3378
+ email: string;
3379
+ firstname: string;
3380
+ gender?: Gender;
3381
+ keycloak_id: string;
3382
+ language: string;
3383
+ lastname?: string;
3384
+ membership_facilities?: Array<number>;
3385
+ private_profile?: boolean | null;
3386
+ profile_image_url?: string;
3387
+ telephone?: string;
3388
+ zipcode?: string;
3389
+ };
3352
3390
  /**
3353
3391
  * Returns :
3354
3392
  * * `FRIENDS` - The user is a friend.
@@ -3821,6 +3859,49 @@ type SearchUsersResponses = {
3821
3859
  200: UsersPaginatedResponse;
3822
3860
  };
3823
3861
  type SearchUsersResponse = SearchUsersResponses[keyof SearchUsersResponses];
3862
+ type UpdateUserProfileData = {
3863
+ /**
3864
+ * The profile fields to update
3865
+ */
3866
+ body: UpdateUserProfileRequest;
3867
+ path?: never;
3868
+ query?: never;
3869
+ url: '/users/profiles';
3870
+ };
3871
+ type UpdateUserProfileErrors = {
3872
+ /**
3873
+ * The request was malformed or could not be processed.
3874
+ */
3875
+ 400: PkgOpenapiSharedProblemDetails;
3876
+ /**
3877
+ * Access token is not set or invalid.
3878
+ */
3879
+ 401: PkgOpenapiSharedProblemDetails;
3880
+ /**
3881
+ * The requestor is not authorized to perform this operation on the resource.
3882
+ */
3883
+ 403: PkgOpenapiSharedProblemDetails;
3884
+ /**
3885
+ * The server encountered an unexpected error
3886
+ */
3887
+ 500: PkgOpenapiSharedProblemDetails;
3888
+ /**
3889
+ * The requested operation is not implemented.
3890
+ */
3891
+ 501: PkgOpenapiSharedProblemDetails;
3892
+ /**
3893
+ * The service requested is unavailable
3894
+ */
3895
+ 503: PkgOpenapiSharedProblemDetails;
3896
+ };
3897
+ type UpdateUserProfileError = UpdateUserProfileErrors[keyof UpdateUserProfileErrors];
3898
+ type UpdateUserProfileResponses = {
3899
+ /**
3900
+ * Profile updated successfully
3901
+ */
3902
+ 200: UserProfile;
3903
+ };
3904
+ type UpdateUserProfileResponse = UpdateUserProfileResponses[keyof UpdateUserProfileResponses];
3824
3905
  type ClientOptions = {
3825
3906
  baseUrl: 'https://api.matchi.com/v1' | (string & {});
3826
3907
  };
@@ -4133,6 +4214,10 @@ declare const FacilityValueCardDataSchema: {
4133
4214
  readonly required: readonly ["offer_id", "facility_id", "name", "description", "price", "nr_of_days_valid", "amount", "members_only", "user_has_active_membership", "facility_receive_membership_requests", "expire_date", "conditions"];
4134
4215
  readonly type: "object";
4135
4216
  };
4217
+ declare const GenderSchema: {
4218
+ readonly enum: readonly ["MALE", "FEMALE", "OTHER", "PREFER_NOT_TO_SAY"];
4219
+ readonly type: "string";
4220
+ };
4136
4221
  declare const MetadataSchema: {
4137
4222
  readonly properties: {
4138
4223
  readonly pagination: {
@@ -4285,6 +4370,64 @@ declare const UpdatePreferencesRequestBodySchema: {
4285
4370
  };
4286
4371
  readonly type: "object";
4287
4372
  };
4373
+ declare const UpdateUserProfileRequestSchema: {
4374
+ readonly properties: {
4375
+ readonly address: {
4376
+ readonly maxLength: 255;
4377
+ readonly type: "string";
4378
+ };
4379
+ readonly birthday: {
4380
+ readonly example: "1990-01-15";
4381
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
4382
+ readonly type: "string";
4383
+ };
4384
+ readonly city: {
4385
+ readonly maxLength: 100;
4386
+ readonly type: "string";
4387
+ };
4388
+ readonly country: {
4389
+ readonly maxLength: 2;
4390
+ readonly minLength: 2;
4391
+ readonly type: "string";
4392
+ };
4393
+ readonly email: {
4394
+ readonly format: "email";
4395
+ readonly maxLength: 255;
4396
+ readonly type: "string";
4397
+ };
4398
+ readonly firstname: {
4399
+ readonly maxLength: 100;
4400
+ readonly type: "string";
4401
+ };
4402
+ readonly gender: {
4403
+ readonly $ref: "#/components/schemas/Gender";
4404
+ };
4405
+ readonly language: {
4406
+ readonly example: "en";
4407
+ readonly maxLength: 2;
4408
+ readonly minLength: 2;
4409
+ readonly pattern: "^[a-z]{2}$";
4410
+ readonly type: "string";
4411
+ };
4412
+ readonly lastname: {
4413
+ readonly maxLength: 100;
4414
+ readonly type: "string";
4415
+ };
4416
+ readonly private_profile: {
4417
+ readonly type: "boolean";
4418
+ };
4419
+ readonly telephone: {
4420
+ readonly example: "+46701234567";
4421
+ readonly pattern: "^\\+?[1-9]\\d{1,14}$";
4422
+ readonly type: "string";
4423
+ };
4424
+ readonly zipcode: {
4425
+ readonly maxLength: 10;
4426
+ readonly type: "string";
4427
+ };
4428
+ };
4429
+ readonly type: "object";
4430
+ };
4288
4431
  declare const UserSchema: {
4289
4432
  readonly properties: {
4290
4433
  readonly first_name: {
@@ -4307,6 +4450,62 @@ declare const UserSchema: {
4307
4450
  readonly required: readonly ["user_id", "first_name", "last_name", "relation_status"];
4308
4451
  readonly type: "object";
4309
4452
  };
4453
+ declare const UserProfileSchema: {
4454
+ readonly properties: {
4455
+ readonly address: {
4456
+ readonly type: "string";
4457
+ };
4458
+ readonly birthday: {
4459
+ readonly type: "string";
4460
+ };
4461
+ readonly city: {
4462
+ readonly type: "string";
4463
+ };
4464
+ readonly country: {
4465
+ readonly type: "string";
4466
+ };
4467
+ readonly email: {
4468
+ readonly type: "string";
4469
+ };
4470
+ readonly firstname: {
4471
+ readonly type: "string";
4472
+ };
4473
+ readonly gender: {
4474
+ readonly $ref: "#/components/schemas/Gender";
4475
+ };
4476
+ readonly keycloak_id: {
4477
+ readonly format: "uuid";
4478
+ readonly type: "string";
4479
+ };
4480
+ readonly language: {
4481
+ readonly type: "string";
4482
+ };
4483
+ readonly lastname: {
4484
+ readonly type: "string";
4485
+ };
4486
+ readonly membership_facilities: {
4487
+ readonly items: {
4488
+ readonly type: "integer";
4489
+ };
4490
+ readonly type: "array";
4491
+ };
4492
+ readonly private_profile: {
4493
+ readonly nullable: true;
4494
+ readonly type: "boolean";
4495
+ };
4496
+ readonly profile_image_url: {
4497
+ readonly type: "string";
4498
+ };
4499
+ readonly telephone: {
4500
+ readonly type: "string";
4501
+ };
4502
+ readonly zipcode: {
4503
+ readonly type: "string";
4504
+ };
4505
+ };
4506
+ readonly required: readonly ["keycloak_id", "firstname", "language", "email"];
4507
+ readonly type: "object";
4508
+ };
4310
4509
  declare const UserRelationSchema: {
4311
4510
  readonly description: "Returns :\n* `FRIENDS` - The user is a friend.\n* `OUTGOING` - The user has sent a friend request to the current user.\n* `INCOMING` - The user has received a friend request from the current user.\n* `NO_RELATION` - The user has no ongoing relation with the current user.\n";
4312
4511
  readonly enum: readonly ["FRIENDS", "OUTGOING", "INCOMING", "NO_RELATION"];
@@ -4431,6 +4630,7 @@ declare const schemas_gen_FacilityOfferOrderSchema: typeof FacilityOfferOrderSch
4431
4630
  declare const schemas_gen_FacilityOfferSchema: typeof FacilityOfferSchema;
4432
4631
  declare const schemas_gen_FacilityPunchCardDataSchema: typeof FacilityPunchCardDataSchema;
4433
4632
  declare const schemas_gen_FacilityValueCardDataSchema: typeof FacilityValueCardDataSchema;
4633
+ declare const schemas_gen_GenderSchema: typeof GenderSchema;
4434
4634
  declare const schemas_gen_MetadataSchema: typeof MetadataSchema;
4435
4635
  declare const schemas_gen_NotificationPayloadSchema: typeof NotificationPayloadSchema;
4436
4636
  declare const schemas_gen_NotificationRequestBodySchema: typeof NotificationRequestBodySchema;
@@ -4443,6 +4643,8 @@ declare const schemas_gen_PreferencesResponseSchema: typeof PreferencesResponseS
4443
4643
  declare const schemas_gen_SourceSchema: typeof SourceSchema;
4444
4644
  declare const schemas_gen_TopicSchema: typeof TopicSchema;
4445
4645
  declare const schemas_gen_UpdatePreferencesRequestBodySchema: typeof UpdatePreferencesRequestBodySchema;
4646
+ declare const schemas_gen_UpdateUserProfileRequestSchema: typeof UpdateUserProfileRequestSchema;
4647
+ declare const schemas_gen_UserProfileSchema: typeof UserProfileSchema;
4446
4648
  declare const schemas_gen_UserRelationSchema: typeof UserRelationSchema;
4447
4649
  declare const schemas_gen_UserSchema: typeof UserSchema;
4448
4650
  declare const schemas_gen_UsersPaginatedResponseSchema: typeof UsersPaginatedResponseSchema;
@@ -4452,7 +4654,7 @@ declare const schemas_gen_pkgOpenapiSharedErrorsSchema: typeof pkgOpenapiSharedE
4452
4654
  declare const schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema: typeof pkgOpenapiSharedOffsetPaginatedResultSetSchema;
4453
4655
  declare const schemas_gen_pkgOpenapiSharedProblemDetailsSchema: typeof pkgOpenapiSharedProblemDetailsSchema;
4454
4656
  declare namespace schemas_gen {
4455
- export { schemas_gen_ChannelsSchema as ChannelsSchema, schemas_gen_FacilityMessagePayloadSchema as FacilityMessagePayloadSchema, schemas_gen_FacilityOfferConditionActivitiesSchema as FacilityOfferConditionActivitiesSchema, schemas_gen_FacilityOfferConditionCourtsSchema as FacilityOfferConditionCourtsSchema, schemas_gen_FacilityOfferConditionDateSchema as FacilityOfferConditionDateSchema, schemas_gen_FacilityOfferConditionHoursinadvanceSchema as FacilityOfferConditionHoursinadvanceSchema, schemas_gen_FacilityOfferConditionSchema as FacilityOfferConditionSchema, schemas_gen_FacilityOfferConditionTimeSchema as FacilityOfferConditionTimeSchema, schemas_gen_FacilityOfferConditionWeekdaysSchema as FacilityOfferConditionWeekdaysSchema, schemas_gen_FacilityOfferListSchema as FacilityOfferListSchema, schemas_gen_FacilityOfferOrderSchema as FacilityOfferOrderSchema, schemas_gen_FacilityOfferSchema as FacilityOfferSchema, schemas_gen_FacilityPunchCardDataSchema as FacilityPunchCardDataSchema, schemas_gen_FacilityValueCardDataSchema as FacilityValueCardDataSchema, schemas_gen_MetadataSchema as MetadataSchema, schemas_gen_NotificationPayloadSchema as NotificationPayloadSchema, schemas_gen_NotificationRequestBodySchema as NotificationRequestBodySchema, schemas_gen_NotificationSchema as NotificationSchema, schemas_gen_NotificationsFilterSchema as NotificationsFilterSchema, schemas_gen_NotificationsPaginatedResponseSchema as NotificationsPaginatedResponseSchema, schemas_gen_NotificationsSummarySchema as NotificationsSummarySchema, schemas_gen_PreferenceSchema as PreferenceSchema, schemas_gen_PreferencesResponseSchema as PreferencesResponseSchema, schemas_gen_SourceSchema as SourceSchema, schemas_gen_TopicSchema as TopicSchema, schemas_gen_UpdatePreferencesRequestBodySchema as UpdatePreferencesRequestBodySchema, schemas_gen_UserRelationSchema as UserRelationSchema, schemas_gen_UserSchema as UserSchema, schemas_gen_UsersPaginatedResponseSchema as UsersPaginatedResponseSchema, schemas_gen_pkgOpenapiSharedCursorPaginatedResultSetSchema as pkgOpenapiSharedCursorPaginatedResultSetSchema, schemas_gen_pkgOpenapiSharedErrorSchema as pkgOpenapiSharedErrorSchema, schemas_gen_pkgOpenapiSharedErrorsSchema as pkgOpenapiSharedErrorsSchema, schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema as pkgOpenapiSharedOffsetPaginatedResultSetSchema, schemas_gen_pkgOpenapiSharedProblemDetailsSchema as pkgOpenapiSharedProblemDetailsSchema };
4657
+ export { schemas_gen_ChannelsSchema as ChannelsSchema, schemas_gen_FacilityMessagePayloadSchema as FacilityMessagePayloadSchema, schemas_gen_FacilityOfferConditionActivitiesSchema as FacilityOfferConditionActivitiesSchema, schemas_gen_FacilityOfferConditionCourtsSchema as FacilityOfferConditionCourtsSchema, schemas_gen_FacilityOfferConditionDateSchema as FacilityOfferConditionDateSchema, schemas_gen_FacilityOfferConditionHoursinadvanceSchema as FacilityOfferConditionHoursinadvanceSchema, schemas_gen_FacilityOfferConditionSchema as FacilityOfferConditionSchema, schemas_gen_FacilityOfferConditionTimeSchema as FacilityOfferConditionTimeSchema, schemas_gen_FacilityOfferConditionWeekdaysSchema as FacilityOfferConditionWeekdaysSchema, schemas_gen_FacilityOfferListSchema as FacilityOfferListSchema, schemas_gen_FacilityOfferOrderSchema as FacilityOfferOrderSchema, schemas_gen_FacilityOfferSchema as FacilityOfferSchema, schemas_gen_FacilityPunchCardDataSchema as FacilityPunchCardDataSchema, schemas_gen_FacilityValueCardDataSchema as FacilityValueCardDataSchema, schemas_gen_GenderSchema as GenderSchema, schemas_gen_MetadataSchema as MetadataSchema, schemas_gen_NotificationPayloadSchema as NotificationPayloadSchema, schemas_gen_NotificationRequestBodySchema as NotificationRequestBodySchema, schemas_gen_NotificationSchema as NotificationSchema, schemas_gen_NotificationsFilterSchema as NotificationsFilterSchema, schemas_gen_NotificationsPaginatedResponseSchema as NotificationsPaginatedResponseSchema, schemas_gen_NotificationsSummarySchema as NotificationsSummarySchema, schemas_gen_PreferenceSchema as PreferenceSchema, schemas_gen_PreferencesResponseSchema as PreferencesResponseSchema, schemas_gen_SourceSchema as SourceSchema, schemas_gen_TopicSchema as TopicSchema, schemas_gen_UpdatePreferencesRequestBodySchema as UpdatePreferencesRequestBodySchema, schemas_gen_UpdateUserProfileRequestSchema as UpdateUserProfileRequestSchema, schemas_gen_UserProfileSchema as UserProfileSchema, schemas_gen_UserRelationSchema as UserRelationSchema, schemas_gen_UserSchema as UserSchema, schemas_gen_UsersPaginatedResponseSchema as UsersPaginatedResponseSchema, schemas_gen_pkgOpenapiSharedCursorPaginatedResultSetSchema as pkgOpenapiSharedCursorPaginatedResultSetSchema, schemas_gen_pkgOpenapiSharedErrorSchema as pkgOpenapiSharedErrorSchema, schemas_gen_pkgOpenapiSharedErrorsSchema as pkgOpenapiSharedErrorsSchema, schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema as pkgOpenapiSharedOffsetPaginatedResultSetSchema, schemas_gen_pkgOpenapiSharedProblemDetailsSchema as pkgOpenapiSharedProblemDetailsSchema };
4456
4658
  }
4457
4659
 
4458
4660
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
@@ -4513,6 +4715,11 @@ declare const updateNotification: <ThrowOnError extends boolean = false>(options
4513
4715
  * Get a list of users based on the current user's search query
4514
4716
  */
4515
4717
  declare const searchUsers: <ThrowOnError extends boolean = false>(options?: Options<SearchUsersData, ThrowOnError> | undefined) => _hey_api_client_fetch.RequestResult<UsersPaginatedResponse, PkgOpenapiSharedProblemDetails, ThrowOnError>;
4718
+ /**
4719
+ * Update the current user's profile
4720
+ * Update the current user's profile information
4721
+ */
4722
+ declare const updateUserProfile: <ThrowOnError extends boolean = false>(options: Options<UpdateUserProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UserProfile, PkgOpenapiSharedProblemDetails, ThrowOnError>;
4516
4723
 
4517
4724
  type QueryKey<TOptions extends Options> = [
4518
4725
  Pick<TOptions, 'baseUrl' | 'body' | 'headers' | 'path' | 'query'> & {
@@ -4704,6 +4911,7 @@ declare const searchUsersInfiniteOptions: (options?: Options<SearchUsersData>) =
4704
4911
  [dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
4705
4912
  };
4706
4913
  };
4914
+ declare const updateUserProfileMutation: (options?: Partial<Options<UpdateUserProfileData>>) => UseMutationOptions<UserProfile, PkgOpenapiSharedProblemDetails, Options<UpdateUserProfileData>, unknown>;
4707
4915
 
4708
4916
  type reactQuery_gen_QueryKey<TOptions extends Options> = QueryKey<TOptions>;
4709
4917
  declare const reactQuery_gen_createFacilityOfferOrderMutation: typeof createFacilityOfferOrderMutation;
@@ -4728,8 +4936,9 @@ declare const reactQuery_gen_searchUsersQueryKey: typeof searchUsersQueryKey;
4728
4936
  declare const reactQuery_gen_updateAllNotificationsMutation: typeof updateAllNotificationsMutation;
4729
4937
  declare const reactQuery_gen_updateNotificationMutation: typeof updateNotificationMutation;
4730
4938
  declare const reactQuery_gen_updateNotificationsPreferencesMutation: typeof updateNotificationsPreferencesMutation;
4939
+ declare const reactQuery_gen_updateUserProfileMutation: typeof updateUserProfileMutation;
4731
4940
  declare namespace reactQuery_gen {
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 };
4941
+ 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, reactQuery_gen_updateUserProfileMutation as updateUserProfileMutation };
4733
4942
  }
4734
4943
 
4735
4944
  type indexV1_Channels = Channels;
@@ -4753,6 +4962,7 @@ type indexV1_FacilityOfferList = FacilityOfferList;
4753
4962
  type indexV1_FacilityOfferOrder = FacilityOfferOrder;
4754
4963
  type indexV1_FacilityPunchCardData = FacilityPunchCardData;
4755
4964
  type indexV1_FacilityValueCardData = FacilityValueCardData;
4965
+ declare const indexV1_Gender: typeof Gender;
4756
4966
  type indexV1_GetNotificationByIdData = GetNotificationByIdData;
4757
4967
  type indexV1_GetNotificationByIdError = GetNotificationByIdError;
4758
4968
  type indexV1_GetNotificationByIdErrors = GetNotificationByIdErrors;
@@ -4817,7 +5027,14 @@ type indexV1_UpdateNotificationsPreferencesErrors = UpdateNotificationsPreferenc
4817
5027
  type indexV1_UpdateNotificationsPreferencesResponse = UpdateNotificationsPreferencesResponse;
4818
5028
  type indexV1_UpdateNotificationsPreferencesResponses = UpdateNotificationsPreferencesResponses;
4819
5029
  type indexV1_UpdatePreferencesRequestBody = UpdatePreferencesRequestBody;
5030
+ type indexV1_UpdateUserProfileData = UpdateUserProfileData;
5031
+ type indexV1_UpdateUserProfileError = UpdateUserProfileError;
5032
+ type indexV1_UpdateUserProfileErrors = UpdateUserProfileErrors;
5033
+ type indexV1_UpdateUserProfileRequest = UpdateUserProfileRequest;
5034
+ type indexV1_UpdateUserProfileResponse = UpdateUserProfileResponse;
5035
+ type indexV1_UpdateUserProfileResponses = UpdateUserProfileResponses;
4820
5036
  type indexV1_User = User;
5037
+ type indexV1_UserProfile = UserProfile;
4821
5038
  declare const indexV1_UserRelation: typeof UserRelation;
4822
5039
  type indexV1_UsersPaginatedResponse = UsersPaginatedResponse;
4823
5040
  declare const indexV1_client: typeof client;
@@ -4830,8 +5047,9 @@ declare const indexV1_searchUsers: typeof searchUsers;
4830
5047
  declare const indexV1_updateAllNotifications: typeof updateAllNotifications;
4831
5048
  declare const indexV1_updateNotification: typeof updateNotification;
4832
5049
  declare const indexV1_updateNotificationsPreferences: typeof updateNotificationsPreferences;
5050
+ declare const indexV1_updateUserProfile: typeof updateUserProfile;
4833
5051
  declare namespace indexV1 {
4834
- export { type indexV1_Channels as Channels, type indexV1_ClientOptions as ClientOptions, type indexV1_CreateFacilityOfferOrderData as CreateFacilityOfferOrderData, type indexV1_CreateFacilityOfferOrderError as CreateFacilityOfferOrderError, type indexV1_CreateFacilityOfferOrderErrors as CreateFacilityOfferOrderErrors, type indexV1_CreateFacilityOfferOrderResponse as CreateFacilityOfferOrderResponse, type indexV1_CreateFacilityOfferOrderResponses as CreateFacilityOfferOrderResponses, type indexV1_FacilityIdPath as FacilityIdPath, type indexV1_FacilityMessagePayload as FacilityMessagePayload, type indexV1_FacilityOffer as FacilityOffer, type indexV1_FacilityOfferCondition as FacilityOfferCondition, type indexV1_FacilityOfferConditionActivities as FacilityOfferConditionActivities, type indexV1_FacilityOfferConditionCourts as FacilityOfferConditionCourts, type indexV1_FacilityOfferConditionDate as FacilityOfferConditionDate, type indexV1_FacilityOfferConditionHoursinadvance as FacilityOfferConditionHoursinadvance, type indexV1_FacilityOfferConditionTime as FacilityOfferConditionTime, type indexV1_FacilityOfferConditionWeekdays as FacilityOfferConditionWeekdays, type indexV1_FacilityOfferList as FacilityOfferList, type indexV1_FacilityOfferOrder as FacilityOfferOrder, type indexV1_FacilityPunchCardData as FacilityPunchCardData, type indexV1_FacilityValueCardData as FacilityValueCardData, type indexV1_GetNotificationByIdData as GetNotificationByIdData, type indexV1_GetNotificationByIdError as GetNotificationByIdError, type indexV1_GetNotificationByIdErrors as GetNotificationByIdErrors, type indexV1_GetNotificationByIdResponse as GetNotificationByIdResponse, type indexV1_GetNotificationByIdResponses as GetNotificationByIdResponses, type indexV1_GetNotificationsData as GetNotificationsData, type indexV1_GetNotificationsError as GetNotificationsError, type indexV1_GetNotificationsErrors as GetNotificationsErrors, type indexV1_GetNotificationsPreferencesData as GetNotificationsPreferencesData, type indexV1_GetNotificationsPreferencesError as GetNotificationsPreferencesError, type indexV1_GetNotificationsPreferencesErrors as GetNotificationsPreferencesErrors, type indexV1_GetNotificationsPreferencesResponse as GetNotificationsPreferencesResponse, type indexV1_GetNotificationsPreferencesResponses as GetNotificationsPreferencesResponses, type indexV1_GetNotificationsResponse as GetNotificationsResponse, type indexV1_GetNotificationsResponses as GetNotificationsResponses, type indexV1_ListFacilityOffersData as ListFacilityOffersData, type indexV1_ListFacilityOffersError as ListFacilityOffersError, type indexV1_ListFacilityOffersErrors as ListFacilityOffersErrors, type indexV1_ListFacilityOffersResponse as ListFacilityOffersResponse, type indexV1_ListFacilityOffersResponses as ListFacilityOffersResponses, type indexV1_Metadata as Metadata, type indexV1_Notification as Notification, type indexV1_NotificationPayload as NotificationPayload, type indexV1_NotificationRequestBody as NotificationRequestBody, type indexV1_NotificationsFilter as NotificationsFilter, type indexV1_NotificationsFilterParam as NotificationsFilterParam, type indexV1_NotificationsPaginatedResponse as NotificationsPaginatedResponse, type indexV1_NotificationsSummary as NotificationsSummary, type indexV1_OfferIdPath as OfferIdPath, type indexV1_Options as Options, type indexV1_PkgOpenapiSharedCursorLimitParam as PkgOpenapiSharedCursorLimitParam, type indexV1_PkgOpenapiSharedCursorPaginatedResultSet as PkgOpenapiSharedCursorPaginatedResultSet, type indexV1_PkgOpenapiSharedCursorParam as PkgOpenapiSharedCursorParam, type indexV1_PkgOpenapiSharedError as PkgOpenapiSharedError, type indexV1_PkgOpenapiSharedErrors as PkgOpenapiSharedErrors, type indexV1_PkgOpenapiSharedOffsetLimitParam as PkgOpenapiSharedOffsetLimitParam, type indexV1_PkgOpenapiSharedOffsetPaginatedResultSet as PkgOpenapiSharedOffsetPaginatedResultSet, type indexV1_PkgOpenapiSharedOffsetParam as PkgOpenapiSharedOffsetParam, type indexV1_PkgOpenapiSharedProblemDetails as PkgOpenapiSharedProblemDetails, type indexV1_Preference as Preference, type indexV1_PreferencesResponse as PreferencesResponse, type indexV1_SearchUsersData as SearchUsersData, type indexV1_SearchUsersError as SearchUsersError, type indexV1_SearchUsersErrors as SearchUsersErrors, type indexV1_SearchUsersResponse as SearchUsersResponse, type indexV1_SearchUsersResponses as SearchUsersResponses, indexV1_Source as Source, indexV1_Topic as Topic, type indexV1_UpdateAllNotificationsData as UpdateAllNotificationsData, type indexV1_UpdateAllNotificationsError as UpdateAllNotificationsError, type indexV1_UpdateAllNotificationsErrors as UpdateAllNotificationsErrors, type indexV1_UpdateAllNotificationsResponse as UpdateAllNotificationsResponse, type indexV1_UpdateAllNotificationsResponses as UpdateAllNotificationsResponses, type indexV1_UpdateNotificationData as UpdateNotificationData, type indexV1_UpdateNotificationError as UpdateNotificationError, type indexV1_UpdateNotificationErrors as UpdateNotificationErrors, type indexV1_UpdateNotificationResponse as UpdateNotificationResponse, type indexV1_UpdateNotificationResponses as UpdateNotificationResponses, type indexV1_UpdateNotificationsPreferencesData as UpdateNotificationsPreferencesData, type indexV1_UpdateNotificationsPreferencesError as UpdateNotificationsPreferencesError, type indexV1_UpdateNotificationsPreferencesErrors as UpdateNotificationsPreferencesErrors, type indexV1_UpdateNotificationsPreferencesResponse as UpdateNotificationsPreferencesResponse, type indexV1_UpdateNotificationsPreferencesResponses as UpdateNotificationsPreferencesResponses, type indexV1_UpdatePreferencesRequestBody as UpdatePreferencesRequestBody, type indexV1_User as User, indexV1_UserRelation as UserRelation, type indexV1_UsersPaginatedResponse as UsersPaginatedResponse, indexV1_client as client, indexV1_createFacilityOfferOrder as createFacilityOfferOrder, indexV1_getNotificationById as getNotificationById, indexV1_getNotifications as getNotifications, indexV1_getNotificationsPreferences as getNotificationsPreferences, indexV1_listFacilityOffers as listFacilityOffers, reactQuery_gen as queries, schemas_gen as schemas, indexV1_searchUsers as searchUsers, indexV1_updateAllNotifications as updateAllNotifications, indexV1_updateNotification as updateNotification, indexV1_updateNotificationsPreferences as updateNotificationsPreferences };
5052
+ export { type indexV1_Channels as Channels, type indexV1_ClientOptions as ClientOptions, type indexV1_CreateFacilityOfferOrderData as CreateFacilityOfferOrderData, type indexV1_CreateFacilityOfferOrderError as CreateFacilityOfferOrderError, type indexV1_CreateFacilityOfferOrderErrors as CreateFacilityOfferOrderErrors, type indexV1_CreateFacilityOfferOrderResponse as CreateFacilityOfferOrderResponse, type indexV1_CreateFacilityOfferOrderResponses as CreateFacilityOfferOrderResponses, type indexV1_FacilityIdPath as FacilityIdPath, type indexV1_FacilityMessagePayload as FacilityMessagePayload, type indexV1_FacilityOffer as FacilityOffer, type indexV1_FacilityOfferCondition as FacilityOfferCondition, type indexV1_FacilityOfferConditionActivities as FacilityOfferConditionActivities, type indexV1_FacilityOfferConditionCourts as FacilityOfferConditionCourts, type indexV1_FacilityOfferConditionDate as FacilityOfferConditionDate, type indexV1_FacilityOfferConditionHoursinadvance as FacilityOfferConditionHoursinadvance, type indexV1_FacilityOfferConditionTime as FacilityOfferConditionTime, type indexV1_FacilityOfferConditionWeekdays as FacilityOfferConditionWeekdays, type indexV1_FacilityOfferList as FacilityOfferList, type indexV1_FacilityOfferOrder as FacilityOfferOrder, type indexV1_FacilityPunchCardData as FacilityPunchCardData, type indexV1_FacilityValueCardData as FacilityValueCardData, indexV1_Gender as Gender, type indexV1_GetNotificationByIdData as GetNotificationByIdData, type indexV1_GetNotificationByIdError as GetNotificationByIdError, type indexV1_GetNotificationByIdErrors as GetNotificationByIdErrors, type indexV1_GetNotificationByIdResponse as GetNotificationByIdResponse, type indexV1_GetNotificationByIdResponses as GetNotificationByIdResponses, type indexV1_GetNotificationsData as GetNotificationsData, type indexV1_GetNotificationsError as GetNotificationsError, type indexV1_GetNotificationsErrors as GetNotificationsErrors, type indexV1_GetNotificationsPreferencesData as GetNotificationsPreferencesData, type indexV1_GetNotificationsPreferencesError as GetNotificationsPreferencesError, type indexV1_GetNotificationsPreferencesErrors as GetNotificationsPreferencesErrors, type indexV1_GetNotificationsPreferencesResponse as GetNotificationsPreferencesResponse, type indexV1_GetNotificationsPreferencesResponses as GetNotificationsPreferencesResponses, type indexV1_GetNotificationsResponse as GetNotificationsResponse, type indexV1_GetNotificationsResponses as GetNotificationsResponses, type indexV1_ListFacilityOffersData as ListFacilityOffersData, type indexV1_ListFacilityOffersError as ListFacilityOffersError, type indexV1_ListFacilityOffersErrors as ListFacilityOffersErrors, type indexV1_ListFacilityOffersResponse as ListFacilityOffersResponse, type indexV1_ListFacilityOffersResponses as ListFacilityOffersResponses, type indexV1_Metadata as Metadata, type indexV1_Notification as Notification, type indexV1_NotificationPayload as NotificationPayload, type indexV1_NotificationRequestBody as NotificationRequestBody, type indexV1_NotificationsFilter as NotificationsFilter, type indexV1_NotificationsFilterParam as NotificationsFilterParam, type indexV1_NotificationsPaginatedResponse as NotificationsPaginatedResponse, type indexV1_NotificationsSummary as NotificationsSummary, type indexV1_OfferIdPath as OfferIdPath, type indexV1_Options as Options, type indexV1_PkgOpenapiSharedCursorLimitParam as PkgOpenapiSharedCursorLimitParam, type indexV1_PkgOpenapiSharedCursorPaginatedResultSet as PkgOpenapiSharedCursorPaginatedResultSet, type indexV1_PkgOpenapiSharedCursorParam as PkgOpenapiSharedCursorParam, type indexV1_PkgOpenapiSharedError as PkgOpenapiSharedError, type indexV1_PkgOpenapiSharedErrors as PkgOpenapiSharedErrors, type indexV1_PkgOpenapiSharedOffsetLimitParam as PkgOpenapiSharedOffsetLimitParam, type indexV1_PkgOpenapiSharedOffsetPaginatedResultSet as PkgOpenapiSharedOffsetPaginatedResultSet, type indexV1_PkgOpenapiSharedOffsetParam as PkgOpenapiSharedOffsetParam, type indexV1_PkgOpenapiSharedProblemDetails as PkgOpenapiSharedProblemDetails, type indexV1_Preference as Preference, type indexV1_PreferencesResponse as PreferencesResponse, type indexV1_SearchUsersData as SearchUsersData, type indexV1_SearchUsersError as SearchUsersError, type indexV1_SearchUsersErrors as SearchUsersErrors, type indexV1_SearchUsersResponse as SearchUsersResponse, type indexV1_SearchUsersResponses as SearchUsersResponses, indexV1_Source as Source, indexV1_Topic as Topic, type indexV1_UpdateAllNotificationsData as UpdateAllNotificationsData, type indexV1_UpdateAllNotificationsError as UpdateAllNotificationsError, type indexV1_UpdateAllNotificationsErrors as UpdateAllNotificationsErrors, type indexV1_UpdateAllNotificationsResponse as UpdateAllNotificationsResponse, type indexV1_UpdateAllNotificationsResponses as UpdateAllNotificationsResponses, type indexV1_UpdateNotificationData as UpdateNotificationData, type indexV1_UpdateNotificationError as UpdateNotificationError, type indexV1_UpdateNotificationErrors as UpdateNotificationErrors, type indexV1_UpdateNotificationResponse as UpdateNotificationResponse, type indexV1_UpdateNotificationResponses as UpdateNotificationResponses, type indexV1_UpdateNotificationsPreferencesData as UpdateNotificationsPreferencesData, type indexV1_UpdateNotificationsPreferencesError as UpdateNotificationsPreferencesError, type indexV1_UpdateNotificationsPreferencesErrors as UpdateNotificationsPreferencesErrors, type indexV1_UpdateNotificationsPreferencesResponse as UpdateNotificationsPreferencesResponse, type indexV1_UpdateNotificationsPreferencesResponses as UpdateNotificationsPreferencesResponses, type indexV1_UpdatePreferencesRequestBody as UpdatePreferencesRequestBody, type indexV1_UpdateUserProfileData as UpdateUserProfileData, type indexV1_UpdateUserProfileError as UpdateUserProfileError, type indexV1_UpdateUserProfileErrors as UpdateUserProfileErrors, type indexV1_UpdateUserProfileRequest as UpdateUserProfileRequest, type indexV1_UpdateUserProfileResponse as UpdateUserProfileResponse, type indexV1_UpdateUserProfileResponses as UpdateUserProfileResponses, type indexV1_User as User, type indexV1_UserProfile as UserProfile, indexV1_UserRelation as UserRelation, type indexV1_UsersPaginatedResponse as UsersPaginatedResponse, indexV1_client as client, indexV1_createFacilityOfferOrder as createFacilityOfferOrder, indexV1_getNotificationById as getNotificationById, indexV1_getNotifications as getNotifications, indexV1_getNotificationsPreferences as getNotificationsPreferences, indexV1_listFacilityOffers as listFacilityOffers, reactQuery_gen as queries, schemas_gen as schemas, indexV1_searchUsers as searchUsers, indexV1_updateAllNotifications as updateAllNotifications, indexV1_updateNotification as updateNotification, indexV1_updateNotificationsPreferences as updateNotificationsPreferences, indexV1_updateUserProfile as updateUserProfile };
4835
5053
  }
4836
5054
 
4837
5055
  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 };