@ecomiq/core 0.1.1 → 0.1.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/dist/client.cjs +10 -0
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +4 -2
- package/dist/client.d.ts +4 -2
- package/dist/client.js +10 -0
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +11 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +328 -324
- package/dist/index.d.ts +328 -324
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/models/collections.d.cts +4 -4
- package/dist/models/collections.d.ts +4 -4
- package/dist/models/geo.d.cts +14 -14
- package/dist/models/geo.d.ts +14 -14
- package/dist/models/products.d.cts +130 -130
- package/dist/models/products.d.ts +130 -130
- package/dist/models/search.d.cts +4 -4
- package/dist/models/search.d.ts +4 -4
- package/dist/models/settings.d.cts +514 -514
- package/dist/models/settings.d.ts +514 -514
- package/dist/models/storefront-cart.d.cts +80 -80
- package/dist/models/storefront-cart.d.ts +80 -80
- package/dist/models/storefront-checkout.d.cts +400 -400
- package/dist/models/storefront-checkout.d.ts +400 -400
- package/dist/models/storefront-reviews.d.cts +8 -8
- package/dist/models/storefront-reviews.d.ts +8 -8
- package/package.json +7 -8
|
@@ -10,17 +10,17 @@ declare const CollectionSchema: z.ZodObject<{
|
|
|
10
10
|
productCount: z.ZodOptional<z.ZodNumber>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
type: string;
|
|
13
|
-
name: string;
|
|
14
13
|
id: number;
|
|
15
14
|
slug: string;
|
|
15
|
+
name: string;
|
|
16
16
|
description?: string | null | undefined;
|
|
17
17
|
imageUrl?: string | null | undefined;
|
|
18
18
|
productCount?: number | undefined;
|
|
19
19
|
}, {
|
|
20
20
|
type: string;
|
|
21
|
-
name: string;
|
|
22
21
|
id: number;
|
|
23
22
|
slug: string;
|
|
23
|
+
name: string;
|
|
24
24
|
description?: string | null | undefined;
|
|
25
25
|
imageUrl?: string | null | undefined;
|
|
26
26
|
productCount?: number | undefined;
|
|
@@ -35,17 +35,17 @@ declare const CollectionsSchema: z.ZodArray<z.ZodObject<{
|
|
|
35
35
|
productCount: z.ZodOptional<z.ZodNumber>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
37
|
type: string;
|
|
38
|
-
name: string;
|
|
39
38
|
id: number;
|
|
40
39
|
slug: string;
|
|
40
|
+
name: string;
|
|
41
41
|
description?: string | null | undefined;
|
|
42
42
|
imageUrl?: string | null | undefined;
|
|
43
43
|
productCount?: number | undefined;
|
|
44
44
|
}, {
|
|
45
45
|
type: string;
|
|
46
|
-
name: string;
|
|
47
46
|
id: number;
|
|
48
47
|
slug: string;
|
|
48
|
+
name: string;
|
|
49
49
|
description?: string | null | undefined;
|
|
50
50
|
imageUrl?: string | null | undefined;
|
|
51
51
|
productCount?: number | undefined;
|
|
@@ -10,17 +10,17 @@ declare const CollectionSchema: z.ZodObject<{
|
|
|
10
10
|
productCount: z.ZodOptional<z.ZodNumber>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
type: string;
|
|
13
|
-
name: string;
|
|
14
13
|
id: number;
|
|
15
14
|
slug: string;
|
|
15
|
+
name: string;
|
|
16
16
|
description?: string | null | undefined;
|
|
17
17
|
imageUrl?: string | null | undefined;
|
|
18
18
|
productCount?: number | undefined;
|
|
19
19
|
}, {
|
|
20
20
|
type: string;
|
|
21
|
-
name: string;
|
|
22
21
|
id: number;
|
|
23
22
|
slug: string;
|
|
23
|
+
name: string;
|
|
24
24
|
description?: string | null | undefined;
|
|
25
25
|
imageUrl?: string | null | undefined;
|
|
26
26
|
productCount?: number | undefined;
|
|
@@ -35,17 +35,17 @@ declare const CollectionsSchema: z.ZodArray<z.ZodObject<{
|
|
|
35
35
|
productCount: z.ZodOptional<z.ZodNumber>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
37
|
type: string;
|
|
38
|
-
name: string;
|
|
39
38
|
id: number;
|
|
40
39
|
slug: string;
|
|
40
|
+
name: string;
|
|
41
41
|
description?: string | null | undefined;
|
|
42
42
|
imageUrl?: string | null | undefined;
|
|
43
43
|
productCount?: number | undefined;
|
|
44
44
|
}, {
|
|
45
45
|
type: string;
|
|
46
|
-
name: string;
|
|
47
46
|
id: number;
|
|
48
47
|
slug: string;
|
|
48
|
+
name: string;
|
|
49
49
|
description?: string | null | undefined;
|
|
50
50
|
imageUrl?: string | null | undefined;
|
|
51
51
|
productCount?: number | undefined;
|
package/dist/models/geo.d.cts
CHANGED
|
@@ -38,16 +38,16 @@ declare const GeoDivisionSchema: z.ZodObject<{
|
|
|
38
38
|
}, "strict", z.ZodTypeAny, {
|
|
39
39
|
code: string;
|
|
40
40
|
type: "level1" | "level2" | "level3";
|
|
41
|
-
name: string;
|
|
42
41
|
id: string;
|
|
42
|
+
name: string;
|
|
43
43
|
countryCode: string;
|
|
44
44
|
parentId: string | null;
|
|
45
45
|
source: string;
|
|
46
46
|
}, {
|
|
47
47
|
code: string;
|
|
48
48
|
type: "level1" | "level2" | "level3";
|
|
49
|
-
name: string;
|
|
50
49
|
id: string;
|
|
50
|
+
name: string;
|
|
51
51
|
countryCode: string;
|
|
52
52
|
parentId: string | null;
|
|
53
53
|
source: string;
|
|
@@ -65,16 +65,16 @@ declare const DepartmentSchema: z.ZodObject<{
|
|
|
65
65
|
}, "strict", z.ZodTypeAny, {
|
|
66
66
|
code: string;
|
|
67
67
|
type: "level1" | "level2" | "level3";
|
|
68
|
-
name: string;
|
|
69
68
|
id: string;
|
|
69
|
+
name: string;
|
|
70
70
|
countryCode: string;
|
|
71
71
|
parentId: string | null;
|
|
72
72
|
source: string;
|
|
73
73
|
}, {
|
|
74
74
|
code: string;
|
|
75
75
|
type: "level1" | "level2" | "level3";
|
|
76
|
-
name: string;
|
|
77
76
|
id: string;
|
|
77
|
+
name: string;
|
|
78
78
|
countryCode: string;
|
|
79
79
|
parentId: string | null;
|
|
80
80
|
source: string;
|
|
@@ -91,16 +91,16 @@ declare const DepartmentsSchema: z.ZodArray<z.ZodObject<{
|
|
|
91
91
|
}, "strict", z.ZodTypeAny, {
|
|
92
92
|
code: string;
|
|
93
93
|
type: "level1" | "level2" | "level3";
|
|
94
|
-
name: string;
|
|
95
94
|
id: string;
|
|
95
|
+
name: string;
|
|
96
96
|
countryCode: string;
|
|
97
97
|
parentId: string | null;
|
|
98
98
|
source: string;
|
|
99
99
|
}, {
|
|
100
100
|
code: string;
|
|
101
101
|
type: "level1" | "level2" | "level3";
|
|
102
|
-
name: string;
|
|
103
102
|
id: string;
|
|
103
|
+
name: string;
|
|
104
104
|
countryCode: string;
|
|
105
105
|
parentId: string | null;
|
|
106
106
|
source: string;
|
|
@@ -137,16 +137,16 @@ declare const ProvinceSchema: z.ZodObject<{
|
|
|
137
137
|
}, "strict", z.ZodTypeAny, {
|
|
138
138
|
code: string;
|
|
139
139
|
type: "level1" | "level2" | "level3";
|
|
140
|
-
name: string;
|
|
141
140
|
id: string;
|
|
141
|
+
name: string;
|
|
142
142
|
countryCode: string;
|
|
143
143
|
parentId: string | null;
|
|
144
144
|
source: string;
|
|
145
145
|
}, {
|
|
146
146
|
code: string;
|
|
147
147
|
type: "level1" | "level2" | "level3";
|
|
148
|
-
name: string;
|
|
149
148
|
id: string;
|
|
149
|
+
name: string;
|
|
150
150
|
countryCode: string;
|
|
151
151
|
parentId: string | null;
|
|
152
152
|
source: string;
|
|
@@ -163,16 +163,16 @@ declare const ProvincesSchema: z.ZodArray<z.ZodObject<{
|
|
|
163
163
|
}, "strict", z.ZodTypeAny, {
|
|
164
164
|
code: string;
|
|
165
165
|
type: "level1" | "level2" | "level3";
|
|
166
|
-
name: string;
|
|
167
166
|
id: string;
|
|
167
|
+
name: string;
|
|
168
168
|
countryCode: string;
|
|
169
169
|
parentId: string | null;
|
|
170
170
|
source: string;
|
|
171
171
|
}, {
|
|
172
172
|
code: string;
|
|
173
173
|
type: "level1" | "level2" | "level3";
|
|
174
|
-
name: string;
|
|
175
174
|
id: string;
|
|
175
|
+
name: string;
|
|
176
176
|
countryCode: string;
|
|
177
177
|
parentId: string | null;
|
|
178
178
|
source: string;
|
|
@@ -212,16 +212,16 @@ declare const DistrictSchema: z.ZodObject<{
|
|
|
212
212
|
}, "strict", z.ZodTypeAny, {
|
|
213
213
|
code: string;
|
|
214
214
|
type: "level1" | "level2" | "level3";
|
|
215
|
-
name: string;
|
|
216
215
|
id: string;
|
|
216
|
+
name: string;
|
|
217
217
|
countryCode: string;
|
|
218
218
|
parentId: string | null;
|
|
219
219
|
source: string;
|
|
220
220
|
}, {
|
|
221
221
|
code: string;
|
|
222
222
|
type: "level1" | "level2" | "level3";
|
|
223
|
-
name: string;
|
|
224
223
|
id: string;
|
|
224
|
+
name: string;
|
|
225
225
|
countryCode: string;
|
|
226
226
|
parentId: string | null;
|
|
227
227
|
source: string;
|
|
@@ -238,16 +238,16 @@ declare const DistrictsSchema: z.ZodArray<z.ZodObject<{
|
|
|
238
238
|
}, "strict", z.ZodTypeAny, {
|
|
239
239
|
code: string;
|
|
240
240
|
type: "level1" | "level2" | "level3";
|
|
241
|
-
name: string;
|
|
242
241
|
id: string;
|
|
242
|
+
name: string;
|
|
243
243
|
countryCode: string;
|
|
244
244
|
parentId: string | null;
|
|
245
245
|
source: string;
|
|
246
246
|
}, {
|
|
247
247
|
code: string;
|
|
248
248
|
type: "level1" | "level2" | "level3";
|
|
249
|
-
name: string;
|
|
250
249
|
id: string;
|
|
250
|
+
name: string;
|
|
251
251
|
countryCode: string;
|
|
252
252
|
parentId: string | null;
|
|
253
253
|
source: string;
|
package/dist/models/geo.d.ts
CHANGED
|
@@ -38,16 +38,16 @@ declare const GeoDivisionSchema: z.ZodObject<{
|
|
|
38
38
|
}, "strict", z.ZodTypeAny, {
|
|
39
39
|
code: string;
|
|
40
40
|
type: "level1" | "level2" | "level3";
|
|
41
|
-
name: string;
|
|
42
41
|
id: string;
|
|
42
|
+
name: string;
|
|
43
43
|
countryCode: string;
|
|
44
44
|
parentId: string | null;
|
|
45
45
|
source: string;
|
|
46
46
|
}, {
|
|
47
47
|
code: string;
|
|
48
48
|
type: "level1" | "level2" | "level3";
|
|
49
|
-
name: string;
|
|
50
49
|
id: string;
|
|
50
|
+
name: string;
|
|
51
51
|
countryCode: string;
|
|
52
52
|
parentId: string | null;
|
|
53
53
|
source: string;
|
|
@@ -65,16 +65,16 @@ declare const DepartmentSchema: z.ZodObject<{
|
|
|
65
65
|
}, "strict", z.ZodTypeAny, {
|
|
66
66
|
code: string;
|
|
67
67
|
type: "level1" | "level2" | "level3";
|
|
68
|
-
name: string;
|
|
69
68
|
id: string;
|
|
69
|
+
name: string;
|
|
70
70
|
countryCode: string;
|
|
71
71
|
parentId: string | null;
|
|
72
72
|
source: string;
|
|
73
73
|
}, {
|
|
74
74
|
code: string;
|
|
75
75
|
type: "level1" | "level2" | "level3";
|
|
76
|
-
name: string;
|
|
77
76
|
id: string;
|
|
77
|
+
name: string;
|
|
78
78
|
countryCode: string;
|
|
79
79
|
parentId: string | null;
|
|
80
80
|
source: string;
|
|
@@ -91,16 +91,16 @@ declare const DepartmentsSchema: z.ZodArray<z.ZodObject<{
|
|
|
91
91
|
}, "strict", z.ZodTypeAny, {
|
|
92
92
|
code: string;
|
|
93
93
|
type: "level1" | "level2" | "level3";
|
|
94
|
-
name: string;
|
|
95
94
|
id: string;
|
|
95
|
+
name: string;
|
|
96
96
|
countryCode: string;
|
|
97
97
|
parentId: string | null;
|
|
98
98
|
source: string;
|
|
99
99
|
}, {
|
|
100
100
|
code: string;
|
|
101
101
|
type: "level1" | "level2" | "level3";
|
|
102
|
-
name: string;
|
|
103
102
|
id: string;
|
|
103
|
+
name: string;
|
|
104
104
|
countryCode: string;
|
|
105
105
|
parentId: string | null;
|
|
106
106
|
source: string;
|
|
@@ -137,16 +137,16 @@ declare const ProvinceSchema: z.ZodObject<{
|
|
|
137
137
|
}, "strict", z.ZodTypeAny, {
|
|
138
138
|
code: string;
|
|
139
139
|
type: "level1" | "level2" | "level3";
|
|
140
|
-
name: string;
|
|
141
140
|
id: string;
|
|
141
|
+
name: string;
|
|
142
142
|
countryCode: string;
|
|
143
143
|
parentId: string | null;
|
|
144
144
|
source: string;
|
|
145
145
|
}, {
|
|
146
146
|
code: string;
|
|
147
147
|
type: "level1" | "level2" | "level3";
|
|
148
|
-
name: string;
|
|
149
148
|
id: string;
|
|
149
|
+
name: string;
|
|
150
150
|
countryCode: string;
|
|
151
151
|
parentId: string | null;
|
|
152
152
|
source: string;
|
|
@@ -163,16 +163,16 @@ declare const ProvincesSchema: z.ZodArray<z.ZodObject<{
|
|
|
163
163
|
}, "strict", z.ZodTypeAny, {
|
|
164
164
|
code: string;
|
|
165
165
|
type: "level1" | "level2" | "level3";
|
|
166
|
-
name: string;
|
|
167
166
|
id: string;
|
|
167
|
+
name: string;
|
|
168
168
|
countryCode: string;
|
|
169
169
|
parentId: string | null;
|
|
170
170
|
source: string;
|
|
171
171
|
}, {
|
|
172
172
|
code: string;
|
|
173
173
|
type: "level1" | "level2" | "level3";
|
|
174
|
-
name: string;
|
|
175
174
|
id: string;
|
|
175
|
+
name: string;
|
|
176
176
|
countryCode: string;
|
|
177
177
|
parentId: string | null;
|
|
178
178
|
source: string;
|
|
@@ -212,16 +212,16 @@ declare const DistrictSchema: z.ZodObject<{
|
|
|
212
212
|
}, "strict", z.ZodTypeAny, {
|
|
213
213
|
code: string;
|
|
214
214
|
type: "level1" | "level2" | "level3";
|
|
215
|
-
name: string;
|
|
216
215
|
id: string;
|
|
216
|
+
name: string;
|
|
217
217
|
countryCode: string;
|
|
218
218
|
parentId: string | null;
|
|
219
219
|
source: string;
|
|
220
220
|
}, {
|
|
221
221
|
code: string;
|
|
222
222
|
type: "level1" | "level2" | "level3";
|
|
223
|
-
name: string;
|
|
224
223
|
id: string;
|
|
224
|
+
name: string;
|
|
225
225
|
countryCode: string;
|
|
226
226
|
parentId: string | null;
|
|
227
227
|
source: string;
|
|
@@ -238,16 +238,16 @@ declare const DistrictsSchema: z.ZodArray<z.ZodObject<{
|
|
|
238
238
|
}, "strict", z.ZodTypeAny, {
|
|
239
239
|
code: string;
|
|
240
240
|
type: "level1" | "level2" | "level3";
|
|
241
|
-
name: string;
|
|
242
241
|
id: string;
|
|
242
|
+
name: string;
|
|
243
243
|
countryCode: string;
|
|
244
244
|
parentId: string | null;
|
|
245
245
|
source: string;
|
|
246
246
|
}, {
|
|
247
247
|
code: string;
|
|
248
248
|
type: "level1" | "level2" | "level3";
|
|
249
|
-
name: string;
|
|
250
249
|
id: string;
|
|
250
|
+
name: string;
|
|
251
251
|
countryCode: string;
|
|
252
252
|
parentId: string | null;
|
|
253
253
|
source: string;
|