@picked/analytics 0.0.70-next.6 → 0.0.71-next.1

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 (200) hide show
  1. package/dist/.tsbuildinfo +1 -0
  2. package/dist/cjs/index.js +1 -1
  3. package/dist/cjs/plugins/analytics/index.js +1 -1
  4. package/dist/esm/index.js +1 -1
  5. package/dist/esm/plugins/analytics/index.js +1 -1
  6. package/dist/{src-DCcxqQag.js → src-R1PKYjf1.js} +10 -9
  7. package/dist/src-UWMblyJI.cjs +1 -0
  8. package/dist/types/events/app_close.d.ts +3 -3
  9. package/dist/types/events/app_initialize.d.ts +3 -3
  10. package/dist/types/events/app_load.d.ts +3 -3
  11. package/dist/types/events/app_open.d.ts +3 -3
  12. package/dist/types/events/cart_add.d.ts +4 -4
  13. package/dist/types/events/cart_remove.d.ts +4 -4
  14. package/dist/types/events/checkout_complete.d.ts +4 -4
  15. package/dist/types/events/checkout_start.d.ts +4 -4
  16. package/dist/types/events/custom.d.ts +2 -2
  17. package/dist/types/events/experience_load.d.ts +3 -3
  18. package/dist/types/events/feature_decide.d.ts +3 -3
  19. package/dist/types/events/field_validation_error.d.ts +3 -3
  20. package/dist/types/events/form_submit.d.ts +3 -3
  21. package/dist/types/events/form_submit_error.d.ts +3 -3
  22. package/dist/types/events/form_submit_success.d.ts +3 -3
  23. package/dist/types/events/identify.d.ts +4 -4
  24. package/dist/types/events/interaction/back.d.ts +3 -3
  25. package/dist/types/events/interaction/backspace.d.ts +3 -3
  26. package/dist/types/events/interaction/click.d.ts +3 -3
  27. package/dist/types/events/interaction/copy.d.ts +3 -3
  28. package/dist/types/events/interaction/drag.d.ts +3 -3
  29. package/dist/types/events/interaction/forward.d.ts +3 -3
  30. package/dist/types/events/interaction/mouse_shake.d.ts +3 -3
  31. package/dist/types/events/interaction/offline.d.ts +3 -3
  32. package/dist/types/events/interaction/online.d.ts +3 -3
  33. package/dist/types/events/interaction/page_hidden.d.ts +3 -3
  34. package/dist/types/events/interaction/page_hide.d.ts +3 -3
  35. package/dist/types/events/interaction/page_show.d.ts +3 -3
  36. package/dist/types/events/interaction/page_visible.d.ts +3 -3
  37. package/dist/types/events/interaction/paste.d.ts +3 -3
  38. package/dist/types/events/interaction/rapid_click.d.ts +3 -3
  39. package/dist/types/events/interaction/rapid_scroll.d.ts +3 -3
  40. package/dist/types/events/interaction/resize.d.ts +3 -3
  41. package/dist/types/events/interaction/right_click.d.ts +3 -3
  42. package/dist/types/events/interaction/scroll.d.ts +3 -3
  43. package/dist/types/events/interaction/unload.d.ts +3 -3
  44. package/dist/types/events/interaction/video_pause.d.ts +4 -3
  45. package/dist/types/events/interaction/video_play.d.ts +4 -3
  46. package/dist/types/events/lead_capture.d.ts +3 -3
  47. package/dist/types/events/modal_close.d.ts +3 -3
  48. package/dist/types/events/modal_open.d.ts +3 -3
  49. package/dist/types/events/order_create.d.ts +4 -4
  50. package/dist/types/events/page_view.d.ts +4 -4
  51. package/dist/types/events/product_list_view.d.ts +4 -4
  52. package/dist/types/events/product_select.d.ts +3 -3
  53. package/dist/types/events/product_view_details.d.ts +4 -4
  54. package/dist/types/events/recommendation_present.d.ts +3 -3
  55. package/dist/types/events/search_results_list_view.d.ts +3 -3
  56. package/dist/types/events/step_complete.d.ts +3 -3
  57. package/dist/types/events/step_enter.d.ts +3 -3
  58. package/dist/types/events/step_submit.d.ts +3 -3
  59. package/dist/types/events/step_submit_error.d.ts +3 -3
  60. package/dist/types/events/step_submit_success.d.ts +3 -3
  61. package/dist/types/events/waitlist_join.d.ts +3 -3
  62. package/dist/types/events/wishlist_add.d.ts +3 -3
  63. package/dist/types/fixtures/analytics-event.d.ts.map +1 -1
  64. package/dist/types/interaction-events.d.ts +5 -1
  65. package/dist/types/listeners/backspace.d.ts +1 -1
  66. package/dist/types/listeners/click.d.ts +1 -1
  67. package/dist/types/listeners/copy.d.ts +1 -1
  68. package/dist/types/listeners/drag.d.ts +1 -1
  69. package/dist/types/listeners/mouse_shake.d.ts +1 -1
  70. package/dist/types/listeners/offline.d.ts +1 -1
  71. package/dist/types/listeners/online.d.ts +1 -1
  72. package/dist/types/listeners/pagehide.d.ts +1 -1
  73. package/dist/types/listeners/pageshow.d.ts +1 -1
  74. package/dist/types/listeners/paste.d.ts +1 -1
  75. package/dist/types/listeners/rapid_click.d.ts +1 -1
  76. package/dist/types/listeners/rapid_scroll.d.ts +1 -1
  77. package/dist/types/listeners/resize.d.ts +1 -1
  78. package/dist/types/listeners/right_click.d.ts +1 -1
  79. package/dist/types/listeners/scroll.d.ts +1 -1
  80. package/dist/types/listeners/unload.d.ts +1 -1
  81. package/dist/types/listeners/video_pause.d.ts +1 -1
  82. package/dist/types/listeners/video_play.d.ts +1 -1
  83. package/dist/types/listeners/visibility.d.ts +1 -1
  84. package/dist/types/plugins/analytics/plugin.d.ts +4 -3
  85. package/dist/types/plugins/analytics/plugin.d.ts.map +1 -1
  86. package/dist/types/schemas/answer_list/1-0-0.d.ts +27 -27
  87. package/dist/types/schemas/answer_list/1-0-0.d.ts.map +1 -1
  88. package/dist/types/schemas/answer_list/index.d.ts +28 -28
  89. package/dist/types/schemas/answer_list/index.d.ts.map +1 -1
  90. package/dist/types/schemas/app/1-0-0.d.ts +15 -15
  91. package/dist/types/schemas/app/1-0-0.d.ts.map +1 -1
  92. package/dist/types/schemas/app/1-1-0.d.ts +14 -13
  93. package/dist/types/schemas/app/1-1-0.d.ts.map +1 -1
  94. package/dist/types/schemas/app/index.d.ts +29 -28
  95. package/dist/types/schemas/app/index.d.ts.map +1 -1
  96. package/dist/types/schemas/cvly_funnel/1-0-0.d.ts +13 -13
  97. package/dist/types/schemas/cvly_funnel/1-0-0.d.ts.map +1 -1
  98. package/dist/types/schemas/cvly_funnel/index.d.ts +14 -14
  99. package/dist/types/schemas/cvly_funnel/index.d.ts.map +1 -1
  100. package/dist/types/schemas/cvly_x/1-0-0.d.ts +19 -19
  101. package/dist/types/schemas/cvly_x/1-0-0.d.ts.map +1 -1
  102. package/dist/types/schemas/cvly_x/1-0-1.d.ts +19 -19
  103. package/dist/types/schemas/cvly_x/1-0-1.d.ts.map +1 -1
  104. package/dist/types/schemas/cvly_x/index.d.ts +38 -38
  105. package/dist/types/schemas/cvly_x/index.d.ts.map +1 -1
  106. package/dist/types/schemas/deployment/1-0-0.d.ts +19 -19
  107. package/dist/types/schemas/deployment/1-0-0.d.ts.map +1 -1
  108. package/dist/types/schemas/deployment/1-0-1.d.ts +19 -19
  109. package/dist/types/schemas/deployment/1-0-1.d.ts.map +1 -1
  110. package/dist/types/schemas/deployment/index.d.ts +38 -38
  111. package/dist/types/schemas/deployment/index.d.ts.map +1 -1
  112. package/dist/types/schemas/element/1-0-0.d.ts +19 -19
  113. package/dist/types/schemas/element/1-0-0.d.ts.map +1 -1
  114. package/dist/types/schemas/element/index.d.ts +20 -20
  115. package/dist/types/schemas/element/index.d.ts.map +1 -1
  116. package/dist/types/schemas/event/1-0-0.d.ts +13 -13
  117. package/dist/types/schemas/event/1-0-0.d.ts.map +1 -1
  118. package/dist/types/schemas/event/index.d.ts +14 -14
  119. package/dist/types/schemas/event/index.d.ts.map +1 -1
  120. package/dist/types/schemas/exception/1-0-0.d.ts +13 -13
  121. package/dist/types/schemas/exception/1-0-0.d.ts.map +1 -1
  122. package/dist/types/schemas/exception/index.d.ts +14 -14
  123. package/dist/types/schemas/exception/index.d.ts.map +1 -1
  124. package/dist/types/schemas/experience/1-0-0.d.ts +17 -17
  125. package/dist/types/schemas/experience/1-0-0.d.ts.map +1 -1
  126. package/dist/types/schemas/experience/1-0-1.d.ts +17 -17
  127. package/dist/types/schemas/experience/1-0-1.d.ts.map +1 -1
  128. package/dist/types/schemas/experience/index.d.ts +34 -34
  129. package/dist/types/schemas/experience/index.d.ts.map +1 -1
  130. package/dist/types/schemas/feature_list/1-0-0.d.ts +26 -26
  131. package/dist/types/schemas/feature_list/1-0-0.d.ts.map +1 -1
  132. package/dist/types/schemas/feature_list/2-0-0.d.ts +26 -26
  133. package/dist/types/schemas/feature_list/2-0-0.d.ts.map +1 -1
  134. package/dist/types/schemas/feature_list/index.d.ts +52 -52
  135. package/dist/types/schemas/feature_list/index.d.ts.map +1 -1
  136. package/dist/types/schemas/field_list/1-0-0.d.ts +37 -37
  137. package/dist/types/schemas/field_list/1-0-0.d.ts.map +1 -1
  138. package/dist/types/schemas/field_list/index.d.ts +38 -38
  139. package/dist/types/schemas/field_list/index.d.ts.map +1 -1
  140. package/dist/types/schemas/form/1-0-0.d.ts +15 -15
  141. package/dist/types/schemas/form/1-0-0.d.ts.map +1 -1
  142. package/dist/types/schemas/form/index.d.ts +16 -16
  143. package/dist/types/schemas/form/index.d.ts.map +1 -1
  144. package/dist/types/schemas/modal/1-0-0.d.ts +15 -15
  145. package/dist/types/schemas/modal/1-0-0.d.ts.map +1 -1
  146. package/dist/types/schemas/modal/index.d.ts +16 -16
  147. package/dist/types/schemas/modal/index.d.ts.map +1 -1
  148. package/dist/types/schemas/order/1-0-0.d.ts +19 -19
  149. package/dist/types/schemas/order/1-0-0.d.ts.map +1 -1
  150. package/dist/types/schemas/order/index.d.ts +20 -20
  151. package/dist/types/schemas/order/index.d.ts.map +1 -1
  152. package/dist/types/schemas/picked/1-0-0.d.ts +13 -13
  153. package/dist/types/schemas/picked/1-0-0.d.ts.map +1 -1
  154. package/dist/types/schemas/picked/index.d.ts +14 -14
  155. package/dist/types/schemas/picked/index.d.ts.map +1 -1
  156. package/dist/types/schemas/product_list/1-0-0.d.ts +34 -34
  157. package/dist/types/schemas/product_list/1-0-0.d.ts.map +1 -1
  158. package/dist/types/schemas/product_list/2-0-0.d.ts +65 -65
  159. package/dist/types/schemas/product_list/2-0-0.d.ts.map +1 -1
  160. package/dist/types/schemas/product_list/2-0-1.d.ts +67 -67
  161. package/dist/types/schemas/product_list/2-0-1.d.ts.map +1 -1
  162. package/dist/types/schemas/product_list/index.d.ts +165 -165
  163. package/dist/types/schemas/product_list/index.d.ts.map +1 -1
  164. package/dist/types/schemas/question_list/1-0-0.d.ts +37 -37
  165. package/dist/types/schemas/question_list/1-0-0.d.ts.map +1 -1
  166. package/dist/types/schemas/question_list/index.d.ts +38 -38
  167. package/dist/types/schemas/question_list/index.d.ts.map +1 -1
  168. package/dist/types/schemas/recommendation_list/1-0-0.d.ts +24 -24
  169. package/dist/types/schemas/recommendation_list/1-0-0.d.ts.map +1 -1
  170. package/dist/types/schemas/recommendation_list/index.d.ts +25 -25
  171. package/dist/types/schemas/recommendation_list/index.d.ts.map +1 -1
  172. package/dist/types/schemas/response_list/1-0-0.d.ts +27 -27
  173. package/dist/types/schemas/response_list/1-0-0.d.ts.map +1 -1
  174. package/dist/types/schemas/response_list/index.d.ts +28 -28
  175. package/dist/types/schemas/response_list/index.d.ts.map +1 -1
  176. package/dist/types/schemas/session/1-0-0.d.ts +13 -13
  177. package/dist/types/schemas/session/1-0-0.d.ts.map +1 -1
  178. package/dist/types/schemas/session/1-0-1.d.ts +14 -14
  179. package/dist/types/schemas/session/1-0-1.d.ts.map +1 -1
  180. package/dist/types/schemas/session/1-0-2.d.ts +16 -16
  181. package/dist/types/schemas/session/1-0-2.d.ts.map +1 -1
  182. package/dist/types/schemas/session/1-0-3.d.ts +22 -22
  183. package/dist/types/schemas/session/1-0-3.d.ts.map +1 -1
  184. package/dist/types/schemas/session/1-0-4.d.ts +24 -24
  185. package/dist/types/schemas/session/1-0-4.d.ts.map +1 -1
  186. package/dist/types/schemas/session/index.d.ts +86 -86
  187. package/dist/types/schemas/session/index.d.ts.map +1 -1
  188. package/dist/types/schemas/step/1-0-0.d.ts +15 -15
  189. package/dist/types/schemas/step/1-0-0.d.ts.map +1 -1
  190. package/dist/types/schemas/step/1-0-1.d.ts +18 -17
  191. package/dist/types/schemas/step/1-0-1.d.ts.map +1 -1
  192. package/dist/types/schemas/step/index.d.ts +33 -32
  193. package/dist/types/schemas/step/index.d.ts.map +1 -1
  194. package/dist/types/tracker.d.ts +2 -2
  195. package/dist/types/types.d.ts +4 -3
  196. package/dist/types/user-interaction.d.ts +6 -2
  197. package/dist/types/utils.d.ts +2 -2
  198. package/dist/types/utils.d.ts.map +1 -1
  199. package/package.json +23 -24
  200. package/dist/src-D2gFGLtR.cjs +0 -1
