@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,129 @@
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 UserInOrganizationDto
20
+ */
21
+ export interface UserInOrganizationDto {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof UserInOrganizationDto
26
+ */
27
+ id: number;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof UserInOrganizationDto
32
+ */
33
+ name: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof UserInOrganizationDto
38
+ */
39
+ provider: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof UserInOrganizationDto
44
+ */
45
+ providerId: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof UserInOrganizationDto
50
+ */
51
+ userType: string;
52
+ /**
53
+ *
54
+ * @type {object}
55
+ * @memberof UserInOrganizationDto
56
+ */
57
+ profilePicture: object | null;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof UserInOrganizationDto
62
+ */
63
+ createDate: string;
64
+ /**
65
+ *
66
+ * @type {object}
67
+ * @memberof UserInOrganizationDto
68
+ */
69
+ deleteDate: object | null;
70
+ }
71
+
72
+ /**
73
+ * Check if a given object implements the UserInOrganizationDto interface.
74
+ */
75
+ export function instanceOfUserInOrganizationDto(value: object): value is UserInOrganizationDto {
76
+ if (!('id' in value) || value['id'] === undefined) return false;
77
+ if (!('name' in value) || value['name'] === undefined) return false;
78
+ if (!('provider' in value) || value['provider'] === undefined) return false;
79
+ if (!('providerId' in value) || value['providerId'] === undefined) return false;
80
+ if (!('userType' in value) || value['userType'] === undefined) return false;
81
+ if (!('profilePicture' in value) || value['profilePicture'] === undefined) return false;
82
+ if (!('createDate' in value) || value['createDate'] === undefined) return false;
83
+ if (!('deleteDate' in value) || value['deleteDate'] === undefined) return false;
84
+ return true;
85
+ }
86
+
87
+ export function UserInOrganizationDtoFromJSON(json: any): UserInOrganizationDto {
88
+ return UserInOrganizationDtoFromJSONTyped(json, false);
89
+ }
90
+
91
+ export function UserInOrganizationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserInOrganizationDto {
92
+ if (json == null) {
93
+ return json;
94
+ }
95
+ return {
96
+
97
+ 'id': json['id'],
98
+ 'name': json['name'],
99
+ 'provider': json['provider'],
100
+ 'providerId': json['providerId'],
101
+ 'userType': json['userType'],
102
+ 'profilePicture': json['profilePicture'],
103
+ 'createDate': json['createDate'],
104
+ 'deleteDate': json['deleteDate'],
105
+ };
106
+ }
107
+
108
+ export function UserInOrganizationDtoToJSON(json: any): UserInOrganizationDto {
109
+ return UserInOrganizationDtoToJSONTyped(json, false);
110
+ }
111
+
112
+ export function UserInOrganizationDtoToJSONTyped(value?: UserInOrganizationDto | null, ignoreDiscriminator: boolean = false): any {
113
+ if (value == null) {
114
+ return value;
115
+ }
116
+
117
+ return {
118
+
119
+ 'id': value['id'],
120
+ 'name': value['name'],
121
+ 'provider': value['provider'],
122
+ 'providerId': value['providerId'],
123
+ 'userType': value['userType'],
124
+ 'profilePicture': value['profilePicture'],
125
+ 'createDate': value['createDate'],
126
+ 'deleteDate': value['deleteDate'],
127
+ };
128
+ }
129
+
@@ -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 { UserInOrganizationDto } from './UserInOrganizationDto';
17
+ import {
18
+ UserInOrganizationDtoFromJSON,
19
+ UserInOrganizationDtoFromJSONTyped,
20
+ UserInOrganizationDtoToJSON,
21
+ UserInOrganizationDtoToJSONTyped,
22
+ } from './UserInOrganizationDto';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface UserInOrganizationOutput
28
+ */
29
+ export interface UserInOrganizationOutput {
30
+ /**
31
+ *
32
+ * @type {Array<UserInOrganizationDto>}
33
+ * @memberof UserInOrganizationOutput
34
+ */
35
+ data: Array<UserInOrganizationDto>;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the UserInOrganizationOutput interface.
40
+ */
41
+ export function instanceOfUserInOrganizationOutput(value: object): value is UserInOrganizationOutput {
42
+ if (!('data' in value) || value['data'] === undefined) return false;
43
+ return true;
44
+ }
45
+
46
+ export function UserInOrganizationOutputFromJSON(json: any): UserInOrganizationOutput {
47
+ return UserInOrganizationOutputFromJSONTyped(json, false);
48
+ }
49
+
50
+ export function UserInOrganizationOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserInOrganizationOutput {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+
56
+ 'data': ((json['data'] as Array<any>).map(UserInOrganizationDtoFromJSON)),
57
+ };
58
+ }
59
+
60
+ export function UserInOrganizationOutputToJSON(json: any): UserInOrganizationOutput {
61
+ return UserInOrganizationOutputToJSONTyped(json, false);
62
+ }
63
+
64
+ export function UserInOrganizationOutputToJSONTyped(value?: UserInOrganizationOutput | 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(UserInOrganizationDtoToJSON)),
72
+ };
73
+ }
74
+
@@ -14,107 +14,116 @@
14
14
 
