@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
|
@@ -0,0 +1,90 @@
|
|
|
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 { MapItemCustomFieldDefinitionORM } from './MapItemCustomFieldDefinitionORM';
|
|
17
|
+
import {
|
|
18
|
+
MapItemCustomFieldDefinitionORMFromJSON,
|
|
19
|
+
MapItemCustomFieldDefinitionORMFromJSONTyped,
|
|
20
|
+
MapItemCustomFieldDefinitionORMToJSON,
|
|
21
|
+
MapItemCustomFieldDefinitionORMToJSONTyped,
|
|
22
|
+
} from './MapItemCustomFieldDefinitionORM';
|
|
23
|
+
import type { MapItemDynamicFieldORM } from './MapItemDynamicFieldORM';
|
|
24
|
+
import {
|
|
25
|
+
MapItemDynamicFieldORMFromJSON,
|
|
26
|
+
MapItemDynamicFieldORMFromJSONTyped,
|
|
27
|
+
MapItemDynamicFieldORMToJSON,
|
|
28
|
+
MapItemDynamicFieldORMToJSONTyped,
|
|
29
|
+
} from './MapItemDynamicFieldORM';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface MapItemDynamicFieldWithDefinitionORM
|
|
35
|
+
*/
|
|
36
|
+
export interface MapItemDynamicFieldWithDefinitionORM {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {MapItemDynamicFieldORM}
|
|
40
|
+
* @memberof MapItemDynamicFieldWithDefinitionORM
|
|
41
|
+
*/
|
|
42
|
+
customFieldValue: MapItemDynamicFieldORM;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {MapItemCustomFieldDefinitionORM}
|
|
46
|
+
* @memberof MapItemDynamicFieldWithDefinitionORM
|
|
47
|
+
*/
|
|
48
|
+
customFieldDefinition: MapItemCustomFieldDefinitionORM;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the MapItemDynamicFieldWithDefinitionORM interface.
|
|
53
|
+
*/
|
|
54
|
+
export function instanceOfMapItemDynamicFieldWithDefinitionORM(value: object): value is MapItemDynamicFieldWithDefinitionORM {
|
|
55
|
+
if (!('customFieldValue' in value) || value['customFieldValue'] === undefined) return false;
|
|
56
|
+
if (!('customFieldDefinition' in value) || value['customFieldDefinition'] === undefined) return false;
|
|
57
|
+
return true;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function MapItemDynamicFieldWithDefinitionORMFromJSON(json: any): MapItemDynamicFieldWithDefinitionORM {
|
|
61
|
+
return MapItemDynamicFieldWithDefinitionORMFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function MapItemDynamicFieldWithDefinitionORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapItemDynamicFieldWithDefinitionORM {
|
|
65
|
+
if (json == null) {
|
|
66
|
+
return json;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'customFieldValue': MapItemDynamicFieldORMFromJSON(json['customFieldValue']),
|
|
71
|
+
'customFieldDefinition': MapItemCustomFieldDefinitionORMFromJSON(json['customFieldDefinition']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function MapItemDynamicFieldWithDefinitionORMToJSON(json: any): MapItemDynamicFieldWithDefinitionORM {
|
|
76
|
+
return MapItemDynamicFieldWithDefinitionORMToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function MapItemDynamicFieldWithDefinitionORMToJSONTyped(value?: MapItemDynamicFieldWithDefinitionORM | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return {
|
|
85
|
+
|
|
86
|
+
'customFieldValue': MapItemDynamicFieldORMToJSON(value['customFieldValue']),
|
|
87
|
+
'customFieldDefinition': MapItemCustomFieldDefinitionORMToJSON(value['customFieldDefinition']),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
@@ -0,0 +1,191 @@
|
|
|
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 { MapItemDynamicFieldInputDto } from './MapItemDynamicFieldInputDto';
|
|
17
|
+
import {
|
|
18
|
+
MapItemDynamicFieldInputDtoFromJSON,
|
|
19
|
+
MapItemDynamicFieldInputDtoFromJSONTyped,
|
|
20
|
+
MapItemDynamicFieldInputDtoToJSON,
|
|
21
|
+
MapItemDynamicFieldInputDtoToJSONTyped,
|
|
22
|
+
} from './MapItemDynamicFieldInputDto';
|
|
23
|
+
import type { MapZoneInput } from './MapZoneInput';
|
|
24
|
+
import {
|
|
25
|
+
MapZoneInputFromJSON,
|
|
26
|
+
MapZoneInputFromJSONTyped,
|
|
27
|
+
MapZoneInputToJSON,
|
|
28
|
+
MapZoneInputToJSONTyped,
|
|
29
|
+
} from './MapZoneInput';
|
|
30
|
+
import type { MapItemArticleInputDto } from './MapItemArticleInputDto';
|
|
31
|
+
import {
|
|
32
|
+
MapItemArticleInputDtoFromJSON,
|
|
33
|
+
MapItemArticleInputDtoFromJSONTyped,
|
|
34
|
+
MapItemArticleInputDtoToJSON,
|
|
35
|
+
MapItemArticleInputDtoToJSONTyped,
|
|
36
|
+
} from './MapItemArticleInputDto';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface MapItemInput
|
|
42
|
+
*/
|
|
43
|
+
export interface MapItemInput {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<MapItemArticleInputDto>}
|
|
47
|
+
* @memberof MapItemInput
|
|
48
|
+
*/
|
|
49
|
+
articles: Array<MapItemArticleInputDto>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {MapZoneInput}
|
|
53
|
+
* @memberof MapItemInput
|
|
54
|
+
*/
|
|
55
|
+
mapZoneInput: MapZoneInput;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Array<MapItemDynamicFieldInputDto>}
|
|
59
|
+
* @memberof MapItemInput
|
|
60
|
+
*/
|
|
61
|
+
dynamicFields: Array<MapItemDynamicFieldInputDto>;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {number}
|
|
65
|
+
* @memberof MapItemInput
|
|
66
|
+
*/
|
|
67
|
+
layerId: number;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {number}
|
|
71
|
+
* @memberof MapItemInput
|
|
72
|
+
*/
|
|
73
|
+
stateId: number;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof MapItemInput
|
|
78
|
+
*/
|
|
79
|
+
title: string;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof MapItemInput
|
|
84
|
+
*/
|
|
85
|
+
description: string;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {number}
|
|
89
|
+
* @memberof MapItemInput
|
|
90
|
+
*/
|
|
91
|
+
mapItemTypeId: number;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {number}
|
|
95
|
+
* @memberof MapItemInput
|
|
96
|
+
*/
|
|
97
|
+
id?: number;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {number}
|
|
101
|
+
* @memberof MapItemInput
|
|
102
|
+
*/
|
|
103
|
+
version?: number;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof MapItemInput
|
|
108
|
+
*/
|
|
109
|
+
deleteDate?: string;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof MapItemInput
|
|
114
|
+
*/
|
|
115
|
+
createDate?: string;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof MapItemInput
|
|
120
|
+
*/
|
|
121
|
+
updateDate?: string;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Check if a given object implements the MapItemInput interface.
|
|
126
|
+
*/
|
|
127
|
+
export function instanceOfMapItemInput(value: object): value is MapItemInput {
|
|
128
|
+
if (!('articles' in value) || value['articles'] === undefined) return false;
|
|
129
|
+
if (!('mapZoneInput' in value) || value['mapZoneInput'] === undefined) return false;
|
|
130
|
+
if (!('dynamicFields' in value) || value['dynamicFields'] === undefined) return false;
|
|
131
|
+
if (!('layerId' in value) || value['layerId'] === undefined) return false;
|
|
132
|
+
if (!('stateId' in value) || value['stateId'] === undefined) return false;
|
|
133
|
+
if (!('title' in value) || value['title'] === undefined) return false;
|
|
134
|
+
if (!('description' in value) || value['description'] === undefined) return false;
|
|
135
|
+
if (!('mapItemTypeId' in value) || value['mapItemTypeId'] === undefined) return false;
|
|
136
|
+
return true;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export function MapItemInputFromJSON(json: any): MapItemInput {
|
|
140
|
+
return MapItemInputFromJSONTyped(json, false);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export function MapItemInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapItemInput {
|
|
144
|
+
if (json == null) {
|
|
145
|
+
return json;
|
|
146
|
+
}
|
|
147
|
+
return {
|
|
148
|
+
|
|
149
|
+
'articles': ((json['articles'] as Array<any>).map(MapItemArticleInputDtoFromJSON)),
|
|
150
|
+
'mapZoneInput': MapZoneInputFromJSON(json['mapZoneInput']),
|
|
151
|
+
'dynamicFields': ((json['dynamicFields'] as Array<any>).map(MapItemDynamicFieldInputDtoFromJSON)),
|
|
152
|
+
'layerId': json['layerId'],
|
|
153
|
+
'stateId': json['stateId'],
|
|
154
|
+
'title': json['title'],
|
|
155
|
+
'description': json['description'],
|
|
156
|
+
'mapItemTypeId': json['mapItemTypeId'],
|
|
157
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
158
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
159
|
+
'deleteDate': json['deleteDate'] == null ? undefined : json['deleteDate'],
|
|
160
|
+
'createDate': json['createDate'] == null ? undefined : json['createDate'],
|
|
161
|
+
'updateDate': json['updateDate'] == null ? undefined : json['updateDate'],
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export function MapItemInputToJSON(json: any): MapItemInput {
|
|
166
|
+
return MapItemInputToJSONTyped(json, false);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export function MapItemInputToJSONTyped(value?: MapItemInput | null, ignoreDiscriminator: boolean = false): any {
|
|
170
|
+
if (value == null) {
|
|
171
|
+
return value;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
return {
|
|
175
|
+
|
|
176
|
+
'articles': ((value['articles'] as Array<any>).map(MapItemArticleInputDtoToJSON)),
|
|
177
|
+
'mapZoneInput': MapZoneInputToJSON(value['mapZoneInput']),
|
|
178
|
+
'dynamicFields': ((value['dynamicFields'] as Array<any>).map(MapItemDynamicFieldInputDtoToJSON)),
|
|
179
|
+
'layerId': value['layerId'],
|
|
180
|
+
'stateId': value['stateId'],
|
|
181
|
+
'title': value['title'],
|
|
182
|
+
'description': value['description'],
|
|
183
|
+
'mapItemTypeId': value['mapItemTypeId'],
|
|
184
|
+
'id': value['id'],
|
|
185
|
+
'version': value['version'],
|
|
186
|
+
'deleteDate': value['deleteDate'],
|
|
187
|
+
'createDate': value['createDate'],
|
|
188
|
+
'updateDate': value['updateDate'],
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
|
|
@@ -14,80 +14,83 @@
|
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface MapItemLinkORM
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface MapItemLinkORM {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {number}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof MapItemLinkORM
|
|
26
26
|
*/
|
|
27
27
|
id?: number;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {number}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof MapItemLinkORM
|
|
32
32
|
*/
|
|
33
|
-
mapItemId
|
|
33
|
+
mapItemId: number;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {number}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof MapItemLinkORM
|
|
38
38
|
*/
|
|
39
|
-
linkedItemId
|
|
39
|
+
linkedItemId: number;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof MapItemLinkORM
|
|
44
44
|
*/
|
|
45
|
-
relationship
|
|
45
|
+
relationship: string;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {string}
|
|
49
|
-
* @memberof
|
|
49
|
+
* @memberof MapItemLinkORM
|
|
50
50
|
*/
|
|
51
51
|
deleteDate?: string;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {string}
|
|
55
|
-
* @memberof
|
|
55
|
+
* @memberof MapItemLinkORM
|
|
56
56
|
*/
|
|
57
57
|
createDate?: string;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
|
-
* Check if a given object implements the
|
|
61
|
+
* Check if a given object implements the MapItemLinkORM interface.
|
|
62
62
|
*/
|
|
63
|
-
export function
|
|
63
|
+
export function instanceOfMapItemLinkORM(value: object): value is MapItemLinkORM {
|
|
64
|
+
if (!('mapItemId' in value) || value['mapItemId'] === undefined) return false;
|
|
65
|
+
if (!('linkedItemId' in value) || value['linkedItemId'] === undefined) return false;
|
|
66
|
+
if (!('relationship' in value) || value['relationship'] === undefined) return false;
|
|
64
67
|
return true;
|
|
65
68
|
}
|
|
66
69
|
|
|
67
|
-
export function
|
|
68
|
-
return
|
|
70
|
+
export function MapItemLinkORMFromJSON(json: any): MapItemLinkORM {
|
|
71
|
+
return MapItemLinkORMFromJSONTyped(json, false);
|
|
69
72
|
}
|
|
70
73
|
|
|
71
|
-
export function
|
|
74
|
+
export function MapItemLinkORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapItemLinkORM {
|
|
72
75
|
if (json == null) {
|
|
73
76
|
return json;
|
|
74
77
|
}
|
|
75
78
|
return {
|
|
76
79
|
|
|
77
80
|
'id': json['id'] == null ? undefined : json['id'],
|
|
78
|
-
'mapItemId': json['mapItemId']
|
|
79
|
-
'linkedItemId': json['linkedItemId']
|
|
80
|
-
'relationship': json['relationship']
|
|
81
|
+
'mapItemId': json['mapItemId'],
|
|
82
|
+
'linkedItemId': json['linkedItemId'],
|
|
83
|
+
'relationship': json['relationship'],
|
|
81
84
|
'deleteDate': json['deleteDate'] == null ? undefined : json['deleteDate'],
|
|
82
85
|
'createDate': json['createDate'] == null ? undefined : json['createDate'],
|
|
83
86
|
};
|
|
84
87
|
}
|
|
85
88
|
|
|
86
|
-
export function
|
|
87
|
-
return
|
|
89
|
+
export function MapItemLinkORMToJSON(json: any): MapItemLinkORM {
|
|
90
|
+
return MapItemLinkORMToJSONTyped(json, false);
|
|
88
91
|
}
|
|
89
92
|
|
|
90
|
-
export function
|
|
93
|
+
export function MapItemLinkORMToJSONTyped(value?: MapItemLinkORM | null, ignoreDiscriminator: boolean = false): any {
|
|
91
94
|
if (value == null) {
|
|
92
95
|
return value;
|
|
93
96
|
}
|
|
@@ -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 { MapItemLinkORM } from './MapItemLinkORM';
|
|
17
|
+
import {
|
|
18
|
+
MapItemLinkORMFromJSON,
|
|
19
|
+
MapItemLinkORMFromJSONTyped,
|
|
20
|
+
MapItemLinkORMToJSON,
|
|
21
|
+
MapItemLinkORMToJSONTyped,
|
|
22
|
+
} from './MapItemLinkORM';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface MapItemLinkOutput
|
|
28
|
+
*/
|
|
29
|
+
export interface MapItemLinkOutput {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {MapItemLinkORM}
|
|
33
|
+
* @memberof MapItemLinkOutput
|
|
34
|
+
*/
|
|
35
|
+
data: MapItemLinkORM;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the MapItemLinkOutput interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfMapItemLinkOutput(value: object): value is MapItemLinkOutput {
|
|
42
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function MapItemLinkOutputFromJSON(json: any): MapItemLinkOutput {
|
|
47
|
+
return MapItemLinkOutputFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function MapItemLinkOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapItemLinkOutput {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'data': MapItemLinkORMFromJSON(json['data']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function MapItemLinkOutputToJSON(json: any): MapItemLinkOutput {
|
|
61
|
+
return MapItemLinkOutputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function MapItemLinkOutputToJSONTyped(value?: MapItemLinkOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'data': MapItemLinkORMToJSON(value['data']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -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 { MapItemOutputDto } from './MapItemOutputDto';
|
|
17
|
+
import {
|
|
18
|
+
MapItemOutputDtoFromJSON,
|
|
19
|
+
MapItemOutputDtoFromJSONTyped,
|
|
20
|
+
MapItemOutputDtoToJSON,
|
|
21
|
+
MapItemOutputDtoToJSONTyped,
|
|
22
|
+
} from './MapItemOutputDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface MapItemListOutput
|
|
28
|
+
*/
|
|
29
|
+
export interface MapItemListOutput {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<MapItemOutputDto>}
|
|
33
|
+
* @memberof MapItemListOutput
|
|
34
|
+
*/
|
|
35
|
+
data: Array<MapItemOutputDto>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the MapItemListOutput interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfMapItemListOutput(value: object): value is MapItemListOutput {
|
|
42
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function MapItemListOutputFromJSON(json: any): MapItemListOutput {
|
|
47
|
+
return MapItemListOutputFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function MapItemListOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapItemListOutput {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'data': ((json['data'] as Array<any>).map(MapItemOutputDtoFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function MapItemListOutputToJSON(json: any): MapItemListOutput {
|
|
61
|
+
return MapItemListOutputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function MapItemListOutputToJSONTyped(value?: MapItemListOutput | 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(MapItemOutputDtoToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
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 MapItemMultimediaORM
|
|
20
|
+
*/
|
|
21
|
+
export interface MapItemMultimediaORM {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof MapItemMultimediaORM
|
|
26
|
+
*/
|
|
27
|
+
id?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof MapItemMultimediaORM
|
|
32
|
+
*/
|
|
33
|
+
mapItemId: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof MapItemMultimediaORM
|
|
38
|
+
*/
|
|
39
|
+
multimediaId: number;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the MapItemMultimediaORM interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfMapItemMultimediaORM(value: object): value is MapItemMultimediaORM {
|
|
46
|
+
if (!('mapItemId' in value) || value['mapItemId'] === undefined) return false;
|
|
47
|
+
if (!('multimediaId' in value) || value['multimediaId'] === undefined) return false;
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function MapItemMultimediaORMFromJSON(json: any): MapItemMultimediaORM {
|
|
52
|
+
return MapItemMultimediaORMFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function MapItemMultimediaORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapItemMultimediaORM {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
|
|
61
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
62
|
+
'mapItemId': json['mapItemId'],
|
|
63
|
+
'multimediaId': json['multimediaId'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function MapItemMultimediaORMToJSON(json: any): MapItemMultimediaORM {
|
|
68
|
+
return MapItemMultimediaORMToJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function MapItemMultimediaORMToJSONTyped(value?: MapItemMultimediaORM | null, ignoreDiscriminator: boolean = false): any {
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
return {
|
|
77
|
+
|
|
78
|
+
'id': value['id'],
|
|
79
|
+
'mapItemId': value['mapItemId'],
|
|
80
|
+
'multimediaId': value['multimediaId'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -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 { MapItemMultimediaORM } from './MapItemMultimediaORM';
|
|
17
|
+
import {
|
|
18
|
+
MapItemMultimediaORMFromJSON,
|
|
19
|
+
MapItemMultimediaORMFromJSONTyped,
|
|
20
|
+
MapItemMultimediaORMToJSON,
|
|
21
|
+
MapItemMultimediaORMToJSONTyped,
|
|
22
|
+
} from './MapItemMultimediaORM';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface MapItemMultimediaOutput
|
|
28
|
+
*/
|
|
29
|
+
export interface MapItemMultimediaOutput {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {MapItemMultimediaORM}
|
|
33
|
+
* @memberof MapItemMultimediaOutput
|
|
34
|
+
*/
|
|
35
|
+
data: MapItemMultimediaORM;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the MapItemMultimediaOutput interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfMapItemMultimediaOutput(value: object): value is MapItemMultimediaOutput {
|
|
42
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function MapItemMultimediaOutputFromJSON(json: any): MapItemMultimediaOutput {
|
|
47
|
+
return MapItemMultimediaOutputFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function MapItemMultimediaOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapItemMultimediaOutput {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'data': MapItemMultimediaORMFromJSON(json['data']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function MapItemMultimediaOutputToJSON(json: any): MapItemMultimediaOutput {
|
|
61
|
+
return MapItemMultimediaOutputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function MapItemMultimediaOutputToJSONTyped(value?: MapItemMultimediaOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'data': MapItemMultimediaORMToJSON(value['data']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|