@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
@@ -15,32 +15,29 @@
15
15
 
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
- Def28,
19
- Def58,
20
- Def59,
21
- Def60,
22
- Def63,
23
- Def69,
24
- Def70,
25
- Def76,
18
+ MapItemListOutput,
19
+ MapLayerInput,
20
+ MapLayerListOutput,
21
+ MapLayerOutput,
22
+ MapListOutput,
23
+ MapORM,
24
+ MapOutput,
26
25
  } from '../models/index';
27
26
  import {
28
- Def28FromJSON,
29
- Def28ToJSON,
30
- Def58FromJSON,
31
- Def58ToJSON,
32
- Def59FromJSON,
33
- Def59ToJSON,
34
- Def60FromJSON,
35
- Def60ToJSON,
36
- Def63FromJSON,
37
- Def63ToJSON,
38
- Def69FromJSON,
39
- Def69ToJSON,
40
- Def70FromJSON,
41
- Def70ToJSON,
42
- Def76FromJSON,
43
- Def76ToJSON,
27
+ MapItemListOutputFromJSON,
28
+ MapItemListOutputToJSON,
29
+ MapLayerInputFromJSON,
30
+ MapLayerInputToJSON,
31
+ MapLayerListOutputFromJSON,
32
+ MapLayerListOutputToJSON,
33
+ MapLayerOutputFromJSON,
34
+ MapLayerOutputToJSON,
35
+ MapListOutputFromJSON,
36
+ MapListOutputToJSON,
37
+ MapORMFromJSON,
38
+ MapORMToJSON,
39
+ MapOutputFromJSON,
40
+ MapOutputToJSON,
44
41
  } from '../models/index';
45
42
 
