@bookinglab/booking-journey-api 2.10.0 → 2.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1222,6 +1222,358 @@ interface BookingLabGetQuestionsResponse {
1222
1222
  _links?: Record<string, any>;
1223
1223
  [key: string]: any;
1224
1224
  }
1225
+ interface BookingLabDay {
1226
+ start_date: string;
1227
+ count: number;
1228
+ available: boolean;
1229
+ }
1230
+ interface BookingLabGetDaysParams {
1231
+ resource_id?: number;
1232
+ }
1233
+ interface BookingLabGetDaysResponse {
1234
+ dates: BookingLabDay[];
1235
+ _links?: Record<string, any>;
1236
+ [key: string]: any;
1237
+ }
1238
+ interface BookingLabTime {
1239
+ start: string;
1240
+ available: boolean;
1241
+ _links?: Record<string, any>;
1242
+ }
1243
+ interface BookingLabGetTimesParams {
1244
+ /** Comma-separated list of resource IDs, e.g. "1,2,3" */
1245
+ resource_ids?: string;
1246
+ }
1247
+ interface BookingLabGetTimesResponse {
1248
+ times: BookingLabTime[];
1249
+ _links?: Record<string, any>;
1250
+ [key: string]: any;
1251
+ }
1252
+ interface BookingLabAddBasketServiceItemQuestion {
1253
+ id: string | number;
1254
+ answer: string;
1255
+ [key: string]: any;
1256
+ }
1257
+ interface BookingLabAddBasketServiceItemRequest {
1258
+ company_id: number;
1259
+ start: string;
1260
+ service_id: number;
1261
+ duration: number;
1262
+ questions: BookingLabAddBasketServiceItemQuestion[];
1263
+ [key: string]: any;
1264
+ }
1265
+ interface BookingLabAddBasketServiceItemHeaders {
1266
+ clientToken: string;
1267
+ authToken: string;
1268
+ companyId: number;
1269
+ }
1270
+ interface BookingLabHeldAsset {
1271
+ company_id: number;
1272
+ resource_id: number;
1273
+ }
1274
+ interface BookingLabAddBasketServiceItemResponse {
1275
+ id: string;
1276
+ type: string;
1277
+ company_id: number;
1278
+ service_id: number;
1279
+ resource_id?: number;
1280
+ questions: BookingLabAddBasketServiceItemQuestion[];
1281
+ duration: number;
1282
+ start: string;
1283
+ expires: string;
1284
+ total_price: number;
1285
+ total_price_in_major_units: number;
1286
+ requested_assets: any[];
1287
+ held_assets: BookingLabHeldAsset[];
1288
+ _links?: Record<string, {
1289
+ href: string;
1290
+ templated?: boolean;
1291
+ }>;
1292
+ [key: string]: any;
1293
+ }
1294
+ interface BookingLabCreateBasketRequest {
1295
+ company_id: number;
1296
+ }
1297
+ interface BookingLabCreateBasketHeaders {
1298
+ clientToken: string;
1299
+ companyId: number;
1300
+ authToken?: string;
1301
+ memberId?: number;
1302
+ }
1303
+ interface BookingLabCreateBasketResponse {
1304
+ id: string;
1305
+ company_id: number;
1306
+ total_price: number;
1307
+ total_due_price: number;
1308
+ total_price_in_major_units: number;
1309
+ total_due_price_in_major_units: number;
1310
+ service_items: any[];
1311
+ event_items: any[];
1312
+ _embedded?: {
1313
+ items: any[];
1314
+ items_removed: any[];
1315
+ };
1316
+ _links?: Record<string, any>;
1317
+ [key: string]: any;
1318
+ }
1319
+ interface BookingLabCheckoutBasketRequest {
1320
+ company_id: number;
1321
+ client: {
1322
+ id: number;
1323
+ [key: string]: any;
1324
+ };
1325
+ [key: string]: any;
1326
+ }
1327
+ interface BookingLabCheckoutBasketHeaders {
1328
+ clientToken: string;
1329
+ authToken: string;
1330
+ companyId: number;
1331
+ }
1332
+ interface BookingLabCheckoutBasketBooking {
1333
+ id: number;
1334
+ full_describe?: string;
1335
+ describe?: string;
1336
+ resource_name?: string;
1337
+ datetime?: string;
1338
+ end_datetime?: string;
1339
+ duration?: number;
1340
+ duration_span?: number;
1341
+ listed_duration?: number;
1342
+ on_waitlist?: boolean;
1343
+ company_id?: number;
1344
+ attended?: boolean;
1345
+ price?: number;
1346
+ due_now?: number;
1347
+ paid?: number;
1348
+ quantity?: number;
1349
+ event_id?: number;
1350
+ service_id?: number;
1351
+ purchase_id?: number;
1352
+ purchase_ref?: string;
1353
+ settings?: Record<string, any>;
1354
+ slot_settings?: Record<string, any>;
1355
+ min_cancellation_time?: string;
1356
+ service_name?: string;
1357
+ time_zone?: string;
1358
+ address?: Record<string, any>;
1359
+ booking_type?: string;
1360
+ slot_id?: number;
1361
+ first_name?: string;
1362
+ last_name?: string;
1363
+ email?: string;
1364
+ is_cancelled?: boolean;
1365
+ _embedded?: {
1366
+ answers?: any[];
1367
+ survey_answers?: any[];
1368
+ [key: string]: any;
1369
+ };
1370
+ person_ids?: number[];
1371
+ price_in_major_units?: number;
1372
+ paid_in_major_units?: number;
1373
+ due_now_in_major_units?: number;
1374
+ method_of_appointment?: string;
1375
+ status?: number;
1376
+ member_can_confirm_now?: boolean;
1377
+ member_will_need_to_confirm_in_the_future?: boolean;
1378
+ notification_preferences?: Record<string, any>;
1379
+ _links?: Record<string, {
1380
+ href: string;
1381
+ templated?: boolean;
1382
+ }>;
1383
+ [key: string]: any;
1384
+ }
1385
+ interface BookingLabCheckoutBasketEmbeddedClient {
1386
+ first_name?: string;
1387
+ last_name?: string;
1388
+ name?: string;
1389
+ email?: string;
1390
+ country?: string;
1391
+ mobile?: string;
1392
+ phone_prefix?: string;
1393
+ phone_prefix_country_code?: string;
1394
+ mobile_prefix?: string;
1395
+ mobile_prefix_country_code?: string;
1396
+ id: number;
1397
+ answers?: Array<{
1398
+ question_id: number;
1399
+ name: string;
1400
+ answer: any;
1401
+ answer_id: any;
1402
+ }>;
1403
+ deleted?: boolean;
1404
+ notifications?: Record<string, any>;
1405
+ default_company_id?: number;
1406
+ locale?: string;
1407
+ consent?: boolean;
1408
+ notification_preferences?: Record<string, any>;
1409
+ _links?: Record<string, {
1410
+ href: string;
1411
+ templated?: boolean;
1412
+ }>;
1413
+ [key: string]: any;
1414
+ }
1415
+ interface BookingLabCheckoutBasketEmbeddedMember {
1416
+ id: number;
1417
+ name?: string;
1418
+ first_name?: string;
1419
+ last_name?: string;
1420
+ wallet_amount?: number;
1421
+ email?: string;
1422
+ country?: string;
1423
+ phone_prefix?: string;
1424
+ phone_prefix_country_code?: string;
1425
+ mobile?: string;
1426
+ mobile_prefix?: string;
1427
+ mobile_prefix_country_code?: string;
1428
+ path?: string;
1429
+ company_id?: number;
1430
+ has_active_wallet?: boolean;
1431
+ default_company_id?: number;
1432
+ has_wallet?: boolean;
1433
+ consent?: boolean;
1434
+ locale?: string;
1435
+ answers?: Array<{
1436
+ question_id: number;
1437
+ name: string;
1438
+ answer: any;
1439
+ }>;
1440
+ q?: Record<string, {
1441
+ answer: any;
1442
+ answer_id: any;
1443
+ name: string;
1444
+ }>;
1445
+ _links?: Record<string, {
1446
+ href: string;
1447
+ templated?: boolean;
1448
+ }>;
1449
+ [key: string]: any;
1450
+ }
1451
+ interface BookingLabDeleteBasketHeaders {
1452
+ clientToken: string;
1453
+ authToken: string;
1454
+ companyId: number;
1455
+ }
1456
+ interface BookingLabDeleteBasketResponse {
1457
+ [key: string]: any;
1458
+ }
1459
+ interface BookingLabCheckoutBasketResponse {
1460
+ total_price: number;
1461
+ price: number;
1462
+ paid: number;
1463
+ deposit: number;
1464
+ tax_payable_on_price?: number;
1465
+ tax_payable_on_deposit?: number;
1466
+ tax_payable_on_due_now?: number;
1467
+ due_now?: number;
1468
+ long_id: string;
1469
+ id: number;
1470
+ client_name?: string;
1471
+ created_at?: string;
1472
+ certificate_paid?: number;
1473
+ payment_type?: string;
1474
+ original_price?: number;
1475
+ payment_reference?: any[];
1476
+ _embedded?: {
1477
+ client?: BookingLabCheckoutBasketEmbeddedClient;
1478
+ member?: BookingLabCheckoutBasketEmbeddedMember;
1479
+ bookings?: BookingLabCheckoutBasketBooking[];
1480
+ packages?: any[];
1481
+ products?: any[];
1482
+ pre_paid_bookings?: any[];
1483
+ deals?: any[];
1484
+ course_bookings?: any[];
1485
+ external_purchases?: any[];
1486
+ payment_callbacks?: any[];
1487
+ confirm_messages?: any[];
1488
+ [key: string]: any;
1489
+ };
1490
+ refund?: {
1491
+ amount_refunded: number;
1492
+ amount_remaining: number;
1493
+ };
1494
+ price_in_major_units?: number;
1495
+ total_price_in_major_units?: number;
1496
+ paid_in_major_units?: number;
1497
+ deposit_in_major_units?: number;
1498
+ tax_payable_on_price_in_major_units?: number;
1499
+ tax_payable_on_deposit_in_major_units?: number;
1500
+ tax_payable_on_due_now_in_major_units?: number;
1501
+ due_now_in_major_units?: number;
1502
+ _links?: Record<string, {
1503
+ href: string;
1504
+ templated?: boolean;
1505
+ type?: string;
1506
+ }>;
1507
+ [key: string]: any;
1508
+ }
1509
+ interface OrdnanceAddressDPA {
1510
+ UPRN?: string;
1511
+ UDPRN?: string;
1512
+ ADDRESS: string;
1513
+ BUILDING_NUMBER?: string;
1514
+ BUILDING_NAME?: string;
1515
+ SUB_BUILDING_NAME?: string;
1516
+ ORGANISATION_NAME?: string;
1517
+ DEPARTMENT_NAME?: string;
1518
+ THOROUGHFARE_NAME?: string;
1519
+ DEPENDENT_THOROUGHFARE_NAME?: string;
1520
+ DEPENDENT_LOCALITY?: string;
1521
+ DOUBLE_DEPENDENT_LOCALITY?: string;
1522
+ POST_TOWN?: string;
1523
+ POSTCODE?: string;
1524
+ RPC?: string;
1525
+ X_COORDINATE?: number;
1526
+ Y_COORDINATE?: number;
1527
+ STATUS?: string;
1528
+ LOGICAL_STATUS_CODE?: string;
1529
+ CLASSIFICATION_CODE?: string;
1530
+ CLASSIFICATION_CODE_DESCRIPTION?: string;
1531
+ LOCAL_CUSTODIAN_CODE?: number;
1532
+ LOCAL_CUSTODIAN_CODE_DESCRIPTION?: string;
1533
+ COUNTRY_CODE?: string;
1534
+ COUNTRY_CODE_DESCRIPTION?: string;
1535
+ POSTAL_ADDRESS_CODE?: string;
1536
+ POSTAL_ADDRESS_CODE_DESCRIPTION?: string;
1537
+ BLPU_STATE_CODE?: string;
1538
+ BLPU_STATE_CODE_DESCRIPTION?: string;
1539
+ LAST_UPDATE_DATE?: string;
1540
+ ENTRY_DATE?: string;
1541
+ LANGUAGE?: string;
1542
+ MATCH?: number;
1543
+ MATCH_DESCRIPTION?: string;
1544
+ DELIVERY_POINT_SUFFIX?: string;
1545
+ [key: string]: any;
1546
+ }
1547
+ interface OrdnanceAddressLPI {
1548
+ UPRN?: string;
1549
+ ADDRESS: string;
1550
+ USRN?: string;
1551
+ LPI_KEY?: string;
1552
+ PAO_START_NUMBER?: string;
1553
+ PAO_TEXT?: string;
1554
+ STREET_DESCRIPTION?: string;
1555
+ TOWN_NAME?: string;
1556
+ ADMINISTRATIVE_AREA?: string;
1557
+ POSTCODE_LOCATOR?: string;
1558
+ CLASSIFICATION_CODE?: string;
1559
+ CLASSIFICATION_CODE_DESCRIPTION?: string;
1560
+ STREET_STATE_CODE?: string;
1561
+ STREET_STATE_CODE_DESCRIPTION?: string;
1562
+ STREET_CLASSIFICATION_CODE?: string;
1563
+ STREET_CLASSIFICATION_CODE_DESCRIPTION?: string;
1564
+ LPI_LOGICAL_STATUS_CODE?: string;
1565
+ LPI_LOGICAL_STATUS_CODE_DESCRIPTION?: string;
1566
+ MATCH?: number;
1567
+ MATCH_DESCRIPTION?: string;
1568
+ [key: string]: any;
1569
+ }
1570
+ interface OrdnanceAddressResult {
1571
+ DPA?: OrdnanceAddressDPA;
1572
+ LPI?: OrdnanceAddressLPI;
1573
+ }
1574
+ interface OrdnanceAddressLookupResponse {
1575
+ results: OrdnanceAddressResult[];
1576
+ }
1225
1577
 