@@ -1,7 +1,7 @@
1
- import { AnalyticsContext } from '../../types';
2
- import { EventSchema } from '../../schemas';
1
+ import type { AnalyticsContext } from '../../types';
2
+ import type { EventSchema } from '../../schemas';
3
3
  export declare const trackEvent: (eventPayload: {
4
4
  analyticsContext: AnalyticsContext;
5
5
  event: Event;
6
- }, eventMeta?: EventSchema["meta"]) => void;
6
+ }, eventMeta?: EventSchema['meta']) => void;
7
7
  //# sourceMappingURL=forward.d.ts.map
@@ -1,7 +1,7 @@
1
- import { AnalyticsContext } from '../../types';
2
- import { EventSchema } from '../../schemas';
1
+ import type { AnalyticsContext } from '../../types';
2
+ import type { EventSchema } from '../../schemas';
3
3
  export declare const trackEvent: (eventPayload: {
4
4
  analyticsContext: AnalyticsContext;
5
5
  event: Event;
6
- }, eventMeta?: EventSchema["meta"]) => void;
6
+ }, eventMeta?: EventSchema['meta']) => void;
7
7
  //# sourceMappingURL=mouse_shake.d.ts.map
@@ -1,7 +1,7 @@
1
- import { AnalyticsContext } from '../../types';
2
- import { EventSchema } from '../../schemas';
1
+ import type { AnalyticsContext } from '../../types';
2
+ import type { EventSchema } from '../../schemas';
3
3
  export declare const trackEvent: (eventPayload: {
4
4
  analyticsContext: AnalyticsContext;
5
5
  event: Event;
6
- }, eventMeta?: EventSchema["meta"]) => void;
6
+ }, eventMeta?: EventSchema['meta']) => void;
7
7
  //# sourceMappingURL=offline.d.ts.map
