@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
@@ -0,0 +1,147 @@
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 NominatimAddressORM
20
+ */
21
+ export interface NominatimAddressORM {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof NominatimAddressORM
26
+ */
27
+ iso031662lvl4: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof NominatimAddressORM
32
+ */
33
+ borough: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof NominatimAddressORM
38
+ */
39
+ city: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof NominatimAddressORM
44
+ */
45
+ country: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof NominatimAddressORM
50
+ */
51
+ countryCode: string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof NominatimAddressORM
56
+ */
57
+ neigbourhood: string;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof NominatimAddressORM
62
+ */
63
+ postcode: string;
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof NominatimAddressORM
68
+ */
69
+ road: string;
70
+ /**
71
+ *
72
+ * @type {string}
73
+ * @memberof NominatimAddressORM
74
+ */
75
+ shop: string;
76
+ /**
77
+ *
78
+ * @type {string}
79
+ * @memberof NominatimAddressORM
80
+ */
81
+ suburb: string;
82
+ }
83
+
84
+ /**
85
+ * Check if a given object implements the NominatimAddressORM interface.
86
+ */
87
+ export function instanceOfNominatimAddressORM(value: object): value is NominatimAddressORM {
88
+ if (!('iso031662lvl4' in value) || value['iso031662lvl4'] === undefined) return false;
89
+ if (!('borough' in value) || value['borough'] === undefined) return false;
90
+ if (!('city' in value) || value['city'] === undefined) return false;
91
+ if (!('country' in value) || value['country'] === undefined) return false;
92
+ if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
93
+ if (!('neigbourhood' in value) || value['neigbourhood'] === undefined) return false;
94
+ if (!('postcode' in value) || value['postcode'] === undefined) return false;
95
+ if (!('road' in value) || value['road'] === undefined) return false;
96
+ if (!('shop' in value) || value['shop'] === undefined) return false;
97
+ if (!('suburb' in value) || value['suburb'] === undefined) return false;
98
+ return true;
99
+ }
100
+
101
+ export function NominatimAddressORMFromJSON(json: any): NominatimAddressORM {
102
+ return NominatimAddressORMFromJSONTyped(json, false);
103
+ }
104
+
105
+ export function NominatimAddressORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): NominatimAddressORM {
106
+ if (json == null) {
107
+ return json;
108
+ }
109
+ return {
110
+
111
+ 'iso031662lvl4': json['iso031662lvl4'],
112
+ 'borough': json['borough'],
113
+ 'city': json['city'],
114
+ 'country': json['country'],
115
+ 'countryCode': json['country_code'],
116
+ 'neigbourhood': json['neigbourhood'],
117
+ 'postcode': json['postcode'],
118
+ 'road': json['road'],
119
+ 'shop': json['shop'],
120
+ 'suburb': json['suburb'],
121
+ };
122
+ }
123
+
124
+ export function NominatimAddressORMToJSON(json: any): NominatimAddressORM {
125
+ return NominatimAddressORMToJSONTyped(json, false);
126
+ }
127
+
128
+ export function NominatimAddressORMToJSONTyped(value?: NominatimAddressORM | null, ignoreDiscriminator: boolean = false): any {
129
+ if (value == null) {
130
+ return value;
131
+ }
132
+
133
+ return {
134
+
135
+ 'iso031662lvl4': value['iso031662lvl4'],
136
+ 'borough': value['borough'],
137
+ 'city': value['city'],
138
+ 'country': value['country'],
139
+ 'country_code': value['countryCode'],
140
+ 'neigbourhood': value['neigbourhood'],
141
+ 'postcode': value['postcode'],
142
+ 'road': value['road'],
143
+ 'shop': value['shop'],
144
+ 'suburb': value['suburb'],
145
+ };
146
+ }
147
+
@@ -0,0 +1,192 @@
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 NominatimORM
20
+ */
21
+ export interface NominatimORM {
22
+ /**
23
+ *
24
+ * @type {object}
25
+ * @memberof NominatimORM
26
+ */
27
+ address: object | null;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof NominatimORM
32
+ */
33
+ addresstype: string;
34
+ /**
35
+ *
36
+ * @type {Array<number>}
37
+ * @memberof NominatimORM
38
+ */
39
+ boundingbox: Array<number>;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof NominatimORM
44
+ */
45
+ category: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof NominatimORM
50
+ */
51
+ displayName: string;
52
+ /**
53
+ *
54
+ * @type {number}
55
+ * @memberof NominatimORM
56
+ */
57
+ importance: number;
58
+ /**
59
+ *
60
+ * @type {number}
61
+ * @memberof NominatimORM
62
+ */
63
+ lat: number;
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof NominatimORM
68
+ */
69
+ licence: string;
70
+ /**
71
+ *
72
+ * @type {number}
73
+ * @memberof NominatimORM
74
+ */
75
+ lon: number;
76
+ /**
77
+ *
78
+ * @type {string}
79
+ * @memberof NominatimORM
80
+ */
81
+ name: string;
82
+ /**
83
+ *
84
+ * @type {number}
85
+ * @memberof NominatimORM
86
+ */
87
+ osmId: number;
88
+ /**
89
+ *
90
+ * @type {string}
91
+ * @memberof NominatimORM
92
+ */
93
+ osmType: string;
94
+ /**
95
+ *
96
+ * @type {number}
97
+ * @memberof NominatimORM
98
+ */
99
+ placeId: number;
100
+ /**
101
+ *
102
+ * @type {number}
103
+ * @memberof NominatimORM
104
+ */
105
+ placeRank: number;
106
+ /**
107
+ *
108
+ * @type {string}
109
+ * @memberof NominatimORM
110
+ */
111
+ type: string;
112
+ }
113
+
114
+ /**
115
+ * Check if a given object implements the NominatimORM interface.
116
+ */
117
+ export function instanceOfNominatimORM(value: object): value is NominatimORM {
118
+ if (!('address' in value) || value['address'] === undefined) return false;
119
+ if (!('addresstype' in value) || value['addresstype'] === undefined) return false;
120
+ if (!('boundingbox' in value) || value['boundingbox'] === undefined) return false;
121
+ if (!('category' in value) || value['category'] === undefined) return false;
122
+ if (!('displayName' in value) || value['displayName'] === undefined) return false;
123
+ if (!('importance' in value) || value['importance'] === undefined) return false;
124
+ if (!('lat' in value) || value['lat'] === undefined) return false;
125
+ if (!('licence' in value) || value['licence'] === undefined) return false;
126
+ if (!('lon' in value) || value['lon'] === undefined) return false;
127
+ if (!('name' in value) || value['name'] === undefined) return false;
128
+ if (!('osmId' in value) || value['osmId'] === undefined) return false;
129
+ if (!('osmType' in value) || value['osmType'] === undefined) return false;
130
+ if (!('placeId' in value) || value['placeId'] === undefined) return false;
131
+ if (!('placeRank' in value) || value['placeRank'] === undefined) return false;
132
+ if (!('type' in value) || value['type'] === undefined) return false;
133
+ return true;
134
+ }
135
+
136
+ export function NominatimORMFromJSON(json: any): NominatimORM {
137
+ return NominatimORMFromJSONTyped(json, false);
138
+ }
139
+
140
+ export function NominatimORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): NominatimORM {
141
+ if (json == null) {
142
+ return json;
143
+ }
144
+ return {
145
+
146
+ 'address': json['address'],
147
+ 'addresstype': json['addresstype'],
148
+ 'boundingbox': json['boundingbox'],
149
+ 'category': json['category'],
150
+ 'displayName': json['display_name'],
151
+ 'importance': json['importance'],
152
+ 'lat': json['lat'],
153
+ 'licence': json['licence'],
154
+ 'lon': json['lon'],
155
+ 'name': json['name'],
156
+ 'osmId': json['osm_id'],
157
+ 'osmType': json['osm_type'],
158
+ 'placeId': json['place_id'],
159
+ 'placeRank': json['place_rank'],
160
+ 'type': json['type'],
161
+ };
162
+ }
163
+
164
+ export function NominatimORMToJSON(json: any): NominatimORM {
165
+ return NominatimORMToJSONTyped(json, false);
166
+ }
167
+
168
+ export function NominatimORMToJSONTyped(value?: NominatimORM | null, ignoreDiscriminator: boolean = false): any {
169
+ if (value == null) {
170
+ return value;
171
+ }
172
+
173
+ return {
174
+
175
+ 'address': value['address'],
176
+ 'addresstype': value['addresstype'],
177
+ 'boundingbox': value['boundingbox'],
178
+ 'category': value['category'],
179
+ 'display_name': value['displayName'],
180
+ 'importance': value['importance'],
181
+ 'lat': value['lat'],
182
+ 'licence': value['licence'],
183
+ 'lon': value['lon'],
184
+ 'name': value['name'],
185
+ 'osm_id': value['osmId'],
186
+ 'osm_type': value['osmType'],
187
+ 'place_id': value['placeId'],
188
+ 'place_rank': value['placeRank'],
189
+ 'type': value['type'],
190
+ };
191
+ }
192
+
@@ -14,45 +14,45 @@
14
14
 
