@wix/bookings 1.0.342 → 1.0.344

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 (595) hide show
  1. package/build/cjs/context.d.ts +12 -14
  2. package/build/cjs/context.js +13 -15
  3. package/build/cjs/context.js.map +1 -1
  4. package/build/cjs/index.d.ts +12 -16
  5. package/build/cjs/index.js +13 -17
  6. package/build/cjs/index.js.map +1 -1
  7. package/build/cjs/meta.d.ts +12 -15
  8. package/build/cjs/meta.js +13 -16
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/context.d.ts +12 -14
  11. package/build/es/context.js +12 -14
  12. package/build/es/context.js.map +1 -1
  13. package/build/es/index.d.ts +12 -16
  14. package/build/es/index.js +12 -16
  15. package/build/es/index.js.map +1 -1
  16. package/build/es/meta.d.ts +12 -15
  17. package/build/es/meta.js +12 -15
  18. package/build/es/meta.js.map +1 -1
  19. package/package.json +22 -9
  20. package/build/cjs/index.typings.d.ts +0 -15
  21. package/build/cjs/index.typings.js +0 -42
  22. package/build/cjs/index.typings.js.map +0 -1
  23. package/build/cjs/src/bookings-availability-v1-slot-availability.context.d.ts +0 -3
  24. package/build/cjs/src/bookings-availability-v1-slot-availability.context.js +0 -17
  25. package/build/cjs/src/bookings-availability-v1-slot-availability.context.js.map +0 -1
  26. package/build/cjs/src/bookings-availability-v1-slot-availability.http.d.ts +0 -50
  27. package/build/cjs/src/bookings-availability-v1-slot-availability.http.js +0 -184
  28. package/build/cjs/src/bookings-availability-v1-slot-availability.http.js.map +0 -1
  29. package/build/cjs/src/bookings-availability-v1-slot-availability.meta.d.ts +0 -13
  30. package/build/cjs/src/bookings-availability-v1-slot-availability.meta.js +0 -47
  31. package/build/cjs/src/bookings-availability-v1-slot-availability.meta.js.map +0 -1
  32. package/build/cjs/src/bookings-availability-v1-slot-availability.public.d.ts +0 -8
  33. package/build/cjs/src/bookings-availability-v1-slot-availability.public.js +0 -15
  34. package/build/cjs/src/bookings-availability-v1-slot-availability.public.js.map +0 -1
  35. package/build/cjs/src/bookings-availability-v1-slot-availability.types.d.ts +0 -345
  36. package/build/cjs/src/bookings-availability-v1-slot-availability.types.js +0 -16
  37. package/build/cjs/src/bookings-availability-v1-slot-availability.types.js.map +0 -1
  38. package/build/cjs/src/bookings-availability-v1-slot-availability.universal.d.ts +0 -413
  39. package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js +0 -177
  40. package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js.map +0 -1
  41. package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.context.d.ts +0 -4
  42. package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.context.js +0 -29
  43. package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.context.js.map +0 -1
  44. package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.http.d.ts +0 -222
  45. package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.http.js +0 -504
  46. package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.http.js.map +0 -1
  47. package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.meta.d.ts +0 -14
  48. package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.meta.js +0 -66
  49. package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.meta.js.map +0 -1
  50. package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.public.d.ts +0 -9
  51. package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.public.js +0 -20
  52. package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.public.js.map +0 -1
  53. package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.types.d.ts +0 -831
  54. package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.types.js +0 -14
  55. package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.types.js.map +0 -1
  56. package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.universal.d.ts +0 -1143
  57. package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.universal.js +0 -365
  58. package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.universal.js.map +0 -1
  59. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.http.d.ts +0 -222
  60. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.http.js +0 -436
  61. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.http.js.map +0 -1
  62. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.types.d.ts +0 -831
  63. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.types.js +0 -14
  64. package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.types.js.map +0 -1
  65. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.d.ts +0 -4
  66. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.js +0 -29
  67. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.js.map +0 -1
  68. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.d.ts +0 -222
  69. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.js +0 -504
  70. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.js.map +0 -1
  71. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.d.ts +0 -14
  72. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.js +0 -66
  73. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.js.map +0 -1
  74. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.d.ts +0 -9
  75. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.js +0 -20
  76. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.js.map +0 -1
  77. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.d.ts +0 -831
  78. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.js +0 -14
  79. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.js.map +0 -1
  80. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.d.ts +0 -1115
  81. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js +0 -351
  82. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js.map +0 -1
  83. package/build/cjs/src/bookings-availability-v2-time-slot.http.d.ts +0 -223
  84. package/build/cjs/src/bookings-availability-v2-time-slot.http.js +0 -541
  85. package/build/cjs/src/bookings-availability-v2-time-slot.http.js.map +0 -1
  86. package/build/cjs/src/bookings-availability-v2-time-slot.meta.d.ts +0 -16
  87. package/build/cjs/src/bookings-availability-v2-time-slot.meta.js +0 -104
  88. package/build/cjs/src/bookings-availability-v2-time-slot.meta.js.map +0 -1
  89. package/build/cjs/src/bookings-availability-v2-time-slot.public.d.ts +0 -11
  90. package/build/cjs/src/bookings-availability-v2-time-slot.public.js +0 -32
  91. package/build/cjs/src/bookings-availability-v2-time-slot.public.js.map +0 -1
  92. package/build/cjs/src/bookings-availability-v2-time-slot.types.d.ts +0 -805
  93. package/build/cjs/src/bookings-availability-v2-time-slot.types.js +0 -14
  94. package/build/cjs/src/bookings-availability-v2-time-slot.types.js.map +0 -1
  95. package/build/cjs/src/bookings-availability-v2-time-slot.universal.d.ts +0 -1401
  96. package/build/cjs/src/bookings-availability-v2-time-slot.universal.js +0 -566
  97. package/build/cjs/src/bookings-availability-v2-time-slot.universal.js.map +0 -1
  98. package/build/cjs/src/bookings-calendar-v1-session.context.d.ts +0 -5
  99. package/build/cjs/src/bookings-calendar-v1-session.context.js +0 -41
  100. package/build/cjs/src/bookings-calendar-v1-session.context.js.map +0 -1
  101. package/build/cjs/src/bookings-calendar-v1-session.http.d.ts +0 -54
  102. package/build/cjs/src/bookings-calendar-v1-session.http.js +0 -337
  103. package/build/cjs/src/bookings-calendar-v1-session.http.js.map +0 -1
  104. package/build/cjs/src/bookings-calendar-v1-session.meta.d.ts +0 -17
  105. package/build/cjs/src/bookings-calendar-v1-session.meta.js +0 -85
  106. package/build/cjs/src/bookings-calendar-v1-session.meta.js.map +0 -1
  107. package/build/cjs/src/bookings-calendar-v1-session.public.d.ts +0 -57
  108. package/build/cjs/src/bookings-calendar-v1-session.public.js +0 -37
  109. package/build/cjs/src/bookings-calendar-v1-session.public.js.map +0 -1
  110. package/build/cjs/src/bookings-calendar-v1-session.types.d.ts +0 -1260
  111. package/build/cjs/src/bookings-calendar-v1-session.types.js +0 -121
  112. package/build/cjs/src/bookings-calendar-v1-session.types.js.map +0 -1
  113. package/build/cjs/src/bookings-calendar-v1-session.universal.d.ts +0 -1360
  114. package/build/cjs/src/bookings-calendar-v1-session.universal.js +0 -428
  115. package/build/cjs/src/bookings-calendar-v1-session.universal.js.map +0 -1
  116. package/build/cjs/src/bookings-calendar-v2-external-calendar.context.d.ts +0 -11
  117. package/build/cjs/src/bookings-calendar-v2-external-calendar.context.js +0 -113
  118. package/build/cjs/src/bookings-calendar-v2-external-calendar.context.js.map +0 -1
  119. package/build/cjs/src/bookings-calendar-v2-external-calendar.http.d.ts +0 -111
  120. package/build/cjs/src/bookings-calendar-v2-external-calendar.http.js +0 -325
  121. package/build/cjs/src/bookings-calendar-v2-external-calendar.http.js.map +0 -1
  122. package/build/cjs/src/bookings-calendar-v2-external-calendar.meta.d.ts +0 -29
  123. package/build/cjs/src/bookings-calendar-v2-external-calendar.meta.js +0 -199
  124. package/build/cjs/src/bookings-calendar-v2-external-calendar.meta.js.map +0 -1
  125. package/build/cjs/src/bookings-calendar-v2-external-calendar.public.d.ts +0 -16
  126. package/build/cjs/src/bookings-calendar-v2-external-calendar.public.js +0 -80
  127. package/build/cjs/src/bookings-calendar-v2-external-calendar.public.js.map +0 -1
  128. package/build/cjs/src/bookings-calendar-v2-external-calendar.types.d.ts +0 -1525
  129. package/build/cjs/src/bookings-calendar-v2-external-calendar.types.js +0 -210
  130. package/build/cjs/src/bookings-calendar-v2-external-calendar.types.js.map +0 -1
  131. package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.d.ts +0 -1818
  132. package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.js +0 -928
  133. package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.js.map +0 -1
  134. package/build/cjs/src/bookings-calendar-v2-session-feed-event.http.d.ts +0 -7
  135. package/build/cjs/src/bookings-calendar-v2-session-feed-event.http.js +0 -42
  136. package/build/cjs/src/bookings-calendar-v2-session-feed-event.http.js.map +0 -1
  137. package/build/cjs/src/bookings-calendar-v2-session-feed-event.public.d.ts +0 -4
  138. package/build/cjs/src/bookings-calendar-v2-session-feed-event.public.js +0 -25
  139. package/build/cjs/src/bookings-calendar-v2-session-feed-event.public.js.map +0 -1
  140. package/build/cjs/src/bookings-calendar-v2-session-feed-event.types.d.ts +0 -1115
  141. package/build/cjs/src/bookings-calendar-v2-session-feed-event.types.js +0 -141
  142. package/build/cjs/src/bookings-calendar-v2-session-feed-event.types.js.map +0 -1
  143. package/build/cjs/src/bookings-calendar-v2-session-feed-event.universal.d.ts +0 -1122
  144. package/build/cjs/src/bookings-calendar-v2-session-feed-event.universal.js +0 -240
  145. package/build/cjs/src/bookings-calendar-v2-session-feed-event.universal.js.map +0 -1
  146. package/build/cjs/src/bookings-calendar-v2-session-view.context.d.ts +0 -3
  147. package/build/cjs/src/bookings-calendar-v2-session-view.context.js +0 -17
  148. package/build/cjs/src/bookings-calendar-v2-session-view.context.js.map +0 -1
  149. package/build/cjs/src/bookings-calendar-v2-session-view.http.d.ts +0 -6
  150. package/build/cjs/src/bookings-calendar-v2-session-view.http.js +0 -53
  151. package/build/cjs/src/bookings-calendar-v2-session-view.http.js.map +0 -1
  152. package/build/cjs/src/bookings-calendar-v2-session-view.meta.d.ts +0 -13
  153. package/build/cjs/src/bookings-calendar-v2-session-view.meta.js +0 -47
  154. package/build/cjs/src/bookings-calendar-v2-session-view.meta.js.map +0 -1
  155. package/build/cjs/src/bookings-calendar-v2-session-view.public.d.ts +0 -8
  156. package/build/cjs/src/bookings-calendar-v2-session-view.public.js +0 -29
  157. package/build/cjs/src/bookings-calendar-v2-session-view.public.js.map +0 -1
  158. package/build/cjs/src/bookings-calendar-v2-session-view.types.d.ts +0 -1191
  159. package/build/cjs/src/bookings-calendar-v2-session-view.types.js +0 -142
  160. package/build/cjs/src/bookings-calendar-v2-session-view.types.js.map +0 -1
  161. package/build/cjs/src/bookings-calendar-v2-session-view.universal.d.ts +0 -1207
  162. package/build/cjs/src/bookings-calendar-v2-session-view.universal.js +0 -235
  163. package/build/cjs/src/bookings-calendar-v2-session-view.universal.js.map +0 -1
  164. package/build/cjs/src/bookings-catalog-v1-resource.context.d.ts +0 -6
  165. package/build/cjs/src/bookings-catalog-v1-resource.context.js +0 -49
  166. package/build/cjs/src/bookings-catalog-v1-resource.context.js.map +0 -1
  167. package/build/cjs/src/bookings-catalog-v1-resource.http.d.ts +0 -56
  168. package/build/cjs/src/bookings-catalog-v1-resource.http.js +0 -821
  169. package/build/cjs/src/bookings-catalog-v1-resource.http.js.map +0 -1
  170. package/build/cjs/src/bookings-catalog-v1-resource.meta.d.ts +0 -22
  171. package/build/cjs/src/bookings-catalog-v1-resource.meta.js +0 -104
  172. package/build/cjs/src/bookings-catalog-v1-resource.meta.js.map +0 -1
  173. package/build/cjs/src/bookings-catalog-v1-resource.public.d.ts +0 -156
  174. package/build/cjs/src/bookings-catalog-v1-resource.public.js +0 -46
  175. package/build/cjs/src/bookings-catalog-v1-resource.public.js.map +0 -1
  176. package/build/cjs/src/bookings-catalog-v1-resource.types.d.ts +0 -2138
  177. package/build/cjs/src/bookings-catalog-v1-resource.types.js +0 -126
  178. package/build/cjs/src/bookings-catalog-v1-resource.types.js.map +0 -1
  179. package/build/cjs/src/bookings-catalog-v1-resource.universal.d.ts +0 -1519
  180. package/build/cjs/src/bookings-catalog-v1-resource.universal.js +0 -510
  181. package/build/cjs/src/bookings-catalog-v1-resource.universal.js.map +0 -1
  182. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.context.d.ts +0 -9
  183. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.context.js +0 -89
  184. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.context.js.map +0 -1
  185. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.http.d.ts +0 -60
  186. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.http.js +0 -275
  187. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.http.js.map +0 -1
  188. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.meta.d.ts +0 -29
  189. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.meta.js +0 -167
  190. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.meta.js.map +0 -1
  191. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.public.d.ts +0 -111
  192. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.public.js +0 -74
  193. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.public.js.map +0 -1
  194. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +0 -2051
  195. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.js +0 -198
  196. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.js.map +0 -1
  197. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +0 -2297
  198. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js +0 -758
  199. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +0 -1
  200. package/build/cjs/src/bookings-reader-v2-extended-booking.context.d.ts +0 -3
  201. package/build/cjs/src/bookings-reader-v2-extended-booking.context.js +0 -17
  202. package/build/cjs/src/bookings-reader-v2-extended-booking.context.js.map +0 -1
  203. package/build/cjs/src/bookings-reader-v2-extended-booking.http.d.ts +0 -28
  204. package/build/cjs/src/bookings-reader-v2-extended-booking.http.js +0 -107
  205. package/build/cjs/src/bookings-reader-v2-extended-booking.http.js.map +0 -1
  206. package/build/cjs/src/bookings-reader-v2-extended-booking.meta.d.ts +0 -13
  207. package/build/cjs/src/bookings-reader-v2-extended-booking.meta.js +0 -47
  208. package/build/cjs/src/bookings-reader-v2-extended-booking.meta.js.map +0 -1
  209. package/build/cjs/src/bookings-reader-v2-extended-booking.public.d.ts +0 -8
  210. package/build/cjs/src/bookings-reader-v2-extended-booking.public.js +0 -24
  211. package/build/cjs/src/bookings-reader-v2-extended-booking.public.js.map +0 -1
  212. package/build/cjs/src/bookings-reader-v2-extended-booking.types.d.ts +0 -854
  213. package/build/cjs/src/bookings-reader-v2-extended-booking.types.js +0 -107
  214. package/build/cjs/src/bookings-reader-v2-extended-booking.types.js.map +0 -1
  215. package/build/cjs/src/bookings-reader-v2-extended-booking.universal.d.ts +0 -890
  216. package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js +0 -255
  217. package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js.map +0 -1
  218. package/build/cjs/src/bookings-services-v2-service.context.d.ts +0 -7
  219. package/build/cjs/src/bookings-services-v2-service.context.js +0 -65
  220. package/build/cjs/src/bookings-services-v2-service.context.js.map +0 -1
  221. package/build/cjs/src/bookings-services-v2-service.http.d.ts +0 -30
  222. package/build/cjs/src/bookings-services-v2-service.http.js +0 -395
  223. package/build/cjs/src/bookings-services-v2-service.http.js.map +0 -1
  224. package/build/cjs/src/bookings-services-v2-service.meta.d.ts +0 -23
  225. package/build/cjs/src/bookings-services-v2-service.meta.js +0 -123
  226. package/build/cjs/src/bookings-services-v2-service.meta.js.map +0 -1
  227. package/build/cjs/src/bookings-services-v2-service.public.d.ts +0 -406
  228. package/build/cjs/src/bookings-services-v2-service.public.js +0 -79
  229. package/build/cjs/src/bookings-services-v2-service.public.js.map +0 -1
  230. package/build/cjs/src/bookings-services-v2-service.types.d.ts +0 -3909
  231. package/build/cjs/src/bookings-services-v2-service.types.js +0 -353
  232. package/build/cjs/src/bookings-services-v2-service.types.js.map +0 -1
  233. package/build/cjs/src/bookings-services-v2-service.universal.d.ts +0 -3910
  234. package/build/cjs/src/bookings-services-v2-service.universal.js +0 -811
  235. package/build/cjs/src/bookings-services-v2-service.universal.js.map +0 -1
  236. package/build/cjs/src/bookings-v1-category.context.d.ts +0 -6
  237. package/build/cjs/src/bookings-v1-category.context.js +0 -49
  238. package/build/cjs/src/bookings-v1-category.context.js.map +0 -1
  239. package/build/cjs/src/bookings-v1-category.http.d.ts +0 -13
  240. package/build/cjs/src/bookings-v1-category.http.js +0 -248
  241. package/build/cjs/src/bookings-v1-category.http.js.map +0 -1
  242. package/build/cjs/src/bookings-v1-category.meta.d.ts +0 -20
  243. package/build/cjs/src/bookings-v1-category.meta.js +0 -104
  244. package/build/cjs/src/bookings-v1-category.meta.js.map +0 -1
  245. package/build/cjs/src/bookings-v1-category.public.d.ts +0 -14
  246. package/build/cjs/src/bookings-v1-category.public.js +0 -35
  247. package/build/cjs/src/bookings-v1-category.public.js.map +0 -1
  248. package/build/cjs/src/bookings-v1-category.types.d.ts +0 -107
  249. package/build/cjs/src/bookings-v1-category.types.js +0 -17
  250. package/build/cjs/src/bookings-v1-category.types.js.map +0 -1
  251. package/build/cjs/src/bookings-v1-category.universal.d.ts +0 -200
  252. package/build/cjs/src/bookings-v1-category.universal.js +0 -316
  253. package/build/cjs/src/bookings-v1-category.universal.js.map +0 -1
  254. package/build/cjs/src/bookings-v2-attendance.context.d.ts +0 -6
  255. package/build/cjs/src/bookings-v2-attendance.context.js +0 -53
  256. package/build/cjs/src/bookings-v2-attendance.context.js.map +0 -1
  257. package/build/cjs/src/bookings-v2-attendance.http.d.ts +0 -63
  258. package/build/cjs/src/bookings-v2-attendance.http.js +0 -229
  259. package/build/cjs/src/bookings-v2-attendance.http.js.map +0 -1
  260. package/build/cjs/src/bookings-v2-attendance.meta.d.ts +0 -18
  261. package/build/cjs/src/bookings-v2-attendance.meta.js +0 -104
  262. package/build/cjs/src/bookings-v2-attendance.meta.js.map +0 -1
  263. package/build/cjs/src/bookings-v2-attendance.public.d.ts +0 -14
  264. package/build/cjs/src/bookings-v2-attendance.public.js +0 -33
  265. package/build/cjs/src/bookings-v2-attendance.public.js.map +0 -1
  266. package/build/cjs/src/bookings-v2-attendance.types.d.ts +0 -303
  267. package/build/cjs/src/bookings-v2-attendance.types.js +0 -20
  268. package/build/cjs/src/bookings-v2-attendance.types.js.map +0 -1
  269. package/build/cjs/src/bookings-v2-attendance.universal.d.ts +0 -496
  270. package/build/cjs/src/bookings-v2-attendance.universal.js +0 -375
  271. package/build/cjs/src/bookings-v2-attendance.universal.js.map +0 -1
  272. package/build/cjs/src/bookings-v2-booking.context.d.ts +0 -12
  273. package/build/cjs/src/bookings-v2-booking.context.js +0 -125
  274. package/build/cjs/src/bookings-v2-booking.context.js.map +0 -1
  275. package/build/cjs/src/bookings-v2-booking.http.d.ts +0 -191
  276. package/build/cjs/src/bookings-v2-booking.http.js +0 -696
  277. package/build/cjs/src/bookings-v2-booking.http.js.map +0 -1
  278. package/build/cjs/src/bookings-v2-booking.meta.d.ts +0 -36
  279. package/build/cjs/src/bookings-v2-booking.meta.js +0 -218
  280. package/build/cjs/src/bookings-v2-booking.meta.js.map +0 -1
  281. package/build/cjs/src/bookings-v2-booking.public.d.ts +0 -18
  282. package/build/cjs/src/bookings-v2-booking.public.js +0 -87
  283. package/build/cjs/src/bookings-v2-booking.public.js.map +0 -1
  284. package/build/cjs/src/bookings-v2-booking.types.d.ts +0 -3015
  285. package/build/cjs/src/bookings-v2-booking.types.js +0 -116
  286. package/build/cjs/src/bookings-v2-booking.types.js.map +0 -1
  287. package/build/cjs/src/bookings-v2-booking.universal.d.ts +0 -3319
  288. package/build/cjs/src/bookings-v2-booking.universal.js +0 -1035
  289. package/build/cjs/src/bookings-v2-booking.universal.js.map +0 -1
  290. package/build/cjs/src/bookings-v2-price-info.context.d.ts +0 -4
  291. package/build/cjs/src/bookings-v2-price-info.context.js +0 -29
  292. package/build/cjs/src/bookings-v2-price-info.context.js.map +0 -1
  293. package/build/cjs/src/bookings-v2-price-info.http.d.ts +0 -60
  294. package/build/cjs/src/bookings-v2-price-info.http.js +0 -181
  295. package/build/cjs/src/bookings-v2-price-info.http.js.map +0 -1
  296. package/build/cjs/src/bookings-v2-price-info.meta.d.ts +0 -14
  297. package/build/cjs/src/bookings-v2-price-info.meta.js +0 -66
  298. package/build/cjs/src/bookings-v2-price-info.meta.js.map +0 -1
  299. package/build/cjs/src/bookings-v2-price-info.public.d.ts +0 -9
  300. package/build/cjs/src/bookings-v2-price-info.public.js +0 -28
  301. package/build/cjs/src/bookings-v2-price-info.public.js.map +0 -1
  302. package/build/cjs/src/bookings-v2-price-info.types.d.ts +0 -651
  303. package/build/cjs/src/bookings-v2-price-info.types.js +0 -96
  304. package/build/cjs/src/bookings-v2-price-info.types.js.map +0 -1
  305. package/build/cjs/src/bookings-v2-price-info.universal.d.ts +0 -737
  306. package/build/cjs/src/bookings-v2-price-info.universal.js +0 -318
  307. package/build/cjs/src/bookings-v2-price-info.universal.js.map +0 -1
  308. package/build/es/index.typings.d.ts +0 -15
  309. package/build/es/index.typings.js +0 -16
  310. package/build/es/index.typings.js.map +0 -1
  311. package/build/es/src/bookings-availability-v1-slot-availability.context.d.ts +0 -3
  312. package/build/es/src/bookings-availability-v1-slot-availability.context.js +0 -13
  313. package/build/es/src/bookings-availability-v1-slot-availability.context.js.map +0 -1
  314. package/build/es/src/bookings-availability-v1-slot-availability.http.d.ts +0 -50
  315. package/build/es/src/bookings-availability-v1-slot-availability.http.js +0 -180
  316. package/build/es/src/bookings-availability-v1-slot-availability.http.js.map +0 -1
  317. package/build/es/src/bookings-availability-v1-slot-availability.meta.d.ts +0 -13
  318. package/build/es/src/bookings-availability-v1-slot-availability.meta.js +0 -20
  319. package/build/es/src/bookings-availability-v1-slot-availability.meta.js.map +0 -1
  320. package/build/es/src/bookings-availability-v1-slot-availability.public.d.ts +0 -8
  321. package/build/es/src/bookings-availability-v1-slot-availability.public.js +0 -9
  322. package/build/es/src/bookings-availability-v1-slot-availability.public.js.map +0 -1
  323. package/build/es/src/bookings-availability-v1-slot-availability.types.d.ts +0 -345
  324. package/build/es/src/bookings-availability-v1-slot-availability.types.js +0 -13
  325. package/build/es/src/bookings-availability-v1-slot-availability.types.js.map +0 -1
  326. package/build/es/src/bookings-availability-v1-slot-availability.universal.d.ts +0 -413
  327. package/build/es/src/bookings-availability-v1-slot-availability.universal.js +0 -150
  328. package/build/es/src/bookings-availability-v1-slot-availability.universal.js.map +0 -1
  329. package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.context.d.ts +0 -4
  330. package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.context.js +0 -24
  331. package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.context.js.map +0 -1
  332. package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.http.d.ts +0 -222
  333. package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.http.js +0 -497
  334. package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.http.js.map +0 -1
  335. package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.meta.d.ts +0 -14
  336. package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.meta.js +0 -38
  337. package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.meta.js.map +0 -1
  338. package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.public.d.ts +0 -9
  339. package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.public.js +0 -14
  340. package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.public.js.map +0 -1
  341. package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.types.d.ts +0 -831
  342. package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.types.js +0 -11
  343. package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.types.js.map +0 -1
  344. package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.universal.d.ts +0 -1143
  345. package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.universal.js +0 -337
  346. package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.universal.js.map +0 -1
  347. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.http.d.ts +0 -222
  348. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.http.js +0 -429
  349. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.http.js.map +0 -1
  350. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.types.d.ts +0 -831
  351. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.types.js +0 -11
  352. package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.types.js.map +0 -1
  353. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.d.ts +0 -4
  354. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.js +0 -24
  355. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.js.map +0 -1
  356. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.d.ts +0 -222
  357. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.js +0 -497
  358. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.js.map +0 -1
  359. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.d.ts +0 -14
  360. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.js +0 -38
  361. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.js.map +0 -1
  362. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.d.ts +0 -9
  363. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.js +0 -14
  364. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.js.map +0 -1
  365. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.d.ts +0 -831
  366. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.js +0 -11
  367. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.js.map +0 -1
  368. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.d.ts +0 -1115
  369. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js +0 -323
  370. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js.map +0 -1
  371. package/build/es/src/bookings-availability-v2-time-slot.http.d.ts +0 -223
  372. package/build/es/src/bookings-availability-v2-time-slot.http.js +0 -534
  373. package/build/es/src/bookings-availability-v2-time-slot.http.js.map +0 -1
  374. package/build/es/src/bookings-availability-v2-time-slot.meta.d.ts +0 -16
  375. package/build/es/src/bookings-availability-v2-time-slot.meta.js +0 -74
  376. package/build/es/src/bookings-availability-v2-time-slot.meta.js.map +0 -1
  377. package/build/es/src/bookings-availability-v2-time-slot.public.d.ts +0 -11
  378. package/build/es/src/bookings-availability-v2-time-slot.public.js +0 -24
  379. package/build/es/src/bookings-availability-v2-time-slot.public.js.map +0 -1
  380. package/build/es/src/bookings-availability-v2-time-slot.types.d.ts +0 -805
  381. package/build/es/src/bookings-availability-v2-time-slot.types.js +0 -11
  382. package/build/es/src/bookings-availability-v2-time-slot.types.js.map +0 -1
  383. package/build/es/src/bookings-availability-v2-time-slot.universal.d.ts +0 -1401
  384. package/build/es/src/bookings-availability-v2-time-slot.universal.js +0 -536
  385. package/build/es/src/bookings-availability-v2-time-slot.universal.js.map +0 -1
  386. package/build/es/src/bookings-calendar-v1-session.context.d.ts +0 -5
  387. package/build/es/src/bookings-calendar-v1-session.context.js +0 -35
  388. package/build/es/src/bookings-calendar-v1-session.context.js.map +0 -1
  389. package/build/es/src/bookings-calendar-v1-session.http.d.ts +0 -54
  390. package/build/es/src/bookings-calendar-v1-session.http.js +0 -331
  391. package/build/es/src/bookings-calendar-v1-session.http.js.map +0 -1
  392. package/build/es/src/bookings-calendar-v1-session.meta.d.ts +0 -17
  393. package/build/es/src/bookings-calendar-v1-session.meta.js +0 -56
  394. package/build/es/src/bookings-calendar-v1-session.meta.js.map +0 -1
  395. package/build/es/src/bookings-calendar-v1-session.public.d.ts +0 -57
  396. package/build/es/src/bookings-calendar-v1-session.public.js +0 -19
  397. package/build/es/src/bookings-calendar-v1-session.public.js.map +0 -1
  398. package/build/es/src/bookings-calendar-v1-session.types.d.ts +0 -1260
  399. package/build/es/src/bookings-calendar-v1-session.types.js +0 -118
  400. package/build/es/src/bookings-calendar-v1-session.types.js.map +0 -1
  401. package/build/es/src/bookings-calendar-v1-session.universal.d.ts +0 -1360
  402. package/build/es/src/bookings-calendar-v1-session.universal.js +0 -399
  403. package/build/es/src/bookings-calendar-v1-session.universal.js.map +0 -1
  404. package/build/es/src/bookings-calendar-v2-external-calendar.context.d.ts +0 -11
  405. package/build/es/src/bookings-calendar-v2-external-calendar.context.js +0 -101
  406. package/build/es/src/bookings-calendar-v2-external-calendar.context.js.map +0 -1
  407. package/build/es/src/bookings-calendar-v2-external-calendar.http.d.ts +0 -111
  408. package/build/es/src/bookings-calendar-v2-external-calendar.http.js +0 -313
  409. package/build/es/src/bookings-calendar-v2-external-calendar.http.js.map +0 -1
  410. package/build/es/src/bookings-calendar-v2-external-calendar.meta.d.ts +0 -29
  411. package/build/es/src/bookings-calendar-v2-external-calendar.meta.js +0 -164
  412. package/build/es/src/bookings-calendar-v2-external-calendar.meta.js.map +0 -1
  413. package/build/es/src/bookings-calendar-v2-external-calendar.public.d.ts +0 -16
  414. package/build/es/src/bookings-calendar-v2-external-calendar.public.js +0 -49
  415. package/build/es/src/bookings-calendar-v2-external-calendar.public.js.map +0 -1
  416. package/build/es/src/bookings-calendar-v2-external-calendar.types.d.ts +0 -1525
  417. package/build/es/src/bookings-calendar-v2-external-calendar.types.js +0 -207
  418. package/build/es/src/bookings-calendar-v2-external-calendar.types.js.map +0 -1
  419. package/build/es/src/bookings-calendar-v2-external-calendar.universal.d.ts +0 -1818
  420. package/build/es/src/bookings-calendar-v2-external-calendar.universal.js +0 -893
  421. package/build/es/src/bookings-calendar-v2-external-calendar.universal.js.map +0 -1
  422. package/build/es/src/bookings-calendar-v2-session-feed-event.http.d.ts +0 -7
  423. package/build/es/src/bookings-calendar-v2-session-feed-event.http.js +0 -38
  424. package/build/es/src/bookings-calendar-v2-session-feed-event.http.js.map +0 -1
  425. package/build/es/src/bookings-calendar-v2-session-feed-event.public.d.ts +0 -4
  426. package/build/es/src/bookings-calendar-v2-session-feed-event.public.js +0 -8
  427. package/build/es/src/bookings-calendar-v2-session-feed-event.public.js.map +0 -1
  428. package/build/es/src/bookings-calendar-v2-session-feed-event.types.d.ts +0 -1115
  429. package/build/es/src/bookings-calendar-v2-session-feed-event.types.js +0 -138
  430. package/build/es/src/bookings-calendar-v2-session-feed-event.types.js.map +0 -1
  431. package/build/es/src/bookings-calendar-v2-session-feed-event.universal.d.ts +0 -1122
  432. package/build/es/src/bookings-calendar-v2-session-feed-event.universal.js +0 -213
  433. package/build/es/src/bookings-calendar-v2-session-feed-event.universal.js.map +0 -1
  434. package/build/es/src/bookings-calendar-v2-session-view.context.d.ts +0 -3
  435. package/build/es/src/bookings-calendar-v2-session-view.context.js +0 -13
  436. package/build/es/src/bookings-calendar-v2-session-view.context.js.map +0 -1
  437. package/build/es/src/bookings-calendar-v2-session-view.http.d.ts +0 -6
  438. package/build/es/src/bookings-calendar-v2-session-view.http.js +0 -49
  439. package/build/es/src/bookings-calendar-v2-session-view.http.js.map +0 -1
  440. package/build/es/src/bookings-calendar-v2-session-view.meta.d.ts +0 -13
  441. package/build/es/src/bookings-calendar-v2-session-view.meta.js +0 -20
  442. package/build/es/src/bookings-calendar-v2-session-view.meta.js.map +0 -1
  443. package/build/es/src/bookings-calendar-v2-session-view.public.d.ts +0 -8
  444. package/build/es/src/bookings-calendar-v2-session-view.public.js +0 -10
  445. package/build/es/src/bookings-calendar-v2-session-view.public.js.map +0 -1
  446. package/build/es/src/bookings-calendar-v2-session-view.types.d.ts +0 -1191
  447. package/build/es/src/bookings-calendar-v2-session-view.types.js +0 -139
  448. package/build/es/src/bookings-calendar-v2-session-view.types.js.map +0 -1
  449. package/build/es/src/bookings-calendar-v2-session-view.universal.d.ts +0 -1207
  450. package/build/es/src/bookings-calendar-v2-session-view.universal.js +0 -208
  451. package/build/es/src/bookings-calendar-v2-session-view.universal.js.map +0 -1
  452. package/build/es/src/bookings-catalog-v1-resource.context.d.ts +0 -6
  453. package/build/es/src/bookings-catalog-v1-resource.context.js +0 -42
  454. package/build/es/src/bookings-catalog-v1-resource.context.js.map +0 -1
  455. package/build/es/src/bookings-catalog-v1-resource.http.d.ts +0 -56
  456. package/build/es/src/bookings-catalog-v1-resource.http.js +0 -814
  457. package/build/es/src/bookings-catalog-v1-resource.http.js.map +0 -1
  458. package/build/es/src/bookings-catalog-v1-resource.meta.d.ts +0 -22
  459. package/build/es/src/bookings-catalog-v1-resource.meta.js +0 -74
  460. package/build/es/src/bookings-catalog-v1-resource.meta.js.map +0 -1
  461. package/build/es/src/bookings-catalog-v1-resource.public.d.ts +0 -156
  462. package/build/es/src/bookings-catalog-v1-resource.public.js +0 -25
  463. package/build/es/src/bookings-catalog-v1-resource.public.js.map +0 -1
  464. package/build/es/src/bookings-catalog-v1-resource.types.d.ts +0 -2138
  465. package/build/es/src/bookings-catalog-v1-resource.types.js +0 -123
  466. package/build/es/src/bookings-catalog-v1-resource.types.js.map +0 -1
  467. package/build/es/src/bookings-catalog-v1-resource.universal.d.ts +0 -1519
  468. package/build/es/src/bookings-catalog-v1-resource.universal.js +0 -480
  469. package/build/es/src/bookings-catalog-v1-resource.universal.js.map +0 -1
  470. package/build/es/src/bookings-catalog-v1-service-options-and-variants.context.d.ts +0 -9
  471. package/build/es/src/bookings-catalog-v1-service-options-and-variants.context.js +0 -79
  472. package/build/es/src/bookings-catalog-v1-service-options-and-variants.context.js.map +0 -1
  473. package/build/es/src/bookings-catalog-v1-service-options-and-variants.http.d.ts +0 -60
  474. package/build/es/src/bookings-catalog-v1-service-options-and-variants.http.js +0 -265
  475. package/build/es/src/bookings-catalog-v1-service-options-and-variants.http.js.map +0 -1
  476. package/build/es/src/bookings-catalog-v1-service-options-and-variants.meta.d.ts +0 -29
  477. package/build/es/src/bookings-catalog-v1-service-options-and-variants.meta.js +0 -134
  478. package/build/es/src/bookings-catalog-v1-service-options-and-variants.meta.js.map +0 -1
  479. package/build/es/src/bookings-catalog-v1-service-options-and-variants.public.d.ts +0 -111
  480. package/build/es/src/bookings-catalog-v1-service-options-and-variants.public.js +0 -40
  481. package/build/es/src/bookings-catalog-v1-service-options-and-variants.public.js.map +0 -1
  482. package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +0 -2051
  483. package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.js +0 -195
  484. package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.js.map +0 -1
  485. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +0 -2297
  486. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js +0 -725
  487. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +0 -1
  488. package/build/es/src/bookings-reader-v2-extended-booking.context.d.ts +0 -3
  489. package/build/es/src/bookings-reader-v2-extended-booking.context.js +0 -13
  490. package/build/es/src/bookings-reader-v2-extended-booking.context.js.map +0 -1
  491. package/build/es/src/bookings-reader-v2-extended-booking.http.d.ts +0 -28
  492. package/build/es/src/bookings-reader-v2-extended-booking.http.js +0 -103
  493. package/build/es/src/bookings-reader-v2-extended-booking.http.js.map +0 -1
  494. package/build/es/src/bookings-reader-v2-extended-booking.meta.d.ts +0 -13
  495. package/build/es/src/bookings-reader-v2-extended-booking.meta.js +0 -20
  496. package/build/es/src/bookings-reader-v2-extended-booking.meta.js.map +0 -1
  497. package/build/es/src/bookings-reader-v2-extended-booking.public.d.ts +0 -8
  498. package/build/es/src/bookings-reader-v2-extended-booking.public.js +0 -9
  499. package/build/es/src/bookings-reader-v2-extended-booking.public.js.map +0 -1
  500. package/build/es/src/bookings-reader-v2-extended-booking.types.d.ts +0 -854
  501. package/build/es/src/bookings-reader-v2-extended-booking.types.js +0 -104
  502. package/build/es/src/bookings-reader-v2-extended-booking.types.js.map +0 -1
  503. package/build/es/src/bookings-reader-v2-extended-booking.universal.d.ts +0 -890
  504. package/build/es/src/bookings-reader-v2-extended-booking.universal.js +0 -228
  505. package/build/es/src/bookings-reader-v2-extended-booking.universal.js.map +0 -1
  506. package/build/es/src/bookings-services-v2-service.context.d.ts +0 -7
  507. package/build/es/src/bookings-services-v2-service.context.js +0 -57
  508. package/build/es/src/bookings-services-v2-service.context.js.map +0 -1
  509. package/build/es/src/bookings-services-v2-service.http.d.ts +0 -30
  510. package/build/es/src/bookings-services-v2-service.http.js +0 -387
  511. package/build/es/src/bookings-services-v2-service.http.js.map +0 -1
  512. package/build/es/src/bookings-services-v2-service.meta.d.ts +0 -23
  513. package/build/es/src/bookings-services-v2-service.meta.js +0 -92
  514. package/build/es/src/bookings-services-v2-service.meta.js.map +0 -1
  515. package/build/es/src/bookings-services-v2-service.public.d.ts +0 -406
  516. package/build/es/src/bookings-services-v2-service.public.js +0 -30
  517. package/build/es/src/bookings-services-v2-service.public.js.map +0 -1
  518. package/build/es/src/bookings-services-v2-service.types.d.ts +0 -3909
  519. package/build/es/src/bookings-services-v2-service.types.js +0 -350
  520. package/build/es/src/bookings-services-v2-service.types.js.map +0 -1
  521. package/build/es/src/bookings-services-v2-service.universal.d.ts +0 -3910
  522. package/build/es/src/bookings-services-v2-service.universal.js +0 -780
  523. package/build/es/src/bookings-services-v2-service.universal.js.map +0 -1
  524. package/build/es/src/bookings-v1-category.context.d.ts +0 -6
  525. package/build/es/src/bookings-v1-category.context.js +0 -42
  526. package/build/es/src/bookings-v1-category.context.js.map +0 -1
  527. package/build/es/src/bookings-v1-category.http.d.ts +0 -13
  528. package/build/es/src/bookings-v1-category.http.js +0 -241
  529. package/build/es/src/bookings-v1-category.http.js.map +0 -1
  530. package/build/es/src/bookings-v1-category.meta.d.ts +0 -20
  531. package/build/es/src/bookings-v1-category.meta.js +0 -74
  532. package/build/es/src/bookings-v1-category.meta.js.map +0 -1
  533. package/build/es/src/bookings-v1-category.public.d.ts +0 -14
  534. package/build/es/src/bookings-v1-category.public.js +0 -25
  535. package/build/es/src/bookings-v1-category.public.js.map +0 -1
  536. package/build/es/src/bookings-v1-category.types.d.ts +0 -107
  537. package/build/es/src/bookings-v1-category.types.js +0 -14
  538. package/build/es/src/bookings-v1-category.types.js.map +0 -1
  539. package/build/es/src/bookings-v1-category.universal.d.ts +0 -200
  540. package/build/es/src/bookings-v1-category.universal.js +0 -286
  541. package/build/es/src/bookings-v1-category.universal.js.map +0 -1
  542. package/build/es/src/bookings-v2-attendance.context.d.ts +0 -6
  543. package/build/es/src/bookings-v2-attendance.context.js +0 -46
  544. package/build/es/src/bookings-v2-attendance.context.js.map +0 -1
  545. package/build/es/src/bookings-v2-attendance.http.d.ts +0 -63
  546. package/build/es/src/bookings-v2-attendance.http.js +0 -222
  547. package/build/es/src/bookings-v2-attendance.http.js.map +0 -1
  548. package/build/es/src/bookings-v2-attendance.meta.d.ts +0 -18
  549. package/build/es/src/bookings-v2-attendance.meta.js +0 -74
  550. package/build/es/src/bookings-v2-attendance.meta.js.map +0 -1
  551. package/build/es/src/bookings-v2-attendance.public.d.ts +0 -14
  552. package/build/es/src/bookings-v2-attendance.public.js +0 -24
  553. package/build/es/src/bookings-v2-attendance.public.js.map +0 -1
  554. package/build/es/src/bookings-v2-attendance.types.d.ts +0 -303
  555. package/build/es/src/bookings-v2-attendance.types.js +0 -17
  556. package/build/es/src/bookings-v2-attendance.types.js.map +0 -1
  557. package/build/es/src/bookings-v2-attendance.universal.d.ts +0 -496
  558. package/build/es/src/bookings-v2-attendance.universal.js +0 -345
  559. package/build/es/src/bookings-v2-attendance.universal.js.map +0 -1
  560. package/build/es/src/bookings-v2-booking.context.d.ts +0 -12
  561. package/build/es/src/bookings-v2-booking.context.js +0 -112
  562. package/build/es/src/bookings-v2-booking.context.js.map +0 -1
  563. package/build/es/src/bookings-v2-booking.http.d.ts +0 -191
  564. package/build/es/src/bookings-v2-booking.http.js +0 -683
  565. package/build/es/src/bookings-v2-booking.http.js.map +0 -1
  566. package/build/es/src/bookings-v2-booking.meta.d.ts +0 -36
  567. package/build/es/src/bookings-v2-booking.meta.js +0 -182
  568. package/build/es/src/bookings-v2-booking.meta.js.map +0 -1
  569. package/build/es/src/bookings-v2-booking.public.d.ts +0 -18
  570. package/build/es/src/bookings-v2-booking.public.js +0 -55
  571. package/build/es/src/bookings-v2-booking.public.js.map +0 -1
  572. package/build/es/src/bookings-v2-booking.types.d.ts +0 -3015
  573. package/build/es/src/bookings-v2-booking.types.js +0 -113
  574. package/build/es/src/bookings-v2-booking.types.js.map +0 -1
  575. package/build/es/src/bookings-v2-booking.universal.d.ts +0 -3319
  576. package/build/es/src/bookings-v2-booking.universal.js +0 -999
  577. package/build/es/src/bookings-v2-booking.universal.js.map +0 -1
  578. package/build/es/src/bookings-v2-price-info.context.d.ts +0 -4
  579. package/build/es/src/bookings-v2-price-info.context.js +0 -24
  580. package/build/es/src/bookings-v2-price-info.context.js.map +0 -1
  581. package/build/es/src/bookings-v2-price-info.http.d.ts +0 -60
  582. package/build/es/src/bookings-v2-price-info.http.js +0 -176
  583. package/build/es/src/bookings-v2-price-info.http.js.map +0 -1
  584. package/build/es/src/bookings-v2-price-info.meta.d.ts +0 -14
  585. package/build/es/src/bookings-v2-price-info.meta.js +0 -38
  586. package/build/es/src/bookings-v2-price-info.meta.js.map +0 -1
  587. package/build/es/src/bookings-v2-price-info.public.d.ts +0 -9
  588. package/build/es/src/bookings-v2-price-info.public.js +0 -14
  589. package/build/es/src/bookings-v2-price-info.public.js.map +0 -1
  590. package/build/es/src/bookings-v2-price-info.types.d.ts +0 -651
  591. package/build/es/src/bookings-v2-price-info.types.js +0 -93
  592. package/build/es/src/bookings-v2-price-info.types.js.map +0 -1
  593. package/build/es/src/bookings-v2-price-info.universal.d.ts +0 -737
  594. package/build/es/src/bookings-v2-price-info.universal.js +0 -290
  595. package/build/es/src/bookings-v2-price-info.universal.js.map +0 -1