@@ -1,7 +1,7 @@
1
- import { AnalyticsContext } from '../../types';
2
- import { EventSchema } from '../../schemas';
1
+ import type { AnalyticsContext } from '../../types';
2
+ import type { EventSchema } from '../../schemas';
3
3
  export declare const trackEvent: (eventPayload: {
4
4
  analyticsContext: AnalyticsContext;
5
5
  event: Event;
6
- }, eventMeta?: EventSchema["meta"]) => void;
6
+ }, eventMeta?: EventSchema['meta']) => void;
7
7
  //# sourceMappingURL=online.d.ts.map
@@ -1,7 +1,7 @@
1
- import { AnalyticsContext } from '../../types';
2
- import { EventSchema } from '../../schemas';
1
+ import type { AnalyticsContext } from '../../types';
2
+ import type { EventSchema } from '../../schemas';
3
3
  export declare const trackEvent: (eventPayload: {
4
4
  analyticsContext: AnalyticsContext;
5
5
  event: Event;
6
- }, eventMeta?: EventSchema["meta"]) => void;
6
+ }, eventMeta?: EventSchema['meta']) => void;
7
7
  //# sourceMappingURL=page_hidden.d.ts.map
@@ -1,7 +1,7 @@
1
- import { AnalyticsContext } from '../../types';
2
- import { EventSchema } from '../../schemas';
1
+ import type { AnalyticsContext } from '../../types';
2
+ import type { EventSchema } from '../../schemas';
3
3
  export declare const trackEvent: (eventPayload: {
4
4
  analyticsContext: AnalyticsContext;
5
5
  event: Event;
6
- }, eventMeta?: EventSchema["meta"]) => void;
6
+ }, eventMeta?: EventSchema['meta']) => void;
7
7
  //# sourceMappingURL=page_hide.d.ts.map
