@matchi/api 0.20260123.1 → 0.20260210.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3562,6 +3562,14 @@ type FacilityOfferOrder = {
3562
3562
  checkout_url: string;
3563
3563
  id: string;
3564
3564
  };
3565
+ type FacilityPermission = {
3566
+ facility_id: string;
3567
+ roles: Array<string>;
3568
+ scopes: Array<string>;
3569
+ };
3570
+ type FacilityPermissionsResponse = {
3571
+ items: Array<FacilityPermission>;
3572
+ };
3565
3573
  type FacilityPunchCardData = {
3566
3574
  conditions: Array<FacilityOfferCondition>;
3567
3575
  description: string | null;
@@ -4209,6 +4217,39 @@ type UpdateUserProfileResponses = {
4209
4217
  200: UserProfile;
4210
4218
  };
4211
4219
  type UpdateUserProfileResponse = UpdateUserProfileResponses[keyof UpdateUserProfileResponses];
4220
+ type GetUserFacilityPermissionsData = {
4221
+ body?: never;
4222
+ path: {
4223
+ /**
4224
+ * The user ID (must match the authenticated user)
4225
+ */
4226
+ user_id: string;
4227
+ };
4228
+ query?: never;
4229
+ url: '/users/{user_id}/facility-permissions';
4230
+ };
4231
+ type GetUserFacilityPermissionsErrors = {
4232
+ /**
4233
+ * Access token is not set or invalid.
4234
+ */
4235
+ 401: PkgOpenapiSharedProblemDetails;
4236
+ /**
4237
+ * The requestor is not authorized to perform this operation on the resource.
4238
+ */
4239
+ 403: PkgOpenapiSharedProblemDetails;
4240
+ /**
4241
+ * The server encountered an unexpected error
4242
+ */
4243
+ 500: PkgOpenapiSharedProblemDetails;
4244
+ };
4245
+ type GetUserFacilityPermissionsError = GetUserFacilityPermissionsErrors[keyof GetUserFacilityPermissionsErrors];
4246
+ type GetUserFacilityPermissionsResponses = {
4247
+ /**
4248
+ * OK
4249
+ */
4250
+ 200: FacilityPermissionsResponse;
4251
+ };
4252
+ type GetUserFacilityPermissionsResponse = GetUserFacilityPermissionsResponses[keyof GetUserFacilityPermissionsResponses];
4212
4253
 
4213
4254
  declare const client: Client;
4214
4255
 
@@ -4412,6 +4453,39 @@ declare const FacilityOfferOrderSchema: {
4412
4453
  readonly required: readonly ["id", "checkout_url"];
4413
4454
  readonly type: "object";
4414
4455
  };
4456
+ declare const FacilityPermissionSchema: {
4457
+ readonly properties: {
4458
+ readonly facility_id: {
4459
+ readonly type: "string";
4460
+ };
4461
+ readonly roles: {
4462
+ readonly items: {
4463
+ readonly type: "string";
4464
+ };
4465
+ readonly type: "array";
4466
+ };
4467
+ readonly scopes: {
4468
+ readonly items: {
4469
+ readonly type: "string";
4470
+ };
4471
+ readonly type: "array";
4472
+ };
4473
+ };
4474
+ readonly required: readonly ["facility_id", "roles", "scopes"];
4475
+ readonly type: "object";
4476
+ };
4477
+ declare const FacilityPermissionsResponseSchema: {
4478
+ readonly properties: {
4479
+ readonly items: {
4480
+ readonly items: {
4481
+ readonly $ref: "#/components/schemas/FacilityPermission";
4482
+ };
4483
+ readonly type: "array";
4484
+ };
4485
+ };
4486
+ readonly required: readonly ["items"];
4487
+ readonly type: "object";
4488
+ };
4415
4489
  declare const FacilityPunchCardDataSchema: {
4416
4490
  readonly properties: {
4417
4491
  readonly conditions: {
@@ -4931,6 +5005,8 @@ declare const schemas_gen_FacilityOfferConditionWeekdaysSchema: typeof FacilityO
4931
5005
  declare const schemas_gen_FacilityOfferListSchema: typeof FacilityOfferListSchema;
4932
5006
  declare const schemas_gen_FacilityOfferOrderSchema: typeof FacilityOfferOrderSchema;
4933
5007
  declare const schemas_gen_FacilityOfferSchema: typeof FacilityOfferSchema;
5008
+ declare const schemas_gen_FacilityPermissionSchema: typeof FacilityPermissionSchema;
5009
+ declare const schemas_gen_FacilityPermissionsResponseSchema: typeof FacilityPermissionsResponseSchema;
4934
5010
  declare const schemas_gen_FacilityPunchCardDataSchema: typeof FacilityPunchCardDataSchema;
4935
5011
  declare const schemas_gen_FacilityValueCardDataSchema: typeof FacilityValueCardDataSchema;
4936
5012
  declare const schemas_gen_GenderSchema: typeof GenderSchema;
@@ -4957,7 +5033,7 @@ declare const schemas_gen_pkgOpenapiSharedErrorsSchema: typeof pkgOpenapiSharedE
4957
5033
  declare const schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema: typeof pkgOpenapiSharedOffsetPaginatedResultSetSchema;
4958
5034
  declare const schemas_gen_pkgOpenapiSharedProblemDetailsSchema: typeof pkgOpenapiSharedProblemDetailsSchema;
4959
5035
  declare namespace schemas_gen {
4960
- 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 };
5036
+ 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_FacilityPermissionSchema as FacilityPermissionSchema, schemas_gen_FacilityPermissionsResponseSchema as FacilityPermissionsResponseSchema, 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 };
4961
5037
  }
4962
5038
 
4963
5039
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
@@ -5033,6 +5109,12 @@ declare const searchUsers: <ThrowOnError extends boolean = false>(options?: Opti
5033
5109
  * Update the current user's profile information
5034
5110
  */
5035
5111
  declare const updateUserProfile: <ThrowOnError extends boolean = false>(options: Options<UpdateUserProfileData, ThrowOnError>) => RequestResult<UpdateUserProfileResponses, UpdateUserProfileErrors, ThrowOnError, "fields">;
5112
+ /**
5113
+ * Get facility permissions for a user
5114
+ *
5115
+ * Returns the authenticated user's facility-level permissions including roles and scopes for each facility.
5116
+ */
5117
+ declare const getUserFacilityPermissions: <ThrowOnError extends boolean = false>(options: Options<GetUserFacilityPermissionsData, ThrowOnError>) => RequestResult<GetUserFacilityPermissionsResponses, GetUserFacilityPermissionsErrors, ThrowOnError, "fields">;
5036
5118
 
5037
5119
  type QueryKey<TOptions extends Options> = [
5038
5120
  Pick<TOptions, 'baseUrl' | 'body' | 'headers' | 'path' | 'query'> & {
@@ -5299,6 +5381,36 @@ declare const searchUsersInfiniteOptions: (options?: Options<SearchUsersData>) =
5299
5381
  * Update the current user's profile information
5300
5382
  */
5301
5383
  declare const updateUserProfileMutation: (options?: Partial<Options<UpdateUserProfileData>>) => UseMutationOptions<UpdateUserProfileResponse, UpdateUserProfileError, Options<UpdateUserProfileData>>;
5384
+ declare const getUserFacilityPermissionsQueryKey: (options: Options<GetUserFacilityPermissionsData>) => [Pick<Options<GetUserFacilityPermissionsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
5385
+ _id: string;
5386
+ _infinite?: boolean;
5387
+ tags?: ReadonlyArray<string>;
5388
+ }];
5389
+ /**
5390
+ * Get facility permissions for a user
5391
+ *
5392
+ * Returns the authenticated user's facility-level permissions including roles and scopes for each facility.
5393
+ */
5394
+ declare const getUserFacilityPermissionsOptions: (options: Options<GetUserFacilityPermissionsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<FacilityPermissionsResponse, PkgOpenapiSharedProblemDetails, FacilityPermissionsResponse, [Pick<Options<GetUserFacilityPermissionsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
5395
+ _id: string;
5396
+ _infinite?: boolean;
5397
+ tags?: ReadonlyArray<string>;
5398
+ }]>, "queryFn"> & {
5399
+ queryFn?: _tanstack_react_query.QueryFunction<FacilityPermissionsResponse, [Pick<Options<GetUserFacilityPermissionsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
5400
+ _id: string;
5401
+ _infinite?: boolean;
5402
+ tags?: ReadonlyArray<string>;
5403
+ }], never> | undefined;
5404
+ } & {
5405
+ queryKey: [Pick<Options<GetUserFacilityPermissionsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
5406
+ _id: string;
5407
+ _infinite?: boolean;
5408
+ tags?: ReadonlyArray<string>;
5409
+ }] & {
5410
+ [dataTagSymbol]: FacilityPermissionsResponse;
5411
+ [dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
5412
+ };
5413
+ };
5302
5414
 
5303
5415
  type reactQuery_gen_QueryKey<TOptions extends Options> = QueryKey<TOptions>;
5304
5416
  declare const reactQuery_gen_createFacilityOfferOrderMutation: typeof createFacilityOfferOrderMutation;
@@ -5310,6 +5422,8 @@ declare const reactQuery_gen_getNotificationsOptions: typeof getNotificationsOpt
5310
5422
  declare const reactQuery_gen_getNotificationsPreferencesOptions: typeof getNotificationsPreferencesOptions;
5311
5423
  declare const reactQuery_gen_getNotificationsPreferencesQueryKey: typeof getNotificationsPreferencesQueryKey;
5312
5424
  declare const reactQuery_gen_getNotificationsQueryKey: typeof getNotificationsQueryKey;
5425
+ declare const reactQuery_gen_getUserFacilityPermissionsOptions: typeof getUserFacilityPermissionsOptions;
5426
+ declare const reactQuery_gen_getUserFacilityPermissionsQueryKey: typeof getUserFacilityPermissionsQueryKey;
5313
5427
  declare const reactQuery_gen_listFacilityOffersInfiniteOptions: typeof listFacilityOffersInfiniteOptions;
5314
5428
  declare const reactQuery_gen_listFacilityOffersInfiniteQueryKey: typeof listFacilityOffersInfiniteQueryKey;
5315
5429
  declare const reactQuery_gen_listFacilityOffersOptions: typeof listFacilityOffersOptions;
@@ -5323,7 +5437,7 @@ declare const reactQuery_gen_updateNotificationMutation: typeof updateNotificati
5323
5437
  declare const reactQuery_gen_updateNotificationsPreferencesMutation: typeof updateNotificationsPreferencesMutation;
5324
5438
  declare const reactQuery_gen_updateUserProfileMutation: typeof updateUserProfileMutation;
5325
5439
  declare namespace reactQuery_gen {
5326
- export { type reactQuery_gen_QueryKey as QueryKey, reactQuery_gen_createFacilityOfferOrderMutation as createFacilityOfferOrderMutation, reactQuery_gen_getNotificationByIdOptions as getNotificationByIdOptions, reactQuery_gen_getNotificationByIdQueryKey as getNotificationByIdQueryKey, reactQuery_gen_getNotificationsInfiniteOptions as getNotificationsInfiniteOptions, reactQuery_gen_getNotificationsInfiniteQueryKey as getNotificationsInfiniteQueryKey, reactQuery_gen_getNotificationsOptions as getNotificationsOptions, reactQuery_gen_getNotificationsPreferencesOptions as getNotificationsPreferencesOptions, reactQuery_gen_getNotificationsPreferencesQueryKey as getNotificationsPreferencesQueryKey, reactQuery_gen_getNotificationsQueryKey as getNotificationsQueryKey, reactQuery_gen_listFacilityOffersInfiniteOptions as listFacilityOffersInfiniteOptions, reactQuery_gen_listFacilityOffersInfiniteQueryKey as listFacilityOffersInfiniteQueryKey, reactQuery_gen_listFacilityOffersOptions as listFacilityOffersOptions, reactQuery_gen_listFacilityOffersQueryKey as listFacilityOffersQueryKey, reactQuery_gen_searchUsersInfiniteOptions as searchUsersInfiniteOptions, reactQuery_gen_searchUsersInfiniteQueryKey as searchUsersInfiniteQueryKey, reactQuery_gen_searchUsersOptions as searchUsersOptions, reactQuery_gen_searchUsersQueryKey as searchUsersQueryKey, reactQuery_gen_updateAllNotificationsMutation as updateAllNotificationsMutation, reactQuery_gen_updateNotificationMutation as updateNotificationMutation, reactQuery_gen_updateNotificationsPreferencesMutation as updateNotificationsPreferencesMutation, reactQuery_gen_updateUserProfileMutation as updateUserProfileMutation };
5440
+ export { type reactQuery_gen_QueryKey as QueryKey, reactQuery_gen_createFacilityOfferOrderMutation as createFacilityOfferOrderMutation, reactQuery_gen_getNotificationByIdOptions as getNotificationByIdOptions, reactQuery_gen_getNotificationByIdQueryKey as getNotificationByIdQueryKey, reactQuery_gen_getNotificationsInfiniteOptions as getNotificationsInfiniteOptions, reactQuery_gen_getNotificationsInfiniteQueryKey as getNotificationsInfiniteQueryKey, reactQuery_gen_getNotificationsOptions as getNotificationsOptions, reactQuery_gen_getNotificationsPreferencesOptions as getNotificationsPreferencesOptions, reactQuery_gen_getNotificationsPreferencesQueryKey as getNotificationsPreferencesQueryKey, reactQuery_gen_getNotificationsQueryKey as getNotificationsQueryKey, reactQuery_gen_getUserFacilityPermissionsOptions as getUserFacilityPermissionsOptions, reactQuery_gen_getUserFacilityPermissionsQueryKey as getUserFacilityPermissionsQueryKey, 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 };
5327
5441
  }
5328
5442
 
5329
5443
  type indexV1_Channels = Channels;
@@ -5345,6 +5459,8 @@ type indexV1_FacilityOfferConditionTime = FacilityOfferConditionTime;
5345
5459
  type indexV1_FacilityOfferConditionWeekdays = FacilityOfferConditionWeekdays;
5346
5460
  type indexV1_FacilityOfferList = FacilityOfferList;
5347
5461
  type indexV1_FacilityOfferOrder = FacilityOfferOrder;
5462
+ type indexV1_FacilityPermission = FacilityPermission;
5463
+ type indexV1_FacilityPermissionsResponse = FacilityPermissionsResponse;
5348
5464
  type indexV1_FacilityPunchCardData = FacilityPunchCardData;
5349
5465
  type indexV1_FacilityValueCardData = FacilityValueCardData;
5350
5466
  type indexV1_Gender = Gender;
@@ -5363,6 +5479,11 @@ type indexV1_GetNotificationsPreferencesResponse = GetNotificationsPreferencesRe
5363
5479
  type indexV1_GetNotificationsPreferencesResponses = GetNotificationsPreferencesResponses;
5364
5480
  type indexV1_GetNotificationsResponse = GetNotificationsResponse;
5365
5481
  type indexV1_GetNotificationsResponses = GetNotificationsResponses;
5482
+ type indexV1_GetUserFacilityPermissionsData = GetUserFacilityPermissionsData;
5483
+ type indexV1_GetUserFacilityPermissionsError = GetUserFacilityPermissionsError;
5484
+ type indexV1_GetUserFacilityPermissionsErrors = GetUserFacilityPermissionsErrors;
5485
+ type indexV1_GetUserFacilityPermissionsResponse = GetUserFacilityPermissionsResponse;
5486
+ type indexV1_GetUserFacilityPermissionsResponses = GetUserFacilityPermissionsResponses;
5366
5487
  type indexV1_ListFacilityOffersData = ListFacilityOffersData;
5367
5488
  type indexV1_ListFacilityOffersError = ListFacilityOffersError;
5368
5489
  type indexV1_ListFacilityOffersErrors = ListFacilityOffersErrors;
@@ -5427,6 +5548,7 @@ declare const indexV1_createFacilityOfferOrder: typeof createFacilityOfferOrder;
5427
5548
  declare const indexV1_getNotificationById: typeof getNotificationById;
5428
5549
  declare const indexV1_getNotifications: typeof getNotifications;
5429
5550
  declare const indexV1_getNotificationsPreferences: typeof getNotificationsPreferences;
5551
+ declare const indexV1_getUserFacilityPermissions: typeof getUserFacilityPermissions;
5430
5552
  declare const indexV1_listFacilityOffers: typeof listFacilityOffers;
5431
5553
  declare const indexV1_searchUsers: typeof searchUsers;
5432
5554
  declare const indexV1_updateAllNotifications: typeof updateAllNotifications;
@@ -5434,7 +5556,7 @@ declare const indexV1_updateNotification: typeof updateNotification;
5434
5556
  declare const indexV1_updateNotificationsPreferences: typeof updateNotificationsPreferences;
5435
5557
  declare const indexV1_updateUserProfile: typeof updateUserProfile;
5436
5558
  declare namespace indexV1 {
5437
- export { type indexV1_Channels as Channels, type indexV1_ClientOptions as ClientOptions, type indexV1_CreateFacilityOfferOrderData as CreateFacilityOfferOrderData, type indexV1_CreateFacilityOfferOrderError as CreateFacilityOfferOrderError, type indexV1_CreateFacilityOfferOrderErrors as CreateFacilityOfferOrderErrors, type indexV1_CreateFacilityOfferOrderResponse as CreateFacilityOfferOrderResponse, type indexV1_CreateFacilityOfferOrderResponses as CreateFacilityOfferOrderResponses, type indexV1_FacilityIdPath as FacilityIdPath, type indexV1_FacilityMessagePayload as FacilityMessagePayload, type indexV1_FacilityOffer as FacilityOffer, type indexV1_FacilityOfferCondition as FacilityOfferCondition, type indexV1_FacilityOfferConditionActivities as FacilityOfferConditionActivities, type indexV1_FacilityOfferConditionCourts as FacilityOfferConditionCourts, type indexV1_FacilityOfferConditionDate as FacilityOfferConditionDate, type indexV1_FacilityOfferConditionHoursinadvance as FacilityOfferConditionHoursinadvance, type indexV1_FacilityOfferConditionTime as FacilityOfferConditionTime, type indexV1_FacilityOfferConditionWeekdays as FacilityOfferConditionWeekdays, type indexV1_FacilityOfferList as FacilityOfferList, type indexV1_FacilityOfferOrder as FacilityOfferOrder, type indexV1_FacilityPunchCardData as FacilityPunchCardData, type indexV1_FacilityValueCardData as FacilityValueCardData, type indexV1_Gender as Gender, type indexV1_GetNotificationByIdData as GetNotificationByIdData, type indexV1_GetNotificationByIdError as GetNotificationByIdError, type indexV1_GetNotificationByIdErrors as GetNotificationByIdErrors, type indexV1_GetNotificationByIdResponse as GetNotificationByIdResponse, type indexV1_GetNotificationByIdResponses as GetNotificationByIdResponses, type indexV1_GetNotificationsData as GetNotificationsData, type indexV1_GetNotificationsError as GetNotificationsError, type indexV1_GetNotificationsErrors as GetNotificationsErrors, type indexV1_GetNotificationsPreferencesData as GetNotificationsPreferencesData, type indexV1_GetNotificationsPreferencesError as GetNotificationsPreferencesError, type indexV1_GetNotificationsPreferencesErrors as GetNotificationsPreferencesErrors, type indexV1_GetNotificationsPreferencesResponse as GetNotificationsPreferencesResponse, type indexV1_GetNotificationsPreferencesResponses as GetNotificationsPreferencesResponses, type indexV1_GetNotificationsResponse as GetNotificationsResponse, type indexV1_GetNotificationsResponses as GetNotificationsResponses, type indexV1_ListFacilityOffersData as ListFacilityOffersData, type indexV1_ListFacilityOffersError as ListFacilityOffersError, type indexV1_ListFacilityOffersErrors as ListFacilityOffersErrors, type indexV1_ListFacilityOffersResponse as ListFacilityOffersResponse, type indexV1_ListFacilityOffersResponses as ListFacilityOffersResponses, type indexV1_Metadata as Metadata, type indexV1_Notification as Notification, type indexV1_NotificationPayload as NotificationPayload, type indexV1_NotificationRequestBody as NotificationRequestBody, type indexV1_NotificationsFilter as NotificationsFilter, type indexV1_NotificationsFilterParam as NotificationsFilterParam, type indexV1_NotificationsPaginatedResponse as NotificationsPaginatedResponse, type indexV1_NotificationsSummary as NotificationsSummary, type indexV1_OfferIdPath as OfferIdPath, type indexV1_Options as Options, type indexV1_PkgOpenapiSharedCursorLimitParam as PkgOpenapiSharedCursorLimitParam, type indexV1_PkgOpenapiSharedCursorPaginatedResultSet as PkgOpenapiSharedCursorPaginatedResultSet, type indexV1_PkgOpenapiSharedCursorParam as PkgOpenapiSharedCursorParam, type indexV1_PkgOpenapiSharedError as PkgOpenapiSharedError, type indexV1_PkgOpenapiSharedErrors as PkgOpenapiSharedErrors, type indexV1_PkgOpenapiSharedOffsetLimitParam as PkgOpenapiSharedOffsetLimitParam, type indexV1_PkgOpenapiSharedOffsetPaginatedResultSet as PkgOpenapiSharedOffsetPaginatedResultSet, type indexV1_PkgOpenapiSharedOffsetParam as PkgOpenapiSharedOffsetParam, type indexV1_PkgOpenapiSharedProblemDetails as PkgOpenapiSharedProblemDetails, type indexV1_Preference as Preference, type indexV1_PreferencesResponse as PreferencesResponse, type indexV1_SearchUsersData as SearchUsersData, type indexV1_SearchUsersError as SearchUsersError, type indexV1_SearchUsersErrors as SearchUsersErrors, type indexV1_SearchUsersResponse as SearchUsersResponse, type indexV1_SearchUsersResponses as SearchUsersResponses, type indexV1_Source as Source, type indexV1_Topic as Topic, type indexV1_UpdateAllNotificationsData as UpdateAllNotificationsData, type indexV1_UpdateAllNotificationsError as UpdateAllNotificationsError, type indexV1_UpdateAllNotificationsErrors as UpdateAllNotificationsErrors, type indexV1_UpdateAllNotificationsResponse as UpdateAllNotificationsResponse, type indexV1_UpdateAllNotificationsResponses as UpdateAllNotificationsResponses, type indexV1_UpdateNotificationData as UpdateNotificationData, type indexV1_UpdateNotificationError as UpdateNotificationError, type indexV1_UpdateNotificationErrors as UpdateNotificationErrors, type indexV1_UpdateNotificationResponse as UpdateNotificationResponse, type indexV1_UpdateNotificationResponses as UpdateNotificationResponses, type indexV1_UpdateNotificationsPreferencesData as UpdateNotificationsPreferencesData, type indexV1_UpdateNotificationsPreferencesError as UpdateNotificationsPreferencesError, type indexV1_UpdateNotificationsPreferencesErrors as UpdateNotificationsPreferencesErrors, type indexV1_UpdateNotificationsPreferencesResponse as UpdateNotificationsPreferencesResponse, type indexV1_UpdateNotificationsPreferencesResponses as UpdateNotificationsPreferencesResponses, type indexV1_UpdatePreferencesRequestBody as UpdatePreferencesRequestBody, type indexV1_UpdateUserProfileData as UpdateUserProfileData, type indexV1_UpdateUserProfileError as UpdateUserProfileError, type indexV1_UpdateUserProfileErrors as UpdateUserProfileErrors, type indexV1_UpdateUserProfileRequest as UpdateUserProfileRequest, type indexV1_UpdateUserProfileResponse as UpdateUserProfileResponse, type indexV1_UpdateUserProfileResponses as UpdateUserProfileResponses, type indexV1_User as User, type indexV1_UserProfile as UserProfile, type indexV1_UserRelation as UserRelation, type indexV1_UsersPaginatedResponse as UsersPaginatedResponse, indexV1_client as client, indexV1_createFacilityOfferOrder as createFacilityOfferOrder, indexV1_getNotificationById as getNotificationById, indexV1_getNotifications as getNotifications, indexV1_getNotificationsPreferences as getNotificationsPreferences, indexV1_listFacilityOffers as listFacilityOffers, reactQuery_gen as queries, schemas_gen as schemas, indexV1_searchUsers as searchUsers, indexV1_updateAllNotifications as updateAllNotifications, indexV1_updateNotification as updateNotification, indexV1_updateNotificationsPreferences as updateNotificationsPreferences, indexV1_updateUserProfile as updateUserProfile };
5559
+ 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_FacilityPermission as FacilityPermission, type indexV1_FacilityPermissionsResponse as FacilityPermissionsResponse, type indexV1_FacilityPunchCardData as FacilityPunchCardData, type indexV1_FacilityValueCardData as FacilityValueCardData, type indexV1_Gender as Gender, type indexV1_GetNotificationByIdData as GetNotificationByIdData, type indexV1_GetNotificationByIdError as GetNotificationByIdError, type indexV1_GetNotificationByIdErrors as GetNotificationByIdErrors, type indexV1_GetNotificationByIdResponse as GetNotificationByIdResponse, type indexV1_GetNotificationByIdResponses as GetNotificationByIdResponses, type indexV1_GetNotificationsData as GetNotificationsData, type indexV1_GetNotificationsError as GetNotificationsError, type indexV1_GetNotificationsErrors as GetNotificationsErrors, type indexV1_GetNotificationsPreferencesData as GetNotificationsPreferencesData, type indexV1_GetNotificationsPreferencesError as GetNotificationsPreferencesError, type indexV1_GetNotificationsPreferencesErrors as GetNotificationsPreferencesErrors, type indexV1_GetNotificationsPreferencesResponse as GetNotificationsPreferencesResponse, type indexV1_GetNotificationsPreferencesResponses as GetNotificationsPreferencesResponses, type indexV1_GetNotificationsResponse as GetNotificationsResponse, type indexV1_GetNotificationsResponses as GetNotificationsResponses, type indexV1_GetUserFacilityPermissionsData as GetUserFacilityPermissionsData, type indexV1_GetUserFacilityPermissionsError as GetUserFacilityPermissionsError, type indexV1_GetUserFacilityPermissionsErrors as GetUserFacilityPermissionsErrors, type indexV1_GetUserFacilityPermissionsResponse as GetUserFacilityPermissionsResponse, type indexV1_GetUserFacilityPermissionsResponses as GetUserFacilityPermissionsResponses, type indexV1_ListFacilityOffersData as ListFacilityOffersData, type indexV1_ListFacilityOffersError as ListFacilityOffersError, type indexV1_ListFacilityOffersErrors as ListFacilityOffersErrors, type indexV1_ListFacilityOffersResponse as ListFacilityOffersResponse, type indexV1_ListFacilityOffersResponses as ListFacilityOffersResponses, type indexV1_Metadata as Metadata, type indexV1_Notification as Notification, type indexV1_NotificationPayload as NotificationPayload, type indexV1_NotificationRequestBody as NotificationRequestBody, type indexV1_NotificationsFilter as NotificationsFilter, type indexV1_NotificationsFilterParam as NotificationsFilterParam, type indexV1_NotificationsPaginatedResponse as NotificationsPaginatedResponse, type indexV1_NotificationsSummary as NotificationsSummary, type indexV1_OfferIdPath as OfferIdPath, type indexV1_Options as Options, type indexV1_PkgOpenapiSharedCursorLimitParam as PkgOpenapiSharedCursorLimitParam, type indexV1_PkgOpenapiSharedCursorPaginatedResultSet as PkgOpenapiSharedCursorPaginatedResultSet, type indexV1_PkgOpenapiSharedCursorParam as PkgOpenapiSharedCursorParam, type indexV1_PkgOpenapiSharedError as PkgOpenapiSharedError, type indexV1_PkgOpenapiSharedErrors as PkgOpenapiSharedErrors, type indexV1_PkgOpenapiSharedOffsetLimitParam as PkgOpenapiSharedOffsetLimitParam, type indexV1_PkgOpenapiSharedOffsetPaginatedResultSet as PkgOpenapiSharedOffsetPaginatedResultSet, type indexV1_PkgOpenapiSharedOffsetParam as PkgOpenapiSharedOffsetParam, type indexV1_PkgOpenapiSharedProblemDetails as PkgOpenapiSharedProblemDetails, type indexV1_Preference as Preference, type indexV1_PreferencesResponse as PreferencesResponse, type indexV1_SearchUsersData as SearchUsersData, type indexV1_SearchUsersError as SearchUsersError, type indexV1_SearchUsersErrors as SearchUsersErrors, type indexV1_SearchUsersResponse as SearchUsersResponse, type indexV1_SearchUsersResponses as SearchUsersResponses, type indexV1_Source as Source, type indexV1_Topic as Topic, type indexV1_UpdateAllNotificationsData as UpdateAllNotificationsData, type indexV1_UpdateAllNotificationsError as UpdateAllNotificationsError, type indexV1_UpdateAllNotificationsErrors as UpdateAllNotificationsErrors, type indexV1_UpdateAllNotificationsResponse as UpdateAllNotificationsResponse, type indexV1_UpdateAllNotificationsResponses as UpdateAllNotificationsResponses, type indexV1_UpdateNotificationData as UpdateNotificationData, type indexV1_UpdateNotificationError as UpdateNotificationError, type indexV1_UpdateNotificationErrors as UpdateNotificationErrors, type indexV1_UpdateNotificationResponse as UpdateNotificationResponse, type indexV1_UpdateNotificationResponses as UpdateNotificationResponses, type indexV1_UpdateNotificationsPreferencesData as UpdateNotificationsPreferencesData, type indexV1_UpdateNotificationsPreferencesError as UpdateNotificationsPreferencesError, type indexV1_UpdateNotificationsPreferencesErrors as UpdateNotificationsPreferencesErrors, type indexV1_UpdateNotificationsPreferencesResponse as UpdateNotificationsPreferencesResponse, type indexV1_UpdateNotificationsPreferencesResponses as UpdateNotificationsPreferencesResponses, type indexV1_UpdatePreferencesRequestBody as UpdatePreferencesRequestBody, type indexV1_UpdateUserProfileData as UpdateUserProfileData, type indexV1_UpdateUserProfileError as UpdateUserProfileError, type indexV1_UpdateUserProfileErrors as UpdateUserProfileErrors, type indexV1_UpdateUserProfileRequest as UpdateUserProfileRequest, type indexV1_UpdateUserProfileResponse as UpdateUserProfileResponse, type indexV1_UpdateUserProfileResponses as UpdateUserProfileResponses, type indexV1_User as User, type indexV1_UserProfile as UserProfile, type indexV1_UserRelation as UserRelation, type indexV1_UsersPaginatedResponse as UsersPaginatedResponse, indexV1_client as client, indexV1_createFacilityOfferOrder as createFacilityOfferOrder, indexV1_getNotificationById as getNotificationById, indexV1_getNotifications as getNotifications, indexV1_getNotificationsPreferences as getNotificationsPreferences, indexV1_getUserFacilityPermissions as getUserFacilityPermissions, 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 };
5438
5560
  }
5439
5561
 
5440
5562
  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 };
@@ -3562,6 +3562,14 @@ type FacilityOfferOrder = {
3562
3562
  checkout_url: string;
3563
3563
  id: string;
3564
3564
  };
3565
+ type FacilityPermission = {
3566
+ facility_id: string;
3567
+ roles: Array<string>;
3568
+ scopes: Array<string>;
3569
+ };
3570
+ type FacilityPermissionsResponse = {
3571
+ items: Array<FacilityPermission>;
3572
+ };
3565
3573
  type FacilityPunchCardData = {
3566
3574
  conditions: Array<FacilityOfferCondition>;
3567
3575
  description: string | null;
@@ -4209,6 +4217,39 @@ type UpdateUserProfileResponses = {
4209
4217
  200: UserProfile;
4210
4218
  };
4211
4219
  type UpdateUserProfileResponse = UpdateUserProfileResponses[keyof UpdateUserProfileResponses];
4220
+ type GetUserFacilityPermissionsData = {
4221
+ body?: never;
4222
+ path: {
4223
+ /**
4224
+ * The user ID (must match the authenticated user)
4225
+ */
4226
+ user_id: string;
4227
+ };
4228
+ query?: never;
4229
+ url: '/users/{user_id}/facility-permissions';
4230
+ };
4231
+ type GetUserFacilityPermissionsErrors = {
4232
+ /**
4233
+ * Access token is not set or invalid.
4234
+ */
4235
+ 401: PkgOpenapiSharedProblemDetails;
4236
+ /**
4237
+ * The requestor is not authorized to perform this operation on the resource.
4238
+ */
4239
+ 403: PkgOpenapiSharedProblemDetails;
4240
+ /**
4241
+ * The server encountered an unexpected error
4242
+ */
4243
+ 500: PkgOpenapiSharedProblemDetails;
4244
+ };
4245
+ type GetUserFacilityPermissionsError = GetUserFacilityPermissionsErrors[keyof GetUserFacilityPermissionsErrors];
4246
+ type GetUserFacilityPermissionsResponses = {
4247
+ /**
4248
+ * OK
4249
+ */
4250
+ 200: FacilityPermissionsResponse;
4251
+ };
4252
+ type GetUserFacilityPermissionsResponse = GetUserFacilityPermissionsResponses[keyof GetUserFacilityPermissionsResponses];
4212
4253
 
4213
4254
  declare const client: Client;
4214
4255
 
@@ -4412,6 +4453,39 @@ declare const FacilityOfferOrderSchema: {
4412
4453
  readonly required: readonly ["id", "checkout_url"];
4413
4454
  readonly type: "object";
4414
4455
  };
4456
+ declare const FacilityPermissionSchema: {
4457
+ readonly properties: {
4458
+ readonly facility_id: {
4459
+ readonly type: "string";
4460
+ };
4461
+ readonly roles: {
4462
+ readonly items: {
4463
+ readonly type: "string";
4464
+ };
4465
+ readonly type: "array";
4466
+ };
4467
+ readonly scopes: {
4468
+ readonly items: {
4469
+ readonly type: "string";
4470
+ };
4471
+ readonly type: "array";
4472
+ };
4473
+ };
4474
+ readonly required: readonly ["facility_id", "roles", "scopes"];
4475
+ readonly type: "object";
4476
+ };
4477
+ declare const FacilityPermissionsResponseSchema: {
4478
+ readonly properties: {
4479
+ readonly items: {
4480
+ readonly items: {
4481
+ readonly $ref: "#/components/schemas/FacilityPermission";
4482
+ };
4483
+ readonly type: "array";
4484
+ };
4485
+ };
4486
+ readonly required: readonly ["items"];
4487
+ readonly type: "object";
4488
+ };
4415
4489
  declare const FacilityPunchCardDataSchema: {
4416
4490
  readonly properties: {
4417
4491
  readonly conditions: {
@@ -4931,6 +5005,8 @@ declare const schemas_gen_FacilityOfferConditionWeekdaysSchema: typeof FacilityO
4931
5005
  declare const schemas_gen_FacilityOfferListSchema: typeof FacilityOfferListSchema;
4932
5006
  declare const schemas_gen_FacilityOfferOrderSchema: typeof FacilityOfferOrderSchema;
4933
5007
  declare const schemas_gen_FacilityOfferSchema: typeof FacilityOfferSchema;
5008
+ declare const schemas_gen_FacilityPermissionSchema: typeof FacilityPermissionSchema;
5009
+ declare const schemas_gen_FacilityPermissionsResponseSchema: typeof FacilityPermissionsResponseSchema;
4934
5010
  declare const schemas_gen_FacilityPunchCardDataSchema: typeof FacilityPunchCardDataSchema;
4935
5011
  declare const schemas_gen_FacilityValueCardDataSchema: typeof FacilityValueCardDataSchema;
4936
5012
  declare const schemas_gen_GenderSchema: typeof GenderSchema;
@@ -4957,7 +5033,7 @@ declare const schemas_gen_pkgOpenapiSharedErrorsSchema: typeof pkgOpenapiSharedE
4957
5033
  declare const schemas_gen_pkgOpenapiSharedOffsetPaginatedResultSetSchema: typeof pkgOpenapiSharedOffsetPaginatedResultSetSchema;
4958
5034
  declare const schemas_gen_pkgOpenapiSharedProblemDetailsSchema: typeof pkgOpenapiSharedProblemDetailsSchema;
4959
5035
  declare namespace schemas_gen {
4960
- 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 };
5036
+ 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_FacilityPermissionSchema as FacilityPermissionSchema, schemas_gen_FacilityPermissionsResponseSchema as FacilityPermissionsResponseSchema, 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 };
4961
5037
  }
4962
5038
 
4963
5039
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
@@ -5033,6 +5109,12 @@ declare const searchUsers: <ThrowOnError extends boolean = false>(options?: Opti
5033
5109
  * Update the current user's profile information
5034
5110
  */
5035
5111
  declare const updateUserProfile: <ThrowOnError extends boolean = false>(options: Options<UpdateUserProfileData, ThrowOnError>) => RequestResult<UpdateUserProfileResponses, UpdateUserProfileErrors, ThrowOnError, "fields">;
5112
+ /**
5113
+ * Get facility permissions for a user
5114
+ *
5115
+ * Returns the authenticated user's facility-level permissions including roles and scopes for each facility.
5116
+ */
5117
+ declare const getUserFacilityPermissions: <ThrowOnError extends boolean = false>(options: Options<GetUserFacilityPermissionsData, ThrowOnError>) => RequestResult<GetUserFacilityPermissionsResponses, GetUserFacilityPermissionsErrors, ThrowOnError, "fields">;
5036
5118
 
5037
5119
  type QueryKey<TOptions extends Options> = [
5038
5120
  Pick<TOptions, 'baseUrl' | 'body' | 'headers' | 'path' | 'query'> & {
@@ -5299,6 +5381,36 @@ declare const searchUsersInfiniteOptions: (options?: Options<SearchUsersData>) =
5299
5381
  * Update the current user's profile information
5300
5382
  */
5301
5383
  declare const updateUserProfileMutation: (options?: Partial<Options<UpdateUserProfileData>>) => UseMutationOptions<UpdateUserProfileResponse, UpdateUserProfileError, Options<UpdateUserProfileData>>;
5384
+ declare const getUserFacilityPermissionsQueryKey: (options: Options<GetUserFacilityPermissionsData>) => [Pick<Options<GetUserFacilityPermissionsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
5385
+ _id: string;
5386
+ _infinite?: boolean;
5387
+ tags?: ReadonlyArray<string>;
5388
+ }];
5389
+ /**
5390
+ * Get facility permissions for a user
5391
+ *
5392
+ * Returns the authenticated user's facility-level permissions including roles and scopes for each facility.
5393
+ */
5394
+ declare const getUserFacilityPermissionsOptions: (options: Options<GetUserFacilityPermissionsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<FacilityPermissionsResponse, PkgOpenapiSharedProblemDetails, FacilityPermissionsResponse, [Pick<Options<GetUserFacilityPermissionsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
5395
+ _id: string;
5396
+ _infinite?: boolean;
5397
+ tags?: ReadonlyArray<string>;
5398
+ }]>, "queryFn"> & {
5399
+ queryFn?: _tanstack_react_query.QueryFunction<FacilityPermissionsResponse, [Pick<Options<GetUserFacilityPermissionsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
5400
+ _id: string;
5401
+ _infinite?: boolean;
5402
+ tags?: ReadonlyArray<string>;
5403
+ }], never> | undefined;
5404
+ } & {
5405
+ queryKey: [Pick<Options<GetUserFacilityPermissionsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
5406
+ _id: string;
5407
+ _infinite?: boolean;
5408
+ tags?: ReadonlyArray<string>;
5409
+ }] & {
5410
+ [dataTagSymbol]: FacilityPermissionsResponse;
5411
+ [dataTagErrorSymbol]: PkgOpenapiSharedProblemDetails;
5412
+ };
5413
+ };
5302
5414
 
5303
5415
  type reactQuery_gen_QueryKey<TOptions extends Options> = QueryKey<TOptions>;
5304
5416
  declare const reactQuery_gen_createFacilityOfferOrderMutation: typeof createFacilityOfferOrderMutation;
@@ -5310,6 +5422,8 @@ declare const reactQuery_gen_getNotificationsOptions: typeof getNotificationsOpt
5310
5422
  declare const reactQuery_gen_getNotificationsPreferencesOptions: typeof getNotificationsPreferencesOptions;
5311
5423
  declare const reactQuery_gen_getNotificationsPreferencesQueryKey: typeof getNotificationsPreferencesQueryKey;
5312
5424
  declare const reactQuery_gen_getNotificationsQueryKey: typeof getNotificationsQueryKey;
5425
+ declare const reactQuery_gen_getUserFacilityPermissionsOptions: typeof getUserFacilityPermissionsOptions;
5426
+ declare const reactQuery_gen_getUserFacilityPermissionsQueryKey: typeof getUserFacilityPermissionsQueryKey;
5313
5427
  declare const reactQuery_gen_listFacilityOffersInfiniteOptions: typeof listFacilityOffersInfiniteOptions;
5314
5428
  declare const reactQuery_gen_listFacilityOffersInfiniteQueryKey: typeof listFacilityOffersInfiniteQueryKey;
5315
5429
  declare const reactQuery_gen_listFacilityOffersOptions: typeof listFacilityOffersOptions;
@@ -5323,7 +5437,7 @@ declare const reactQuery_gen_updateNotificationMutation: typeof updateNotificati
5323
5437
  declare const reactQuery_gen_updateNotificationsPreferencesMutation: typeof updateNotificationsPreferencesMutation;
5324
5438
  declare const reactQuery_gen_updateUserProfileMutation: typeof updateUserProfileMutation;
5325
5439
  declare namespace reactQuery_gen {
5326
- export { type reactQuery_gen_QueryKey as QueryKey, reactQuery_gen_createFacilityOfferOrderMutation as createFacilityOfferOrderMutation, reactQuery_gen_getNotificationByIdOptions as getNotificationByIdOptions, reactQuery_gen_getNotificationByIdQueryKey as getNotificationByIdQueryKey, reactQuery_gen_getNotificationsInfiniteOptions as getNotificationsInfiniteOptions, reactQuery_gen_getNotificationsInfiniteQueryKey as getNotificationsInfiniteQueryKey, reactQuery_gen_getNotificationsOptions as getNotificationsOptions, reactQuery_gen_getNotificationsPreferencesOptions as getNotificationsPreferencesOptions, reactQuery_gen_getNotificationsPreferencesQueryKey as getNotificationsPreferencesQueryKey, reactQuery_gen_getNotificationsQueryKey as getNotificationsQueryKey, reactQuery_gen_listFacilityOffersInfiniteOptions as listFacilityOffersInfiniteOptions, reactQuery_gen_listFacilityOffersInfiniteQueryKey as listFacilityOffersInfiniteQueryKey, reactQuery_gen_listFacilityOffersOptions as listFacilityOffersOptions, reactQuery_gen_listFacilityOffersQueryKey as listFacilityOffersQueryKey, reactQuery_gen_searchUsersInfiniteOptions as searchUsersInfiniteOptions, reactQuery_gen_searchUsersInfiniteQueryKey as searchUsersInfiniteQueryKey, reactQuery_gen_searchUsersOptions as searchUsersOptions, reactQuery_gen_searchUsersQueryKey as searchUsersQueryKey, reactQuery_gen_updateAllNotificationsMutation as updateAllNotificationsMutation, reactQuery_gen_updateNotificationMutation as updateNotificationMutation, reactQuery_gen_updateNotificationsPreferencesMutation as updateNotificationsPreferencesMutation, reactQuery_gen_updateUserProfileMutation as updateUserProfileMutation };
5440
+ export { type reactQuery_gen_QueryKey as QueryKey, reactQuery_gen_createFacilityOfferOrderMutation as createFacilityOfferOrderMutation, reactQuery_gen_getNotificationByIdOptions as getNotificationByIdOptions, reactQuery_gen_getNotificationByIdQueryKey as getNotificationByIdQueryKey, reactQuery_gen_getNotificationsInfiniteOptions as getNotificationsInfiniteOptions, reactQuery_gen_getNotificationsInfiniteQueryKey as getNotificationsInfiniteQueryKey, reactQuery_gen_getNotificationsOptions as getNotificationsOptions, reactQuery_gen_getNotificationsPreferencesOptions as getNotificationsPreferencesOptions, reactQuery_gen_getNotificationsPreferencesQueryKey as getNotificationsPreferencesQueryKey, reactQuery_gen_getNotificationsQueryKey as getNotificationsQueryKey, reactQuery_gen_getUserFacilityPermissionsOptions as getUserFacilityPermissionsOptions, reactQuery_gen_getUserFacilityPermissionsQueryKey as getUserFacilityPermissionsQueryKey, 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 };
5327
5441
  }
5328
5442
 
5329
5443
  type indexV1_Channels = Channels;
@@ -5345,6 +5459,8 @@ type indexV1_FacilityOfferConditionTime = FacilityOfferConditionTime;
5345
5459
  type indexV1_FacilityOfferConditionWeekdays = FacilityOfferConditionWeekdays;
5346
5460
  type indexV1_FacilityOfferList = FacilityOfferList;
5347
5461
  type indexV1_FacilityOfferOrder = FacilityOfferOrder;
5462
+ type indexV1_FacilityPermission = FacilityPermission;
5463
+ type indexV1_FacilityPermissionsResponse = FacilityPermissionsResponse;
5348
5464
  type indexV1_FacilityPunchCardData = FacilityPunchCardData;
5349
5465
  type indexV1_FacilityValueCardData = FacilityValueCardData;
5350
5466
  type indexV1_Gender = Gender;
@@ -5363,6 +5479,11 @@ type indexV1_GetNotificationsPreferencesResponse = GetNotificationsPreferencesRe
5363
5479
  type indexV1_GetNotificationsPreferencesResponses = GetNotificationsPreferencesResponses;
5364
5480
  type indexV1_GetNotificationsResponse = GetNotificationsResponse;
5365
5481
  type indexV1_GetNotificationsResponses = GetNotificationsResponses;
5482
+ type indexV1_GetUserFacilityPermissionsData = GetUserFacilityPermissionsData;
5483
+ type indexV1_GetUserFacilityPermissionsError = GetUserFacilityPermissionsError;
5484
+ type indexV1_GetUserFacilityPermissionsErrors = GetUserFacilityPermissionsErrors;
5485
+ type indexV1_GetUserFacilityPermissionsResponse = GetUserFacilityPermissionsResponse;
5486
+ type indexV1_GetUserFacilityPermissionsResponses = GetUserFacilityPermissionsResponses;
5366
5487
  type indexV1_ListFacilityOffersData = ListFacilityOffersData;
5367
5488
  type indexV1_ListFacilityOffersError = ListFacilityOffersError;
5368
5489
  type indexV1_ListFacilityOffersErrors = ListFacilityOffersErrors;
@@ -5427,6 +5548,7 @@ declare const indexV1_createFacilityOfferOrder: typeof createFacilityOfferOrder;
5427
5548
  declare const indexV1_getNotificationById: typeof getNotificationById;
5428
5549
  declare const indexV1_getNotifications: typeof getNotifications;
5429
5550
  declare const indexV1_getNotificationsPreferences: typeof getNotificationsPreferences;
5551
+ declare const indexV1_getUserFacilityPermissions: typeof getUserFacilityPermissions;
5430
5552
  declare const indexV1_listFacilityOffers: typeof listFacilityOffers;
5431
5553
  declare const indexV1_searchUsers: typeof searchUsers;
5432
5554
  declare const indexV1_updateAllNotifications: typeof updateAllNotifications;
@@ -5434,7 +5556,7 @@ declare const indexV1_updateNotification: typeof updateNotification;
5434
5556
  declare const indexV1_updateNotificationsPreferences: typeof updateNotificationsPreferences;
5435
5557
  declare const indexV1_updateUserProfile: typeof updateUserProfile;
5436
5558
  declare namespace indexV1 {
5437
- export { type indexV1_Channels as Channels, type indexV1_ClientOptions as ClientOptions, type indexV1_CreateFacilityOfferOrderData as CreateFacilityOfferOrderData, type indexV1_CreateFacilityOfferOrderError as CreateFacilityOfferOrderError, type indexV1_CreateFacilityOfferOrderErrors as CreateFacilityOfferOrderErrors, type indexV1_CreateFacilityOfferOrderResponse as CreateFacilityOfferOrderResponse, type indexV1_CreateFacilityOfferOrderResponses as CreateFacilityOfferOrderResponses, type indexV1_FacilityIdPath as FacilityIdPath, type indexV1_FacilityMessagePayload as FacilityMessagePayload, type indexV1_FacilityOffer as FacilityOffer, type indexV1_FacilityOfferCondition as FacilityOfferCondition, type indexV1_FacilityOfferConditionActivities as FacilityOfferConditionActivities, type indexV1_FacilityOfferConditionCourts as FacilityOfferConditionCourts, type indexV1_FacilityOfferConditionDate as FacilityOfferConditionDate, type indexV1_FacilityOfferConditionHoursinadvance as FacilityOfferConditionHoursinadvance, type indexV1_FacilityOfferConditionTime as FacilityOfferConditionTime, type indexV1_FacilityOfferConditionWeekdays as FacilityOfferConditionWeekdays, type indexV1_FacilityOfferList as FacilityOfferList, type indexV1_FacilityOfferOrder as FacilityOfferOrder, type indexV1_FacilityPunchCardData as FacilityPunchCardData, type indexV1_FacilityValueCardData as FacilityValueCardData, type indexV1_Gender as Gender, type indexV1_GetNotificationByIdData as GetNotificationByIdData, type indexV1_GetNotificationByIdError as GetNotificationByIdError, type indexV1_GetNotificationByIdErrors as GetNotificationByIdErrors, type indexV1_GetNotificationByIdResponse as GetNotificationByIdResponse, type indexV1_GetNotificationByIdResponses as GetNotificationByIdResponses, type indexV1_GetNotificationsData as GetNotificationsData, type indexV1_GetNotificationsError as GetNotificationsError, type indexV1_GetNotificationsErrors as GetNotificationsErrors, type indexV1_GetNotificationsPreferencesData as GetNotificationsPreferencesData, type indexV1_GetNotificationsPreferencesError as GetNotificationsPreferencesError, type indexV1_GetNotificationsPreferencesErrors as GetNotificationsPreferencesErrors, type indexV1_GetNotificationsPreferencesResponse as GetNotificationsPreferencesResponse, type indexV1_GetNotificationsPreferencesResponses as GetNotificationsPreferencesResponses, type indexV1_GetNotificationsResponse as GetNotificationsResponse, type indexV1_GetNotificationsResponses as GetNotificationsResponses, type indexV1_ListFacilityOffersData as ListFacilityOffersData, type indexV1_ListFacilityOffersError as ListFacilityOffersError, type indexV1_ListFacilityOffersErrors as ListFacilityOffersErrors, type indexV1_ListFacilityOffersResponse as ListFacilityOffersResponse, type indexV1_ListFacilityOffersResponses as ListFacilityOffersResponses, type indexV1_Metadata as Metadata, type indexV1_Notification as Notification, type indexV1_NotificationPayload as NotificationPayload, type indexV1_NotificationRequestBody as NotificationRequestBody, type indexV1_NotificationsFilter as NotificationsFilter, type indexV1_NotificationsFilterParam as NotificationsFilterParam, type indexV1_NotificationsPaginatedResponse as NotificationsPaginatedResponse, type indexV1_NotificationsSummary as NotificationsSummary, type indexV1_OfferIdPath as OfferIdPath, type indexV1_Options as Options, type indexV1_PkgOpenapiSharedCursorLimitParam as PkgOpenapiSharedCursorLimitParam, type indexV1_PkgOpenapiSharedCursorPaginatedResultSet as PkgOpenapiSharedCursorPaginatedResultSet, type indexV1_PkgOpenapiSharedCursorParam as PkgOpenapiSharedCursorParam, type indexV1_PkgOpenapiSharedError as PkgOpenapiSharedError, type indexV1_PkgOpenapiSharedErrors as PkgOpenapiSharedErrors, type indexV1_PkgOpenapiSharedOffsetLimitParam as PkgOpenapiSharedOffsetLimitParam, type indexV1_PkgOpenapiSharedOffsetPaginatedResultSet as PkgOpenapiSharedOffsetPaginatedResultSet, type indexV1_PkgOpenapiSharedOffsetParam as PkgOpenapiSharedOffsetParam, type indexV1_PkgOpenapiSharedProblemDetails as PkgOpenapiSharedProblemDetails, type indexV1_Preference as Preference, type indexV1_PreferencesResponse as PreferencesResponse, type indexV1_SearchUsersData as SearchUsersData, type indexV1_SearchUsersError as SearchUsersError, type indexV1_SearchUsersErrors as SearchUsersErrors, type indexV1_SearchUsersResponse as SearchUsersResponse, type indexV1_SearchUsersResponses as SearchUsersResponses, type indexV1_Source as Source, type indexV1_Topic as Topic, type indexV1_UpdateAllNotificationsData as UpdateAllNotificationsData, type indexV1_UpdateAllNotificationsError as UpdateAllNotificationsError, type indexV1_UpdateAllNotificationsErrors as UpdateAllNotificationsErrors, type indexV1_UpdateAllNotificationsResponse as UpdateAllNotificationsResponse, type indexV1_UpdateAllNotificationsResponses as UpdateAllNotificationsResponses, type indexV1_UpdateNotificationData as UpdateNotificationData, type indexV1_UpdateNotificationError as UpdateNotificationError, type indexV1_UpdateNotificationErrors as UpdateNotificationErrors, type indexV1_UpdateNotificationResponse as UpdateNotificationResponse, type indexV1_UpdateNotificationResponses as UpdateNotificationResponses, type indexV1_UpdateNotificationsPreferencesData as UpdateNotificationsPreferencesData, type indexV1_UpdateNotificationsPreferencesError as UpdateNotificationsPreferencesError, type indexV1_UpdateNotificationsPreferencesErrors as UpdateNotificationsPreferencesErrors, type indexV1_UpdateNotificationsPreferencesResponse as UpdateNotificationsPreferencesResponse, type indexV1_UpdateNotificationsPreferencesResponses as UpdateNotificationsPreferencesResponses, type indexV1_UpdatePreferencesRequestBody as UpdatePreferencesRequestBody, type indexV1_UpdateUserProfileData as UpdateUserProfileData, type indexV1_UpdateUserProfileError as UpdateUserProfileError, type indexV1_UpdateUserProfileErrors as UpdateUserProfileErrors, type indexV1_UpdateUserProfileRequest as UpdateUserProfileRequest, type indexV1_UpdateUserProfileResponse as UpdateUserProfileResponse, type indexV1_UpdateUserProfileResponses as UpdateUserProfileResponses, type indexV1_User as User, type indexV1_UserProfile as UserProfile, type indexV1_UserRelation as UserRelation, type indexV1_UsersPaginatedResponse as UsersPaginatedResponse, indexV1_client as client, indexV1_createFacilityOfferOrder as createFacilityOfferOrder, indexV1_getNotificationById as getNotificationById, indexV1_getNotifications as getNotifications, indexV1_getNotificationsPreferences as getNotificationsPreferences, indexV1_listFacilityOffers as listFacilityOffers, reactQuery_gen as queries, schemas_gen as schemas, indexV1_searchUsers as searchUsers, indexV1_updateAllNotifications as updateAllNotifications, indexV1_updateNotification as updateNotification, indexV1_updateNotificationsPreferences as updateNotificationsPreferences, indexV1_updateUserProfile as updateUserProfile };
5559
+ 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_FacilityPermission as FacilityPermission, type indexV1_FacilityPermissionsResponse as FacilityPermissionsResponse, type indexV1_FacilityPunchCardData as FacilityPunchCardData, type indexV1_FacilityValueCardData as FacilityValueCardData, type indexV1_Gender as Gender, type indexV1_GetNotificationByIdData as GetNotificationByIdData, type indexV1_GetNotificationByIdError as GetNotificationByIdError, type indexV1_GetNotificationByIdErrors as GetNotificationByIdErrors, type indexV1_GetNotificationByIdResponse as GetNotificationByIdResponse, type indexV1_GetNotificationByIdResponses as GetNotificationByIdResponses, type indexV1_GetNotificationsData as GetNotificationsData, type indexV1_GetNotificationsError as GetNotificationsError, type indexV1_GetNotificationsErrors as GetNotificationsErrors, type indexV1_GetNotificationsPreferencesData as GetNotificationsPreferencesData, type indexV1_GetNotificationsPreferencesError as GetNotificationsPreferencesError, type indexV1_GetNotificationsPreferencesErrors as GetNotificationsPreferencesErrors, type indexV1_GetNotificationsPreferencesResponse as GetNotificationsPreferencesResponse, type indexV1_GetNotificationsPreferencesResponses as GetNotificationsPreferencesResponses, type indexV1_GetNotificationsResponse as GetNotificationsResponse, type indexV1_GetNotificationsResponses as GetNotificationsResponses, type indexV1_GetUserFacilityPermissionsData as GetUserFacilityPermissionsData, type indexV1_GetUserFacilityPermissionsError as GetUserFacilityPermissionsError, type indexV1_GetUserFacilityPermissionsErrors as GetUserFacilityPermissionsErrors, type indexV1_GetUserFacilityPermissionsResponse as GetUserFacilityPermissionsResponse, type indexV1_GetUserFacilityPermissionsResponses as GetUserFacilityPermissionsResponses, type indexV1_ListFacilityOffersData as ListFacilityOffersData, type indexV1_ListFacilityOffersError as ListFacilityOffersError, type indexV1_ListFacilityOffersErrors as ListFacilityOffersErrors, type indexV1_ListFacilityOffersResponse as ListFacilityOffersResponse, type indexV1_ListFacilityOffersResponses as ListFacilityOffersResponses, type indexV1_Metadata as Metadata, type indexV1_Notification as Notification, type indexV1_NotificationPayload as NotificationPayload, type indexV1_NotificationRequestBody as NotificationRequestBody, type indexV1_NotificationsFilter as NotificationsFilter, type indexV1_NotificationsFilterParam as NotificationsFilterParam, type indexV1_NotificationsPaginatedResponse as NotificationsPaginatedResponse, type indexV1_NotificationsSummary as NotificationsSummary, type indexV1_OfferIdPath as OfferIdPath, type indexV1_Options as Options, type indexV1_PkgOpenapiSharedCursorLimitParam as PkgOpenapiSharedCursorLimitParam, type indexV1_PkgOpenapiSharedCursorPaginatedResultSet as PkgOpenapiSharedCursorPaginatedResultSet, type indexV1_PkgOpenapiSharedCursorParam as PkgOpenapiSharedCursorParam, type indexV1_PkgOpenapiSharedError as PkgOpenapiSharedError, type indexV1_PkgOpenapiSharedErrors as PkgOpenapiSharedErrors, type indexV1_PkgOpenapiSharedOffsetLimitParam as PkgOpenapiSharedOffsetLimitParam, type indexV1_PkgOpenapiSharedOffsetPaginatedResultSet as PkgOpenapiSharedOffsetPaginatedResultSet, type indexV1_PkgOpenapiSharedOffsetParam as PkgOpenapiSharedOffsetParam, type indexV1_PkgOpenapiSharedProblemDetails as PkgOpenapiSharedProblemDetails, type indexV1_Preference as Preference, type indexV1_PreferencesResponse as PreferencesResponse, type indexV1_SearchUsersData as SearchUsersData, type indexV1_SearchUsersError as SearchUsersError, type indexV1_SearchUsersErrors as SearchUsersErrors, type indexV1_SearchUsersResponse as SearchUsersResponse, type indexV1_SearchUsersResponses as SearchUsersResponses, type indexV1_Source as Source, type indexV1_Topic as Topic, type indexV1_UpdateAllNotificationsData as UpdateAllNotificationsData, type indexV1_UpdateAllNotificationsError as UpdateAllNotificationsError, type indexV1_UpdateAllNotificationsErrors as UpdateAllNotificationsErrors, type indexV1_UpdateAllNotificationsResponse as UpdateAllNotificationsResponse, type indexV1_UpdateAllNotificationsResponses as UpdateAllNotificationsResponses, type indexV1_UpdateNotificationData as UpdateNotificationData, type indexV1_UpdateNotificationError as UpdateNotificationError, type indexV1_UpdateNotificationErrors as UpdateNotificationErrors, type indexV1_UpdateNotificationResponse as UpdateNotificationResponse, type indexV1_UpdateNotificationResponses as UpdateNotificationResponses, type indexV1_UpdateNotificationsPreferencesData as UpdateNotificationsPreferencesData, type indexV1_UpdateNotificationsPreferencesError as UpdateNotificationsPreferencesError, type indexV1_UpdateNotificationsPreferencesErrors as UpdateNotificationsPreferencesErrors, type indexV1_UpdateNotificationsPreferencesResponse as UpdateNotificationsPreferencesResponse, type indexV1_UpdateNotificationsPreferencesResponses as UpdateNotificationsPreferencesResponses, type indexV1_UpdatePreferencesRequestBody as UpdatePreferencesRequestBody, type indexV1_UpdateUserProfileData as UpdateUserProfileData, type indexV1_UpdateUserProfileError as UpdateUserProfileError, type indexV1_UpdateUserProfileErrors as UpdateUserProfileErrors, type indexV1_UpdateUserProfileRequest as UpdateUserProfileRequest, type indexV1_UpdateUserProfileResponse as UpdateUserProfileResponse, type indexV1_UpdateUserProfileResponses as UpdateUserProfileResponses, type indexV1_User as User, type indexV1_UserProfile as UserProfile, type indexV1_UserRelation as UserRelation, type indexV1_UsersPaginatedResponse as UsersPaginatedResponse, indexV1_client as client, indexV1_createFacilityOfferOrder as createFacilityOfferOrder, indexV1_getNotificationById as getNotificationById, indexV1_getNotifications as getNotifications, indexV1_getNotificationsPreferences as getNotificationsPreferences, indexV1_getUserFacilityPermissions as getUserFacilityPermissions, 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 };
5438
5560
  }
5439
5561
 
5440
5562
  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 };