@picked/analytics 0.0.70 → 0.0.71-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 (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,32 +1,32 @@
1
- import { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0';
2
- import { SchemaUrl } from '../../types';
1
+ import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0';
2
+ import type { SchemaUrl } from '../../types';
3
3
  export declare const name = "picked";
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 Picked SDK";
8
+ readonly description: 'Schema for Picked SDK';
9
9
  readonly minProperties: 1;
10
10
  readonly properties: {
11
11
  readonly sdk_version: {
12
- readonly description: "The SDK version";
13
- readonly type: "string";
12
+ readonly description: 'The SDK version';
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 ["sdk_version"];
22
+ readonly required: readonly ['sdk_version'];
23
23
  readonly self: {
24
- readonly vendor: "dev.pckd";
25
- readonly name: "picked";
26
- readonly format: "jsonschema";
27
- readonly version: "1-0-0";
24
+ readonly vendor: 'dev.pckd';
25
+ readonly name: 'picked';
26
+ readonly format: 'jsonschema';
27
+ readonly version: '1-0-0';
28
28
  };
29
- readonly type: "object";
29
+ readonly type: 'object';
30
30
  };
31
31
  };
32
32
  export type CurrentSchema = Schema1_0_0;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schemas/picked/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,SAAS,CAAA;AAE7E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAE5C,eAAO,MAAM,IAAI,WAAW,CAAA;AAE5B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEnB,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/picked/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,SAAS,CAAA;AAE7E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAE5C,eAAO,MAAM,IAAI,WAAW,CAAA;AAE5B,eAAO,MAAM,OAAO;IAClB,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,82 +1,82 @@
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 product list";
5
+ readonly description: 'Schema for a product list';
6
6
  readonly minProperties: 1;
7
7
  readonly properties: {
8
8
  readonly items: {
9
- readonly description: "A list of products";
10
- readonly type: "array";
9
+ readonly description: 'A list of products';
10
+ readonly type: 'array';
11
11
  readonly items: {
12
- readonly type: "object";
13
- readonly description: "Products in the list";
12
+ readonly type: 'object';
13
+ readonly description: 'Products in the list';
14
14
  readonly properties: {
15
15
  readonly product_id: {
16
- readonly description: "The product ID";
17
- readonly type: readonly ["string", "null"];
16
+ readonly description: 'The product ID';
17
+ readonly type: readonly ['string', 'null'];
18
18
  readonly maxLength: 255;
19
19
  };
20
20
  readonly product_title: {
21
- readonly description: "The product title";
22
- readonly type: readonly ["string", "null"];
21
+ readonly description: 'The product title';
22
+ readonly type: readonly ['string', 'null'];
23
23
  readonly maxLength: 255;
24
24
  };
25
25
  readonly variant_id: {
26
- readonly description: "The variant ID";
27
- readonly type: readonly ["string", "null"];
26
+ readonly description: 'The variant ID';
27
+ readonly type: readonly ['string', 'null'];
28
28
  readonly maxLength: 255;
29
29
  };
30
30
  readonly variant_title: {
31
- readonly description: "The variant title";
32
- readonly type: readonly ["string", "null"];
31
+ readonly description: 'The variant title';
32
+ readonly type: readonly ['string', 'null'];
33
33
  readonly maxLength: 255;
34
34
  };
35
35
  readonly sku: {
36
- readonly description: "The SKU of the product";
37
- readonly type: "string";
36
+ readonly description: 'The SKU of the product';
37
+ readonly type: 'string';
38
38
  readonly maxLength: 255;
39
39
  };
40
40
  readonly price: {
41
- readonly description: "The price of the product";
42
- readonly type: readonly ["number", "null"];
41
+ readonly description: 'The price of the product';
42
+ readonly type: readonly ['number', 'null'];
43
43
  readonly maximum: 9999999999;
44
44
  readonly minimum: -9999999999;
45
45
  };
46
46
  readonly currency: {
47
- readonly description: "The currency for the product price";
48
- readonly type: readonly ["string", "null"];
47
+ readonly description: 'The currency for the product price';
48
+ readonly type: readonly ['string', 'null'];
49
49
  readonly maxLength: 255;
50
50
  };
51
51
  readonly quantity: {
52
- readonly description: "The quantity of the product";
53
- readonly type: readonly ["number", "null"];
52
+ readonly description: 'The quantity of the product';
53
+ readonly type: readonly ['number', 'null'];
54
54
  readonly maximum: 9999999999;
55
55
  readonly minimum: -9999999999;
56
56
  };
57
57
  readonly meta: {
58
- readonly description: "Additional metadata";
58
+ readonly description: 'Additional metadata';
59
59
  readonly additionalProperties: true;
60
- readonly type: readonly ["object", "null"];
60
+ readonly type: readonly ['object', 'null'];
61
61
  };
62
62
  };
63
- readonly required: readonly ["sku"];
63
+ readonly required: readonly ['sku'];
64
64
  };
65
65
  };
66
66
  readonly meta: {
67
- readonly description: "Additional metadata";
67
+ readonly description: 'Additional metadata';
68
68
  readonly additionalProperties: true;
69
- readonly type: readonly ["object", "null"];
69
+ readonly type: readonly ['object', 'null'];
70
70
  };
71
71
  };
72
- readonly required: readonly ["items"];
72
+ readonly required: readonly ['items'];
73
73
  readonly self: {
74
- readonly vendor: "dev.pckd";
75
- readonly name: "product_list";
76
- readonly format: "jsonschema";
77
- readonly version: "1-0-0";
74
+ readonly vendor: 'dev.pckd';
75
+ readonly name: 'product_list';
76
+ readonly format: 'jsonschema';
77
+ readonly version: '1-0-0';
78
78
  };
79
- readonly type: "object";
79
+ readonly type: 'object';
80
80
  };
81
81
  export type Schema = FromSchema<typeof schema>;
82
82
  export type Version = typeof schema.self.version;
@@ -1 +1 @@
1
- {"version":3,"file":"1-0-0.d.ts","sourceRoot":"","sources":["../../../../src/schemas/product_list/1-0-0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAEnD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+ET,CAAA;AAEV,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAA;AAC9C,MAAM,MAAM,OAAO,GAAG,OAAO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ACN,WAAW,EAAE,6BAA6B;iCAC1C,IAAI,YAAG,QAAQ,EAAE,MAAM;iCACvB,OAAO,EAAE,UAAU;iCACnB,OAAO,EAAE,CAAC,UAAU;;6BAEtB,IAAI;iCACF,WAAW,EAAE,qBAAqB;iCAClC,oBAAoB;iCACpB,IAAI,YAAG,QAAQ,EAAE,MAAM;;;yBAG3B,QAAQ,YAAG,KAAK;;;iBAGpB,IAAI;qBACF,WAAW,EAAE,qBAAqB;qBAClC,oBAAoB;qBACpB,IAAI,YAAG,QAAQ,EAAE,MAAM;;;aAG3B,QAAQ,YAAG,OAAO;aAClB,IAAI;iBACF,MAAM,EAAE,UAAU;iBAClB,IAAI,EAAE,cAAc;iBACpB,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,163 +1,163 @@
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 product list";
5
+ readonly description: 'Schema for a product list';
6
6
  readonly minProperties: 1;
7
7
  readonly properties: {
8
8
  readonly title: {
9
- readonly description: "The title of the product list";
10
- readonly type: readonly ["string", "null"];
9
+ readonly description: 'The title of the product list';
10
+ readonly type: readonly ['string', 'null'];
11
11
  readonly maxLength: 255;
12
12
  };
13
13
  readonly items: {
14
- readonly description: "A list of products";
15
- readonly type: "array";
14
+ readonly description: 'A list of products';
15
+ readonly type: 'array';
16
16
  readonly items: {
17
- readonly type: "object";
18
- readonly description: "Products in the list";
17
+ readonly type: 'object';
18
+ readonly description: 'Products in the list';
19
19
  readonly properties: {
20
20
  readonly item_id: {
21
- readonly type: readonly ["string", "null"];
22
- readonly description: "The product ID";
21
+ readonly type: readonly ['string', 'null'];
22
+ readonly description: 'The product ID';
23
23
  readonly maxLength: 255;
24
24
  };
25
25
  readonly item_name: {
26
- readonly type: readonly ["string", "null"];
27
- readonly description: "The product name";
26
+ readonly type: readonly ['string', 'null'];
27
+ readonly description: 'The product name';
28
28
  readonly maxLength: 255;
29
29
  };
30
30
  readonly affiliation: {
31
- readonly type: readonly ["string", "null"];
32
- readonly description: "The affiliation";
31
+ readonly type: readonly ['string', 'null'];
32
+ readonly description: 'The affiliation';
33
33
  readonly maxLength: 255;
34
34
  };
35
35
  readonly coupon: {
36
- readonly type: readonly ["string", "null"];
37
- readonly description: "The coupon code";
36
+ readonly type: readonly ['string', 'null'];
37
+ readonly description: 'The coupon code';
38
38
  readonly maxLength: 255;
39
39
  };
40
40
  readonly currency: {
41
- readonly type: readonly ["string", "null"];
42
- readonly description: "The currency";
41
+ readonly type: readonly ['string', 'null'];
42
+ readonly description: 'The currency';
43
43
  readonly maxLength: 255;
44
44
  };
45
45
  readonly creative_name: {
46
- readonly type: readonly ["string", "null"];
47
- readonly description: "The creative name";
46
+ readonly type: readonly ['string', 'null'];
47
+ readonly description: 'The creative name';
48
48
  readonly maxLength: 255;
49
49
  };
50
50
  readonly creative_slot: {
51
- readonly type: readonly ["string", "null"];
52
- readonly description: "The creative slot";
51
+ readonly type: readonly ['string', 'null'];
52
+ readonly description: 'The creative slot';
53
53
  readonly maxLength: 255;
54
54
  };
55
55
  readonly discount: {
56
- readonly type: readonly ["number", "null"];
57
- readonly description: "The discount";
56
+ readonly type: readonly ['number', 'null'];
57
+ readonly description: 'The discount';
58
58
  readonly minimum: -9999999999;
59
59
  readonly maximum: 9999999999;
60
60
  };
61
61
  readonly index: {
62
- readonly type: readonly ["number", "null"];
63
- readonly description: "The index";
62
+ readonly type: readonly ['number', 'null'];
63
+ readonly description: 'The index';
64
64
  readonly minimum: -9999999999;
65
65
  readonly maximum: 9999999999;
66
66
  };
67
67
  readonly item_brand: {
68
- readonly type: readonly ["string", "null"];
69
- readonly description: "The item brand";
68
+ readonly type: readonly ['string', 'null'];
69
+ readonly description: 'The item brand';
70
70
  readonly maxLength: 255;
71
71
  };
72
72
  readonly item_category: {
73
- readonly type: readonly ["string", "null"];
74
- readonly description: "The item category";
73
+ readonly type: readonly ['string', 'null'];
74
+ readonly description: 'The item category';
75
75
  readonly maxLength: 255;
76
76
  };
77
77
  readonly item_category2: {
78
- readonly type: readonly ["string", "null"];
79
- readonly description: "The item category 2";
78
+ readonly type: readonly ['string', 'null'];
79
+ readonly description: 'The item category 2';
80
80
  readonly maxLength: 255;
81
81
  };
82
82
  readonly item_category3: {
83
- readonly type: readonly ["string", "null"];
84
- readonly description: "The item category 3";
83
+ readonly type: readonly ['string', 'null'];
84
+ readonly description: 'The item category 3';
85
85
  readonly maxLength: 255;
86
86
  };
87
87
  readonly item_category4: {
88
- readonly type: readonly ["string", "null"];
89
- readonly description: "The item category 4";
88
+ readonly type: readonly ['string', 'null'];
89
+ readonly description: 'The item category 4';
90
90
  readonly maxLength: 255;
91
91
  };
92
92
  readonly item_category5: {
93
- readonly type: readonly ["string", "null"];
94
- readonly description: "The item category 5";
93
+ readonly type: readonly ['string', 'null'];
94
+ readonly description: 'The item category 5';
95
95
  readonly maxLength: 255;
96
96
  };
97
97
  readonly item_list_id: {
98
- readonly type: readonly ["string", "null"];
99
- readonly description: "The item list ID";
98
+ readonly type: readonly ['string', 'null'];
99
+ readonly description: 'The item list ID';
100
100
  readonly maxLength: 255;
101
101
  };
102
102
  readonly item_list_name: {
103
- readonly type: readonly ["string", "null"];
104
- readonly description: "The item list";
103
+ readonly type: readonly ['string', 'null'];
104
+ readonly description: 'The item list';
105
105
  readonly maxLength: 255;
106
106
  };
107
107
  readonly item_variant: {
108
- readonly type: readonly ["string", "null"];
109
- readonly description: "The item variant";
108
+ readonly type: readonly ['string', 'null'];
109
+ readonly description: 'The item variant';
110
110
  readonly maxLength: 255;
111
111
  };
112
112
  readonly location_id: {
113
- readonly type: readonly ["string", "null"];
114
- readonly description: "The location ID";
113
+ readonly type: readonly ['string', 'null'];
114
+ readonly description: 'The location ID';
115
115
  readonly maxLength: 255;
116
116
  };
117
117
  readonly price: {
118
- readonly type: readonly ["number", "null"];
119
- readonly description: "The price";
118
+ readonly type: readonly ['number', 'null'];
119
+ readonly description: 'The price';
120
120
  readonly minimum: -9999999999;
121
121
  readonly maximum: 9999999999;
122
122
  };
123
123
  readonly promotion_id: {
124
- readonly type: readonly ["string", "null"];
125
- readonly description: "The promotion ID";
124
+ readonly type: readonly ['string', 'null'];
125
+ readonly description: 'The promotion ID';
126
126
  readonly maxLength: 255;
127
127
  };
128
128
  readonly promotion_name: {
129
- readonly type: readonly ["string", "null"];
130
- readonly description: "The promotion name";
129
+ readonly type: readonly ['string', 'null'];
130
+ readonly description: 'The promotion name';
131
131
  readonly maxLength: 255;
132
132
  };
133
133
  readonly quantity: {
134
- readonly type: readonly ["number", "null"];
135
- readonly description: "The quantity";
134
+ readonly type: readonly ['number', 'null'];
135
+ readonly description: 'The quantity';
136
136
  readonly minimum: -9999999999;
137
137
  readonly maximum: 9999999999;
138
138
  };
139
139
  readonly meta: {
140
- readonly description: "Additional metadata";
140
+ readonly description: 'Additional metadata';
141
141
  readonly additionalProperties: true;
142
- readonly type: readonly ["object", "null"];
142
+ readonly type: readonly ['object', 'null'];
143
143
  };
144
144
  };
145
145
  };
146
146
  };
147
147
  readonly meta: {
148
- readonly description: "Additional metadata";
148
+ readonly description: 'Additional metadata';
149
149
  readonly additionalProperties: true;
150
- readonly type: readonly ["object", "null"];
150
+ readonly type: readonly ['object', 'null'];
151
151
  };
152
152
  };
153
- readonly required: readonly ["items"];
153
+ readonly required: readonly ['items'];
154
154
  readonly self: {
155
- readonly vendor: "dev.pckd";
156
- readonly name: "product_list";
157
- readonly format: "jsonschema";
158
- readonly version: "2-0-0";
155
+ readonly vendor: 'dev.pckd';
156
+ readonly name: 'product_list';
157
+ readonly format: 'jsonschema';
158
+ readonly version: '2-0-0';
159
159
  };
160
- readonly type: "object";
160
+ readonly type: 'object';
161
161
  };
162
162
  export type Schema = FromSchema<typeof schema>;
163
163
  export type Version = typeof schema.self.version;
@@ -1 +1 @@
1
- {"version":3,"file":"2-0-0.d.ts","sourceRoot":"","sources":["../../../../src/schemas/product_list/2-0-0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAEnD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgKT,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":"2-0-0.d.ts","sourceRoot":"","sources":["../../../../src/schemas/product_list/2-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,2BAA2B;aACxC,aAAa,EAAE,CAAC;aAChB,UAAU;iBACR,KAAK;qBACH,WAAW,EAAE,+BAA+B;qBAC5C,IAAI,YAAG,QAAQ,EAAE,MAAM;qBACvB,SAAS,EAAE,GAAG;;iBAEhB,KAAK;qBACH,WAAW,EAAE,oBAAoB;qBACjC,IAAI,EAAE,OAAO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