@wix/himalaya-cli 0.1529.0 → 0.1531.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.
Files changed (74) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/index.d.ts +24 -0
  2. package/dist/cli.mjs +717 -481
  3. package/dist/preview-assets.generated.bin +0 -0
  4. package/guides/release-notes.md +17 -0
  5. package/guides/templates.md +11 -1
  6. package/guides/tier-5-add-a-screen.md +4 -0
  7. package/package.json +2 -2
  8. package/templates/beauty-salon/dev/index.ts +3013 -3074
  9. package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +23 -5
  10. package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +18 -0
  11. package/templates/beauty-salon/tier5-src/_shared/member-bookings.ts +50 -7
  12. package/templates/beauty-salon/tier5-src/himi-booking-bookings/index.ts +385 -74
  13. package/templates/beauty-salon/tier5-src/himi-branded-lite-agenda/index.ts +240 -74
  14. package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +23 -5
  15. package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +18 -0
  16. package/templates/branded-lite/dev/index.ts +3121 -3195
  17. package/templates/branded-lite/tier5-src/_shared/collection-service.ts +23 -5
  18. package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +18 -0
  19. package/templates/branded-lite/tier5-src/_shared/member-bookings.ts +50 -7
  20. package/templates/branded-lite/tier5-src/himi-booking-bookings/index.ts +385 -74
  21. package/templates/branded-lite/tier5-src/himi-branded-lite-agenda/index.ts +240 -74
  22. package/templates/community-club/tier5-src/_shared/collection-service.ts +23 -5
  23. package/templates/community-club/tier5-src/_shared/engine-intl.ts +18 -0
  24. package/templates/community-club/tier5-src/_shared/member-bookings.ts +50 -7
  25. package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +23 -5
  26. package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +18 -0
  27. package/templates/events-meetups/tier5-src/_shared/collection-service.ts +23 -5
  28. package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +18 -0
  29. package/templates/events-meetups/tier5-src/_shared/member-bookings.ts +50 -7
  30. package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +23 -5
  31. package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +18 -0
  32. package/templates/gym-fitness/dev/index.ts +3023 -3097
  33. package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +23 -5
  34. package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +18 -0
  35. package/templates/gym-fitness/tier5-src/_shared/member-bookings.ts +50 -7
  36. package/templates/gym-fitness/tier5-src/himi-booking-bookings/index.ts +385 -74
  37. package/templates/gym-fitness/tier5-src/himi-branded-lite-agenda/index.ts +240 -74
  38. package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +23 -5
  39. package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +18 -0
  40. package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +23 -5
  41. package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +18 -0
  42. package/templates/nonprofit-cause/tier5-src/_shared/member-bookings.ts +50 -7
  43. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +23 -5
  44. package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +18 -0
  45. package/templates/owner-lite/tier5-src/_shared/collection-service.ts +23 -5
  46. package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +18 -0
  47. package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +23 -5
  48. package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +18 -0
  49. package/templates/podcast-creator/tier5-src/_shared/member-bookings.ts +50 -7
  50. package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +23 -5
  51. package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +18 -0
  52. package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +23 -5
  53. package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +18 -0
  54. package/templates/portfolio-creative/tier5-src/_shared/member-bookings.ts +50 -7
  55. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +23 -5
  56. package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +18 -0
  57. package/templates/restaurant/tier5-src/_shared/collection-service.ts +23 -5
  58. package/templates/restaurant/tier5-src/_shared/engine-intl.ts +18 -0
  59. package/templates/restaurant/tier5-src/_shared/member-bookings.ts +50 -7
  60. package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +23 -5
  61. package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +18 -0
  62. package/templates/retail-store/tier5-src/_shared/collection-service.ts +23 -5
  63. package/templates/retail-store/tier5-src/_shared/engine-intl.ts +18 -0
  64. package/templates/retail-store/tier5-src/_shared/member-bookings.ts +50 -7
  65. package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +23 -5
  66. package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +18 -0
  67. package/templates/yoga-studio/dev/index.ts +3018 -3092
  68. package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +23 -5
  69. package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +18 -0
  70. package/templates/yoga-studio/tier5-src/_shared/member-bookings.ts +50 -7
  71. package/templates/yoga-studio/tier5-src/himi-booking-bookings/index.ts +385 -74
  72. package/templates/yoga-studio/tier5-src/himi-branded-lite-agenda/index.ts +240 -74
  73. package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +23 -5
  74. package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +18 -0
@@ -44,15 +44,38 @@ export interface WixBookingsQuery {
44
44
  filter?: Record<string, unknown>;
45
45
  sort?: WixBookingsSort[];
46
46
  }
47
+ export interface WixBookedSlotResource {
48
+ id?: string;
49
+ name?: string;
50
+ }
51
+ export interface WixBookedLocation {
52
+ id?: string;
53
+ name?: string;
54
+ formattedAddress?: string;
55
+ locationType?: string;
56
+ }
47
57
  export interface WixBookingSlot {
48
58
  serviceId?: string;
49
59
  startDate?: string;
50
60
  endDate?: string;
51
61
  timezone?: string;
62
+ sessionId?: string;
63
+ scheduleId?: string;
64
+ resource?: WixBookedSlotResource;
65
+ location?: WixBookedLocation;
66
+ }
67
+ export interface WixBookedSchedule {
68
+ scheduleId?: string;
69
+ serviceId?: string;
70
+ location?: WixBookedLocation;
71
+ timezone?: string;
72
+ firstSessionStart?: string;
73
+ lastSessionEnd?: string;
52
74
  }
53
75
  export interface WixBookedEntity {
54
76
  title?: string;
55
77
  slot?: WixBookingSlot;
78
+ schedule?: WixBookedSchedule;
56
79
  }
57
80
  export interface WixBookingContactDetails {
58
81
  contactId?: string;
@@ -71,6 +94,7 @@ export interface WixBooking {
71
94
  endDate?: string;
72
95
  totalParticipants?: number;
73
96
  createdDate?: string;
97
+ revision?: string;
74
98
  }
75
99
  export interface WixBookingsPagingMetadata {
76
100
  count?: number;