1226
1578
  /**
1227
1579
  * Core API Client
@@ -1402,6 +1754,57 @@ declare class BookingLabClient extends ApiClient {
1402
1754
  * @param clientToken - Client token for authentication
1403
1755
  */
1404
1756
  getCompanyQuestions(companyId: number, detailGroupId: number, clientToken: string): Promise<ApiResponse<BookingLabGetQuestionsResponse>>;
1757
+ /**
1758
+ * Get available days for a service within a date range
1759
+ * @param companyId - The company ID
1760
+ * @param serviceId - The service ID
1761
+ * @param fromDate - Start date (YYYY-MM-DD)
1762
+ * @param toDate - End date (YYYY-MM-DD)
1763
+ * @param clientToken - Client token for authentication
1764
+ * @param params - Optional query params (resource_id)
1765
+ */
1766
+ getDays(companyId: number, serviceId: number, fromDate: string, toDate: string, clientToken: string, params?: BookingLabGetDaysParams): Promise<ApiResponse<BookingLabGetDaysResponse>>;
1767
+ /**
1768
+ * Get available times for a service within a date range
1769
+ * @param companyId - The company ID
1770
+ * @param serviceId - The service ID
1771
+ * @param fromDate - Start date (YYYY-MM-DD)
1772
+ * @param toDate - End date (YYYY-MM-DD)
1773
+ * @param clientToken - Client token for authentication
1774
+ * @param params - Optional query params (duration, resource_id, person_id)
1775
+ */
1776
+ getTimes(companyId: number, serviceId: number, fromDate: string, toDate: string, clientToken: string, params?: BookingLabGetTimesParams): Promise<ApiResponse<BookingLabGetTimesResponse>>;
1777
+ /**
1778
+ * Create a new basket (BookingLab public)
1779
+ * @param request - Body with company_id
1780
+ * @param headers - Required clientToken/companyId; optional authToken/memberId
1781
+ */
1782
+ createBasket(request: BookingLabCreateBasketRequest, headers: BookingLabCreateBasketHeaders): Promise<ApiResponse<BookingLabCreateBasketResponse>>;
1783
+ /**
1784
+ * Add a service item to a public basket (BookingLab)
1785
+ * @param basketId - The basket ID
1786
+ * @param request - Service item body
1787
+ * @param headers - Required clientToken/authToken/companyId
1788
+ */
1789
+ addBasketServiceItem(basketId: string, request: BookingLabAddBasketServiceItemRequest, headers: BookingLabAddBasketServiceItemHeaders): Promise<ApiResponse<BookingLabAddBasketServiceItemResponse>>;
1790
+ /**
1791
+ * Checkout a public basket (BookingLab)
1792
+ * @param basketId - The basket ID
1793
+ * @param request - Body with company_id and client.id
1794
+ * @param headers - Required clientToken/authToken/companyId
1795
+ */
1796
+ checkoutBasketPublic(basketId: string, request: BookingLabCheckoutBasketRequest, headers: BookingLabCheckoutBasketHeaders): Promise<ApiResponse<BookingLabCheckoutBasketResponse>>;
1797
+ /**
1798
+ * Delete a public basket (BookingLab)
1799
+ * @param headers - Required clientToken/authToken/companyId
1800
+ */
1801
+ deleteBasketPublic(headers: BookingLabDeleteBasketHeaders): Promise<ApiResponse<BookingLabDeleteBasketResponse>>;
1802
+ /**
1803
+ * Look up UK addresses by postcode via Ordnance Survey
1804
+ * @param postcode - UK postcode
1805
+ * @param clientToken - Client token for authentication
1806
+ */
1807
+ getOrdnanceAddressLookup(postcode: string, clientToken: string): Promise<ApiResponse<OrdnanceAddressLookupResponse>>;
1405
1808
  }
1406
1809
  /**
1407
1810
  * Create a new BookingLab client instance
@@ -1842,5 +2245,49 @@ declare function useBookingLabCompanies(clientToken: string, params?: BookingLab
1842
2245
  * @param enabled - Whether the query should run
1843
2246
  */
1844
2247
  declare function useBookingLabQuestions(companyId: number, detailGroupId: number, clientToken: string, enabled?: boolean): _tanstack_react_query.UseQueryResult<BookingLabGetQuestionsResponse, Error>;
2248
+ /**
2249
+ * Hook for fetching available days for a service within a date range (BookingLab)
2250
+ */
2251
+ declare function useBookingLabDays(companyId: number, serviceId: number, fromDate: string, toDate: string, clientToken: string, params?: BookingLabGetDaysParams, enabled?: boolean): _tanstack_react_query.UseQueryResult<BookingLabGetDaysResponse, Error>;
2252
+ /**
2253
+ * Hook for fetching available times for a company/service (BookingLab)
2254
+ */
2255
+ declare function useBookingLabTimes(companyId: number, serviceId: number, fromDate: string, toDate: string, clientToken: string, params?: BookingLabGetTimesParams, enabled?: boolean): _tanstack_react_query.UseQueryResult<BookingLabGetTimesResponse, Error>;
2256
+ /**
2257
+ * Hook for creating a new basket (BookingLab)
2258
+ */
2259
+ declare function useBookingLabCreateBasket(): _tanstack_react_query.UseMutationResult<BookingLabCreateBasketResponse, Error, {
2260
+ request: BookingLabCreateBasketRequest;
2261
+ headers: BookingLabCreateBasketHeaders;
2262
+ }, unknown>;
2263
+ /**
2264
+ * Hook for adding a service item to a public basket (BookingLab)
2265
+ */
2266
+ declare function useBookingLabAddBasketServiceItem(): _tanstack_react_query.UseMutationResult<BookingLabAddBasketServiceItemResponse, Error, {
2267
+ basketId: string;
2268
+ request: BookingLabAddBasketServiceItemRequest;
2269
+ headers: BookingLabAddBasketServiceItemHeaders;
2270
+ }, unknown>;
2271
+ /**
2272
+ * Hook for checking out a public basket (BookingLab)
2273
+ */
2274
+ declare function useBookingLabCheckoutBasket(): _tanstack_react_query.UseMutationResult<BookingLabCheckoutBasketResponse, Error, {
2275
+ basketId: string;
2276
+ request: BookingLabCheckoutBasketRequest;
2277
+ headers: BookingLabCheckoutBasketHeaders;
2278
+ }, unknown>;
2279
+ /**
2280
+ * Hook for deleting a public basket (BookingLab)
2281
+ */
2282
+ declare function useBookingLabDeleteBasket(): _tanstack_react_query.UseMutationResult<BookingLabDeleteBasketResponse, Error, {
2283
+ headers: BookingLabDeleteBasketHeaders;
2284
+ }, unknown>;
2285
+ /**
2286
+ * Hook for looking up UK addresses by postcode via Ordnance Survey (BookingLab)
2287
+ * @param postcode - UK postcode
2288
+ * @param clientToken - Client token for authentication
2289
+ * @param enabled - Whether the query should run
2290
+ */
2291
+ declare function useOrdnanceAddressLookup(postcode: string, clientToken: string, enabled?: boolean): _tanstack_react_query.UseQueryResult<OrdnanceAddressLookupResponse, Error>;
1845
2292
 
