@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.
Files changed (229) hide show
  1. package/package.json +3 -3
  2. package/src/apis/AccountApi.ts +56 -46
  3. package/src/apis/ArticleApi.ts +10 -6
  4. package/src/apis/HealthcheckApi.ts +4 -0
  5. package/src/apis/ItemApi.ts +359 -66
  6. package/src/apis/JournalApi.ts +40 -25
  7. package/src/apis/LocationApi.ts +61 -14
  8. package/src/apis/LoginApi.ts +86 -10
  9. package/src/apis/MapApi.ts +74 -75
  10. package/src/apis/MultimediaApi.ts +18 -6
  11. package/src/apis/OrganizationApi.ts +269 -0
  12. package/src/apis/ReportApi.ts +49 -23
  13. package/src/apis/SearchApi.ts +38 -10
  14. package/src/apis/SourceApi.ts +25 -17
  15. package/src/apis/StateMachineApi.ts +10 -6
  16. package/src/apis/index.ts +1 -1
  17. package/src/models/{Def1.ts → AccountORM.ts} +13 -21
  18. package/src/models/AccountOutput.ts +74 -0
  19. package/src/models/AddUserToOrganizationDto.ts +74 -0
  20. package/src/models/{Def4.ts → ArticleORM.ts} +26 -31
  21. package/src/models/ArticlePresentationORM.ts +83 -0
  22. package/src/models/ArticleTypeORM.ts +74 -0
  23. package/src/models/AutoCompleteORM.ts +98 -0
  24. package/src/models/AvailableArticlesDto.ts +138 -0
  25. package/src/models/AvailableArticlesOutput.ts +74 -0
  26. package/src/models/AxisTitle.ts +75 -0
  27. package/src/models/ChartConfiguration.ts +99 -0
  28. package/src/models/ChartData.ts +74 -0
  29. package/src/models/ChartDataset.ts +131 -0
  30. package/src/models/ChartLegend.ts +79 -0
  31. package/src/models/ChartOptions.ts +99 -0
  32. package/src/models/ChartPlugins.ts +90 -0
  33. package/src/models/ChartScales.ts +90 -0
  34. package/src/models/ChartTitle.ts +75 -0
  35. package/src/models/DataPoint.ts +75 -0
  36. package/src/models/ItemLayerLinkInputDto.ts +66 -0
  37. package/src/models/ItemLinkToLayerOutput.ts +66 -0
  38. package/src/models/ItemTypeFormDto.ts +106 -0
  39. package/src/models/ItemTypeFormOutput.ts +74 -0
  40. package/src/models/{Def16.ts → ItemTypeORM.ts} +19 -38
  41. package/src/models/ItemTypeOutput.ts +74 -0
  42. package/src/models/ItemsOutput.ts +74 -0
  43. package/src/models/JournalBookORM.ts +84 -0
  44. package/src/models/JournalEntryArticleORM.ts +110 -0
  45. package/src/models/JournalEntryListOutput.ts +74 -0
  46. package/src/models/JournalEntryMultimediaInput.ts +66 -0
  47. package/src/models/JournalEntryMultimediaORM.ts +83 -0
  48. package/src/models/JournalEntryMultimediaOutput.ts +66 -0
  49. package/src/models/{Def18.ts → JournalEntryORM.ts} +25 -23
  50. package/src/models/JournalEntryOutput.ts +74 -0
  51. package/src/models/JournalEntryOutputDto.ts +75 -0
  52. package/src/models/LegendPosition.ts +55 -0
  53. package/src/models/LocationORM.ts +218 -0
  54. package/src/models/LocationOutput.ts +74 -0
  55. package/src/models/MagnitudeORM.ts +74 -0
  56. package/src/models/ManualLoginInput.ts +75 -0
  57. package/src/models/ManualLoginPasswordUpdateInput.ts +75 -0
  58. package/src/models/{Def43.ts → ManualRegisterInput.ts} +14 -14
  59. package/src/models/MapItemArticleInputDto.ts +109 -0
  60. package/src/models/MapItemArticleORM.ts +110 -0
  61. package/src/models/{Def14.ts → MapItemCustomFieldDefinitionORM.ts} +17 -18
  62. package/src/models/MapItemDynamicFieldInputDto.ts +91 -0
  63. package/src/models/{Def13.ts → MapItemDynamicFieldORM.ts} +17 -18
  64. package/src/models/MapItemDynamicFieldWithDefinitionORM.ts +90 -0
  65. package/src/models/MapItemInput.ts +191 -0
  66. package/src/models/{Def11.ts → MapItemLinkORM.ts} +26 -23
  67. package/src/models/MapItemLinkOutput.ts +74 -0
  68. package/src/models/MapItemListOutput.ts +74 -0
  69. package/src/models/MapItemMultimediaORM.ts +83 -0
  70. package/src/models/MapItemMultimediaOutput.ts +74 -0
  71. package/src/models/MapItemNearByORM.ts +75 -0
  72. package/src/models/MapItemORM.ts +133 -0
  73. package/src/models/MapItemOutput.ts +74 -0
  74. package/src/models/MapItemOutputDto.ts +225 -0
  75. package/src/models/MapItemOutputDtoProps.ts +225 -0
  76. package/src/models/MapItemTypeDynamicFieldDefinitionOutput.ts +74 -0
  77. package/src/models/MapItemTypeDynamicFieldDefinitionValuesOutput.ts +66 -0
  78. package/src/models/MapItemTypeFormORM.ts +83 -0
  79. package/src/models/MapItemTypeFormSectionDto.ts +90 -0
  80. package/src/models/MapItemTypeFormSectionFieldORM.ts +101 -0
  81. package/src/models/MapItemTypeFormSectionORM.ts +92 -0
  82. package/src/models/MapItemTypeORM.ts +135 -0
  83. package/src/models/MapItemTypeOutput.ts +74 -0
  84. package/src/models/MapLayerInput.ts +84 -0
  85. package/src/models/MapLayerItemListOutput.ts +74 -0
  86. package/src/models/MapLayerItemORM.ts +101 -0
  87. package/src/models/MapLayerItemOutput.ts +74 -0
  88. package/src/models/MapLayerListOutput.ts +74 -0
  89. package/src/models/{Def7.ts → MapLayerORM.ts} +27 -33
  90. package/src/models/MapLayerOutput.ts +74 -0
  91. package/src/models/MapLayerOutputDto.ts +118 -0
  92. package/src/models/MapListOutput.ts +74 -0
  93. package/src/models/MapORM.ts +108 -0
  94. package/src/models/MapOutput.ts +74 -0
  95. package/src/models/MapZoneInput.ts +66 -0
  96. package/src/models/{Def62.ts → MapZoneORM.ts} +17 -25
  97. package/src/models/MapZoneOutput.ts +74 -0
  98. package/src/models/MapZoneOutputDto.ts +100 -0
  99. package/src/models/MapZonePointORM.ts +83 -0
  100. package/src/models/MeasureUnitORM.ts +92 -0
  101. package/src/models/ModelRequestContext.ts +74 -0
  102. package/src/models/MultimediaORM.ts +99 -0
  103. package/src/models/MultimediaOutput.ts +74 -0
  104. package/src/models/NominatimAddressORM.ts +147 -0
  105. package/src/models/NominatimORM.ts +192 -0
  106. package/src/models/{Def2.ts → OrganizationORM.ts} +16 -16
  107. package/src/models/{Def81.ts → ReportAvailableColumnDto.ts} +13 -13
  108. package/src/models/ReportAvailableColumnsListOutput.ts +74 -0
  109. package/src/models/ReportColumnFilterORM.ts +101 -0
  110. package/src/models/ReportColumnORM.ts +135 -0
  111. package/src/models/{Def78.ts → ReportConfigurationDto.ts} +13 -22
  112. package/src/models/ReportDataCSVDto.ts +66 -0
  113. package/src/models/ReportDataDto.ts +88 -0
  114. package/src/models/ReportDataJSONDto.ts +74 -0
  115. package/src/models/ReportDataORM.ts +74 -0
  116. package/src/models/ReportDataOutput.ts +74 -0
  117. package/src/models/{Def33.ts → ReportDataRowORM.ts} +12 -12
  118. package/src/models/ReportDto.ts +75 -0
  119. package/src/models/ReportListOutput.ts +74 -0
  120. package/src/models/ReportORM.ts +99 -0
  121. package/src/models/ReportOutput.ts +74 -0
  122. package/src/models/SearchORM.ts +84 -0
  123. package/src/models/SearchOutput.ts +74 -0
  124. package/src/models/SearchResultDto.ts +74 -0
  125. package/src/models/SearchResultSectionDto.ts +92 -0
  126. package/src/models/SearchResultSectionItem.ts +100 -0
  127. package/src/models/{Def90.ts → SourceDto.ts} +16 -15
  128. package/src/models/SourceListOutput.ts +74 -0
  129. package/src/models/SourceOutput.ts +74 -0
  130. package/src/models/StateMachineDefinitionListOutput.ts +74 -0
  131. package/src/models/StateMachineDefinitionOutputDto.ts +117 -0
  132. package/src/models/StateMachineORM.ts +82 -0
  133. package/src/models/{Def37.ts → StateMachineStateORM.ts} +20 -20
  134. package/src/models/StateMachineStateOutputDto.ts +84 -0
  135. package/src/models/{Def39.ts → StateMachineTransitionLogORM.ts} +20 -22
  136. package/src/models/{Def38.ts → StateMachineTransitionORM.ts} +18 -19
  137. package/src/models/StateMachineTransitionOutputDto.ts +93 -0
  138. package/src/models/UpdateUserInOrganizationPasswordDto.ts +66 -0
  139. package/src/models/UploadDto.ts +75 -0
  140. package/src/models/UploadOutput.ts +74 -0
  141. package/src/models/UserDto.ts +83 -0
  142. package/src/models/UserInOrganizationDto.ts +129 -0
  143. package/src/models/UserInOrganizationOutput.ts +74 -0
  144. package/src/models/{Def3.ts → UserORM.ts} +44 -34
  145. package/src/models/XAxisOptions.ts +83 -0
  146. package/src/models/YAxisOptions.ts +83 -0
  147. package/src/models/index.ts +130 -96
  148. package/src/.openapi-generator/FILES +0 -7
  149. package/src/.openapi-generator/VERSION +0 -1
  150. package/src/.openapi-generator-ignore +0 -23
  151. package/src/apis/DefaultApi.ts +0 -200
  152. package/src/models/Def0.ts +0 -73
  153. package/src/models/Def10.ts +0 -105
  154. package/src/models/Def12.ts +0 -81
  155. package/src/models/Def15.ts +0 -75
  156. package/src/models/Def17.ts +0 -81
  157. package/src/models/Def19.ts +0 -81
  158. package/src/models/Def20.ts +0 -105
  159. package/src/models/Def21.ts +0 -81
  160. package/src/models/Def22.ts +0 -217
  161. package/src/models/Def23.ts +0 -97
  162. package/src/models/Def24.ts +0 -127
  163. package/src/models/Def25.ts +0 -81
  164. package/src/models/Def26.ts +0 -81
  165. package/src/models/Def27.ts +0 -105
  166. package/src/models/Def28.ts +0 -121
  167. package/src/models/Def29.ts +0 -97
  168. package/src/models/Def30.ts +0 -113
  169. package/src/models/Def31.ts +0 -116
  170. package/src/models/Def32.ts +0 -121
  171. package/src/models/Def34.ts +0 -66
  172. package/src/models/Def35.ts +0 -81
  173. package/src/models/Def36.ts +0 -84
  174. package/src/models/Def40.ts +0 -137
  175. package/src/models/Def41.ts +0 -178
  176. package/src/models/Def42.ts +0 -66
  177. package/src/models/Def44.ts +0 -75
  178. package/src/models/Def45.ts +0 -74
  179. package/src/models/Def46.ts +0 -102
  180. package/src/models/Def47.ts +0 -66
  181. package/src/models/Def48.ts +0 -65
  182. package/src/models/Def49.ts +0 -66
  183. package/src/models/Def5.ts +0 -89
  184. package/src/models/Def50.ts +0 -66
  185. package/src/models/Def51.ts +0 -123
  186. package/src/models/Def52.ts +0 -66
  187. package/src/models/Def53.ts +0 -66
  188. package/src/models/Def54.ts +0 -66
  189. package/src/models/Def56.ts +0 -90
  190. package/src/models/Def57.ts +0 -182
  191. package/src/models/Def58.ts +0 -84
  192. package/src/models/Def59.ts +0 -66
  193. package/src/models/Def6.ts +0 -97
  194. package/src/models/Def60.ts +0 -66
  195. package/src/models/Def61.ts +0 -189
  196. package/src/models/Def63.ts +0 -66
  197. package/src/models/Def64.ts +0 -66
  198. package/src/models/Def65.ts +0 -66
  199. package/src/models/Def66.ts +0 -66
  200. package/src/models/Def67.ts +0 -66
  201. package/src/models/Def68.ts +0 -66
  202. package/src/models/Def69.ts +0 -66
  203. package/src/models/Def70.ts +0 -66
  204. package/src/models/Def71.ts +0 -66
  205. package/src/models/Def72.ts +0 -66
  206. package/src/models/Def73.ts +0 -66
  207. package/src/models/Def74.ts +0 -66
  208. package/src/models/Def75.ts +0 -75
  209. package/src/models/Def76.ts +0 -66
  210. package/src/models/Def77.ts +0 -66
  211. package/src/models/Def79.ts +0 -75
  212. package/src/models/Def8.ts +0 -137
  213. package/src/models/Def80.ts +0 -73
  214. package/src/models/Def82.ts +0 -66
  215. package/src/models/Def83.ts +0 -66
  216. package/src/models/Def84.ts +0 -66
  217. package/src/models/Def85.ts +0 -66
  218. package/src/models/Def86.ts +0 -92
  219. package/src/models/Def87.ts +0 -84
  220. package/src/models/Def88.ts +0 -66
  221. package/src/models/Def89.ts +0 -66
  222. package/src/models/Def9.ts +0 -113
  223. package/src/models/Def91.ts +0 -66
  224. package/src/models/Def92.ts +0 -66
  225. package/src/models/Def93.ts +0 -101
  226. package/src/models/Def94.ts +0 -66
  227. package/src/models/Def95.ts +0 -73
  228. package/src/models/Def96.ts +0 -66
  229. package/src/models/User.ts +0 -91
