samls-js-integration 1.1.19 → 1.1.21
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/dist/Polygon/PolygonByWeigthResponse.model.d.ts +1 -0
- package/dist/Polygon/PolygonByWeigthResponse.model.js +2 -1
- package/dist/Polygon/PolygonLiteResponse.model.d.ts +2 -0
- package/dist/Polygon/PolygonLiteResponse.model.js +2 -0
- package/dist/Polygon/PolygonResponse.model.d.ts +0 -2
- package/dist/Polygon/PolygonResponse.model.js +0 -2
- package/package.json +1 -1
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PolygonByWeightRequestModel = void 0;
|
|
4
4
|
class PolygonByWeightRequestModel {
|
|
5
|
-
constructor() {
|
|
5
|
+
constructor(data) {
|
|
6
6
|
this.skip = 0;
|
|
7
7
|
this.take = 10;
|
|
8
8
|
this.states = [];
|
|
9
9
|
this.skipNullUrlKey = true;
|
|
10
10
|
this.skipNullGeometry = true;
|
|
11
11
|
this.types = [];
|
|
12
|
+
data && Object.assign(this, data);
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
exports.PolygonByWeightRequestModel = PolygonByWeightRequestModel;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { GeometryTypeEnum } from '../Enums';
|
|
1
2
|
export declare class PolygonLiteResponseModel {
|
|
2
3
|
id: number;
|
|
3
4
|
name: string;
|
|
@@ -12,5 +13,6 @@ export declare class PolygonLiteResponseModel {
|
|
|
12
13
|
zip: string;
|
|
13
14
|
weight: number;
|
|
14
15
|
stateShortName: string;
|
|
16
|
+
type: GeometryTypeEnum;
|
|
15
17
|
constructor(data?: Partial<PolygonLiteResponseModel>);
|
|
16
18
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PolygonLiteResponseModel = void 0;
|
|
4
|
+
const Enums_1 = require("../Enums");
|
|
4
5
|
class PolygonLiteResponseModel {
|
|
5
6
|
constructor(data) {
|
|
6
7
|
this.id = 0;
|
|
@@ -16,6 +17,7 @@ class PolygonLiteResponseModel {
|
|
|
16
17
|
this.zip = '';
|
|
17
18
|
this.weight = 0;
|
|
18
19
|
this.stateShortName = '';
|
|
20
|
+
this.type = Enums_1.GeometryTypeEnum.Zip;
|
|
19
21
|
if (data) {
|
|
20
22
|
Object.assign(this, data);
|
|
21
23
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { Geometry } from 'geojson';
|
|
2
|
-
import { GeometryTypeEnum } from '../Enums';
|
|
3
2
|
import { PolygonLiteResponseModel } from './PolygonLiteResponse.model';
|
|
4
3
|
export declare class PolygonResponseModel extends PolygonLiteResponseModel {
|
|
5
4
|
fipsCode: string | null;
|
|
6
5
|
geometry: Geometry | null;
|
|
7
|
-
type: GeometryTypeEnum;
|
|
8
6
|
constructor(data?: Partial<PolygonResponseModel>, extendedData?: Partial<PolygonLiteResponseModel>);
|
|
9
7
|
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PolygonResponseModel = void 0;
|
|
4
|
-
const Enums_1 = require("../Enums");
|
|
5
4
|
const PolygonLiteResponse_model_1 = require("./PolygonLiteResponse.model");
|
|
6
5
|
class PolygonResponseModel extends PolygonLiteResponse_model_1.PolygonLiteResponseModel {
|
|
7
6
|
constructor(data, extendedData) {
|
|
8
7
|
super(extendedData);
|
|
9
8
|
this.fipsCode = null;
|
|
10
9
|
this.geometry = null;
|
|
11
|
-
this.type = Enums_1.GeometryTypeEnum.Zip;
|
|
12
10
|
if (data) {
|
|
13
11
|
Object.assign(this, data);
|
|
14
12
|
}
|