hububb-saas-shared 1.2.48 → 1.2.50

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.
Files changed (92) hide show
  1. package/dist/schemas/api-key/index.d.ts +81 -0
  2. package/dist/schemas/api-key/index.js +33 -0
  3. package/dist/schemas/availability-settings/index.d.ts +2 -2
  4. package/dist/schemas/channex/booking.d.ts +2 -2
  5. package/dist/schemas/channex/thread.d.ts +2 -2
  6. package/dist/schemas/external-sync-request/index.d.ts +32 -0
  7. package/dist/schemas/external-sync-request/index.js +15 -0
  8. package/dist/schemas/guest-verification/index.d.ts +56 -0
  9. package/dist/schemas/guest-verification/index.js +24 -0
  10. package/dist/schemas/index.d.ts +8 -0
  11. package/dist/schemas/index.js +8 -0
  12. package/dist/schemas/invoice/index.d.ts +2 -2
  13. package/dist/schemas/klevio/index.d.ts +2 -2
  14. package/dist/schemas/listing-expectation/index.d.ts +17 -0
  15. package/dist/schemas/listing-expectation/index.js +11 -0
  16. package/dist/schemas/notification/index.d.ts +73 -0
  17. package/dist/schemas/notification/index.js +30 -0
  18. package/dist/schemas/property/index.d.ts +14 -8
  19. package/dist/schemas/property/index.js +2 -0
  20. package/dist/schemas/property-connection-request/index.d.ts +2 -2
  21. package/dist/schemas/property-guide/index.d.ts +32 -0
  22. package/dist/schemas/property-guide/index.js +20 -0
  23. package/dist/schemas/property-room/index.d.ts +2 -2
  24. package/dist/schemas/property-safety-details/index.d.ts +2 -2
  25. package/dist/schemas/push-token/index.d.ts +35 -0
  26. package/dist/schemas/push-token/index.js +17 -0
  27. package/dist/schemas/reservation/index.d.ts +3 -0
  28. package/dist/schemas/reservation/index.js +1 -0
  29. package/dist/schemas/reservation-access-log/index.d.ts +53 -0
  30. package/dist/schemas/reservation-access-log/index.js +22 -0
  31. package/dist/schemas/reservation-guest-invite/index.d.ts +35 -0
  32. package/dist/schemas/reservation-guest-invite/index.js +17 -0
  33. package/dist/schemas/seam/index.d.ts +4 -4
  34. package/dist/schemas/service-availability/index.d.ts +25 -0
  35. package/dist/schemas/service-availability/index.js +13 -0
  36. package/dist/schemas/service-provider/index.d.ts +2 -2
  37. package/dist/schemas/service-worker-payout/index.d.ts +88 -0
  38. package/dist/schemas/service-worker-payout/index.js +36 -0
  39. package/dist/schemas/task/index.d.ts +34 -4
  40. package/dist/schemas/task/index.js +11 -1
  41. package/dist/schemas/task-checklist-item/index.d.ts +2 -2
  42. package/dist/schemas/task-checklist-space/index.d.ts +2 -2
  43. package/dist/schemas/task-expense-fact/index.d.ts +37 -0
  44. package/dist/schemas/task-expense-fact/index.js +18 -0
  45. package/dist/schemas/task-photography-space/index.d.ts +2 -2
  46. package/dist/schemas/task-thread/index.d.ts +6 -0
  47. package/dist/schemas/thread/index.d.ts +81 -6
  48. package/dist/schemas/thread/index.js +2 -1
  49. package/dist/schemas/user/index.d.ts +9 -0
  50. package/dist/schemas/user/index.js +3 -0
  51. package/dist/schemas/webhook/index.d.ts +104 -0
  52. package/dist/schemas/webhook/index.js +41 -0
  53. package/dist/types/api-key/index.d.ts +10 -0
  54. package/dist/types/booking-settings/index.d.ts +2 -0
  55. package/dist/types/enums/index.d.ts +228 -0
  56. package/dist/types/enums/index.js +263 -1
  57. package/dist/types/external-sync-request/index.d.ts +4 -0
  58. package/dist/types/external-sync-request/index.js +2 -0
  59. package/dist/types/guest-verification/index.d.ts +3 -18
  60. package/dist/types/index.d.ts +7 -0
  61. package/dist/types/index.js +7 -0
  62. package/dist/types/listing-expectation/index.d.ts +6 -0
  63. package/dist/types/listing-expectation/index.js +2 -0
  64. package/dist/types/notification/index.d.ts +15 -0
  65. package/dist/types/notification/index.js +2 -0
  66. package/dist/types/property/index.d.ts +4 -0
  67. package/dist/types/property-guide/index.d.ts +6 -0
  68. package/dist/types/property-guide/index.js +2 -0
  69. package/dist/types/push-token/index.d.ts +6 -0
  70. package/dist/types/push-token/index.js +2 -0
  71. package/dist/types/reservation/index.d.ts +8 -0
  72. package/dist/types/reservation-access-log/index.d.ts +64 -0
  73. package/dist/types/reservation-access-log/index.js +2 -0
  74. package/dist/types/reservation-guest-invite/index.d.ts +9 -0
  75. package/dist/types/reservation-guest-invite/index.js +2 -0
  76. package/dist/types/service-availability/index.d.ts +6 -0
  77. package/dist/types/service-availability/index.js +2 -0
  78. package/dist/types/service-worker-payout/index.d.ts +17 -0
  79. package/dist/types/service-worker-payout/index.js +2 -0
  80. package/dist/types/task/index.d.ts +7 -0
  81. package/dist/types/task-expense-fact/index.d.ts +12 -0
  82. package/dist/types/task-expense-fact/index.js +2 -0
  83. package/dist/types/user/index.d.ts +10 -0
  84. package/dist/types/webhook/index.d.ts +15 -0
  85. package/dist/types/webhook/index.js +2 -0
  86. package/package.json +1 -1
  87. package/dist/schemas/enums/index.d.ts +0 -45
  88. package/dist/schemas/enums/index.js +0 -56
  89. package/dist/schemas/service-property/index.d.ts +0 -19
  90. package/dist/schemas/service-property/index.js +0 -11
  91. package/dist/types/service-property/index.d.ts +0 -8
  92. /package/dist/types/{service-property → api-key}/index.js +0 -0
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PassThroughTaxesTaxableBase = exports.PassThroughTaxesAmountType = exports.PassThroughTaxType = exports.PassThroughTaxesCollectionType = exports.HumanReviewStatus = exports.HumanReviewPriority = exports.TaskPricingStatus = exports.ServiceProviderPayoutStatus = exports.UserRoleType = exports.TaskReportingPhotoType = exports.TaskReportingVideoType = exports.TaskQuoteStatus = exports.TaskInventoryDetergentItemFillStateAfterCompletion = exports.TaskInventoryItemStatus = exports.TaskInventoryStatus = exports.InventoryItemCategory = exports.TaskBlockReason = exports.InvitedServiceProviderPreferencesPriority = exports.InvitedServiceProviderStatus = exports.PropertyManagerSessionType = exports.PropertyManagerSuggestionStatus = exports.PropertyManagerSessionStatus = exports.AgentActionType = exports.AgentSessionStatus = exports.GuestCoordinatorResponseStyle = exports.AiAgentCategory = exports.PropertyType = exports.OnboardingType = exports.SubscriptionStatus = exports.PurchaseStatus = exports.PriceType = exports.InvoiceStatus = exports.InvoiceType = exports.TaskPriority = exports.TaskStatus = exports.ServiceCategory = exports.ServiceGroup = exports.ServiceType = void 0;
3
+ exports.STCancellationPolicy = exports.PropertyStatus = exports.ConnectionType = exports.HandbookStatus = exports.HostType = exports.OnboardingPlanChoice = exports.PushApp = exports.Platform = exports.NotificationRecipientRole = exports.NotificationChannel = exports.NotificationEventType = exports.GuestInviteStatus = exports.PassThroughTaxesTaxableBase = exports.PassThroughTaxesAmountType = exports.PassThroughTaxType = exports.PassThroughTaxesCollectionType = exports.HumanReviewStatus = exports.HumanReviewPriority = exports.TaskPricingStatus = exports.ServiceProviderPayoutStatus = exports.UserRoleType = exports.TaskReportingPhotoType = exports.TaskReportingVideoType = exports.TaskQuoteStatus = exports.TaskInventoryDetergentItemFillStateAfterCompletion = exports.TaskInventoryItemStatus = exports.TaskInventoryStatus = exports.InventoryItemCategory = exports.TaskBlockReason = exports.InvitedServiceProviderPreferencesPriority = exports.InvitedServiceProviderStatus = exports.PropertyManagerSessionType = exports.PropertyManagerSuggestionStatus = exports.PropertyManagerSessionStatus = exports.AgentActionType = exports.AgentSessionStatus = exports.GuestCoordinatorResponseStyle = exports.AiAgentCategory = exports.PropertyType = exports.OnboardingType = exports.SubscriptionStatus = exports.PurchaseStatus = exports.PriceType = exports.InvoiceStatus = exports.InvoiceType = exports.TaskPriority = exports.TaskStatus = exports.ServiceCategory = exports.ServiceGroup = exports.ServiceType = void 0;
4
+ exports.ServiceProviderType = exports.ServiceWorkerStatus = exports.ServiceProviderStatus = exports.TaskPaymentStatus = exports.ConnectionStatus = exports.BundleStatus = exports.PendingPaymentStatus = exports.PhotoType = exports.VideoType = exports.TaskSpaceVideoType = exports.TaskSpacePhotoType = exports.TaskAssignmentStatus = exports.ReservationStatus = exports.AdjustmentStatus = exports.AdjustmentType = exports.PayoutStatus = exports.BedType = exports.RoomType = exports.ListingExpectationType = exports.PromotionStatus = exports.LTCancellationPolicy = void 0;
4
5
  var ServiceType;