1846
- export { type AddBasketItemRequest, type AddServiceItemAssets, type AddServiceItemQuestion, type AddServiceItemRequest, ApiClient, type ApiClientConfig, ApiClientContext, ApiClientProvider, type ApiError, type ApiResponse, type AvailabilityTime, type AvailabilityTimesResponse, type Booking, type BookingAnswer, BookingLabClient, type BookingLabCompany, type BookingLabConfigPage, type BookingLabConfigProduct, type BookingLabConfigRequest, type BookingLabConfigResponse, type BookingLabConfigUserJourney, BookingLabContext, type BookingLabForgotPasswordRequest, type BookingLabForgotPasswordResponse, type BookingLabGetCompaniesParams, type BookingLabGetCompaniesResponse, type BookingLabGetQuestionsResponse, type BookingLabGetServicesResponse, type BookingLabGetTokenRequest, type BookingLabGetTokenResponse, BookingLabProvider, type BookingLabQuestion, type BookingLabService, type BookingPaymentItem, type BookingSettings, type CancelBookingRequest, type CancelBookingResponse, type CancelMemberBookingResponse, type CheckoutBasketClient, type CheckoutBasketRequest, type CheckoutBasketResponse, type ChildCompaniesResponse, type ChildCompany, type ChildCompanyAddress, type ChildCompanySettings, type ClearBasketsResponse, type ClientDetailsQuestion, type ClientDetailsResponse, type CompanyResponse, type CompanySettings, type CreateBasketRequest, type CreateBasketResponse, type CreateBookingRequest, type CreateClientRequest, type CreateClientResponse, type DateSlot, type DatesResponse, type FindClientByEmailResponse, type ForgottenPasswordRequest, type ForgottenPasswordResponse, type GetChildCompaniesParams, type GetDatesParams, type GetMemberResponse, type GetQuestionsParams, type GetTimesParams, type JrniBooking, JrniClient, type JrniConfig, JrniContext, JrniProvider, type JrniService, type ListBookingsParams, type ListBookingsResponse, type Location, type LocationsResponse, type LoginRequest, type LoginResponse, type MemberBooking, type MemberBookingsResponse, MemberType, type PersonImage, type PersonImagesResponse, type Question, type QuestionOption, type QuestionsResponse, type RequestOptions, type RescheduleBookingRequest, type RescheduleBookingResponse, type ResetPasswordRequest, type Resource, type ResourceLinks, type ResourcesResponse, type SendCustomEmailRequest, type SendCustomEmailResponse, type Service, type ServiceItemResponse, type ServicesResponse, type TimeSlot, type TimesResponse, type UpdateClientAnswer, type UpdateClientAnswerEntry, type UpdateClientDetailsData, type UpdateClientExtraInfo, type UpdateClientNotificationPreferences, type UpdateClientQuestionEntry, type UpdateClientRequest, type UpdateClientResponse, type UpdateMemberDetailsData, type UpdateMemberRequest, type UpdateMemberResponse, type Vehicle, type VehiclesResponse, createBookingLabClient, createJrniClient, useAddServiceItem, useApiClientContext, useBookingLabClient, useBookingLabCompanies, useBookingLabConfig, useBookingLabContext, useBookingLabForgotPassword, useBookingLabGetToken, useBookingLabQuestions, useBookingLabService, useBookingLabServices, useCancelBooking, useCancelMemberBooking, useCheckoutBasket, useChildCompanies, useClearBaskets, useClientDetails, useCompany, useCreateBasket, useCreateClient, useDates, useFindClientByEmail, useForgottenPassword, useGetMember, useJrniClient, useJrniContext, useListBookings, useLogin, useQuestions, useRescheduleBooking, useResetPassword, useResources, useSendCustomEmail, useServices, useTimes, useUpdateClient, useUpdateMember };
2293
+ export { type AddBasketItemRequest, type AddServiceItemAssets, type AddServiceItemQuestion, type AddServiceItemRequest, ApiClient, type ApiClientConfig, ApiClientContext, ApiClientProvider, type ApiError, type ApiResponse, type AvailabilityTime, type AvailabilityTimesResponse, type Booking, type BookingAnswer, type BookingLabAddBasketServiceItemHeaders, type BookingLabAddBasketServiceItemQuestion, type BookingLabAddBasketServiceItemRequest, type BookingLabAddBasketServiceItemResponse, type BookingLabCheckoutBasketBooking, type BookingLabCheckoutBasketEmbeddedClient, type BookingLabCheckoutBasketEmbeddedMember, type BookingLabCheckoutBasketHeaders, type BookingLabCheckoutBasketRequest, type BookingLabCheckoutBasketResponse, BookingLabClient, type BookingLabCompany, type BookingLabConfigPage, type BookingLabConfigProduct, type BookingLabConfigRequest, type BookingLabConfigResponse, type BookingLabConfigUserJourney, BookingLabContext, type BookingLabCreateBasketHeaders, type BookingLabCreateBasketRequest, type BookingLabCreateBasketResponse, type BookingLabDay, type BookingLabDeleteBasketHeaders, type BookingLabDeleteBasketResponse, type BookingLabForgotPasswordRequest, type BookingLabForgotPasswordResponse, type BookingLabGetCompaniesParams, type BookingLabGetCompaniesResponse, type BookingLabGetDaysParams, type BookingLabGetDaysResponse, type BookingLabGetQuestionsResponse, type BookingLabGetServicesResponse, type BookingLabGetTimesParams, type BookingLabGetTimesResponse, type BookingLabGetTokenRequest, type BookingLabGetTokenResponse, type BookingLabHeldAsset, BookingLabProvider, type BookingLabQuestion, type BookingLabService, type BookingLabTime, type BookingPaymentItem, type BookingSettings, type CancelBookingRequest, type CancelBookingResponse, type CancelMemberBookingResponse, type CheckoutBasketClient, type CheckoutBasketRequest, type CheckoutBasketResponse, type ChildCompaniesResponse, type ChildCompany, type ChildCompanyAddress, type ChildCompanySettings, type ClearBasketsResponse, type ClientDetailsQuestion, type ClientDetailsResponse, type CompanyResponse, type CompanySettings, type CreateBasketRequest, type CreateBasketResponse, type CreateBookingRequest, type CreateClientRequest, type CreateClientResponse, type DateSlot, type DatesResponse, type FindClientByEmailResponse, type ForgottenPasswordRequest, type ForgottenPasswordResponse, type GetChildCompaniesParams, type GetDatesParams, type GetMemberResponse, type GetQuestionsParams, type GetTimesParams, type JrniBooking, JrniClient, type JrniConfig, JrniContext, JrniProvider, type JrniService, type ListBookingsParams, type ListBookingsResponse, type Location, type LocationsResponse, type LoginRequest, type LoginResponse, type MemberBooking, type MemberBookingsResponse, MemberType, type OrdnanceAddressDPA, type OrdnanceAddressLPI, type OrdnanceAddressLookupResponse, type OrdnanceAddressResult, type PersonImage, type PersonImagesResponse, type Question, type QuestionOption, type QuestionsResponse, type RequestOptions, type RescheduleBookingRequest, type RescheduleBookingResponse, type ResetPasswordRequest, type Resource, type ResourceLinks, type ResourcesResponse, type SendCustomEmailRequest, type SendCustomEmailResponse, type Service, type ServiceItemResponse, type ServicesResponse, type TimeSlot, type TimesResponse, type UpdateClientAnswer, type UpdateClientAnswerEntry, type UpdateClientDetailsData, type UpdateClientExtraInfo, type UpdateClientNotificationPreferences, type UpdateClientQuestionEntry, type UpdateClientRequest, type UpdateClientResponse, type UpdateMemberDetailsData, type UpdateMemberRequest, type UpdateMemberResponse, type Vehicle, type VehiclesResponse, createBookingLabClient, createJrniClient, useAddServiceItem, useApiClientContext, useBookingLabAddBasketServiceItem, useBookingLabCheckoutBasket, useBookingLabClient, useBookingLabCompanies, useBookingLabConfig, useBookingLabContext, useBookingLabCreateBasket, useBookingLabDays, useBookingLabDeleteBasket, useBookingLabForgotPassword, useBookingLabGetToken, useBookingLabQuestions, useBookingLabService, useBookingLabServices, useBookingLabTimes, useCancelBooking, useCancelMemberBooking, useCheckoutBasket, useChildCompanies, useClearBaskets, useClientDetails, useCompany, useCreateBasket, useCreateClient, useDates, useFindClientByEmail, useForgottenPassword, useGetMember, useJrniClient, useJrniContext, useListBookings, useLogin, useOrdnanceAddressLookup, useQuestions, useRescheduleBooking, useResetPassword, useResources, useSendCustomEmail, useServices, useTimes, useUpdateClient, useUpdateMember };