15
15
  import { mapValues } from '../runtime';
16
16
  /**
17
- * OrganizationORM
17
+ *
18
18
  * @export
19
- * @interface Def2
19
+ * @interface OrganizationORM
20
20
  */
21
- export interface Def2 {
21
+ export interface OrganizationORM {
22
22
  /**
23
23
  *
24
- * @type {object}
25
- * @memberof Def2
24
+ * @type {number}
25
+ * @memberof OrganizationORM
26
26
  */
27
- id?: object;
27
+ id?: number;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof Def2
31
+ * @memberof OrganizationORM
32
32
  */
33
33
  name: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
- * @memberof Def2
37
+ * @memberof OrganizationORM
38
38
  */
39
39
  logo: string;
40
40
  }
41
41
 
42
42
  /**
43
- * Check if a given object implements the Def2 interface.
43
+ * Check if a given object implements the OrganizationORM interface.
44
44
  */
45
- export function instanceOfDef2(value: object): value is Def2 {
45
+ export function instanceOfOrganizationORM(value: object): value is OrganizationORM {
46
46
  if (!('name' in value) || value['name'] === undefined) return false;
47
47
  if (!('logo' in value) || value['logo'] === undefined) return false;
48
48
  return true;
49
49
  }
50
50
 
51
- export function Def2FromJSON(json: any): Def2 {
52
- return Def2FromJSONTyped(json, false);
51
+ export function OrganizationORMFromJSON(json: any): OrganizationORM {
52
+ return OrganizationORMFromJSONTyped(json, false);
53
53
  }
54
54
 
55
- export function Def2FromJSONTyped(json: any, ignoreDiscriminator: boolean): Def2 {
55
+ export function OrganizationORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationORM {
56
56
  if (json == null) {
57
57
  return json;
58
58
  }
@@ -64,11 +64,11 @@ export function Def2FromJSONTyped(json: any, ignoreDiscriminator: boolean): Def2
64
64
  };
65
65
  }
66
66
 
67
- export function Def2ToJSON(json: any): Def2 {
68
- return Def2ToJSONTyped(json, false);
67
+ export function OrganizationORMToJSON(json: any): OrganizationORM {
68
+ return OrganizationORMToJSONTyped(json, false);
69
69
  }
70
70
 
71
- export function Def2ToJSONTyped(value?: Def2 | null, ignoreDiscriminator: boolean = false): any {
71
+ export function OrganizationORMToJSONTyped(value?: OrganizationORM | null, ignoreDiscriminator: boolean = false): any {
72
72
  if (value == null) {
73
73
  return value;
74
74
  }
@@ -14,39 +14,39 @@
14
14
 
15
15
  import { mapValues } from '../runtime';
16
16
  /**
17
- * ReportAvailableColumnDto
17
+ *
18
18
  * @export
19
- * @interface Def81
19
+ * @interface ReportAvailableColumnDto
20
20
  */
21
- export interface Def81 {
21
+ export interface ReportAvailableColumnDto {
22
22
  /**
23
23
  *
24
24
  * @type {string}
25
- * @memberof Def81
25
+ * @memberof ReportAvailableColumnDto
26
26
  */
27
27
  name: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof Def81
31
+ * @memberof ReportAvailableColumnDto
32
32
  */
33
33
  columnType: string;
34
34
  }
35
35
 
36
36
  /**
37
- * Check if a given object implements the Def81 interface.
37
+ * Check if a given object implements the ReportAvailableColumnDto interface.
38
38
  */
39
- export function instanceOfDef81(value: object): value is Def81 {
39
+ export function instanceOfReportAvailableColumnDto(value: object): value is ReportAvailableColumnDto {
40
40
  if (!('name' in value) || value['name'] === undefined) return false;
41
41
  if (!('columnType' in value) || value['columnType'] === undefined) return false;
42
42
  return true;
43
43
  }
44
44
 
45
- export function Def81FromJSON(json: any): Def81 {
46
- return Def81FromJSONTyped(json, false);
45
+ export function ReportAvailableColumnDtoFromJSON(json: any): ReportAvailableColumnDto {
46
+ return ReportAvailableColumnDtoFromJSONTyped(json, false);
47
47
  }
48
48
 
49
- export function Def81FromJSONTyped(json: any, ignoreDiscriminator: boolean): Def81 {
49
+ export function ReportAvailableColumnDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportAvailableColumnDto {
50
50
  if (json == null) {
51
51
  return json;
52
52
  }
@@ -57,11 +57,11 @@ export function Def81FromJSONTyped(json: any, ignoreDiscriminator: boolean): Def
57
57
  };
58
58
  }
59
59
 
60
- export function Def81ToJSON(json: any): Def81 {
61
- return Def81ToJSONTyped(json, false);
60
+ export function ReportAvailableColumnDtoToJSON(json: any): ReportAvailableColumnDto {
61
+ return ReportAvailableColumnDtoToJSONTyped(json, false);
62
62
  }
63
63
 
64
- export function Def81ToJSONTyped(value?: Def81 | null, ignoreDiscriminator: boolean = false): any {
64
+ export function ReportAvailableColumnDtoToJSONTyped(value?: ReportAvailableColumnDto | null, ignoreDiscriminator: boolean = false): any {
65
65
  if (value == null) {
66
66
  return value;
67
67
  }
@@ -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 { ReportAvailableColumnDto } from './ReportAvailableColumnDto';
17
+ import {
18
+ ReportAvailableColumnDtoFromJSON,
19
+ ReportAvailableColumnDtoFromJSONTyped,
20
+ ReportAvailableColumnDtoToJSON,
21
+ ReportAvailableColumnDtoToJSONTyped,
22
+ } from './ReportAvailableColumnDto';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ReportAvailableColumnsListOutput
28
+ */
29
+ export interface ReportAvailableColumnsListOutput {
30
+ /**
31
+ *
32
+ * @type {Array<ReportAvailableColumnDto>}
33
+ * @memberof ReportAvailableColumnsListOutput
34
+ */
35
+ data: Array<ReportAvailableColumnDto>;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the ReportAvailableColumnsListOutput interface.
40
+ */
41
+ export function instanceOfReportAvailableColumnsListOutput(value: object): value is ReportAvailableColumnsListOutput {
42
+ if (!('data' in value) || value['data'] === undefined) return false;
43
+ return true;
44
+ }
45
+
46
+ export function ReportAvailableColumnsListOutputFromJSON(json: any): ReportAvailableColumnsListOutput {
47
+ return ReportAvailableColumnsListOutputFromJSONTyped(json, false);
48
+ }
49
+
50
+ export function ReportAvailableColumnsListOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportAvailableColumnsListOutput {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+
56
+ 'data': ((json['data'] as Array<any>).map(ReportAvailableColumnDtoFromJSON)),
57
+ };
58
+ }
59
+
60
+ export function ReportAvailableColumnsListOutputToJSON(json: any): ReportAvailableColumnsListOutput {
61
+ return ReportAvailableColumnsListOutputToJSONTyped(json, false);
62
+ }
63
+
64
+ export function ReportAvailableColumnsListOutputToJSONTyped(value?: ReportAvailableColumnsListOutput | 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(ReportAvailableColumnDtoToJSON)),
72
+ };
73
+ }
74
+
@@ -0,0 +1,101 @@
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 ReportColumnFilterORM
20
+ */
21
+ export interface ReportColumnFilterORM {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof ReportColumnFilterORM
26
+ */
27
+ id?: number;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof ReportColumnFilterORM
32
+ */
33
+ reportColumnId: number;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ReportColumnFilterORM
38
+ */
39
+ columnName: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof ReportColumnFilterORM
44
+ */
45
+ operator: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof ReportColumnFilterORM
50
+ */
51
+ value: string;
52
+ }
53
+
54
+ /**
55
+ * Check if a given object implements the ReportColumnFilterORM interface.
56
+ */
57
+ export function instanceOfReportColumnFilterORM(value: object): value is ReportColumnFilterORM {
58
+ if (!('reportColumnId' in value) || value['reportColumnId'] === undefined) return false;
59
+ if (!('columnName' in value) || value['columnName'] === undefined) return false;
60
+ if (!('operator' in value) || value['operator'] === undefined) return false;
61
+ if (!('value' in value) || value['value'] === undefined) return false;
62
+ return true;
63
+ }
64
+
65
+ export function ReportColumnFilterORMFromJSON(json: any): ReportColumnFilterORM {
66
+ return ReportColumnFilterORMFromJSONTyped(json, false);
67
+ }
68
+
69
+ export function ReportColumnFilterORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportColumnFilterORM {
70
+ if (json == null) {
71
+ return json;
72
+ }
73
+ return {
74
+
75
+ 'id': json['id'] == null ? undefined : json['id'],
76
+ 'reportColumnId': json['reportColumnId'],
77
+ 'columnName': json['columnName'],
78
+ 'operator': json['operator'],
79
+ 'value': json['value'],
80
+ };
81
+ }
82
+
83
+ export function ReportColumnFilterORMToJSON(json: any): ReportColumnFilterORM {
84
+ return ReportColumnFilterORMToJSONTyped(json, false);
85
+ }
86
+
87
+ export function ReportColumnFilterORMToJSONTyped(value?: ReportColumnFilterORM | null, ignoreDiscriminator: boolean = false): any {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+
92
+ return {
93
+
94
+ 'id': value['id'],
95
+ 'reportColumnId': value['reportColumnId'],
96
+ 'columnName': value['columnName'],
97
+ 'operator': value['operator'],
98
+ 'value': value['value'],
99
+ };
100
+ }
101
+