@mivis/petmart-api 1.2.51 → 1.2.53
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 +76 -0
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -602,6 +602,82 @@ declare namespace Components {
|
|
|
602
602
|
invoice: string;
|
|
603
603
|
}
|
|
604
604
|
|
|
605
|
+
export interface IGetCDEKOffices {
|
|
606
|
+
weight_max: string;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
export interface ICDEKOffice {
|
|
610
|
+
code: string;
|
|
611
|
+
name: string;
|
|
612
|
+
uuid: string;
|
|
613
|
+
address_comment: string;
|
|
614
|
+
nearest_metro_station: string;
|
|
615
|
+
work_time: string;
|
|
616
|
+
phones: [
|
|
617
|
+
{
|
|
618
|
+
number: string;
|
|
619
|
+
}
|
|
620
|
+
];
|
|
621
|
+
email: string;
|
|
622
|
+
note: string;
|
|
623
|
+
type: string;
|
|
624
|
+
owner_code: string;
|
|
625
|
+
take_only: boolean;
|
|
626
|
+
is_handout: boolean;
|
|
627
|
+
is_reception: boolean;
|
|
628
|
+
is_dressing_room: boolean;
|
|
629
|
+
is_ltl: boolean;
|
|
630
|
+
have_cashless: boolean;
|
|
631
|
+
have_cash: boolean;
|
|
632
|
+
allowed_cod: boolean;
|
|
633
|
+
site: string;
|
|
634
|
+
work_time_list: [
|
|
635
|
+
{
|
|
636
|
+
day: number;
|
|
637
|
+
time: string;
|
|
638
|
+
}
|
|
639
|
+
];
|
|
640
|
+
weight_min: number;
|
|
641
|
+
weight_max: number;
|
|
642
|
+
location: {
|
|
643
|
+
country_code: string;
|
|
644
|
+
region_code: number;
|
|
645
|
+
region: string;
|
|
646
|
+
city_code: number;
|
|
647
|
+
city: string;
|
|
648
|
+
fias_guid: string;
|
|
649
|
+
postal_code: string;
|
|
650
|
+
longitude: number;
|
|
651
|
+
latitude: number;
|
|
652
|
+
address: string;
|
|
653
|
+
address_full: string;
|
|
654
|
+
};
|
|
655
|
+
fulfillment: boolean;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
export interface GetDeliverySum {
|
|
659
|
+
address: string;
|
|
660
|
+
type: ERecieveMethod.COURIER | ERecieveMethod.PVZ;
|
|
661
|
+
items: IOrderItem[];
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
export interface IDeliverySum {
|
|
665
|
+
delivery_sum: number;
|
|
666
|
+
period_min: number;
|
|
667
|
+
period_max: number;
|
|
668
|
+
calendar_min: number;
|
|
669
|
+
calendar_max: number;
|
|
670
|
+
weight_calc: number;
|
|
671
|
+
services: [
|
|
672
|
+
{
|
|
673
|
+
code: string;
|
|
674
|
+
sum: number;
|
|
675
|
+
}
|
|
676
|
+
];
|
|
677
|
+
total_sum: number;
|
|
678
|
+
currency: string;
|
|
679
|
+
}
|
|
680
|
+
|
|
605
681
|
export interface IOrder {
|
|
606
682
|
sum: number;
|
|
607
683
|
weight: number;
|