@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.
@@ -214,145 +214,145 @@ export interface Cursors {
214
214
  }
215
215
  export interface CreateProductRequestRequiredFields {
216
216
  product?: {
217
- title: any;
217
+ title: string;
218
218
  };
219
219
  }
220
220
  export interface CreateProductResponseNonNullableFields {
221
221
  product?: {
222
- _id: any;
223
- collectionId: any;
224
- image: any;
225
- document: any;
226
- video: any;
222
+ _id: string;
223
+ collectionId: string;
224
+ image: string;
225
+ document: string;
226
+ video: string;
227
227
  pageLink?: {
228
- pageId: any;
228
+ pageId: string;
229
229
  };
230
- audio: any;
230
+ audio: string;
231
231
  variants: {
232
- name: any;
233
- value: any;
234
- image: any;
232
+ name: string;
233
+ value: string;
234
+ image: string;
235
235
  }[];
236
236
  mainVariant?: {
237
- name: any;
238
- value: any;
239
- image: any;
237
+ name: string;
238
+ value: string;
239
+ image: string;
240
240
  };
241
- guid: any;
241
+ guid: string;
242
242
  };
243
243
  }
244
244
  export interface DeleteProductRequestRequiredFields {
245
- productId: any;
245
+ productId: string;
246
246
  }
247
247
  export interface UpdateProductRequestRequiredFields {
248
248
  product?: {
249
- _id: any;
249
+ _id: string;
250
250
  };
251
- productId: any;
251
+ productId: string;
252
252
  }
253
253
  export interface UpdateProductResponseNonNullableFields {
254
254
  product?: {
255
- _id: any;
256
- collectionId: any;
257
- image: any;
258
- document: any;
259
- video: any;
255
+ _id: string;
256
+ collectionId: string;
257
+ image: string;
258
+ document: string;
259
+ video: string;
260
260
  pageLink?: {
261
- pageId: any;
261
+ pageId: string;
262
262
  };
263
- audio: any;
263
+ audio: string;
264
264
  variants: {
265
- name: any;
266
- value: any;
267
- image: any;
265
+ name: string;
266
+ value: string;
267
+ image: string;
268
268
  }[];
269
269
  mainVariant?: {
270
- name: any;
271
- value: any;
272
- image: any;
270
+ name: string;
271
+ value: string;
272
+ image: string;
273
273
  };
274
- guid: any;
274
+ guid: string;
275
275
  };
276
276
  }
277
277
  export interface GetProductRequestRequiredFields {
278
- productId: any;
278
+ productId: string;
279
279
  }
280
280
  export interface GetProductResponseNonNullableFields {
281
281
  product?: {
282
- _id: any;
283
- collectionId: any;
284
- image: any;
285
- document: any;
286
- video: any;
282
+ _id: string;
283
+ collectionId: string;
284
+ image: string;
285
+ document: string;
286
+ video: string;
287
287
  pageLink?: {
288
- pageId: any;
288
+ pageId: string;
289
289
  };
290
- audio: any;
290
+ audio: string;
291
291
  variants: {
292
- name: any;
293
- value: any;
294
- image: any;
292
+ name: string;
293
+ value: string;
294
+ image: string;
295
295
  }[];
296
296
  mainVariant?: {
297
- name: any;
298
- value: any;
299
- image: any;
297
+ name: string;
298
+ value: string;
299
+ image: string;
300
300
  };
301
- guid: any;
301
+ guid: string;
302
302
  };
303
303
  }
304
304
  export interface GetProductsStartWithRequestRequiredFields {
305
- title: any;
305
+ title: string;
306
306
  }
307
307
  export interface GetProductsStartWithResponseNonNullableFields {
308
308
  products: {
309
- _id: any;
310
- collectionId: any;
311
- image: any;
312
- document: any;
313
- video: any;
309
+ _id: string;
310
+ collectionId: string;
311
+ image: string;
312
+ document: string;
313
+ video: string;
314
314
  pageLink?: {
315
- pageId: any;
315
+ pageId: string;
316
316
  };
317
- audio: any;
317
+ audio: string;
318
318
  variants: {
319
- name: any;
320
- value: any;
321
- image: any;
319
+ name: string;
320
+ value: string;
321
+ image: string;
322
322
  }[];
323
323
  mainVariant?: {
324
- name: any;
325
- value: any;
326
- image: any;
324
+ name: string;
325
+ value: string;
326
+ image: string;
327
327
  };
328
- guid: any;
328
+ guid: string;
329
329
  }[];
330
330
  }
331
331
  export interface QueryProductsResponseNonNullableFields {
332
332
  products: {
333
- _id: any;
334
- collectionId: any;
335
- image: any;
336
- document: any;
337
- video: any;
333
+ _id: string;
334
+ collectionId: string;
335
+ image: string;
336
+ document: string;
337
+ video: string;
338
338
  pageLink?: {
339
- pageId: any;
339
+ pageId: string;
340
340
  };
341
- audio: any;
341
+ audio: string;
342
342
  variants: {
343
- name: any;
344
- value: any;
345
- image: any;
343
+ name: string;
344
+ value: string;
345
+ image: string;
346
346
  }[];
347
347
  mainVariant?: {
348
- name: any;
349
- value: any;
350
- image: any;
348
+ name: string;
349
+ value: string;
350
+ image: string;
351
351
  };
352
- guid: any;
352
+ guid: string;
353
353
  }[];
354
354
  }
355
- export declare type Product = {
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: any;
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: any;
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.27",
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": "9a71153fdc239825e457f9b7d0352ad7df04c812d4c2fb1892a38f07"
36
+ "falconPackageHash": "aec935a073c86c6207311bd9b441c4e0296c073d66490867529a06e4"
37
37
  }