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.
- package/README.md +41 -0
- package/dist/index.cjs.js +2 -0
- package/dist/index.cjs.js.LICENSE.txt +9 -0
- package/dist/index.esm.js +2 -0
- package/dist/index.esm.js.LICENSE.txt +9 -0
- package/dist/index.umd.js +2 -0
- package/dist/index.umd.js.LICENSE.txt +9 -0
- package/dist/l10n/eehitus-my-proceeding-ui-combined_translations_en.json +1 -0
- package/dist/l10n/eehitus-my-proceeding-ui-combined_translations_et.json +1 -0
- package/dist/l10n/eehitus-my-proceeding-ui-combined_translations_ru.json +1 -0
- package/dist/types/App.d.ts +5 -0
- package/dist/types/Reducer.d.ts +2 -0
- package/dist/types/__mocks__/fileMock.d.ts +2 -0
- package/dist/types/components/Demo.d.ts +3 -0
- package/dist/types/components/DemoAdministrativeProceedings.d.ts +3 -0
- package/dist/types/components/DemoApprovals.d.ts +3 -0
- package/dist/types/components/DemoDetailSearch.d.ts +3 -0
- package/dist/types/components/DemoDocuments.d.ts +3 -0
- package/dist/types/components/DemoInvolvements.d.ts +3 -0
- package/dist/types/components/DemoOpinions.d.ts +3 -0
- package/dist/types/components/DemoProceedings.d.ts +3 -0
- package/dist/types/components/common/AddressesService.d.ts +5 -0
- package/dist/types/components/common/CommonServices.d.ts +5 -0
- package/dist/types/components/common/TableService.d.ts +18 -0
- package/dist/types/components/common/classificators/BuildingStates.d.ts +9 -0
- package/dist/types/components/common/classificators/DocumentStates.d.ts +25 -0
- package/dist/types/components/common/classificators/OperationStates.d.ts +34 -0
- package/dist/types/components/common/classificators/ProceedingStates.d.ts +9 -0
- package/dist/types/components/common/components/DateRangeExtended.d.ts +14 -0
- package/dist/types/components/common/components/DeletePopoverExtended.d.ts +12 -0
- package/dist/types/components/common/components/DeleteTableRow.d.ts +7 -0
- package/dist/types/components/common/components/DownloadTableRow.d.ts +9 -0
- package/dist/types/components/common/components/LinkWithDarkTooltip.d.ts +9 -0
- package/dist/types/components/common/components/LinkWithTooltip.d.ts +7 -0
- package/dist/types/components/common/components/Phone.d.ts +13 -0
- package/dist/types/components/common/components/TableSortingArrows.d.ts +6 -0
- package/dist/types/components/common/components/operation/filter/OperationsFilter.d.ts +10 -0
- package/dist/types/components/common/components/operation/filter/OperationsFilterService.d.ts +10 -0
- package/dist/types/components/common/components/operation/operationsTable/OperationsTable.d.ts +11 -0
- package/dist/types/components/common/components/operation/types/OperationsFilterType.d.ts +18 -0
- package/dist/types/components/common/components/personalCodeValidator.d.ts +2 -0
- package/dist/types/components/common/components/tablecomponent/TableComponentUtils.d.ts +2 -0
- package/dist/types/components/common/constants/Constants.d.ts +72 -0
- package/dist/types/components/common/filterService/CommonFilterService.d.ts +6 -0
- package/dist/types/components/common/stateServices/BuildingStateService.d.ts +9 -0
- package/dist/types/components/common/stateServices/DocumentStateService.d.ts +6 -0
- package/dist/types/components/common/stateServices/OperationStateService.d.ts +25 -0
- package/dist/types/components/common/stateServices/ProceedingStateService.d.ts +9 -0
- package/dist/types/components/common/types/MultiselectTypeOption.d.ts +9 -0
- package/dist/types/components/dto/MyDocuments.d.ts +40 -0
- package/dist/types/components/form/checkBox.d.ts +2 -0
- package/dist/types/components/model/StatusTypes.d.ts +15 -0
- package/dist/types/components/page/detailsearch/detailsearch.d.ts +14 -0
- package/dist/types/components/page/detailsearch/detailsearch.test.d.ts +1 -0
- package/dist/types/components/page/detailsearch/filter/BuildingsDetailSearchFilter.d.ts +10 -0
- package/dist/types/components/page/detailsearch/filter/BuildingsDetailSearchFilter.test.d.ts +1 -0
- package/dist/types/components/page/detailsearch/filter/DetailSearchFilterService.d.ts +12 -0
- package/dist/types/components/page/detailsearch/filter/DocumentsDetailSearchFilter.d.ts +9 -0
- package/dist/types/components/page/detailsearch/filter/DocumentsDetailSearchFilter.test.d.ts +1 -0
- package/dist/types/components/page/detailsearch/filter/ProceedingsDetailSearchFilter.d.ts +6 -0
- package/dist/types/components/page/detailsearch/tables/DetailSearchBuildings.d.ts +9 -0
- package/dist/types/components/page/detailsearch/tables/DetailSearchBuildings.test.d.ts +1 -0
- package/dist/types/components/page/detailsearch/tables/DetailSearchDocuments.d.ts +12 -0
- package/dist/types/components/page/detailsearch/tables/DetailSearchDocuments.test.d.ts +1 -0
- package/dist/types/components/page/detailsearch/tables/DetailSearchProceedings.d.ts +11 -0
- package/dist/types/components/page/detailsearch/tables/DetailSearchProceedings.test.d.ts +1 -0
- package/dist/types/components/page/detailsearch/tables/linkGenMock.d.ts +2 -0
- package/dist/types/components/page/detailsearch/types/BuildingsDetailSearchFilterType.d.ts +16 -0
- package/dist/types/components/page/detailsearch/types/DocumentsDetailSearchFilterType.d.ts +13 -0
- package/dist/types/components/page/detailsearch/types/ProceedingsDetailSearchFilterType.d.ts +10 -0
- package/dist/types/components/page/myAdministrativeProceedings/AdministrativeProceedingsTable.d.ts +8 -0
- package/dist/types/components/page/myAdministrativeProceedings/MyAdministrativeProceedings.d.ts +8 -0
- package/dist/types/components/page/myAdministrativeProceedings/components/AdminProceedingsReminderSection.d.ts +6 -0
- package/dist/types/components/page/myAdministrativeProceedings/components/AdminProceedingsSection.d.ts +7 -0
- package/dist/types/components/page/myapprovals/myapprovals.d.ts +11 -0
- package/dist/types/components/page/mydocuments/common/AddNewDocumentButton.d.ts +5 -0
- package/dist/types/components/page/mydocuments/common/FinishedDocDotys.d.ts +1 -0
- package/dist/types/components/page/mydocuments/common/SigningDocDocys.d.ts +1 -0
- package/dist/types/components/page/mydocuments/common/WorkingDocDotys.d.ts +1 -0
- package/dist/types/components/page/mydocuments/documentTable/DocumentTableMoreActionsPopover.d.ts +8 -0
- package/dist/types/components/page/mydocuments/documentTable/DocumentsTable.d.ts +17 -0
- package/dist/types/components/page/mydocuments/filter/DocumentsFilter.d.ts +10 -0
- package/dist/types/components/page/mydocuments/filter/DocumentsFilterService.d.ts +5 -0
- package/dist/types/components/page/mydocuments/filter/FilterDocumentStatesBasedOnDocTypes.d.ts +9 -0
- package/dist/types/components/page/mydocuments/filter/FilterDocumentTypes.d.ts +1 -0
- package/dist/types/components/page/mydocuments/mydocuments.d.ts +8 -0
- package/dist/types/components/page/mydocuments/types/DocumentsFilterType.d.ts +17 -0
- package/dist/types/components/page/myinvolvements/filter/InvolvementsFilter.d.ts +8 -0
- package/dist/types/components/page/myinvolvements/myinvolvements.d.ts +11 -0
- package/dist/types/components/page/myopinions/myopinions.d.ts +11 -0
- package/dist/types/components/page/myproceedings/filter/ProceedingsFilter.d.ts +9 -0
- package/dist/types/components/page/myproceedings/filter/ProceedingsFilterService.d.ts +12 -0
- package/dist/types/components/page/myproceedings/myproceedings.d.ts +12 -0
- package/dist/types/components/page/myproceedings/proceedingTable/MyProceedingsTable.d.ts +11 -0
- package/dist/types/components/page/myproceedings/types/ProceedingsFilterType.d.ts +17 -0
- package/dist/types/components/services/buildings_actual_data_api_client/api.d.ts +8403 -0
- package/dist/types/components/services/buildings_actual_data_api_client/base.d.ts +55 -0
- package/dist/types/components/services/buildings_actual_data_api_client/common.d.ts +65 -0
- package/dist/types/components/services/buildings_actual_data_api_client/configuration.d.ts +83 -0
- package/dist/types/components/services/buildings_actual_data_api_client/index.d.ts +13 -0
- package/dist/types/components/services/classifier_api_client/api.d.ts +499 -0
- package/dist/types/components/services/classifier_api_client/base.d.ts +55 -0
- package/dist/types/components/services/classifier_api_client/common.d.ts +65 -0
- package/dist/types/components/services/classifier_api_client/configuration.d.ts +83 -0
- package/dist/types/components/services/classifier_api_client/index.d.ts +13 -0
- package/dist/types/components/services/document_api_client/api.d.ts +8727 -0
- package/dist/types/components/services/document_api_client/base.d.ts +55 -0
- package/dist/types/components/services/document_api_client/common.d.ts +65 -0
- package/dist/types/components/services/document_api_client/configuration.d.ts +83 -0
- package/dist/types/components/services/document_api_client/index.d.ts +13 -0
- package/dist/types/components/services/file_api_client/api.d.ts +782 -0
- package/dist/types/components/services/file_api_client/base.d.ts +55 -0
- package/dist/types/components/services/file_api_client/common.d.ts +65 -0
- package/dist/types/components/services/file_api_client/configuration.d.ts +83 -0
- package/dist/types/components/services/file_api_client/index.d.ts +13 -0
- package/dist/types/components/services/my_views_api_client/api.d.ts +1806 -0
- package/dist/types/components/services/my_views_api_client/base.d.ts +66 -0
- package/dist/types/components/services/my_views_api_client/common.d.ts +65 -0
- package/dist/types/components/services/my_views_api_client/configuration.d.ts +91 -0
- package/dist/types/components/services/my_views_api_client/index.d.ts +13 -0
- package/dist/types/components/services/user_api_client/api.d.ts +4706 -0
- package/dist/types/components/services/user_api_client/base.d.ts +54 -0
- package/dist/types/components/services/user_api_client/common.d.ts +65 -0
- package/dist/types/components/services/user_api_client/configuration.d.ts +83 -0
- package/dist/types/components/services/user_api_client/index.d.ts +13 -0
- package/dist/types/components/services/yld_esi_api_client/api.d.ts +401 -0
- package/dist/types/components/services/yld_esi_api_client/base.d.ts +54 -0
- package/dist/types/components/services/yld_esi_api_client/common.d.ts +65 -0
- package/dist/types/components/services/yld_esi_api_client/configuration.d.ts +83 -0
- package/dist/types/components/services/yld_esi_api_client/index.d.ts +13 -0
- package/dist/types/components/util/DateFormatUtils.d.ts +12 -0
- package/dist/types/components/util/link-utils.d.ts +18 -0
- package/dist/types/components/util/redirect-utils.d.ts +19 -0
- package/dist/types/hooks/useAreaProceedings.d.ts +8 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/indexExport.d.ts +13 -0
- package/dist/types/mocks/kaosClassifierMock.d.ts +20 -0
- package/dist/types/rbac-rules.d.ts +57 -0
- package/dist/types/redux/actions/parametersAction.d.ts +4 -0
- package/dist/types/redux/api/index.d.ts +25 -0
- package/dist/types/redux/constants/action.d.ts +2 -0
- package/dist/types/redux/middleware/middleware.d.ts +4 -0
- package/dist/types/redux/parametersService.d.ts +5 -0
- package/dist/types/redux/reducers/detailSearchSlice.d.ts +6 -0
- package/dist/types/redux/reducers/detailSearchState.d.ts +7 -0
- package/dist/types/redux/reducers/documentsSlice.d.ts +6 -0
- package/dist/types/redux/reducers/documentsState.d.ts +8 -0
- package/dist/types/redux/reducers/filterSlice.d.ts +8 -0
- package/dist/types/redux/reducers/filterState.d.ts +11 -0
- package/dist/types/redux/reducers/myOperationsSlice.d.ts +5 -0
- package/dist/types/redux/reducers/myOperationsState.d.ts +6 -0
- package/dist/types/redux/reducers/parametersReducer.d.ts +2 -0
- package/dist/types/redux/reducers/proceedingsSlice.d.ts +5 -0
- package/dist/types/redux/reducers/proceedingsState.d.ts +6 -0
- package/dist/types/redux/reducers/reducer.d.ts +4 -0
- package/dist/types/redux/reducers/rootReducer.d.ts +9 -0
- package/dist/types/redux/store.d.ts +2 -0
- package/dist/types/redux/types/parameters.d.ts +3 -0
- package/dist/types/serviceWorker.d.ts +2 -0
- package/dist/types/setupTests.d.ts +2 -0
- package/package.json +256 -0
|
@@ -0,0 +1,499 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EHR Classifier API
|
|
3
|
+
* Classifier API for Ebuilding
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
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 { Configuration } from './configuration';
|
|
13
|
+
import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';
|
|
14
|
+
import { RequestArgs, BaseAPI } from './base';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface Classifier
|
|
19
|
+
*/
|
|
20
|
+
export interface Classifier {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof Classifier
|
|
25
|
+
*/
|
|
26
|
+
code: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof Classifier
|
|
31
|
+
*/
|
|
32
|
+
value: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof Classifier
|
|
37
|
+
*/
|
|
38
|
+
description?: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof Classifier
|
|
43
|
+
*/
|
|
44
|
+
additionalDescription?: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Date}
|
|
48
|
+
* @memberof Classifier
|
|
49
|
+
*/
|
|
50
|
+
validToDate?: Date;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof Classifier
|
|
55
|
+
*/
|
|
56
|
+
additionalValue?: string;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @export
|
|
61
|
+
* @interface ClassifierBusinessTypeDto
|
|
62
|
+
*/
|
|
63
|
+
export interface ClassifierBusinessTypeDto {
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof ClassifierBusinessTypeDto
|
|
68
|
+
*/
|
|
69
|
+
name?: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof ClassifierBusinessTypeDto
|
|
74
|
+
*/
|
|
75
|
+
code?: string;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @export
|
|
80
|
+
* @interface ClassifierUserRoleDto
|
|
81
|
+
*/
|
|
82
|
+
export interface ClassifierUserRoleDto {
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof ClassifierUserRoleDto
|
|
87
|
+
*/
|
|
88
|
+
code?: string;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof ClassifierUserRoleDto
|
|
93
|
+
*/
|
|
94
|
+
name?: string;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @export
|
|
99
|
+
* @interface DocumentType
|
|
100
|
+
*/
|
|
101
|
+
export interface DocumentType {
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {number}
|
|
105
|
+
* @memberof DocumentType
|
|
106
|
+
*/
|
|
107
|
+
id: number;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof DocumentType
|
|
112
|
+
*/
|
|
113
|
+
name: string;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof DocumentType
|
|
118
|
+
*/
|
|
119
|
+
name_eng?: string;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof DocumentType
|
|
124
|
+
*/
|
|
125
|
+
validFrom?: string;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof DocumentType
|
|
130
|
+
*/
|
|
131
|
+
validTo?: string;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @export
|
|
136
|
+
* @interface FileType
|
|
137
|
+
*/
|
|
138
|
+
export interface FileType {
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @type {number}
|
|
142
|
+
* @memberof FileType
|
|
143
|
+
*/
|
|
144
|
+
id: number;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof FileType
|
|
149
|
+
*/
|
|
150
|
+
name: string;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @memberof FileType
|
|
155
|
+
*/
|
|
156
|
+
code: string;
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof FileType
|
|
161
|
+
*/
|
|
162
|
+
name_eng?: string;
|
|
163
|
+
/**
|
|
164
|
+
*
|
|
165
|
+
* @type {string}
|
|
166
|
+
* @memberof FileType
|
|
167
|
+
*/
|
|
168
|
+
validTo?: string;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* ClassifierApiEndpointApi - axios parameter creator
|
|
172
|
+
* @export
|
|
173
|
+
*/
|
|
174
|
+
export declare const ClassifierApiEndpointApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @summary List of valid document types
|
|
178
|
+
* @param {*} [options] Override http request option.
|
|
179
|
+
* @throws {RequiredError}
|
|
180
|
+
*/
|
|
181
|
+
getAllDocumentTypes: (options?: any) => Promise<RequestArgs>;
|
|
182
|
+
/**
|
|
183
|
+
*
|
|
184
|
+
* @summary Kõigi hetkel kehtivate asutuse tüüpide loend (asutuse tüüp, asutuse tüübi nimi)
|
|
185
|
+
* @param {*} [options] Override http request option.
|
|
186
|
+
* @throws {RequiredError}
|
|
187
|
+
*/
|
|
188
|
+
getBusinessTypesList: (options?: any) => Promise<RequestArgs>;
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @summary List of available classifiers by type
|
|
192
|
+
* @param {string} classifierType Classifier type
|
|
193
|
+
* @param {*} [options] Override http request option.
|
|
194
|
+
* @throws {RequiredError}
|
|
195
|
+
*/
|
|
196
|
+
getClassifierByType: (classifierType: string, options?: any) => Promise<RequestArgs>;
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
* @summary List of available classifiers by related type
|
|
200
|
+
* @param {string} relatedClassifierType Related classifier type
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
*/
|
|
204
|
+
getClassifiersByRelatedType: (relatedClassifierType: string, options?: any) => Promise<RequestArgs>;
|
|
205
|
+
/**
|
|
206
|
+
*
|
|
207
|
+
* @summary List of available classifier elements by type
|
|
208
|
+
* @param {string} classifierTypesCommaSeparated Classifier types comma separated
|
|
209
|
+
* @param {*} [options] Override http request option.
|
|
210
|
+
* @throws {RequiredError}
|
|
211
|
+
*/
|
|
212
|
+
getClassifiersByType: (classifierTypesCommaSeparated: string, options?: any) => Promise<RequestArgs>;
|
|
213
|
+
/**
|
|
214
|
+
*
|
|
215
|
+
* @summary List of valid document(doty) types
|
|
216
|
+
* @param {*} [options] Override http request option.
|
|
217
|
+
* @throws {RequiredError}
|
|
218
|
+
*/
|
|
219
|
+
getDocumentTypes: (options?: any) => Promise<RequestArgs>;
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* @summary List of valid file(faty) types
|
|
223
|
+
* @param {*} [options] Override http request option.
|
|
224
|
+
* @throws {RequiredError}
|
|
225
|
+
*/
|
|
226
|
+
getFileTypes: (options?: any) => Promise<RequestArgs>;
|
|
227
|
+
/**
|
|
228
|
+
*
|
|
229
|
+
* @param {*} [options] Override http request option.
|
|
230
|
+
* @throws {RequiredError}
|
|
231
|
+
*/
|
|
232
|
+
getHealth: (options?: any) => Promise<RequestArgs>;
|
|
233
|
+
/**
|
|
234
|
+
*
|
|
235
|
+
* @summary List of all usage classifier types
|
|
236
|
+
* @param {*} [options] Override http request option.
|
|
237
|
+
* @throws {RequiredError}
|
|
238
|
+
*/
|
|
239
|
+
getUsageClassifierTypes: (options?: any) => Promise<RequestArgs>;
|
|
240
|
+
/**
|
|
241
|
+
*
|
|
242
|
+
* @summary Kõigi hetkel kehtivate rollide loend (rolli kood, rolli nimi)
|
|
243
|
+
* @param {*} [options] Override http request option.
|
|
244
|
+
* @throws {RequiredError}
|
|
245
|
+
*/
|
|
246
|
+
getUserRolesList: (options?: any) => Promise<RequestArgs>;
|
|
247
|
+
};
|
|
248
|
+
/**
|
|
249
|
+
* ClassifierApiEndpointApi - functional programming interface
|
|
250
|
+
* @export
|
|
251
|
+
*/
|
|
252
|
+
export declare const ClassifierApiEndpointApiFp: (configuration?: Configuration) => {
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @summary List of valid document types
|
|
256
|
+
* @param {*} [options] Override http request option.
|
|
257
|
+
* @throws {RequiredError}
|
|
258
|
+
*/
|
|
259
|
+
getAllDocumentTypes(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DocumentType>>>;
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @summary Kõigi hetkel kehtivate asutuse tüüpide loend (asutuse tüüp, asutuse tüübi nimi)
|
|
263
|
+
* @param {*} [options] Override http request option.
|
|
264
|
+
* @throws {RequiredError}
|
|
265
|
+
*/
|
|
266
|
+
getBusinessTypesList(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ClassifierBusinessTypeDto>>>;
|
|
267
|
+
/**
|
|
268
|
+
*
|
|
269
|
+
* @summary List of available classifiers by type
|
|
270
|
+
* @param {string} classifierType Classifier type
|
|
271
|
+
* @param {*} [options] Override http request option.
|
|
272
|
+
* @throws {RequiredError}
|
|
273
|
+
*/
|
|
274
|
+
getClassifierByType(classifierType: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Classifier>>>;
|
|
275
|
+
/**
|
|
276
|
+
*
|
|
277
|
+
* @summary List of available classifiers by related type
|
|
278
|
+
* @param {string} relatedClassifierType Related classifier type
|
|
279
|
+
* @param {*} [options] Override http request option.
|
|
280
|
+
* @throws {RequiredError}
|
|
281
|
+
*/
|
|
282
|
+
getClassifiersByRelatedType(relatedClassifierType: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Classifier>>>;
|
|
283
|
+
/**
|
|
284
|
+
*
|
|
285
|
+
* @summary List of available classifier elements by type
|
|
286
|
+
* @param {string} classifierTypesCommaSeparated Classifier types comma separated
|
|
287
|
+
* @param {*} [options] Override http request option.
|
|
288
|
+
* @throws {RequiredError}
|
|
289
|
+
*/
|
|
290
|
+
getClassifiersByType(classifierTypesCommaSeparated: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => globalAxios.AxiosPromise<{
|
|
291
|
+
[key: string]: Classifier[];
|
|
292
|
+
}>>;
|
|
293
|
+
/**
|
|
294
|
+
*
|
|
295
|
+
* @summary List of valid document(doty) types
|
|
296
|
+
* @param {*} [options] Override http request option.
|
|
297
|
+
* @throws {RequiredError}
|
|
298
|
+
*/
|
|
299
|
+
getDocumentTypes(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DocumentType>>>;
|
|
300
|
+
/**
|
|
301
|
+
*
|
|
302
|
+
* @summary List of valid file(faty) types
|
|
303
|
+
* @param {*} [options] Override http request option.
|
|
304
|
+
* @throws {RequiredError}
|
|
305
|
+
*/
|
|
306
|
+
getFileTypes(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FileType>>>;
|
|
307
|
+
/**
|
|
308
|
+
*
|
|
309
|
+
* @param {*} [options] Override http request option.
|
|
310
|
+
* @throws {RequiredError}
|
|
311
|
+
*/
|
|
312
|
+
getHealth(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
313
|
+
/**
|
|
314
|
+
*
|
|
315
|
+
* @summary List of all usage classifier types
|
|
316
|
+
* @param {*} [options] Override http request option.
|
|
317
|
+
* @throws {RequiredError}
|
|
318
|
+
*/
|
|
319
|
+
getUsageClassifierTypes(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FileType>>>;
|
|
320
|
+
/**
|
|
321
|
+
*
|
|
322
|
+
* @summary Kõigi hetkel kehtivate rollide loend (rolli kood, rolli nimi)
|
|
323
|
+
* @param {*} [options] Override http request option.
|
|
324
|
+
* @throws {RequiredError}
|
|
325
|
+
*/
|
|
326
|
+
getUserRolesList(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ClassifierUserRoleDto>>>;
|
|
327
|
+
};
|
|
328
|
+
/**
|
|
329
|
+
* ClassifierApiEndpointApi - factory interface
|
|
330
|
+
* @export
|
|
331
|
+
*/
|
|
332
|
+
export declare const ClassifierApiEndpointApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
333
|
+
/**
|
|
334
|
+
*
|
|
335
|
+
* @summary List of valid document types
|
|
336
|
+
* @param {*} [options] Override http request option.
|
|
337
|
+
* @throws {RequiredError}
|
|
338
|
+
*/
|
|
339
|
+
getAllDocumentTypes(options?: any): AxiosPromise<Array<DocumentType>>;
|
|
340
|
+
/**
|
|
341
|
+
*
|
|
342
|
+
* @summary Kõigi hetkel kehtivate asutuse tüüpide loend (asutuse tüüp, asutuse tüübi nimi)
|
|
343
|
+
* @param {*} [options] Override http request option.
|
|
344
|
+
* @throws {RequiredError}
|
|
345
|
+
*/
|
|
346
|
+
getBusinessTypesList(options?: any): AxiosPromise<Array<ClassifierBusinessTypeDto>>;
|
|
347
|
+
/**
|
|
348
|
+
*
|
|
349
|
+
* @summary List of available classifiers by type
|
|
350
|
+
* @param {string} classifierType Classifier type
|
|
351
|
+
* @param {*} [options] Override http request option.
|
|
352
|
+
* @throws {RequiredError}
|
|
353
|
+
*/
|
|
354
|
+
getClassifierByType(classifierType: string, options?: any): AxiosPromise<Array<Classifier>>;
|
|
355
|
+
/**
|
|
356
|
+
*
|
|
357
|
+
* @summary List of available classifiers by related type
|
|
358
|
+
* @param {string} relatedClassifierType Related classifier type
|
|
359
|
+
* @param {*} [options] Override http request option.
|
|
360
|
+
* @throws {RequiredError}
|
|
361
|
+
*/
|
|
362
|
+
getClassifiersByRelatedType(relatedClassifierType: string, options?: any): AxiosPromise<Array<Classifier>>;
|
|
363
|
+
/**
|
|
364
|
+
*
|
|
365
|
+
* @summary List of available classifier elements by type
|
|
366
|
+
* @param {string} classifierTypesCommaSeparated Classifier types comma separated
|
|
367
|
+
* @param {*} [options] Override http request option.
|
|
368
|
+
* @throws {RequiredError}
|
|
369
|
+
*/
|
|
370
|
+
getClassifiersByType(classifierTypesCommaSeparated: string, options?: any): globalAxios.AxiosPromise<{
|
|
371
|
+
[key: string]: Classifier[];
|
|
372
|
+
}>;
|
|
373
|
+
/**
|
|
374
|
+
*
|
|
375
|
+
* @summary List of valid document(doty) types
|
|
376
|
+
* @param {*} [options] Override http request option.
|
|
377
|
+
* @throws {RequiredError}
|
|
378
|
+
*/
|
|
379
|
+
getDocumentTypes(options?: any): AxiosPromise<Array<DocumentType>>;
|
|
380
|
+
/**
|
|
381
|
+
*
|
|
382
|
+
* @summary List of valid file(faty) types
|
|
383
|
+
* @param {*} [options] Override http request option.
|
|
384
|
+
* @throws {RequiredError}
|
|
385
|
+
*/
|
|
386
|
+
getFileTypes(options?: any): AxiosPromise<Array<FileType>>;
|
|
387
|
+
/**
|
|
388
|
+
*
|
|
389
|
+
* @param {*} [options] Override http request option.
|
|
390
|
+
* @throws {RequiredError}
|
|
391
|
+
*/
|
|
392
|
+
getHealth(options?: any): AxiosPromise<string>;
|
|
393
|
+
/**
|
|
394
|
+
*
|
|
395
|
+
* @summary List of all usage classifier types
|
|
396
|
+
* @param {*} [options] Override http request option.
|
|
397
|
+
* @throws {RequiredError}
|
|
398
|
+
*/
|
|
399
|
+
getUsageClassifierTypes(options?: any): AxiosPromise<Array<FileType>>;
|
|
400
|
+
/**
|
|
401
|
+
*
|
|
402
|
+
* @summary Kõigi hetkel kehtivate rollide loend (rolli kood, rolli nimi)
|
|
403
|
+
* @param {*} [options] Override http request option.
|
|
404
|
+
* @throws {RequiredError}
|
|
405
|
+
*/
|
|
406
|
+
getUserRolesList(options?: any): AxiosPromise<Array<ClassifierUserRoleDto>>;
|
|
407
|
+
};
|
|
408
|
+
/**
|
|
409
|
+
* ClassifierApiEndpointApi - object-oriented interface
|
|
410
|
+
* @export
|
|
411
|
+
* @class ClassifierApiEndpointApi
|
|
412
|
+
* @extends {BaseAPI}
|
|
413
|
+
*/
|
|
414
|
+
export declare class ClassifierApiEndpointApi extends BaseAPI {
|
|
415
|
+
/**
|
|
416
|
+
*
|
|
417
|
+
* @summary List of valid document types
|
|
418
|
+
* @param {*} [options] Override http request option.
|
|
419
|
+
* @throws {RequiredError}
|
|
420
|
+
* @memberof ClassifierApiEndpointApi
|
|
421
|
+
*/
|
|
422
|
+
getAllDocumentTypes(options?: any): Promise<globalAxios.AxiosResponse<DocumentType[], any>>;
|
|
423
|
+
/**
|
|
424
|
+
*
|
|
425
|
+
* @summary Kõigi hetkel kehtivate asutuse tüüpide loend (asutuse tüüp, asutuse tüübi nimi)
|
|
426
|
+
* @param {*} [options] Override http request option.
|
|
427
|
+
* @throws {RequiredError}
|
|
428
|
+
* @memberof ClassifierApiEndpointApi
|
|
429
|
+
*/
|
|
430
|
+
getBusinessTypesList(options?: any): Promise<globalAxios.AxiosResponse<ClassifierBusinessTypeDto[], any>>;
|
|
431
|
+
/**
|
|
432
|
+
*
|
|
433
|
+
* @summary List of available classifiers by type
|
|
434
|
+
* @param {string} classifierType Classifier type
|
|
435
|
+
* @param {*} [options] Override http request option.
|
|
436
|
+
* @throws {RequiredError}
|
|
437
|
+
* @memberof ClassifierApiEndpointApi
|
|
438
|
+
*/
|
|
439
|
+
getClassifierByType(classifierType: string, options?: any): Promise<globalAxios.AxiosResponse<Classifier[], any>>;
|
|
440
|
+
/**
|
|
441
|
+
*
|
|
442
|
+
* @summary List of available classifiers by related type
|
|
443
|
+
* @param {string} relatedClassifierType Related classifier type
|
|
444
|
+
* @param {*} [options] Override http request option.
|
|
445
|
+
* @throws {RequiredError}
|
|
446
|
+
* @memberof ClassifierApiEndpointApi
|
|
447
|
+
*/
|
|
448
|
+
getClassifiersByRelatedType(relatedClassifierType: string, options?: any): Promise<globalAxios.AxiosResponse<Classifier[], any>>;
|
|
449
|
+
/**
|
|
450
|
+
*
|
|
451
|
+
* @summary List of available classifier elements by type
|
|
452
|
+
* @param {string} classifierTypesCommaSeparated Classifier types comma separated
|
|
453
|
+
* @param {*} [options] Override http request option.
|
|
454
|
+
* @throws {RequiredError}
|
|
455
|
+
* @memberof ClassifierApiEndpointApi
|
|
456
|
+
*/
|
|
457
|
+
getClassifiersByType(classifierTypesCommaSeparated: string, options?: any): Promise<globalAxios.AxiosResponse<{
|
|
458
|
+
[key: string]: Classifier[];
|
|
459
|
+
}, any>>;
|
|
460
|
+
/**
|
|
461
|
+
*
|
|
462
|
+
* @summary List of valid document(doty) types
|
|
463
|
+
* @param {*} [options] Override http request option.
|
|
464
|
+
* @throws {RequiredError}
|
|
465
|
+
* @memberof ClassifierApiEndpointApi
|
|
466
|
+
*/
|
|
467
|
+
getDocumentTypes(options?: any): Promise<globalAxios.AxiosResponse<DocumentType[], any>>;
|
|
468
|
+
/**
|
|
469
|
+
*
|
|
470
|
+
* @summary List of valid file(faty) types
|
|
471
|
+
* @param {*} [options] Override http request option.
|
|
472
|
+
* @throws {RequiredError}
|
|
473
|
+
* @memberof ClassifierApiEndpointApi
|
|
474
|
+
*/
|
|
475
|
+
getFileTypes(options?: any): Promise<globalAxios.AxiosResponse<FileType[], any>>;
|
|
476
|
+
/**
|
|
477
|
+
*
|
|
478
|
+
* @param {*} [options] Override http request option.
|
|
479
|
+
* @throws {RequiredError}
|
|
480
|
+
* @memberof ClassifierApiEndpointApi
|
|
481
|
+
*/
|
|
482
|
+
getHealth(options?: any): Promise<globalAxios.AxiosResponse<string, any>>;
|
|
483
|
+
/**
|
|
484
|
+
*
|
|
485
|
+
* @summary List of all usage classifier types
|
|
486
|
+
* @param {*} [options] Override http request option.
|
|
487
|
+
* @throws {RequiredError}
|
|
488
|
+
* @memberof ClassifierApiEndpointApi
|
|
489
|
+
*/
|
|
490
|
+
getUsageClassifierTypes(options?: any): Promise<globalAxios.AxiosResponse<FileType[], any>>;
|
|
491
|
+
/**
|
|
492
|
+
*
|
|
493
|
+
* @summary Kõigi hetkel kehtivate rollide loend (rolli kood, rolli nimi)
|
|
494
|
+
* @param {*} [options] Override http request option.
|
|
495
|
+
* @throws {RequiredError}
|
|
496
|
+
* @memberof ClassifierApiEndpointApi
|
|
497
|
+
*/
|
|
498
|
+
getUserRolesList(options?: any): Promise<globalAxios.AxiosResponse<ClassifierUserRoleDto[], any>>;
|
|
499
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EHR Classifier API
|
|
3
|
+
* Classifier API for Ebuilding
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
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 { Configuration } from "./configuration";
|
|
13
|
+
import { AxiosInstance } from 'axios';
|
|
14
|
+
export declare const BASE_PATH: string;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export declare const COLLECTION_FORMATS: {
|
|
20
|
+
csv: string;
|
|
21
|
+
ssv: string;
|
|
22
|
+
tsv: string;
|
|
23
|
+
pipes: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @interface RequestArgs
|
|
29
|
+
*/
|
|
30
|
+
export interface RequestArgs {
|
|
31
|
+
url: string;
|
|
32
|
+
options: any;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @export
|
|
37
|
+
* @class BaseAPI
|
|
38
|
+
*/
|
|
39
|
+
export declare class BaseAPI {
|
|
40
|
+
protected basePath: string;
|
|
41
|
+
protected axios: AxiosInstance;
|
|
42
|
+
protected configuration: Configuration | undefined;
|
|
43
|
+
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @class RequiredError
|
|
49
|
+
* @extends {Error}
|
|
50
|
+
*/
|
|
51
|
+
export declare class RequiredError extends Error {
|
|
52
|
+
field: string;
|
|
53
|
+
name: "RequiredError";
|
|
54
|
+
constructor(field: string, msg?: string);
|
|
55
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EHR Classifier API
|
|
3
|
+
* Classifier API for Ebuilding
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
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 { Configuration } from "./configuration";
|
|
13
|
+
import { RequestArgs } from "./base";
|
|
14
|
+
import { AxiosInstance } from 'axios';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @throws {RequiredError}
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @export
|
|
44
|
+
*/
|
|
45
|
+
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @export
|
|
49
|
+
*/
|
|
50
|
+
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @export
|
|
54
|
+
*/
|
|
55
|
+
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @export
|
|
59
|
+
*/
|
|
60
|
+
export declare const toPathString: (url: URL) => string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EHR Classifier API
|
|
3
|
+
* Classifier API for Ebuilding
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
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
|
+
export interface ConfigurationParameters {
|
|
13
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
|
+
username?: string;
|
|
15
|
+
password?: string;
|
|
16
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
17
|
+
basePath?: string;
|
|
18
|
+
baseOptions?: any;
|
|
19
|
+
formDataCtor?: new () => any;
|
|
20
|
+
}
|
|
21
|
+
export declare class Configuration {
|
|
22
|
+
/**
|
|
23
|
+
* parameter for apiKey security
|
|
24
|
+
* @param name security name
|
|
25
|
+
* @memberof Configuration
|
|
26
|
+
*/
|
|
27
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
28
|
+
/**
|
|
29
|
+
* parameter for basic security
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof Configuration
|
|
33
|
+
*/
|
|
34
|
+
username?: string;
|
|
35
|
+
/**
|
|
36
|
+
* parameter for basic security
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Configuration
|
|
40
|
+
*/
|
|
41
|
+
password?: string;
|
|
42
|
+
/**
|
|
43
|
+
* parameter for oauth2 security
|
|
44
|
+
* @param name security name
|
|
45
|
+
* @param scopes oauth2 scope
|
|
46
|
+
* @memberof Configuration
|
|
47
|
+
*/
|
|
48
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
49
|
+
/**
|
|
50
|
+
* override base path
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof Configuration
|
|
54
|
+
*/
|
|
55
|
+
basePath?: string;
|
|
56
|
+
/**
|
|
57
|
+
* base options for axios calls
|
|
58
|
+
*
|
|
59
|
+
* @type {any}
|
|
60
|
+
* @memberof Configuration
|
|
61
|
+
*/
|
|
62
|
+
baseOptions?: any;
|
|
63
|
+
/**
|
|
64
|
+
* The FormData constructor that will be used to create multipart form data
|
|
65
|
+
* requests. You can inject this here so that execution environments that
|
|
66
|
+
* do not support the FormData class can still run the generated client.
|
|
67
|
+
*
|
|
68
|
+
* @type {new () => FormData}
|
|
69
|
+
*/
|
|
70
|
+
formDataCtor?: new () => any;
|
|
71
|
+
constructor(param?: ConfigurationParameters);
|
|
72
|
+
/**
|
|
73
|
+
* Check if the given MIME is a JSON MIME.
|
|
74
|
+
* JSON MIME examples:
|
|
75
|
+
* application/json
|
|
76
|
+
* application/json; charset=UTF8
|
|
77
|
+
* APPLICATION/JSON
|
|
78
|
+
* application/vnd.company+json
|
|
79
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
80
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
81
|
+
*/
|
|
82
|
+
isJsonMime(mime: string): boolean;
|
|
83
|
+
}
|