@voyant-travel/bookings-react 0.138.5 → 0.138.7

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.
@@ -297,17 +297,102 @@ export declare function getBookingQueryOptions(client: FetchWithValidationOption
297
297
  internalNotes: string | null;
298
298
  createdAt: string;
299
299
  updatedAt: string;
300
- startsAt?: string | null | undefined;
301
- endsAt?: string | null | undefined;
302
- items?: {
300
+ items: {
303
301
  id: string;
302
+ bookingId: string;
304
303
  title: string;
305
- itemType: string;
304
+ description: string | null;
305
+ itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
306
+ status: "draft" | "cancelled" | "fulfilled" | "on_hold" | "confirmed" | "expired";
307
+ serviceDate: string | null;
308
+ startsAt: string | null;
309
+ endsAt: string | null;
310
+ quantity: number;
311
+ sellCurrency: string;
312
+ unitSellAmountCents: number | null;
313
+ totalSellAmountCents: number | null;
314
+ costCurrency: string | null;
315
+ unitCostAmountCents: number | null;
316
+ totalCostAmountCents: number | null;
317
+ notes: string | null;
306
318
  productId: string | null;
307
- productName?: string | null | undefined;
308
- startsAt?: string | null | undefined;
309
- endsAt?: string | null | undefined;
310
- }[] | undefined;
319
+ optionId: string | null;
320
+ optionUnitId: string | null;
321
+ pricingCategoryId: string | null;
322
+ availabilitySlotId: string | null;
323
+ createdAt: string;
324
+ updatedAt: string;
325
+ productNameSnapshot?: string | null | undefined;
326
+ optionNameSnapshot?: string | null | undefined;
327
+ unitNameSnapshot?: string | null | undefined;
328
+ departureLabelSnapshot?: string | null | undefined;
329
+ }[];
330
+ travelers: ({
331
+ id: string;
332
+ bookingId: string;
333
+ participantType: string;
334
+ firstName: string;
335
+ lastName: string;
336
+ email: string | null;
337
+ phone: string | null;
338
+ specialRequests: string | null;
339
+ isPrimary: boolean;
340
+ createdAt: string;
341
+ travelerCategory?: string | null | undefined;
342
+ personId?: string | null | undefined;
343
+ preferredLanguage?: string | null | undefined;
344
+ notes?: string | null | undefined;
345
+ updatedAt?: string | undefined;
346
+ } | {
347
+ id: string;
348
+ bookingId: string;
349
+ participantType: string;
350
+ firstName: string;
351
+ lastName: string;
352
+ email: string | null;
353
+ phone: string | null;
354
+ specialRequests: string | null;
355
+ isPrimary: boolean;
356
+ createdAt: string;
357
+ travelDetails: {
358
+ travelerId: string;
359
+ nationality: string | null;
360
+ documentType: "other" | "passport" | "id_card" | "driver_license" | "visa" | null;
361
+ documentNumber: string | null;
362
+ documentExpiry: string | null;
363
+ documentIssuingCountry: string | null;
364
+ documentIssuingAuthority: string | null;
365
+ documentPersonDocumentId: string | null;
366
+ dateOfBirth: string | null;
367
+ dietaryRequirements: string | null;
368
+ accessibilityNeeds: string | null;
369
+ isLeadTraveler: boolean;
370
+ sharingGroupId: string | null;
371
+ roomTypeId: string | null;
372
+ bedPreference: "double" | "single" | "twin" | "no-preference" | null;
373
+ allocations: Record<string, string>;
374
+ createdAt: string;
375
+ updatedAt: string;
376
+ } | null;
377
+ travelerCategory?: string | null | undefined;
378
+ personId?: string | null | undefined;
379
+ preferredLanguage?: string | null | undefined;
380
+ notes?: string | null | undefined;
381
+ updatedAt?: string | undefined;
382
+ })[];
383
+ documents: {
384
+ id: string;
385
+ bookingId: string;
386
+ travelerId: string | null;
387
+ type: "other" | "visa" | "insurance" | "health" | "passport_copy";
388
+ fileName: string;
389
+ fileUrl: string;
390
+ expiresAt: string | null;
391
+ notes: string | null;
392
+ createdAt: string;
393
+ }[];
394
+ startsAt?: string | null | undefined;
395
+ endsAt?: string | null | undefined;
311
396
  communicationLanguage?: string | null | undefined;
312
397
  contactFirstName?: string | null | undefined;
313
398
  contactLastName?: string | null | undefined;
@@ -359,17 +444,102 @@ export declare function getBookingQueryOptions(client: FetchWithValidationOption
359
444
  internalNotes: string | null;
360
445
  createdAt: string;
361
446
  updatedAt: string;
362
- startsAt?: string | null | undefined;
363
- endsAt?: string | null | undefined;
364
- items?: {
447
+ items: {
365
448
  id: string;
449
+ bookingId: string;
366
450
  title: string;
367
- itemType: string;
451
+ description: string | null;
452
+ itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
453
+ status: "draft" | "cancelled" | "fulfilled" | "on_hold" | "confirmed" | "expired";
454
+ serviceDate: string | null;
455
+ startsAt: string | null;
456
+ endsAt: string | null;
457
+ quantity: number;
458
+ sellCurrency: string;
459
+ unitSellAmountCents: number | null;
460
+ totalSellAmountCents: number | null;
461
+ costCurrency: string | null;
462
+ unitCostAmountCents: number | null;
463
+ totalCostAmountCents: number | null;
464
+ notes: string | null;
368
465
  productId: string | null;
369
- productName?: string | null | undefined;
370
- startsAt?: string | null | undefined;
371
- endsAt?: string | null | undefined;
372
- }[] | undefined;
466
+ optionId: string | null;
467
+ optionUnitId: string | null;
468
+ pricingCategoryId: string | null;
469
+ availabilitySlotId: string | null;
470
+ createdAt: string;
471
+ updatedAt: string;
472
+ productNameSnapshot?: string | null | undefined;
473
+ optionNameSnapshot?: string | null | undefined;
474
+ unitNameSnapshot?: string | null | undefined;
475
+ departureLabelSnapshot?: string | null | undefined;
476
+ }[];
477
+ travelers: ({
478
+ id: string;
479
+ bookingId: string;
480
+ participantType: string;
481
+ firstName: string;
482
+ lastName: string;
483
+ email: string | null;
484
+ phone: string | null;
485
+ specialRequests: string | null;
486
+ isPrimary: boolean;
487
+ createdAt: string;
488
+ travelerCategory?: string | null | undefined;
489
+ personId?: string | null | undefined;
490
+ preferredLanguage?: string | null | undefined;
491
+ notes?: string | null | undefined;
492
+ updatedAt?: string | undefined;
493
+ } | {
494
+ id: string;
495
+ bookingId: string;
496
+ participantType: string;
497
+ firstName: string;
498
+ lastName: string;
499
+ email: string | null;
500
+ phone: string | null;
501
+ specialRequests: string | null;
502
+ isPrimary: boolean;
503
+ createdAt: string;
504
+ travelDetails: {
505
+ travelerId: string;
506
+ nationality: string | null;
507
+ documentType: "other" | "passport" | "id_card" | "driver_license" | "visa" | null;
508
+ documentNumber: string | null;
509
+ documentExpiry: string | null;
510
+ documentIssuingCountry: string | null;
511
+ documentIssuingAuthority: string | null;
512
+ documentPersonDocumentId: string | null;
513
+ dateOfBirth: string | null;
514
+ dietaryRequirements: string | null;
515
+ accessibilityNeeds: string | null;
516
+ isLeadTraveler: boolean;
517
+ sharingGroupId: string | null;
518
+ roomTypeId: string | null;
519
+ bedPreference: "double" | "single" | "twin" | "no-preference" | null;
520
+ allocations: Record<string, string>;
521
+ createdAt: string;
522
+ updatedAt: string;
523
+ } | null;
524
+ travelerCategory?: string | null | undefined;
525
+ personId?: string | null | undefined;
526
+ preferredLanguage?: string | null | undefined;
527
+ notes?: string | null | undefined;
528
+ updatedAt?: string | undefined;
529
+ })[];
530
+ documents: {
531
+ id: string;
532
+ bookingId: string;
533
+ travelerId: string | null;
534
+ type: "other" | "visa" | "insurance" | "health" | "passport_copy";
535
+ fileName: string;
536
+ fileUrl: string;
537
+ expiresAt: string | null;
538
+ notes: string | null;
539
+ createdAt: string;
540
+ }[];
541
+ startsAt?: string | null | undefined;
542
+ endsAt?: string | null | undefined;
373
543
  communicationLanguage?: string | null | undefined;
374
544
  contactFirstName?: string | null | undefined;
375
545
  contactLastName?: string | null | undefined;
@@ -422,17 +592,102 @@ export declare function getBookingQueryOptions(client: FetchWithValidationOption
422
592
  internalNotes: string | null;
423
593
  createdAt: string;
424
594
  updatedAt: string;
425
- startsAt?: string | null | undefined;
426
- endsAt?: string | null | undefined;
427
- items?: {
595
+ items: {
428
596
  id: string;
597
+ bookingId: string;
429
598
  title: string;
430
- itemType: string;
599
+ description: string | null;
600
+ itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
601
+ status: "draft" | "cancelled" | "fulfilled" | "on_hold" | "confirmed" | "expired";
602
+ serviceDate: string | null;
603
+ startsAt: string | null;
604
+ endsAt: string | null;
605
+ quantity: number;
606
+ sellCurrency: string;
607
+ unitSellAmountCents: number | null;
608
+ totalSellAmountCents: number | null;
609
+ costCurrency: string | null;
610
+ unitCostAmountCents: number | null;
611
+ totalCostAmountCents: number | null;
612
+ notes: string | null;
431
613
  productId: string | null;
432
- productName?: string | null | undefined;
433
- startsAt?: string | null | undefined;
434
- endsAt?: string | null | undefined;
435
- }[] | undefined;
614
+ optionId: string | null;
615
+ optionUnitId: string | null;
616
+ pricingCategoryId: string | null;
617
+ availabilitySlotId: string | null;
618
+ createdAt: string;
619
+ updatedAt: string;
620
+ productNameSnapshot?: string | null | undefined;
621
+ optionNameSnapshot?: string | null | undefined;
622
+ unitNameSnapshot?: string | null | undefined;
623
+ departureLabelSnapshot?: string | null | undefined;
624
+ }[];
625
+ travelers: ({
626
+ id: string;
627
+ bookingId: string;
628
+ participantType: string;
629
+ firstName: string;
630
+ lastName: string;
631
+ email: string | null;
632
+ phone: string | null;
633
+ specialRequests: string | null;
634
+ isPrimary: boolean;
635
+ createdAt: string;
636
+ travelerCategory?: string | null | undefined;
637
+ personId?: string | null | undefined;
638
+ preferredLanguage?: string | null | undefined;
639
+ notes?: string | null | undefined;
640
+ updatedAt?: string | undefined;
641
+ } | {
642
+ id: string;
643
+ bookingId: string;
644
+ participantType: string;
645
+ firstName: string;
646
+ lastName: string;
647
+ email: string | null;
648
+ phone: string | null;
649
+ specialRequests: string | null;
650
+ isPrimary: boolean;
651
+ createdAt: string;
652
+ travelDetails: {
653
+ travelerId: string;
654
+ nationality: string | null;
655
+ documentType: "other" | "passport" | "id_card" | "driver_license" | "visa" | null;
656
+ documentNumber: string | null;
657
+ documentExpiry: string | null;
658
+ documentIssuingCountry: string | null;
659
+ documentIssuingAuthority: string | null;
660
+ documentPersonDocumentId: string | null;
661
+ dateOfBirth: string | null;
662
+ dietaryRequirements: string | null;
663
+ accessibilityNeeds: string | null;
664
+ isLeadTraveler: boolean;
665
+ sharingGroupId: string | null;
666
+ roomTypeId: string | null;
667
+ bedPreference: "double" | "single" | "twin" | "no-preference" | null;
668
+ allocations: Record<string, string>;
669
+ createdAt: string;
670
+ updatedAt: string;
671
+ } | null;
672
+ travelerCategory?: string | null | undefined;
673
+ personId?: string | null | undefined;
674
+ preferredLanguage?: string | null | undefined;
675
+ notes?: string | null | undefined;
676
+ updatedAt?: string | undefined;
677
+ })[];
678
+ documents: {
679
+ id: string;
680
+ bookingId: string;
681
+ travelerId: string | null;
682
+ type: "other" | "visa" | "insurance" | "health" | "passport_copy";
683
+ fileName: string;
684
+ fileUrl: string;
685
+ expiresAt: string | null;
686
+ notes: string | null;
687
+ createdAt: string;
688
+ }[];
689
+ startsAt?: string | null | undefined;
690
+ endsAt?: string | null | undefined;
436
691
  communicationLanguage?: string | null | undefined;
437
692
  contactFirstName?: string | null | undefined;
438
693
  contactLastName?: string | null | undefined;
@@ -487,17 +742,102 @@ export declare function getBookingQueryOptions(client: FetchWithValidationOption
487
742
  internalNotes: string | null;
488
743
  createdAt: string;
489
744
  updatedAt: string;
490
- startsAt?: string | null | undefined;
491
- endsAt?: string | null | undefined;
492
- items?: {
745
+ items: {
493
746
  id: string;
747
+ bookingId: string;
494
748
  title: string;
495
- itemType: string;
749
+ description: string | null;
750
+ itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
751
+ status: "draft" | "cancelled" | "fulfilled" | "on_hold" | "confirmed" | "expired";
752
+ serviceDate: string | null;
753
+ startsAt: string | null;
754
+ endsAt: string | null;
755
+ quantity: number;
756
+ sellCurrency: string;
757
+ unitSellAmountCents: number | null;
758
+ totalSellAmountCents: number | null;
759
+ costCurrency: string | null;
760
+ unitCostAmountCents: number | null;
761
+ totalCostAmountCents: number | null;
762
+ notes: string | null;
496
763
  productId: string | null;
497
- productName?: string | null | undefined;
498
- startsAt?: string | null | undefined;
499
- endsAt?: string | null | undefined;
500
- }[] | undefined;
764
+ optionId: string | null;
765
+ optionUnitId: string | null;
766
+ pricingCategoryId: string | null;
767
+ availabilitySlotId: string | null;
768
+ createdAt: string;
769
+ updatedAt: string;
770
+ productNameSnapshot?: string | null | undefined;
771
+ optionNameSnapshot?: string | null | undefined;
772
+ unitNameSnapshot?: string | null | undefined;
773
+ departureLabelSnapshot?: string | null | undefined;
774
+ }[];
775
+ travelers: ({
776
+ id: string;
777
+ bookingId: string;
778
+ participantType: string;
779
+ firstName: string;
780
+ lastName: string;
781
+ email: string | null;
782
+ phone: string | null;
783
+ specialRequests: string | null;
784
+ isPrimary: boolean;
785
+ createdAt: string;
786
+ travelerCategory?: string | null | undefined;
787
+ personId?: string | null | undefined;
788
+ preferredLanguage?: string | null | undefined;
789
+ notes?: string | null | undefined;
790
+ updatedAt?: string | undefined;
791
+ } | {
792
+ id: string;
793
+ bookingId: string;
794
+ participantType: string;
795
+ firstName: string;
796
+ lastName: string;
797
+ email: string | null;
798
+ phone: string | null;
799
+ specialRequests: string | null;
800
+ isPrimary: boolean;
801
+ createdAt: string;
802
+ travelDetails: {
803
+ travelerId: string;
804
+ nationality: string | null;
805
+ documentType: "other" | "passport" | "id_card" | "driver_license" | "visa" | null;
806
+ documentNumber: string | null;
807
+ documentExpiry: string | null;
808
+ documentIssuingCountry: string | null;
809
+ documentIssuingAuthority: string | null;
810
+ documentPersonDocumentId: string | null;
811
+ dateOfBirth: string | null;
812
+ dietaryRequirements: string | null;
813
+ accessibilityNeeds: string | null;
814
+ isLeadTraveler: boolean;
815
+ sharingGroupId: string | null;
816
+ roomTypeId: string | null;
817
+ bedPreference: "double" | "single" | "twin" | "no-preference" | null;
818
+ allocations: Record<string, string>;
819
+ createdAt: string;
820
+ updatedAt: string;
821
+ } | null;
822
+ travelerCategory?: string | null | undefined;
823
+ personId?: string | null | undefined;
824
+ preferredLanguage?: string | null | undefined;
825
+ notes?: string | null | undefined;
826
+ updatedAt?: string | undefined;
827
+ })[];
828
+ documents: {
829
+ id: string;
830
+ bookingId: string;
831
+ travelerId: string | null;
832
+ type: "other" | "visa" | "insurance" | "health" | "passport_copy";
833
+ fileName: string;
834
+ fileUrl: string;
835
+ expiresAt: string | null;
836
+ notes: string | null;
837
+ createdAt: string;
838
+ }[];
839
+ startsAt?: string | null | undefined;
840
+ endsAt?: string | null | undefined;
501
841
  communicationLanguage?: string | null | undefined;
502
842
  contactFirstName?: string | null | undefined;
503
843
  contactLastName?: string | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"query-options.d.ts","sourceRoot":"","sources":["../src/query-options.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,0BAA0B,EAAuB,MAAM,aAAa,CAAA;AAClF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAA;AAChF,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,kCAAkC,CAAA;AAC1F,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AAC1E,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAA;AAChG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAC5E,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAA;AAC3F,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AAC1E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AAC1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AACjE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAA;AAClF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACvB,MAAM,iBAAiB,CAAA;AAuBxB,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,0BAA0B,EAClC,OAAO,GAAE,kBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CACnD,MAAM,EAAE,0BAA0B,EAClC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,GAAE,gCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY/C;AAED;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,0BAA0B,EAClC,OAAO,EAAE,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc/B;AAED;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,0BAA0B,EAClC,OAAO,EAAE,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc3B"}
@@ -3,7 +3,7 @@ import { queryOptions } from "@tanstack/react-query";
3
3
  import { BOOKING_STATUS_ALL } from "./booking-list-constants.js";
4
4
  import { fetchWithValidation } from "./client.js";
5
5
  import { bookingsQueryKeys, } from "./query-keys.js";
6
- import { bookingActivityResponse, bookingGroupDetailResponse, bookingGroupForBookingResponse, bookingGroupListResponse, bookingItemsResponse, bookingItemTravelersResponse, bookingListResponse, bookingNotesResponse, bookingSingleResponse, bookingSupplierStatusesResponse, bookingTravelerDocumentsResponse, bookingTravelerSharingGroupsResponse, bookingTravelerSingleResponse, bookingTravelersBySharingGroupResponse, bookingTravelersResponse, pricingPreviewResponse, publicBookingSessionResponse, publicBookingSessionStateResponse, taxPreviewResponse, } from "./schemas.js";
6
+ import { bookingActivityResponse, bookingDetailResponse, bookingGroupDetailResponse, bookingGroupForBookingResponse, bookingGroupListResponse, bookingItemsResponse, bookingItemTravelersResponse, bookingListResponse, bookingNotesResponse, bookingSupplierStatusesResponse, bookingTravelerDocumentsResponse, bookingTravelerSharingGroupsResponse, bookingTravelerSingleResponse, bookingTravelersBySharingGroupResponse, bookingTravelersResponse, pricingPreviewResponse, publicBookingSessionResponse, publicBookingSessionStateResponse, taxPreviewResponse, } from "./schemas.js";
7
7
  export function getBookingsQueryOptions(client, options = {}) {
8
8
  const { enabled: _enabled = true, ...filters } = options;
9
9
  return queryOptions({
@@ -63,7 +63,7 @@ export function getBookingQueryOptions(client, id, options = {}) {
63
63
  const { enabled: _enabled = true } = options;
64
64
  return queryOptions({
65
65
  queryKey: bookingsQueryKeys.booking(id ?? ""),
66
- queryFn: () => fetchWithValidation(`/v1/admin/bookings/${id}`, bookingSingleResponse, client),
66
+ queryFn: () => fetchWithValidation(`/v1/admin/bookings/${id}`, bookingDetailResponse, client),
67
67
  });
68
68
  }
69
69
  export function getBookingItemsQueryOptions(client, bookingId, options = {}) {