@shipengine/js-api 0.40.0 → 1.0.0-next.0
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/account-settings/api.d.ts +2 -14
- package/account-settings/types.d.ts +2 -6
- package/addresses/api.d.ts +0 -11
- package/carriers/api.d.ts +2 -74
- package/carriers/types.d.ts +3 -22
- package/client.d.ts +1 -129
- package/custom-packages/api.d.ts +0 -6
- package/dimensions/types.d.ts +0 -5
- package/errors/types.d.ts +2 -2
- package/index.d.ts +0 -5
- package/index.js +16 -4074
- package/index.mjs +2829 -3936
- package/insurance/api.d.ts +0 -7
- package/labels/api.d.ts +0 -51
- package/order-sources/api.d.ts +0 -13
- package/package.json +2 -5
- package/rates/api.d.ts +0 -26
- package/resources/types.d.ts +0 -34
- package/sales-order-shipments/api.d.ts +5 -90
- package/sales-orders/api.d.ts +0 -25
- package/shipments/index.d.ts +0 -1
- package/shipments/types.d.ts +0 -13
- package/types.d.ts +0 -8
- package/warehouses/api.d.ts +0 -19
- package/account-billing-plan/api.d.ts +0 -13
- package/account-billing-plan/index.d.ts +0 -2
- package/account-billing-plan/types.d.ts +0 -30
- package/funding-sources/api.d.ts +0 -50
- package/funding-sources/index.d.ts +0 -2
- package/funding-sources/types.d.ts +0 -135
- package/rate-cards/api.d.ts +0 -44
- package/rate-cards/index.d.ts +0 -2
- package/rate-cards/types.d.ts +0 -88
- package/shipments/api.d.ts +0 -72
- package/shipping-rules/api.d.ts +0 -20
- package/shipping-rules/index.d.ts +0 -2
- package/shipping-rules/types.d.ts +0 -50
- package/utilities/index.d.ts +0 -1
- package/utilities/ip-address.d.ts +0 -1
- package/weight-band/index.d.ts +0 -1
- package/weight-band/types.d.ts +0 -17
- package/zones/index.d.ts +0 -1
- package/zones/types.d.ts +0 -7
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* An encoded device fingerprint string containing information about the end-user's computing device such as OS, browser, etc.
|
|
3
|
-
* Required for carrier registration and US Wallet creation.
|
|
4
|
-
*/
|
|
5
|
-
type IovationBlackBox = string;
|
|
6
|
-
export type CreateFundingSource = {
|
|
7
|
-
acceptedTerms: Term[];
|
|
8
|
-
agreeToTerms: boolean;
|
|
9
|
-
billingInfo: FundingSourceAddress;
|
|
10
|
-
iovationBlackBox: IovationBlackBox;
|
|
11
|
-
paymentMethod: {
|
|
12
|
-
creditCardInfo: CreditCardInfo;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export type FundingSource = {
|
|
16
|
-
currencyCode: string;
|
|
17
|
-
fundingSourceId: string;
|
|
18
|
-
paymentMethod: {
|
|
19
|
-
creditCardInfo: AbbreviatedCreditCardInfo | null;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export type AbbreviatedCreditCardInfo = {
|
|
23
|
-
cardNumberLastFour: string;
|
|
24
|
-
provider: Provider;
|
|
25
|
-
};
|
|
26
|
-
export type Provider = "visa" | "mastercard" | "americanExpress" | "discover";
|
|
27
|
-
export interface CarrierRegistration {
|
|
28
|
-
carriers: [
|
|
29
|
-
{
|
|
30
|
-
acceptedTerms: Term[];
|
|
31
|
-
agreeToTerms: boolean;
|
|
32
|
-
carrierCode: string;
|
|
33
|
-
fundingSourceId: string;
|
|
34
|
-
iovationBlackBox: IovationBlackBox;
|
|
35
|
-
pickupAddress?: FundingSourceAddress;
|
|
36
|
-
}
|
|
37
|
-
];
|
|
38
|
-
}
|
|
39
|
-
export interface FundingSourceAddress {
|
|
40
|
-
addressLine1: string;
|
|
41
|
-
addressLine2?: string;
|
|
42
|
-
cityLocality: string;
|
|
43
|
-
company: string;
|
|
44
|
-
countryCode: string;
|
|
45
|
-
email: string;
|
|
46
|
-
fullName: string;
|
|
47
|
-
phone: string;
|
|
48
|
-
postalCode: string;
|
|
49
|
-
stateProvince: string;
|
|
50
|
-
}
|
|
51
|
-
export interface CreditCardInfo {
|
|
52
|
-
cardNumber: string;
|
|
53
|
-
cvv: string;
|
|
54
|
-
expirationMonth: number;
|
|
55
|
-
expirationYear: number;
|
|
56
|
-
name: string;
|
|
57
|
-
provider: Provider;
|
|
58
|
-
}
|
|
59
|
-
export interface Term {
|
|
60
|
-
termType: string;
|
|
61
|
-
version: string;
|
|
62
|
-
}
|
|
63
|
-
export type MetadataRequiredTerm = {
|
|
64
|
-
termType: string;
|
|
65
|
-
version: string;
|
|
66
|
-
};
|
|
67
|
-
export declare enum MetadataCapability {
|
|
68
|
-
AutoFunding = "auto_funding",
|
|
69
|
-
UpdatePaymentMethod = "update_payment_method",
|
|
70
|
-
DefaultPurchaseAmount = "default_purchase_amount",
|
|
71
|
-
ReportsLink = "reports_link",
|
|
72
|
-
BalanceHistory = "balance_history",
|
|
73
|
-
Nickname = "nickname",
|
|
74
|
-
RefreshServices = "refresh_services",
|
|
75
|
-
UpdatePassword = "update_password",
|
|
76
|
-
AccountSettingsLink = "account_settings_link",
|
|
77
|
-
Unknown = "unknown"
|
|
78
|
-
}
|
|
79
|
-
export declare enum MetadataRequirement {
|
|
80
|
-
BillingAddress = "billing_address",
|
|
81
|
-
CurrencyCode = "currency_code",
|
|
82
|
-
IovationBlackBox = "iovation_black_box",
|
|
83
|
-
Nickname = "nickname",
|
|
84
|
-
PaymentMethod = "payment_method",
|
|
85
|
-
PickupAddress = "pickup_address",
|
|
86
|
-
Unknown = "unknown"
|
|
87
|
-
}
|
|
88
|
-
export declare enum MetadataSatisfyingFormTypes {
|
|
89
|
-
Address = "address",
|
|
90
|
-
CreditCard = "credit_card",
|
|
91
|
-
StampsAccountCredentials = "stamps_account_credentials",
|
|
92
|
-
StampSellerLabelProvider = "stamps_seller_label_provider",
|
|
93
|
-
Unknown = "unknown"
|
|
94
|
-
}
|
|
95
|
-
export type MetadataRegistrationRequirement = {
|
|
96
|
-
requirementType: MetadataRequirement;
|
|
97
|
-
satisfyingFormTypes: MetadataSatisfyingFormTypes[];
|
|
98
|
-
};
|
|
99
|
-
export interface CarrierRegistrationResponse {
|
|
100
|
-
carrierAttachmentResults: [
|
|
101
|
-
{
|
|
102
|
-
carrierId: string;
|
|
103
|
-
errorMessage: string;
|
|
104
|
-
fundingSourceId: string;
|
|
105
|
-
isSuccessful: boolean;
|
|
106
|
-
nickname: string;
|
|
107
|
-
}
|
|
108
|
-
];
|
|
109
|
-
}
|
|
110
|
-
export interface MetadataResponse {
|
|
111
|
-
defaultFundingSourceProfile: {
|
|
112
|
-
capabilities: MetadataCapability[] | null;
|
|
113
|
-
countryCode: string;
|
|
114
|
-
currencyCode: string;
|
|
115
|
-
registrationRequirements: MetadataRegistrationRequirement[];
|
|
116
|
-
requiredTerms: MetadataRequiredTerm[];
|
|
117
|
-
};
|
|
118
|
-
defaultRegionProfile: {
|
|
119
|
-
carrierProfiles: Array<{
|
|
120
|
-
capabilities: MetadataCapability[] | null;
|
|
121
|
-
carrierCode: string;
|
|
122
|
-
registrationRequirements: MetadataRegistrationRequirement[];
|
|
123
|
-
requiredTerms: MetadataRequiredTerm[];
|
|
124
|
-
}>;
|
|
125
|
-
countryCode: string;
|
|
126
|
-
currencyCode: string;
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
export type AddFundsResponse = {
|
|
130
|
-
balance: {
|
|
131
|
-
amount: number;
|
|
132
|
-
currency: string;
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
export {};
|
package/rate-cards/api.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { AxiosInstance } from "axios";
|
|
2
|
-
import { RateCard, RateCardInput } from "./types";
|
|
3
|
-
/**
|
|
4
|
-
* # Rate Cards API module - /v1/rate_cards
|
|
5
|
-
*/
|
|
6
|
-
export declare class RateCardsAPI {
|
|
7
|
-
private client;
|
|
8
|
-
constructor(client: AxiosInstance);
|
|
9
|
-
/**
|
|
10
|
-
* The `list` method retrieves a list of rate cards for a given list of carrier ID's.
|
|
11
|
-
*/
|
|
12
|
-
list: (carrierIds: string[]) => Promise<import("axios").AxiosResponse<{
|
|
13
|
-
rateCards: RateCard[];
|
|
14
|
-
}, any>>;
|
|
15
|
-
/**
|
|
16
|
-
* The `get` method retrieves a specific rate card by `rateCardId`.
|
|
17
|
-
*/
|
|
18
|
-
get: (rateCardId: string) => Promise<import("axios").AxiosResponse<RateCard, any>>;
|
|
19
|
-
/**
|
|
20
|
-
* The `create` method creates a new rate card for a given user.
|
|
21
|
-
*/
|
|
22
|
-
create: (rateCardInput: RateCardInput) => Promise<import("axios").AxiosResponse<RateCard, any>>;
|
|
23
|
-
/**
|
|
24
|
-
* The `update` method updates a specific rate card by `rateCardId` with a new
|
|
25
|
-
* `RateCard`.
|
|
26
|
-
*/
|
|
27
|
-
update: (rateCard: RateCard) => Promise<import("axios").AxiosResponse<RateCard, any>>;
|
|
28
|
-
/**
|
|
29
|
-
* The `download` method allows for downloading a given rate card by `rateCardId`.
|
|
30
|
-
*/
|
|
31
|
-
download: (rateCardId: string) => Promise<import("axios").AxiosResponse<Blob, any>>;
|
|
32
|
-
/**
|
|
33
|
-
* The `upload` method allows for uploading a given rate card as a spreadsheet file.
|
|
34
|
-
*/
|
|
35
|
-
upload: (rateCardId: string, file: File) => Promise<import("axios").AxiosResponse<RateCard, any>>;
|
|
36
|
-
/**
|
|
37
|
-
* The `publish` method allows for publishing a given rate card by `rateCardId`.
|
|
38
|
-
*/
|
|
39
|
-
publish: (rateCardId: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
40
|
-
/**
|
|
41
|
-
* @description https://auctane.atlassian.net/wiki/spaces/TE/pages/3837431603/Inc+1+3.+Rate+Card+Details#Delete-Rate-Card
|
|
42
|
-
*/
|
|
43
|
-
delete: (rateCardId: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
44
|
-
}
|
package/rate-cards/index.d.ts
DELETED
package/rate-cards/types.d.ts
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { CarrierService, PackageRatingType } from "../carriers";
|
|
2
|
-
import { Currency } from "../payments";
|
|
3
|
-
import { ISOString } from "../resources";
|
|
4
|
-
import { WeightBandIncremental, WeightBandMinMax } from "../weight-band";
|
|
5
|
-
import { Zone } from "../zones";
|
|
6
|
-
/**
|
|
7
|
-
* @category Entities
|
|
8
|
-
*/
|
|
9
|
-
export interface ShipFromLocation {
|
|
10
|
-
countryCode: string;
|
|
11
|
-
postalCode?: string;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @category Entities
|
|
15
|
-
*/
|
|
16
|
-
export type SurchargeType = "percentage" | "fixed";
|
|
17
|
-
/**
|
|
18
|
-
* @category Entities
|
|
19
|
-
*/
|
|
20
|
-
export interface RateSurcharge {
|
|
21
|
-
name: string;
|
|
22
|
-
type: SurchargeType;
|
|
23
|
-
value: number;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* @category Entities
|
|
27
|
-
*/
|
|
28
|
-
export type RateService = Pick<CarrierService, "serviceCode" | "name"> & {
|
|
29
|
-
surcharges?: RateSurcharge[];
|
|
30
|
-
zones?: RateZone[];
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* @category Entities
|
|
34
|
-
*/
|
|
35
|
-
export type RateZone = Zone & {
|
|
36
|
-
packageTypes?: RatePackageType[];
|
|
37
|
-
surcharges?: RateSurcharge[];
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* @category Entities
|
|
41
|
-
*/
|
|
42
|
-
export type RateWeightBandMinMax = WeightBandMinMax & {
|
|
43
|
-
rate?: number;
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* @category Entities
|
|
47
|
-
*/
|
|
48
|
-
export type RateWeightBandIncremental = WeightBandIncremental & {
|
|
49
|
-
rate?: number;
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
* @category Entities
|
|
53
|
-
*/
|
|
54
|
-
export type RatePackageType = Pick<PackageRatingType, "packageId" | "name" | "description" | "dimensions" | "maxWeight" | "carrierPackageTypeCode"> & {
|
|
55
|
-
weightBands?: {
|
|
56
|
-
incrementalBands?: RateWeightBandIncremental[];
|
|
57
|
-
minMaxBands?: RateWeightBandMinMax[];
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
/**
|
|
61
|
-
* @category Entities
|
|
62
|
-
*/
|
|
63
|
-
export declare enum RateCardStatus {
|
|
64
|
-
DRAFT = "Draft",
|
|
65
|
-
DELETED = "Deleted",
|
|
66
|
-
PUBLISHED = "Published"
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* @category Entities
|
|
70
|
-
*/
|
|
71
|
-
export interface RateCard {
|
|
72
|
-
carrierId: string;
|
|
73
|
-
createdAt?: ISOString;
|
|
74
|
-
currency?: Currency;
|
|
75
|
-
endDate?: ISOString;
|
|
76
|
-
id: string;
|
|
77
|
-
name: string;
|
|
78
|
-
publishedAt?: ISOString;
|
|
79
|
-
services?: RateService[];
|
|
80
|
-
shipFrom?: ShipFromLocation;
|
|
81
|
-
startDate?: ISOString;
|
|
82
|
-
status?: RateCardStatus;
|
|
83
|
-
surcharges?: RateSurcharge[];
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* @category Entities
|
|
87
|
-
*/
|
|
88
|
-
export type RateCardInput = Partial<RateCard> & Pick<RateCard, "carrierId" | "name">;
|
package/shipments/api.d.ts
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { AxiosInstance } from "axios";
|
|
2
|
-
import { BatchableQuery, CreationRangeQuery, ModificationRangeQuery, PageableQuery, PageableResult, SortableQuery, TaggableQuery } from "../resources";
|
|
3
|
-
import { Shipment, ShipmentRateResponse, ShipmentStatus } from "./types";
|
|
4
|
-
/**
|
|
5
|
-
* # Shipments - Get Shipment Rates Options
|
|
6
|
-
*/
|
|
7
|
-
export type GetShipmentRatesOptions = {
|
|
8
|
-
/**
|
|
9
|
-
* Date to filter rates by (they must be more recent than this date if passed)
|
|
10
|
-
* @example "2019-03-12T19:24:13.657Z"
|
|
11
|
-
*/
|
|
12
|
-
createdAtStart?: string;
|
|
13
|
-
/**
|
|
14
|
-
* `shipmentId` is the unique identifier of the shipment to retrieve.
|
|
15
|
-
*/
|
|
16
|
-
shipmentId: string;
|
|
17
|
-
};
|
|
18
|
-
export type ListShipmentOptions = {
|
|
19
|
-
/**
|
|
20
|
-
* `salesOrderIds` is an array of sales order IDs to be used when listing sales
|
|
21
|
-
* orders.
|
|
22
|
-
*/
|
|
23
|
-
salesOrderId?: string;
|
|
24
|
-
/**
|
|
25
|
-
* `shipmentStatus` is the current fulfillment status of the shipment.
|
|
26
|
-
*/
|
|
27
|
-
shipmentStatus?: ShipmentStatus;
|
|
28
|
-
} & BatchableQuery & PageableQuery & CreationRangeQuery & ModificationRangeQuery & SortableQuery & TaggableQuery;
|
|
29
|
-
/**
|
|
30
|
-
* # Shipments - List Shipments Result
|
|
31
|
-
*/
|
|
32
|
-
export type ListShipmentResult = {
|
|
33
|
-
/**
|
|
34
|
-
* `shipments` is an array of shipments to be returned.
|
|
35
|
-
*/
|
|
36
|
-
shipments: Shipment[];
|
|
37
|
-
} & PageableResult;
|
|
38
|
-
/**
|
|
39
|
-
* # Shipments - Create Shipments Result
|
|
40
|
-
*/
|
|
41
|
-
export type CreateShipmentResult = {
|
|
42
|
-
/**
|
|
43
|
-
* `hasErrors` is a boolean that indicates if any errors occurred during the
|
|
44
|
-
* creation of the shipments.
|
|
45
|
-
*/
|
|
46
|
-
hasErrors: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* `shipments` is an array of shipments that were created.
|
|
49
|
-
*/
|
|
50
|
-
shipments: Shipment[];
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* # Shipments API module - /v1/shipments
|
|
54
|
-
*/
|
|
55
|
-
export declare class ShipmentsAPI {
|
|
56
|
-
private client;
|
|
57
|
-
constructor(client: AxiosInstance);
|
|
58
|
-
/**
|
|
59
|
-
* The `getShipmentRates` method retrieves rates for a given shipment by
|
|
60
|
-
* shipment ID.
|
|
61
|
-
*/
|
|
62
|
-
getShipmentRates: ({ shipmentId, createdAtStart }: GetShipmentRatesOptions) => Promise<import("axios").AxiosResponse<ShipmentRateResponse, any>>;
|
|
63
|
-
/**
|
|
64
|
-
* The `list` method retrieves a list of shipments for a given user.
|
|
65
|
-
*/
|
|
66
|
-
list: (options?: ListShipmentOptions) => Promise<import("axios").AxiosResponse<ListShipmentResult, any>>;
|
|
67
|
-
/**
|
|
68
|
-
* The `create` method allows for creating shipments based on a list of shipment
|
|
69
|
-
* items passed into this method.
|
|
70
|
-
*/
|
|
71
|
-
create: (...shipments: Partial<Omit<Shipment, "items">>[]) => Promise<import("axios").AxiosResponse<CreateShipmentResult, any>>;
|
|
72
|
-
}
|
package/shipping-rules/api.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { AxiosInstance } from "axios";
|
|
2
|
-
import { RequiredFields } from "../types";
|
|
3
|
-
import { ShippingRule } from "./types";
|
|
4
|
-
/**
|
|
5
|
-
* # Shipping Rules API module - /v1/shipping_rules
|
|
6
|
-
*/
|
|
7
|
-
export declare class ShippingRulesAPI {
|
|
8
|
-
private client;
|
|
9
|
-
constructor(client: AxiosInstance);
|
|
10
|
-
/**
|
|
11
|
-
* The `list` method retrieves the list of shipping rules by seller.
|
|
12
|
-
*/
|
|
13
|
-
list: () => Promise<import("axios").AxiosResponse<{
|
|
14
|
-
shippingRules: ShippingRule[];
|
|
15
|
-
}, any>>;
|
|
16
|
-
/**
|
|
17
|
-
* The `create` method creates a new shipping rule for a given user.
|
|
18
|
-
*/
|
|
19
|
-
create: (shippingRule: ShippingRule) => Promise<import("axios").AxiosResponse<RequiredFields<ShippingRule, "id">, any>>;
|
|
20
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { ISOString } from "../resources";
|
|
2
|
-
/**
|
|
3
|
-
* @category Entities
|
|
4
|
-
*/
|
|
5
|
-
type RuleType = "dimension" | "number_of_packages" | "ship_from_address_residential_indicator" | "ship_from_country_code" | "ship_to_address_residential_indicator" | "ship_to_country_code" | "warehouse_id" | "weight";
|
|
6
|
-
/**
|
|
7
|
-
* @category Entities
|
|
8
|
-
*/
|
|
9
|
-
type RuleTypeCondition = "is" | "is_less" | "is_more" | "is_not";
|
|
10
|
-
/**
|
|
11
|
-
* @category Entities
|
|
12
|
-
*/
|
|
13
|
-
export interface ShippingRulesConditions {
|
|
14
|
-
identifier: RuleType;
|
|
15
|
-
operation: RuleTypeCondition;
|
|
16
|
-
value: string;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* @category Entities
|
|
20
|
-
*/
|
|
21
|
-
export interface ShippingRuleSelectedService {
|
|
22
|
-
carrierId: string;
|
|
23
|
-
carrierServiceCode: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* @category Entities
|
|
27
|
-
*/
|
|
28
|
-
export interface ShippingRule {
|
|
29
|
-
active?: boolean;
|
|
30
|
-
code?: string;
|
|
31
|
-
createdAt?: ISOString;
|
|
32
|
-
default: {
|
|
33
|
-
services: ShippingRuleSelectedService[];
|
|
34
|
-
sortBy?: string;
|
|
35
|
-
};
|
|
36
|
-
deleted?: boolean;
|
|
37
|
-
deletedAt?: ISOString;
|
|
38
|
-
id?: string;
|
|
39
|
-
name: string;
|
|
40
|
-
rules?: [
|
|
41
|
-
{
|
|
42
|
-
conditions: ShippingRulesConditions[];
|
|
43
|
-
priority: number;
|
|
44
|
-
services: ShippingRuleSelectedService[];
|
|
45
|
-
sortBy?: string;
|
|
46
|
-
}
|
|
47
|
-
];
|
|
48
|
-
updatedAt?: ISOString;
|
|
49
|
-
}
|
|
50
|
-
export {};
|
package/utilities/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./ip-address";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getEndUserIpAddress: () => Promise<string | undefined>;
|
package/weight-band/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./types";
|
package/weight-band/types.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { WeightUnit } from "../weight";
|
|
2
|
-
/**
|
|
3
|
-
* @category Entities
|
|
4
|
-
*/
|
|
5
|
-
export type WeightBandIncremental = {
|
|
6
|
-
increment: number;
|
|
7
|
-
minimum: number;
|
|
8
|
-
unit: WeightUnit;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* @category Entities
|
|
12
|
-
*/
|
|
13
|
-
export type WeightBandMinMax = {
|
|
14
|
-
maximum: number;
|
|
15
|
-
minimum: number;
|
|
16
|
-
unit: WeightUnit;
|
|
17
|
-
};
|
package/zones/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./types";
|