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