eehitus-my-task-list-ui 0.6.5

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 (161) hide show
  1. package/README.md +41 -0
  2. package/dist/index.cjs.js +2 -0
  3. package/dist/index.cjs.js.LICENSE.txt +9 -0
  4. package/dist/index.esm.js +2 -0
  5. package/dist/index.esm.js.LICENSE.txt +9 -0
  6. package/dist/index.umd.js +2 -0
  7. package/dist/index.umd.js.LICENSE.txt +9 -0
  8. package/dist/l10n/eehitus-my-proceeding-ui-combined_translations_en.json +1 -0
  9. package/dist/l10n/eehitus-my-proceeding-ui-combined_translations_et.json +1 -0
  10. package/dist/l10n/eehitus-my-proceeding-ui-combined_translations_ru.json +1 -0
  11. package/dist/types/App.d.ts +5 -0
  12. package/dist/types/Reducer.d.ts +2 -0
  13. package/dist/types/__mocks__/fileMock.d.ts +2 -0
  14. package/dist/types/components/Demo.d.ts +3 -0
  15. package/dist/types/components/DemoAdministrativeProceedings.d.ts +3 -0
  16. package/dist/types/components/DemoApprovals.d.ts +3 -0
  17. package/dist/types/components/DemoDetailSearch.d.ts +3 -0
  18. package/dist/types/components/DemoDocuments.d.ts +3 -0
  19. package/dist/types/components/DemoInvolvements.d.ts +3 -0
  20. package/dist/types/components/DemoOpinions.d.ts +3 -0
  21. package/dist/types/components/DemoProceedings.d.ts +3 -0
  22. package/dist/types/components/common/AddressesService.d.ts +5 -0
  23. package/dist/types/components/common/CommonServices.d.ts +5 -0
  24. package/dist/types/components/common/TableService.d.ts +18 -0
  25. package/dist/types/components/common/classificators/BuildingStates.d.ts +9 -0
  26. package/dist/types/components/common/classificators/DocumentStates.d.ts +25 -0
  27. package/dist/types/components/common/classificators/OperationStates.d.ts +34 -0
  28. package/dist/types/components/common/classificators/ProceedingStates.d.ts +9 -0
  29. package/dist/types/components/common/components/DateRangeExtended.d.ts +14 -0
  30. package/dist/types/components/common/components/DeletePopoverExtended.d.ts +12 -0
  31. package/dist/types/components/common/components/DeleteTableRow.d.ts +7 -0
  32. package/dist/types/components/common/components/DownloadTableRow.d.ts +9 -0
  33. package/dist/types/components/common/components/LinkWithDarkTooltip.d.ts +9 -0
  34. package/dist/types/components/common/components/LinkWithTooltip.d.ts +7 -0
  35. package/dist/types/components/common/components/Phone.d.ts +13 -0
  36. package/dist/types/components/common/components/TableSortingArrows.d.ts +6 -0
  37. package/dist/types/components/common/components/operation/filter/OperationsFilter.d.ts +10 -0
  38. package/dist/types/components/common/components/operation/filter/OperationsFilterService.d.ts +10 -0
  39. package/dist/types/components/common/components/operation/operationsTable/OperationsTable.d.ts +11 -0
  40. package/dist/types/components/common/components/operation/types/OperationsFilterType.d.ts +18 -0
  41. package/dist/types/components/common/components/personalCodeValidator.d.ts +2 -0
  42. package/dist/types/components/common/components/tablecomponent/TableComponentUtils.d.ts +2 -0
  43. package/dist/types/components/common/constants/Constants.d.ts +72 -0
  44. package/dist/types/components/common/filterService/CommonFilterService.d.ts +6 -0
  45. package/dist/types/components/common/stateServices/BuildingStateService.d.ts +9 -0
  46. package/dist/types/components/common/stateServices/DocumentStateService.d.ts +6 -0
  47. package/dist/types/components/common/stateServices/OperationStateService.d.ts +25 -0
  48. package/dist/types/components/common/stateServices/ProceedingStateService.d.ts +9 -0
  49. package/dist/types/components/common/types/MultiselectTypeOption.d.ts +9 -0
  50. package/dist/types/components/dto/MyDocuments.d.ts +40 -0
  51. package/dist/types/components/form/checkBox.d.ts +2 -0
  52. package/dist/types/components/model/StatusTypes.d.ts +15 -0
  53. package/dist/types/components/page/detailsearch/detailsearch.d.ts +14 -0
  54. package/dist/types/components/page/detailsearch/detailsearch.test.d.ts +1 -0
  55. package/dist/types/components/page/detailsearch/filter/BuildingsDetailSearchFilter.d.ts +10 -0
  56. package/dist/types/components/page/detailsearch/filter/BuildingsDetailSearchFilter.test.d.ts +1 -0
  57. package/dist/types/components/page/detailsearch/filter/DetailSearchFilterService.d.ts +12 -0
  58. package/dist/types/components/page/detailsearch/filter/DocumentsDetailSearchFilter.d.ts +9 -0
  59. package/dist/types/components/page/detailsearch/filter/DocumentsDetailSearchFilter.test.d.ts +1 -0
  60. package/dist/types/components/page/detailsearch/filter/ProceedingsDetailSearchFilter.d.ts +6 -0
  61. package/dist/types/components/page/detailsearch/tables/DetailSearchBuildings.d.ts +9 -0
  62. package/dist/types/components/page/detailsearch/tables/DetailSearchBuildings.test.d.ts +1 -0
  63. package/dist/types/components/page/detailsearch/tables/DetailSearchDocuments.d.ts +12 -0
  64. package/dist/types/components/page/detailsearch/tables/DetailSearchDocuments.test.d.ts +1 -0
  65. package/dist/types/components/page/detailsearch/tables/DetailSearchProceedings.d.ts +11 -0
  66. package/dist/types/components/page/detailsearch/tables/DetailSearchProceedings.test.d.ts +1 -0
  67. package/dist/types/components/page/detailsearch/tables/linkGenMock.d.ts +2 -0
  68. package/dist/types/components/page/detailsearch/types/BuildingsDetailSearchFilterType.d.ts +16 -0
  69. package/dist/types/components/page/detailsearch/types/DocumentsDetailSearchFilterType.d.ts +13 -0
  70. package/dist/types/components/page/detailsearch/types/ProceedingsDetailSearchFilterType.d.ts +10 -0
  71. package/dist/types/components/page/myAdministrativeProceedings/AdministrativeProceedingsTable.d.ts +8 -0
  72. package/dist/types/components/page/myAdministrativeProceedings/MyAdministrativeProceedings.d.ts +8 -0
  73. package/dist/types/components/page/myAdministrativeProceedings/components/AdminProceedingsReminderSection.d.ts +6 -0
  74. package/dist/types/components/page/myAdministrativeProceedings/components/AdminProceedingsSection.d.ts +7 -0
  75. package/dist/types/components/page/myapprovals/myapprovals.d.ts +11 -0
  76. package/dist/types/components/page/mydocuments/common/AddNewDocumentButton.d.ts +5 -0
  77. package/dist/types/components/page/mydocuments/common/FinishedDocDotys.d.ts +1 -0
  78. package/dist/types/components/page/mydocuments/common/SigningDocDocys.d.ts +1 -0
  79. package/dist/types/components/page/mydocuments/common/WorkingDocDotys.d.ts +1 -0
  80. package/dist/types/components/page/mydocuments/documentTable/DocumentTableMoreActionsPopover.d.ts +8 -0
  81. package/dist/types/components/page/mydocuments/documentTable/DocumentsTable.d.ts +17 -0
  82. package/dist/types/components/page/mydocuments/filter/DocumentsFilter.d.ts +10 -0
  83. package/dist/types/components/page/mydocuments/filter/DocumentsFilterService.d.ts +5 -0
  84. package/dist/types/components/page/mydocuments/filter/FilterDocumentStatesBasedOnDocTypes.d.ts +9 -0
  85. package/dist/types/components/page/mydocuments/filter/FilterDocumentTypes.d.ts +1 -0
  86. package/dist/types/components/page/mydocuments/mydocuments.d.ts +8 -0
  87. package/dist/types/components/page/mydocuments/types/DocumentsFilterType.d.ts +17 -0
  88. package/dist/types/components/page/myinvolvements/filter/InvolvementsFilter.d.ts +8 -0
  89. package/dist/types/components/page/myinvolvements/myinvolvements.d.ts +11 -0
  90. package/dist/types/components/page/myopinions/myopinions.d.ts +11 -0
  91. package/dist/types/components/page/myproceedings/filter/ProceedingsFilter.d.ts +9 -0
  92. package/dist/types/components/page/myproceedings/filter/ProceedingsFilterService.d.ts +12 -0
  93. package/dist/types/components/page/myproceedings/myproceedings.d.ts +12 -0
  94. package/dist/types/components/page/myproceedings/proceedingTable/MyProceedingsTable.d.ts +11 -0
  95. package/dist/types/components/page/myproceedings/types/ProceedingsFilterType.d.ts +17 -0
  96. package/dist/types/components/services/buildings_actual_data_api_client/api.d.ts +8403 -0
  97. package/dist/types/components/services/buildings_actual_data_api_client/base.d.ts +55 -0
  98. package/dist/types/components/services/buildings_actual_data_api_client/common.d.ts +65 -0
  99. package/dist/types/components/services/buildings_actual_data_api_client/configuration.d.ts +83 -0
  100. package/dist/types/components/services/buildings_actual_data_api_client/index.d.ts +13 -0
  101. package/dist/types/components/services/classifier_api_client/api.d.ts +499 -0
  102. package/dist/types/components/services/classifier_api_client/base.d.ts +55 -0
  103. package/dist/types/components/services/classifier_api_client/common.d.ts +65 -0
  104. package/dist/types/components/services/classifier_api_client/configuration.d.ts +83 -0
  105. package/dist/types/components/services/classifier_api_client/index.d.ts +13 -0
  106. package/dist/types/components/services/document_api_client/api.d.ts +8727 -0
  107. package/dist/types/components/services/document_api_client/base.d.ts +55 -0
  108. package/dist/types/components/services/document_api_client/common.d.ts +65 -0
  109. package/dist/types/components/services/document_api_client/configuration.d.ts +83 -0
  110. package/dist/types/components/services/document_api_client/index.d.ts +13 -0
  111. package/dist/types/components/services/file_api_client/api.d.ts +782 -0
  112. package/dist/types/components/services/file_api_client/base.d.ts +55 -0
  113. package/dist/types/components/services/file_api_client/common.d.ts +65 -0
  114. package/dist/types/components/services/file_api_client/configuration.d.ts +83 -0
  115. package/dist/types/components/services/file_api_client/index.d.ts +13 -0
  116. package/dist/types/components/services/my_views_api_client/api.d.ts +1806 -0
  117. package/dist/types/components/services/my_views_api_client/base.d.ts +66 -0
  118. package/dist/types/components/services/my_views_api_client/common.d.ts +65 -0
  119. package/dist/types/components/services/my_views_api_client/configuration.d.ts +91 -0
  120. package/dist/types/components/services/my_views_api_client/index.d.ts +13 -0
  121. package/dist/types/components/services/user_api_client/api.d.ts +4706 -0
  122. package/dist/types/components/services/user_api_client/base.d.ts +54 -0
  123. package/dist/types/components/services/user_api_client/common.d.ts +65 -0
  124. package/dist/types/components/services/user_api_client/configuration.d.ts +83 -0
  125. package/dist/types/components/services/user_api_client/index.d.ts +13 -0
  126. package/dist/types/components/services/yld_esi_api_client/api.d.ts +401 -0
  127. package/dist/types/components/services/yld_esi_api_client/base.d.ts +54 -0
  128. package/dist/types/components/services/yld_esi_api_client/common.d.ts +65 -0
  129. package/dist/types/components/services/yld_esi_api_client/configuration.d.ts +83 -0
  130. package/dist/types/components/services/yld_esi_api_client/index.d.ts +13 -0
  131. package/dist/types/components/util/DateFormatUtils.d.ts +12 -0
  132. package/dist/types/components/util/link-utils.d.ts +18 -0
  133. package/dist/types/components/util/redirect-utils.d.ts +19 -0
  134. package/dist/types/hooks/useAreaProceedings.d.ts +8 -0
  135. package/dist/types/index.d.ts +1 -0
  136. package/dist/types/indexExport.d.ts +13 -0
  137. package/dist/types/mocks/kaosClassifierMock.d.ts +20 -0
  138. package/dist/types/rbac-rules.d.ts +57 -0
  139. package/dist/types/redux/actions/parametersAction.d.ts +4 -0
  140. package/dist/types/redux/api/index.d.ts +25 -0
  141. package/dist/types/redux/constants/action.d.ts +2 -0
  142. package/dist/types/redux/middleware/middleware.d.ts +4 -0
  143. package/dist/types/redux/parametersService.d.ts +5 -0
  144. package/dist/types/redux/reducers/detailSearchSlice.d.ts +6 -0
  145. package/dist/types/redux/reducers/detailSearchState.d.ts +7 -0
  146. package/dist/types/redux/reducers/documentsSlice.d.ts +6 -0
  147. package/dist/types/redux/reducers/documentsState.d.ts +8 -0
  148. package/dist/types/redux/reducers/filterSlice.d.ts +8 -0
  149. package/dist/types/redux/reducers/filterState.d.ts +11 -0
  150. package/dist/types/redux/reducers/myOperationsSlice.d.ts +5 -0
  151. package/dist/types/redux/reducers/myOperationsState.d.ts +6 -0
  152. package/dist/types/redux/reducers/parametersReducer.d.ts +2 -0
  153. package/dist/types/redux/reducers/proceedingsSlice.d.ts +5 -0
  154. package/dist/types/redux/reducers/proceedingsState.d.ts +6 -0
  155. package/dist/types/redux/reducers/reducer.d.ts +4 -0
  156. package/dist/types/redux/reducers/rootReducer.d.ts +9 -0
  157. package/dist/types/redux/store.d.ts +2 -0
  158. package/dist/types/redux/types/parameters.d.ts +3 -0
  159. package/dist/types/serviceWorker.d.ts +2 -0
  160. package/dist/types/setupTests.d.ts +2 -0
  161. package/package.json +256 -0
