@wix/motion 1.0.27 → 1.0.28
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/build/cjs/src/alarm-v1-alarm.types.d.ts +4 -4
- package/build/cjs/src/alarm-v1-alarm.universal.d.ts +4 -4
- package/build/cjs/src/metroinspector-v1-echo.public.d.ts +1 -1
- package/build/cjs/src/metroinspector-v1-echo.types.d.ts +5 -5
- package/build/cjs/src/metroinspector-v1-echo.universal.d.ts +7 -7
- package/build/cjs/src/metroinspector-v1-product.public.d.ts +43 -43
- package/build/cjs/src/metroinspector-v1-product.types.d.ts +241 -241
- package/build/cjs/src/metroinspector-v1-product.universal.d.ts +80 -80
- package/build/es/src/alarm-v1-alarm.types.d.ts +4 -4
- package/build/es/src/alarm-v1-alarm.universal.d.ts +4 -4
- package/build/es/src/metroinspector-v1-echo.public.d.ts +1 -1
- package/build/es/src/metroinspector-v1-echo.types.d.ts +5 -5
- package/build/es/src/metroinspector-v1-echo.universal.d.ts +7 -7
- package/build/es/src/metroinspector-v1-product.public.d.ts +43 -43
- package/build/es/src/metroinspector-v1-product.types.d.ts +241 -241
- package/build/es/src/metroinspector-v1-product.universal.d.ts +80 -80
- package/package.json +2 -2
|
@@ -214,145 +214,145 @@ export interface Cursors {
|
|
|
214
214
|
}
|
|
215
215
|
export interface CreateProductRequestRequiredFields {
|
|
216
216
|
product?: {
|
|
217
|
-
title:
|
|
217
|
+
title: string;
|
|
218
218
|
};
|
|
219
219
|
}
|
|
220
220
|
export interface CreateProductResponseNonNullableFields {
|
|
221
221
|
product?: {
|
|
222
|
-
_id:
|
|
223
|
-
collectionId:
|
|
224
|
-
image:
|
|
225
|
-
document:
|
|
226
|
-
video:
|
|
222
|
+
_id: string;
|
|
223
|
+
collectionId: string;
|
|
224
|
+
image: string;
|
|
225
|
+
document: string;
|
|
226
|
+
video: string;
|
|
227
227
|
pageLink?: {
|
|
228
|
-
pageId:
|
|
228
|
+
pageId: string;
|
|
229
229
|
};
|
|
230
|
-
audio:
|
|
230
|
+
audio: string;
|
|
231
231
|
variants: {
|
|
232
|
-
name:
|
|
233
|
-
value:
|
|
234
|
-
image:
|
|
232
|
+
name: string;
|
|
233
|
+
value: string;
|
|
234
|
+
image: string;
|
|
235
235
|
}[];
|
|
236
236
|
mainVariant?: {
|
|
237
|
-
name:
|
|
238
|
-
value:
|
|
239
|
-
image:
|
|
237
|
+
name: string;
|
|
238
|
+
value: string;
|
|
239
|
+
image: string;
|
|
240
240
|
};
|
|
241
|
-
guid:
|
|
241
|
+
guid: string;
|
|
242
242
|
};
|
|
243
243
|
}
|
|
244
244
|
export interface DeleteProductRequestRequiredFields {
|
|
245
|
-
productId:
|
|
245
|
+
productId: string;
|
|
246
246
|
}
|
|
247
247
|
export interface UpdateProductRequestRequiredFields {
|
|
248
248
|
product?: {
|
|
249
|
-
_id:
|
|
249
|
+
_id: string;
|
|
250
250
|
};
|
|
251
|
-
productId:
|
|
251
|
+
productId: string;
|
|
252
252
|
}
|
|
253
253
|
export interface UpdateProductResponseNonNullableFields {
|
|
254
254
|
product?: {
|
|
255
|
-
_id:
|
|
256
|
-
collectionId:
|
|
257
|
-
image:
|
|
258
|
-
document:
|
|
259
|
-
video:
|
|
255
|
+
_id: string;
|
|
256
|
+
collectionId: string;
|
|
257
|
+
image: string;
|
|
258
|
+
document: string;
|
|
259
|
+
video: string;
|
|
260
260
|
pageLink?: {
|
|
261
|
-
pageId:
|
|
261
|
+
pageId: string;
|
|
262
262
|
};
|
|
263
|
-
audio:
|
|
263
|
+
audio: string;
|
|
264
264
|
variants: {
|
|
265
|
-
name:
|
|
266
|
-
value:
|
|
267
|
-
image:
|
|
265
|
+
name: string;
|
|
266
|
+
value: string;
|
|
267
|
+
image: string;
|
|
268
268
|
}[];
|
|
269
269
|
mainVariant?: {
|
|
270
|
-
name:
|
|
271
|
-
value:
|
|
272
|
-
image:
|
|
270
|
+
name: string;
|
|
271
|
+
value: string;
|
|
272
|
+
image: string;
|
|
273
273
|
};
|
|
274
|
-
guid:
|
|
274
|
+
guid: string;
|
|
275
275
|
};
|
|
276
276
|
}
|
|
277
277
|
export interface GetProductRequestRequiredFields {
|
|
278
|
-
productId:
|
|
278
|
+
productId: string;
|
|
279
279
|
}
|
|
280
280
|
export interface GetProductResponseNonNullableFields {
|
|
281
281
|
product?: {
|
|
282
|
-
_id:
|
|
283
|
-
collectionId:
|
|
284
|
-
image:
|
|
285
|
-
document:
|
|
286
|
-
video:
|
|
282
|
+
_id: string;
|
|
283
|
+
collectionId: string;
|
|
284
|
+
image: string;
|
|
285
|
+
document: string;
|
|
286
|
+
video: string;
|
|
287
287
|
pageLink?: {
|
|
288
|
-
pageId:
|
|
288
|
+
pageId: string;
|
|
289
289
|
};
|
|
290
|
-
audio:
|
|
290
|
+
audio: string;
|
|
291
291
|
variants: {
|
|
292
|
-
name:
|
|
293
|
-
value:
|
|
294
|
-
image:
|
|
292
|
+
name: string;
|
|
293
|
+
value: string;
|
|
294
|
+
image: string;
|
|
295
295
|
}[];
|
|
296
296
|
mainVariant?: {
|
|
297
|
-
name:
|
|
298
|
-
value:
|
|
299
|
-
image:
|
|
297
|
+
name: string;
|
|
298
|
+
value: string;
|
|
299
|
+
image: string;
|
|
300
300
|
};
|
|
301
|
-
guid:
|
|
301
|
+
guid: string;
|
|
302
302
|
};
|
|
303
303
|
}
|
|
304
304
|
export interface GetProductsStartWithRequestRequiredFields {
|
|
305
|
-
title:
|
|
305
|
+
title: string;
|
|
306
306
|
}
|
|
307
307
|
export interface GetProductsStartWithResponseNonNullableFields {
|
|
308
308
|
products: {
|
|
309
|
-
_id:
|
|
310
|
-
collectionId:
|
|
311
|
-
image:
|
|
312
|
-
document:
|
|
313
|
-
video:
|
|
309
|
+
_id: string;
|
|
310
|
+
collectionId: string;
|
|
311
|
+
image: string;
|
|
312
|
+
document: string;
|
|
313
|
+
video: string;
|
|
314
314
|
pageLink?: {
|
|
315
|
-
pageId:
|
|
315
|
+
pageId: string;
|
|
316
316
|
};
|
|
317
|
-
audio:
|
|
317
|
+
audio: string;
|
|
318
318
|
variants: {
|
|
319
|
-
name:
|
|
320
|
-
value:
|
|
321
|
-
image:
|
|
319
|
+
name: string;
|
|
320
|
+
value: string;
|
|
321
|
+
image: string;
|
|
322
322
|
}[];
|
|
323
323
|
mainVariant?: {
|
|
324
|
-
name:
|
|
325
|
-
value:
|
|
326
|
-
image:
|
|
324
|
+
name: string;
|
|
325
|
+
value: string;
|
|
326
|
+
image: string;
|
|
327
327
|
};
|
|
328
|
-
guid:
|
|
328
|
+
guid: string;
|
|
329
329
|
}[];
|
|
330
330
|
}
|
|
331
331
|
export interface QueryProductsResponseNonNullableFields {
|
|
332
332
|
products: {
|
|
333
|
-
_id:
|
|
334
|
-
collectionId:
|
|
335
|
-
image:
|
|
336
|
-
document:
|
|
337
|
-
video:
|
|
333
|
+
_id: string;
|
|
334
|
+
collectionId: string;
|
|
335
|
+
image: string;
|
|
336
|
+
document: string;
|
|
337
|
+
video: string;
|
|
338
338
|
pageLink?: {
|
|
339
|
-
pageId:
|
|
339
|
+
pageId: string;
|
|
340
340
|
};
|
|
341
|
-
audio:
|
|
341
|
+
audio: string;
|
|
342
342
|
variants: {
|
|
343
|
-
name:
|
|
344
|
-
value:
|
|
345
|
-
image:
|
|
343
|
+
name: string;
|
|
344
|
+
value: string;
|
|
345
|
+
image: string;
|
|
346
346
|
}[];
|
|
347
347
|
mainVariant?: {
|
|
348
|
-
name:
|
|
349
|
-
value:
|
|
350
|
-
image:
|
|
348
|
+
name: string;
|
|
349
|
+
value: string;
|
|
350
|
+
image: string;
|
|
351
351
|
};
|
|
352
|
-
guid:
|
|
352
|
+
guid: string;
|
|
353
353
|
}[];
|
|
354
354
|
}
|
|
355
|
-
export
|
|
355
|
+
export interface Product {
|
|
356
356
|
_id: string;
|
|
357
357
|
name: string | null;
|
|
358
358
|
collectionId: string;
|
|
@@ -372,7 +372,7 @@ export declare type Product = {
|
|
|
372
372
|
mainVariant: Variant;
|
|
373
373
|
customAddress: MyAddress;
|
|
374
374
|
guid: string;
|
|
375
|
-
}
|
|
375
|
+
}
|
|
376
376
|
/**
|
|
377
377
|
* Creating a product
|
|
378
378
|
* @public
|
|
@@ -382,7 +382,7 @@ export declare type Product = {
|
|
|
382
382
|
export declare function createProduct(options?: CreateProductOptions & CreateProductOptionsRequiredFields): Promise<Product & NonNullable<CreateProductResponseNonNullableFields>['product']>;
|
|
383
383
|
export interface CreateProductOptionsRequiredFields {
|
|
384
384
|
product?: {
|
|
385
|
-
title:
|
|
385
|
+
title: unknown;
|
|
386
386
|
};
|
|
387
387
|
}
|
|
388
388
|
export interface CreateProductOptions {
|
|
@@ -401,7 +401,7 @@ export declare function deleteProduct(productId: string): Promise<void>;
|
|
|
401
401
|
export declare function updateProduct(productId: string, options?: UpdateProductOptions & UpdateProductOptionsRequiredFields): Promise<Product & NonNullable<UpdateProductResponseNonNullableFields>['product']>;
|
|
402
402
|
export interface UpdateProductOptionsRequiredFields {
|
|
403
403
|
product?: {
|
|
404
|
-
_id:
|
|
404
|
+
_id: string;
|
|
405
405
|
};
|
|
406
406
|
}
|
|
407
407
|
export interface UpdateProductOptions {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/motion",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.28",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"groupId": "com.wixpress.public-sdk-autogen"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
"falconPackageHash": "
|
|
36
|
+
"falconPackageHash": "aec935a073c86c6207311bd9b441c4e0296c073d66490867529a06e4"
|
|
37
37
|
}
|