@wix/events 1.0.146 → 1.0.147

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 (257) hide show
  1. package/build/cjs/index.d.ts +7 -1
  2. package/build/cjs/index.js +8 -2
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +7 -1
  5. package/build/cjs/index.typings.js +8 -2
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +7 -1
  8. package/build/cjs/meta.js +8 -2
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/src/events-guests-v1-guest.http.d.ts +23 -0
  11. package/build/cjs/src/events-guests-v1-guest.http.js +116 -0
  12. package/build/cjs/src/events-guests-v1-guest.http.js.map +1 -0
  13. package/build/cjs/src/events-guests-v1-guest.meta.d.ts +13 -0
  14. package/build/cjs/src/events-guests-v1-guest.meta.js +47 -0
  15. package/build/cjs/src/events-guests-v1-guest.meta.js.map +1 -0
  16. package/build/cjs/src/events-guests-v1-guest.public.d.ts +7 -0
  17. package/build/cjs/src/events-guests-v1-guest.public.js +24 -0
  18. package/build/cjs/src/events-guests-v1-guest.public.js.map +1 -0
  19. package/build/cjs/src/events-guests-v1-guest.types.d.ts +800 -0
  20. package/build/cjs/src/events-guests-v1-guest.types.js +105 -0
  21. package/build/cjs/src/events-guests-v1-guest.types.js.map +1 -0
  22. package/build/cjs/src/events-guests-v1-guest.universal.d.ts +864 -0
  23. package/build/cjs/src/events-guests-v1-guest.universal.js +241 -0
  24. package/build/cjs/src/events-guests-v1-guest.universal.js.map +1 -0
  25. package/build/cjs/src/events-v1-order-checkout.http.d.ts +89 -0
  26. package/build/cjs/src/events-v1-order-checkout.http.js +1073 -0
  27. package/build/cjs/src/events-v1-order-checkout.http.js.map +1 -0
  28. package/build/cjs/src/events-v1-order-checkout.meta.d.ts +26 -0
  29. package/build/cjs/src/events-v1-order-checkout.meta.js +180 -0
  30. package/build/cjs/src/events-v1-order-checkout.meta.js.map +1 -0
  31. package/build/cjs/src/events-v1-order-checkout.public.d.ts +15 -0
  32. package/build/cjs/src/events-v1-order-checkout.public.js +69 -0
  33. package/build/cjs/src/events-v1-order-checkout.public.js.map +1 -0
  34. package/build/cjs/src/events-v1-order-checkout.types.d.ts +3626 -0
  35. package/build/cjs/src/events-v1-order-checkout.types.js +145 -0
  36. package/build/cjs/src/events-v1-order-checkout.types.js.map +1 -0
  37. package/build/cjs/src/events-v1-order-checkout.universal.d.ts +3645 -0
  38. package/build/cjs/src/events-v1-order-checkout.universal.js +824 -0
  39. package/build/cjs/src/events-v1-order-checkout.universal.js.map +1 -0
  40. package/build/cjs/src/events-v1-order-orders.http.d.ts +121 -0
  41. package/build/cjs/src/events-v1-order-orders.http.js +1105 -0
  42. package/build/cjs/src/events-v1-order-orders.http.js.map +1 -0
  43. package/build/cjs/src/events-v1-order-orders.meta.d.ts +28 -0
  44. package/build/cjs/src/events-v1-order-orders.meta.js +142 -0
  45. package/build/cjs/src/events-v1-order-orders.meta.js.map +1 -0
  46. package/build/cjs/src/events-v1-order-orders.public.d.ts +220 -0
  47. package/build/cjs/src/events-v1-order-orders.public.js +57 -0
  48. package/build/cjs/src/events-v1-order-orders.public.js.map +1 -0
  49. package/build/cjs/src/events-v1-order-orders.types.d.ts +3626 -0
  50. package/build/cjs/src/events-v1-order-orders.types.js +145 -0
  51. package/build/cjs/src/events-v1-order-orders.types.js.map +1 -0
  52. package/build/cjs/src/events-v1-order-orders.universal.d.ts +3615 -0
  53. package/build/cjs/src/events-v1-order-orders.universal.js +679 -0
  54. package/build/cjs/src/events-v1-order-orders.universal.js.map +1 -0
  55. package/build/cjs/src/events-v1-ticket-definition.http.d.ts +50 -0
  56. package/build/cjs/src/events-v1-ticket-definition.http.js +413 -0
  57. package/build/cjs/src/events-v1-ticket-definition.http.js.map +1 -0
  58. package/build/cjs/src/events-v1-ticket-definition.meta.d.ts +23 -0
  59. package/build/cjs/src/{events-v3-ticket-definition.meta.js → events-v1-ticket-definition.meta.js} +42 -42
  60. package/build/cjs/src/events-v1-ticket-definition.meta.js.map +1 -0
  61. package/build/cjs/src/events-v1-ticket-definition.public.d.ts +61 -0
  62. package/build/cjs/src/events-v1-ticket-definition.public.js +57 -0
  63. package/build/cjs/src/events-v1-ticket-definition.public.js.map +1 -0
  64. package/build/cjs/src/events-v1-ticket-definition.types.d.ts +725 -0
  65. package/build/cjs/src/events-v1-ticket-definition.types.js +63 -0
  66. package/build/cjs/src/events-v1-ticket-definition.types.js.map +1 -0
  67. package/build/cjs/src/events-v1-ticket-definition.universal.d.ts +960 -0
  68. package/build/cjs/src/events-v1-ticket-definition.universal.js +618 -0
  69. package/build/cjs/src/events-v1-ticket-definition.universal.js.map +1 -0
  70. package/build/cjs/src/events-v1-ticket.http.d.ts +44 -0
  71. package/build/cjs/src/events-v1-ticket.http.js +570 -0
  72. package/build/cjs/src/events-v1-ticket.http.js.map +1 -0
  73. package/build/cjs/src/events-v1-ticket.meta.d.ts +28 -0
  74. package/build/cjs/src/events-v1-ticket.meta.js +142 -0
  75. package/build/cjs/src/events-v1-ticket.meta.js.map +1 -0
  76. package/build/cjs/src/events-v1-ticket.public.d.ts +45 -0
  77. package/build/cjs/src/events-v1-ticket.public.js +48 -0
  78. package/build/cjs/src/events-v1-ticket.public.js.map +1 -0
  79. package/build/cjs/src/events-v1-ticket.types.d.ts +791 -0
  80. package/build/cjs/src/events-v1-ticket.types.js +76 -0
  81. package/build/cjs/src/events-v1-ticket.types.js.map +1 -0
  82. package/build/cjs/src/events-v1-ticket.universal.d.ts +892 -0
  83. package/build/cjs/src/events-v1-ticket.universal.js +621 -0
  84. package/build/cjs/src/events-v1-ticket.universal.js.map +1 -0
  85. package/build/cjs/src/events-v2-policy.http.d.ts +80 -0
  86. package/build/cjs/src/events-v2-policy.http.js +308 -0
  87. package/build/cjs/src/events-v2-policy.http.js.map +1 -0
  88. package/build/cjs/src/events-v2-policy.meta.d.ts +24 -0
  89. package/build/cjs/src/events-v2-policy.meta.js +142 -0
  90. package/build/cjs/src/events-v2-policy.meta.js.map +1 -0
  91. package/build/cjs/src/events-v2-policy.public.d.ts +25 -0
  92. package/build/cjs/src/events-v2-policy.public.js +48 -0
  93. package/build/cjs/src/events-v2-policy.public.js.map +1 -0
  94. package/build/cjs/src/events-v2-policy.types.d.ts +405 -0
  95. package/build/cjs/src/events-v2-policy.types.js +56 -0
  96. package/build/cjs/src/events-v2-policy.types.js.map +1 -0
  97. package/build/cjs/src/events-v2-policy.universal.d.ts +654 -0
  98. package/build/cjs/src/events-v2-policy.universal.js +539 -0
  99. package/build/cjs/src/events-v2-policy.universal.js.map +1 -0
  100. package/build/cjs/src/events-v3-event.http.d.ts +69 -0
  101. package/build/cjs/src/events-v3-event.http.js +661 -0
  102. package/build/cjs/src/events-v3-event.http.js.map +1 -0
  103. package/build/cjs/src/events-v3-event.meta.d.ts +39 -0
  104. package/build/cjs/src/events-v3-event.meta.js +275 -0
  105. package/build/cjs/src/events-v3-event.meta.js.map +1 -0
  106. package/build/cjs/src/events-v3-event.public.d.ts +566 -0
  107. package/build/cjs/src/events-v3-event.public.js +106 -0
  108. package/build/cjs/src/events-v3-event.public.js.map +1 -0
  109. package/build/cjs/src/events-v3-event.types.d.ts +3611 -0
  110. package/build/cjs/src/events-v3-event.types.js +261 -0
  111. package/build/cjs/src/events-v3-event.types.js.map +1 -0
  112. package/build/cjs/src/events-v3-event.universal.d.ts +3779 -0
  113. package/build/cjs/src/events-v3-event.universal.js +1165 -0
  114. package/build/cjs/src/events-v3-event.universal.js.map +1 -0
  115. package/build/es/index.d.ts +7 -1
  116. package/build/es/index.js +7 -1
  117. package/build/es/index.js.map +1 -1
  118. package/build/es/index.typings.d.ts +7 -1
  119. package/build/es/index.typings.js +7 -1
  120. package/build/es/index.typings.js.map +1 -1
  121. package/build/es/meta.d.ts +7 -1
  122. package/build/es/meta.js +7 -1
  123. package/build/es/meta.js.map +1 -1
  124. package/build/es/src/events-guests-v1-guest.http.d.ts +23 -0
  125. package/build/es/src/events-guests-v1-guest.http.js +112 -0
  126. package/build/es/src/events-guests-v1-guest.http.js.map +1 -0
  127. package/build/es/src/events-guests-v1-guest.meta.d.ts +13 -0
  128. package/build/es/src/events-guests-v1-guest.meta.js +20 -0
  129. package/build/es/src/events-guests-v1-guest.meta.js.map +1 -0
  130. package/build/es/src/events-guests-v1-guest.public.d.ts +7 -0
  131. package/build/es/src/events-guests-v1-guest.public.js +9 -0
  132. package/build/es/src/events-guests-v1-guest.public.js.map +1 -0
  133. package/build/es/src/events-guests-v1-guest.types.d.ts +800 -0
  134. package/build/es/src/events-guests-v1-guest.types.js +102 -0
  135. package/build/es/src/events-guests-v1-guest.types.js.map +1 -0
  136. package/build/es/src/events-guests-v1-guest.universal.d.ts +864 -0
  137. package/build/es/src/events-guests-v1-guest.universal.js +214 -0
  138. package/build/es/src/events-guests-v1-guest.universal.js.map +1 -0
  139. package/build/es/src/events-v1-order-checkout.http.d.ts +89 -0
  140. package/build/es/src/events-v1-order-checkout.http.js +1056 -0
  141. package/build/es/src/events-v1-order-checkout.http.js.map +1 -0
  142. package/build/es/src/events-v1-order-checkout.meta.d.ts +26 -0
  143. package/build/es/src/events-v1-order-checkout.meta.js +146 -0
  144. package/build/es/src/events-v1-order-checkout.meta.js.map +1 -0
  145. package/build/es/src/events-v1-order-checkout.public.d.ts +15 -0
  146. package/build/es/src/events-v1-order-checkout.public.js +44 -0
  147. package/build/es/src/events-v1-order-checkout.public.js.map +1 -0
  148. package/build/es/src/events-v1-order-checkout.types.d.ts +3626 -0
  149. package/build/es/src/events-v1-order-checkout.types.js +142 -0
  150. package/build/es/src/events-v1-order-checkout.types.js.map +1 -0
  151. package/build/es/src/events-v1-order-checkout.universal.d.ts +3645 -0
  152. package/build/es/src/events-v1-order-checkout.universal.js +790 -0
  153. package/build/es/src/events-v1-order-checkout.universal.js.map +1 -0
  154. package/build/es/src/events-v1-order-orders.http.d.ts +121 -0
  155. package/build/es/src/events-v1-order-orders.http.js +1088 -0
  156. package/build/es/src/events-v1-order-orders.http.js.map +1 -0
  157. package/build/es/src/events-v1-order-orders.meta.d.ts +28 -0
  158. package/build/es/src/events-v1-order-orders.meta.js +110 -0
  159. package/build/es/src/events-v1-order-orders.meta.js.map +1 -0
  160. package/build/es/src/events-v1-order-orders.public.d.ts +220 -0
  161. package/build/es/src/events-v1-order-orders.public.js +34 -0
  162. package/build/es/src/events-v1-order-orders.public.js.map +1 -0
  163. package/build/es/src/events-v1-order-orders.types.d.ts +3626 -0
  164. package/build/es/src/events-v1-order-orders.types.js +142 -0
  165. package/build/es/src/events-v1-order-orders.types.js.map +1 -0
  166. package/build/es/src/events-v1-order-orders.universal.d.ts +3615 -0
  167. package/build/es/src/events-v1-order-orders.universal.js +647 -0
  168. package/build/es/src/events-v1-order-orders.universal.js.map +1 -0
  169. package/build/es/src/events-v1-ticket-definition.http.d.ts +50 -0
  170. package/build/es/src/events-v1-ticket-definition.http.js +403 -0
  171. package/build/es/src/events-v1-ticket-definition.http.js.map +1 -0
  172. package/build/es/src/events-v1-ticket-definition.meta.d.ts +23 -0
  173. package/build/es/src/{events-v3-ticket-definition.meta.js → events-v1-ticket-definition.meta.js} +35 -35
  174. package/build/es/src/events-v1-ticket-definition.meta.js.map +1 -0
  175. package/build/es/src/events-v1-ticket-definition.public.d.ts +61 -0
  176. package/build/es/src/events-v1-ticket-definition.public.js +39 -0
  177. package/build/es/src/events-v1-ticket-definition.public.js.map +1 -0
  178. package/build/es/src/events-v1-ticket-definition.types.d.ts +725 -0
  179. package/build/es/src/events-v1-ticket-definition.types.js +60 -0
  180. package/build/es/src/events-v1-ticket-definition.types.js.map +1 -0
  181. package/build/es/src/events-v1-ticket-definition.universal.d.ts +960 -0
  182. package/build/es/src/events-v1-ticket-definition.universal.js +585 -0
  183. package/build/es/src/events-v1-ticket-definition.universal.js.map +1 -0
  184. package/build/es/src/events-v1-ticket.http.d.ts +44 -0
  185. package/build/es/src/events-v1-ticket.http.js +561 -0
  186. package/build/es/src/events-v1-ticket.http.js.map +1 -0
  187. package/build/es/src/events-v1-ticket.meta.d.ts +28 -0
  188. package/build/es/src/events-v1-ticket.meta.js +110 -0
  189. package/build/es/src/events-v1-ticket.meta.js.map +1 -0
  190. package/build/es/src/events-v1-ticket.public.d.ts +45 -0
  191. package/build/es/src/events-v1-ticket.public.js +34 -0
  192. package/build/es/src/events-v1-ticket.public.js.map +1 -0
  193. package/build/es/src/events-v1-ticket.types.d.ts +791 -0
  194. package/build/es/src/events-v1-ticket.types.js +73 -0
  195. package/build/es/src/events-v1-ticket.types.js.map +1 -0
  196. package/build/es/src/events-v1-ticket.universal.d.ts +892 -0
  197. package/build/es/src/events-v1-ticket.universal.js +589 -0
  198. package/build/es/src/events-v1-ticket.universal.js.map +1 -0
  199. package/build/es/src/events-v2-policy.http.d.ts +80 -0
  200. package/build/es/src/events-v2-policy.http.js +299 -0
  201. package/build/es/src/events-v2-policy.http.js.map +1 -0
  202. package/build/es/src/events-v2-policy.meta.d.ts +24 -0
  203. package/build/es/src/events-v2-policy.meta.js +110 -0
  204. package/build/es/src/events-v2-policy.meta.js.map +1 -0
  205. package/build/es/src/events-v2-policy.public.d.ts +25 -0
  206. package/build/es/src/events-v2-policy.public.js +34 -0
  207. package/build/es/src/events-v2-policy.public.js.map +1 -0
  208. package/build/es/src/events-v2-policy.types.d.ts +405 -0
  209. package/build/es/src/events-v2-policy.types.js +53 -0
  210. package/build/es/src/events-v2-policy.types.js.map +1 -0
  211. package/build/es/src/events-v2-policy.universal.d.ts +654 -0
  212. package/build/es/src/events-v2-policy.universal.js +507 -0
  213. package/build/es/src/events-v2-policy.universal.js.map +1 -0
  214. package/build/es/src/events-v3-event.http.d.ts +69 -0
  215. package/build/es/src/events-v3-event.http.js +645 -0
  216. package/build/es/src/events-v3-event.http.js.map +1 -0
  217. package/build/es/src/events-v3-event.meta.d.ts +39 -0
  218. package/build/es/src/events-v3-event.meta.js +236 -0
  219. package/build/es/src/events-v3-event.meta.js.map +1 -0
  220. package/build/es/src/events-v3-event.public.d.ts +566 -0
  221. package/build/es/src/events-v3-event.public.js +69 -0
  222. package/build/es/src/events-v3-event.public.js.map +1 -0
  223. package/build/es/src/events-v3-event.types.d.ts +3611 -0
  224. package/build/es/src/events-v3-event.types.js +258 -0
  225. package/build/es/src/events-v3-event.types.js.map +1 -0
  226. package/build/es/src/events-v3-event.universal.d.ts +3779 -0
  227. package/build/es/src/events-v3-event.universal.js +1126 -0
  228. package/build/es/src/events-v3-event.universal.js.map +1 -0
  229. package/package.json +2 -2
  230. package/build/cjs/src/events-v3-ticket-definition.http.d.ts +0 -33
  231. package/build/cjs/src/events-v3-ticket-definition.http.js +0 -271
  232. package/build/cjs/src/events-v3-ticket-definition.http.js.map +0 -1
  233. package/build/cjs/src/events-v3-ticket-definition.meta.d.ts +0 -25
  234. package/build/cjs/src/events-v3-ticket-definition.meta.js.map +0 -1
  235. package/build/cjs/src/events-v3-ticket-definition.public.d.ts +0 -98
  236. package/build/cjs/src/events-v3-ticket-definition.public.js +0 -63
  237. package/build/cjs/src/events-v3-ticket-definition.public.js.map +0 -1
  238. package/build/cjs/src/events-v3-ticket-definition.types.d.ts +0 -1265
  239. package/build/cjs/src/events-v3-ticket-definition.types.js +0 -195
  240. package/build/cjs/src/events-v3-ticket-definition.types.js.map +0 -1
  241. package/build/cjs/src/events-v3-ticket-definition.universal.d.ts +0 -1449
  242. package/build/cjs/src/events-v3-ticket-definition.universal.js +0 -698
  243. package/build/cjs/src/events-v3-ticket-definition.universal.js.map +0 -1
  244. package/build/es/src/events-v3-ticket-definition.http.d.ts +0 -33
  245. package/build/es/src/events-v3-ticket-definition.http.js +0 -261
  246. package/build/es/src/events-v3-ticket-definition.http.js.map +0 -1
  247. package/build/es/src/events-v3-ticket-definition.meta.d.ts +0 -25
  248. package/build/es/src/events-v3-ticket-definition.meta.js.map +0 -1
  249. package/build/es/src/events-v3-ticket-definition.public.d.ts +0 -98
  250. package/build/es/src/events-v3-ticket-definition.public.js +0 -39
  251. package/build/es/src/events-v3-ticket-definition.public.js.map +0 -1
  252. package/build/es/src/events-v3-ticket-definition.types.d.ts +0 -1265
  253. package/build/es/src/events-v3-ticket-definition.types.js +0 -192
  254. package/build/es/src/events-v3-ticket-definition.types.js.map +0 -1
  255. package/build/es/src/events-v3-ticket-definition.universal.d.ts +0 -1449
  256. package/build/es/src/events-v3-ticket-definition.universal.js +0 -665
  257. package/build/es/src/events-v3-ticket-definition.universal.js.map +0 -1
