@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,200 +1,200 @@
1
- import { SchemaUrl } from '../../types';
2
- import { Schema as Schema1_0_4, Version as Version1_0_4 } from './1-0-4';
1
+ import type { SchemaUrl } from '../../types';
2
+ import type { Schema as Schema1_0_4, Version as Version1_0_4 } from './1-0-4';
3
3
  export declare const name = "session";
4
4
  export declare const schemas: {
5
5
  '1-0-0': {
6
- readonly $schema: "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#";
6
+ readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
7
7
  readonly additionalProperties: true;
8
- readonly description: "Schema for a session";
8
+ readonly description: 'Schema for a session';
9
9
  readonly minProperties: 1;
10
10
  readonly properties: {
11
11
  readonly id: {
12
- readonly description: "The session ID";
13
- readonly type: "string";
12
+ readonly description: 'The session ID';
13
+ readonly type: 'string';
14
14
  readonly maxLength: 255;
15
15
  };
16
16
  readonly meta: {
17
- readonly description: "Additional metadata";
17
+ readonly description: 'Additional metadata';
18
18
  readonly additionalProperties: true;
19
- readonly type: readonly ["object", "null"];
19
+ readonly type: readonly ['object', 'null'];
20
20
  };
21
21
  };
22
- readonly required: readonly ["id"];
22
+ readonly required: readonly ['id'];
23
23
  readonly self: {
24
- readonly vendor: "dev.pckd";
25
- readonly name: "session";
26
- readonly format: "jsonschema";
27
- readonly version: "1-0-0";
24
+ readonly vendor: 'dev.pckd';
25
+ readonly name: 'session';
26
+ readonly format: 'jsonschema';
27
+ readonly version: '1-0-0';
28
28
  };
29
- readonly type: "object";
29
+ readonly type: 'object';
30
30
  };
31
31
  '1-0-1': {
32
- readonly $schema: "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#";
32
+ readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
33
33
  readonly additionalProperties: true;
34
- readonly description: "Schema for a session";
34
+ readonly description: 'Schema for a session';
35
35
  readonly minProperties: 1;
36
36
  readonly properties: {
37
37
  readonly id: {
38
- readonly description: "The session ID";
39
- readonly type: readonly ["string", "null"];
38
+ readonly description: 'The session ID';
39
+ readonly type: readonly ['string', 'null'];
40
40
  readonly maxLength: 255;
41
41
  };
42
42
  readonly gaid: {
43
- readonly description: "The session Google Analytics Client ID";
44
- readonly type: readonly ["string", "null"];
43
+ readonly description: 'The session Google Analytics Client ID';
44
+ readonly type: readonly ['string', 'null'];
45
45
  readonly maxLength: 255;
46
46
  };
47
47
  readonly meta: {
48
- readonly description: "Additional metadata";
48
+ readonly description: 'Additional metadata';
49
49
  readonly additionalProperties: true;
50
- readonly type: readonly ["object", "null"];
50
+ readonly type: readonly ['object', 'null'];
51
51
  };
52
52
  };
53
53
  readonly self: {
54
- readonly vendor: "dev.pckd";
55
- readonly name: "session";
56
- readonly format: "jsonschema";
57
- readonly version: "1-0-1";
54
+ readonly vendor: 'dev.pckd';
55
+ readonly name: 'session';
56
+ readonly format: 'jsonschema';
57
+ readonly version: '1-0-1';
58
58
  };
59
- readonly type: "object";
59
+ readonly type: 'object';
60
60
  };
61
61
  '1-0-2': {
62
- readonly $schema: "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#";
62
+ readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
63
63
  readonly additionalProperties: true;
64
- readonly description: "Schema for a session";
64
+ readonly description: 'Schema for a session';
65
65
  readonly minProperties: 1;
66
66
  readonly properties: {
67
67
  readonly id: {
68
- readonly description: "The session ID";
69
- readonly type: readonly ["string", "null"];
68
+ readonly description: 'The session ID';
69
+ readonly type: readonly ['string', 'null'];
70
70
  readonly maxLength: 255;
71
71
  };
72
72
  readonly gaid: {
73
- readonly description: "The session Google Analytics Client ID";
74
- readonly type: readonly ["string", "null"];
73
+ readonly description: 'The session Google Analytics Client ID';
74
+ readonly type: readonly ['string', 'null'];
75
75
  readonly maxLength: 255;
76
76
  };
77
77
  readonly shopify_client_id: {
78
- readonly description: "The session Shopify Client ID";
79
- readonly type: readonly ["string", "null"];
78
+ readonly description: 'The session Shopify Client ID';
79
+ readonly type: readonly ['string', 'null'];
80
80
  readonly maxLength: 255;
81
81
  };
82
82
  readonly meta: {
83
- readonly description: "Additional metadata";
83
+ readonly description: 'Additional metadata';
84
84
  readonly additionalProperties: true;
85
- readonly type: readonly ["object", "null"];
85
+ readonly type: readonly ['object', 'null'];
86
86
  };
87
87
  };
88
88
  readonly self: {
89
- readonly vendor: "dev.pckd";
90
- readonly name: "session";
91
- readonly format: "jsonschema";
92
- readonly version: "1-0-2";
89
+ readonly vendor: 'dev.pckd';
90
+ readonly name: 'session';
91
+ readonly format: 'jsonschema';
92
+ readonly version: '1-0-2';
93
93
  };
94
- readonly type: "object";
94
+ readonly type: 'object';
95
95
  };
96
96
  '1-0-3': {
97
- readonly $schema: "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#";
97
+ readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
98
98
  readonly additionalProperties: true;
99
- readonly description: "Schema for a session";
99
+ readonly description: 'Schema for a session';
100
100
  readonly minProperties: 1;
101
101
  readonly properties: {
102
102
  readonly id: {
103
- readonly description: "The session ID";
104
- readonly type: readonly ["string", "null"];
103
+ readonly description: 'The session ID';
104
+ readonly type: readonly ['string', 'null'];
105
105
  readonly maxLength: 255;
106
106
  };
107
107
  readonly is_user: {
108
- readonly description: "The session is attributed to a Picked user";
109
- readonly type: readonly ["boolean", "null"];
108
+ readonly description: 'The session is attributed to a Picked user';
109
+ readonly type: readonly ['boolean', 'null'];
110
110
  };
111
111
  readonly gaid: {
112
- readonly description: "The session Google Analytics Client ID";
113
- readonly type: readonly ["string", "null"];
112
+ readonly description: 'The session Google Analytics Client ID';
113
+ readonly type: readonly ['string', 'null'];
114
114
  readonly maxLength: 255;
115
115
  };
116
116
  readonly shopify_client_id: {
117
- readonly description: "The session Shopify Client ID";
118
- readonly type: readonly ["string", "null"];
117
+ readonly description: 'The session Shopify Client ID';
118
+ readonly type: readonly ['string', 'null'];
119
119
  readonly maxLength: 255;
120
120
  };
121
121
  readonly shopify_customer_id: {
122
- readonly description: "The session Shopify Customer ID";
123
- readonly type: readonly ["string", "null"];
122
+ readonly description: 'The session Shopify Customer ID';
123
+ readonly type: readonly ['string', 'null'];
124
124
  readonly maxLength: 255;
125
125
  };
126
126
  readonly shopify_checkout_token: {
127
- readonly description: "The session Shopify Checkout token";
128
- readonly type: readonly ["string", "null"];
127
+ readonly description: 'The session Shopify Checkout token';
128
+ readonly type: readonly ['string', 'null'];
129
129
  readonly maxLength: 255;
130
130
  };
131
131
  readonly meta: {
132
- readonly description: "Additional metadata";
132
+ readonly description: 'Additional metadata';
133
133
  readonly additionalProperties: true;
134
- readonly type: readonly ["object", "null"];
134
+ readonly type: readonly ['object', 'null'];
135
135
  };
136
136
  };
137
137
  readonly self: {
138
- readonly vendor: "dev.pckd";
139
- readonly name: "session";
140
- readonly format: "jsonschema";
141
- readonly version: "1-0-3";
138
+ readonly vendor: 'dev.pckd';
139
+ readonly name: 'session';
140
+ readonly format: 'jsonschema';
141
+ readonly version: '1-0-3';
142
142
  };
143
- readonly type: "object";
143
+ readonly type: 'object';
144
144
  };
145
145
  '1-0-4': {
146
- readonly $schema: "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#";
146
+ readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
147
147
  readonly additionalProperties: true;
148
- readonly description: "Schema for a session";
148
+ readonly description: 'Schema for a session';
149
149
  readonly minProperties: 1;
150
150
  readonly properties: {
151
151
  readonly id: {
152
- readonly description: "The session ID";
153
- readonly type: readonly ["string", "null"];
152
+ readonly description: 'The session ID';
153
+ readonly type: readonly ['string', 'null'];
154
154
  readonly maxLength: 255;
155
155
  };
156
156
  readonly is_user: {
157
- readonly description: "The session is attributed to a Picked user";
158
- readonly type: readonly ["boolean", "null"];
157
+ readonly description: 'The session is attributed to a Picked user';
158
+ readonly type: readonly ['boolean', 'null'];
159
159
  };
160
160
  readonly gaid: {
161
- readonly description: "The session Google Analytics Client ID";
162
- readonly type: readonly ["string", "null"];
161
+ readonly description: 'The session Google Analytics Client ID';
162
+ readonly type: readonly ['string', 'null'];
163
163
  readonly maxLength: 255;
164
164
  };
165
165
  readonly shopify_client_id: {
166
- readonly description: "The session Shopify Client ID";
167
- readonly type: readonly ["string", "null"];
166
+ readonly description: 'The session Shopify Client ID';
167
+ readonly type: readonly ['string', 'null'];
168
168
  readonly maxLength: 255;
169
169
  };
170
170
  readonly shopify_customer_id: {
171
- readonly description: "The session Shopify Customer ID";
172
- readonly type: readonly ["string", "null"];
171
+ readonly description: 'The session Shopify Customer ID';
172
+ readonly type: readonly ['string', 'null'];
173
173
  readonly maxLength: 255;
174
174
  };
175
175
  readonly shopify_checkout_token: {
176
- readonly description: "The session Shopify Checkout token";
177
- readonly type: readonly ["string", "null"];
176
+ readonly description: 'The session Shopify Checkout token';
177
+ readonly type: readonly ['string', 'null'];
178
178
  readonly maxLength: 255;
179
179
  };
180
180
  readonly fingerprintjs_visitor_id: {
181
- readonly description: "The FingerprintJS visitor ID";
182
- readonly type: readonly ["string", "null"];
181
+ readonly description: 'The FingerprintJS visitor ID';
182
+ readonly type: readonly ['string', 'null'];
183
183
  readonly maxLength: 255;
184
184
  };
185
185
  readonly meta: {
186
- readonly description: "Additional metadata";
186
+ readonly description: 'Additional metadata';
187
187
  readonly additionalProperties: true;
188
- readonly type: readonly ["object", "null"];
188
+ readonly type: readonly ['object', 'null'];
189
189
  };
190
190
  };
191
191
  readonly self: {
192
- readonly vendor: "dev.pckd";
193
- readonly name: "session";
194
- readonly format: "jsonschema";
195
- readonly version: "1-0-4";
192
+ readonly vendor: 'dev.pckd';
193
+ readonly name: 'session';
194
+ readonly format: 'jsonschema';
195
+ readonly version: '1-0-4';
196
196
  };
197
- readonly type: "object";
197
+ readonly type: 'object';
198
198
  };
199
199
  };
