@mivis/petmart-api 1.2.156 → 1.2.158

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/type.d.ts +23 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.156",
3
+ "version": "1.2.158",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -259,6 +259,8 @@ declare namespace Components {
259
259
  photo: string[];
260
260
  desc: string;
261
261
  characteristic: ICharacteristic[];
262
+ external_item_id: string | null;
263
+ variations: string[];
262
264
  purchases_count: number;
263
265
  viewed?: number;
264
266
  number: number;
@@ -1407,6 +1409,11 @@ declare namespace Components {
1407
1409
  sum: number;
1408
1410
  }
1409
1411
 
1412
+ export interface IAddressSuggestionRequest {
1413
+ address: string;
1414
+ isCityOnly?: 'true' | 'false';
1415
+ }
1416
+
1410
1417
  export interface IAddressSuggestion {
1411
1418
  value: string;
1412
1419
  unrestricted_value: string;
@@ -1420,6 +1427,8 @@ declare namespace Components {
1420
1427
  fias_code: null;
1421
1428
  fias_level: string;
1422
1429
  kladr_id: string;
1430
+ geo_lat: string | null;
1431
+ geo_lon: string | null;
1423
1432
  };
1424
1433
  }
1425
1434
 
@@ -1435,5 +1444,19 @@ declare namespace Components {
1435
1444
  createdAt: Date;
1436
1445
  updatedAt: Date;
1437
1446
  }
1447
+
1448
+ export interface IMoySkladLinkerRequest {
1449
+ updateData: {
1450
+ linker_id: string;
1451
+ category_id: string;
1452
+ subCategory_id: string;
1453
+ }[];
1454
+ }
1455
+
1456
+ export interface IMoySkladLinker {
1457
+ pathName: string;
1458
+ seller_id: string;
1459
+ product_ids: string[];
1460
+ }
1438
1461
  }
1439
1462
  }