@voyantjs/bookings-react 0.3.0 → 0.3.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.
package/dist/schemas.d.ts CHANGED
@@ -218,4 +218,343 @@ export declare const bookingNotesResponse: z.ZodObject<{
218
218
  createdAt: z.ZodString;
219
219
  }, z.core.$strip>>;
220
220
  }, z.core.$strip>;
221
+ export declare const publicBookingSessionResponse: z.ZodObject<{
222
+ data: z.ZodObject<{
223
+ sessionId: z.ZodString;
224
+ bookingNumber: z.ZodString;
225
+ status: z.ZodEnum<{
226
+ draft: "draft";
227
+ on_hold: "on_hold";
228
+ confirmed: "confirmed";
229
+ in_progress: "in_progress";
230
+ completed: "completed";
231
+ expired: "expired";
232
+ cancelled: "cancelled";
233
+ }>;
234
+ externalBookingRef: z.ZodNullable<z.ZodString>;
235
+ communicationLanguage: z.ZodNullable<z.ZodString>;
236
+ sellCurrency: z.ZodString;
237
+ sellAmountCents: z.ZodNullable<z.ZodNumber>;
238
+ startDate: z.ZodNullable<z.ZodString>;
239
+ endDate: z.ZodNullable<z.ZodString>;
240
+ pax: z.ZodNullable<z.ZodNumber>;
241
+ holdExpiresAt: z.ZodNullable<z.ZodString>;
242
+ confirmedAt: z.ZodNullable<z.ZodString>;
243
+ expiredAt: z.ZodNullable<z.ZodString>;
244
+ cancelledAt: z.ZodNullable<z.ZodString>;
245
+ completedAt: z.ZodNullable<z.ZodString>;
246
+ participants: z.ZodArray<z.ZodObject<{
247
+ id: z.ZodString;
248
+ participantType: z.ZodEnum<{
249
+ traveler: "traveler";
250
+ booker: "booker";
251
+ contact: "contact";
252
+ occupant: "occupant";
253
+ staff: "staff";
254
+ other: "other";
255
+ }>;
256
+ travelerCategory: z.ZodNullable<z.ZodEnum<{
257
+ other: "other";
258
+ adult: "adult";
259
+ child: "child";
260
+ infant: "infant";
261
+ senior: "senior";
262
+ }>>;
263
+ firstName: z.ZodString;
264
+ lastName: z.ZodString;
265
+ email: z.ZodNullable<z.ZodString>;
266
+ phone: z.ZodNullable<z.ZodString>;
267
+ preferredLanguage: z.ZodNullable<z.ZodString>;
268
+ accessibilityNeeds: z.ZodNullable<z.ZodString>;
269
+ specialRequests: z.ZodNullable<z.ZodString>;
270
+ isPrimary: z.ZodBoolean;
271
+ notes: z.ZodNullable<z.ZodString>;
272
+ }, z.core.$strip>>;
273
+ items: z.ZodArray<z.ZodObject<{
274
+ id: z.ZodString;
275
+ title: z.ZodString;
276
+ description: z.ZodNullable<z.ZodString>;
277
+ itemType: z.ZodEnum<{
278
+ other: "other";
279
+ unit: "unit";
280
+ extra: "extra";
281
+ service: "service";
282
+ fee: "fee";
283
+ tax: "tax";
284
+ discount: "discount";
285
+ adjustment: "adjustment";
286
+ accommodation: "accommodation";
287
+ transport: "transport";
288
+ }>;
289
+ status: z.ZodEnum<{
290
+ draft: "draft";
291
+ on_hold: "on_hold";
292
+ confirmed: "confirmed";
293
+ expired: "expired";
294
+ cancelled: "cancelled";
295
+ fulfilled: "fulfilled";
296
+ }>;
297
+ serviceDate: z.ZodNullable<z.ZodString>;
298
+ startsAt: z.ZodNullable<z.ZodString>;
299
+ endsAt: z.ZodNullable<z.ZodString>;
300
+ quantity: z.ZodNumber;
301
+ sellCurrency: z.ZodString;
302
+ unitSellAmountCents: z.ZodNullable<z.ZodNumber>;
303
+ totalSellAmountCents: z.ZodNullable<z.ZodNumber>;
304
+ costCurrency: z.ZodNullable<z.ZodString>;
305
+ unitCostAmountCents: z.ZodNullable<z.ZodNumber>;
306
+ totalCostAmountCents: z.ZodNullable<z.ZodNumber>;
307
+ notes: z.ZodNullable<z.ZodString>;
308
+ productId: z.ZodNullable<z.ZodString>;
309
+ optionId: z.ZodNullable<z.ZodString>;
310
+ optionUnitId: z.ZodNullable<z.ZodString>;
311
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
312
+ participantLinks: z.ZodArray<z.ZodObject<{
313
+ id: z.ZodString;
314
+ participantId: z.ZodString;
315
+ role: z.ZodEnum<{
316
+ traveler: "traveler";
317
+ occupant: "occupant";
318
+ other: "other";
319
+ primary_contact: "primary_contact";
320
+ service_assignee: "service_assignee";
321
+ beneficiary: "beneficiary";
322
+ }>;
323
+ isPrimary: z.ZodBoolean;
324
+ }, z.core.$strip>>;
325
+ }, z.core.$strip>>;
326
+ allocations: z.ZodArray<z.ZodObject<{
327
+ id: z.ZodString;
328
+ bookingItemId: z.ZodNullable<z.ZodString>;
329
+ productId: z.ZodNullable<z.ZodString>;
330
+ optionId: z.ZodNullable<z.ZodString>;
331
+ optionUnitId: z.ZodNullable<z.ZodString>;
332
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
333
+ availabilitySlotId: z.ZodNullable<z.ZodString>;
334
+ quantity: z.ZodNumber;
335
+ allocationType: z.ZodEnum<{
336
+ unit: "unit";
337
+ pickup: "pickup";
338
+ resource: "resource";
339
+ }>;
340
+ status: z.ZodEnum<{
341
+ confirmed: "confirmed";
342
+ expired: "expired";
343
+ cancelled: "cancelled";
344
+ fulfilled: "fulfilled";
345
+ held: "held";
346
+ released: "released";
347
+ }>;
348
+ holdExpiresAt: z.ZodNullable<z.ZodString>;
349
+ confirmedAt: z.ZodNullable<z.ZodString>;
350
+ releasedAt: z.ZodNullable<z.ZodString>;
351
+ }, z.core.$strip>>;
352
+ checklist: z.ZodObject<{
353
+ hasParticipants: z.ZodBoolean;
354
+ hasTraveler: z.ZodBoolean;
355
+ hasPrimaryParticipant: z.ZodBoolean;
356
+ hasItems: z.ZodBoolean;
357
+ hasAllocations: z.ZodBoolean;
358
+ readyForConfirmation: z.ZodBoolean;
359
+ }, z.core.$strip>;
360
+ state: z.ZodNullable<z.ZodObject<{
361
+ sessionId: z.ZodString;
362
+ stateKey: z.ZodLiteral<"wizard">;
363
+ currentStep: z.ZodNullable<z.ZodString>;
364
+ completedSteps: z.ZodArray<z.ZodString>;
365
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
366
+ version: z.ZodNumber;
367
+ createdAt: z.ZodString;
368
+ updatedAt: z.ZodString;
369
+ }, z.core.$strip>>;
370
+ }, z.core.$strip>;
371
+ }, z.core.$strip>;
372
+ export declare const publicBookingSessionStateResponse: z.ZodObject<{
373
+ data: z.ZodObject<{
374
+ sessionId: z.ZodString;
375
+ stateKey: z.ZodLiteral<"wizard">;
376
+ currentStep: z.ZodNullable<z.ZodString>;
377
+ completedSteps: z.ZodArray<z.ZodString>;
378
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
379
+ version: z.ZodNumber;
380
+ createdAt: z.ZodString;
381
+ updatedAt: z.ZodString;
382
+ }, z.core.$strip>;
383
+ }, z.core.$strip>;
384
+ export declare const publicBookingSessionRepriceResponse: z.ZodObject<{
385
+ data: z.ZodObject<{
386
+ pricing: z.ZodObject<{
387
+ sessionId: z.ZodString;
388
+ catalogId: z.ZodNullable<z.ZodString>;
389
+ currencyCode: z.ZodString;
390
+ totalSellAmountCents: z.ZodNumber;
391
+ items: z.ZodArray<z.ZodObject<{
392
+ itemId: z.ZodString;
393
+ title: z.ZodString;
394
+ productId: z.ZodNullable<z.ZodString>;
395
+ optionId: z.ZodNullable<z.ZodString>;
396
+ optionUnitId: z.ZodNullable<z.ZodString>;
397
+ optionUnitName: z.ZodNullable<z.ZodString>;
398
+ optionUnitType: z.ZodNullable<z.ZodString>;
399
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
400
+ quantity: z.ZodNumber;
401
+ pricingMode: z.ZodString;
402
+ unitSellAmountCents: z.ZodNullable<z.ZodNumber>;
403
+ totalSellAmountCents: z.ZodNullable<z.ZodNumber>;
404
+ warnings: z.ZodArray<z.ZodString>;
405
+ }, z.core.$strip>>;
406
+ warnings: z.ZodArray<z.ZodString>;
407
+ appliedToSession: z.ZodBoolean;
408
+ }, z.core.$strip>;
409
+ session: z.ZodNullable<z.ZodObject<{
410
+ sessionId: z.ZodString;
411
+ bookingNumber: z.ZodString;
412
+ status: z.ZodEnum<{
413
+ draft: "draft";
414
+ on_hold: "on_hold";
415
+ confirmed: "confirmed";
416
+ in_progress: "in_progress";
417
+ completed: "completed";
418
+ expired: "expired";
419
+ cancelled: "cancelled";
420
+ }>;
421
+ externalBookingRef: z.ZodNullable<z.ZodString>;
422
+ communicationLanguage: z.ZodNullable<z.ZodString>;
423
+ sellCurrency: z.ZodString;
424
+ sellAmountCents: z.ZodNullable<z.ZodNumber>;
425
+ startDate: z.ZodNullable<z.ZodString>;
426
+ endDate: z.ZodNullable<z.ZodString>;
427
+ pax: z.ZodNullable<z.ZodNumber>;
428
+ holdExpiresAt: z.ZodNullable<z.ZodString>;
429
+ confirmedAt: z.ZodNullable<z.ZodString>;
430
+ expiredAt: z.ZodNullable<z.ZodString>;
431
+ cancelledAt: z.ZodNullable<z.ZodString>;
432
+ completedAt: z.ZodNullable<z.ZodString>;
433
+ participants: z.ZodArray<z.ZodObject<{
434
+ id: z.ZodString;
435
+ participantType: z.ZodEnum<{
436
+ traveler: "traveler";
437
+ booker: "booker";
438
+ contact: "contact";
439
+ occupant: "occupant";
440
+ staff: "staff";
441
+ other: "other";
442
+ }>;
443
+ travelerCategory: z.ZodNullable<z.ZodEnum<{
444
+ other: "other";
445
+ adult: "adult";
446
+ child: "child";
447
+ infant: "infant";
448
+ senior: "senior";
449
+ }>>;
450
+ firstName: z.ZodString;
451
+ lastName: z.ZodString;
452
+ email: z.ZodNullable<z.ZodString>;
453
+ phone: z.ZodNullable<z.ZodString>;
454
+ preferredLanguage: z.ZodNullable<z.ZodString>;
455
+ accessibilityNeeds: z.ZodNullable<z.ZodString>;
456
+ specialRequests: z.ZodNullable<z.ZodString>;
457
+ isPrimary: z.ZodBoolean;
458
+ notes: z.ZodNullable<z.ZodString>;
459
+ }, z.core.$strip>>;
460
+ items: z.ZodArray<z.ZodObject<{
461
+ id: z.ZodString;
462
+ title: z.ZodString;
463
+ description: z.ZodNullable<z.ZodString>;
464
+ itemType: z.ZodEnum<{
465
+ other: "other";
466
+ unit: "unit";
467
+ extra: "extra";
468
+ service: "service";
469
+ fee: "fee";
470
+ tax: "tax";
471
+ discount: "discount";
472
+ adjustment: "adjustment";
473
+ accommodation: "accommodation";
474
+ transport: "transport";
475
+ }>;
476
+ status: z.ZodEnum<{
477
+ draft: "draft";
478
+ on_hold: "on_hold";
479
+ confirmed: "confirmed";
480
+ expired: "expired";
481
+ cancelled: "cancelled";
482
+ fulfilled: "fulfilled";
483
+ }>;
484
+ serviceDate: z.ZodNullable<z.ZodString>;
485
+ startsAt: z.ZodNullable<z.ZodString>;
486
+ endsAt: z.ZodNullable<z.ZodString>;
487
+ quantity: z.ZodNumber;
488
+ sellCurrency: z.ZodString;
489
+ unitSellAmountCents: z.ZodNullable<z.ZodNumber>;
490
+ totalSellAmountCents: z.ZodNullable<z.ZodNumber>;
491
+ costCurrency: z.ZodNullable<z.ZodString>;
492
+ unitCostAmountCents: z.ZodNullable<z.ZodNumber>;
493
+ totalCostAmountCents: z.ZodNullable<z.ZodNumber>;
494
+ notes: z.ZodNullable<z.ZodString>;
495
+ productId: z.ZodNullable<z.ZodString>;
496
+ optionId: z.ZodNullable<z.ZodString>;
497
+ optionUnitId: z.ZodNullable<z.ZodString>;
498
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
499
+ participantLinks: z.ZodArray<z.ZodObject<{
500
+ id: z.ZodString;
501
+ participantId: z.ZodString;
502
+ role: z.ZodEnum<{
503
+ traveler: "traveler";
504
+ occupant: "occupant";
505
+ other: "other";
506
+ primary_contact: "primary_contact";
507
+ service_assignee: "service_assignee";
508
+ beneficiary: "beneficiary";
509
+ }>;
510
+ isPrimary: z.ZodBoolean;
511
+ }, z.core.$strip>>;
512
+ }, z.core.$strip>>;
513
+ allocations: z.ZodArray<z.ZodObject<{
514
+ id: z.ZodString;
515
+ bookingItemId: z.ZodNullable<z.ZodString>;
516
+ productId: z.ZodNullable<z.ZodString>;
517
+ optionId: z.ZodNullable<z.ZodString>;
518
+ optionUnitId: z.ZodNullable<z.ZodString>;
519
+ pricingCategoryId: z.ZodNullable<z.ZodString>;
520
+ availabilitySlotId: z.ZodNullable<z.ZodString>;
521
+ quantity: z.ZodNumber;
522
+ allocationType: z.ZodEnum<{
523
+ unit: "unit";
524
+ pickup: "pickup";
525
+ resource: "resource";
526
+ }>;
527
+ status: z.ZodEnum<{
528
+ confirmed: "confirmed";
529
+ expired: "expired";
530
+ cancelled: "cancelled";
531
+ fulfilled: "fulfilled";
532
+ held: "held";
533
+ released: "released";
534
+ }>;
535
+ holdExpiresAt: z.ZodNullable<z.ZodString>;
536
+ confirmedAt: z.ZodNullable<z.ZodString>;
537
+ releasedAt: z.ZodNullable<z.ZodString>;
538
+ }, z.core.$strip>>;
539
+ checklist: z.ZodObject<{
540
+ hasParticipants: z.ZodBoolean;
541
+ hasTraveler: z.ZodBoolean;
542
+ hasPrimaryParticipant: z.ZodBoolean;
543
+ hasItems: z.ZodBoolean;
544
+ hasAllocations: z.ZodBoolean;
545
+ readyForConfirmation: z.ZodBoolean;
546
+ }, z.core.$strip>;
547
+ state: z.ZodNullable<z.ZodObject<{
548
+ sessionId: z.ZodString;
549
+ stateKey: z.ZodLiteral<"wizard">;
550
+ currentStep: z.ZodNullable<z.ZodString>;
551
+ completedSteps: z.ZodArray<z.ZodString>;
552
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
553
+ version: z.ZodNumber;
554
+ createdAt: z.ZodString;
555
+ updatedAt: z.ZodString;
556
+ }, z.core.$strip>>;
557
+ }, z.core.$strip>>;
558
+ }, z.core.$strip>;
559
+ }, z.core.$strip>;
221
560
  //# sourceMappingURL=schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC;;;;;iBAM7D,CAAA;AAEJ,eAAO,MAAM,cAAc,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B,CAAC,CAAA;AAE/E,eAAO,MAAM,uBAAuB;;;;;;iBAMlC,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAEvE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAyC,CAAA;AACzE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAsC,CAAA;AACxE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;iBAA8C,CAAA;AACpF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;iBAAmD,CAAA;AAC/F,eAAO,MAAM,uBAAuB;;;;;;;;;;iBAA6C,CAAA;AACjF,eAAO,MAAM,oBAAoB;;;;;;;;iBAAyC,CAAA;AAC1E,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA6C,CAAA;AACtF,eAAO,MAAM,iCAAiC;;;;;;;;;;;iBAAkD,CAAA;AAChG,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAE/C,CAAA"}