@@ -1,7 +1,7 @@
1
- import { AnalyticsContext } from '../../types';
2
- import { EventSchema } from '../../schemas';
1
+ import type { AnalyticsContext } from '../../types';
2
+ import type { EventSchema } from '../../schemas';
3
3
  export declare const trackEvent: (eventPayload: {
4
4
  analyticsContext: AnalyticsContext;
5
5
  event: Event;
6
- }, eventMeta?: EventSchema["meta"]) => void;
6
+ }, eventMeta?: EventSchema['meta']) => void;
7
7
  //# sourceMappingURL=page_show.d.ts.map
@@ -1,7 +1,7 @@
1
- import { AnalyticsContext } from '../../types';
2
- import { EventSchema } from '../../schemas';
1
+ import type { AnalyticsContext } from '../../types';
2
+ import type { EventSchema } from '../../schemas';
3
3
  export declare const trackEvent: (eventPayload: {
4
4
  analyticsContext: AnalyticsContext;
5
5
  event: Event;
6
- }, eventMeta?: EventSchema["meta"]) => void;
6
+ }, eventMeta?: EventSchema['meta']) => void;
7
7
  //# sourceMappingURL=page_visible.d.ts.map
@@ -1,7 +1,7 @@
1
- import { AnalyticsContext } from '../../types';
2
- import { EventSchema } from '../../schemas';
1
+ import type { AnalyticsContext } from '../../types';
2
+ import type { EventSchema } from '../../schemas';
3
3
  export declare const trackEvent: (eventPayload: {
4
4
  analyticsContext: AnalyticsContext;
5
5
  event: Event;
6
- }, eventMeta?: EventSchema["meta"]) => void;
6
+ }, eventMeta?: EventSchema['meta']) => void;
7
7
  //# sourceMappingURL=paste.d.ts.map
@@ -1,7 +1,7 @@
1
- import { AnalyticsContext } from '../../types';
2
- import { EventSchema } from '../../schemas';
1
+ import type { AnalyticsContext } from '../../types';
2
+ import type { EventSchema } from '../../schemas';
3
3
  export declare const trackEvent: (eventPayload: {
4
4
  analyticsContext: AnalyticsContext;
5
5
  event: Event;
6
- }, eventMeta?: EventSchema["meta"]) => void;
6
+ }, eventMeta?: EventSchema['meta']) => void;
7
7
  //# sourceMappingURL=rapid_click.d.ts.map
@@ -1,7 +1,7 @@
1
- import { AnalyticsContext } from '../../types';
2
- import { EventSchema } from '../../schemas';
1
+ import type { AnalyticsContext } from '../../types';
2
+ import type { EventSchema } from '../../schemas';
3
3
  export declare const trackEvent: (eventPayload: {
4
4
  analyticsContext: AnalyticsContext;
5
5
  event: Event;
6
- }, eventMeta?: EventSchema["meta"]) => void;
6
+ }, eventMeta?: EventSchema['meta']) => void;
7
7
  //# sourceMappingURL=rapid_scroll.d.ts.map
@@ -1,7 +1,7 @@
1
- import { AnalyticsContext } from '../../types';
2
- import { EventSchema } from '../../schemas';
1
+ import type { AnalyticsContext } from '../../types';
2
+ import type { EventSchema } from '../../schemas';
3
3
  export declare const trackEvent: (eventPayload: {
4
4
  analyticsContext: AnalyticsContext;
5
5
  event: Event;
6
- }, eventMeta?: EventSchema["meta"]) => void;
6
+ }, eventMeta?: EventSchema['meta']) => void;
7
7
  //# sourceMappingURL=resize.d.ts.map
