@wix/bookings 1.0.343 → 1.0.345

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 -73
  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 -55
  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 -73
  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 -12
  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 -66
  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 -55
  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 -66
  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 -12
  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,1818 +0,0 @@
1
- export interface ExternalCalendar {
2
- }
3
- export interface ListProvidersRequest {
4
- }
5
- export interface ListProvidersResponse {
6
- /**
7
- * Retrieves a list of the external calendar providers for which the site supports integration.
8
- *
9
- *
10
- * The list of external calendar providers includes:
11
- *
12
- * + External calendar providers that are supported by default, such as Google, Apple, and Microsoft.
13
- * + External calenders for which the site owner has enabled integration by installing an app.
14
- *
15
- * For each external calendar provider, the list contains information about supported connection methods and features.
16
- * For each provider, check `features.connectMethods` to find out whether to use [`connectByCredentials()`](#connect-by-credentials) or [`connectByOAuth()`](#connect-by-o-auth) to establish a connection.
17
- */
18
- providers?: Provider[];
19
- }
20
- export interface Provider {
21
- /** ID of the external calendar provider. */
22
- _id?: string | null;
23
- /** Name of the external calendar provider. */
24
- name?: string | null;
25
- /** External calendar provider type. */
26
- calendarType?: CalendarType;
27
- /** Features the external calendar provider supports. */
28
- features?: ProviderFeatures;
29
- }
30
- export declare enum CalendarType {
31
- UNDEFINED = "UNDEFINED",
32
- GOOGLE = "GOOGLE",
33
- I_CAL = "I_CAL",
34
- /** Use `MICROSOFT` instead. */
35
- OUTLOOK = "OUTLOOK",
36
- /** Use `MICROSOFT` instead. */
37
- OFFICE_365 = "OFFICE_365",
38
- MICROSOFT = "MICROSOFT",
39
- OTHER = "OTHER"
40
- }
41
- export interface ProviderFeatures {
42
- /**
43
- * Supported connection methods.
44
- *
45
- * For providers supporting `OAUTH`, connect with the [`connectByOAuth()`](#connect-by-o-auth) function.
46
- * For providers supporting `CREDENTIALS`, connect with the [`connectByCredentials()`](#connect-by-credentials) function.
47
- */
48
- connectMethods?: ConnectMethod[];
49
- /**
50
- * Whether the sync configuration can be updated after a connection is established.
51
- *
52
- * If `true`, you can update the sync configuration using the [`UpdateSyncConfig()`](#update-sync-config) function.
53
- */
54
- updateSyncConfig?: boolean | null;
55
- /**
56
- * Whether events can be imported from external calendars to the Wix calendar.
57
- *
58
- * + `NOT_SUPPORTED`: Importing events from the external calendar is not supported.
59
- * + `PRIMARY_CALENDAR_ONLY`: Events can be imported only from an external calendar designated as primary.
60
- * + `SPECIFIC_CALENDARS`: Events can be imported from specific external calendars. Use [`listCalendars()`](#list-calendars) to get a list of calendars for a connected external calendar account.
61
- */
62
- listEventFromCalendars?: ListEventFromCalendars;
63
- /**
64
- * Whether Wix calendar sessions can be exported to the external calendar.
65
- *
66
- * + `NOT_SUPPORTED`: Exporting events to an external calendar is not supported.
67
- * + `PRIMARY_CALENDAR_ONLY`: Events can only be exported only to an external calendar designated as primary.
68
- * + `SPECIFIC_CALENDARS`: Events can be exported to specific external calendars. Use [`listCalendars()`](#list-calendars) to get a list of calendars for a connected external calendar account.
69
- * + `DEDICATED_CALENDAR`: Events can be exported to a newly created, dedicated external calendar in the connected external calendar account.
70
- */
71
- syncToCalendar?: SyncToCalendar;
72
- }
73
- export declare enum ConnectMethod {
74
- UNDEFINED = "UNDEFINED",
75
- OAUTH = "OAUTH",
76
- CREDENTIALS = "CREDENTIALS"
77
- }
78
- export declare enum ListEventFromCalendars {
79
- /** Dont use. */
80
- UNDEFINED = "UNDEFINED",
81
- /** Listing events from the external calendar is not supported. */
82
- NOT_SUPPORTED = "NOT_SUPPORTED",
83
- /** Listing events from the primary external calendar only. */
84
- PRIMARY_CALENDAR_ONLY = "PRIMARY_CALENDAR_ONLY",
85
- /**
86
- * Listing events from specific external calendars.
87
- * The external calendars can be listed using the `ExternalCalendarService.ListCalendars` API.
88
- */
89
- SPECIFIC_CALENDARS = "SPECIFIC_CALENDARS"
90
- }
91
- export declare enum SyncToCalendar {
92
- /** Dont use. */
93
- UNDEFINED = "UNDEFINED",
94
- /** Syncing Wix calendar sessions to the external calendar is not supported. */
95
- NOT_SUPPORTED = "NOT_SUPPORTED",
96
- /** Syncing Wix calendar sessions to the primary external calendar only. */
97
- PRIMARY_CALENDAR_ONLY = "PRIMARY_CALENDAR_ONLY",
98
- /** Syncing Wix calendar sessions to a specific external calendar. */
99
- SPECIFIC_CALENDAR = "SPECIFIC_CALENDAR",
100
- /** Syncing Wix calendar sessions to a new external calendar. */
101
- DEDICATED_CALENDAR = "DEDICATED_CALENDAR"
102
- }
103
- export interface GetConnectionRequest {
104
- /** ID of the connection to retrieve. */
105
- connectionId: string | null;
106
- }
107
- export interface GetConnectionResponse {
108
- /** Retrieved external calendar connection. */
109
- connection?: Connection;
110
- }
111
- export interface Connection {
112
- /** External calendar connection ID. */
113
- _id?: string | null;
114
- /** ID of the external calendar provider. */
115
- providerId?: string | null;
116
- /** External calendar type. */
117
- calendarType?: CalendarType;
118
- /** ID of the schedule connected to the external calendar. */
119
- scheduleId?: string | null;
120
- /** ID of the Wix user the external calendar connection belongs to. */
121
- userId?: string | null;
122
- /** ID of the Wix App the external calendar connection belongs to. */
123
- appId?: string | null;
124
- /** Email address associated with the external calendar account. Empty until sync is completed successfully. */
125
- externalAccountEmail?: string | null;
126
- /**
127
- * Connection status.
128
- *
129
- * + `CONNECTED`: A connection has been established with the external calendar.
130
- * + `SYNC_IN_PROGRESS`: A sync is in progress.
131
- * + `SYNCED`: External calendar sync complete.
132
- * + `DISCONNECTED`: External calendar has been disconnected.
133
- * + `ERROR`: An error occurred when syncing with the external calendar.
134
- */
135
- status?: Status;
136
- /**
137
- * Reason for the error, if `status` is `ERROR`.
138
- *
139
- * + `TOKEN_REVOKED`: External calendar access token revoked.
140
- * + `EXTERNAL_CALENDAR_CREATION_FAILED`: External calendar creation failed.
141
- * + `EXTERNAL_CALENDAR_DELETED`: External calendar was deleted.
142
- */
143
- errorReason?: ErrorReason;
144
- /**
145
- * Sync configuration. Contains settings for enabling, configuring, or disabling functionality, including:
146
- *
147
- * + Importing events from one or more specified calendars in the connected external calendar account.
148
- * + Exporting events from the Wix site's calendar to an external calendar.
149
- */
150
- syncConfig?: ConnectionSyncConfig;
151
- }
152
- export declare enum Status {
153
- /** Dont use. */
154
- UNDEFINED = "UNDEFINED",
155
- /** External calendar is connected to the corresponding schedule id. */
156
- CONNECTED = "CONNECTED",
157
- /** Sync in progress. */
158
- SYNC_IN_PROGRESS = "SYNC_IN_PROGRESS",
159
- /** Calendars are in-sync. */
160
- SYNCED = "SYNCED",
161
- /** External calender is disconnected. */
162
- DISCONNECTED = "DISCONNECTED",
163
- /** The calendars sync is in error state. */
164
- ERROR = "ERROR"
165
- }
166
- export declare enum ErrorReason {
167
- /** Empty or error reason is unknown. */
168
- UNDEFINED = "UNDEFINED",
169
- /** External calendar access token revoked. */
170
- TOKEN_REVOKED = "TOKEN_REVOKED",
171
- /** External calendar creation failed. */
172
- EXTERNAL_CALENDAR_CREATION_FAILED = "EXTERNAL_CALENDAR_CREATION_FAILED",
173
- /** External Calendar was deleted. */
174
- EXTERNAL_CALENDAR_DELETED = "EXTERNAL_CALENDAR_DELETED"
175
- }
176
- export interface ConnectionSyncConfig {
177
- /**
178
- * Configuration for importing events from external calendars.
179
- * If enabled, use the [`listEvents()`](#list-events) function to retrieve a list of events from external calendars.
180
- */
181
- listEventFromCalendars?: ConnectionSyncConfigListEventFromCalendars;
182
- /** Configuration for exporting calendars from the Wix site's calendar to a connected external calendar. */
183
- syncToCalendar?: ConnectionSyncConfigSyncToCalendar;
184
- }
185
- export interface Calendar {
186
- /**
187
- * External calendar ID.
188
- * @readonly
189
- */
190
- _id?: string | null;
191
- /**
192
- * Display name of the external calendar.
193
- * For example, "Primary" or "Birthdays".
194
- */
195
- name?: string | null;
196
- }
197
- export interface PrimaryCalendar {
198
- }
199
- export interface Calendars {
200
- calendars?: Calendar[];
201
- }
202
- export interface DedicatedCalendar {
203
- }
204
- export interface ConnectionSyncConfigListEventFromCalendars extends ConnectionSyncConfigListEventFromCalendarsListFromOneOf {
205
- /**
206
- * Import events only from the primary external calendar. Enable this by passing an empty object.
207
- *
208
- * **Note**: Not all external calendar providers designate a primary calendar.
209
- */
210
- primaryCalendar?: PrimaryCalendar;
211
- /**
212
- * Import events from a list of specified external calendars.
213
- *
214
- * **Note**: The list can include the primary calendar.
215
- */
216
- calendars?: Calendars;
217
- /** Whether to enable importing events from external calendars through this connection. */
218
- enabled?: boolean | null;
219
- }
220
- /** @oneof */
221
- export interface ConnectionSyncConfigListEventFromCalendarsListFromOneOf {
222
- /**
223
- * Import events only from the primary external calendar. Enable this by passing an empty object.
224
- *
225
- * **Note**: Not all external calendar providers designate a primary calendar.
226
- */
227
- primaryCalendar?: PrimaryCalendar;
228
- /**
229
- * Import events from a list of specified external calendars.
230
- *
231
- * **Note**: The list can include the primary calendar.
232
- */
233
- calendars?: Calendars;
234
- }
235
- export interface ConnectionSyncConfigSyncToCalendar extends ConnectionSyncConfigSyncToCalendarSyncToOneOf {
236
- /** Sync to the primary external calendar. Enable this by passing an empty object. */
237
- primaryCalendar?: PrimaryCalendar;
238
- /** Sync to a dedicated external calendar. Enable this by passing an empty object. */
239
- dedicatedCalendar?: DedicatedCalendar;
240
- /** Whether to enable exporting events to an external calendars through this connection. */
241
- enabled?: boolean | null;
242
- }
243
- /** @oneof */
244
- export interface ConnectionSyncConfigSyncToCalendarSyncToOneOf {
245
- /** Sync to the primary external calendar. Enable this by passing an empty object. */
246
- primaryCalendar?: PrimaryCalendar;
247
- /** Sync to a dedicated external calendar. Enable this by passing an empty object. */
248
- dedicatedCalendar?: DedicatedCalendar;
249
- }
250
- export declare enum SyncToErrorReason {
251
- /** No sync error. */
252
- UNDEFINED = "UNDEFINED",
253
- /** Could not create calendar to sync sessions to. */
254
- CALENDAR_CREATION_FAILURE = "CALENDAR_CREATION_FAILURE",
255
- /** Calendar was deleted while sync was in progress. */
256
- CALENDAR_DELETED = "CALENDAR_DELETED"
257
- }
258
- export interface ListConnectionsRequest {
259
- /**
260
- * Schedule IDs to filter by. If provided, only connections between external calendars and the specified schedules is returned.
261
- *
262
- * Default: Returns all connections.
263
- */
264
- scheduleIds?: string[] | null;
265
- /**
266
- * Whether to return a partial list of connections if details can't be retrieved for some connections.
267
- *
268
- * Default: `false`
269
- */
270
- partialFailure?: boolean | null;
271
- }
272
- export interface ListConnectionsResponse {
273
- /** List of external calendar connections. */
274
- connections?: Connection[];
275
- /** List of provider IDs for connections for which retrieval failed. Returned only if `partialFailure` parameter is `true` in the request. */
276
- failedProviderIds?: string[] | null;
277
- }
278
- export interface ConnectByOAuthRequest {
279
- /** ID of the schedule to connect with the external calendar account. */
280
- scheduleId: string | null;
281
- /**
282
- * ID of the external calendar provider. Find this with the [`listProviders()`](#list-providers) function.
283
- *
284
- */
285
- providerId: string | null;
286
- /**
287
- * URL to redirect the user to after they authorize access to the external calendar account.
288
- *
289
- * If the connection is successfully established, the user is redirected to this URL with a query parameter `connectionId` containing the new connection ID.
290
- * If the attempt to connect fails, the user is redirected to this URL with a query parameter `error` containing the error type.
291
- */
292
- redirectUrl: string | null;
293
- }
294
- export interface ConnectByOAuthResponse {
295
- /** URL of the external calendar authorization page to redirect the user to. */
296
- oauthUrl?: string | null;
297
- }
298
- export interface RawHttpRequest {
299
- body?: Uint8Array;
300
- pathParams?: PathParametersEntry[];
301
- queryParams?: QueryParametersEntry[];
302
- headers?: HeadersEntry[];
303
- method?: string;
304
- rawPath?: string;
305
- rawQuery?: string;
306
- }
307
- export interface PathParametersEntry {
308
- key?: string;
309
- value?: string;
310
- }
311
- export interface QueryParametersEntry {
312
- key?: string;
313
- value?: string;
314
- }
315
- export interface HeadersEntry {
316
- key?: string;
317
- value?: string;
318
- }
319
- export interface RawHttpResponse {
320
- body?: Uint8Array;
321
- statusCode?: number | null;
322
- headers?: HeadersEntry[];
323
- }
324
- export interface ConnectByCredentialsRequest {
325
- /** ID of the schedule to connect with the external calendar account. */
326
- scheduleId: string | null;
327
- /** ID of the external calendar provider. Find this with the [`listProviders()`](#list-providers) function. */
328
- providerId: string | null;
329
- /** Email address for the external calendar account. */
330
- email: string | null;
331
- /** Password for the external calendar account. */
332
- password: string | null;
333
- }
334
- export interface ConnectByCredentialsResponse {
335
- /** Established connection details. */
336
- connection?: Connection;
337
- }
338
- export interface ListCalendarsRequest {
339
- /** ID of the external calendar connection to list calendars for. */
340
- connectionId: string | null;
341
- }
342
- export interface ListCalendarsResponse {
343
- /** List of calendars belonging to the external calendar account. */
344
- calendars?: Calendar[];
345
- }
346
- export interface UpdateSyncConfigRequest {
347
- /** ID of the external calendar connection to update. */
348
- connectionId: string | null;
349
- /** Updated sync configuration details. */
350
- syncConfig: ConnectionSyncConfig;
351
- }
352
- export interface UpdateSyncConfigResponse {
353
- /** Connection with updated sync configuration. */
354
- connection?: Connection;
355
- }
356
- export interface DisconnectRequest {
357
- /** ID of the external calendar connection to disconnect. */
358
- connectionId: string | null;
359
- }
360
- export interface DisconnectResponse {
361
- /** Updated connection details. */
362
- connection?: Connection;
363
- }
364
- export interface ListEventsRequest {
365
- /**
366
- * Date and time from which to retrieve events,
367
- * formatted according to [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt).
368
- * Required, unless `cursorPaging.cursor` is provided.
369
- *
370
- * Events which start before the `from` time and end after it are included in the returned list.
371
- */
372
- from?: string | null;
373
- /**
374
- * Date and time until which to retrieve events,
375
- * formatted according to [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt).
376
- * Required, unless `cursorPaging.cursor` is provided.
377
- *
378
- * Events which start before the `to` time and end after it are included in the returned list.
379
- */
380
- to?: string | null;
381
- /**
382
- * Schedule IDs to filter by. If provided, the returned list includes only events belonging to external calendars connected to the specified schedules.
383
- * Maximum of 100 schedule IDs per request.
384
- */
385
- scheduleIds?: string[] | null;
386
- /**
387
- * Wix user IDs to filter by. If provided, the returned list includes only events belonging to external calendars connected to schedules belonging to the specified Wix users.
388
- * Maximum of 100 Wix user IDs per request.
389
- */
390
- userIds?: string[] | null;
391
- /**
392
- * Whether to include only all-day events in the returned list.
393
- * If `true`, only all-day events are returned.
394
- * If `false`, only events with a specified time are returned.
395
- *
396
- * Default: All events are returned.
397
- */
398
- allDay?: boolean | null;
399
- /**
400
- * Predefined sets of fields to return.
401
- * - `NO_PI`: Returns event objects without personal information.
402
- * - `OWN_PI`: Returns complete event objects, including personal information.
403
- *
404
- * Default: `NO_PI`
405
- */
406
- fieldsets?: string[];
407
- /** Pagination options. */
408
- cursorPaging?: CursorPaging;
409
- /**
410
- * Whether to return a partial list of events if details can't be retrieved for some connections.
411
- *
412
- * Default: `false`
413
- */
414
- partialFailure?: boolean | null;
415
- }
416
- export interface CursorPaging {
417
- /**
418
- * Number of events to load.
419
- * Max: `1000`
420
- */
421
- limit?: number | null;
422
- /**
423
- * Pointer to the next or previous page in the list of results.
424
- *
425
- * You can get the relevant cursor token
426
- * from the `pagingMetadata` object in the previous call's response.
427
- * Not relevant for the first request.
428
- */
429
- cursor?: string | null;
430
- }
431
- export interface ListEventsResponse {
432
- /** List of external calendar events matching the filters. */
433
- events?: Event[];
434
- /** Paging metadata. */
435
- pagingMetadata?: CursorPagingMetadata;
436
- /** List of provider IDs for connections for which retrieval of events failed. Returned only if `partialFailure` parameter is `true` in the request. */
437
- failedProviderIds?: string[] | null;
438
- }
439
- /** An external calendar event. */
440
- export interface Event {
441
- /** ID of the schedule connected to the external calendar the event belongs to. */
442
- scheduleId?: string | null;
443
- /** External calendar type. */
444
- calendarType?: CalendarType;
445
- /**
446
- * Display name of the external calendar.
447
- * For example, "Primary" or "Birthdays".
448
- */
449
- calendarName?: string | null;
450
- /** Event title. */
451
- title?: string | null;
452
- /** Start date and time of the event (inclusive), formatted according to [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt). */
453
- start?: string | null;
454
- /** End date and time of the event (exclusive), formatted according to [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt). */
455
- end?: string | null;
456
- /**
457
- * Whether the event is an all-day event.
458
- *
459
- * Default: `false`
460
- */
461
- allDay?: boolean | null;
462
- /**
463
- * ID of the Wix user the schedule belongs to.
464
- * For example, the ID of the staff member (resource) who owns the schedule.
465
- */
466
- scheduleOwnerId?: string | null;
467
- /**
468
- * Name of the Wix user the schedule belongs to.
469
- * For example, the name of the staff member (resource) who owns the schedule.
470
- */
471
- scheduleOwnerName?: string | null;
472
- }
473
- export interface CursorPagingMetadata {
474
- /** Number of items returned in the response. */
475
- count?: number | null;
476
- /** Offset that was requested. */
477
- cursors?: Cursors;
478
- /**
479
- * Indicates if there are more results after the current page.
480
- * If `true`, another page of results can be retrieved.
481
- * If `false`, this is the last page.
482
- */
483
- hasNext?: boolean | null;
484
- }
485
- export interface Cursors {
486
- /** Cursor pointing to next page in the list of results. */
487
- next?: string | null;
488
- }
489
- export interface ScheduleNotification extends ScheduleNotificationEventOneOf {
490
- scheduleCreated?: ScheduleCreated;
491
- scheduleUpdated?: ScheduleUpdated;
492
- scheduleCancelled?: ScheduleCancelled;
493
- sessionCreated?: SessionCreated;
494
- sessionUpdated?: SessionUpdated;
495
- sessionCancelled?: SessionCancelled;
496
- availabilityPolicyUpdated?: AvailabilityPolicyUpdated;
497
- intervalSplit?: IntervalSplit;
498
- recurringSessionSplit?: RecurringSessionSplit;
499
- /** Inspect `schedule.scheduleOwnerUserId` on `scheduleUpdated` instead. */
500
- scheduleUnassignedFromUser?: ScheduleUnassignedFromUser;
501
- preserveFutureSessionsWithParticipants?: boolean | null;
502
- /** Whether to notify participants about changed sessions. deprecated, use participant_notification */
503
- notifyParticipants?: boolean;
504
- /** site properties. Optional. Given in create schedule notification. */
505
- siteProperties?: SitePropertiesOnScheduleCreation;
506
- instanceId?: string;
507
- }
508
- /** @oneof */
509
- export interface ScheduleNotificationEventOneOf {
510
- scheduleCreated?: ScheduleCreated;
511
- scheduleUpdated?: ScheduleUpdated;
512
- scheduleCancelled?: ScheduleCancelled;
513
- sessionCreated?: SessionCreated;
514
- sessionUpdated?: SessionUpdated;
515
- sessionCancelled?: SessionCancelled;
516
- availabilityPolicyUpdated?: AvailabilityPolicyUpdated;
517
- intervalSplit?: IntervalSplit;
518
- recurringSessionSplit?: RecurringSessionSplit;
519
- /** Inspect `schedule.scheduleOwnerUserId` on `scheduleUpdated` instead. */
520
- scheduleUnassignedFromUser?: ScheduleUnassignedFromUser;
521
- }
522
- export interface ScheduleCreated {
523
- schedule?: Schedule;
524
- }
525
- export interface Schedule {
526
- /** Schedule ID. */
527
- _id?: string;
528
- /** ID of the schedule's owner entity. This may be a resource ID or a service ID. */
529
- scheduleOwnerId?: string | null;
530
- /**
531
- * Schedule's time zone in [Area/Location](https://en.wikipedia.org/wiki/Tz_database) format. Read-only.
532
- * Derived from the Wix Business time zone.
533
- * @readonly
534
- */
535
- timeZone?: string | null;
536
- /** Deprecated. Please use the [Sessions API](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/session) instead. */
537
- intervals?: RecurringInterval[];
538
- /** Default title for the schedule's sessions. Maximum length: 6000 characters. */
539
- title?: string | null;
540
- /**
541
- * __Deprecated.__
542
- * Tags for grouping schedules. These tags are the default tags for the schedule's sessions.
543
- * The Wix Bookings app uses the following predefined tags to set schedule type: `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE"`. Once the schedule type is set using these tags, you cannot update it. In addition to the app's tags, you can create and update your own tags.
544
- */
545
- tags?: string[] | null;
546
- /** Default location for the schedule's sessions. */
547
- location?: Location;
548
- /**
549
- * Maximum number of participants that can be added to the schedule's sessions.
550
- * Must be at most `1` for schedule whose availability is affected by another schedule. E.g, appointment schedules of the Wix Bookings app.
551
- */
552
- capacity?: number | null;
553
- /** Deprecated. Please use the [Booking Services V2](https://dev.wix.com/api/rest/wix-bookings/services-v2) payment instead. */
554
- rate?: Rate;
555
- /** __Deprecated.__ */
556
- availability?: Availability;
557
- /**
558
- * Number of participants registered to sessions in this schedule, calculated as the sum of the party sizes.
559
- * @readonly
560
- */
561
- totalNumberOfParticipants?: number;
562
- /**
563
- * *Partial list** of participants which are registered to sessions in this schedule.
564
- * Participants who are registered in the schedule are automatically registered to any session that is created for the schedule.
565
- * To retrieve the full list of schedule participants please use the [Query Extended Bookings API](https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/query-extended-bookings).
566
- * @readonly
567
- */
568
- participants?: Participant[];
569
- /** __Deprecated.__ */
570
- externalCalendarOverrides?: ExternalCalendarOverrides;
571
- /**
572
- * Schedule status.
573
- * @readonly
574
- */
575
- status?: ScheduleStatus;
576
- /**
577
- * Schedule creation date.
578
- * @readonly
579
- */
580
- created?: Date;
581
- /**
582
- * Schedule last update date.
583
- * @readonly
584
- */
585
- updated?: Date;
586
- /**
587
- * Schedule version number, updated each time the schedule is updated.
588
- * @readonly
589
- */
590
- version?: number;
591
- /**
592
- * Fields which were inherited from the Business Info page under Settings in the Dashboard.
593
- * @readonly
594
- */
595
- inheritedFields?: string[];
596
- /** __Deprecated.__ */
597
- conferenceProvider?: ConferenceProvider;
598
- /**
599
- * A conference created for the schedule. This is used when a participant is added to a schedule.
600
- * **Partially deprecated.** Only `hostUrl` and `guestUrl` are to be supported.
601
- */
602
- calendarConference?: CalendarConference;
603
- }
604
- export interface RecurringInterval {
605
- /**
606
- * The recurring interval identifier.
607
- * @readonly
608
- */
609
- _id?: string;
610
- /** The start time of the recurring interval. Required. */
611
- start?: Date;
612
- /** The end time of the recurring interval. Optional. Empty value indicates that there is no end time. */
613
- end?: Date;
614
- /** The interval rules. The day, hour and minutes the interval is recurring. */
615
- interval?: Interval;
616
- /** The frequency of the interval. Optional. The default is frequency with the default repetition. */
617
- frequency?: Frequency;
618
- /** Specifies the list of linked schedules and the way this link affects the corresponding schedules' availability. Can be calculated from the schedule or overridden on the recurring interval. */
619
- affectedSchedules?: LinkedSchedule[];
620
- /**
621
- * The type of recurring interval.
622
- * <!--ONLY:VELO
623
- * One of:
624
- * - `"UNDEFINED"` The default value. Sessions for this interval will be of type EVENT.
625
- * - `"EVENT"` A recurring interval of events.
626
- * - `"WORKING_HOURS"` A recurring interval for availability.
627
- * <!--END:ONLY:VELO-->
628
- */
629
- intervalType?: RecurringIntervalType;
630
- }
631
- export interface Interval {
632
- /** The day the interval accrue. Optional. The default is the day of the recurring interval's start time. */
633
- daysOfWeek?: Day;
634
- /** The hour of the day the interval accrue. must be consistent with the Interval start time. Options. The default is 0. minimum: 0, maximum: 23. */
635
- hourOfDay?: number | null;
636
- /** The minutes of hour the interval accrue. must be consistent with the Interval end time. Options. The default is 0. minimum: 0, maximum: 59. */
637
- minuteOfHour?: number | null;
638
- /** The duration of the interval in minutes. Required. Part of the session end time calculation. minimum: 1, maximum: 86400. */
639
- duration?: number;
640
- }
641
- export declare enum Day {
642
- /** Undefined. */
643
- UNDEFINED = "UNDEFINED",
644
- /** Monday. */
645
- MON = "MON",
646
- /** Tuesday. */
647
- TUE = "TUE",
648
- /** Wednesday. */
649
- WED = "WED",
650
- /** Thursday. */
651
- THU = "THU",
652
- /** Friday. */
653
- FRI = "FRI",
654
- /** Saturday. */
655
- SAT = "SAT",
656
- /** Sunday. */
657
- SUN = "SUN"
658
- }
659
- export interface Frequency {
660
- /** The frequency of the recurrence in weeks. i.e. when this value is 4, the interval occurs every 4 weeks. Optional. The default is 1. minimum: 1, maximum: 52. */
661
- repetition?: number | null;
662
- }
663
- export interface LinkedSchedule {
664
- /** Schedule ID. */
665
- scheduleId?: string;
666
- /**
667
- * Sets this schedule's availability for the duration of the linked schedule's sessions. Default is `"BUSY"`.
668
- * <!--ONLY:REST-->
669
- * If set to `"BUSY"`, this schedule cannot have any available slots during the linked schedule's sessions.
670
- * If set to `"FREE"`, this schedule can have available slots during the linked schedule's sessions.
671
- * <!--END:ONLY:REST-->
672
- *
673
- * <!--ONLY:VELO
674
- * One of:
675
- * - `"FREE"` This schedule can have available slots during the linked schedule's sessions.
676
- * - `"BUSY"` This schedule cannot have any available slots during the linked schedule's sessions.
677
- * <!--END:ONLY:VELO-->
678
- */
679
- transparency?: Transparency;
680
- /**
681
- * Owner ID, of the linked schedule.
682
- * @readonly
683
- */
684
- scheduleOwnerId?: string;
685
- }
686
- export declare enum Transparency {
687
- UNDEFINED = "UNDEFINED",
688
- /** The schedule can have available slots during the session. */
689
- FREE = "FREE",
690
- /** The schedule cannot have available slots during the session. Default value. */
691
- BUSY = "BUSY"
692
- }
693
- export declare enum RecurringIntervalType {
694
- /** The default value. Sessions for this interval will be of type EVENT. */
695
- UNDEFINED = "UNDEFINED",
696
- /** A recurring interval of events */
697
- EVENT = "EVENT",
698
- /** Deprecated */
699
- TIME_AVAILABILITY = "TIME_AVAILABILITY",
700
- /** A recurring interval for availability */
701
- AVAILABILITY = "AVAILABILITY"
702
- }
703
- export interface Location {
704
- /**
705
- * Location type.
706
- * One of:
707
- * - `"OWNER_BUSINESS"` The business address as set in the site’s general settings.
708
- * - `"OWNER_CUSTOM"` The address as set when creating the service.
709
- * - `"CUSTOM"` The address set for the individual session.
710
- */
711
- locationType?: LocationType;
712
- /** Free text address used when locationType is `OWNER_CUSTOM`. */
713
- address?: string | null;
714
- /** 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. */
715
- customAddress?: Address;
716
- }
717
- export declare enum LocationType {
718
- UNDEFINED = "UNDEFINED",
719
- OWNER_BUSINESS = "OWNER_BUSINESS",
720
- OWNER_CUSTOM = "OWNER_CUSTOM",
721
- CUSTOM = "CUSTOM"
722
- }
723
- /** Physical address */
724
- export interface Address extends AddressStreetOneOf {
725
- /** Street name, number and apartment number. */
726
- streetAddress?: StreetAddress;
727
- /** Main address line, usually street and number, as free text. */
728
- addressLine?: string | null;
729
- /** Country code. */
730
- country?: string | null;
731
- /** Subdivision. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
732
- subdivision?: string | null;
733
- /** City name. */
734
- city?: string | null;
735
- /** Zip/postal code. */
736
- postalCode?: string | null;
737
- /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
738
- addressLine2?: string | null;
739
- /** A string containing the full address of this location. */
740
- formattedAddress?: string | null;
741
- /** Free text to help find the address. */
742
- hint?: string | null;
743
- /** Coordinates of the physical address. */
744
- geocode?: AddressLocation;
745
- /** Country full name. */
746
- countryFullname?: string | null;
747
- /** Multi-level subdivisions from top to bottom. */
748
- subdivisions?: Subdivision[];
749
- }
750
- /** @oneof */
751
- export interface AddressStreetOneOf {
752
- /** Street name, number and apartment number. */
753
- streetAddress?: StreetAddress;
754
- /** Main address line, usually street and number, as free text. */
755
- addressLine?: string | null;
756
- }
757
- export interface StreetAddress {
758
- /** Street number. */
759
- number?: string;
760
- /** Street name. */
761
- name?: string;
762
- /** Apartment number. */
763
- apt?: string;
764
- }
765
- export interface AddressLocation {
766
- /** Address latitude. */
767
- latitude?: number | null;
768
- /** Address longitude. */
769
- longitude?: number | null;
770
- }
771
- export interface Subdivision {
772
- /** Subdivision code. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
773
- code?: string;
774
- /** Subdivision full name. */
775
- name?: string;
776
- }
777
- export interface LocationsLocation {
778
- /**
779
- * Location ID.
780
- * @readonly
781
- */
782
- _id?: string | null;
783
- /** Location name. */
784
- name?: string;
785
- /** Location description. */
786
- description?: string | null;
787
- /**
788
- * Whether this is the default location. There can only be one default location per site. The default location can't be archived.
789
- * @readonly
790
- */
791
- default?: boolean;
792
- /**
793
- * Location status. Defaults to `ACTIVE`.
794
- * __Note:__ [Archiving a location](https://www.wix.com/velo/reference/wix-business-tools-v2/locations/archivelocation)
795
- * doesn't affect the location's status. `INACTIVE` is currently not supported.
796
- */
797
- status?: LocationStatus;
798
- /**
799
- * Location type.
800
- *
801
- * **Note:** Currently not supported.
802
- */
803
- locationType?: LocationsLocationType;
804
- /** Fax number. */
805
- fax?: string | null;
806
- /** Timezone in `America/New_York` format. */
807
- timeZone?: string | null;
808
- /** Email address. */
809
- email?: string | null;
810
- /** Phone number. */
811
- phone?: string | null;
812
- /** Address. */
813
- address?: LocationsAddress;
814
- /**
815
- * Business schedule. Array of weekly recurring time periods when the location is open for business. Limited to 100 time periods.
816
- *
817
- * __Note:__ Not supported by Wix Bookings.
818
- */
819
- businessSchedule?: BusinessSchedule;
820
- /**
821
- * Revision number, which increments by 1 each time the location is updated.
822
- * To prevent conflicting changes, the existing revision must be used when updating a location.
823
- */
824
- revision?: string | null;
825
- /**
826
- * Whether the location is archived. Archived locations can't be updated.
827
- * __Note:__ [Archiving a location](https://www.wix.com/velo/reference/wix-business-tools-v2/locations/archivelocation)
828
- * doesn't affect its `status`.
829
- * @readonly
830
- */
831
- archived?: boolean;
832
- /** Location types. */
833
- locationTypes?: LocationsLocationType[];
834
- }
835
- /** For future use */
836
- export declare enum LocationStatus {
837
- ACTIVE = "ACTIVE",
838
- INACTIVE = "INACTIVE"
839
- }
840
- /** For future use */
841
- export declare enum LocationsLocationType {
842
- UNKNOWN = "UNKNOWN",
843
- BRANCH = "BRANCH",
844
- OFFICES = "OFFICES",
845
- RECEPTION = "RECEPTION",
846
- HEADQUARTERS = "HEADQUARTERS",
847
- INVENTORY = "INVENTORY"
848
- }
849
- export interface LocationsAddress {
850
- /** 2-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */
851
- country?: string | null;
852
- /** Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) format. */
853
- subdivision?: string | null;
854
- /** City name. */
855
- city?: string | null;
856
- /** Postal or zip code. */
857
- postalCode?: string | null;
858
- /** Street address. Includes street name, number, and apartment number in separate fields. */
859
- streetAddress?: LocationsStreetAddress;
860
- /** Full address of the location. */
861
- formatted?: string | null;
862
- /** Geographic coordinates of location. */
863
- location?: LocationsAddressLocation;
864
- }
865
- /** Street address. Includes street name, number, and apartment number in separate fields. */
866
- export interface LocationsStreetAddress {
867
- /** Street number. */
868
- number?: string;
869
- /** Street name. */
870
- name?: string;
871
- /** Apartment number. */
872
- apt?: string;
873
- }
874
- /** Address Geolocation */
875
- export interface LocationsAddressLocation {
876
- /** Latitude of the location. Must be between -90 and 90. */
877
- latitude?: number | null;
878
- /** Longitude of the location. Must be between -180 and 180. */
879
- longitude?: number | null;
880
- }
881
- /** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
882
- export interface BusinessSchedule {
883
- /** Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods. */
884
- periods?: TimePeriod[];
885
- /** Exceptions to the business's regular hours. The business can be open or closed during the exception. */
886
- specialHourPeriod?: SpecialHourPeriod[];
887
- }
888
- /** Weekly recurring time periods when the business is regularly open or the service is available. */
889
- export interface TimePeriod {
890
- /** Day of the week the period starts on. */
891
- openDay?: DayOfWeek;
892
- /**
893
- * 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
894
- * midnight at the end of the specified day.
895
- */
896
- openTime?: string;
897
- /** Day of the week the period ends on. */
898
- closeDay?: DayOfWeek;
899
- /**
900
- * 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
901
- * midnight at the end of the specified day.
902
- *
903
- * __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.
904
- */
905
- closeTime?: string;
906
- }
907
- /** Enumerates the days of the week. */
908
- export declare enum DayOfWeek {
909
- MONDAY = "MONDAY",
910
- TUESDAY = "TUESDAY",
911
- WEDNESDAY = "WEDNESDAY",
912
- THURSDAY = "THURSDAY",
913
- FRIDAY = "FRIDAY",
914
- SATURDAY = "SATURDAY",
915
- SUNDAY = "SUNDAY"
916
- }
917
- /** Exception to the business's regular hours. The business can be open or closed during the exception. */
918
- export interface SpecialHourPeriod {
919
- /** 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). */
920
- startDate?: string;
921
- /** 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). */
922
- endDate?: string;
923
- /**
924
- * Whether the business is closed (or the service is not available) during the exception.
925
- *
926
- * Default: `true`.
927
- */
928
- isClosed?: boolean;
929
- /** Additional info about the exception. For example, "We close earlier on New Year's Eve." */
930
- comment?: string;
931
- }
932
- export interface Rate {
933
- /**
934
- * Mapping between a named price option, for example, adult or child prices, and the price, currency, and down payment amount.
935
- * When present in an update request, the `default_varied_price` is ignored to support backward compatibility.
936
- */
937
- labeledPriceOptions?: Record<string, Price>;
938
- /**
939
- * Textual price information used when **Price Per Session** is set to **Custom Price** in the app's service details page.
940
- * When present in an update request, the `default_varied_price` is ignored to support backward compatibility.
941
- */
942
- priceText?: string | null;
943
- }
944
- export interface Price {
945
- /** Required payment amount. */
946
- amount?: string;
947
- /** Currency in which the amount is quoted. */
948
- currency?: string;
949
- /** Amount of a down payment or deposit as part of the transaction. */
950
- downPayAmount?: string;
951
- }
952
- /**
953
- * <!-- Needs updating when recurrence has been tested
954
- * Schedule's availability calculation is executed by the schedule's available intervals and this additional information.
955
- * Schedule's available intervals are recurring intervals (defined in the schedule) minus sessions that has no more spots for bookings (including time between_slots), or schedule's sessions with open spots for bookings.-->
956
- */
957
- export interface Availability {
958
- /** Date and time the schedule starts to be available for booking. */
959
- start?: Date;
960
- /** Date and time the schedule stops being available for booking. No value indicates no end time. */
961
- end?: Date;
962
- /** Other schedules that impact the availability calculation. Relevant only when there are availability constraints. */
963
- linkedSchedules?: LinkedSchedule[];
964
- /** Constraints for calculating the schedule's availability. */
965
- constraints?: AvailabilityConstraints;
966
- }
967
- /** Describes how to calculate the specific slots that are available for booking. */
968
- export interface AvailabilityConstraints {
969
- /**
970
- * A list of duration options for slots, in minutes. Minimum value for a duration is 1.
971
- * The availability calculation generates slots with these durations, where there is no conflict with existing sessions or other availability constraints.
972
- */
973
- slotDurations?: number[];
974
- /**
975
- * The number of minutes between the `end` of one slot, and the `start` of the next.
976
- * Minimum value is 0, maximum value is 120.
977
- */
978
- timeBetweenSlots?: number;
979
- /**
980
- * Specify how to split the slots in intervals of minutes.
981
- * This value indicates the time between available slots' start time. e.g., from 5 minute slots (3:00, 3:05, 3:15) and 1 hour slots (3:00, 4:00, 5:00).
982
- * Optional. The default is the first duration in slot_durations field.
983
- * Deprecated. Use the `split_slots_interval.value_in_minutes`.
984
- */
985
- splitInterval?: number | null;
986
- /**
987
- * An object defining the time between available slots' start times. For example, a slot with slots_split_interval=5 can start every 5 minutes. The default is the slot duration.
988
- * @readonly
989
- */
990
- slotsSplitInterval?: SplitInterval;
991
- }
992
- /** The time between available slots' start times. For example, For 5 minute slots, 3:00, 3:05, 3:15 etc. For 1 hour slots, 3:00, 4:00, 5:00 etc. */
993
- export interface SplitInterval {
994
- /**
995
- * Whether the slot duration is used as the split interval value.
996
- * If `same_as_duration` is `true`, the `value_in_minutes` is the sum of the first duration in
997
- * `schedule.availabilityConstraints.SlotDurations` field, and `schedule.availabilityConstraints.TimeBetweenSlots` field.
998
- */
999
- sameAsDuration?: boolean | null;
1000
- /** Number of minutes between available slots' start times when `same_as_duration` is `false`. */
1001
- valueInMinutes?: number | null;
1002
- }
1003
- export interface Participant {
1004
- /** Participant ID. Currently represents the booking.id. */
1005
- _id?: string;
1006
- /** Contact ID. */
1007
- contactId?: string | null;
1008
- /** Participant's name. */
1009
- name?: string | null;
1010
- /** Participant's phone number. */
1011
- phone?: string | null;
1012
- /** Participant's email address. */
1013
- email?: string | null;
1014
- /** Group or party size. The number of people attending. Defaults to 0. Maximum is 250. */
1015
- partySize?: number;
1016
- /**
1017
- * Approval status for the participant.
1018
- * <!-- Commented out untill updateParticipant is exposed Generally the same status as the booking, unless updated using the `updateParticipant()` API. Defaults to `"UNDEFINED"`.-->
1019
- * <!--ONLY:VELO
1020
- * One of:
1021
- * - `"PENDING"` Pending business approval.
1022
- * - `"APPROVED"` Approved by the business.
1023
- * - `"DECLINED"` Declined by the business.
1024
- * <!--END:ONLY:VELO-->
1025
- */
1026
- approvalStatus?: ApprovalStatus;
1027
- /**
1028
- * Whether the participant was inherited from the schedule, as opposed to being booked directly to the session.
1029
- * @readonly
1030
- */
1031
- inherited?: boolean;
1032
- }
1033
- export declare enum ApprovalStatus {
1034
- /** Default. */
1035
- UNDEFINED = "UNDEFINED",
1036
- /** Pending business approval. */
1037
- PENDING = "PENDING",
1038
- /** Approved by the business. */
1039
- APPROVED = "APPROVED",
1040
- /** Declined by the business. */
1041
- DECLINED = "DECLINED"
1042
- }
1043
- export interface ExternalCalendarOverrides {
1044
- /** Synced title of the external calendar event. */
1045
- title?: string | null;
1046
- /** Synced description of the external calendar event. */
1047
- description?: string | null;
1048
- }
1049
- export declare enum ScheduleStatus {
1050
- UNDEFINED = "UNDEFINED",
1051
- /** The default value when the schedule is created. */
1052
- CREATED = "CREATED",
1053
- /** The schedule has been canceled. */
1054
- CANCELLED = "CANCELLED"
1055
- }
1056
- export interface Version {
1057
- /** Schedule version number, updated each time the schedule is updated. */
1058
- scheduleVersion?: number | null;
1059
- /** Participants version number, updated each time the schedule participants are updated. */
1060
- participantsVersion?: number | null;
1061
- }
1062
- export interface ConferenceProvider {
1063
- /** Conferencing provider ID */
1064
- providerId?: string;
1065
- }
1066
- export interface CalendarConference {
1067
- /** Wix Calendar conference ID. */
1068
- _id?: string;
1069
- /** Conference meeting ID in the provider's conferencing system. */
1070
- externalId?: string;
1071
- /** Conference provider ID. */
1072
- providerId?: string;
1073
- /** URL used by the host to start the conference. */
1074
- hostUrl?: string;
1075
- /** URL used by a guest to join the conference. */
1076
- guestUrl?: string;
1077
- /** Password to join the conference. */
1078
- password?: string | null;
1079
- /** Conference description. */
1080
- description?: string | null;
1081
- /**
1082
- * Conference type.
1083
- * <!--ONLY:VELO
1084
- * One of:
1085
- * - `"ONLINE_MEETING_PROVIDER"` API-generated online meeting.
1086
- * - `"CUSTOM"` User-defined meeting.
1087
- * <!--END:ONLY:VELO-->
1088
- */
1089
- conferenceType?: ConferenceType;
1090
- /** ID of the account owner in the video conferencing service. */
1091
- accountOwnerId?: string | null;
1092
- }
1093
- export declare enum ConferenceType {
1094
- UNDEFINED = "UNDEFINED",
1095
- /** API-generated online meeting. */
1096
- ONLINE_MEETING_PROVIDER = "ONLINE_MEETING_PROVIDER",
1097
- /** User-defined meeting. */
1098
- CUSTOM = "CUSTOM"
1099
- }
1100
- export interface ScheduleUpdated {
1101
- /** The old schedule before the update. */
1102
- oldSchedule?: Schedule;
1103
- /** The new schedule after the update. */
1104
- newSchedule?: Schedule;
1105
- /**
1106
- * Recurring sessions updated event. If this field is given, the reason for the schedule updated event was
1107
- * updating at least one of the given schedule's recurring sessions.
1108
- * This event is triggered by create/update/delete recurring session apis.
1109
- */
1110
- recurringSessions?: RecurringSessionsUpdated;
1111
- /** Whether to notify participants about the change and an optional custom message */
1112
- participantNotification?: ParticipantNotification;
1113
- /**
1114
- * Whether this notification was created as a result of an anonymization request, such as GDPR.
1115
- * An anonymized participant will have the following details:
1116
- * name = "deleted"
1117
- * phone = "deleted"
1118
- * email = "deleted@deleted.com"
1119
- */
1120
- triggeredByAnonymizeRequest?: boolean | null;
1121
- }
1122
- export interface RecurringSessionsUpdated {
1123
- /** Old schedule's recurring session list. */
1124
- oldRecurringSessions?: Session[];
1125
- /** New schedule's recurring session list. */
1126
- newRecurringSessions?: Session[];
1127
- }
1128
- export interface Session {
1129
- /**
1130
- * Session ID.
1131
- * @readonly
1132
- */
1133
- _id?: string | null;
1134
- /** ID of the schedule that the session belongs to. */
1135
- scheduleId?: string;
1136
- /**
1137
- * ID of the resource or service that the session's schedule belongs to.
1138
- * @readonly
1139
- */
1140
- scheduleOwnerId?: string | null;
1141
- /** Original start date and time of the session in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)) format. */
1142
- originalStart?: Date;
1143
- /** An object specifying the start date and time of the session. If the session is a recurring session, `start` must contain a `localDateTime`. */
1144
- start?: CalendarDateTime;
1145
- /**
1146
- * 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`.
1147
- * If the session is a recurring session, `end` must contain a `localDateTime`.
1148
- */
1149
- end?: CalendarDateTime;
1150
- /**
1151
- * 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.
1152
- * The array is inherited from the schedule and can be overridden even if the session is a recurring session.
1153
- */
1154
- affectedSchedules?: LinkedSchedule[];
1155
- /**
1156
- * Session title.
1157
- * The value is inherited from the schedule and can be overridden unless the session is a recurring session.
1158
- */
1159
- title?: string | null;
1160
- /**
1161
- * __Deprecated.__
1162
- * Tags for the session.
1163
- * The value is inherited from the schedule and can be overridden unless the session is a recurring session.
1164
- */
1165
- tags?: string[] | null;
1166
- /**
1167
- * An object describing the location where the session takes place.
1168
- * Defaults to the schedule location.
1169
- * 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`.
1170
- */
1171
- location?: Location;
1172
- /**
1173
- * Maximum number of participants that can be added to the session. Defaults to the schedule capacity.
1174
- * The value is inherited from the schedule and can be overridden unless the session is a recurring session.
1175
- */
1176
- capacity?: number | null;
1177
- /** Deprecated. Please use the [Booking Services V2](https://dev.wix.com/api/rest/wix-bookings/services-v2) payment instead. */
1178
- rate?: Rate;
1179
- /**
1180
- * Time reserved after the session end time, derived from the schedule availability constraints and the time between slots. Read-only.
1181
- * If the session is a recurring session, this field must be empty.
1182
- */
1183
- timeReservedAfter?: number | null;
1184
- /**
1185
- * Additional information about the session.
1186
- * Notes are not supported for recurring sessions.
1187
- */
1188
- notes?: string;
1189
- /**
1190
- * The number of participants booked for the session. Read-only.
1191
- * Calculated as the sum of the party sizes.
1192
- * @readonly
1193
- */
1194
- totalNumberOfParticipants?: number;
1195
- /**
1196
- * *Partial list** list of participants booked for the session.
1197
- * The list includes participants who have registered for this specific session, and participants who have registered for a schedule that includes this session.
1198
- * If the session is a recurring session, this field must be empty.
1199
- * 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).
1200
- */
1201
- participants?: Participant[];
1202
- /**
1203
- * A list of properties for which values were inherited from the schedule.
1204
- * This does not include participants that were inherited from the schedule.
1205
- * @readonly
1206
- */
1207
- inheritedFields?: string[];
1208
- /** __Deprecated.__ */
1209
- externalCalendarOverrides?: ExternalCalendarOverrides;
1210
- /**
1211
- * Session status.
1212
- * <!--ONLY:VELO
1213
- * One of:
1214
- * - `"CONFIRMED"` Default value.
1215
- * - `"CANCELLED"` The session was deleted.
1216
- * <!--END:ONLY:VELO-->
1217
- * @readonly
1218
- */
1219
- status?: SessionStatus;
1220
- /**
1221
- * Recurring interval ID. Defined when a session will be a recurring session. read-only. Optional.
1222
- * For exmaple, when creating a class service with recurring sessions, you add a recurrence rule to create recurring sessions.
1223
- * This field is omitted for single sessions or instances of recurring sessions.
1224
- * Specified when the session was originally generated from a schedule recurring interval.
1225
- * Deprecated. Use `recurringSessionId`.
1226
- * @readonly
1227
- */
1228
- recurringIntervalId?: string | null;
1229
- /**
1230
- * 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.
1231
- * @readonly
1232
- */
1233
- recurringSessionId?: string | null;
1234
- /**
1235
- * Session type.
1236
- * <!--ONLY:VELO
1237
- * One of:
1238
- * - `"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.
1239
- * - `"WORKING_HOURS"` Placeholder for available time on a resource’s schedule.
1240
- * <!--END:ONLY:VELO-->
1241
- */
1242
- type?: SessionType;
1243
- /**
1244
- * A conference created for the session according to the details set in the schedule's conference provider information.
1245
- * If the session is a recurring session, this field is inherited from the schedule.
1246
- * **Partially deprecated.** Only `hostUrl` and `guestUrl` are to be supported.
1247
- */
1248
- calendarConference?: CalendarConference;
1249
- /**
1250
- * 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).
1251
- * 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.
1252
- * The RRULE defines a rule for repeating a session.
1253
- * Supported parameters are:
1254
- *
1255
- * |Keyword|Description|Supported values|
1256
- * |--|--|---|
1257
- * |`FREQ`|The frequency at which the session is recurs. Required.|`WEEKLY`|
1258
- * |`INTERVAL`|How often, in terms of `FREQ`, the session recurs. Default is 1. Optional.|
1259
- * |`UNTIL`|The UTC end date and time of the recurrence. Optional.|
1260
- * |`BYDAY`|Day of the week when the event should recur. Required.|One of: `MO`, `TU`, `WE`, `TH`, `FR`, `SA`, `SU`|
1261
- *
1262
- *
1263
- * For example, a session that repeats every second week on a Monday until January 7, 2022 at 8 AM:
1264
- * `"FREQ=WEEKLY;INTERVAL=2;BYDAY=MO;UNTIL=20220107T080000Z"`
1265
- *
1266
- * <!--ORIGINAL COMMENTS:
1267
- * `FREQ` — The frequency with which the session should be repeated (such as DAILY or WEEKLY).
1268
- * Supported `WEEKLY` value is supported.
1269
- * 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.
1270
- * COUNT — The number of times this event should be repeated. Not yet supported.
1271
- * 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.
1272
- * 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'.
1273
- * BYDAY - The days of the week when the event should be repeated. Currently, only a single day is supported. This parameter is mandatory.
1274
- * Possible values are: MO, TU, WE, TH, FR, SA, SU
1275
- * 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.
1276
- * **Example**: FREQ=WEEKLY;INTERVAL=2;BYDAY=MO;UNTIL=20200427T070000Z
1277
- * ORIGINAL COMMENTS-->
1278
- */
1279
- recurrence?: string | null;
1280
- /**
1281
- * A string representing a recurrence rule (RRULE) if the session is an instance of a recurrence pattern.
1282
- * 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.
1283
- * @readonly
1284
- */
1285
- instanceOfRecurrence?: string | null;
1286
- /**
1287
- * The session version.
1288
- * Composed by the schedule, session and participants versions.
1289
- * @readonly
1290
- */
1291
- version?: SessionVersion;
1292
- }
1293
- export interface CalendarDateTime {
1294
- /**
1295
- * 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"`.
1296
- * Required if `localDateTime` is not specified.
1297
- * If `localDateTime` is specified, `timestamp` is calculated as `localDateTime`, using the business's time zone.
1298
- */
1299
- timestamp?: Date;
1300
- /** An object containing the local date and time for the business's time zone. */
1301
- localDateTime?: LocalDateTime;
1302
- /**
1303
- * The time zone. Optional. Derived from the schedule's time zone.
1304
- * In case this field is associated with recurring session, this field is empty.
1305
- * @readonly
1306
- */
1307
- timeZone?: string | null;
1308
- }
1309
- export interface LocalDateTime {
1310
- /** Year. 4-digit format. */
1311
- year?: number | null;
1312
- /** Month number, from 1-12. */
1313
- monthOfYear?: number | null;
1314
- /** Day of the month, from 1-31. */
1315
- dayOfMonth?: number | null;
1316
- /** Hour of the day in 24-hour format, from 0-23. */
1317
- hourOfDay?: number | null;
1318
- /** Minute, from 0-59. */
1319
- minutesOfHour?: number | null;
1320
- }
1321
- export interface ExternalCalendarInfo {
1322
- /** The external calendar type (e.g. Google Calendar, iCal, etc). */
1323
- calendarType?: CalendarType;
1324
- }
1325
- export declare enum SessionStatus {
1326
- UNDEFINED = "UNDEFINED",
1327
- /** The session is confirmed. Default status. */
1328
- CONFIRMED = "CONFIRMED",
1329
- /**
1330
- * The session is cancelled.
1331
- * A cancelled session can be the cancellation of a recurring session that should no longer be displayed or a deleted single session.
1332
- * The ListSessions returns cancelled sessions only if 'includeDelete' flag is set to true.
1333
- */
1334
- CANCELLED = "CANCELLED"
1335
- }
1336
- export declare enum SessionType {
1337
- UNDEFINED = "UNDEFINED",
1338
- /**
1339
- * The session creates an event on the calendar for the owner of the schedule that the session belongs to.
1340
- * Default type.
1341
- */
1342
- EVENT = "EVENT",
1343
- /** The session represents a resource's available working hours. */
1344
- WORKING_HOURS = "WORKING_HOURS",
1345
- /** Deprecated. please use WORKING_HOURS */
1346
- TIME_AVAILABILITY = "TIME_AVAILABILITY",
1347
- /** Deprecated. The session represents a resource's available hours. please use WORKING_HOURS */
1348
- AVAILABILITY = "AVAILABILITY"
1349
- }
1350
- export interface SessionVersion {
1351
- /** Incremental version number, which is updated on each change to the session or on changes affecting the session. */
1352
- number?: string | null;
1353
- }
1354
- export interface ParticipantNotification {
1355
- /**
1356
- * Whether to send the message about the changes to the customer.
1357
- *
1358
- * Default: `false`
1359
- */
1360
- notifyParticipants?: boolean;
1361
- /** Custom message to send to the participants about the changes to the booking. */
1362
- message?: string | null;
1363
- }
1364
- export interface ScheduleCancelled {
1365
- schedule?: Schedule;
1366
- /** Whether to notify participants about the change and an optional custom message */
1367
- participantNotification?: ParticipantNotification;
1368
- oldSchedule?: Schedule;
1369
- }
1370
- export interface SessionCreated {
1371
- session?: Session;
1372
- }
1373
- export interface SessionUpdated {
1374
- oldSession?: Session;
1375
- newSession?: Session;
1376
- /** Whether to notify participants about the change and an optional custom message */
1377
- participantNotification?: ParticipantNotification;
1378
- /**
1379
- * Whether this notification was created as a result of an anonymization request, such as GDPR.
1380
- * An anonymized participant will have the following details:
1381
- * name = "deleted"
1382
- * phone = "deleted"
1383
- * email = "deleted@deleted.com"
1384
- */
1385
- triggeredByAnonymizeRequest?: boolean | null;
1386
- }
1387
- export interface SessionCancelled {
1388
- session?: Session;
1389
- /** Whether to notify participants about the change and an optional custom message */
1390
- participantNotification?: ParticipantNotification;
1391
- }
1392
- export interface AvailabilityPolicyUpdated {
1393
- availabilityPolicy?: AvailabilityPolicy;
1394
- }
1395
- /** Availability policy applied to all site schedules. */
1396
- export interface AvailabilityPolicy {
1397
- /** Specify how to split the schedule slots in intervals of minutes. */
1398
- splitInterval?: SplitInterval;
1399
- }
1400
- export interface IntervalSplit {
1401
- scheduleId?: string;
1402
- intervals?: RecurringInterval[];
1403
- newScheduleVersion?: number | null;
1404
- oldScheduleVersion?: number | null;
1405
- }
1406
- export interface RecurringSessionSplit {
1407
- scheduleId?: string;
1408
- recurringSessions?: Session[];
1409
- newScheduleVersion?: number | null;
1410
- oldScheduleVersion?: number | null;
1411
- }
1412
- /** Schedule unassigned from user. */
1413
- export interface ScheduleUnassignedFromUser {
1414
- /** The Wix user id. */
1415
- userId?: string | null;
1416
- /** The schedule that was unassigned from the user. */
1417
- schedule?: Schedule;
1418
- }
1419
- export interface MultipleSessionsCreated {
1420
- schedulesWithSessions?: ScheduleWithSessions[];
1421
- }
1422
- export interface ScheduleWithSessions {
1423
- schedule?: Schedule;
1424
- siteProperties?: SitePropertiesOnScheduleCreation;
1425
- sessions?: Session[];
1426
- }
1427
- export interface SitePropertiesOnScheduleCreation {
1428
- /** The global time zone value. */
1429
- timeZone?: string | null;
1430
- }
1431
- export interface MigrationEvent {
1432
- migrationData?: MigrationData;
1433
- }
1434
- export interface MigrationData {
1435
- businessId?: string | null;
1436
- staffs?: StaffData[];
1437
- }
1438
- export interface StaffData {
1439
- resourceId?: string;
1440
- syncRequestEmail?: string;
1441
- refreshToken?: string;
1442
- }
1443
- export interface Empty {
1444
- }
1445
- export interface ListProvidersResponseNonNullableFields {
1446
- providers: {
1447
- calendarType: CalendarType;
1448
- features?: {
1449
- connectMethods: ConnectMethod[];
1450
- listEventFromCalendars: ListEventFromCalendars;
1451
- syncToCalendar: SyncToCalendar;
1452
- };
1453
- }[];
1454
- }
1455
- export interface GetConnectionResponseNonNullableFields {
1456
- connection?: {
1457
- calendarType: CalendarType;
1458
- status: Status;
1459
- errorReason: ErrorReason;
1460
- syncConfig?: {
1461
- listEventFromCalendars?: {
1462
- calendars?: {
1463
- calendars: Calendar[];
1464
- };
1465
- };
1466
- };
1467
- };
1468
- }
1469
- export interface ListConnectionsResponseNonNullableFields {
1470
- connections: {
1471
- calendarType: CalendarType;
1472
- status: Status;
1473
- errorReason: ErrorReason;
1474
- syncConfig?: {
1475
- listEventFromCalendars?: {
1476
- calendars?: {
1477
- calendars: Calendar[];
1478
- };
1479
- };
1480
- };
1481
- }[];
1482
- }
1483
- export interface ConnectByCredentialsResponseNonNullableFields {
1484
- connection?: {
1485
- calendarType: CalendarType;
1486
- status: Status;
1487
- errorReason: ErrorReason;
1488
- syncConfig?: {
1489
- listEventFromCalendars?: {
1490
- calendars?: {
1491
- calendars: Calendar[];
1492
- };
1493
- };
1494
- };
1495
- };
1496
- }
1497
- export interface ListCalendarsResponseNonNullableFields {
1498
- calendars: Calendar[];
1499
- }
1500
- export interface UpdateSyncConfigResponseNonNullableFields {
1501
- connection?: {
1502
- calendarType: CalendarType;
1503
- status: Status;
1504
- errorReason: ErrorReason;
1505
- syncConfig?: {
1506
- listEventFromCalendars?: {
1507
- calendars?: {
1508
- calendars: Calendar[];
1509
- };
1510
- };
1511
- };
1512
- };
1513
- }
1514
- export interface DisconnectResponseNonNullableFields {
1515
- connection?: {
1516
- calendarType: CalendarType;
1517
- status: Status;
1518
- errorReason: ErrorReason;
1519
- syncConfig?: {
1520
- listEventFromCalendars?: {
1521
- calendars?: {
1522
- calendars: Calendar[];
1523
- };
1524
- };
1525
- };
1526
- };
1527
- }
1528
- export interface ListEventsResponseNonNullableFields {
1529
- events: {
1530
- calendarType: CalendarType;
1531
- }[];
1532
- }
1533
- /**
1534
- * Retrieves a list of the external calendar providers for which the site supports integration.
1535
- *
1536
- *
1537
- * The list of external calendar providers includes:
1538
- *
1539
- * + External calendar providers that are supported by default, such as Google, Apple, and Microsoft.
1540
- * + External calenders for which the site owner has enabled integration by installing an app.
1541
- *
1542
- * For each external calendar provider, the list contains information about supported connection methods and features.
1543
- * For each provider, check `features.connectMethods` to find out whether to use [`connectByCredentials()`](#connect-by-credentials) or [`connectByOAuth()`](#connect-by-o-auth) to establish a connection.
1544
- *
1545
- * @public
1546
- * @documentationMaturity preview
1547
- * @permissionScope Manage Bookings - all permissions
1548
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1549
- * @permissionScope Manage External Calendars
1550
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-EXTERNAL-CALENDARS
1551
- * @applicableIdentity APP
1552
- */
1553
- export declare function listProviders(): Promise<ListProvidersResponse & ListProvidersResponseNonNullableFields>;
1554
- /**
1555
- * Retrieves an external calendar connection by ID.
1556
- *
1557
- *
1558
- * The external calendar connection contains details of the connection between a Wix site's calendar and calendars hosted by an external provider.
1559
- *
1560
- * The `syncConfig` property contains configuration details for importing events from an external calendar, exporting events to an external calendar, or both.
1561
- * @param connectionId - ID of the connection to retrieve.
1562
- * @public
1563
- * @documentationMaturity preview
1564
- * @requiredField connectionId
1565
- * @permissionScope Manage Bookings - all permissions
1566
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1567
- * @permissionScope Manage External Calendars
1568
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-EXTERNAL-CALENDARS
1569
- * @permissionScope Manage Bookings - all permissions
1570
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1571
- * @permissionScope Manage External Calendars
1572
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-EXTERNAL-CALENDARS
1573
- * @applicableIdentity APP
1574
- */
1575
- export declare function getConnection(connectionId: string | null): Promise<GetConnectionResponse & GetConnectionResponseNonNullableFields>;
1576
- /**
1577
- * Retrieves a list of external calendar connections.
1578
- *
1579
- *
1580
- * Each external calendar connections contain details of a connection between a Wix site's calendar and calendars hosted by an external provider.
1581
- *
1582
- * The `syncConfig` property of each connection contains configuration details for importing events from an external calendar, exporting events to an external calendar, or both.
1583
- * @public
1584
- * @documentationMaturity preview
1585
- * @permissionScope Manage Bookings - all permissions
1586
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1587
- * @permissionScope Manage External Calendars
1588
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-EXTERNAL-CALENDARS
1589
- * @permissionScope Manage Bookings - all permissions
1590
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1591
- * @permissionScope Manage External Calendars
1592
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-EXTERNAL-CALENDARS
1593
- * @applicableIdentity APP
1594
- */
1595
- export declare function listConnections(options?: ListConnectionsOptions): Promise<ListConnectionsResponse & ListConnectionsResponseNonNullableFields>;
1596
- export interface ListConnectionsOptions {
1597
- /**
1598
- * Schedule IDs to filter by. If provided, only connections between external calendars and the specified schedules is returned.
1599
- *
1600
- * Default: Returns all connections.
1601
- */
1602
- scheduleIds?: string[] | null;
1603
- /**
1604
- * Whether to return a partial list of connections if details can't be retrieved for some connections.
1605
- *
1606
- * Default: `false`
1607
- */
1608
- partialFailure?: boolean | null;
1609
- }
1610
- /**
1611
- * Connects to an external calendar using the OAuth authorization protocol.
1612
- *
1613
- *
1614
- * The authorization flow should take place as follows:
1615
- *
1616
- * 1. Call the function with the appropriate parameters.
1617
- * 2. Redirect the user to the URL received in the response.
1618
- * 3. The user authorizes access.
1619
- * 4. The user is redirected to the URL you provide in the `redirectUrl` parameter, with a query parameter `connectionId` containing the new connection ID.
1620
- *
1621
- * If the attempt to connect fails, the user is still redirected to the URL you provide in the `redirectUrl` parameter,
1622
- * but with a query parameter `error` containing one of the following values:
1623
- *
1624
- * - `reject`: The user rejected the authorization request.
1625
- * - `unsupported`: Connecting to the user's external account type is not supported by the provider.
1626
- * - `internal`: An error unrelated to the client or the request that prevents the server from fulfilling the request.
1627
- *
1628
- * Once a connection is successfully created, use [`listEvents()`](#list-events) to obtain an up-to-date list of events in the connected external calendars.
1629
- *
1630
- * > **Note:**
1631
- * > Use [`listProviders()`](#list-providers) to find out whether to connect to a particular provider using this endpoint or [`connectByCredentials()`](#connect-by-credentials).
1632
- * @param scheduleId - ID of the schedule to connect with the external calendar account.
1633
- * @param redirectUrl - URL to redirect the user to after they authorize access to the external calendar account.
1634
- *
1635
- * If the connection is successfully established, the user is redirected to this URL with a query parameter `connectionId` containing the new connection ID.
1636
- * If the attempt to connect fails, the user is redirected to this URL with a query parameter `error` containing the error type.
1637
- * @public
1638
- * @documentationMaturity preview
1639
- * @requiredField providerId
1640
- * @requiredField redirectUrl
1641
- * @requiredField scheduleId
1642
- * @param providerId - ID of the external calendar provider. Find this with the [`listProviders()`](#list-providers) function.
1643
- * @permissionScope Manage Bookings - all permissions
1644
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1645
- * @permissionScope Manage External Calendars
1646
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-EXTERNAL-CALENDARS
1647
- * @permissionScope Manage Bookings - all permissions
1648
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1649
- * @permissionScope Manage External Calendars
1650
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-EXTERNAL-CALENDARS
1651
- * @applicableIdentity APP
1652
- */
1653
- export declare function connectByOAuth(providerId: string | null, scheduleId: string | null, redirectUrl: string | null): Promise<ConnectByOAuthResponse>;
1654
- /**
1655
- * Connects to an external calendar by directly providing the external calendar account credentials.
1656
- *
1657
- *
1658
- * Once a connection is successfully created, use [`listEvents()`](#list-events) to obtain an up-to-date list of events in the connected external calendars.
1659
- *
1660
- * > **Note:**
1661
- * > Use [`listProviders()`](#list-providers) to find out whether to connect to a particular provider using this method or [`connectByOAuth()`](#connect-by-o-auth).
1662
- * @param scheduleId - ID of the schedule to connect with the external calendar account.
1663
- * @param email - Email address for the external calendar account.
1664
- * @param password - Password for the external calendar account.
1665
- * @public
1666
- * @documentationMaturity preview
1667
- * @requiredField email
1668
- * @requiredField password
1669
- * @requiredField providerId
1670
- * @requiredField scheduleId
1671
- * @param providerId - ID of the external calendar provider. Find this with the [`listProviders()`](#list-providers) function.
1672
- * @permissionScope Manage Bookings - all permissions
1673
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1674
- * @permissionScope Manage External Calendars
1675
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-EXTERNAL-CALENDARS
1676
- * @permissionScope Manage Bookings - all permissions
1677
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1678
- * @permissionScope Manage External Calendars
1679
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-EXTERNAL-CALENDARS
1680
- * @applicableIdentity APP
1681
- */
1682
- export declare function connectByCredentials(providerId: string | null, scheduleId: string | null, email: string | null, password: string | null): Promise<ConnectByCredentialsResponse & ConnectByCredentialsResponseNonNullableFields>;
1683
- /**
1684
- * Retrieves a list of calendars belonging to the connected external calendar account.
1685
- *
1686
- *
1687
- * > **Note:**
1688
- * > Before using this function, establish a connection with an external calendar using [`connectByCredentials()`](#connect-by-credentials) or [`connectByOAuth()`](#connect-by-o-auth).
1689
- * @param connectionId - ID of the external calendar connection to list calendars for.
1690
- * @public
1691
- * @documentationMaturity preview
1692
- * @requiredField connectionId
1693
- * @permissionScope Manage Bookings - all permissions
1694
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1695
- * @permissionScope Manage External Calendars
1696
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-EXTERNAL-CALENDARS
1697
- * @applicableIdentity APP
1698
- */
1699
- export declare function listCalendars(connectionId: string | null): Promise<ListCalendarsResponse & ListCalendarsResponseNonNullableFields>;
1700
- /**
1701
- * Updates the specified external calendar connection's sync configuration.
1702
- *
1703
- *
1704
- * Use Update Sync Config to update a connection's `syncConfig` property.
1705
- * The `syncConfig` property contains settings for enabling, configuring, or disabling functionality, including:
1706
- *
1707
- * + Importing events from one or more specified calendars in the connected external calendar account. If this is enabled, use [`listEvents()`](#list-events) to retrieve a list of events from the external calendar.
1708
- * + Exporting events from the Wix site's calendar to an external calendar.
1709
- *
1710
- * To see an external calendar connection's existing sync configuration, use [`getConnection()`](#get-connection) or [`listConnections()`](#list-connections) and see the `syncConfig` property.
1711
- *
1712
- * > **Note:**
1713
- * > Supported functionality depends on the provider. Use [`listProviders()`](#list-providers) to see details about providers' supported features.
1714
- * @param connectionId - ID of the external calendar connection to update.
1715
- * @param syncConfig - Updated sync configuration details.
1716
- * @public
1717
- * @documentationMaturity preview
1718
- * @requiredField connectionId
1719
- * @requiredField syncConfig
1720
- * @permissionScope Manage Bookings - all permissions
1721
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1722
- * @permissionScope Manage External Calendars
1723
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-EXTERNAL-CALENDARS
1724
- * @applicableIdentity APP
1725
- */
1726
- export declare function updateSyncConfig(connectionId: string | null, syncConfig: ConnectionSyncConfig): Promise<UpdateSyncConfigResponse & UpdateSyncConfigResponseNonNullableFields>;
1727
- /**
1728
- * Disconnects from an external calendar.
1729
- *
1730
- *
1731
- * When an external calendar is disconnected, the external calendar connection's `status` is changed to `DISCONNECTED`.
1732
- *
1733
- * After disconnecting, [`listEvents()`](#list-events) no longer returns events from the disconnected external calendar.
1734
- * Exported Wix calendar sessions are deleted from the external calendar.
1735
- * @param connectionId - ID of the external calendar connection to disconnect.
1736
- * @public
1737
- * @documentationMaturity preview
1738
- * @requiredField connectionId
1739
- * @permissionScope Manage Bookings - all permissions
1740
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1741
- * @permissionScope Manage External Calendars
1742
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-EXTERNAL-CALENDARS
1743
- * @permissionScope Manage Bookings - all permissions
1744
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1745
- * @permissionScope Manage External Calendars
1746
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-EXTERNAL-CALENDARS
1747
- * @applicableIdentity APP
1748
- */
1749
- export declare function disconnect(connectionId: string | null): Promise<DisconnectResponse & DisconnectResponseNonNullableFields>;
1750
- /**
1751
- * Retrieves a list of events from all connected external calendars, based on the provided filtering and paging.
1752
- *
1753
- *
1754
- * Use List Events to retrieve an aggregated list of events in the connected external calendars for a specified time range, sorted by start date.
1755
- *
1756
- * > **Note:**
1757
- * > Before using this function, establish a connection with an external calendar using [`connectByCredentials()`](#connect-by-credentials) or [`connectByOAuth()`](#connect-by-o-auth).
1758
- * @public
1759
- * @documentationMaturity preview
1760
- * @permissionScope Manage Bookings - all permissions
1761
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
1762
- * @permissionScope Manage External Calendars
1763
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-EXTERNAL-CALENDARS
1764
- * @applicableIdentity APP
1765
- */
1766
- export declare function listEvents(options?: ListEventsOptions): Promise<ListEventsResponse & ListEventsResponseNonNullableFields>;
1767
- export interface ListEventsOptions {
1768
- /**
1769
- * Date and time from which to retrieve events,
1770
- * formatted according to [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt).
1771
- * Required, unless `cursorPaging.cursor` is provided.
1772
- *
1773
- * Events which start before the `from` time and end after it are included in the returned list.
1774
- */
1775
- from?: string | null;
1776
- /**
1777
- * Date and time until which to retrieve events,
1778
- * formatted according to [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt).
1779
- * Required, unless `cursorPaging.cursor` is provided.
1780
- *
1781
- * Events which start before the `to` time and end after it are included in the returned list.
1782
- */
1783
- to?: string | null;
1784
- /**
1785
- * Schedule IDs to filter by. If provided, the returned list includes only events belonging to external calendars connected to the specified schedules.
1786
- * Maximum of 100 schedule IDs per request.
1787
- */
1788
- scheduleIds?: string[] | null;
1789
- /**
1790
- * Wix user IDs to filter by. If provided, the returned list includes only events belonging to external calendars connected to schedules belonging to the specified Wix users.
1791
- * Maximum of 100 Wix user IDs per request.
1792
- */
1793
- userIds?: string[] | null;
1794
- /**
1795
- * Whether to include only all-day events in the returned list.
1796
- * If `true`, only all-day events are returned.
1797
- * If `false`, only events with a specified time are returned.
1798
- *
1799
- * Default: All events are returned.
1800
- */
1801
- allDay?: boolean | null;
1802
- /**
1803
- * Predefined sets of fields to return.
1804
- * - `NO_PI`: Returns event objects without personal information.
1805
- * - `OWN_PI`: Returns complete event objects, including personal information.
1806
- *
1807
- * Default: `NO_PI`
1808
- */
1809
- fieldsets?: string[];
1810
- /** Pagination options. */
1811
- cursorPaging?: CursorPaging;
1812
- /**
1813
- * Whether to return a partial list of events if details can't be retrieved for some connections.
1814
- *
1815
- * Default: `false`
1816
- */
1817
- partialFailure?: boolean | null;
1818
- }