@cloudcommerce/api 2.3.1 → 2.3.3
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/.turbo/turbo-build.log +5 -4
- package/.turbo/turbo-test.log +431 -23
- package/package.json +1 -1
- package/types/brands.d.ts +0 -8
- package/types/categories.d.ts +0 -8
- package/types/collections.d.ts +0 -8
- package/types/products.d.ts +0 -8
- package/types/stores.d.ts +11 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
>
|
|
4
|
-
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
> @cloudcommerce/api@2.3.2 build /home/leo/code/ecomplus/cloud-commerce/packages/api
|
|
4
|
+
> bash ../../scripts/build-lib.sh
|
|
5
|
+
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,23 +1,431 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
> @cloudcommerce/api@2.3.2 test /home/leo/code/ecomplus/cloud-commerce/packages/api
|
|
4
|
+
> tsc -p ../../tsconfig.test.json && vitest run
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
[7m[1m[36m RUN [39m[22m[27m [36mv1.2.2[39m [90m/home/leo/code/ecomplus/cloud-commerce/packages/api[39m
|
|
8
|
+
|
|
9
|
+
[?25l [90m·[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
10
|
+
[90m·[39m Read product and typecheck SKU
|
|
11
|
+
[90m·[39m Find and read product by SKU
|
|
12
|
+
[90m·[39m 404 with different Store ID from env
|
|
13
|
+
[90m·[39m List categories and typecheck result
|
|
14
|
+
[90m·[39m 401 trying to list API events
|
|
15
|
+
[90m·[39m 401 to create category and body type
|
|
16
|
+
check
|
|
17
|
+
[90m·[39m 204 to update products views
|
|
18
|
+
[?25l[?25l[?25l[?25l[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
19
|
+
[33m⠙[39m Read product and typecheck SKU
|
|
20
|
+
[90m·[39m Find and read product by SKU
|
|
21
|
+
[90m·[39m 404 with different Store ID from env
|
|
22
|
+
[90m·[39m List categories and typecheck result
|
|
23
|
+
[90m·[39m 401 trying to list API events
|
|
24
|
+
[90m·[39m 401 to create category and body type
|
|
25
|
+
check
|
|
26
|
+
[90m·[39m 204 to update products views
|
|
27
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
28
|
+
[33m⠹[39m Read product and typecheck SKU
|
|
29
|
+
[90m·[39m Find and read product by SKU
|
|
30
|
+
[90m·[39m 404 with different Store ID from env
|
|
31
|
+
[90m·[39m List categories and typecheck result
|
|
32
|
+
[90m·[39m 401 trying to list API events
|
|
33
|
+
[90m·[39m 401 to create category and body type
|
|
34
|
+
check
|
|
35
|
+
[90m·[39m 204 to update products views
|
|
36
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
37
|
+
[33m⠸[39m Read product and typecheck SKU
|
|
38
|
+
[90m·[39m Find and read product by SKU
|
|
39
|
+
[90m·[39m 404 with different Store ID from env
|
|
40
|
+
[90m·[39m List categories and typecheck result
|
|
41
|
+
[90m·[39m 401 trying to list API events
|
|
42
|
+
[90m·[39m 401 to create category and body type
|
|
43
|
+
check
|
|
44
|
+
[90m·[39m 204 to update products views
|
|
45
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
46
|
+
[33m⠼[39m Read product and typecheck SKU
|
|
47
|
+
[90m·[39m Find and read product by SKU
|
|
48
|
+
[90m·[39m 404 with different Store ID from env
|
|
49
|
+
[90m·[39m List categories and typecheck result
|
|
50
|
+
[90m·[39m 401 trying to list API events
|
|
51
|
+
[90m·[39m 401 to create category and body type
|
|
52
|
+
check
|
|
53
|
+
[90m·[39m 204 to update products views
|
|
54
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
55
|
+
[33m⠴[39m Read product and typecheck SKU
|
|
56
|
+
[90m·[39m Find and read product by SKU
|
|
57
|
+
[90m·[39m 404 with different Store ID from env
|
|
58
|
+
[90m·[39m List categories and typecheck result
|
|
59
|
+
[90m·[39m 401 trying to list API events
|
|
60
|
+
[90m·[39m 401 to create category and body type
|
|
61
|
+
check
|
|
62
|
+
[90m·[39m 204 to update products views
|
|
63
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
64
|
+
[33m⠦[39m Read product and typecheck SKU
|
|
65
|
+
[90m·[39m Find and read product by SKU
|
|
66
|
+
[90m·[39m 404 with different Store ID from env
|
|
67
|
+
[90m·[39m List categories and typecheck result
|
|
68
|
+
[90m·[39m 401 trying to list API events
|
|
69
|
+
[90m·[39m 401 to create category and body type
|
|
70
|
+
check
|
|
71
|
+
[90m·[39m 204 to update products views
|
|
72
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
73
|
+
[33m⠧[39m Read product and typecheck SKU
|
|
74
|
+
[90m·[39m Find and read product by SKU
|
|
75
|
+
[90m·[39m 404 with different Store ID from env
|
|
76
|
+
[90m·[39m List categories and typecheck result
|
|
77
|
+
[90m·[39m 401 trying to list API events
|
|
78
|
+
[90m·[39m 401 to create category and body type
|
|
79
|
+
check
|
|
80
|
+
[90m·[39m 204 to update products views
|
|
81
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
82
|
+
[33m⠇[39m Read product and typecheck SKU
|
|
83
|
+
[90m·[39m Find and read product by SKU
|
|
84
|
+
[90m·[39m 404 with different Store ID from env
|
|
85
|
+
[90m·[39m List categories and typecheck result
|
|
86
|
+
[90m·[39m 401 trying to list API events
|
|
87
|
+
[90m·[39m 401 to create category and body type
|
|
88
|
+
check
|
|
89
|
+
[90m·[39m 204 to update products views
|
|
90
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
91
|
+
[33m⠏[39m Read product and typecheck SKU
|
|
92
|
+
[90m·[39m Find and read product by SKU
|
|
93
|
+
[90m·[39m 404 with different Store ID from env
|
|
94
|
+
[90m·[39m List categories and typecheck result
|
|
95
|
+
[90m·[39m 401 trying to list API events
|
|
96
|
+
[90m·[39m 401 to create category and body type
|
|
97
|
+
check
|
|
98
|
+
[90m·[39m 204 to update products views
|
|
99
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
100
|
+
[33m⠋[39m Read product and typecheck SKU
|
|
101
|
+
[90m·[39m Find and read product by SKU
|
|
102
|
+
[90m·[39m 404 with different Store ID from env
|
|
103
|
+
[90m·[39m List categories and typecheck result
|
|
104
|
+
[90m·[39m 401 trying to list API events
|
|
105
|
+
[90m·[39m 401 to create category and body type
|
|
106
|
+
check
|
|
107
|
+
[90m·[39m 204 to update products views
|
|
108
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
109
|
+
[33m⠙[39m Read product and typecheck SKU
|
|
110
|
+
[90m·[39m Find and read product by SKU
|
|
111
|
+
[90m·[39m 404 with different Store ID from env
|
|
112
|
+
[90m·[39m List categories and typecheck result
|
|
113
|
+
[90m·[39m 401 trying to list API events
|
|
114
|
+
[90m·[39m 401 to create category and body type
|
|
115
|
+
check
|
|
116
|
+
[90m·[39m 204 to update products views
|
|
117
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
118
|
+
[33m⠹[39m Read product and typecheck SKU
|
|
119
|
+
[90m·[39m Find and read product by SKU
|
|
120
|
+
[90m·[39m 404 with different Store ID from env
|
|
121
|
+
[90m·[39m List categories and typecheck result
|
|
122
|
+
[90m·[39m 401 trying to list API events
|
|
123
|
+
[90m·[39m 401 to create category and body type
|
|
124
|
+
check
|
|
125
|
+
[90m·[39m 204 to update products views
|
|
126
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
127
|
+
[33m⠸[39m Read product and typecheck SKU
|
|
128
|
+
[90m·[39m Find and read product by SKU
|
|
129
|
+
[90m·[39m 404 with different Store ID from env
|
|
130
|
+
[90m·[39m List categories and typecheck result
|
|
131
|
+
[90m·[39m 401 trying to list API events
|
|
132
|
+
[90m·[39m 401 to create category and body type
|
|
133
|
+
check
|
|
134
|
+
[90m·[39m 204 to update products views
|
|
135
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
136
|
+
[33m⠼[39m Read product and typecheck SKU
|
|
137
|
+
[90m·[39m Find and read product by SKU
|
|
138
|
+
[90m·[39m 404 with different Store ID from env
|
|
139
|
+
[90m·[39m List categories and typecheck result
|
|
140
|
+
[90m·[39m 401 trying to list API events
|
|
141
|
+
[90m·[39m 401 to create category and body type
|
|
142
|
+
check
|
|
143
|
+
[90m·[39m 204 to update products views
|
|
144
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
145
|
+
[33m⠴[39m Read product and typecheck SKU
|
|
146
|
+
[90m·[39m Find and read product by SKU
|
|
147
|
+
[90m·[39m 404 with different Store ID from env
|
|
148
|
+
[90m·[39m List categories and typecheck result
|
|
149
|
+
[90m·[39m 401 trying to list API events
|
|
150
|
+
[90m·[39m 401 to create category and body type
|
|
151
|
+
check
|
|
152
|
+
[90m·[39m 204 to update products views
|
|
153
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
154
|
+
[33m⠦[39m Read product and typecheck SKU
|
|
155
|
+
[90m·[39m Find and read product by SKU
|
|
156
|
+
[90m·[39m 404 with different Store ID from env
|
|
157
|
+
[90m·[39m List categories and typecheck result
|
|
158
|
+
[90m·[39m 401 trying to list API events
|
|
159
|
+
[90m·[39m 401 to create category and body type
|
|
160
|
+
check
|
|
161
|
+
[90m·[39m 204 to update products views
|
|
162
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
163
|
+
[33m⠧[39m Read product and typecheck SKU
|
|
164
|
+
[90m·[39m Find and read product by SKU
|
|
165
|
+
[90m·[39m 404 with different Store ID from env
|
|
166
|
+
[90m·[39m List categories and typecheck result
|
|
167
|
+
[90m·[39m 401 trying to list API events
|
|
168
|
+
[90m·[39m 401 to create category and body type
|
|
169
|
+
check
|
|
170
|
+
[90m·[39m 204 to update products views
|
|
171
|
+
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G[90mstdout[2m | tests/index.test.ts[2m > [22m[2mRead product and typecheck SKU[22m[39m
|
|
172
|
+
GFJ4714
|
|
173
|
+
|
|
174
|
+
[?25l [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
175
|
+
[33m⠇[39m Read product and typecheck SKU
|
|
176
|
+
[90m·[39m Find and read product by SKU
|
|
177
|
+
[90m·[39m 404 with different Store ID from env
|
|
178
|
+
[90m·[39m List categories and typecheck result
|
|
179
|
+
[90m·[39m 401 trying to list API events
|
|
180
|
+
[90m·[39m 401 to create category and body type
|
|
181
|
+
check
|
|
182
|
+
[90m·[39m 204 to update products views
|
|
183
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
184
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
185
|
+
[33m⠙[39m Find and read product by SKU
|
|
186
|
+
[90m·[39m 404 with different Store ID from env
|
|
187
|
+
[90m·[39m List categories and typecheck result
|
|
188
|
+
[90m·[39m 401 trying to list API events
|
|
189
|
+
[90m·[39m 401 to create category and body type
|
|
190
|
+
check
|
|
191
|
+
[90m·[39m 204 to update products views
|
|
192
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
193
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
194
|
+
[33m⠹[39m Find and read product by SKU
|
|
195
|
+
[90m·[39m 404 with different Store ID from env
|
|
196
|
+
[90m·[39m List categories and typecheck result
|
|
197
|
+
[90m·[39m 401 trying to list API events
|
|
198
|
+
[90m·[39m 401 to create category and body type
|
|
199
|
+
check
|
|
200
|
+
[90m·[39m 204 to update products views
|
|
201
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
202
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
203
|
+
[32m✓[39m Find and read product by SKU
|
|
204
|
+
[33m⠙[39m 404 with different Store ID from env
|
|
205
|
+
[90m·[39m List categories and typecheck result
|
|
206
|
+
[90m·[39m 401 trying to list API events
|
|
207
|
+
[90m·[39m 401 to create category and body type
|
|
208
|
+
check
|
|
209
|
+
[90m·[39m 204 to update products views
|
|
210
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
211
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
212
|
+
[32m✓[39m Find and read product by SKU
|
|
213
|
+
[33m⠹[39m 404 with different Store ID from env
|
|
214
|
+
[90m·[39m List categories and typecheck result
|
|
215
|
+
[90m·[39m 401 trying to list API events
|
|
216
|
+
[90m·[39m 401 to create category and body type
|
|
217
|
+
check
|
|
218
|
+
[90m·[39m 204 to update products views
|
|
219
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
220
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
221
|
+
[32m✓[39m Find and read product by SKU
|
|
222
|
+
[32m✓[39m 404 with different Store ID from env
|
|
223
|
+
[33m⠙[39m List categories and typecheck result
|
|
224
|
+
[90m·[39m 401 trying to list API events
|
|
225
|
+
[90m·[39m 401 to create category and body type
|
|
226
|
+
check
|
|
227
|
+
[90m·[39m 204 to update products views
|
|
228
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
229
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
230
|
+
[32m✓[39m Find and read product by SKU
|
|
231
|
+
[32m✓[39m 404 with different Store ID from env
|
|
232
|
+
[33m⠹[39m List categories and typecheck result
|
|
233
|
+
[90m·[39m 401 trying to list API events
|
|
234
|
+
[90m·[39m 401 to create category and body type
|
|
235
|
+
check
|
|
236
|
+
[90m·[39m 204 to update products views
|
|
237
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
238
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
239
|
+
[32m✓[39m Find and read product by SKU
|
|
240
|
+
[32m✓[39m 404 with different Store ID from env
|
|
241
|
+
[33m⠸[39m List categories and typecheck result
|
|
242
|
+
[90m·[39m 401 trying to list API events
|
|
243
|
+
[90m·[39m 401 to create category and body type
|
|
244
|
+
check
|
|
245
|
+
[90m·[39m 204 to update products views
|
|
246
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
247
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
248
|
+
[32m✓[39m Find and read product by SKU
|
|
249
|
+
[32m✓[39m 404 with different Store ID from env
|
|
250
|
+
[33m⠼[39m List categories and typecheck result
|
|
251
|
+
[90m·[39m 401 trying to list API events
|
|
252
|
+
[90m·[39m 401 to create category and body type
|
|
253
|
+
check
|
|
254
|
+
[90m·[39m 204 to update products views
|
|
255
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
256
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
257
|
+
[32m✓[39m Find and read product by SKU
|
|
258
|
+
[32m✓[39m 404 with different Store ID from env
|
|
259
|
+
[33m⠴[39m List categories and typecheck result
|
|
260
|
+
[90m·[39m 401 trying to list API events
|
|
261
|
+
[90m·[39m 401 to create category and body type
|
|
262
|
+
check
|
|
263
|
+
[90m·[39m 204 to update products views
|
|
264
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
265
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
266
|
+
[32m✓[39m Find and read product by SKU
|
|
267
|
+
[32m✓[39m 404 with different Store ID from env
|
|
268
|
+
[33m⠦[39m List categories and typecheck result
|
|
269
|
+
[90m·[39m 401 trying to list API events
|
|
270
|
+
[90m·[39m 401 to create category and body type
|
|
271
|
+
check
|
|
272
|
+
[90m·[39m 204 to update products views
|
|
273
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
274
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
275
|
+
[32m✓[39m Find and read product by SKU
|
|
276
|
+
[32m✓[39m 404 with different Store ID from env
|
|
277
|
+
[33m⠧[39m List categories and typecheck result
|
|
278
|
+
[90m·[39m 401 trying to list API events
|
|
279
|
+
[90m·[39m 401 to create category and body type
|
|
280
|
+
check
|
|
281
|
+
[90m·[39m 204 to update products views
|
|
282
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
283
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
284
|
+
[32m✓[39m Find and read product by SKU
|
|
285
|
+
[32m✓[39m 404 with different Store ID from env
|
|
286
|
+
[33m⠇[39m List categories and typecheck result
|
|
287
|
+
[90m·[39m 401 trying to list API events
|
|
288
|
+
[90m·[39m 401 to create category and body type
|
|
289
|
+
check
|
|
290
|
+
[90m·[39m 204 to update products views
|
|
291
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
292
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
293
|
+
[32m✓[39m Find and read product by SKU
|
|
294
|
+
[32m✓[39m 404 with different Store ID from env
|
|
295
|
+
[33m⠏[39m List categories and typecheck result
|
|
296
|
+
[90m·[39m 401 trying to list API events
|
|
297
|
+
[90m·[39m 401 to create category and body type
|
|
298
|
+
check
|
|
299
|
+
[90m·[39m 204 to update products views
|
|
300
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
301
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
302
|
+
[32m✓[39m Find and read product by SKU
|
|
303
|
+
[32m✓[39m 404 with different Store ID from env
|
|
304
|
+
[33m⠋[39m List categories and typecheck result
|
|
305
|
+
[90m·[39m 401 trying to list API events
|
|
306
|
+
[90m·[39m 401 to create category and body type
|
|
307
|
+
check
|
|
308
|
+
[90m·[39m 204 to update products views
|
|
309
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
310
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
311
|
+
[32m✓[39m Find and read product by SKU
|
|
312
|
+
[32m✓[39m 404 with different Store ID from env
|
|
313
|
+
[33m⠙[39m List categories and typecheck result
|
|
314
|
+
[90m·[39m 401 trying to list API events
|
|
315
|
+
[90m·[39m 401 to create category and body type
|
|
316
|
+
check
|
|
317
|
+
[90m·[39m 204 to update products views
|
|
318
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
319
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
320
|
+
[32m✓[39m Find and read product by SKU
|
|
321
|
+
[32m✓[39m 404 with different Store ID from env
|
|
322
|
+
[32m✓[39m List categories and typecheck result
|
|
323
|
+
[33m⠙[39m 401 trying to list API events
|
|
324
|
+
[90m·[39m 401 to create category and body type
|
|
325
|
+
check
|
|
326
|
+
[90m·[39m 204 to update products views
|
|
327
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
328
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
329
|
+
[32m✓[39m Find and read product by SKU
|
|
330
|
+
[32m✓[39m 404 with different Store ID from env
|
|
331
|
+
[32m✓[39m List categories and typecheck result
|
|
332
|
+
[32m✓[39m 401 trying to list API events
|
|
333
|
+
[33m⠙[39m 401 to create category and body type
|
|
334
|
+
check
|
|
335
|
+
[90m·[39m 204 to update products views
|
|
336
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
337
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
338
|
+
[32m✓[39m Find and read product by SKU
|
|
339
|
+
[32m✓[39m 404 with different Store ID from env
|
|
340
|
+
[32m✓[39m List categories and typecheck result
|
|
341
|
+
[32m✓[39m 401 trying to list API events
|
|
342
|
+
[33m⠹[39m 401 to create category and body type
|
|
343
|
+
check
|
|
344
|
+
[90m·[39m 204 to update products views
|
|
345
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
346
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
347
|
+
[32m✓[39m Find and read product by SKU
|
|
348
|
+
[32m✓[39m 404 with different Store ID from env
|
|
349
|
+
[32m✓[39m List categories and typecheck result
|
|
350
|
+
[32m✓[39m 401 trying to list API events
|
|
351
|
+
[32m✓[39m 401 to create category and body type
|
|
352
|
+
check
|
|
353
|
+
[33m⠙[39m 204 to update products views
|
|
354
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
355
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
356
|
+
[32m✓[39m Find and read product by SKU
|
|
357
|
+
[32m✓[39m 404 with different Store ID from env
|
|
358
|
+
[32m✓[39m List categories and typecheck result
|
|
359
|
+
[32m✓[39m 401 trying to list API events
|
|
360
|
+
[32m✓[39m 401 to create category and body type
|
|
361
|
+
check
|
|
362
|
+
[33m⠹[39m 204 to update products views
|
|
363
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
364
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
365
|
+
[32m✓[39m Find and read product by SKU
|
|
366
|
+
[32m✓[39m 404 with different Store ID from env
|
|
367
|
+
[32m✓[39m List categories and typecheck result
|
|
368
|
+
[32m✓[39m 401 trying to list API events
|
|
369
|
+
[32m✓[39m 401 to create category and body type
|
|
370
|
+
check
|
|
371
|
+
[33m⠸[39m 204 to update products views
|
|
372
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
373
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
374
|
+
[32m✓[39m Find and read product by SKU
|
|
375
|
+
[32m✓[39m 404 with different Store ID from env
|
|
376
|
+
[32m✓[39m List categories and typecheck result
|
|
377
|
+
[32m✓[39m 401 trying to list API events
|
|
378
|
+
[32m✓[39m 401 to create category and body type
|
|
379
|
+
check
|
|
380
|
+
[33m⠼[39m 204 to update products views
|
|
381
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
382
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
383
|
+
[32m✓[39m Find and read product by SKU
|
|
384
|
+
[32m✓[39m 404 with different Store ID from env
|
|
385
|
+
[32m✓[39m List categories and typecheck result
|
|
386
|
+
[32m✓[39m 401 trying to list API events
|
|
387
|
+
[32m✓[39m 401 to create category and body type
|
|
388
|
+
check
|
|
389
|
+
[33m⠴[39m 204 to update products views
|
|
390
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
391
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
392
|
+
[32m✓[39m Find and read product by SKU
|
|
393
|
+
[32m✓[39m 404 with different Store ID from env
|
|
394
|
+
[32m✓[39m List categories and typecheck result
|
|
395
|
+
[32m✓[39m 401 trying to list API events
|
|
396
|
+
[32m✓[39m 401 to create category and body type
|
|
397
|
+
check
|
|
398
|
+
[33m⠦[39m 204 to update products views
|
|
399
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [33m❯[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m
|
|
400
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
401
|
+
[32m✓[39m Find and read product by SKU
|
|
402
|
+
[32m✓[39m 404 with different Store ID from env
|
|
403
|
+
[32m✓[39m List categories and typecheck result
|
|
404
|
+
[32m✓[39m 401 trying to list API events
|
|
405
|
+
[32m✓[39m 401 to create category and body type
|
|
406
|
+
check
|
|
407
|
+
[33m⠧[39m 204 to update products views
|
|
408
|
+
[?25l[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [32m✓[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m[33m 797[2mms[22m[39m
|
|
409
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
410
|
+
[32m✓[39m Find and read product by SKU
|
|
411
|
+
[32m✓[39m 404 with different Store ID from env
|
|
412
|
+
[32m✓[39m List categories and typecheck result
|
|
413
|
+
[32m✓[39m 401 trying to list API events
|
|
414
|
+
[32m✓[39m 401 to create category and body type
|
|
415
|
+
check
|
|
416
|
+
[32m✓[39m 204 to update products views
|
|
417
|
+
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [32m✓[39m [2mtests/[22mindex[2m.test.ts[22m[2m (7)[22m[33m 797[2mms[22m[39m
|
|
418
|
+
[32m✓[39m Read product and typecheck SKU[33m 374[2mms[22m[39m
|
|
419
|
+
[32m✓[39m Find and read product by SKU
|
|
420
|
+
[32m✓[39m 404 with different Store ID from env
|
|
421
|
+
[32m✓[39m List categories and typecheck result
|
|
422
|
+
[32m✓[39m 401 trying to list API events
|
|
423
|
+
[32m✓[39m 401 to create category and body typecheck
|
|
424
|
+
[32m✓[39m 204 to update products views
|
|
425
|
+
|
|
426
|
+
[2m Test Files [22m [1m[32m1 passed[39m[22m[90m (1)[39m
|
|
427
|
+
[2m Tests [22m [1m[32m7 passed[39m[22m[90m (7)[39m
|
|
428
|
+
[2m Start at [22m 21:20:12
|
|
429
|
+
[2m Duration [22m 1.37s[2m (transform 135ms, setup 0ms, collect 135ms, tests 797ms, environment 0ms, prepare 138ms)[22m
|
|
430
|
+
|
|
431
|
+
[?25h
|
package/package.json
CHANGED
package/types/brands.d.ts
CHANGED
|
@@ -47,10 +47,6 @@ export interface Brands {
|
|
|
47
47
|
* Full brand description, may use HTML tags
|
|
48
48
|
*/
|
|
49
49
|
body_html?: string;
|
|
50
|
-
/**
|
|
51
|
-
* Full brand description, plain text only
|
|
52
|
-
*/
|
|
53
|
-
body_text?: string;
|
|
54
50
|
/**
|
|
55
51
|
* Title tag for page SEO
|
|
56
52
|
*/
|
|
@@ -82,10 +78,6 @@ export interface Brands {
|
|
|
82
78
|
* Full brand description, may use HTML tags
|
|
83
79
|
*/
|
|
84
80
|
body_html?: string;
|
|
85
|
-
/**
|
|
86
|
-
* Full brand description, plain text only
|
|
87
|
-
*/
|
|
88
|
-
body_text?: string;
|
|
89
81
|
/**
|
|
90
82
|
* Title tag for page SEO
|
|
91
83
|
*/
|
package/types/categories.d.ts
CHANGED
|
@@ -47,10 +47,6 @@ export interface Categories {
|
|
|
47
47
|
* Full category description, may use HTML tags
|
|
48
48
|
*/
|
|
49
49
|
body_html?: string;
|
|
50
|
-
/**
|
|
51
|
-
* Full category description, plain text only
|
|
52
|
-
*/
|
|
53
|
-
body_text?: string;
|
|
54
50
|
/**
|
|
55
51
|
* Title tag for page SEO
|
|
56
52
|
*/
|
|
@@ -82,10 +78,6 @@ export interface Categories {
|
|
|
82
78
|
* Full category description, may use HTML tags
|
|
83
79
|
*/
|
|
84
80
|
body_html?: string;
|
|
85
|
-
/**
|
|
86
|
-
* Full category description, plain text only
|
|
87
|
-
*/
|
|
88
|
-
body_text?: string;
|
|
89
81
|
/**
|
|
90
82
|
* Title tag for page SEO
|
|
91
83
|
*/
|
package/types/collections.d.ts
CHANGED
|
@@ -41,10 +41,6 @@ export interface Collections {
|
|
|
41
41
|
* Full collection description, may use HTML tags
|
|
42
42
|
*/
|
|
43
43
|
body_html?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Full collection description, plain text only
|
|
46
|
-
*/
|
|
47
|
-
body_text?: string;
|
|
48
44
|
/**
|
|
49
45
|
* Title tag for page SEO
|
|
50
46
|
*/
|
|
@@ -76,10 +72,6 @@ export interface Collections {
|
|
|
76
72
|
* Full collection description, may use HTML tags
|
|
77
73
|
*/
|
|
78
74
|
body_html?: string;
|
|
79
|
-
/**
|
|
80
|
-
* Full collection description, plain text only
|
|
81
|
-
*/
|
|
82
|
-
body_text?: string;
|
|
83
75
|
/**
|
|
84
76
|
* Title tag for page SEO
|
|
85
77
|
*/
|
package/types/products.d.ts
CHANGED
|
@@ -71,10 +71,6 @@ export interface Products {
|
|
|
71
71
|
* Full product description, may use HTML tags
|
|
72
72
|
*/
|
|
73
73
|
body_html?: string;
|
|
74
|
-
/**
|
|
75
|
-
* Full product description, plain text only
|
|
76
|
-
*/
|
|
77
|
-
body_text?: string;
|
|
78
74
|
/**
|
|
79
75
|
* Title tag for page SEO
|
|
80
76
|
*/
|
|
@@ -106,10 +102,6 @@ export interface Products {
|
|
|
106
102
|
* Full product description, may use HTML tags
|
|
107
103
|
*/
|
|
108
104
|
body_html?: string;
|
|
109
|
-
/**
|
|
110
|
-
* Full product description, plain text only
|
|
111
|
-
*/
|
|
112
|
-
body_text?: string;
|
|
113
105
|
/**
|
|
114
106
|
* Title tag for page SEO
|
|
115
107
|
*/
|
package/types/stores.d.ts
CHANGED
|
@@ -128,11 +128,22 @@ export interface Stores {
|
|
|
128
128
|
*/
|
|
129
129
|
contact_cellphone?: string;
|
|
130
130
|
/**
|
|
131
|
+
* Store sales channel list
|
|
132
|
+
*
|
|
131
133
|
* @maxItems 30
|
|
132
134
|
*/
|
|
133
135
|
sales_channels?: {
|
|
136
|
+
/**
|
|
137
|
+
* Sales channel unique identifier or domain name
|
|
138
|
+
*/
|
|
134
139
|
channel_id: string;
|
|
140
|
+
/**
|
|
141
|
+
* Sales channel type
|
|
142
|
+
*/
|
|
135
143
|
type?: 'ecommerce' | 'mobile' | 'pos' | 'button' | 'social' | 'chatbot' | 'live';
|
|
144
|
+
/**
|
|
145
|
+
* Sales channel title
|
|
146
|
+
*/
|
|
136
147
|
title?: string;
|
|
137
148
|
}[];
|
|
138
149
|
}
|