@@ -1,7 +1,7 @@
1
- import { AnalyticsContext } from '../../types';
2
- import { EventSchema } from '../../schemas';
1
+ import type { AnalyticsContext } from '../../types';
2
+ import type { EventSchema } from '../../schemas';
3
3
  export declare const trackEvent: (eventPayload: {
4
4
  analyticsContext: AnalyticsContext;
5
5
  event: Event;
6
- }, eventMeta?: EventSchema["meta"]) => void;
6
+ }, eventMeta?: EventSchema['meta']) => void;
7
7
  //# sourceMappingURL=right_click.d.ts.map
@@ -1,7 +1,7 @@
1
- import { AnalyticsContext } from '../../types';
2
- import { EventSchema } from '../../schemas';
1
+ import type { AnalyticsContext } from '../../types';
2
+ import type { EventSchema } from '../../schemas';
3
3
  export declare const trackEvent: (eventPayload: {
4
4
  analyticsContext: AnalyticsContext;
5
5
  event: Event;
6
- }, eventMeta?: EventSchema["meta"]) => void;
6
+ }, eventMeta?: EventSchema['meta']) => void;
7
7
  //# sourceMappingURL=scroll.d.ts.map
@@ -1,7 +1,7 @@
1
- import { AnalyticsContext } from '../../types';
2
- import { EventSchema } from '../../schemas';
1
+ import type { AnalyticsContext } from '../../types';
2
+ import type { EventSchema } from '../../schemas';
3
3
  export declare const trackEvent: (eventPayload: {
4
4
  analyticsContext: AnalyticsContext;
5
5
  event: Event;
6
- }, eventMeta?: EventSchema["meta"]) => void;
6
+ }, eventMeta?: EventSchema['meta']) => void;
7
7
  //# sourceMappingURL=unload.d.ts.map
@@ -1,7 +1,8 @@
1
- import { AnalyticsContext } from '../../types';
2
- import { EventSchema } from '../../schemas';
1
+ /** @file Builds and tracks the video_pause Snowplow analytics event. */
2
+ import type { AnalyticsContext } from '../../types';
3
+ import type { EventSchema } from '../../schemas';
3
4
  export declare const trackEvent: (eventPayload: {
4
5
  analyticsContext: AnalyticsContext;
5
6
  event: Event;
6
- }, eventMeta?: EventSchema["meta"]) => void;
7
+ }, eventMeta?: EventSchema['meta']) => void;
7
8
  //# sourceMappingURL=video_pause.d.ts.map
@@ -1,7 +1,8 @@
1
- import { AnalyticsContext } from '../../types';
2
- import { EventSchema } from '../../schemas';
1
+ /** @file Builds and tracks the video_play Snowplow analytics event. */
2
+ import type { AnalyticsContext } from '../../types';
3
+ import type { EventSchema } from '../../schemas';
3
4
  export declare const trackEvent: (eventPayload: {
4
5
  analyticsContext: AnalyticsContext;
5
6
  event: Event;
6
- }, eventMeta?: EventSchema["meta"]) => void;
7
+ }, eventMeta?: EventSchema['meta']) => void;
7
8
  //# sourceMappingURL=video_play.d.ts.map
@@ -1,4 +1,4 @@
1
- import { AnalyticsContext } from '../types';
2
- import { EventSchema } from '../schemas';
3
- export declare const trackLeadCaptureEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema["meta"]) => void;
1
+ import type { AnalyticsContext } from '../types';
2
+ import type { EventSchema } from '../schemas';
3
+ export declare const trackLeadCaptureEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
4
4
  //# sourceMappingURL=lead_capture.d.ts.map
@@ -1,4 +1,4 @@
1
- import { AnalyticsContext } from '../types';
2
- import { EventSchema } from '../schemas';
3
- export declare const trackModalCloseEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema["meta"]) => void;
1
+ import type { AnalyticsContext } from '../types';
2
+ import type { EventSchema } from '../schemas';
3
+ export declare const trackModalCloseEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
4
4
  //# sourceMappingURL=modal_close.d.ts.map
@@ -1,4 +1,4 @@
1
- import { AnalyticsContext } from '../types';
2
- import { EventSchema } from '../schemas';
3
- export declare const trackModalOpenEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema["meta"]) => void;
1
+ import type { AnalyticsContext } from '../types';
2
+ import type { EventSchema } from '../schemas';
3
+ export declare const trackModalOpenEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
4
4
  //# sourceMappingURL=modal_open.d.ts.map
@@ -1,5 +1,5 @@
1
- import { AnalyticsContext } from '../types';
2
- import { EventSchema } from '../schemas';
3
- export declare function createOrderCreateTrackerEvent(analyticsContext: AnalyticsContext, eventMeta?: EventSchema['meta']): import('..').SnowplowSelfDescribingEvent;
4
- export declare const trackOrderCreateEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema["meta"]) => void;
1
+ import type { AnalyticsContext } from '../types';
2
+ import type { EventSchema } from '../schemas';
3
+ export declare function createOrderCreateTrackerEvent(analyticsContext: AnalyticsContext, eventMeta?: EventSchema['meta']): import("..").SnowplowSelfDescribingEvent;
4
+ export declare const trackOrderCreateEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
5
5
  //# sourceMappingURL=order_create.d.ts.map
