@mivis/petmart-api 1.2.220 → 1.2.222

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 +15 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.220",
3
+ "version": "1.2.222",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -1256,6 +1256,7 @@ declare namespace Components {
1256
1256
  export enum EReviewEntityType {
1257
1257
  PRODUCT = 'PRODUCT',
1258
1258
  HORSE = 'HORSE',
1259
+ SERVICE = 'SERVICE',
1259
1260
  }
1260
1261
 
1261
1262
  export enum ECreatorType {
@@ -1560,7 +1561,7 @@ declare namespace Components {
1560
1561
  reason_of_cancel: EReasonOfCancel;
1561
1562
  }
1562
1563
 
1563
- export interface IUserRandomProductQueryRequest {
1564
+ export interface IUserRandomProductQueryRequest extends OptionalUserQuery {
1564
1565
  size: string;
1565
1566
  category_id?: string;
1566
1567
  }
@@ -2182,5 +2183,18 @@ declare namespace Components {
2182
2183
  }
2183
2184
 
2184
2185
  // Services (Услуги) - Конец
2186
+
2187
+ export interface OptionalUserQuery {
2188
+ user_id?: string;
2189
+ }
2190
+
2191
+ export interface OptionalLocationQuery {
2192
+ lat?: string;
2193
+ lng?: string;
2194
+ }
2195
+
2196
+ export interface OptionalUserLocationQuery
2197
+ extends OptionalUserQuery,
2198
+ OptionalLocationQuery {}
2185
2199
  }
2186
2200
  }