@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 ManualLoginPasswordUpdateInput
|
|
20
|
+
*/
|
|
21
|
+
export interface ManualLoginPasswordUpdateInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ManualLoginPasswordUpdateInput
|
|
26
|
+
*/
|
|
27
|
+
oldPassword: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ManualLoginPasswordUpdateInput
|
|
32
|
+
*/
|
|
33
|
+
newPassword: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the ManualLoginPasswordUpdateInput interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfManualLoginPasswordUpdateInput(value: object): value is ManualLoginPasswordUpdateInput {
|
|
40
|
+
if (!('oldPassword' in value) || value['oldPassword'] === undefined) return false;
|
|
41
|
+
if (!('newPassword' in value) || value['newPassword'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function ManualLoginPasswordUpdateInputFromJSON(json: any): ManualLoginPasswordUpdateInput {
|
|
46
|
+
return ManualLoginPasswordUpdateInputFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ManualLoginPasswordUpdateInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManualLoginPasswordUpdateInput {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'oldPassword': json['oldPassword'],
|
|
56
|
+
'newPassword': json['newPassword'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ManualLoginPasswordUpdateInputToJSON(json: any): ManualLoginPasswordUpdateInput {
|
|
61
|
+
return ManualLoginPasswordUpdateInputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ManualLoginPasswordUpdateInputToJSONTyped(value?: ManualLoginPasswordUpdateInput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'oldPassword': value['oldPassword'],
|
|
72
|
+
'newPassword': value['newPassword'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -14,46 +14,46 @@
|
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface ManualRegisterInput
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface ManualRegisterInput {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {string}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof ManualRegisterInput
|
|
26
26
|
*/
|
|
27
27
|
userName: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof ManualRegisterInput
|
|
32
32
|
*/
|
|
33
33
|
userEmail: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof ManualRegisterInput
|
|
38
38
|
*/
|
|
39
39
|
password: string;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* Check if a given object implements the
|
|
43
|
+
* Check if a given object implements the ManualRegisterInput interface.
|
|
44
44
|
*/
|
|
45
|
-
export function
|
|
45
|
+
export function instanceOfManualRegisterInput(value: object): value is ManualRegisterInput {
|
|
46
46
|
if (!('userName' in value) || value['userName'] === undefined) return false;
|
|
47
47
|
if (!('userEmail' in value) || value['userEmail'] === undefined) return false;
|
|
48
48
|
if (!('password' in value) || value['password'] === undefined) return false;
|
|
49
49
|
return true;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export function
|
|
53
|
-
return
|
|
52
|
+
export function ManualRegisterInputFromJSON(json: any): ManualRegisterInput {
|
|
53
|
+
return ManualRegisterInputFromJSONTyped(json, false);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
export function
|
|
56
|
+
export function ManualRegisterInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManualRegisterInput {
|
|
57
57
|
if (json == null) {
|
|
58
58
|
return json;
|
|
59
59
|
}
|
|
@@ -65,11 +65,11 @@ export function Def43FromJSONTyped(json: any, ignoreDiscriminator: boolean): Def
|
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
export function
|
|
69
|
-
return
|
|
68
|
+
export function ManualRegisterInputToJSON(json: any): ManualRegisterInput {
|
|
69
|
+
return ManualRegisterInputToJSONTyped(json, false);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
export function
|
|
72
|
+
export function ManualRegisterInputToJSONTyped(value?: ManualRegisterInput | null, ignoreDiscriminator: boolean = false): any {
|
|
73
73
|
if (value == null) {
|
|
74
74
|
return value;
|
|
75
75
|
}
|
|
@@ -0,0 +1,109 @@
|
|
|
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 MapItemArticleInputDto
|
|
20
|
+
*/
|
|
21
|
+
export interface MapItemArticleInputDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof MapItemArticleInputDto
|
|
26
|
+
*/
|
|
27
|
+
id?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof MapItemArticleInputDto
|
|
32
|
+
*/
|
|
33
|
+
mapItemId?: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof MapItemArticleInputDto
|
|
38
|
+
*/
|
|
39
|
+
articleId: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof MapItemArticleInputDto
|
|
44
|
+
*/
|
|
45
|
+
presentationId: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof MapItemArticleInputDto
|
|
50
|
+
*/
|
|
51
|
+
quantity: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof MapItemArticleInputDto
|
|
56
|
+
*/
|
|
57
|
+
meassurementUnitId: number;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the MapItemArticleInputDto interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfMapItemArticleInputDto(value: object): value is MapItemArticleInputDto {
|
|
64
|
+
if (!('articleId' in value) || value['articleId'] === undefined) return false;
|
|
65
|
+
if (!('presentationId' in value) || value['presentationId'] === undefined) return false;
|
|
66
|
+
if (!('quantity' in value) || value['quantity'] === undefined) return false;
|
|
67
|
+
if (!('meassurementUnitId' in value) || value['meassurementUnitId'] === undefined) return false;
|
|
68
|
+
return true;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function MapItemArticleInputDtoFromJSON(json: any): MapItemArticleInputDto {
|
|
72
|
+
return MapItemArticleInputDtoFromJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function MapItemArticleInputDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapItemArticleInputDto {
|
|
76
|
+
if (json == null) {
|
|
77
|
+
return json;
|
|
78
|
+
}
|
|
79
|
+
return {
|
|
80
|
+
|
|
81
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
82
|
+
'mapItemId': json['mapItemId'] == null ? undefined : json['mapItemId'],
|
|
83
|
+
'articleId': json['articleId'],
|
|
84
|
+
'presentationId': json['presentationId'],
|
|
85
|
+
'quantity': json['quantity'],
|
|
86
|
+
'meassurementUnitId': json['meassurementUnitId'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function MapItemArticleInputDtoToJSON(json: any): MapItemArticleInputDto {
|
|
91
|
+
return MapItemArticleInputDtoToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function MapItemArticleInputDtoToJSONTyped(value?: MapItemArticleInputDto | null, ignoreDiscriminator: boolean = false): any {
|
|
95
|
+
if (value == null) {
|
|
96
|
+
return value;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'id': value['id'],
|
|
102
|
+
'mapItemId': value['mapItemId'],
|
|
103
|
+
'articleId': value['articleId'],
|
|
104
|
+
'presentationId': value['presentationId'],
|
|
105
|
+
'quantity': value['quantity'],
|
|
106
|
+
'meassurementUnitId': value['meassurementUnitId'],
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
|
|
@@ -0,0 +1,110 @@
|
|
|
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 MapItemArticleORM
|
|
20
|
+
*/
|
|
21
|
+
export interface MapItemArticleORM {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof MapItemArticleORM
|
|
26
|
+
*/
|
|
27
|
+
id?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof MapItemArticleORM
|
|
32
|
+
*/
|
|
33
|
+
mapItemId: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof MapItemArticleORM
|
|
38
|
+
*/
|
|
39
|
+
articleId: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof MapItemArticleORM
|
|
44
|
+
*/
|
|
45
|
+
presentationId: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof MapItemArticleORM
|
|
50
|
+
*/
|
|
51
|
+
quantity: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof MapItemArticleORM
|
|
56
|
+
*/
|
|
57
|
+
meassurementUnitId: number;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the MapItemArticleORM interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfMapItemArticleORM(value: object): value is MapItemArticleORM {
|
|
64
|
+
if (!('mapItemId' in value) || value['mapItemId'] === undefined) return false;
|
|
65
|
+
if (!('articleId' in value) || value['articleId'] === undefined) return false;
|
|
66
|
+
if (!('presentationId' in value) || value['presentationId'] === undefined) return false;
|
|
67
|
+
if (!('quantity' in value) || value['quantity'] === undefined) return false;
|
|
68
|
+
if (!('meassurementUnitId' in value) || value['meassurementUnitId'] === undefined) return false;
|
|
69
|
+
return true;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function MapItemArticleORMFromJSON(json: any): MapItemArticleORM {
|
|
73
|
+
return MapItemArticleORMFromJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function MapItemArticleORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapItemArticleORM {
|
|
77
|
+
if (json == null) {
|
|
78
|
+
return json;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
83
|
+
'mapItemId': json['mapItemId'],
|
|
84
|
+
'articleId': json['articleId'],
|
|
85
|
+
'presentationId': json['presentationId'],
|
|
86
|
+
'quantity': json['quantity'],
|
|
87
|
+
'meassurementUnitId': json['meassurementUnitId'],
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function MapItemArticleORMToJSON(json: any): MapItemArticleORM {
|
|
92
|
+
return MapItemArticleORMToJSONTyped(json, false);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export function MapItemArticleORMToJSONTyped(value?: MapItemArticleORM | null, ignoreDiscriminator: boolean = false): any {
|
|
96
|
+
if (value == null) {
|
|
97
|
+
return value;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
return {
|
|
101
|
+
|
|
102
|
+
'id': value['id'],
|
|
103
|
+
'mapItemId': value['mapItemId'],
|
|
104
|
+
'articleId': value['articleId'],
|
|
105
|
+
'presentationId': value['presentationId'],
|
|
106
|
+
'quantity': value['quantity'],
|
|
107
|
+
'meassurementUnitId': value['meassurementUnitId'],
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
@@ -14,70 +14,69 @@
|
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface MapItemCustomFieldDefinitionORM
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface MapItemCustomFieldDefinitionORM {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {number}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof MapItemCustomFieldDefinitionORM
|
|
26
26
|
*/
|
|
27
|
-
id
|
|
27
|
+
id?: number;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {number}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof MapItemCustomFieldDefinitionORM
|
|
32
32
|
*/
|
|
33
33
|
mapItemTypeId: number;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof MapItemCustomFieldDefinitionORM
|
|
38
38
|
*/
|
|
39
39
|
name: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof MapItemCustomFieldDefinitionORM
|
|
44
44
|
*/
|
|
45
45
|
fieldType: string;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* Check if a given object implements the
|
|
49
|
+
* Check if a given object implements the MapItemCustomFieldDefinitionORM interface.
|
|
50
50
|
*/
|
|
51
|
-
export function
|
|
52
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
51
|
+
export function instanceOfMapItemCustomFieldDefinitionORM(value: object): value is MapItemCustomFieldDefinitionORM {
|
|
53
52
|
if (!('mapItemTypeId' in value) || value['mapItemTypeId'] === undefined) return false;
|
|
54
53
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
55
54
|
if (!('fieldType' in value) || value['fieldType'] === undefined) return false;
|
|
56
55
|
return true;
|
|
57
56
|
}
|
|
58
57
|
|
|
59
|
-
export function
|
|
60
|
-
return
|
|
58
|
+
export function MapItemCustomFieldDefinitionORMFromJSON(json: any): MapItemCustomFieldDefinitionORM {
|
|
59
|
+
return MapItemCustomFieldDefinitionORMFromJSONTyped(json, false);
|
|
61
60
|
}
|
|
62
61
|
|
|
63
|
-
export function
|
|
62
|
+
export function MapItemCustomFieldDefinitionORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapItemCustomFieldDefinitionORM {
|
|
64
63
|
if (json == null) {
|
|
65
64
|
return json;
|
|
66
65
|
}
|
|
67
66
|
return {
|
|
68
67
|
|
|
69
|
-
'id': json['id'],
|
|
68
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
70
69
|
'mapItemTypeId': json['mapItemTypeId'],
|
|
71
70
|
'name': json['name'],
|
|
72
71
|
'fieldType': json['fieldType'],
|
|
73
72
|
};
|
|
74
73
|
}
|
|
75
74
|
|
|
76
|
-
export function
|
|
77
|
-
return
|
|
75
|
+
export function MapItemCustomFieldDefinitionORMToJSON(json: any): MapItemCustomFieldDefinitionORM {
|
|
76
|
+
return MapItemCustomFieldDefinitionORMToJSONTyped(json, false);
|
|
78
77
|
}
|
|
79
78
|
|
|
80
|
-
export function
|
|
79
|
+
export function MapItemCustomFieldDefinitionORMToJSONTyped(value?: MapItemCustomFieldDefinitionORM | null, ignoreDiscriminator: boolean = false): any {
|
|
81
80
|
if (value == null) {
|
|
82
81
|
return value;
|
|
83
82
|
}
|
|
@@ -0,0 +1,91 @@
|
|
|
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 MapItemDynamicFieldInputDto
|
|
20
|
+
*/
|
|
21
|
+
export interface MapItemDynamicFieldInputDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof MapItemDynamicFieldInputDto
|
|
26
|
+
*/
|
|
27
|
+
id?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof MapItemDynamicFieldInputDto
|
|
32
|
+
*/
|
|
33
|
+
mapItemCustomFieldDefinition: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof MapItemDynamicFieldInputDto
|
|
38
|
+
*/
|
|
39
|
+
mapItemId?: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof MapItemDynamicFieldInputDto
|
|
44
|
+
*/
|
|
45
|
+
value: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the MapItemDynamicFieldInputDto interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfMapItemDynamicFieldInputDto(value: object): value is MapItemDynamicFieldInputDto {
|
|
52
|
+
if (!('mapItemCustomFieldDefinition' in value) || value['mapItemCustomFieldDefinition'] === undefined) return false;
|
|
53
|
+
if (!('value' in value) || value['value'] === undefined) return false;
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function MapItemDynamicFieldInputDtoFromJSON(json: any): MapItemDynamicFieldInputDto {
|
|
58
|
+
return MapItemDynamicFieldInputDtoFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function MapItemDynamicFieldInputDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapItemDynamicFieldInputDto {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
|
|
67
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
68
|
+
'mapItemCustomFieldDefinition': json['mapItemCustomFieldDefinition'],
|
|
69
|
+
'mapItemId': json['mapItemId'] == null ? undefined : json['mapItemId'],
|
|
70
|
+
'value': json['value'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function MapItemDynamicFieldInputDtoToJSON(json: any): MapItemDynamicFieldInputDto {
|
|
75
|
+
return MapItemDynamicFieldInputDtoToJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function MapItemDynamicFieldInputDtoToJSONTyped(value?: MapItemDynamicFieldInputDto | null, ignoreDiscriminator: boolean = false): any {
|
|
79
|
+
if (value == null) {
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return {
|
|
84
|
+
|
|
85
|
+
'id': value['id'],
|
|
86
|
+
'mapItemCustomFieldDefinition': value['mapItemCustomFieldDefinition'],
|
|
87
|
+
'mapItemId': value['mapItemId'],
|
|
88
|
+
'value': value['value'],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
@@ -14,70 +14,69 @@
|
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface MapItemDynamicFieldORM
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface MapItemDynamicFieldORM {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {number}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof MapItemDynamicFieldORM
|
|
26
26
|
*/
|
|
27
|
-
id
|
|
27
|
+
id?: number;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {number}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof MapItemDynamicFieldORM
|
|
32
32
|
*/
|
|
33
33
|
mapItemCustomFieldDefinition: number;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {number}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof MapItemDynamicFieldORM
|
|
38
38
|
*/
|
|
39
39
|
mapItemId: number;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof MapItemDynamicFieldORM
|
|
44
44
|
*/
|
|
45
45
|
value: string;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* Check if a given object implements the
|
|
49
|
+
* Check if a given object implements the MapItemDynamicFieldORM interface.
|
|
50
50
|
*/
|
|
51
|
-
export function
|
|
52
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
51
|
+
export function instanceOfMapItemDynamicFieldORM(value: object): value is MapItemDynamicFieldORM {
|
|
53
52
|
if (!('mapItemCustomFieldDefinition' in value) || value['mapItemCustomFieldDefinition'] === undefined) return false;
|
|
54
53
|
if (!('mapItemId' in value) || value['mapItemId'] === undefined) return false;
|
|
55
54
|
if (!('value' in value) || value['value'] === undefined) return false;
|
|
56
55
|
return true;
|
|
57
56
|
}
|
|
58
57
|
|
|
59
|
-
export function
|
|
60
|
-
return
|
|
58
|
+
export function MapItemDynamicFieldORMFromJSON(json: any): MapItemDynamicFieldORM {
|
|
59
|
+
return MapItemDynamicFieldORMFromJSONTyped(json, false);
|
|
61
60
|
}
|
|
62
61
|
|
|
63
|
-
export function
|
|
62
|
+
export function MapItemDynamicFieldORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapItemDynamicFieldORM {
|
|
64
63
|
if (json == null) {
|
|
65
64
|
return json;
|
|
66
65
|
}
|
|
67
66
|
return {
|
|
68
67
|
|
|
69
|
-
'id': json['id'],
|
|
68
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
70
69
|
'mapItemCustomFieldDefinition': json['mapItemCustomFieldDefinition'],
|
|
71
70
|
'mapItemId': json['mapItemId'],
|
|
72
71
|
'value': json['value'],
|
|
73
72
|
};
|
|
74
73
|
}
|
|
75
74
|
|
|
76
|
-
export function
|
|
77
|
-
return
|
|
75
|
+
export function MapItemDynamicFieldORMToJSON(json: any): MapItemDynamicFieldORM {
|
|
76
|
+
return MapItemDynamicFieldORMToJSONTyped(json, false);
|
|
78
77
|
}
|
|
79
78
|
|
|
80
|
-
export function
|
|
79
|
+
export function MapItemDynamicFieldORMToJSONTyped(value?: MapItemDynamicFieldORM | null, ignoreDiscriminator: boolean = false): any {
|
|
81
80
|
if (value == null) {
|
|
82
81
|
return value;
|
|
83
82
|
}
|