@@ -1,5 +1,5 @@
1
- import { AnalyticsContext } from '../types';
2
- import { EventSchema } from '../schemas';
3
- export declare function createPageViewTrackerEvent(analyticsContext: AnalyticsContext, eventMeta?: EventSchema['meta']): import('..').SnowplowSelfDescribingEvent;
4
- export declare const trackPageViewEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema["meta"]) => void;
1
+ import type { AnalyticsContext } from '../types';
2
+ import type { EventSchema } from '../schemas';
3
+ export declare function createPageViewTrackerEvent(analyticsContext: AnalyticsContext, eventMeta?: EventSchema['meta']): import("..").SnowplowSelfDescribingEvent;
4
+ export declare const trackPageViewEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
5
5
  //# sourceMappingURL=page_view.d.ts.map
@@ -1,5 +1,5 @@
1
- import { AnalyticsContext } from '../types';
2
- import { EventSchema } from '../schemas';
3
- export declare function createProductListViewTrackerEvent(analyticsContext: AnalyticsContext, eventMeta?: EventSchema['meta']): import('..').SnowplowSelfDescribingEvent;
4
- export declare const trackProductListViewEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema["meta"]) => void;
1
+ import type { AnalyticsContext } from '../types';
2
+ import type { EventSchema } from '../schemas';
3
+ export declare function createProductListViewTrackerEvent(analyticsContext: AnalyticsContext, eventMeta?: EventSchema['meta']): import("..").SnowplowSelfDescribingEvent;
4
+ export declare const trackProductListViewEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
5
5
  //# sourceMappingURL=product_list_view.d.ts.map
@@ -1,4 +1,4 @@
1
- import { AnalyticsContext } from '../types';
2
- import { EventSchema } from '../schemas';
3
- export declare const trackProductSelectEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema["meta"]) => void;
1
+ import type { AnalyticsContext } from '../types';
2
+ import type { EventSchema } from '../schemas';
3
+ export declare const trackProductSelectEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
4
4
  //# sourceMappingURL=product_select.d.ts.map
@@ -1,5 +1,5 @@
1
- import { AnalyticsContext } from '../types';
2
- import { EventSchema } from '../schemas';
3
- export declare function createProductViewTrackerEvent(analyticsContext: AnalyticsContext, eventMeta?: EventSchema['meta']): import('..').SnowplowSelfDescribingEvent;
4
- export declare const trackProductViewDetailsEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema["meta"]) => void;
1
+ import type { AnalyticsContext } from '../types';
2
+ import type { EventSchema } from '../schemas';
3
+ export declare function createProductViewTrackerEvent(analyticsContext: AnalyticsContext, eventMeta?: EventSchema['meta']): import("..").SnowplowSelfDescribingEvent;
4
+ export declare const trackProductViewDetailsEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
5
5
  //# sourceMappingURL=product_view_details.d.ts.map
@@ -1,4 +1,4 @@
1
- import { AnalyticsContext } from '../types';
2
- import { EventSchema } from '../schemas';
3
- export declare const trackRecommendationPresentEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema["meta"]) => void;
1
+ import type { AnalyticsContext } from '../types';
2
+ import type { EventSchema } from '../schemas';
3
+ export declare const trackRecommendationPresentEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
4
4
  //# sourceMappingURL=recommendation_present.d.ts.map
@@ -1,4 +1,4 @@
1
- import { AnalyticsContext } from '../types';
2
- import { EventSchema } from '../schemas';
3
- export declare const trackSearchResultsListViewEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema["meta"]) => void;
1
+ import type { AnalyticsContext } from '../types';
2
+ import type { EventSchema } from '../schemas';
3
+ export declare const trackSearchResultsListViewEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
4
4
  //# sourceMappingURL=search_results_list_view.d.ts.map
@@ -1,4 +1,4 @@
1
- import { AnalyticsContext } from '../types';
2
- import { EventSchema } from '../schemas';
3
- export declare const trackStepComplete: (eventPayload: AnalyticsContext, eventMeta?: EventSchema["meta"]) => void;
1
+ import type { AnalyticsContext } from '../types';
2
+ import type { EventSchema } from '../schemas';
3
+ export declare const trackStepComplete: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
4
4
  //# sourceMappingURL=step_complete.d.ts.map
@@ -1,4 +1,4 @@
1
- import { AnalyticsContext } from '../types';
2
- import { EventSchema } from '../schemas';
3
- export declare const trackStepEnterEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema["meta"]) => void;
1
+ import type { AnalyticsContext } from '../types';
2
+ import type { EventSchema } from '../schemas';
3
+ export declare const trackStepEnterEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
4
4
  //# sourceMappingURL=step_enter.d.ts.map
@@ -1,4 +1,4 @@
1
- import { AnalyticsContext } from '../types';
2
- import { EventSchema } from '../schemas';
3
- export declare const trackStepSubmitEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema["meta"]) => void;
1
+ import type { AnalyticsContext } from '../types';
2
+ import type { EventSchema } from '../schemas';
3
+ export declare const trackStepSubmitEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
4
4
  //# sourceMappingURL=step_submit.d.ts.map
@@ -1,4 +1,4 @@
1
- import { AnalyticsContext } from '../types';
2
- import { EventSchema } from '../schemas';
3
- export declare const trackStepSubmitErrorEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema["meta"]) => void;
1
+ import type { AnalyticsContext } from '../types';
2
+ import type { EventSchema } from '../schemas';
3
+ export declare const trackStepSubmitErrorEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
4
4
  //# sourceMappingURL=step_submit_error.d.ts.map