200
200
  export type CurrentSchema = Schema1_0_4;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schemas/session/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,KAAK,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,SAAS,CAAA;AAO7E,eAAO,MAAM,IAAI,YAAY,CAAA;AAE7B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnB,CAAA;AAGD,MAAM,MAAM,aAAa,GAAG,WAAW,CAAA;AACvC,MAAM,MAAM,cAAc,GAAG,YAAY,CAAA;AACzC,MAAM,MAAM,GAAG,GAAG,SAAS,CAAC,OAAO,IAAI,EAAE,cAAc,CAAC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schemas/session/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,KAAK,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,SAAS,CAAA;AAO7E,eAAO,MAAM,IAAI,YAAY,CAAA;AAE7B,eAAO,MAAM,OAAO;IAClB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;IACP,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACP,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACP,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACP,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACR,CAAA;AAGD,MAAM,MAAM,aAAa,GAAG,WAAW,CAAA;AACvC,MAAM,MAAM,cAAc,GAAG,YAAY,CAAA;AACzC,MAAM,MAAM,GAAG,GAAG,SAAS,CAAC,OAAO,IAAI,EAAE,cAAc,CAAC,CAAA"}
@@ -1,34 +1,34 @@
1
- import { FromSchema } from 'json-schema-to-ts';
1
+ import type { FromSchema } from 'json-schema-to-ts';
2
2
  export declare const schema: {
3
- readonly $schema: "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#";
3
+ readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
4
4
  readonly additionalProperties: true;
5
- readonly description: "Schema for a step";
5
+ readonly description: 'Schema for a step';
6
6
  readonly minProperties: 1;
7
7
  readonly properties: {
8
8
  readonly id: {
9
- readonly description: "The step ID";
10
- readonly type: "string";
9
+ readonly description: 'The step ID';
10
+ readonly type: 'string';
11
11
  readonly maxLength: 255;
12
12
  };
13
13
  readonly title: {
14
- readonly description: "The step title";
15
- readonly type: "string";
14
+ readonly description: 'The step title';
15
+ readonly type: 'string';
16
16
  readonly maxLength: 255;
17
17
  };
18
18
  readonly meta: {
19
- readonly description: "Additional metadata";
19
+ readonly description: 'Additional metadata';
20
20
  readonly additionalProperties: true;
21
- readonly type: readonly ["object", "null"];
21
+ readonly type: readonly ['object', 'null'];
22
22
  };
23
23
  };
24
- readonly required: readonly ["id", "title"];
24
+ readonly required: readonly ['id', 'title'];
25
25
  readonly self: {
26
- readonly vendor: "dev.pckd";
27
- readonly name: "step";
28
- readonly format: "jsonschema";
29
- readonly version: "1-0-0";
26
+ readonly vendor: 'dev.pckd';
27
+ readonly name: 'step';
28
+ readonly format: 'jsonschema';
29
+ readonly version: '1-0-0';
30
30
  };
31
- readonly type: "object";
31
+ readonly type: 'object';
32
32
  };
33
33
  export type Schema = FromSchema<typeof schema>;
34
34
  export type Version = typeof schema.self.version;
@@ -1 +1 @@
1
- {"version":3,"file":"1-0-0.d.ts","sourceRoot":"","sources":["../../../../src/schemas/step/1-0-0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAEnD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BT,CAAA;AAEV,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAA;AAC9C,MAAM,MAAM,OAAO,GAAG,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAA"}
1
+ {"version":3,"file":"1-0-0.d.ts","sourceRoot":"","sources":["../../../../src/schemas/step/1-0-0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAEnD,eAAO,MAAM,MAAM;aACjB,OAAO,EACL,yFAAyF;aAC3F,oBAAoB;aACpB,WAAW,EAAE,mBAAmB;aAChC,aAAa,EAAE,CAAC;aAChB,UAAU;iBACR,EAAE;qBACA,WAAW,EAAE,aAAa;qBAC1B,IAAI,EAAE,QAAQ;qBACd,SAAS,EAAE,GAAG;;iBAEhB,KAAK;qBACH,WAAW,EAAE,gBAAgB;qBAC7B,IAAI,EAAE,QAAQ;qBACd,SAAS,EAAE,GAAG;;iBAEhB,IAAI;qBACF,WAAW,EAAE,qBAAqB;qBAClC,oBAAoB;qBACpB,IAAI,YAAG,QAAQ,EAAE,MAAM;;;aAG3B,QAAQ,YAAG,IAAI,EAAE,OAAO;aACxB,IAAI;iBACF,MAAM,EAAE,UAAU;iBAClB,IAAI,EAAE,MAAM;iBACZ,MAAM,EAAE,YAAY;iBACpB,OAAO,EAAE,OAAO;;aAElB,IAAI,EAAE,QAAQ;CACN,CAAA;AAEV,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAA;AAC9C,MAAM,MAAM,OAAO,GAAG,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAA"}
@@ -1,39 +1,40 @@
1
- import { FromSchema } from 'json-schema-to-ts';
1
+ /** @file Snowplow "step" context schema v1-0-1, adding the deterministic step key alongside the id. */
2
+ import type { FromSchema } from 'json-schema-to-ts';
2
3
  export declare const schema: {
3
- readonly $schema: "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#";
4
+ readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
4
5
  readonly additionalProperties: true;
5
- readonly description: "Schema for a step";
6
+ readonly description: 'Schema for a step';
6
7
  readonly minProperties: 1;
7
8
  readonly properties: {
8
9
  readonly id: {
9
- readonly description: "The step ID";
10
- readonly type: "string";
10
+ readonly description: 'The step ID';
11
+ readonly type: 'string';
11
12
  readonly maxLength: 255;
12
13
  };
13
14
  readonly title: {
14
- readonly description: "The step title";
15
- readonly type: "string";
15
+ readonly description: 'The step title';
16
+ readonly type: 'string';
16
17
  readonly maxLength: 255;
17
18
  };
18
19
  readonly key: {
19
- readonly description: "The stable, deterministic step key";
20
- readonly type: readonly ["string", "null"];
20
+ readonly description: 'The stable, deterministic step key';
21
+ readonly type: readonly ['string', 'null'];
21
22
  readonly maxLength: 255;
22
23
  };
23
24
  readonly meta: {
24
- readonly description: "Additional metadata";
25
+ readonly description: 'Additional metadata';
25
26
  readonly additionalProperties: true;
26
- readonly type: readonly ["object", "null"];
27
+ readonly type: readonly ['object', 'null'];
27
28
  };
28
29
  };
29
- readonly required: readonly ["id", "title"];
30
+ readonly required: readonly ['id', 'title'];
30
31
  readonly self: {
31
- readonly vendor: "dev.pckd";
32
- readonly name: "step";
33
- readonly format: "jsonschema";
34
- readonly version: "1-0-1";
32
+ readonly vendor: 'dev.pckd';
33
+ readonly name: 'step';
34
+ readonly format: 'jsonschema';
35
+ readonly version: '1-0-1';
35
36
  };
36
- readonly type: "object";
37
+ readonly type: 'object';
37
38
  };
38
39
  export type Schema = FromSchema<typeof schema>;
39
40
  export type Version = typeof schema.self.version;
@@ -1 +1 @@
1
- {"version":3,"file":"1-0-1.d.ts","sourceRoot":"","sources":["../../../../src/schemas/step/1-0-1.ts"],"names":[],"mappings":"AAAA,uGAAuG;AACvG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAEnD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCT,CAAA;AAEV,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAA;AAC9C,MAAM,MAAM,OAAO,GAAG,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAA"}
1
+ {"version":3,"file":"1-0-1.d.ts","sourceRoot":"","sources":["../../../../src/schemas/step/1-0-1.ts"],"names":[],"mappings":"AAAA,uGAAuG;AACvG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAEnD,eAAO,MAAM,MAAM;aACjB,OAAO,EACL,yFAAyF;aAC3F,oBAAoB;aACpB,WAAW,EAAE,mBAAmB;aAChC,aAAa,EAAE,CAAC;aAChB,UAAU;iBACR,EAAE;qBACA,WAAW,EAAE,aAAa;qBAC1B,IAAI,EAAE,QAAQ;qBACd,SAAS,EAAE,GAAG;;iBAEhB,KAAK;qBACH,WAAW,EAAE,gBAAgB;qBAC7B,IAAI,EAAE,QAAQ;qBACd,SAAS,EAAE,GAAG;;iBAEhB,GAAG;qBACD,WAAW,EAAE,oCAAoC;qBACjD,IAAI,YAAG,QAAQ,EAAE,MAAM;qBACvB,SAAS,EAAE,GAAG;;iBAEhB,IAAI;qBACF,WAAW,EAAE,qBAAqB;qBAClC,oBAAoB;qBACpB,IAAI,YAAG,QAAQ,EAAE,MAAM;;;aAG3B,QAAQ,YAAG,IAAI,EAAE,OAAO;aACxB,IAAI;iBACF,MAAM,EAAE,UAAU;iBAClB,IAAI,EAAE,MAAM;iBACZ,MAAM,EAAE,YAAY;iBACpB,OAAO,EAAE,OAAO;;aAElB,IAAI,EAAE,QAAQ;CACN,CAAA;AAEV,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAA;AAC9C,MAAM,MAAM,OAAO,GAAG,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAA"}
@@ -1,73 +1,74 @@
1
- import { SchemaUrl } from '../../types';
2
- import { Schema as Schema1_0_1, Version as Version1_0_1 } from './1-0-1';
1
+ /** @file Registry of Snowplow "step" context schema versions with the current-version pointer. */
2
+ import type { SchemaUrl } from '../../types';
3
+ import type { Schema as Schema1_0_1, Version as Version1_0_1 } from './1-0-1';
3
4
  export declare const name = "step";
4
5
  export declare const schemas: {
5
6
  '1-0-0': {
6
- readonly $schema: "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#";
7
+ readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
7
8
  readonly additionalProperties: true;
8
- readonly description: "Schema for a step";
9
+ readonly description: 'Schema for a step';
9
10
  readonly minProperties: 1;
10
11
  readonly properties: {
11
12
  readonly id: {
12
- readonly description: "The step ID";
13
- readonly type: "string";
13
+ readonly description: 'The step ID';
14
+ readonly type: 'string';
14
15
  readonly maxLength: 255;
15
16
  };
16
17
  readonly title: {
17
- readonly description: "The step title";
18
- readonly type: "string";
18
+ readonly description: 'The step title';
19
+ readonly type: 'string';
19
20
  readonly maxLength: 255;
20
21
  };
21
22
  readonly meta: {
22
- readonly description: "Additional metadata";
23
+ readonly description: 'Additional metadata';
23
24
  readonly additionalProperties: true;
24
- readonly type: readonly ["object", "null"];
25
+ readonly type: readonly ['object', 'null'];
25
26
  };
26
27
  };
27
- readonly required: readonly ["id", "title"];
28
+ readonly required: readonly ['id', 'title'];
28
29
  readonly self: {
29
- readonly vendor: "dev.pckd";
30
- readonly name: "step";
31
- readonly format: "jsonschema";
32
- readonly version: "1-0-0";
30
+ readonly vendor: 'dev.pckd';
31
+ readonly name: 'step';
32
+ readonly format: 'jsonschema';
33
+ readonly version: '1-0-0';
33
34
  };
34
- readonly type: "object";
35
+ readonly type: 'object';
35
36
  };
36
37
  '1-0-1': {
37
- readonly $schema: "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#";
38
+ readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
38
39
  readonly additionalProperties: true;
39
- readonly description: "Schema for a step";
40
+ readonly description: 'Schema for a step';
40
41
  readonly minProperties: 1;
41
42
  readonly properties: {
42
43
  readonly id: {
43
- readonly description: "The step ID";
44
- readonly type: "string";
44
+ readonly description: 'The step ID';
45
+ readonly type: 'string';
45
46
  readonly maxLength: 255;
46
47
  };
47
48
  readonly title: {
48
- readonly description: "The step title";
49
- readonly type: "string";
49
+ readonly description: 'The step title';
50
+ readonly type: 'string';
50
51
  readonly maxLength: 255;
51
52
  };
52
53
  readonly key: {
53
- readonly description: "The stable, deterministic step key";
54
- readonly type: readonly ["string", "null"];
54
+ readonly description: 'The stable, deterministic step key';
55
+ readonly type: readonly ['string', 'null'];
55
56
  readonly maxLength: 255;
56
57
  };
57
58
  readonly meta: {
58
- readonly description: "Additional metadata";
59
+ readonly description: 'Additional metadata';
59
60
  readonly additionalProperties: true;
60
- readonly type: readonly ["object", "null"];
61
+ readonly type: readonly ['object', 'null'];
61
62
  };
62
63
  };
63
- readonly required: readonly ["id", "title"];
64
+ readonly required: readonly ['id', 'title'];
64
65
  readonly self: {
65
- readonly vendor: "dev.pckd";
66
- readonly name: "step";
67
- readonly format: "jsonschema";
68
- readonly version: "1-0-1";
66
+ readonly vendor: 'dev.pckd';
67
+ readonly name: 'step';
68
+ readonly format: 'jsonschema';
69
+ readonly version: '1-0-1';
69
70
  };
70
- readonly type: "object";
71
+ readonly type: 'object';
71
72
  };
72
73
  };
73
74
  export type CurrentSchema = Schema1_0_1;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schemas/step/index.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,KAAK,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,SAAS,CAAA;AAI7E,eAAO,MAAM,IAAI,SAAS,CAAA;AAE1B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGnB,CAAA;AAGD,MAAM,MAAM,aAAa,GAAG,WAAW,CAAA;AACvC,MAAM,MAAM,cAAc,GAAG,YAAY,CAAA;AACzC,MAAM,MAAM,GAAG,GAAG,SAAS,CAAC,OAAO,IAAI,EAAE,cAAc,CAAC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schemas/step/index.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,KAAK,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,SAAS,CAAA;AAI7E,eAAO,MAAM,IAAI,SAAS,CAAA;AAE1B,eAAO,MAAM,OAAO;IAClB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACP,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACR,CAAA;AAGD,MAAM,MAAM,aAAa,GAAG,WAAW,CAAA;AACvC,MAAM,MAAM,cAAc,GAAG,YAAY,CAAA;AACzC,MAAM,MAAM,GAAG,GAAG,SAAS,CAAC,OAAO,IAAI,EAAE,cAAc,CAAC,CAAA"}
@@ -1,3 +1,3 @@
1
- import { CreateTrackerOptions } from './types';
2
- export declare function createTracker({ projectId, cvlyX, deployment, collectorUrl, appId, trackVitals, trackPerformance, trackWebPage, trackSessions, trackBrowser, trackActivity, trackErrors, trackActivityCallback, trackButtonClickAllowList, }: CreateTrackerOptions): import('@snowplow/browser-tracker').BrowserTracker | null | undefined;
1
+ import type { CreateTrackerOptions } from './types';
2
+ export declare function createTracker({ projectId, cvlyX, deployment, collectorUrl, appId, trackVitals, trackPerformance, trackWebPage, trackSessions, trackBrowser, trackActivity, trackErrors, trackActivityCallback, trackButtonClickAllowList, }: CreateTrackerOptions): import("@snowplow/browser-tracker").BrowserTracker | null | undefined;
3
3
  //# sourceMappingURL=tracker.d.ts.map
@@ -1,6 +1,7 @@
1
- import { ActivityCallbackData, CommonEventProperties, SelfDescribingEvent } from '@snowplow/browser-tracker';
2
- import { ExperienceStep, Field, FieldValue, ValidationError as FieldValidationError } from '@picked/client';
3
- import { AppSchema, AppUrl, CvlyFunnelSchema, CvlyFunnelUrl, CvlyXSchema, CvlyXUrl, DeploymentSchema, DeploymentUrl, ElementSchema, ElementUrl, EventSchema, EventUrl, ExceptionSchema, ExceptionUrl, ExperienceSchema, ExperienceUrl, FeatureListSchema, FeatureListUrl, FieldListSchema, FieldListUrl, FormSchema, FormUrl, ModalSchema, ModalUrl, OrderSchema, OrderUrl, PickedSchema, PickedUrl, ProductListSchema, ProductListUrl, ResponseListSchema, ResponseListUrl, SessionSchema, SessionUrl, StepSchema, StepUrl } from './schemas';
1
+ /** @file Analytics event types and interfaces for Snowplow tracking. */
2
+ import type { ActivityCallbackData, CommonEventProperties, SelfDescribingEvent } from '@snowplow/browser-tracker';
3
+ import type { ExperienceStep, Field, FieldValue, ValidationError as FieldValidationError } from '@picked/client';
4
+ import type { AppSchema, AppUrl, CvlyFunnelSchema, CvlyFunnelUrl, CvlyXSchema, CvlyXUrl, DeploymentSchema, DeploymentUrl, ElementSchema, ElementUrl, EventSchema, EventUrl, ExceptionSchema, ExceptionUrl, ExperienceSchema, ExperienceUrl, FeatureListSchema, FeatureListUrl, FieldListSchema, FieldListUrl, FormSchema, FormUrl, ModalSchema, ModalUrl, OrderSchema, OrderUrl, PickedSchema, PickedUrl, ProductListSchema, ProductListUrl, ResponseListSchema, ResponseListUrl, SessionSchema, SessionUrl, StepSchema, StepUrl } from './schemas';
4
5
  export type SnowplowSelfDescribingEvent = SelfDescribingEvent & CommonEventProperties;
5
6
  export type SchemaUrl<Schema extends string, Version extends string> = `iglu:dev.pckd/${Schema}/jsonschema/${Version}`;
6
7
  export interface Context<Url extends string, Schema extends Record<string, unknown>> {
@@ -1,5 +1,9 @@
1
- import { InteractionEventName } from './interaction-events';
2
- import { AnalyticsContext } from './types';
1
+ /**
2
+ * @file Wires Picked experience targets to opt-in DOM interaction listeners and
3
+ * window/document level listeners.
4
+ */
5
+ import { type InteractionEventName } from './interaction-events';
6
+ import type { AnalyticsContext } from './types';
3
7
  /**
4
8
  * Bind the listed DOM interaction listeners to the given target. Listeners not
5
9
  * named in `enabledEvents` are not bound; the empty list is a no-op.
@@ -1,5 +1,5 @@
1
- import { AnalyticsContext, AppContext, Context, ContextArray, ExceptionContext, ExperienceContext, FeatureListContext, FieldListContext, FormContext, ModalContext, OrderContext, ProductListContext, ResponseListContext, SchemaUrl, SessionContext, SnowplowEventWithContext, SnowplowSelfDescribingEvent, StepContext } from './types';
2
- import { EventSchema } from './schemas';
1
+ import type { AnalyticsContext, AppContext, Context, ContextArray, ExceptionContext, ExperienceContext, FeatureListContext, FieldListContext, FormContext, ModalContext, OrderContext, ProductListContext, ResponseListContext, SchemaUrl, SessionContext, SnowplowEventWithContext, SnowplowSelfDescribingEvent, StepContext } from './types';
2
+ import type { EventSchema } from './schemas';
3
3
  export declare function schemaUrl<T extends string, U extends string>(schema: T, version: U): SchemaUrl<T, U>;
4
4
  export declare function log(_message: string, ..._data: unknown[]): void;
5
5
  export declare function warn(_message: string, ..._data: unknown[]): void;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,OAAO,EACP,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,SAAS,EACT,cAAc,EACd,wBAAwB,EACxB,2BAA2B,EAC3B,WAAW,EACZ,MAAM,SAAS,CAAA;AAChB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,wBAAgB,SAAS,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,EAC1D,MAAM,EAAE,CAAC,EACT,OAAO,EAAE,CAAC,GACT,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAEjB;AAED,wBAAgB,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,OAAO,EAAE,QAExD;AAED,wBAAgB,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,OAAO,EAAE,QAEzD;AAED,wBAAgB,KAAK,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,OAAO,EAAE,QAE1D;AAED,wBAAgB,WAAW,CAAC,CAAC,SAAS,wBAAwB,CAAC,MAAM,EAAE,YAAY,EAAE,YAAY,CAAC,EAChG,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,EAChC,OAAO,EAAE,CAAC,CAAC,SAAS,CAAC,EACrB,IAAI,GAAE,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAM,GACpC,2B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