@equinor/roma-framework 5.0.1 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_commonjsHelpers-DKlypwS6.mjs +3277 -0
- package/cypress.mjs +31958 -49
- package/dev-portal/BAGVG3AX-CZ4YnljQ.mjs +37 -0
- package/dev-portal/KZB72KQG-Dk7Ih0xn.mjs +46 -0
- package/dev-portal/NITRNJ62-7tOtp9d-.mjs +12375 -0
- package/dev-portal/index-DYpA1xV-.mjs +102056 -0
- package/dev-portal/index.html +3 -2
- package/dev-portal/lib/api/roma/api/alarm-controller/alarm-controller.d.ts +97 -0
- package/dev-portal/lib/api/roma/api/alarm-group-controller/alarm-group-controller.d.ts +186 -0
- package/dev-portal/lib/api/roma/api/alarm-sse-controller/alarm-sse-controller.d.ts +36 -0
- package/dev-portal/lib/api/roma/api/app-controller/app-controller.d.ts +65 -31
- package/dev-portal/lib/api/roma/api/category-controller/category-controller.d.ts +57 -26
- package/dev-portal/lib/api/roma/api/environment-controller/environment-controller.d.ts +23 -10
- package/dev-portal/lib/api/roma/api/feedback-controller/feedback-controller.d.ts +29 -13
- package/dev-portal/lib/api/roma/api/health-controller/health-controller.d.ts +38 -0
- package/dev-portal/lib/api/roma/api/roma-configuration-controller/roma-configuration-controller.d.ts +99 -41
- package/dev-portal/lib/api/roma/api/server-side-event-controller/server-side-event-controller.d.ts +23 -7
- package/dev-portal/lib/api/roma/api/service-controller/service-controller.d.ts +57 -26
- package/dev-portal/lib/api/roma/api/setting-controller/setting-controller.d.ts +114 -47
- package/dev-portal/lib/api/roma/index.d.ts +4 -0
- package/dev-portal/lib/api/roma/model/adminDto.d.ts +6 -0
- package/dev-portal/lib/api/roma/model/adminDtoAdminType.d.ts +12 -0
- package/dev-portal/lib/api/roma/model/alarmDto.d.ts +19 -0
- package/dev-portal/lib/api/roma/model/alarmDtoPayload.d.ts +10 -0
- package/dev-portal/lib/api/roma/model/alarmDtoSeverity.d.ts +14 -0
- package/dev-portal/lib/api/roma/model/alarmDtoState.d.ts +12 -0
- package/dev-portal/lib/api/roma/model/alarmGroupDto.d.ts +16 -0
- package/dev-portal/lib/api/roma/model/appDto.d.ts +36 -11
- package/dev-portal/lib/api/roma/model/buildDto.d.ts +14 -0
- package/dev-portal/lib/api/roma/model/categoryDto.d.ts +4 -3
- package/dev-portal/lib/api/roma/model/clearAlarmRequest.d.ts +13 -0
- package/dev-portal/lib/api/roma/model/configDto.d.ts +6 -0
- package/dev-portal/lib/api/roma/model/environmentDto.d.ts +4 -4
- package/dev-portal/lib/api/roma/model/feedbackDetailsDto.d.ts +6 -3
- package/dev-portal/lib/api/roma/model/feedbackDto.d.ts +1 -1
- package/dev-portal/lib/api/roma/model/feedbackExpandedResponseDetailsDto.d.ts +7 -3
- package/dev-portal/lib/api/roma/model/feedbackExpandedResponseIssueDto.d.ts +3 -1
- package/dev-portal/lib/api/roma/model/feedbackPage.d.ts +7 -7
- package/dev-portal/lib/api/roma/model/feedbackResponseIssueDto.d.ts +3 -1
- package/dev-portal/lib/api/roma/model/feedbackSolutionDto.d.ts +2 -1
- package/dev-portal/lib/api/roma/model/getAllParams.d.ts +14 -0
- package/dev-portal/lib/api/roma/model/getAllRomaConfigurationTypes200Item.d.ts +1 -1
- package/dev-portal/lib/api/roma/model/index.d.ts +17 -1
- package/dev-portal/lib/api/roma/model/listFeedbacksByCurrentUserParams.d.ts +1 -1
- package/dev-portal/lib/api/roma/model/pageableObject.d.ts +2 -2
- package/dev-portal/lib/api/roma/model/raiseAlarmRequest.d.ts +15 -0
- package/dev-portal/lib/api/roma/model/raiseAlarmRequestPayload.d.ts +10 -0
- package/dev-portal/lib/api/roma/model/raiseAlarmRequestSeverity.d.ts +14 -0
- package/dev-portal/lib/api/roma/model/romaConfigurationDto.d.ts +10 -2
- package/dev-portal/lib/api/roma/model/serverSentEventAlarmDto.d.ts +9 -0
- package/dev-portal/lib/api/roma/model/serverSentEventStandardEventDto.d.ts +1 -2
- package/dev-portal/lib/api/roma/model/serviceDto.d.ts +13 -4
- package/dev-portal/lib/api/roma/model/settingDto.d.ts +10 -4
- package/dev-portal/lib/api/roma/model/sortObject.d.ts +3 -3
- package/dev-portal/lib/api/roma/model/uploadBundleBody.d.ts +1 -1
- package/dev-portal/lib/api/roma/model/versionDto.d.ts +4 -4
- package/dev-portal/lib/api/roma/model/visualizationDto.d.ts +12 -0
- package/dev-portal/lib/api/roma/use-client.d.ts +7 -7
- package/dev-portal/lib/dev-portal/AppLoader.d.ts +7 -1
- package/dev-portal/lib/dev-portal/AppViewer.d.ts +10 -0
- package/dev-portal/lib/dev-portal/EquinorLoader.d.ts +2 -2
- package/dev-portal/lib/dev-portal/PortalStyles.d.ts +8 -16
- package/dev-portal/lib/dev-portal/config/AppClient.d.ts +26 -16
- package/dev-portal/lib/style-provider.d.ts +2 -1
- package/dev-portal/package.json +41 -4
- package/dev-portal/roma-framework.css +478 -0
- package/lib/api/roma/api/alarm-controller/alarm-controller.d.ts +97 -0
- package/lib/api/roma/api/alarm-group-controller/alarm-group-controller.d.ts +186 -0
- package/lib/api/roma/api/alarm-sse-controller/alarm-sse-controller.d.ts +36 -0
- package/lib/api/roma/api/app-controller/app-controller.d.ts +65 -31
- package/lib/api/roma/api/category-controller/category-controller.d.ts +57 -26
- package/lib/api/roma/api/environment-controller/environment-controller.d.ts +23 -10
- package/lib/api/roma/api/feedback-controller/feedback-controller.d.ts +29 -13
- package/lib/api/roma/api/health-controller/health-controller.d.ts +38 -0
- package/lib/api/roma/api/roma-configuration-controller/roma-configuration-controller.d.ts +99 -41
- package/lib/api/roma/api/server-side-event-controller/server-side-event-controller.d.ts +23 -7
- package/lib/api/roma/api/service-controller/service-controller.d.ts +57 -26
- package/lib/api/roma/api/setting-controller/setting-controller.d.ts +114 -47
- package/lib/api/roma/index.d.ts +4 -0
- package/lib/api/roma/model/adminDto.d.ts +6 -0
- package/lib/api/roma/model/adminDtoAdminType.d.ts +12 -0
- package/lib/api/roma/model/alarmDto.d.ts +19 -0
- package/lib/api/roma/model/alarmDtoPayload.d.ts +10 -0
- package/lib/api/roma/model/alarmDtoSeverity.d.ts +14 -0
- package/lib/api/roma/model/alarmDtoState.d.ts +12 -0
- package/lib/api/roma/model/alarmGroupDto.d.ts +16 -0
- package/lib/api/roma/model/appDto.d.ts +36 -11
- package/lib/api/roma/model/buildDto.d.ts +14 -0
- package/lib/api/roma/model/categoryDto.d.ts +4 -3
- package/lib/api/roma/model/clearAlarmRequest.d.ts +13 -0
- package/lib/api/roma/model/configDto.d.ts +6 -0
- package/lib/api/roma/model/environmentDto.d.ts +4 -4
- package/lib/api/roma/model/feedbackDetailsDto.d.ts +6 -3
- package/lib/api/roma/model/feedbackDto.d.ts +1 -1
- package/lib/api/roma/model/feedbackExpandedResponseDetailsDto.d.ts +7 -3
- package/lib/api/roma/model/feedbackExpandedResponseIssueDto.d.ts +3 -1
- package/lib/api/roma/model/feedbackPage.d.ts +7 -7
- package/lib/api/roma/model/feedbackResponseIssueDto.d.ts +3 -1
- package/lib/api/roma/model/feedbackSolutionDto.d.ts +2 -1
- package/lib/api/roma/model/getAllParams.d.ts +14 -0
- package/lib/api/roma/model/getAllRomaConfigurationTypes200Item.d.ts +1 -1
- package/lib/api/roma/model/index.d.ts +17 -1
- package/lib/api/roma/model/listFeedbacksByCurrentUserParams.d.ts +1 -1
- package/lib/api/roma/model/pageableObject.d.ts +2 -2
- package/lib/api/roma/model/raiseAlarmRequest.d.ts +15 -0
- package/lib/api/roma/model/raiseAlarmRequestPayload.d.ts +10 -0
- package/lib/api/roma/model/raiseAlarmRequestSeverity.d.ts +14 -0
- package/lib/api/roma/model/romaConfigurationDto.d.ts +10 -2
- package/lib/api/roma/model/serverSentEventAlarmDto.d.ts +9 -0
- package/lib/api/roma/model/serverSentEventStandardEventDto.d.ts +1 -2
- package/lib/api/roma/model/serviceDto.d.ts +13 -4
- package/lib/api/roma/model/settingDto.d.ts +10 -4
- package/lib/api/roma/model/sortObject.d.ts +3 -3
- package/lib/api/roma/model/uploadBundleBody.d.ts +1 -1
- package/lib/api/roma/model/versionDto.d.ts +4 -4
- package/lib/api/roma/model/visualizationDto.d.ts +12 -0
- package/lib/api/roma/use-client.d.ts +7 -7
- package/lib/dev-portal/AppLoader.d.ts +7 -1
- package/lib/dev-portal/AppViewer.d.ts +10 -0
- package/lib/dev-portal/EquinorLoader.d.ts +2 -2
- package/lib/dev-portal/PortalStyles.d.ts +8 -16
- package/lib/dev-portal/config/AppClient.d.ts +26 -16
- package/lib/style-provider.d.ts +2 -1
- package/package.json +41 -4
- package/roma-framework.mjs +1076 -1161
- package/dev-portal/roma-framework.umd.js +0 -109513
- package/router-BRrTrnno.mjs +0 -6322
|
@@ -1,38 +1,53 @@
|
|
|
1
|
-
import { QueryKey, UseMutationOptions, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
-
import {
|
|
3
|
-
import { ErrorType, BodyType } from '../../use-client';
|
|
1
|
+
import { DataTag, DefinedInitialDataOptions, DefinedUseQueryResult, QueryClient, QueryKey, UndefinedInitialDataOptions, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { SettingDto } from '../../model';
|
|
3
|
+
import { useCustomClient, ErrorType, BodyType } from '../../use-client';
|
|
4
4
|
type AwaitedInput<T> = PromiseLike<T> | T;
|
|
5
5
|
type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
|
|
6
|
+
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6
7
|
/**
|
|
7
8
|
* @summary Get a users Setting by id
|
|
8
9
|
*/
|
|
9
|
-
export declare const
|
|
10
|
+
export declare const getGetSettingByUserAndIdUrl: (userId: string, id: string) => string;
|
|
11
|
+
export declare const useGetSettingByUserAndIdHook: () => ((userId: string, id: string, options?: RequestInit) => Promise<SettingDto>);
|
|
10
12
|
export declare const getGetSettingByUserAndIdQueryKey: (userId: string, id: string) => readonly [`/api/settings/user/${string}/id/${string}`];
|
|
11
13
|
export declare const useGetSettingByUserAndIdQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useGetSettingByUserAndIdHook>>>, TError = ErrorType<void>>(userId: string, id: string, options?: {
|
|
12
14
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingByUserAndIdHook>>>, TError, TData>>;
|
|
15
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
13
16
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingByUserAndIdHook>>>, TError, TData> & {
|
|
14
|
-
queryKey: QueryKey
|
|
17
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
15
18
|
};
|
|
16
19
|
export type GetSettingByUserAndIdQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetSettingByUserAndIdHook>>>>;
|
|
17
20
|
export type GetSettingByUserAndIdQueryError = ErrorType<void>;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
export declare function useGetSettingByUserAndId<TData = Awaited<ReturnType<ReturnType<typeof useGetSettingByUserAndIdHook>>>, TError = ErrorType<void>>(userId: string, id: string, options: {
|
|
22
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingByUserAndIdHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingByUserAndIdHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetSettingByUserAndIdHook>>>>, 'initialData'>;
|
|
23
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
24
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
25
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
26
|
+
};
|
|
27
|
+
export declare function useGetSettingByUserAndId<TData = Awaited<ReturnType<ReturnType<typeof useGetSettingByUserAndIdHook>>>, TError = ErrorType<void>>(userId: string, id: string, options?: {
|
|
28
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingByUserAndIdHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingByUserAndIdHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetSettingByUserAndIdHook>>>>, 'initialData'>;
|
|
29
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
30
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
31
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
32
|
+
};
|
|
33
|
+
export declare function useGetSettingByUserAndId<TData = Awaited<ReturnType<ReturnType<typeof useGetSettingByUserAndIdHook>>>, TError = ErrorType<void>>(userId: string, id: string, options?: {
|
|
22
34
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingByUserAndIdHook>>>, TError, TData>>;
|
|
23
|
-
|
|
24
|
-
|
|
35
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
36
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
37
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
25
38
|
};
|
|
26
39
|
/**
|
|
27
40
|
* @summary Update a Setting by id
|
|
28
41
|
*/
|
|
29
|
-
export declare const
|
|
42
|
+
export declare const getUpdateByUserIdAndIdUrl: (userId: string, id: string) => string;
|
|
43
|
+
export declare const useUpdateByUserIdAndIdHook: () => ((userId: string, id: string, settingDto: SettingDto, options?: RequestInit) => Promise<SettingDto>);
|
|
30
44
|
export declare const useUpdateByUserIdAndIdMutationOptions: <TError = ErrorType<void>, TContext = unknown>(options?: {
|
|
31
45
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateByUserIdAndIdHook>>>, TError, {
|
|
32
46
|
userId: string;
|
|
33
47
|
id: string;
|
|
34
48
|
data: BodyType<SettingDto>;
|
|
35
49
|
}, TContext>;
|
|
50
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
36
51
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateByUserIdAndIdHook>>>, TError, {
|
|
37
52
|
userId: string;
|
|
38
53
|
id: string;
|
|
@@ -50,7 +65,8 @@ export declare const useUpdateByUserIdAndId: <TError = ErrorType<void>, TContext
|
|
|
50
65
|
id: string;
|
|
51
66
|
data: BodyType<SettingDto>;
|
|
52
67
|
}, TContext>;
|
|
53
|
-
|
|
68
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
69
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdateByUserIdAndIdHook>>>, TError, {
|
|
54
70
|
userId: string;
|
|
55
71
|
id: string;
|
|
56
72
|
data: BodyType<SettingDto>;
|
|
@@ -58,12 +74,14 @@ export declare const useUpdateByUserIdAndId: <TError = ErrorType<void>, TContext
|
|
|
58
74
|
/**
|
|
59
75
|
* @summary Delete a Setting by id
|
|
60
76
|
*/
|
|
61
|
-
export declare const
|
|
77
|
+
export declare const getDeletePrivateSettingByIdUrl: (userId: string, id: string) => string;
|
|
78
|
+
export declare const useDeletePrivateSettingByIdHook: () => ((userId: string, id: string, options?: RequestInit) => Promise<SettingDto>);
|
|
62
79
|
export declare const useDeletePrivateSettingByIdMutationOptions: <TError = ErrorType<void>, TContext = unknown>(options?: {
|
|
63
80
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeletePrivateSettingByIdHook>>>, TError, {
|
|
64
81
|
userId: string;
|
|
65
82
|
id: string;
|
|
66
83
|
}, TContext>;
|
|
84
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
67
85
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeletePrivateSettingByIdHook>>>, TError, {
|
|
68
86
|
userId: string;
|
|
69
87
|
id: string;
|
|
@@ -78,40 +96,55 @@ export declare const useDeletePrivateSettingById: <TError = ErrorType<void>, TCo
|
|
|
78
96
|
userId: string;
|
|
79
97
|
id: string;
|
|
80
98
|
}, TContext>;
|
|
81
|
-
|
|
99
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
100
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeletePrivateSettingByIdHook>>>, TError, {
|
|
82
101
|
userId: string;
|
|
83
102
|
id: string;
|
|
84
103
|
}, TContext>;
|
|
85
104
|
/**
|
|
86
105
|
* @summary Get a users Setting by id
|
|
87
106
|
*/
|
|
88
|
-
export declare const
|
|
107
|
+
export declare const getGetPublicSettingByUserAndIdUrl: (appShortName: string, id: string) => string;
|
|
108
|
+
export declare const useGetPublicSettingByUserAndIdHook: () => ((appShortName: string, id: string, options?: RequestInit) => Promise<SettingDto>);
|
|
89
109
|
export declare const getGetPublicSettingByUserAndIdQueryKey: (appShortName: string, id: string) => readonly [`/api/settings/application/${string}/id/${string}`];
|
|
90
110
|
export declare const useGetPublicSettingByUserAndIdQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useGetPublicSettingByUserAndIdHook>>>, TError = ErrorType<void>>(appShortName: string, id: string, options?: {
|
|
91
111
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetPublicSettingByUserAndIdHook>>>, TError, TData>>;
|
|
112
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
92
113
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetPublicSettingByUserAndIdHook>>>, TError, TData> & {
|
|
93
|
-
queryKey: QueryKey
|
|
114
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
94
115
|
};
|
|
95
116
|
export type GetPublicSettingByUserAndIdQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetPublicSettingByUserAndIdHook>>>>;
|
|
96
117
|
export type GetPublicSettingByUserAndIdQueryError = ErrorType<void>;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
118
|
+
export declare function useGetPublicSettingByUserAndId<TData = Awaited<ReturnType<ReturnType<typeof useGetPublicSettingByUserAndIdHook>>>, TError = ErrorType<void>>(appShortName: string, id: string, options: {
|
|
119
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetPublicSettingByUserAndIdHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetPublicSettingByUserAndIdHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetPublicSettingByUserAndIdHook>>>>, 'initialData'>;
|
|
120
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
121
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
122
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
123
|
+
};
|
|
124
|
+
export declare function useGetPublicSettingByUserAndId<TData = Awaited<ReturnType<ReturnType<typeof useGetPublicSettingByUserAndIdHook>>>, TError = ErrorType<void>>(appShortName: string, id: string, options?: {
|
|
125
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetPublicSettingByUserAndIdHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetPublicSettingByUserAndIdHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetPublicSettingByUserAndIdHook>>>>, 'initialData'>;
|
|
126
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
127
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
128
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
129
|
+
};
|
|
130
|
+
export declare function useGetPublicSettingByUserAndId<TData = Awaited<ReturnType<ReturnType<typeof useGetPublicSettingByUserAndIdHook>>>, TError = ErrorType<void>>(appShortName: string, id: string, options?: {
|
|
101
131
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetPublicSettingByUserAndIdHook>>>, TError, TData>>;
|
|
102
|
-
|
|
103
|
-
|
|
132
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
133
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
134
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
104
135
|
};
|
|
105
136
|
/**
|
|
106
137
|
* @summary Update a Setting for a given appShortName by id
|
|
107
138
|
*/
|
|
108
|
-
export declare const
|
|
139
|
+
export declare const getUpdatePublicSettingByAppShortNameAndIdUrl: (appShortName: string, id: string) => string;
|
|
140
|
+
export declare const useUpdatePublicSettingByAppShortNameAndIdHook: () => ((appShortName: string, id: string, settingDto: SettingDto, options?: RequestInit) => Promise<SettingDto>);
|
|
109
141
|
export declare const useUpdatePublicSettingByAppShortNameAndIdMutationOptions: <TError = ErrorType<void>, TContext = unknown>(options?: {
|
|
110
142
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdatePublicSettingByAppShortNameAndIdHook>>>, TError, {
|
|
111
143
|
appShortName: string;
|
|
112
144
|
id: string;
|
|
113
145
|
data: BodyType<SettingDto>;
|
|
114
146
|
}, TContext>;
|
|
147
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
115
148
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdatePublicSettingByAppShortNameAndIdHook>>>, TError, {
|
|
116
149
|
appShortName: string;
|
|
117
150
|
id: string;
|
|
@@ -129,7 +162,8 @@ export declare const useUpdatePublicSettingByAppShortNameAndId: <TError = ErrorT
|
|
|
129
162
|
id: string;
|
|
130
163
|
data: BodyType<SettingDto>;
|
|
131
164
|
}, TContext>;
|
|
132
|
-
|
|
165
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
166
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdatePublicSettingByAppShortNameAndIdHook>>>, TError, {
|
|
133
167
|
appShortName: string;
|
|
134
168
|
id: string;
|
|
135
169
|
data: BodyType<SettingDto>;
|
|
@@ -137,12 +171,14 @@ export declare const useUpdatePublicSettingByAppShortNameAndId: <TError = ErrorT
|
|
|
137
171
|
/**
|
|
138
172
|
* @summary Delete a Setting for a appShortName by id
|
|
139
173
|
*/
|
|
140
|
-
export declare const
|
|
174
|
+
export declare const getDeletePublicSettingByIdUrl: (appShortName: string, id: string) => string;
|
|
175
|
+
export declare const useDeletePublicSettingByIdHook: () => ((appShortName: string, id: string, options?: RequestInit) => Promise<SettingDto>);
|
|
141
176
|
export declare const useDeletePublicSettingByIdMutationOptions: <TError = ErrorType<void>, TContext = unknown>(options?: {
|
|
142
177
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeletePublicSettingByIdHook>>>, TError, {
|
|
143
178
|
appShortName: string;
|
|
144
179
|
id: string;
|
|
145
180
|
}, TContext>;
|
|
181
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
146
182
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeletePublicSettingByIdHook>>>, TError, {
|
|
147
183
|
appShortName: string;
|
|
148
184
|
id: string;
|
|
@@ -157,39 +193,54 @@ export declare const useDeletePublicSettingById: <TError = ErrorType<void>, TCon
|
|
|
157
193
|
appShortName: string;
|
|
158
194
|
id: string;
|
|
159
195
|
}, TContext>;
|
|
160
|
-
|
|
196
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
197
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeletePublicSettingByIdHook>>>, TError, {
|
|
161
198
|
appShortName: string;
|
|
162
199
|
id: string;
|
|
163
200
|
}, TContext>;
|
|
164
201
|
/**
|
|
165
202
|
* @summary Get all Settings by userId
|
|
166
203
|
*/
|
|
167
|
-
export declare const
|
|
204
|
+
export declare const getGetSettingsByUserIdUrl: (userId: string) => string;
|
|
205
|
+
export declare const useGetSettingsByUserIdHook: () => ((userId: string, options?: RequestInit) => Promise<SettingDto[]>);
|
|
168
206
|
export declare const getGetSettingsByUserIdQueryKey: (userId: string) => readonly [`/api/settings/user/${string}`];
|
|
169
207
|
export declare const useGetSettingsByUserIdQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useGetSettingsByUserIdHook>>>, TError = ErrorType<void>>(userId: string, options?: {
|
|
170
208
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingsByUserIdHook>>>, TError, TData>>;
|
|
209
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
171
210
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingsByUserIdHook>>>, TError, TData> & {
|
|
172
|
-
queryKey: QueryKey
|
|
211
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
173
212
|
};
|
|
174
213
|
export type GetSettingsByUserIdQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetSettingsByUserIdHook>>>>;
|
|
175
214
|
export type GetSettingsByUserIdQueryError = ErrorType<void>;
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
215
|
+
export declare function useGetSettingsByUserId<TData = Awaited<ReturnType<ReturnType<typeof useGetSettingsByUserIdHook>>>, TError = ErrorType<void>>(userId: string, options: {
|
|
216
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingsByUserIdHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingsByUserIdHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetSettingsByUserIdHook>>>>, 'initialData'>;
|
|
217
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
218
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
219
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
220
|
+
};
|
|
221
|
+
export declare function useGetSettingsByUserId<TData = Awaited<ReturnType<ReturnType<typeof useGetSettingsByUserIdHook>>>, TError = ErrorType<void>>(userId: string, options?: {
|
|
222
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingsByUserIdHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingsByUserIdHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetSettingsByUserIdHook>>>>, 'initialData'>;
|
|
223
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
224
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
225
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
226
|
+
};
|
|
227
|
+
export declare function useGetSettingsByUserId<TData = Awaited<ReturnType<ReturnType<typeof useGetSettingsByUserIdHook>>>, TError = ErrorType<void>>(userId: string, options?: {
|
|
180
228
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingsByUserIdHook>>>, TError, TData>>;
|
|
181
|
-
|
|
182
|
-
|
|
229
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
230
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
231
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
183
232
|
};
|
|
184
233
|
/**
|
|
185
234
|
* @summary Create a Setting for a given user
|
|
186
235
|
*/
|
|
187
|
-
export declare const
|
|
236
|
+
export declare const getCreateSettingByUserIdUrl: (userId: string) => string;
|
|
237
|
+
export declare const useCreateSettingByUserIdHook: () => ((userId: string, settingDto: SettingDto, options?: RequestInit) => Promise<SettingDto>);
|
|
188
238
|
export declare const useCreateSettingByUserIdMutationOptions: <TError = ErrorType<void>, TContext = unknown>(options?: {
|
|
189
239
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateSettingByUserIdHook>>>, TError, {
|
|
190
240
|
userId: string;
|
|
191
241
|
data: BodyType<SettingDto>;
|
|
192
242
|
}, TContext>;
|
|
243
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
193
244
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateSettingByUserIdHook>>>, TError, {
|
|
194
245
|
userId: string;
|
|
195
246
|
data: BodyType<SettingDto>;
|
|
@@ -205,39 +256,54 @@ export declare const useCreateSettingByUserId: <TError = ErrorType<void>, TConte
|
|
|
205
256
|
userId: string;
|
|
206
257
|
data: BodyType<SettingDto>;
|
|
207
258
|
}, TContext>;
|
|
208
|
-
|
|
259
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
260
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreateSettingByUserIdHook>>>, TError, {
|
|
209
261
|
userId: string;
|
|
210
262
|
data: BodyType<SettingDto>;
|
|
211
263
|
}, TContext>;
|
|
212
264
|
/**
|
|
213
265
|
* @summary Get all public or mine Settings by appShortName
|
|
214
266
|
*/
|
|
215
|
-
export declare const
|
|
267
|
+
export declare const getGetSettingsByAppShortNameUrl: (appShortName: string) => string;
|
|
268
|
+
export declare const useGetSettingsByAppShortNameHook: () => ((appShortName: string, options?: RequestInit) => Promise<SettingDto[]>);
|
|
216
269
|
export declare const getGetSettingsByAppShortNameQueryKey: (appShortName: string) => readonly [`/api/settings/application/${string}`];
|
|
217
270
|
export declare const useGetSettingsByAppShortNameQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useGetSettingsByAppShortNameHook>>>, TError = ErrorType<void>>(appShortName: string, options?: {
|
|
218
271
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingsByAppShortNameHook>>>, TError, TData>>;
|
|
272
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
219
273
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingsByAppShortNameHook>>>, TError, TData> & {
|
|
220
|
-
queryKey: QueryKey
|
|
274
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
221
275
|
};
|
|
222
276
|
export type GetSettingsByAppShortNameQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetSettingsByAppShortNameHook>>>>;
|
|
223
277
|
export type GetSettingsByAppShortNameQueryError = ErrorType<void>;
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
278
|
+
export declare function useGetSettingsByAppShortName<TData = Awaited<ReturnType<ReturnType<typeof useGetSettingsByAppShortNameHook>>>, TError = ErrorType<void>>(appShortName: string, options: {
|
|
279
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingsByAppShortNameHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingsByAppShortNameHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetSettingsByAppShortNameHook>>>>, 'initialData'>;
|
|
280
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
281
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
282
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
283
|
+
};
|
|
284
|
+
export declare function useGetSettingsByAppShortName<TData = Awaited<ReturnType<ReturnType<typeof useGetSettingsByAppShortNameHook>>>, TError = ErrorType<void>>(appShortName: string, options?: {
|
|
285
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingsByAppShortNameHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingsByAppShortNameHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetSettingsByAppShortNameHook>>>>, 'initialData'>;
|
|
286
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
287
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
288
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
289
|
+
};
|
|
290
|
+
export declare function useGetSettingsByAppShortName<TData = Awaited<ReturnType<ReturnType<typeof useGetSettingsByAppShortNameHook>>>, TError = ErrorType<void>>(appShortName: string, options?: {
|
|
228
291
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetSettingsByAppShortNameHook>>>, TError, TData>>;
|
|
229
|
-
|
|
230
|
-
|
|
292
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
293
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
294
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
231
295
|
};
|
|
232
296
|
/**
|
|
233
297
|
* @summary Create a Setting for a given appShortName
|
|
234
298
|
*/
|
|
235
|
-
export declare const
|
|
299
|
+
export declare const getCreatePublicSettingByUserIdUrl: (appShortName: string) => string;
|
|
300
|
+
export declare const useCreatePublicSettingByUserIdHook: () => ((appShortName: string, settingDto: SettingDto, options?: RequestInit) => Promise<SettingDto>);
|
|
236
301
|
export declare const useCreatePublicSettingByUserIdMutationOptions: <TError = ErrorType<void>, TContext = unknown>(options?: {
|
|
237
302
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreatePublicSettingByUserIdHook>>>, TError, {
|
|
238
303
|
appShortName: string;
|
|
239
304
|
data: BodyType<SettingDto>;
|
|
240
305
|
}, TContext>;
|
|
306
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
241
307
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreatePublicSettingByUserIdHook>>>, TError, {
|
|
242
308
|
appShortName: string;
|
|
243
309
|
data: BodyType<SettingDto>;
|
|
@@ -253,7 +319,8 @@ export declare const useCreatePublicSettingByUserId: <TError = ErrorType<void>,
|
|
|
253
319
|
appShortName: string;
|
|
254
320
|
data: BodyType<SettingDto>;
|
|
255
321
|
}, TContext>;
|
|
256
|
-
|
|
322
|
+
request?: SecondParameter<ReturnType<typeof useCustomClient>>;
|
|
323
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreatePublicSettingByUserIdHook>>>, TError, {
|
|
257
324
|
appShortName: string;
|
|
258
325
|
data: BodyType<SettingDto>;
|
|
259
326
|
}, TContext>;
|
package/lib/api/roma/index.d.ts
CHANGED
|
@@ -7,3 +7,7 @@ export * from './api/environment-controller/environment-controller';
|
|
|
7
7
|
export * from './model';
|
|
8
8
|
export * from './api/roma-configuration-controller/roma-configuration-controller';
|
|
9
9
|
export * from './api/feedback-controller/feedback-controller';
|
|
10
|
+
export * from './api/alarm-group-controller/alarm-group-controller';
|
|
11
|
+
export * from './api/alarm-controller/alarm-controller';
|
|
12
|
+
export * from './api/alarm-sse-controller/alarm-sse-controller';
|
|
13
|
+
export * from './api/health-controller/health-controller';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.5.3 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Tops Roma Rest API
|
|
5
|
+
* Tops Roma Rest API
|
|
6
|
+
* OpenAPI spec version: v1.0.0
|
|
7
|
+
*/
|
|
8
|
+
export type AdminDtoAdminType = (typeof AdminDtoAdminType)[keyof typeof AdminDtoAdminType];
|
|
9
|
+
export declare const AdminDtoAdminType: {
|
|
10
|
+
readonly ServicePrincipal: "ServicePrincipal";
|
|
11
|
+
readonly User: "User";
|
|
12
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AlarmDtoPayload } from './alarmDtoPayload';
|
|
2
|
+
import { AlarmDtoSeverity } from './alarmDtoSeverity';
|
|
3
|
+
import { AlarmDtoState } from './alarmDtoState';
|
|
4
|
+
export interface AlarmDto {
|
|
5
|
+
id?: string;
|
|
6
|
+
source?: string;
|
|
7
|
+
subject?: string;
|
|
8
|
+
message?: string;
|
|
9
|
+
severity?: AlarmDtoSeverity;
|
|
10
|
+
state?: AlarmDtoState;
|
|
11
|
+
targetGroups?: string[];
|
|
12
|
+
targetUsers?: string[];
|
|
13
|
+
correlationId?: string;
|
|
14
|
+
payload?: AlarmDtoPayload;
|
|
15
|
+
raisedAt?: string;
|
|
16
|
+
clearedAt?: string;
|
|
17
|
+
clearedBy?: string;
|
|
18
|
+
clearedReason?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.5.3 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Tops Roma Rest API
|
|
5
|
+
* Tops Roma Rest API
|
|
6
|
+
* OpenAPI spec version: v1.0.0
|
|
7
|
+
*/
|
|
8
|
+
export type AlarmDtoSeverity = (typeof AlarmDtoSeverity)[keyof typeof AlarmDtoSeverity];
|
|
9
|
+
export declare const AlarmDtoSeverity: {
|
|
10
|
+
readonly LOW: "LOW";
|
|
11
|
+
readonly MEDIUM: "MEDIUM";
|
|
12
|
+
readonly HIGH: "HIGH";
|
|
13
|
+
readonly CRITICAL: "CRITICAL";
|
|
14
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.5.3 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Tops Roma Rest API
|
|
5
|
+
* Tops Roma Rest API
|
|
6
|
+
* OpenAPI spec version: v1.0.0
|
|
7
|
+
*/
|
|
8
|
+
export type AlarmDtoState = (typeof AlarmDtoState)[keyof typeof AlarmDtoState];
|
|
9
|
+
export declare const AlarmDtoState: {
|
|
10
|
+
readonly ACTIVE: "ACTIVE";
|
|
11
|
+
readonly CLEARED: "CLEARED";
|
|
12
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.5.3 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Tops Roma Rest API
|
|
5
|
+
* Tops Roma Rest API
|
|
6
|
+
* OpenAPI spec version: v1.0.0
|
|
7
|
+
*/
|
|
8
|
+
export interface AlarmGroupDto {
|
|
9
|
+
id?: string;
|
|
10
|
+
/** @minLength 1 */
|
|
11
|
+
name: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
members?: string[];
|
|
14
|
+
createdAt?: string;
|
|
15
|
+
createdBy?: string;
|
|
16
|
+
}
|
|
@@ -1,19 +1,44 @@
|
|
|
1
|
+
import { BuildDto } from './buildDto';
|
|
1
2
|
import { CategoryDto } from './categoryDto';
|
|
3
|
+
import { ConfigDto } from './configDto';
|
|
2
4
|
import { VersionDto } from './versionDto';
|
|
5
|
+
import { VisualizationDto } from './visualizationDto';
|
|
3
6
|
export interface AppDto {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Deprecated. Use appKey instead. This field will be removed in Q3 2025.
|
|
9
|
+
* @deprecated
|
|
10
|
+
*/
|
|
11
|
+
key?: string;
|
|
12
|
+
appKey: string;
|
|
13
|
+
/**
|
|
14
|
+
* Deprecated. Use displayName instead. This field will be removed in Q3 2025.
|
|
15
|
+
* @deprecated
|
|
16
|
+
*/
|
|
17
|
+
name?: string;
|
|
18
|
+
displayName: string;
|
|
19
|
+
version: VersionDto;
|
|
20
|
+
/** @minLength 1 */
|
|
21
|
+
shortName: string;
|
|
22
|
+
/** @minLength 1 */
|
|
8
23
|
entry: string;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
key: string;
|
|
12
|
-
name: string;
|
|
13
|
-
order?: number;
|
|
24
|
+
/** @minLength 1 */
|
|
25
|
+
description: string;
|
|
14
26
|
publishedDate?: string;
|
|
15
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Deprecated. Use keywords instead. This field will be removed in Q3 2025.
|
|
29
|
+
* @deprecated
|
|
30
|
+
*/
|
|
16
31
|
tags?: string[];
|
|
32
|
+
keywords?: string[];
|
|
33
|
+
hide?: boolean;
|
|
34
|
+
order?: number;
|
|
35
|
+
/** @minLength 1 */
|
|
17
36
|
type: string;
|
|
18
|
-
|
|
37
|
+
accentColor?: string;
|
|
38
|
+
icon?: string;
|
|
39
|
+
categoryId: string;
|
|
40
|
+
category?: CategoryDto;
|
|
41
|
+
visualization?: VisualizationDto;
|
|
42
|
+
build?: BuildDto;
|
|
43
|
+
config?: ConfigDto;
|
|
19
44
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.5.3 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Tops Roma Rest API
|
|
5
|
+
* Tops Roma Rest API
|
|
6
|
+
* OpenAPI spec version: v1.0.0
|
|
7
|
+
*/
|
|
8
|
+
export interface BuildDto {
|
|
9
|
+
/** @minLength 1 */
|
|
10
|
+
entryPoint: string;
|
|
11
|
+
/** @minLength 1 */
|
|
12
|
+
version: string;
|
|
13
|
+
assetPath?: string;
|
|
14
|
+
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval
|
|
2
|
+
* Generated by orval v8.5.3 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Tops Roma Rest API
|
|
5
5
|
* Tops Roma Rest API
|
|
6
6
|
* OpenAPI spec version: v1.0.0
|
|
7
7
|
*/
|
|
8
8
|
export interface CategoryDto {
|
|
9
|
-
color?: string;
|
|
10
|
-
defaultIcon?: string;
|
|
11
9
|
id: string;
|
|
10
|
+
/** @minLength 1 */
|
|
12
11
|
name: string;
|
|
12
|
+
color?: string;
|
|
13
|
+
defaultIcon?: string;
|
|
13
14
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.5.3 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Tops Roma Rest API
|
|
5
|
+
* Tops Roma Rest API
|
|
6
|
+
* OpenAPI spec version: v1.0.0
|
|
7
|
+
*/
|
|
8
|
+
export interface ClearAlarmRequest {
|
|
9
|
+
alarmId?: string;
|
|
10
|
+
clearedBy?: string;
|
|
11
|
+
/** @minLength 1 */
|
|
12
|
+
reason: string;
|
|
13
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ServiceDto } from './serviceDto';
|
|
2
2
|
export interface EnvironmentDto {
|
|
3
|
-
clientId?: string;
|
|
4
3
|
environmentName?: string;
|
|
5
|
-
|
|
6
|
-
resourceV1?: string;
|
|
4
|
+
clientId?: string;
|
|
7
5
|
resourceV2?: string;
|
|
8
|
-
|
|
6
|
+
resourceV1?: string;
|
|
9
7
|
type?: string;
|
|
8
|
+
frontendClientId?: string;
|
|
9
|
+
services?: ServiceDto[];
|
|
10
10
|
}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval
|
|
2
|
+
* Generated by orval v8.5.3 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Tops Roma Rest API
|
|
5
5
|
* Tops Roma Rest API
|
|
6
6
|
* OpenAPI spec version: v1.0.0
|
|
7
7
|
*/
|
|
8
8
|
export interface FeedbackDetailsDto {
|
|
9
|
-
|
|
10
|
-
includeUsername?: boolean;
|
|
9
|
+
/** @minLength 1 */
|
|
11
10
|
title: string;
|
|
11
|
+
/** @minLength 1 */
|
|
12
|
+
description: string;
|
|
13
|
+
/** @minLength 1 */
|
|
12
14
|
type: string;
|
|
15
|
+
includeUsername?: boolean;
|
|
13
16
|
}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval
|
|
2
|
+
* Generated by orval v8.5.3 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Tops Roma Rest API
|
|
5
5
|
* Tops Roma Rest API
|
|
6
6
|
* OpenAPI spec version: v1.0.0
|
|
7
7
|
*/
|
|
8
8
|
export interface FeedbackExpandedResponseDetailsDto {
|
|
9
|
-
|
|
10
|
-
description: string;
|
|
9
|
+
/** @minLength 1 */
|
|
11
10
|
title: string;
|
|
11
|
+
/** @minLength 1 */
|
|
12
|
+
description: string;
|
|
13
|
+
/** @minLength 1 */
|
|
12
14
|
type: string;
|
|
15
|
+
/** @minLength 1 */
|
|
16
|
+
created: string;
|
|
13
17
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { FeedbackExpandedResponseDetailsDto } from './feedbackExpandedResponseDetailsDto';
|
|
2
2
|
export interface FeedbackExpandedResponseIssueDto {
|
|
3
|
+
/** @minLength 1 */
|
|
3
4
|
area: string;
|
|
4
|
-
|
|
5
|
+
/** @minLength 1 */
|
|
5
6
|
key: string;
|
|
7
|
+
details: FeedbackExpandedResponseDetailsDto;
|
|
6
8
|
}
|