@@ -0,0 +1,654 @@
1
+ export declare const __debug: {
2
+ verboseLogging: {
3
+ on: () => boolean;
4
+ off: () => boolean;
5
+ };
6
+ };
7
+ export interface Policy {
8
+ /**
9
+ * Policy ID.
10
+ * @readonly
11
+ */
12
+ _id?: string | null;
13
+ /**
14
+ * Revision number, which increments by 1 each time the policy is updated. The existing revision must be used when updating a policy to prevent conflicting changes. You'll get an error if you try to use the previous revision.
15
+ * @readonly
16
+ */
17
+ revision?: string | null;
18
+ /**
19
+ * Date and time when the policy was created.
20
+ * @readonly
21
+ */
22
+ _createdDate?: Date;
23
+ /**
24
+ * Date and time of the policy's latest update in.
25
+ * @readonly
26
+ */
27
+ _updatedDate?: Date;
28
+ /**
29
+ * Policy name that is visible in the dashboard and checkout form.
30
+ *
31
+ * Min: 1 character
32
+ *
33
+ * Max: 40 characters
34
+ */
35
+ name?: string;
36
+ /**
37
+ * Policy body, usually containing various terms and conditions.
38
+ *
39
+ * Min: 1 character
40
+ *
41
+ * Max: 50000 characters.
42
+ *
43
+ * **Note**: You can format text using various HTML tags such as `<p>`, `<b>`, `<ul>`, etc.
44
+ */
45
+ body?: string;
46
+ /** ID of the event to which the policy belongs. */
47
+ eventId?: string;
48
+ }
49
+ export interface CreatePolicyRequest {
50
+ /** Policy info. */
51
+ policy: Policy;
52
+ }
53
+ export interface CreatePolicyResponse {
54
+ /** Created policy. */
55
+ policy?: Policy;
56
+ }
57
+ export interface UpdatePolicyRequest {
58
+ /** Policy to update. */
59
+ policy: Policy;
60
+ }
61
+ export interface UpdatePolicyResponse {
62
+ /** The updated policy. */
63
+ policy?: Policy;
64
+ }
65
+ export interface UpdatePolicySortIndexRequest {
66
+ /** Policy's ID */
67
+ policyId?: string;
68
+ /** The revision of the event policy. */
69
+ revision?: string;
70
+ /** The sort index of a policy to set. */
71
+ sortIndex?: number;
72
+ }
73
+ export interface UpdatePolicySortIndexResponse {
74
+ /** The updated event policy. */
75
+ policy?: Policy;
76
+ }
77
+ export interface DeletePolicyRequest {
78
+ /** ID of the policy to delete. */
79
+ policyId: string;
80
+ }
81
+ export interface DeletePolicyResponse {
82
+ }
83
+ export interface QueryPoliciesRequest {
84
+ /** Query options. See [API Query Langauge](https://dev.wix.com/api/rest/getting-started/api-query-language) for more details. */
85
+ query: QueryV2;
86
+ }
87
+ export interface QueryV2 extends QueryV2PagingMethodOneOf {
88
+ /** Pagination options. */
89
+ paging?: Paging;
90
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
91
+ cursorPaging?: CursorPaging;
92
+ /** Filter object in the following format: <br/> `"filter" : { "fieldName1": "value1", "fieldName2":{"$operator":"value2"} }`. <br/> <br/> **Example:** <br/> `"filter" : { "id": "2224a9d1-79e6-4549-a5c5-bf7ce5aac1a5", "revision": {"$ne":"1"} }` <br/> <br/> See [supported fields and operators](https://dev.wix.com/api/rest/wix-events/policy-v2/filter-and-sort) for more information. */
93
+ filter?: Record<string, any> | null;
94
+ /** Sort object in the following format: <br/> `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]` <br/> <br/> **Example:** <br/> `[{"fieldName":"createdDate","direction":"DESC"}]` <br/> <br/> See [supported fields](https://dev.wix.com/api/rest/wix-events/policy-v2/filter-and-sort) for more information. */
95
+ sort?: Sorting[];
96
+ }
97
+ /** @oneof */
98
+ export interface QueryV2PagingMethodOneOf {
99
+ /** Pagination options. */
100
+ paging?: Paging;
101
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
102
+ cursorPaging?: CursorPaging;
103
+ }
104
+ export interface Sorting {
105
+ /** Name of the field to sort by. */
106
+ fieldName?: string;
107
+ /** Sort order (ASC/DESC). Defaults to ASC */
108
+ order?: SortOrder;
109
+ }
110
+ export declare enum SortOrder {
111
+ ASC = "ASC",
112
+ DESC = "DESC"
113
+ }
114
+ export interface Paging {
115
+ /** Number of items to load per page. */
116
+ limit?: number | null;
117
+ /** Number of items to skip in the current sort order. */
118
+ offset?: number | null;
119
+ }
120
+ export interface CursorPaging {
121
+ /** Number of items to load per page. */
122
+ limit?: number | null;
123
+ /**
124
+ * Pointer to the next or previous page in the list of results.
125
+ * You can get the relevant cursor token
126
+ * from the `pagingMetadata` object in the previous call's response.
127
+ * Not relevant for the first request.
128
+ */
129
+ cursor?: string | null;
130
+ }
131
+ export interface QueryPoliciesResponse {
132
+ /** Event policies. */
133
+ policies?: Policy[];
134
+ /** Query result's metadata. */
135
+ metadata?: PagingMetadataV2;
136
+ }
137
+ export interface PagingMetadataV2 {
138
+ /** Number of items returned in the response. */
139
+ count?: number | null;
140
+ /** Offset that was requested. */
141
+ offset?: number | null;
142
+ /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
143
+ total?: number | null;
144
+ /** Flag that indicates the server failed to calculate the `total` field. */
145
+ tooManyToCount?: boolean | null;
146
+ /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
147
+ cursors?: Cursors;
148
+ }
149
+ export interface Cursors {
150
+ /** Cursor pointing to next page in the list of results. */
151
+ next?: string | null;
152
+ /** Cursor pointing to previous page in the list of results. */
153
+ prev?: string | null;
154
+ }
155
+ export interface ReorderEventPoliciesRequest extends ReorderEventPoliciesRequestReferencePolicyOneOf {
156
+ /** Move the given `policyId` before the specified policy. */
157
+ beforePolicyId?: string;
158
+ /** Move the given `policyId` after the specified policy. */
159
+ afterPolicyId?: string;
160
+ /** Event ID. */
161
+ eventId: string;
162
+ /** Event policy ID. */
163
+ policyId: string;
164
+ }
165
+ /** @oneof */
166
+ export interface ReorderEventPoliciesRequestReferencePolicyOneOf {
167
+ /** */
168
+ beforePolicyId?: string;
169
+ /** Move the given `policyId` after the specified policy. */
170
+ afterPolicyId?: string;
171
+ }
172
+ export interface ReorderEventPoliciesResponse {
173
+ /** Ordered event policies. */
174
+ policies?: Policy[];
175
+ }
176
+ export interface GetPolicyRequest {
177
+ /** Policy ID. */
178
+ policyId: string;
179
+ }
180
+ export interface GetPolicyResponse {
181
+ /** The requested policy. */
182
+ policy?: Policy;
183
+ }
184
+ export interface EventCopied {
185
+ /** Event created timestamp in ISO UTC format. */
186
+ timestamp?: Date;
187
+ /** Event ID. */
188
+ eventId?: string;
189
+ /** Event location. */
190
+ location?: Location;
191
+ /** Event schedule configuration. */
192
+ scheduleConfig?: ScheduleConfig;
193
+ /** Event title. */
194
+ title?: string;
195
+ /** Event creator user ID. */
196
+ userId?: string | null;
197
+ /** Event status. */
198
+ status?: EventStatus;
199
+ /** Instance ID. Indicates the original app instance which current event was derived from. */
200
+ derivedFromInstanceId?: string | null;
201
+ /** Event ID. Indicates the original event which current event was derived from. */
202
+ derivedFromEventId?: string | null;
203
+ /**
204
+ * Map of copied ticket definitions from original event.
205
+ * Key represents ticket def id in the original event.
206
+ * Value represents ticket def id in the newly created event.
207
+ */
208
+ ticketDefinitions?: Record<string, string>;
209
+ }
210
+ export interface Location {
211
+ /** Location name. */
212
+ name?: string | null;
213
+ /** Location map coordinates. */
214
+ coordinates?: MapCoordinates;
215
+ /** Single line address representation. */
216
+ address?: string | null;
217
+ /** Location type. */
218
+ type?: LocationType;
219
+ /**
220
+ * Full address derived from formatted single line `address`.
221
+ * When `full_address` is used to create or update the event, deprecated `address` and `coordinates` are ignored.
222
+ * If provided `full_address` has empty `formatted_address` or `coordinates`, it will be auto-completed using Atlas service.
223
+ *
224
+ * Migration notes:
225
+ * - `full_address.formatted_address` is equivalent to `address`.
226
+ * - `full_address.geocode` is equivalent to `coordinates`.
227
+ */
228
+ fullAddress?: Address;
229
+ /**
230
+ * Defines event location as TBD (To Be Determined).
231
+ * When event location is not yet defined, `name` is displayed instead of location address.
232
+ * `coordinates`, `address`, `type` and `full_address` are not required when location is TBD.
233
+ */
234
+ tbd?: boolean | null;
235
+ }
236
+ export interface MapCoordinates {
237
+ /** Latitude. */
238
+ lat?: number;
239
+ /** Longitude. */
240
+ lng?: number;
241
+ }
242
+ export declare enum LocationType {
243
+ VENUE = "VENUE",
244
+ ONLINE = "ONLINE"
245
+ }
246
+ /** Physical address */
247
+ export interface Address extends AddressStreetOneOf {
248
+ /** a break down of the street to number and street name */
249
+ streetAddress?: StreetAddress;
250
+ /** Main address line (usually street and number) as free text */
251
+ addressLine1?: string | null;
252
+ /** country code */
253
+ country?: string | null;
254
+ /** subdivision (usually state or region) code according to ISO 3166-2 */
255
+ subdivision?: string | null;
256
+ /** city name */
257
+ city?: string | null;
258
+ /** zip/postal code */
259
+ postalCode?: string | null;
260
+ /** Free text providing more detailed address info. Usually contains Apt, Suite, Floor */
261
+ addressLine2?: string | null;
262
+ /** A string containing the human-readable address of this location */
263
+ formatted?: string | null;
264
+ /** coordinates of the physical address */
265
+ location?: AddressLocation;
266
+ }
267
+ /** @oneof */
268
+ export interface AddressStreetOneOf {
269
+ /** a break down of the street to number and street name */
270
+ streetAddress?: StreetAddress;
271
+ /** Main address line (usually street and number) as free text */
272
+ addressLine?: string | null;
273
+ }
274
+ export interface StreetAddress {
275
+ /** street number */
276
+ number?: string;
277
+ /** street name */
278
+ name?: string;
279
+ }
280
+ export interface AddressLocation {
281
+ /** address latitude coordinates */
282
+ latitude?: number | null;
283
+ /** address longitude coordinates */
284
+ longitude?: number | null;
285
+ }
286
+ export interface Subdivision {
287
+ /** subdivision short code */
288
+ code?: string;
289
+ /** subdivision full-name */
290
+ name?: string;
291
+ }
292
+ export declare enum SubdivisionType {
293
+ UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
294
+ /** State */
295
+ ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
296
+ /** County */
297
+ ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
298
+ /** City/town */
299
+ ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
300
+ /** Neighborhood/quarter */
301
+ ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
302
+ /** Street/block */
303
+ ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
304
+ /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
305
+ COUNTRY = "COUNTRY"
306
+ }
307
+ export interface ScheduleConfig {
308
+ /**
309
+ * Defines event as TBD (To Be Determined) schedule.
310
+ * When event time is not yet defined, TBD message is displayed instead of event start and end times.
311
+ * `startDate`, `endDate` and `timeZoneId` are not required when schedule is TBD.
312
+ */
313
+ scheduleTbd?: boolean;
314
+ /** TBD message. */
315
+ scheduleTbdMessage?: string | null;
316
+ /** Event start timestamp. */
317
+ startDate?: Date;
318
+ /** Event end timestamp. */
319
+ endDate?: Date;
320
+ /** Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`. */
321
+ timeZoneId?: string | null;
322
+ /** Whether end date is hidden in the formatted schedule. */
323
+ endDateHidden?: boolean;
324
+ /** Whether time zone is displayed in formatted schedule. */
325
+ showTimeZone?: boolean;
326
+ /** Event recurrences. */
327
+ recurrences?: Recurrences;
328
+ }
329
+ export interface Recurrences {
330
+ /** Event occurrences. */
331
+ occurrences?: Occurrence[];
332
+ /**
333
+ * Recurring event category ID.
334
+ * @readonly
335
+ */
336
+ categoryId?: string | null;
337
+ /**
338
+ * Recurrence status.
339
+ * @readonly
340
+ */
341
+ status?: Status;
342
+ }
343
+ export interface Occurrence {
344
+ /** Event start timestamp. */
345
+ startDate?: Date;
346
+ /** Event end timestamp. */
347
+ endDate?: Date;
348
+ /** Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`. */
349
+ timeZoneId?: string | null;
350
+ /** Whether time zone is displayed in formatted schedule. */
351
+ showTimeZone?: boolean;
352
+ }
353
+ export declare enum Status {
354
+ /** Event occurs only once. */
355
+ ONE_TIME = "ONE_TIME",
356
+ /** Event is recurring. */
357
+ RECURRING = "RECURRING",
358
+ /** Marks the next upcoming occurrence of the recurring event. */
359
+ RECURRING_NEXT = "RECURRING_NEXT",
360
+ /** Marks the most recent ended occurrence of the recurring event. */
361
+ RECURRING_LAST_ENDED = "RECURRING_LAST_ENDED",
362
+ /** Marks the most recent canceled occurrence of the recurring event. */
363
+ RECURRING_LAST_CANCELED = "RECURRING_LAST_CANCELED"
364
+ }
365
+ export declare enum EventStatus {
366
+ /** Event is public and scheduled to start */
367
+ SCHEDULED = "SCHEDULED",
368
+ /** Event has started */
369
+ STARTED = "STARTED",
370
+ /** Event has ended */
371
+ ENDED = "ENDED",
372
+ /** Event was canceled */
373
+ CANCELED = "CANCELED",
374
+ /** Event is not public and needs to be published */
375
+ DRAFT = "DRAFT"
376
+ }
377
+ export interface Empty {
378
+ }
379
+ export interface GetPolicyFromTrashBinRequest {
380
+ /** Policy ID. */
381
+ policyId?: string;
382
+ }
383
+ export interface GetPolicyFromTrashBinResponse {
384
+ /** The requested policy. */
385
+ policy?: Policy;
386
+ }
387
+ export interface CreatePolicyResponseNonNullableFields {
388
+ policy?: {
389
+ name: string;
390
+ body: string;
391
+ eventId: string;
392
+ };
393
+ }
394
+ export interface UpdatePolicyResponseNonNullableFields {
395
+ policy?: {
396
+ name: string;
397
+ body: string;
398
+ eventId: string;
399
+ };
400
+ }
401
+ export interface QueryPoliciesResponseNonNullableFields {
402
+ policies: {
403
+ name: string;
404
+ body: string;
405
+ eventId: string;
406
+ }[];
407
+ }
408
+ export interface ReorderEventPoliciesResponseNonNullableFields {
409
+ policies: {
410
+ name: string;
411
+ body: string;
412
+ eventId: string;
413
+ }[];
414
+ }
415
+ export interface GetPolicyResponseNonNullableFields {
416
+ policy?: {
417
+ name: string;
418
+ body: string;
419
+ eventId: string;
420
+ };
421
+ }
422
+ /**
423
+ * Creates a policy.
424
+ *
425
+ *
426
+ * <!--
427
+ * > 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.
428
+ * -->
429
+ *
430
+ * The `createPolicy()` function returns a Promise that resolves to the newly-created policy.
431
+ *
432
+ * You can create up to 3 policies per event. If you try to create more than 3, you'll get the "Maximum number of policies for the event has been reached" error.
433
+ * @public
434
+ * @requiredField policy
435
+ * @requiredField policy.body
436
+ * @requiredField policy.eventId
437
+ * @requiredField policy.name
438
+ * @param policy - Policy info.
439
+ * @permissionScope Manage Events - all permissions
440
+ * @permissionScope Manage Policies
441
+ * @applicableIdentity APP
442
+ * @returns Created policy.
443
+ */
444
+ export declare function createPolicy(policy: Policy): Promise<Policy & NonNullable<CreatePolicyResponseNonNullableFields>['policy']>;
445
+ /**
446
+ * Updates a policy.
447
+ *
448
+ * <!--
449
+ * > 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.
450
+ * -->
451
+ *
452
+ * The `updatePolicy()` function returns a Promise that resolves to the newly-updated policy.
453
+ *
454
+ * Each time the policy is updated, `revision` increments by 1. The existing `revision` must be included when updating the policy. This ensures you're working with the latest policy and prevents unintended overwrites.
455
+ * @public
456
+ * @requiredField _id
457
+ * @requiredField policy
458
+ * @requiredField policy.body
459
+ * @requiredField policy.eventId
460
+ * @requiredField policy.name
461
+ * @requiredField policy.revision
462
+ * @param policy - Policy to update.
463
+ * @param _id - Policy ID.
464
+ * @permissionScope Manage Events - all permissions
465
+ * @permissionScope Manage Policies
466
+ * @applicableIdentity APP
467
+ * @returns The updated policy.
468
+ */
469
+ export declare function updatePolicy(_id: string | null, policy: UpdatePolicy): Promise<Policy & NonNullable<UpdatePolicyResponseNonNullableFields>['policy']>;
470
+ export interface UpdatePolicy {
471
+ /**
472
+ * Policy ID.
473
+ * @readonly
474
+ */
475
+ _id?: string | null;
476
+ /**
477
+ * Revision number, which increments by 1 each time the policy is updated. The existing revision must be used when updating a policy to prevent conflicting changes. You'll get an error if you try to use the previous revision.
478
+ * @readonly
479
+ */
480
+ revision?: string | null;
481
+ /**
482
+ * Date policy was created.
483
+ * @readonly
484
+ */
485
+ _createdDate?: Date;
486
+ /**
487
+ * Date and time of the policy's latest update in `yyyy-mm-ddThh:mm:sssZ` format.
488
+ * @readonly
489
+ */
490
+ _updatedDate?: Date;
491
+ /**
492
+ * Policy name that is visible in the dashboard and checkout form.
493
+ *
494
+ * Min: 1 character
495
+ *
496
+ * Max: 40 characters
497
+ */
498
+ name?: string;
499
+ /**
500
+ * Policy body. Here you can enter various terms and conditions.
501
+ *
502
+ * Min: 1 character
503
+ *
504
+ * Max: 50000 characters
505
+ *
506
+ * **Note**: You can format text using various HTML tags such as `<p>`, `<b>`, `<ul>`, etc.
507
+ */
508
+ body?: string;
509
+ /** ID of the event to which the policy belongs. */
510
+ eventId?: string;
511
+ }
512
+ /**
513
+ * Permanently deletes a policy.
514
+ *
515
+ *
516
+ * <!--
517
+ * > 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.
518
+ * -->
519
+ *
520
+ * The `deletePolicy()` function returns a Promise that resolves when the specified policy is deleted.
521
+ *
522
+ * Deleted policies are not returned by the `getPolicy()` or `queryPolicies()` functions.
523
+ * @public
524
+ * @requiredField policyId
525
+ * @param options - Options for Delete Policy function.
526
+ * @param policyId - ID of the policy to delete.
527
+ * @permissionScope Manage Events - all permissions
528
+ * @permissionScope Manage Policies
529
+ * @applicableIdentity APP
530
+ */
531
+ export declare function deletePolicy(policyId: string): Promise<void>;
532
+ /**
533
+ * Creates a query to retrieve a list of policies, given the provided paging and filter.
534
+ *
535
+ *
536
+ * The `queryPolicies()` function builds a query to retrieve a list of policies and returns a [PoliciesQueryBuilder](https://www.wix.com/velo/reference/wix-events-v2/policies/policiesquerybuilder) object.
537
+ *
538
+ * The returned object contains the query definition which is typically used to run the query using the [`find()`](https://www.wix.com/velo/reference/wix-events-v2/policies/policiesquerybuilder/find) function.
539
+ *
540
+ * You can refine the query by chaining `PoliciesQueryBuilder` functions onto the query. `PoliciesQueryBuilder` functions enable you to sort, filter and control the results that `PoliciesQueryBuilder.find()` returns.
541
+ *
542
+ * The query runs with the following `PoliciesQueryBuilder` defaults that you can override:
543
+ *
544
+ * [`limit`](https://www.wix.com/velo/reference/wix-events-v2/policies/policiesquerybuilder/limit): `50`
545
+ * [`descending`](https://www.wix.com/velo/reference/wix-events-v2/policies/policiesquerybuilder/descending): `_createdDate`
546
+ *
547
+ * The functions that are chained to `queryPolicies()` are applied in the order they are called. For example, if you sort on the `_createdDate` property in ascending order and then on the id property in descending order, the results are sorted by the created date and then, if there are multiple results with the same date, the items are sorted by the id.
548
+ *
549
+ * The table below shows which `PoliciesQueryBuilder` functions are supported for `queryPoliciesGuests()`. You can only use one filter function for each property. If a property is used in more than one filter, only the first filter will work.
550
+ * @public
551
+ * @permissionScope Manage Events - all permissions
552
+ * @permissionScope Read Policies
553
+ * @permissionScope Manage Policies
554
+ * @applicableIdentity APP
555
+ * @applicableIdentity MEMBER
556
+ * @applicableIdentity VISITOR
557
+ */
558
+ export declare function queryPolicies(): PoliciesQueryBuilder;
559
+ interface QueryCursorResult {
560
+ cursors: Cursors;
561
+ hasNext: () => boolean;
562
+ hasPrev: () => boolean;
563
+ length: number;
564
+ pageSize: number;
565
+ }
566
+ export interface PoliciesQueryResult extends QueryCursorResult {
567
+ items: Policy[];
568
+ query: PoliciesQueryBuilder;
569
+ next: () => Promise<PoliciesQueryResult>;
570
+ prev: () => Promise<PoliciesQueryResult>;
571
+ }
572
+ export interface PoliciesQueryBuilder {
573
+ /** @param propertyName - Property whose value is compared with `value`.
574
+ * @param value - Value to compare against.
575
+ */
576
+ eq: (propertyName: '_id' | 'revision' | '_createdDate' | '_updatedDate' | 'name' | 'body' | 'eventId', value: any) => PoliciesQueryBuilder;
577
+ /** @param propertyName - Property whose value is compared with `value`.
578
+ * @param value - Value to compare against.
579
+ */
580
+ ne: (propertyName: '_id' | 'revision' | '_createdDate' | '_updatedDate' | 'name' | 'body' | 'eventId', value: any) => PoliciesQueryBuilder;
581
+ /** @param propertyName - Property whose value is compared with `value`.
582
+ * @param value - Value to compare against.
583
+ */
584
+ ge: (propertyName: 'revision' | '_createdDate' | '_updatedDate', value: any) => PoliciesQueryBuilder;
585
+ /** @param propertyName - Property whose value is compared with `value`.
586
+ * @param value - Value to compare against.
587
+ */
588
+ gt: (propertyName: 'revision' | '_createdDate' | '_updatedDate', value: any) => PoliciesQueryBuilder;
589
+ /** @param propertyName - Property whose value is compared with `value`.
590
+ * @param value - Value to compare against.
591
+ */
592
+ le: (propertyName: 'revision' | '_createdDate' | '_updatedDate', value: any) => PoliciesQueryBuilder;
593
+ /** @param propertyName - Property whose value is compared with `value`.
594
+ * @param value - Value to compare against.
595
+ */
596
+ lt: (propertyName: 'revision' | '_createdDate' | '_updatedDate', value: any) => PoliciesQueryBuilder;
597
+ in: (propertyName: '_id' | 'revision' | '_createdDate' | '_updatedDate' | 'name' | 'body' | 'eventId', value: any) => PoliciesQueryBuilder;
598
+ exists: (propertyName: '_id' | 'revision' | '_createdDate' | '_updatedDate' | 'name' | 'body' | 'eventId', value: boolean) => PoliciesQueryBuilder;
599
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
600
+ ascending: (...propertyNames: Array<'_id' | 'revision' | '_createdDate' | '_updatedDate' | 'name' | 'body' | 'eventId'>) => PoliciesQueryBuilder;
601
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
602
+ descending: (...propertyNames: Array<'_id' | 'revision' | '_createdDate' | '_updatedDate' | 'name' | 'body' | 'eventId'>) => PoliciesQueryBuilder;
603
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
604
+ limit: (limit: number) => PoliciesQueryBuilder;
605
+ /** @param cursor - A pointer to specific record */
606
+ skipTo: (cursor: string) => PoliciesQueryBuilder;
607
+ find: () => Promise<PoliciesQueryResult>;
608
+ }
609
+ /**
610
+ * Changes policy order in an event dashboard and agreement checkbox on the checkout form.
611
+ * For example, if we have 3 policies in the list, after using this function the 3rd policy will become the 1st, and other policies will move by 1 position. By default, the policies are arranged by the created date in descending order.
612
+ *
613
+ * > **Note**: it is possible to use both `beforePolicyId` and `afterPolicyId` at the same time but only the last one defined will be executed.
614
+ *
615
+ * <!--
616
+ * > 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.
617
+ * -->
618
+ *
619
+ * The `reorderEventPolicies()` function returns a Promise that resolves to the newly-reordered policy.
620
+ * @param policyId - Event policy ID.
621
+ * @param eventId - Event ID.
622
+ * @public
623
+ * @requiredField eventId
624
+ * @requiredField policyId
625
+ * @param options - Options for Reorder Event Policies function.
626
+ * @permissionScope Manage Events - all permissions
627
+ * @permissionScope Manage Policies
628
+ * @applicableIdentity APP
629
+ */
630
+ export declare function reorderEventPolicies(policyId: string, eventId: string, options?: ReorderEventPoliciesOptions): Promise<ReorderEventPoliciesResponse & ReorderEventPoliciesResponseNonNullableFields>;
631
+ export interface ReorderEventPoliciesOptions extends ReorderEventPoliciesRequestReferencePolicyOneOf {
632
+ /** Move the given `policyId` before the specified policy. */
633
+ beforePolicyId?: string;
634
+ /** Move the given `policyId` after the specified policy. */
635
+ afterPolicyId?: string;
636
+ }
637
+ /**
638
+ * Retrieves a policy by ID.
639
+ *
640
+ *
641
+ * The `getPolicy()` function returns a Promise that resolves to a policy whose ID matches the given ID.
642
+ * @public
643
+ * @requiredField policyId
644
+ * @param policyId - Policy ID.
645
+ * @permissionScope Manage Events - all permissions
646
+ * @permissionScope Read Policies
647
+ * @permissionScope Manage Policies
648
+ * @applicableIdentity APP
649
+ * @applicableIdentity MEMBER
650
+ * @applicableIdentity VISITOR
651
+ * @returns The requested policy.
652
+ */
653
+ export declare function getPolicy(policyId: string): Promise<Policy & NonNullable<GetPolicyResponseNonNullableFields>['policy']>;
654
+ export {};