5
6
  (function (ServiceType) {
6
7
  ServiceType["INTEGRATION"] = "INTEGRATION";
@@ -265,3 +266,264 @@ var PassThroughTaxesTaxableBase;
265
266
  PassThroughTaxesTaxableBase["pass_through_cleaning_fee"] = "pass_through_cleaning_fee";
266
267
  PassThroughTaxesTaxableBase["pass_through_pet_fee"] = "pass_through_pet_fee";
267
268
  })(PassThroughTaxesTaxableBase || (exports.PassThroughTaxesTaxableBase = PassThroughTaxesTaxableBase = {}));
269
+ var GuestInviteStatus;
270
+ (function (GuestInviteStatus) {
271
+ GuestInviteStatus["PENDING"] = "PENDING";
272
+ GuestInviteStatus["ACCEPTED"] = "ACCEPTED";
273
+ GuestInviteStatus["REVOKED"] = "REVOKED";
274
+ })(GuestInviteStatus || (exports.GuestInviteStatus = GuestInviteStatus = {}));
275
+ var NotificationEventType;
276
+ (function (NotificationEventType) {
277
+ NotificationEventType["BOOKING_RECEIVED"] = "BOOKING_RECEIVED";
278
+ NotificationEventType["BOOKING_CANCELLED"] = "BOOKING_CANCELLED";
279
+ NotificationEventType["GUEST_CHECKED_IN"] = "GUEST_CHECKED_IN";
280
+ NotificationEventType["GUEST_CHECKED_OUT"] = "GUEST_CHECKED_OUT";
281
+ NotificationEventType["MESSAGE_RECEIVED"] = "MESSAGE_RECEIVED";
282
+ NotificationEventType["TASK_SERVICE_ASSIGNED"] = "TASK_SERVICE_ASSIGNED";
283
+ NotificationEventType["TASK_ASSIGNED"] = "TASK_ASSIGNED";
284
+ NotificationEventType["TASK_ASSIGNED_TO_PROVIDER"] = "TASK_ASSIGNED_TO_PROVIDER";
285
+ NotificationEventType["TASK_ACCEPTED"] = "TASK_ACCEPTED";
286
+ NotificationEventType["TASK_REJECTED"] = "TASK_REJECTED";
287
+ NotificationEventType["TASK_ANSWERS_SUBMITTED"] = "TASK_ANSWERS_SUBMITTED";
288
+ NotificationEventType["TASK_PURCHASED"] = "TASK_PURCHASED";
289
+ NotificationEventType["QUOTE_SUBMITTED"] = "QUOTE_SUBMITTED";
290
+ NotificationEventType["QUOTE_REJECTED"] = "QUOTE_REJECTED";
291
+ NotificationEventType["TASK_ON_THE_WAY"] = "TASK_ON_THE_WAY";
292
+ NotificationEventType["TASK_COMPLETED"] = "TASK_COMPLETED";
293
+ NotificationEventType["PROPERTY_LIVE"] = "PROPERTY_LIVE";
294
+ NotificationEventType["SERVICE_SCHEDULED"] = "SERVICE_SCHEDULED";
295
+ NotificationEventType["SERVICE_REQUEST_SUBMITTED"] = "SERVICE_REQUEST_SUBMITTED";
296
+ NotificationEventType["SERVICE_BOOKING_PAYMENT_PENDING"] = "SERVICE_BOOKING_PAYMENT_PENDING";
297
+ NotificationEventType["PAYOUT_REQUESTED"] = "PAYOUT_REQUESTED";
298
+ NotificationEventType["PAYOUT_COMPLETED"] = "PAYOUT_COMPLETED";
299
+ })(NotificationEventType || (exports.NotificationEventType = NotificationEventType = {}));
300
+ var NotificationChannel;
301
+ (function (NotificationChannel) {
302
+ NotificationChannel["EMAIL"] = "EMAIL";
303
+ NotificationChannel["PUSH"] = "PUSH";
304
+ NotificationChannel["IN_APP"] = "IN_APP";
305
+ })(NotificationChannel || (exports.NotificationChannel = NotificationChannel = {}));
306
+ var NotificationRecipientRole;
307
+ (function (NotificationRecipientRole) {
308
+ NotificationRecipientRole["HOST"] = "HOST";
309
+ NotificationRecipientRole["WORKER"] = "WORKER";
310
+ NotificationRecipientRole["PROVIDER_OWNER"] = "PROVIDER_OWNER";
311
+ NotificationRecipientRole["OPERATIONS"] = "OPERATIONS";
312
+ })(NotificationRecipientRole || (exports.NotificationRecipientRole = NotificationRecipientRole = {}));
313
+ var Platform;
314
+ (function (Platform) {
315
+ Platform["IOS"] = "IOS";
316
+ Platform["ANDROID"] = "ANDROID";
317
+ })(Platform || (exports.Platform = Platform = {}));
318
+ var PushApp;
319
+ (function (PushApp) {
320
+ PushApp["HOST"] = "HOST";
321
+ PushApp["WORKER"] = "WORKER";
322
+ })(PushApp || (exports.PushApp = PushApp = {}));
323
+ var OnboardingPlanChoice;
324
+ (function (OnboardingPlanChoice) {
325
+ OnboardingPlanChoice["HANDS_FREE_PRO"] = "HANDS_FREE_PRO";
326
+ OnboardingPlanChoice["CUSTOM_BUILD"] = "CUSTOM_BUILD";
327
+ })(OnboardingPlanChoice || (exports.OnboardingPlanChoice = OnboardingPlanChoice = {}));
328
+ var HostType;
329
+ (function (HostType) {
330
+ HostType["SHORT_TERM"] = "SHORT_TERM";
331
+ HostType["MID_TERM"] = "MID_TERM";
332
+ HostType["BOTH"] = "BOTH";
333
+ })(HostType || (exports.HostType = HostType = {}));
334
+ var HandbookStatus;
335
+ (function (HandbookStatus) {
336
+ HandbookStatus["NOT_STARTED"] = "NOT_STARTED";
337
+ HandbookStatus["IN_PROGRESS"] = "IN_PROGRESS";
338
+ HandbookStatus["COMPLETED"] = "COMPLETED";
339
+ })(HandbookStatus || (exports.HandbookStatus = HandbookStatus = {}));
340
+ var ConnectionType;
341
+ (function (ConnectionType) {
342
+ ConnectionType["AIRBNB"] = "AIRBNB";
343
+ ConnectionType["BOOKING_COM"] = "BOOKING_COM";
344
+ ConnectionType["HUBUBB"] = "HUBUBB";
345
+ ConnectionType["AGODA"] = "AGODA";
346
+ ConnectionType["EXPEDIA"] = "EXPEDIA";
347
+ ConnectionType["VRBO"] = "VRBO";
348
+ ConnectionType["CTRIP"] = "CTRIP";
349
+ })(ConnectionType || (exports.ConnectionType = ConnectionType = {}));
350
+ var PropertyStatus;
351
+ (function (PropertyStatus) {
352
+ PropertyStatus["ACTIVE"] = "ACTIVE";
353
+ PropertyStatus["INACTIVE"] = "INACTIVE";
354
+ PropertyStatus["MERGED"] = "MERGED";
355
+ PropertyStatus["DRAFT"] = "DRAFT";
356
+ PropertyStatus["DELETED"] = "DELETED";
357
+ })(PropertyStatus || (exports.PropertyStatus = PropertyStatus = {}));
358
+ var STCancellationPolicy;
359
+ (function (STCancellationPolicy) {
360
+ STCancellationPolicy["FLEXIBLE"] = "FLEXIBLE";
361
+ STCancellationPolicy["MODERATE"] = "MODERATE";
362
+ STCancellationPolicy["STRICT"] = "STRICT";
363
+ STCancellationPolicy["BETTER_STRICT_WITH_GRACE_PERIOD"] = "BETTER_STRICT_WITH_GRACE_PERIOD";
364
+ STCancellationPolicy["STRICT_14_WITH_GRACE_PERIOD"] = "STRICT_14_WITH_GRACE_PERIOD";
365
+ STCancellationPolicy["SUPER_STRICT_30"] = "SUPER_STRICT_30";
366
+ STCancellationPolicy["SUPER_STRICT_60"] = "SUPER_STRICT_60";
367
+ STCancellationPolicy["FIRM_14"] = "FIRM_14";
368
+ })(STCancellationPolicy || (exports.STCancellationPolicy = STCancellationPolicy = {}));
369
+ var LTCancellationPolicy;
370
+ (function (LTCancellationPolicy) {
371
+ LTCancellationPolicy["CANCEL_LONG_TERM_FAIR"] = "CANCEL_LONG_TERM_FAIR";
372
+ LTCancellationPolicy["CANCEL_LONG_TERM_WITH_GRACE_PERIOD"] = "CANCEL_LONG_TERM_WITH_GRACE_PERIOD";
373
+ })(LTCancellationPolicy || (exports.LTCancellationPolicy = LTCancellationPolicy = {}));
374
+ var PromotionStatus;
375
+ (function (PromotionStatus) {
376
+ PromotionStatus["AVAILABLE"] = "AVAILABLE";
377
+ PromotionStatus["ONGOING"] = "ONGOING";
378
+ PromotionStatus["ENDED"] = "ENDED";
379
+ })(PromotionStatus || (exports.PromotionStatus = PromotionStatus = {}));
380
+ var ListingExpectationType;
381
+ (function (ListingExpectationType) {
382
+ ListingExpectationType["requires_stairs"] = "requires_stairs";
383
+ ListingExpectationType["potential_noise"] = "potential_noise";
384
+ ListingExpectationType["has_pets"] = "has_pets";
385
+ ListingExpectationType["limited_parking"] = "limited_parking";
386
+ ListingExpectationType["shared_spaces"] = "shared_spaces";
387
+ ListingExpectationType["limited_amenities"] = "limited_amenities";
388
+ ListingExpectationType["surveillance"] = "surveillance";
389
+ ListingExpectationType["noise_monitor"] = "noise_monitor";
390
+ ListingExpectationType["weapons"] = "weapons";
391
+ ListingExpectationType["animals"] = "animals";
392
+ ListingExpectationType["pool_or_jacuzzi_with_no_fence"] = "pool_or_jacuzzi_with_no_fence";
393
+ ListingExpectationType["lake_or_river_or_water_body"] = "lake_or_river_or_water_body";
394
+ ListingExpectationType["climbing_or_play_structure"] = "climbing_or_play_structure";
395
+ ListingExpectationType["heights_with_no_fence"] = "heights_with_no_fence";
396
+ })(ListingExpectationType || (exports.ListingExpectationType = ListingExpectationType = {}));
397
+ var RoomType;
398
+ (function (RoomType) {
399
+ RoomType["BEDROOM"] = "BEDROOM";
400
+ RoomType["BATHROOM"] = "BATHROOM";
401
+ RoomType["TOILET"] = "TOILET";
402
+ RoomType["LIVING_ROOM"] = "LIVING_ROOM";
403
+ RoomType["KITCHEN"] = "KITCHEN";
404
+ RoomType["DINING_ROOM"] = "DINING_ROOM";
405
+ RoomType["BALCONY"] = "BALCONY";
406
+ RoomType["OUTDOOR"] = "OUTDOOR";
407
+ RoomType["WORKSPACE"] = "WORKSPACE";
408
+ RoomType["STORAGE"] = "STORAGE";
409
+ RoomType["COMMON_SPACE"] = "COMMON_SPACE";
410
+ RoomType["OTHER"] = "OTHER";
411
+ })(RoomType || (exports.RoomType = RoomType = {}));
412
+ var BedType;
413
+ (function (BedType) {
414
+ BedType["SINGLE_BED"] = "SINGLE_BED";
415
+ BedType["DOUBLE_BED"] = "DOUBLE_BED";
416
+ BedType["QUEEN_BED"] = "QUEEN_BED";
417
+ BedType["KING_BED"] = "KING_BED";
418
+ BedType["BUNK_BED"] = "BUNK_BED";
419
+ BedType["SOFA_BED"] = "SOFA_BED";
420
+ BedType["FLOOR_MATTRESS_BED"] = "FLOOR_MATTRESS_BED";
421
+ BedType["AIR_MATTRESS_BED"] = "AIR_MATTRESS_BED";
422
+ BedType["COUCH_BED"] = "COUCH_BED";
423
+ BedType["CRIB_BED"] = "CRIB_BED";
424
+ BedType["FUTON_BED"] = "FUTON_BED";
425
+ BedType["HAMMOCK_BED"] = "HAMMOCK_BED";
426
+ BedType["TODDLER_BED"] = "TODDLER_BED";
427
+ BedType["TRUNDLE_BED"] = "TRUNDLE_BED";
428
+ BedType["WATER_BED"] = "WATER_BED";
429
+ BedType["CALIFORNIA_KING_BED"] = "CALIFORNIA_KING_BED";
430
+ BedType["SMALL_DOUBLE_BED"] = "SMALL_DOUBLE_BED";
431
+ BedType["OTHER"] = "OTHER";
432
+ })(BedType || (exports.BedType = BedType = {}));
433
+ var PayoutStatus;
434
+ (function (PayoutStatus) {
435
+ PayoutStatus["PENDING"] = "PENDING";
436
+ PayoutStatus["COMPLETED"] = "COMPLETED";
437
+ PayoutStatus["CANCELLED"] = "CANCELLED";
438
+ PayoutStatus["REJECTED"] = "REJECTED";
439
+ })(PayoutStatus || (exports.PayoutStatus = PayoutStatus = {}));
440
+ var AdjustmentType;
441
+ (function (AdjustmentType) {
442
+ AdjustmentType["ADDITION"] = "ADDITION";
443
+ AdjustmentType["DEDUCTION"] = "DEDUCTION";
444
+ })(AdjustmentType || (exports.AdjustmentType = AdjustmentType = {}));
445
+ var AdjustmentStatus;
446
+ (function (AdjustmentStatus) {
447
+ AdjustmentStatus["PENDING"] = "PENDING";
448
+ AdjustmentStatus["APPLIED"] = "APPLIED";
449
+ AdjustmentStatus["CANCELLED"] = "CANCELLED";
450
+ })(AdjustmentStatus || (exports.AdjustmentStatus = AdjustmentStatus = {}));
451
+ var ReservationStatus;
452
+ (function (ReservationStatus) {
453
+ ReservationStatus["CONFIRMED"] = "CONFIRMED";
454
+ ReservationStatus["CANCELLED"] = "CANCELLED";
455
+ ReservationStatus["PENDING"] = "PENDING";
456
+ })(ReservationStatus || (exports.ReservationStatus = ReservationStatus = {}));
457
+ var TaskAssignmentStatus;
458
+ (function (TaskAssignmentStatus) {
459
+ TaskAssignmentStatus["ASSIGNED"] = "ASSIGNED";
460
+ TaskAssignmentStatus["ACCEPTED"] = "ACCEPTED";
461
+ TaskAssignmentStatus["REJECTED"] = "REJECTED";
462
+ })(TaskAssignmentStatus || (exports.TaskAssignmentStatus = TaskAssignmentStatus = {}));
463
+ var TaskSpacePhotoType;
464
+ (function (TaskSpacePhotoType) {
465
+ TaskSpacePhotoType["BEFORE"] = "BEFORE";
466
+ TaskSpacePhotoType["AFTER"] = "AFTER";
467
+ })(TaskSpacePhotoType || (exports.TaskSpacePhotoType = TaskSpacePhotoType = {}));
468
+ var TaskSpaceVideoType;
469
+ (function (TaskSpaceVideoType) {
470
+ TaskSpaceVideoType["BEFORE"] = "BEFORE";
471
+ TaskSpaceVideoType["AFTER"] = "AFTER";
472
+ })(TaskSpaceVideoType || (exports.TaskSpaceVideoType = TaskSpaceVideoType = {}));
473
+ var VideoType;
474
+ (function (VideoType) {
475
+ VideoType["BEFORE"] = "BEFORE";
476
+ VideoType["AFTER"] = "AFTER";
477
+ })(VideoType || (exports.VideoType = VideoType = {}));
478
+ var PhotoType;
479
+ (function (PhotoType) {
480
+ PhotoType["BEFORE"] = "BEFORE";
481
+ PhotoType["AFTER"] = "AFTER";
482
+ })(PhotoType || (exports.PhotoType = PhotoType = {}));
483
+ var PendingPaymentStatus;
484
+ (function (PendingPaymentStatus) {
485
+ PendingPaymentStatus["PENDING"] = "PENDING";
486
+ PendingPaymentStatus["COMPLETED"] = "COMPLETED";
487
+ PendingPaymentStatus["FAILED"] = "FAILED";
488
+ PendingPaymentStatus["EXPIRED"] = "EXPIRED";
489
+ })(PendingPaymentStatus || (exports.PendingPaymentStatus = PendingPaymentStatus = {}));
490
+ var BundleStatus;
491
+ (function (BundleStatus) {
492
+ BundleStatus["DRAFT"] = "DRAFT";
493
+ BundleStatus["PENDING"] = "PENDING";
494
+ BundleStatus["ACCEPTED"] = "ACCEPTED";
495
+ BundleStatus["ACTIVE"] = "ACTIVE";
496
+ BundleStatus["DECLINED"] = "DECLINED";
497
+ })(BundleStatus || (exports.BundleStatus = BundleStatus = {}));
498
+ var ConnectionStatus;
499
+ (function (ConnectionStatus) {
500
+ ConnectionStatus["PENDING"] = "PENDING";
501
+ ConnectionStatus["IN_PROGRESS"] = "IN_PROGRESS";
502
+ ConnectionStatus["COMPLETED"] = "COMPLETED";
503
+ ConnectionStatus["REJECTED"] = "REJECTED";
504
+ })(ConnectionStatus || (exports.ConnectionStatus = ConnectionStatus = {}));
505
+ var TaskPaymentStatus;
506
+ (function (TaskPaymentStatus) {
507
+ TaskPaymentStatus["PENDING"] = "PENDING";
508
+ TaskPaymentStatus["PAID"] = "PAID";
509
+ TaskPaymentStatus["FAILED"] = "FAILED";
510
+ })(TaskPaymentStatus || (exports.TaskPaymentStatus = TaskPaymentStatus = {}));
511
+ var ServiceProviderStatus;
512
+ (function (ServiceProviderStatus) {
513
+ ServiceProviderStatus["PENDING"] = "PENDING";
514
+ ServiceProviderStatus["ACTIVE"] = "ACTIVE";
515
+ ServiceProviderStatus["SUSPENDED"] = "SUSPENDED";
516
+ ServiceProviderStatus["INACTIVE"] = "INACTIVE";
517
+ })(ServiceProviderStatus || (exports.ServiceProviderStatus = ServiceProviderStatus = {}));
518
+ var ServiceWorkerStatus;
519
+ (function (ServiceWorkerStatus) {
520
+ ServiceWorkerStatus["PENDING"] = "PENDING";
521
+ ServiceWorkerStatus["ACTIVE"] = "ACTIVE";
522
+ ServiceWorkerStatus["SUSPENDED"] = "SUSPENDED";
523
+ ServiceWorkerStatus["INACTIVE"] = "INACTIVE";
524
+ })(ServiceWorkerStatus || (exports.ServiceWorkerStatus = ServiceWorkerStatus = {}));
525
+ var ServiceProviderType;
526
+ (function (ServiceProviderType) {
527
+ ServiceProviderType["BUSINESS"] = "BUSINESS";
528
+ ServiceProviderType["INDIVIDUAL"] = "INDIVIDUAL";
529
+ })(ServiceProviderType || (exports.ServiceProviderType = ServiceProviderType = {}));
@@ -0,0 +1,4 @@
1
+ import { infer } from "zod";
2
+ import { externalSyncRequestSchema } from "../../schemas/external-sync-request";
3
+ export interface ExternalSyncRequest extends infer<typeof externalSyncRequestSchema> {
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,5 @@
1
+ import { infer } from "zod";
2
+ import { guestVerificationSchema } from "../../schemas/guest-verification";
1
3
  import { User } from "../user";
2
4
  export declare enum GuestVerificationStatus {
3
5
  IN_PROGRESS = "IN_PROGRESS",
@@ -11,23 +13,6 @@ export declare enum GuestDocumentType {
11
13
  DRIVERS_LICENSE = "DRIVERS_LICENSE"
12
14
  }
13
15
  export type GuestKycStep = "verify-identity" | "country" | "document" | "name" | "document-verification" | "selfie" | "review-pending";
14
- export interface GuestVerification {
15
- id: string;
16
- userId: string;
16
+ export interface GuestVerification extends infer<typeof guestVerificationSchema> {
17
17
  user?: User;
18
- status: GuestVerificationStatus;
19
- currentStep: GuestKycStep;
20
- country?: string | null;
21
- documentType?: GuestDocumentType | null;
22
- firstName?: string | null;
23
- middleName?: string | null;
24
- lastName?: string | null;
25
- documentFrontUrl?: string | null;
26
- documentBackUrl?: string | null;
27
- selfieUrl?: string | null;
28
- submittedAt?: Date | null;
29
- reviewedAt?: Date | null;
30
- rejectionReason?: string | null;
31
- createdAt: Date;
32
- updatedAt: Date;
33
18
  }
@@ -111,3 +111,10 @@ export * from "./booking-settings";
111
111
  export * from "./availability-settings";
112
112
  export * from "./seasonal-min-nights";
113
113
  export * from "./guest-verification";
114
+ export * from "./listing-expectation";
115
+ export * from "./notification";
116
+ export * from "./push-token";
117
+ export * from "./reservation-guest-invite";
118
+ export * from "./task-expense-fact";
119
+ export * from "./reservation-access-log";
120
+ export * from "./property-guide";
@@ -127,3 +127,10 @@ __exportStar(require("./booking-settings"), exports);
127
127
  __exportStar(require("./availability-settings"), exports);
128
128
  __exportStar(require("./seasonal-min-nights"), exports);
129
129
  __exportStar(require("./guest-verification"), exports);
130
+ __exportStar(require("./listing-expectation"), exports);
131
+ __exportStar(require("./notification"), exports);
132
+ __exportStar(require("./push-token"), exports);
133
+ __exportStar(require("./reservation-guest-invite"), exports);
134
+ __exportStar(require("./task-expense-fact"), exports);
135
+ __exportStar(require("./reservation-access-log"), exports);
136
+ __exportStar(require("./property-guide"), exports);
@@ -0,0 +1,6 @@
1
+ import { infer } from "zod";
2
+ import { listingExpectationSchema } from "../../schemas/listing-expectation";
3
+ import { BookingSettings } from "../booking-settings";
4
+ export interface ListingExpectation extends infer<typeof listingExpectationSchema> {
5
+ bookingSettings?: BookingSettings;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ import { infer } from "zod";
2
+ import { notificationPreferenceSchema, notificationSchema } from "../../schemas/notification";
3
+ import { User } from "../user";
4
+ import { Task } from "../task";
5
+ import { Property } from "../property";
6
+ import { Room } from "../room";
7
+ export interface Notification extends infer<typeof notificationSchema> {
8
+ user?: User;
9
+ task?: Task | null;
10
+ property?: Property | null;
11
+ room?: Room | null;
12
+ }
13
+ export interface NotificationPreference extends infer<typeof notificationPreferenceSchema> {
14
+ user?: User;
15
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -37,6 +37,8 @@ import { CleaningChecklist } from "../cleaning-checklist";
37
37
  import { SuppliesAndNotesHandbook } from "../supplies-and-notes-handbook";
38
38
  import { AvailabilitySettings } from "../availability-settings";
39
39
  import { BookingSettings } from "../booking-settings";
40
+ import { Notification } from "../notification";
41
+ import { TaskExpenseFact } from "../task-expense-fact";
40
42
  export interface Property extends infer<typeof propertySchema> {
41
43
  user?: User;
42
44
  rooms?: Room[];
@@ -80,6 +82,8 @@ export interface Property extends infer<typeof propertySchema> {
80
82
  suppliesAndNotesHandbook?: SuppliesAndNotesHandbook;
81
83
  availabilitySettings?: AvailabilitySettings;
82
84
  bookingSettings?: BookingSettings;
85
+ notifications?: Notification[];
86
+ taskExpenseFacts?: TaskExpenseFact[];
83
87
  }
84
88
  export interface UpdatePropertySchema extends infer<typeof updatePropertySchema> {
85
89
  }
@@ -0,0 +1,6 @@
1
+ import { infer } from "zod";
2
+ import { propertyGuideSchema } from "../../schemas/property-guide";
3
+ import { Property } from "../property";
4
+ export interface PropertyGuide extends infer<typeof propertyGuideSchema> {
5
+ property?: Property;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import { infer } from "zod";
2
+ import { pushTokenSchema } from "../../schemas/push-token";
3
+ import { User } from "../user";
4
+ export interface PushToken extends infer<typeof pushTokenSchema> {
5
+ user?: User;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,9 +6,14 @@ import { Room } from "../room";
6
6
  import { Task } from "../task";
7
7
  import { Payout } from "../payout";
8
8
  import { ReservationOriginalUnit } from "../reservation-original-unit";
9
+ import { User } from "../user";
10
+ import { ReservationGuestInvite } from "../reservation-guest-invite";
11
+ import { TaskExpenseFact } from "../task-expense-fact";
12
+ import { ReservationAccessLog } from "../reservation-access-log";
9
13
  export interface Reservation extends infer<typeof ReservationSchema> {
10
14
  property?: Property;
11
15
  customer?: ReservationCustomer;
16
+ user?: User | null;
12
17
  reservationServices?: ReservationService[];
13
18
  reservationRooms?: ReservationRoom[];
14
19
  reservationUnitAssignments?: ReservationUnitAssignment[];
@@ -17,6 +22,9 @@ export interface Reservation extends infer<typeof ReservationSchema> {
17
22
  finance?: ReservationFinance;
18
23
  originalUnit?: ReservationOriginalUnit;
19
24
  reservationNightFacts?: import("../reservation-night-fact").ReservationNightFact[];
25
+ guestInvites?: ReservationGuestInvite[];
26
+ taskExpenseFacts?: TaskExpenseFact[];
27
+ reservationAccessLogs?: ReservationAccessLog[];
20
28
  }
21
29
  export interface ReservationFinance extends infer<typeof ReservationFinanceSchema> {
22
30
  reservation?: Reservation;
@@ -0,0 +1,64 @@
1
+ import { infer } from "zod";
2
+ import { reservationAccessLogSchema } from "../../schemas/reservation-access-log";
3
+ import { Reservation } from "../reservation";
4
+ import { Property } from "../property";
5
+ import { Room } from "../room";
6
+ import { SeamDevice, SeamAccessCode } from "../seam";
7
+ import { KlevioLock, KlevioKey } from "../klevio";
8
+ /** Raw DB row shape (Prisma `ReservationAccessLog`). */
9
+ export interface ReservationAccessLog extends infer<typeof reservationAccessLogSchema> {
10
+ reservation?: Reservation;
11
+ property?: Property | null;
12
+ room?: Room | null;
13
+ device?: SeamDevice | null;
14
+ accessCode?: SeamAccessCode | null;
15
+ klevioLock?: KlevioLock | null;
16
+ klevioKey?: KlevioKey | null;
17
+ }
18
+ /** Transformed entry returned by `GET /seam/reservations/:id/access-logs`. */
19
+ export interface ReservationAccessLogEntry {
20
+ id: number;
21
+ type: string;
22
+ occurredAt: Date | string;
23
+ device?: {
24
+ id: string;
25
+ deviceName: string;
26
+ deviceType: string;
27
+ imageUrl?: string | null;
28
+ location?: string | null;
29
+ manufacturer?: string | null;
30
+ } | null;
31
+ accessCode?: {
32
+ id: string;
33
+ name: string;
34
+ code?: string | null;
35
+ status: string;
36
+ } | null;
37
+ user?: {
38
+ name?: string;
39
+ email?: string | null;
40
+ role?: string;
41
+ avatar?: string;
42
+ } | null;
43
+ rawData?: unknown;
44
+ }
45
+ /** Paginated access-log timeline for a reservation. */
46
+ export interface ReservationAccessLogsResponse {
47
+ reservation: {
48
+ id: number;
49
+ checkIn: Date | string;
50
+ checkOut: Date | string;
51
+ user?: {
52
+ id: string;
53
+ name?: string | null;
54
+ email?: string | null;
55
+ } | null;
56
+ rooms: Array<{
57
+ id: number;
58
+ name: string;
59
+ }>;
60
+ };
61
+ logs: ReservationAccessLogEntry[];
62
+ nextCursor?: string | null;
63
+ hasMore?: boolean;
64
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { infer } from "zod";
2
+ import { reservationGuestInviteSchema } from "../../schemas/reservation-guest-invite";
3
+ import { Reservation } from "../reservation";
4
+ import { User } from "../user";
5
+ export interface ReservationGuestInvite extends infer<typeof reservationGuestInviteSchema> {
6
+ reservation?: Reservation;
7
+ invitedBy?: User;
8
+ invitee?: User | null;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import { infer } from "zod";
2
+ import { serviceAvailabilitySchema } from "../../schemas/service-availability";
3
+ import { Service } from "../service";
4
+ export interface ServiceAvailability extends infer<typeof serviceAvailabilitySchema> {
5
+ service?: Service;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ import { infer } from "zod";
2
+ import { serviceWorkerPayoutInfoSchema, serviceWorkerPayoutSchema, serviceWorkerWorkingHoursSchema } from "../../schemas/service-worker-payout";
3
+ import { ServiceWorker } from "../service-worker";
4
+ import { Task } from "../task";
5
+ import { ServiceProviderPayout } from "../service-provider-payout";
6
+ export interface ServiceWorkerPayoutInfo extends infer<typeof serviceWorkerPayoutInfoSchema> {
7
+ serviceWorker?: ServiceWorker;
8
+ payouts?: ServiceWorkerPayout[];
9
+ }
10
+ export interface ServiceWorkerPayout extends infer<typeof serviceWorkerPayoutSchema> {
11
+ payoutInfo?: ServiceWorkerPayoutInfo;
12
+ tasks?: Task[];
13
+ providerPayout?: ServiceProviderPayout | null;
14
+ }
15
+ export interface ServiceWorkerWorkingHours extends infer<typeof serviceWorkerWorkingHoursSchema> {
16
+ serviceWorker?: ServiceWorker;
17
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -33,6 +33,9 @@ import { TaskProviderPricing } from "../task-provider-pricing";
33
33
  import { TaskSupplyPurchaseItem } from "../task-supply-purchase-item";
34
34
  import { ServiceProviderPayout } from "../service-provider-payout";
35
35
  import { ServiceProvider } from "../service-provider";
36
+ import { TaskExpenseFact } from "../task-expense-fact";
37
+ import { Notification } from "../notification";
38
+ import { Room } from "../room";
36
39
  export interface Task extends infer<typeof taskSchema> {
37
40
  property?: Property;
38
41
  department?: TaskDepartment;
@@ -72,4 +75,8 @@ export interface Task extends infer<typeof taskSchema> {
72
75
  supplyPurchaseItems?: TaskSupplyPurchaseItem[];
73
76
  serviceProviderPayout?: ServiceProviderPayout;
74
77
  assignedProvider?: ServiceProvider;
78
+ room?: Room | null;
79
+ taskExpenseFacts?: TaskExpenseFact[];
80
+ notifications?: Notification[];
81
+ photographySpaces?: TaskPhotographySpace[];
75
82
  }
@@ -0,0 +1,12 @@
1
+ import { infer } from "zod";
2
+ import { taskExpenseFactSchema } from "../../schemas/task-expense-fact";
3
+ import { Task } from "../task";
4
+ import { Reservation } from "../reservation";
5
+ import { Property } from "../property";
6
+ import { Room } from "../room";
7
+ export interface TaskExpenseFact extends infer<typeof taskExpenseFactSchema> {
8
+ task?: Task;
9
+ reservation?: Reservation | null;
10
+ property?: Property;
11
+ room?: Room | null;
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -20,6 +20,10 @@ import { UserAiAgentSubscription } from "../ai-agent/user-ai-agent-subscription"
20
20
  import { InvitedServiceProvider } from "../invited-service-provider";
21
21
  import { InvitedServiceProviderPreferences } from "../invited-service-provider-preferences";
22
22
  import { TaskPricing } from "../task-pricing";
23
+ import { GuestVerification } from "../guest-verification";
24
+ import { PushToken } from "../push-token";
25
+ import { ReservationGuestInvite } from "../reservation-guest-invite";
26
+ import { Notification, NotificationPreference } from "../notification";
23
27
  export interface User extends infer<typeof userSchema> {
24
28
  tier?: Tier;
25
29
  properties?: Property[];
@@ -46,4 +50,10 @@ export interface User extends infer<typeof userSchema> {
46
50
  invitedServiceProviderPreferences?: InvitedServiceProviderPreferences[];
47
51
  addedTaskPricings?: TaskPricing[];
48
52
  additionalUserRoles?: UserRole[];
53
+ guestVerification?: GuestVerification | null;
54
+ pushTokens?: PushToken[];
55
+ sentGuestInvites?: ReservationGuestInvite[];
56
+ receivedGuestInvites?: ReservationGuestInvite[];
57
+ notifications?: Notification[];
58
+ notificationPreferences?: NotificationPreference[];
49
59
  }
@@ -0,0 +1,15 @@
1
+ import { infer } from "zod";
2
+ import { webhookDeliverySchema, webhookEndpointSchema, webhookEventSchema } from "../../schemas/webhook";
3
+ import { User } from "../user";
4
+ export interface WebhookEndpoint extends infer<typeof webhookEndpointSchema> {
5
+ user?: User;
6
+ deliveries?: WebhookDelivery[];
7
+ }
8
+ export interface WebhookEvent extends infer<typeof webhookEventSchema> {
9
+ user?: User;
10
+ deliveries?: WebhookDelivery[];
11
+ }
12
+ export interface WebhookDelivery extends infer<typeof webhookDeliverySchema> {
13
+ endpoint?: WebhookEndpoint;
14
+ event?: WebhookEvent;
15
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });