@picked/analytics 0.0.1-dev.1789541668638 → 0.0.1-next.2

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 (281) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/index.js +1 -1
  3. package/dist/cjs/plugins/analytics/index.js +1 -1
  4. package/dist/esm/index.js +277 -2
  5. package/dist/esm/plugins/analytics/index.js +122 -127
  6. package/dist/types/events/app_close.d.ts +3 -3
  7. package/dist/types/events/app_close.d.ts.map +1 -1
  8. package/dist/types/events/app_load.d.ts +3 -3
  9. package/dist/types/events/app_load.d.ts.map +1 -1
  10. package/dist/types/events/app_open.d.ts +3 -3
  11. package/dist/types/events/app_open.d.ts.map +1 -1
  12. package/dist/types/events/cart_add.d.ts +3 -4
  13. package/dist/types/events/cart_add.d.ts.map +1 -1
  14. package/dist/types/events/cart_remove.d.ts +3 -4
  15. package/dist/types/events/cart_remove.d.ts.map +1 -1
  16. package/dist/types/events/checkout_complete.d.ts +3 -4
  17. package/dist/types/events/checkout_complete.d.ts.map +1 -1
  18. package/dist/types/events/checkout_start.d.ts +3 -4
  19. package/dist/types/events/checkout_start.d.ts.map +1 -1
  20. package/dist/types/events/experience_load.d.ts +3 -3
  21. package/dist/types/events/experience_load.d.ts.map +1 -1
  22. package/dist/types/events/field_validation_error.d.ts +3 -3
  23. package/dist/types/events/field_validation_error.d.ts.map +1 -1
  24. package/dist/types/events/form_submit.d.ts +3 -3
  25. package/dist/types/events/form_submit.d.ts.map +1 -1
  26. package/dist/types/events/form_submit_error.d.ts +3 -3
  27. package/dist/types/events/form_submit_error.d.ts.map +1 -1
  28. package/dist/types/events/form_submit_success.d.ts +3 -3
  29. package/dist/types/events/form_submit_success.d.ts.map +1 -1
  30. package/dist/types/events/index.d.ts +13 -20
  31. package/dist/types/events/index.d.ts.map +1 -1
  32. package/dist/types/events/interaction/back.d.ts +3 -3
  33. package/dist/types/events/interaction/back.d.ts.map +1 -1
  34. package/dist/types/events/interaction/backspace.d.ts +3 -3
  35. package/dist/types/events/interaction/backspace.d.ts.map +1 -1
  36. package/dist/types/events/interaction/click.d.ts +3 -3
  37. package/dist/types/events/interaction/click.d.ts.map +1 -1
  38. package/dist/types/events/interaction/copy.d.ts +3 -3
  39. package/dist/types/events/interaction/copy.d.ts.map +1 -1
  40. package/dist/types/events/interaction/drag.d.ts +3 -3
  41. package/dist/types/events/interaction/drag.d.ts.map +1 -1
  42. package/dist/types/events/interaction/forward.d.ts +3 -3
  43. package/dist/types/events/interaction/forward.d.ts.map +1 -1
  44. package/dist/types/events/interaction/mouse_shake.d.ts +3 -3
  45. package/dist/types/events/interaction/mouse_shake.d.ts.map +1 -1
  46. package/dist/types/events/interaction/offline.d.ts +3 -3
  47. package/dist/types/events/interaction/offline.d.ts.map +1 -1
  48. package/dist/types/events/interaction/online.d.ts +3 -3
  49. package/dist/types/events/interaction/online.d.ts.map +1 -1
  50. package/dist/types/events/interaction/page_hidden.d.ts +3 -3
  51. package/dist/types/events/interaction/page_hidden.d.ts.map +1 -1
  52. package/dist/types/events/interaction/page_hide.d.ts +3 -3
  53. package/dist/types/events/interaction/page_hide.d.ts.map +1 -1
  54. package/dist/types/events/interaction/page_show.d.ts +3 -3
  55. package/dist/types/events/interaction/page_show.d.ts.map +1 -1
  56. package/dist/types/events/interaction/page_visible.d.ts +3 -3
  57. package/dist/types/events/interaction/page_visible.d.ts.map +1 -1
  58. package/dist/types/events/interaction/paste.d.ts +3 -3
  59. package/dist/types/events/interaction/paste.d.ts.map +1 -1
  60. package/dist/types/events/interaction/rapid_click.d.ts +3 -3
  61. package/dist/types/events/interaction/rapid_click.d.ts.map +1 -1
  62. package/dist/types/events/interaction/rapid_scroll.d.ts +3 -3
  63. package/dist/types/events/interaction/rapid_scroll.d.ts.map +1 -1
  64. package/dist/types/events/interaction/resize.d.ts +3 -3
  65. package/dist/types/events/interaction/resize.d.ts.map +1 -1
  66. package/dist/types/events/interaction/right_click.d.ts +3 -3
  67. package/dist/types/events/interaction/right_click.d.ts.map +1 -1
  68. package/dist/types/events/interaction/scroll.d.ts +3 -3
  69. package/dist/types/events/interaction/scroll.d.ts.map +1 -1
  70. package/dist/types/events/interaction/unload.d.ts +3 -3
  71. package/dist/types/events/interaction/unload.d.ts.map +1 -1
  72. package/dist/types/events/interaction/video_pause.d.ts +3 -4
  73. package/dist/types/events/interaction/video_pause.d.ts.map +1 -1
  74. package/dist/types/events/interaction/video_play.d.ts +3 -4
  75. package/dist/types/events/interaction/video_play.d.ts.map +1 -1
  76. package/dist/types/events/lead_capture.d.ts +3 -3
  77. package/dist/types/events/lead_capture.d.ts.map +1 -1
  78. package/dist/types/events/modal_close.d.ts +3 -3
  79. package/dist/types/events/modal_close.d.ts.map +1 -1
  80. package/dist/types/events/modal_open.d.ts +3 -3
  81. package/dist/types/events/modal_open.d.ts.map +1 -1
  82. package/dist/types/events/page_view.d.ts +3 -4
  83. package/dist/types/events/page_view.d.ts.map +1 -1
  84. package/dist/types/events/product_list_view.d.ts +3 -4
  85. package/dist/types/events/product_list_view.d.ts.map +1 -1
  86. package/dist/types/events/product_select.d.ts +3 -3
  87. package/dist/types/events/product_select.d.ts.map +1 -1
  88. package/dist/types/events/product_view_details.d.ts +3 -4
  89. package/dist/types/events/product_view_details.d.ts.map +1 -1
  90. package/dist/types/events/recommendation_present.d.ts +3 -3
  91. package/dist/types/events/recommendation_present.d.ts.map +1 -1
  92. package/dist/types/events/search_results_list_view.d.ts +3 -3
  93. package/dist/types/events/search_results_list_view.d.ts.map +1 -1
  94. package/dist/types/events/step_complete.d.ts +3 -3
  95. package/dist/types/events/step_complete.d.ts.map +1 -1
  96. package/dist/types/events/step_enter.d.ts +3 -3
  97. package/dist/types/events/step_enter.d.ts.map +1 -1
  98. package/dist/types/events/step_submit.d.ts +3 -3
  99. package/dist/types/events/step_submit.d.ts.map +1 -1
  100. package/dist/types/events/step_submit_error.d.ts +3 -3
  101. package/dist/types/events/step_submit_error.d.ts.map +1 -1
  102. package/dist/types/events/step_submit_success.d.ts +3 -3
  103. package/dist/types/events/step_submit_success.d.ts.map +1 -1
  104. package/dist/types/events/wishlist_add.d.ts +3 -3
  105. package/dist/types/events/wishlist_add.d.ts.map +1 -1
  106. package/dist/types/fixtures/analytics-event.d.ts +16 -0
  107. package/dist/types/fixtures/analytics-event.d.ts.map +1 -0
  108. package/dist/types/helpers/element.d.ts +0 -26
  109. package/dist/types/helpers/element.d.ts.map +1 -1
  110. package/dist/types/index.d.ts +0 -1
  111. package/dist/types/index.d.ts.map +1 -1
  112. package/dist/types/listeners/backspace.d.ts +1 -1
  113. package/dist/types/listeners/click.d.ts +1 -1
  114. package/dist/types/listeners/click.d.ts.map +1 -1
  115. package/dist/types/listeners/copy.d.ts +1 -1
  116. package/dist/types/listeners/drag.d.ts +1 -1
  117. package/dist/types/listeners/drag.d.ts.map +1 -1
  118. package/dist/types/listeners/mouse_shake.d.ts +1 -1
  119. package/dist/types/listeners/mouse_shake.d.ts.map +1 -1
  120. package/dist/types/listeners/offline.d.ts +1 -1
  121. package/dist/types/listeners/online.d.ts +1 -1
  122. package/dist/types/listeners/pagehide.d.ts +1 -1
  123. package/dist/types/listeners/pageshow.d.ts +1 -1
  124. package/dist/types/listeners/paste.d.ts +1 -1
  125. package/dist/types/listeners/rapid_click.d.ts +1 -1
  126. package/dist/types/listeners/rapid_click.d.ts.map +1 -1
  127. package/dist/types/listeners/rapid_scroll.d.ts +1 -1
  128. package/dist/types/listeners/rapid_scroll.d.ts.map +1 -1
  129. package/dist/types/listeners/resize.d.ts +1 -1
  130. package/dist/types/listeners/right_click.d.ts +1 -1
  131. package/dist/types/listeners/right_click.d.ts.map +1 -1
  132. package/dist/types/listeners/scroll.d.ts +1 -1
  133. package/dist/types/listeners/scroll.d.ts.map +1 -1
  134. package/dist/types/listeners/unload.d.ts +1 -1
  135. package/dist/types/listeners/video_pause.d.ts +1 -1
  136. package/dist/types/listeners/video_play.d.ts +1 -1
  137. package/dist/types/listeners/visibility.d.ts +1 -1
  138. package/dist/types/plugins/analytics/index.d.ts +0 -6
  139. package/dist/types/plugins/analytics/index.d.ts.map +1 -1
  140. package/dist/types/plugins/analytics/plugin.d.ts +5 -7
  141. package/dist/types/plugins/analytics/plugin.d.ts.map +1 -1
  142. package/dist/types/schemas/answer_list/1-0-0.d.ts +27 -27
  143. package/dist/types/schemas/answer_list/1-0-0.d.ts.map +1 -1
  144. package/dist/types/schemas/answer_list/index.d.ts +28 -28
  145. package/dist/types/schemas/answer_list/index.d.ts.map +1 -1
  146. package/dist/types/schemas/app/1-0-0.d.ts +15 -15
  147. package/dist/types/schemas/app/1-0-0.d.ts.map +1 -1
  148. package/dist/types/schemas/app/index.d.ts +18 -45
  149. package/dist/types/schemas/app/index.d.ts.map +1 -1
  150. package/dist/types/schemas/cvly_funnel/1-0-0.d.ts +13 -13
  151. package/dist/types/schemas/cvly_funnel/1-0-0.d.ts.map +1 -1
  152. package/dist/types/schemas/cvly_funnel/index.d.ts +14 -14
  153. package/dist/types/schemas/cvly_funnel/index.d.ts.map +1 -1
  154. package/dist/types/schemas/cvly_x/1-0-0.d.ts +19 -19
  155. package/dist/types/schemas/cvly_x/1-0-0.d.ts.map +1 -1
  156. package/dist/types/schemas/cvly_x/1-0-1.d.ts +19 -19
  157. package/dist/types/schemas/cvly_x/1-0-1.d.ts.map +1 -1
  158. package/dist/types/schemas/cvly_x/index.d.ts +38 -38
  159. package/dist/types/schemas/cvly_x/index.d.ts.map +1 -1
  160. package/dist/types/schemas/element/1-0-0.d.ts +19 -19
  161. package/dist/types/schemas/element/1-0-0.d.ts.map +1 -1
  162. package/dist/types/schemas/element/index.d.ts +20 -20
  163. package/dist/types/schemas/element/index.d.ts.map +1 -1
  164. package/dist/types/schemas/event/1-0-0.d.ts +13 -13
  165. package/dist/types/schemas/event/1-0-0.d.ts.map +1 -1
  166. package/dist/types/schemas/event/index.d.ts +14 -14
  167. package/dist/types/schemas/event/index.d.ts.map +1 -1
  168. package/dist/types/schemas/exception/1-0-0.d.ts +13 -13
  169. package/dist/types/schemas/exception/1-0-0.d.ts.map +1 -1
  170. package/dist/types/schemas/exception/index.d.ts +14 -14
  171. package/dist/types/schemas/exception/index.d.ts.map +1 -1
  172. package/dist/types/schemas/experience/1-0-0.d.ts +17 -17
  173. package/dist/types/schemas/experience/1-0-0.d.ts.map +1 -1
  174. package/dist/types/schemas/experience/index.d.ts +20 -56
  175. package/dist/types/schemas/experience/index.d.ts.map +1 -1
  176. package/dist/types/schemas/feature_list/1-0-0.d.ts +26 -26
  177. package/dist/types/schemas/feature_list/1-0-0.d.ts.map +1 -1
  178. package/dist/types/schemas/feature_list/2-0-0.d.ts +26 -26
  179. package/dist/types/schemas/feature_list/2-0-0.d.ts.map +1 -1
  180. package/dist/types/schemas/feature_list/index.d.ts +52 -52
  181. package/dist/types/schemas/feature_list/index.d.ts.map +1 -1
  182. package/dist/types/schemas/field_list/1-0-0.d.ts +37 -37
  183. package/dist/types/schemas/field_list/1-0-0.d.ts.map +1 -1
  184. package/dist/types/schemas/field_list/index.d.ts +38 -38
  185. package/dist/types/schemas/field_list/index.d.ts.map +1 -1
  186. package/dist/types/schemas/form/1-0-0.d.ts +15 -15
  187. package/dist/types/schemas/form/1-0-0.d.ts.map +1 -1
  188. package/dist/types/schemas/form/index.d.ts +16 -16
  189. package/dist/types/schemas/form/index.d.ts.map +1 -1
  190. package/dist/types/schemas/index.d.ts +0 -4
  191. package/dist/types/schemas/index.d.ts.map +1 -1
  192. package/dist/types/schemas/modal/1-0-0.d.ts +15 -15
  193. package/dist/types/schemas/modal/1-0-0.d.ts.map +1 -1
  194. package/dist/types/schemas/modal/index.d.ts +16 -16
  195. package/dist/types/schemas/modal/index.d.ts.map +1 -1
  196. package/dist/types/schemas/picked/1-0-0.d.ts +13 -13
  197. package/dist/types/schemas/picked/1-0-0.d.ts.map +1 -1
  198. package/dist/types/schemas/picked/index.d.ts +14 -14
  199. package/dist/types/schemas/picked/index.d.ts.map +1 -1
  200. package/dist/types/schemas/product_list/1-0-0.d.ts +34 -34
  201. package/dist/types/schemas/product_list/1-0-0.d.ts.map +1 -1
  202. package/dist/types/schemas/product_list/2-0-0.d.ts +65 -65
  203. package/dist/types/schemas/product_list/2-0-0.d.ts.map +1 -1
  204. package/dist/types/schemas/product_list/index.d.ts +101 -265
  205. package/dist/types/schemas/product_list/index.d.ts.map +1 -1
  206. package/dist/types/schemas/question_list/1-0-0.d.ts +37 -37
  207. package/dist/types/schemas/question_list/1-0-0.d.ts.map +1 -1
  208. package/dist/types/schemas/question_list/index.d.ts +38 -38
  209. package/dist/types/schemas/question_list/index.d.ts.map +1 -1
  210. package/dist/types/schemas/recommendation_list/1-0-0.d.ts +24 -24
  211. package/dist/types/schemas/recommendation_list/1-0-0.d.ts.map +1 -1
  212. package/dist/types/schemas/recommendation_list/index.d.ts +25 -25
  213. package/dist/types/schemas/recommendation_list/index.d.ts.map +1 -1
  214. package/dist/types/schemas/response_list/1-0-0.d.ts +27 -27
  215. package/dist/types/schemas/response_list/1-0-0.d.ts.map +1 -1
  216. package/dist/types/schemas/response_list/index.d.ts +28 -28
  217. package/dist/types/schemas/response_list/index.d.ts.map +1 -1
  218. package/dist/types/schemas/session/1-0-0.d.ts +13 -13
  219. package/dist/types/schemas/session/1-0-0.d.ts.map +1 -1
  220. package/dist/types/schemas/session/1-0-1.d.ts +14 -14
  221. package/dist/types/schemas/session/1-0-1.d.ts.map +1 -1
  222. package/dist/types/schemas/session/index.d.ts +29 -167
  223. package/dist/types/schemas/session/index.d.ts.map +1 -1
  224. package/dist/types/schemas/step/1-0-0.d.ts +15 -15
  225. package/dist/types/schemas/step/1-0-0.d.ts.map +1 -1
  226. package/dist/types/schemas/step/index.d.ts +18 -55
  227. package/dist/types/schemas/step/index.d.ts.map +1 -1
  228. package/dist/types/tracker.d.ts +2 -14
  229. package/dist/types/tracker.d.ts.map +1 -1
  230. package/dist/types/types.d.ts +29 -96
  231. package/dist/types/types.d.ts.map +1 -1
  232. package/dist/types/user-interaction.d.ts +2 -33
  233. package/dist/types/user-interaction.d.ts.map +1 -1
  234. package/dist/types/utils.d.ts +6 -217
  235. package/dist/types/utils.d.ts.map +1 -1
  236. package/dist/user-interaction-BTJxIHbv.cjs +1 -0
  237. package/dist/user-interaction-CZQT4H3Z.js +1131 -0
  238. package/package.json +25 -47
  239. package/dist/.tsbuildinfo +0 -1
  240. package/dist/src-Bg5baSBO.js +0 -1318
  241. package/dist/src-XGiRLTMI.cjs +0 -1
  242. package/dist/types/events/app_initialize.d.ts +0 -4
  243. package/dist/types/events/app_initialize.d.ts.map +0 -1
  244. package/dist/types/events/custom.d.ts +0 -29
  245. package/dist/types/events/custom.d.ts.map +0 -1
  246. package/dist/types/events/feature_decide.d.ts +0 -4
  247. package/dist/types/events/feature_decide.d.ts.map +0 -1
  248. package/dist/types/events/identify.d.ts +0 -5
  249. package/dist/types/events/identify.d.ts.map +0 -1
  250. package/dist/types/events/order_create.d.ts +0 -5
  251. package/dist/types/events/order_create.d.ts.map +0 -1
  252. package/dist/types/events/waitlist_join.d.ts +0 -4
  253. package/dist/types/events/waitlist_join.d.ts.map +0 -1
  254. package/dist/types/interaction-events.d.ts +0 -22
  255. package/dist/types/interaction-events.d.ts.map +0 -1
  256. package/dist/types/schemas/app/1-1-0.d.ts +0 -31
  257. package/dist/types/schemas/app/1-1-0.d.ts.map +0 -1
  258. package/dist/types/schemas/deployment/1-0-0.d.ts +0 -45
  259. package/dist/types/schemas/deployment/1-0-0.d.ts.map +0 -1
  260. package/dist/types/schemas/deployment/1-0-1.d.ts +0 -45
  261. package/dist/types/schemas/deployment/1-0-1.d.ts.map +0 -1
  262. package/dist/types/schemas/deployment/index.d.ts +0 -91
  263. package/dist/types/schemas/deployment/index.d.ts.map +0 -1
  264. package/dist/types/schemas/experience/1-0-1.d.ts +0 -40
  265. package/dist/types/schemas/experience/1-0-1.d.ts.map +0 -1
  266. package/dist/types/schemas/order/1-0-0.d.ts +0 -45
  267. package/dist/types/schemas/order/1-0-0.d.ts.map +0 -1
  268. package/dist/types/schemas/order/index.d.ts +0 -50
  269. package/dist/types/schemas/order/index.d.ts.map +0 -1
  270. package/dist/types/schemas/product_list/2-0-1.d.ts +0 -168
  271. package/dist/types/schemas/product_list/2-0-1.d.ts.map +0 -1
  272. package/dist/types/schemas/session/1-0-2.d.ts +0 -39
  273. package/dist/types/schemas/session/1-0-2.d.ts.map +0 -1
  274. package/dist/types/schemas/session/1-0-3.d.ts +0 -53
  275. package/dist/types/schemas/session/1-0-3.d.ts.map +0 -1
  276. package/dist/types/schemas/session/1-0-4.d.ts +0 -58
  277. package/dist/types/schemas/session/1-0-4.d.ts.map +0 -1
  278. package/dist/types/schemas/step/1-0-1.d.ts +0 -41
  279. package/dist/types/schemas/step/1-0-1.d.ts.map +0 -1
  280. package/dist/types/snowplow-plugins/url-scrub.d.ts +0 -84
  281. package/dist/types/snowplow-plugins/url-scrub.d.ts.map +0 -1
@@ -1,412 +1,248 @@
1
- import type { SchemaUrl } from '../../types';
2
- import type { Schema as Schema2_0_1, Version as Version2_0_1 } from './2-0-1';
1
+ import { Schema as Schema2_0_0, Version as Version2_0_0 } from './2-0-0';
2
+ import { SchemaUrl } from '../../types';
3
3
  export declare const name = "product_list";
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 product list';
8
+ readonly description: "Schema for a product list";
9
9
  readonly minProperties: 1;
10
10
  readonly properties: {
11
11
  readonly items: {
12
- readonly description: 'A list of products';
13
- readonly type: 'array';
12
+ readonly description: "A list of products";
13
+ readonly type: "array";
14
14
  readonly items: {
15
- readonly type: 'object';
16
- readonly description: 'Products in the list';
15
+ readonly type: "object";
16
+ readonly description: "Products in the list";
17
17
  readonly properties: {
18
18
  readonly product_id: {
19
- readonly description: 'The product ID';
20
- readonly type: readonly ['string', 'null'];
19
+ readonly description: "The product ID";
20
+ readonly type: readonly ["string", "null"];
21
21
  readonly maxLength: 255;
22
22
  };
23
23
  readonly product_title: {
24
- readonly description: 'The product title';
25
- readonly type: readonly ['string', 'null'];
24
+ readonly description: "The product title";
25
+ readonly type: readonly ["string", "null"];
26
26
  readonly maxLength: 255;
27
27
  };
28
28
  readonly variant_id: {
29
- readonly description: 'The variant ID';
30
- readonly type: readonly ['string', 'null'];
29
+ readonly description: "The variant ID";
30
+ readonly type: readonly ["string", "null"];
31
31
  readonly maxLength: 255;
32
32
  };
33
33
  readonly variant_title: {
34
- readonly description: 'The variant title';
35
- readonly type: readonly ['string', 'null'];
34
+ readonly description: "The variant title";
35
+ readonly type: readonly ["string", "null"];
36
36
  readonly maxLength: 255;
37
37
  };
38
38
  readonly sku: {
39
- readonly description: 'The SKU of the product';
40
- readonly type: 'string';
39
+ readonly description: "The SKU of the product";
40
+ readonly type: "string";
41
41
  readonly maxLength: 255;
42
42
  };
43
43
  readonly price: {
44
- readonly description: 'The price of the product';
45
- readonly type: readonly ['number', 'null'];
44
+ readonly description: "The price of the product";
45
+ readonly type: readonly ["number", "null"];
46
46
  readonly maximum: 9999999999;
47
47
  readonly minimum: -9999999999;
48
48
  };
49
49
  readonly currency: {
50
- readonly description: 'The currency for the product price';
51
- readonly type: readonly ['string', 'null'];
50
+ readonly description: "The currency for the product price";
51
+ readonly type: readonly ["string", "null"];
52
52
  readonly maxLength: 255;
53
53
  };
54
54
  readonly quantity: {
55
- readonly description: 'The quantity of the product';
56
- readonly type: readonly ['number', 'null'];
55
+ readonly description: "The quantity of the product";
56
+ readonly type: readonly ["number", "null"];
57
57
  readonly maximum: 9999999999;
58
58
  readonly minimum: -9999999999;
59
59
  };
60
60
  readonly meta: {
61
- readonly description: 'Additional metadata';
61
+ readonly description: "Additional metadata";
62
62
  readonly additionalProperties: true;
63
- readonly type: readonly ['object', 'null'];
63
+ readonly type: readonly ["object", "null"];
64
64
  };
65
65
  };
66
- readonly required: readonly ['sku'];
66
+ readonly required: readonly ["sku"];
67
67
  };
68
68
  };
69
69
  readonly meta: {
70
- readonly description: 'Additional metadata';
70
+ readonly description: "Additional metadata";
71
71
  readonly additionalProperties: true;
72
- readonly type: readonly ['object', 'null'];
72
+ readonly type: readonly ["object", "null"];
73
73
  };
74
74
  };
75
- readonly required: readonly ['items'];
75
+ readonly required: readonly ["items"];
76
76
  readonly self: {
77
- readonly vendor: 'dev.pckd';
78
- readonly name: 'product_list';
79
- readonly format: 'jsonschema';
80
- readonly version: '1-0-0';
77
+ readonly vendor: "dev.pckd";
78
+ readonly name: "product_list";
79
+ readonly format: "jsonschema";
80
+ readonly version: "1-0-0";
81
81
  };
82
- readonly type: 'object';
82
+ readonly type: "object";
83
83
  };
84
84
  '2-0-0': {
85
- readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
85
+ readonly $schema: "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#";
86
86
  readonly additionalProperties: true;
87
- readonly description: 'Schema for a product list';
87
+ readonly description: "Schema for a product list";
88
88
  readonly minProperties: 1;
89
89
  readonly properties: {
90
90
  readonly title: {
91
- readonly description: 'The title of the product list';
92
- readonly type: readonly ['string', 'null'];
91
+ readonly description: "The title of the product list";
92
+ readonly type: readonly ["string", "null"];
93
93
  readonly maxLength: 255;
94
94
  };
95
95
  readonly items: {
96
- readonly description: 'A list of products';
97
- readonly type: 'array';
96
+ readonly description: "A list of products";
97
+ readonly type: "array";
98
98
  readonly items: {
99
- readonly type: 'object';
100
- readonly description: 'Products in the list';
99
+ readonly type: "object";
100
+ readonly description: "Products in the list";
101
101
  readonly properties: {
102
102
  readonly item_id: {
103
- readonly type: readonly ['string', 'null'];
104
- readonly description: 'The product ID';
103
+ readonly type: readonly ["string", "null"];
104
+ readonly description: "The product ID";
105
105
  readonly maxLength: 255;
106
106
  };
107
107
  readonly item_name: {
108
- readonly type: readonly ['string', 'null'];
109
- readonly description: 'The product name';
108
+ readonly type: readonly ["string", "null"];
109
+ readonly description: "The product name";
110
110
  readonly maxLength: 255;
111
111
  };
112
112
  readonly affiliation: {
113
- readonly type: readonly ['string', 'null'];
114
- readonly description: 'The affiliation';
113
+ readonly type: readonly ["string", "null"];
114
+ readonly description: "The affiliation";
115
115
  readonly maxLength: 255;
116
116
  };
117
117
  readonly coupon: {
118
- readonly type: readonly ['string', 'null'];
119
- readonly description: 'The coupon code';
118
+ readonly type: readonly ["string", "null"];
119
+ readonly description: "The coupon code";
120
120
  readonly maxLength: 255;
121
121
  };
122
122
  readonly currency: {
123
- readonly type: readonly ['string', 'null'];
124
- readonly description: 'The currency';
123
+ readonly type: readonly ["string", "null"];
124
+ readonly description: "The currency";
125
125
  readonly maxLength: 255;
126
126
  };
127
127
  readonly creative_name: {
128
- readonly type: readonly ['string', 'null'];
129
- readonly description: 'The creative name';
128
+ readonly type: readonly ["string", "null"];
129
+ readonly description: "The creative name";
130
130
  readonly maxLength: 255;
131
131
  };
132
132
  readonly creative_slot: {
133
- readonly type: readonly ['string', 'null'];
134
- readonly description: 'The creative slot';
133
+ readonly type: readonly ["string", "null"];
134
+ readonly description: "The creative slot";
135
135
  readonly maxLength: 255;
136
136
  };
137
137
  readonly discount: {
138
- readonly type: readonly ['number', 'null'];
139
- readonly description: 'The discount';
138
+ readonly type: readonly ["number", "null"];
139
+ readonly description: "The discount";
140
140
  readonly minimum: -9999999999;
141
141
  readonly maximum: 9999999999;
142
142
  };
143
143
  readonly index: {
144
- readonly type: readonly ['number', 'null'];
145
- readonly description: 'The index';
144
+ readonly type: readonly ["number", "null"];
145
+ readonly description: "The index";
146
146
  readonly minimum: -9999999999;
147
147
  readonly maximum: 9999999999;
148
148
  };
149
149
  readonly item_brand: {
150
- readonly type: readonly ['string', 'null'];
151
- readonly description: 'The item brand';
150
+ readonly type: readonly ["string", "null"];
151
+ readonly description: "The item brand";
152
152
  readonly maxLength: 255;
153
153
  };
154
154
  readonly item_category: {
155
- readonly type: readonly ['string', 'null'];
156
- readonly description: 'The item category';
155
+ readonly type: readonly ["string", "null"];
156
+ readonly description: "The item category";
157
157
  readonly maxLength: 255;
158
158
  };
159
159
  readonly item_category2: {
160
- readonly type: readonly ['string', 'null'];
161
- readonly description: 'The item category 2';
160
+ readonly type: readonly ["string", "null"];
161
+ readonly description: "The item category 2";
162
162
  readonly maxLength: 255;
163
163
  };
164
164
  readonly item_category3: {
165
- readonly type: readonly ['string', 'null'];
166
- readonly description: 'The item category 3';
165
+ readonly type: readonly ["string", "null"];
166
+ readonly description: "The item category 3";
167
167
  readonly maxLength: 255;
168
168
  };
169
169
  readonly item_category4: {
170
- readonly type: readonly ['string', 'null'];
171
- readonly description: 'The item category 4';
170
+ readonly type: readonly ["string", "null"];
171
+ readonly description: "The item category 4";
172
172
  readonly maxLength: 255;
173
173
  };
174
174
  readonly item_category5: {
175
- readonly type: readonly ['string', 'null'];
176
- readonly description: 'The item category 5';
175
+ readonly type: readonly ["string", "null"];
176
+ readonly description: "The item category 5";
177
177
  readonly maxLength: 255;
178
178
  };
179
179
  readonly item_list_id: {
180
- readonly type: readonly ['string', 'null'];
181
- readonly description: 'The item list ID';
180
+ readonly type: readonly ["string", "null"];
181
+ readonly description: "The item list ID";
182
182
  readonly maxLength: 255;
183
183
  };
184
184
  readonly item_list_name: {
185
- readonly type: readonly ['string', 'null'];
186
- readonly description: 'The item list';
185
+ readonly type: readonly ["string", "null"];
186
+ readonly description: "The item list";
187
187
  readonly maxLength: 255;
188
188
  };
189
189
  readonly item_variant: {
190
- readonly type: readonly ['string', 'null'];
191
- readonly description: 'The item variant';
190
+ readonly type: readonly ["string", "null"];
191
+ readonly description: "The item variant";
192
192
  readonly maxLength: 255;
193
193
  };
194
194
  readonly location_id: {
195
- readonly type: readonly ['string', 'null'];
196
- readonly description: 'The location ID';
195
+ readonly type: readonly ["string", "null"];
196
+ readonly description: "The location ID";
197
197
  readonly maxLength: 255;
198
198
  };
199
199
  readonly price: {
200
- readonly type: readonly ['number', 'null'];
201
- readonly description: 'The price';
200
+ readonly type: readonly ["number", "null"];
201
+ readonly description: "The price";
202
202
  readonly minimum: -9999999999;
203
203
  readonly maximum: 9999999999;
204
204
  };
205
205
  readonly promotion_id: {
206
- readonly type: readonly ['string', 'null'];
207
- readonly description: 'The promotion ID';
206
+ readonly type: readonly ["string", "null"];
207
+ readonly description: "The promotion ID";
208
208
  readonly maxLength: 255;
209
209
  };
210
210
  readonly promotion_name: {
211
- readonly type: readonly ['string', 'null'];
212
- readonly description: 'The promotion name';
211
+ readonly type: readonly ["string", "null"];
212
+ readonly description: "The promotion name";
213
213
  readonly maxLength: 255;
214
214
  };
215
215
  readonly quantity: {
216
- readonly type: readonly ['number', 'null'];
217
- readonly description: 'The quantity';
216
+ readonly type: readonly ["number", "null"];
217
+ readonly description: "The quantity";
218
218
  readonly minimum: -9999999999;
219
219
  readonly maximum: 9999999999;
220
220
  };
221
221
  readonly meta: {
222
- readonly description: 'Additional metadata';
222
+ readonly description: "Additional metadata";
223
223
  readonly additionalProperties: true;
224
- readonly type: readonly ['object', 'null'];
224
+ readonly type: readonly ["object", "null"];
225
225
  };
226
226
  };
227
227
  };
228
228
  };
229
229
  readonly meta: {
230
- readonly description: 'Additional metadata';
230
+ readonly description: "Additional metadata";
231
231
  readonly additionalProperties: true;
232
- readonly type: readonly ['object', 'null'];
232
+ readonly type: readonly ["object", "null"];
233
233
  };
234
234
  };
235
- readonly required: readonly ['items'];
235
+ readonly required: readonly ["items"];
236
236
  readonly self: {
237
- readonly vendor: 'dev.pckd';
238
- readonly name: 'product_list';
239
- readonly format: 'jsonschema';
240
- readonly version: '2-0-0';
237
+ readonly vendor: "dev.pckd";
238
+ readonly name: "product_list";
239
+ readonly format: "jsonschema";
240
+ readonly version: "2-0-0";
241
241
  };
242
- readonly type: 'object';
243
- };
244
- '2-0-1': {
245
- readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
246
- readonly additionalProperties: true;
247
- readonly description: 'Schema for a product list';
248
- readonly minProperties: 1;
249
- readonly properties: {
250
- readonly title: {
251
- readonly description: 'The title of the product list';
252
- readonly type: readonly ['string', 'null'];
253
- readonly maxLength: 255;
254
- };
255
- readonly items: {
256
- readonly description: 'A list of products';
257
- readonly type: 'array';
258
- readonly items: {
259
- readonly type: 'object';
260
- readonly description: 'Products in the list';
261
- readonly properties: {
262
- readonly item_id: {
263
- readonly type: readonly ['string', 'null'];
264
- readonly description: 'The product ID';
265
- readonly maxLength: 255;
266
- };
267
- readonly item_name: {
268
- readonly type: readonly ['string', 'null'];
269
- readonly description: 'The product name';
270
- readonly maxLength: 255;
271
- };
272
- readonly affiliation: {
273
- readonly type: readonly ['string', 'null'];
274
- readonly description: 'The affiliation';
275
- readonly maxLength: 255;
276
- };
277
- readonly coupon: {
278
- readonly type: readonly ['string', 'null'];
279
- readonly description: 'The coupon code';
280
- readonly maxLength: 255;
281
- };
282
- readonly currency: {
283
- readonly type: readonly ['string', 'null'];
284
- readonly description: 'The currency';
285
- readonly maxLength: 255;
286
- };
287
- readonly creative_name: {
288
- readonly type: readonly ['string', 'null'];
289
- readonly description: 'The creative name';
290
- readonly maxLength: 255;
291
- };
292
- readonly creative_slot: {
293
- readonly type: readonly ['string', 'null'];
294
- readonly description: 'The creative slot';
295
- readonly maxLength: 255;
296
- };
297
- readonly discount: {
298
- readonly type: readonly ['number', 'null'];
299
- readonly description: 'The discount';
300
- readonly minimum: -9999999999;
301
- readonly maximum: 9999999999;
302
- };
303
- readonly index: {
304
- readonly type: readonly ['number', 'null'];
305
- readonly description: 'The index';
306
- readonly minimum: -9999999999;
307
- readonly maximum: 9999999999;
308
- };
309
- readonly item_brand: {
310
- readonly type: readonly ['string', 'null'];
311
- readonly description: 'The item brand';
312
- readonly maxLength: 255;
313
- };
314
- readonly item_category: {
315
- readonly type: readonly ['string', 'null'];
316
- readonly description: 'The item category';
317
- readonly maxLength: 255;
318
- };
319
- readonly item_category2: {
320
- readonly type: readonly ['string', 'null'];
321
- readonly description: 'The item category 2';
322
- readonly maxLength: 255;
323
- };
324
- readonly item_category3: {
325
- readonly type: readonly ['string', 'null'];
326
- readonly description: 'The item category 3';
327
- readonly maxLength: 255;
328
- };
329
- readonly item_category4: {
330
- readonly type: readonly ['string', 'null'];
331
- readonly description: 'The item category 4';
332
- readonly maxLength: 255;
333
- };
334
- readonly item_category5: {
335
- readonly type: readonly ['string', 'null'];
336
- readonly description: 'The item category 5';
337
- readonly maxLength: 255;
338
- };
339
- readonly item_list_id: {
340
- readonly type: readonly ['string', 'null'];
341
- readonly description: 'The item list ID';
342
- readonly maxLength: 255;
343
- };
344
- readonly item_list_name: {
345
- readonly type: readonly ['string', 'null'];
346
- readonly description: 'The item list';
347
- readonly maxLength: 255;
348
- };
349
- readonly item_variant: {
350
- readonly type: readonly ['string', 'null'];
351
- readonly description: 'The item variant';
352
- readonly maxLength: 255;
353
- };
354
- readonly location_id: {
355
- readonly type: readonly ['string', 'null'];
356
- readonly description: 'The location ID';
357
- readonly maxLength: 255;
358
- };
359
- readonly price: {
360
- readonly type: readonly ['number', 'null'];
361
- readonly description: 'The price';
362
- readonly minimum: -9999999999;
363
- readonly maximum: 9999999999;
364
- };
365
- readonly promotion_id: {
366
- readonly type: readonly ['string', 'null'];
367
- readonly description: 'The promotion ID';
368
- readonly maxLength: 255;
369
- };
370
- readonly promotion_name: {
371
- readonly type: readonly ['string', 'null'];
372
- readonly description: 'The promotion name';
373
- readonly maxLength: 255;
374
- };
375
- readonly quantity: {
376
- readonly type: readonly ['number', 'null'];
377
- readonly description: 'The quantity';
378
- readonly minimum: -9999999999;
379
- readonly maximum: 9999999999;
380
- };
381
- readonly meta: {
382
- readonly description: 'Additional metadata';
383
- readonly additionalProperties: true;
384
- readonly type: readonly ['object', 'null'];
385
- };
386
- readonly in_stock: {
387
- readonly description: 'The stock availability of the product';
388
- readonly type: readonly ['boolean', 'null'];
389
- };
390
- };
391
- };
392
- };
393
- readonly meta: {
394
- readonly description: 'Additional metadata';
395
- readonly additionalProperties: true;
396
- readonly type: readonly ['object', 'null'];
397
- };
398
- };
399
- readonly required: readonly ['items'];
400
- readonly self: {
401
- readonly vendor: 'dev.pckd';
402
- readonly name: 'product_list';
403
- readonly format: 'jsonschema';
404
- readonly version: '2-0-1';
405
- };
406
- readonly type: 'object';
242
+ readonly type: "object";
407
243
  };
408
244
  };
409
- export type CurrentSchema = Schema2_0_1;
410
- export type CurrentVersion = Version2_0_1;
245
+ export type CurrentSchema = Schema2_0_0;
246
+ export type CurrentVersion = Version2_0_0;
411
247
  export type Url = SchemaUrl<typeof name, CurrentVersion>;
412
248
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schemas/product_list/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;AAK7E,eAAO,MAAM,IAAI,iBAAiB,CAAA;AAElC,eAAO,MAAM,OAAO;IAClB,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
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schemas/product_list/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,SAAS,CAAA;AAG7E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAE5C,eAAO,MAAM,IAAI,iBAAiB,CAAA;AAElC,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"}