@wix/events 1.0.145 → 1.0.146

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 (443) hide show
  1. package/build/cjs/index.d.ts +1 -12
  2. package/build/cjs/index.js +7 -14
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +1 -12
  5. package/build/cjs/index.typings.js +7 -14
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +1 -12
  8. package/build/cjs/meta.js +7 -14
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/src/events-v3-ticket-definition.http.d.ts +33 -0
  11. package/build/cjs/src/events-v3-ticket-definition.http.js +271 -0
  12. package/build/cjs/src/events-v3-ticket-definition.http.js.map +1 -0
  13. package/build/cjs/src/events-v3-ticket-definition.meta.d.ts +25 -0
  14. package/build/cjs/src/{events-v1-ticket-definition.meta.js → events-v3-ticket-definition.meta.js} +47 -43
  15. package/build/cjs/src/events-v3-ticket-definition.meta.js.map +1 -0
  16. package/build/cjs/src/events-v3-ticket-definition.public.d.ts +98 -0
  17. package/build/cjs/src/events-v3-ticket-definition.public.js +63 -0
  18. package/build/cjs/src/events-v3-ticket-definition.public.js.map +1 -0
  19. package/build/cjs/src/events-v3-ticket-definition.types.d.ts +1265 -0
  20. package/build/cjs/src/events-v3-ticket-definition.types.js +195 -0
  21. package/build/cjs/src/events-v3-ticket-definition.types.js.map +1 -0
  22. package/build/cjs/src/events-v3-ticket-definition.universal.d.ts +1449 -0
  23. package/build/cjs/src/events-v3-ticket-definition.universal.js +698 -0
  24. package/build/cjs/src/events-v3-ticket-definition.universal.js.map +1 -0
  25. package/build/es/index.d.ts +1 -12
  26. package/build/es/index.js +1 -12
  27. package/build/es/index.js.map +1 -1
  28. package/build/es/index.typings.d.ts +1 -12
  29. package/build/es/index.typings.js +1 -12
  30. package/build/es/index.typings.js.map +1 -1
  31. package/build/es/meta.d.ts +1 -12
  32. package/build/es/meta.js +1 -12
  33. package/build/es/meta.js.map +1 -1
  34. package/build/es/src/events-v3-ticket-definition.http.d.ts +33 -0
  35. package/build/es/src/events-v3-ticket-definition.http.js +261 -0
  36. package/build/es/src/events-v3-ticket-definition.http.js.map +1 -0
  37. package/build/es/src/events-v3-ticket-definition.meta.d.ts +25 -0
  38. package/build/es/src/{events-v1-ticket-definition.meta.js → events-v3-ticket-definition.meta.js} +35 -35
  39. package/build/es/src/events-v3-ticket-definition.meta.js.map +1 -0
  40. package/build/es/src/events-v3-ticket-definition.public.d.ts +98 -0
  41. package/build/es/src/events-v3-ticket-definition.public.js +39 -0
  42. package/build/es/src/events-v3-ticket-definition.public.js.map +1 -0
  43. package/build/es/src/events-v3-ticket-definition.types.d.ts +1265 -0
  44. package/build/es/src/events-v3-ticket-definition.types.js +192 -0
  45. package/build/es/src/events-v3-ticket-definition.types.js.map +1 -0
  46. package/build/es/src/events-v3-ticket-definition.universal.d.ts +1449 -0
  47. package/build/es/src/events-v3-ticket-definition.universal.js +665 -0
  48. package/build/es/src/events-v3-ticket-definition.universal.js.map +1 -0
  49. package/package.json +7 -3
  50. package/build/cjs/src/events-events-v3-event.http.d.ts +0 -56
  51. package/build/cjs/src/events-events-v3-event.http.js +0 -555
  52. package/build/cjs/src/events-events-v3-event.http.js.map +0 -1
  53. package/build/cjs/src/events-events-v3-event.public.d.ts +0 -19
  54. package/build/cjs/src/events-events-v3-event.public.js +0 -99
  55. package/build/cjs/src/events-events-v3-event.public.js.map +0 -1
  56. package/build/cjs/src/events-events-v3-event.types.d.ts +0 -1512
  57. package/build/cjs/src/events-events-v3-event.types.js +0 -246
  58. package/build/cjs/src/events-events-v3-event.types.js.map +0 -1
  59. package/build/cjs/src/events-events-v3-event.universal.d.ts +0 -1808
  60. package/build/cjs/src/events-events-v3-event.universal.js +0 -987
  61. package/build/cjs/src/events-events-v3-event.universal.js.map +0 -1
  62. package/build/cjs/src/events-guests-v1-guest.http.d.ts +0 -23
  63. package/build/cjs/src/events-guests-v1-guest.http.js +0 -125
  64. package/build/cjs/src/events-guests-v1-guest.http.js.map +0 -1
  65. package/build/cjs/src/events-guests-v1-guest.meta.d.ts +0 -13
  66. package/build/cjs/src/events-guests-v1-guest.meta.js +0 -43
  67. package/build/cjs/src/events-guests-v1-guest.meta.js.map +0 -1
  68. package/build/cjs/src/events-guests-v1-guest.public.d.ts +0 -7
  69. package/build/cjs/src/events-guests-v1-guest.public.js +0 -24
  70. package/build/cjs/src/events-guests-v1-guest.public.js.map +0 -1
  71. package/build/cjs/src/events-guests-v1-guest.types.d.ts +0 -800
  72. package/build/cjs/src/events-guests-v1-guest.types.js +0 -105
  73. package/build/cjs/src/events-guests-v1-guest.types.js.map +0 -1
  74. package/build/cjs/src/events-guests-v1-guest.universal.d.ts +0 -864
  75. package/build/cjs/src/events-guests-v1-guest.universal.js +0 -237
  76. package/build/cjs/src/events-guests-v1-guest.universal.js.map +0 -1
  77. package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.d.ts +0 -49
  78. package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.js +0 -521
  79. package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.js.map +0 -1
  80. package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.meta.d.ts +0 -19
  81. package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.meta.js +0 -81
  82. package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.meta.js.map +0 -1
  83. package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.public.d.ts +0 -9
  84. package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.public.js +0 -28
  85. package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.public.js.map +0 -1
  86. package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.d.ts +0 -415
  87. package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.js +0 -27
  88. package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.js.map +0 -1
  89. package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.d.ts +0 -453
  90. package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.js +0 -239
  91. package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.js.map +0 -1
  92. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.http.d.ts +0 -49
  93. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.http.js +0 -521
  94. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.http.js.map +0 -1
  95. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.meta.d.ts +0 -25
  96. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.meta.js +0 -195
  97. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.meta.js.map +0 -1
  98. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.public.d.ts +0 -26
  99. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.public.js +0 -64
  100. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.public.js.map +0 -1
  101. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.types.d.ts +0 -415
  102. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.types.js +0 -27
  103. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.types.js.map +0 -1
  104. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.universal.d.ts +0 -654
  105. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.universal.js +0 -613
  106. package/build/cjs/src/events-schedule-v1-schedule-item-schedule.universal.js.map +0 -1
  107. package/build/cjs/src/events-schedule-v1-schedule-item.http.d.ts +0 -49
  108. package/build/cjs/src/events-schedule-v1-schedule-item.http.js +0 -485
  109. package/build/cjs/src/events-schedule-v1-schedule-item.http.js.map +0 -1
  110. package/build/cjs/src/events-schedule-v1-schedule-item.types.d.ts +0 -318
  111. package/build/cjs/src/events-schedule-v1-schedule-item.types.js +0 -27
  112. package/build/cjs/src/events-schedule-v1-schedule-item.types.js.map +0 -1
  113. package/build/cjs/src/events-v1-category.http.d.ts +0 -35
  114. package/build/cjs/src/events-v1-category.http.js +0 -618
  115. package/build/cjs/src/events-v1-category.http.js.map +0 -1
  116. package/build/cjs/src/events-v1-category.meta.d.ts +0 -37
  117. package/build/cjs/src/events-v1-category.meta.js +0 -271
  118. package/build/cjs/src/events-v1-category.meta.js.map +0 -1
  119. package/build/cjs/src/events-v1-category.public.d.ts +0 -28
  120. package/build/cjs/src/events-v1-category.public.js +0 -88
  121. package/build/cjs/src/events-v1-category.public.js.map +0 -1
  122. package/build/cjs/src/events-v1-category.types.d.ts +0 -364
  123. package/build/cjs/src/events-v1-category.types.js +0 -27
  124. package/build/cjs/src/events-v1-category.types.js.map +0 -1
  125. package/build/cjs/src/events-v1-category.universal.d.ts +0 -586
  126. package/build/cjs/src/events-v1-category.universal.js +0 -798
  127. package/build/cjs/src/events-v1-category.universal.js.map +0 -1
  128. package/build/cjs/src/events-v1-event.http.d.ts +0 -90
  129. package/build/cjs/src/events-v1-event.http.js +0 -973
  130. package/build/cjs/src/events-v1-event.http.js.map +0 -1
  131. package/build/cjs/src/events-v1-event.meta.d.ts +0 -41
  132. package/build/cjs/src/events-v1-event.meta.js +0 -309
  133. package/build/cjs/src/events-v1-event.meta.js.map +0 -1
  134. package/build/cjs/src/events-v1-event.public.d.ts +0 -694
  135. package/build/cjs/src/events-v1-event.public.js +0 -113
  136. package/build/cjs/src/events-v1-event.public.js.map +0 -1
  137. package/build/cjs/src/events-v1-event.types.d.ts +0 -4384
  138. package/build/cjs/src/events-v1-event.types.js +0 -199
  139. package/build/cjs/src/events-v1-event.types.js.map +0 -1
  140. package/build/cjs/src/events-v1-event.universal.d.ts +0 -4688
  141. package/build/cjs/src/events-v1-event.universal.js +0 -1214
  142. package/build/cjs/src/events-v1-event.universal.js.map +0 -1
  143. package/build/cjs/src/events-v1-form.http.d.ts +0 -25
  144. package/build/cjs/src/events-v1-form.http.js +0 -445
  145. package/build/cjs/src/events-v1-form.http.js.map +0 -1
  146. package/build/cjs/src/events-v1-form.meta.d.ts +0 -35
  147. package/build/cjs/src/events-v1-form.meta.js +0 -157
  148. package/build/cjs/src/events-v1-form.meta.js.map +0 -1
  149. package/build/cjs/src/events-v1-form.public.d.ts +0 -14
  150. package/build/cjs/src/events-v1-form.public.js +0 -54
  151. package/build/cjs/src/events-v1-form.public.js.map +0 -1
  152. package/build/cjs/src/events-v1-form.types.d.ts +0 -1231
  153. package/build/cjs/src/events-v1-form.types.js +0 -69
  154. package/build/cjs/src/events-v1-form.types.js.map +0 -1
  155. package/build/cjs/src/events-v1-form.universal.d.ts +0 -1381
  156. package/build/cjs/src/events-v1-form.universal.js +0 -552
  157. package/build/cjs/src/events-v1-form.universal.js.map +0 -1
  158. package/build/cjs/src/events-v1-order-checkout.http.d.ts +0 -89
  159. package/build/cjs/src/events-v1-order-checkout.http.js +0 -1000
  160. package/build/cjs/src/events-v1-order-checkout.http.js.map +0 -1
  161. package/build/cjs/src/events-v1-order-checkout.meta.d.ts +0 -26
  162. package/build/cjs/src/events-v1-order-checkout.meta.js +0 -176
  163. package/build/cjs/src/events-v1-order-checkout.meta.js.map +0 -1
  164. package/build/cjs/src/events-v1-order-checkout.public.d.ts +0 -15
  165. package/build/cjs/src/events-v1-order-checkout.public.js +0 -69
  166. package/build/cjs/src/events-v1-order-checkout.public.js.map +0 -1
  167. package/build/cjs/src/events-v1-order-checkout.types.d.ts +0 -3610
  168. package/build/cjs/src/events-v1-order-checkout.types.js +0 -145
  169. package/build/cjs/src/events-v1-order-checkout.types.js.map +0 -1
  170. package/build/cjs/src/events-v1-order-checkout.universal.d.ts +0 -3629
  171. package/build/cjs/src/events-v1-order-checkout.universal.js +0 -769
  172. package/build/cjs/src/events-v1-order-checkout.universal.js.map +0 -1
  173. package/build/cjs/src/events-v1-order-orders.http.d.ts +0 -121
  174. package/build/cjs/src/events-v1-order-orders.http.js +0 -1032
  175. package/build/cjs/src/events-v1-order-orders.http.js.map +0 -1
  176. package/build/cjs/src/events-v1-order-orders.meta.d.ts +0 -28
  177. package/build/cjs/src/events-v1-order-orders.meta.js +0 -138
  178. package/build/cjs/src/events-v1-order-orders.meta.js.map +0 -1
  179. package/build/cjs/src/events-v1-order-orders.public.d.ts +0 -220
  180. package/build/cjs/src/events-v1-order-orders.public.js +0 -57
  181. package/build/cjs/src/events-v1-order-orders.public.js.map +0 -1
  182. package/build/cjs/src/events-v1-order-orders.types.d.ts +0 -3610
  183. package/build/cjs/src/events-v1-order-orders.types.js +0 -145
  184. package/build/cjs/src/events-v1-order-orders.types.js.map +0 -1
  185. package/build/cjs/src/events-v1-order-orders.universal.d.ts +0 -3599
  186. package/build/cjs/src/events-v1-order-orders.universal.js +0 -637
  187. package/build/cjs/src/events-v1-order-orders.universal.js.map +0 -1
  188. package/build/cjs/src/events-v1-rsvp.http.d.ts +0 -20
  189. package/build/cjs/src/events-v1-rsvp.http.js +0 -376
  190. package/build/cjs/src/events-v1-rsvp.http.js.map +0 -1
  191. package/build/cjs/src/events-v1-rsvp.meta.d.ts +0 -25
  192. package/build/cjs/src/events-v1-rsvp.meta.js +0 -195
  193. package/build/cjs/src/events-v1-rsvp.meta.js.map +0 -1
  194. package/build/cjs/src/events-v1-rsvp.public.d.ts +0 -39
  195. package/build/cjs/src/events-v1-rsvp.public.js +0 -65
  196. package/build/cjs/src/events-v1-rsvp.public.js.map +0 -1
  197. package/build/cjs/src/events-v1-rsvp.types.d.ts +0 -808
  198. package/build/cjs/src/events-v1-rsvp.types.js +0 -44
  199. package/build/cjs/src/events-v1-rsvp.types.js.map +0 -1
  200. package/build/cjs/src/events-v1-rsvp.universal.d.ts +0 -914
  201. package/build/cjs/src/events-v1-rsvp.universal.js +0 -658
  202. package/build/cjs/src/events-v1-rsvp.universal.js.map +0 -1
  203. package/build/cjs/src/events-v1-ticket-definition.http.d.ts +0 -50
  204. package/build/cjs/src/events-v1-ticket-definition.http.js +0 -416
  205. package/build/cjs/src/events-v1-ticket-definition.http.js.map +0 -1
  206. package/build/cjs/src/events-v1-ticket-definition.meta.d.ts +0 -23
  207. package/build/cjs/src/events-v1-ticket-definition.meta.js.map +0 -1
  208. package/build/cjs/src/events-v1-ticket-definition.public.d.ts +0 -61
  209. package/build/cjs/src/events-v1-ticket-definition.public.js +0 -57
  210. package/build/cjs/src/events-v1-ticket-definition.public.js.map +0 -1
  211. package/build/cjs/src/events-v1-ticket-definition.types.d.ts +0 -725
  212. package/build/cjs/src/events-v1-ticket-definition.types.js +0 -63
  213. package/build/cjs/src/events-v1-ticket-definition.types.js.map +0 -1
  214. package/build/cjs/src/events-v1-ticket-definition.universal.d.ts +0 -960
  215. package/build/cjs/src/events-v1-ticket-definition.universal.js +0 -570
  216. package/build/cjs/src/events-v1-ticket-definition.universal.js.map +0 -1
  217. package/build/cjs/src/events-v1-ticket.http.d.ts +0 -44
  218. package/build/cjs/src/events-v1-ticket.http.js +0 -532
  219. package/build/cjs/src/events-v1-ticket.http.js.map +0 -1
  220. package/build/cjs/src/events-v1-ticket.meta.d.ts +0 -28
  221. package/build/cjs/src/events-v1-ticket.meta.js +0 -138
  222. package/build/cjs/src/events-v1-ticket.meta.js.map +0 -1
  223. package/build/cjs/src/events-v1-ticket.public.d.ts +0 -45
  224. package/build/cjs/src/events-v1-ticket.public.js +0 -48
  225. package/build/cjs/src/events-v1-ticket.public.js.map +0 -1
  226. package/build/cjs/src/events-v1-ticket.types.d.ts +0 -791
  227. package/build/cjs/src/events-v1-ticket.types.js +0 -76
  228. package/build/cjs/src/events-v1-ticket.types.js.map +0 -1
  229. package/build/cjs/src/events-v1-ticket.universal.d.ts +0 -892
  230. package/build/cjs/src/events-v1-ticket.universal.js +0 -576
  231. package/build/cjs/src/events-v1-ticket.universal.js.map +0 -1
  232. package/build/cjs/src/events-v2-policy.http.d.ts +0 -80
  233. package/build/cjs/src/events-v2-policy.http.js +0 -295
  234. package/build/cjs/src/events-v2-policy.http.js.map +0 -1
  235. package/build/cjs/src/events-v2-policy.meta.d.ts +0 -24
  236. package/build/cjs/src/events-v2-policy.meta.js +0 -138
  237. package/build/cjs/src/events-v2-policy.meta.js.map +0 -1
  238. package/build/cjs/src/events-v2-policy.public.d.ts +0 -25
  239. package/build/cjs/src/events-v2-policy.public.js +0 -48
  240. package/build/cjs/src/events-v2-policy.public.js.map +0 -1
  241. package/build/cjs/src/events-v2-policy.types.d.ts +0 -405
  242. package/build/cjs/src/events-v2-policy.types.js +0 -56
  243. package/build/cjs/src/events-v2-policy.types.js.map +0 -1
  244. package/build/cjs/src/events-v2-policy.universal.d.ts +0 -654
  245. package/build/cjs/src/events-v2-policy.universal.js +0 -522
  246. package/build/cjs/src/events-v2-policy.universal.js.map +0 -1
  247. package/build/es/src/events-events-v3-event.http.d.ts +0 -56
  248. package/build/es/src/events-events-v3-event.http.js +0 -540
  249. package/build/es/src/events-events-v3-event.http.js.map +0 -1
  250. package/build/es/src/events-events-v3-event.public.d.ts +0 -19
  251. package/build/es/src/events-events-v3-event.public.js +0 -64
  252. package/build/es/src/events-events-v3-event.public.js.map +0 -1
  253. package/build/es/src/events-events-v3-event.types.d.ts +0 -1512
  254. package/build/es/src/events-events-v3-event.types.js +0 -243
  255. package/build/es/src/events-events-v3-event.types.js.map +0 -1
  256. package/build/es/src/events-events-v3-event.universal.d.ts +0 -1808
  257. package/build/es/src/events-events-v3-event.universal.js +0 -953
  258. package/build/es/src/events-events-v3-event.universal.js.map +0 -1
  259. package/build/es/src/events-guests-v1-guest.http.d.ts +0 -23
  260. package/build/es/src/events-guests-v1-guest.http.js +0 -121
  261. package/build/es/src/events-guests-v1-guest.http.js.map +0 -1
  262. package/build/es/src/events-guests-v1-guest.meta.d.ts +0 -13
  263. package/build/es/src/events-guests-v1-guest.meta.js +0 -20
  264. package/build/es/src/events-guests-v1-guest.meta.js.map +0 -1
  265. package/build/es/src/events-guests-v1-guest.public.d.ts +0 -7
  266. package/build/es/src/events-guests-v1-guest.public.js +0 -9
  267. package/build/es/src/events-guests-v1-guest.public.js.map +0 -1
  268. package/build/es/src/events-guests-v1-guest.types.d.ts +0 -800
  269. package/build/es/src/events-guests-v1-guest.types.js +0 -102
  270. package/build/es/src/events-guests-v1-guest.types.js.map +0 -1
  271. package/build/es/src/events-guests-v1-guest.universal.d.ts +0 -864
  272. package/build/es/src/events-guests-v1-guest.universal.js +0 -214
  273. package/build/es/src/events-guests-v1-guest.universal.js.map +0 -1
  274. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.d.ts +0 -49
  275. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.js +0 -506
  276. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.js.map +0 -1
  277. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.meta.d.ts +0 -19
  278. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.meta.js +0 -56
  279. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.meta.js.map +0 -1
  280. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.public.d.ts +0 -9
  281. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.public.js +0 -19
  282. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.public.js.map +0 -1
  283. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.d.ts +0 -415
  284. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.js +0 -24
  285. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.js.map +0 -1
  286. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.d.ts +0 -453
  287. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.js +0 -214
  288. package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.js.map +0 -1
  289. package/build/es/src/events-schedule-v1-schedule-item-schedule.http.d.ts +0 -49
  290. package/build/es/src/events-schedule-v1-schedule-item-schedule.http.js +0 -506
  291. package/build/es/src/events-schedule-v1-schedule-item-schedule.http.js.map +0 -1
  292. package/build/es/src/events-schedule-v1-schedule-item-schedule.meta.d.ts +0 -25
  293. package/build/es/src/events-schedule-v1-schedule-item-schedule.meta.js +0 -164
  294. package/build/es/src/events-schedule-v1-schedule-item-schedule.meta.js.map +0 -1
  295. package/build/es/src/events-schedule-v1-schedule-item-schedule.public.d.ts +0 -26
  296. package/build/es/src/events-schedule-v1-schedule-item-schedule.public.js +0 -49
  297. package/build/es/src/events-schedule-v1-schedule-item-schedule.public.js.map +0 -1
  298. package/build/es/src/events-schedule-v1-schedule-item-schedule.types.d.ts +0 -415
  299. package/build/es/src/events-schedule-v1-schedule-item-schedule.types.js +0 -24
  300. package/build/es/src/events-schedule-v1-schedule-item-schedule.types.js.map +0 -1
  301. package/build/es/src/events-schedule-v1-schedule-item-schedule.universal.d.ts +0 -654
  302. package/build/es/src/events-schedule-v1-schedule-item-schedule.universal.js +0 -582
  303. package/build/es/src/events-schedule-v1-schedule-item-schedule.universal.js.map +0 -1
  304. package/build/es/src/events-schedule-v1-schedule-item.http.d.ts +0 -49
  305. package/build/es/src/events-schedule-v1-schedule-item.http.js +0 -470
  306. package/build/es/src/events-schedule-v1-schedule-item.http.js.map +0 -1
  307. package/build/es/src/events-schedule-v1-schedule-item.types.d.ts +0 -318
  308. package/build/es/src/events-schedule-v1-schedule-item.types.js +0 -24
  309. package/build/es/src/events-schedule-v1-schedule-item.types.js.map +0 -1
  310. package/build/es/src/events-v1-category.http.d.ts +0 -35
  311. package/build/es/src/events-v1-category.http.js +0 -602
  312. package/build/es/src/events-v1-category.http.js.map +0 -1
  313. package/build/es/src/events-v1-category.meta.d.ts +0 -37
  314. package/build/es/src/events-v1-category.meta.js +0 -236
  315. package/build/es/src/events-v1-category.meta.js.map +0 -1
  316. package/build/es/src/events-v1-category.public.d.ts +0 -28
  317. package/build/es/src/events-v1-category.public.js +0 -69
  318. package/build/es/src/events-v1-category.public.js.map +0 -1
  319. package/build/es/src/events-v1-category.types.d.ts +0 -364
  320. package/build/es/src/events-v1-category.types.js +0 -24
  321. package/build/es/src/events-v1-category.types.js.map +0 -1
  322. package/build/es/src/events-v1-category.universal.d.ts +0 -586
  323. package/build/es/src/events-v1-category.universal.js +0 -763
  324. package/build/es/src/events-v1-category.universal.js.map +0 -1
  325. package/build/es/src/events-v1-event.http.d.ts +0 -90
  326. package/build/es/src/events-v1-event.http.js +0 -955
  327. package/build/es/src/events-v1-event.http.js.map +0 -1
  328. package/build/es/src/events-v1-event.meta.d.ts +0 -41
  329. package/build/es/src/events-v1-event.meta.js +0 -272
  330. package/build/es/src/events-v1-event.meta.js.map +0 -1
  331. package/build/es/src/events-v1-event.public.d.ts +0 -694
  332. package/build/es/src/events-v1-event.public.js +0 -79
  333. package/build/es/src/events-v1-event.public.js.map +0 -1
  334. package/build/es/src/events-v1-event.types.d.ts +0 -4384
  335. package/build/es/src/events-v1-event.types.js +0 -196
  336. package/build/es/src/events-v1-event.types.js.map +0 -1
  337. package/build/es/src/events-v1-event.universal.d.ts +0 -4688
  338. package/build/es/src/events-v1-event.universal.js +0 -1177
  339. package/build/es/src/events-v1-event.universal.js.map +0 -1
  340. package/build/es/src/events-v1-form.http.d.ts +0 -25
  341. package/build/es/src/events-v1-form.http.js +0 -435
  342. package/build/es/src/events-v1-form.http.js.map +0 -1
  343. package/build/es/src/events-v1-form.meta.d.ts +0 -35
  344. package/build/es/src/events-v1-form.meta.js +0 -128
  345. package/build/es/src/events-v1-form.meta.js.map +0 -1
  346. package/build/es/src/events-v1-form.public.d.ts +0 -14
  347. package/build/es/src/events-v1-form.public.js +0 -39
  348. package/build/es/src/events-v1-form.public.js.map +0 -1
  349. package/build/es/src/events-v1-form.types.d.ts +0 -1231
  350. package/build/es/src/events-v1-form.types.js +0 -66
  351. package/build/es/src/events-v1-form.types.js.map +0 -1
  352. package/build/es/src/events-v1-form.universal.d.ts +0 -1381
  353. package/build/es/src/events-v1-form.universal.js +0 -523
  354. package/build/es/src/events-v1-form.universal.js.map +0 -1
  355. package/build/es/src/events-v1-order-checkout.http.d.ts +0 -89
  356. package/build/es/src/events-v1-order-checkout.http.js +0 -983
  357. package/build/es/src/events-v1-order-checkout.http.js.map +0 -1
  358. package/build/es/src/events-v1-order-checkout.meta.d.ts +0 -26
  359. package/build/es/src/events-v1-order-checkout.meta.js +0 -146
  360. package/build/es/src/events-v1-order-checkout.meta.js.map +0 -1
  361. package/build/es/src/events-v1-order-checkout.public.d.ts +0 -15
  362. package/build/es/src/events-v1-order-checkout.public.js +0 -44
  363. package/build/es/src/events-v1-order-checkout.public.js.map +0 -1
  364. package/build/es/src/events-v1-order-checkout.types.d.ts +0 -3610
  365. package/build/es/src/events-v1-order-checkout.types.js +0 -142
  366. package/build/es/src/events-v1-order-checkout.types.js.map +0 -1
  367. package/build/es/src/events-v1-order-checkout.universal.d.ts +0 -3629
  368. package/build/es/src/events-v1-order-checkout.universal.js +0 -739
  369. package/build/es/src/events-v1-order-checkout.universal.js.map +0 -1
  370. package/build/es/src/events-v1-order-orders.http.d.ts +0 -121
  371. package/build/es/src/events-v1-order-orders.http.js +0 -1015
  372. package/build/es/src/events-v1-order-orders.http.js.map +0 -1
  373. package/build/es/src/events-v1-order-orders.meta.d.ts +0 -28
  374. package/build/es/src/events-v1-order-orders.meta.js +0 -110
  375. package/build/es/src/events-v1-order-orders.meta.js.map +0 -1
  376. package/build/es/src/events-v1-order-orders.public.d.ts +0 -220
  377. package/build/es/src/events-v1-order-orders.public.js +0 -34
  378. package/build/es/src/events-v1-order-orders.public.js.map +0 -1
  379. package/build/es/src/events-v1-order-orders.types.d.ts +0 -3610
  380. package/build/es/src/events-v1-order-orders.types.js +0 -142
  381. package/build/es/src/events-v1-order-orders.types.js.map +0 -1
  382. package/build/es/src/events-v1-order-orders.universal.d.ts +0 -3599
  383. package/build/es/src/events-v1-order-orders.universal.js +0 -609
  384. package/build/es/src/events-v1-order-orders.universal.js.map +0 -1
  385. package/build/es/src/events-v1-rsvp.http.d.ts +0 -20
  386. package/build/es/src/events-v1-rsvp.http.js +0 -364
  387. package/build/es/src/events-v1-rsvp.http.js.map +0 -1
  388. package/build/es/src/events-v1-rsvp.meta.d.ts +0 -25
  389. package/build/es/src/events-v1-rsvp.meta.js +0 -164
  390. package/build/es/src/events-v1-rsvp.meta.js.map +0 -1
  391. package/build/es/src/events-v1-rsvp.public.d.ts +0 -39
  392. package/build/es/src/events-v1-rsvp.public.js +0 -49
  393. package/build/es/src/events-v1-rsvp.public.js.map +0 -1
  394. package/build/es/src/events-v1-rsvp.types.d.ts +0 -808
  395. package/build/es/src/events-v1-rsvp.types.js +0 -41
  396. package/build/es/src/events-v1-rsvp.types.js.map +0 -1
  397. package/build/es/src/events-v1-rsvp.universal.d.ts +0 -914
  398. package/build/es/src/events-v1-rsvp.universal.js +0 -627
  399. package/build/es/src/events-v1-rsvp.universal.js.map +0 -1
  400. package/build/es/src/events-v1-ticket-definition.http.d.ts +0 -50
  401. package/build/es/src/events-v1-ticket-definition.http.js +0 -406
  402. package/build/es/src/events-v1-ticket-definition.http.js.map +0 -1
  403. package/build/es/src/events-v1-ticket-definition.meta.d.ts +0 -23
  404. package/build/es/src/events-v1-ticket-definition.meta.js.map +0 -1
  405. package/build/es/src/events-v1-ticket-definition.public.d.ts +0 -61
  406. package/build/es/src/events-v1-ticket-definition.public.js +0 -39
  407. package/build/es/src/events-v1-ticket-definition.public.js.map +0 -1
  408. package/build/es/src/events-v1-ticket-definition.types.d.ts +0 -725
  409. package/build/es/src/events-v1-ticket-definition.types.js +0 -60
  410. package/build/es/src/events-v1-ticket-definition.types.js.map +0 -1
  411. package/build/es/src/events-v1-ticket-definition.universal.d.ts +0 -960
  412. package/build/es/src/events-v1-ticket-definition.universal.js +0 -541
  413. package/build/es/src/events-v1-ticket-definition.universal.js.map +0 -1
  414. package/build/es/src/events-v1-ticket.http.d.ts +0 -44
  415. package/build/es/src/events-v1-ticket.http.js +0 -523
  416. package/build/es/src/events-v1-ticket.http.js.map +0 -1
  417. package/build/es/src/events-v1-ticket.meta.d.ts +0 -28
  418. package/build/es/src/events-v1-ticket.meta.js +0 -110
  419. package/build/es/src/events-v1-ticket.meta.js.map +0 -1
  420. package/build/es/src/events-v1-ticket.public.d.ts +0 -45
  421. package/build/es/src/events-v1-ticket.public.js +0 -34
  422. package/build/es/src/events-v1-ticket.public.js.map +0 -1
  423. package/build/es/src/events-v1-ticket.types.d.ts +0 -791
  424. package/build/es/src/events-v1-ticket.types.js +0 -73
  425. package/build/es/src/events-v1-ticket.types.js.map +0 -1
  426. package/build/es/src/events-v1-ticket.universal.d.ts +0 -892
  427. package/build/es/src/events-v1-ticket.universal.js +0 -548
  428. package/build/es/src/events-v1-ticket.universal.js.map +0 -1
  429. package/build/es/src/events-v2-policy.http.d.ts +0 -80
  430. package/build/es/src/events-v2-policy.http.js +0 -286
  431. package/build/es/src/events-v2-policy.http.js.map +0 -1
  432. package/build/es/src/events-v2-policy.meta.d.ts +0 -24
  433. package/build/es/src/events-v2-policy.meta.js +0 -110
  434. package/build/es/src/events-v2-policy.meta.js.map +0 -1
  435. package/build/es/src/events-v2-policy.public.d.ts +0 -25
  436. package/build/es/src/events-v2-policy.public.js +0 -34
  437. package/build/es/src/events-v2-policy.public.js.map +0 -1
  438. package/build/es/src/events-v2-policy.types.d.ts +0 -405
  439. package/build/es/src/events-v2-policy.types.js +0 -53
  440. package/build/es/src/events-v2-policy.types.js.map +0 -1
  441. package/build/es/src/events-v2-policy.universal.d.ts +0 -654
  442. package/build/es/src/events-v2-policy.universal.js +0 -494
  443. package/build/es/src/events-v2-policy.universal.js.map +0 -1
