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,54 @@
|
|
|
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 { AxiosInstance, AxiosRequestConfig } 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: AxiosRequestConfig;
|
|
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
|
+
constructor(field: string, msg?: string);
|
|
54
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 { RequestArgs } from "./base";
|
|
14
|
+
import type { AxiosInstance, AxiosResponse } 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) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
@@ -0,0 +1,83 @@
|
|
|
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
|
+
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
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
export * from "./api";
|
|
13
|
+
export * from "./configuration";
|
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ehr-yld-esi API
|
|
3
|
+
* e-ehitus Dokumendi liigi esileht API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.0
|
|
6
|
+
*
|
|
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 Esileht
|
|
21
|
+
*/
|
|
22
|
+
export interface Esileht {
|
|
23
|
+
/**
|
|
24
|
+
* Keele ISO 639-1 kood
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof Esileht
|
|
27
|
+
*/
|
|
28
|
+
'language': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof Esileht
|
|
33
|
+
*/
|
|
34
|
+
'body'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Dokumendi liigi võti
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof Esileht
|
|
39
|
+
*/
|
|
40
|
+
'id': number;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @export
|
|
45
|
+
* @interface Link
|
|
46
|
+
*/
|
|
47
|
+
export interface Link {
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof Link
|
|
52
|
+
*/
|
|
53
|
+
'href'?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof Link
|
|
58
|
+
*/
|
|
59
|
+
'templated'?: boolean;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* ActuatorApi - axios parameter creator
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
65
|
+
export declare const ActuatorApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @summary Actuator web endpoint \'info\'
|
|
69
|
+
* @param {*} [options] Override http request option.
|
|
70
|
+
* @throws {RequiredError}
|
|
71
|
+
*/
|
|
72
|
+
handle1: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @summary Actuator web endpoint \'health\'
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
*/
|
|
79
|
+
handle2: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @summary Actuator web endpoint \'health-path\'
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
*/
|
|
86
|
+
handle3: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @summary Actuator root web endpoint
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
links0: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* ActuatorApi - functional programming interface
|
|
97
|
+
* @export
|
|
98
|
+
*/
|
|
99
|
+
export declare const ActuatorApiFp: (configuration?: Configuration) => {
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @summary Actuator web endpoint \'info\'
|
|
103
|
+
* @param {*} [options] Override http request option.
|
|
104
|
+
* @throws {RequiredError}
|
|
105
|
+
*/
|
|
106
|
+
handle1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @summary Actuator web endpoint \'health\'
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
handle2(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @summary Actuator web endpoint \'health-path\'
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
handle3(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @summary Actuator root web endpoint
|
|
124
|
+
* @param {*} [options] Override http request option.
|
|
125
|
+
* @throws {RequiredError}
|
|
126
|
+
*/
|
|
127
|
+
links0(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
128
|
+
[key: string]: {
|
|
129
|
+
[key: string]: Link;
|
|
130
|
+
};
|
|
131
|
+
}>>;
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* ActuatorApi - factory interface
|
|
135
|
+
* @export
|
|
136
|
+
*/
|
|
137
|
+
export declare const ActuatorApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @summary Actuator web endpoint \'info\'
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
*/
|
|
144
|
+
handle1(options?: any): AxiosPromise<any>;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @summary Actuator web endpoint \'health\'
|
|
148
|
+
* @param {*} [options] Override http request option.
|
|
149
|
+
* @throws {RequiredError}
|
|
150
|
+
*/
|
|
151
|
+
handle2(options?: any): AxiosPromise<any>;
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @summary Actuator web endpoint \'health-path\'
|
|
155
|
+
* @param {*} [options] Override http request option.
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
*/
|
|
158
|
+
handle3(options?: any): AxiosPromise<any>;
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* @summary Actuator root web endpoint
|
|
162
|
+
* @param {*} [options] Override http request option.
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
*/
|
|
165
|
+
links0(options?: any): AxiosPromise<{
|
|
166
|
+
[key: string]: {
|
|
167
|
+
[key: string]: Link;
|
|
168
|
+
};
|
|
169
|
+
}>;
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* ActuatorApi - object-oriented interface
|
|
173
|
+
* @export
|
|
174
|
+
* @class ActuatorApi
|
|
175
|
+
* @extends {BaseAPI}
|
|
176
|
+
*/
|
|
177
|
+
export declare class ActuatorApi extends BaseAPI {
|
|
178
|
+
/**
|
|
179
|
+
*
|
|
180
|
+
* @summary Actuator web endpoint \'info\'
|
|
181
|
+
* @param {*} [options] Override http request option.
|
|
182
|
+
* @throws {RequiredError}
|
|
183
|
+
* @memberof ActuatorApi
|
|
184
|
+
*/
|
|
185
|
+
handle1(options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<any, any>>;
|
|
186
|
+
/**
|
|
187
|
+
*
|
|
188
|
+
* @summary Actuator web endpoint \'health\'
|
|
189
|
+
* @param {*} [options] Override http request option.
|
|
190
|
+
* @throws {RequiredError}
|
|
191
|
+
* @memberof ActuatorApi
|
|
192
|
+
*/
|
|
193
|
+
handle2(options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<any, any>>;
|
|
194
|
+
/**
|
|
195
|
+
*
|
|
196
|
+
* @summary Actuator web endpoint \'health-path\'
|
|
197
|
+
* @param {*} [options] Override http request option.
|
|
198
|
+
* @throws {RequiredError}
|
|
199
|
+
* @memberof ActuatorApi
|
|
200
|
+
*/
|
|
201
|
+
handle3(options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<any, any>>;
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @summary Actuator root web endpoint
|
|
205
|
+
* @param {*} [options] Override http request option.
|
|
206
|
+
* @throws {RequiredError}
|
|
207
|
+
* @memberof ActuatorApi
|
|
208
|
+
*/
|
|
209
|
+
links0(options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<{
|
|
210
|
+
[key: string]: {
|
|
211
|
+
[key: string]: Link;
|
|
212
|
+
};
|
|
213
|
+
}, any>>;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* YldApi - axios parameter creator
|
|
217
|
+
* @export
|
|
218
|
+
*/
|
|
219
|
+
export declare const YldApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* @summary Dokumendi liigi esilehe alla laadimine
|
|
223
|
+
* @param {number} id
|
|
224
|
+
* @param {string} language
|
|
225
|
+
* @param {*} [options] Override http request option.
|
|
226
|
+
* @throws {RequiredError}
|
|
227
|
+
*/
|
|
228
|
+
esileht: (id: number, language: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
229
|
+
/**
|
|
230
|
+
*
|
|
231
|
+
* @summary Kõigi dokumendi liigi esilehetede alla laadimine
|
|
232
|
+
* @param {*} [options] Override http request option.
|
|
233
|
+
* @throws {RequiredError}
|
|
234
|
+
*/
|
|
235
|
+
lehed: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
* @summary Kõigi dokumendi liigi, millel on olemas esileht, koodide alla laadimine
|
|
239
|
+
* @param {*} [options] Override http request option.
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
*/
|
|
242
|
+
lehedId: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
* @summary Dokumendi liigi esilehetede alla laadimine
|
|
246
|
+
* @param {number} id
|
|
247
|
+
* @param {*} [options] Override http request option.
|
|
248
|
+
* @throws {RequiredError}
|
|
249
|
+
*/
|
|
250
|
+
leht: (id: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
251
|
+
/**
|
|
252
|
+
*
|
|
253
|
+
* @summary Dokumendi liigi esilehe salvestamine
|
|
254
|
+
* @param {Esileht} esileht
|
|
255
|
+
* @param {*} [options] Override http request option.
|
|
256
|
+
* @throws {RequiredError}
|
|
257
|
+
*/
|
|
258
|
+
lehtdSave: (esileht: Esileht, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
259
|
+
};
|
|
260
|
+
/**
|
|
261
|
+
* YldApi - functional programming interface
|
|
262
|
+
* @export
|
|
263
|
+
*/
|
|
264
|
+
export declare const YldApiFp: (configuration?: Configuration) => {
|
|
265
|
+
/**
|
|
266
|
+
*
|
|
267
|
+
* @summary Dokumendi liigi esilehe alla laadimine
|
|
268
|
+
* @param {number} id
|
|
269
|
+
* @param {string} language
|
|
270
|
+
* @param {*} [options] Override http request option.
|
|
271
|
+
* @throws {RequiredError}
|
|
272
|
+
*/
|
|
273
|
+
esileht(id: number, language: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Esileht>>;
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* @summary Kõigi dokumendi liigi esilehetede alla laadimine
|
|
277
|
+
* @param {*} [options] Override http request option.
|
|
278
|
+
* @throws {RequiredError}
|
|
279
|
+
*/
|
|
280
|
+
lehed(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Esileht>>>;
|
|
281
|
+
/**
|
|
282
|
+
*
|
|
283
|
+
* @summary Kõigi dokumendi liigi, millel on olemas esileht, koodide alla laadimine
|
|
284
|
+
* @param {*} [options] Override http request option.
|
|
285
|
+
* @throws {RequiredError}
|
|
286
|
+
*/
|
|
287
|
+
lehedId(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<number>>>;
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
* @summary Dokumendi liigi esilehetede alla laadimine
|
|
291
|
+
* @param {number} id
|
|
292
|
+
* @param {*} [options] Override http request option.
|
|
293
|
+
* @throws {RequiredError}
|
|
294
|
+
*/
|
|
295
|
+
leht(id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Esileht>>>;
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
* @summary Dokumendi liigi esilehe salvestamine
|
|
299
|
+
* @param {Esileht} esileht
|
|
300
|
+
* @param {*} [options] Override http request option.
|
|
301
|
+
* @throws {RequiredError}
|
|
302
|
+
*/
|
|
303
|
+
lehtdSave(esileht: Esileht, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
304
|
+
};
|
|
305
|
+
/**
|
|
306
|
+
* YldApi - factory interface
|
|
307
|
+
* @export
|
|
308
|
+
*/
|
|
309
|
+
export declare const YldApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
310
|
+
/**
|
|
311
|
+
*
|
|
312
|
+
* @summary Dokumendi liigi esilehe alla laadimine
|
|
313
|
+
* @param {number} id
|
|
314
|
+
* @param {string} language
|
|
315
|
+
* @param {*} [options] Override http request option.
|
|
316
|
+
* @throws {RequiredError}
|
|
317
|
+
*/
|
|
318
|
+
esileht(id: number, language: string, options?: any): AxiosPromise<Esileht>;
|
|
319
|
+
/**
|
|
320
|
+
*
|
|
321
|
+
* @summary Kõigi dokumendi liigi esilehetede alla laadimine
|
|
322
|
+
* @param {*} [options] Override http request option.
|
|
323
|
+
* @throws {RequiredError}
|
|
324
|
+
*/
|
|
325
|
+
lehed(options?: any): AxiosPromise<Array<Esileht>>;
|
|
326
|
+
/**
|
|
327
|
+
*
|
|
328
|
+
* @summary Kõigi dokumendi liigi, millel on olemas esileht, koodide alla laadimine
|
|
329
|
+
* @param {*} [options] Override http request option.
|
|
330
|
+
* @throws {RequiredError}
|
|
331
|
+
*/
|
|
332
|
+
lehedId(options?: any): AxiosPromise<Array<number>>;
|
|
333
|
+
/**
|
|
334
|
+
*
|
|
335
|
+
* @summary Dokumendi liigi esilehetede alla laadimine
|
|
336
|
+
* @param {number} id
|
|
337
|
+
* @param {*} [options] Override http request option.
|
|
338
|
+
* @throws {RequiredError}
|
|
339
|
+
*/
|
|
340
|
+
leht(id: number, options?: any): AxiosPromise<Array<Esileht>>;
|
|
341
|
+
/**
|
|
342
|
+
*
|
|
343
|
+
* @summary Dokumendi liigi esilehe salvestamine
|
|
344
|
+
* @param {Esileht} esileht
|
|
345
|
+
* @param {*} [options] Override http request option.
|
|
346
|
+
* @throws {RequiredError}
|
|
347
|
+
*/
|
|
348
|
+
lehtdSave(esileht: Esileht, options?: any): AxiosPromise<void>;
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* YldApi - object-oriented interface
|
|
352
|
+
* @export
|
|
353
|
+
* @class YldApi
|
|
354
|
+
* @extends {BaseAPI}
|
|
355
|
+
*/
|
|
356
|
+
export declare class YldApi extends BaseAPI {
|
|
357
|
+
/**
|
|
358
|
+
*
|
|
359
|
+
* @summary Dokumendi liigi esilehe alla laadimine
|
|
360
|
+
* @param {number} id
|
|
361
|
+
* @param {string} language
|
|
362
|
+
* @param {*} [options] Override http request option.
|
|
363
|
+
* @throws {RequiredError}
|
|
364
|
+
* @memberof YldApi
|
|
365
|
+
*/
|
|
366
|
+
esileht(id: number, language: string, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<Esileht, any>>;
|
|
367
|
+
/**
|
|
368
|
+
*
|
|
369
|
+
* @summary Kõigi dokumendi liigi esilehetede alla laadimine
|
|
370
|
+
* @param {*} [options] Override http request option.
|
|
371
|
+
* @throws {RequiredError}
|
|
372
|
+
* @memberof YldApi
|
|
373
|
+
*/
|
|
374
|
+
lehed(options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<Esileht[], any>>;
|
|
375
|
+
/**
|
|
376
|
+
*
|
|
377
|
+
* @summary Kõigi dokumendi liigi, millel on olemas esileht, koodide alla laadimine
|
|
378
|
+
* @param {*} [options] Override http request option.
|
|
379
|
+
* @throws {RequiredError}
|
|
380
|
+
* @memberof YldApi
|
|
381
|
+
*/
|
|
382
|
+
lehedId(options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<number[], any>>;
|
|
383
|
+
/**
|
|
384
|
+
*
|
|
385
|
+
* @summary Dokumendi liigi esilehetede alla laadimine
|
|
386
|
+
* @param {number} id
|
|
387
|
+
* @param {*} [options] Override http request option.
|
|
388
|
+
* @throws {RequiredError}
|
|
389
|
+
* @memberof YldApi
|
|
390
|
+
*/
|
|
391
|
+
leht(id: number, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<Esileht[], any>>;
|
|
392
|
+
/**
|
|
393
|
+
*
|
|
394
|
+
* @summary Dokumendi liigi esilehe salvestamine
|
|
395
|
+
* @param {Esileht} esileht
|
|
396
|
+
* @param {*} [options] Override http request option.
|
|
397
|
+
* @throws {RequiredError}
|
|
398
|
+
* @memberof YldApi
|
|
399
|
+
*/
|
|
400
|
+
lehtdSave(esileht: Esileht, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any>>;
|
|
401
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ehr-yld-esi API
|
|
3
|
+
* e-ehitus Dokumendi liigi esileht API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.0
|
|
6
|
+
*
|
|
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 { AxiosInstance, AxiosRequestConfig } 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: AxiosRequestConfig;
|
|
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
|
+
constructor(field: string, msg?: string);
|
|
54
|
+
}
|