46
43
  export interface ApiV1MapMapIdGetRequest {
@@ -63,11 +60,11 @@ export interface ApiV1MapMapIdLayerLayerIdItemGetRequest {
63
60
 
64
61
  export interface ApiV1MapMapIdLayerPostRequest {
65
62
  mapId: string;
66
- body?: Def58;
63
+ mapLayerInput?: MapLayerInput;
67
64
  }
68
65
 
69
66
  export interface ApiV1MapPostRequest {
70
- body?: Def28;
67
+ mapORM?: MapORM;
71
68
  }
72
69
 
73
70
  /**
@@ -78,11 +75,15 @@ export class MapApi extends runtime.BaseAPI {
78
75
  /**
79
76
  * List of maps for the user
80
77
  */
81
- async apiV1MapGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Def60>> {
78
+ async apiV1MapGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MapListOutput>> {
82
79
  const queryParameters: any = {};
83
80
 
84
81
  const headerParameters: runtime.HTTPHeaders = {};
85
82
 
83
+ if (this.configuration && this.configuration.apiKey) {
84
+ headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
85
+ }
86
+
86
87
  const response = await this.request({
87
88
  path: `/api/v1/map`,
88
89
  method: 'GET',
@@ -90,13 +91,13 @@ export class MapApi extends runtime.BaseAPI {
90
91
  query: queryParameters,
91
92
  }, initOverrides);
92
93
 
93
- return new runtime.JSONApiResponse(response, (jsonValue) => Def60FromJSON(jsonValue));
94
+ return new runtime.JSONApiResponse(response, (jsonValue) => MapListOutputFromJSON(jsonValue));
94
95
  }
95
96
 
96
97
  /**
97
98
  * List of maps for the user
98
99
  */
99
- async apiV1MapGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Def60> {
100
+ async apiV1MapGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MapListOutput> {
100
101
  const response = await this.apiV1MapGetRaw(initOverrides);
101
102
  return await response.value();
102
103
  }
@@ -104,7 +105,7 @@ export class MapApi extends runtime.BaseAPI {
104
105
  /**
105
106
  * Loads map
106
107
  */
107
- async apiV1MapMapIdGetRaw(requestParameters: ApiV1MapMapIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Def59>> {
108
+ async apiV1MapMapIdGetRaw(requestParameters: ApiV1MapMapIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MapOutput>> {
108
109
  if (requestParameters['mapId'] == null) {
109
110
  throw new runtime.RequiredError(
110
111
  'mapId',
@@ -116,6 +117,10 @@ export class MapApi extends runtime.BaseAPI {
116
117
 
117
118
  const headerParameters: runtime.HTTPHeaders = {};
118
119
 
120
+ if (this.configuration && this.configuration.apiKey) {
121
+ headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
122
+ }
123
+
119
124
  const response = await this.request({
120
125
  path: `/api/v1/map/{mapId}`.replace(`{${"mapId"}}`, encodeURIComponent(String(requestParameters['mapId']))),
121
126
  method: 'GET',
@@ -123,13 +128,13 @@ export class MapApi extends runtime.BaseAPI {
123
128
  query: queryParameters,
124
129
  }, initOverrides);
125
130
 
126
- return new runtime.JSONApiResponse(response, (jsonValue) => Def59FromJSON(jsonValue));
131
+ return new runtime.JSONApiResponse(response, (jsonValue) => MapOutputFromJSON(jsonValue));
127
132
  }
128
133
 
129
134
  /**
130
135
  * Loads map
131
136
  */
132
- async apiV1MapMapIdGet(requestParameters: ApiV1MapMapIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Def59> {
137
+ async apiV1MapMapIdGet(requestParameters: ApiV1MapMapIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MapOutput> {
133
138
  const response = await this.apiV1MapMapIdGetRaw(requestParameters, initOverrides);
134
139
  return await response.value();
135
140
  }
@@ -137,7 +142,7 @@ export class MapApi extends runtime.BaseAPI {
137
142
  /**
138
143
  * Lists layers for a given map
139
144
  */
140
- async apiV1MapMapIdLayerGetRaw(requestParameters: ApiV1MapMapIdLayerGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Def69>> {
145
+ async apiV1MapMapIdLayerGetRaw(requestParameters: ApiV1MapMapIdLayerGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MapLayerListOutput>> {
141
146
  if (requestParameters['mapId'] == null) {
142
147
  throw new runtime.RequiredError(
143
148
  'mapId',
@@ -149,6 +154,10 @@ export class MapApi extends runtime.BaseAPI {
149
154
 
150
155
  const headerParameters: runtime.HTTPHeaders = {};
151
156
 
157
+ if (this.configuration && this.configuration.apiKey) {
158
+ headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
159
+ }
160
+
152
161
  const response = await this.request({
153
162
  path: `/api/v1/map/{mapId}/layer`.replace(`{${"mapId"}}`, encodeURIComponent(String(requestParameters['mapId']))),
154
163
  method: 'GET',
@@ -156,13 +165,13 @@ export class MapApi extends runtime.BaseAPI {
156
165
  query: queryParameters,
157
166
  }, initOverrides);
158
167
 
159
- return new runtime.JSONApiResponse(response, (jsonValue) => Def69FromJSON(jsonValue));
168
+ return new runtime.JSONApiResponse(response, (jsonValue) => MapLayerListOutputFromJSON(jsonValue));
160
169
  }
161
170
 
162
171
  /**
163
172
  * Lists layers for a given map
164
173
  */
165
- async apiV1MapMapIdLayerGet(requestParameters: ApiV1MapMapIdLayerGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Def69> {
174
+ async apiV1MapMapIdLayerGet(requestParameters: ApiV1MapMapIdLayerGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MapLayerListOutput> {
166
175
  const response = await this.apiV1MapMapIdLayerGetRaw(requestParameters, initOverrides);
167
176
  return await response.value();
168
177
  }
@@ -170,7 +179,7 @@ export class MapApi extends runtime.BaseAPI {
170
179
  /**
171
180
  * Loads layer by id
172
181
  */
173
- async apiV1MapMapIdLayerLayerIdGetRaw(requestParameters: ApiV1MapMapIdLayerLayerIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Def70>> {
182
+ async apiV1MapMapIdLayerLayerIdGetRaw(requestParameters: ApiV1MapMapIdLayerLayerIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MapLayerOutput>> {
174
183
  if (requestParameters['mapId'] == null) {
175
184
  throw new runtime.RequiredError(
176
185
  'mapId',
@@ -189,6 +198,10 @@ export class MapApi extends runtime.BaseAPI {
189
198
 
190
199
  const headerParameters: runtime.HTTPHeaders = {};
191
200
 
201
+ if (this.configuration && this.configuration.apiKey) {
202
+ headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
203
+ }
204
+
192
205
  const response = await this.request({
193
206
  path: `/api/v1/map/{mapId}/layer/{layerId}`.replace(`{${"mapId"}}`, encodeURIComponent(String(requestParameters['mapId']))).replace(`{${"layerId"}}`, encodeURIComponent(String(requestParameters['layerId']))),
194
207
  method: 'GET',
@@ -196,13 +209,13 @@ export class MapApi extends runtime.BaseAPI {
196
209
  query: queryParameters,
197
210
  }, initOverrides);
198
211
 
199
- return new runtime.JSONApiResponse(response, (jsonValue) => Def70FromJSON(jsonValue));
212
+ return new runtime.JSONApiResponse(response, (jsonValue) => MapLayerOutputFromJSON(jsonValue));
200
213
  }
201
214
 
202
215
  /**
203
216
  * Loads layer by id
204
217
  */
205
- async apiV1MapMapIdLayerLayerIdGet(requestParameters: ApiV1MapMapIdLayerLayerIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Def70> {
218
+ async apiV1MapMapIdLayerLayerIdGet(requestParameters: ApiV1MapMapIdLayerLayerIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MapLayerOutput> {
206
219
  const response = await this.apiV1MapMapIdLayerLayerIdGetRaw(requestParameters, initOverrides);
207
220
  return await response.value();
208
221
  }
@@ -210,7 +223,7 @@ export class MapApi extends runtime.BaseAPI {
210
223
  /**
211
224
  * Loads all layer items
212
225
  */
213
- async apiV1MapMapIdLayerLayerIdItemGetRaw(requestParameters: ApiV1MapMapIdLayerLayerIdItemGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Def63>> {
226
+ async apiV1MapMapIdLayerLayerIdItemGetRaw(requestParameters: ApiV1MapMapIdLayerLayerIdItemGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MapItemListOutput>> {
214
227
  if (requestParameters['mapId'] == null) {
215
228
  throw new runtime.RequiredError(
216
229
  'mapId',
@@ -229,6 +242,10 @@ export class MapApi extends runtime.BaseAPI {
229
242
 
230
243
  const headerParameters: runtime.HTTPHeaders = {};
231
244
 
245
+ if (this.configuration && this.configuration.apiKey) {
246
+ headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
247
+ }
248
+
232
249
  const response = await this.request({
233
250
  path: `/api/v1/map/{mapId}/layer/{layerId}/item`.replace(`{${"mapId"}}`, encodeURIComponent(String(requestParameters['mapId']))).replace(`{${"layerId"}}`, encodeURIComponent(String(requestParameters['layerId']))),
234
251
  method: 'GET',
@@ -236,13 +253,13 @@ export class MapApi extends runtime.BaseAPI {
236
253
  query: queryParameters,
237
254
  }, initOverrides);
238
255
 
239
- return new runtime.JSONApiResponse(response, (jsonValue) => Def63FromJSON(jsonValue));
256
+ return new runtime.JSONApiResponse(response, (jsonValue) => MapItemListOutputFromJSON(jsonValue));
240
257
  }
241
258
 
242
259
  /**
243
260
  * Loads all layer items
244
261
  */
245
- async apiV1MapMapIdLayerLayerIdItemGet(requestParameters: ApiV1MapMapIdLayerLayerIdItemGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Def63> {
262
+ async apiV1MapMapIdLayerLayerIdItemGet(requestParameters: ApiV1MapMapIdLayerLayerIdItemGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MapItemListOutput> {
246
263
  const response = await this.apiV1MapMapIdLayerLayerIdItemGetRaw(requestParameters, initOverrides);
247
264
  return await response.value();
248
265
  }
@@ -250,7 +267,7 @@ export class MapApi extends runtime.BaseAPI {
250
267
  /**
251
268
  * Adds layer to a map
252
269
  */
253
- async apiV1MapMapIdLayerPostRaw(requestParameters: ApiV1MapMapIdLayerPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Def70>> {
270
+ async apiV1MapMapIdLayerPostRaw(requestParameters: ApiV1MapMapIdLayerPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MapLayerOutput>> {
254
271
  if (requestParameters['mapId'] == null) {
255
272
  throw new runtime.RequiredError(
256
273
  'mapId',
@@ -264,21 +281,25 @@ export class MapApi extends runtime.BaseAPI {
264
281
 
265
282
  headerParameters['Content-Type'] = 'application/json';
266
283
 
284
+ if (this.configuration && this.configuration.apiKey) {
285
+ headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
286
+ }
287
+
267
288
  const response = await this.request({
268
289
  path: `/api/v1/map/{mapId}/layer`.replace(`{${"mapId"}}`, encodeURIComponent(String(requestParameters['mapId']))),
269
290
  method: 'POST',
270
291
  headers: headerParameters,
271
292
  query: queryParameters,
272
- body: Def58ToJSON(requestParameters['body']),
293
+ body: MapLayerInputToJSON(requestParameters['mapLayerInput']),
273
294
  }, initOverrides);
274
295
 
275
- return new runtime.JSONApiResponse(response, (jsonValue) => Def70FromJSON(jsonValue));
296
+ return new runtime.JSONApiResponse(response, (jsonValue) => MapLayerOutputFromJSON(jsonValue));
276
297
  }
277
298
 
278
299
  /**
279
300
  * Adds layer to a map
280
301
  */
281
- async apiV1MapMapIdLayerPost(requestParameters: ApiV1MapMapIdLayerPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Def70> {
302
+ async apiV1MapMapIdLayerPost(requestParameters: ApiV1MapMapIdLayerPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MapLayerOutput> {
282
303
  const response = await this.apiV1MapMapIdLayerPostRaw(requestParameters, initOverrides);
283
304
  return await response.value();
284
305
  }
@@ -286,56 +307,34 @@ export class MapApi extends runtime.BaseAPI {
286
307
  /**
287
308
  * Adds map
288
309
  */
289
- async apiV1MapPostRaw(requestParameters: ApiV1MapPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Def59>> {
310
+ async apiV1MapPostRaw(requestParameters: ApiV1MapPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MapOutput>> {
290
311
  const queryParameters: any = {};
291
312
 
292
313
  const headerParameters: runtime.HTTPHeaders = {};
293
314
 
294
315
  headerParameters['Content-Type'] = 'application/json';
295
316
 
317
+ if (this.configuration && this.configuration.apiKey) {
318
+ headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
319
+ }
320
+
296
321
  const response = await this.request({
297
322
  path: `/api/v1/map`,
298
323
  method: 'POST',
299
324
  headers: headerParameters,
300
325
  query: queryParameters,
301
- body: Def28ToJSON(requestParameters['body']),
326
+ body: MapORMToJSON(requestParameters['mapORM']),
302
327
  }, initOverrides);
303
328
 
304
- return new runtime.JSONApiResponse(response, (jsonValue) => Def59FromJSON(jsonValue));
329
+ return new runtime.JSONApiResponse(response, (jsonValue) => MapOutputFromJSON(jsonValue));
305
330
  }
306
331
 
307
332
  /**
308
333
  * Adds map
309
334
  */
310
- async apiV1MapPost(requestParameters: ApiV1MapPostRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Def59> {
335
+ async apiV1MapPost(requestParameters: ApiV1MapPostRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MapOutput> {
311
336
  const response = await this.apiV1MapPostRaw(requestParameters, initOverrides);
312
337
  return await response.value();
313
338
  }
314
339
 
315
- /**
316
- * Adds an item to the map
317
- */
318
- async apiV1MapSearchGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Def76>> {
319
- const queryParameters: any = {};
320
-
321
- const headerParameters: runtime.HTTPHeaders = {};
322
-
323
- const response = await this.request({
324
- path: `/api/v1/map/search`,
325
- method: 'GET',
326
- headers: headerParameters,
327
- query: queryParameters,
328
- }, initOverrides);
329
-
330
- return new runtime.JSONApiResponse(response, (jsonValue) => Def76FromJSON(jsonValue));
331
- }
332
-
333
- /**
334
- * Adds an item to the map
335
- */
336
- async apiV1MapSearchGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Def76> {
337
- const response = await this.apiV1MapSearchGetRaw(initOverrides);
338
- return await response.value();
339
- }
340
-
341
340
  }
@@ -15,11 +15,11 @@
15
15
 
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
- Def77,
18
+ MultimediaOutput,
19
19
  } from '../models/index';
20
20
  import {
21
- Def77FromJSON,
22
- Def77ToJSON,
21
+ MultimediaOutputFromJSON,
22
+ MultimediaOutputToJSON,
23
23
  } from '../models/index';
24
24
 
25
25
  export interface ApiV1MultimediaContentTypeRelativeUrlGetRequest {
@@ -59,6 +59,10 @@ export class MultimediaApi extends runtime.BaseAPI {
59
59
 
60
60
  const headerParameters: runtime.HTTPHeaders = {};
61
61
 
62
+ if (this.configuration && this.configuration.apiKey) {
63
+ headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
64
+ }
65
+
62
66
  const response = await this.request({
63
67
  path: `/api/v1/multimedia/{contentType}/{relativeUrl}`.replace(`{${"contentType"}}`, encodeURIComponent(String(requestParameters['contentType']))).replace(`{${"relativeUrl"}}`, encodeURIComponent(String(requestParameters['relativeUrl']))),
64
68
  method: 'GET',
@@ -92,6 +96,10 @@ export class MultimediaApi extends runtime.BaseAPI {
92
96
 
93
97
  const headerParameters: runtime.HTTPHeaders = {};
94
98
 
99
+ if (this.configuration && this.configuration.apiKey) {
100
+ headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
101
+ }
102
+
95
103
  const response = await this.request({
96
104
  path: `/api/v1/multimedia/{multimediaId}`.replace(`{${"multimediaId"}}`, encodeURIComponent(String(requestParameters['multimediaId']))),
97
105
  method: 'GET',
@@ -113,11 +121,15 @@ export class MultimediaApi extends runtime.BaseAPI {
113
121
  * Uploads a file
114
122
  * You need to send the file object in the file field of the form
115
123
  */
116
- async apiV1MultimediaPostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Def77>> {
124
+ async apiV1MultimediaPostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MultimediaOutput>> {
117
125
  const queryParameters: any = {};
118
126
 
119
127
  const headerParameters: runtime.HTTPHeaders = {};
120
128
 
129
+ if (this.configuration && this.configuration.apiKey) {
130
+ headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
131
+ }
132
+
121
133
  const response = await this.request({
122
134
  path: `/api/v1/multimedia`,
123
135
  method: 'POST',
@@ -125,14 +137,14 @@ export class MultimediaApi extends runtime.BaseAPI {
125
137
  query: queryParameters,
126
138
  }, initOverrides);
127
139
 
128
- return new runtime.JSONApiResponse(response, (jsonValue) => Def77FromJSON(jsonValue));
140
+ return new runtime.JSONApiResponse(response, (jsonValue) => MultimediaOutputFromJSON(jsonValue));
129
141
  }
130
142
 
131
143
  /**
132
144
  * Uploads a file
133
145
  * You need to send the file object in the file field of the form
134
146
  */
135
- async apiV1MultimediaPost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Def77> {
147
+ async apiV1MultimediaPost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MultimediaOutput> {
136
148
  const response = await this.apiV1MultimediaPostRaw(initOverrides);
137
149
  return await response.value();
138
150
  }
@@ -0,0 +1,269 @@
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
+
16
+ import * as runtime from '../runtime';
17
+ import type {
18
+ AccountOutput,
19
+ AddUserToOrganizationDto,
20
+ OrganizationORM,
21
+ UpdateUserInOrganizationPasswordDto,
22
+ UserInOrganizationOutput,
23
+ } from '../models/index';
24
+ import {
25
+ AccountOutputFromJSON,
26
+ AccountOutputToJSON,
27
+ AddUserToOrganizationDtoFromJSON,
28
+ AddUserToOrganizationDtoToJSON,
29
+ OrganizationORMFromJSON,
30
+ OrganizationORMToJSON,
31
+ UpdateUserInOrganizationPasswordDtoFromJSON,
32
+ UpdateUserInOrganizationPasswordDtoToJSON,
33
+ UserInOrganizationOutputFromJSON,
34
+ UserInOrganizationOutputToJSON,
35
+ } from '../models/index';
36
+
37
+ export interface ApiV1OrganizationPostRequest {
38
+ organizationORM?: OrganizationORM;
39
+ }
40
+
41
+ export interface ApiV1OrganizationPutRequest {
42
+ organizationORM?: OrganizationORM;
43
+ }
44
+
45
+ export interface ApiV1OrganizationUserPostRequest {
46
+ addUserToOrganizationDto?: AddUserToOrganizationDto;
47
+ }
48
+
49
+ export interface ApiV1OrganizationUserUserIdDeleteRequest {
50
+ userId: string;
51
+ }
52
+
53
+ export interface ApiV1OrganizationUserUserIdPasswordPutRequest {
54
+ userId: string;
55
+ updateUserInOrganizationPasswordDto?: UpdateUserInOrganizationPasswordDto;
56
+ }
57
+
58
+ /**
59
+ *
60
+ */
61
+ export class OrganizationApi extends runtime.BaseAPI {
62
+
63
+ /**
64
+ * Adds account organization
65
+ */
66
+ async apiV1OrganizationPostRaw(requestParameters: ApiV1OrganizationPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountOutput>> {
67
+ const queryParameters: any = {};
68
+
69
+ const headerParameters: runtime.HTTPHeaders = {};
70
+
71
+ headerParameters['Content-Type'] = 'application/json';
72
+
73
+ if (this.configuration && this.configuration.apiKey) {
74
+ headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
75
+ }
76
+
77
+ const response = await this.request({
78
+ path: `/api/v1/organization`,
79
+ method: 'POST',
80
+ headers: headerParameters,
81
+ query: queryParameters,
82
+ body: OrganizationORMToJSON(requestParameters['organizationORM']),
83
+ }, initOverrides);
84
+
85
+ return new runtime.JSONApiResponse(response, (jsonValue) => AccountOutputFromJSON(jsonValue));
86
+ }
87
+
88
+ /**
89
+ * Adds account organization
90
+ */
91
+ async apiV1OrganizationPost(requestParameters: ApiV1OrganizationPostRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountOutput> {
92
+ const response = await this.apiV1OrganizationPostRaw(requestParameters, initOverrides);
93
+ return await response.value();
94
+ }
95
+
96
+ /**
97
+ * updates account organization
98
+ */
99
+ async apiV1OrganizationPutRaw(requestParameters: ApiV1OrganizationPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountOutput>> {
100
+ const queryParameters: any = {};
101
+
102
+ const headerParameters: runtime.HTTPHeaders = {};
103
+
104
+ headerParameters['Content-Type'] = 'application/json';
105
+
106
+ if (this.configuration && this.configuration.apiKey) {
107
+ headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
108
+ }
109
+
110
+ const response = await this.request({
111
+ path: `/api/v1/organization`,
112
+ method: 'PUT',
113
+ headers: headerParameters,
114
+ query: queryParameters,
115
+ body: OrganizationORMToJSON(requestParameters['organizationORM']),
116
+ }, initOverrides);
117
+
118
+ return new runtime.JSONApiResponse(response, (jsonValue) => AccountOutputFromJSON(jsonValue));
119
+ }
120
+
121
+ /**
122
+ * updates account organization
123
+ */
124
+ async apiV1OrganizationPut(requestParameters: ApiV1OrganizationPutRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountOutput> {
125
+ const response = await this.apiV1OrganizationPutRaw(requestParameters, initOverrides);
126
+ return await response.value();
127
+ }
128
+
129
+ /**
130
+ * list all users in organization
131
+ */
132
+ async apiV1OrganizationUserGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserInOrganizationOutput>> {
133
+ const queryParameters: any = {};
134
+
135
+ const headerParameters: runtime.HTTPHeaders = {};
136
+
137
+ if (this.configuration && this.configuration.apiKey) {
138
+ headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
139
+ }
140
+
141
+ const response = await this.request({
142
+ path: `/api/v1/organization/user`,
143
+ method: 'GET',
144
+ headers: headerParameters,
145
+ query: queryParameters,
146
+ }, initOverrides);
147
+
148
+ return new runtime.JSONApiResponse(response, (jsonValue) => UserInOrganizationOutputFromJSON(jsonValue));
149
+ }
150
+
151
+ /**
152
+ * list all users in organization
153
+ */
154
+ async apiV1OrganizationUserGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserInOrganizationOutput> {
155
+ const response = await this.apiV1OrganizationUserGetRaw(initOverrides);
156
+ return await response.value();
157
+ }
158
+
159
+ /**
160
+ * updates account organization
161
+ */
162
+ async apiV1OrganizationUserPostRaw(requestParameters: ApiV1OrganizationUserPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountOutput>> {
163
+ const queryParameters: any = {};
164
+
165
+ const headerParameters: runtime.HTTPHeaders = {};
166
+
167
+ headerParameters['Content-Type'] = 'application/json';
168
+
169
+ if (this.configuration && this.configuration.apiKey) {
170
+ headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
171
+ }
172
+
173
+ const response = await this.request({
174
+ path: `/api/v1/organization/user`,
175
+ method: 'POST',
176
+ headers: headerParameters,
177
+ query: queryParameters,
178
+ body: AddUserToOrganizationDtoToJSON(requestParameters['addUserToOrganizationDto']),
179
+ }, initOverrides);
180
+
181
+ return new runtime.JSONApiResponse(response, (jsonValue) => AccountOutputFromJSON(jsonValue));
182
+ }
183
+
184
+ /**
185
+ * updates account organization
186
+ */
187
+ async apiV1OrganizationUserPost(requestParameters: ApiV1OrganizationUserPostRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountOutput> {
188
+ const response = await this.apiV1OrganizationUserPostRaw(requestParameters, initOverrides);
189
+ return await response.value();
190
+ }
191
+
192
+ /**
193
+ * delete user from organization (and forever)
194
+ */
195
+ async apiV1OrganizationUserUserIdDeleteRaw(requestParameters: ApiV1OrganizationUserUserIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountOutput>> {
196
+ if (requestParameters['userId'] == null) {
197
+ throw new runtime.RequiredError(
198
+ 'userId',
199
+ 'Required parameter "userId" was null or undefined when calling apiV1OrganizationUserUserIdDelete().'
200
+ );
201
+ }
202
+
203
+ const queryParameters: any = {};
204
+
205
+ const headerParameters: runtime.HTTPHeaders = {};
206
+
207
+ if (this.configuration && this.configuration.apiKey) {
208
+ headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
209
+ }
210
+
211
+ const response = await this.request({
212
+ path: `/api/v1/organization/user/{userId}`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))),
213
+ method: 'DELETE',
214
+ headers: headerParameters,
215
+ query: queryParameters,
216
+ }, initOverrides);
217
+
218
+ return new runtime.JSONApiResponse(response, (jsonValue) => AccountOutputFromJSON(jsonValue));
219
+ }
220
+
221
+ /**
222
+ * delete user from organization (and forever)
223
+ */
224
+ async apiV1OrganizationUserUserIdDelete(requestParameters: ApiV1OrganizationUserUserIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountOutput> {
225
+ const response = await this.apiV1OrganizationUserUserIdDeleteRaw(requestParameters, initOverrides);
226
+ return await response.value();
227
+ }
228
+
229
+ /**
230
+ * updates account organization
231
+ */
232
+ async apiV1OrganizationUserUserIdPasswordPutRaw(requestParameters: ApiV1OrganizationUserUserIdPasswordPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountOutput>> {
233
+ if (requestParameters['userId'] == null) {
234
+ throw new runtime.RequiredError(
235
+ 'userId',
236
+ 'Required parameter "userId" was null or undefined when calling apiV1OrganizationUserUserIdPasswordPut().'
237
+ );
238
+ }
239
+
240
+ const queryParameters: any = {};
241
+
242
+ const headerParameters: runtime.HTTPHeaders = {};
243
+
244
+ headerParameters['Content-Type'] = 'application/json';
245
+
246
+ if (this.configuration && this.configuration.apiKey) {
247
+ headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
248
+ }
249
+
250
+ const response = await this.request({
251
+ path: `/api/v1/organization/user/{userId}/password`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))),
252
+ method: 'PUT',
253
+ headers: headerParameters,
254
+ query: queryParameters,
255
+ body: UpdateUserInOrganizationPasswordDtoToJSON(requestParameters['updateUserInOrganizationPasswordDto']),
256
+ }, initOverrides);
257
+
258
+ return new runtime.JSONApiResponse(response, (jsonValue) => AccountOutputFromJSON(jsonValue));
259
+ }
260
+
261
+ /**
262
+ * updates account organization
263
+ */
264
+ async apiV1OrganizationUserUserIdPasswordPut(requestParameters: ApiV1OrganizationUserUserIdPasswordPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountOutput> {
265
+ const response = await this.apiV1OrganizationUserUserIdPasswordPutRaw(requestParameters, initOverrides);
266
+ return await response.value();
267
+ }
268
+
269
+ }