@@ -0,0 +1,4706 @@
1
+ /**
2
+ * EHR User API
3
+ * User API for acitivities connected to users and persons
4
+ *
5
+ * The version of the OpenAPI document: 1.0.1
6
+ * Contact: risto.poldsalu@tietoevry.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from './configuration';
13
+ import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
14
+ import globalAxios from 'axios';
15
+ import type { RequestArgs } from './base';
16
+ import { BaseAPI } from './base';
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface AddAllyksusDTO
21
+ */
22
+ export interface AddAllyksusDTO {
23
+ /**
24
+ *
25
+ * @type {number}
26
+ * @memberof AddAllyksusDTO
27
+ */
28
+ 'jurPersonId'?: number;
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof AddAllyksusDTO
33
+ */
34
+ 'newAllyksusId'?: number;
35
+ }
36
+ /**
37
+ *
38
+ * @export
39
+ * @interface AdministrativeDivisionDto
40
+ */
41
+ export interface AdministrativeDivisionDto {
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof AdministrativeDivisionDto
46
+ */
47
+ 'id'?: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof AdministrativeDivisionDto
52
+ */
53
+ 'parentId'?: number;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof AdministrativeDivisionDto
58
+ */
59
+ 'parentEhakCode'?: string;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof AdministrativeDivisionDto
64
+ */
65
+ 'level'?: number;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof AdministrativeDivisionDto
70
+ */
71
+ 'code'?: string;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof AdministrativeDivisionDto
76
+ */
77
+ 'name'?: string;
78
+ }
79
+ /**
80
+ *
81
+ * @export
82
+ * @interface AkIsikDokLubaDto
83
+ */
84
+ export interface AkIsikDokLubaDto {
85
+ /**
86
+ *
87
+ * @type {number}
88
+ * @memberof AkIsikDokLubaDto
89
+ */
90
+ 'dotyId': number;
91
+ /**
92
+ *
93
+ * @type {string}
94
+ * @memberof AkIsikDokLubaDto
95
+ */
96
+ 'dotyName'?: string;
97
+ /**
98
+ *
99
+ * @type {number}
100
+ * @memberof AkIsikDokLubaDto
101
+ */
102
+ 'isikId': number;
103
+ /**
104
+ *
105
+ * @type {string}
106
+ * @memberof AkIsikDokLubaDto
107
+ */
108
+ 'algus': string;
109
+ /**
110
+ *
111
+ * @type {string}
112
+ * @memberof AkIsikDokLubaDto
113
+ */
114
+ 'lopp'?: string;
115
+ /**
116
+ *
117
+ * @type {string}
118
+ * @memberof AkIsikDokLubaDto
119
+ */
120
+ 'kommentaar'?: string;
121
+ }
122
+ /**
123
+ *
124
+ * @export
125
+ * @interface AkRoleDTO
126
+ */
127
+ export interface AkRoleDTO {
128
+ /**
129
+ * el_kood
130
+ * @type {string}
131
+ * @memberof AkRoleDTO
132
+ */
133
+ 'elKood'?: string;
134
+ /**
135
+ * nimi
136
+ * @type {string}
137
+ * @memberof AkRoleDTO
138
+ */
139
+ 'nimi'?: string;
140
+ }
141
+ /**
142
+ *
143
+ * @export
144
+ * @interface AkRolesDTO
145
+ */
146
+ export interface AkRolesDTO {
147
+ /**
148
+ *
149
+ * @type {Array<AkRoleDTO>}
150
+ * @memberof AkRolesDTO
151
+ */
152
+ 'roles'?: Array<AkRoleDTO>;
153
+ }
154
+ /**
155
+ * jur person bank accounts
156
+ * @export
157
+ * @interface BankAccountDto
158
+ */
159
+ export interface BankAccountDto {
160
+ /**
161
+ * id
162
+ * @type {number}
163
+ * @memberof BankAccountDto
164
+ */
165
+ 'id'?: number;
166
+ /**
167
+ * kontonumber
168
+ * @type {string}
169
+ * @memberof BankAccountDto
170
+ */
171
+ 'accountNr'?: string;
172
+ /**
173
+ * isik_id
174
+ * @type {number}
175
+ * @memberof BankAccountDto
176
+ */
177
+ 'personId'?: number;
178
+ /**
179
+ * viitenumber
180
+ * @type {string}
181
+ * @memberof BankAccountDto
182
+ */
183
+ 'referenceNr'?: string;
184
+ /**
185
+ * kirjeldus
186
+ * @type {string}
187
+ * @memberof BankAccountDto
188
+ */
189
+ 'description'?: string;
190
+ /**
191
+ * kustutamise aeg
192
+ * @type {Date}
193
+ * @memberof BankAccountDto
194
+ */
195
+ 'dateDeleted'?: Date;
196
+ /**
197
+ * teenus
198
+ * @type {string}
199
+ * @memberof BankAccountDto
200
+ */
201
+ 'service'?: string;
202
+ /**
203
+ * makse saaja
204
+ * @type {string}
205
+ * @memberof BankAccountDto
206
+ */
207
+ 'payee'?: string;
208
+ }
209
+ /**
210
+ *
211
+ * @export
212
+ * @interface ClassifierBusinessTypeDto
213
+ */
214
+ export interface ClassifierBusinessTypeDto {
215
+ /**
216
+ *
217
+ * @type {number}
218
+ * @memberof ClassifierBusinessTypeDto
219
+ */
220
+ 'id'?: number;
221
+ /**
222
+ *
223
+ * @type {string}
224
+ * @memberof ClassifierBusinessTypeDto
225
+ */
226
+ 'code'?: string;
227
+ /**
228
+ *
229
+ * @type {string}
230
+ * @memberof ClassifierBusinessTypeDto
231
+ */
232
+ 'name'?: string;
233
+ }
234
+ /**
235
+ *
236
+ * @export
237
+ * @interface ClassifierUserRoleDto
238
+ */
239
+ export interface ClassifierUserRoleDto {
240
+ /**
241
+ *
242
+ * @type {number}
243
+ * @memberof ClassifierUserRoleDto
244
+ */
245
+ 'id'?: number;
246
+ /**
247
+ *
248
+ * @type {string}
249
+ * @memberof ClassifierUserRoleDto
250
+ */
251
+ 'name'?: string;
252
+ }
253
+ /**
254
+ *
255
+ * @export
256
+ * @interface EellaneDto
257
+ */
258
+ export interface EellaneDto {
259
+ /**
260
+ *
261
+ * @type {number}
262
+ * @memberof EellaneDto
263
+ */
264
+ 'id'?: number;
265
+ /**
266
+ *
267
+ * @type {Date}
268
+ * @memberof EellaneDto
269
+ */
270
+ 'loppKp'?: Date;
271
+ /**
272
+ *
273
+ * @type {string}
274
+ * @memberof EellaneDto
275
+ */
276
+ 'firstName'?: string;
277
+ /**
278
+ *
279
+ * @type {string}
280
+ * @memberof EellaneDto
281
+ */
282
+ 'familyName'?: string;
283
+ }
284
+ /**
285
+ *
286
+ * @export
287
+ * @interface ErrorDTO
288
+ */
289
+ export interface ErrorDTO {
290
+ /**
291
+ * Error sõnum
292
+ * @type {string}
293
+ * @memberof ErrorDTO
294
+ */
295
+ 'error'?: string;
296
+ }
297
+ /**
298
+ *
299
+ * @export
300
+ * @interface ErrorDetail
301
+ */
302
+ export interface ErrorDetail {
303
+ /**
304
+ *
305
+ * @type {string}
306
+ * @memberof ErrorDetail
307
+ */
308
+ 'errorMessage'?: string;
309
+ /**
310
+ *
311
+ * @type {string}
312
+ * @memberof ErrorDetail
313
+ */
314
+ 'errorType'?: string;
315
+ }
316
+ /**
317
+ *
318
+ * @export
319
+ * @interface JurPersonDto
320
+ */
321
+ export interface JurPersonDto {
322
+ /**
323
+ * id
324
+ * @type {number}
325
+ * @memberof JurPersonDto
326
+ */
327
+ 'id'?: number;
328
+ /**
329
+ * isikukood
330
+ * @type {string}
331
+ * @memberof JurPersonDto
332
+ */
333
+ 'idCode'?: string;
334
+ /**
335
+ * eesnimi
336
+ * @type {string}
337
+ * @memberof JurPersonDto
338
+ */
339
+ 'firstName'?: string;
340
+ /**
341
+ * perenimi
342
+ * @type {string}
343
+ * @memberof JurPersonDto
344
+ */
345
+ 'familyName'?: string;
346
+ /**
347
+ * postiaadress
348
+ * @type {string}
349
+ * @memberof JurPersonDto
350
+ */
351
+ 'address'?: string;
352
+ /**
353
+ *
354
+ * @type {Date}
355
+ * @memberof JurPersonDto
356
+ */
357
+ 'dateOfBirth'?: Date;
358
+ /**
359
+ *
360
+ * @type {string}
361
+ * @memberof JurPersonDto
362
+ */
363
+ 'citizenship'?: string;
364
+ /**
365
+ * regName
366
+ * @type {string}
367
+ * @memberof JurPersonDto
368
+ */
369
+ 'regName'?: string;
370
+ /**
371
+ * registrikood
372
+ * @type {string}
373
+ * @memberof JurPersonDto
374
+ */
375
+ 'regCode'?: string;
376
+ /**
377
+ * vanad nimetus
378
+ * @type {Array<string>}
379
+ * @memberof JurPersonDto
380
+ */
381
+ 'old'?: Array<string>;
382
+ /**
383
+ *
384
+ * @type {string}
385
+ * @memberof JurPersonDto
386
+ */
387
+ 'state'?: string;
388
+ /**
389
+ *
390
+ * @type {string}
391
+ * @memberof JurPersonDto
392
+ */
393
+ 'type'?: string;
394
+ /**
395
+ *
396
+ * @type {string}
397
+ * @memberof JurPersonDto
398
+ */
399
+ 'email'?: string;
400
+ /**
401
+ * jur persons users
402
+ * @type {Array<UserDto>}
403
+ * @memberof JurPersonDto
404
+ */
405
+ 'users'?: Array<UserDto>;
406
+ /**
407
+ * jur person bank accounts
408
+ * @type {Array<BankAccountDto>}
409
+ * @memberof JurPersonDto
410
+ */
411
+ 'bankAccounts'?: Array<BankAccountDto>;
412
+ /**
413
+ *
414
+ * @type {Array<AdministrativeDivisionDto>}
415
+ * @memberof JurPersonDto
416
+ */
417
+ 'administrativeDivisions'?: Array<AdministrativeDivisionDto>;
418
+ /**
419
+ *
420
+ * @type {Array<EellaneDto>}
421
+ * @memberof JurPersonDto
422
+ */
423
+ 'lastInstitutions'?: Array<EellaneDto>;
424
+ /**
425
+ *
426
+ * @type {string}
427
+ * @memberof JurPersonDto
428
+ */
429
+ 'phoneNr'?: string;
430
+ /**
431
+ *
432
+ * @type {KlRiigidDto}
433
+ * @memberof JurPersonDto
434
+ */
435
+ 'country'?: KlRiigidDto;
436
+ /**
437
+ *
438
+ * @type {string}
439
+ * @memberof JurPersonDto
440
+ */
441
+ 'businessType'?: string;
442
+ /**
443
+ *
444
+ * @type {JurPersonDto}
445
+ * @memberof JurPersonDto
446
+ */
447
+ 'ylemyksus'?: JurPersonDto;
448
+ /**
449
+ *
450
+ * @type {Array<JurPersonDto>}
451
+ * @memberof JurPersonDto
452
+ */
453
+ 'allYksused'?: Array<JurPersonDto>;
454
+ /**
455
+ *
456
+ * @type {Date}
457
+ * @memberof JurPersonDto
458
+ */
459
+ 'algusKp'?: Date;
460
+ /**
461
+ *
462
+ * @type {Date}
463
+ * @memberof JurPersonDto
464
+ */
465
+ 'loppKp'?: Date;
466
+ /**
467
+ *
468
+ * @type {string}
469
+ * @memberof JurPersonDto
470
+ */
471
+ 'createdBy'?: string;
472
+ /**
473
+ *
474
+ * @type {Date}
475
+ * @memberof JurPersonDto
476
+ */
477
+ 'dateCreated'?: Date;
478
+ /**
479
+ *
480
+ * @type {string}
481
+ * @memberof JurPersonDto
482
+ */
483
+ 'updatedBy'?: string;
484
+ /**
485
+ *
486
+ * @type {Date}
487
+ * @memberof JurPersonDto
488
+ */
489
+ 'dateUpdated'?: Date;
490
+ }
491
+ /**
492
+ *
493
+ * @export
494
+ * @interface JurPersonSearchCriteriaDto
495
+ */
496
+ export interface JurPersonSearchCriteriaDto {
497
+ /**
498
+ *
499
+ * @type {string}
500
+ * @memberof JurPersonSearchCriteriaDto
501
+ */
502
+ 'regName'?: string;
503
+ /**
504
+ *
505
+ * @type {string}
506
+ * @memberof JurPersonSearchCriteriaDto
507
+ */
508
+ 'regCode'?: string;
509
+ /**
510
+ *
511
+ * @type {Array<number>}
512
+ * @memberof JurPersonSearchCriteriaDto
513
+ */
514
+ 'businessTypeIds'?: Array<number>;
515
+ /**
516
+ *
517
+ * @type {string}
518
+ * @memberof JurPersonSearchCriteriaDto
519
+ */
520
+ 'administrativeDivisionId'?: string;
521
+ /**
522
+ *
523
+ * @type {Date}
524
+ * @memberof JurPersonSearchCriteriaDto
525
+ */
526
+ 'validFrom'?: Date;
527
+ /**
528
+ *
529
+ * @type {string}
530
+ * @memberof JurPersonSearchCriteriaDto
531
+ */
532
+ 'validityClassifier'?: JurPersonSearchCriteriaDtoValidityClassifierEnum;
533
+ /**
534
+ *
535
+ * @type {boolean}
536
+ * @memberof JurPersonSearchCriteriaDto
537
+ */
538
+ 'showOnlyYlemyksus'?: boolean;
539
+ /**
540
+ *
541
+ * @type {boolean}
542
+ * @memberof JurPersonSearchCriteriaDto
543
+ */
544
+ 'showOnlyAllyksus'?: boolean;
545
+ /**
546
+ *
547
+ * @type {string}
548
+ * @memberof JurPersonSearchCriteriaDto
549
+ */
550
+ 'orderBy'?: JurPersonSearchCriteriaDtoOrderByEnum;
551
+ /**
552
+ *
553
+ * @type {boolean}
554
+ * @memberof JurPersonSearchCriteriaDto
555
+ */
556
+ 'ascOrder'?: boolean;
557
+ }
558
+ export declare const JurPersonSearchCriteriaDtoValidityClassifierEnum: {
559
+ readonly All: "all";
560
+ readonly Valid: "valid";
561
+ readonly Invalid: "invalid";
562
+ };
563
+ export type JurPersonSearchCriteriaDtoValidityClassifierEnum = typeof JurPersonSearchCriteriaDtoValidityClassifierEnum[keyof typeof JurPersonSearchCriteriaDtoValidityClassifierEnum];
564
+ export declare const JurPersonSearchCriteriaDtoOrderByEnum: {
565
+ readonly RegCode: "regCode";
566
+ readonly RegName: "regName";
567
+ readonly BusinessType: "businessType";
568
+ readonly Ylemyksus: "ylemyksus";
569
+ readonly BusinessStatus: "businessStatus";
570
+ };
571
+ export type JurPersonSearchCriteriaDtoOrderByEnum = typeof JurPersonSearchCriteriaDtoOrderByEnum[keyof typeof JurPersonSearchCriteriaDtoOrderByEnum];
572
+ /**
573
+ *
574
+ * @export
575
+ * @interface JurPersonSearchResultDto
576
+ */
577
+ export interface JurPersonSearchResultDto {
578
+ /**
579
+ *
580
+ * @type {number}
581
+ * @memberof JurPersonSearchResultDto
582
+ */
583
+ 'id'?: number;
584
+ /**
585
+ *
586
+ * @type {string}
587
+ * @memberof JurPersonSearchResultDto
588
+ */
589
+ 'regCode'?: string;
590
+ /**
591
+ *
592
+ * @type {string}
593
+ * @memberof JurPersonSearchResultDto
594
+ */
595
+ 'regName'?: string;
596
+ /**
597
+ *
598
+ * @type {string}
599
+ * @memberof JurPersonSearchResultDto
600
+ */
601
+ 'businessType'?: string;
602
+ /**
603
+ *
604
+ * @type {Array<AdministrativeDivisionDto>}
605
+ * @memberof JurPersonSearchResultDto
606
+ */
607
+ 'administrativeDivisions'?: Array<AdministrativeDivisionDto>;
608
+ /**
609
+ *
610
+ * @type {string}
611
+ * @memberof JurPersonSearchResultDto
612
+ */
613
+ 'ylemyksusName'?: string;
614
+ /**
615
+ *
616
+ * @type {boolean}
617
+ * @memberof JurPersonSearchResultDto
618
+ */
619
+ 'businessIsValid'?: boolean;
620
+ /**
621
+ *
622
+ * @type {number}
623
+ * @memberof JurPersonSearchResultDto
624
+ */
625
+ 'resultsCount'?: number;
626
+ }
627
+ /**
628
+ *
629
+ * @export
630
+ * @interface KlRiigidDto
631
+ */
632
+ export interface KlRiigidDto {
633
+ /**
634
+ *
635
+ * @type {string}
636
+ * @memberof KlRiigidDto
637
+ */
638
+ 'kood'?: string;
639
+ /**
640
+ *
641
+ * @type {string}
642
+ * @memberof KlRiigidDto
643
+ */
644
+ 'kood2t'?: string;
645
+ /**
646
+ *
647
+ * @type {number}
648
+ * @memberof KlRiigidDto
649
+ */
650
+ 'ehkKood'?: number;
651
+ /**
652
+ *
653
+ * @type {string}
654
+ * @memberof KlRiigidDto
655
+ */
656
+ 'nimetus'?: string;
657
+ /**
658
+ *
659
+ * @type {string}
660
+ * @memberof KlRiigidDto
661
+ */
662
+ 'markus'?: string;
663
+ /**
664
+ *
665
+ * @type {string}
666
+ * @memberof KlRiigidDto
667
+ */
668
+ 'createdBy'?: string;
669
+ /**
670
+ *
671
+ * @type {Date}
672
+ * @memberof KlRiigidDto
673
+ */
674
+ 'dateCreated'?: Date;
675
+ /**
676
+ *
677
+ * @type {string}
678
+ * @memberof KlRiigidDto
679
+ */
680
+ 'updatedBy'?: string;
681
+ /**
682
+ *
683
+ * @type {Date}
684
+ * @memberof KlRiigidDto
685
+ */
686
+ 'dateUpdated'?: Date;
687
+ }
688
+ /**
689
+ *
690
+ * @export
691
+ * @interface KutseRegMTRSearch
692
+ */
693
+ export interface KutseRegMTRSearch {
694
+ /**
695
+ *
696
+ * @type {{ [key: string]: Array<KutseregisterSearchDTO>; }}
697
+ * @memberof KutseRegMTRSearch
698
+ */
699
+ 'kutseRegisterSearchUserCompetence'?: {
700
+ [key: string]: Array<KutseregisterSearchDTO>;
701
+ };
702
+ /**
703
+ *
704
+ * @type {{ [key: string]: Array<MtrSearchDTO>; }}
705
+ * @memberof KutseRegMTRSearch
706
+ */
707
+ 'mtrSearchUserCompetence'?: {
708
+ [key: string]: Array<MtrSearchDTO>;
709
+ };
710
+ }
711
+ /**
712
+ *
713
+ * @export
714
+ * @interface KutseregisterSearchDTO
715
+ */
716
+ export interface KutseregisterSearchDTO {
717
+ /**
718
+ * id of logged in user
719
+ * @type {string}
720
+ * @memberof KutseregisterSearchDTO
721
+ */
722
+ 'registrinumber'?: string;
723
+ /**
724
+ * Isikukood of being used for searches person
725
+ * @type {string}
726
+ * @memberof KutseregisterSearchDTO
727
+ */
728
+ 'isikukood'?: string;
729
+ /**
730
+ * Name of being searches person
731
+ * @type {string}
732
+ * @memberof KutseregisterSearchDTO
733
+ */
734
+ 'nimi'?: string;
735
+ /**
736
+ * ?
737
+ * @type {string}
738
+ * @memberof KutseregisterSearchDTO
739
+ */
740
+ 'standard'?: string;
741
+ /**
742
+ * ?
743
+ * @type {string}
744
+ * @memberof KutseregisterSearchDTO
745
+ */
746
+ 'spetsialiseerumine'?: string;
747
+ /**
748
+ * ?
749
+ * @type {string}
750
+ * @memberof KutseregisterSearchDTO
751
+ */
752
+ 'kompetentsid'?: string;
753
+ /**
754
+ * ?
755
+ * @type {string}
756
+ * @memberof KutseregisterSearchDTO
757
+ */
758
+ 'osakutse'?: string;
759
+ /**
760
+ * ?
761
+ * @type {string}
762
+ * @memberof KutseregisterSearchDTO
763
+ */
764
+ 'kehtibalates'?: string;
765
+ /**
766
+ * ?
767
+ * @type {string}
768
+ * @memberof KutseregisterSearchDTO
769
+ */
770
+ 'kehtibkuni'?: string;
771
+ }
772
+ /**
773
+ *
774
+ * @export
775
+ * @interface MergeInstitutionsDTO
776
+ */
777
+ export interface MergeInstitutionsDTO {
778
+ /**
779
+ *
780
+ * @type {number}
781
+ * @memberof MergeInstitutionsDTO
782
+ */
783
+ 'ancestorId'?: number;
784
+ /**
785
+ *
786
+ * @type {number}
787
+ * @memberof MergeInstitutionsDTO
788
+ */
789
+ 'successorId'?: number;
790
+ }
791
+ /**
792
+ *
793
+ * @export
794
+ * @interface MtrSearchDTO
795
+ */
796
+ export interface MtrSearchDTO {
797
+ /**
798
+ * ?
799
+ * @type {string}
800
+ * @memberof MtrSearchDTO
801
+ */
802
+ 'kutseNr'?: string;
803
+ /**
804
+ * ?
805
+ * @type {string}
806
+ * @memberof MtrSearchDTO
807
+ */
808
+ 'standard'?: string;
809
+ /**
810
+ * ?
811
+ * @type {string}
812
+ * @memberof MtrSearchDTO
813
+ */
814
+ 'spetsialiseerumine'?: string;
815
+ /**
816
+ * ?
817
+ * @type {string}
818
+ * @memberof MtrSearchDTO
819
+ */
820
+ 'kompetentsid'?: string;
821
+ /**
822
+ * ?
823
+ * @type {string}
824
+ * @memberof MtrSearchDTO
825
+ */
826
+ 'osakutse'?: string;
827
+ /**
828
+ * ?
829
+ * @type {string}
830
+ * @memberof MtrSearchDTO
831
+ */
832
+ 'kutseKehtibAlates'?: string;
833
+ /**
834
+ * ?
835
+ * @type {string}
836
+ * @memberof MtrSearchDTO
837
+ */
838
+ 'kutseKehtibKuni'?: string;
839
+ /**
840
+ * ?
841
+ * @type {string}
842
+ * @memberof MtrSearchDTO
843
+ */
844
+ 'regkood'?: string;
845
+ /**
846
+ * ?
847
+ * @type {string}
848
+ * @memberof MtrSearchDTO
849
+ */
850
+ 'arinimi'?: string;
851
+ /**
852
+ * ?
853
+ * @type {string}
854
+ * @memberof MtrSearchDTO
855
+ */
856
+ 'tegevusala'?: string;
857
+ /**
858
+ * ?
859
+ * @type {string}
860
+ * @memberof MtrSearchDTO
861
+ */
862
+ 'number'?: string;
863
+ /**
864
+ * ?
865
+ * @type {string}
866
+ * @memberof MtrSearchDTO
867
+ */
868
+ 'liik'?: string;
869
+ /**
870
+ * ?
871
+ * @type {string}
872
+ * @memberof MtrSearchDTO
873
+ */
874
+ 'kehtivKuni'?: string;
875
+ /**
876
+ * ?
877
+ * @type {string}
878
+ * @memberof MtrSearchDTO
879
+ */
880
+ 'kehtivAlates'?: string;
881
+ /**
882
+ * ?
883
+ * @type {string}
884
+ * @memberof MtrSearchDTO
885
+ */
886
+ 'lisainfo'?: string;
887
+ /**
888
+ * ?
889
+ * @type {string}
890
+ * @memberof MtrSearchDTO
891
+ */
892
+ 'isikukood'?: string;
893
+ }
894
+ /**
895
+ *
896
+ * @export
897
+ * @interface NewActiveUserDto
898
+ */
899
+ export interface NewActiveUserDto {
900
+ /**
901
+ * uue rolli kasutaja id
902
+ * @type {number}
903
+ * @memberof NewActiveUserDto
904
+ */
905
+ 'newUserId'?: number;
906
+ /**
907
+ * Kasutaja isikukood
908
+ * @type {string}
909
+ * @memberof NewActiveUserDto
910
+ */
911
+ 'idCode'?: string;
912
+ /**
913
+ * Kasutaja riigi kood
914
+ * @type {string}
915
+ * @memberof NewActiveUserDto
916
+ */
917
+ 'country'?: string;
918
+ /**
919
+ * uue asutuse nimi
920
+ * @type {string}
921
+ * @memberof NewActiveUserDto
922
+ */
923
+ 'businessName'?: string;
924
+ /**
925
+ * uue asutuse reg kood
926
+ * @type {string}
927
+ * @memberof NewActiveUserDto
928
+ */
929
+ 'regCode'?: string;
930
+ }
931
+ /**
932
+ *
933
+ * @export
934
+ * @interface NotifiableUserDto
935
+ */
936
+ export interface NotifiableUserDto {
937
+ /**
938
+ *
939
+ * @type {PersonDto}
940
+ * @memberof NotifiableUserDto
941
+ */
942
+ 'personDto'?: PersonDto;
943
+ /**
944
+ *
945
+ * @type {UserDto}
946
+ * @memberof NotifiableUserDto
947
+ */
948
+ 'userDto'?: UserDto;
949
+ /**
950
+ *
951
+ * @type {PersonDto}
952
+ * @memberof NotifiableUserDto
953
+ */
954
+ 'institutionDto'?: PersonDto;
955
+ /**
956
+ *
957
+ * @type {boolean}
958
+ * @memberof NotifiableUserDto
959
+ */
960
+ 'sendEmail'?: boolean;
961
+ /**
962
+ *
963
+ * @type {boolean}
964
+ * @memberof NotifiableUserDto
965
+ */
966
+ 'sendNotification'?: boolean;
967
+ }
968
+ /**
969
+ *
970
+ * @export
971
+ * @interface NotificationUsersDto
972
+ */
973
+ export interface NotificationUsersDto {
974
+ /**
975
+ *
976
+ * @type {Array<number>}
977
+ * @memberof NotificationUsersDto
978
+ */
979
+ 'personIds'?: Array<number>;
980
+ /**
981
+ *
982
+ * @type {Array<number>}
983
+ * @memberof NotificationUsersDto
984
+ */
985
+ 'userIds'?: Array<number>;
986
+ /**
987
+ *
988
+ * @type {string}
989
+ * @memberof NotificationUsersDto
990
+ */
991
+ 'notificationType'?: string;
992
+ }
993
+ /**
994
+ *
995
+ * @export
996
+ * @interface PageJurPersonSearchResultDto
997
+ */
998
+ export interface PageJurPersonSearchResultDto {
999
+ /**
1000
+ *
1001
+ * @type {number}
1002
+ * @memberof PageJurPersonSearchResultDto
1003
+ */
1004
+ 'totalElements'?: number;
1005
+ /**
1006
+ *
1007
+ * @type {number}
1008
+ * @memberof PageJurPersonSearchResultDto
1009
+ */
1010
+ 'totalPages'?: number;
1011
+ /**
1012
+ *
1013
+ * @type {number}
1014
+ * @memberof PageJurPersonSearchResultDto
1015
+ */
1016
+ 'size'?: number;
1017
+ /**
1018
+ *
1019
+ * @type {Array<JurPersonSearchResultDto>}
1020
+ * @memberof PageJurPersonSearchResultDto
1021
+ */
1022
+ 'content'?: Array<JurPersonSearchResultDto>;
1023
+ /**
1024
+ *
1025
+ * @type {number}
1026
+ * @memberof PageJurPersonSearchResultDto
1027
+ */
1028
+ 'number'?: number;
1029
+ /**
1030
+ *
1031
+ * @type {Sort}
1032
+ * @memberof PageJurPersonSearchResultDto
1033
+ */
1034
+ 'sort'?: Sort;
1035
+ /**
1036
+ *
1037
+ * @type {boolean}
1038
+ * @memberof PageJurPersonSearchResultDto
1039
+ */
1040
+ 'first'?: boolean;
1041
+ /**
1042
+ *
1043
+ * @type {boolean}
1044
+ * @memberof PageJurPersonSearchResultDto
1045
+ */
1046
+ 'last'?: boolean;
1047
+ /**
1048
+ *
1049
+ * @type {number}
1050
+ * @memberof PageJurPersonSearchResultDto
1051
+ */
1052
+ 'numberOfElements'?: number;
1053
+ /**
1054
+ *
1055
+ * @type {Pageable}
1056
+ * @memberof PageJurPersonSearchResultDto
1057
+ */
1058
+ 'pageable'?: Pageable;
1059
+ /**
1060
+ *
1061
+ * @type {boolean}
1062
+ * @memberof PageJurPersonSearchResultDto
1063
+ */
1064
+ 'empty'?: boolean;
1065
+ }
1066
+ /**
1067
+ *
1068
+ * @export
1069
+ * @interface PagePersonSearchResultDto
1070
+ */
1071
+ export interface PagePersonSearchResultDto {
1072
+ /**
1073
+ *
1074
+ * @type {number}
1075
+ * @memberof PagePersonSearchResultDto
1076
+ */
1077
+ 'totalElements'?: number;
1078
+ /**
1079
+ *
1080
+ * @type {number}
1081
+ * @memberof PagePersonSearchResultDto
1082
+ */
1083
+ 'totalPages'?: number;
1084
+ /**
1085
+ *
1086
+ * @type {number}
1087
+ * @memberof PagePersonSearchResultDto
1088
+ */
1089
+ 'size'?: number;
1090
+ /**
1091
+ *
1092
+ * @type {Array<PersonSearchResultDto>}
1093
+ * @memberof PagePersonSearchResultDto
1094
+ */
1095
+ 'content'?: Array<PersonSearchResultDto>;
1096
+ /**
1097
+ *
1098
+ * @type {number}
1099
+ * @memberof PagePersonSearchResultDto
1100
+ */
1101
+ 'number'?: number;
1102
+ /**
1103
+ *
1104
+ * @type {Sort}
1105
+ * @memberof PagePersonSearchResultDto
1106
+ */
1107
+ 'sort'?: Sort;
1108
+ /**
1109
+ *
1110
+ * @type {boolean}
1111
+ * @memberof PagePersonSearchResultDto
1112
+ */
1113
+ 'first'?: boolean;
1114
+ /**
1115
+ *
1116
+ * @type {boolean}
1117
+ * @memberof PagePersonSearchResultDto
1118
+ */
1119
+ 'last'?: boolean;
1120
+ /**
1121
+ *
1122
+ * @type {number}
1123
+ * @memberof PagePersonSearchResultDto
1124
+ */
1125
+ 'numberOfElements'?: number;
1126
+ /**
1127
+ *
1128
+ * @type {Pageable}
1129
+ * @memberof PagePersonSearchResultDto
1130
+ */
1131
+ 'pageable'?: Pageable;
1132
+ /**
1133
+ *
1134
+ * @type {boolean}
1135
+ * @memberof PagePersonSearchResultDto
1136
+ */
1137
+ 'empty'?: boolean;
1138
+ }
1139
+ /**
1140
+ *
1141
+ * @export
1142
+ * @interface Pageable
1143
+ */
1144
+ export interface Pageable {
1145
+ /**
1146
+ *
1147
+ * @type {number}
1148
+ * @memberof Pageable
1149
+ */
1150
+ 'page': number;
1151
+ /**
1152
+ *
1153
+ * @type {number}
1154
+ * @memberof Pageable
1155
+ */
1156
+ 'size': number;
1157
+ /**
1158
+ *
1159
+ * @type {Array<string>}
1160
+ * @memberof Pageable
1161
+ */
1162
+ 'sort'?: Array<string>;
1163
+ }
1164
+ /**
1165
+ *
1166
+ * @export
1167
+ * @interface PeopleDto
1168
+ */
1169
+ export interface PeopleDto {
1170
+ /**
1171
+ *
1172
+ * @type {Array<PersonDto>}
1173
+ * @memberof PeopleDto
1174
+ */
1175
+ 'people'?: Array<PersonDto>;
1176
+ }
1177
+ /**
1178
+ *
1179
+ * @export
1180
+ * @interface PersonDetailDto
1181
+ */
1182
+ export interface PersonDetailDto {
1183
+ /**
1184
+ *
1185
+ * @type {number}
1186
+ * @memberof PersonDetailDto
1187
+ */
1188
+ 'id'?: number;
1189
+ /**
1190
+ *
1191
+ * @type {string}
1192
+ * @memberof PersonDetailDto
1193
+ */
1194
+ 'idCode'?: string;
1195
+ /**
1196
+ *
1197
+ * @type {string}
1198
+ * @memberof PersonDetailDto
1199
+ */
1200
+ 'firstName'?: string;
1201
+ /**
1202
+ *
1203
+ * @type {string}
1204
+ * @memberof PersonDetailDto
1205
+ */
1206
+ 'lastName'?: string;
1207
+ /**
1208
+ *
1209
+ * @type {PersonDetailUserDto}
1210
+ * @memberof PersonDetailDto
1211
+ */
1212
+ 'activeRole'?: PersonDetailUserDto;
1213
+ /**
1214
+ *
1215
+ * @type {Array<PersonDetailUserDto>}
1216
+ * @memberof PersonDetailDto
1217
+ */
1218
+ 'businessUsers'?: Array<PersonDetailUserDto>;
1219
+ }
1220
+ /**
1221
+ *
1222
+ * @export
1223
+ * @interface PersonDetailUserDto
1224
+ */
1225
+ export interface PersonDetailUserDto {
1226
+ /**
1227
+ *
1228
+ * @type {number}
1229
+ * @memberof PersonDetailUserDto
1230
+ */
1231
+ 'id'?: number;
1232
+ /**
1233
+ *
1234
+ * @type {string}
1235
+ * @memberof PersonDetailUserDto
1236
+ */
1237
+ 'businessName'?: string;
1238
+ /**
1239
+ *
1240
+ * @type {string}
1241
+ * @memberof PersonDetailUserDto
1242
+ */
1243
+ 'businessType'?: string;
1244
+ /**
1245
+ *
1246
+ * @type {string}
1247
+ * @memberof PersonDetailUserDto
1248
+ */
1249
+ 'regCode'?: string;
1250
+ }
1251
+ /**
1252
+ *
1253
+ * @export
1254
+ * @interface PersonDto
1255
+ */
1256
+ export interface PersonDto {
1257
+ /**
1258
+ * id
1259
+ * @type {number}
1260
+ * @memberof PersonDto
1261
+ */
1262
+ 'id'?: number;
1263
+ /**
1264
+ * isikukood
1265
+ * @type {string}
1266
+ * @memberof PersonDto
1267
+ */
1268
+ 'idCode'?: string;
1269
+ /**
1270
+ * eesnimi
1271
+ * @type {string}
1272
+ * @memberof PersonDto
1273
+ */
1274
+ 'firstName'?: string;
1275
+ /**
1276
+ * perenimi
1277
+ * @type {string}
1278
+ * @memberof PersonDto
1279
+ */
1280
+ 'familyName'?: string;
1281
+ /**
1282
+ * postiaadress
1283
+ * @type {string}
1284
+ * @memberof PersonDto
1285
+ */
1286
+ 'address'?: string;
1287
+ /**
1288
+ *
1289
+ * @type {Date}
1290
+ * @memberof PersonDto
1291
+ */
1292
+ 'dateOfBirth'?: Date;
1293
+ /**
1294
+ *
1295
+ * @type {string}
1296
+ * @memberof PersonDto
1297
+ */
1298
+ 'citizenship'?: string;
1299
+ /**
1300
+ *
1301
+ * @type {KlRiigidDto}
1302
+ * @memberof PersonDto
1303
+ */
1304
+ 'country'?: KlRiigidDto;
1305
+ /**
1306
+ * regName
1307
+ * @type {string}
1308
+ * @memberof PersonDto
1309
+ */
1310
+ 'regName'?: string;
1311
+ /**
1312
+ * registrikood
1313
+ * @type {string}
1314
+ * @memberof PersonDto
1315
+ */
1316
+ 'regCode'?: string;
1317
+ /**
1318
+ * vanad nimetus
1319
+ * @type {Array<string>}
1320
+ * @memberof PersonDto
1321
+ */
1322
+ 'old'?: Array<string>;
1323
+ /**
1324
+ *
1325
+ * @type {string}
1326
+ * @memberof PersonDto
1327
+ */
1328
+ 'state'?: string;
1329
+ /**
1330
+ *
1331
+ * @type {string}
1332
+ * @memberof PersonDto
1333
+ */
1334
+ 'type'?: string;
1335
+ /**
1336
+ *
1337
+ * @type {string}
1338
+ * @memberof PersonDto
1339
+ */
1340
+ 'typeName'?: string;
1341
+ /**
1342
+ *
1343
+ * @type {string}
1344
+ * @memberof PersonDto
1345
+ */
1346
+ 'email'?: string;
1347
+ /**
1348
+ *
1349
+ * @type {string}
1350
+ * @memberof PersonDto
1351
+ */
1352
+ 'phoneNr'?: string;
1353
+ /**
1354
+ *
1355
+ * @type {number}
1356
+ * @memberof PersonDto
1357
+ */
1358
+ 'defaultUserJurId'?: number;
1359
+ /**
1360
+ * jur person bank accounts
1361
+ * @type {Array<BankAccountDto>}
1362
+ * @memberof PersonDto
1363
+ */
1364
+ 'bankAccounts'?: Array<BankAccountDto>;
1365
+ /**
1366
+ *
1367
+ * @type {Array<AdministrativeDivisionDto>}
1368
+ * @memberof PersonDto
1369
+ */
1370
+ 'administrativeDivisions'?: Array<AdministrativeDivisionDto>;
1371
+ /**
1372
+ *
1373
+ * @type {Date}
1374
+ * @memberof PersonDto
1375
+ */
1376
+ 'algusKp'?: Date;
1377
+ /**
1378
+ *
1379
+ * @type {Date}
1380
+ * @memberof PersonDto
1381
+ */
1382
+ 'loppKp'?: Date;
1383
+ }
1384
+ /**
1385
+ *
1386
+ * @export
1387
+ * @interface PersonSearchCriteriaDto
1388
+ */
1389
+ export interface PersonSearchCriteriaDto {
1390
+ /**
1391
+ *
1392
+ * @type {string}
1393
+ * @memberof PersonSearchCriteriaDto
1394
+ */
1395
+ 'idCode'?: string;
1396
+ /**
1397
+ *
1398
+ * @type {string}
1399
+ * @memberof PersonSearchCriteriaDto
1400
+ */
1401
+ 'firstName'?: string;
1402
+ /**
1403
+ *
1404
+ * @type {string}
1405
+ * @memberof PersonSearchCriteriaDto
1406
+ */
1407
+ 'lastName'?: string;
1408
+ /**
1409
+ *
1410
+ * @type {string}
1411
+ * @memberof PersonSearchCriteriaDto
1412
+ */
1413
+ 'orderBy'?: PersonSearchCriteriaDtoOrderByEnum;
1414
+ /**
1415
+ *
1416
+ * @type {boolean}
1417
+ * @memberof PersonSearchCriteriaDto
1418
+ */
1419
+ 'ascOrder'?: boolean;
1420
+ }
1421
+ export declare const PersonSearchCriteriaDtoOrderByEnum: {
1422
+ readonly IdCode: "idCode";
1423
+ readonly FirstName: "firstName";
1424
+ readonly LastName: "lastName";
1425
+ };
1426
+ export type PersonSearchCriteriaDtoOrderByEnum = typeof PersonSearchCriteriaDtoOrderByEnum[keyof typeof PersonSearchCriteriaDtoOrderByEnum];
1427
+ /**
1428
+ *
1429
+ * @export
1430
+ * @interface PersonSearchResultDto
1431
+ */
1432
+ export interface PersonSearchResultDto {
1433
+ /**
1434
+ *
1435
+ * @type {number}
1436
+ * @memberof PersonSearchResultDto
1437
+ */
1438
+ 'id'?: number;
1439
+ /**
1440
+ *
1441
+ * @type {string}
1442
+ * @memberof PersonSearchResultDto
1443
+ */
1444
+ 'idCode'?: string;
1445
+ /**
1446
+ *
1447
+ * @type {string}
1448
+ * @memberof PersonSearchResultDto
1449
+ */
1450
+ 'firstName'?: string;
1451
+ /**
1452
+ *
1453
+ * @type {string}
1454
+ * @memberof PersonSearchResultDto
1455
+ */
1456
+ 'lastName'?: string;
1457
+ /**
1458
+ *
1459
+ * @type {number}
1460
+ * @memberof PersonSearchResultDto
1461
+ */
1462
+ 'resultCount'?: number;
1463
+ }
1464
+ /**
1465
+ *
1466
+ * @export
1467
+ * @interface Sort
1468
+ */
1469
+ export interface Sort {
1470
+ /**
1471
+ *
1472
+ * @type {boolean}
1473
+ * @memberof Sort
1474
+ */
1475
+ 'empty'?: boolean;
1476
+ /**
1477
+ *
1478
+ * @type {boolean}
1479
+ * @memberof Sort
1480
+ */
1481
+ 'sorted'?: boolean;
1482
+ /**
1483
+ *
1484
+ * @type {boolean}
1485
+ * @memberof Sort
1486
+ */
1487
+ 'unsorted'?: boolean;
1488
+ }
1489
+ /**
1490
+ *
1491
+ * @export
1492
+ * @interface UserAndRoleDto
1493
+ */
1494
+ export interface UserAndRoleDto {
1495
+ /**
1496
+ *
1497
+ * @type {number}
1498
+ * @memberof UserAndRoleDto
1499
+ */
1500
+ 'userRoleRelId'?: number;
1501
+ /**
1502
+ *
1503
+ * @type {number}
1504
+ * @memberof UserAndRoleDto
1505
+ */
1506
+ 'userId'?: number;
1507
+ /**
1508
+ *
1509
+ * @type {number}
1510
+ * @memberof UserAndRoleDto
1511
+ */
1512
+ 'roleId'?: number;
1513
+ /**
1514
+ *
1515
+ * @type {string}
1516
+ * @memberof UserAndRoleDto
1517
+ */
1518
+ 'userFullName'?: string;
1519
+ /**
1520
+ *
1521
+ * @type {number}
1522
+ * @memberof UserAndRoleDto
1523
+ */
1524
+ 'institutionId'?: number;
1525
+ /**
1526
+ *
1527
+ * @type {string}
1528
+ * @memberof UserAndRoleDto
1529
+ */
1530
+ 'institution'?: string;
1531
+ /**
1532
+ *
1533
+ * @type {Date}
1534
+ * @memberof UserAndRoleDto
1535
+ */
1536
+ 'ruleValidFrom'?: Date;
1537
+ /**
1538
+ *
1539
+ * @type {Date}
1540
+ * @memberof UserAndRoleDto
1541
+ */
1542
+ 'ruleValidUntil'?: Date;
1543
+ }
1544
+ /**
1545
+ *
1546
+ * @export
1547
+ * @interface UserDto
1548
+ */
1549
+ export interface UserDto {
1550
+ /**
1551
+ *
1552
+ * @type {number}
1553
+ * @memberof UserDto
1554
+ */
1555
+ 'id'?: number;
1556
+ /**
1557
+ * akIsik person id for new user
1558
+ * @type {number}
1559
+ * @memberof UserDto
1560
+ */
1561
+ 'personId'?: number;
1562
+ /**
1563
+ * akIsik business id for new user
1564
+ * @type {number}
1565
+ * @memberof UserDto
1566
+ */
1567
+ 'businessId'?: number;
1568
+ /**
1569
+ * idCode
1570
+ * @type {string}
1571
+ * @memberof UserDto
1572
+ */
1573
+ 'personalCode'?: string;
1574
+ /**
1575
+ * first name
1576
+ * @type {string}
1577
+ * @memberof UserDto
1578
+ */
1579
+ 'firstName'?: string;
1580
+ /**
1581
+ * last name
1582
+ * @type {string}
1583
+ * @memberof UserDto
1584
+ */
1585
+ 'lastName'?: string;
1586
+ /**
1587
+ * email
1588
+ * @type {string}
1589
+ * @memberof UserDto
1590
+ */
1591
+ 'email'?: string;
1592
+ /**
1593
+ * simple text address
1594
+ * @type {string}
1595
+ * @memberof UserDto
1596
+ */
1597
+ 'address'?: string;
1598
+ /**
1599
+ * phone number
1600
+ * @type {string}
1601
+ * @memberof UserDto
1602
+ */
1603
+ 'phoneNr'?: string;
1604
+ /**
1605
+ * profession name at business, descriptive
1606
+ * @type {string}
1607
+ * @memberof UserDto
1608
+ */
1609
+ 'profession'?: string;
1610
+ /**
1611
+ * country code
1612
+ * @type {string}
1613
+ * @memberof UserDto
1614
+ */
1615
+ 'country'?: string;
1616
+ /**
1617
+ * users roles in institution
1618
+ * @type {Array<UserRoleDto>}
1619
+ * @memberof UserDto
1620
+ */
1621
+ 'roles'?: Array<UserRoleDto>;
1622
+ /**
1623
+ * users valid until date
1624
+ * @type {Date}
1625
+ * @memberof UserDto
1626
+ */
1627
+ 'userValidUntil'?: Date;
1628
+ /**
1629
+ * users valid from date
1630
+ * @type {Date}
1631
+ * @memberof UserDto
1632
+ */
1633
+ 'userValidFrom'?: Date;
1634
+ /**
1635
+ *
1636
+ * @type {PersonDto}
1637
+ * @memberof UserDto
1638
+ */
1639
+ 'jurPerson'?: PersonDto;
1640
+ /**
1641
+ * who created the user
1642
+ * @type {string}
1643
+ * @memberof UserDto
1644
+ */
1645
+ 'createdBy'?: string;
1646
+ /**
1647
+ * users created date
1648
+ * @type {Date}
1649
+ * @memberof UserDto
1650
+ */
1651
+ 'dateCreated'?: Date;
1652
+ /**
1653
+ * who updated the user
1654
+ * @type {string}
1655
+ * @memberof UserDto
1656
+ */
1657
+ 'updatedBy'?: string;
1658
+ /**
1659
+ * user last updated date
1660
+ * @type {Date}
1661
+ * @memberof UserDto
1662
+ */
1663
+ 'dateUpdated'?: Date;
1664
+ /**
1665
+ * users last login date
1666
+ * @type {Date}
1667
+ * @memberof UserDto
1668
+ */
1669
+ 'lastLogin'?: Date;
1670
+ }
1671
+ /**
1672
+ *
1673
+ * @export
1674
+ * @interface UserInfo
1675
+ */
1676
+ export interface UserInfo {
1677
+ /**
1678
+ *
1679
+ * @type {number}
1680
+ * @memberof UserInfo
1681
+ */
1682
+ 'personId'?: number;
1683
+ /**
1684
+ *
1685
+ * @type {string}
1686
+ * @memberof UserInfo
1687
+ */
1688
+ 'firstName'?: string;
1689
+ /**
1690
+ *
1691
+ * @type {string}
1692
+ * @memberof UserInfo
1693
+ */
1694
+ 'lastName'?: string;
1695
+ /**
1696
+ *
1697
+ * @type {string}
1698
+ * @memberof UserInfo
1699
+ */
1700
+ 'personalCode'?: string;
1701
+ /**
1702
+ *
1703
+ * @type {Array<UserKeycloakRole>}
1704
+ * @memberof UserInfo
1705
+ */
1706
+ 'roles'?: Array<UserKeycloakRole>;
1707
+ /**
1708
+ *
1709
+ * @type {Array<string>}
1710
+ * @memberof UserInfo
1711
+ */
1712
+ 'privileges'?: Array<string>;
1713
+ /**
1714
+ *
1715
+ * @type {UserKeycloakRole}
1716
+ * @memberof UserInfo
1717
+ */
1718
+ 'activeRole'?: UserKeycloakRole;
1719
+ }
1720
+ /**
1721
+ *
1722
+ * @export
1723
+ * @interface UserKeycloakRole
1724
+ */
1725
+ export interface UserKeycloakRole {
1726
+ /**
1727
+ *
1728
+ * @type {number}
1729
+ * @memberof UserKeycloakRole
1730
+ */
1731
+ 'userId'?: number;
1732
+ /**
1733
+ *
1734
+ * @type {string}
1735
+ * @memberof UserKeycloakRole
1736
+ */
1737
+ 'businessName'?: string;
1738
+ /**
1739
+ *
1740
+ * @type {string}
1741
+ * @memberof UserKeycloakRole
1742
+ */
1743
+ 'businessType'?: string;
1744
+ /**
1745
+ *
1746
+ * @type {string}
1747
+ * @memberof UserKeycloakRole
1748
+ */
1749
+ 'regCode'?: string;
1750
+ /**
1751
+ *
1752
+ * @type {number}
1753
+ * @memberof UserKeycloakRole
1754
+ */
1755
+ 'businessId'?: number;
1756
+ /**
1757
+ *
1758
+ * @type {number}
1759
+ * @memberof UserKeycloakRole
1760
+ */
1761
+ 'ouserId'?: number;
1762
+ }
1763
+ /**
1764
+ *
1765
+ * @export
1766
+ * @interface UserNotificationSettingsDto
1767
+ */
1768
+ export interface UserNotificationSettingsDto {
1769
+ /**
1770
+ *
1771
+ * @type {number}
1772
+ * @memberof UserNotificationSettingsDto
1773
+ */
1774
+ 'id'?: number;
1775
+ /**
1776
+ *
1777
+ * @type {number}
1778
+ * @memberof UserNotificationSettingsDto
1779
+ */
1780
+ 'user'?: number;
1781
+ /**
1782
+ *
1783
+ * @type {string}
1784
+ * @memberof UserNotificationSettingsDto
1785
+ */
1786
+ 'notificationType'?: string;
1787
+ /**
1788
+ *
1789
+ * @type {string}
1790
+ * @memberof UserNotificationSettingsDto
1791
+ */
1792
+ 'notificationName'?: string;
1793
+ /**
1794
+ *
1795
+ * @type {string}
1796
+ * @memberof UserNotificationSettingsDto
1797
+ */
1798
+ 'notificationTypeDescription'?: string;
1799
+ /**
1800
+ *
1801
+ * @type {boolean}
1802
+ * @memberof UserNotificationSettingsDto
1803
+ */
1804
+ 'sendNotification'?: boolean;
1805
+ /**
1806
+ *
1807
+ * @type {boolean}
1808
+ * @memberof UserNotificationSettingsDto
1809
+ */
1810
+ 'enabledNotification'?: boolean;
1811
+ /**
1812
+ *
1813
+ * @type {boolean}
1814
+ * @memberof UserNotificationSettingsDto
1815
+ */
1816
+ 'sendEmail'?: boolean;
1817
+ /**
1818
+ *
1819
+ * @type {boolean}
1820
+ * @memberof UserNotificationSettingsDto
1821
+ */
1822
+ 'enabledEmail'?: boolean;
1823
+ /**
1824
+ *
1825
+ * @type {Date}
1826
+ * @memberof UserNotificationSettingsDto
1827
+ */
1828
+ 'dateCreated'?: Date;
1829
+ /**
1830
+ *
1831
+ * @type {string}
1832
+ * @memberof UserNotificationSettingsDto
1833
+ */
1834
+ 'createdBy'?: string;
1835
+ }
1836
+ /**
1837
+ *
1838
+ * @export
1839
+ * @interface UserPossiblePorceedingSupervisorDto
1840
+ */
1841
+ export interface UserPossiblePorceedingSupervisorDto {
1842
+ /**
1843
+ *
1844
+ * @type {number}
1845
+ * @memberof UserPossiblePorceedingSupervisorDto
1846
+ */
1847
+ 'id'?: number;
1848
+ /**
1849
+ *
1850
+ * @type {string}
1851
+ * @memberof UserPossiblePorceedingSupervisorDto
1852
+ */
1853
+ 'idCode'?: string;
1854
+ /**
1855
+ *
1856
+ * @type {string}
1857
+ * @memberof UserPossiblePorceedingSupervisorDto
1858
+ */
1859
+ 'userName'?: string;
1860
+ /**
1861
+ *
1862
+ * @type {string}
1863
+ * @memberof UserPossiblePorceedingSupervisorDto
1864
+ */
1865
+ 'firstName'?: string;
1866
+ /**
1867
+ *
1868
+ * @type {string}
1869
+ * @memberof UserPossiblePorceedingSupervisorDto
1870
+ */
1871
+ 'lastName'?: string;
1872
+ /**
1873
+ *
1874
+ * @type {string}
1875
+ * @memberof UserPossiblePorceedingSupervisorDto
1876
+ */
1877
+ 'businessName'?: string;
1878
+ /**
1879
+ *
1880
+ * @type {number}
1881
+ * @memberof UserPossiblePorceedingSupervisorDto
1882
+ */
1883
+ 'personId'?: number;
1884
+ /**
1885
+ *
1886
+ * @type {number}
1887
+ * @memberof UserPossiblePorceedingSupervisorDto
1888
+ */
1889
+ 'businessId'?: number;
1890
+ }
1891
+ /**
1892
+ *
1893
+ * @export
1894
+ * @interface UserProfileDto
1895
+ */
1896
+ export interface UserProfileDto {
1897
+ /**
1898
+ *
1899
+ * @type {number}
1900
+ * @memberof UserProfileDto
1901
+ */
1902
+ 'id'?: number;
1903
+ /**
1904
+ * email
1905
+ * @type {string}
1906
+ * @memberof UserProfileDto
1907
+ */
1908
+ 'email'?: string;
1909
+ /**
1910
+ * simple text address
1911
+ * @type {string}
1912
+ * @memberof UserProfileDto
1913
+ */
1914
+ 'address'?: string;
1915
+ /**
1916
+ * phone number
1917
+ * @type {string}
1918
+ * @memberof UserProfileDto
1919
+ */
1920
+ 'phoneNr'?: string;
1921
+ /**
1922
+ * profession name at business, descriptive
1923
+ * @type {string}
1924
+ * @memberof UserProfileDto
1925
+ */
1926
+ 'profession'?: string;
1927
+ }
1928
+ /**
1929
+ * users roles in institution
1930
+ * @export
1931
+ * @interface UserRoleDto
1932
+ */
1933
+ export interface UserRoleDto {
1934
+ /**
1935
+ *
1936
+ * @type {number}
1937
+ * @memberof UserRoleDto
1938
+ */
1939
+ 'id'?: number;
1940
+ /**
1941
+ *
1942
+ * @type {string}
1943
+ * @memberof UserRoleDto
1944
+ */
1945
+ 'name'?: string;
1946
+ /**
1947
+ *
1948
+ * @type {string}
1949
+ * @memberof UserRoleDto
1950
+ */
1951
+ 'code'?: string;
1952
+ /**
1953
+ *
1954
+ * @type {Date}
1955
+ * @memberof UserRoleDto
1956
+ */
1957
+ 'validFrom'?: Date;
1958
+ /**
1959
+ *
1960
+ * @type {Date}
1961
+ * @memberof UserRoleDto
1962
+ */
1963
+ 'validUntil'?: Date;
1964
+ }
1965
+ /**
1966
+ *
1967
+ * @export
1968
+ * @interface UserRoleModificationDataDto
1969
+ */
1970
+ export interface UserRoleModificationDataDto {
1971
+ /**
1972
+ *
1973
+ * @type {number}
1974
+ * @memberof UserRoleModificationDataDto
1975
+ */
1976
+ 'userId'?: number;
1977
+ /**
1978
+ *
1979
+ * @type {number}
1980
+ * @memberof UserRoleModificationDataDto
1981
+ */
1982
+ 'roleId'?: number;
1983
+ /**
1984
+ *
1985
+ * @type {number}
1986
+ * @memberof UserRoleModificationDataDto
1987
+ */
1988
+ 'userRoleRelId'?: number;
1989
+ /**
1990
+ *
1991
+ * @type {Date}
1992
+ * @memberof UserRoleModificationDataDto
1993
+ */
1994
+ 'ruleValidFrom'?: Date;
1995
+ /**
1996
+ *
1997
+ * @type {Date}
1998
+ * @memberof UserRoleModificationDataDto
1999
+ */
2000
+ 'ruleValidUntil'?: Date;
2001
+ }
2002
+ /**
2003
+ *
2004
+ * @export
2005
+ * @interface UserSubstituteDto
2006
+ */
2007
+ export interface UserSubstituteDto {
2008
+ /**
2009
+ *
2010
+ * @type {number}
2011
+ * @memberof UserSubstituteDto
2012
+ */
2013
+ 'previousUserId'?: number;
2014
+ /**
2015
+ *
2016
+ * @type {number}
2017
+ * @memberof UserSubstituteDto
2018
+ */
2019
+ 'substituteUserId'?: number;
2020
+ }
2021
+ /**
2022
+ * AdministrativeDivisionEndpointApi - axios parameter creator
2023
+ * @export
2024
+ */
2025
+ export declare const AdministrativeDivisionEndpointApiAxiosParamCreator: (configuration?: Configuration) => {
2026
+ /**
2027
+ *
2028
+ * @param {*} [options] Override http request option.
2029
+ * @throws {RequiredError}
2030
+ */
2031
+ getAllAdministrativeDivisionsAndCounties: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
2032
+ };
2033
+ /**
2034
+ * AdministrativeDivisionEndpointApi - functional programming interface
2035
+ * @export
2036
+ */
2037
+ export declare const AdministrativeDivisionEndpointApiFp: (configuration?: Configuration) => {
2038
+ /**
2039
+ *
2040
+ * @param {*} [options] Override http request option.
2041
+ * @throws {RequiredError}
2042
+ */
2043
+ getAllAdministrativeDivisionsAndCounties(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AdministrativeDivisionDto>>>;
2044
+ };
2045
+ /**
2046
+ * AdministrativeDivisionEndpointApi - factory interface
2047
+ * @export
2048
+ */
2049
+ export declare const AdministrativeDivisionEndpointApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2050
+ /**
2051
+ *
2052
+ * @param {*} [options] Override http request option.
2053
+ * @throws {RequiredError}
2054
+ */
2055
+ getAllAdministrativeDivisionsAndCounties(options?: any): AxiosPromise<Array<AdministrativeDivisionDto>>;
2056
+ };
2057
+ /**
2058
+ * AdministrativeDivisionEndpointApi - object-oriented interface
2059
+ * @export
2060
+ * @class AdministrativeDivisionEndpointApi
2061
+ * @extends {BaseAPI}
2062
+ */
2063
+ export declare class AdministrativeDivisionEndpointApi extends BaseAPI {
2064
+ /**
2065
+ *
2066
+ * @param {*} [options] Override http request option.
2067
+ * @throws {RequiredError}
2068
+ * @memberof AdministrativeDivisionEndpointApi
2069
+ */
2070
+ getAllAdministrativeDivisionsAndCounties(options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<AdministrativeDivisionDto[], any>>;
2071
+ }
2072
+ /**
2073
+ * AkIsikDokLubaControllerApi - axios parameter creator
2074
+ * @export
2075
+ */
2076
+ export declare const AkIsikDokLubaControllerApiAxiosParamCreator: (configuration?: Configuration) => {
2077
+ /**
2078
+ *
2079
+ * @summary Isiku välisriigis omandatud kutsekvalifikatsioonide tunnustamised
2080
+ * @param {number} personId Isiku ID
2081
+ * @param {*} [options] Override http request option.
2082
+ * @throws {RequiredError}
2083
+ */
2084
+ findAkKasutajaDokLuba: (personId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2085
+ /**
2086
+ *
2087
+ * @summary Isiku välisriigis omandatud kutsekvalifikatsiooni tunnustamiste andmete salvestamine
2088
+ * @param {number} personId Isiku ID
2089
+ * @param {AkIsikDokLubaDto} [akIsikDokLubaDto] Kutsekvalifikatsioon tunnustamise andmed
2090
+ * @param {*} [options] Override http request option.
2091
+ * @throws {RequiredError}
2092
+ */
2093
+ saveAkKasutajaDokLuba: (personId: number, akIsikDokLubaDto?: AkIsikDokLubaDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2094
+ };
2095
+ /**
2096
+ * AkIsikDokLubaControllerApi - functional programming interface
2097
+ * @export
2098
+ */
2099
+ export declare const AkIsikDokLubaControllerApiFp: (configuration?: Configuration) => {
2100
+ /**
2101
+ *
2102
+ * @summary Isiku välisriigis omandatud kutsekvalifikatsioonide tunnustamised
2103
+ * @param {number} personId Isiku ID
2104
+ * @param {*} [options] Override http request option.
2105
+ * @throws {RequiredError}
2106
+ */
2107
+ findAkKasutajaDokLuba(personId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AkIsikDokLubaDto>>>;
2108
+ /**
2109
+ *
2110
+ * @summary Isiku välisriigis omandatud kutsekvalifikatsiooni tunnustamiste andmete salvestamine
2111
+ * @param {number} personId Isiku ID
2112
+ * @param {AkIsikDokLubaDto} [akIsikDokLubaDto] Kutsekvalifikatsioon tunnustamise andmed
2113
+ * @param {*} [options] Override http request option.
2114
+ * @throws {RequiredError}
2115
+ */
2116
+ saveAkKasutajaDokLuba(personId: number, akIsikDokLubaDto?: AkIsikDokLubaDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AkIsikDokLubaDto>>>;
2117
+ };
2118
+ /**
2119
+ * AkIsikDokLubaControllerApi - factory interface
2120
+ * @export
2121
+ */
2122
+ export declare const AkIsikDokLubaControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2123
+ /**
2124
+ *
2125
+ * @summary Isiku välisriigis omandatud kutsekvalifikatsioonide tunnustamised
2126
+ * @param {number} personId Isiku ID
2127
+ * @param {*} [options] Override http request option.
2128
+ * @throws {RequiredError}
2129
+ */
2130
+ findAkKasutajaDokLuba(personId: number, options?: any): AxiosPromise<Array<AkIsikDokLubaDto>>;
2131
+ /**
2132
+ *
2133
+ * @summary Isiku välisriigis omandatud kutsekvalifikatsiooni tunnustamiste andmete salvestamine
2134
+ * @param {number} personId Isiku ID
2135
+ * @param {AkIsikDokLubaDto} [akIsikDokLubaDto] Kutsekvalifikatsioon tunnustamise andmed
2136
+ * @param {*} [options] Override http request option.
2137
+ * @throws {RequiredError}
2138
+ */
2139
+ saveAkKasutajaDokLuba(personId: number, akIsikDokLubaDto?: AkIsikDokLubaDto, options?: any): AxiosPromise<Array<AkIsikDokLubaDto>>;
2140
+ };
2141
+ /**
2142
+ * AkIsikDokLubaControllerApi - object-oriented interface
2143
+ * @export
2144
+ * @class AkIsikDokLubaControllerApi
2145
+ * @extends {BaseAPI}
2146
+ */
2147
+ export declare class AkIsikDokLubaControllerApi extends BaseAPI {
2148
+ /**
2149
+ *
2150
+ * @summary Isiku välisriigis omandatud kutsekvalifikatsioonide tunnustamised
2151
+ * @param {number} personId Isiku ID
2152
+ * @param {*} [options] Override http request option.
2153
+ * @throws {RequiredError}
2154
+ * @memberof AkIsikDokLubaControllerApi
2155
+ */
2156
+ findAkKasutajaDokLuba(personId: number, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<AkIsikDokLubaDto[], any>>;
2157
+ /**
2158
+ *
2159
+ * @summary Isiku välisriigis omandatud kutsekvalifikatsiooni tunnustamiste andmete salvestamine
2160
+ * @param {number} personId Isiku ID
2161
+ * @param {AkIsikDokLubaDto} [akIsikDokLubaDto] Kutsekvalifikatsioon tunnustamise andmed
2162
+ * @param {*} [options] Override http request option.
2163
+ * @throws {RequiredError}
2164
+ * @memberof AkIsikDokLubaControllerApi
2165
+ */
2166
+ saveAkKasutajaDokLuba(personId: number, akIsikDokLubaDto?: AkIsikDokLubaDto, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<AkIsikDokLubaDto[], any>>;
2167
+ }
2168
+ /**
2169
+ * ArPringApi - axios parameter creator
2170
+ * @export
2171
+ */
2172
+ export declare const ArPringApiAxiosParamCreator: (configuration?: Configuration) => {
2173
+ /**
2174
+ * Tagastab nime järgi juriidilise isiku baasist
2175
+ * @summary ar päring - nimetuse järgi baasist
2176
+ * @param {string} name nimetus
2177
+ * @param {*} [options] Override http request option.
2178
+ * @throws {RequiredError}
2179
+ */
2180
+ findByDbName: (name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2181
+ };
2182
+ /**
2183
+ * ArPringApi - functional programming interface
2184
+ * @export
2185
+ */
2186
+ export declare const ArPringApiFp: (configuration?: Configuration) => {
2187
+ /**
2188
+ * Tagastab nime järgi juriidilise isiku baasist
2189
+ * @summary ar päring - nimetuse järgi baasist
2190
+ * @param {string} name nimetus
2191
+ * @param {*} [options] Override http request option.
2192
+ * @throws {RequiredError}
2193
+ */
2194
+ findByDbName(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PeopleDto>>;
2195
+ };
2196
+ /**
2197
+ * ArPringApi - factory interface
2198
+ * @export
2199
+ */
2200
+ export declare const ArPringApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2201
+ /**
2202
+ * Tagastab nime järgi juriidilise isiku baasist
2203
+ * @summary ar päring - nimetuse järgi baasist
2204
+ * @param {string} name nimetus
2205
+ * @param {*} [options] Override http request option.
2206
+ * @throws {RequiredError}
2207
+ */
2208
+ findByDbName(name: string, options?: any): AxiosPromise<PeopleDto>;
2209
+ };
2210
+ /**
2211
+ * ArPringApi - object-oriented interface
2212
+ * @export
2213
+ * @class ArPringApi
2214
+ * @extends {BaseAPI}
2215
+ */
2216
+ export declare class ArPringApi extends BaseAPI {
2217
+ /**
2218
+ * Tagastab nime järgi juriidilise isiku baasist
2219
+ * @summary ar päring - nimetuse järgi baasist
2220
+ * @param {string} name nimetus
2221
+ * @param {*} [options] Override http request option.
2222
+ * @throws {RequiredError}
2223
+ * @memberof ArPringApi
2224
+ */
2225
+ findByDbName(name: string, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PeopleDto, any>>;
2226
+ }
2227
+ /**
2228
+ * ArPringudApi - axios parameter creator
2229
+ * @export
2230
+ */
2231
+ export declare const ArPringudApiAxiosParamCreator: (configuration?: Configuration) => {
2232
+ /**
2233
+ * Tagastab nime järgi juriidilise isiku ar registrist
2234
+ * @summary ar päring - nimetuse järgi AR registrist
2235
+ * @param {string} name nimetus
2236
+ * @param {*} [options] Override http request option.
2237
+ * @throws {RequiredError}
2238
+ */
2239
+ findByArName: (name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2240
+ /**
2241
+ * Tagastab registrikoodi järgi juriidilise isiku ar registrist
2242
+ * @summary ar päring - registrikoodi järgi
2243
+ * @param {string} regcode registrikood
2244
+ * @param {*} [options] Override http request option.
2245
+ * @throws {RequiredError}
2246
+ */
2247
+ findByArRegCode: (regcode: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2248
+ /**
2249
+ * Tagastab registrikoodi järgi juriidilise isiku ar registrist
2250
+ * @summary ar päring - registrikoodi järgi
2251
+ * @param {string} regcode registrikood
2252
+ * @param {*} [options] Override http request option.
2253
+ * @throws {RequiredError}
2254
+ */
2255
+ findByArRegCodeDetail: (regcode: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2256
+ };
2257
+ /**
2258
+ * ArPringudApi - functional programming interface
2259
+ * @export
2260
+ */
2261
+ export declare const ArPringudApiFp: (configuration?: Configuration) => {
2262
+ /**
2263
+ * Tagastab nime järgi juriidilise isiku ar registrist
2264
+ * @summary ar päring - nimetuse järgi AR registrist
2265
+ * @param {string} name nimetus
2266
+ * @param {*} [options] Override http request option.
2267
+ * @throws {RequiredError}
2268
+ */
2269
+ findByArName(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PeopleDto>>;
2270
+ /**
2271
+ * Tagastab registrikoodi järgi juriidilise isiku ar registrist
2272
+ * @summary ar päring - registrikoodi järgi
2273
+ * @param {string} regcode registrikood
2274
+ * @param {*} [options] Override http request option.
2275
+ * @throws {RequiredError}
2276
+ */
2277
+ findByArRegCode(regcode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PeopleDto>>;
2278
+ /**
2279
+ * Tagastab registrikoodi järgi juriidilise isiku ar registrist
2280
+ * @summary ar päring - registrikoodi järgi
2281
+ * @param {string} regcode registrikood
2282
+ * @param {*} [options] Override http request option.
2283
+ * @throws {RequiredError}
2284
+ */
2285
+ findByArRegCodeDetail(regcode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PeopleDto>>;
2286
+ };
2287
+ /**
2288
+ * ArPringudApi - factory interface
2289
+ * @export
2290
+ */
2291
+ export declare const ArPringudApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2292
+ /**
2293
+ * Tagastab nime järgi juriidilise isiku ar registrist
2294
+ * @summary ar päring - nimetuse järgi AR registrist
2295
+ * @param {string} name nimetus
2296
+ * @param {*} [options] Override http request option.
2297
+ * @throws {RequiredError}
2298
+ */
2299
+ findByArName(name: string, options?: any): AxiosPromise<PeopleDto>;
2300
+ /**
2301
+ * Tagastab registrikoodi järgi juriidilise isiku ar registrist
2302
+ * @summary ar päring - registrikoodi järgi
2303
+ * @param {string} regcode registrikood
2304
+ * @param {*} [options] Override http request option.
2305
+ * @throws {RequiredError}
2306
+ */
2307
+ findByArRegCode(regcode: string, options?: any): AxiosPromise<PeopleDto>;
2308
+ /**
2309
+ * Tagastab registrikoodi järgi juriidilise isiku ar registrist
2310
+ * @summary ar päring - registrikoodi järgi
2311
+ * @param {string} regcode registrikood
2312
+ * @param {*} [options] Override http request option.
2313
+ * @throws {RequiredError}
2314
+ */
2315
+ findByArRegCodeDetail(regcode: string, options?: any): AxiosPromise<PeopleDto>;
2316
+ };
2317
+ /**
2318
+ * ArPringudApi - object-oriented interface
2319
+ * @export
2320
+ * @class ArPringudApi
2321
+ * @extends {BaseAPI}
2322
+ */
2323
+ export declare class ArPringudApi extends BaseAPI {
2324
+ /**
2325
+ * Tagastab nime järgi juriidilise isiku ar registrist
2326
+ * @summary ar päring - nimetuse järgi AR registrist
2327
+ * @param {string} name nimetus
2328
+ * @param {*} [options] Override http request option.
2329
+ * @throws {RequiredError}
2330
+ * @memberof ArPringudApi
2331
+ */
2332
+ findByArName(name: string, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PeopleDto, any>>;
2333
+ /**
2334
+ * Tagastab registrikoodi järgi juriidilise isiku ar registrist
2335
+ * @summary ar päring - registrikoodi järgi
2336
+ * @param {string} regcode registrikood
2337
+ * @param {*} [options] Override http request option.
2338
+ * @throws {RequiredError}
2339
+ * @memberof ArPringudApi
2340
+ */
2341
+ findByArRegCode(regcode: string, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PeopleDto, any>>;
2342
+ /**
2343
+ * Tagastab registrikoodi järgi juriidilise isiku ar registrist
2344
+ * @summary ar päring - registrikoodi järgi
2345
+ * @param {string} regcode registrikood
2346
+ * @param {*} [options] Override http request option.
2347
+ * @throws {RequiredError}
2348
+ * @memberof ArPringudApi
2349
+ */
2350
+ findByArRegCodeDetail(regcode: string, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PeopleDto, any>>;
2351
+ }
2352
+ /**
2353
+ * AuthHandlerEndpointApi - axios parameter creator
2354
+ * @export
2355
+ */
2356
+ export declare const AuthHandlerEndpointApiAxiosParamCreator: (configuration?: Configuration) => {
2357
+ /**
2358
+ *
2359
+ * @param {string} idCode isikukood
2360
+ * @param {string} givenName eesnimi
2361
+ * @param {string} familyName perekonnanimi
2362
+ * @param {string} token token
2363
+ * @param {*} [options] Override http request option.
2364
+ * @throws {RequiredError}
2365
+ */
2366
+ getUserInfo: (idCode: string, givenName: string, familyName: string, token: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2367
+ /**
2368
+ * Teenuse kasutamiseks on võimalik kasutada kas newUserId väärtust, mis on uue kasutaja rolli ak_kasutaja.id. Selle puudumisel on võimalik kasutada kasutaja otsimiseks isikukoodi ja riigikoodi ning asutusenime ja registrikoodi kombinatsiooni. Teenus uuendabSSO lahenduses(Keycloak) kasutaja andmed aktiivse rolliga ning peale seda on võimalik keycloakist küsida uut tokenit aktiivse rolliga. -------------------------------------------------------------------------------- EN: There are two ways to update user active role. First way is to use newUserId which is the persons new ak_kasutaja.id to be updated to. The second possibility is to use a combination of idCode and country code with the new business registration name and registration code. This can be used if the new users id is not known. After update the new tokens have to be requested from keycloak to get the new information. -------------------------------------------------------------------------------- Praegusel hetkel see teenus tokeneid ise ei tagasta. Vajadusel saab need täiendusena lisada. Samuti saab praeguse tagastatava info asemel tagastada ainult tokenid, kui need väärtused ei näe kastust.
2369
+ * @summary Uuenda isiku aktiivsed andmed Keycloakis(Update user active role in Keycloak(SSO))
2370
+ * @param {NewActiveUserDto} [newActiveUserDto] Uue aktiivse isiku andmed
2371
+ * @param {*} [options] Override http request option.
2372
+ * @throws {RequiredError}
2373
+ */
2374
+ updateActiveUser: (newActiveUserDto?: NewActiveUserDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2375
+ /**
2376
+ *
2377
+ * @param {string} idCode isikukood
2378
+ * @param {string} token token
2379
+ * @param {*} [options] Override http request option.
2380
+ * @throws {RequiredError}
2381
+ */
2382
+ updateUserRoles: (idCode: string, token: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2383
+ };
2384
+ /**
2385
+ * AuthHandlerEndpointApi - functional programming interface
2386
+ * @export
2387
+ */
2388
+ export declare const AuthHandlerEndpointApiFp: (configuration?: Configuration) => {
2389
+ /**
2390
+ *
2391
+ * @param {string} idCode isikukood
2392
+ * @param {string} givenName eesnimi
2393
+ * @param {string} familyName perekonnanimi
2394
+ * @param {string} token token
2395
+ * @param {*} [options] Override http request option.
2396
+ * @throws {RequiredError}
2397
+ */
2398
+ getUserInfo(idCode: string, givenName: string, familyName: string, token: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserInfo>>;
2399
+ /**
2400
+ * Teenuse kasutamiseks on võimalik kasutada kas newUserId väärtust, mis on uue kasutaja rolli ak_kasutaja.id. Selle puudumisel on võimalik kasutada kasutaja otsimiseks isikukoodi ja riigikoodi ning asutusenime ja registrikoodi kombinatsiooni. Teenus uuendabSSO lahenduses(Keycloak) kasutaja andmed aktiivse rolliga ning peale seda on võimalik keycloakist küsida uut tokenit aktiivse rolliga. -------------------------------------------------------------------------------- EN: There are two ways to update user active role. First way is to use newUserId which is the persons new ak_kasutaja.id to be updated to. The second possibility is to use a combination of idCode and country code with the new business registration name and registration code. This can be used if the new users id is not known. After update the new tokens have to be requested from keycloak to get the new information. -------------------------------------------------------------------------------- Praegusel hetkel see teenus tokeneid ise ei tagasta. Vajadusel saab need täiendusena lisada. Samuti saab praeguse tagastatava info asemel tagastada ainult tokenid, kui need väärtused ei näe kastust.
2401
+ * @summary Uuenda isiku aktiivsed andmed Keycloakis(Update user active role in Keycloak(SSO))
2402
+ * @param {NewActiveUserDto} [newActiveUserDto] Uue aktiivse isiku andmed
2403
+ * @param {*} [options] Override http request option.
2404
+ * @throws {RequiredError}
2405
+ */
2406
+ updateActiveUser(newActiveUserDto?: NewActiveUserDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PersonDetailDto>>;
2407
+ /**
2408
+ *
2409
+ * @param {string} idCode isikukood
2410
+ * @param {string} token token
2411
+ * @param {*} [options] Override http request option.
2412
+ * @throws {RequiredError}
2413
+ */
2414
+ updateUserRoles(idCode: string, token: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2415
+ };
2416
+ /**
2417
+ * AuthHandlerEndpointApi - factory interface
2418
+ * @export
2419
+ */
2420
+ export declare const AuthHandlerEndpointApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2421
+ /**
2422
+ *
2423
+ * @param {string} idCode isikukood
2424
+ * @param {string} givenName eesnimi
2425
+ * @param {string} familyName perekonnanimi
2426
+ * @param {string} token token
2427
+ * @param {*} [options] Override http request option.
2428
+ * @throws {RequiredError}
2429
+ */
2430
+ getUserInfo(idCode: string, givenName: string, familyName: string, token: string, options?: any): AxiosPromise<UserInfo>;
2431
+ /**
2432
+ * Teenuse kasutamiseks on võimalik kasutada kas newUserId väärtust, mis on uue kasutaja rolli ak_kasutaja.id. Selle puudumisel on võimalik kasutada kasutaja otsimiseks isikukoodi ja riigikoodi ning asutusenime ja registrikoodi kombinatsiooni. Teenus uuendabSSO lahenduses(Keycloak) kasutaja andmed aktiivse rolliga ning peale seda on võimalik keycloakist küsida uut tokenit aktiivse rolliga. -------------------------------------------------------------------------------- EN: There are two ways to update user active role. First way is to use newUserId which is the persons new ak_kasutaja.id to be updated to. The second possibility is to use a combination of idCode and country code with the new business registration name and registration code. This can be used if the new users id is not known. After update the new tokens have to be requested from keycloak to get the new information. -------------------------------------------------------------------------------- Praegusel hetkel see teenus tokeneid ise ei tagasta. Vajadusel saab need täiendusena lisada. Samuti saab praeguse tagastatava info asemel tagastada ainult tokenid, kui need väärtused ei näe kastust.
2433
+ * @summary Uuenda isiku aktiivsed andmed Keycloakis(Update user active role in Keycloak(SSO))
2434
+ * @param {NewActiveUserDto} [newActiveUserDto] Uue aktiivse isiku andmed
2435
+ * @param {*} [options] Override http request option.
2436
+ * @throws {RequiredError}
2437
+ */
2438
+ updateActiveUser(newActiveUserDto?: NewActiveUserDto, options?: any): AxiosPromise<PersonDetailDto>;
2439
+ /**
2440
+ *
2441
+ * @param {string} idCode isikukood
2442
+ * @param {string} token token
2443
+ * @param {*} [options] Override http request option.
2444
+ * @throws {RequiredError}
2445
+ */
2446
+ updateUserRoles(idCode: string, token: string, options?: any): AxiosPromise<void>;
2447
+ };
2448
+ /**
2449
+ * AuthHandlerEndpointApi - object-oriented interface
2450
+ * @export
2451
+ * @class AuthHandlerEndpointApi
2452
+ * @extends {BaseAPI}
2453
+ */
2454
+ export declare class AuthHandlerEndpointApi extends BaseAPI {
2455
+ /**
2456
+ *
2457
+ * @param {string} idCode isikukood
2458
+ * @param {string} givenName eesnimi
2459
+ * @param {string} familyName perekonnanimi
2460
+ * @param {string} token token
2461
+ * @param {*} [options] Override http request option.
2462
+ * @throws {RequiredError}
2463
+ * @memberof AuthHandlerEndpointApi
2464
+ */
2465
+ getUserInfo(idCode: string, givenName: string, familyName: string, token: string, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserInfo, any>>;
2466
+ /**
2467
+ * Teenuse kasutamiseks on võimalik kasutada kas newUserId väärtust, mis on uue kasutaja rolli ak_kasutaja.id. Selle puudumisel on võimalik kasutada kasutaja otsimiseks isikukoodi ja riigikoodi ning asutusenime ja registrikoodi kombinatsiooni. Teenus uuendabSSO lahenduses(Keycloak) kasutaja andmed aktiivse rolliga ning peale seda on võimalik keycloakist küsida uut tokenit aktiivse rolliga. -------------------------------------------------------------------------------- EN: There are two ways to update user active role. First way is to use newUserId which is the persons new ak_kasutaja.id to be updated to. The second possibility is to use a combination of idCode and country code with the new business registration name and registration code. This can be used if the new users id is not known. After update the new tokens have to be requested from keycloak to get the new information. -------------------------------------------------------------------------------- Praegusel hetkel see teenus tokeneid ise ei tagasta. Vajadusel saab need täiendusena lisada. Samuti saab praeguse tagastatava info asemel tagastada ainult tokenid, kui need väärtused ei näe kastust.
2468
+ * @summary Uuenda isiku aktiivsed andmed Keycloakis(Update user active role in Keycloak(SSO))
2469
+ * @param {NewActiveUserDto} [newActiveUserDto] Uue aktiivse isiku andmed
2470
+ * @param {*} [options] Override http request option.
2471
+ * @throws {RequiredError}
2472
+ * @memberof AuthHandlerEndpointApi
2473
+ */
2474
+ updateActiveUser(newActiveUserDto?: NewActiveUserDto, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PersonDetailDto, any>>;
2475
+ /**
2476
+ *
2477
+ * @param {string} idCode isikukood
2478
+ * @param {string} token token
2479
+ * @param {*} [options] Override http request option.
2480
+ * @throws {RequiredError}
2481
+ * @memberof AuthHandlerEndpointApi
2482
+ */
2483
+ updateUserRoles(idCode: string, token: string, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any>>;
2484
+ }
2485
+ /**
2486
+ * InstitutionKovEndpointApi - axios parameter creator
2487
+ * @export
2488
+ */
2489
+ export declare const InstitutionKovEndpointApiAxiosParamCreator: (configuration?: Configuration) => {
2490
+ /**
2491
+ *
2492
+ * @summary get KOV jur person(AkIsik) list
2493
+ * @param {*} [options] Override http request option.
2494
+ * @throws {RequiredError}
2495
+ */
2496
+ getJurKovPersons: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
2497
+ /**
2498
+ * Retrieve JurPerson coordination jur rels by jur person Id
2499
+ * @summary get jur person(AkIsik)
2500
+ * @param {number} personId
2501
+ * @param {*} [options] Override http request option.
2502
+ * @throws {RequiredError}
2503
+ */
2504
+ getJurPersonCoordRelJurs: (personId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2505
+ /**
2506
+ *
2507
+ * @summary Kõik selle asutuse võimalikud menetlejad EHAK koodi järgi
2508
+ * @param {string} eHAKCode
2509
+ * @param {*} [options] Override http request option.
2510
+ * @throws {RequiredError}
2511
+ */
2512
+ getUserPossibleProceedingSupervisorsByEHAKCode: (eHAKCode: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2513
+ /**
2514
+ *
2515
+ * @summary Kõik selle asutuse võimalikud menetlejad person_id juriidilise isiku e. ak_isik.id järgi
2516
+ * @param {string} id
2517
+ * @param {string} eHAKCode
2518
+ * @param {*} [options] Override http request option.
2519
+ * @throws {RequiredError}
2520
+ */
2521
+ getUserPossibleProceedingSupervisorsByIdAndEHAKCode: (id: string, eHAKCode: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2522
+ /**
2523
+ *
2524
+ * @summary Kõik selle asutuse võimalikud menetlejad person_id juriidilise isiku e. ak_isik.id järgi
2525
+ * @param {number} personId
2526
+ * @param {*} [options] Override http request option.
2527
+ * @throws {RequiredError}
2528
+ */
2529
+ getUserPossibleProceedingSupervisorsByJurId: (personId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2530
+ };
2531
+ /**
2532
+ * InstitutionKovEndpointApi - functional programming interface
2533
+ * @export
2534
+ */
2535
+ export declare const InstitutionKovEndpointApiFp: (configuration?: Configuration) => {
2536
+ /**
2537
+ *
2538
+ * @summary get KOV jur person(AkIsik) list
2539
+ * @param {*} [options] Override http request option.
2540
+ * @throws {RequiredError}
2541
+ */
2542
+ getJurKovPersons(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<JurPersonDto>>>;
2543
+ /**
2544
+ * Retrieve JurPerson coordination jur rels by jur person Id
2545
+ * @summary get jur person(AkIsik)
2546
+ * @param {number} personId
2547
+ * @param {*} [options] Override http request option.
2548
+ * @throws {RequiredError}
2549
+ */
2550
+ getJurPersonCoordRelJurs(personId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<JurPersonDto>>>;
2551
+ /**
2552
+ *
2553
+ * @summary Kõik selle asutuse võimalikud menetlejad EHAK koodi järgi
2554
+ * @param {string} eHAKCode
2555
+ * @param {*} [options] Override http request option.
2556
+ * @throws {RequiredError}
2557
+ */
2558
+ getUserPossibleProceedingSupervisorsByEHAKCode(eHAKCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserPossiblePorceedingSupervisorDto>>>;
2559
+ /**
2560
+ *
2561
+ * @summary Kõik selle asutuse võimalikud menetlejad person_id juriidilise isiku e. ak_isik.id järgi
2562
+ * @param {string} id
2563
+ * @param {string} eHAKCode
2564
+ * @param {*} [options] Override http request option.
2565
+ * @throws {RequiredError}
2566
+ */
2567
+ getUserPossibleProceedingSupervisorsByIdAndEHAKCode(id: string, eHAKCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserPossiblePorceedingSupervisorDto>>>;
2568
+ /**
2569
+ *
2570
+ * @summary Kõik selle asutuse võimalikud menetlejad person_id juriidilise isiku e. ak_isik.id järgi
2571
+ * @param {number} personId
2572
+ * @param {*} [options] Override http request option.
2573
+ * @throws {RequiredError}
2574
+ */
2575
+ getUserPossibleProceedingSupervisorsByJurId(personId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserPossiblePorceedingSupervisorDto>>>;
2576
+ };
2577
+ /**
2578
+ * InstitutionKovEndpointApi - factory interface
2579
+ * @export
2580
+ */
2581
+ export declare const InstitutionKovEndpointApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2582
+ /**
2583
+ *
2584
+ * @summary get KOV jur person(AkIsik) list
2585
+ * @param {*} [options] Override http request option.
2586
+ * @throws {RequiredError}
2587
+ */
2588
+ getJurKovPersons(options?: any): AxiosPromise<Array<JurPersonDto>>;
2589
+ /**
2590
+ * Retrieve JurPerson coordination jur rels by jur person Id
2591
+ * @summary get jur person(AkIsik)
2592
+ * @param {number} personId
2593
+ * @param {*} [options] Override http request option.
2594
+ * @throws {RequiredError}
2595
+ */
2596
+ getJurPersonCoordRelJurs(personId: number, options?: any): AxiosPromise<Array<JurPersonDto>>;
2597
+ /**
2598
+ *
2599
+ * @summary Kõik selle asutuse võimalikud menetlejad EHAK koodi järgi
2600
+ * @param {string} eHAKCode
2601
+ * @param {*} [options] Override http request option.
2602
+ * @throws {RequiredError}
2603
+ */
2604
+ getUserPossibleProceedingSupervisorsByEHAKCode(eHAKCode: string, options?: any): AxiosPromise<Array<UserPossiblePorceedingSupervisorDto>>;
2605
+ /**
2606
+ *
2607
+ * @summary Kõik selle asutuse võimalikud menetlejad person_id juriidilise isiku e. ak_isik.id järgi
2608
+ * @param {string} id
2609
+ * @param {string} eHAKCode
2610
+ * @param {*} [options] Override http request option.
2611
+ * @throws {RequiredError}
2612
+ */
2613
+ getUserPossibleProceedingSupervisorsByIdAndEHAKCode(id: string, eHAKCode: string, options?: any): AxiosPromise<Array<UserPossiblePorceedingSupervisorDto>>;
2614
+ /**
2615
+ *
2616
+ * @summary Kõik selle asutuse võimalikud menetlejad person_id juriidilise isiku e. ak_isik.id järgi
2617
+ * @param {number} personId
2618
+ * @param {*} [options] Override http request option.
2619
+ * @throws {RequiredError}
2620
+ */
2621
+ getUserPossibleProceedingSupervisorsByJurId(personId: number, options?: any): AxiosPromise<Array<UserPossiblePorceedingSupervisorDto>>;
2622
+ };
2623
+ /**
2624
+ * InstitutionKovEndpointApi - object-oriented interface
2625
+ * @export
2626
+ * @class InstitutionKovEndpointApi
2627
+ * @extends {BaseAPI}
2628
+ */
2629
+ export declare class InstitutionKovEndpointApi extends BaseAPI {
2630
+ /**
2631
+ *
2632
+ * @summary get KOV jur person(AkIsik) list
2633
+ * @param {*} [options] Override http request option.
2634
+ * @throws {RequiredError}
2635
+ * @memberof InstitutionKovEndpointApi
2636
+ */
2637
+ getJurKovPersons(options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<JurPersonDto[], any>>;
2638
+ /**
2639
+ * Retrieve JurPerson coordination jur rels by jur person Id
2640
+ * @summary get jur person(AkIsik)
2641
+ * @param {number} personId
2642
+ * @param {*} [options] Override http request option.
2643
+ * @throws {RequiredError}
2644
+ * @memberof InstitutionKovEndpointApi
2645
+ */
2646
+ getJurPersonCoordRelJurs(personId: number, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<JurPersonDto[], any>>;
2647
+ /**
2648
+ *
2649
+ * @summary Kõik selle asutuse võimalikud menetlejad EHAK koodi järgi
2650
+ * @param {string} eHAKCode
2651
+ * @param {*} [options] Override http request option.
2652
+ * @throws {RequiredError}
2653
+ * @memberof InstitutionKovEndpointApi
2654
+ */
2655
+ getUserPossibleProceedingSupervisorsByEHAKCode(eHAKCode: string, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserPossiblePorceedingSupervisorDto[], any>>;
2656
+ /**
2657
+ *
2658
+ * @summary Kõik selle asutuse võimalikud menetlejad person_id juriidilise isiku e. ak_isik.id järgi
2659
+ * @param {string} id
2660
+ * @param {string} eHAKCode
2661
+ * @param {*} [options] Override http request option.
2662
+ * @throws {RequiredError}
2663
+ * @memberof InstitutionKovEndpointApi
2664
+ */
2665
+ getUserPossibleProceedingSupervisorsByIdAndEHAKCode(id: string, eHAKCode: string, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserPossiblePorceedingSupervisorDto[], any>>;
2666
+ /**
2667
+ *
2668
+ * @summary Kõik selle asutuse võimalikud menetlejad person_id juriidilise isiku e. ak_isik.id järgi
2669
+ * @param {number} personId
2670
+ * @param {*} [options] Override http request option.
2671
+ * @throws {RequiredError}
2672
+ * @memberof InstitutionKovEndpointApi
2673
+ */
2674
+ getUserPossibleProceedingSupervisorsByJurId(personId: number, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserPossiblePorceedingSupervisorDto[], any>>;
2675
+ }
2676
+ /**
2677
+ * InstitutionMergeEndpointApi - axios parameter creator
2678
+ * @export
2679
+ */
2680
+ export declare const InstitutionMergeEndpointApiAxiosParamCreator: (configuration?: Configuration) => {
2681
+ /**
2682
+ *
2683
+ * @summary Merge institutions
2684
+ * @param {MergeInstitutionsDTO} [mergeInstitutionsDTO]
2685
+ * @param {*} [options] Override http request option.
2686
+ * @throws {RequiredError}
2687
+ */
2688
+ mergeInstitutions: (mergeInstitutionsDTO?: MergeInstitutionsDTO, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2689
+ };
2690
+ /**
2691
+ * InstitutionMergeEndpointApi - functional programming interface
2692
+ * @export
2693
+ */
2694
+ export declare const InstitutionMergeEndpointApiFp: (configuration?: Configuration) => {
2695
+ /**
2696
+ *
2697
+ * @summary Merge institutions
2698
+ * @param {MergeInstitutionsDTO} [mergeInstitutionsDTO]
2699
+ * @param {*} [options] Override http request option.
2700
+ * @throws {RequiredError}
2701
+ */
2702
+ mergeInstitutions(mergeInstitutionsDTO?: MergeInstitutionsDTO, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
2703
+ };
2704
+ /**
2705
+ * InstitutionMergeEndpointApi - factory interface
2706
+ * @export
2707
+ */
2708
+ export declare const InstitutionMergeEndpointApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2709
+ /**
2710
+ *
2711
+ * @summary Merge institutions
2712
+ * @param {MergeInstitutionsDTO} [mergeInstitutionsDTO]
2713
+ * @param {*} [options] Override http request option.
2714
+ * @throws {RequiredError}
2715
+ */
2716
+ mergeInstitutions(mergeInstitutionsDTO?: MergeInstitutionsDTO, options?: any): AxiosPromise<string>;
2717
+ };
2718
+ /**
2719
+ * InstitutionMergeEndpointApi - object-oriented interface
2720
+ * @export
2721
+ * @class InstitutionMergeEndpointApi
2722
+ * @extends {BaseAPI}
2723
+ */
2724
+ export declare class InstitutionMergeEndpointApi extends BaseAPI {
2725
+ /**
2726
+ *
2727
+ * @summary Merge institutions
2728
+ * @param {MergeInstitutionsDTO} [mergeInstitutionsDTO]
2729
+ * @param {*} [options] Override http request option.
2730
+ * @throws {RequiredError}
2731
+ * @memberof InstitutionMergeEndpointApi
2732
+ */
2733
+ mergeInstitutions(mergeInstitutionsDTO?: MergeInstitutionsDTO, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<string, any>>;
2734
+ }
2735
+ /**
2736
+ * MtrKutseregisterSearchApiEndpointApi - axios parameter creator
2737
+ * @export
2738
+ */
2739
+ export declare const MtrKutseregisterSearchApiEndpointApiAxiosParamCreator: (configuration?: Configuration) => {
2740
+ /**
2741
+ * This is a description
2742
+ * @summary Search for person competence from mtr and kutseregister
2743
+ * @param {string} searchField Personal identificator/name to kutseregister/MRT
2744
+ * @param {boolean} privatePerson Physical/Private person
2745
+ * @param {*} [options] Override http request option.
2746
+ * @throws {RequiredError}
2747
+ */
2748
+ getKutseRegMRTSearchData: (searchField: string, privatePerson: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2749
+ };
2750
+ /**
2751
+ * MtrKutseregisterSearchApiEndpointApi - functional programming interface
2752
+ * @export
2753
+ */
2754
+ export declare const MtrKutseregisterSearchApiEndpointApiFp: (configuration?: Configuration) => {
2755
+ /**
2756
+ * This is a description
2757
+ * @summary Search for person competence from mtr and kutseregister
2758
+ * @param {string} searchField Personal identificator/name to kutseregister/MRT
2759
+ * @param {boolean} privatePerson Physical/Private person
2760
+ * @param {*} [options] Override http request option.
2761
+ * @throws {RequiredError}
2762
+ */
2763
+ getKutseRegMRTSearchData(searchField: string, privatePerson: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KutseRegMTRSearch>>;
2764
+ };
2765
+ /**
2766
+ * MtrKutseregisterSearchApiEndpointApi - factory interface
2767
+ * @export
2768
+ */
2769
+ export declare const MtrKutseregisterSearchApiEndpointApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2770
+ /**
2771
+ * This is a description
2772
+ * @summary Search for person competence from mtr and kutseregister
2773
+ * @param {string} searchField Personal identificator/name to kutseregister/MRT
2774
+ * @param {boolean} privatePerson Physical/Private person
2775
+ * @param {*} [options] Override http request option.
2776
+ * @throws {RequiredError}
2777
+ */
2778
+ getKutseRegMRTSearchData(searchField: string, privatePerson: boolean, options?: any): AxiosPromise<KutseRegMTRSearch>;
2779
+ };
2780
+ /**
2781
+ * MtrKutseregisterSearchApiEndpointApi - object-oriented interface
2782
+ * @export
2783
+ * @class MtrKutseregisterSearchApiEndpointApi
2784
+ * @extends {BaseAPI}
2785
+ */
2786
+ export declare class MtrKutseregisterSearchApiEndpointApi extends BaseAPI {
2787
+ /**
2788
+ * This is a description
2789
+ * @summary Search for person competence from mtr and kutseregister
2790
+ * @param {string} searchField Personal identificator/name to kutseregister/MRT
2791
+ * @param {boolean} privatePerson Physical/Private person
2792
+ * @param {*} [options] Override http request option.
2793
+ * @throws {RequiredError}
2794
+ * @memberof MtrKutseregisterSearchApiEndpointApi
2795
+ */
2796
+ getKutseRegMRTSearchData(searchField: string, privatePerson: boolean, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<KutseRegMTRSearch, any>>;
2797
+ }
2798
+ /**
2799
+ * NotificationSettingsApiEndpointApi - axios parameter creator
2800
+ * @export
2801
+ */
2802
+ export declare const NotificationSettingsApiEndpointApiAxiosParamCreator: (configuration?: Configuration) => {
2803
+ /**
2804
+ *
2805
+ * @summary run user settings generation for all active users
2806
+ * @param {*} [options] Override http request option.
2807
+ * @throws {RequiredError}
2808
+ */
2809
+ generateMissingUserNotificationSettingsForAllActiveUsers: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
2810
+ /**
2811
+ *
2812
+ * @summary get user notifications settings userId
2813
+ * @param {number} userId
2814
+ * @param {*} [options] Override http request option.
2815
+ * @throws {RequiredError}
2816
+ */
2817
+ getUserNotificationsSettingsByUserId: (userId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2818
+ /**
2819
+ *
2820
+ * @summary save user notifications settings
2821
+ * @param {UserNotificationSettingsDto} [userNotificationSettingsDto]
2822
+ * @param {*} [options] Override http request option.
2823
+ * @throws {RequiredError}
2824
+ */
2825
+ saveUserNotificationsSettings: (userNotificationSettingsDto?: UserNotificationSettingsDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2826
+ /**
2827
+ *
2828
+ * @summary update user notifications settings
2829
+ * @param {number} id
2830
+ * @param {UserNotificationSettingsDto} [userNotificationSettingsDto]
2831
+ * @param {*} [options] Override http request option.
2832
+ * @throws {RequiredError}
2833
+ */
2834
+ updateUserNotificationsSetting: (id: number, userNotificationSettingsDto?: UserNotificationSettingsDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2835
+ /**
2836
+ *
2837
+ * @summary update all user notifications settings
2838
+ * @param {Array<UserNotificationSettingsDto>} [userNotificationSettingsDto]
2839
+ * @param {*} [options] Override http request option.
2840
+ * @throws {RequiredError}
2841
+ */
2842
+ updateUserNotificationsSettings: (userNotificationSettingsDto?: Array<UserNotificationSettingsDto>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2843
+ };
2844
+ /**
2845
+ * NotificationSettingsApiEndpointApi - functional programming interface
2846
+ * @export
2847
+ */
2848
+ export declare const NotificationSettingsApiEndpointApiFp: (configuration?: Configuration) => {
2849
+ /**
2850
+ *
2851
+ * @summary run user settings generation for all active users
2852
+ * @param {*} [options] Override http request option.
2853
+ * @throws {RequiredError}
2854
+ */
2855
+ generateMissingUserNotificationSettingsForAllActiveUsers(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2856
+ /**
2857
+ *
2858
+ * @summary get user notifications settings userId
2859
+ * @param {number} userId
2860
+ * @param {*} [options] Override http request option.
2861
+ * @throws {RequiredError}
2862
+ */
2863
+ getUserNotificationsSettingsByUserId(userId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserNotificationSettingsDto>>>;
2864
+ /**
2865
+ *
2866
+ * @summary save user notifications settings
2867
+ * @param {UserNotificationSettingsDto} [userNotificationSettingsDto]
2868
+ * @param {*} [options] Override http request option.
2869
+ * @throws {RequiredError}
2870
+ */
2871
+ saveUserNotificationsSettings(userNotificationSettingsDto?: UserNotificationSettingsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserNotificationSettingsDto>>;
2872
+ /**
2873
+ *
2874
+ * @summary update user notifications settings
2875
+ * @param {number} id
2876
+ * @param {UserNotificationSettingsDto} [userNotificationSettingsDto]
2877
+ * @param {*} [options] Override http request option.
2878
+ * @throws {RequiredError}
2879
+ */
2880
+ updateUserNotificationsSetting(id: number, userNotificationSettingsDto?: UserNotificationSettingsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserNotificationSettingsDto>>;
2881
+ /**
2882
+ *
2883
+ * @summary update all user notifications settings
2884
+ * @param {Array<UserNotificationSettingsDto>} [userNotificationSettingsDto]
2885
+ * @param {*} [options] Override http request option.
2886
+ * @throws {RequiredError}
2887
+ */
2888
+ updateUserNotificationsSettings(userNotificationSettingsDto?: Array<UserNotificationSettingsDto>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserNotificationSettingsDto>>>;
2889
+ };
2890
+ /**
2891
+ * NotificationSettingsApiEndpointApi - factory interface
2892
+ * @export
2893
+ */
2894
+ export declare const NotificationSettingsApiEndpointApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2895
+ /**
2896
+ *
2897
+ * @summary run user settings generation for all active users
2898
+ * @param {*} [options] Override http request option.
2899
+ * @throws {RequiredError}
2900
+ */
2901
+ generateMissingUserNotificationSettingsForAllActiveUsers(options?: any): AxiosPromise<void>;
2902
+ /**
2903
+ *
2904
+ * @summary get user notifications settings userId
2905
+ * @param {number} userId
2906
+ * @param {*} [options] Override http request option.
2907
+ * @throws {RequiredError}
2908
+ */
2909
+ getUserNotificationsSettingsByUserId(userId: number, options?: any): AxiosPromise<Array<UserNotificationSettingsDto>>;
2910
+ /**
2911
+ *
2912
+ * @summary save user notifications settings
2913
+ * @param {UserNotificationSettingsDto} [userNotificationSettingsDto]
2914
+ * @param {*} [options] Override http request option.
2915
+ * @throws {RequiredError}
2916
+ */
2917
+ saveUserNotificationsSettings(userNotificationSettingsDto?: UserNotificationSettingsDto, options?: any): AxiosPromise<UserNotificationSettingsDto>;
2918
+ /**
2919
+ *
2920
+ * @summary update user notifications settings
2921
+ * @param {number} id
2922
+ * @param {UserNotificationSettingsDto} [userNotificationSettingsDto]
2923
+ * @param {*} [options] Override http request option.
2924
+ * @throws {RequiredError}
2925
+ */
2926
+ updateUserNotificationsSetting(id: number, userNotificationSettingsDto?: UserNotificationSettingsDto, options?: any): AxiosPromise<UserNotificationSettingsDto>;
2927
+ /**
2928
+ *
2929
+ * @summary update all user notifications settings
2930
+ * @param {Array<UserNotificationSettingsDto>} [userNotificationSettingsDto]
2931
+ * @param {*} [options] Override http request option.
2932
+ * @throws {RequiredError}
2933
+ */
2934
+ updateUserNotificationsSettings(userNotificationSettingsDto?: Array<UserNotificationSettingsDto>, options?: any): AxiosPromise<Array<UserNotificationSettingsDto>>;
2935
+ };
2936
+ /**
2937
+ * NotificationSettingsApiEndpointApi - object-oriented interface
2938
+ * @export
2939
+ * @class NotificationSettingsApiEndpointApi
2940
+ * @extends {BaseAPI}
2941
+ */
2942
+ export declare class NotificationSettingsApiEndpointApi extends BaseAPI {
2943
+ /**
2944
+ *
2945
+ * @summary run user settings generation for all active users
2946
+ * @param {*} [options] Override http request option.
2947
+ * @throws {RequiredError}
2948
+ * @memberof NotificationSettingsApiEndpointApi
2949
+ */
2950
+ generateMissingUserNotificationSettingsForAllActiveUsers(options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any>>;
2951
+ /**
2952
+ *
2953
+ * @summary get user notifications settings userId
2954
+ * @param {number} userId
2955
+ * @param {*} [options] Override http request option.
2956
+ * @throws {RequiredError}
2957
+ * @memberof NotificationSettingsApiEndpointApi
2958
+ */
2959
+ getUserNotificationsSettingsByUserId(userId: number, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserNotificationSettingsDto[], any>>;
2960
+ /**
2961
+ *
2962
+ * @summary save user notifications settings
2963
+ * @param {UserNotificationSettingsDto} [userNotificationSettingsDto]
2964
+ * @param {*} [options] Override http request option.
2965
+ * @throws {RequiredError}
2966
+ * @memberof NotificationSettingsApiEndpointApi
2967
+ */
2968
+ saveUserNotificationsSettings(userNotificationSettingsDto?: UserNotificationSettingsDto, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserNotificationSettingsDto, any>>;
2969
+ /**
2970
+ *
2971
+ * @summary update user notifications settings
2972
+ * @param {number} id
2973
+ * @param {UserNotificationSettingsDto} [userNotificationSettingsDto]
2974
+ * @param {*} [options] Override http request option.
2975
+ * @throws {RequiredError}
2976
+ * @memberof NotificationSettingsApiEndpointApi
2977
+ */
2978
+ updateUserNotificationsSetting(id: number, userNotificationSettingsDto?: UserNotificationSettingsDto, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserNotificationSettingsDto, any>>;
2979
+ /**
2980
+ *
2981
+ * @summary update all user notifications settings
2982
+ * @param {Array<UserNotificationSettingsDto>} [userNotificationSettingsDto]
2983
+ * @param {*} [options] Override http request option.
2984
+ * @throws {RequiredError}
2985
+ * @memberof NotificationSettingsApiEndpointApi
2986
+ */
2987
+ updateUserNotificationsSettings(userNotificationSettingsDto?: Array<UserNotificationSettingsDto>, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserNotificationSettingsDto[], any>>;
2988
+ }
2989
+ /**
2990
+ * NotificationUsersEndpointApi - axios parameter creator
2991
+ * @export
2992
+ */
2993
+ export declare const NotificationUsersEndpointApiAxiosParamCreator: (configuration?: Configuration) => {
2994
+ /**
2995
+ *
2996
+ * @param {number} institutionId Asutuse id
2997
+ * @param {string} notificationType teavituse tüüp
2998
+ * @param {*} [options] Override http request option.
2999
+ * @throws {RequiredError}
3000
+ */
3001
+ findInstitutionUsersToSendNotification: (institutionId: number, notificationType: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3002
+ /**
3003
+ *
3004
+ * @param {NotificationUsersDto} [notificationUsersDto] Uue aktiivse isiku andmed
3005
+ * @param {*} [options] Override http request option.
3006
+ * @throws {RequiredError}
3007
+ */
3008
+ findNotificationUsersByIdsIn: (notificationUsersDto?: NotificationUsersDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3009
+ /**
3010
+ *
3011
+ * @param {*} [options] Override http request option.
3012
+ * @throws {RequiredError}
3013
+ */
3014
+ generateUserGroupsForBusinesses: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
3015
+ };
3016
+ /**
3017
+ * NotificationUsersEndpointApi - functional programming interface
3018
+ * @export
3019
+ */
3020
+ export declare const NotificationUsersEndpointApiFp: (configuration?: Configuration) => {
3021
+ /**
3022
+ *
3023
+ * @param {number} institutionId Asutuse id
3024
+ * @param {string} notificationType teavituse tüüp
3025
+ * @param {*} [options] Override http request option.
3026
+ * @throws {RequiredError}
3027
+ */
3028
+ findInstitutionUsersToSendNotification(institutionId: number, notificationType: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NotifiableUserDto>>>;
3029
+ /**
3030
+ *
3031
+ * @param {NotificationUsersDto} [notificationUsersDto] Uue aktiivse isiku andmed
3032
+ * @param {*} [options] Override http request option.
3033
+ * @throws {RequiredError}
3034
+ */
3035
+ findNotificationUsersByIdsIn(notificationUsersDto?: NotificationUsersDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NotifiableUserDto>>>;
3036
+ /**
3037
+ *
3038
+ * @param {*} [options] Override http request option.
3039
+ * @throws {RequiredError}
3040
+ */
3041
+ generateUserGroupsForBusinesses(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
3042
+ };
3043
+ /**
3044
+ * NotificationUsersEndpointApi - factory interface
3045
+ * @export
3046
+ */
3047
+ export declare const NotificationUsersEndpointApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3048
+ /**
3049
+ *
3050
+ * @param {number} institutionId Asutuse id
3051
+ * @param {string} notificationType teavituse tüüp
3052
+ * @param {*} [options] Override http request option.
3053
+ * @throws {RequiredError}
3054
+ */
3055
+ findInstitutionUsersToSendNotification(institutionId: number, notificationType: string, options?: any): AxiosPromise<Array<NotifiableUserDto>>;
3056
+ /**
3057
+ *
3058
+ * @param {NotificationUsersDto} [notificationUsersDto] Uue aktiivse isiku andmed
3059
+ * @param {*} [options] Override http request option.
3060
+ * @throws {RequiredError}
3061
+ */
3062
+ findNotificationUsersByIdsIn(notificationUsersDto?: NotificationUsersDto, options?: any): AxiosPromise<Array<NotifiableUserDto>>;
3063
+ /**
3064
+ *
3065
+ * @param {*} [options] Override http request option.
3066
+ * @throws {RequiredError}
3067
+ */
3068
+ generateUserGroupsForBusinesses(options?: any): AxiosPromise<void>;
3069
+ };
3070
+ /**
3071
+ * NotificationUsersEndpointApi - object-oriented interface
3072
+ * @export
3073
+ * @class NotificationUsersEndpointApi
3074
+ * @extends {BaseAPI}
3075
+ */
3076
+ export declare class NotificationUsersEndpointApi extends BaseAPI {
3077
+ /**
3078
+ *
3079
+ * @param {number} institutionId Asutuse id
3080
+ * @param {string} notificationType teavituse tüüp
3081
+ * @param {*} [options] Override http request option.
3082
+ * @throws {RequiredError}
3083
+ * @memberof NotificationUsersEndpointApi
3084
+ */
3085
+ findInstitutionUsersToSendNotification(institutionId: number, notificationType: string, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<NotifiableUserDto[], any>>;
3086
+ /**
3087
+ *
3088
+ * @param {NotificationUsersDto} [notificationUsersDto] Uue aktiivse isiku andmed
3089
+ * @param {*} [options] Override http request option.
3090
+ * @throws {RequiredError}
3091
+ * @memberof NotificationUsersEndpointApi
3092
+ */
3093
+ findNotificationUsersByIdsIn(notificationUsersDto?: NotificationUsersDto, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<NotifiableUserDto[], any>>;
3094
+ /**
3095
+ *
3096
+ * @param {*} [options] Override http request option.
3097
+ * @throws {RequiredError}
3098
+ * @memberof NotificationUsersEndpointApi
3099
+ */
3100
+ generateUserGroupsForBusinesses(options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any>>;
3101
+ }
3102
+ /**
3103
+ * PersonApiEndpointApi - axios parameter creator
3104
+ * @export
3105
+ */
3106
+ export declare const PersonApiEndpointApiAxiosParamCreator: (configuration?: Configuration) => {
3107
+ /**
3108
+ *
3109
+ * @param {AddAllyksusDTO} [addAllyksusDTO]
3110
+ * @param {*} [options] Override http request option.
3111
+ * @throws {RequiredError}
3112
+ */
3113
+ addAllyksusToJurPerson: (addAllyksusDTO?: AddAllyksusDTO, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3114
+ /**
3115
+ *
3116
+ * @summary add person(AkIsik)
3117
+ * @param {PersonDto} [personDto]
3118
+ * @param {*} [options] Override http request option.
3119
+ * @throws {RequiredError}
3120
+ */
3121
+ addPerson: (personDto?: PersonDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3122
+ /**
3123
+ *
3124
+ * @summary delete person(AkIsik)
3125
+ * @param {number} personId
3126
+ * @param {*} [options] Override http request option.
3127
+ * @throws {RequiredError}
3128
+ */
3129
+ deletePerson: (personId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3130
+ /**
3131
+ *
3132
+ * @summary Retrieve all KOV-s and institutions with the same administrative division as the given institution
3133
+ * @param {string} regNameOrCode
3134
+ * @param {boolean} [searchFromAll]
3135
+ * @param {Array<string>} [requestBody]
3136
+ * @param {*} [options] Override http request option.
3137
+ * @throws {RequiredError}
3138
+ */
3139
+ findKovsAndJurPersonsInTheSameAdministrativeDivision: (regNameOrCode: string, searchFromAll?: boolean, requestBody?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3140
+ /**
3141
+ *
3142
+ * @summary Retrieve all public sector institutions that contain given parameter in their reg name or reg code
3143
+ * @param {string} regNameOrCode
3144
+ * @param {Array<string>} [requestBody]
3145
+ * @param {*} [options] Override http request option.
3146
+ * @throws {RequiredError}
3147
+ */
3148
+ findPublicSectorInstitutions: (regNameOrCode: string, requestBody?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3149
+ /**
3150
+ *
3151
+ * @param {*} [options] Override http request option.
3152
+ * @throws {RequiredError}
3153
+ */
3154
+ findRolesByDbName: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
3155
+ /**
3156
+ *
3157
+ * @summary get all active institutions (person(AkIsik)) list
3158
+ * @param {*} [options] Override http request option.
3159
+ * @throws {RequiredError}
3160
+ */
3161
+ getAllActiveInstitutions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
3162
+ /**
3163
+ *
3164
+ * @param {*} [options] Override http request option.
3165
+ * @throws {RequiredError}
3166
+ */
3167
+ getAllClassifierBusinessTypeDtos: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
3168
+ /**
3169
+ * Retrieve JurPerson with users by jur person Id
3170
+ * @summary get jur person(AkIsik)
3171
+ * @param {number} personId
3172
+ * @param {*} [options] Override http request option.
3173
+ * @throws {RequiredError}
3174
+ */
3175
+ getJurPerson: (personId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3176
+ /**
3177
+ *
3178
+ * @param {number} jurPersonId
3179
+ * @param {*} [options] Override http request option.
3180
+ * @throws {RequiredError}
3181
+ */
3182
+ getJurPersonAncestors: (jurPersonId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3183
+ /**
3184
+ *
3185
+ * @param {number} jurPersonId
3186
+ * @param {*} [options] Override http request option.
3187
+ * @throws {RequiredError}
3188
+ */
3189
+ getJurPersonSuccessors: (jurPersonId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3190
+ /**
3191
+ *
3192
+ * @param {string} ehakCode
3193
+ * @param {*} [options] Override http request option.
3194
+ * @throws {RequiredError}
3195
+ */
3196
+ getJurPersonsByEhakCode: (ehakCode: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3197
+ /**
3198
+ *
3199
+ * @summary get person(AkIsik)
3200
+ * @param {number} personId
3201
+ * @param {*} [options] Override http request option.
3202
+ * @throws {RequiredError}
3203
+ */
3204
+ getPerson: (personId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3205
+ /**
3206
+ *
3207
+ * @summary current auth person details
3208
+ * @param {*} [options] Override http request option.
3209
+ * @throws {RequiredError}
3210
+ */
3211
+ getPersonDetails: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
3212
+ /**
3213
+ *
3214
+ * @summary refresh and update jur person from AR
3215
+ * @param {string} regCode
3216
+ * @param {*} [options] Override http request option.
3217
+ * @throws {RequiredError}
3218
+ */
3219
+ refreshUpdateArPersonFromAR: (regCode: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3220
+ /**
3221
+ *
3222
+ * @param {number} allyksusId
3223
+ * @param {*} [options] Override http request option.
3224
+ * @throws {RequiredError}
3225
+ */
3226
+ removeYlemyksusReference: (allyksusId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3227
+ /**
3228
+ *
3229
+ * @summary update person(AkIsik)
3230
+ * @param {number} personId
3231
+ * @param {PersonDto} [personDto]
3232
+ * @param {*} [options] Override http request option.
3233
+ * @throws {RequiredError}
3234
+ */
3235
+ updatePerson: (personId: number, personDto?: PersonDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3236
+ };
3237
+ /**
3238
+ * PersonApiEndpointApi - functional programming interface
3239
+ * @export
3240
+ */
3241
+ export declare const PersonApiEndpointApiFp: (configuration?: Configuration) => {
3242
+ /**
3243
+ *
3244
+ * @param {AddAllyksusDTO} [addAllyksusDTO]
3245
+ * @param {*} [options] Override http request option.
3246
+ * @throws {RequiredError}
3247
+ */
3248
+ addAllyksusToJurPerson(addAllyksusDTO?: AddAllyksusDTO, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JurPersonDto>>;
3249
+ /**
3250
+ *
3251
+ * @summary add person(AkIsik)
3252
+ * @param {PersonDto} [personDto]
3253
+ * @param {*} [options] Override http request option.
3254
+ * @throws {RequiredError}
3255
+ */
3256
+ addPerson(personDto?: PersonDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PersonDto>>;
3257
+ /**
3258
+ *
3259
+ * @summary delete person(AkIsik)
3260
+ * @param {number} personId
3261
+ * @param {*} [options] Override http request option.
3262
+ * @throws {RequiredError}
3263
+ */
3264
+ deletePerson(personId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PersonDto>>;
3265
+ /**
3266
+ *
3267
+ * @summary Retrieve all KOV-s and institutions with the same administrative division as the given institution
3268
+ * @param {string} regNameOrCode
3269
+ * @param {boolean} [searchFromAll]
3270
+ * @param {Array<string>} [requestBody]
3271
+ * @param {*} [options] Override http request option.
3272
+ * @throws {RequiredError}
3273
+ */
3274
+ findKovsAndJurPersonsInTheSameAdministrativeDivision(regNameOrCode: string, searchFromAll?: boolean, requestBody?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<JurPersonDto>>>;
3275
+ /**
3276
+ *
3277
+ * @summary Retrieve all public sector institutions that contain given parameter in their reg name or reg code
3278
+ * @param {string} regNameOrCode
3279
+ * @param {Array<string>} [requestBody]
3280
+ * @param {*} [options] Override http request option.
3281
+ * @throws {RequiredError}
3282
+ */
3283
+ findPublicSectorInstitutions(regNameOrCode: string, requestBody?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<JurPersonDto>>>;
3284
+ /**
3285
+ *
3286
+ * @param {*} [options] Override http request option.
3287
+ * @throws {RequiredError}
3288
+ */
3289
+ findRolesByDbName(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AkRolesDTO>>;
3290
+ /**
3291
+ *
3292
+ * @summary get all active institutions (person(AkIsik)) list
3293
+ * @param {*} [options] Override http request option.
3294
+ * @throws {RequiredError}
3295
+ */
3296
+ getAllActiveInstitutions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<JurPersonDto>>>;
3297
+ /**
3298
+ *
3299
+ * @param {*} [options] Override http request option.
3300
+ * @throws {RequiredError}
3301
+ */
3302
+ getAllClassifierBusinessTypeDtos(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ClassifierBusinessTypeDto>>>;
3303
+ /**
3304
+ * Retrieve JurPerson with users by jur person Id
3305
+ * @summary get jur person(AkIsik)
3306
+ * @param {number} personId
3307
+ * @param {*} [options] Override http request option.
3308
+ * @throws {RequiredError}
3309
+ */
3310
+ getJurPerson(personId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JurPersonDto>>;
3311
+ /**
3312
+ *
3313
+ * @param {number} jurPersonId
3314
+ * @param {*} [options] Override http request option.
3315
+ * @throws {RequiredError}
3316
+ */
3317
+ getJurPersonAncestors(jurPersonId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<JurPersonDto>>>;
3318
+ /**
3319
+ *
3320
+ * @param {number} jurPersonId
3321
+ * @param {*} [options] Override http request option.
3322
+ * @throws {RequiredError}
3323
+ */
3324
+ getJurPersonSuccessors(jurPersonId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<JurPersonDto>>>;
3325
+ /**
3326
+ *
3327
+ * @param {string} ehakCode
3328
+ * @param {*} [options] Override http request option.
3329
+ * @throws {RequiredError}
3330
+ */
3331
+ getJurPersonsByEhakCode(ehakCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<JurPersonDto>>>;
3332
+ /**
3333
+ *
3334
+ * @summary get person(AkIsik)
3335
+ * @param {number} personId
3336
+ * @param {*} [options] Override http request option.
3337
+ * @throws {RequiredError}
3338
+ */
3339
+ getPerson(personId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PersonDto>>;
3340
+ /**
3341
+ *
3342
+ * @summary current auth person details
3343
+ * @param {*} [options] Override http request option.
3344
+ * @throws {RequiredError}
3345
+ */
3346
+ getPersonDetails(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PersonDetailDto>>;
3347
+ /**
3348
+ *
3349
+ * @summary refresh and update jur person from AR
3350
+ * @param {string} regCode
3351
+ * @param {*} [options] Override http request option.
3352
+ * @throws {RequiredError}
3353
+ */
3354
+ refreshUpdateArPersonFromAR(regCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PersonDto>>;
3355
+ /**
3356
+ *
3357
+ * @param {number} allyksusId
3358
+ * @param {*} [options] Override http request option.
3359
+ * @throws {RequiredError}
3360
+ */
3361
+ removeYlemyksusReference(allyksusId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
3362
+ /**
3363
+ *
3364
+ * @summary update person(AkIsik)
3365
+ * @param {number} personId
3366
+ * @param {PersonDto} [personDto]
3367
+ * @param {*} [options] Override http request option.
3368
+ * @throws {RequiredError}
3369
+ */
3370
+ updatePerson(personId: number, personDto?: PersonDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PersonDto>>;
3371
+ };
3372
+ /**
3373
+ * PersonApiEndpointApi - factory interface
3374
+ * @export
3375
+ */
3376
+ export declare const PersonApiEndpointApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3377
+ /**
3378
+ *
3379
+ * @param {AddAllyksusDTO} [addAllyksusDTO]
3380
+ * @param {*} [options] Override http request option.
3381
+ * @throws {RequiredError}
3382
+ */
3383
+ addAllyksusToJurPerson(addAllyksusDTO?: AddAllyksusDTO, options?: any): AxiosPromise<JurPersonDto>;
3384
+ /**
3385
+ *
3386
+ * @summary add person(AkIsik)
3387
+ * @param {PersonDto} [personDto]
3388
+ * @param {*} [options] Override http request option.
3389
+ * @throws {RequiredError}
3390
+ */
3391
+ addPerson(personDto?: PersonDto, options?: any): AxiosPromise<PersonDto>;
3392
+ /**
3393
+ *
3394
+ * @summary delete person(AkIsik)
3395
+ * @param {number} personId
3396
+ * @param {*} [options] Override http request option.
3397
+ * @throws {RequiredError}
3398
+ */
3399
+ deletePerson(personId: number, options?: any): AxiosPromise<PersonDto>;
3400
+ /**
3401
+ *
3402
+ * @summary Retrieve all KOV-s and institutions with the same administrative division as the given institution
3403
+ * @param {string} regNameOrCode
3404
+ * @param {boolean} [searchFromAll]
3405
+ * @param {Array<string>} [requestBody]
3406
+ * @param {*} [options] Override http request option.
3407
+ * @throws {RequiredError}
3408
+ */
3409
+ findKovsAndJurPersonsInTheSameAdministrativeDivision(regNameOrCode: string, searchFromAll?: boolean, requestBody?: Array<string>, options?: any): AxiosPromise<Array<JurPersonDto>>;
3410
+ /**
3411
+ *
3412
+ * @summary Retrieve all public sector institutions that contain given parameter in their reg name or reg code
3413
+ * @param {string} regNameOrCode
3414
+ * @param {Array<string>} [requestBody]
3415
+ * @param {*} [options] Override http request option.
3416
+ * @throws {RequiredError}
3417
+ */
3418
+ findPublicSectorInstitutions(regNameOrCode: string, requestBody?: Array<string>, options?: any): AxiosPromise<Array<JurPersonDto>>;
3419
+ /**
3420
+ *
3421
+ * @param {*} [options] Override http request option.
3422
+ * @throws {RequiredError}
3423
+ */
3424
+ findRolesByDbName(options?: any): AxiosPromise<AkRolesDTO>;
3425
+ /**
3426
+ *
3427
+ * @summary get all active institutions (person(AkIsik)) list
3428
+ * @param {*} [options] Override http request option.
3429
+ * @throws {RequiredError}
3430
+ */
3431
+ getAllActiveInstitutions(options?: any): AxiosPromise<Array<JurPersonDto>>;
3432
+ /**
3433
+ *
3434
+ * @param {*} [options] Override http request option.
3435
+ * @throws {RequiredError}
3436
+ */
3437
+ getAllClassifierBusinessTypeDtos(options?: any): AxiosPromise<Array<ClassifierBusinessTypeDto>>;
3438
+ /**
3439
+ * Retrieve JurPerson with users by jur person Id
3440
+ * @summary get jur person(AkIsik)
3441
+ * @param {number} personId
3442
+ * @param {*} [options] Override http request option.
3443
+ * @throws {RequiredError}
3444
+ */
3445
+ getJurPerson(personId: number, options?: any): AxiosPromise<JurPersonDto>;
3446
+ /**
3447
+ *
3448
+ * @param {number} jurPersonId
3449
+ * @param {*} [options] Override http request option.
3450
+ * @throws {RequiredError}
3451
+ */
3452
+ getJurPersonAncestors(jurPersonId: number, options?: any): AxiosPromise<Array<JurPersonDto>>;
3453
+ /**
3454
+ *
3455
+ * @param {number} jurPersonId
3456
+ * @param {*} [options] Override http request option.
3457
+ * @throws {RequiredError}
3458
+ */
3459
+ getJurPersonSuccessors(jurPersonId: number, options?: any): AxiosPromise<Array<JurPersonDto>>;
3460
+ /**
3461
+ *
3462
+ * @param {string} ehakCode
3463
+ * @param {*} [options] Override http request option.
3464
+ * @throws {RequiredError}
3465
+ */
3466
+ getJurPersonsByEhakCode(ehakCode: string, options?: any): AxiosPromise<Array<JurPersonDto>>;
3467
+ /**
3468
+ *
3469
+ * @summary get person(AkIsik)
3470
+ * @param {number} personId
3471
+ * @param {*} [options] Override http request option.
3472
+ * @throws {RequiredError}
3473
+ */
3474
+ getPerson(personId: number, options?: any): AxiosPromise<PersonDto>;
3475
+ /**
3476
+ *
3477
+ * @summary current auth person details
3478
+ * @param {*} [options] Override http request option.
3479
+ * @throws {RequiredError}
3480
+ */
3481
+ getPersonDetails(options?: any): AxiosPromise<PersonDetailDto>;
3482
+ /**
3483
+ *
3484
+ * @summary refresh and update jur person from AR
3485
+ * @param {string} regCode
3486
+ * @param {*} [options] Override http request option.
3487
+ * @throws {RequiredError}
3488
+ */
3489
+ refreshUpdateArPersonFromAR(regCode: string, options?: any): AxiosPromise<PersonDto>;
3490
+ /**
3491
+ *
3492
+ * @param {number} allyksusId
3493
+ * @param {*} [options] Override http request option.
3494
+ * @throws {RequiredError}
3495
+ */
3496
+ removeYlemyksusReference(allyksusId: number, options?: any): AxiosPromise<void>;
3497
+ /**
3498
+ *
3499
+ * @summary update person(AkIsik)
3500
+ * @param {number} personId
3501
+ * @param {PersonDto} [personDto]
3502
+ * @param {*} [options] Override http request option.
3503
+ * @throws {RequiredError}
3504
+ */
3505
+ updatePerson(personId: number, personDto?: PersonDto, options?: any): AxiosPromise<PersonDto>;
3506
+ };
3507
+ /**
3508
+ * PersonApiEndpointApi - object-oriented interface
3509
+ * @export
3510
+ * @class PersonApiEndpointApi
3511
+ * @extends {BaseAPI}
3512
+ */
3513
+ export declare class PersonApiEndpointApi extends BaseAPI {
3514
+ /**
3515
+ *
3516
+ * @param {AddAllyksusDTO} [addAllyksusDTO]
3517
+ * @param {*} [options] Override http request option.
3518
+ * @throws {RequiredError}
3519
+ * @memberof PersonApiEndpointApi
3520
+ */
3521
+ addAllyksusToJurPerson(addAllyksusDTO?: AddAllyksusDTO, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<JurPersonDto, any>>;
3522
+ /**
3523
+ *
3524
+ * @summary add person(AkIsik)
3525
+ * @param {PersonDto} [personDto]
3526
+ * @param {*} [options] Override http request option.
3527
+ * @throws {RequiredError}
3528
+ * @memberof PersonApiEndpointApi
3529
+ */
3530
+ addPerson(personDto?: PersonDto, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PersonDto, any>>;
3531
+ /**
3532
+ *
3533
+ * @summary delete person(AkIsik)
3534
+ * @param {number} personId
3535
+ * @param {*} [options] Override http request option.
3536
+ * @throws {RequiredError}
3537
+ * @memberof PersonApiEndpointApi
3538
+ */
3539
+ deletePerson(personId: number, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PersonDto, any>>;
3540
+ /**
3541
+ *
3542
+ * @summary Retrieve all KOV-s and institutions with the same administrative division as the given institution
3543
+ * @param {string} regNameOrCode
3544
+ * @param {boolean} [searchFromAll]
3545
+ * @param {Array<string>} [requestBody]
3546
+ * @param {*} [options] Override http request option.
3547
+ * @throws {RequiredError}
3548
+ * @memberof PersonApiEndpointApi
3549
+ */
3550
+ findKovsAndJurPersonsInTheSameAdministrativeDivision(regNameOrCode: string, searchFromAll?: boolean, requestBody?: Array<string>, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<JurPersonDto[], any>>;
3551
+ /**
3552
+ *
3553
+ * @summary Retrieve all public sector institutions that contain given parameter in their reg name or reg code
3554
+ * @param {string} regNameOrCode
3555
+ * @param {Array<string>} [requestBody]
3556
+ * @param {*} [options] Override http request option.
3557
+ * @throws {RequiredError}
3558
+ * @memberof PersonApiEndpointApi
3559
+ */
3560
+ findPublicSectorInstitutions(regNameOrCode: string, requestBody?: Array<string>, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<JurPersonDto[], any>>;
3561
+ /**
3562
+ *
3563
+ * @param {*} [options] Override http request option.
3564
+ * @throws {RequiredError}
3565
+ * @memberof PersonApiEndpointApi
3566
+ */
3567
+ findRolesByDbName(options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<AkRolesDTO, any>>;
3568
+ /**
3569
+ *
3570
+ * @summary get all active institutions (person(AkIsik)) list
3571
+ * @param {*} [options] Override http request option.
3572
+ * @throws {RequiredError}
3573
+ * @memberof PersonApiEndpointApi
3574
+ */
3575
+ getAllActiveInstitutions(options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<JurPersonDto[], any>>;
3576
+ /**
3577
+ *
3578
+ * @param {*} [options] Override http request option.
3579
+ * @throws {RequiredError}
3580
+ * @memberof PersonApiEndpointApi
3581
+ */
3582
+ getAllClassifierBusinessTypeDtos(options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<ClassifierBusinessTypeDto[], any>>;
3583
+ /**
3584
+ * Retrieve JurPerson with users by jur person Id
3585
+ * @summary get jur person(AkIsik)
3586
+ * @param {number} personId
3587
+ * @param {*} [options] Override http request option.
3588
+ * @throws {RequiredError}
3589
+ * @memberof PersonApiEndpointApi
3590
+ */
3591
+ getJurPerson(personId: number, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<JurPersonDto, any>>;
3592
+ /**
3593
+ *
3594
+ * @param {number} jurPersonId
3595
+ * @param {*} [options] Override http request option.
3596
+ * @throws {RequiredError}
3597
+ * @memberof PersonApiEndpointApi
3598
+ */
3599
+ getJurPersonAncestors(jurPersonId: number, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<JurPersonDto[], any>>;
3600
+ /**
3601
+ *
3602
+ * @param {number} jurPersonId
3603
+ * @param {*} [options] Override http request option.
3604
+ * @throws {RequiredError}
3605
+ * @memberof PersonApiEndpointApi
3606
+ */
3607
+ getJurPersonSuccessors(jurPersonId: number, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<JurPersonDto[], any>>;
3608
+ /**
3609
+ *
3610
+ * @param {string} ehakCode
3611
+ * @param {*} [options] Override http request option.
3612
+ * @throws {RequiredError}
3613
+ * @memberof PersonApiEndpointApi
3614
+ */
3615
+ getJurPersonsByEhakCode(ehakCode: string, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<JurPersonDto[], any>>;
3616
+ /**
3617
+ *
3618
+ * @summary get person(AkIsik)
3619
+ * @param {number} personId
3620
+ * @param {*} [options] Override http request option.
3621
+ * @throws {RequiredError}
3622
+ * @memberof PersonApiEndpointApi
3623
+ */
3624
+ getPerson(personId: number, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PersonDto, any>>;
3625
+ /**
3626
+ *
3627
+ * @summary current auth person details
3628
+ * @param {*} [options] Override http request option.
3629
+ * @throws {RequiredError}
3630
+ * @memberof PersonApiEndpointApi
3631
+ */
3632
+ getPersonDetails(options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PersonDetailDto, any>>;
3633
+ /**
3634
+ *
3635
+ * @summary refresh and update jur person from AR
3636
+ * @param {string} regCode
3637
+ * @param {*} [options] Override http request option.
3638
+ * @throws {RequiredError}
3639
+ * @memberof PersonApiEndpointApi
3640
+ */
3641
+ refreshUpdateArPersonFromAR(regCode: string, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PersonDto, any>>;
3642
+ /**
3643
+ *
3644
+ * @param {number} allyksusId
3645
+ * @param {*} [options] Override http request option.
3646
+ * @throws {RequiredError}
3647
+ * @memberof PersonApiEndpointApi
3648
+ */
3649
+ removeYlemyksusReference(allyksusId: number, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any>>;
3650
+ /**
3651
+ *
3652
+ * @summary update person(AkIsik)
3653
+ * @param {number} personId
3654
+ * @param {PersonDto} [personDto]
3655
+ * @param {*} [options] Override http request option.
3656
+ * @throws {RequiredError}
3657
+ * @memberof PersonApiEndpointApi
3658
+ */
3659
+ updatePerson(personId: number, personDto?: PersonDto, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PersonDto, any>>;
3660
+ }
3661
+ /**
3662
+ * PersonSearchApi - axios parameter creator
3663
+ * @export
3664
+ */
3665
+ export declare const PersonSearchApiAxiosParamCreator: (configuration?: Configuration) => {
3666
+ /**
3667
+ * Tagastab isiku
3668
+ * @summary Isiku otsing
3669
+ * @param {string} input
3670
+ * @param {boolean} [xRoad]
3671
+ * @param {boolean} [isPrivate]
3672
+ * @param {*} [options] Override http request option.
3673
+ * @throws {RequiredError}
3674
+ */
3675
+ searchPerson: (input: string, xRoad?: boolean, isPrivate?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3676
+ };
3677
+ /**
3678
+ * PersonSearchApi - functional programming interface
3679
+ * @export
3680
+ */
3681
+ export declare const PersonSearchApiFp: (configuration?: Configuration) => {
3682
+ /**
3683
+ * Tagastab isiku
3684
+ * @summary Isiku otsing
3685
+ * @param {string} input
3686
+ * @param {boolean} [xRoad]
3687
+ * @param {boolean} [isPrivate]
3688
+ * @param {*} [options] Override http request option.
3689
+ * @throws {RequiredError}
3690
+ */
3691
+ searchPerson(input: string, xRoad?: boolean, isPrivate?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PeopleDto>>;
3692
+ };
3693
+ /**
3694
+ * PersonSearchApi - factory interface
3695
+ * @export
3696
+ */
3697
+ export declare const PersonSearchApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3698
+ /**
3699
+ * Tagastab isiku
3700
+ * @summary Isiku otsing
3701
+ * @param {string} input
3702
+ * @param {boolean} [xRoad]
3703
+ * @param {boolean} [isPrivate]
3704
+ * @param {*} [options] Override http request option.
3705
+ * @throws {RequiredError}
3706
+ */
3707
+ searchPerson(input: string, xRoad?: boolean, isPrivate?: boolean, options?: any): AxiosPromise<PeopleDto>;
3708
+ };
3709
+ /**
3710
+ * PersonSearchApi - object-oriented interface
3711
+ * @export
3712
+ * @class PersonSearchApi
3713
+ * @extends {BaseAPI}
3714
+ */
3715
+ export declare class PersonSearchApi extends BaseAPI {
3716
+ /**
3717
+ * Tagastab isiku
3718
+ * @summary Isiku otsing
3719
+ * @param {string} input
3720
+ * @param {boolean} [xRoad]
3721
+ * @param {boolean} [isPrivate]
3722
+ * @param {*} [options] Override http request option.
3723
+ * @throws {RequiredError}
3724
+ * @memberof PersonSearchApi
3725
+ */
3726
+ searchPerson(input: string, xRoad?: boolean, isPrivate?: boolean, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PeopleDto, any>>;
3727
+ }
3728
+ /**
3729
+ * PersonSearchApiEndpointApi - axios parameter creator
3730
+ * @export
3731
+ */
3732
+ export declare const PersonSearchApiEndpointApiAxiosParamCreator: (configuration?: Configuration) => {
3733
+ /**
3734
+ *
3735
+ * @param {string} regcode registrikood
3736
+ * @param {*} [options] Override http request option.
3737
+ * @throws {RequiredError}
3738
+ */
3739
+ findByArRegCodeWithoutSaving: (regcode: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3740
+ /**
3741
+ * Tagastab võimalikud rollid andmebaasist
3742
+ * @param {string} idCode
3743
+ * @param {*} [options] Override http request option.
3744
+ * @throws {RequiredError}
3745
+ */
3746
+ findByRrIdFromRROnly: (idCode: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3747
+ /**
3748
+ *
3749
+ * @param {number} offset
3750
+ * @param {number} limit
3751
+ * @param {JurPersonSearchCriteriaDto} [jurPersonSearchCriteriaDto]
3752
+ * @param {*} [options] Override http request option.
3753
+ * @throws {RequiredError}
3754
+ */
3755
+ findJurPersonBySearchCriteria: (offset: number, limit: number, jurPersonSearchCriteriaDto?: JurPersonSearchCriteriaDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3756
+ /**
3757
+ *
3758
+ * @param {string} regCodeOrRegName
3759
+ * @param {*} [options] Override http request option.
3760
+ * @throws {RequiredError}
3761
+ */
3762
+ findJurPersonsWithoutYlemyksusByRegCodeOrRegName: (regCodeOrRegName: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3763
+ /**
3764
+ *
3765
+ * @param {number} offset
3766
+ * @param {number} limit
3767
+ * @param {PersonSearchCriteriaDto} [personSearchCriteriaDto]
3768
+ * @param {*} [options] Override http request option.
3769
+ * @throws {RequiredError}
3770
+ */
3771
+ findPersonBySearchCriteria: (offset: number, limit: number, personSearchCriteriaDto?: PersonSearchCriteriaDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3772
+ /**
3773
+ *
3774
+ * @param {string} regCode
3775
+ * @param {*} [options] Override http request option.
3776
+ * @throws {RequiredError}
3777
+ */
3778
+ jurPersonExistsInAR: (regCode: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3779
+ };
3780
+ /**
3781
+ * PersonSearchApiEndpointApi - functional programming interface
3782
+ * @export
3783
+ */
3784
+ export declare const PersonSearchApiEndpointApiFp: (configuration?: Configuration) => {
3785
+ /**
3786
+ *
3787
+ * @param {string} regcode registrikood
3788
+ * @param {*} [options] Override http request option.
3789
+ * @throws {RequiredError}
3790
+ */
3791
+ findByArRegCodeWithoutSaving(regcode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PeopleDto>>;
3792
+ /**
3793
+ * Tagastab võimalikud rollid andmebaasist
3794
+ * @param {string} idCode
3795
+ * @param {*} [options] Override http request option.
3796
+ * @throws {RequiredError}
3797
+ */
3798
+ findByRrIdFromRROnly(idCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AkRolesDTO>>;
3799
+ /**
3800
+ *
3801
+ * @param {number} offset
3802
+ * @param {number} limit
3803
+ * @param {JurPersonSearchCriteriaDto} [jurPersonSearchCriteriaDto]
3804
+ * @param {*} [options] Override http request option.
3805
+ * @throws {RequiredError}
3806
+ */
3807
+ findJurPersonBySearchCriteria(offset: number, limit: number, jurPersonSearchCriteriaDto?: JurPersonSearchCriteriaDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageJurPersonSearchResultDto>>;
3808
+ /**
3809
+ *
3810
+ * @param {string} regCodeOrRegName
3811
+ * @param {*} [options] Override http request option.
3812
+ * @throws {RequiredError}
3813
+ */
3814
+ findJurPersonsWithoutYlemyksusByRegCodeOrRegName(regCodeOrRegName: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PersonDto>>>;
3815
+ /**
3816
+ *
3817
+ * @param {number} offset
3818
+ * @param {number} limit
3819
+ * @param {PersonSearchCriteriaDto} [personSearchCriteriaDto]
3820
+ * @param {*} [options] Override http request option.
3821
+ * @throws {RequiredError}
3822
+ */
3823
+ findPersonBySearchCriteria(offset: number, limit: number, personSearchCriteriaDto?: PersonSearchCriteriaDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PagePersonSearchResultDto>>;
3824
+ /**
3825
+ *
3826
+ * @param {string} regCode
3827
+ * @param {*} [options] Override http request option.
3828
+ * @throws {RequiredError}
3829
+ */
3830
+ jurPersonExistsInAR(regCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
3831
+ };
3832
+ /**
3833
+ * PersonSearchApiEndpointApi - factory interface
3834
+ * @export
3835
+ */
3836
+ export declare const PersonSearchApiEndpointApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3837
+ /**
3838
+ *
3839
+ * @param {string} regcode registrikood
3840
+ * @param {*} [options] Override http request option.
3841
+ * @throws {RequiredError}
3842
+ */
3843
+ findByArRegCodeWithoutSaving(regcode: string, options?: any): AxiosPromise<PeopleDto>;
3844
+ /**
3845
+ * Tagastab võimalikud rollid andmebaasist
3846
+ * @param {string} idCode
3847
+ * @param {*} [options] Override http request option.
3848
+ * @throws {RequiredError}
3849
+ */
3850
+ findByRrIdFromRROnly(idCode: string, options?: any): AxiosPromise<AkRolesDTO>;
3851
+ /**
3852
+ *
3853
+ * @param {number} offset
3854
+ * @param {number} limit
3855
+ * @param {JurPersonSearchCriteriaDto} [jurPersonSearchCriteriaDto]
3856
+ * @param {*} [options] Override http request option.
3857
+ * @throws {RequiredError}
3858
+ */
3859
+ findJurPersonBySearchCriteria(offset: number, limit: number, jurPersonSearchCriteriaDto?: JurPersonSearchCriteriaDto, options?: any): AxiosPromise<PageJurPersonSearchResultDto>;
3860
+ /**
3861
+ *
3862
+ * @param {string} regCodeOrRegName
3863
+ * @param {*} [options] Override http request option.
3864
+ * @throws {RequiredError}
3865
+ */
3866
+ findJurPersonsWithoutYlemyksusByRegCodeOrRegName(regCodeOrRegName: string, options?: any): AxiosPromise<Array<PersonDto>>;
3867
+ /**
3868
+ *
3869
+ * @param {number} offset
3870
+ * @param {number} limit
3871
+ * @param {PersonSearchCriteriaDto} [personSearchCriteriaDto]
3872
+ * @param {*} [options] Override http request option.
3873
+ * @throws {RequiredError}
3874
+ */
3875
+ findPersonBySearchCriteria(offset: number, limit: number, personSearchCriteriaDto?: PersonSearchCriteriaDto, options?: any): AxiosPromise<PagePersonSearchResultDto>;
3876
+ /**
3877
+ *
3878
+ * @param {string} regCode
3879
+ * @param {*} [options] Override http request option.
3880
+ * @throws {RequiredError}
3881
+ */
3882
+ jurPersonExistsInAR(regCode: string, options?: any): AxiosPromise<boolean>;
3883
+ };
3884
+ /**
3885
+ * PersonSearchApiEndpointApi - object-oriented interface
3886
+ * @export
3887
+ * @class PersonSearchApiEndpointApi
3888
+ * @extends {BaseAPI}
3889
+ */
3890
+ export declare class PersonSearchApiEndpointApi extends BaseAPI {
3891
+ /**
3892
+ *
3893
+ * @param {string} regcode registrikood
3894
+ * @param {*} [options] Override http request option.
3895
+ * @throws {RequiredError}
3896
+ * @memberof PersonSearchApiEndpointApi
3897
+ */
3898
+ findByArRegCodeWithoutSaving(regcode: string, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PeopleDto, any>>;
3899
+ /**
3900
+ * Tagastab võimalikud rollid andmebaasist
3901
+ * @param {string} idCode
3902
+ * @param {*} [options] Override http request option.
3903
+ * @throws {RequiredError}
3904
+ * @memberof PersonSearchApiEndpointApi
3905
+ */
3906
+ findByRrIdFromRROnly(idCode: string, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<AkRolesDTO, any>>;
3907
+ /**
3908
+ *
3909
+ * @param {number} offset
3910
+ * @param {number} limit
3911
+ * @param {JurPersonSearchCriteriaDto} [jurPersonSearchCriteriaDto]
3912
+ * @param {*} [options] Override http request option.
3913
+ * @throws {RequiredError}
3914
+ * @memberof PersonSearchApiEndpointApi
3915
+ */
3916
+ findJurPersonBySearchCriteria(offset: number, limit: number, jurPersonSearchCriteriaDto?: JurPersonSearchCriteriaDto, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PageJurPersonSearchResultDto, any>>;
3917
+ /**
3918
+ *
3919
+ * @param {string} regCodeOrRegName
3920
+ * @param {*} [options] Override http request option.
3921
+ * @throws {RequiredError}
3922
+ * @memberof PersonSearchApiEndpointApi
3923
+ */
3924
+ findJurPersonsWithoutYlemyksusByRegCodeOrRegName(regCodeOrRegName: string, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PersonDto[], any>>;
3925
+ /**
3926
+ *
3927
+ * @param {number} offset
3928
+ * @param {number} limit
3929
+ * @param {PersonSearchCriteriaDto} [personSearchCriteriaDto]
3930
+ * @param {*} [options] Override http request option.
3931
+ * @throws {RequiredError}
3932
+ * @memberof PersonSearchApiEndpointApi
3933
+ */
3934
+ findPersonBySearchCriteria(offset: number, limit: number, personSearchCriteriaDto?: PersonSearchCriteriaDto, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PagePersonSearchResultDto, any>>;
3935
+ /**
3936
+ *
3937
+ * @param {string} regCode
3938
+ * @param {*} [options] Override http request option.
3939
+ * @throws {RequiredError}
3940
+ * @memberof PersonSearchApiEndpointApi
3941
+ */
3942
+ jurPersonExistsInAR(regCode: string, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<boolean, any>>;
3943
+ }
3944
+ /**
3945
+ * RrPringudApi - axios parameter creator
3946
+ * @export
3947
+ */
3948
+ export declare const RrPringudApiAxiosParamCreator: (configuration?: Configuration) => {
3949
+ /**
3950
+ * Tagastab isikukoodi alusel füüsilised isikud
3951
+ * @summary rr päring - isikukoodi järgi
3952
+ * @param {string} idCode isikukood
3953
+ * @param {*} [options] Override http request option.
3954
+ * @throws {RequiredError}
3955
+ */
3956
+ findByRrId: (idCode: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3957
+ /**
3958
+ * Otsib isikuandmed rahvastikuregistrist ja uuendab nende järgi EHR baasi kirje
3959
+ * @summary find person data from rahvastikuregister and then update EHR person details
3960
+ * @param {string} idCode
3961
+ * @param {*} [options] Override http request option.
3962
+ * @throws {RequiredError}
3963
+ */
3964
+ refreshUpdatePersonFromRR: (idCode: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3965
+ };
3966
+ /**
3967
+ * RrPringudApi - functional programming interface
3968
+ * @export
3969
+ */
3970
+ export declare const RrPringudApiFp: (configuration?: Configuration) => {
3971
+ /**
3972
+ * Tagastab isikukoodi alusel füüsilised isikud
3973
+ * @summary rr päring - isikukoodi järgi
3974
+ * @param {string} idCode isikukood
3975
+ * @param {*} [options] Override http request option.
3976
+ * @throws {RequiredError}
3977
+ */
3978
+ findByRrId(idCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PeopleDto>>;
3979
+ /**
3980
+ * Otsib isikuandmed rahvastikuregistrist ja uuendab nende järgi EHR baasi kirje
3981
+ * @summary find person data from rahvastikuregister and then update EHR person details
3982
+ * @param {string} idCode
3983
+ * @param {*} [options] Override http request option.
3984
+ * @throws {RequiredError}
3985
+ */
3986
+ refreshUpdatePersonFromRR(idCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PersonDto>>;
3987
+ };
3988
+ /**
3989
+ * RrPringudApi - factory interface
3990
+ * @export
3991
+ */
3992
+ export declare const RrPringudApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3993
+ /**
3994
+ * Tagastab isikukoodi alusel füüsilised isikud
3995
+ * @summary rr päring - isikukoodi järgi
3996
+ * @param {string} idCode isikukood
3997
+ * @param {*} [options] Override http request option.
3998
+ * @throws {RequiredError}
3999
+ */
4000
+ findByRrId(idCode: string, options?: any): AxiosPromise<PeopleDto>;
4001
+ /**
4002
+ * Otsib isikuandmed rahvastikuregistrist ja uuendab nende järgi EHR baasi kirje
4003
+ * @summary find person data from rahvastikuregister and then update EHR person details
4004
+ * @param {string} idCode
4005
+ * @param {*} [options] Override http request option.
4006
+ * @throws {RequiredError}
4007
+ */
4008
+ refreshUpdatePersonFromRR(idCode: string, options?: any): AxiosPromise<PersonDto>;
4009
+ };
4010
+ /**
4011
+ * RrPringudApi - object-oriented interface
4012
+ * @export
4013
+ * @class RrPringudApi
4014
+ * @extends {BaseAPI}
4015
+ */
4016
+ export declare class RrPringudApi extends BaseAPI {
4017
+ /**
4018
+ * Tagastab isikukoodi alusel füüsilised isikud
4019
+ * @summary rr päring - isikukoodi järgi
4020
+ * @param {string} idCode isikukood
4021
+ * @param {*} [options] Override http request option.
4022
+ * @throws {RequiredError}
4023
+ * @memberof RrPringudApi
4024
+ */
4025
+ findByRrId(idCode: string, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PeopleDto, any>>;
4026
+ /**
4027
+ * Otsib isikuandmed rahvastikuregistrist ja uuendab nende järgi EHR baasi kirje
4028
+ * @summary find person data from rahvastikuregister and then update EHR person details
4029
+ * @param {string} idCode
4030
+ * @param {*} [options] Override http request option.
4031
+ * @throws {RequiredError}
4032
+ * @memberof RrPringudApi
4033
+ */
4034
+ refreshUpdatePersonFromRR(idCode: string, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PersonDto, any>>;
4035
+ }
4036
+ /**
4037
+ * UserApiEndpointApi - axios parameter creator
4038
+ * @export
4039
+ */
4040
+ export declare const UserApiEndpointApiAxiosParamCreator: (configuration?: Configuration) => {
4041
+ /**
4042
+ *
4043
+ * @param {UserRoleModificationDataDto} [userRoleModificationDataDto]
4044
+ * @param {*} [options] Override http request option.
4045
+ * @throws {RequiredError}
4046
+ */
4047
+ addRoleToUser: (userRoleModificationDataDto?: UserRoleModificationDataDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4048
+ /**
4049
+ *
4050
+ * @summary add User(akKasutaja)
4051
+ * @param {UserDto} [userDto]
4052
+ * @param {*} [options] Override http request option.
4053
+ * @throws {RequiredError}
4054
+ */
4055
+ addUser: (userDto?: UserDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4056
+ /**
4057
+ *
4058
+ * @summary Appoint user substitute for documents in a state which needs attention
4059
+ * @param {UserSubstituteDto} [userSubstituteDto]
4060
+ * @param {*} [options] Override http request option.
4061
+ * @throws {RequiredError}
4062
+ */
4063
+ appointSubstituteUser: (userSubstituteDto?: UserSubstituteDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4064
+ /**
4065
+ *
4066
+ * @summary delete User(akKasutaja)
4067
+ * @param {number} userId
4068
+ * @param {*} [options] Override http request option.
4069
+ * @throws {RequiredError}
4070
+ */
4071
+ deleteUser: (userId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4072
+ /**
4073
+ *
4074
+ * @param {number} userRoleRelId
4075
+ * @param {*} [options] Override http request option.
4076
+ * @throws {RequiredError}
4077
+ */
4078
+ deleteUserRole: (userRoleRelId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4079
+ /**
4080
+ *
4081
+ * @param {number} roleId
4082
+ * @param {*} [options] Override http request option.
4083
+ * @throws {RequiredError}
4084
+ */
4085
+ findUsersByRoleId: (roleId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4086
+ /**
4087
+ *
4088
+ * @param {*} [options] Override http request option.
4089
+ * @throws {RequiredError}
4090
+ */
4091
+ getAllClassifierUserRoleDtos: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
4092
+ /**
4093
+ *
4094
+ * @param {*} [options] Override http request option.
4095
+ * @throws {RequiredError}
4096
+ */
4097
+ getHealth: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
4098
+ /**
4099
+ * Returns users by institution id
4100
+ * @summary get Users(akKasutaja)
4101
+ * @param {number} personId
4102
+ * @param {*} [options] Override http request option.
4103
+ * @throws {RequiredError}
4104
+ */
4105
+ getJurUsers: (personId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4106
+ /**
4107
+ *
4108
+ * @summary get Users(akKasutaja)
4109
+ * @param {number} personId
4110
+ * @param {number} roleId
4111
+ * @param {*} [options] Override http request option.
4112
+ * @throws {RequiredError}
4113
+ */
4114
+ getJurUsersWithoutGivenRole: (personId: number, roleId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4115
+ /**
4116
+ *
4117
+ * @summary get User(akKasutaja)
4118
+ * @param {number} userId
4119
+ * @param {*} [options] Override http request option.
4120
+ * @throws {RequiredError}
4121
+ */
4122
+ getUser: (userId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4123
+ /**
4124
+ *
4125
+ * @summary Isikule privaatse vestluse adressaadiks lubatud isikute loetelu
4126
+ * @param {string} [searchInput] text input of search for names
4127
+ * @param {*} [options] Override http request option.
4128
+ * @throws {RequiredError}
4129
+ */
4130
+ getUserPossibleRecipients: (searchInput?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4131
+ /**
4132
+ *
4133
+ * @summary get Users(akKasutaja)
4134
+ * @param {number} personId
4135
+ * @param {*} [options] Override http request option.
4136
+ * @throws {RequiredError}
4137
+ */
4138
+ getUsers: (personId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4139
+ /**
4140
+ * Retrieve users JurPerson with users by user id
4141
+ * @summary get jur person(AkIsik)
4142
+ * @param {number} userId
4143
+ * @param {boolean} [valid]
4144
+ * @param {*} [options] Override http request option.
4145
+ * @throws {RequiredError}
4146
+ */
4147
+ getUsersJurPerson: (userId: number, valid?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4148
+ /**
4149
+ *
4150
+ * @summary update User(akKasutaja)
4151
+ * @param {number} userId
4152
+ * @param {UserDto} [userDto]
4153
+ * @param {*} [options] Override http request option.
4154
+ * @throws {RequiredError}
4155
+ */
4156
+ updateUser: (userId: number, userDto?: UserDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4157
+ /**
4158
+ *
4159
+ * @param {number} userRoleRelId
4160
+ * @param {UserRoleModificationDataDto} [userRoleModificationDataDto]
4161
+ * @param {*} [options] Override http request option.
4162
+ * @throws {RequiredError}
4163
+ */
4164
+ updateUserRole: (userRoleRelId: number, userRoleModificationDataDto?: UserRoleModificationDataDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4165
+ };
4166
+ /**
4167
+ * UserApiEndpointApi - functional programming interface
4168
+ * @export
4169
+ */
4170
+ export declare const UserApiEndpointApiFp: (configuration?: Configuration) => {
4171
+ /**
4172
+ *
4173
+ * @param {UserRoleModificationDataDto} [userRoleModificationDataDto]
4174
+ * @param {*} [options] Override http request option.
4175
+ * @throws {RequiredError}
4176
+ */
4177
+ addRoleToUser(userRoleModificationDataDto?: UserRoleModificationDataDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserAndRoleDto>>;
4178
+ /**
4179
+ *
4180
+ * @summary add User(akKasutaja)
4181
+ * @param {UserDto} [userDto]
4182
+ * @param {*} [options] Override http request option.
4183
+ * @throws {RequiredError}
4184
+ */
4185
+ addUser(userDto?: UserDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDto>>;
4186
+ /**
4187
+ *
4188
+ * @summary Appoint user substitute for documents in a state which needs attention
4189
+ * @param {UserSubstituteDto} [userSubstituteDto]
4190
+ * @param {*} [options] Override http request option.
4191
+ * @throws {RequiredError}
4192
+ */
4193
+ appointSubstituteUser(userSubstituteDto?: UserSubstituteDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4194
+ /**
4195
+ *
4196
+ * @summary delete User(akKasutaja)
4197
+ * @param {number} userId
4198
+ * @param {*} [options] Override http request option.
4199
+ * @throws {RequiredError}
4200
+ */
4201
+ deleteUser(userId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDto>>;
4202
+ /**
4203
+ *
4204
+ * @param {number} userRoleRelId
4205
+ * @param {*} [options] Override http request option.
4206
+ * @throws {RequiredError}
4207
+ */
4208
+ deleteUserRole(userRoleRelId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserAndRoleDto>>;
4209
+ /**
4210
+ *
4211
+ * @param {number} roleId
4212
+ * @param {*} [options] Override http request option.
4213
+ * @throws {RequiredError}
4214
+ */
4215
+ findUsersByRoleId(roleId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserAndRoleDto>>>;
4216
+ /**
4217
+ *
4218
+ * @param {*} [options] Override http request option.
4219
+ * @throws {RequiredError}
4220
+ */
4221
+ getAllClassifierUserRoleDtos(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ClassifierUserRoleDto>>>;
4222
+ /**
4223
+ *
4224
+ * @param {*} [options] Override http request option.
4225
+ * @throws {RequiredError}
4226
+ */
4227
+ getHealth(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
4228
+ /**
4229
+ * Returns users by institution id
4230
+ * @summary get Users(akKasutaja)
4231
+ * @param {number} personId
4232
+ * @param {*} [options] Override http request option.
4233
+ * @throws {RequiredError}
4234
+ */
4235
+ getJurUsers(personId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserDto>>>;
4236
+ /**
4237
+ *
4238
+ * @summary get Users(akKasutaja)
4239
+ * @param {number} personId
4240
+ * @param {number} roleId
4241
+ * @param {*} [options] Override http request option.
4242
+ * @throws {RequiredError}
4243
+ */
4244
+ getJurUsersWithoutGivenRole(personId: number, roleId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserDto>>>;
4245
+ /**
4246
+ *
4247
+ * @summary get User(akKasutaja)
4248
+ * @param {number} userId
4249
+ * @param {*} [options] Override http request option.
4250
+ * @throws {RequiredError}
4251
+ */
4252
+ getUser(userId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDto>>;
4253
+ /**
4254
+ *
4255
+ * @summary Isikule privaatse vestluse adressaadiks lubatud isikute loetelu
4256
+ * @param {string} [searchInput] text input of search for names
4257
+ * @param {*} [options] Override http request option.
4258
+ * @throws {RequiredError}
4259
+ */
4260
+ getUserPossibleRecipients(searchInput?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserPossiblePorceedingSupervisorDto>>>;
4261
+ /**
4262
+ *
4263
+ * @summary get Users(akKasutaja)
4264
+ * @param {number} personId
4265
+ * @param {*} [options] Override http request option.
4266
+ * @throws {RequiredError}
4267
+ */
4268
+ getUsers(personId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserDto>>>;
4269
+ /**
4270
+ * Retrieve users JurPerson with users by user id
4271
+ * @summary get jur person(AkIsik)
4272
+ * @param {number} userId
4273
+ * @param {boolean} [valid]
4274
+ * @param {*} [options] Override http request option.
4275
+ * @throws {RequiredError}
4276
+ */
4277
+ getUsersJurPerson(userId: number, valid?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JurPersonDto>>;
4278
+ /**
4279
+ *
4280
+ * @summary update User(akKasutaja)
4281
+ * @param {number} userId
4282
+ * @param {UserDto} [userDto]
4283
+ * @param {*} [options] Override http request option.
4284
+ * @throws {RequiredError}
4285
+ */
4286
+ updateUser(userId: number, userDto?: UserDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDto>>;
4287
+ /**
4288
+ *
4289
+ * @param {number} userRoleRelId
4290
+ * @param {UserRoleModificationDataDto} [userRoleModificationDataDto]
4291
+ * @param {*} [options] Override http request option.
4292
+ * @throws {RequiredError}
4293
+ */
4294
+ updateUserRole(userRoleRelId: number, userRoleModificationDataDto?: UserRoleModificationDataDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserAndRoleDto>>;
4295
+ };
4296
+ /**
4297
+ * UserApiEndpointApi - factory interface
4298
+ * @export
4299
+ */
4300
+ export declare const UserApiEndpointApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
4301
+ /**
4302
+ *
4303
+ * @param {UserRoleModificationDataDto} [userRoleModificationDataDto]
4304
+ * @param {*} [options] Override http request option.
4305
+ * @throws {RequiredError}
4306
+ */
4307
+ addRoleToUser(userRoleModificationDataDto?: UserRoleModificationDataDto, options?: any): AxiosPromise<UserAndRoleDto>;
4308
+ /**
4309
+ *
4310
+ * @summary add User(akKasutaja)
4311
+ * @param {UserDto} [userDto]
4312
+ * @param {*} [options] Override http request option.
4313
+ * @throws {RequiredError}
4314
+ */
4315
+ addUser(userDto?: UserDto, options?: any): AxiosPromise<UserDto>;
4316
+ /**
4317
+ *
4318
+ * @summary Appoint user substitute for documents in a state which needs attention
4319
+ * @param {UserSubstituteDto} [userSubstituteDto]
4320
+ * @param {*} [options] Override http request option.
4321
+ * @throws {RequiredError}
4322
+ */
4323
+ appointSubstituteUser(userSubstituteDto?: UserSubstituteDto, options?: any): AxiosPromise<void>;
4324
+ /**
4325
+ *
4326
+ * @summary delete User(akKasutaja)
4327
+ * @param {number} userId
4328
+ * @param {*} [options] Override http request option.
4329
+ * @throws {RequiredError}
4330
+ */
4331
+ deleteUser(userId: number, options?: any): AxiosPromise<UserDto>;
4332
+ /**
4333
+ *
4334
+ * @param {number} userRoleRelId
4335
+ * @param {*} [options] Override http request option.
4336
+ * @throws {RequiredError}
4337
+ */
4338
+ deleteUserRole(userRoleRelId: number, options?: any): AxiosPromise<UserAndRoleDto>;
4339
+ /**
4340
+ *
4341
+ * @param {number} roleId
4342
+ * @param {*} [options] Override http request option.
4343
+ * @throws {RequiredError}
4344
+ */
4345
+ findUsersByRoleId(roleId: number, options?: any): AxiosPromise<Array<UserAndRoleDto>>;
4346
+ /**
4347
+ *
4348
+ * @param {*} [options] Override http request option.
4349
+ * @throws {RequiredError}
4350
+ */
4351
+ getAllClassifierUserRoleDtos(options?: any): AxiosPromise<Array<ClassifierUserRoleDto>>;
4352
+ /**
4353
+ *
4354
+ * @param {*} [options] Override http request option.
4355
+ * @throws {RequiredError}
4356
+ */
4357
+ getHealth(options?: any): AxiosPromise<string>;
4358
+ /**
4359
+ * Returns users by institution id
4360
+ * @summary get Users(akKasutaja)
4361
+ * @param {number} personId
4362
+ * @param {*} [options] Override http request option.
4363
+ * @throws {RequiredError}
4364
+ */
4365
+ getJurUsers(personId: number, options?: any): AxiosPromise<Array<UserDto>>;
4366
+ /**
4367
+ *
4368
+ * @summary get Users(akKasutaja)
4369
+ * @param {number} personId
4370
+ * @param {number} roleId
4371
+ * @param {*} [options] Override http request option.
4372
+ * @throws {RequiredError}
4373
+ */
4374
+ getJurUsersWithoutGivenRole(personId: number, roleId: number, options?: any): AxiosPromise<Array<UserDto>>;
4375
+ /**
4376
+ *
4377
+ * @summary get User(akKasutaja)
4378
+ * @param {number} userId
4379
+ * @param {*} [options] Override http request option.
4380
+ * @throws {RequiredError}
4381
+ */
4382
+ getUser(userId: number, options?: any): AxiosPromise<UserDto>;
4383
+ /**
4384
+ *
4385
+ * @summary Isikule privaatse vestluse adressaadiks lubatud isikute loetelu
4386
+ * @param {string} [searchInput] text input of search for names
4387
+ * @param {*} [options] Override http request option.
4388
+ * @throws {RequiredError}
4389
+ */
4390
+ getUserPossibleRecipients(searchInput?: string, options?: any): AxiosPromise<Array<UserPossiblePorceedingSupervisorDto>>;
4391
+ /**
4392
+ *
4393
+ * @summary get Users(akKasutaja)
4394
+ * @param {number} personId
4395
+ * @param {*} [options] Override http request option.
4396
+ * @throws {RequiredError}
4397
+ */
4398
+ getUsers(personId: number, options?: any): AxiosPromise<Array<UserDto>>;
4399
+ /**
4400
+ * Retrieve users JurPerson with users by user id
4401
+ * @summary get jur person(AkIsik)
4402
+ * @param {number} userId
4403
+ * @param {boolean} [valid]
4404
+ * @param {*} [options] Override http request option.
4405
+ * @throws {RequiredError}
4406
+ */
4407
+ getUsersJurPerson(userId: number, valid?: boolean, options?: any): AxiosPromise<JurPersonDto>;
4408
+ /**
4409
+ *
4410
+ * @summary update User(akKasutaja)
4411
+ * @param {number} userId
4412
+ * @param {UserDto} [userDto]
4413
+ * @param {*} [options] Override http request option.
4414
+ * @throws {RequiredError}
4415
+ */
4416
+ updateUser(userId: number, userDto?: UserDto, options?: any): AxiosPromise<UserDto>;
4417
+ /**
4418
+ *
4419
+ * @param {number} userRoleRelId
4420
+ * @param {UserRoleModificationDataDto} [userRoleModificationDataDto]
4421
+ * @param {*} [options] Override http request option.
4422
+ * @throws {RequiredError}
4423
+ */
4424
+ updateUserRole(userRoleRelId: number, userRoleModificationDataDto?: UserRoleModificationDataDto, options?: any): AxiosPromise<UserAndRoleDto>;
4425
+ };
4426
+ /**
4427
+ * UserApiEndpointApi - object-oriented interface
4428
+ * @export
4429
+ * @class UserApiEndpointApi
4430
+ * @extends {BaseAPI}
4431
+ */
4432
+ export declare class UserApiEndpointApi extends BaseAPI {
4433
+ /**
4434
+ *
4435
+ * @param {UserRoleModificationDataDto} [userRoleModificationDataDto]
4436
+ * @param {*} [options] Override http request option.
4437
+ * @throws {RequiredError}
4438
+ * @memberof UserApiEndpointApi
4439
+ */
4440
+ addRoleToUser(userRoleModificationDataDto?: UserRoleModificationDataDto, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserAndRoleDto, any>>;
4441
+ /**
4442
+ *
4443
+ * @summary add User(akKasutaja)
4444
+ * @param {UserDto} [userDto]
4445
+ * @param {*} [options] Override http request option.
4446
+ * @throws {RequiredError}
4447
+ * @memberof UserApiEndpointApi
4448
+ */
4449
+ addUser(userDto?: UserDto, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserDto, any>>;
4450
+ /**
4451
+ *
4452
+ * @summary Appoint user substitute for documents in a state which needs attention
4453
+ * @param {UserSubstituteDto} [userSubstituteDto]
4454
+ * @param {*} [options] Override http request option.
4455
+ * @throws {RequiredError}
4456
+ * @memberof UserApiEndpointApi
4457
+ */
4458
+ appointSubstituteUser(userSubstituteDto?: UserSubstituteDto, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any>>;
4459
+ /**
4460
+ *
4461
+ * @summary delete User(akKasutaja)
4462
+ * @param {number} userId
4463
+ * @param {*} [options] Override http request option.
4464
+ * @throws {RequiredError}
4465
+ * @memberof UserApiEndpointApi
4466
+ */
4467
+ deleteUser(userId: number, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserDto, any>>;
4468
+ /**
4469
+ *
4470
+ * @param {number} userRoleRelId
4471
+ * @param {*} [options] Override http request option.
4472
+ * @throws {RequiredError}
4473
+ * @memberof UserApiEndpointApi
4474
+ */
4475
+ deleteUserRole(userRoleRelId: number, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserAndRoleDto, any>>;
4476
+ /**
4477
+ *
4478
+ * @param {number} roleId
4479
+ * @param {*} [options] Override http request option.
4480
+ * @throws {RequiredError}
4481
+ * @memberof UserApiEndpointApi
4482
+ */
4483
+ findUsersByRoleId(roleId: number, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserAndRoleDto[], any>>;
4484
+ /**
4485
+ *
4486
+ * @param {*} [options] Override http request option.
4487
+ * @throws {RequiredError}
4488
+ * @memberof UserApiEndpointApi
4489
+ */
4490
+ getAllClassifierUserRoleDtos(options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<ClassifierUserRoleDto[], any>>;
4491
+ /**
4492
+ *
4493
+ * @param {*} [options] Override http request option.
4494
+ * @throws {RequiredError}
4495
+ * @memberof UserApiEndpointApi
4496
+ */
4497
+ getHealth(options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<string, any>>;
4498
+ /**
4499
+ * Returns users by institution id
4500
+ * @summary get Users(akKasutaja)
4501
+ * @param {number} personId
4502
+ * @param {*} [options] Override http request option.
4503
+ * @throws {RequiredError}
4504
+ * @memberof UserApiEndpointApi
4505
+ */
4506
+ getJurUsers(personId: number, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserDto[], any>>;
4507
+ /**
4508
+ *
4509
+ * @summary get Users(akKasutaja)
4510
+ * @param {number} personId
4511
+ * @param {number} roleId
4512
+ * @param {*} [options] Override http request option.
4513
+ * @throws {RequiredError}
4514
+ * @memberof UserApiEndpointApi
4515
+ */
4516
+ getJurUsersWithoutGivenRole(personId: number, roleId: number, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserDto[], any>>;
4517
+ /**
4518
+ *
4519
+ * @summary get User(akKasutaja)
4520
+ * @param {number} userId
4521
+ * @param {*} [options] Override http request option.
4522
+ * @throws {RequiredError}
4523
+ * @memberof UserApiEndpointApi
4524
+ */
4525
+ getUser(userId: number, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserDto, any>>;
4526
+ /**
4527
+ *
4528
+ * @summary Isikule privaatse vestluse adressaadiks lubatud isikute loetelu
4529
+ * @param {string} [searchInput] text input of search for names
4530
+ * @param {*} [options] Override http request option.
4531
+ * @throws {RequiredError}
4532
+ * @memberof UserApiEndpointApi
4533
+ */
4534
+ getUserPossibleRecipients(searchInput?: string, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserPossiblePorceedingSupervisorDto[], any>>;
4535
+ /**
4536
+ *
4537
+ * @summary get Users(akKasutaja)
4538
+ * @param {number} personId
4539
+ * @param {*} [options] Override http request option.
4540
+ * @throws {RequiredError}
4541
+ * @memberof UserApiEndpointApi
4542
+ */
4543
+ getUsers(personId: number, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserDto[], any>>;
4544
+ /**
4545
+ * Retrieve users JurPerson with users by user id
4546
+ * @summary get jur person(AkIsik)
4547
+ * @param {number} userId
4548
+ * @param {boolean} [valid]
4549
+ * @param {*} [options] Override http request option.
4550
+ * @throws {RequiredError}
4551
+ * @memberof UserApiEndpointApi
4552
+ */
4553
+ getUsersJurPerson(userId: number, valid?: boolean, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<JurPersonDto, any>>;
4554
+ /**
4555
+ *
4556
+ * @summary update User(akKasutaja)
4557
+ * @param {number} userId
4558
+ * @param {UserDto} [userDto]
4559
+ * @param {*} [options] Override http request option.
4560
+ * @throws {RequiredError}
4561
+ * @memberof UserApiEndpointApi
4562
+ */
4563
+ updateUser(userId: number, userDto?: UserDto, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserDto, any>>;
4564
+ /**
4565
+ *
4566
+ * @param {number} userRoleRelId
4567
+ * @param {UserRoleModificationDataDto} [userRoleModificationDataDto]
4568
+ * @param {*} [options] Override http request option.
4569
+ * @throws {RequiredError}
4570
+ * @memberof UserApiEndpointApi
4571
+ */
4572
+ updateUserRole(userRoleRelId: number, userRoleModificationDataDto?: UserRoleModificationDataDto, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserAndRoleDto, any>>;
4573
+ }
4574
+ /**
4575
+ * UserProfileEndpointApi - axios parameter creator
4576
+ * @export
4577
+ */
4578
+ export declare const UserProfileEndpointApiAxiosParamCreator: (configuration?: Configuration) => {
4579
+ /**
4580
+ *
4581
+ * @summary get persons users(akKasutaja)
4582
+ * @param {number} personId
4583
+ * @param {*} [options] Override http request option.
4584
+ * @throws {RequiredError}
4585
+ */
4586
+ getPersonUsers: (personId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4587
+ /**
4588
+ *
4589
+ * @summary update user profile person
4590
+ * @param {number} personId
4591
+ * @param {number} [body]
4592
+ * @param {*} [options] Override http request option.
4593
+ * @throws {RequiredError}
4594
+ */
4595
+ updateProfilePersonDefaultUser: (personId: number, body?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4596
+ /**
4597
+ *
4598
+ * @summary update user profile user
4599
+ * @param {number} userId
4600
+ * @param {UserProfileDto} [userProfileDto]
4601
+ * @param {*} [options] Override http request option.
4602
+ * @throws {RequiredError}
4603
+ */
4604
+ updateProfileUser: (userId: number, userProfileDto?: UserProfileDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4605
+ };
4606
+ /**
4607
+ * UserProfileEndpointApi - functional programming interface
4608
+ * @export
4609
+ */
4610
+ export declare const UserProfileEndpointApiFp: (configuration?: Configuration) => {
4611
+ /**
4612
+ *
4613
+ * @summary get persons users(akKasutaja)
4614
+ * @param {number} personId
4615
+ * @param {*} [options] Override http request option.
4616
+ * @throws {RequiredError}
4617
+ */
4618
+ getPersonUsers(personId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserDto>>>;
4619
+ /**
4620
+ *
4621
+ * @summary update user profile person
4622
+ * @param {number} personId
4623
+ * @param {number} [body]
4624
+ * @param {*} [options] Override http request option.
4625
+ * @throws {RequiredError}
4626
+ */
4627
+ updateProfilePersonDefaultUser(personId: number, body?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PersonDto>>;
4628
+ /**
4629
+ *
4630
+ * @summary update user profile user
4631
+ * @param {number} userId
4632
+ * @param {UserProfileDto} [userProfileDto]
4633
+ * @param {*} [options] Override http request option.
4634
+ * @throws {RequiredError}
4635
+ */
4636
+ updateProfileUser(userId: number, userProfileDto?: UserProfileDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDto>>;
4637
+ };
4638
+ /**
4639
+ * UserProfileEndpointApi - factory interface
4640
+ * @export
4641
+ */
4642
+ export declare const UserProfileEndpointApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
4643
+ /**
4644
+ *
4645
+ * @summary get persons users(akKasutaja)
4646
+ * @param {number} personId
4647
+ * @param {*} [options] Override http request option.
4648
+ * @throws {RequiredError}
4649
+ */
4650
+ getPersonUsers(personId: number, options?: any): AxiosPromise<Array<UserDto>>;
4651
+ /**
4652
+ *
4653
+ * @summary update user profile person
4654
+ * @param {number} personId
4655
+ * @param {number} [body]
4656
+ * @param {*} [options] Override http request option.
4657
+ * @throws {RequiredError}
4658
+ */
4659
+ updateProfilePersonDefaultUser(personId: number, body?: number, options?: any): AxiosPromise<PersonDto>;
4660
+ /**
4661
+ *
4662
+ * @summary update user profile user
4663
+ * @param {number} userId
4664
+ * @param {UserProfileDto} [userProfileDto]
4665
+ * @param {*} [options] Override http request option.
4666
+ * @throws {RequiredError}
4667
+ */
4668
+ updateProfileUser(userId: number, userProfileDto?: UserProfileDto, options?: any): AxiosPromise<UserDto>;
4669
+ };
4670
+ /**
4671
+ * UserProfileEndpointApi - object-oriented interface
4672
+ * @export
4673
+ * @class UserProfileEndpointApi
4674
+ * @extends {BaseAPI}
4675
+ */
4676
+ export declare class UserProfileEndpointApi extends BaseAPI {
4677
+ /**
4678
+ *
4679
+ * @summary get persons users(akKasutaja)
4680
+ * @param {number} personId
4681
+ * @param {*} [options] Override http request option.
4682
+ * @throws {RequiredError}
4683
+ * @memberof UserProfileEndpointApi
4684
+ */
4685
+ getPersonUsers(personId: number, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserDto[], any>>;
4686
+ /**
4687
+ *
4688
+ * @summary update user profile person
4689
+ * @param {number} personId
4690
+ * @param {number} [body]
4691
+ * @param {*} [options] Override http request option.
4692
+ * @throws {RequiredError}
4693
+ * @memberof UserProfileEndpointApi
4694
+ */
4695
+ updateProfilePersonDefaultUser(personId: number, body?: number, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PersonDto, any>>;
4696
+ /**
4697
+ *
4698
+ * @summary update user profile user
4699
+ * @param {number} userId
4700
+ * @param {UserProfileDto} [userProfileDto]
4701
+ * @param {*} [options] Override http request option.
4702
+ * @throws {RequiredError}
4703
+ * @memberof UserProfileEndpointApi
4704
+ */
4705
+ updateProfileUser(userId: number, userProfileDto?: UserProfileDto, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<UserDto, any>>;
4706
+ }