@jrojaspin/security-map-api-cli 1.9.0 → 2.1.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 (313) hide show
  1. package/package.json +6 -4
  2. package/src/apis/AccountApi.ts +58 -20
  3. package/src/apis/ArticleApi.ts +6 -6
  4. package/src/apis/ItemApi.ts +289 -71
  5. package/src/apis/JournalApi.ts +28 -28
  6. package/src/apis/LocationApi.ts +57 -14
  7. package/src/apis/LoginApi.ts +15 -15
  8. package/src/apis/MapApi.ts +46 -79
  9. package/src/apis/MultimediaApi.ts +6 -6
  10. package/src/apis/OrganizationApi.ts +41 -41
  11. package/src/apis/ReportApi.ts +37 -23
  12. package/src/apis/SearchApi.ts +9 -9
  13. package/src/apis/SourceApi.ts +17 -17
  14. package/src/apis/StateMachineApi.ts +6 -6
  15. package/src/apis/index.ts +0 -1
  16. package/src/models/{Def1.ts → AccountORM.ts} +15 -23
  17. package/src/models/AccountOutput.ts +74 -0
  18. package/src/models/AddUserToOrganizationDto.ts +74 -0
  19. package/src/models/{Def4.ts → ArticleORM.ts} +26 -31
  20. package/src/models/ArticlePresentationORM.ts +83 -0
  21. package/src/models/ArticleTypeORM.ts +74 -0
  22. package/src/models/AutoCompleteORM.ts +98 -0
  23. package/src/models/AvailableArticlesDto.ts +138 -0
  24. package/src/models/AvailableArticlesOutput.ts +74 -0
  25. package/src/models/AxisTitle.ts +75 -0
  26. package/src/models/ChartConfiguration.ts +99 -0
  27. package/src/models/ChartData.ts +74 -0
  28. package/src/models/ChartDataset.ts +131 -0
  29. package/src/models/ChartLegend.ts +79 -0
  30. package/src/models/ChartOptions.ts +99 -0
  31. package/src/models/ChartPlugins.ts +90 -0
  32. package/src/models/ChartScales.ts +90 -0
  33. package/src/models/ChartTitle.ts +75 -0
  34. package/src/models/DataPoint.ts +75 -0
  35. package/src/models/ItemLayerLinkInputDto.ts +66 -0
  36. package/src/models/ItemLinkToLayerOutput.ts +66 -0
  37. package/src/models/ItemTypeFormDto.ts +106 -0
  38. package/src/models/ItemTypeFormOutput.ts +74 -0
  39. package/src/models/{Def16.ts → ItemTypeORM.ts} +19 -38
  40. package/src/models/ItemTypeOutput.ts +74 -0
  41. package/src/models/ItemsOutput.ts +74 -0
  42. package/src/models/JournalBookORM.ts +84 -0
  43. package/src/models/JournalEntryArticleORM.ts +110 -0
  44. package/src/models/JournalEntryListOutput.ts +74 -0
  45. package/src/models/JournalEntryMultimediaInput.ts +66 -0
  46. package/src/models/JournalEntryMultimediaORM.ts +83 -0
  47. package/src/models/JournalEntryMultimediaOutput.ts +66 -0
  48. package/src/models/{Def57Data.ts → JournalEntryORM.ts} +25 -24
  49. package/src/models/JournalEntryOutput.ts +74 -0
  50. package/src/models/JournalEntryOutputDto.ts +75 -0
  51. package/src/models/LegendPosition.ts +55 -0
  52. package/src/models/LocationORM.ts +218 -0
  53. package/src/models/LocationOutput.ts +74 -0
  54. package/src/models/MagnitudeORM.ts +74 -0
  55. package/src/models/{Def44.ts → ManualLoginInput.ts} +13 -13
  56. package/src/models/{Def45.ts → ManualLoginPasswordUpdateInput.ts} +13 -13
  57. package/src/models/{Def43.ts → ManualRegisterInput.ts} +14 -14
  58. package/src/models/MapItemArticleInputDto.ts +109 -0
  59. package/src/models/MapItemArticleORM.ts +110 -0
  60. package/src/models/{Def14.ts → MapItemCustomFieldDefinitionORM.ts} +17 -36
  61. package/src/models/{Def15CustomFieldValue.ts → MapItemDynamicFieldInputDto.ts} +19 -21
  62. package/src/models/{Def13.ts → MapItemDynamicFieldORM.ts} +17 -18
  63. package/src/models/MapItemDynamicFieldWithDefinitionORM.ts +90 -0
  64. package/src/models/MapItemInput.ts +191 -0
  65. package/src/models/{Def11.ts → MapItemLinkORM.ts} +26 -23
  66. package/src/models/MapItemLinkOutput.ts +74 -0
  67. package/src/models/MapItemListOutput.ts +74 -0
  68. package/src/models/MapItemMultimediaORM.ts +83 -0
  69. package/src/models/MapItemMultimediaOutput.ts +74 -0
  70. package/src/models/MapItemNearByORM.ts +75 -0
  71. package/src/models/MapItemORM.ts +133 -0
  72. package/src/models/MapItemOutput.ts +74 -0
  73. package/src/models/MapItemOutputDto.ts +225 -0
  74. package/src/models/MapItemOutputDtoProps.ts +225 -0
  75. package/src/models/MapItemTypeDynamicFieldDefinitionOutput.ts +74 -0
  76. package/src/models/MapItemTypeDynamicFieldDefinitionValuesOutput.ts +66 -0
  77. package/src/models/MapItemTypeFormORM.ts +83 -0
  78. package/src/models/MapItemTypeFormSectionDto.ts +90 -0
  79. package/src/models/MapItemTypeFormSectionFieldORM.ts +101 -0
  80. package/src/models/MapItemTypeFormSectionORM.ts +92 -0
  81. package/src/models/{Def54Data.ts → MapItemTypeORM.ts} +43 -35
  82. package/src/models/MapItemTypeOutput.ts +74 -0
  83. package/src/models/MapLayerInput.ts +84 -0
  84. package/src/models/MapLayerItemListOutput.ts +74 -0
  85. package/src/models/MapLayerItemORM.ts +101 -0
  86. package/src/models/MapLayerItemOutput.ts +74 -0
  87. package/src/models/MapLayerListOutput.ts +74 -0
  88. package/src/models/{Def7.ts → MapLayerORM.ts} +27 -33
  89. package/src/models/MapLayerOutput.ts +74 -0
  90. package/src/models/MapLayerOutputDto.ts +118 -0
  91. package/src/models/MapListOutput.ts +74 -0
  92. package/src/models/{Def71Data.ts → MapORM.ts} +35 -32
  93. package/src/models/MapOutput.ts +74 -0
  94. package/src/models/MapZoneInput.ts +66 -0
  95. package/src/models/MapZoneORM.ts +83 -0
  96. package/src/models/MapZoneOutput.ts +74 -0
  97. package/src/models/MapZoneOutputDto.ts +100 -0
  98. package/src/models/MapZonePointORM.ts +83 -0
  99. package/src/models/MeasureUnitORM.ts +92 -0
  100. package/src/models/ModelRequestContext.ts +74 -0
  101. package/src/models/{Def18.ts → MultimediaORM.ts} +24 -31
  102. package/src/models/MultimediaOutput.ts +74 -0
  103. package/src/models/NominatimAddressORM.ts +147 -0
  104. package/src/models/NominatimORM.ts +192 -0
  105. package/src/models/{Def2.ts → OrganizationORM.ts} +16 -17
  106. package/src/models/{Def86.ts → ReportAvailableColumnDto.ts} +13 -13
  107. package/src/models/ReportAvailableColumnsListOutput.ts +74 -0
  108. package/src/models/ReportColumnFilterORM.ts +101 -0
  109. package/src/models/ReportColumnORM.ts +135 -0
  110. package/src/models/{Def83.ts → ReportConfigurationDto.ts} +13 -22
  111. package/src/models/ReportDataCSVDto.ts +66 -0
  112. package/src/models/ReportDataDto.ts +88 -0
  113. package/src/models/ReportDataJSONDto.ts +74 -0
  114. package/src/models/ReportDataORM.ts +74 -0
  115. package/src/models/ReportDataOutput.ts +74 -0
  116. package/src/models/{Def34RowsInner.ts → ReportDataRowORM.ts} +12 -12
  117. package/src/models/ReportDto.ts +75 -0
  118. package/src/models/ReportListOutput.ts +74 -0
  119. package/src/models/{Def58Data.ts → ReportORM.ts} +25 -32
  120. package/src/models/ReportOutput.ts +74 -0
  121. package/src/models/SearchORM.ts +84 -0
  122. package/src/models/SearchOutput.ts +74 -0
  123. package/src/models/SearchResultDto.ts +74 -0
  124. package/src/models/SearchResultSectionDto.ts +92 -0
  125. package/src/models/SearchResultSectionItem.ts +100 -0
  126. package/src/models/{Def86Data.ts → SourceDto.ts} +16 -15
  127. package/src/models/SourceListOutput.ts +74 -0
  128. package/src/models/SourceOutput.ts +74 -0
  129. package/src/models/StateMachineDefinitionListOutput.ts +74 -0
  130. package/src/models/StateMachineDefinitionOutputDto.ts +117 -0
  131. package/src/models/StateMachineORM.ts +82 -0
  132. package/src/models/{Def37.ts → StateMachineStateORM.ts} +20 -20
  133. package/src/models/StateMachineStateOutputDto.ts +84 -0
  134. package/src/models/{Def39.ts → StateMachineTransitionLogORM.ts} +20 -22
  135. package/src/models/{Def98TransitionsInner.ts → StateMachineTransitionORM.ts} +18 -19
  136. package/src/models/{Def38.ts → StateMachineTransitionOutputDto.ts} +15 -24
  137. package/src/models/UpdateUserInOrganizationPasswordDto.ts +66 -0
  138. package/src/models/UploadDto.ts +75 -0
  139. package/src/models/UploadOutput.ts +74 -0
  140. package/src/models/UserDto.ts +83 -0
  141. package/src/models/{Def49.ts → UserInOrganizationDto.ts} +23 -32
  142. package/src/models/UserInOrganizationOutput.ts +74 -0
  143. package/src/models/{Def3.ts → UserORM.ts} +36 -38
  144. package/src/models/XAxisOptions.ts +83 -0
  145. package/src/models/YAxisOptions.ts +83 -0
  146. package/src/models/index.ts +130 -155
  147. package/src/apis/DefaultApi.ts +0 -224
  148. package/src/models/Def0.ts +0 -74
  149. package/src/models/Def10.ts +0 -105
  150. package/src/models/Def100.ts +0 -73
  151. package/src/models/Def100Data.ts +0 -73
  152. package/src/models/Def101.ts +0 -74
  153. package/src/models/Def101Data.ts +0 -73
  154. package/src/models/Def12.ts +0 -81
  155. package/src/models/Def15.ts +0 -90
  156. package/src/models/Def15CustomFieldDefinition.ts +0 -111
  157. package/src/models/Def17.ts +0 -81
  158. package/src/models/Def19.ts +0 -81
  159. package/src/models/Def20.ts +0 -105
  160. package/src/models/Def21.ts +0 -81
  161. package/src/models/Def22.ts +0 -217
  162. package/src/models/Def23.ts +0 -97
  163. package/src/models/Def24.ts +0 -128
  164. package/src/models/Def25.ts +0 -81
  165. package/src/models/Def26.ts +0 -81
  166. package/src/models/Def27.ts +0 -105
  167. package/src/models/Def28.ts +0 -121
  168. package/src/models/Def29.ts +0 -97
  169. package/src/models/Def30.ts +0 -113
  170. package/src/models/Def31.ts +0 -116
  171. package/src/models/Def32.ts +0 -121
  172. package/src/models/Def33.ts +0 -66
  173. package/src/models/Def34.ts +0 -74
  174. package/src/models/Def35.ts +0 -98
  175. package/src/models/Def35LocationOrm.ts +0 -217
  176. package/src/models/Def35MapItemOrm.ts +0 -156
  177. package/src/models/Def36.ts +0 -84
  178. package/src/models/Def40.ts +0 -137
  179. package/src/models/Def41.ts +0 -187
  180. package/src/models/Def41Address.ts +0 -137
  181. package/src/models/Def42.ts +0 -74
  182. package/src/models/Def42Data.ts +0 -81
  183. package/src/models/Def46.ts +0 -90
  184. package/src/models/Def46OrganizationOrm.ts +0 -84
  185. package/src/models/Def46UserOrm.ts +0 -147
  186. package/src/models/Def47.ts +0 -74
  187. package/src/models/Def47UsersInner.ts +0 -75
  188. package/src/models/Def48.ts +0 -66
  189. package/src/models/Def5.ts +0 -89
  190. package/src/models/Def50.ts +0 -74
  191. package/src/models/Def50ArticlePresentationsInner.ts +0 -97
  192. package/src/models/Def50ArticleTypesInner.ts +0 -89
  193. package/src/models/Def50ArticlesInner.ts +0 -113
  194. package/src/models/Def50DataInner.ts +0 -138
  195. package/src/models/Def50MagnitudesInner.ts +0 -81
  196. package/src/models/Def50MeasureUnitsInner.ts +0 -97
  197. package/src/models/Def51.ts +0 -138
  198. package/src/models/Def51ArticlePresentationsInner.ts +0 -97
  199. package/src/models/Def51ArticleTypesInner.ts +0 -89
  200. package/src/models/Def51ArticlesInner.ts +0 -113
  201. package/src/models/Def51Data.ts +0 -138
  202. package/src/models/Def51MagnitudesInner.ts +0 -81
  203. package/src/models/Def51MeasureUnitsInner.ts +0 -97
  204. package/src/models/Def52.ts +0 -74
  205. package/src/models/Def52Data.ts +0 -138
  206. package/src/models/Def53.ts +0 -65
  207. package/src/models/Def53Data.ts +0 -127
  208. package/src/models/Def54.ts +0 -74
  209. package/src/models/Def54DataInner.ts +0 -246
  210. package/src/models/Def54DataInnerArticlesInner.ts +0 -105
  211. package/src/models/Def54DataInnerDynamicFieldsInner.ts +0 -90
  212. package/src/models/Def54DataInnerItemMultimediasInner.ts +0 -81
  213. package/src/models/Def54DataInnerLinkedItemsInner.ts +0 -105
  214. package/src/models/Def54DataInnerMapZoneDto.ts +0 -99
  215. package/src/models/Def54DataInnerMapZoneDtoLocationsInner.ts +0 -217
  216. package/src/models/Def55.ts +0 -74
  217. package/src/models/Def55DataInner.ts +0 -246
  218. package/src/models/Def55DataInnerArticlesInner.ts +0 -105
  219. package/src/models/Def55DataInnerDynamicFieldsInner.ts +0 -90
  220. package/src/models/Def55DataInnerItemMultimediasInner.ts +0 -81
  221. package/src/models/Def55DataInnerLinkedItemsInner.ts +0 -105
  222. package/src/models/Def55DataInnerMapZoneDto.ts +0 -99
  223. package/src/models/Def55DataInnerMapZoneDtoLocationsInner.ts +0 -217
  224. package/src/models/Def56.ts +0 -124
  225. package/src/models/Def57.ts +0 -66
  226. package/src/models/Def58.ts +0 -74
  227. package/src/models/Def58DataInner.ts +0 -124
  228. package/src/models/Def59.ts +0 -74
  229. package/src/models/Def59DataInner.ts +0 -124
  230. package/src/models/Def6.ts +0 -97
  231. package/src/models/Def60.ts +0 -66
  232. package/src/models/Def61.ts +0 -90
  233. package/src/models/Def61MapZoneInput.ts +0 -90
  234. package/src/models/Def62.ts +0 -223
  235. package/src/models/Def62MapZoneInput.ts +0 -90
  236. package/src/models/Def63.ts +0 -84
  237. package/src/models/Def63Data.ts +0 -121
  238. package/src/models/Def64.ts +0 -74
  239. package/src/models/Def64Data.ts +0 -121
  240. package/src/models/Def64DataInner.ts +0 -121
  241. package/src/models/Def65.ts +0 -74
  242. package/src/models/Def65DataInner.ts +0 -121
  243. package/src/models/Def66.ts +0 -246
  244. package/src/models/Def67.ts +0 -99
  245. package/src/models/Def68.ts +0 -74
  246. package/src/models/Def68DataInner.ts +0 -105
  247. package/src/models/Def69.ts +0 -74
  248. package/src/models/Def69DataInner.ts +0 -105
  249. package/src/models/Def70.ts +0 -74
  250. package/src/models/Def71.ts +0 -66
  251. package/src/models/Def72.ts +0 -74
  252. package/src/models/Def72Data.ts +0 -105
  253. package/src/models/Def73.ts +0 -74
  254. package/src/models/Def73Data.ts +0 -81
  255. package/src/models/Def73DataInner.ts +0 -128
  256. package/src/models/Def74.ts +0 -74
  257. package/src/models/Def74Data.ts +0 -128
  258. package/src/models/Def74DataInner.ts +0 -128
  259. package/src/models/Def75.ts +0 -74
  260. package/src/models/Def75Data.ts +0 -128
  261. package/src/models/Def76.ts +0 -74
  262. package/src/models/Def76Data.ts +0 -113
  263. package/src/models/Def77.ts +0 -74
  264. package/src/models/Def77Data.ts +0 -113
  265. package/src/models/Def77DataInner.ts +0 -113
  266. package/src/models/Def78.ts +0 -74
  267. package/src/models/Def78Data.ts +0 -246
  268. package/src/models/Def78DataInner.ts +0 -113
  269. package/src/models/Def79.ts +0 -74
  270. package/src/models/Def79Data.ts +0 -246
  271. package/src/models/Def8.ts +0 -156
  272. package/src/models/Def80.ts +0 -83
  273. package/src/models/Def80Data.ts +0 -83
  274. package/src/models/Def81.ts +0 -74
  275. package/src/models/Def81Data.ts +0 -83
  276. package/src/models/Def82.ts +0 -74
  277. package/src/models/Def82Data.ts +0 -113
  278. package/src/models/Def84.ts +0 -75
  279. package/src/models/Def85.ts +0 -73
  280. package/src/models/Def87.ts +0 -74
  281. package/src/models/Def87Data.ts +0 -73
  282. package/src/models/Def88.ts +0 -74
  283. package/src/models/Def88Data.ts +0 -75
  284. package/src/models/Def88DataInner.ts +0 -73
  285. package/src/models/Def89.ts +0 -74
  286. package/src/models/Def89DataInner.ts +0 -73
  287. package/src/models/Def9.ts +0 -113
  288. package/src/models/Def90.ts +0 -74
  289. package/src/models/Def90DataInner.ts +0 -75
  290. package/src/models/Def91.ts +0 -101
  291. package/src/models/Def91ItemsInner.ts +0 -101
  292. package/src/models/Def92.ts +0 -92
  293. package/src/models/Def92ItemsInner.ts +0 -101
  294. package/src/models/Def92SectionsInner.ts +0 -92
  295. package/src/models/Def93.ts +0 -74
  296. package/src/models/Def93Data.ts +0 -74
  297. package/src/models/Def93SectionsInner.ts +0 -92
  298. package/src/models/Def94.ts +0 -74
  299. package/src/models/Def94Data.ts +0 -74
  300. package/src/models/Def95.ts +0 -73
  301. package/src/models/Def95Data.ts +0 -73
  302. package/src/models/Def96.ts +0 -74
  303. package/src/models/Def96Data.ts +0 -73
  304. package/src/models/Def96DataInner.ts +0 -73
  305. package/src/models/Def97.ts +0 -74
  306. package/src/models/Def97DataInner.ts +0 -73
  307. package/src/models/Def97StatesInner.ts +0 -92
  308. package/src/models/Def97TransitionsInner.ts +0 -102
  309. package/src/models/Def98.ts +0 -116
  310. package/src/models/Def98DataInner.ts +0 -116
  311. package/src/models/Def98StatesInner.ts +0 -92
  312. package/src/models/Def99.ts +0 -74
  313. package/src/models/Def99DataInner.ts +0 -116
