@mivis/petmart-api 1.2.130 → 1.2.132

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 +13 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.130",
3
+ "version": "1.2.132",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -587,6 +587,7 @@ declare namespace Components {
587
587
  email: string;
588
588
  tel: number;
589
589
  type: ESellerTypes;
590
+ opt_otch: boolean;
590
591
  }
591
592
 
592
593
  export interface ICreateSellerInfo extends ISellerInfo {
@@ -1278,6 +1279,7 @@ declare namespace Components {
1278
1279
  export interface ISellerAdditionalInfo {
1279
1280
  passport_details?: string;
1280
1281
  passport_photo?: string;
1282
+ card_number?: string;
1281
1283
  }
1282
1284
 
1283
1285
  export interface ISellerCompanyInfo {
@@ -1314,9 +1316,17 @@ declare namespace Components {
1314
1316
  }
1315
1317
 
1316
1318
  export enum ECheckSellerDataErrors {
1317
- 'INVALID_PASSPORT' = 'Недействительный паспорт',
1318
- 'INCORRECT_INN' = 'Неверный ИНН',
1319
- 'INN_NOT_FOUND' = 'Информация об ИНН не найдена',
1319
+ 'INVALID_PASSPORT' = 'INVALID_PASSPORT',
1320
+ 'INCORRECT_INN' = 'INCORRECT_INN',
1321
+ 'INN_NOT_FOUND' = 'INN_NOT_FOUND',
1322
+ }
1323
+
1324
+ export interface IAdminCreatePhysicalSellerRequest
1325
+ extends IAdminCreateSellerRequest {
1326
+ birthday: Date;
1327
+ passport_details: string;
1328
+ passport_photo: File | File[];
1329
+ card_number?: string;
1320
1330
  }
1321
1331
  }
1322
1332
  }