@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.
- package/README.md +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/plugins/analytics/index.js +1 -1
- package/dist/esm/index.js +277 -2
- package/dist/esm/plugins/analytics/index.js +122 -127
- package/dist/types/events/app_close.d.ts +3 -3
- package/dist/types/events/app_close.d.ts.map +1 -1
- package/dist/types/events/app_load.d.ts +3 -3
- package/dist/types/events/app_load.d.ts.map +1 -1
- package/dist/types/events/app_open.d.ts +3 -3
- package/dist/types/events/app_open.d.ts.map +1 -1
- package/dist/types/events/cart_add.d.ts +3 -4
- package/dist/types/events/cart_add.d.ts.map +1 -1
- package/dist/types/events/cart_remove.d.ts +3 -4
- package/dist/types/events/cart_remove.d.ts.map +1 -1
- package/dist/types/events/checkout_complete.d.ts +3 -4
- package/dist/types/events/checkout_complete.d.ts.map +1 -1
- package/dist/types/events/checkout_start.d.ts +3 -4
- package/dist/types/events/checkout_start.d.ts.map +1 -1
- package/dist/types/events/experience_load.d.ts +3 -3
- package/dist/types/events/experience_load.d.ts.map +1 -1
- package/dist/types/events/field_validation_error.d.ts +3 -3
- package/dist/types/events/field_validation_error.d.ts.map +1 -1
- package/dist/types/events/form_submit.d.ts +3 -3
- package/dist/types/events/form_submit.d.ts.map +1 -1
- package/dist/types/events/form_submit_error.d.ts +3 -3
- package/dist/types/events/form_submit_error.d.ts.map +1 -1
- package/dist/types/events/form_submit_success.d.ts +3 -3
- package/dist/types/events/form_submit_success.d.ts.map +1 -1
- package/dist/types/events/index.d.ts +13 -20
- package/dist/types/events/index.d.ts.map +1 -1
- package/dist/types/events/interaction/back.d.ts +3 -3
- package/dist/types/events/interaction/back.d.ts.map +1 -1
- package/dist/types/events/interaction/backspace.d.ts +3 -3
- package/dist/types/events/interaction/backspace.d.ts.map +1 -1
- package/dist/types/events/interaction/click.d.ts +3 -3
- package/dist/types/events/interaction/click.d.ts.map +1 -1
- package/dist/types/events/interaction/copy.d.ts +3 -3
- package/dist/types/events/interaction/copy.d.ts.map +1 -1
- package/dist/types/events/interaction/drag.d.ts +3 -3
- package/dist/types/events/interaction/drag.d.ts.map +1 -1
- package/dist/types/events/interaction/forward.d.ts +3 -3
- package/dist/types/events/interaction/forward.d.ts.map +1 -1
- package/dist/types/events/interaction/mouse_shake.d.ts +3 -3
- package/dist/types/events/interaction/mouse_shake.d.ts.map +1 -1
- package/dist/types/events/interaction/offline.d.ts +3 -3
- package/dist/types/events/interaction/offline.d.ts.map +1 -1
- package/dist/types/events/interaction/online.d.ts +3 -3
- package/dist/types/events/interaction/online.d.ts.map +1 -1
- package/dist/types/events/interaction/page_hidden.d.ts +3 -3
- package/dist/types/events/interaction/page_hidden.d.ts.map +1 -1
- package/dist/types/events/interaction/page_hide.d.ts +3 -3
- package/dist/types/events/interaction/page_hide.d.ts.map +1 -1
- package/dist/types/events/interaction/page_show.d.ts +3 -3
- package/dist/types/events/interaction/page_show.d.ts.map +1 -1
- package/dist/types/events/interaction/page_visible.d.ts +3 -3
- package/dist/types/events/interaction/page_visible.d.ts.map +1 -1
- package/dist/types/events/interaction/paste.d.ts +3 -3
- package/dist/types/events/interaction/paste.d.ts.map +1 -1
- package/dist/types/events/interaction/rapid_click.d.ts +3 -3
- package/dist/types/events/interaction/rapid_click.d.ts.map +1 -1
- package/dist/types/events/interaction/rapid_scroll.d.ts +3 -3
- package/dist/types/events/interaction/rapid_scroll.d.ts.map +1 -1
- package/dist/types/events/interaction/resize.d.ts +3 -3
- package/dist/types/events/interaction/resize.d.ts.map +1 -1
- package/dist/types/events/interaction/right_click.d.ts +3 -3
- package/dist/types/events/interaction/right_click.d.ts.map +1 -1
- package/dist/types/events/interaction/scroll.d.ts +3 -3
- package/dist/types/events/interaction/scroll.d.ts.map +1 -1
- package/dist/types/events/interaction/unload.d.ts +3 -3
- package/dist/types/events/interaction/unload.d.ts.map +1 -1
- package/dist/types/events/interaction/video_pause.d.ts +3 -4
- package/dist/types/events/interaction/video_pause.d.ts.map +1 -1
- package/dist/types/events/interaction/video_play.d.ts +3 -4
- package/dist/types/events/interaction/video_play.d.ts.map +1 -1
- package/dist/types/events/lead_capture.d.ts +3 -3
- package/dist/types/events/lead_capture.d.ts.map +1 -1
- package/dist/types/events/modal_close.d.ts +3 -3
- package/dist/types/events/modal_close.d.ts.map +1 -1
- package/dist/types/events/modal_open.d.ts +3 -3
- package/dist/types/events/modal_open.d.ts.map +1 -1
- package/dist/types/events/page_view.d.ts +3 -4
- package/dist/types/events/page_view.d.ts.map +1 -1
- package/dist/types/events/product_list_view.d.ts +3 -4
- package/dist/types/events/product_list_view.d.ts.map +1 -1
- package/dist/types/events/product_select.d.ts +3 -3
- package/dist/types/events/product_select.d.ts.map +1 -1
- package/dist/types/events/product_view_details.d.ts +3 -4
- package/dist/types/events/product_view_details.d.ts.map +1 -1
- package/dist/types/events/recommendation_present.d.ts +3 -3
- package/dist/types/events/recommendation_present.d.ts.map +1 -1
- package/dist/types/events/search_results_list_view.d.ts +3 -3
- package/dist/types/events/search_results_list_view.d.ts.map +1 -1
- package/dist/types/events/step_complete.d.ts +3 -3
- package/dist/types/events/step_complete.d.ts.map +1 -1
- package/dist/types/events/step_enter.d.ts +3 -3
- package/dist/types/events/step_enter.d.ts.map +1 -1
- package/dist/types/events/step_submit.d.ts +3 -3
- package/dist/types/events/step_submit.d.ts.map +1 -1
- package/dist/types/events/step_submit_error.d.ts +3 -3
- package/dist/types/events/step_submit_error.d.ts.map +1 -1
- package/dist/types/events/step_submit_success.d.ts +3 -3
- package/dist/types/events/step_submit_success.d.ts.map +1 -1
- package/dist/types/events/wishlist_add.d.ts +3 -3
- package/dist/types/events/wishlist_add.d.ts.map +1 -1
- package/dist/types/fixtures/analytics-event.d.ts +16 -0
- package/dist/types/fixtures/analytics-event.d.ts.map +1 -0
- package/dist/types/helpers/element.d.ts +0 -26
- package/dist/types/helpers/element.d.ts.map +1 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/listeners/backspace.d.ts +1 -1
- package/dist/types/listeners/click.d.ts +1 -1
- package/dist/types/listeners/click.d.ts.map +1 -1
- package/dist/types/listeners/copy.d.ts +1 -1
- package/dist/types/listeners/drag.d.ts +1 -1
- package/dist/types/listeners/drag.d.ts.map +1 -1
- package/dist/types/listeners/mouse_shake.d.ts +1 -1
- package/dist/types/listeners/mouse_shake.d.ts.map +1 -1
- package/dist/types/listeners/offline.d.ts +1 -1
- package/dist/types/listeners/online.d.ts +1 -1
- package/dist/types/listeners/pagehide.d.ts +1 -1
- package/dist/types/listeners/pageshow.d.ts +1 -1
- package/dist/types/listeners/paste.d.ts +1 -1
- package/dist/types/listeners/rapid_click.d.ts +1 -1
- package/dist/types/listeners/rapid_click.d.ts.map +1 -1
- package/dist/types/listeners/rapid_scroll.d.ts +1 -1
- package/dist/types/listeners/rapid_scroll.d.ts.map +1 -1
- package/dist/types/listeners/resize.d.ts +1 -1
- package/dist/types/listeners/right_click.d.ts +1 -1
- package/dist/types/listeners/right_click.d.ts.map +1 -1
- package/dist/types/listeners/scroll.d.ts +1 -1
- package/dist/types/listeners/scroll.d.ts.map +1 -1
- package/dist/types/listeners/unload.d.ts +1 -1
- package/dist/types/listeners/video_pause.d.ts +1 -1
- package/dist/types/listeners/video_play.d.ts +1 -1
- package/dist/types/listeners/visibility.d.ts +1 -1
- package/dist/types/plugins/analytics/index.d.ts +0 -6
- package/dist/types/plugins/analytics/index.d.ts.map +1 -1
- package/dist/types/plugins/analytics/plugin.d.ts +5 -7
- package/dist/types/plugins/analytics/plugin.d.ts.map +1 -1
- package/dist/types/schemas/answer_list/1-0-0.d.ts +27 -27
- package/dist/types/schemas/answer_list/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/answer_list/index.d.ts +28 -28
- package/dist/types/schemas/answer_list/index.d.ts.map +1 -1
- package/dist/types/schemas/app/1-0-0.d.ts +15 -15
- package/dist/types/schemas/app/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/app/index.d.ts +18 -45
- package/dist/types/schemas/app/index.d.ts.map +1 -1
- package/dist/types/schemas/cvly_funnel/1-0-0.d.ts +13 -13
- package/dist/types/schemas/cvly_funnel/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/cvly_funnel/index.d.ts +14 -14
- package/dist/types/schemas/cvly_funnel/index.d.ts.map +1 -1
- package/dist/types/schemas/cvly_x/1-0-0.d.ts +19 -19
- package/dist/types/schemas/cvly_x/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/cvly_x/1-0-1.d.ts +19 -19
- package/dist/types/schemas/cvly_x/1-0-1.d.ts.map +1 -1
- package/dist/types/schemas/cvly_x/index.d.ts +38 -38
- package/dist/types/schemas/cvly_x/index.d.ts.map +1 -1
- package/dist/types/schemas/element/1-0-0.d.ts +19 -19
- package/dist/types/schemas/element/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/element/index.d.ts +20 -20
- package/dist/types/schemas/element/index.d.ts.map +1 -1
- package/dist/types/schemas/event/1-0-0.d.ts +13 -13
- package/dist/types/schemas/event/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/event/index.d.ts +14 -14
- package/dist/types/schemas/event/index.d.ts.map +1 -1
- package/dist/types/schemas/exception/1-0-0.d.ts +13 -13
- package/dist/types/schemas/exception/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/exception/index.d.ts +14 -14
- package/dist/types/schemas/exception/index.d.ts.map +1 -1
- package/dist/types/schemas/experience/1-0-0.d.ts +17 -17
- package/dist/types/schemas/experience/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/experience/index.d.ts +20 -56
- package/dist/types/schemas/experience/index.d.ts.map +1 -1
- package/dist/types/schemas/feature_list/1-0-0.d.ts +26 -26
- package/dist/types/schemas/feature_list/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/feature_list/2-0-0.d.ts +26 -26
- package/dist/types/schemas/feature_list/2-0-0.d.ts.map +1 -1
- package/dist/types/schemas/feature_list/index.d.ts +52 -52
- package/dist/types/schemas/feature_list/index.d.ts.map +1 -1
- package/dist/types/schemas/field_list/1-0-0.d.ts +37 -37
- package/dist/types/schemas/field_list/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/field_list/index.d.ts +38 -38
- package/dist/types/schemas/field_list/index.d.ts.map +1 -1
- package/dist/types/schemas/form/1-0-0.d.ts +15 -15
- package/dist/types/schemas/form/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/form/index.d.ts +16 -16
- package/dist/types/schemas/form/index.d.ts.map +1 -1
- package/dist/types/schemas/index.d.ts +0 -4
- package/dist/types/schemas/index.d.ts.map +1 -1
- package/dist/types/schemas/modal/1-0-0.d.ts +15 -15
- package/dist/types/schemas/modal/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/modal/index.d.ts +16 -16
- package/dist/types/schemas/modal/index.d.ts.map +1 -1
- package/dist/types/schemas/picked/1-0-0.d.ts +13 -13
- package/dist/types/schemas/picked/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/picked/index.d.ts +14 -14
- package/dist/types/schemas/picked/index.d.ts.map +1 -1
- package/dist/types/schemas/product_list/1-0-0.d.ts +34 -34
- package/dist/types/schemas/product_list/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/product_list/2-0-0.d.ts +65 -65
- package/dist/types/schemas/product_list/2-0-0.d.ts.map +1 -1
- package/dist/types/schemas/product_list/index.d.ts +101 -265
- package/dist/types/schemas/product_list/index.d.ts.map +1 -1
- package/dist/types/schemas/question_list/1-0-0.d.ts +37 -37
- package/dist/types/schemas/question_list/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/question_list/index.d.ts +38 -38
- package/dist/types/schemas/question_list/index.d.ts.map +1 -1
- package/dist/types/schemas/recommendation_list/1-0-0.d.ts +24 -24
- package/dist/types/schemas/recommendation_list/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/recommendation_list/index.d.ts +25 -25
- package/dist/types/schemas/recommendation_list/index.d.ts.map +1 -1
- package/dist/types/schemas/response_list/1-0-0.d.ts +27 -27
- package/dist/types/schemas/response_list/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/response_list/index.d.ts +28 -28
- package/dist/types/schemas/response_list/index.d.ts.map +1 -1
- package/dist/types/schemas/session/1-0-0.d.ts +13 -13
- package/dist/types/schemas/session/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/session/1-0-1.d.ts +14 -14
- package/dist/types/schemas/session/1-0-1.d.ts.map +1 -1
- package/dist/types/schemas/session/index.d.ts +29 -167
- package/dist/types/schemas/session/index.d.ts.map +1 -1
- package/dist/types/schemas/step/1-0-0.d.ts +15 -15
- package/dist/types/schemas/step/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/step/index.d.ts +18 -55
- package/dist/types/schemas/step/index.d.ts.map +1 -1
- package/dist/types/tracker.d.ts +2 -14
- package/dist/types/tracker.d.ts.map +1 -1
- package/dist/types/types.d.ts +29 -96
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/user-interaction.d.ts +2 -33
- package/dist/types/user-interaction.d.ts.map +1 -1
- package/dist/types/utils.d.ts +6 -217
- package/dist/types/utils.d.ts.map +1 -1
- package/dist/user-interaction-BTJxIHbv.cjs +1 -0
- package/dist/user-interaction-CZQT4H3Z.js +1131 -0
- package/package.json +25 -47
- package/dist/.tsbuildinfo +0 -1
- package/dist/src-Bg5baSBO.js +0 -1318
- package/dist/src-XGiRLTMI.cjs +0 -1
- package/dist/types/events/app_initialize.d.ts +0 -4
- package/dist/types/events/app_initialize.d.ts.map +0 -1
- package/dist/types/events/custom.d.ts +0 -29
- package/dist/types/events/custom.d.ts.map +0 -1
- package/dist/types/events/feature_decide.d.ts +0 -4
- package/dist/types/events/feature_decide.d.ts.map +0 -1
- package/dist/types/events/identify.d.ts +0 -5
- package/dist/types/events/identify.d.ts.map +0 -1
- package/dist/types/events/order_create.d.ts +0 -5
- package/dist/types/events/order_create.d.ts.map +0 -1
- package/dist/types/events/waitlist_join.d.ts +0 -4
- package/dist/types/events/waitlist_join.d.ts.map +0 -1
- package/dist/types/interaction-events.d.ts +0 -22
- package/dist/types/interaction-events.d.ts.map +0 -1
- package/dist/types/schemas/app/1-1-0.d.ts +0 -31
- package/dist/types/schemas/app/1-1-0.d.ts.map +0 -1
- package/dist/types/schemas/deployment/1-0-0.d.ts +0 -45
- package/dist/types/schemas/deployment/1-0-0.d.ts.map +0 -1
- package/dist/types/schemas/deployment/1-0-1.d.ts +0 -45
- package/dist/types/schemas/deployment/1-0-1.d.ts.map +0 -1
- package/dist/types/schemas/deployment/index.d.ts +0 -91
- package/dist/types/schemas/deployment/index.d.ts.map +0 -1
- package/dist/types/schemas/experience/1-0-1.d.ts +0 -40
- package/dist/types/schemas/experience/1-0-1.d.ts.map +0 -1
- package/dist/types/schemas/order/1-0-0.d.ts +0 -45
- package/dist/types/schemas/order/1-0-0.d.ts.map +0 -1
- package/dist/types/schemas/order/index.d.ts +0 -50
- package/dist/types/schemas/order/index.d.ts.map +0 -1
- package/dist/types/schemas/product_list/2-0-1.d.ts +0 -168
- package/dist/types/schemas/product_list/2-0-1.d.ts.map +0 -1
- package/dist/types/schemas/session/1-0-2.d.ts +0 -39
- package/dist/types/schemas/session/1-0-2.d.ts.map +0 -1
- package/dist/types/schemas/session/1-0-3.d.ts +0 -53
- package/dist/types/schemas/session/1-0-3.d.ts.map +0 -1
- package/dist/types/schemas/session/1-0-4.d.ts +0 -58
- package/dist/types/schemas/session/1-0-4.d.ts.map +0 -1
- package/dist/types/schemas/step/1-0-1.d.ts +0 -41
- package/dist/types/schemas/step/1-0-1.d.ts.map +0 -1
- package/dist/types/snowplow-plugins/url-scrub.d.ts +0 -84
- package/dist/types/snowplow-plugins/url-scrub.d.ts.map +0 -1
|
@@ -1,412 +1,248 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
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:
|
|
6
|
+
readonly $schema: "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#";
|
|
7
7
|
readonly additionalProperties: true;
|
|
8
|
-
readonly description:
|
|
8
|
+
readonly description: "Schema for a product list";
|
|
9
9
|
readonly minProperties: 1;
|
|
10
10
|
readonly properties: {
|
|
11
11
|
readonly items: {
|
|
12
|
-
readonly description:
|
|
13
|
-
readonly type:
|
|
12
|
+
readonly description: "A list of products";
|
|
13
|
+
readonly type: "array";
|
|
14
14
|
readonly items: {
|
|
15
|
-
readonly type:
|
|
16
|
-
readonly description:
|
|
15
|
+
readonly type: "object";
|
|
16
|
+
readonly description: "Products in the list";
|
|
17
17
|
readonly properties: {
|
|
18
18
|
readonly product_id: {
|
|
19
|
-
readonly description:
|
|
20
|
-
readonly type: readonly [
|
|
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:
|
|
25
|
-
readonly type: readonly [
|
|
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:
|
|
30
|
-
readonly type: readonly [
|
|
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:
|
|
35
|
-
readonly type: readonly [
|
|
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:
|
|
40
|
-
readonly type:
|
|
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:
|
|
45
|
-
readonly type: readonly [
|
|
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:
|
|
51
|
-
readonly type: readonly [
|
|
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:
|
|
56
|
-
readonly type: readonly [
|
|
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:
|
|
61
|
+
readonly description: "Additional metadata";
|
|
62
62
|
readonly additionalProperties: true;
|
|
63
|
-
readonly type: readonly [
|
|
63
|
+
readonly type: readonly ["object", "null"];
|
|
64
64
|
};
|
|
65
65
|
};
|
|
66
|
-
readonly required: readonly [
|
|
66
|
+
readonly required: readonly ["sku"];
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
69
|
readonly meta: {
|
|
70
|
-
readonly description:
|
|
70
|
+
readonly description: "Additional metadata";
|
|
71
71
|
readonly additionalProperties: true;
|
|
72
|
-
readonly type: readonly [
|
|
72
|
+
readonly type: readonly ["object", "null"];
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
|
-
readonly required: readonly [
|
|
75
|
+
readonly required: readonly ["items"];
|
|
76
76
|
readonly self: {
|
|
77
|
-
readonly vendor:
|
|
78
|
-
readonly name:
|
|
79
|
-
readonly format:
|
|
80
|
-
readonly version:
|
|
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:
|
|
82
|
+
readonly type: "object";
|
|
83
83
|
};
|
|
84
84
|
'2-0-0': {
|
|
85
|
-
readonly $schema:
|
|
85
|
+
readonly $schema: "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#";
|
|
86
86
|
readonly additionalProperties: true;
|
|
87
|
-
readonly description:
|
|
87
|
+
readonly description: "Schema for a product list";
|
|
88
88
|
readonly minProperties: 1;
|
|
89
89
|
readonly properties: {
|
|
90
90
|
readonly title: {
|
|
91
|
-
readonly description:
|
|
92
|
-
readonly type: readonly [
|
|
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:
|
|
97
|
-
readonly type:
|
|
96
|
+
readonly description: "A list of products";
|
|
97
|
+
readonly type: "array";
|
|
98
98
|
readonly items: {
|
|
99
|
-
readonly type:
|
|
100
|
-
readonly description:
|
|
99
|
+
readonly type: "object";
|
|
100
|
+
readonly description: "Products in the list";
|
|
101
101
|
readonly properties: {
|
|
102
102
|
readonly item_id: {
|
|
103
|
-
readonly type: readonly [
|
|
104
|
-
readonly description:
|
|
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 [
|
|
109
|
-
readonly description:
|
|
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 [
|
|
114
|
-
readonly description:
|
|
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 [
|
|
119
|
-
readonly description:
|
|
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 [
|
|
124
|
-
readonly description:
|
|
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 [
|
|
129
|
-
readonly description:
|
|
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 [
|
|
134
|
-
readonly description:
|
|
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 [
|
|
139
|
-
readonly description:
|
|
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 [
|
|
145
|
-
readonly description:
|
|
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 [
|
|
151
|
-
readonly description:
|
|
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 [
|
|
156
|
-
readonly description:
|
|
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 [
|
|
161
|
-
readonly description:
|
|
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 [
|
|
166
|
-
readonly description:
|
|
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 [
|
|
171
|
-
readonly description:
|
|
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 [
|
|
176
|
-
readonly description:
|
|
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 [
|
|
181
|
-
readonly description:
|
|
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 [
|
|
186
|
-
readonly description:
|
|
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 [
|
|
191
|
-
readonly description:
|
|
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 [
|
|
196
|
-
readonly description:
|
|
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 [
|
|
201
|
-
readonly description:
|
|
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 [
|
|
207
|
-
readonly description:
|
|
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 [
|
|
212
|
-
readonly description:
|
|
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 [
|
|
217
|
-
readonly description:
|
|
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:
|
|
222
|
+
readonly description: "Additional metadata";
|
|
223
223
|
readonly additionalProperties: true;
|
|
224
|
-
readonly type: readonly [
|
|
224
|
+
readonly type: readonly ["object", "null"];
|
|
225
225
|
};
|
|
226
226
|
};
|
|
227
227
|
};
|
|
228
228
|
};
|
|
229
229
|
readonly meta: {
|
|
230
|
-
readonly description:
|
|
230
|
+
readonly description: "Additional metadata";
|
|
231
231
|
readonly additionalProperties: true;
|
|
232
|
-
readonly type: readonly [
|
|
232
|
+
readonly type: readonly ["object", "null"];
|
|
233
233
|
};
|
|
234
234
|
};
|
|
235
|
-
readonly required: readonly [
|
|
235
|
+
readonly required: readonly ["items"];
|
|
236
236
|
readonly self: {
|
|
237
|
-
readonly vendor:
|
|
238
|
-
readonly name:
|
|
239
|
-
readonly format:
|
|
240
|
-
readonly version:
|
|
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:
|
|
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 =
|
|
410
|
-
export type CurrentVersion =
|
|
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,
|
|
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"}
|