@jrojaspin/security-map-api-cli 1.8.0 → 2.0.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/package.json +3 -3
- package/src/apis/AccountApi.ts +56 -46
- package/src/apis/ArticleApi.ts +10 -6
- package/src/apis/HealthcheckApi.ts +4 -0
- package/src/apis/ItemApi.ts +359 -66
- package/src/apis/JournalApi.ts +40 -25
- package/src/apis/LocationApi.ts +61 -14
- package/src/apis/LoginApi.ts +86 -10
- package/src/apis/MapApi.ts +74 -75
- package/src/apis/MultimediaApi.ts +18 -6
- package/src/apis/OrganizationApi.ts +269 -0
- package/src/apis/ReportApi.ts +49 -23
- package/src/apis/SearchApi.ts +38 -10
- package/src/apis/SourceApi.ts +25 -17
- package/src/apis/StateMachineApi.ts +10 -6
- package/src/apis/index.ts +1 -1
- package/src/models/{Def1.ts → AccountORM.ts} +13 -21
- package/src/models/AccountOutput.ts +74 -0
- package/src/models/AddUserToOrganizationDto.ts +74 -0
- package/src/models/{Def4.ts → ArticleORM.ts} +26 -31
- package/src/models/ArticlePresentationORM.ts +83 -0
- package/src/models/ArticleTypeORM.ts +74 -0
- package/src/models/AutoCompleteORM.ts +98 -0
- package/src/models/AvailableArticlesDto.ts +138 -0
- package/src/models/AvailableArticlesOutput.ts +74 -0
- package/src/models/AxisTitle.ts +75 -0
- package/src/models/ChartConfiguration.ts +99 -0
- package/src/models/ChartData.ts +74 -0
- package/src/models/ChartDataset.ts +131 -0
- package/src/models/ChartLegend.ts +79 -0
- package/src/models/ChartOptions.ts +99 -0
- package/src/models/ChartPlugins.ts +90 -0
- package/src/models/ChartScales.ts +90 -0
- package/src/models/ChartTitle.ts +75 -0
- package/src/models/DataPoint.ts +75 -0
- package/src/models/ItemLayerLinkInputDto.ts +66 -0
- package/src/models/ItemLinkToLayerOutput.ts +66 -0
- package/src/models/ItemTypeFormDto.ts +106 -0
- package/src/models/ItemTypeFormOutput.ts +74 -0
- package/src/models/{Def16.ts → ItemTypeORM.ts} +19 -38
- package/src/models/ItemTypeOutput.ts +74 -0
- package/src/models/ItemsOutput.ts +74 -0
- package/src/models/JournalBookORM.ts +84 -0
- package/src/models/JournalEntryArticleORM.ts +110 -0
- package/src/models/JournalEntryListOutput.ts +74 -0
- package/src/models/JournalEntryMultimediaInput.ts +66 -0
- package/src/models/JournalEntryMultimediaORM.ts +83 -0
- package/src/models/JournalEntryMultimediaOutput.ts +66 -0
- package/src/models/{Def18.ts → JournalEntryORM.ts} +25 -23
- package/src/models/JournalEntryOutput.ts +74 -0
- package/src/models/JournalEntryOutputDto.ts +75 -0
- package/src/models/LegendPosition.ts +55 -0
- package/src/models/LocationORM.ts +218 -0
- package/src/models/LocationOutput.ts +74 -0
- package/src/models/MagnitudeORM.ts +74 -0
- package/src/models/ManualLoginInput.ts +75 -0
- package/src/models/ManualLoginPasswordUpdateInput.ts +75 -0
- package/src/models/{Def43.ts → ManualRegisterInput.ts} +14 -14
- package/src/models/MapItemArticleInputDto.ts +109 -0
- package/src/models/MapItemArticleORM.ts +110 -0
- package/src/models/{Def14.ts → MapItemCustomFieldDefinitionORM.ts} +17 -18
- package/src/models/MapItemDynamicFieldInputDto.ts +91 -0
- package/src/models/{Def13.ts → MapItemDynamicFieldORM.ts} +17 -18
- package/src/models/MapItemDynamicFieldWithDefinitionORM.ts +90 -0
- package/src/models/MapItemInput.ts +191 -0
- package/src/models/{Def11.ts → MapItemLinkORM.ts} +26 -23
- package/src/models/MapItemLinkOutput.ts +74 -0
- package/src/models/MapItemListOutput.ts +74 -0
- package/src/models/MapItemMultimediaORM.ts +83 -0
- package/src/models/MapItemMultimediaOutput.ts +74 -0
- package/src/models/MapItemNearByORM.ts +75 -0
- package/src/models/MapItemORM.ts +133 -0
- package/src/models/MapItemOutput.ts +74 -0
- package/src/models/MapItemOutputDto.ts +225 -0
- package/src/models/MapItemOutputDtoProps.ts +225 -0
- package/src/models/MapItemTypeDynamicFieldDefinitionOutput.ts +74 -0
- package/src/models/MapItemTypeDynamicFieldDefinitionValuesOutput.ts +66 -0
- package/src/models/MapItemTypeFormORM.ts +83 -0
- package/src/models/MapItemTypeFormSectionDto.ts +90 -0
- package/src/models/MapItemTypeFormSectionFieldORM.ts +101 -0
- package/src/models/MapItemTypeFormSectionORM.ts +92 -0
- package/src/models/MapItemTypeORM.ts +135 -0
- package/src/models/MapItemTypeOutput.ts +74 -0
- package/src/models/MapLayerInput.ts +84 -0
- package/src/models/MapLayerItemListOutput.ts +74 -0
- package/src/models/MapLayerItemORM.ts +101 -0
- package/src/models/MapLayerItemOutput.ts +74 -0
- package/src/models/MapLayerListOutput.ts +74 -0
- package/src/models/{Def7.ts → MapLayerORM.ts} +27 -33
- package/src/models/MapLayerOutput.ts +74 -0
- package/src/models/MapLayerOutputDto.ts +118 -0
- package/src/models/MapListOutput.ts +74 -0
- package/src/models/MapORM.ts +108 -0
- package/src/models/MapOutput.ts +74 -0
- package/src/models/MapZoneInput.ts +66 -0
- package/src/models/{Def62.ts → MapZoneORM.ts} +17 -25
- package/src/models/MapZoneOutput.ts +74 -0
- package/src/models/MapZoneOutputDto.ts +100 -0
- package/src/models/MapZonePointORM.ts +83 -0
- package/src/models/MeasureUnitORM.ts +92 -0
- package/src/models/ModelRequestContext.ts +74 -0
- package/src/models/MultimediaORM.ts +99 -0
- package/src/models/MultimediaOutput.ts +74 -0
- package/src/models/NominatimAddressORM.ts +147 -0
- package/src/models/NominatimORM.ts +192 -0
- package/src/models/{Def2.ts → OrganizationORM.ts} +16 -16
- package/src/models/{Def81.ts → ReportAvailableColumnDto.ts} +13 -13
- package/src/models/ReportAvailableColumnsListOutput.ts +74 -0
- package/src/models/ReportColumnFilterORM.ts +101 -0
- package/src/models/ReportColumnORM.ts +135 -0
- package/src/models/{Def78.ts → ReportConfigurationDto.ts} +13 -22
- package/src/models/ReportDataCSVDto.ts +66 -0
- package/src/models/ReportDataDto.ts +88 -0
- package/src/models/ReportDataJSONDto.ts +74 -0
- package/src/models/ReportDataORM.ts +74 -0
- package/src/models/ReportDataOutput.ts +74 -0
- package/src/models/{Def33.ts → ReportDataRowORM.ts} +12 -12
- package/src/models/ReportDto.ts +75 -0
- package/src/models/ReportListOutput.ts +74 -0
- package/src/models/ReportORM.ts +99 -0
- package/src/models/ReportOutput.ts +74 -0
- package/src/models/SearchORM.ts +84 -0
- package/src/models/SearchOutput.ts +74 -0
- package/src/models/SearchResultDto.ts +74 -0
- package/src/models/SearchResultSectionDto.ts +92 -0
- package/src/models/SearchResultSectionItem.ts +100 -0
- package/src/models/{Def90.ts → SourceDto.ts} +16 -15
- package/src/models/SourceListOutput.ts +74 -0
- package/src/models/SourceOutput.ts +74 -0
- package/src/models/StateMachineDefinitionListOutput.ts +74 -0
- package/src/models/StateMachineDefinitionOutputDto.ts +117 -0
- package/src/models/StateMachineORM.ts +82 -0
- package/src/models/{Def37.ts → StateMachineStateORM.ts} +20 -20
- package/src/models/StateMachineStateOutputDto.ts +84 -0
- package/src/models/{Def39.ts → StateMachineTransitionLogORM.ts} +20 -22
- package/src/models/{Def38.ts → StateMachineTransitionORM.ts} +18 -19
- package/src/models/StateMachineTransitionOutputDto.ts +93 -0
- package/src/models/UpdateUserInOrganizationPasswordDto.ts +66 -0
- package/src/models/UploadDto.ts +75 -0
- package/src/models/UploadOutput.ts +74 -0
- package/src/models/UserDto.ts +83 -0
- package/src/models/UserInOrganizationDto.ts +129 -0
- package/src/models/UserInOrganizationOutput.ts +74 -0
- package/src/models/{Def3.ts → UserORM.ts} +44 -34
- package/src/models/XAxisOptions.ts +83 -0
- package/src/models/YAxisOptions.ts +83 -0
- package/src/models/index.ts +130 -96
- package/src/.openapi-generator/FILES +0 -7
- package/src/.openapi-generator/VERSION +0 -1
- package/src/.openapi-generator-ignore +0 -23
- package/src/apis/DefaultApi.ts +0 -200
- package/src/models/Def0.ts +0 -73
- package/src/models/Def10.ts +0 -105
- package/src/models/Def12.ts +0 -81
- package/src/models/Def15.ts +0 -75
- package/src/models/Def17.ts +0 -81
- package/src/models/Def19.ts +0 -81
- package/src/models/Def20.ts +0 -105
- package/src/models/Def21.ts +0 -81
- package/src/models/Def22.ts +0 -217
- package/src/models/Def23.ts +0 -97
- package/src/models/Def24.ts +0 -127
- package/src/models/Def25.ts +0 -81
- package/src/models/Def26.ts +0 -81
- package/src/models/Def27.ts +0 -105
- package/src/models/Def28.ts +0 -121
- package/src/models/Def29.ts +0 -97
- package/src/models/Def30.ts +0 -113
- package/src/models/Def31.ts +0 -116
- package/src/models/Def32.ts +0 -121
- package/src/models/Def34.ts +0 -66
- package/src/models/Def35.ts +0 -81
- package/src/models/Def36.ts +0 -84
- package/src/models/Def40.ts +0 -137
- package/src/models/Def41.ts +0 -178
- package/src/models/Def42.ts +0 -66
- package/src/models/Def44.ts +0 -75
- package/src/models/Def45.ts +0 -74
- package/src/models/Def46.ts +0 -102
- package/src/models/Def47.ts +0 -66
- package/src/models/Def48.ts +0 -65
- package/src/models/Def49.ts +0 -66
- package/src/models/Def5.ts +0 -89
- package/src/models/Def50.ts +0 -66
- package/src/models/Def51.ts +0 -123
- package/src/models/Def52.ts +0 -66
- package/src/models/Def53.ts +0 -66
- package/src/models/Def54.ts +0 -66
- package/src/models/Def56.ts +0 -90
- package/src/models/Def57.ts +0 -182
- package/src/models/Def58.ts +0 -84
- package/src/models/Def59.ts +0 -66
- package/src/models/Def6.ts +0 -97
- package/src/models/Def60.ts +0 -66
- package/src/models/Def61.ts +0 -189
- package/src/models/Def63.ts +0 -66
- package/src/models/Def64.ts +0 -66
- package/src/models/Def65.ts +0 -66
- package/src/models/Def66.ts +0 -66
- package/src/models/Def67.ts +0 -66
- package/src/models/Def68.ts +0 -66
- package/src/models/Def69.ts +0 -66
- package/src/models/Def70.ts +0 -66
- package/src/models/Def71.ts +0 -66
- package/src/models/Def72.ts +0 -66
- package/src/models/Def73.ts +0 -66
- package/src/models/Def74.ts +0 -66
- package/src/models/Def75.ts +0 -75
- package/src/models/Def76.ts +0 -66
- package/src/models/Def77.ts +0 -66
- package/src/models/Def79.ts +0 -75
- package/src/models/Def8.ts +0 -137
- package/src/models/Def80.ts +0 -73
- package/src/models/Def82.ts +0 -66
- package/src/models/Def83.ts +0 -66
- package/src/models/Def84.ts +0 -66
- package/src/models/Def85.ts +0 -66
- package/src/models/Def86.ts +0 -92
- package/src/models/Def87.ts +0 -84
- package/src/models/Def88.ts +0 -66
- package/src/models/Def89.ts +0 -66
- package/src/models/Def9.ts +0 -113
- package/src/models/Def91.ts +0 -66
- package/src/models/Def92.ts +0 -66
- package/src/models/Def93.ts +0 -101
- package/src/models/Def94.ts +0 -66
- package/src/models/Def95.ts +0 -73
- package/src/models/Def96.ts +0 -66
- package/src/models/User.ts +0 -91
|
@@ -14,80 +14,75 @@
|
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface MapLayerORM
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface MapLayerORM {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {number}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof MapLayerORM
|
|
26
26
|
*/
|
|
27
27
|
id?: number;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
|
-
* @type {
|
|
31
|
-
* @memberof
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof MapLayerORM
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
mapId: number;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof MapLayerORM
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
title: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof MapLayerORM
|
|
44
44
|
*/
|
|
45
45
|
createDate?: string;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {string}
|
|
49
|
-
* @memberof
|
|
49
|
+
* @memberof MapLayerORM
|
|
50
50
|
*/
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {number}
|
|
55
|
-
* @memberof Def7
|
|
56
|
-
*/
|
|
57
|
-
organizationId?: number;
|
|
51
|
+
deleteDate?: string;
|
|
58
52
|
}
|
|
59
53
|
|
|
60
54
|
/**
|
|
61
|
-
* Check if a given object implements the
|
|
55
|
+
* Check if a given object implements the MapLayerORM interface.
|
|
62
56
|
*/
|
|
63
|
-
export function
|
|
57
|
+
export function instanceOfMapLayerORM(value: object): value is MapLayerORM {
|
|
58
|
+
if (!('mapId' in value) || value['mapId'] === undefined) return false;
|
|
59
|
+
if (!('title' in value) || value['title'] === undefined) return false;
|
|
64
60
|
return true;
|
|
65
61
|
}
|
|
66
62
|
|
|
67
|
-
export function
|
|
68
|
-
return
|
|
63
|
+
export function MapLayerORMFromJSON(json: any): MapLayerORM {
|
|
64
|
+
return MapLayerORMFromJSONTyped(json, false);
|
|
69
65
|
}
|
|
70
66
|
|
|
71
|
-
export function
|
|
67
|
+
export function MapLayerORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapLayerORM {
|
|
72
68
|
if (json == null) {
|
|
73
69
|
return json;
|
|
74
70
|
}
|
|
75
71
|
return {
|
|
76
72
|
|
|
77
73
|
'id': json['id'] == null ? undefined : json['id'],
|
|
78
|
-
'
|
|
79
|
-
'
|
|
74
|
+
'mapId': json['mapId'],
|
|
75
|
+
'title': json['title'],
|
|
80
76
|
'createDate': json['createDate'] == null ? undefined : json['createDate'],
|
|
81
|
-
'
|
|
82
|
-
'organizationId': json['organizationId'] == null ? undefined : json['organizationId'],
|
|
77
|
+
'deleteDate': json['deleteDate'] == null ? undefined : json['deleteDate'],
|
|
83
78
|
};
|
|
84
79
|
}
|
|
85
80
|
|
|
86
|
-
export function
|
|
87
|
-
return
|
|
81
|
+
export function MapLayerORMToJSON(json: any): MapLayerORM {
|
|
82
|
+
return MapLayerORMToJSONTyped(json, false);
|
|
88
83
|
}
|
|
89
84
|
|
|
90
|
-
export function
|
|
85
|
+
export function MapLayerORMToJSONTyped(value?: MapLayerORM | null, ignoreDiscriminator: boolean = false): any {
|
|
91
86
|
if (value == null) {
|
|
92
87
|
return value;
|
|
93
88
|
}
|
|
@@ -95,11 +90,10 @@ export function Def7ToJSONTyped(value?: Def7 | null, ignoreDiscriminator: boolea
|
|
|
95
90
|
return {
|
|
96
91
|
|
|
97
92
|
'id': value['id'],
|
|
93
|
+
'mapId': value['mapId'],
|
|
98
94
|
'title': value['title'],
|
|
99
|
-
'deleteDate': value['deleteDate'],
|
|
100
95
|
'createDate': value['createDate'],
|
|
101
|
-
'
|
|
102
|
-
'organizationId': value['organizationId'],
|
|
96
|
+
'deleteDate': value['deleteDate'],
|
|
103
97
|
};
|
|
104
98
|
}
|
|
105
99
|
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Security Map API
|
|
5
|
+
* Security Map API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { MapLayerOutputDto } from './MapLayerOutputDto';
|
|
17
|
+
import {
|
|
18
|
+
MapLayerOutputDtoFromJSON,
|
|
19
|
+
MapLayerOutputDtoFromJSONTyped,
|
|
20
|
+
MapLayerOutputDtoToJSON,
|
|
21
|
+
MapLayerOutputDtoToJSONTyped,
|
|
22
|
+
} from './MapLayerOutputDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface MapLayerOutput
|
|
28
|
+
*/
|
|
29
|
+
export interface MapLayerOutput {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {MapLayerOutputDto}
|
|
33
|
+
* @memberof MapLayerOutput
|
|
34
|
+
*/
|
|
35
|
+
data: MapLayerOutputDto;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the MapLayerOutput interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfMapLayerOutput(value: object): value is MapLayerOutput {
|
|
42
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function MapLayerOutputFromJSON(json: any): MapLayerOutput {
|
|
47
|
+
return MapLayerOutputFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function MapLayerOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapLayerOutput {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'data': MapLayerOutputDtoFromJSON(json['data']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function MapLayerOutputToJSON(json: any): MapLayerOutput {
|
|
61
|
+
return MapLayerOutputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function MapLayerOutputToJSONTyped(value?: MapLayerOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'data': MapLayerOutputDtoToJSON(value['data']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Security Map API
|
|
5
|
+
* Security Map API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { MapORM } from './MapORM';
|
|
17
|
+
import {
|
|
18
|
+
MapORMFromJSON,
|
|
19
|
+
MapORMFromJSONTyped,
|
|
20
|
+
MapORMToJSON,
|
|
21
|
+
MapORMToJSONTyped,
|
|
22
|
+
} from './MapORM';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface MapLayerOutputDto
|
|
28
|
+
*/
|
|
29
|
+
export interface MapLayerOutputDto {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof MapLayerOutputDto
|
|
34
|
+
*/
|
|
35
|
+
id: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {MapORM}
|
|
39
|
+
* @memberof MapLayerOutputDto
|
|
40
|
+
*/
|
|
41
|
+
map: MapORM;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof MapLayerOutputDto
|
|
46
|
+
*/
|
|
47
|
+
title: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<number>}
|
|
51
|
+
* @memberof MapLayerOutputDto
|
|
52
|
+
*/
|
|
53
|
+
itemTypeFilter: Array<number>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof MapLayerOutputDto
|
|
58
|
+
*/
|
|
59
|
+
createDate: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof MapLayerOutputDto
|
|
64
|
+
*/
|
|
65
|
+
deleteDate?: string;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the MapLayerOutputDto interface.
|
|
70
|
+
*/
|
|
71
|
+
export function instanceOfMapLayerOutputDto(value: object): value is MapLayerOutputDto {
|
|
72
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
73
|
+
if (!('map' in value) || value['map'] === undefined) return false;
|
|
74
|
+
if (!('title' in value) || value['title'] === undefined) return false;
|
|
75
|
+
if (!('itemTypeFilter' in value) || value['itemTypeFilter'] === undefined) return false;
|
|
76
|
+
if (!('createDate' in value) || value['createDate'] === undefined) return false;
|
|
77
|
+
return true;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function MapLayerOutputDtoFromJSON(json: any): MapLayerOutputDto {
|
|
81
|
+
return MapLayerOutputDtoFromJSONTyped(json, false);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function MapLayerOutputDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapLayerOutputDto {
|
|
85
|
+
if (json == null) {
|
|
86
|
+
return json;
|
|
87
|
+
}
|
|
88
|
+
return {
|
|
89
|
+
|
|
90
|
+
'id': json['id'],
|
|
91
|
+
'map': MapORMFromJSON(json['map']),
|
|
92
|
+
'title': json['title'],
|
|
93
|
+
'itemTypeFilter': json['itemTypeFilter'],
|
|
94
|
+
'createDate': json['createDate'],
|
|
95
|
+
'deleteDate': json['deleteDate'] == null ? undefined : json['deleteDate'],
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export function MapLayerOutputDtoToJSON(json: any): MapLayerOutputDto {
|
|
100
|
+
return MapLayerOutputDtoToJSONTyped(json, false);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export function MapLayerOutputDtoToJSONTyped(value?: MapLayerOutputDto | null, ignoreDiscriminator: boolean = false): any {
|
|
104
|
+
if (value == null) {
|
|
105
|
+
return value;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
return {
|
|
109
|
+
|
|
110
|
+
'id': value['id'],
|
|
111
|
+
'map': MapORMToJSON(value['map']),
|
|
112
|
+
'title': value['title'],
|
|
113
|
+
'itemTypeFilter': value['itemTypeFilter'],
|
|
114
|
+
'createDate': value['createDate'],
|
|
115
|
+
'deleteDate': value['deleteDate'],
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Security Map API
|
|
5
|
+
* Security Map API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { MapORM } from './MapORM';
|
|
17
|
+
import {
|
|
18
|
+
MapORMFromJSON,
|
|
19
|
+
MapORMFromJSONTyped,
|
|
20
|
+
MapORMToJSON,
|
|
21
|
+
MapORMToJSONTyped,
|
|
22
|
+
} from './MapORM';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface MapListOutput
|
|
28
|
+
*/
|
|
29
|
+
export interface MapListOutput {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<MapORM>}
|
|
33
|
+
* @memberof MapListOutput
|
|
34
|
+
*/
|
|
35
|
+
data: Array<MapORM>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the MapListOutput interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfMapListOutput(value: object): value is MapListOutput {
|
|
42
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function MapListOutputFromJSON(json: any): MapListOutput {
|
|
47
|
+
return MapListOutputFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function MapListOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapListOutput {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'data': ((json['data'] as Array<any>).map(MapORMFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function MapListOutputToJSON(json: any): MapListOutput {
|
|
61
|
+
return MapListOutputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function MapListOutputToJSONTyped(value?: MapListOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'data': ((value['data'] as Array<any>).map(MapORMToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Security Map API
|
|
5
|
+
* Security Map API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface MapORM
|
|
20
|
+
*/
|
|
21
|
+
export interface MapORM {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof MapORM
|
|
26
|
+
*/
|
|
27
|
+
id?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof MapORM
|
|
32
|
+
*/
|
|
33
|
+
title: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof MapORM
|
|
38
|
+
*/
|
|
39
|
+
centerLat: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof MapORM
|
|
44
|
+
*/
|
|
45
|
+
centerLon: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof MapORM
|
|
50
|
+
*/
|
|
51
|
+
createDate?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof MapORM
|
|
56
|
+
*/
|
|
57
|
+
deleteDate?: string;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the MapORM interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfMapORM(value: object): value is MapORM {
|
|
64
|
+
if (!('title' in value) || value['title'] === undefined) return false;
|
|
65
|
+
if (!('centerLat' in value) || value['centerLat'] === undefined) return false;
|
|
66
|
+
if (!('centerLon' in value) || value['centerLon'] === undefined) return false;
|
|
67
|
+
return true;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function MapORMFromJSON(json: any): MapORM {
|
|
71
|
+
return MapORMFromJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function MapORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapORM {
|
|
75
|
+
if (json == null) {
|
|
76
|
+
return json;
|
|
77
|
+
}
|
|
78
|
+
return {
|
|
79
|
+
|
|
80
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
81
|
+
'title': json['title'],
|
|
82
|
+
'centerLat': json['centerLat'],
|
|
83
|
+
'centerLon': json['centerLon'],
|
|
84
|
+
'createDate': json['createDate'] == null ? undefined : json['createDate'],
|
|
85
|
+
'deleteDate': json['deleteDate'] == null ? undefined : json['deleteDate'],
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function MapORMToJSON(json: any): MapORM {
|
|
90
|
+
return MapORMToJSONTyped(json, false);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function MapORMToJSONTyped(value?: MapORM | null, ignoreDiscriminator: boolean = false): any {
|
|
94
|
+
if (value == null) {
|
|
95
|
+
return value;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
return {
|
|
99
|
+
|
|
100
|
+
'id': value['id'],
|
|
101
|
+
'title': value['title'],
|
|
102
|
+
'centerLat': value['centerLat'],
|
|
103
|
+
'centerLon': value['centerLon'],
|
|
104
|
+
'createDate': value['createDate'],
|
|
105
|
+
'deleteDate': value['deleteDate'],
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Security Map API
|
|
5
|
+
* Security Map API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { MapORM } from './MapORM';
|
|
17
|
+
import {
|
|
18
|
+
MapORMFromJSON,
|
|
19
|
+
MapORMFromJSONTyped,
|
|
20
|
+
MapORMToJSON,
|
|
21
|
+
MapORMToJSONTyped,
|
|
22
|
+
} from './MapORM';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface MapOutput
|
|
28
|
+
*/
|
|
29
|
+
export interface MapOutput {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {MapORM}
|
|
33
|
+
* @memberof MapOutput
|
|
34
|
+
*/
|
|
35
|
+
data: MapORM;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the MapOutput interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfMapOutput(value: object): value is MapOutput {
|
|
42
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function MapOutputFromJSON(json: any): MapOutput {
|
|
47
|
+
return MapOutputFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function MapOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapOutput {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'data': MapORMFromJSON(json['data']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function MapOutputToJSON(json: any): MapOutput {
|
|
61
|
+
return MapOutputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function MapOutputToJSONTyped(value?: MapOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'data': MapORMToJSON(value['data']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Security Map API
|
|
5
|
+
* Security Map API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface MapZoneInput
|
|
20
|
+
*/
|
|
21
|
+
export interface MapZoneInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Array<number>}
|
|
25
|
+
* @memberof MapZoneInput
|
|
26
|
+
*/
|
|
27
|
+
locationIds: Array<number>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the MapZoneInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfMapZoneInput(value: object): value is MapZoneInput {
|
|
34
|
+
if (!('locationIds' in value) || value['locationIds'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function MapZoneInputFromJSON(json: any): MapZoneInput {
|
|
39
|
+
return MapZoneInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function MapZoneInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapZoneInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'locationIds': json['locationIds'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function MapZoneInputToJSON(json: any): MapZoneInput {
|
|
53
|
+
return MapZoneInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function MapZoneInputToJSONTyped(value?: MapZoneInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'locationIds': value['locationIds'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|