@@ -1,3599 +0,0 @@
1
- export declare const __debug: {
2
- verboseLogging: {
3
- on: () => boolean;
4
- off: () => boolean;
5
- };
6
- };
7
- export interface Order {
8
- /** Unique order number. */
9
- orderNumber?: string;
10
- /** Reservation ID. */
11
- reservationId?: string;
12
- /**
13
- * Payment snapshot ID.
14
- * Empty for FREE order.
15
- * @readonly
16
- */
17
- snapshotId?: string;
18
- /** Event ID. */
19
- eventId?: string;
20
- /** Contact ID of buyer (resolved using email address). */
21
- contactId?: string;
22
- /** Member ID of buyer (if relevant). */
23
- memberId?: string;
24
- /**
25
- * RSVP created timestamp.
26
- * @readonly
27
- */
28
- created?: Date;
29
- /** Guest first name. */
30
- firstName?: string;
31
- /** Guest last name. */
32
- lastName?: string;
33
- /** Guest email. */
34
- email?: string;
35
- /** Checkout form response. When each purchased ticket is assigned to a guest, guest forms are returned for each ticket, and buyer info is returned. */
36
- checkoutForm?: FormResponse;
37
- /** Whether the order is confirmed (triggered once payment gateway processes the payment and funds reach the merchant's account). */
38
- confirmed?: boolean;
39
- /** Order status. */
40
- status?: OrderStatus;
41
- /** Payment method used for purchase, e.g., "payPal", "creditCard", etc. */
42
- method?: string;
43
- /** Tickets ordered. */
44
- ticketsQuantity?: number;
45
- /** Total order price. */
46
- totalPrice?: Money;
47
- /** URL to ticket PDF. */
48
- ticketsPdf?: string;
49
- /** Tickets (generated after payment). */
50
- tickets?: TicketingTicket[];
51
- /** Whether the order is archived. */
52
- archived?: boolean;
53
- /** Whether the order is anonymized by GDPR delete. */
54
- anonymized?: boolean;
55
- /** Guest full name. */
56
- fullName?: string;
57
- /** Order invoice. */
58
- invoice?: Invoice;
59
- /** Whether all tickets in order are checked-in. */
60
- fullyCheckedIn?: boolean;
61
- /** Internal order payment details */
62
- paymentDetails?: PaymentDetails;
63
- /** Checkout channel type */
64
- channel?: ChannelType;
65
- }
66
- export interface FormResponse {
67
- inputValues?: InputValue[];
68
- }
69
- export interface InputValue {
70
- inputName?: string;
71
- value?: string;
72
- values?: string[];
73
- }
74
- export interface FormattedAddress {
75
- /** One line address representation. */
76
- formatted?: string;
77
- /** Address components (optional). */
78
- address?: Address;
79
- }
80
- /** Physical address */
81
- export interface Address extends AddressStreetOneOf {
82
- /** Street name and number. */
83
- streetAddress?: StreetAddress;
84
- /** Main address line, usually street and number as free text. */
85
- addressLine1?: string | null;
86
- /** Country code. */
87
- country?: string | null;
88
- /** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
89
- subdivision?: string | null;
90
- /** City name. */
91
- city?: string | null;
92
- /** Zip/postal code. */
93
- postalCode?: string | null;
94
- /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
95
- addressLine2?: string | null;
96
- }
97
- /** @oneof */
98
- export interface AddressStreetOneOf {
99
- /** Street name and number. */
100
- streetAddress?: StreetAddress;
101
- /** Main address line, usually street and number as free text. */
102
- addressLine?: string | null;
103
- }
104
- export interface StreetAddress {
105
- /** Street number. */
106
- number?: string;
107
- /** Street name. */
108
- name?: string;
109
- }
110
- export interface AddressLocation {
111
- /** Address latitude. */
112
- latitude?: number | null;
113
- /** Address longitude. */
114
- longitude?: number | null;
115
- }
116
- export interface Subdivision {
117
- /** Short subdivision code. */
118
- code?: string;
119
- /** Subdivision full name. */
120
- name?: string;
121
- }
122
- export declare enum SubdivisionType {
123
- UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
124
- /** State */
125
- ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
126
- /** County */
127
- ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
128
- /** City/town */
129
- ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
130
- /** Neighborhood/quarter */
131
- ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
132
- /** Street/block */
133
- ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
134
- /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
135
- COUNTRY = "COUNTRY"
136
- }
137
- export declare enum OrderStatus {
138
- /** Order status not available for this request fieldset */
139
- NA_ORDER_STATUS = "NA_ORDER_STATUS",
140
- /** Order is confirmed, no payment required */
141
- FREE = "FREE",
142
- /** Order was paid but payment gateway suspended the payment. Eventually changes to PAID */
143
- PENDING = "PENDING",
144
- /** Order paid via payment gateway */
145
- PAID = "PAID",
146
- /** Order confirmed but has to be paid via offline payment and status manually updated to PAID */
147
- OFFLINE_PENDING = "OFFLINE_PENDING",
148
- /** Order is awaiting for payment in Cashier */
149
- INITIATED = "INITIATED",
150
- /** Order was canceled */
151
- CANCELED = "CANCELED",
152
- /** Order payment was declined */
153
- DECLINED = "DECLINED"
154
- }
155
- export interface Money {
156
- /** *Deprecated:** Use `value` instead. */
157
- amount?: string;
158
- /** ISO 4217 format of the currency i.e. `USD`. */
159
- currency?: string;
160
- /** Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, a single (-), to indicate that the amount is negative. */
161
- value?: string | null;
162
- }
163
- export interface TicketingTicket {
164
- /** Unique ticket number (issued automatically). */
165
- ticketNumber?: string;
166
- /** Associated order number. */
167
- orderNumber?: string;
168
- /** Ticket definition ID. */
169
- ticketDefinitionId?: string;
170
- /** Ticket name. */
171
- name?: string;
172
- /** Ticket price. */
173
- price?: Money;
174
- /**
175
- * Whether ticket requires payment.
176
- * @readonly
177
- */
178
- free?: boolean;
179
- /** Ticket policy (as displayed in PDF). */
180
- policy?: string;
181
- /** Deprecated, use `check_in_url`. */
182
- qrCode?: string;
183
- /** Ticket check-in. */
184
- checkIn?: CheckIn;
185
- /** Associated order status. */
186
- orderStatus?: OrderStatus;
187
- /** Whether order and ticket are visible in order list. */
188
- orderArchived?: boolean;
189
- /** Buyer full name. */
190
- orderFullName?: string;
191
- /** Guest full name. */
192
- guestFullName?: string | null;
193
- /** Guest personal details. */
194
- guestDetails?: GuestDetails;
195
- /** Whether ticket is visible in guest list. */
196
- archived?: boolean;
197
- /** Deprecated, use `ticket_pdf_url`. */
198
- ticketPdf?: string;
199
- /** Ticket owner member ID. */
200
- memberId?: string | null;
201
- /**
202
- * Whether ticket was anonymized by GDPR delete.
203
- * Anonymized tickets no longer contain personally identifiable information (PII).
204
- */
205
- anonymized?: boolean;
206
- /**
207
- * Ticket check-in URL.
208
- * Shown as QR code image in PDF.
209
- * Format: `https://www.wixevents.com/check-in/{ticket number},{event id}`
210
- * Example: `https://www.wixevents.com/check-in/AAAA-AAAA-BB021,00000000-0000-0000-0000-000000000000`
211
- */
212
- checkInUrl?: string;
213
- /** URL for ticket PDF download. */
214
- ticketPdfUrl?: string;
215
- /** Associated order checkout channel type */
216
- channel?: ChannelType;
217
- /**
218
- * URL to download ticket in .pkpass format for Apple Wallet
219
- * @readonly
220
- */
221
- walletPassUrl?: string;
222
- }
223
- export interface CheckIn {
224
- /** Time of check-in */
225
- created?: Date;
226
- }
227
- export interface GuestDetails {
228
- /** Whether ticket belongs to assigned guest. */
229
- guestAssigned?: boolean;
230
- /** Guest first name. */
231
- firstName?: string | null;
232
- /** Guest last name. */
233
- lastName?: string | null;
234
- /** Guest email. */
235
- email?: string | null;
236
- /** Full form response. */
237
- form?: FormResponse;
238
- /** Contact ID associated with this guest. */
239
- contactId?: string | null;
240
- }
241
- export declare enum ChannelType {
242
- /** Buyer created order via one of the online channels (website, mobile app, etc.) */
243
- ONLINE = "ONLINE",
244
- /** Order created and money collected by the sales person */
245
- OFFLINE_POS = "OFFLINE_POS"
246
- }
247
- export interface TicketDetails {
248
- /** Unique seat id in the event venue. */
249
- seatId?: string | null;
250
- /**
251
- * Optional sector label.
252
- * @readonly
253
- */
254
- sectionLabel?: string | null;
255
- /**
256
- * Area label.
257
- * @readonly
258
- */
259
- areaLabel?: string | null;
260
- /**
261
- * Table label.
262
- * @readonly
263
- */
264
- tableLabel?: string | null;
265
- /**
266
- * Row label.
267
- * @readonly
268
- */
269
- rowLabel?: string | null;
270
- /**
271
- * Seat label in a row or table.
272
- * @readonly
273
- */
274
- seatLabel?: string | null;
275
- /** Number of places in the spot. If not provided - defaults to 1. */
276
- capacity?: number | null;
277
- /** Custom pricing of ticket. */
278
- priceOverride?: string | null;
279
- /** Pricing option id. */
280
- pricingOptionId?: string | null;
281
- /**
282
- * Pricing option name.
283
- * @readonly
284
- */
285
- pricingOptionName?: string | null;
286
- }
287
- export interface Invoice {
288
- /** Items listed in the invoice. */
289
- items?: Item[];
290
- /** Total cart amount. */
291
- total?: Money;
292
- /** Discount applied to cart. */
293
- discount?: Discount;
294
- /** Tax applied to cart. */
295
- tax?: Tax;
296
- /** Total cart amount before discount, tax, and fees. */
297
- subTotal?: Money;
298
- /**
299
- * Total amount of cart after discount, tax, and fees.
300
- * Grand total is calculated in the following order:
301
- * 1. Total prices of all items in the cart are calculated.
302
- * 2. Discount is subtracted from the cart (if applicable).
303
- * 3. Tax is added (if applicable).
304
- * 4. Wix service fee is added.
305
- */
306
- grandTotal?: Money;
307
- /**
308
- * Fees applied to the cart.
309
- * @readonly
310
- */
311
- fees?: Fee[];
312
- /** Total revenue, excluding fees. (Taxes and payment provider fees are not deducted). */
313
- revenue?: Money;
314
- /** URL to invoice preview. Returned only if order is paid. */
315
- previewUrl?: string | null;
316
- }
317
- export interface Item {
318
- /** Unique line item ID. */
319
- _id?: string;
320
- /** Line item quantity. */
321
- quantity?: number;
322
- /** Line item mame. */
323
- name?: string;
324
- /** Line item price. */
325
- price?: Money;
326
- /** Total price for line items. Always equal to price * quantity. */
327
- total?: Money;
328
- /** Discount applied to the line item. */
329
- discount?: Discount;
330
- /** Tax applied to the item. */
331
- tax?: Tax;
332
- /**
333
- * Fees applied to the item.
334
- * @readonly
335
- */
336
- fees?: Fee[];
337
- }
338
- export interface Discount {
339
- /** Total discount amount. */
340
- amount?: Money;
341
- /** Total charge after applied discount. */
342
- afterDiscount?: Money;
343
- /** Discount coupon code. */
344
- code?: string;
345
- /** Discount coupon name. */
346
- name?: string;
347
- /** Discount coupon ID. */
348
- couponId?: string;
349
- /** Discount items. */
350
- discounts?: DiscountItem[];
351
- }
352
- export interface DiscountItem extends DiscountItemDiscountOneOf {
353
- /** Coupon discount. */
354
- coupon?: CouponDiscount;
355
- /** Pricing plan discount. */
356
- paidPlan?: PaidPlanDiscount;
357
- /** Total discount amount. */
358
- amount?: Money;
359
- }
360
- /** @oneof */
361
- export interface DiscountItemDiscountOneOf {
362
- /** Coupon discount. */
363
- coupon?: CouponDiscount;
364
- /** Pricing plan discount. */
365
- paidPlan?: PaidPlanDiscount;
366
- }
367
- export interface CouponDiscount {
368
- /** Discount coupon name. */
369
- name?: string;
370
- /** Discount coupon code. */
371
- code?: string;
372
- /** Discount coupon ID. */
373
- couponId?: string;
374
- }
375
- export interface PaidPlanDiscount extends PaidPlanDiscountDiscountOneOf {
376
- /** Discount by percentage applied to tickets. */
377
- percentDiscount?: PercentDiscount;
378
- /** Name of pricing plan. */
379
- name?: string;
380
- }
381
- /** @oneof */
382
- export interface PaidPlanDiscountDiscountOneOf {
383
- /** Discount by percentage applied to tickets. */
384
- percentDiscount?: PercentDiscount;
385
- }
386
- export interface PercentDiscount {
387
- /** Percent rate. */
388
- rate?: string;
389
- /** Number of discounted tickets. */
390
- quantityDiscounted?: number;
391
- }
392
- export interface Tax {
393
- /** Tax type. */
394
- type?: TaxType;
395
- /**
396
- * Tax name.
397
- * @readonly
398
- */
399
- name?: string;
400
- /** Tax rate. */
401
- rate?: string;
402
- /** Taxable amount. */
403
- taxable?: Money;
404
- /** Total tax amount. */
405
- amount?: Money;
406
- }
407
- export declare enum TaxType {
408
- /** Tax is included in the ticket price */
409
- INCLUDED = "INCLUDED",
410
- /** Tax is added to the order at the checkout */
411
- ADDED = "ADDED",
412
- /** Tax is added to the final total at the checkout */
413
- ADDED_AT_CHECKOUT = "ADDED_AT_CHECKOUT"
414
- }
415
- export interface Fee {
416
- /** Fee identifier. */
417
- name?: FeeName;
418
- /** How fee is calculated. */
419
- type?: FeeType;
420
- /**
421
- * Fee rate.
422
- * @readonly
423
- */
424
- rate?: string;
425
- /** Total amount of fee charges. */
426
- amount?: Money;
427
- }
428
- export declare enum FeeName {
429
- /** Wix service fee charges applied to the line item. */
430
- WIX_FEE = "WIX_FEE"
431
- }
432
- export declare enum FeeType {
433
- /** Fee is added to the ticket price at checkout */
434
- FEE_ADDED = "FEE_ADDED",
435
- /** Seller absorbs the fee. It is deducted from the ticket price */
436
- FEE_INCLUDED = "FEE_INCLUDED",
437
- /** Fee is added to the ticket price at checkout */
438
- FEE_ADDED_AT_CHECKOUT = "FEE_ADDED_AT_CHECKOUT"
439
- }
440
- export interface PaymentDetails {
441
- /** Wix Payments transaction */
442
- transaction?: PaymentTransaction;
443
- }
444
- export interface PaymentTransaction {
445
- /**
446
- * Wix Payments transaction id
447
- * @readonly
448
- */
449
- transactionId?: string;
450
- /**
451
- * Transaction Payment method e.g., "payPal", "creditCard", etc.
452
- * @readonly
453
- */
454
- method?: string;
455
- }
456
- export interface OrderDeleted {
457
- /** Order deleted timestamp in ISO UTC format. */
458
- timestamp?: Date;
459
- /** Event ID. */
460
- eventId?: string;
461
- /** Unique order number. */
462
- orderNumber?: string;
463
- /** Contact ID associated with this order */
464
- contactId?: string;
465
- /** Member ID associated with this order. */
466
- memberId?: string | null;
467
- /**
468
- * Order created timestamp.
469
- * @readonly
470
- */
471
- created?: Date;
472
- /**
473
- * Order updated timestamp.
474
- * @readonly
475
- */
476
- updated?: Date;
477
- /** Whether order was anonymized by GDPR delete. */
478
- anonymized?: boolean;
479
- /** Order type. */
480
- orderType?: OrderType;
481
- /** Whether event was triggered by GDPR delete request. */
482
- triggeredByAnonymizeRequest?: boolean;
483
- /** Tickets generated after payment. */
484
- tickets?: Ticket[];
485
- }
486
- export declare enum OrderType {
487
- /** Buyer form is used for all tickets */
488
- UNASSIGNED_TICKETS = "UNASSIGNED_TICKETS",
489
- /** Each order ticket has its own form */
490
- ASSIGNED_TICKETS = "ASSIGNED_TICKETS"
491
- }
492
- export interface Ticket {
493
- /** Unique issued ticket number. */
494
- ticketNumber?: string;
495
- /** Ticket definition ID. */
496
- ticketDefinitionId?: string;
497
- /** Ticket check-in. */
498
- checkIn?: CheckIn;
499
- /** Ticket price. */
500
- price?: Money;
501
- /** Whether ticket is archived. */
502
- archived?: boolean;
503
- /** Guest first name. */
504
- firstName?: string | null;
505
- /** Guest last name. */
506
- lastName?: string | null;
507
- /** Guest email. */
508
- email?: string | null;
509
- /** Contact ID associated with this ticket. */
510
- contactId?: string | null;
511
- /** Whether ticket is confirmed */
512
- confirmed?: boolean;
513
- /** Member ID associated with this ticket. */
514
- memberId?: string | null;
515
- /** Ticket form response (only assigned tickets contain separate forms). */
516
- form?: FormResponse;
517
- /** Ticket name. */
518
- ticketName?: string;
519
- /** Anonymized tickets no longer contain personally identifiable information (PII). */
520
- anonymized?: boolean;
521
- /** URL and password to online conference */
522
- onlineConferencingLogin?: OnlineConferencingLogin;
523
- }
524
- export interface OnlineConferencingLogin {
525
- /**
526
- * Link URL to the online conference.
527
- * @readonly
528
- */
529
- link?: string;
530
- /**
531
- * Password for the online conference.
532
- * @readonly
533
- */
534
- password?: string | null;
535
- }
536
- export interface ListOrdersRequest {
537
- /** Offset. */
538
- offset?: number;
539
- /** Limit. */
540
- limit?: number;
541
- /**
542
- * Predefined sets of fields to return.
543
- * - `TICKETS`: Returns `tickets`.
544
- * - `DETAILS`: Returns `reservationId`, `snapshotId`, `created`, `firstName`, `lastName`, `confirmed`, `status`, `method`, `ticketsQuantity`, `totalPrice`, `ticketsPdf`, `archived`, `fullName`.
545
- * - `FORM` : Returns `checkoutForm`.
546
- * - `INVOICE`: Returns `invoice`.
547
- *
548
- * Default: If `fieldset` is omitted from the request, `orderNumber`, `eventId`, `contactId`, `memberId`, `anonymized`, `fullyCheckedIn`.
549
- *
550
- */
551
- fieldset?: OrderFieldset[];
552
- /** Status. */
553
- status?: OrderStatus[];
554
- /** Event ID. */
555
- eventId?: string[];
556
- /** Order number. */
557
- orderNumber?: string[];
558
- /** Site member ID. */
559
- memberId?: string[];
560
- /** Field facets, */
561
- facet?: string[];
562
- /** Textual search filter - search is performed on `"full_name"`, `"email"` and `"order_number"`. */
563
- searchPhrase?: string;
564
- /** Event creator ID. */
565
- eventCreatorId?: string[];
566
- /**
567
- * Sort order. Defaults to "created:asc".
568
- * See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-orders).
569
- */
570
- sort?: string;
571
- /** Order tag. */
572
- tag?: OrderTag[];
573
- }
574
- export declare enum OrderFieldset {
575
- /** Include tickets in response */
576
- TICKETS = "TICKETS",
577
- /** Include order details: status, first_name, last_name, email, created, etc. */
578
- DETAILS = "DETAILS",
579
- /** Include checkout_form */
580
- FORM = "FORM",
581
- /** Include invoice */
582
- INVOICE = "INVOICE"
583
- }
584
- export declare enum OrderTag {
585
- /** Return only confirmed orders */
586
- CONFIRMED = "CONFIRMED",
587
- /** Return only unconfirmed orders */
588
- UNCONFIRMED = "UNCONFIRMED",
589
- /** Return only member orders */
590
- MEMBER = "MEMBER",
591
- /** Return only archived orders */
592
- ARCHIVED = "ARCHIVED",
593
- /** Return only non archived orders */
594
- NON_ARCHIVED = "NON_ARCHIVED",
595
- /** Return only orders with all guests checked-in */
596
- FULLY_CHECKED_IN = "FULLY_CHECKED_IN",
597
- /** Return only orders with no guests checked-in */
598
- NOT_FULLY_CHECKED_IN = "NOT_FULLY_CHECKED_IN"
599
- }
600
- export interface ListOrdersResponse {
601
- /** Total orders matching the given filters. */
602
- total?: number;
603
- /** Offset. */
604
- offset?: number;
605
- /** Limit. */
606
- limit?: number;
607
- /** Orders. */
608
- orders?: Order[];
609
- /** Filter facets. */
610
- facets?: Record<string, FacetCounts>;
611
- /** Order data enriched facets. */
612
- orderFacets?: OrderFacets;
613
- }
614
- export interface FacetCounts {
615
- /** Facet counts aggregated per value */
616
- counts?: Record<string, number>;
617
- }
618
- export interface OrderFacets {
619
- /** Filter facets. */
620
- facets?: Record<string, OrderFacetCounts>;
621
- }
622
- export interface OrderFacetCounts {
623
- /** Facet counts aggregated per value */
624
- counts?: Record<string, Counts>;
625
- }
626
- export interface Counts {
627
- /** Number or orders */
628
- count?: number;
629
- /** Number of tickets within orders */
630
- tickets?: number;
631
- /** Number of tickets with check-in */
632
- ticketsCheckIn?: number;
633
- }
634
- export interface GetOrderRequest {
635
- /** Event ID. */
636
- eventId: string;
637
- /** Unique order number. */
638
- orderNumber: string;
639
- /**
640
- * Predefined sets of fields to return.
641
- * - `TICKETS`: Returns `tickets`.
642
- * - `DETAILS`: Returns `reservationId`, `snapshotId`, `created`, `firstName`, `lastName`, `confirmed`, `status`, `method`, `ticketsQuantity`, `totalPrice`, `ticketsPdf`, `archived`, `fullName`.
643
- * - `FORM` : Returns `checkoutForm`.
644
- * - `INVOICE`: Returns `invoice`.
645
- *
646
- * Default: If `fieldset` is omitted from the request, `orderNumber`, `eventId`, `contactId`, `memberId`, `anonymized`, `fullyCheckedIn`.
647
- */
648
- fieldset?: OrderFieldset[];
649
- }
650
- export interface GetOrderResponse {
651
- /** Requested order. */
652
- order?: Order;
653
- /** "Add to calendar" links. */
654
- calendarLinks?: CalendarLinks;
655
- }
656
- export interface CalendarLinks {
657
- /** "Add to Google calendar" URL. */
658
- google?: string;
659
- /** "Download ICS calendar file" URL. */
660
- ics?: string;
661
- }
662
- export interface UpdateOrderRequest {
663
- /** Event ID. */
664
- eventId: string;
665
- /** Unique order number. */
666
- orderNumber: string;
667
- /** Checkout form. */
668
- checkoutForm?: FormResponse;
669
- /** Whether order is archived. */
670
- archived?: boolean;
671
- }
672
- export interface UpdateOrderResponse {
673
- /** Updated order. */
674
- order?: Order;
675
- }
676
- export interface OrderUpdated {
677
- /** Order updated timestamp in ISO UTC format. */
678
- timestamp?: Date;
679
- /** Site language when Order initiated */
680
- language?: string | null;
681
- /** Locale in which Order was created. */
682
- locale?: string | null;
683
- /** Event ID. */
684
- eventId?: string;
685
- /** Unique order number. */
686
- orderNumber?: string;
687
- /** Contact ID associated with this order. */
688
- contactId?: string;
689
- /** Member ID associated with this order. */
690
- memberId?: string | null;
691
- /**
692
- * Order created timestamp.
693
- * @readonly
694
- */
695
- created?: Date;
696
- /**
697
- * Order updated timestamp.
698
- * @readonly
699
- */
700
- updated?: Date;
701
- /** Buyer first name. */
702
- firstName?: string;
703
- /** Buyer last name. */
704
- lastName?: string;
705
- /** Buyer email. */
706
- email?: string;
707
- /** Checkout form response. */
708
- checkoutForm?: FormResponse;
709
- /** Whether order is confirmed - occurs once payment gateway processes the payment and funds reach merchant's account. */
710
- confirmed?: boolean;
711
- /** Order status. */
712
- status?: OrderStatus;
713
- /** Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc. */
714
- method?: string | null;
715
- /** Tickets generated after payment. */
716
- tickets?: Ticket[];
717
- /** Whether order was archived and excluded from results. */
718
- archived?: boolean;
719
- /** Whether event was triggered by GDPR delete request. */
720
- triggeredByAnonymizeRequest?: boolean;
721
- }
722
- export interface BulkUpdateOrdersRequest {
723
- /** Event ID. */
724
- eventId: string;
725
- orderNumber?: string[];
726
- /** Whether to archive the order. */
727
- archived?: boolean;
728
- }
729
- export interface BulkUpdateOrdersResponse {
730
- /** Updated orders. */
731
- orders?: Order[];
732
- }
733
- export interface ConfirmOrderRequest {
734
- /** Event ID. */
735
- eventId: string;
736
- /** Order numbers. */
737
- orderNumber?: string[];
738
- }
739
- export interface ConfirmOrderResponse {
740
- /** Confirmed orders. */
741
- orders?: Order[];
742
- }
743
- export interface GetSummaryRequest {
744
- /** Event ID. */
745
- eventId?: string | null;
746
- }
747
- export interface GetSummaryResponse {
748
- /** Ticket sales grouped by currency. */
749
- sales?: TicketSales[];
750
- }
751
- export interface TicketSales {
752
- /** Total balance of confirmed transactions. */
753
- total?: Money;
754
- /** Total number of confirmed orders. */
755
- totalOrders?: number;
756
- /** Total number of tickets purchased. */
757
- totalTickets?: number;
758
- /** Total revenue, excluding fees (taxes and payment provider fees are not deducted). */
759
- revenue?: Money;
760
- }
761
- export interface GetInvoicePreviewRequest {
762
- /** Event ID. */
763
- eventId?: string;
764
- /** Order number. */
765
- orderNumber?: string;
766
- }
767
- export interface RawHttpResponse {
768
- body?: Uint8Array;
769
- statusCode?: number | null;
770
- headers?: HeadersEntry[];
771
- }
772
- export interface HeadersEntry {
773
- key?: string;
774
- value?: string;
775
- }
776
- export interface GetPaymentInfoRequest {
777
- /** Event ID. */
778
- eventId?: string;
779
- /** Order number. */
780
- orderNumber?: string;
781
- }
782
- export interface GetPaymentInfoResponse {
783
- transactions?: PaymentTransactionSummary[];
784
- status?: string | null;
785
- /** @readonly */
786
- transactionId?: string | null;
787
- }
788
- export interface PaymentTransactionSummary {
789
- /**
790
- * Wix Payments transaction id
791
- * @readonly
792
- */
793
- transactionId?: string;
794
- /**
795
- * Final transaction status
796
- * @readonly
797
- */
798
- finalTransactionStatus?: string;
799
- /** Transaction events */
800
- events?: PaymentTransactionEvent[];
801
- }
802
- export interface PaymentTransactionEvent {
803
- /**
804
- * Order snapshot id
805
- * @readonly
806
- */
807
- snapshotId?: string;
808
- /**
809
- * Transaction status
810
- * @readonly
811
- */
812
- transactionStatus?: string;
813
- /**
814
- * Transaction Payment method e.g., "payPal", "creditCard", etc.
815
- * @readonly
816
- */
817
- paymentMethod?: string;
818
- /**
819
- * Transaction payment amount
820
- * @readonly
821
- */
822
- paymentAmount?: Money;
823
- /**
824
- * Crated date
825
- * @readonly
826
- */
827
- _createdDate?: Date;
828
- /**
829
- * Reason code
830
- * @readonly
831
- */
832
- reasonCode?: string | null;
833
- /**
834
- * Refunded amount
835
- * @readonly
836
- */
837
- refundedAmount?: Money;
838
- }
839
- export interface OrderConfirmed {
840
- /** Order confirmation timestamp in ISO UTC. */
841
- timestamp?: Date;
842
- /** Site language when Order initiated */
843
- language?: string | null;
844
- /** Notifications silenced for this domain event. */
845
- silent?: boolean | null;
846
- /** Locale in which Order was created. */
847
- locale?: string | null;
848
- /** Event ID. */
849
- eventId?: string;
850
- /** Unique order number. */
851
- orderNumber?: string;
852
- /** Contact ID associated with this order. */
853
- contactId?: string;
854
- /** Member ID associated with this order. */
855
- memberId?: string | null;
856
- /**
857
- * Order created timestamp
858
- * @readonly
859
- */
860
- created?: Date;
861
- /** Buyer first name. */
862
- firstName?: string;
863
- /** Buyer last name. */
864
- lastName?: string;
865
- /** Buyer email address. */
866
- email?: string;
867
- /** Checkout form response. */
868
- checkoutForm?: FormResponse;
869
- /** Order status. */
870
- status?: OrderStatus;
871
- /** Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc. */
872
- method?: string | null;
873
- /** Tickets (generated after payment). */
874
- tickets?: Ticket[];
875
- /** Invoice. */
876
- invoice?: Invoice;
877
- /** Reservation ID associated with this order. */
878
- reservationId?: string;
879
- }
880
- export interface OrderPaid {
881
- /** Order paid timestamp in ISO UTC. */
882
- timestamp?: Date;
883
- /** Event ID. */
884
- eventId?: string;
885
- /** Unique order number. */
886
- orderNumber?: string;
887
- /** Reservation ID associated with this order. */
888
- reservationId?: string;
889
- }
890
- export interface ReservationCreated {
891
- /** Reservation created timestamp in ISO UTC format. */
892
- timestamp?: Date;
893
- /** Event ID. */
894
- eventId?: string;
895
- /**
896
- * Reservation ID.
897
- * Can be used to retrieve a reservation invoice.
898
- */
899
- reservationId?: string;
900
- /** Reservation expiration timestamp. */
901
- expires?: Date;
902
- /** Reservation status. */
903
- status?: ReservationStatus;
904
- /** Reservation ticket quantities. */
905
- quantities?: TicketQuantity[];
906
- /** Reservation update timestamp. */
907
- _updatedDate?: Date;
908
- }
909
- export declare enum ReservationStatus {
910
- /**
911
- * Reservation is pending confirmation.
912
- * The reservation will expire after the expiration due time.
913
- */
914
- RESERVATION_PENDING = "RESERVATION_PENDING",
915
- /** The reservation was confirmed and will not expire. */
916
- RESERVATION_CONFIRMED = "RESERVATION_CONFIRMED",
917
- /** The reservation was canceled because of non payment. */
918
- RESERVATION_CANCELED = "RESERVATION_CANCELED",
919
- /** The reservation was canceled manually by the buyer. */
920
- RESERVATION_CANCELED_MANUALLY = "RESERVATION_CANCELED_MANUALLY",
921
- /** The reservation has expired. */
922
- RESERVATION_EXPIRED = "RESERVATION_EXPIRED"
923
- }
924
- export interface TicketQuantity {
925
- /** Ticket definition ID. */
926
- ticketDefinitionId?: string | null;
927
- /** Quantity. */
928
- quantity?: number | null;
929
- /** Quantity update timestamp. */
930
- _updatedDate?: Date;
931
- }
932
- export interface ReservationUpdated {
933
- /** Reservation updated timestamp. */
934
- timestamp?: Date;
935
- /** Event ID. */
936
- eventId?: string;
937
- /**
938
- * Reservation ID.
939
- * Can be used to retrieve a reservation invoice.
940
- */
941
- reservationId?: string;
942
- /** Reservation status. */
943
- status?: ReservationStatus;
944
- /** Reservation expiration timestamp. */
945
- expires?: Date;
946
- /** Reservation ticket quantities. */
947
- quantities?: TicketQuantity[];
948
- /** Reservation update timestamp. */
949
- _updatedDate?: Date;
950
- }
951
- export interface GetCheckoutOptionsRequest {
952
- }
953
- export interface GetCheckoutOptionsResponse {
954
- /** Whether any payment method is configured and available for payment. */
955
- paymentMethodConfigured?: boolean;
956
- /** Whether coupons are accepted at checkout. */
957
- acceptCoupons?: boolean;
958
- /** Whether premium services are enabled. Enabled for free if site does not sell any paid tickets. Selling tickets for a fee requires a premium feature "events_sell_tickets". */
959
- premiumServices?: boolean;
960
- /** Whether there are any paid tickets available for sale. */
961
- paidTickets?: boolean;
962
- }
963
- export interface ListAvailableTicketsRequest {
964
- /** Event ID. If not provided, available tickets for all events in the site will be returned. */
965
- eventId?: string;
966
- /** Offset. */
967
- offset?: number;
968
- /** Limit. */
969
- limit?: number;
970
- /**
971
- * Sort order, defaults to "created:asc".
972
- * See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-available-tickets).
973
- */
974
- sort?: string;
975
- state?: State[];
976
- }
977
- export declare enum State {
978
- INCLUDE_HIDDEN_NOT_ON_SALE = "INCLUDE_HIDDEN_NOT_ON_SALE"
979
- }
980
- export interface ListAvailableTicketsResponse {
981
- /** Ticket definitions meta data. */
982
- metaData?: ResponseMetaData;
983
- /** Ticket definitions. */
984
- definitions?: TicketDefinition[];
985
- }
986
- export interface ResponseMetaData {
987
- /** Number of items in the response. */
988
- count?: number;
989
- /** Offset of items. */
990
- offset?: number;
991
- /** Total number of matching items. */
992
- total?: number;
993
- }
994
- export interface TicketDefinition {
995
- /** Ticket definition ID. */
996
- _id?: string;
997
- /** Ticket price. */
998
- price?: Money;
999
- /** Whether the ticket is free (read only). */
1000
- free?: boolean;
1001
- /** Ticket name. */
1002
- name?: string;
1003
- /** Ticket description. */
1004
- description?: string;
1005
- /**
1006
- * Limit of tickets that can be purchased per checkout.
1007
- * Set to 20 for unlimited ticket definition.
1008
- */
1009
- limitPerCheckout?: number;
1010
- /** Custom sort index. */
1011
- orderIndex?: number;
1012
- /** Policy information plain text block, as printed on the ticket. */
1013
- policy?: string;
1014
- /** Sensitive dashboard data. */
1015
- dashboard?: Dashboard;
1016
- /** Event ID associated with the ticket. */
1017
- eventId?: string;
1018
- /**
1019
- * Configuration of the fixed-rate Wix service fee that is applied at checkout to each ticket sold.
1020
- * @readonly
1021
- */
1022
- wixFeeConfig?: WixFeeConfig;
1023
- /** Ticket sale period. */
1024
- salePeriod?: TicketSalePeriod;
1025
- /**
1026
- * Ticket sale status.
1027
- * @readonly
1028
- */
1029
- saleStatus?: TicketSaleStatus;
1030
- /** Ticket state. */
1031
- state?: State[];
1032
- /** Ticket pricing. */
1033
- pricing?: TicketPricing;
1034
- }
1035
- export interface Dashboard {
1036
- /** Whether ticket is hidden and cannot be sold. */
1037
- hidden?: boolean;
1038
- /** Number of tickets sold and reserved. */
1039
- sold?: number;
1040
- /** Whether the ticket has limited quantity. */
1041
- limited?: boolean;
1042
- /** Ticket limit. `NULL` for unlimited ticket definitions. */
1043
- quantity?: number | null;
1044
- /** Number of unsold tickets. `NULL` for unlimited ticket definitions. */
1045
- unsold?: number | null;
1046
- /** Number of tickets sold. */
1047
- ticketsSold?: number;
1048
- /** Number of tickets reserved. */
1049
- ticketsReserved?: number;
1050
- }
1051
- export interface WixFeeConfig {
1052
- /** Fee calculation method. */
1053
- type?: FeeType;
1054
- }
1055
- export interface TicketSalePeriod {
1056
- /** Ticket sale start timestamp. */
1057
- startDate?: Date;
1058
- /** Ticket sale end timestamp. */
1059
- endDate?: Date;
1060
- /** Whether to hide this ticket if it's not on sale */
1061
- hideNotOnSale?: boolean;
1062
- }
1063
- export declare enum TicketSaleStatus {
1064
- /** Ticket sale is scheduled to start */
1065
- SALE_SCHEDULED = "SALE_SCHEDULED",
1066
- /** Ticket sale has started */
1067
- SALE_STARTED = "SALE_STARTED",
1068
- /** Ticket sale has ended */
1069
- SALE_ENDED = "SALE_ENDED"
1070
- }
1071
- export interface TicketPricing extends TicketPricingPriceOneOf {
1072
- /** Ticket price which is read only. */
1073
- fixedPrice?: Money;
1074
- /** Min price per ticket, customizable. */
1075
- minPrice?: Money;
1076
- /** Ticket pricing options. */
1077
- pricingOptions?: PricingOptions;
1078
- /**
1079
- * Ticket pricing type.
1080
- * @readonly
1081
- */
1082
- pricingType?: Type;
1083
- }
1084
- /** @oneof */
1085
- export interface TicketPricingPriceOneOf {
1086
- /** Ticket price which is read only. */
1087
- fixedPrice?: Money;
1088
- /** Min price per ticket, customizable. */
1089
- minPrice?: Money;
1090
- /** Ticket pricing options. */
1091
- pricingOptions?: PricingOptions;
1092
- }
1093
- export interface PricingOptions {
1094
- /** Multiple ticket pricing options. */
1095
- options?: PricingOption[];
1096
- }
1097
- export interface PricingOption {
1098
- /** Ticket pricing option ID. */
1099
- _id?: string | null;
1100
- /** Ticket pricing option name. */
1101
- name?: string | null;
1102
- /** Ticket pricing option price. */
1103
- price?: Money;
1104
- }
1105
- export declare enum Type {
1106
- STANDARD = "STANDARD",
1107
- DONATION = "DONATION"
1108
- }
1109
- export interface QueryAvailableTicketsRequest {
1110
- /** Offset. */
1111
- offset?: number;
1112
- /** Limit. */
1113
- limit?: number;
1114
- /** Ticket definition. */
1115
- filter?: Record<string, any> | null;
1116
- fieldset?: TicketDefinitionFieldset[];
1117
- /** Sort order, defaults to "created:asc". */
1118
- sort?: string;
1119
- }
1120
- export declare enum TicketDefinitionFieldset {
1121
- /** Include policy in the response. */
1122
- POLICY = "POLICY",
1123
- /** Include dashboard in the response. */
1124
- DASHBOARD = "DASHBOARD"
1125
- }
1126
- export interface QueryAvailableTicketsResponse {
1127
- /** Ticket definitions meta data. */
1128
- metaData?: ResponseMetaData;
1129
- /** Ticket definitions. */
1130
- definitions?: TicketDefinition[];
1131
- }
1132
- export interface CreateReservationRequest {
1133
- /** Event ID. */
1134
- eventId: string;
1135
- /** Tickets to reserve. */
1136
- ticketQuantities?: TicketReservationQuantity[];
1137
- /** Whether to ignore the available ticket limits upon reservation. */
1138
- ignoreLimits?: boolean;
1139
- /** Whether to allow reservation for hidden tickets. */
1140
- allowHiddenTickets?: boolean;
1141
- }
1142
- export interface TicketReservationQuantity {
1143
- /** Ticket definition ID. */
1144
- ticketDefinitionId?: string;
1145
- /** Quantity of tickets to reserve. */
1146
- quantity?: number;
1147
- /** Ticket price to charge - overriding the ticket price. */
1148
- priceOverride?: string | null;
1149
- /** Optional ticket details */
1150
- ticketDetails?: TicketDetails[];
1151
- }
1152
- export interface CreateReservationResponse {
1153
- /** Reservation ID. */
1154
- _id?: string;
1155
- /** Reservation expiration timestamp. */
1156
- expires?: Date;
1157
- /** Ticket reservations. */
1158
- reservations?: TicketReservation[];
1159
- /** Reservation invoice. */
1160
- invoice?: Invoice;
1161
- }
1162
- export interface TicketReservation {
1163
- /** Quantity of reserved tickets. */
1164
- quantity?: number;
1165
- /** An object containing ticket information. */
1166
- ticket?: TicketDefinition;
1167
- /** Optional ticket details. */
1168
- ticketDetails?: TicketDetails[];
1169
- }
1170
- export interface CancelReservationRequest {
1171
- /** Event ID. */
1172
- eventId: string;
1173
- /** Reservation ID. */
1174
- _id: string;
1175
- }
1176
- export interface CancelReservationResponse {
1177
- }
1178
- export interface GetInvoiceRequest {
1179
- /** Event ID. */
1180
- eventId: string;
1181
- /** Reservation ID. */
1182
- reservationId: string;
1183
- /** Optional discount to be applied on the returned invoice. */
1184
- withDiscount?: DiscountRequest;
1185
- /** Optional benefit granted by the pricing plan to be applied on the returned invoice. */
1186
- paidPlanBenefit?: PaidPlanBenefit;
1187
- }
1188
- export interface DiscountRequest {
1189
- /** Discount coupon code. */
1190
- couponCode?: string;
1191
- }
1192
- export interface PaidPlanBenefit {
1193
- /** Pricing plan ID. */
1194
- planOrderId?: string;
1195
- /** Pricing plan benefit ID. */
1196
- benefitId?: string;
1197
- }
1198
- export interface GetInvoiceResponse {
1199
- /** Invoice with applied discount. */
1200
- invoice?: Invoice;
1201
- /** Discount errors, if relevant. */
1202
- discountErrors?: DiscountErrors;
1203
- /** Time when the reservation expires. */
1204
- expires?: Date;
1205
- /** Reservation status. */
1206
- reservationStatus?: ReservationStatus;
1207
- /** Whether this reservation is already used in checkout. */
1208
- reservationOccupied?: boolean;
1209
- /** Ticket reservations. */
1210
- reservations?: TicketReservation[];
1211
- }
1212
- export interface DiscountErrors {
1213
- /** Object containing error information. */
1214
- error?: Error[];
1215
- }
1216
- export interface Error {
1217
- /** A code identifying the error type. */
1218
- code?: string;
1219
- }
1220
- export interface CheckoutRequest {
1221
- /** Event ID. */
1222
- eventId: string;
1223
- /** Ticket reservation ID. */
1224
- reservationId?: string;
1225
- /** Member ID (if empty - no site member is associated to this order). */
1226
- memberId?: string;
1227
- /** Discount to apply on the invoice. */
1228
- discount?: DiscountRequest;
1229
- /** Buyer details. */
1230
- buyer?: Buyer;
1231
- /** Guest details. */
1232
- guests?: Guest[];
1233
- /** Benefit granted by the pricing plan. */
1234
- paidPlanBenefit?: PaidPlanBenefit;
1235
- /** Options controlling the checkout process. */
1236
- options?: CheckoutOptions;
1237
- }
1238
- export interface Buyer {
1239
- /** Buyer first name. */
1240
- firstName?: string;
1241
- /** Buyer last name. */
1242
- lastName?: string;
1243
- /** Buyer email. */
1244
- email?: string;
1245
- }
1246
- export interface Guest {
1247
- /** Specific guest info. */
1248
- form?: FormResponse;
1249
- }
1250
- export interface CheckoutOptions {
1251
- /** Whether to ignore settings to notify contacts or users. */
1252
- silent?: boolean;
1253
- /** Whether the payment is to be done in person between the buyer and the merchant. When true, the completed order is created with status OFFLINE_PENDING and inPerson payment method. */
1254
- payInPerson?: boolean;
1255
- /** Whether to ignore form validation. */
1256
- ignoreFormValidation?: boolean;
1257
- /** Marks payment as already paid */
1258
- markAsPaid?: boolean | null;
1259
- }
1260
- export interface CheckoutResponse {
1261
- /** Created order. */
1262
- order?: Order;
1263
- /** Time when the order expires, applies to orders with status = INITIATED. */
1264
- expires?: Date;
1265
- /** Ticket reservations. */
1266
- reservations?: TicketReservation[];
1267
- /** Order page url. */
1268
- orderPageUrl?: string | null;
1269
- }
1270
- export interface OrderInitiated {
1271
- /** Order initiated timestamp in ISO UTC format. */
1272
- timestamp?: Date;
1273
- /** Site language when Order initiated */
1274
- language?: string | null;
1275
- /** Locale in which Order was created. */
1276
- locale?: string | null;
1277
- /** Event ID. */
1278
- eventId?: string;
1279
- /** Unique order number. */
1280
- orderNumber?: string;
1281
- /** Contact ID associated with this order. */
1282
- contactId?: string;
1283
- /** Member ID associated with this order. */
1284
- memberId?: string | null;
1285
- /**
1286
- * Order created timestamp.
1287
- * @readonly
1288
- */
1289
- created?: Date;
1290
- /**
1291
- * Order updated timestamp.
1292
- * @readonly
1293
- */
1294
- updated?: Date;
1295
- /** Guest first name. */
1296
- firstName?: string;
1297
- /** Guest last name. */
1298
- lastName?: string;
1299
- /** Guest email address. */
1300
- email?: string;
1301
- /** Checkout form response. */
1302
- checkoutForm?: FormResponse;
1303
- /** Order status. */
1304
- status?: OrderStatus;
1305
- /** Invoice. */
1306
- invoice?: Invoice;
1307
- /** Reservation ID associated with this order. */
1308
- reservationId?: string;
1309
- /** Order was marked as paid. */
1310
- markedAsPaid?: boolean | null;
1311
- }
1312
- export interface UpdateCheckoutRequest {
1313
- /** Event ID. */
1314
- eventId: string;
1315
- /** Unique order number. */
1316
- orderNumber: string;
1317
- /** Buyer details. */
1318
- buyer?: Buyer;
1319
- /** Guest details. */
1320
- guests?: Guest[];
1321
- /** Member ID (if empty - no site member is associated to this order). */
1322
- memberId?: string | null;
1323
- /** Discount to apply on the invoice. */
1324
- discount?: DiscountRequest;
1325
- /** Benefit granted by the pricing plan. */
1326
- paidPlanBenefit?: PaidPlanBenefit;
1327
- }
1328
- export interface UpdateCheckoutResponse {
1329
- /** Updated order. */
1330
- order?: Order;
1331
- /** Order page url. */
1332
- orderPageUrl?: string | null;
1333
- }
1334
- export interface PosCheckoutRequest {
1335
- /** Event ID. */
1336
- eventId?: string;
1337
- /** Ticket reservation ID. */
1338
- reservationId?: string;
1339
- /**
1340
- * Payment details ID.
1341
- * Not required if reservation total is 0. In this case the order will be created with status Free and no payment.
1342
- */
1343
- paymentDetailsId?: string | null;
1344
- }
1345
- export interface PosCheckoutResponse {
1346
- /** Created order. */
1347
- order?: Order;
1348
- /** Time when the order expires, applies to orders with status = INITIATED. */
1349
- expires?: Date;
1350
- /** Ticket reservations. */
1351
- reservations?: TicketReservation[];
1352
- }
1353
- export interface ListOrdersResponseNonNullableFields {
1354
- total: number;
1355
- offset: number;
1356
- limit: number;
1357
- orders: {
1358
- orderNumber: string;
1359
- reservationId: string;
1360
- snapshotId: string;
1361
- eventId: string;
1362
- contactId: string;
1363
- memberId: string;
1364
- firstName: string;
1365
- lastName: string;
1366
- email: string;
1367
- checkoutForm?: {
1368
- inputValues: {
1369
- inputName: string;
1370
- value: string;
1371
- values: string[];
1372
- }[];
1373
- };
1374
- confirmed: boolean;
1375
- status: OrderStatus;
1376
- method: string;
1377
- ticketsQuantity: number;
1378
- totalPrice?: {
1379
- amount: string;
1380
- currency: string;
1381
- };
1382
- ticketsPdf: string;
1383
- tickets: {
1384
- ticketNumber: string;
1385
- orderNumber: string;
1386
- ticketDefinitionId: string;
1387
- name: string;
1388
- price?: {
1389
- amount: string;
1390
- currency: string;
1391
- };
1392
- free: boolean;
1393
- policy: string;
1394
- qrCode: string;
1395
- orderStatus: OrderStatus;
1396
- orderArchived: boolean;
1397
- orderFullName: string;
1398
- guestDetails?: {
1399
- guestAssigned: boolean;
1400
- form?: {
1401
- inputValues: {
1402
- inputName: string;
1403
- value: string;
1404
- values: string[];
1405
- }[];
1406
- };
1407
- };
1408
- archived: boolean;
1409
- ticketPdf: string;
1410
- anonymized: boolean;
1411
- checkInUrl: string;
1412
- ticketPdfUrl: string;
1413
- channel: ChannelType;
1414
- walletPassUrl: string;
1415
- }[];
1416
- archived: boolean;
1417
- anonymized: boolean;
1418
- fullName: string;
1419
- invoice?: {
1420
- items: {
1421
- _id: string;
1422
- quantity: number;
1423
- name: string;
1424
- price?: {
1425
- amount: string;
1426
- currency: string;
1427
- };
1428
- total?: {
1429
- amount: string;
1430
- currency: string;
1431
- };
1432
- discount?: {
1433
- amount?: {
1434
- amount: string;
1435
- currency: string;
1436
- };
1437
- afterDiscount?: {
1438
- amount: string;
1439
- currency: string;
1440
- };
1441
- code: string;
1442
- name: string;
1443
- couponId: string;
1444
- discounts: {
1445
- coupon?: {
1446
- name: string;
1447
- code: string;
1448
- couponId: string;
1449
- };
1450
- paidPlan?: {
1451
- percentDiscount?: {
1452
- rate: string;
1453
- quantityDiscounted: number;
1454
- };
1455
- name: string;
1456
- };
1457
- amount?: {
1458
- amount: string;
1459
- currency: string;
1460
- };
1461
- }[];
1462
- };
1463
- tax?: {
1464
- type: TaxType;
1465
- name: string;
1466
- rate: string;
1467
- taxable?: {
1468
- amount: string;
1469
- currency: string;
1470
- };
1471
- amount?: {
1472
- amount: string;
1473
- currency: string;
1474
- };
1475
- };
1476
- fees: {
1477
- name: FeeName;
1478
- type: FeeType;
1479
- rate: string;
1480
- amount?: {
1481
- amount: string;
1482
- currency: string;
1483
- };
1484
- }[];
1485
- }[];
1486
- total?: {
1487
- amount: string;
1488
- currency: string;
1489
- };
1490
- discount?: {
1491
- amount?: {
1492
- amount: string;
1493
- currency: string;
1494
- };
1495
- afterDiscount?: {
1496
- amount: string;
1497
- currency: string;
1498
- };
1499
- code: string;
1500
- name: string;
1501
- couponId: string;
1502
- discounts: {
1503
- coupon?: {
1504
- name: string;
1505
- code: string;
1506
- couponId: string;
1507
- };
1508
- paidPlan?: {
1509
- percentDiscount?: {
1510
- rate: string;
1511
- quantityDiscounted: number;
1512
- };
1513
- name: string;
1514
- };
1515
- amount?: {
1516
- amount: string;
1517
- currency: string;
1518
- };
1519
- }[];
1520
- };
1521
- tax?: {
1522
- type: TaxType;
1523
- name: string;
1524
- rate: string;
1525
- taxable?: {
1526
- amount: string;
1527
- currency: string;
1528
- };
1529
- amount?: {
1530
- amount: string;
1531
- currency: string;
1532
- };
1533
- };
1534
- subTotal?: {
1535
- amount: string;
1536
- currency: string;
1537
- };
1538
- grandTotal?: {
1539
- amount: string;
1540
- currency: string;
1541
- };
1542
- fees: {
1543
- name: FeeName;
1544
- type: FeeType;
1545
- rate: string;
1546
- amount?: {
1547
- amount: string;
1548
- currency: string;
1549
- };
1550
- }[];
1551
- revenue?: {
1552
- amount: string;
1553
- currency: string;
1554
- };
1555
- };
1556
- fullyCheckedIn: boolean;
1557
- paymentDetails?: {
1558
- transaction?: {
1559
- transactionId: string;
1560
- method: string;
1561
- };
1562
- };
1563
- channel: ChannelType;
1564
- }[];
1565
- orderFacets?: {
1566
- facets?: {
1567
- counts?: {
1568
- count: number;
1569
- tickets: number;
1570
- ticketsCheckIn: number;
1571
- };
1572
- };
1573
- };
1574
- }
1575
- export interface GetOrderResponseNonNullableFields {
1576
- order?: {
1577
- orderNumber: string;
1578
- reservationId: string;
1579
- snapshotId: string;
1580
- eventId: string;
1581
- contactId: string;
1582
- memberId: string;
1583
- firstName: string;
1584
- lastName: string;
1585
- email: string;
1586
- checkoutForm?: {
1587
- inputValues: {
1588
- inputName: string;
1589
- value: string;
1590
- values: string[];
1591
- }[];
1592
- };
1593
- confirmed: boolean;
1594
- status: OrderStatus;
1595
- method: string;
1596
- ticketsQuantity: number;
1597
- totalPrice?: {
1598
- amount: string;
1599
- currency: string;
1600
- };
1601
- ticketsPdf: string;
1602
- tickets: {
1603
- ticketNumber: string;
1604
- orderNumber: string;
1605
- ticketDefinitionId: string;
1606
- name: string;
1607
- price?: {
1608
- amount: string;
1609
- currency: string;
1610
- };
1611
- free: boolean;
1612
- policy: string;
1613
- qrCode: string;
1614
- orderStatus: OrderStatus;
1615
- orderArchived: boolean;
1616
- orderFullName: string;
1617
- guestDetails?: {
1618
- guestAssigned: boolean;
1619
- form?: {
1620
- inputValues: {
1621
- inputName: string;
1622
- value: string;
1623
- values: string[];
1624
- }[];
1625
- };
1626
- };
1627
- archived: boolean;
1628
- ticketPdf: string;
1629
- anonymized: boolean;
1630
- checkInUrl: string;
1631
- ticketPdfUrl: string;
1632
- channel: ChannelType;
1633
- walletPassUrl: string;
1634
- }[];
1635
- archived: boolean;
1636
- anonymized: boolean;
1637
- fullName: string;
1638
- invoice?: {
1639
- items: {
1640
- _id: string;
1641
- quantity: number;
1642
- name: string;
1643
- price?: {
1644
- amount: string;
1645
- currency: string;
1646
- };
1647
- total?: {
1648
- amount: string;
1649
- currency: string;
1650
- };
1651
- discount?: {
1652
- amount?: {
1653
- amount: string;
1654
- currency: string;
1655
- };
1656
- afterDiscount?: {
1657
- amount: string;
1658
- currency: string;
1659
- };
1660
- code: string;
1661
- name: string;
1662
- couponId: string;
1663
- discounts: {
1664
- coupon?: {
1665
- name: string;
1666
- code: string;
1667
- couponId: string;
1668
- };
1669
- paidPlan?: {
1670
- percentDiscount?: {
1671
- rate: string;
1672
- quantityDiscounted: number;
1673
- };
1674
- name: string;
1675
- };
1676
- amount?: {
1677
- amount: string;
1678
- currency: string;
1679
- };
1680
- }[];
1681
- };
1682
- tax?: {
1683
- type: TaxType;
1684
- name: string;
1685
- rate: string;
1686
- taxable?: {
1687
- amount: string;
1688
- currency: string;
1689
- };
1690
- amount?: {
1691
- amount: string;
1692
- currency: string;
1693
- };
1694
- };
1695
- fees: {
1696
- name: FeeName;
1697
- type: FeeType;
1698
- rate: string;
1699
- amount?: {
1700
- amount: string;
1701
- currency: string;
1702
- };
1703
- }[];
1704
- }[];
1705
- total?: {
1706
- amount: string;
1707
- currency: string;
1708
- };
1709
- discount?: {
1710
- amount?: {
1711
- amount: string;
1712
- currency: string;
1713
- };
1714
- afterDiscount?: {
1715
- amount: string;
1716
- currency: string;
1717
- };
1718
- code: string;
1719
- name: string;
1720
- couponId: string;
1721
- discounts: {
1722
- coupon?: {
1723
- name: string;
1724
- code: string;
1725
- couponId: string;
1726
- };
1727
- paidPlan?: {
1728
- percentDiscount?: {
1729
- rate: string;
1730
- quantityDiscounted: number;
1731
- };
1732
- name: string;
1733
- };
1734
- amount?: {
1735
- amount: string;
1736
- currency: string;
1737
- };
1738
- }[];
1739
- };
1740
- tax?: {
1741
- type: TaxType;
1742
- name: string;
1743
- rate: string;
1744
- taxable?: {
1745
- amount: string;
1746
- currency: string;
1747
- };
1748
- amount?: {
1749
- amount: string;
1750
- currency: string;
1751
- };
1752
- };
1753
- subTotal?: {
1754
- amount: string;
1755
- currency: string;
1756
- };
1757
- grandTotal?: {
1758
- amount: string;
1759
- currency: string;
1760
- };
1761
- fees: {
1762
- name: FeeName;
1763
- type: FeeType;
1764
- rate: string;
1765
- amount?: {
1766
- amount: string;
1767
- currency: string;
1768
- };
1769
- }[];
1770
- revenue?: {
1771
- amount: string;
1772
- currency: string;
1773
- };
1774
- };
1775
- fullyCheckedIn: boolean;
1776
- paymentDetails?: {
1777
- transaction?: {
1778
- transactionId: string;
1779
- method: string;
1780
- };
1781
- };
1782
- channel: ChannelType;
1783
- };
1784
- calendarLinks?: {
1785
- google: string;
1786
- ics: string;
1787
- };
1788
- }
1789
- export interface UpdateOrderResponseNonNullableFields {
1790
- order?: {
1791
- orderNumber: string;
1792
- reservationId: string;
1793
- snapshotId: string;
1794
- eventId: string;
1795
- contactId: string;
1796
- memberId: string;
1797
- firstName: string;
1798
- lastName: string;
1799
- email: string;
1800
- checkoutForm?: {
1801
- inputValues: {
1802
- inputName: string;
1803
- value: string;
1804
- values: string[];
1805
- }[];
1806
- };
1807
- confirmed: boolean;
1808
- status: OrderStatus;
1809
- method: string;
1810
- ticketsQuantity: number;
1811
- totalPrice?: {
1812
- amount: string;
1813
- currency: string;
1814
- };
1815
- ticketsPdf: string;
1816
- tickets: {
1817
- ticketNumber: string;
1818
- orderNumber: string;
1819
- ticketDefinitionId: string;
1820
- name: string;
1821
- price?: {
1822
- amount: string;
1823
- currency: string;
1824
- };
1825
- free: boolean;
1826
- policy: string;
1827
- qrCode: string;
1828
- orderStatus: OrderStatus;
1829
- orderArchived: boolean;
1830
- orderFullName: string;
1831
- guestDetails?: {
1832
- guestAssigned: boolean;
1833
- form?: {
1834
- inputValues: {
1835
- inputName: string;
1836
- value: string;
1837
- values: string[];
1838
- }[];
1839
- };
1840
- };
1841
- archived: boolean;
1842
- ticketPdf: string;
1843
- anonymized: boolean;
1844
- checkInUrl: string;
1845
- ticketPdfUrl: string;
1846
- channel: ChannelType;
1847
- walletPassUrl: string;
1848
- }[];
1849
- archived: boolean;
1850
- anonymized: boolean;
1851
- fullName: string;
1852
- invoice?: {
1853
- items: {
1854
- _id: string;
1855
- quantity: number;
1856
- name: string;
1857
- price?: {
1858
- amount: string;
1859
- currency: string;
1860
- };
1861
- total?: {
1862
- amount: string;
1863
- currency: string;
1864
- };
1865
- discount?: {
1866
- amount?: {
1867
- amount: string;
1868
- currency: string;
1869
- };
1870
- afterDiscount?: {
1871
- amount: string;
1872
- currency: string;
1873
- };
1874
- code: string;
1875
- name: string;
1876
- couponId: string;
1877
- discounts: {
1878
- coupon?: {
1879
- name: string;
1880
- code: string;
1881
- couponId: string;
1882
- };
1883
- paidPlan?: {
1884
- percentDiscount?: {
1885
- rate: string;
1886
- quantityDiscounted: number;
1887
- };
1888
- name: string;
1889
- };
1890
- amount?: {
1891
- amount: string;
1892
- currency: string;
1893
- };
1894
- }[];
1895
- };
1896
- tax?: {
1897
- type: TaxType;
1898
- name: string;
1899
- rate: string;
1900
- taxable?: {
1901
- amount: string;
1902
- currency: string;
1903
- };
1904
- amount?: {
1905
- amount: string;
1906
- currency: string;
1907
- };
1908
- };
1909
- fees: {
1910
- name: FeeName;
1911
- type: FeeType;
1912
- rate: string;
1913
- amount?: {
1914
- amount: string;
1915
- currency: string;
1916
- };
1917
- }[];
1918
- }[];
1919
- total?: {
1920
- amount: string;
1921
- currency: string;
1922
- };
1923
- discount?: {
1924
- amount?: {
1925
- amount: string;
1926
- currency: string;
1927
- };
1928
- afterDiscount?: {
1929
- amount: string;
1930
- currency: string;
1931
- };
1932
- code: string;
1933
- name: string;
1934
- couponId: string;
1935
- discounts: {
1936
- coupon?: {
1937
- name: string;
1938
- code: string;
1939
- couponId: string;
1940
- };
1941
- paidPlan?: {
1942
- percentDiscount?: {
1943
- rate: string;
1944
- quantityDiscounted: number;
1945
- };
1946
- name: string;
1947
- };
1948
- amount?: {
1949
- amount: string;
1950
- currency: string;
1951
- };
1952
- }[];
1953
- };
1954
- tax?: {
1955
- type: TaxType;
1956
- name: string;
1957
- rate: string;
1958
- taxable?: {
1959
- amount: string;
1960
- currency: string;
1961
- };
1962
- amount?: {
1963
- amount: string;
1964
- currency: string;
1965
- };
1966
- };
1967
- subTotal?: {
1968
- amount: string;
1969
- currency: string;
1970
- };
1971
- grandTotal?: {
1972
- amount: string;
1973
- currency: string;
1974
- };
1975
- fees: {
1976
- name: FeeName;
1977
- type: FeeType;
1978
- rate: string;
1979
- amount?: {
1980
- amount: string;
1981
- currency: string;
1982
- };
1983
- }[];
1984
- revenue?: {
1985
- amount: string;
1986
- currency: string;
1987
- };
1988
- };
1989
- fullyCheckedIn: boolean;
1990
- paymentDetails?: {
1991
- transaction?: {
1992
- transactionId: string;
1993
- method: string;
1994
- };
1995
- };
1996
- channel: ChannelType;
1997
- };
1998
- }
1999
- export interface BulkUpdateOrdersResponseNonNullableFields {
2000
- orders: {
2001
- orderNumber: string;
2002
- reservationId: string;
2003
- snapshotId: string;
2004
- eventId: string;
2005
- contactId: string;
2006
- memberId: string;
2007
- firstName: string;
2008
- lastName: string;
2009
- email: string;
2010
- checkoutForm?: {
2011
- inputValues: {
2012
- inputName: string;
2013
- value: string;
2014
- values: string[];
2015
- }[];
2016
- };
2017
- confirmed: boolean;
2018
- status: OrderStatus;
2019
- method: string;
2020
- ticketsQuantity: number;
2021
- totalPrice?: {
2022
- amount: string;
2023
- currency: string;
2024
- };
2025
- ticketsPdf: string;
2026
- tickets: {
2027
- ticketNumber: string;
2028
- orderNumber: string;
2029
- ticketDefinitionId: string;
2030
- name: string;
2031
- price?: {
2032
- amount: string;
2033
- currency: string;
2034
- };
2035
- free: boolean;
2036
- policy: string;
2037
- qrCode: string;
2038
- orderStatus: OrderStatus;
2039
- orderArchived: boolean;
2040
- orderFullName: string;
2041
- guestDetails?: {
2042
- guestAssigned: boolean;
2043
- form?: {
2044
- inputValues: {
2045
- inputName: string;
2046
- value: string;
2047
- values: string[];
2048
- }[];
2049
- };
2050
- };
2051
- archived: boolean;
2052
- ticketPdf: string;
2053
- anonymized: boolean;
2054
- checkInUrl: string;
2055
- ticketPdfUrl: string;
2056
- channel: ChannelType;
2057
- walletPassUrl: string;
2058
- }[];
2059
- archived: boolean;
2060
- anonymized: boolean;
2061
- fullName: string;
2062
- invoice?: {
2063
- items: {
2064
- _id: string;
2065
- quantity: number;
2066
- name: string;
2067
- price?: {
2068
- amount: string;
2069
- currency: string;
2070
- };
2071
- total?: {
2072
- amount: string;
2073
- currency: string;
2074
- };
2075
- discount?: {
2076
- amount?: {
2077
- amount: string;
2078
- currency: string;
2079
- };
2080
- afterDiscount?: {
2081
- amount: string;
2082
- currency: string;
2083
- };
2084
- code: string;
2085
- name: string;
2086
- couponId: string;
2087
- discounts: {
2088
- coupon?: {
2089
- name: string;
2090
- code: string;
2091
- couponId: string;
2092
- };
2093
- paidPlan?: {
2094
- percentDiscount?: {
2095
- rate: string;
2096
- quantityDiscounted: number;
2097
- };
2098
- name: string;
2099
- };
2100
- amount?: {
2101
- amount: string;
2102
- currency: string;
2103
- };
2104
- }[];
2105
- };
2106
- tax?: {
2107
- type: TaxType;
2108
- name: string;
2109
- rate: string;
2110
- taxable?: {
2111
- amount: string;
2112
- currency: string;
2113
- };
2114
- amount?: {
2115
- amount: string;
2116
- currency: string;
2117
- };
2118
- };
2119
- fees: {
2120
- name: FeeName;
2121
- type: FeeType;
2122
- rate: string;
2123
- amount?: {
2124
- amount: string;
2125
- currency: string;
2126
- };
2127
- }[];
2128
- }[];
2129
- total?: {
2130
- amount: string;
2131
- currency: string;
2132
- };
2133
- discount?: {
2134
- amount?: {
2135
- amount: string;
2136
- currency: string;
2137
- };
2138
- afterDiscount?: {
2139
- amount: string;
2140
- currency: string;
2141
- };
2142
- code: string;
2143
- name: string;
2144
- couponId: string;
2145
- discounts: {
2146
- coupon?: {
2147
- name: string;
2148
- code: string;
2149
- couponId: string;
2150
- };
2151
- paidPlan?: {
2152
- percentDiscount?: {
2153
- rate: string;
2154
- quantityDiscounted: number;
2155
- };
2156
- name: string;
2157
- };
2158
- amount?: {
2159
- amount: string;
2160
- currency: string;
2161
- };
2162
- }[];
2163
- };
2164
- tax?: {
2165
- type: TaxType;
2166
- name: string;
2167
- rate: string;
2168
- taxable?: {
2169
- amount: string;
2170
- currency: string;
2171
- };
2172
- amount?: {
2173
- amount: string;
2174
- currency: string;
2175
- };
2176
- };
2177
- subTotal?: {
2178
- amount: string;
2179
- currency: string;
2180
- };
2181
- grandTotal?: {
2182
- amount: string;
2183
- currency: string;
2184
- };
2185
- fees: {
2186
- name: FeeName;
2187
- type: FeeType;
2188
- rate: string;
2189
- amount?: {
2190
- amount: string;
2191
- currency: string;
2192
- };
2193
- }[];
2194
- revenue?: {
2195
- amount: string;
2196
- currency: string;
2197
- };
2198
- };
2199
- fullyCheckedIn: boolean;
2200
- paymentDetails?: {
2201
- transaction?: {
2202
- transactionId: string;
2203
- method: string;
2204
- };
2205
- };
2206
- channel: ChannelType;
2207
- }[];
2208
- }
2209
- export interface ConfirmOrderResponseNonNullableFields {
2210
- orders: {
2211
- orderNumber: string;
2212
- reservationId: string;
2213
- snapshotId: string;
2214
- eventId: string;
2215
- contactId: string;
2216
- memberId: string;
2217
- firstName: string;
2218
- lastName: string;
2219
- email: string;
2220
- checkoutForm?: {
2221
- inputValues: {
2222
- inputName: string;
2223
- value: string;
2224
- values: string[];
2225
- }[];
2226
- };
2227
- confirmed: boolean;
2228
- status: OrderStatus;
2229
- method: string;
2230
- ticketsQuantity: number;
2231
- totalPrice?: {
2232
- amount: string;
2233
- currency: string;
2234
- };
2235
- ticketsPdf: string;
2236
- tickets: {
2237
- ticketNumber: string;
2238
- orderNumber: string;
2239
- ticketDefinitionId: string;
2240
- name: string;
2241
- price?: {
2242
- amount: string;
2243
- currency: string;
2244
- };
2245
- free: boolean;
2246
- policy: string;
2247
- qrCode: string;
2248
- orderStatus: OrderStatus;
2249
- orderArchived: boolean;
2250
- orderFullName: string;
2251
- guestDetails?: {
2252
- guestAssigned: boolean;
2253
- form?: {
2254
- inputValues: {
2255
- inputName: string;
2256
- value: string;
2257
- values: string[];
2258
- }[];
2259
- };
2260
- };
2261
- archived: boolean;
2262
- ticketPdf: string;
2263
- anonymized: boolean;
2264
- checkInUrl: string;
2265
- ticketPdfUrl: string;
2266
- channel: ChannelType;
2267
- walletPassUrl: string;
2268
- }[];
2269
- archived: boolean;
2270
- anonymized: boolean;
2271
- fullName: string;
2272
- invoice?: {
2273
- items: {
2274
- _id: string;
2275
- quantity: number;
2276
- name: string;
2277
- price?: {
2278
- amount: string;
2279
- currency: string;
2280
- };
2281
- total?: {
2282
- amount: string;
2283
- currency: string;
2284
- };
2285
- discount?: {
2286
- amount?: {
2287
- amount: string;
2288
- currency: string;
2289
- };
2290
- afterDiscount?: {
2291
- amount: string;
2292
- currency: string;
2293
- };
2294
- code: string;
2295
- name: string;
2296
- couponId: string;
2297
- discounts: {
2298
- coupon?: {
2299
- name: string;
2300
- code: string;
2301
- couponId: string;
2302
- };
2303
- paidPlan?: {
2304
- percentDiscount?: {
2305
- rate: string;
2306
- quantityDiscounted: number;
2307
- };
2308
- name: string;
2309
- };
2310
- amount?: {
2311
- amount: string;
2312
- currency: string;
2313
- };
2314
- }[];
2315
- };
2316
- tax?: {
2317
- type: TaxType;
2318
- name: string;
2319
- rate: string;
2320
- taxable?: {
2321
- amount: string;
2322
- currency: string;
2323
- };
2324
- amount?: {
2325
- amount: string;
2326
- currency: string;
2327
- };
2328
- };
2329
- fees: {
2330
- name: FeeName;
2331
- type: FeeType;
2332
- rate: string;
2333
- amount?: {
2334
- amount: string;
2335
- currency: string;
2336
- };
2337
- }[];
2338
- }[];
2339
- total?: {
2340
- amount: string;
2341
- currency: string;
2342
- };
2343
- discount?: {
2344
- amount?: {
2345
- amount: string;
2346
- currency: string;
2347
- };
2348
- afterDiscount?: {
2349
- amount: string;
2350
- currency: string;
2351
- };
2352
- code: string;
2353
- name: string;
2354
- couponId: string;
2355
- discounts: {
2356
- coupon?: {
2357
- name: string;
2358
- code: string;
2359
- couponId: string;
2360
- };
2361
- paidPlan?: {
2362
- percentDiscount?: {
2363
- rate: string;
2364
- quantityDiscounted: number;
2365
- };
2366
- name: string;
2367
- };
2368
- amount?: {
2369
- amount: string;
2370
- currency: string;
2371
- };
2372
- }[];
2373
- };
2374
- tax?: {
2375
- type: TaxType;
2376
- name: string;
2377
- rate: string;
2378
- taxable?: {
2379
- amount: string;
2380
- currency: string;
2381
- };
2382
- amount?: {
2383
- amount: string;
2384
- currency: string;
2385
- };
2386
- };
2387
- subTotal?: {
2388
- amount: string;
2389
- currency: string;
2390
- };
2391
- grandTotal?: {
2392
- amount: string;
2393
- currency: string;
2394
- };
2395
- fees: {
2396
- name: FeeName;
2397
- type: FeeType;
2398
- rate: string;
2399
- amount?: {
2400
- amount: string;
2401
- currency: string;
2402
- };
2403
- }[];
2404
- revenue?: {
2405
- amount: string;
2406
- currency: string;
2407
- };
2408
- };
2409
- fullyCheckedIn: boolean;
2410
- paymentDetails?: {
2411
- transaction?: {
2412
- transactionId: string;
2413
- method: string;
2414
- };
2415
- };
2416
- channel: ChannelType;
2417
- }[];
2418
- }
2419
- export interface GetSummaryResponseNonNullableFields {
2420
- sales: {
2421
- total?: {
2422
- amount: string;
2423
- currency: string;
2424
- };
2425
- totalOrders: number;
2426
- totalTickets: number;
2427
- revenue?: {
2428
- amount: string;
2429
- currency: string;
2430
- };
2431
- }[];
2432
- }
2433
- export interface GetCheckoutOptionsResponseNonNullableFields {
2434
- paymentMethodConfigured: boolean;
2435
- acceptCoupons: boolean;
2436
- premiumServices: boolean;
2437
- paidTickets: boolean;
2438
- }
2439
- export interface ListAvailableTicketsResponseNonNullableFields {
2440
- metaData?: {
2441
- count: number;
2442
- offset: number;
2443
- total: number;
2444
- };
2445
- definitions: {
2446
- _id: string;
2447
- price?: {
2448
- amount: string;
2449
- currency: string;
2450
- };
2451
- free: boolean;
2452
- name: string;
2453
- description: string;
2454
- limitPerCheckout: number;
2455
- orderIndex: number;
2456
- policy: string;
2457
- dashboard?: {
2458
- hidden: boolean;
2459
- sold: number;
2460
- limited: boolean;
2461
- ticketsSold: number;
2462
- ticketsReserved: number;
2463
- };
2464
- eventId: string;
2465
- wixFeeConfig?: {
2466
- type: FeeType;
2467
- };
2468
- salePeriod?: {
2469
- hideNotOnSale: boolean;
2470
- };
2471
- saleStatus: TicketSaleStatus;
2472
- state: State[];
2473
- pricing?: {
2474
- fixedPrice?: {
2475
- amount: string;
2476
- currency: string;
2477
- };
2478
- minPrice?: {
2479
- amount: string;
2480
- currency: string;
2481
- };
2482
- pricingOptions?: {
2483
- options: {
2484
- price?: {
2485
- amount: string;
2486
- currency: string;
2487
- };
2488
- }[];
2489
- };
2490
- pricingType: Type;
2491
- };
2492
- }[];
2493
- }
2494
- export interface QueryAvailableTicketsResponseNonNullableFields {
2495
- metaData?: {
2496
- count: number;
2497
- offset: number;
2498
- total: number;
2499
- };
2500
- definitions: {
2501
- _id: string;
2502
- price?: {
2503
- amount: string;
2504
- currency: string;
2505
- };
2506
- free: boolean;
2507
- name: string;
2508
- description: string;
2509
- limitPerCheckout: number;
2510
- orderIndex: number;
2511
- policy: string;
2512
- dashboard?: {
2513
- hidden: boolean;
2514
- sold: number;
2515
- limited: boolean;
2516
- ticketsSold: number;
2517
- ticketsReserved: number;
2518
- };
2519
- eventId: string;
2520
- wixFeeConfig?: {
2521
- type: FeeType;
2522
- };
2523
- salePeriod?: {
2524
- hideNotOnSale: boolean;
2525
- };
2526
- saleStatus: TicketSaleStatus;
2527
- state: State[];
2528
- pricing?: {
2529
- fixedPrice?: {
2530
- amount: string;
2531
- currency: string;
2532
- };
2533
- minPrice?: {
2534
- amount: string;
2535
- currency: string;
2536
- };
2537
- pricingOptions?: {
2538
- options: {
2539
- price?: {
2540
- amount: string;
2541
- currency: string;
2542
- };
2543
- }[];
2544
- };
2545
- pricingType: Type;
2546
- };
2547
- }[];
2548
- }
2549
- export interface CreateReservationResponseNonNullableFields {
2550
- _id: string;
2551
- reservations: {
2552
- quantity: number;
2553
- ticket?: {
2554
- _id: string;
2555
- price?: {
2556
- amount: string;
2557
- currency: string;
2558
- };
2559
- free: boolean;
2560
- name: string;
2561
- description: string;
2562
- limitPerCheckout: number;
2563
- orderIndex: number;
2564
- policy: string;
2565
- dashboard?: {
2566
- hidden: boolean;
2567
- sold: number;
2568
- limited: boolean;
2569
- ticketsSold: number;
2570
- ticketsReserved: number;
2571
- };
2572
- eventId: string;
2573
- wixFeeConfig?: {
2574
- type: FeeType;
2575
- };
2576
- salePeriod?: {
2577
- hideNotOnSale: boolean;
2578
- };
2579
- saleStatus: TicketSaleStatus;
2580
- state: State[];
2581
- pricing?: {
2582
- fixedPrice?: {
2583
- amount: string;
2584
- currency: string;
2585
- };
2586
- minPrice?: {
2587
- amount: string;
2588
- currency: string;
2589
- };
2590
- pricingOptions?: {
2591
- options: {
2592
- price?: {
2593
- amount: string;
2594
- currency: string;
2595
- };
2596
- }[];
2597
- };
2598
- pricingType: Type;
2599
- };
2600
- };
2601
- ticketDetails: TicketDetails[];
2602
- }[];
2603
- invoice?: {
2604
- items: {
2605
- _id: string;
2606
- quantity: number;
2607
- name: string;
2608
- price?: {
2609
- amount: string;
2610
- currency: string;
2611
- };
2612
- total?: {
2613
- amount: string;
2614
- currency: string;
2615
- };
2616
- discount?: {
2617
- amount?: {
2618
- amount: string;
2619
- currency: string;
2620
- };
2621
- afterDiscount?: {
2622
- amount: string;
2623
- currency: string;
2624
- };
2625
- code: string;
2626
- name: string;
2627
- couponId: string;
2628
- discounts: {
2629
- coupon?: {
2630
- name: string;
2631
- code: string;
2632
- couponId: string;
2633
- };
2634
- paidPlan?: {
2635
- percentDiscount?: {
2636
- rate: string;
2637
- quantityDiscounted: number;
2638
- };
2639
- name: string;
2640
- };
2641
- amount?: {
2642
- amount: string;
2643
- currency: string;
2644
- };
2645
- }[];
2646
- };
2647
- tax?: {
2648
- type: TaxType;
2649
- name: string;
2650
- rate: string;
2651
- taxable?: {
2652
- amount: string;
2653
- currency: string;
2654
- };
2655
- amount?: {
2656
- amount: string;
2657
- currency: string;
2658
- };
2659
- };
2660
- fees: {
2661
- name: FeeName;
2662
- type: FeeType;
2663
- rate: string;
2664
- amount?: {
2665
- amount: string;
2666
- currency: string;
2667
- };
2668
- }[];
2669
- }[];
2670
- total?: {
2671
- amount: string;
2672
- currency: string;
2673
- };
2674
- discount?: {
2675
- amount?: {
2676
- amount: string;
2677
- currency: string;
2678
- };
2679
- afterDiscount?: {
2680
- amount: string;
2681
- currency: string;
2682
- };
2683
- code: string;
2684
- name: string;
2685
- couponId: string;
2686
- discounts: {
2687
- coupon?: {
2688
- name: string;
2689
- code: string;
2690
- couponId: string;
2691
- };
2692
- paidPlan?: {
2693
- percentDiscount?: {
2694
- rate: string;
2695
- quantityDiscounted: number;
2696
- };
2697
- name: string;
2698
- };
2699
- amount?: {
2700
- amount: string;
2701
- currency: string;
2702
- };
2703
- }[];
2704
- };
2705
- tax?: {
2706
- type: TaxType;
2707
- name: string;
2708
- rate: string;
2709
- taxable?: {
2710
- amount: string;
2711
- currency: string;
2712
- };
2713
- amount?: {
2714
- amount: string;
2715
- currency: string;
2716
- };
2717
- };
2718
- subTotal?: {
2719
- amount: string;
2720
- currency: string;
2721
- };
2722
- grandTotal?: {
2723
- amount: string;
2724
- currency: string;
2725
- };
2726
- fees: {
2727
- name: FeeName;
2728
- type: FeeType;
2729
- rate: string;
2730
- amount?: {
2731
- amount: string;
2732
- currency: string;
2733
- };
2734
- }[];
2735
- revenue?: {
2736
- amount: string;
2737
- currency: string;
2738
- };
2739
- };
2740
- }
2741
- export interface GetInvoiceResponseNonNullableFields {
2742
- invoice?: {
2743
- items: {
2744
- _id: string;
2745
- quantity: number;
2746
- name: string;
2747
- price?: {
2748
- amount: string;
2749
- currency: string;
2750
- };
2751
- total?: {
2752
- amount: string;
2753
- currency: string;
2754
- };
2755
- discount?: {
2756
- amount?: {
2757
- amount: string;
2758
- currency: string;
2759
- };
2760
- afterDiscount?: {
2761
- amount: string;
2762
- currency: string;
2763
- };
2764
- code: string;
2765
- name: string;
2766
- couponId: string;
2767
- discounts: {
2768
- coupon?: {
2769
- name: string;
2770
- code: string;
2771
- couponId: string;
2772
- };
2773
- paidPlan?: {
2774
- percentDiscount?: {
2775
- rate: string;
2776
- quantityDiscounted: number;
2777
- };
2778
- name: string;
2779
- };
2780
- amount?: {
2781
- amount: string;
2782
- currency: string;
2783
- };
2784
- }[];
2785
- };
2786
- tax?: {
2787
- type: TaxType;
2788
- name: string;
2789
- rate: string;
2790
- taxable?: {
2791
- amount: string;
2792
- currency: string;
2793
- };
2794
- amount?: {
2795
- amount: string;
2796
- currency: string;
2797
- };
2798
- };
2799
- fees: {
2800
- name: FeeName;
2801
- type: FeeType;
2802
- rate: string;
2803
- amount?: {
2804
- amount: string;
2805
- currency: string;
2806
- };
2807
- }[];
2808
- }[];
2809
- total?: {
2810
- amount: string;
2811
- currency: string;
2812
- };
2813
- discount?: {
2814
- amount?: {
2815
- amount: string;
2816
- currency: string;
2817
- };
2818
- afterDiscount?: {
2819
- amount: string;
2820
- currency: string;
2821
- };
2822
- code: string;
2823
- name: string;
2824
- couponId: string;
2825
- discounts: {
2826
- coupon?: {
2827
- name: string;
2828
- code: string;
2829
- couponId: string;
2830
- };
2831
- paidPlan?: {
2832
- percentDiscount?: {
2833
- rate: string;
2834
- quantityDiscounted: number;
2835
- };
2836
- name: string;
2837
- };
2838
- amount?: {
2839
- amount: string;
2840
- currency: string;
2841
- };
2842
- }[];
2843
- };
2844
- tax?: {
2845
- type: TaxType;
2846
- name: string;
2847
- rate: string;
2848
- taxable?: {
2849
- amount: string;
2850
- currency: string;
2851
- };
2852
- amount?: {
2853
- amount: string;
2854
- currency: string;
2855
- };
2856
- };
2857
- subTotal?: {
2858
- amount: string;
2859
- currency: string;
2860
- };
2861
- grandTotal?: {
2862
- amount: string;
2863
- currency: string;
2864
- };
2865
- fees: {
2866
- name: FeeName;
2867
- type: FeeType;
2868
- rate: string;
2869
- amount?: {
2870
- amount: string;
2871
- currency: string;
2872
- };
2873
- }[];
2874
- revenue?: {
2875
- amount: string;
2876
- currency: string;
2877
- };
2878
- };
2879
- discountErrors?: {
2880
- error: {
2881
- code: string;
2882
- }[];
2883
- };
2884
- reservationStatus: ReservationStatus;
2885
- reservationOccupied: boolean;
2886
- reservations: {
2887
- quantity: number;
2888
- ticket?: {
2889
- _id: string;
2890
- price?: {
2891
- amount: string;
2892
- currency: string;
2893
- };
2894
- free: boolean;
2895
- name: string;
2896
- description: string;
2897
- limitPerCheckout: number;
2898
- orderIndex: number;
2899
- policy: string;
2900
- dashboard?: {
2901
- hidden: boolean;
2902
- sold: number;
2903
- limited: boolean;
2904
- ticketsSold: number;
2905
- ticketsReserved: number;
2906
- };
2907
- eventId: string;
2908
- wixFeeConfig?: {
2909
- type: FeeType;
2910
- };
2911
- salePeriod?: {
2912
- hideNotOnSale: boolean;
2913
- };
2914
- saleStatus: TicketSaleStatus;
2915
- state: State[];
2916
- pricing?: {
2917
- fixedPrice?: {
2918
- amount: string;
2919
- currency: string;
2920
- };
2921
- minPrice?: {
2922
- amount: string;
2923
- currency: string;
2924
- };
2925
- pricingOptions?: {
2926
- options: {
2927
- price?: {
2928
- amount: string;
2929
- currency: string;
2930
- };
2931
- }[];
2932
- };
2933
- pricingType: Type;
2934
- };
2935
- };
2936
- ticketDetails: TicketDetails[];
2937
- }[];
2938
- }
2939
- export interface CheckoutResponseNonNullableFields {
2940
- order?: {
2941
- orderNumber: string;
2942
- reservationId: string;
2943
- snapshotId: string;
2944
- eventId: string;
2945
- contactId: string;
2946
- memberId: string;
2947
- firstName: string;
2948
- lastName: string;
2949
- email: string;
2950
- checkoutForm?: {
2951
- inputValues: {
2952
- inputName: string;
2953
- value: string;
2954
- values: string[];
2955
- }[];
2956
- };
2957
- confirmed: boolean;
2958
- status: OrderStatus;
2959
- method: string;
2960
- ticketsQuantity: number;
2961
- totalPrice?: {
2962
- amount: string;
2963
- currency: string;
2964
- };
2965
- ticketsPdf: string;
2966
- tickets: {
2967
- ticketNumber: string;
2968
- orderNumber: string;
2969
- ticketDefinitionId: string;
2970
- name: string;
2971
- price?: {
2972
- amount: string;
2973
- currency: string;
2974
- };
2975
- free: boolean;
2976
- policy: string;
2977
- qrCode: string;
2978
- orderStatus: OrderStatus;
2979
- orderArchived: boolean;
2980
- orderFullName: string;
2981
- guestDetails?: {
2982
- guestAssigned: boolean;
2983
- form?: {
2984
- inputValues: {
2985
- inputName: string;
2986
- value: string;
2987
- values: string[];
2988
- }[];
2989
- };
2990
- };
2991
- archived: boolean;
2992
- ticketPdf: string;
2993
- anonymized: boolean;
2994
- checkInUrl: string;
2995
- ticketPdfUrl: string;
2996
- channel: ChannelType;
2997
- walletPassUrl: string;
2998
- }[];
2999
- archived: boolean;
3000
- anonymized: boolean;
3001
- fullName: string;
3002
- invoice?: {
3003
- items: {
3004
- _id: string;
3005
- quantity: number;
3006
- name: string;
3007
- price?: {
3008
- amount: string;
3009
- currency: string;
3010
- };
3011
- total?: {
3012
- amount: string;
3013
- currency: string;
3014
- };
3015
- discount?: {
3016
- amount?: {
3017
- amount: string;
3018
- currency: string;
3019
- };
3020
- afterDiscount?: {
3021
- amount: string;
3022
- currency: string;
3023
- };
3024
- code: string;
3025
- name: string;
3026
- couponId: string;
3027
- discounts: {
3028
- coupon?: {
3029
- name: string;
3030
- code: string;
3031
- couponId: string;
3032
- };
3033
- paidPlan?: {
3034
- percentDiscount?: {
3035
- rate: string;
3036
- quantityDiscounted: number;
3037
- };
3038
- name: string;
3039
- };
3040
- amount?: {
3041
- amount: string;
3042
- currency: string;
3043
- };
3044
- }[];
3045
- };
3046
- tax?: {
3047
- type: TaxType;
3048
- name: string;
3049
- rate: string;
3050
- taxable?: {
3051
- amount: string;
3052
- currency: string;
3053
- };
3054
- amount?: {
3055
- amount: string;
3056
- currency: string;
3057
- };
3058
- };
3059
- fees: {
3060
- name: FeeName;
3061
- type: FeeType;
3062
- rate: string;
3063
- amount?: {
3064
- amount: string;
3065
- currency: string;
3066
- };
3067
- }[];
3068
- }[];
3069
- total?: {
3070
- amount: string;
3071
- currency: string;
3072
- };
3073
- discount?: {
3074
- amount?: {
3075
- amount: string;
3076
- currency: string;
3077
- };
3078
- afterDiscount?: {
3079
- amount: string;
3080
- currency: string;
3081
- };
3082
- code: string;
3083
- name: string;
3084
- couponId: string;
3085
- discounts: {
3086
- coupon?: {
3087
- name: string;
3088
- code: string;
3089
- couponId: string;
3090
- };
3091
- paidPlan?: {
3092
- percentDiscount?: {
3093
- rate: string;
3094
- quantityDiscounted: number;
3095
- };
3096
- name: string;
3097
- };
3098
- amount?: {
3099
- amount: string;
3100
- currency: string;
3101
- };
3102
- }[];
3103
- };
3104
- tax?: {
3105
- type: TaxType;
3106
- name: string;
3107
- rate: string;
3108
- taxable?: {
3109
- amount: string;
3110
- currency: string;
3111
- };
3112
- amount?: {
3113
- amount: string;
3114
- currency: string;
3115
- };
3116
- };
3117
- subTotal?: {
3118
- amount: string;
3119
- currency: string;
3120
- };
3121
- grandTotal?: {
3122
- amount: string;
3123
- currency: string;
3124
- };
3125
- fees: {
3126
- name: FeeName;
3127
- type: FeeType;
3128
- rate: string;
3129
- amount?: {
3130
- amount: string;
3131
- currency: string;
3132
- };
3133
- }[];
3134
- revenue?: {
3135
- amount: string;
3136
- currency: string;
3137
- };
3138
- };
3139
- fullyCheckedIn: boolean;
3140
- paymentDetails?: {
3141
- transaction?: {
3142
- transactionId: string;
3143
- method: string;
3144
- };
3145
- };
3146
- channel: ChannelType;
3147
- };
3148
- reservations: {
3149
- quantity: number;
3150
- ticket?: {
3151
- _id: string;
3152
- price?: {
3153
- amount: string;
3154
- currency: string;
3155
- };
3156
- free: boolean;
3157
- name: string;
3158
- description: string;
3159
- limitPerCheckout: number;
3160
- orderIndex: number;
3161
- policy: string;
3162
- dashboard?: {
3163
- hidden: boolean;
3164
- sold: number;
3165
- limited: boolean;
3166
- ticketsSold: number;
3167
- ticketsReserved: number;
3168
- };
3169
- eventId: string;
3170
- wixFeeConfig?: {
3171
- type: FeeType;
3172
- };
3173
- salePeriod?: {
3174
- hideNotOnSale: boolean;
3175
- };
3176
- saleStatus: TicketSaleStatus;
3177
- state: State[];
3178
- pricing?: {
3179
- fixedPrice?: {
3180
- amount: string;
3181
- currency: string;
3182
- };
3183
- minPrice?: {
3184
- amount: string;
3185
- currency: string;
3186
- };
3187
- pricingOptions?: {
3188
- options: {
3189
- price?: {
3190
- amount: string;
3191
- currency: string;
3192
- };
3193
- }[];
3194
- };
3195
- pricingType: Type;
3196
- };
3197
- };
3198
- ticketDetails: TicketDetails[];
3199
- }[];
3200
- }
3201
- export interface UpdateCheckoutResponseNonNullableFields {
3202
- order?: {
3203
- orderNumber: string;
3204
- reservationId: string;
3205
- snapshotId: string;
3206
- eventId: string;
3207
- contactId: string;
3208
- memberId: string;
3209
- firstName: string;
3210
- lastName: string;
3211
- email: string;
3212
- checkoutForm?: {
3213
- inputValues: {
3214
- inputName: string;
3215
- value: string;
3216
- values: string[];
3217
- }[];
3218
- };
3219
- confirmed: boolean;
3220
- status: OrderStatus;
3221
- method: string;
3222
- ticketsQuantity: number;
3223
- totalPrice?: {
3224
- amount: string;
3225
- currency: string;
3226
- };
3227
- ticketsPdf: string;
3228
- tickets: {
3229
- ticketNumber: string;
3230
- orderNumber: string;
3231
- ticketDefinitionId: string;
3232
- name: string;
3233
- price?: {
3234
- amount: string;
3235
- currency: string;
3236
- };
3237
- free: boolean;
3238
- policy: string;
3239
- qrCode: string;
3240
- orderStatus: OrderStatus;
3241
- orderArchived: boolean;
3242
- orderFullName: string;
3243
- guestDetails?: {
3244
- guestAssigned: boolean;
3245
- form?: {
3246
- inputValues: {
3247
- inputName: string;
3248
- value: string;
3249
- values: string[];
3250
- }[];
3251
- };
3252
- };
3253
- archived: boolean;
3254
- ticketPdf: string;
3255
- anonymized: boolean;
3256
- checkInUrl: string;
3257
- ticketPdfUrl: string;
3258
- channel: ChannelType;
3259
- walletPassUrl: string;
3260
- }[];
3261
- archived: boolean;
3262
- anonymized: boolean;
3263
- fullName: string;
3264
- invoice?: {
3265
- items: {
3266
- _id: string;
3267
- quantity: number;
3268
- name: string;
3269
- price?: {
3270
- amount: string;
3271
- currency: string;
3272
- };
3273
- total?: {
3274
- amount: string;
3275
- currency: string;
3276
- };
3277
- discount?: {
3278
- amount?: {
3279
- amount: string;
3280
- currency: string;
3281
- };
3282
- afterDiscount?: {
3283
- amount: string;
3284
- currency: string;
3285
- };
3286
- code: string;
3287
- name: string;
3288
- couponId: string;
3289
- discounts: {
3290
- coupon?: {
3291
- name: string;
3292
- code: string;
3293
- couponId: string;
3294
- };
3295
- paidPlan?: {
3296
- percentDiscount?: {
3297
- rate: string;
3298
- quantityDiscounted: number;
3299
- };
3300
- name: string;
3301
- };
3302
- amount?: {
3303
- amount: string;
3304
- currency: string;
3305
- };
3306
- }[];
3307
- };
3308
- tax?: {
3309
- type: TaxType;
3310
- name: string;
3311
- rate: string;
3312
- taxable?: {
3313
- amount: string;
3314
- currency: string;
3315
- };
3316
- amount?: {
3317
- amount: string;
3318
- currency: string;
3319
- };
3320
- };
3321
- fees: {
3322
- name: FeeName;
3323
- type: FeeType;
3324
- rate: string;
3325
- amount?: {
3326
- amount: string;
3327
- currency: string;
3328
- };
3329
- }[];
3330
- }[];
3331
- total?: {
3332
- amount: string;
3333
- currency: string;
3334
- };
3335
- discount?: {
3336
- amount?: {
3337
- amount: string;
3338
- currency: string;
3339
- };
3340
- afterDiscount?: {
3341
- amount: string;
3342
- currency: string;
3343
- };
3344
- code: string;
3345
- name: string;
3346
- couponId: string;
3347
- discounts: {
3348
- coupon?: {
3349
- name: string;
3350
- code: string;
3351
- couponId: string;
3352
- };
3353
- paidPlan?: {
3354
- percentDiscount?: {
3355
- rate: string;
3356
- quantityDiscounted: number;
3357
- };
3358
- name: string;
3359
- };
3360
- amount?: {
3361
- amount: string;
3362
- currency: string;
3363
- };
3364
- }[];
3365
- };
3366
- tax?: {
3367
- type: TaxType;
3368
- name: string;
3369
- rate: string;
3370
- taxable?: {
3371
- amount: string;
3372
- currency: string;
3373
- };
3374
- amount?: {
3375
- amount: string;
3376
- currency: string;
3377
- };
3378
- };
3379
- subTotal?: {
3380
- amount: string;
3381
- currency: string;
3382
- };
3383
- grandTotal?: {
3384
- amount: string;
3385
- currency: string;
3386
- };
3387
- fees: {
3388
- name: FeeName;
3389
- type: FeeType;
3390
- rate: string;
3391
- amount?: {
3392
- amount: string;
3393
- currency: string;
3394
- };
3395
- }[];
3396
- revenue?: {
3397
- amount: string;
3398
- currency: string;
3399
- };
3400
- };
3401
- fullyCheckedIn: boolean;
3402
- paymentDetails?: {
3403
- transaction?: {
3404
- transactionId: string;
3405
- method: string;
3406
- };
3407
- };
3408
- channel: ChannelType;
3409
- };
3410
- }
3411
- /**
3412
- * Retrieves a list of orders, including ticket data, with basic filter support.
3413
- * <!--
3414
- * > Note: This function is restricted and only runs if you elevate permissions using the [wix-auth.elevate()](https://www.wix.com/velo/reference/wix-auth/elevate) function.
3415
- * -->
3416
- * @public
3417
- * @documentationMaturity preview
3418
- * @param options - An object representing the available options for retrieving a list of orders.
3419
- * @permissionScope Read Events - all read permissions
3420
- * @permissionScope Manage Events - all permissions
3421
- * @permissionScope Read Basic Events Order Info
3422
- * @permissionScope Manage Orders
3423
- * @applicableIdentity APP
3424
- */
3425
- export declare function listOrders(options?: ListOrdersOptions): Promise<ListOrdersResponse & ListOrdersResponseNonNullableFields>;
3426
- export interface ListOrdersOptions {
3427
- /** Offset. */
3428
- offset?: number;
3429
- /** Limit. */
3430
- limit?: number;
3431
- /**
3432
- * Predefined sets of fields to return.
3433
- * - `TICKETS`: Returns `tickets`.
3434
- * - `DETAILS`: Returns `reservationId`, `snapshotId`, `created`, `firstName`, `lastName`, `confirmed`, `status`, `method`, `ticketsQuantity`, `totalPrice`, `ticketsPdf`, `archived`, `fullName`.
3435
- * - `FORM` : Returns `checkoutForm`.
3436
- * - `INVOICE`: Returns `invoice`.
3437
- *
3438
- * Default: If `fieldset` is omitted from the request, `orderNumber`, `eventId`, `contactId`, `memberId`, `anonymized`, `fullyCheckedIn`.
3439
- *
3440
- */
3441
- fieldset?: OrderFieldset[];
3442
- /** Status. */
3443
- status?: OrderStatus[];
3444
- /** Event ID. */
3445
- eventId?: string[];
3446
- /** Order number. */
3447
- orderNumber?: string[];
3448
- /** Site member ID. */
3449
- memberId?: string[];
3450
- /** Field facets. */
3451
- facet?: string[];
3452
- /** Textual search filter - search is performed on `"full_name"`, `"email"` and `"order_number"`. */
3453
- searchPhrase?: string;
3454
- /** Event creator ID. */
3455
- eventCreatorId?: string[];
3456
- /**
3457
- * Sort order.
3458
- *
3459
- * Default: `"created"`:`"asc"`.
3460
- *
3461
- *
3462
- * See [Orders Sort](/wix-events-v2/orders/orders-sort) for more information.
3463
- */
3464
- sort?: string;
3465
- /** Order tag. */
3466
- tag?: OrderTag[];
3467
- }
3468
- /**
3469
- * Retrieves an order, including ticket data.
3470
- * <!--
3471
- * >The fieldsets in this function are restricted and only run if you elevate permissions using the [wix-auth.elevate()](https://www.wix.com/velo/reference/wix-auth/elevate) function.
3472
- * -->
3473
- * @public
3474
- * @documentationMaturity preview
3475
- * @requiredField identifiers
3476
- * @requiredField identifiers.eventId
3477
- * @requiredField identifiers.orderNumber
3478
- * @param options - An object representing the available options for getting an order.
3479
- * @param identifiers - An object containing identifiers for the order to be retrieved.
3480
- * @permissionScope Read Events - all read permissions
3481
- * @permissionScope Manage Events - all permissions
3482
- * @permissionScope Read Basic Events Order Info
3483
- * @permissionScope Manage Orders
3484
- * @applicableIdentity APP
3485
- * @returns Requested order.
3486
- */
3487
- export declare function getOrder(identifiers: GetOrderIdentifiers, options?: GetOrderOptions): Promise<Order & NonNullable<GetOrderResponseNonNullableFields>['order']>;
3488
- export interface GetOrderIdentifiers {
3489
- /** Event ID. */
3490
- eventId: string;
3491
- /** Unique order number. */
3492
- orderNumber: string;
3493
- }
3494
- export interface GetOrderOptions {
3495
- /**
3496
- * Predefined sets of fields to return.
3497
- * - `TICKETS`: Returns `tickets`.
3498
- * - `DETAILS`: Returns `reservationId`, `snapshotId`, `created`, `firstName`, `lastName`, `confirmed`, `status`, `method`, `ticketsQuantity`, `totalPrice`, `ticketsPdf`, `archived`, `fullName`.
3499
- * - `FORM` : Returns `checkoutForm`.
3500
- * - `INVOICE`: Returns `invoice`.
3501
- *
3502
- * Default: If `fieldset` is omitted from the request, `orderNumber`, `eventId`, `contactId`, `memberId`, `anonymized`, `fullyCheckedIn`.
3503
- */
3504
- fieldset?: OrderFieldset[];
3505
- }
3506
- /**
3507
- * Updates an order.
3508
- *
3509
- *
3510
- * See [Partial Updates](/wix-events-v2/partial-updates) for more information.
3511
- * <!--
3512
- * >Note: This function is restricted and only runs if you elevate permissions using the [wix-auth.elevate()](https://www.wix.com/velo/reference/wix-auth/elevate) function.
3513
- * -->
3514
- * @public
3515
- * @documentationMaturity preview
3516
- * @requiredField identifiers
3517
- * @requiredField identifiers.eventId
3518
- * @requiredField identifiers.orderNumber
3519
- * @param options - An object representing the available options for updating an order.
3520
- * @param identifiers - An object containing identifiers for the order to be updated.
3521
- * @permissionScope Manage Events - all permissions
3522
- * @permissionScope Manage Orders
3523
- * @applicableIdentity APP
3524
- */
3525
- export declare function updateOrder(identifiers: UpdateOrderIdentifiers, options?: UpdateOrderOptions): Promise<UpdateOrderResponse & UpdateOrderResponseNonNullableFields>;
3526
- export interface UpdateOrderIdentifiers {
3527
- /** Event ID. */
3528
- eventId: string;
3529
- /** Unique order number. */
3530
- orderNumber: string;
3531
- }
3532
- export interface UpdateOrderOptions {
3533
- /** Checkout form. */
3534
- checkoutForm?: FormResponse;
3535
- /** Whether order is archived. */
3536
- archived?: boolean;
3537
- }
3538
- /**
3539
- * Updates multiple orders' `archived` status.
3540
- *
3541
- *
3542
- * See [Partial Updates](/wix-events-v2/partial-updates) for more information.
3543
- * <!--
3544
- * >Note: This function is restricted and only runs if you elevate permissions using the [wix-auth.elevate()](https://www.wix.com/velo/reference/wix-auth/elevate) function.
3545
- * -->
3546
- * @param eventId - Event ID.
3547
- * @public
3548
- * @documentationMaturity preview
3549
- * @requiredField eventId
3550
- * @param options - An object representing the available options for confirming an order.
3551
- * @permissionScope Manage Events - all permissions
3552
- * @permissionScope Manage Orders
3553
- * @applicableIdentity APP
3554
- */
3555
- export declare function bulkUpdateOrders(eventId: string, options?: BulkUpdateOrdersOptions): Promise<BulkUpdateOrdersResponse & BulkUpdateOrdersResponseNonNullableFields>;
3556
- export interface BulkUpdateOrdersOptions {
3557
- /** Unique order number. */
3558
- orderNumber?: string[];
3559
- /** Whether to archive the order. */
3560
- archived?: boolean;
3561
- }
3562
- /**
3563
- * Changes order status from "INITIATED, "PENDING", or "OFFLINE_PENDING" to "PAID". Previously confirmed orders (with status "PAID" or "FREE") are not changed. Confirming previously "INITIATED" or "PENDING" orders triggers an email with the tickets to the buyer (and to additional guests, if relevant and provided).
3564
- * <!--
3565
- * > Note: This function is restricted and only runs if you elevate permissions using the [wix-auth.elevate()](https://www.wix.com/velo/reference/wix-auth/elevate) function.
3566
- * -->
3567
- * @param eventId - Event ID.
3568
- * @public
3569
- * @documentationMaturity preview
3570
- * @requiredField eventId
3571
- * @param options - An object representing the available options for confirming an order.
3572
- * @permissionScope Manage Events - all permissions
3573
- * @permissionScope Manage Orders
3574
- * @applicableIdentity APP
3575
- */
3576
- export declare function confirmOrder(eventId: string, options?: ConfirmOrderOptions): Promise<ConfirmOrderResponse & ConfirmOrderResponseNonNullableFields>;
3577
- export interface ConfirmOrderOptions {
3578
- /** Order numbers. */
3579
- orderNumber?: string[];
3580
- }
3581
- /**
3582
- * Retrieves a summary of total ticket sales.
3583
- * <!--
3584
- * > Note: This function is restricted and only runs if you elevate permissions using the [wix-auth.elevate()](https://www.wix.com/velo/reference/wix-auth/elevate) function.
3585
- * -->
3586
- * @public
3587
- * @documentationMaturity preview
3588
- * @param options - An object representing the available options for retrieving a summary of total ticket sales.
3589
- * @permissionScope Read Events - all read permissions
3590
- * @permissionScope Manage Events - all permissions
3591
- * @permissionScope Read Basic Events Order Info
3592
- * @permissionScope Manage Orders
3593
- * @applicableIdentity APP
3594
- */
3595
- export declare function getSummary(options?: GetSummaryOptions): Promise<GetSummaryResponse & GetSummaryResponseNonNullableFields>;
3596
- export interface GetSummaryOptions {
3597
- /** Event ID. */
3598
- eventId?: string | null;
3599
- }