@@ -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 { AccountORM } from './AccountORM';
17
+ import {
18
+ AccountORMFromJSON,
19
+ AccountORMFromJSONTyped,
20
+ AccountORMToJSON,
21
+ AccountORMToJSONTyped,
22
+ } from './AccountORM';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface AccountOutput
28
+ */
29
+ export interface AccountOutput {
30
+ /**
31
+ *
32
+ * @type {AccountORM}
33
+ * @memberof AccountOutput
34
+ */
35
+ data: AccountORM;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the AccountOutput interface.
40
+ */
41
+ export function instanceOfAccountOutput(value: object): value is AccountOutput {
42
+ if (!('data' in value) || value['data'] === undefined) return false;
43
+ return true;
44
+ }
45
+
46
+ export function AccountOutputFromJSON(json: any): AccountOutput {
47
+ return AccountOutputFromJSONTyped(json, false);
48
+ }
49
+
50
+ export function AccountOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountOutput {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+
56
+ 'data': AccountORMFromJSON(json['data']),
57
+ };
58
+ }
59
+
60
+ export function AccountOutputToJSON(json: any): AccountOutput {
61
+ return AccountOutputToJSONTyped(json, false);
62
+ }
63
+
64
+ export function AccountOutputToJSONTyped(value?: AccountOutput | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'data': AccountORMToJSON(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 { ManualLoginInput } from './ManualLoginInput';
17
+ import {
18
+ ManualLoginInputFromJSON,
19
+ ManualLoginInputFromJSONTyped,
20
+ ManualLoginInputToJSON,
21
+ ManualLoginInputToJSONTyped,
22
+ } from './ManualLoginInput';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface AddUserToOrganizationDto
28
+ */
29
+ export interface AddUserToOrganizationDto {
30
+ /**
31
+ *
32
+ * @type {Array<ManualLoginInput>}
33
+ * @memberof AddUserToOrganizationDto
34
+ */
35
+ users: Array<ManualLoginInput>;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the AddUserToOrganizationDto interface.
40
+ */
41
+ export function instanceOfAddUserToOrganizationDto(value: object): value is AddUserToOrganizationDto {
42
+ if (!('users' in value) || value['users'] === undefined) return false;
43
+ return true;
44
+ }
45
+
46
+ export function AddUserToOrganizationDtoFromJSON(json: any): AddUserToOrganizationDto {
47
+ return AddUserToOrganizationDtoFromJSONTyped(json, false);
48
+ }
49
+
50
+ export function AddUserToOrganizationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddUserToOrganizationDto {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+
56
+ 'users': ((json['users'] as Array<any>).map(ManualLoginInputFromJSON)),
57
+ };
58
+ }
59
+
60
+ export function AddUserToOrganizationDtoToJSON(json: any): AddUserToOrganizationDto {
61
+ return AddUserToOrganizationDtoToJSONTyped(json, false);
62
+ }
63
+
64
+ export function AddUserToOrganizationDtoToJSONTyped(value?: AddUserToOrganizationDto | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'users': ((value['users'] as Array<any>).map(ManualLoginInputToJSON)),
72
+ };
73
+ }
74
+
@@ -14,87 +14,83 @@
14
14
 
15
15
  import { mapValues } from '../runtime';
16
16
  /**
17
- * ArticleORM
17
+ *
18
18
  * @export
19
- * @interface Def4
19
+ * @interface ArticleORM
20
20
  */
21
- export interface Def4 {
21
+ export interface ArticleORM {
22
22
  /**
23
23
  *
24
24
  * @type {number}
25
- * @memberof Def4
25
+ * @memberof ArticleORM
26
26
  */
27
27
  id?: number;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof Def4
31
+ * @memberof ArticleORM
32
32
  */
33
- title?: string;
33
+ title: string;
34
34
  /**
35
35
  *
36
36
  * @type {number}
37
- * @memberof Def4
37
+ * @memberof ArticleORM
38
38
  */
39
- articleTypeId?: number;
39
+ articleTypeId: number;
40
40
  /**
41
41
  *
42
42
  * @type {number}
43
- * @memberof Def4
43
+ * @memberof ArticleORM
44
44
  */
45
- magnitudeId?: number;
45
+ magnitudeId: number;
46
46
  /**
47
47
  *
48
48
  * @type {string}
49
- * @memberof Def4
49
+ * @memberof ArticleORM
50
50
  */
51
51
  createDate?: string;
52
52
  /**
53
53
  *
54
54
  * @type {string}
55
- * @memberof Def4
55
+ * @memberof ArticleORM
56
56
  */
57
57
  deleteDate?: string;
58
- /**
59
- *
60
- * @type {number}
61
- * @memberof Def4
62
- */
63
- organizationId?: number;
64
58
  }
65
59
 
66
60
  /**
67
- * Check if a given object implements the Def4 interface.
61
+ * Check if a given object implements the ArticleORM interface.
68
62
  */
69
- export function instanceOfDef4(value: object): value is Def4 {
63
+ export function instanceOfArticleORM(value: object): value is ArticleORM {
64
+ if (!('title' in value) || value['title'] === undefined) return false;
65
+ if (!('articleTypeId' in value) || value['articleTypeId'] === undefined) return false;
66
+ if (!('magnitudeId' in value) || value['magnitudeId'] === undefined) return false;
70
67
  return true;
71
68
  }
72
69
 
73
- export function Def4FromJSON(json: any): Def4 {
74
- return Def4FromJSONTyped(json, false);
70
+ export function ArticleORMFromJSON(json: any): ArticleORM {
71
+ return ArticleORMFromJSONTyped(json, false);
75
72
  }
76
73
 
77
- export function Def4FromJSONTyped(json: any, ignoreDiscriminator: boolean): Def4 {
74
+ export function ArticleORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArticleORM {
78
75
  if (json == null) {
79
76
  return json;
80
77
  }
81
78
  return {
82
79
 
83
80
  'id': json['id'] == null ? undefined : json['id'],
84
- 'title': json['title'] == null ? undefined : json['title'],
85
- 'articleTypeId': json['articleTypeId'] == null ? undefined : json['articleTypeId'],
86
- 'magnitudeId': json['magnitudeId'] == null ? undefined : json['magnitudeId'],
81
+ 'title': json['title'],
82
+ 'articleTypeId': json['articleTypeId'],
83
+ 'magnitudeId': json['magnitudeId'],
87
84
  'createDate': json['createDate'] == null ? undefined : json['createDate'],
88
85
  'deleteDate': json['deleteDate'] == null ? undefined : json['deleteDate'],
89
- 'organizationId': json['organizationId'] == null ? undefined : json['organizationId'],
90
86
  };
91
87
  }
92
88
 
93
- export function Def4ToJSON(json: any): Def4 {
94
- return Def4ToJSONTyped(json, false);
89
+ export function ArticleORMToJSON(json: any): ArticleORM {
90
+ return ArticleORMToJSONTyped(json, false);
95
91
  }
96
92
 
97
- export function Def4ToJSONTyped(value?: Def4 | null, ignoreDiscriminator: boolean = false): any {
93
+ export function ArticleORMToJSONTyped(value?: ArticleORM | null, ignoreDiscriminator: boolean = false): any {
98
94
  if (value == null) {
99
95
  return value;
100
96
  }
@@ -107,7 +103,6 @@ export function Def4ToJSONTyped(value?: Def4 | null, ignoreDiscriminator: boolea
107
103
  'magnitudeId': value['magnitudeId'],
108
104
  'createDate': value['createDate'],
109
105
  'deleteDate': value['deleteDate'],
110
- 'organizationId': value['organizationId'],
111
106
  };
112
107
  }
113
108
 
@@ -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 ArticlePresentationORM
20
+ */
21
+ export interface ArticlePresentationORM {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof ArticlePresentationORM
26
+ */
27
+ id?: number;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ArticlePresentationORM
32
+ */
33
+ title: string;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof ArticlePresentationORM
38
+ */
39
+ articleTypeId: number;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the ArticlePresentationORM interface.
44
+ */
45
+ export function instanceOfArticlePresentationORM(value: object): value is ArticlePresentationORM {
46
+ if (!('title' in value) || value['title'] === undefined) return false;
47
+ if (!('articleTypeId' in value) || value['articleTypeId'] === undefined) return false;
48
+ return true;
49
+ }
50
+
51
+ export function ArticlePresentationORMFromJSON(json: any): ArticlePresentationORM {
52
+ return ArticlePresentationORMFromJSONTyped(json, false);
53
+ }
54
+
55
+ export function ArticlePresentationORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArticlePresentationORM {
56
+ if (json == null) {
57
+ return json;
58
+ }
59
+ return {
60
+
61
+ 'id': json['id'] == null ? undefined : json['id'],
62
+ 'title': json['title'],
63
+ 'articleTypeId': json['articleTypeId'],
64
+ };
65
+ }
66
+
67
+ export function ArticlePresentationORMToJSON(json: any): ArticlePresentationORM {
68
+ return ArticlePresentationORMToJSONTyped(json, false);
69
+ }
70
+
71
+ export function ArticlePresentationORMToJSONTyped(value?: ArticlePresentationORM | null, ignoreDiscriminator: boolean = false): any {
72
+ if (value == null) {
73
+ return value;
74
+ }
75
+
76
+ return {
77
+
78
+ 'id': value['id'],
79
+ 'title': value['title'],
80
+ 'articleTypeId': value['articleTypeId'],
81
+ };
82
+ }
83
+
@@ -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 ArticleTypeORM
20
+ */
21
+ export interface ArticleTypeORM {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof ArticleTypeORM
26
+ */
27
+ id?: number;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ArticleTypeORM
32
+ */
33
+ title: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the ArticleTypeORM interface.
38
+ */
39
+ export function instanceOfArticleTypeORM(value: object): value is ArticleTypeORM {
40
+ if (!('title' in value) || value['title'] === undefined) return false;
41
+ return true;
42
+ }
43
+
44
+ export function ArticleTypeORMFromJSON(json: any): ArticleTypeORM {
45
+ return ArticleTypeORMFromJSONTyped(json, false);
46
+ }
47
+
48
+ export function ArticleTypeORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArticleTypeORM {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+
54
+ 'id': json['id'] == null ? undefined : json['id'],
55
+ 'title': json['title'],
56
+ };
57
+ }
58
+
59
+ export function ArticleTypeORMToJSON(json: any): ArticleTypeORM {
60
+ return ArticleTypeORMToJSONTyped(json, false);
61
+ }
62
+
63
+ export function ArticleTypeORMToJSONTyped(value?: ArticleTypeORM | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'id': value['id'],
71
+ 'title': value['title'],
72
+ };
73
+ }
74
+
@@ -0,0 +1,98 @@
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 AutoCompleteORM
20
+ */
21
+ export interface AutoCompleteORM {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof AutoCompleteORM
26
+ */
27
+ street: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof AutoCompleteORM
32
+ */
33
+ neighborhood?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof AutoCompleteORM
38
+ */
39
+ city?: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof AutoCompleteORM
44
+ */
45
+ distance?: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof AutoCompleteORM
50
+ */
51
+ priority?: string;
52
+ }
53
+
54
+ /**
55
+ * Check if a given object implements the AutoCompleteORM interface.
56
+ */
57
+ export function instanceOfAutoCompleteORM(value: object): value is AutoCompleteORM {
58
+ if (!('street' in value) || value['street'] === undefined) return false;
59
+ return true;
60
+ }
61
+
62
+ export function AutoCompleteORMFromJSON(json: any): AutoCompleteORM {
63
+ return AutoCompleteORMFromJSONTyped(json, false);
64
+ }
65
+
66
+ export function AutoCompleteORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutoCompleteORM {
67
+ if (json == null) {
68
+ return json;
69
+ }
70
+ return {
71
+
72
+ 'street': json['street'],
73
+ 'neighborhood': json['neighborhood'] == null ? undefined : json['neighborhood'],
74
+ 'city': json['city'] == null ? undefined : json['city'],
75
+ 'distance': json['distance'] == null ? undefined : json['distance'],
76
+ 'priority': json['priority'] == null ? undefined : json['priority'],
77
+ };
78
+ }
79
+
80
+ export function AutoCompleteORMToJSON(json: any): AutoCompleteORM {
81
+ return AutoCompleteORMToJSONTyped(json, false);
82
+ }
83
+
84
+ export function AutoCompleteORMToJSONTyped(value?: AutoCompleteORM | null, ignoreDiscriminator: boolean = false): any {
85
+ if (value == null) {
86
+ return value;
87
+ }
88
+
89
+ return {
90
+
91
+ 'street': value['street'],
92
+ 'neighborhood': value['neighborhood'],
93
+ 'city': value['city'],
94
+ 'distance': value['distance'],
95
+ 'priority': value['priority'],
96
+ };
97
+ }
98
+
@@ -0,0 +1,138 @@
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 { MeasureUnitORM } from './MeasureUnitORM';
17
+ import {
18
+ MeasureUnitORMFromJSON,
19
+ MeasureUnitORMFromJSONTyped,
20
+ MeasureUnitORMToJSON,
21
+ MeasureUnitORMToJSONTyped,
22
+ } from './MeasureUnitORM';
23
+ import type { ArticleORM } from './ArticleORM';
24
+ import {
25
+ ArticleORMFromJSON,
26
+ ArticleORMFromJSONTyped,
27
+ ArticleORMToJSON,
28
+ ArticleORMToJSONTyped,
29
+ } from './ArticleORM';
30
+ import type { ArticlePresentationORM } from './ArticlePresentationORM';
31
+ import {
32
+ ArticlePresentationORMFromJSON,
33
+ ArticlePresentationORMFromJSONTyped,
34
+ ArticlePresentationORMToJSON,
35
+ ArticlePresentationORMToJSONTyped,
36
+ } from './ArticlePresentationORM';
37
+ import type { ArticleTypeORM } from './ArticleTypeORM';
38
+ import {
39
+ ArticleTypeORMFromJSON,
40
+ ArticleTypeORMFromJSONTyped,
41
+ ArticleTypeORMToJSON,
42
+ ArticleTypeORMToJSONTyped,
43
+ } from './ArticleTypeORM';
44
+ import type { MagnitudeORM } from './MagnitudeORM';
45
+ import {
46
+ MagnitudeORMFromJSON,
47
+ MagnitudeORMFromJSONTyped,
48
+ MagnitudeORMToJSON,
49
+ MagnitudeORMToJSONTyped,
50
+ } from './MagnitudeORM';
51
+
52
+ /**
53
+ *
54
+ * @export
55
+ * @interface AvailableArticlesDto
56
+ */
57
+ export interface AvailableArticlesDto {
58
+ /**
59
+ *
60
+ * @type {Array<ArticleORM>}
61
+ * @memberof AvailableArticlesDto
62
+ */
63
+ articles: Array<ArticleORM>;
64
+ /**
65
+ *
66
+ * @type {Array<ArticleTypeORM>}
67
+ * @memberof AvailableArticlesDto
68
+ */
69
+ articleTypes: Array<ArticleTypeORM>;
70
+ /**
71
+ *
72
+ * @type {Array<MagnitudeORM>}
73
+ * @memberof AvailableArticlesDto
74
+ */
75
+ magnitudes: Array<MagnitudeORM>;
76
+ /**
77
+ *
78
+ * @type {Array<MeasureUnitORM>}
79
+ * @memberof AvailableArticlesDto
80
+ */
81
+ measureUnits: Array<MeasureUnitORM>;
82
+ /**
83
+ *
84
+ * @type {Array<ArticlePresentationORM>}
85
+ * @memberof AvailableArticlesDto
86
+ */
87
+ articlePresentations: Array<ArticlePresentationORM>;
88
+ }
89
+
90
+ /**
91
+ * Check if a given object implements the AvailableArticlesDto interface.
92
+ */
93
+ export function instanceOfAvailableArticlesDto(value: object): value is AvailableArticlesDto {
94
+ if (!('articles' in value) || value['articles'] === undefined) return false;
95
+ if (!('articleTypes' in value) || value['articleTypes'] === undefined) return false;
96
+ if (!('magnitudes' in value) || value['magnitudes'] === undefined) return false;
97
+ if (!('measureUnits' in value) || value['measureUnits'] === undefined) return false;
98
+ if (!('articlePresentations' in value) || value['articlePresentations'] === undefined) return false;
99
+ return true;
100
+ }
101
+
102
+ export function AvailableArticlesDtoFromJSON(json: any): AvailableArticlesDto {
103
+ return AvailableArticlesDtoFromJSONTyped(json, false);
104
+ }
105
+
106
+ export function AvailableArticlesDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AvailableArticlesDto {
107
+ if (json == null) {
108
+ return json;
109
+ }
110
+ return {
111
+
112
+ 'articles': ((json['articles'] as Array<any>).map(ArticleORMFromJSON)),
113
+ 'articleTypes': ((json['articleTypes'] as Array<any>).map(ArticleTypeORMFromJSON)),
114
+ 'magnitudes': ((json['magnitudes'] as Array<any>).map(MagnitudeORMFromJSON)),
115
+ 'measureUnits': ((json['measureUnits'] as Array<any>).map(MeasureUnitORMFromJSON)),
116
+ 'articlePresentations': ((json['articlePresentations'] as Array<any>).map(ArticlePresentationORMFromJSON)),
117
+ };
118
+ }
119
+
120
+ export function AvailableArticlesDtoToJSON(json: any): AvailableArticlesDto {
121
+ return AvailableArticlesDtoToJSONTyped(json, false);
122
+ }
123
+
124
+ export function AvailableArticlesDtoToJSONTyped(value?: AvailableArticlesDto | null, ignoreDiscriminator: boolean = false): any {
125
+ if (value == null) {
126
+ return value;
127
+ }
128
+
129
+ return {
130
+
131
+ 'articles': ((value['articles'] as Array<any>).map(ArticleORMToJSON)),
132
+ 'articleTypes': ((value['articleTypes'] as Array<any>).map(ArticleTypeORMToJSON)),
133
+ 'magnitudes': ((value['magnitudes'] as Array<any>).map(MagnitudeORMToJSON)),
134
+ 'measureUnits': ((value['measureUnits'] as Array<any>).map(MeasureUnitORMToJSON)),
135
+ 'articlePresentations': ((value['articlePresentations'] as Array<any>).map(ArticlePresentationORMToJSON)),
136
+ };
137
+ }
138
+