@mivis/petmart-api 1.2.128 → 1.2.129
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/package.json +1 -1
- package/type.d.ts +36 -6
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -460,11 +460,11 @@ declare namespace Components {
|
|
|
460
460
|
|
|
461
461
|
export interface IBankingDetails {
|
|
462
462
|
name: string;
|
|
463
|
-
INN:
|
|
464
|
-
BIK:
|
|
465
|
-
KPP:
|
|
466
|
-
PC:
|
|
467
|
-
KC:
|
|
463
|
+
INN: string;
|
|
464
|
+
BIK: string;
|
|
465
|
+
KPP: string;
|
|
466
|
+
PC: string;
|
|
467
|
+
KC: string;
|
|
468
468
|
legal_address: string;
|
|
469
469
|
}
|
|
470
470
|
|
|
@@ -582,8 +582,11 @@ declare namespace Components {
|
|
|
582
582
|
|
|
583
583
|
export interface ISellerInfo {
|
|
584
584
|
name: string;
|
|
585
|
+
surname: string;
|
|
586
|
+
patronymic?: string;
|
|
585
587
|
email: string;
|
|
586
588
|
tel: number;
|
|
589
|
+
type: ESellerTypes;
|
|
587
590
|
}
|
|
588
591
|
|
|
589
592
|
export interface ICreateSellerInfo extends ISellerInfo {
|
|
@@ -606,9 +609,10 @@ declare namespace Components {
|
|
|
606
609
|
surname: string;
|
|
607
610
|
patronymic?: string;
|
|
608
611
|
tel: number;
|
|
609
|
-
INN:
|
|
612
|
+
INN: string;
|
|
610
613
|
shop_name: string;
|
|
611
614
|
send_email?: boolean;
|
|
615
|
+
opt_otch: boolean;
|
|
612
616
|
}
|
|
613
617
|
|
|
614
618
|
export interface IUpdateSellerRequest {
|
|
@@ -1282,5 +1286,31 @@ declare namespace Components {
|
|
|
1282
1286
|
ogrn: string;
|
|
1283
1287
|
type: ESellerLegalTypes;
|
|
1284
1288
|
}
|
|
1289
|
+
|
|
1290
|
+
export interface IGetInfoOfPhysicRequest {
|
|
1291
|
+
name: string;
|
|
1292
|
+
surname: string;
|
|
1293
|
+
patronymic?: string;
|
|
1294
|
+
birthday: Date;
|
|
1295
|
+
passport_details: string;
|
|
1296
|
+
opt_otch: boolean;
|
|
1297
|
+
INN: string;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
export interface IGetInfoOfPhysicResponse {
|
|
1301
|
+
inn?: string;
|
|
1302
|
+
captcha_required: boolean;
|
|
1303
|
+
code: string; // 0 - Не найден, 1 - Все окей
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
export interface ICheckSellerDataForCorrectness {
|
|
1307
|
+
name: string;
|
|
1308
|
+
surname: string;
|
|
1309
|
+
patronymic?: string;
|
|
1310
|
+
opt_otch: boolean;
|
|
1311
|
+
INN: string;
|
|
1312
|
+
birthday: Date;
|
|
1313
|
+
passport_details: string;
|
|
1314
|
+
}
|
|
1285
1315
|
}
|
|
1286
1316
|
}
|