@infrab4a/connect 4.22.1-beta.0 → 4.22.1-beta.1
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
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
import { BaseModel, GenericIdentifier } from '../../generic/model/base.model';
|
|
2
2
|
export declare class ShippingMethod extends BaseModel<ShippingMethod> {
|
|
3
|
-
id
|
|
4
|
-
|
|
3
|
+
id?: string;
|
|
4
|
+
cnpj: string;
|
|
5
5
|
DaysToDelivery: number;
|
|
6
|
-
MaxGrams
|
|
7
|
-
MinGrams
|
|
8
|
-
ServiceCompanyRangeId
|
|
9
|
-
ShippingCompanyId
|
|
6
|
+
MaxGrams?: number;
|
|
7
|
+
MinGrams?: number;
|
|
8
|
+
ServiceCompanyRangeId?: number;
|
|
9
|
+
ShippingCompanyId?: number;
|
|
10
10
|
ShippingCompanyName: string;
|
|
11
11
|
ShippingPrice: number;
|
|
12
|
-
State
|
|
13
|
-
ZipEnd
|
|
14
|
-
ZipStart
|
|
12
|
+
State?: string;
|
|
13
|
+
ZipEnd?: number;
|
|
14
|
+
ZipStart?: number;
|
|
15
15
|
invoiceNumber?: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
additionalDescription?: string;
|
|
18
|
+
serviceCode?: string;
|
|
19
|
+
isSubscriptionAddress?: boolean;
|
|
16
20
|
static get identifiersFields(): GenericIdentifier[];
|
|
17
21
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type ShippingMethodResponse = {
|
|
2
|
+
daysToDelivery: number;
|
|
3
|
+
currency?: string;
|
|
4
|
+
description: string;
|
|
5
|
+
maxDeliveryDate: string;
|
|
6
|
+
minDeliveryDate: string;
|
|
7
|
+
serviceCode: string;
|
|
8
|
+
serviceName: string;
|
|
9
|
+
totalPrice: number;
|
|
10
|
+
additionalDescription?: string;
|
|
11
|
+
cnpj?: string;
|
|
12
|
+
ShippingCompanyName?: string;
|
|
13
|
+
};
|
|
@@ -2,5 +2,6 @@ import { Address } from '../../location/models/address';
|
|
|
2
2
|
export type UserAddressIdentifiers = 'id' | 'userId';
|
|
3
3
|
export declare class UserAddress extends Address<UserAddress, UserAddressIdentifiers> {
|
|
4
4
|
userId: string;
|
|
5
|
+
subscription?: boolean;
|
|
5
6
|
static get identifiersFields(): UserAddressIdentifiers[];
|
|
6
7
|
}
|