@@ -14,68 +14,61 @@
14
14
 
15
15
  import { mapValues } from '../runtime';
16
16
  /**
17
- * MapZoneDto
17
+ *
18
18
  * @export
19
- * @interface Def62
19
+ * @interface MapZoneORM
20
20
  */
21
- export interface Def62 {
21
+ export interface MapZoneORM {
22
22
  /**
23
23
  *
24
24
  * @type {number}
25
- * @memberof Def62
25
+ * @memberof MapZoneORM
26
26
  */
27
27
  id?: number;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof Def62
32
- */
33
- title?: string;
34
- /**
35
- *
36
- * @type {Array<object>}
37
- * @memberof Def62
31
+ * @memberof MapZoneORM
38
32
  */
39
- locations: Array<object>;
33
+ title: string;
40
34
  /**
41
35
  *
42
36
  * @type {number}
43
- * @memberof Def62
37
+ * @memberof MapZoneORM
44
38
  */
45
39
  isCloseZone: number;
46
40
  }
47
41
 
48
42
  /**
49
- * Check if a given object implements the Def62 interface.
43
+ * Check if a given object implements the MapZoneORM interface.
50
44
  */
51
- export function instanceOfDef62(value: object): value is Def62 {
52
- if (!('locations' in value) || value['locations'] === undefined) return false;
45
+ export function instanceOfMapZoneORM(value: object): value is MapZoneORM {
46
+ if (!('title' in value) || value['title'] === undefined) return false;
53
47
  if (!('isCloseZone' in value) || value['isCloseZone'] === undefined) return false;
54
48
  return true;
55
49
  }
56
50
 
57
- export function Def62FromJSON(json: any): Def62 {
58
- return Def62FromJSONTyped(json, false);
51
+ export function MapZoneORMFromJSON(json: any): MapZoneORM {
52
+ return MapZoneORMFromJSONTyped(json, false);
59
53
  }
60
54
 
61
- export function Def62FromJSONTyped(json: any, ignoreDiscriminator: boolean): Def62 {
55
+ export function MapZoneORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapZoneORM {
62
56
  if (json == null) {
63
57
  return json;
64
58
  }
65
59
  return {
66
60
 
67
61
  'id': json['id'] == null ? undefined : json['id'],
68
- 'title': json['title'] == null ? undefined : json['title'],
69
- 'locations': json['locations'],
62
+ 'title': json['title'],
70
63
  'isCloseZone': json['isCloseZone'],
71
64
  };
72
65
  }
73
66
 
74
- export function Def62ToJSON(json: any): Def62 {
75
- return Def62ToJSONTyped(json, false);
67
+ export function MapZoneORMToJSON(json: any): MapZoneORM {
68
+ return MapZoneORMToJSONTyped(json, false);
76
69
  }
77
70
 
78
- export function Def62ToJSONTyped(value?: Def62 | null, ignoreDiscriminator: boolean = false): any {
71
+ export function MapZoneORMToJSONTyped(value?: MapZoneORM | null, ignoreDiscriminator: boolean = false): any {
79
72
  if (value == null) {
80
73
  return value;
81
74
  }
@@ -84,7 +77,6 @@ export function Def62ToJSONTyped(value?: Def62 | null, ignoreDiscriminator: bool
84
77
 
85
78
  'id': value['id'],
86
79
  'title': value['title'],
87
- 'locations': value['locations'],
88
80
  'isCloseZone': value['isCloseZone'],
89
81
  };
90
82
  }
@@ -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 { MapZoneOutputDto } from './MapZoneOutputDto';
17
+ import {
18
+ MapZoneOutputDtoFromJSON,
19
+ MapZoneOutputDtoFromJSONTyped,
20
+ MapZoneOutputDtoToJSON,
21
+ MapZoneOutputDtoToJSONTyped,
22
+ } from './MapZoneOutputDto';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface MapZoneOutput
28
+ */
29
+ export interface MapZoneOutput {
30
+ /**
31
+ *
32
+ * @type {MapZoneOutputDto}
33
+ * @memberof MapZoneOutput
34
+ */
35
+ data: MapZoneOutputDto;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the MapZoneOutput interface.
40
+ */
41
+ export function instanceOfMapZoneOutput(value: object): value is MapZoneOutput {
42
+ if (!('data' in value) || value['data'] === undefined) return false;
43
+ return true;
44
+ }
45
+
46
+ export function MapZoneOutputFromJSON(json: any): MapZoneOutput {
47
+ return MapZoneOutputFromJSONTyped(json, false);
48
+ }
49
+
50
+ export function MapZoneOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapZoneOutput {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+
56
+ 'data': MapZoneOutputDtoFromJSON(json['data']),
57
+ };
58
+ }
59
+
60
+ export function MapZoneOutputToJSON(json: any): MapZoneOutput {
61
+ return MapZoneOutputToJSONTyped(json, false);
62
+ }
63
+
64
+ export function MapZoneOutputToJSONTyped(value?: MapZoneOutput | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'data': MapZoneOutputDtoToJSON(value['data']),
72
+ };
73
+ }
74
+
@@ -0,0 +1,100 @@
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 { LocationORM } from './LocationORM';
17
+ import {
18
+ LocationORMFromJSON,
19
+ LocationORMFromJSONTyped,
20
+ LocationORMToJSON,
21
+ LocationORMToJSONTyped,
22
+ } from './LocationORM';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface MapZoneOutputDto
28
+ */
29
+ export interface MapZoneOutputDto {
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof MapZoneOutputDto
34
+ */
35
+ id?: number;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof MapZoneOutputDto
40
+ */
41
+ title: string;
42
+ /**
43
+ *
44
+ * @type {Array<LocationORM>}
45
+ * @memberof MapZoneOutputDto
46
+ */
47
+ locations: Array<LocationORM>;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof MapZoneOutputDto
52
+ */
53
+ isCloseZone: number;
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the MapZoneOutputDto interface.
58
+ */
59
+ export function instanceOfMapZoneOutputDto(value: object): value is MapZoneOutputDto {
60
+ if (!('title' in value) || value['title'] === undefined) return false;
61
+ if (!('locations' in value) || value['locations'] === undefined) return false;
62
+ if (!('isCloseZone' in value) || value['isCloseZone'] === undefined) return false;
63
+ return true;
64
+ }
65
+
66
+ export function MapZoneOutputDtoFromJSON(json: any): MapZoneOutputDto {
67
+ return MapZoneOutputDtoFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function MapZoneOutputDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapZoneOutputDto {
71
+ if (json == null) {
72
+ return json;
73
+ }
74
+ return {
75
+
76
+ 'id': json['id'] == null ? undefined : json['id'],
77
+ 'title': json['title'],
78
+ 'locations': ((json['locations'] as Array<any>).map(LocationORMFromJSON)),
79
+ 'isCloseZone': json['isCloseZone'],
80
+ };
81
+ }
82
+
83
+ export function MapZoneOutputDtoToJSON(json: any): MapZoneOutputDto {
84
+ return MapZoneOutputDtoToJSONTyped(json, false);
85
+ }
86
+
87
+ export function MapZoneOutputDtoToJSONTyped(value?: MapZoneOutputDto | null, ignoreDiscriminator: boolean = false): any {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+
92
+ return {
93
+
94
+ 'id': value['id'],
95
+ 'title': value['title'],
96
+ 'locations': ((value['locations'] as Array<any>).map(LocationORMToJSON)),
97
+ 'isCloseZone': value['isCloseZone'],
98
+ };
99
+ }
100
+
@@ -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 MapZonePointORM
20
+ */
21
+ export interface MapZonePointORM {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof MapZonePointORM
26
+ */
27
+ id?: number;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof MapZonePointORM
32
+ */
33
+ zoneId: number;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof MapZonePointORM
38
+ */
39
+ locationId: number;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the MapZonePointORM interface.
44
+ */
45
+ export function instanceOfMapZonePointORM(value: object): value is MapZonePointORM {
46
+ if (!('zoneId' in value) || value['zoneId'] === undefined) return false;
47
+ if (!('locationId' in value) || value['locationId'] === undefined) return false;
48
+ return true;
49
+ }
50
+
51
+ export function MapZonePointORMFromJSON(json: any): MapZonePointORM {
52
+ return MapZonePointORMFromJSONTyped(json, false);
53
+ }
54
+
55
+ export function MapZonePointORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): MapZonePointORM {
56
+ if (json == null) {
57
+ return json;
58
+ }
59
+ return {
60
+
61
+ 'id': json['id'] == null ? undefined : json['id'],
62
+ 'zoneId': json['zoneId'],
63
+ 'locationId': json['locationId'],
64
+ };
65
+ }
66
+
67
+ export function MapZonePointORMToJSON(json: any): MapZonePointORM {
68
+ return MapZonePointORMToJSONTyped(json, false);
69
+ }
70
+
71
+ export function MapZonePointORMToJSONTyped(value?: MapZonePointORM | null, ignoreDiscriminator: boolean = false): any {
72
+ if (value == null) {
73
+ return value;
74
+ }
75
+
76
+ return {
77
+
78
+ 'id': value['id'],
79
+ 'zoneId': value['zoneId'],
80
+ 'locationId': value['locationId'],
81
+ };
82
+ }
83
+
@@ -0,0 +1,92 @@
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 MeasureUnitORM
20
+ */
21
+ export interface MeasureUnitORM {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof MeasureUnitORM
26
+ */
27
+ id?: number;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof MeasureUnitORM
32
+ */
33
+ title: string;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof MeasureUnitORM
38
+ */
39
+ magnitudeId: number;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof MeasureUnitORM
44
+ */
45
+ orderKey: number;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the MeasureUnitORM interface.
50
+ */
51
+ export function instanceOfMeasureUnitORM(value: object): value is MeasureUnitORM {
52
+ if (!('title' in value) || value['title'] === undefined) return false;
53
+ if (!('magnitudeId' in value) || value['magnitudeId'] === undefined) return false;
54
+ if (!('orderKey' in value) || value['orderKey'] === undefined) return false;
55
+ return true;
56
+ }
57
+
58
+ export function MeasureUnitORMFromJSON(json: any): MeasureUnitORM {
59
+ return MeasureUnitORMFromJSONTyped(json, false);
60
+ }
61
+
62
+ export function MeasureUnitORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): MeasureUnitORM {
63
+ if (json == null) {
64
+ return json;
65
+ }
66
+ return {
67
+
68
+ 'id': json['id'] == null ? undefined : json['id'],
69
+ 'title': json['title'],
70
+ 'magnitudeId': json['magnitudeId'],
71
+ 'orderKey': json['orderKey'],
72
+ };
73
+ }
74
+
75
+ export function MeasureUnitORMToJSON(json: any): MeasureUnitORM {
76
+ return MeasureUnitORMToJSONTyped(json, false);
77
+ }
78
+
79
+ export function MeasureUnitORMToJSONTyped(value?: MeasureUnitORM | null, ignoreDiscriminator: boolean = false): any {
80
+ if (value == null) {
81
+ return value;
82
+ }
83
+
84
+ return {
85
+
86
+ 'id': value['id'],
87
+ 'title': value['title'],
88
+ 'magnitudeId': value['magnitudeId'],
89
+ 'orderKey': value['orderKey'],
90
+ };
91
+ }
92
+
@@ -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
+ /**
17
+ *
18
+ * @export
19
+ * @interface ModelRequestContext
20
+ */
21
+ export interface ModelRequestContext {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof ModelRequestContext
26
+ */
27
+ userId: number;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof ModelRequestContext
32
+ */
33
+ organizationId?: number;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the ModelRequestContext interface.
38
+ */
39
+ export function instanceOfModelRequestContext(value: object): value is ModelRequestContext {
40
+ if (!('userId' in value) || value['userId'] === undefined) return false;
41
+ return true;
42
+ }
43
+
44
+ export function ModelRequestContextFromJSON(json: any): ModelRequestContext {
45
+ return ModelRequestContextFromJSONTyped(json, false);
46
+ }
47
+
48
+ export function ModelRequestContextFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelRequestContext {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+
54
+ 'userId': json['userId'],
55
+ 'organizationId': json['organizationId'] == null ? undefined : json['organizationId'],
56
+ };
57
+ }
58
+
59
+ export function ModelRequestContextToJSON(json: any): ModelRequestContext {
60
+ return ModelRequestContextToJSONTyped(json, false);
61
+ }
62
+
63
+ export function ModelRequestContextToJSONTyped(value?: ModelRequestContext | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'userId': value['userId'],
71
+ 'organizationId': value['organizationId'],
72
+ };
73
+ }
74
+
@@ -0,0 +1,99 @@
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 MultimediaORM
20
+ */
21
+ export interface MultimediaORM {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof MultimediaORM
26
+ */
27
+ id?: number;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof MultimediaORM
32
+ */
33
+ relativeURL: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof MultimediaORM
38
+ */
39
+ mediaType: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof MultimediaORM
44
+ */
45
+ createDate?: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof MultimediaORM
50
+ */
51
+ deleteDate?: string;
52
+ }
53
+
54
+ /**
55
+ * Check if a given object implements the MultimediaORM interface.
56
+ */
57
+ export function instanceOfMultimediaORM(value: object): value is MultimediaORM {
58
+ if (!('relativeURL' in value) || value['relativeURL'] === undefined) return false;
59
+ if (!('mediaType' in value) || value['mediaType'] === undefined) return false;
60
+ return true;
61
+ }
62
+
63
+ export function MultimediaORMFromJSON(json: any): MultimediaORM {
64
+ return MultimediaORMFromJSONTyped(json, false);
65
+ }
66
+
67
+ export function MultimediaORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): MultimediaORM {
68
+ if (json == null) {
69
+ return json;
70
+ }
71
+ return {
72
+
73
+ 'id': json['id'] == null ? undefined : json['id'],
74
+ 'relativeURL': json['relativeURL'],
75
+ 'mediaType': json['mediaType'],
76
+ 'createDate': json['createDate'] == null ? undefined : json['createDate'],
77
+ 'deleteDate': json['deleteDate'] == null ? undefined : json['deleteDate'],
78
+ };
79
+ }
80
+
81
+ export function MultimediaORMToJSON(json: any): MultimediaORM {
82
+ return MultimediaORMToJSONTyped(json, false);
83
+ }
84
+
85
+ export function MultimediaORMToJSONTyped(value?: MultimediaORM | null, ignoreDiscriminator: boolean = false): any {
86
+ if (value == null) {
87
+ return value;
88
+ }
89
+
90
+ return {
91
+
92
+ 'id': value['id'],
93
+ 'relativeURL': value['relativeURL'],
94
+ 'mediaType': value['mediaType'],
95
+ 'createDate': value['createDate'],
96
+ 'deleteDate': value['deleteDate'],
97
+ };
98
+ }
99
+
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Security Map API
5
+ * Security Map API
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { MultimediaORM } from './MultimediaORM';
17
+ import {
18
+ MultimediaORMFromJSON,
19
+ MultimediaORMFromJSONTyped,
20
+ MultimediaORMToJSON,
21
+ MultimediaORMToJSONTyped,
22
+ } from './MultimediaORM';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface MultimediaOutput
28
+ */
29
+ export interface MultimediaOutput {
30
+ /**
31
+ *
32
+ * @type {MultimediaORM}
33
+ * @memberof MultimediaOutput
34
+ */
35
+ data: MultimediaORM;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the MultimediaOutput interface.
40
+ */
41
+ export function instanceOfMultimediaOutput(value: object): value is MultimediaOutput {
42
+ if (!('data' in value) || value['data'] === undefined) return false;
43
+ return true;
44
+ }
45
+
46
+ export function MultimediaOutputFromJSON(json: any): MultimediaOutput {
47
+ return MultimediaOutputFromJSONTyped(json, false);
48
+ }
49
+
50
+ export function MultimediaOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MultimediaOutput {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+
56
+ 'data': MultimediaORMFromJSON(json['data']),
57
+ };
58
+ }
59
+
60
+ export function MultimediaOutputToJSON(json: any): MultimediaOutput {
61
+ return MultimediaOutputToJSONTyped(json, false);
62
+ }
63
+
64
+ export function MultimediaOutputToJSONTyped(value?: MultimediaOutput | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'data': MultimediaORMToJSON(value['data']),
72
+ };
73
+ }
74
+