@@ -1,1360 +0,0 @@
1
- export interface Session {
2
- /**
3
- * Session ID.
4
- * @readonly
5
- */
6
- _id?: string | null;
7
- /** ID of the schedule that the session belongs to. */
8
- scheduleId?: string;
9
- /**
10
- * ID of the resource or service that the session's schedule belongs to.
11
- * @readonly
12
- */
13
- scheduleOwnerId?: string | null;
14
- /** Original start date and time of the session in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)) format. */
15
- originalStart?: Date;
16
- /** An object specifying the start date and time of the session. If the session is a recurring session, `start` must contain a `localDateTime`. */
17
- start?: CalendarDateTime;
18
- /**
19
- * An object specifying the end date and time of the session. The `end` time must be after the `start` time and be same type as `start`.
20
- * If the session is a recurring session, `end` must contain a `localDateTime`.
21
- */
22
- end?: CalendarDateTime;
23
- /**
24
- * An object specifying a list of schedules and the way each schedule's availability is affected by the session. For example, the schedule of an instructor is affected by sessions of the class that they instruct.
25
- * The array is inherited from the schedule and can be overridden even if the session is a recurring session.
26
- */
27
- affectedSchedules?: LinkedSchedule[];
28
- /**
29
- * Session title.
30
- * The value is inherited from the schedule and can be overridden unless the session is a recurring session.
31
- */
32
- title?: string | null;
33
- /**
34
- * __Deprecated.__
35
- * Tags for the session.
36
- * The value is inherited from the schedule and can be overridden unless the session is a recurring session.
37
- */
38
- tags?: string[] | null;
39
- /**
40
- * An object describing the location where the session takes place.
41
- * Defaults to the schedule location.
42
- * For single sessions, `session.location.businessLocation` can only be provided for locations that are defined in the schedule using `schedule.location` or `schedule.availability.locations`.
43
- */
44
- location?: Location;
45
- /**
46
- * Maximum number of participants that can be added to the session. Defaults to the schedule capacity.
47
- * The value is inherited from the schedule and can be overridden unless the session is a recurring session.
48
- */
49
- capacity?: number | null;
50
- /** Deprecated. Please use the [Booking Services V2](https://dev.wix.com/api/rest/wix-bookings/services-v2) payment instead. */
51
- rate?: Rate;
52
- /**
53
- * Time reserved after the session end time, derived from the schedule availability constraints and the time between slots. Read-only.
54
- * If the session is a recurring session, this field must be empty.
55
- */
56
- timeReservedAfter?: number | null;
57
- /**
58
- * Additional information about the session.
59
- * Notes are not supported for recurring sessions.
60
- */
61
- notes?: string;
62
- /**
63
- * The number of participants booked for the session. Read-only.
64
- * Calculated as the sum of the party sizes.
65
- * @readonly
66
- */
67
- totalNumberOfParticipants?: number;
68
- /**
69
- * *Partial list** list of participants booked for the session.
70
- * The list includes participants who have registered for this specific session, and participants who have registered for a schedule that includes this session.
71
- * If the session is a recurring session, this field must be empty.
72
- * To retrieve the full list of session participants please use the [Query Extended Bookings API](https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/query-extended-bookings).
73
- */
74
- participants?: Participant[];
75
- /**
76
- * A list of properties for which values were inherited from the schedule.
77
- * This does not include participants that were inherited from the schedule.
78
- * @readonly
79
- */
80
- inheritedFields?: string[];
81
- /** __Deprecated.__ */
82
- externalCalendarOverrides?: ExternalCalendarOverrides;
83
- /**
84
- * Session status.
85
- *
86
- * Supported values:
87
- * - `CONFIRMED`: Default value.
88
- * - `CANCELLED`: The session was deleted.
89
- * @readonly
90
- */
91
- status?: Status;
92
- /**
93
- * Recurring interval ID. Defined when a session will be a recurring session. read-only. Optional.
94
- * For exmaple, when creating a class service with recurring sessions, you add a recurrence rule to create recurring sessions.
95
- * This field is omitted for single sessions or instances of recurring sessions.
96
- * Specified when the session was originally generated from a schedule recurring interval.
97
- * Deprecated. Use `recurringSessionId`.
98
- * @readonly
99
- */
100
- recurringIntervalId?: string | null;
101
- /**
102
- * The ID of the recurring session if this session is an instance of a recurrence. Use this ID to update the recurrence and all of the instances.
103
- * @readonly
104
- */
105
- recurringSessionId?: string | null;
106
- /**
107
- * Session type.
108
- *
109
- * Supported values:
110
- * - `EVENT`: Reserved period of time on the schedule. For example, an appointment, class, course, or blocked time. Events are visible in the Dashboard in the Bookings app's [Booking Calendar](https://support.wix.com/en/article/wix-bookings-about-the-wix-bookings-calendar) page.
111
- * - `WORKING_HOURS`: Placeholder for available time on a resource’s schedule.
112
- */
113
- type?: SessionType;
114
- /**
115
- * A conference created for the session according to the details set in the schedule's conference provider information.
116
- * If the session is a recurring session, this field is inherited from the schedule.
117
- * **Partially deprecated.** Only `hostUrl` and `guestUrl` are to be supported.
118
- */
119
- calendarConference?: CalendarConference;
120
- /**
121
- * A string representing a recurrence rule (RRULE) for a recurring session, as defined in [iCalendar RFC 5545](https://icalendar.org/iCalendar-RFC-5545/3-3-10-recurrence-rule.html).
122
- * If the session is an instance of a recurrence pattern, the `instanceOfRecurrence` property will be contain the recurrence rule and this property will be empty.
123
- * The RRULE defines a rule for repeating a session.
124
- * Supported parameters are:
125
- *
126
- * |Keyword|Description|Supported values|
127
- * |--|--|---|
128
- * |`FREQ`|The frequency at which the session is recurs. Required.|`WEEKLY`|
129
- * |`INTERVAL`|How often, in terms of `FREQ`, the session recurs. Default is 1. Optional.|
130
- * |`UNTIL`|The UTC end date and time of the recurrence. Optional.|
131
- * |`BYDAY`|Day of the week when the event should recur. Required.|One of: `MO`, `TU`, `WE`, `TH`, `FR`, `SA`, `SU`|
132
- *
133
- *
134
- * For example, a session that repeats every second week on a Monday until January 7, 2022 at 8 AM:
135
- * `"FREQ=WEEKLY;INTERVAL=2;BYDAY=MO;UNTIL=20220107T080000Z"`
136
- *
137
- * <!--ORIGINAL COMMENTS:
138
- * `FREQ` — The frequency with which the session should be repeated (such as DAILY or WEEKLY).
139
- * Supported `WEEKLY` value is supported.
140
- * INTERVAL — Works together with FREQ to specify how often the session should be repeated. For example, FREQ=WEEKLY;INTERVAL=2 means once every two weeks. Optional. Default value is 1.
141
- * COUNT — The number of times this event should be repeated. Not yet supported.
142
- * UNTIL — The UTC date & time until which the session should be repeated. This parameter is optional. When it is not specified, the event repeats forever.
143
- * The format is a short ISO date, followed by 'T' and a short time with seconds and without milliseconds, terminated by the UTC designator 'Z'. For example, until Jan. 19th 2018 at 7:00 AM: 'UNTIL=20180119T070000Z'.
144
- * BYDAY - The days of the week when the event should be repeated. Currently, only a single day is supported. This parameter is mandatory.
145
- * Possible values are: MO, TU, WE, TH, FR, SA, SU
146
- * Note that DTSTART and DTEND lines are not allowed in this field; session start and end times are specified in the start and end fields.
147
- * **Example**: FREQ=WEEKLY;INTERVAL=2;BYDAY=MO;UNTIL=20200427T070000Z
148
- * ORIGINAL COMMENTS-->
149
- */
150
- recurrence?: string | null;
151
- /**
152
- * A string representing a recurrence rule (RRULE) if the session is an instance of a recurrence pattern.
153
- * Empty when the session is not an instance of a recurrence rule, or if the session defines a recurrence pattern, and `recurrence` is not empty.
154
- * @readonly
155
- */
156
- instanceOfRecurrence?: string | null;
157
- /**
158
- * The session version.
159
- * Composed by the schedule, session and participants versions.
160
- * @readonly
161
- */
162
- version?: Version;
163
- }
164
- export interface CalendarDateTime {
165
- /**
166
- * UTC date-time in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)) format. If a time zone offset is specified, the time is converted to UTC. For example, if you specify `new Date('2021-01-06T16:00:00.000-07:00')`, the stored value will be `"2021-01-06T23:00:00.000Z"`.
167
- * Required if `localDateTime` is not specified.
168
- * If `localDateTime` is specified, `timestamp` is calculated as `localDateTime`, using the business's time zone.
169
- */
170
- timestamp?: Date;
171
- /** An object containing the local date and time for the business's time zone. */
172
- localDateTime?: LocalDateTime;
173
- /**
174
- * The time zone. Optional. Derived from the schedule's time zone.
175
- * In case this field is associated with recurring session, this field is empty.
176
- * @readonly
177
- */
178
- timeZone?: string | null;
179
- }
180
- export interface LocalDateTime {
181
- /** Year. 4-digit format. */
182
- year?: number | null;
183
- /** Month number, from 1-12. */
184
- monthOfYear?: number | null;
185
- /** Day of the month, from 1-31. */
186
- dayOfMonth?: number | null;
187
- /** Hour of the day in 24-hour format, from 0-23. */
188
- hourOfDay?: number | null;
189
- /** Minute, from 0-59. */
190
- minutesOfHour?: number | null;
191
- }
192
- export interface LinkedSchedule {
193
- /** Schedule ID. */
194
- scheduleId?: string;
195
- /**
196
- * Sets this schedule's availability for the duration of the linked schedule's sessions.
197
- *
198
- * Supported values:
199
- * - `FREE`: This schedule can have available slots during the linked schedule's sessions.
200
- * - `BUSY`: This schedule cannot have any available slots during the linked schedule's sessions.
201
- *
202
- * Default: `BUSY`
203
- */
204
- transparency?: Transparency;
205
- /**
206
- * Owner ID, of the linked schedule.
207
- * @readonly
208
- */
209
- scheduleOwnerId?: string;
210
- }
211
- export declare enum Transparency {
212
- UNDEFINED = "UNDEFINED",
213
- /** The schedule can have available slots during the session. */
214
- FREE = "FREE",
215
- /** The schedule cannot have available slots during the session. Default value. */
216
- BUSY = "BUSY"
217
- }
218
- export interface Location {
219
- /**
220
- * Location type.
221
- * One of:
222
- * - `"OWNER_BUSINESS"` The business address as set in the site’s general settings.
223
- * - `"OWNER_CUSTOM"` The address as set when creating the service.
224
- * - `"CUSTOM"` The address set for the individual session.
225
- */
226
- locationType?: LocationType;
227
- /** Free text address used when locationType is `OWNER_CUSTOM`. */
228
- address?: string | null;
229
- /** Custom address, used when locationType is `"OWNER_CUSTOM"`. Might be used when locationType is `"CUSTOM"` in case the owner sets a custom address for the session which is different from the default. */
230
- customAddress?: Address;
231
- }
232
- export declare enum LocationType {
233
- UNDEFINED = "UNDEFINED",
234
- OWNER_BUSINESS = "OWNER_BUSINESS",
235
- OWNER_CUSTOM = "OWNER_CUSTOM",
236
- CUSTOM = "CUSTOM"
237
- }
238
- /** Physical address */
239
- export interface Address extends AddressStreetOneOf {
240
- /** Street name, number and apartment number. */
241
- streetAddress?: StreetAddress;
242
- /** Main address line, usually street and number, as free text. */
243
- addressLine?: string | null;
244
- /** Country code. */
245
- country?: string | null;
246
- /** Subdivision. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
247
- subdivision?: string | null;
248
- /** City name. */
249
- city?: string | null;
250
- /** Zip/postal code. */
251
- postalCode?: string | null;
252
- /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
253
- addressLine2?: string | null;
254
- /** A string containing the full address of this location. */
255
- formattedAddress?: string | null;
256
- /** Free text to help find the address. */
257
- hint?: string | null;
258
- /** Coordinates of the physical address. */
259
- geocode?: AddressLocation;
260
- /** Country full name. */
261
- countryFullname?: string | null;
262
- /** Multi-level subdivisions from top to bottom. */
263
- subdivisions?: Subdivision[];
264
- }
265
- /** @oneof */
266
- export interface AddressStreetOneOf {
267
- /** Street name, number and apartment number. */
268
- streetAddress?: StreetAddress;
269
- /** Main address line, usually street and number, as free text. */
270
- addressLine?: string | null;
271
- }
272
- export interface StreetAddress {
273
- /** Street number. */
274
- number?: string;
275
- /** Street name. */
276
- name?: string;
277
- /** Apartment number. */
278
- apt?: string;
279
- }
280
- export interface AddressLocation {
281
- /** Address latitude. */
282
- latitude?: number | null;
283
- /** Address longitude. */
284
- longitude?: number | null;
285
- }
286
- export interface Subdivision {
287
- /** Subdivision code. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
288
- code?: string;
289
- /** Subdivision full name. */
290
- name?: string;
291
- }
292
- export interface LocationsLocation {
293
- /**
294
- * Location ID.
295
- * @readonly
296
- */
297
- _id?: string | null;
298
- /** Location name. */
299
- name?: string;
300
- /** Location description. */
301
- description?: string | null;
302
- /**
303
- * Whether this is the default location. There can only be one default location per site. The default location can't be archived.
304
- * @readonly
305
- */
306
- default?: boolean;
307
- /**
308
- * Location status. Defaults to `ACTIVE`.
309
- * __Note:__ [Archiving a location](https://dev.wix.com/api/rest/business-info/locations/archive-location)
310
- * doesn't affect the location's status. `INACTIVE` is currently not supported.
311
- */
312
- status?: LocationStatus;
313
- /**
314
- * Location type.
315
- *
316
- * **Note:** Currently not supported.
317
- */
318
- locationType?: LocationsLocationType;
319
- /** Fax number. */
320
- fax?: string | null;
321
- /** Timezone in `America/New_York` format. */
322
- timeZone?: string | null;
323
- /** Email address. */
324
- email?: string | null;
325
- /** Phone number. */
326
- phone?: string | null;
327
- /** Address. */
328
- address?: LocationsAddress;
329
- /**
330
- * Business schedule. Array of weekly recurring time periods when the location is open for business. Limited to 100 time periods.
331
- *
332
- * __Note:__ Not supported by Wix Bookings.
333
- */
334
- businessSchedule?: BusinessSchedule;
335
- /**
336
- * Revision number, which increments by 1 each time the location is updated.
337
- * To prevent conflicting changes, the existing revision must be used when updating a location.
338
- */
339
- revision?: string | null;
340
- /**
341
- * Whether the location is archived. Archived locations can't be updated.
342
- * __Note:__ [Archiving a location](https://dev.wix.com/api/rest/business-info/locations/archive-location)
343
- * doesn't affect its `status`.
344
- * @readonly
345
- */
346
- archived?: boolean;
347
- /** Location types. */
348
- locationTypes?: LocationsLocationType[];
349
- }
350
- /** For future use */
351
- export declare enum LocationStatus {
352
- ACTIVE = "ACTIVE",
353
- INACTIVE = "INACTIVE"
354
- }
355
- /** For future use */
356
- export declare enum LocationsLocationType {
357
- UNKNOWN = "UNKNOWN",
358
- BRANCH = "BRANCH",
359
- OFFICES = "OFFICES",
360
- RECEPTION = "RECEPTION",
361
- HEADQUARTERS = "HEADQUARTERS",
362
- INVENTORY = "INVENTORY"
363
- }
364
- export interface LocationsAddress {
365
- /** 2-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */
366
- country?: string | null;
367
- /** Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) format. */
368
- subdivision?: string | null;
369
- /** City name. */
370
- city?: string | null;
371
- /** Postal or zip code. */
372
- postalCode?: string | null;
373
- /** Street address. Includes street name, number, and apartment number in separate fields. */
374
- streetAddress?: LocationsStreetAddress;
375
- /** Full address of the location. */
376
- formatted?: string | null;
377
- /** Geographic coordinates of location. */
378
- location?: LocationsAddressLocation;
379
- }
380
- /** Street address. Includes street name, number, and apartment number in separate fields. */
381
- export interface LocationsStreetAddress {
382
- /** Street number. */
383
- number?: string;
384
- /** Street name. */
385
- name?: string;
386
- /** Apartment number. */
387
- apt?: string;
388
- }
389
- /** Address Geolocation */
390
- export interface LocationsAddressLocation {
391
- /** Latitude of the location. Must be between -90 and 90. */
392
- latitude?: number | null;
393
- /** Longitude of the location. Must be between -180 and 180. */
394
- longitude?: number | null;
395
- }
396
- /** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
397
- export interface BusinessSchedule {
398
- /** Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods. */
399
- periods?: TimePeriod[];
400
- /** Exceptions to the business's regular hours. The business can be open or closed during the exception. */
401
- specialHourPeriod?: SpecialHourPeriod[];
402
- }
403
- /** Weekly recurring time periods when the business is regularly open or the service is available. */
404
- export interface TimePeriod {
405
- /** Day of the week the period starts on. */
406
- openDay?: DayOfWeek;
407
- /**
408
- * Time the period starts in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
409
- * midnight at the end of the specified day.
410
- */
411
- openTime?: string;
412
- /** Day of the week the period ends on. */
413
- closeDay?: DayOfWeek;
414
- /**
415
- * Time the period ends in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
416
- * midnight at the end of the specified day.
417
- *
418
- * __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.
419
- */
420
- closeTime?: string;
421
- }
422
- /** Enumerates the days of the week. */
423
- export declare enum DayOfWeek {
424
- MONDAY = "MONDAY",
425
- TUESDAY = "TUESDAY",
426
- WEDNESDAY = "WEDNESDAY",
427
- THURSDAY = "THURSDAY",
428
- FRIDAY = "FRIDAY",
429
- SATURDAY = "SATURDAY",
430
- SUNDAY = "SUNDAY"
431
- }
432
- /** Exception to the business's regular hours. The business can be open or closed during the exception. */
433
- export interface SpecialHourPeriod {
434
- /** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
435
- startDate?: string;
436
- /** End date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
437
- endDate?: string;
438
- /**
439
- * Whether the business is closed (or the service is not available) during the exception.
440
- *
441
- * Default: `true`.
442
- */
443
- isClosed?: boolean;
444
- /** Additional info about the exception. For example, "We close earlier on New Year's Eve." */
445
- comment?: string;
446
- }
447
- export interface Rate {
448
- /**
449
- * Mapping between a named price option, for example, adult or child prices, and the price, currency, and down payment amount.
450
- * When present in an update request, the `default_varied_price` is ignored to support backward compatibility.
451
- */
452
- labeledPriceOptions?: Record<string, Price>;
453
- /**
454
- * Textual price information used when **Price Per Session** is set to **Custom Price** in the app's service details page.
455
- * When present in an update request, the `default_varied_price` is ignored to support backward compatibility.
456
- */
457
- priceText?: string | null;
458
- }
459
- export interface Price {
460
- /** Required payment amount. */
461
- amount?: string;
462
- /** Currency in which the amount is quoted. */
463
- currency?: string;
464
- /** Amount of a down payment or deposit as part of the transaction. */
465
- downPayAmount?: string;
466
- }
467
- export interface Participant {
468
- /** Participant ID. Currently represents the booking.id. */
469
- _id?: string;
470
- /** Contact ID. */
471
- contactId?: string | null;
472
- /** Participant's name. */
473
- name?: string | null;
474
- /** Participant's phone number. */
475
- phone?: string | null;
476
- /** Participant's email address. */
477
- email?: string | null;
478
- /** Group or party size. The number of people attending. Defaults to 0. Maximum is 250. */
479
- partySize?: number;
480
- /**
481
- * Approval status for the participant.
482
- *
483
- * Supported values:
484
- * - `PENDING`: Pending business approval.
485
- * - `APPROVED`: Approved by the business.
486
- * - `DECLINED`: Declined by the business.
487
- */
488
- approvalStatus?: ApprovalStatus;
489
- /**
490
- * Whether the participant was inherited from the schedule, as opposed to being booked directly to the session.
491
- * @readonly
492
- */
493
- inherited?: boolean;
494
- }
495
- export declare enum ApprovalStatus {
496
- /** Default. */
497
- UNDEFINED = "UNDEFINED",
498
- /** Pending business approval. */
499
- PENDING = "PENDING",
500
- /** Approved by the business. */
501
- APPROVED = "APPROVED",
502
- /** Declined by the business. */
503
- DECLINED = "DECLINED"
504
- }
505
- export interface ExternalCalendarInfo {
506
- /** The external calendar type (e.g. Google Calendar, iCal, etc). */
507
- calendarType?: CalendarType;
508
- }
509
- export declare enum CalendarType {
510
- UNDEFINED = "UNDEFINED",
511
- GOOGLE = "GOOGLE",
512
- I_CAL = "I_CAL",
513
- /** Use `MICROSOFT` instead. */
514
- OUTLOOK = "OUTLOOK",
515
- /** Use `MICROSOFT` instead. */
516
- OFFICE_365 = "OFFICE_365",
517
- MICROSOFT = "MICROSOFT",
518
- OTHER = "OTHER"
519
- }
520
- export interface ExternalCalendarOverrides {
521
- /** Synced title of the external calendar event. */
522
- title?: string | null;
523
- /** Synced description of the external calendar event. */
524
- description?: string | null;
525
- }
526
- export declare enum Status {
527
- UNDEFINED = "UNDEFINED",
528
- /** The session is confirmed. Default status. */
529
- CONFIRMED = "CONFIRMED",
530
- /**
531
- * The session is cancelled.
532
- * A cancelled session can be the cancellation of a recurring session that should no longer be displayed or a deleted single session.
533
- * The ListSessions returns cancelled sessions only if 'includeDelete' flag is set to true.
534
- */
535
- CANCELLED = "CANCELLED"
536
- }
537
- export declare enum SessionType {
538
- UNDEFINED = "UNDEFINED",
539
- /**
540
- * The session creates an event on the calendar for the owner of the schedule that the session belongs to.
541
- * Default type.
542
- */
543
- EVENT = "EVENT",
544
- /** The session represents a resource's available working hours. */
545
- WORKING_HOURS = "WORKING_HOURS",
546
- /** Deprecated. please use WORKING_HOURS */
547
- TIME_AVAILABILITY = "TIME_AVAILABILITY",
548
- /** Deprecated. The session represents a resource's available hours. please use WORKING_HOURS */
549
- AVAILABILITY = "AVAILABILITY"
550
- }
551
- export interface CalendarConference {
552
- /** Wix Calendar conference ID. */
553
- _id?: string;
554
- /** Conference meeting ID in the provider's conferencing system. */
555
- externalId?: string;
556
- /** Conference provider ID. */
557
- providerId?: string;
558
- /** URL used by the host to start the conference. */
559
- hostUrl?: string;
560
- /** URL used by a guest to join the conference. */
561
- guestUrl?: string;
562
- /** Password to join the conference. */
563
- password?: string | null;
564
- /** Conference description. */
565
- description?: string | null;
566
- /**
567
- * Conference type.
568
- *
569
- * Supported values:
570
- * - `ONLINE_MEETING_PROVIDER`: API-generated online meeting.
571
- * - `CUSTOM`: User-defined meeting.
572
- */
573
- conferenceType?: ConferenceType;
574
- /** ID of the account owner in the video conferencing service. */
575
- accountOwnerId?: string | null;
576
- }
577
- export declare enum ConferenceType {
578
- UNDEFINED = "UNDEFINED",
579
- /** API-generated online meeting. */
580
- ONLINE_MEETING_PROVIDER = "ONLINE_MEETING_PROVIDER",
581
- /** User-defined meeting. */
582
- CUSTOM = "CUSTOM"
583
- }
584
- export interface Version {
585
- /** Incremental version number, which is updated on each change to the session or on changes affecting the session. */
586
- number?: string | null;
587
- }
588
- export interface CreateSessionRequest {
589
- /** The session to create. */
590
- session?: Session;
591
- }
592
- export interface CreateSessionResponse {
593
- /** The created session. */
594
- session?: Session;
595
- }
596
- export interface UpdateSessionRequest {
597
- /** The session to update. */
598
- session?: Session;
599
- /** Whether to notify participants about the change, and an optional custom message. */
600
- participantNotification?: ParticipantNotification;
601
- }
602
- export interface ParticipantNotification {
603
- /**
604
- * Whether to notify participants about the change.
605
- *
606
- * Default: `false`
607
- */
608
- notifyParticipants?: boolean;
609
- /** Custom message to send to the participants about the changes to the booking. */
610
- message?: string | null;
611
- }
612
- export interface UpdateSessionResponse {
613
- /** The updated session. */
614
- session?: Session;
615
- }
616
- export interface DeleteSessionRequest {
617
- /** The ID of the session to delete. */
618
- sessionId?: string | null;
619
- /** Whether to notify participants about the change, and an optional custom message. */
620
- participantNotification?: ParticipantNotification;
621
- }
622
- export interface DeleteSessionResponse {
623
- }
624
- export interface QuerySessionsRequest {
625
- /**
626
- * Start of the time range for which sessions are returned, in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)).
627
- *
628
- * Sessions that begin before the `fromDate` but end after it are included in the results. For recurring session definitions, this means the `start` value is before the `fromDate` and the `UNTIL` value in the `recurrence` property is after the `fromDate`.
629
- *
630
- * Required, unless `query.cursorPaging` is provided.
631
- */
632
- fromDate?: Date;
633
- /**
634
- * End of the time range for which sessions are returned, in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)).
635
- *
636
- * Sessions that begin before the `toDate` but end after it are included in the results. For recurring session definitions, this means the `start` value is before the `toDate` and the `UNTIL` value in the `recurrence` property is after the `toDate`.
637
- *
638
- * Required, unless `query.cursorPaging` is provided.
639
- *
640
- * Max: 1 year after `fromDate` for session instance queries. This limit doesn't apply to recurring session definition queries.
641
- */
642
- toDate?: Date;
643
- /** Query options. */
644
- query?: QueryV2;
645
- /**
646
- * Type of sessions to return.
647
- *
648
- * - `EVENT`: Reserved period of time on the schedule. For example, an appointment, class, course, or blocked time. Events are visible in the Dashboard in the Bookings app's [Booking Calendar](https://support.wix.com/en/article/wix-bookings-about-the-wix-bookings-calendar) page.
649
- * - `WORKING_HOURS`: Placeholder for available time on a resource’s schedule.
650
- *
651
- * Default: `UNDEFINED`. This returns sessions of all types.
652
- */
653
- type?: SessionTypeFilter;
654
- /**
655
- * Whether to return only single session instances and instances of recurring sessions.
656
- *
657
- * If `true`, only single session instances and instances of recurring sessions are returned.
658
- *
659
- * If `false`, only recurring session definitions are returned. **Note:** Cursor pagination is not supported for recurring session definition queries.
660
- *
661
- * Default: `true`.
662
- */
663
- instances?: boolean | null;
664
- /**
665
- * Whether to include sessions imported from connected external calendars in the results.
666
- *
667
- * Default: `false`.
668
- */
669
- includeExternal?: boolean | null;
670
- }
671
- export interface QueryV2 extends QueryV2PagingMethodOneOf {
672
- /**
673
- * Cursor token pointing to a page of results.
674
- * Not used in the first request.
675
- * Following requests use the cursor token and not `filter`.
676
- */
677
- cursorPaging?: CursorPaging;
678
- /**
679
- * Filter object. For field support for filters, see
680
- * [Sessions: Supported Filters](./filtering).
681
- * See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) for more information about querying with filters.
682
- */
683
- filter?: Record<string, any> | null;
684
- /**
685
- * Predefined sets of fields to return.
686
- * - `NO_PI`: Returns session objects without personal information.
687
- * - `ALL_PI`: Returns complete session objects, including personal information.
688
- *
689
- * Default: `NO_PI`
690
- */
691
- fieldsets?: string[];
692
- }
693
- /** @oneof */
694
- export interface QueryV2PagingMethodOneOf {
695
- /**
696
- * Cursor token pointing to a page of results.
697
- * Not used in the first request.
698
- * Following requests use the cursor token and not `filter`.
699
- */
700
- cursorPaging?: CursorPaging;
701
- }
702
- export interface CursorPaging {
703
- /**
704
- * Number of sessions to return.
705
- *
706
- * Default: `100`
707
- * Max: `1000`
708
- */
709
- limit?: number | null;
710
- /**
711
- * Pointer to the next or previous page in the list of results.
712
- *
713
- * You can get the relevant cursor token
714
- * from the `pagingMetadata` object in the previous call's response.
715
- * Not relevant for the first request.
716
- */
717
- cursor?: string | null;
718
- }
719
- export declare enum SessionTypeFilter {
720
- UNKNOWN_SESSION_TYPE = "UNKNOWN_SESSION_TYPE",
721
- /** Filter sessions of type `EVENT`. This is the default. */
722
- EVENT = "EVENT",
723
- /** Filter sessions of type `WORKING_HOURS`. */
724
- WORKING_HOURS = "WORKING_HOURS",
725
- /** Return sessions of any type. */
726
- ALL = "ALL"
727
- }
728
- export interface QuerySessionsResponse {
729
- /** List of sessions matching the query. */
730
- sessions?: Session[];
731
- /** Paging metadata. */
732
- pagingMetadata?: CursorPagingMetadata;
733
- }
734
- /** This is the preferred message for cursor-paging enabled services */
735
- export interface CursorPagingMetadata {
736
- /** Number of sessions returned in the response. */
737
- count?: number | null;
738
- /** Cursors to navigate through the result pages. */
739
- cursors?: Cursors;
740
- /**
741
- * Indicates if there are more results after the current page.
742
- * If `true`, another page of results can be retrieved.
743
- * If `false`, this is the last page.
744
- */
745
- hasNext?: boolean | null;
746
- }
747
- export interface Cursors {
748
- /** Cursor pointing to next page in the list of results. */
749
- next?: string | null;
750
- }
751
- export interface GetSessionRequest {
752
- /** ID of the session to retrieve. */
753
- _id: string | null;
754
- /**
755
- * Predefined sets of fields to return.
756
- * - `NO_PI`: Returns a session object without personal information.
757
- * - `ALL_PI`: Returns a complete session object, including personal information.
758
- *
759
- * Default: `NO_PI`
760
- */
761
- fieldsets?: string[];
762
- }
763
- export interface GetSessionResponse {
764
- /** Retrieved session. */
765
- session?: Session;
766
- }
767
- export interface ListSessionsRequest {
768
- /** IDs of the sessions to retrieve. */
769
- ids: string[] | null;
770
- /**
771
- * Predefined sets of fields to return.
772
- * - `NO_PI`: Returns session objects without personal information.
773
- * - `ALL_PI`: Returns complete session objects, including personal information.
774
- *
775
- * Default: `NO_PI`
776
- */
777
- fieldsets?: string[];
778
- }
779
- export interface ListSessionsResponse {
780
- /** Retrieved sessions. */
781
- sessions?: Session[];
782
- }
783
- export interface QueryEventSessionInstancesRequest {
784
- /**
785
- * Start of the time range for which sessions are returned
786
- * in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)).
787
- * Required, if `query.cursorPaging` is omitted.
788
- * `end.timestamp` of all returned sessions is greater than or equal to `fromDate`.
789
- */
790
- fromDate?: Date;
791
- /**
792
- * End of the time range for which sessions are returned
793
- * in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)).
794
- * Required, if `query.cursorPaging` is omitted.
795
- * `start.timestamp` of all returned sessions is less than or equal to `toDate`.
796
- */
797
- toDate?: Date;
798
- /** Information about filters, paging, and returned fields. */
799
- query?: CommonQueryV2;
800
- }
801
- export interface CommonQueryV2 extends CommonQueryV2PagingMethodOneOf {
802
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `query.filter`. */
803
- cursorPaging?: CommonCursorPaging;
804
- /**
805
- * Filter object.
806
- * See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language)
807
- * for more information.
808
- *
809
- * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`.
810
- *
811
- * For a detailed list of supported filters, see
812
- * [Supported Filters](https://dev.wix.com/api/rest/wix-bookings/calendar-v2/filters).
813
- */
814
- filter?: Record<string, any> | null;
815
- /**
816
- * Supported values: `ALL_PI`.
817
- *
818
- * Predefined sets of fields to return.
819
- *
820
- * - `ALL_PI`: Returns complete session objects.
821
- *
822
- * If you don't pass a value in the `fieldsets` array, session objects without
823
- * personal information are returned by default. This means without `participants`,
824
- * `location`, `calendarConference`, and `externalCalendarOverrides`.
825
- */
826
- fieldsets?: string[];
827
- }
828
- /** @oneof */
829
- export interface CommonQueryV2PagingMethodOneOf {
830
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `query.filter`. */
831
- cursorPaging?: CommonCursorPaging;
832
- }
833
- export interface CommonCursorPaging {
834
- /**
835
- * Number of sessions to return.
836
- * Defaults to `50`. Maximum `1000`.
837
- */
838
- limit?: number | null;
839
- /**
840
- * Pointer to the next or previous page in the list of results.
841
- *
842
- * You can get the relevant cursor token
843
- * from the `pagingMetadata` object in the previous call's response.
844
- * Not relevant for the first request.
845
- */
846
- cursor?: string | null;
847
- }
848
- export interface QueryEventSessionInstancesResponse {
849
- /** Retrieved sessions. */
850
- sessions?: Session[];
851
- /** Paging metadata. */
852
- pagingMetadata?: PagingMetadataV2;
853
- }
854
- export interface PagingMetadataV2 {
855
- /** Number of items returned in the response. */
856
- count?: number | null;
857
- /** Offset that was requested. */
858
- offset?: number | null;
859
- /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
860
- total?: number | null;
861
- /** Flag that indicates the server failed to calculate the `total` field. */
862
- tooManyToCount?: boolean | null;
863
- /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
864
- cursors?: CommonCursors;
865
- }
866
- export interface CommonCursors {
867
- /** Cursor string pointing to the next page in the list of results. */
868
- next?: string | null;
869
- /** Cursor pointing to the previous page in the list of results. */
870
- prev?: string | null;
871
- }
872
- export interface CacheRequest {
873
- fromDate?: Date;
874
- }
875
- export interface CacheResponse {
876
- cacheInfo?: CacheInfo;
877
- }
878
- export interface CacheInfo {
879
- status?: CacheInfoStatus;
880
- fromDate?: Date;
881
- toDate?: Date;
882
- feedReplayId?: string | null;
883
- sessionCount?: number | null;
884
- cachedDate?: Date;
885
- }
886
- export declare enum CacheInfoStatus {
887
- UNDEFINED = "UNDEFINED",
888
- INACTIVE = "INACTIVE",
889
- IN_PROGRESS = "IN_PROGRESS",
890
- ACTIVE = "ACTIVE"
891
- }
892
- export interface UncacheRequest {
893
- }
894
- export interface UncacheResponse {
895
- }
896
- export interface ShortenCacheRequest {
897
- /**
898
- * The new cache from date to set.
899
- * Must be after than the current from date.
900
- */
901
- fromDate?: Date;
902
- }
903
- export interface ShortenCacheResponse {
904
- /** The updated cache. */
905
- cacheInfo?: CacheInfo;
906
- }
907
- export interface GetCacheInfoRequest {
908
- includeSessionCount?: boolean | null;
909
- }
910
- export interface GetCacheInfoResponse {
911
- cacheInfo?: CacheInfo;
912
- }
913
- export interface FeedEvent extends FeedEventTypeOneOf {
914
- /** Session has been added or updated within the feed window. */
915
- sessionAddedOrUpdated?: SessionAddedOrUpdated;
916
- /** Session has been removed from the feed. */
917
- sessionRemoved?: SessionRemoved;
918
- /** The feed window has been extended. */
919
- windowExtended?: WindowExtended;
920
- }
921
- /** @oneof */
922
- export interface FeedEventTypeOneOf {
923
- /** Session has been added or updated within the feed window. */
924
- sessionAddedOrUpdated?: SessionAddedOrUpdated;
925
- /** Session has been removed from the feed. */
926
- sessionRemoved?: SessionRemoved;
927
- /** The feed window has been extended. */
928
- windowExtended?: WindowExtended;
929
- }
930
- export interface SessionAddedOrUpdated {
931
- /** The session which was added or updated within the view. */
932
- session?: Session;
933
- /** Optionally, the previous session. */
934
- previousSession?: Session;
935
- }
936
- export interface SessionRemoved {
937
- /** The updated session which was removed from the view. */
938
- session?: Session;
939
- /** Optionally, the previous session. */
940
- previousSession?: Session;
941
- }
942
- export interface WindowExtended {
943
- /** The updated window end date. */
944
- windowEndDate?: Date;
945
- }
946
- /** Deprecated. Please use `window_extended` instead. */
947
- export interface WindowMoved {
948
- /** The updated window edge. */
949
- edge?: Date;
950
- /** The window version. */
951
- windowVersion?: number | null;
952
- }
953
- export interface Empty {
954
- }
955
- export interface FeedReplayEvent extends FeedReplayEventTypeOneOf {
956
- /** Session has been added within the feed window. */
957
- sessionAdded?: SessionAdded;
958
- /** Sessions replay completed. */
959
- replayCompleted?: ReplayCompleted;
960
- replayId?: string | null;
961
- }
962
- /** @oneof */
963
- export interface FeedReplayEventTypeOneOf {
964
- /** Session has been added within the feed window. */
965
- sessionAdded?: SessionAdded;
966
- /** Sessions replay completed. */
967
- replayCompleted?: ReplayCompleted;
968
- }
969
- export interface SessionAdded {
970
- /** The session which was added within the feed window. */
971
- session?: Session;
972
- }
973
- export interface ReplayCompleted {
974
- /** The (minimum) number of sessions that were replayed. */
975
- totalSessions?: number | null;
976
- }
977
- export interface QuerySessionsResponseNonNullableFields {
978
- sessions: {
979
- scheduleId: string;
980
- affectedSchedules: {
981
- scheduleId: string;
982
- transparency: Transparency;
983
- scheduleOwnerId: string;
984
- }[];
985
- location?: {
986
- locationType: LocationType;
987
- customAddress?: {
988
- streetAddress?: {
989
- number: string;
990
- name: string;
991
- apt: string;
992
- };
993
- subdivisions: {
994
- code: string;
995
- name: string;
996
- }[];
997
- };
998
- };
999
- rate?: {
1000
- labeledPriceOptions?: {
1001
- amount: string;
1002
- currency: string;
1003
- downPayAmount: string;
1004
- };
1005
- };
1006
- notes: string;
1007
- totalNumberOfParticipants: number;
1008
- participants: {
1009
- _id: string;
1010
- partySize: number;
1011
- approvalStatus: ApprovalStatus;
1012
- inherited: boolean;
1013
- }[];
1014
- inheritedFields: string[];
1015
- status: Status;
1016
- type: SessionType;
1017
- calendarConference?: {
1018
- _id: string;
1019
- externalId: string;
1020
- providerId: string;
1021
- hostUrl: string;
1022
- guestUrl: string;
1023
- conferenceType: ConferenceType;
1024
- };
1025
- }[];
1026
- }
1027
- export interface GetSessionResponseNonNullableFields {
1028
- session?: {
1029
- scheduleId: string;
1030
- affectedSchedules: {
1031
- scheduleId: string;
1032
- transparency: Transparency;
1033
- scheduleOwnerId: string;
1034
- }[];
1035
- location?: {
1036
- locationType: LocationType;
1037
- customAddress?: {
1038
- streetAddress?: {
1039
- number: string;
1040
- name: string;
1041
- apt: string;
1042
- };
1043
- subdivisions: {
1044
- code: string;
1045
- name: string;
1046
- }[];
1047
- };
1048
- };
1049
- rate?: {
1050
- labeledPriceOptions?: {
1051
- amount: string;
1052
- currency: string;
1053
- downPayAmount: string;
1054
- };
1055
- };
1056
- notes: string;
1057
- totalNumberOfParticipants: number;
1058
- participants: {
1059
- _id: string;
1060
- partySize: number;
1061
- approvalStatus: ApprovalStatus;
1062
- inherited: boolean;
1063
- }[];
1064
- inheritedFields: string[];
1065
- status: Status;
1066
- type: SessionType;
1067
- calendarConference?: {
1068
- _id: string;
1069
- externalId: string;
1070
- providerId: string;
1071
- hostUrl: string;
1072
- guestUrl: string;
1073
- conferenceType: ConferenceType;
1074
- };
1075
- };
1076
- }
1077
- export interface ListSessionsResponseNonNullableFields {
1078
- sessions: {
1079
- scheduleId: string;
1080
- affectedSchedules: {
1081
- scheduleId: string;
1082
- transparency: Transparency;
1083
- scheduleOwnerId: string;
1084
- }[];
1085
- location?: {
1086
- locationType: LocationType;
1087
- customAddress?: {
1088
- streetAddress?: {
1089
- number: string;
1090
- name: string;
1091
- apt: string;
1092
- };
1093
- subdivisions: {
1094
- code: string;
1095
- name: string;
1096
- }[];
1097
- };
1098
- };
1099
- rate?: {
1100
- labeledPriceOptions?: {
1101
- amount: string;
1102
- currency: string;
1103
- downPayAmount: string;
1104
- };
1105
- };
1106
- notes: string;
1107
- totalNumberOfParticipants: number;
1108
- participants: {
1109
- _id: string;
1110
- partySize: number;
1111
- approvalStatus: ApprovalStatus;
1112
- inherited: boolean;
1113
- }[];
1114
- inheritedFields: string[];
1115
- status: Status;
1116
- type: SessionType;
1117
- calendarConference?: {
1118
- _id: string;
1119
- externalId: string;
1120
- providerId: string;
1121
- hostUrl: string;
1122
- guestUrl: string;
1123
- conferenceType: ConferenceType;
1124
- };
1125
- }[];
1126
- }
1127
- /**
1128
- * Retrieves a list of sessions, given the provided time range, filtering, and paging.
1129
- *
1130
- *
1131
- * The `querySessions()` function builds a query to retrieve a list of sessions, and returns a `SessionQueryBuilder` object.
1132
- *
1133
- * The returned object contains the query definition, which is typically used to run the query using the `find()` function.
1134
- *
1135
- * To query all event instances within a specified time range of up to 1 year, set `options.type` to `EVENT` and specify the time range in `options.startDate` and `options.endDate`.
1136
- *
1137
- * You can refine the query by chaining `SessionQueryBuilder` functions to the query, before chaining `find()`. These enable you to filter and control the results a query returns.
1138
- *
1139
- * The `querySessions()` function runs with these defaults, which you can override:
1140
- * - All session types are returned.
1141
- * - `options.instances` is true. This means only single sessions and instances of recurring sessions are returned.
1142
- * - Session objects are returned with the fields specified in the `NO_PI` fieldset. This means they don't contain personal information.
1143
- *
1144
- * Note the following limitations, which you can't override:
1145
- * - Sessions are always sorted by `start.timestamp` in `ASC` order.
1146
- * - The maximum time range you can query is 1 year.
1147
- *
1148
- * To query only for events, set `options.type` to `EVENT`. An event is a single or recurring session that appears in a calendar, for example an appointment or a class.
1149
- *
1150
- * To query for recurring session pattern definitions, set `options.instances` to `false`. In this case, you don't need to specify a time range.
1151
- *
1152
- * To return session objects including personal information, use the `ALL_PI` fieldset. This requires elevating permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
1153
- *
1154
- * For details on fieldsets, see [Sessions: Supported Fieldsets](https://www.wix.com/velo/reference/wix-bookings-v2/sessions/fieldsets).
1155
- * For details on supported filters, see [Sessions: Supported Filters](https://www.wix.com/velo/reference/wix-bookings-v2/sessions/supported-filters).
1156
- * @public
1157
- * @documentationMaturity preview
1158
- * @requiredField fromDate
1159
- * @requiredField toDate
1160
- * @param options - Options for customizing a query.
1161
- *
1162
- * To query all event instances within a specific time range of up to 1 year, set `options.type` to `EVENT` and specify the time range in `options.startDate` and `options.endDate`.
1163
- * @param fromDate - Start of the time range for which sessions are returned, in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)).
1164
- *
1165
- * Sessions that begin before the `fromDate` but end after it are included in the results. For recurring session definitions, this means the `start` value is before the `fromDate` and the `UNTIL` value in the `recurrence` property is after the `fromDate`.
1166
- *
1167
- * Required, unless `query.cursorPaging` is provided.
1168
- * @param toDate - End of the time range for which sessions are returned, in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)).
1169
- *
1170
- * Sessions that begin before the `toDate` but end after it are included in the results. For recurring session definitions, this means the `start` value is before the `toDate` and the `UNTIL` value in the `recurrence` property is after the `toDate`.
1171
- *
1172
- * Required, unless `query.cursorPaging` is provided.
1173
- *
1174
- * Max: 1 year after `fromDate` for session instance queries. This limit doesn't apply to recurring session definition queries.
1175
- * @permissionScope Read Bookings - Public Data
1176
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1177
- * @permissionScope Manage Bookings
1178
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
1179
- * @permissionScope Read Bookings - Including Participants
1180
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
1181
- * @permissionScope Read Bookings - all read permissions
1182
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
1183
- * @permissionScope Read Bookings Calendar Availability
1184
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-CALENDAR
1185
- * @permissionScope Manage Bookings - all permissions
1186
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1187
- * @permissionScope Read bookings calendar - including participants
1188
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-CALENDAR-WITH-PARTICIPANTS
1189
- * @permissionScope Read Bookings Calendar
1190
- * @permissionScopeId SCOPE.DC-BOOKINGS.SESSIONS-RESOURCES
1191
- * @permissionScope Manage Bookings Services and Settings
1192
- * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
1193
- * @permissionScope Manage Bookings
1194
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
1195
- * @permissionScope Read Bookings - Including Participants
1196
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
1197
- * @permissionScope Read Bookings - all read permissions
1198
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
1199
- * @permissionScope Manage Bookings - all permissions
1200
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1201
- * @permissionScope Read bookings calendar - including participants
1202
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-CALENDAR-WITH-PARTICIPANTS
1203
- * @applicableIdentity APP
1204
- * @applicableIdentity MEMBER
1205
- * @applicableIdentity VISITOR
1206
- */
1207
- export declare function querySessions(fromDate: Date, toDate: Date, options?: QuerySessionsOptions): SessionsQueryBuilder;
1208
- export interface QuerySessionsOptions {
1209
- /**
1210
- * Type of sessions to return.
1211
- *
1212
- * - `EVENT`: Reserved period of time on the schedule. For example, an appointment, class, course, or blocked time. Events are visible in the Dashboard in the Bookings app's [Booking Calendar](https://support.wix.com/en/article/wix-bookings-about-the-wix-bookings-calendar) page.
1213
- * - `WORKING_HOURS`: Placeholder for available time on a resource’s schedule.
1214
- *
1215
- * Default: `UNDEFINED`. This returns sessions of all types.
1216
- */
1217
- type?: SessionTypeFilter | undefined;
1218
- /**
1219
- * Whether to return only single session instances and instances of recurring sessions.
1220
- *
1221
- * If `true`, only single session instances and instances of recurring sessions are returned.
1222
- *
1223
- * If `false`, only recurring session definitions are returned. **Note:** Cursor pagination is not supported for recurring session definition queries.
1224
- *
1225
- * Default: `true`.
1226
- */
1227
- instances?: boolean | null | undefined;
1228
- /**
1229
- * Whether to include sessions imported from connected external calendars in the results.
1230
- *
1231
- * Default: `false`.
1232
- */
1233
- includeExternal?: boolean | null | undefined;
1234
- }
1235
- interface QueryCursorResult {
1236
- cursors: Cursors;
1237
- hasNext: () => boolean;
1238
- hasPrev: () => boolean;
1239
- length: number;
1240
- pageSize: number;
1241
- }
1242
- export interface SessionsQueryResult extends QueryCursorResult {
1243
- items: Session[];
1244
- query: SessionsQueryBuilder;
1245
- next: () => Promise<SessionsQueryResult>;
1246
- prev: () => Promise<SessionsQueryResult>;
1247
- }
1248
- export interface SessionsQueryBuilder {
1249
- /** @param propertyName - Property whose value is compared with `value`.
1250
- * @param value - Value to compare against.
1251
- * @documentationMaturity preview
1252
- */
1253
- eq: (propertyName: 'scheduleId' | 'scheduleOwnerId' | 'affectedSchedules.scheduleId' | 'title' | 'tags' | 'location.locationType' | 'location.customAddress.formattedAddress' | 'location.businessLocation.id' | 'location.businessLocation.name' | 'location.businessLocation.address.formattedAddress' | 'capacity' | 'participants.contactId' | 'recurringSessionId' | 'calendarConference.id' | 'calendarConference.externalId' | 'calendarConference.providerId' | 'instanceOfRecurrence', value: any) => SessionsQueryBuilder;
1254
- /** @param propertyName - Property whose value is compared with `value`.
1255
- * @param value - Value to compare against.
1256
- * @documentationMaturity preview
1257
- */
1258
- ne: (propertyName: 'scheduleId' | 'scheduleOwnerId' | 'title' | 'location.locationType' | 'location.customAddress.formattedAddress' | 'location.businessLocation.id' | 'location.businessLocation.name' | 'location.businessLocation.address.formattedAddress' | 'capacity' | 'recurringSessionId' | 'calendarConference.id' | 'calendarConference.externalId' | 'calendarConference.providerId' | 'instanceOfRecurrence', value: any) => SessionsQueryBuilder;
1259
- /** @param propertyName - Property whose value is compared with `value`.
1260
- * @param value - Value to compare against.
1261
- * @documentationMaturity preview
1262
- */
1263
- ge: (propertyName: 'capacity', value: any) => SessionsQueryBuilder;
1264
- /** @param propertyName - Property whose value is compared with `value`.
1265
- * @param value - Value to compare against.
1266
- * @documentationMaturity preview
1267
- */
1268
- gt: (propertyName: 'capacity', value: any) => SessionsQueryBuilder;
1269
- /** @param propertyName - Property whose value is compared with `value`.
1270
- * @param value - Value to compare against.
1271
- * @documentationMaturity preview
1272
- */
1273
- le: (propertyName: 'capacity', value: any) => SessionsQueryBuilder;
1274
- /** @param propertyName - Property whose value is compared with `value`.
1275
- * @param value - Value to compare against.
1276
- * @documentationMaturity preview
1277
- */
1278
- lt: (propertyName: 'capacity', value: any) => SessionsQueryBuilder;
1279
- /** @param propertyName - Property whose value is compared with `string`.
1280
- * @param string - String to compare against. Case-insensitive.
1281
- * @documentationMaturity preview
1282
- */
1283
- startsWith: (propertyName: 'title' | 'location.customAddress.formattedAddress' | 'location.businessLocation.name' | 'location.businessLocation.address.formattedAddress', value: string) => SessionsQueryBuilder;
1284
- /** @param propertyName - Property whose value is compared with `values`.
1285
- * @param values - List of values to compare against.
1286
- * @documentationMaturity preview
1287
- */
1288
- hasSome: (propertyName: 'scheduleId' | 'scheduleOwnerId' | 'affectedSchedules.scheduleId' | 'affectedSchedules.transparency' | 'affectedSchedules.scheduleOwnerId' | 'title' | 'tags' | 'location.locationType' | 'location.customAddress.formattedAddress' | 'location.businessLocation.id' | 'location.businessLocation.name' | 'location.businessLocation.address.formattedAddress' | 'participants.id' | 'participants.contactId' | 'participants.approvalStatus' | 'inheritedFields' | 'recurringSessionId' | 'calendarConference.id' | 'calendarConference.externalId' | 'calendarConference.providerId' | 'instanceOfRecurrence', value: any[]) => SessionsQueryBuilder;
1289
- /** @param propertyName - Property whose value is compared with `values`.
1290
- * @param values - List of values to compare against.
1291
- * @documentationMaturity preview
1292
- */
1293
- hasAll: (propertyName: 'tags' | 'inheritedFields', value: any[]) => SessionsQueryBuilder;
1294
- /** @documentationMaturity preview */
1295
- exists: (propertyName: 'location' | 'location.customAddress' | 'recurringSessionId' | 'calendarConference' | 'instanceOfRecurrence', value: boolean) => SessionsQueryBuilder;
1296
- /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
1297
- * @documentationMaturity preview
1298
- */
1299
- limit: (limit: number) => SessionsQueryBuilder;
1300
- /** @param cursor - A pointer to specific record
1301
- * @documentationMaturity preview
1302
- */
1303
- skipTo: (cursor: string) => SessionsQueryBuilder;
1304
- /** @documentationMaturity preview */
1305
- find: () => Promise<SessionsQueryResult>;
1306
- }
1307
- /**
1308
- * Retrieves a session by ID.
1309
- *
1310
- *
1311
- * The `getSession()` function returns a Promise that resolves to a session with the specified session ID.
1312
- *
1313
- * By default, a session object is returned with the fields specified in the `NO_PI` fieldset. This means it doesn't contain personal information.
1314
- *
1315
- * To retrieve a full session object including all personal information, use the `ALL_PI` fieldset. This requires elevating permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
1316
- * @param _id - ID of the session to retrieve.
1317
- * @public
1318
- * @documentationMaturity preview
1319
- * @requiredField _id
1320
- * @param options - Options to use when retrieving a session.
1321
- * @returns Retrieved session.
1322
- */
1323
- export declare function getSession(_id: string | null, options?: GetSessionOptions): Promise<Session & NonNullable<GetSessionResponseNonNullableFields>['session']>;
1324
- export interface GetSessionOptions {
1325
- /**
1326
- * Predefined sets of fields to return.
1327
- * - `NO_PI`: Returns a session object without personal information.
1328
- * - `ALL_PI`: Returns a complete session object, including personal information.
1329
- *
1330
- * Default: `NO_PI`
1331
- */
1332
- fieldsets?: string[];
1333
- }
1334
- /**
1335
- * Retrieves a list of sessions by their IDs.
1336
- *
1337
- *
1338
- * The `listSessions()` function returns a Promise that resolves to the sessions with the specified IDs.
1339
- *
1340
- * By default, session objects are returned with the fields specified in the `NO_PI` fieldset. This means they don't contain personal information.
1341
- *
1342
- * To retrieve full session objects including all personal information, use the `ALL_PI` fieldset. This requires elevating permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
1343
- * @param ids - IDs of the sessions to retrieve.
1344
- * @public
1345
- * @documentationMaturity preview
1346
- * @requiredField ids
1347
- * @param options - Options to use when retrieving a list of sessions.
1348
- */
1349
- export declare function listSessions(ids: string[] | null, options?: ListSessionsOptions): Promise<ListSessionsResponse & ListSessionsResponseNonNullableFields>;
1350
- export interface ListSessionsOptions {
1351
- /**
1352
- * Predefined sets of fields to return.
1353
- * - `NO_PI`: Returns session objects without personal information.
1354
- * - `ALL_PI`: Returns complete session objects, including personal information.
1355
- *
1356
- * Default: `NO_PI`
1357
- */
1358
- fieldsets?: string[];
1359
- }
1360
- export {};