package/dist/schemas.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { publicBookingSessionRepriceResultSchema, publicBookingSessionSchema, publicBookingSessionStateSchema, } from "@voyantjs/bookings/validation";
1
2
  import { z } from "zod";
2
3
  export const paginatedEnvelope = (item) => z.object({
3
4
  data: z.array(item),
@@ -88,3 +89,6 @@ export const bookingPassengersResponse = arrayEnvelope(bookingPassengerRecordSch
88
89
  export const bookingSupplierStatusesResponse = arrayEnvelope(bookingSupplierStatusRecordSchema);
89
90
  export const bookingActivityResponse = arrayEnvelope(bookingActivityRecordSchema);
90
91
  export const bookingNotesResponse = arrayEnvelope(bookingNoteRecordSchema);
92
+ export const publicBookingSessionResponse = singleEnvelope(publicBookingSessionSchema);
93
+ export const publicBookingSessionStateResponse = singleEnvelope(publicBookingSessionStateSchema);
94
+ export const publicBookingSessionRepriceResponse = singleEnvelope(publicBookingSessionRepriceResultSchema);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/bookings-react",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "license": "FSL-1.1-Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,7 +35,7 @@
35
35
  "react": "^19.0.0",
36
36
  "react-dom": "^19.0.0",
37
37
  "zod": "^4.0.0",
38
- "@voyantjs/bookings": "0.3.0"
38
+ "@voyantjs/bookings": "0.3.1"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@tanstack/react-query": "^5.96.2",
@@ -46,12 +46,12 @@
46
46
  "typescript": "^6.0.2",
47
47
  "vitest": "^4.1.2",
48
48
  "zod": "^4.3.6",
49
- "@voyantjs/bookings": "0.3.0",
50
- "@voyantjs/react": "0.3.0",
49
+ "@voyantjs/bookings": "0.3.1",
50
+ "@voyantjs/react": "0.3.1",
51
51
  "@voyantjs/voyant-typescript-config": "0.1.0"
52
52
  },
53
53
  "dependencies": {
54
- "@voyantjs/react": "0.3.0"
54
+ "@voyantjs/react": "0.3.1"
55
55
  },
56
56
  "files": [
57
57
  "dist"