15
15
  import { mapValues } from '../runtime';
16
16
  /**
17
- * UserORM
17
+ *
18
18
  * @export
19
- * @interface Def3
19
+ * @interface UserORM
20
20
  */
21
- export interface Def3 {
21
+ export interface UserORM {
22
22
  /**
23
23
  *
24
24
  * @type {number}
25
- * @memberof Def3
25
+ * @memberof UserORM
26
26
  */
27
- id: number;
27
+ id?: number;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof Def3
31
+ * @memberof UserORM
32
32
  */
33
33
  name: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
- * @memberof Def3
37
+ * @memberof UserORM
38
38
  */
39
39
  provider: string;
40
40
  /**
41
41
  *
42
42
  * @type {string}
43
- * @memberof Def3
43
+ * @memberof UserORM
44
44
  */
45
45
  providerId: string;
46
- /**
47
- *
48
- * @type {object}
49
- * @memberof Def3
50
- */
51
- organizationId?: object;
52
46
  /**
53
47
  *
54
48
  * @type {string}
55
- * @memberof Def3
49
+ * @memberof UserORM
56
50
  */
57
51
  userType: string;
58
52
  /**
59
53
  *
60
54
  * @type {object}
61
- * @memberof Def3
55
+ * @memberof UserORM
62
56
  */
63
- password?: object;
57
+ password: object | null;
64
58
  /**
65
59
  *
66
60
  * @type {object}
67
- * @memberof Def3
61
+ * @memberof UserORM
68
62
  */
69
- profilePicture?: object;
63
+ profilePicture: object | null;
70
64
  /**
71
65
  *
72
66
  * @type {string}
73
- * @memberof Def3
67
+ * @memberof UserORM
74
68
  */
75
69
  createDate: string;
70
+ /**
71
+ *
72
+ * @type {object}
73
+ * @memberof UserORM
74
+ */
75
+ deleteDate: object | null;
76
+ /**
77
+ *
78
+ * @type {number}
79
+ * @memberof UserORM
80
+ */
81
+ organizationId?: number;
76
82
  }
77
83
 
78
84
  /**
79
- * Check if a given object implements the Def3 interface.
85
+ * Check if a given object implements the UserORM interface.
80
86
  */
81
- export function instanceOfDef3(value: object): value is Def3 {
82
- if (!('id' in value) || value['id'] === undefined) return false;
87
+ export function instanceOfUserORM(value: object): value is UserORM {
83
88
  if (!('name' in value) || value['name'] === undefined) return false;
84
89
  if (!('provider' in value) || value['provider'] === undefined) return false;
85
90
  if (!('providerId' in value) || value['providerId'] === undefined) return false;
86
91
  if (!('userType' in value) || value['userType'] === undefined) return false;
92
+ if (!('password' in value) || value['password'] === undefined) return false;
93
+ if (!('profilePicture' in value) || value['profilePicture'] === undefined) return false;
87
94
  if (!('createDate' in value) || value['createDate'] === undefined) return false;
95
+ if (!('deleteDate' in value) || value['deleteDate'] === undefined) return false;
88
96
  return true;
89
97
  }
90
98
 
91
- export function Def3FromJSON(json: any): Def3 {
92
- return Def3FromJSONTyped(json, false);
99
+ export function UserORMFromJSON(json: any): UserORM {
100
+ return UserORMFromJSONTyped(json, false);
93
101
  }
94
102
 
95
- export function Def3FromJSONTyped(json: any, ignoreDiscriminator: boolean): Def3 {
103
+ export function UserORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserORM {
96
104
  if (json == null) {
97
105
  return json;
98
106
  }
99
107
  return {
100
108
 
101
- 'id': json['id'],
109
+ 'id': json['id'] == null ? undefined : json['id'],
102
110
  'name': json['name'],
103
111
  'provider': json['provider'],
104
112
  'providerId': json['providerId'],
105
- 'organizationId': json['organizationId'] == null ? undefined : json['organizationId'],
106
113
  'userType': json['userType'],
107
- 'password': json['password'] == null ? undefined : json['password'],
108
- 'profilePicture': json['profilePicture'] == null ? undefined : json['profilePicture'],
114
+ 'password': json['password'],
115
+ 'profilePicture': json['profilePicture'],
109
116
  'createDate': json['createDate'],
117
+ 'deleteDate': json['deleteDate'],
118
+ 'organizationId': json['organizationId'] == null ? undefined : json['organizationId'],
110
119
  };
111
120
  }
112
121
 
113
- export function Def3ToJSON(json: any): Def3 {
114
- return Def3ToJSONTyped(json, false);
122
+ export function UserORMToJSON(json: any): UserORM {
123
+ return UserORMToJSONTyped(json, false);
115
124
  }
116
125
 
117
- export function Def3ToJSONTyped(value?: Def3 | null, ignoreDiscriminator: boolean = false): any {
126
+ export function UserORMToJSONTyped(value?: UserORM | null, ignoreDiscriminator: boolean = false): any {
118
127
  if (value == null) {
119
128
  return value;
120
129
  }
@@ -125,11 +134,12 @@ export function Def3ToJSONTyped(value?: Def3 | null, ignoreDiscriminator: boolea
125
134
  'name': value['name'],
126
135
  'provider': value['provider'],
127
136
  'providerId': value['providerId'],
128
- 'organizationId': value['organizationId'],
129
137
  'userType': value['userType'],
130
138
  'password': value['password'],
131
139
  'profilePicture': value['profilePicture'],
132
140
  'createDate': value['createDate'],
141
+ 'deleteDate': value['deleteDate'],
142
+ 'organizationId': value['organizationId'],
133
143
  };
134
144
  }
135
145
 
@@ -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
+ import type { AxisTitle } from './AxisTitle';
17
+ import {
18
+ AxisTitleFromJSON,
19
+ AxisTitleFromJSONTyped,
20
+ AxisTitleToJSON,
21
+ AxisTitleToJSONTyped,
22
+ } from './AxisTitle';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface XAxisOptions
28
+ */
29
+ export interface XAxisOptions {
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof XAxisOptions
34
+ */
35
+ type: string;
36
+ /**
37
+ *
38
+ * @type {AxisTitle}
39
+ * @memberof XAxisOptions
40
+ */
41
+ title: AxisTitle;
42
+ }
43
+
44
+ /**
45
+ * Check if a given object implements the XAxisOptions interface.
46
+ */
47
+ export function instanceOfXAxisOptions(value: object): value is XAxisOptions {
48
+ if (!('type' in value) || value['type'] === undefined) return false;
49
+ if (!('title' in value) || value['title'] === undefined) return false;
50
+ return true;
51
+ }
52
+
53
+ export function XAxisOptionsFromJSON(json: any): XAxisOptions {
54
+ return XAxisOptionsFromJSONTyped(json, false);
55
+ }
56
+
57
+ export function XAxisOptionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): XAxisOptions {
58
+ if (json == null) {
59
+ return json;
60
+ }
61
+ return {
62
+
63
+ 'type': json['type'],
64
+ 'title': AxisTitleFromJSON(json['title']),
65
+ };
66
+ }
67
+
68
+ export function XAxisOptionsToJSON(json: any): XAxisOptions {
69
+ return XAxisOptionsToJSONTyped(json, false);
70
+ }
71
+
72
+ export function XAxisOptionsToJSONTyped(value?: XAxisOptions | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'type': value['type'],
80
+ 'title': AxisTitleToJSON(value['title']),
81
+ };
82
+ }
83
+
@@ -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
+ import type { AxisTitle } from './AxisTitle';
17
+ import {
18
+ AxisTitleFromJSON,
19
+ AxisTitleFromJSONTyped,
20
+ AxisTitleToJSON,
21
+ AxisTitleToJSONTyped,
22
+ } from './AxisTitle';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface YAxisOptions
28
+ */
29
+ export interface YAxisOptions {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof YAxisOptions
34
+ */
35
+ beginAtZero: boolean;
36
+ /**
37
+ *
38
+ * @type {AxisTitle}
39
+ * @memberof YAxisOptions
40
+ */
41
+ title: AxisTitle;
42
+ }
43
+
44
+ /**
45
+ * Check if a given object implements the YAxisOptions interface.
46
+ */
47
+ export function instanceOfYAxisOptions(value: object): value is YAxisOptions {
48
+ if (!('beginAtZero' in value) || value['beginAtZero'] === undefined) return false;
49
+ if (!('title' in value) || value['title'] === undefined) return false;
50
+ return true;
51
+ }
52
+
53
+ export function YAxisOptionsFromJSON(json: any): YAxisOptions {
54
+ return YAxisOptionsFromJSONTyped(json, false);
55
+ }
56
+
57
+ export function YAxisOptionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): YAxisOptions {
58
+ if (json == null) {
59
+ return json;
60
+ }
61
+ return {
62
+
63
+ 'beginAtZero': json['beginAtZero'],
64
+ 'title': AxisTitleFromJSON(json['title']),
65
+ };
66
+ }
67
+
68
+ export function YAxisOptionsToJSON(json: any): YAxisOptions {
69
+ return YAxisOptionsToJSONTyped(json, false);
70
+ }
71
+
72
+ export function YAxisOptionsToJSONTyped(value?: YAxisOptions | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'beginAtZero': value['beginAtZero'],
80
+ 'title': AxisTitleToJSON(value['title']),
81
+ };
82
+ }
83
+