@@ -1,4 +1,4 @@
1
- import { AnalyticsContext } from '../types';
2
- import { EventSchema } from '../schemas';
3
- export declare const trackStepSubmitSuccessEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema["meta"]) => void;
1
+ import type { AnalyticsContext } from '../types';
2
+ import type { EventSchema } from '../schemas';
3
+ export declare const trackStepSubmitSuccessEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
4
4
  //# sourceMappingURL=step_submit_success.d.ts.map
@@ -1,4 +1,4 @@
1
- import { AnalyticsContext } from '../types';
2
- import { EventSchema } from '../schemas';
3
- export declare const trackWaitlistJoinEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema["meta"]) => void;
1
+ import type { AnalyticsContext } from '../types';
2
+ import type { EventSchema } from '../schemas';
3
+ export declare const trackWaitlistJoinEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
4
4
  //# sourceMappingURL=waitlist_join.d.ts.map
@@ -1,4 +1,4 @@
1
- import { AnalyticsContext } from '../types';
2
- import { EventSchema } from '../schemas';
3
- export declare const trackWishlistAddEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema["meta"]) => void;
1
+ import type { AnalyticsContext } from '../types';
2
+ import type { EventSchema } from '../schemas';
3
+ export declare const trackWishlistAddEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
4
4
  //# sourceMappingURL=wishlist_add.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"analytics-event.d.ts","sourceRoot":"","sources":["../../../src/fixtures/analytics-event.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;CAahC,CAAA"}
