@picked/analytics 0.0.70 → 0.0.71-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.tsbuildinfo +1 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/plugins/analytics/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/plugins/analytics/index.js +1 -1
- package/dist/{src-DCcxqQag.js → src-R1PKYjf1.js} +10 -9
- package/dist/src-UWMblyJI.cjs +1 -0
- package/dist/types/events/app_close.d.ts +3 -3
- package/dist/types/events/app_initialize.d.ts +3 -3
- package/dist/types/events/app_load.d.ts +3 -3
- package/dist/types/events/app_open.d.ts +3 -3
- package/dist/types/events/cart_add.d.ts +4 -4
- package/dist/types/events/cart_remove.d.ts +4 -4
- package/dist/types/events/checkout_complete.d.ts +4 -4
- package/dist/types/events/checkout_start.d.ts +4 -4
- package/dist/types/events/custom.d.ts +2 -2
- package/dist/types/events/experience_load.d.ts +3 -3
- package/dist/types/events/feature_decide.d.ts +3 -3
- package/dist/types/events/field_validation_error.d.ts +3 -3
- package/dist/types/events/form_submit.d.ts +3 -3
- package/dist/types/events/form_submit_error.d.ts +3 -3
- package/dist/types/events/form_submit_success.d.ts +3 -3
- package/dist/types/events/identify.d.ts +4 -4
- package/dist/types/events/interaction/back.d.ts +3 -3
- package/dist/types/events/interaction/backspace.d.ts +3 -3
- package/dist/types/events/interaction/click.d.ts +3 -3
- package/dist/types/events/interaction/copy.d.ts +3 -3
- package/dist/types/events/interaction/drag.d.ts +3 -3
- package/dist/types/events/interaction/forward.d.ts +3 -3
- package/dist/types/events/interaction/mouse_shake.d.ts +3 -3
- package/dist/types/events/interaction/offline.d.ts +3 -3
- package/dist/types/events/interaction/online.d.ts +3 -3
- package/dist/types/events/interaction/page_hidden.d.ts +3 -3
- package/dist/types/events/interaction/page_hide.d.ts +3 -3
- package/dist/types/events/interaction/page_show.d.ts +3 -3
- package/dist/types/events/interaction/page_visible.d.ts +3 -3
- package/dist/types/events/interaction/paste.d.ts +3 -3
- package/dist/types/events/interaction/rapid_click.d.ts +3 -3
- package/dist/types/events/interaction/rapid_scroll.d.ts +3 -3
- package/dist/types/events/interaction/resize.d.ts +3 -3
- package/dist/types/events/interaction/right_click.d.ts +3 -3
- package/dist/types/events/interaction/scroll.d.ts +3 -3
- package/dist/types/events/interaction/unload.d.ts +3 -3
- package/dist/types/events/interaction/video_pause.d.ts +4 -3
- package/dist/types/events/interaction/video_play.d.ts +4 -3
- package/dist/types/events/lead_capture.d.ts +3 -3
- package/dist/types/events/modal_close.d.ts +3 -3
- package/dist/types/events/modal_open.d.ts +3 -3
- package/dist/types/events/order_create.d.ts +4 -4
- package/dist/types/events/page_view.d.ts +4 -4
- package/dist/types/events/product_list_view.d.ts +4 -4
- package/dist/types/events/product_select.d.ts +3 -3
- package/dist/types/events/product_view_details.d.ts +4 -4
- package/dist/types/events/recommendation_present.d.ts +3 -3
- package/dist/types/events/search_results_list_view.d.ts +3 -3
- package/dist/types/events/step_complete.d.ts +3 -3
- package/dist/types/events/step_enter.d.ts +3 -3
- package/dist/types/events/step_submit.d.ts +3 -3
- package/dist/types/events/step_submit_error.d.ts +3 -3
- package/dist/types/events/step_submit_success.d.ts +3 -3
- package/dist/types/events/waitlist_join.d.ts +3 -3
- package/dist/types/events/wishlist_add.d.ts +3 -3
- package/dist/types/fixtures/analytics-event.d.ts.map +1 -1
- package/dist/types/interaction-events.d.ts +5 -1
- package/dist/types/listeners/backspace.d.ts +1 -1
- package/dist/types/listeners/click.d.ts +1 -1
- package/dist/types/listeners/copy.d.ts +1 -1
- package/dist/types/listeners/drag.d.ts +1 -1
- package/dist/types/listeners/mouse_shake.d.ts +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_scroll.d.ts +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/scroll.d.ts +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/plugin.d.ts +4 -3
- 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/1-1-0.d.ts +14 -13
- package/dist/types/schemas/app/1-1-0.d.ts.map +1 -1
- package/dist/types/schemas/app/index.d.ts +29 -28
- 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/deployment/1-0-0.d.ts +19 -19
- package/dist/types/schemas/deployment/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/deployment/1-0-1.d.ts +19 -19
- package/dist/types/schemas/deployment/1-0-1.d.ts.map +1 -1
- package/dist/types/schemas/deployment/index.d.ts +38 -38
- package/dist/types/schemas/deployment/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/1-0-1.d.ts +17 -17
- package/dist/types/schemas/experience/1-0-1.d.ts.map +1 -1
- package/dist/types/schemas/experience/index.d.ts +34 -34
- 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/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/order/1-0-0.d.ts +19 -19
- package/dist/types/schemas/order/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/order/index.d.ts +20 -20
- package/dist/types/schemas/order/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/2-0-1.d.ts +67 -67
- package/dist/types/schemas/product_list/2-0-1.d.ts.map +1 -1
- package/dist/types/schemas/product_list/index.d.ts +165 -165
- 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/1-0-2.d.ts +16 -16
- package/dist/types/schemas/session/1-0-2.d.ts.map +1 -1
- package/dist/types/schemas/session/1-0-3.d.ts +22 -22
- package/dist/types/schemas/session/1-0-3.d.ts.map +1 -1
- package/dist/types/schemas/session/1-0-4.d.ts +24 -24
- package/dist/types/schemas/session/1-0-4.d.ts.map +1 -1
- package/dist/types/schemas/session/index.d.ts +86 -86
- 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/1-0-1.d.ts +18 -17
- package/dist/types/schemas/step/1-0-1.d.ts.map +1 -1
- package/dist/types/schemas/step/index.d.ts +33 -32
- package/dist/types/schemas/step/index.d.ts.map +1 -1
- package/dist/types/tracker.d.ts +2 -2
- package/dist/types/types.d.ts +4 -3
- package/dist/types/user-interaction.d.ts +6 -2
- package/dist/types/utils.d.ts +2 -2
- package/dist/types/utils.d.ts.map +1 -1
- package/package.json +23 -24
- 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:
|
|
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 Picked SDK';
|
|
9
9
|
readonly minProperties: 1;
|
|
10
10
|
readonly properties: {
|
|
11
11
|
readonly sdk_version: {
|
|
12
|
-
readonly description:
|
|
13
|
-
readonly type:
|
|
12
|
+
readonly description: 'The SDK version';
|
|
13
|
+
readonly type: 'string';
|
|
14
14
|
readonly maxLength: 255;
|
|
15
15
|
};
|
|
16
16
|
readonly meta: {
|
|
17
|
-
readonly description:
|
|
17
|
+
readonly description: 'Additional metadata';
|
|
18
18
|
readonly additionalProperties: true;
|
|
19
|
-
readonly type: readonly [
|
|
19
|
+
readonly type: readonly ['object', 'null'];
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
readonly required: readonly [
|
|
22
|
+
readonly required: readonly ['sdk_version'];
|
|
23
23
|
readonly self: {
|
|
24
|
-
readonly vendor:
|
|
25
|
-
readonly name:
|
|
26
|
-
readonly format:
|
|
27
|
-
readonly version:
|
|
24
|
+
readonly vendor: 'dev.pckd';
|
|
25
|
+
readonly name: 'picked';
|
|
26
|
+
readonly format: 'jsonschema';
|
|
27
|
+
readonly version: '1-0-0';
|
|
28
28
|
};
|
|
29
|
-
readonly type:
|
|
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
|
|
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:
|
|
3
|
+
readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
|
|
4
4
|
readonly additionalProperties: true;
|
|
5
|
-
readonly description:
|
|
5
|
+
readonly description: 'Schema for a product list';
|
|
6
6
|
readonly minProperties: 1;
|
|
7
7
|
readonly properties: {
|
|
8
8
|
readonly items: {
|
|
9
|
-
readonly description:
|
|
10
|
-
readonly type:
|
|
9
|
+
readonly description: 'A list of products';
|
|
10
|
+
readonly type: 'array';
|
|
11
11
|
readonly items: {
|
|
12
|
-
readonly type:
|
|
13
|
-
readonly description:
|
|
12
|
+
readonly type: 'object';
|
|
13
|
+
readonly description: 'Products in the list';
|
|
14
14
|
readonly properties: {
|
|
15
15
|
readonly product_id: {
|
|
16
|
-
readonly description:
|
|
17
|
-
readonly type: readonly [
|
|
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:
|
|
22
|
-
readonly type: readonly [
|
|
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:
|
|
27
|
-
readonly type: readonly [
|
|
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:
|
|
32
|
-
readonly type: readonly [
|
|
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:
|
|
37
|
-
readonly type:
|
|
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:
|
|
42
|
-
readonly type: readonly [
|
|
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:
|
|
48
|
-
readonly type: readonly [
|
|
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:
|
|
53
|
-
readonly type: readonly [
|
|
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:
|
|
58
|
+
readonly description: 'Additional metadata';
|
|
59
59
|
readonly additionalProperties: true;
|
|
60
|
-
readonly type: readonly [
|
|
60
|
+
readonly type: readonly ['object', 'null'];
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
|
-
readonly required: readonly [
|
|
63
|
+
readonly required: readonly ['sku'];
|
|
64
64
|
};
|
|
65
65
|
};
|
|
66
66
|
readonly meta: {
|
|
67
|
-
readonly description:
|
|
67
|
+
readonly description: 'Additional metadata';
|
|
68
68
|
readonly additionalProperties: true;
|
|
69
|
-
readonly type: readonly [
|
|
69
|
+
readonly type: readonly ['object', 'null'];
|
|
70
70
|
};
|
|
71
71
|
};
|
|
72
|
-
readonly required: readonly [
|
|
72
|
+
readonly required: readonly ['items'];
|
|
73
73
|
readonly self: {
|
|
74
|
-
readonly vendor:
|
|
75
|
-
readonly name:
|
|
76
|
-
readonly format:
|
|
77
|
-
readonly version:
|
|
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:
|
|
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
|
|
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,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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:
|
|
3
|
+
readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
|
|
4
4
|
readonly additionalProperties: true;
|
|
5
|
-
readonly description:
|
|
5
|
+
readonly description: 'Schema for a product list';
|
|
6
6
|
readonly minProperties: 1;
|
|
7
7
|
readonly properties: {
|
|
8
8
|
readonly title: {
|
|
9
|
-
readonly description:
|
|
10
|
-
readonly type: readonly [
|
|
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:
|
|
15
|
-
readonly type:
|
|
14
|
+
readonly description: 'A list of products';
|
|
15
|
+
readonly type: 'array';
|
|
16
16
|
readonly items: {
|
|
17
|
-
readonly type:
|
|
18
|
-
readonly description:
|
|
17
|
+
readonly type: 'object';
|
|
18
|
+
readonly description: 'Products in the list';
|
|
19
19
|
readonly properties: {
|
|
20
20
|
readonly item_id: {
|
|
21
|
-
readonly type: readonly [
|
|
22
|
-
readonly description:
|
|
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 [
|
|
27
|
-
readonly description:
|
|
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 [
|
|
32
|
-
readonly description:
|
|
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 [
|
|
37
|
-
readonly description:
|
|
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 [
|
|
42
|
-
readonly description:
|
|
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 [
|
|
47
|
-
readonly description:
|
|
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 [
|
|
52
|
-
readonly description:
|
|
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 [
|
|
57
|
-
readonly description:
|
|
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 [
|
|
63
|
-
readonly description:
|
|
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 [
|
|
69
|
-
readonly description:
|
|
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 [
|
|
74
|
-
readonly description:
|
|
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 [
|
|
79
|
-
readonly description:
|
|
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 [
|
|
84
|
-
readonly description:
|
|
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 [
|
|
89
|
-
readonly description:
|
|
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 [
|
|
94
|
-
readonly description:
|
|
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 [
|
|
99
|
-
readonly description:
|
|
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 [
|
|
104
|
-
readonly description:
|
|
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 [
|
|
109
|
-
readonly description:
|
|
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 [
|
|
114
|
-
readonly description:
|
|
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 [
|
|
119
|
-
readonly description:
|
|
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 [
|
|
125
|
-
readonly description:
|
|
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 [
|
|
130
|
-
readonly description:
|
|
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 [
|
|
135
|
-
readonly description:
|
|
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:
|
|
140
|
+
readonly description: 'Additional metadata';
|
|
141
141
|
readonly additionalProperties: true;
|
|
142
|
-
readonly type: readonly [
|
|
142
|
+
readonly type: readonly ['object', 'null'];
|
|
143
143
|
};
|
|
144
144
|
};
|
|
145
145
|
};
|
|
146
146
|
};
|
|
147
147
|
readonly meta: {
|
|
148
|
-
readonly description:
|
|
148
|
+
readonly description: 'Additional metadata';
|
|
149
149
|
readonly additionalProperties: true;
|
|
150
|
-
readonly type: readonly [
|
|
150
|
+
readonly type: readonly ['object', 'null'];
|
|
151
151
|
};
|
|
152
152
|
};
|
|
153
|
-
readonly required: readonly [
|
|
153
|
+
readonly required: readonly ['items'];
|
|
154
154
|
readonly self: {
|
|
155
|
-
readonly vendor:
|
|
156
|
-
readonly name:
|
|
157
|
-
readonly format:
|
|
158
|
-
readonly version:
|
|
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:
|
|
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"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