b2m-utils 0.0.121 → 0.0.122

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.
@@ -1,9 +1,12 @@
1
1
  import Dates from "../Dates";
2
+ import SlaRegion from "../SlaRegion";
2
3
  import State from "../State";
3
4
  export type City = {
4
5
  id: number;
5
6
  stateId: number;
7
+ slaRegionId?: number;
6
8
  name: string;
7
9
  state: State;
10
+ slaRegion?: SlaRegion;
8
11
  } & Dates;
9
12
  export default City;
@@ -0,0 +1,11 @@
1
+ import Dates from "../Dates";
2
+ import ShippingCompany from "../ShippingCompany";
3
+ import ShippingCompanyRegionCity from "../ShippingCompanyRegionCity";
4
+ export type ShippingCompanyRegion = {
5
+ id: number;
6
+ shippingCompanyId: number;
7
+ name: string;
8
+ ShippingCompanyRegionCity?: ShippingCompanyRegionCity[];
9
+ shippingCompany?: ShippingCompany;
10
+ } & Dates;
11
+ export default ShippingCompanyRegion;
@@ -0,0 +1,11 @@
1
+ import Dates from "../Dates";
2
+ import ShippingCompany from "../ShippingCompany";
3
+ import ShippingCompanyRegion from "../ShippingCompanyRegion";
4
+ export type ShippingCompanyRegionCity = {
5
+ id: number;
6
+ shippingCompanyRegionId: number;
7
+ cityId: number;
8
+ shippingCompany?: ShippingCompany;
9
+ shippingCompanyRegion?: ShippingCompanyRegion;
10
+ } & Dates;
11
+ export default ShippingCompanyRegionCity;
@@ -0,0 +1,8 @@
1
+ import City from "../City";
2
+ import Dates from "../Dates";
3
+ export type SlaRegion = {
4
+ id: number;
5
+ name: string;
6
+ City?: City[];
7
+ } & Dates;
8
+ export default SlaRegion;
@@ -100,8 +100,14 @@ export * from './Shipowner';
100
100
  export { default as Shipowner } from './Shipowner';
101
101
  export * from './ShippingCompany';
102
102
  export { default as ShippingCompany } from './ShippingCompany';
103
+ export * from './ShippingCompanyRegion';
104
+ export { default as ShippingCompanyRegion } from './ShippingCompanyRegion';
105
+ export * from './ShippingCompanyRegionCity';
106
+ export { default as ShippingCompanyRegionCity } from './ShippingCompanyRegionCity';
103
107
  export * from './SlaFreight';
104
108
  export { default as SlaFreight } from './SlaFreight';
109
+ export * from './SlaRegion';
110
+ export { default as SlaRegion } from './SlaRegion';
105
111
  export * from './SpotStatus';
106
112
  export { default as SpotStatus } from './SpotStatus';
107
113
  export * from './State';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "b2m-utils",
3
- "version": "0.0.121",
3
+ "version": "0.0.122",
4
4
  "description": "B2M Utils",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.esm.js",