1
+ {"version":3,"file":"analytics-event.d.ts","sourceRoot":"","sources":["../../../src/fixtures/analytics-event.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,eAAO,MAAM,oBAAoB;IAC/B,SAAS;IACT,UAAU;QACR,EAAE;QACF,KAAK;;IAEP,IAAI;QACF,EAAE;QACF,GAAG;QACH,IAAI;QACJ,SAAS;;IAEX,SAAS;CACV,CAAA"}
@@ -1,4 +1,8 @@
1
- import { AnalyticsContext } from './types';
1
+ /**
2
+ * @file Registry of opt-in DOM interaction events. The plugin binds a listener
3
+ * for each name a consumer enables via `enableInteractionListeners`.
4
+ */
5
+ import type { AnalyticsContext } from './types';
2
6
  export declare const INTERACTION_EVENT_NAMES: readonly ["click", "rapid_click", "right_click", "copy", "paste", "drag", "backspace", "scroll", "rapid_scroll", "mouse_shake"];
3
7
  export type InteractionEventName = (typeof INTERACTION_EVENT_NAMES)[number];
4
8
  type InteractionBinder = (target: EventTarget, createAnalyticsContext: () => AnalyticsContext) => void;
@@ -1,3 +1,3 @@
1
- import { AnalyticsContext } from '../types';
1
+ import type { AnalyticsContext } from '../types';
2
2
  export declare const bindListener: (target: EventTarget, createAnalyticsContext: () => AnalyticsContext) => void;
3
3
  //# sourceMappingURL=backspace.d.ts.map
@@ -1,3 +1,3 @@
1
- import { AnalyticsContext } from '../types';
1
+ import type { AnalyticsContext } from '../types';
2
2
  export declare const bindListener: (target: EventTarget, createAnalyticsContext: () => AnalyticsContext) => void;
3
3
  //# sourceMappingURL=click.d.ts.map
@@ -1,3 +1,3 @@
1
- import { AnalyticsContext } from '../types';
1
+ import type { AnalyticsContext } from '../types';
2
2
  export declare const bindListener: (target: EventTarget, createAnalyticsContext: () => AnalyticsContext) => void;
3
3
  //# sourceMappingURL=copy.d.ts.map
@@ -1,3 +1,3 @@
1
- import { AnalyticsContext } from '../types';
1
+ import type { AnalyticsContext } from '../types';
2
2
  export declare const bindListener: (target: EventTarget, createAnalyticsContext: () => AnalyticsContext) => void;
3
3
  //# sourceMappingURL=drag.d.ts.map
@@ -1,3 +1,3 @@
1
- import { AnalyticsContext } from '../types';
1
+ import type { AnalyticsContext } from '../types';
2
2
  export declare const bindListener: (target: EventTarget, createAnalyticsContext: () => AnalyticsContext) => void;
3
3
  //# sourceMappingURL=mouse_shake.d.ts.map
@@ -1,3 +1,3 @@
1
- import { AnalyticsContext } from '../types';
1
+ import type { AnalyticsContext } from '../types';
2
2
  export declare const bindListener: (createAnalyticsContext: () => AnalyticsContext) => void;
3
3
  //# sourceMappingURL=offline.d.ts.map
@@ -1,3 +1,3 @@
1
- import { AnalyticsContext } from '../types';
1
+ import type { AnalyticsContext } from '../types';
2
2
  export declare const bindListener: (createAnalyticsContext: () => AnalyticsContext) => void;
3
3
  //# sourceMappingURL=online.d.ts.map
@@ -1,3 +1,3 @@
1
- import { AnalyticsContext } from '../types';
1
+ import type { AnalyticsContext } from '../types';
2
2
  export declare const bindListener: (createAnalyticsContext: () => AnalyticsContext) => void;
3
3
  //# sourceMappingURL=pagehide.d.ts.map
@@ -1,3 +1,3 @@
1
- import { AnalyticsContext } from '../types';
1
+ import type { AnalyticsContext } from '../types';
2
2
  export declare const bindListener: (createAnalyticsContext: () => AnalyticsContext) => void;
3
3
  //# sourceMappingURL=pageshow.d.ts.map
@@ -1,3 +1,3 @@
1
- import { AnalyticsContext } from '../types';
1
+ import type { AnalyticsContext } from '../types';
2
2
  export declare const bindListener: (target: EventTarget, createAnalyticsContext: () => AnalyticsContext) => void;
3
3
  //# sourceMappingURL=paste.d.ts.map
@@ -1,3 +1,3 @@
1
- import { AnalyticsContext } from '../types';
1
+ import type { AnalyticsContext } from '../types';
2
2
  export declare const bindListener: (target: EventTarget, createAnalyticsContext: () => AnalyticsContext) => void;
3
3
  //# sourceMappingURL=rapid_click.d.ts.map
@@ -1,3 +1,3 @@
1
- import { AnalyticsContext } from '../types';
1
+ import type { AnalyticsContext } from '../types';
2
2
  export declare const bindListener: (target: EventTarget, createAnalyticsContext: () => AnalyticsContext) => void;
3
3
  //# sourceMappingURL=rapid_scroll.d.ts.map
@@ -1,3 +1,3 @@
1
- import { AnalyticsContext } from '../types';
1
+ import type { AnalyticsContext } from '../types';
2
2
  export declare const bindListener: (createAnalyticsContext: () => AnalyticsContext) => void;
3
3
  //# sourceMappingURL=resize.d.ts.map
@@ -1,3 +1,3 @@
1
- import { AnalyticsContext } from '../types';
1
+ import type { AnalyticsContext } from '../types';
2
2
  export declare const bindListener: (target: EventTarget, createAnalyticsContext: () => AnalyticsContext) => void;
3
3
  //# sourceMappingURL=right_click.d.ts.map
@@ -1,3 +1,3 @@
1
- import { AnalyticsContext } from '../types';
1
+ import type { AnalyticsContext } from '../types';
2
2
  export declare const bindListener: (target: EventTarget, createAnalyticsContext: () => AnalyticsContext) => void;
3
3
  //# sourceMappingURL=scroll.d.ts.map
@@ -1,3 +1,3 @@
1
- import { AnalyticsContext } from '../types';
1
+ import type { AnalyticsContext } from '../types';
2
2
  export declare const bindListener: (createAnalyticsContext: () => AnalyticsContext) => void;
3
3
  //# sourceMappingURL=unload.d.ts.map
@@ -1,3 +1,3 @@
1
- import { AnalyticsContext } from '../types';
1
+ import type { AnalyticsContext } from '../types';
2
2
  export declare const bindListener: (target: EventTarget, createAnalyticsContext: () => AnalyticsContext) => void;
3
3
  //# sourceMappingURL=video_pause.d.ts.map
@@ -1,3 +1,3 @@
1
- import { AnalyticsContext } from '../types';
1
+ import type { AnalyticsContext } from '../types';
2
2
  export declare const bindListener: (target: EventTarget, createAnalyticsContext: () => AnalyticsContext) => void;
3
3
  //# sourceMappingURL=video_play.d.ts.map
@@ -1,3 +1,3 @@
1
- import { AnalyticsContext } from '../types';
1
+ import type { AnalyticsContext } from '../types';
2
2
  export declare const bindListener: (createAnalyticsContext: () => AnalyticsContext) => void;
3
3
  //# sourceMappingURL=visibility.d.ts.map
@@ -1,6 +1,7 @@
1
- import { Picked } from '@picked/client';
2
- import { CreateTrackerOptions } from '../../types';
3
- import { InteractionEventName } from '../../interaction-events';
1
+ /** @file Analytics plugin — tracks Picked events (experiences, features, steps, forms) using Snowplow. */
2
+ import type { Picked } from '@picked/client';
3
+ import type { CreateTrackerOptions } from '../../types';
4
+ import { type InteractionEventName } from '../../interaction-events';
4
5
  interface AnalyticsPluginOptions {
5
6
  trackerOptions: CreateTrackerOptions;
6
7
  enableDocumentListeners?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../src/plugins/analytics/plugin.ts"],"names":[],"mappings":"AAAA,0GAA0G;AAC1G,OAAO,KAAK,EAIV,MAAM,EAEP,MAAM,gBAAgB,CAAA;AAsBvB,OAAO,KAAK,EAAoB,oBAAoB,EAAE,MAAM,aAAa,CAAA;AACzE,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,0BAA0B,CAAA;AAEjC,UAAU,sBAAsB;IAC9B,cAAc,EAAE,oBAAoB,CAAA;IACpC,uBAAuB,CAAC,EAAE,OAAO,CAAA;IACjC,0BAA0B,CAAC,EAAE,OAAO,GAAG,SAAS,oBAAoB,EAAE,CAAA;CACvE;AAwDD,eAAO,MAAM,eAAe,GAAI,0EAI7B,sBAAsB,KAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;CAmL1E,CAAA"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../src/plugins/analytics/plugin.ts"],"names":[],"mappings":"AAAA,0GAA0G;AAC1G,OAAO,KAAK,EAIV,MAAM,EAEP,MAAM,gBAAgB,CAAA;AAsBvB,OAAO,KAAK,EAAoB,oBAAoB,EAAE,MAAM,aAAa,CAAA;AACzE,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,0BAA0B,CAAA;AAEjC,UAAU,sBAAsB;IAC9B,cAAc,EAAE,oBAAoB,CAAA;IACpC,uBAAuB,CAAC,EAAE,OAAO,CAAA;IACjC,0BAA0B,CAAC,EAAE,OAAO,GAAG,SAAS,oBAAoB,EAAE,CAAA;CACvE;AAwDD,eAAO,MAAM,eAAe,6EAIzB,sBAAsB,KAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;CAmL1E,CAAA"}