@jrojaspin/security-map-api-cli 1.9.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 +58 -20
- package/src/apis/ArticleApi.ts +6 -6
- package/src/apis/ItemApi.ts +289 -71
- package/src/apis/JournalApi.ts +28 -28
- package/src/apis/LocationApi.ts +57 -14
- package/src/apis/LoginApi.ts +15 -15
- package/src/apis/MapApi.ts +46 -79
- package/src/apis/MultimediaApi.ts +6 -6
- package/src/apis/OrganizationApi.ts +41 -41
- package/src/apis/ReportApi.ts +37 -23
- package/src/apis/SearchApi.ts +9 -9
- package/src/apis/SourceApi.ts +17 -17
- package/src/apis/StateMachineApi.ts +6 -6
- package/src/apis/index.ts +0 -1
- package/src/models/{Def1.ts → AccountORM.ts} +15 -23
- 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/{Def57Data.ts → JournalEntryORM.ts} +25 -24
- 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/{Def44.ts → ManualLoginInput.ts} +13 -13
- package/src/models/{Def45.ts → ManualLoginPasswordUpdateInput.ts} +13 -13
- 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 -36
- package/src/models/{Def15CustomFieldValue.ts → MapItemDynamicFieldInputDto.ts} +19 -21
- 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/{Def54Data.ts → MapItemTypeORM.ts} +43 -35
- 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/{Def71Data.ts → MapORM.ts} +35 -32
- package/src/models/MapOutput.ts +74 -0
- package/src/models/MapZoneInput.ts +66 -0
- package/src/models/MapZoneORM.ts +83 -0
- 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/{Def18.ts → MultimediaORM.ts} +24 -31
- 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 -17
- package/src/models/{Def86.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/{Def83.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/{Def34RowsInner.ts → ReportDataRowORM.ts} +12 -12
- package/src/models/ReportDto.ts +75 -0
- package/src/models/ReportListOutput.ts +74 -0
- package/src/models/{Def58Data.ts → ReportORM.ts} +25 -32
- 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/{Def86Data.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/{Def98TransitionsInner.ts → StateMachineTransitionORM.ts} +18 -19
- package/src/models/{Def38.ts → StateMachineTransitionOutputDto.ts} +15 -24
- 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/{Def49.ts → UserInOrganizationDto.ts} +23 -32
- package/src/models/UserInOrganizationOutput.ts +74 -0
- package/src/models/{Def3.ts → UserORM.ts} +36 -38
- package/src/models/XAxisOptions.ts +83 -0
- package/src/models/YAxisOptions.ts +83 -0
- package/src/models/index.ts +130 -155
- package/src/apis/DefaultApi.ts +0 -224
- package/src/models/Def0.ts +0 -74
- package/src/models/Def10.ts +0 -105
- package/src/models/Def100.ts +0 -73
- package/src/models/Def100Data.ts +0 -73
- package/src/models/Def101.ts +0 -74
- package/src/models/Def101Data.ts +0 -73
- package/src/models/Def12.ts +0 -81
- package/src/models/Def15.ts +0 -90
- package/src/models/Def15CustomFieldDefinition.ts +0 -111
- 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 -128
- 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/Def33.ts +0 -66
- package/src/models/Def34.ts +0 -74
- package/src/models/Def35.ts +0 -98
- package/src/models/Def35LocationOrm.ts +0 -217
- package/src/models/Def35MapItemOrm.ts +0 -156
- package/src/models/Def36.ts +0 -84
- package/src/models/Def40.ts +0 -137
- package/src/models/Def41.ts +0 -187
- package/src/models/Def41Address.ts +0 -137
- package/src/models/Def42.ts +0 -74
- package/src/models/Def42Data.ts +0 -81
- package/src/models/Def46.ts +0 -90
- package/src/models/Def46OrganizationOrm.ts +0 -84
- package/src/models/Def46UserOrm.ts +0 -147
- package/src/models/Def47.ts +0 -74
- package/src/models/Def47UsersInner.ts +0 -75
- package/src/models/Def48.ts +0 -66
- package/src/models/Def5.ts +0 -89
- package/src/models/Def50.ts +0 -74
- package/src/models/Def50ArticlePresentationsInner.ts +0 -97
- package/src/models/Def50ArticleTypesInner.ts +0 -89
- package/src/models/Def50ArticlesInner.ts +0 -113
- package/src/models/Def50DataInner.ts +0 -138
- package/src/models/Def50MagnitudesInner.ts +0 -81
- package/src/models/Def50MeasureUnitsInner.ts +0 -97
- package/src/models/Def51.ts +0 -138
- package/src/models/Def51ArticlePresentationsInner.ts +0 -97
- package/src/models/Def51ArticleTypesInner.ts +0 -89
- package/src/models/Def51ArticlesInner.ts +0 -113
- package/src/models/Def51Data.ts +0 -138
- package/src/models/Def51MagnitudesInner.ts +0 -81
- package/src/models/Def51MeasureUnitsInner.ts +0 -97
- package/src/models/Def52.ts +0 -74
- package/src/models/Def52Data.ts +0 -138
- package/src/models/Def53.ts +0 -65
- package/src/models/Def53Data.ts +0 -127
- package/src/models/Def54.ts +0 -74
- package/src/models/Def54DataInner.ts +0 -246
- package/src/models/Def54DataInnerArticlesInner.ts +0 -105
- package/src/models/Def54DataInnerDynamicFieldsInner.ts +0 -90
- package/src/models/Def54DataInnerItemMultimediasInner.ts +0 -81
- package/src/models/Def54DataInnerLinkedItemsInner.ts +0 -105
- package/src/models/Def54DataInnerMapZoneDto.ts +0 -99
- package/src/models/Def54DataInnerMapZoneDtoLocationsInner.ts +0 -217
- package/src/models/Def55.ts +0 -74
- package/src/models/Def55DataInner.ts +0 -246
- package/src/models/Def55DataInnerArticlesInner.ts +0 -105
- package/src/models/Def55DataInnerDynamicFieldsInner.ts +0 -90
- package/src/models/Def55DataInnerItemMultimediasInner.ts +0 -81
- package/src/models/Def55DataInnerLinkedItemsInner.ts +0 -105
- package/src/models/Def55DataInnerMapZoneDto.ts +0 -99
- package/src/models/Def55DataInnerMapZoneDtoLocationsInner.ts +0 -217
- package/src/models/Def56.ts +0 -124
- package/src/models/Def57.ts +0 -66
- package/src/models/Def58.ts +0 -74
- package/src/models/Def58DataInner.ts +0 -124
- package/src/models/Def59.ts +0 -74
- package/src/models/Def59DataInner.ts +0 -124
- package/src/models/Def6.ts +0 -97
- package/src/models/Def60.ts +0 -66
- package/src/models/Def61.ts +0 -90
- package/src/models/Def61MapZoneInput.ts +0 -90
- package/src/models/Def62.ts +0 -223
- package/src/models/Def62MapZoneInput.ts +0 -90
- package/src/models/Def63.ts +0 -84
- package/src/models/Def63Data.ts +0 -121
- package/src/models/Def64.ts +0 -74
- package/src/models/Def64Data.ts +0 -121
- package/src/models/Def64DataInner.ts +0 -121
- package/src/models/Def65.ts +0 -74
- package/src/models/Def65DataInner.ts +0 -121
- package/src/models/Def66.ts +0 -246
- package/src/models/Def67.ts +0 -99
- package/src/models/Def68.ts +0 -74
- package/src/models/Def68DataInner.ts +0 -105
- package/src/models/Def69.ts +0 -74
- package/src/models/Def69DataInner.ts +0 -105
- package/src/models/Def70.ts +0 -74
- package/src/models/Def71.ts +0 -66
- package/src/models/Def72.ts +0 -74
- package/src/models/Def72Data.ts +0 -105
- package/src/models/Def73.ts +0 -74
- package/src/models/Def73Data.ts +0 -81
- package/src/models/Def73DataInner.ts +0 -128
- package/src/models/Def74.ts +0 -74
- package/src/models/Def74Data.ts +0 -128
- package/src/models/Def74DataInner.ts +0 -128
- package/src/models/Def75.ts +0 -74
- package/src/models/Def75Data.ts +0 -128
- package/src/models/Def76.ts +0 -74
- package/src/models/Def76Data.ts +0 -113
- package/src/models/Def77.ts +0 -74
- package/src/models/Def77Data.ts +0 -113
- package/src/models/Def77DataInner.ts +0 -113
- package/src/models/Def78.ts +0 -74
- package/src/models/Def78Data.ts +0 -246
- package/src/models/Def78DataInner.ts +0 -113
- package/src/models/Def79.ts +0 -74
- package/src/models/Def79Data.ts +0 -246
- package/src/models/Def8.ts +0 -156
- package/src/models/Def80.ts +0 -83
- package/src/models/Def80Data.ts +0 -83
- package/src/models/Def81.ts +0 -74
- package/src/models/Def81Data.ts +0 -83
- package/src/models/Def82.ts +0 -74
- package/src/models/Def82Data.ts +0 -113
- package/src/models/Def84.ts +0 -75
- package/src/models/Def85.ts +0 -73
- package/src/models/Def87.ts +0 -74
- package/src/models/Def87Data.ts +0 -73
- package/src/models/Def88.ts +0 -74
- package/src/models/Def88Data.ts +0 -75
- package/src/models/Def88DataInner.ts +0 -73
- package/src/models/Def89.ts +0 -74
- package/src/models/Def89DataInner.ts +0 -73
- package/src/models/Def9.ts +0 -113
- package/src/models/Def90.ts +0 -74
- package/src/models/Def90DataInner.ts +0 -75
- package/src/models/Def91.ts +0 -101
- package/src/models/Def91ItemsInner.ts +0 -101
- package/src/models/Def92.ts +0 -92
- package/src/models/Def92ItemsInner.ts +0 -101
- package/src/models/Def92SectionsInner.ts +0 -92
- package/src/models/Def93.ts +0 -74
- package/src/models/Def93Data.ts +0 -74
- package/src/models/Def93SectionsInner.ts +0 -92
- package/src/models/Def94.ts +0 -74
- package/src/models/Def94Data.ts +0 -74
- package/src/models/Def95.ts +0 -73
- package/src/models/Def95Data.ts +0 -73
- package/src/models/Def96.ts +0 -74
- package/src/models/Def96Data.ts +0 -73
- package/src/models/Def96DataInner.ts +0 -73
- package/src/models/Def97.ts +0 -74
- package/src/models/Def97DataInner.ts +0 -73
- package/src/models/Def97StatesInner.ts +0 -92
- package/src/models/Def97TransitionsInner.ts +0 -102
- package/src/models/Def98.ts +0 -116
- package/src/models/Def98DataInner.ts +0 -116
- package/src/models/Def98StatesInner.ts +0 -92
- package/src/models/Def99.ts +0 -74
- package/src/models/Def99DataInner.ts +0 -116
|
@@ -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
|
+
|
|
@@ -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 ItemsOutput
|
|
28
|
+
*/
|
|
29
|
+
export interface ItemsOutput {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<MapItemOutputDto>}
|
|
33
|
+
* @memberof ItemsOutput
|
|
34
|
+
*/
|
|
35
|
+
data: Array<MapItemOutputDto>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ItemsOutput interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfItemsOutput(value: object): value is ItemsOutput {
|
|
42
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function ItemsOutputFromJSON(json: any): ItemsOutput {
|
|
47
|
+
return ItemsOutputFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function ItemsOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ItemsOutput {
|
|
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 ItemsOutputToJSON(json: any): ItemsOutput {
|
|
61
|
+
return ItemsOutputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ItemsOutputToJSONTyped(value?: ItemsOutput | 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,84 @@
|
|
|
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 JournalBookORM
|
|
20
|
+
*/
|
|
21
|
+
export interface JournalBookORM {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof JournalBookORM
|
|
26
|
+
*/
|
|
27
|
+
id: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof JournalBookORM
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof JournalBookORM
|
|
38
|
+
*/
|
|
39
|
+
parentId: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the JournalBookORM interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfJournalBookORM(value: object): value is JournalBookORM {
|
|
46
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
47
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
48
|
+
if (!('parentId' in value) || value['parentId'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function JournalBookORMFromJSON(json: any): JournalBookORM {
|
|
53
|
+
return JournalBookORMFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function JournalBookORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): JournalBookORM {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'id': json['id'],
|
|
63
|
+
'name': json['name'],
|
|
64
|
+
'parentId': json['parentId'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function JournalBookORMToJSON(json: any): JournalBookORM {
|
|
69
|
+
return JournalBookORMToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function JournalBookORMToJSONTyped(value?: JournalBookORM | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'id': value['id'],
|
|
80
|
+
'name': value['name'],
|
|
81
|
+
'parentId': value['parentId'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -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 JournalEntryArticleORM
|
|
20
|
+
*/
|
|
21
|
+
export interface JournalEntryArticleORM {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof JournalEntryArticleORM
|
|
26
|
+
*/
|
|
27
|
+
id?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof JournalEntryArticleORM
|
|
32
|
+
*/
|
|
33
|
+
journalEntryId: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof JournalEntryArticleORM
|
|
38
|
+
*/
|
|
39
|
+
articleId: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof JournalEntryArticleORM
|
|
44
|
+
*/
|
|
45
|
+
presentationId: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof JournalEntryArticleORM
|
|
50
|
+
*/
|
|
51
|
+
quantity: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof JournalEntryArticleORM
|
|
56
|
+
*/
|
|
57
|
+
meassurementUnitId: number;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the JournalEntryArticleORM interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfJournalEntryArticleORM(value: object): value is JournalEntryArticleORM {
|
|
64
|
+
if (!('journalEntryId' in value) || value['journalEntryId'] === 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 JournalEntryArticleORMFromJSON(json: any): JournalEntryArticleORM {
|
|
73
|
+
return JournalEntryArticleORMFromJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function JournalEntryArticleORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): JournalEntryArticleORM {
|
|
77
|
+
if (json == null) {
|
|
78
|
+
return json;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
83
|
+
'journalEntryId': json['journalEntryId'],
|
|
84
|
+
'articleId': json['articleId'],
|
|
85
|
+
'presentationId': json['presentationId'],
|
|
86
|
+
'quantity': json['quantity'],
|
|
87
|
+
'meassurementUnitId': json['meassurementUnitId'],
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function JournalEntryArticleORMToJSON(json: any): JournalEntryArticleORM {
|
|
92
|
+
return JournalEntryArticleORMToJSONTyped(json, false);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export function JournalEntryArticleORMToJSONTyped(value?: JournalEntryArticleORM | null, ignoreDiscriminator: boolean = false): any {
|
|
96
|
+
if (value == null) {
|
|
97
|
+
return value;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
return {
|
|
101
|
+
|
|
102
|
+
'id': value['id'],
|
|
103
|
+
'journalEntryId': value['journalEntryId'],
|
|
104
|
+
'articleId': value['articleId'],
|
|
105
|
+
'presentationId': value['presentationId'],
|
|
106
|
+
'quantity': value['quantity'],
|
|
107
|
+
'meassurementUnitId': value['meassurementUnitId'],
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
@@ -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 { JournalEntryOutputDto } from './JournalEntryOutputDto';
|
|
17
|
+
import {
|
|
18
|
+
JournalEntryOutputDtoFromJSON,
|
|
19
|
+
JournalEntryOutputDtoFromJSONTyped,
|
|
20
|
+
JournalEntryOutputDtoToJSON,
|
|
21
|
+
JournalEntryOutputDtoToJSONTyped,
|
|
22
|
+
} from './JournalEntryOutputDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface JournalEntryListOutput
|
|
28
|
+
*/
|
|
29
|
+
export interface JournalEntryListOutput {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<JournalEntryOutputDto>}
|
|
33
|
+
* @memberof JournalEntryListOutput
|
|
34
|
+
*/
|
|
35
|
+
data: Array<JournalEntryOutputDto>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the JournalEntryListOutput interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfJournalEntryListOutput(value: object): value is JournalEntryListOutput {
|
|
42
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function JournalEntryListOutputFromJSON(json: any): JournalEntryListOutput {
|
|
47
|
+
return JournalEntryListOutputFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function JournalEntryListOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): JournalEntryListOutput {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'data': ((json['data'] as Array<any>).map(JournalEntryOutputDtoFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function JournalEntryListOutputToJSON(json: any): JournalEntryListOutput {
|
|
61
|
+
return JournalEntryListOutputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function JournalEntryListOutputToJSONTyped(value?: JournalEntryListOutput | 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(JournalEntryOutputDtoToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Security Map API
|
|
5
|
+
* Security Map API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface JournalEntryMultimediaInput
|
|
20
|
+
*/
|
|
21
|
+
export interface JournalEntryMultimediaInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof JournalEntryMultimediaInput
|
|
26
|
+
*/
|
|
27
|
+
multimediaId: number;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the JournalEntryMultimediaInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfJournalEntryMultimediaInput(value: object): value is JournalEntryMultimediaInput {
|
|
34
|
+
if (!('multimediaId' in value) || value['multimediaId'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function JournalEntryMultimediaInputFromJSON(json: any): JournalEntryMultimediaInput {
|
|
39
|
+
return JournalEntryMultimediaInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function JournalEntryMultimediaInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): JournalEntryMultimediaInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'multimediaId': json['multimediaId'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function JournalEntryMultimediaInputToJSON(json: any): JournalEntryMultimediaInput {
|
|
53
|
+
return JournalEntryMultimediaInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function JournalEntryMultimediaInputToJSONTyped(value?: JournalEntryMultimediaInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'multimediaId': value['multimediaId'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -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 JournalEntryMultimediaORM
|
|
20
|
+
*/
|
|
21
|
+
export interface JournalEntryMultimediaORM {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof JournalEntryMultimediaORM
|
|
26
|
+
*/
|
|
27
|
+
id?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof JournalEntryMultimediaORM
|
|
32
|
+
*/
|
|
33
|
+
journalEntryId: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof JournalEntryMultimediaORM
|
|
38
|
+
*/
|
|
39
|
+
multimediaId: number;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the JournalEntryMultimediaORM interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfJournalEntryMultimediaORM(value: object): value is JournalEntryMultimediaORM {
|
|
46
|
+
if (!('journalEntryId' in value) || value['journalEntryId'] === undefined) return false;
|
|
47
|
+
if (!('multimediaId' in value) || value['multimediaId'] === undefined) return false;
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function JournalEntryMultimediaORMFromJSON(json: any): JournalEntryMultimediaORM {
|
|
52
|
+
return JournalEntryMultimediaORMFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function JournalEntryMultimediaORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): JournalEntryMultimediaORM {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
|
|
61
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
62
|
+
'journalEntryId': json['journalEntryId'],
|
|
63
|
+
'multimediaId': json['multimediaId'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function JournalEntryMultimediaORMToJSON(json: any): JournalEntryMultimediaORM {
|
|
68
|
+
return JournalEntryMultimediaORMToJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function JournalEntryMultimediaORMToJSONTyped(value?: JournalEntryMultimediaORM | null, ignoreDiscriminator: boolean = false): any {
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
return {
|
|
77
|
+
|
|
78
|
+
'id': value['id'],
|
|
79
|
+
'journalEntryId': value['journalEntryId'],
|
|
80
|
+
'multimediaId': value['multimediaId'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|