samls-js-integration 1.0.56 → 1.0.58
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/Common/GlobalQueryModel.d.ts +2 -2
- package/dist/Common/GlobalQueryModel.js +2 -2
- package/dist/Polygon/PolygonLiteResponseModel.d.ts +1 -0
- package/dist/Polygon/PolygonLiteResponseModel.js +4 -1
- package/dist/Polygon/PolygonResponseModel.d.ts +9 -0
- package/dist/Polygon/PolygonResponseModel.js +17 -0
- package/dist/Polygon/PolygonsQueryModel.d.ts +9 -0
- package/dist/Polygon/PolygonsQueryModel.js +16 -0
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ConditionModel, OrderingModel } from '../PData';
|
|
2
2
|
export declare class GlobalQueryModel {
|
|
3
|
+
fields: string[];
|
|
4
|
+
count: boolean;
|
|
3
5
|
skip: number | null;
|
|
4
6
|
take: number | null;
|
|
5
|
-
count: boolean;
|
|
6
7
|
filter: string | null;
|
|
7
8
|
order: OrderingModel[] | null;
|
|
8
9
|
conditions: ConditionModel[] | null;
|
|
9
|
-
fields: string[];
|
|
10
10
|
constructor(data?: Partial<GlobalQueryModel>);
|
|
11
11
|
}
|
|
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.GlobalQueryModel = void 0;
|
|
4
4
|
class GlobalQueryModel {
|
|
5
5
|
constructor(data) {
|
|
6
|
+
this.fields = [];
|
|
7
|
+
this.count = false;
|
|
6
8
|
this.skip = 0;
|
|
7
9
|
this.take = 10;
|
|
8
|
-
this.count = false;
|
|
9
10
|
this.filter = null;
|
|
10
11
|
this.order = null;
|
|
11
12
|
this.conditions = null;
|
|
12
|
-
this.fields = [];
|
|
13
13
|
if (data) {
|
|
14
14
|
Object.assign(this, data);
|
|
15
15
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PolygonLiteResponseModel = void 0;
|
|
4
4
|
class PolygonLiteResponseModel {
|
|
5
|
-
constructor() {
|
|
5
|
+
constructor(data) {
|
|
6
6
|
this.id = 0;
|
|
7
7
|
this.name = '';
|
|
8
8
|
this.shortName = '';
|
|
@@ -16,6 +16,9 @@ class PolygonLiteResponseModel {
|
|
|
16
16
|
this.zip = '';
|
|
17
17
|
this.weight = 0;
|
|
18
18
|
this.stateShortName = '';
|
|
19
|
+
if (data) {
|
|
20
|
+
Object.assign(this, data);
|
|
21
|
+
}
|
|
19
22
|
}
|
|
20
23
|
}
|
|
21
24
|
exports.PolygonLiteResponseModel = PolygonLiteResponseModel;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Geometry } from 'geojson';
|
|
2
|
+
import { GeometryTypeEnum } from '../Enums';
|
|
3
|
+
import { PolygonLiteResponseModel } from './PolygonLiteResponseModel';
|
|
4
|
+
export declare class PolygonResponseModel extends PolygonLiteResponseModel {
|
|
5
|
+
FIPSCode: string | null;
|
|
6
|
+
geometry: Geometry | null;
|
|
7
|
+
type: GeometryTypeEnum;
|
|
8
|
+
constructor(data?: Partial<PolygonResponseModel>, extendedData?: Partial<PolygonLiteResponseModel>);
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PolygonResponseModel = void 0;
|
|
4
|
+
const Enums_1 = require("../Enums");
|
|
5
|
+
const PolygonLiteResponseModel_1 = require("./PolygonLiteResponseModel");
|
|
6
|
+
class PolygonResponseModel extends PolygonLiteResponseModel_1.PolygonLiteResponseModel {
|
|
7
|
+
constructor(data, extendedData) {
|
|
8
|
+
super(extendedData);
|
|
9
|
+
this.FIPSCode = null; //TODO not lowerCased
|
|
10
|
+
this.geometry = null;
|
|
11
|
+
this.type = Enums_1.GeometryTypeEnum.Zip;
|
|
12
|
+
if (data) {
|
|
13
|
+
Object.assign(this, data);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.PolygonResponseModel = PolygonResponseModel;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OrderingModel, ConditionModel } from '../PData';
|
|
2
|
+
export declare class PolygonsQueryModel {
|
|
3
|
+
count: boolean;
|
|
4
|
+
skip: number | null;
|
|
5
|
+
take: number | null;
|
|
6
|
+
orderings: OrderingModel[] | null;
|
|
7
|
+
conditions: ConditionModel[] | null;
|
|
8
|
+
constructor(data?: Partial<PolygonsQueryModel>);
|
|
9
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PolygonsQueryModel = void 0;
|
|
4
|
+
class PolygonsQueryModel {
|
|
5
|
+
constructor(data) {
|
|
6
|
+
this.count = false;
|
|
7
|
+
this.skip = 0;
|
|
8
|
+
this.take = 10;
|
|
9
|
+
this.orderings = null;
|
|
10
|
+
this.conditions = null;
|
|
11
|
+
if (data) {
|
|
12
|
+
Object.assign(this, data);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.PolygonsQueryModel = PolygonsQueryModel;
|