@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,75 @@
|
|
|
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 ChartTitle
|
|
20
|
+
*/
|
|
21
|
+
export interface ChartTitle {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof ChartTitle
|
|
26
|
+
*/
|
|
27
|
+
display: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ChartTitle
|
|
32
|
+
*/
|
|
33
|
+
text: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the ChartTitle interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfChartTitle(value: object): value is ChartTitle {
|
|
40
|
+
if (!('display' in value) || value['display'] === undefined) return false;
|
|
41
|
+
if (!('text' in value) || value['text'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function ChartTitleFromJSON(json: any): ChartTitle {
|
|
46
|
+
return ChartTitleFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ChartTitleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChartTitle {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'display': json['display'],
|
|
56
|
+
'text': json['text'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ChartTitleToJSON(json: any): ChartTitle {
|
|
61
|
+
return ChartTitleToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ChartTitleToJSONTyped(value?: ChartTitle | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'display': value['display'],
|
|
72
|
+
'text': value['text'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
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 DataPoint
|
|
20
|
+
*/
|
|
21
|
+
export interface DataPoint {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof DataPoint
|
|
26
|
+
*/
|
|
27
|
+
x: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof DataPoint
|
|
32
|
+
*/
|
|
33
|
+
y: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the DataPoint interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfDataPoint(value: object): value is DataPoint {
|
|
40
|
+
if (!('x' in value) || value['x'] === undefined) return false;
|
|
41
|
+
if (!('y' in value) || value['y'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function DataPointFromJSON(json: any): DataPoint {
|
|
46
|
+
return DataPointFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function DataPointFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataPoint {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'x': json['x'],
|
|
56
|
+
'y': json['y'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function DataPointToJSON(json: any): DataPoint {
|
|
61
|
+
return DataPointToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function DataPointToJSONTyped(value?: DataPoint | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'x': value['x'],
|
|
72
|
+
'y': value['y'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -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 ItemLayerLinkInputDto
|
|
20
|
+
*/
|
|
21
|
+
export interface ItemLayerLinkInputDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ItemLayerLinkInputDto
|
|
26
|
+
*/
|
|
27
|
+
layerId: number;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ItemLayerLinkInputDto interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfItemLayerLinkInputDto(value: object): value is ItemLayerLinkInputDto {
|
|
34
|
+
if (!('layerId' in value) || value['layerId'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function ItemLayerLinkInputDtoFromJSON(json: any): ItemLayerLinkInputDto {
|
|
39
|
+
return ItemLayerLinkInputDtoFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function ItemLayerLinkInputDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ItemLayerLinkInputDto {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'layerId': json['layerId'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ItemLayerLinkInputDtoToJSON(json: any): ItemLayerLinkInputDto {
|
|
53
|
+
return ItemLayerLinkInputDtoToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ItemLayerLinkInputDtoToJSONTyped(value?: ItemLayerLinkInputDto | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'layerId': value['layerId'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -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 ItemLinkToLayerOutput
|
|
20
|
+
*/
|
|
21
|
+
export interface ItemLinkToLayerOutput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ItemLinkToLayerOutput
|
|
26
|
+
*/
|
|
27
|
+
data: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ItemLinkToLayerOutput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfItemLinkToLayerOutput(value: object): value is ItemLinkToLayerOutput {
|
|
34
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function ItemLinkToLayerOutputFromJSON(json: any): ItemLinkToLayerOutput {
|
|
39
|
+
return ItemLinkToLayerOutputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function ItemLinkToLayerOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ItemLinkToLayerOutput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'data': json['data'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ItemLinkToLayerOutputToJSON(json: any): ItemLinkToLayerOutput {
|
|
53
|
+
return ItemLinkToLayerOutputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ItemLinkToLayerOutputToJSONTyped(value?: ItemLinkToLayerOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'data': value['data'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,106 @@
|
|
|
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 { MapItemTypeFormSectionDto } from './MapItemTypeFormSectionDto';
|
|
17
|
+
import {
|
|
18
|
+
MapItemTypeFormSectionDtoFromJSON,
|
|
19
|
+
MapItemTypeFormSectionDtoFromJSONTyped,
|
|
20
|
+
MapItemTypeFormSectionDtoToJSON,
|
|
21
|
+
MapItemTypeFormSectionDtoToJSONTyped,
|
|
22
|
+
} from './MapItemTypeFormSectionDto';
|
|
23
|
+
import type { StateMachineDefinitionOutputDto } from './StateMachineDefinitionOutputDto';
|
|
24
|
+
import {
|
|
25
|
+
StateMachineDefinitionOutputDtoFromJSON,
|
|
26
|
+
StateMachineDefinitionOutputDtoFromJSONTyped,
|
|
27
|
+
StateMachineDefinitionOutputDtoToJSON,
|
|
28
|
+
StateMachineDefinitionOutputDtoToJSONTyped,
|
|
29
|
+
} from './StateMachineDefinitionOutputDto';
|
|
30
|
+
import type { MapItemTypeFormORM } from './MapItemTypeFormORM';
|
|
31
|
+
import {
|
|
32
|
+
MapItemTypeFormORMFromJSON,
|
|
33
|
+
MapItemTypeFormORMFromJSONTyped,
|
|
34
|
+
MapItemTypeFormORMToJSON,
|
|
35
|
+
MapItemTypeFormORMToJSONTyped,
|
|
36
|
+
} from './MapItemTypeFormORM';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface ItemTypeFormDto
|
|
42
|
+
*/
|
|
43
|
+
export interface ItemTypeFormDto {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {MapItemTypeFormORM}
|
|
47
|
+
* @memberof ItemTypeFormDto
|
|
48
|
+
*/
|
|
49
|
+
form: MapItemTypeFormORM;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Array<MapItemTypeFormSectionDto>}
|
|
53
|
+
* @memberof ItemTypeFormDto
|
|
54
|
+
*/
|
|
55
|
+
sections: Array<MapItemTypeFormSectionDto>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {StateMachineDefinitionOutputDto}
|
|
59
|
+
* @memberof ItemTypeFormDto
|
|
60
|
+
*/
|
|
61
|
+
stateMachine: StateMachineDefinitionOutputDto;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the ItemTypeFormDto interface.
|
|
66
|
+
*/
|
|
67
|
+
export function instanceOfItemTypeFormDto(value: object): value is ItemTypeFormDto {
|
|
68
|
+
if (!('form' in value) || value['form'] === undefined) return false;
|
|
69
|
+
if (!('sections' in value) || value['sections'] === undefined) return false;
|
|
70
|
+
if (!('stateMachine' in value) || value['stateMachine'] === undefined) return false;
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function ItemTypeFormDtoFromJSON(json: any): ItemTypeFormDto {
|
|
75
|
+
return ItemTypeFormDtoFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function ItemTypeFormDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ItemTypeFormDto {
|
|
79
|
+
if (json == null) {
|
|
80
|
+
return json;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'form': MapItemTypeFormORMFromJSON(json['form']),
|
|
85
|
+
'sections': ((json['sections'] as Array<any>).map(MapItemTypeFormSectionDtoFromJSON)),
|
|
86
|
+
'stateMachine': StateMachineDefinitionOutputDtoFromJSON(json['stateMachine']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function ItemTypeFormDtoToJSON(json: any): ItemTypeFormDto {
|
|
91
|
+
return ItemTypeFormDtoToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function ItemTypeFormDtoToJSONTyped(value?: ItemTypeFormDto | null, ignoreDiscriminator: boolean = false): any {
|
|
95
|
+
if (value == null) {
|
|
96
|
+
return value;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'form': MapItemTypeFormORMToJSON(value['form']),
|
|
102
|
+
'sections': ((value['sections'] as Array<any>).map(MapItemTypeFormSectionDtoToJSON)),
|
|
103
|
+
'stateMachine': StateMachineDefinitionOutputDtoToJSON(value['stateMachine']),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -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 { ItemTypeFormDto } from './ItemTypeFormDto';
|
|
17
|
+
import {
|
|
18
|
+
ItemTypeFormDtoFromJSON,
|
|
19
|
+
ItemTypeFormDtoFromJSONTyped,
|
|
20
|
+
ItemTypeFormDtoToJSON,
|
|
21
|
+
ItemTypeFormDtoToJSONTyped,
|
|
22
|
+
} from './ItemTypeFormDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ItemTypeFormOutput
|
|
28
|
+
*/
|
|
29
|
+
export interface ItemTypeFormOutput {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {ItemTypeFormDto}
|
|
33
|
+
* @memberof ItemTypeFormOutput
|
|
34
|
+
*/
|
|
35
|
+
data: ItemTypeFormDto;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ItemTypeFormOutput interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfItemTypeFormOutput(value: object): value is ItemTypeFormOutput {
|
|
42
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function ItemTypeFormOutputFromJSON(json: any): ItemTypeFormOutput {
|
|
47
|
+
return ItemTypeFormOutputFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function ItemTypeFormOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ItemTypeFormOutput {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'data': ItemTypeFormDtoFromJSON(json['data']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ItemTypeFormOutputToJSON(json: any): ItemTypeFormOutput {
|
|
61
|
+
return ItemTypeFormOutputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ItemTypeFormOutputToJSONTyped(value?: ItemTypeFormOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'data': ItemTypeFormDtoToJSON(value['data']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -14,100 +14,83 @@
|
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface ItemTypeORM
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface ItemTypeORM {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {number}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof ItemTypeORM
|
|
26
26
|
*/
|
|
27
|
-
id
|
|
27
|
+
id?: number;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof ItemTypeORM
|
|
32
32
|
*/
|
|
33
33
|
title: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof Def16
|
|
38
|
-
*/
|
|
39
|
-
filterId: number;
|
|
40
34
|
/**
|
|
41
35
|
*
|
|
42
36
|
* @type {string}
|
|
43
|
-
* @memberof
|
|
37
|
+
* @memberof ItemTypeORM
|
|
44
38
|
*/
|
|
45
39
|
deleteDate?: string;
|
|
46
40
|
/**
|
|
47
41
|
*
|
|
48
42
|
* @type {string}
|
|
49
|
-
* @memberof
|
|
43
|
+
* @memberof ItemTypeORM
|
|
50
44
|
*/
|
|
51
45
|
createDate?: string;
|
|
52
46
|
/**
|
|
53
47
|
*
|
|
54
48
|
* @type {string}
|
|
55
|
-
* @memberof
|
|
49
|
+
* @memberof ItemTypeORM
|
|
56
50
|
*/
|
|
57
51
|
icon: string;
|
|
58
52
|
/**
|
|
59
53
|
*
|
|
60
54
|
* @type {number}
|
|
61
|
-
* @memberof
|
|
62
|
-
*/
|
|
63
|
-
organizationId: number;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {number}
|
|
67
|
-
* @memberof Def16
|
|
55
|
+
* @memberof ItemTypeORM
|
|
68
56
|
*/
|
|
69
57
|
stateMachineId: number;
|
|
70
58
|
}
|
|
71
59
|
|
|
72
60
|
/**
|
|
73
|
-
* Check if a given object implements the
|
|
61
|
+
* Check if a given object implements the ItemTypeORM interface.
|
|
74
62
|
*/
|
|
75
|
-
export function
|
|
76
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
63
|
+
export function instanceOfItemTypeORM(value: object): value is ItemTypeORM {
|
|
77
64
|
if (!('title' in value) || value['title'] === undefined) return false;
|
|
78
|
-
if (!('filterId' in value) || value['filterId'] === undefined) return false;
|
|
79
65
|
if (!('icon' in value) || value['icon'] === undefined) return false;
|
|
80
|
-
if (!('organizationId' in value) || value['organizationId'] === undefined) return false;
|
|
81
66
|
if (!('stateMachineId' in value) || value['stateMachineId'] === undefined) return false;
|
|
82
67
|
return true;
|
|
83
68
|
}
|
|
84
69
|
|
|
85
|
-
export function
|
|
86
|
-
return
|
|
70
|
+
export function ItemTypeORMFromJSON(json: any): ItemTypeORM {
|
|
71
|
+
return ItemTypeORMFromJSONTyped(json, false);
|
|
87
72
|
}
|
|
88
73
|
|
|
89
|
-
export function
|
|
74
|
+
export function ItemTypeORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): ItemTypeORM {
|
|
90
75
|
if (json == null) {
|
|
91
76
|
return json;
|
|
92
77
|
}
|
|
93
78
|
return {
|
|
94
79
|
|
|
95
|
-
'id': json['id'],
|
|
80
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
96
81
|
'title': json['title'],
|
|
97
|
-
'filterId': json['filterId'],
|
|
98
82
|
'deleteDate': json['deleteDate'] == null ? undefined : json['deleteDate'],
|
|
99
83
|
'createDate': json['createDate'] == null ? undefined : json['createDate'],
|
|
100
84
|
'icon': json['icon'],
|
|
101
|
-
'organizationId': json['organizationId'],
|
|
102
85
|
'stateMachineId': json['stateMachineId'],
|
|
103
86
|
};
|
|
104
87
|
}
|
|
105
88
|
|
|
106
|
-
export function
|
|
107
|
-
return
|
|
89
|
+
export function ItemTypeORMToJSON(json: any): ItemTypeORM {
|
|
90
|
+
return ItemTypeORMToJSONTyped(json, false);
|
|
108
91
|
}
|
|
109
92
|
|
|
110
|
-
export function
|
|
93
|
+
export function ItemTypeORMToJSONTyped(value?: ItemTypeORM | null, ignoreDiscriminator: boolean = false): any {
|
|
111
94
|
if (value == null) {
|
|
112
95
|
return value;
|
|
113
96
|
}
|
|
@@ -116,11 +99,9 @@ export function Def16ToJSONTyped(value?: Def16 | null, ignoreDiscriminator: bool
|
|
|
116
99
|
|
|
117
100
|
'id': value['id'],
|
|
118
101
|
'title': value['title'],
|
|
119
|
-
'filterId': value['filterId'],
|
|
120
102
|
'deleteDate': value['deleteDate'],
|
|
121
103
|
'createDate': value['createDate'],
|
|
122
104
|
'icon': value['icon'],
|
|
123
|
-
'organizationId': value['organizationId'],
|
|
124
105
|
'stateMachineId': value['stateMachineId'],
|
|
125
106
|
};
|
|
126
107
|
}
|
|
@@ -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 { ItemTypeORM } from './ItemTypeORM';
|
|
17
|
+
import {
|
|
18
|
+
ItemTypeORMFromJSON,
|
|
19
|
+
ItemTypeORMFromJSONTyped,
|
|
20
|
+
ItemTypeORMToJSON,
|
|
21
|
+
ItemTypeORMToJSONTyped,
|
|
22
|
+
} from './ItemTypeORM';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ItemTypeOutput
|
|
28
|
+
*/
|
|
29
|
+
export interface ItemTypeOutput {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {ItemTypeORM}
|
|
33
|
+
* @memberof ItemTypeOutput
|
|
34
|
+
*/
|
|
35
|
+
data: ItemTypeORM;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ItemTypeOutput interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfItemTypeOutput(value: object): value is ItemTypeOutput {
|
|
42
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function ItemTypeOutputFromJSON(json: any): ItemTypeOutput {
|
|
47
|
+
return ItemTypeOutputFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function ItemTypeOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ItemTypeOutput {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'data': ItemTypeORMFromJSON(json['data']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ItemTypeOutputToJSON(json: any): ItemTypeOutput {
|
|
61
|
+
return ItemTypeOutputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ItemTypeOutputToJSONTyped(value?: ItemTypeOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'data': ItemTypeORMToJSON(value['data']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|