@equinor/roma-framework 0.0.11 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dev-portal/package.json +1 -1
  2. package/dev-portal/roma-framework.umd.js +29562 -12939
  3. package/index.d.ts +1 -0
  4. package/lib/api/ms-graph/api/group/find-group-members.d.ts +3 -0
  5. package/lib/api/ms-graph/api/user/find-user-by-shortname.d.ts +1 -0
  6. package/lib/api/ms-graph/api/user/find-users-by-mail.d.ts +3 -0
  7. package/lib/api/ms-graph/index.d.ts +11 -0
  8. package/lib/api/ms-graph/model/group-membership.d.ts +8 -0
  9. package/lib/api/ms-graph/model/user.d.ts +18 -0
  10. package/lib/api/roma/api/app-controller/app-controller.d.ts +46 -24
  11. package/lib/api/roma/api/category-controller/category-controller.d.ts +18 -24
  12. package/lib/api/roma/api/environment-controller/environment-controller.d.ts +6 -12
  13. package/lib/api/roma/api/feedback-controller/feedback-controller.d.ts +31 -0
  14. package/lib/api/roma/api/roma-configuration-controller/roma-configuration-controller.d.ts +21 -27
  15. package/lib/api/roma/api/server-side-event-controller/server-side-event-controller.d.ts +6 -12
  16. package/lib/api/roma/api/service-controller/service-controller.d.ts +18 -24
  17. package/lib/api/roma/api/setting-controller/setting-controller.d.ts +56 -62
  18. package/lib/api/roma/index.d.ts +1 -0
  19. package/lib/api/roma/model/appDto.d.ts +3 -9
  20. package/lib/api/roma/model/environmentDto.d.ts +3 -8
  21. package/{dev-portal/lib/api/roma/model/categoryDto.d.ts → lib/api/roma/model/feedbackDetailsDto.d.ts} +5 -5
  22. package/lib/api/roma/model/feedbackDto.d.ts +7 -0
  23. package/{dev-portal/lib/api/roma/model/versionDto.d.ts → lib/api/roma/model/feedbackFeedbackDto.d.ts} +5 -4
  24. package/lib/api/roma/model/feedbackResponseDto.d.ts +5 -0
  25. package/lib/api/roma/model/feedbackResponseIssueDto.d.ts +11 -0
  26. package/{dev-portal/lib/api/roma/model/romaConfigurationDtoValue.d.ts → lib/api/roma/model/feedbackSolutionDto.d.ts} +3 -1
  27. package/{dev-portal/lib/api/roma/model/settingDtoValue.d.ts → lib/api/roma/model/getAllApps200.d.ts} +3 -1
  28. package/{dev-portal/lib/api/roma/model/serverSentEventActivityLogDto.d.ts → lib/api/roma/model/getAllCategories200.d.ts} +3 -1
  29. package/{dev-portal/lib/api/roma/model/serverSentEventStandardEventDto.d.ts → lib/api/roma/model/getAllServices200.d.ts} +3 -1
  30. package/lib/api/roma/model/getSettingsByAppShortName200.d.ts +10 -0
  31. package/lib/api/roma/model/getSettingsByUserId200.d.ts +10 -0
  32. package/lib/api/roma/model/index.d.ts +12 -0
  33. package/lib/api/roma/model/romaConfigurationDto.d.ts +2 -8
  34. package/lib/api/roma/model/romaConfigurationDtoValue.d.ts +3 -1
  35. package/lib/api/roma/model/serverSentEventStandardEventDto.d.ts +3 -1
  36. package/lib/api/roma/model/settingDto.d.ts +2 -8
  37. package/lib/api/roma/model/settingDtoValue.d.ts +3 -1
  38. package/lib/api/roma/model/uploadBundleBody.d.ts +10 -0
  39. package/lib/api/roma/use-client.d.ts +1 -1
  40. package/lib/app-provider.d.ts +3 -2
  41. package/lib/dev-portal/AppLoader.d.ts +4 -1
  42. package/lib/dev-portal/EquinorLoader.d.ts +2 -1
  43. package/lib/dev-portal/ErrorViewer.d.ts +1 -0
  44. package/lib/dev-portal/HttpErrorViewer.d.ts +1 -0
  45. package/lib/eds-event-provider.d.ts +1 -0
  46. package/lib/make-component.d.ts +2 -1
  47. package/lib/query/persister.d.ts +1 -0
  48. package/lib/style-provider.d.ts +1 -0
  49. package/package.json +1 -1
  50. package/roma-framework.mjs +135 -5
  51. package/dev-portal/lib/api/roma/api/app-controller/app-controller.d.ts +0 -100
  52. package/dev-portal/lib/api/roma/api/category-controller/category-controller.d.ts +0 -100
  53. package/dev-portal/lib/api/roma/api/environment-controller/environment-controller.d.ts +0 -33
  54. package/dev-portal/lib/api/roma/api/roma-configuration-controller/roma-configuration-controller.d.ts +0 -168
  55. package/dev-portal/lib/api/roma/api/server-side-event-controller/server-side-event-controller.d.ts +0 -27
  56. package/dev-portal/lib/api/roma/api/service-controller/service-controller.d.ts +0 -100
  57. package/dev-portal/lib/api/roma/api/setting-controller/setting-controller.d.ts +0 -267
  58. package/dev-portal/lib/api/roma/index.d.ts +0 -8
  59. package/dev-portal/lib/api/roma/model/appDto.d.ts +0 -26
  60. package/dev-portal/lib/api/roma/model/environmentDto.d.ts +0 -16
  61. package/dev-portal/lib/api/roma/model/getAllRomaConfigurationTypes200Item.d.ts +0 -11
  62. package/dev-portal/lib/api/roma/model/index.d.ts +0 -19
  63. package/dev-portal/lib/api/roma/model/romaConfigurationDto.d.ts +0 -14
  64. package/dev-portal/lib/api/roma/model/serviceDto.d.ts +0 -16
  65. package/dev-portal/lib/api/roma/model/settingDto.d.ts +0 -16
  66. package/dev-portal/lib/api/roma/use-client.d.ts +0 -34
  67. package/dev-portal/lib/app-provider.d.ts +0 -32
  68. package/dev-portal/lib/dev-portal/AppLoader.d.ts +0 -12
  69. package/dev-portal/lib/dev-portal/AppViewer.d.ts +0 -6
  70. package/dev-portal/lib/dev-portal/EquinorLoader.d.ts +0 -12
  71. package/dev-portal/lib/dev-portal/ErrorViewer.d.ts +0 -20
  72. package/dev-portal/lib/dev-portal/Header.d.ts +0 -2
  73. package/dev-portal/lib/dev-portal/Navigation.d.ts +0 -5
  74. package/dev-portal/lib/dev-portal/Root.d.ts +0 -5
  75. package/dev-portal/lib/dev-portal/config.d.ts +0 -3
  76. package/dev-portal/lib/dev-portal/index.d.ts +0 -13
  77. package/dev-portal/lib/eds-event-provider.d.ts +0 -6
  78. package/dev-portal/lib/make-component.d.ts +0 -12
  79. package/dev-portal/lib/query/persister.d.ts +0 -6
  80. package/dev-portal/lib/style-provider.d.ts +0 -7
  81. package/lib/api/fetcher.d.ts +0 -21
@@ -1,23 +1,17 @@
1
- /**
2
- * Generated by orval v6.20.0 🍺
3
- * Do not edit manually.
4
- * Tops Roma Rest API
5
- * Tops Roma Rest API
6
- * OpenAPI spec version: v1.0.0
7
- */
8
- import type { QueryKey, UseMutationOptions, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
9
- import type { ServiceDto } from '../../model';
10
- import type { BodyType, ErrorType } from '../../use-client';
1
+ import { QueryKey, UseMutationOptions, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
2
+ import { GetAllServices200, ServiceDto } from '../../model';
3
+ import { ErrorType, BodyType } from '../../use-client';
4
+
11
5
  type AwaitedInput<T> = PromiseLike<T> | T;
12
6
  type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
13
7
  /**
14
8
  * @summary List services for current environment
15
9
  */
16
- export declare const useGetAllServicesHook: () => (signal?: AbortSignal) => Promise<ServiceDto[]>;
10
+ export declare const useGetAllServicesHook: () => (signal?: AbortSignal) => Promise<GetAllServices200>;
17
11
  export declare const getGetAllServicesQueryKey: () => readonly ["/api/apps/services"];
18
- export declare const useGetAllServicesQueryOptions: <TData = ServiceDto[], TError = import("../../use-client").HttpError>(options?: {
19
- query?: Partial<UseQueryOptions<ServiceDto[], TError, TData, QueryKey>> | undefined;
20
- } | undefined) => UseQueryOptions<ServiceDto[], TError, TData, QueryKey> & {
12
+ export declare const useGetAllServicesQueryOptions: <TData = GetAllServices200, TError = import('../../use-client').HttpError>(options?: {
13
+ query?: Partial<UseQueryOptions<GetAllServices200, TError, TData, QueryKey>> | undefined;
14
+ } | undefined) => UseQueryOptions<GetAllServices200, TError, TData, QueryKey> & {
21
15
  queryKey: QueryKey;
22
16
  };
23
17
  export type GetAllServicesQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetAllServicesHook>>>>;
@@ -25,8 +19,8 @@ export type GetAllServicesQueryError = ErrorType<void>;
25
19
  /**
26
20
  * @summary List services for current environment
27
21
  */
28
- export declare const useGetAllServices: <TData = ServiceDto[], TError = import("../../use-client").HttpError>(options?: {
29
- query?: Partial<UseQueryOptions<ServiceDto[], TError, TData, QueryKey>> | undefined;
22
+ export declare const useGetAllServices: <TData = GetAllServices200, TError = import('../../use-client').HttpError>(options?: {
23
+ query?: Partial<UseQueryOptions<GetAllServices200, TError, TData, QueryKey>> | undefined;
30
24
  } | undefined) => UseQueryResult<TData, TError> & {
31
25
  queryKey: QueryKey;
32
26
  };
@@ -34,7 +28,7 @@ export declare const useGetAllServices: <TData = ServiceDto[], TError = import("
34
28
  * @summary Create or update service for current environment
35
29
  */
36
30
  export declare const useCreateOrUpdateServiceHook: () => (serviceDto: BodyType<ServiceDto>) => Promise<ServiceDto>;
37
- export declare const useCreateOrUpdateServiceMutationOptions: <TError = import("../../use-client").HttpError, TContext = unknown>(options?: {
31
+ export declare const useCreateOrUpdateServiceMutationOptions: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
38
32
  mutation?: UseMutationOptions<ServiceDto, TError, {
39
33
  data: BodyType<ServiceDto>;
40
34
  }, TContext> | undefined;
@@ -47,11 +41,11 @@ export type CreateOrUpdateServiceMutationError = ErrorType<void>;
47
41
  /**
48
42
  * @summary Create or update service for current environment
49
43
  */
50
- export declare const useCreateOrUpdateService: <TError = import("../../use-client").HttpError, TContext = unknown>(options?: {
44
+ export declare const useCreateOrUpdateService: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
51
45
  mutation?: UseMutationOptions<ServiceDto, TError, {
52
46
  data: BodyType<ServiceDto>;
53
47
  }, TContext> | undefined;
54
- } | undefined) => import("@tanstack/react-query/build/legacy/types").UseMutationResult<ServiceDto, TError, {
48
+ } | undefined) => import('@tanstack/react-query/build/legacy/types').UseMutationResult<ServiceDto, TError, {
55
49
  data: BodyType<ServiceDto>;
56
50
  }, TContext>;
57
51
  /**
@@ -59,7 +53,7 @@ export declare const useCreateOrUpdateService: <TError = import("../../use-clien
59
53
  */
60
54
  export declare const useGetServiceByKeyHook: () => (key: string, signal?: AbortSignal) => Promise<ServiceDto>;
61
55
  export declare const getGetServiceByKeyQueryKey: (key: string) => readonly [`/api/apps/services/key/${string}`];
62
- export declare const useGetServiceByKeyQueryOptions: <TData = ServiceDto, TError = import("../../use-client").HttpError>(key: string, options?: {
56
+ export declare const useGetServiceByKeyQueryOptions: <TData = ServiceDto, TError = import('../../use-client').HttpError>(key: string, options?: {
63
57
  query?: Partial<UseQueryOptions<ServiceDto, TError, TData, QueryKey>> | undefined;
64
58
  } | undefined) => UseQueryOptions<ServiceDto, TError, TData, QueryKey> & {
65
59
  queryKey: QueryKey;
@@ -69,7 +63,7 @@ export type GetServiceByKeyQueryError = ErrorType<void>;
69
63
  /**
70
64
  * @summary Get service by key
71
65
  */
72
- export declare const useGetServiceByKey: <TData = ServiceDto, TError = import("../../use-client").HttpError>(key: string, options?: {
66
+ export declare const useGetServiceByKey: <TData = ServiceDto, TError = import('../../use-client').HttpError>(key: string, options?: {
73
67
  query?: Partial<UseQueryOptions<ServiceDto, TError, TData, QueryKey>> | undefined;
74
68
  } | undefined) => UseQueryResult<TData, TError> & {
75
69
  queryKey: QueryKey;
@@ -78,7 +72,7 @@ export declare const useGetServiceByKey: <TData = ServiceDto, TError = import(".
78
72
  * @summary Delete service by key
79
73
  */
80
74
  export declare const useDeleteServiceByKeyHook: () => (key: string) => Promise<void>;
81
- export declare const useDeleteServiceByKeyMutationOptions: <TError = import("../../use-client").HttpError, TContext = unknown>(options?: {
75
+ export declare const useDeleteServiceByKeyMutationOptions: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
82
76
  mutation?: UseMutationOptions<void, TError, {
83
77
  key: string;
84
78
  }, TContext> | undefined;
@@ -90,11 +84,11 @@ export type DeleteServiceByKeyMutationError = ErrorType<unknown>;
90
84
  /**
91
85
  * @summary Delete service by key
92
86
  */
93
- export declare const useDeleteServiceByKey: <TError = import("../../use-client").HttpError, TContext = unknown>(options?: {
87
+ export declare const useDeleteServiceByKey: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
94
88
  mutation?: UseMutationOptions<void, TError, {
95
89
  key: string;
96
90
  }, TContext> | undefined;
97
- } | undefined) => import("@tanstack/react-query/build/legacy/types").UseMutationResult<void, TError, {
91
+ } | undefined) => import('@tanstack/react-query/build/legacy/types').UseMutationResult<void, TError, {
98
92
  key: string;
99
93
  }, TContext>;
100
94
  export {};
@@ -1,21 +1,15 @@
1
- /**
2
- * Generated by orval v6.20.0 🍺
3
- * Do not edit manually.
4
- * Tops Roma Rest API
5
- * Tops Roma Rest API
6
- * OpenAPI spec version: v1.0.0
7
- */
8
- import type { QueryKey, UseMutationOptions, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
9
- import type { SettingDto } from '../../model';
10
- import type { BodyType, ErrorType } from '../../use-client';
1
+ import { QueryKey, UseMutationOptions, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
2
+ import { GetSettingsByAppShortName200, GetSettingsByUserId200, SettingDto } from '../../model';
3
+ import { ErrorType, BodyType } from '../../use-client';
4
+
11
5
  type AwaitedInput<T> = PromiseLike<T> | T;
12
6
  type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
13
7
  /**
14
- * @summary Get a users private Setting by id
8
+ * @summary Get a users Setting by id
15
9
  */
16
10
  export declare const useGetSettingByUserAndIdHook: () => (userId: string, id: string, signal?: AbortSignal) => Promise<SettingDto>;
17
11
  export declare const getGetSettingByUserAndIdQueryKey: (userId: string, id: string) => readonly [`/api/settings/user/${string}/id/${string}`];
18
- export declare const useGetSettingByUserAndIdQueryOptions: <TData = SettingDto, TError = import("../../use-client").HttpError>(userId: string, id: string, options?: {
12
+ export declare const useGetSettingByUserAndIdQueryOptions: <TData = SettingDto, TError = import('../../use-client').HttpError>(userId: string, id: string, options?: {
19
13
  query?: Partial<UseQueryOptions<SettingDto, TError, TData, QueryKey>> | undefined;
20
14
  } | undefined) => UseQueryOptions<SettingDto, TError, TData, QueryKey> & {
21
15
  queryKey: QueryKey;
@@ -23,18 +17,18 @@ export declare const useGetSettingByUserAndIdQueryOptions: <TData = SettingDto,
23
17
  export type GetSettingByUserAndIdQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetSettingByUserAndIdHook>>>>;
24
18
  export type GetSettingByUserAndIdQueryError = ErrorType<void>;
25
19
  /**
26
- * @summary Get a users private Setting by id
20
+ * @summary Get a users Setting by id
27
21
  */
28
- export declare const useGetSettingByUserAndId: <TData = SettingDto, TError = import("../../use-client").HttpError>(userId: string, id: string, options?: {
22
+ export declare const useGetSettingByUserAndId: <TData = SettingDto, TError = import('../../use-client').HttpError>(userId: string, id: string, options?: {
29
23
  query?: Partial<UseQueryOptions<SettingDto, TError, TData, QueryKey>> | undefined;
30
24
  } | undefined) => UseQueryResult<TData, TError> & {
31
25
  queryKey: QueryKey;
32
26
  };
33
27
  /**
34
- * @summary Update a private Setting by id
28
+ * @summary Update a Setting by id
35
29
  */
36
30
  export declare const useUpdateByUserIdAndIdHook: () => (userId: string, id: string, settingDto: BodyType<SettingDto>) => Promise<SettingDto>;
37
- export declare const useUpdateByUserIdAndIdMutationOptions: <TError = import("../../use-client").HttpError, TContext = unknown>(options?: {
31
+ export declare const useUpdateByUserIdAndIdMutationOptions: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
38
32
  mutation?: UseMutationOptions<SettingDto, TError, {
39
33
  userId: string;
40
34
  id: string;
@@ -49,24 +43,24 @@ export type UpdateByUserIdAndIdMutationResult = NonNullable<Awaited<ReturnType<R
49
43
  export type UpdateByUserIdAndIdMutationBody = BodyType<SettingDto>;
50
44
  export type UpdateByUserIdAndIdMutationError = ErrorType<void>;
51
45
  /**
52
- * @summary Update a private Setting by id
46
+ * @summary Update a Setting by id
53
47
  */
54
- export declare const useUpdateByUserIdAndId: <TError = import("../../use-client").HttpError, TContext = unknown>(options?: {
48
+ export declare const useUpdateByUserIdAndId: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
55
49
  mutation?: UseMutationOptions<SettingDto, TError, {
56
50
  userId: string;
57
51
  id: string;
58
52
  data: BodyType<SettingDto>;
59
53
  }, TContext> | undefined;
60
- } | undefined) => import("@tanstack/react-query/build/legacy/types").UseMutationResult<SettingDto, TError, {
54
+ } | undefined) => import('@tanstack/react-query/build/legacy/types').UseMutationResult<SettingDto, TError, {
61
55
  userId: string;
62
56
  id: string;
63
57
  data: BodyType<SettingDto>;
64
58
  }, TContext>;
65
59
  /**
66
- * @summary Delete a private Setting by id
60
+ * @summary Delete a Setting by id
67
61
  */
68
62
  export declare const useDeletePrivateSettingByIdHook: () => (userId: string, id: string) => Promise<SettingDto>;
69
- export declare const useDeletePrivateSettingByIdMutationOptions: <TError = import("../../use-client").HttpError, TContext = unknown>(options?: {
63
+ export declare const useDeletePrivateSettingByIdMutationOptions: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
70
64
  mutation?: UseMutationOptions<SettingDto, TError, {
71
65
  userId: string;
72
66
  id: string;
@@ -78,23 +72,23 @@ export declare const useDeletePrivateSettingByIdMutationOptions: <TError = impor
78
72
  export type DeletePrivateSettingByIdMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeletePrivateSettingByIdHook>>>>;
79
73
  export type DeletePrivateSettingByIdMutationError = ErrorType<void>;
80
74
  /**
81
- * @summary Delete a private Setting by id
75
+ * @summary Delete a Setting by id
82
76
  */
83
- export declare const useDeletePrivateSettingById: <TError = import("../../use-client").HttpError, TContext = unknown>(options?: {
77
+ export declare const useDeletePrivateSettingById: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
84
78
  mutation?: UseMutationOptions<SettingDto, TError, {
85
79
  userId: string;
86
80
  id: string;
87
81
  }, TContext> | undefined;
88
- } | undefined) => import("@tanstack/react-query/build/legacy/types").UseMutationResult<SettingDto, TError, {
82
+ } | undefined) => import('@tanstack/react-query/build/legacy/types').UseMutationResult<SettingDto, TError, {
89
83
  userId: string;
90
84
  id: string;
91
85
  }, TContext>;
92
86
  /**
93
- * @summary Get a users public Setting by id
87
+ * @summary Get a users Setting by id
94
88
  */
95
89
  export declare const useGetPublicSettingByUserAndIdHook: () => (appShortName: string, id: string, signal?: AbortSignal) => Promise<SettingDto>;
96
90
  export declare const getGetPublicSettingByUserAndIdQueryKey: (appShortName: string, id: string) => readonly [`/api/settings/application/${string}/id/${string}`];
97
- export declare const useGetPublicSettingByUserAndIdQueryOptions: <TData = SettingDto, TError = import("../../use-client").HttpError>(appShortName: string, id: string, options?: {
91
+ export declare const useGetPublicSettingByUserAndIdQueryOptions: <TData = SettingDto, TError = import('../../use-client').HttpError>(appShortName: string, id: string, options?: {
98
92
  query?: Partial<UseQueryOptions<SettingDto, TError, TData, QueryKey>> | undefined;
99
93
  } | undefined) => UseQueryOptions<SettingDto, TError, TData, QueryKey> & {
100
94
  queryKey: QueryKey;
@@ -102,18 +96,18 @@ export declare const useGetPublicSettingByUserAndIdQueryOptions: <TData = Settin
102
96
  export type GetPublicSettingByUserAndIdQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetPublicSettingByUserAndIdHook>>>>;
103
97
  export type GetPublicSettingByUserAndIdQueryError = ErrorType<void>;
104
98
  /**
105
- * @summary Get a users public Setting by id
99
+ * @summary Get a users Setting by id
106
100
  */
107
- export declare const useGetPublicSettingByUserAndId: <TData = SettingDto, TError = import("../../use-client").HttpError>(appShortName: string, id: string, options?: {
101
+ export declare const useGetPublicSettingByUserAndId: <TData = SettingDto, TError = import('../../use-client').HttpError>(appShortName: string, id: string, options?: {
108
102
  query?: Partial<UseQueryOptions<SettingDto, TError, TData, QueryKey>> | undefined;
109
103
  } | undefined) => UseQueryResult<TData, TError> & {
110
104
  queryKey: QueryKey;
111
105
  };
112
106
  /**
113
- * @summary Update a public Setting for a given appShortName by id
107
+ * @summary Update a Setting for a given appShortName by id
114
108
  */
115
109
  export declare const useUpdatePublicSettingByAppShortNameAndIdHook: () => (appShortName: string, id: string, settingDto: BodyType<SettingDto>) => Promise<SettingDto>;
116
- export declare const useUpdatePublicSettingByAppShortNameAndIdMutationOptions: <TError = import("../../use-client").HttpError, TContext = unknown>(options?: {
110
+ export declare const useUpdatePublicSettingByAppShortNameAndIdMutationOptions: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
117
111
  mutation?: UseMutationOptions<SettingDto, TError, {
118
112
  appShortName: string;
119
113
  id: string;
@@ -128,24 +122,24 @@ export type UpdatePublicSettingByAppShortNameAndIdMutationResult = NonNullable<A
128
122
  export type UpdatePublicSettingByAppShortNameAndIdMutationBody = BodyType<SettingDto>;
129
123
  export type UpdatePublicSettingByAppShortNameAndIdMutationError = ErrorType<void>;
130
124
  /**
131
- * @summary Update a public Setting for a given appShortName by id
125
+ * @summary Update a Setting for a given appShortName by id
132
126
  */
133
- export declare const useUpdatePublicSettingByAppShortNameAndId: <TError = import("../../use-client").HttpError, TContext = unknown>(options?: {
127
+ export declare const useUpdatePublicSettingByAppShortNameAndId: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
134
128
  mutation?: UseMutationOptions<SettingDto, TError, {
135
129
  appShortName: string;
136
130
  id: string;
137
131
  data: BodyType<SettingDto>;
138
132
  }, TContext> | undefined;
139
- } | undefined) => import("@tanstack/react-query/build/legacy/types").UseMutationResult<SettingDto, TError, {
133
+ } | undefined) => import('@tanstack/react-query/build/legacy/types').UseMutationResult<SettingDto, TError, {
140
134
  appShortName: string;
141
135
  id: string;
142
136
  data: BodyType<SettingDto>;
143
137
  }, TContext>;
144
138
  /**
145
- * @summary Delete a public Setting for a appShortName by id
139
+ * @summary Delete a Setting for a appShortName by id
146
140
  */
147
141
  export declare const useDeletePublicSettingByIdHook: () => (appShortName: string, id: string) => Promise<SettingDto>;
148
- export declare const useDeletePublicSettingByIdMutationOptions: <TError = import("../../use-client").HttpError, TContext = unknown>(options?: {
142
+ export declare const useDeletePublicSettingByIdMutationOptions: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
149
143
  mutation?: UseMutationOptions<SettingDto, TError, {
150
144
  appShortName: string;
151
145
  id: string;
@@ -157,42 +151,42 @@ export declare const useDeletePublicSettingByIdMutationOptions: <TError = import
157
151
  export type DeletePublicSettingByIdMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeletePublicSettingByIdHook>>>>;
158
152
  export type DeletePublicSettingByIdMutationError = ErrorType<void>;
159
153
  /**
160
- * @summary Delete a public Setting for a appShortName by id
154
+ * @summary Delete a Setting for a appShortName by id
161
155
  */
162
- export declare const useDeletePublicSettingById: <TError = import("../../use-client").HttpError, TContext = unknown>(options?: {
156
+ export declare const useDeletePublicSettingById: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
163
157
  mutation?: UseMutationOptions<SettingDto, TError, {
164
158
  appShortName: string;
165
159
  id: string;
166
160
  }, TContext> | undefined;
167
- } | undefined) => import("@tanstack/react-query/build/legacy/types").UseMutationResult<SettingDto, TError, {
161
+ } | undefined) => import('@tanstack/react-query/build/legacy/types').UseMutationResult<SettingDto, TError, {
168
162
  appShortName: string;
169
163
  id: string;
170
164
  }, TContext>;
171
165
  /**
172
- * @summary Get all private Settings by userId
166
+ * @summary Get all Settings by userId
173
167
  */
174
- export declare const useGetSettingsByUserIdHook: () => (userId: string, signal?: AbortSignal) => Promise<SettingDto[]>;
168
+ export declare const useGetSettingsByUserIdHook: () => (userId: string, signal?: AbortSignal) => Promise<GetSettingsByUserId200>;
175
169
  export declare const getGetSettingsByUserIdQueryKey: (userId: string) => readonly [`/api/settings/user/${string}`];
176
- export declare const useGetSettingsByUserIdQueryOptions: <TData = SettingDto[], TError = import("../../use-client").HttpError>(userId: string, options?: {
177
- query?: Partial<UseQueryOptions<SettingDto[], TError, TData, QueryKey>> | undefined;
178
- } | undefined) => UseQueryOptions<SettingDto[], TError, TData, QueryKey> & {
170
+ export declare const useGetSettingsByUserIdQueryOptions: <TData = GetSettingsByUserId200, TError = import('../../use-client').HttpError>(userId: string, options?: {
171
+ query?: Partial<UseQueryOptions<GetSettingsByUserId200, TError, TData, QueryKey>> | undefined;
172
+ } | undefined) => UseQueryOptions<GetSettingsByUserId200, TError, TData, QueryKey> & {
179
173
  queryKey: QueryKey;
180
174
  };
181
175
  export type GetSettingsByUserIdQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetSettingsByUserIdHook>>>>;
182
176
  export type GetSettingsByUserIdQueryError = ErrorType<void>;
183
177
  /**
184
- * @summary Get all private Settings by userId
178
+ * @summary Get all Settings by userId
185
179
  */
186
- export declare const useGetSettingsByUserId: <TData = SettingDto[], TError = import("../../use-client").HttpError>(userId: string, options?: {
187
- query?: Partial<UseQueryOptions<SettingDto[], TError, TData, QueryKey>> | undefined;
180
+ export declare const useGetSettingsByUserId: <TData = GetSettingsByUserId200, TError = import('../../use-client').HttpError>(userId: string, options?: {
181
+ query?: Partial<UseQueryOptions<GetSettingsByUserId200, TError, TData, QueryKey>> | undefined;
188
182
  } | undefined) => UseQueryResult<TData, TError> & {
189
183
  queryKey: QueryKey;
190
184
  };
191
185
  /**
192
- * @summary Create a private Setting for a given user
186
+ * @summary Create a Setting for a given user
193
187
  */
194
188
  export declare const useCreateSettingByUserIdHook: () => (userId: string, settingDto: BodyType<SettingDto>) => Promise<SettingDto>;
195
- export declare const useCreateSettingByUserIdMutationOptions: <TError = import("../../use-client").HttpError, TContext = unknown>(options?: {
189
+ export declare const useCreateSettingByUserIdMutationOptions: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
196
190
  mutation?: UseMutationOptions<SettingDto, TError, {
197
191
  userId: string;
198
192
  data: BodyType<SettingDto>;
@@ -205,25 +199,25 @@ export type CreateSettingByUserIdMutationResult = NonNullable<Awaited<ReturnType
205
199
  export type CreateSettingByUserIdMutationBody = BodyType<SettingDto>;
206
200
  export type CreateSettingByUserIdMutationError = ErrorType<void>;
207
201
  /**
208
- * @summary Create a private Setting for a given user
202
+ * @summary Create a Setting for a given user
209
203
  */
210
- export declare const useCreateSettingByUserId: <TError = import("../../use-client").HttpError, TContext = unknown>(options?: {
204
+ export declare const useCreateSettingByUserId: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
211
205
  mutation?: UseMutationOptions<SettingDto, TError, {
212
206
  userId: string;
213
207
  data: BodyType<SettingDto>;
214
208
  }, TContext> | undefined;
215
- } | undefined) => import("@tanstack/react-query/build/legacy/types").UseMutationResult<SettingDto, TError, {
209
+ } | undefined) => import('@tanstack/react-query/build/legacy/types').UseMutationResult<SettingDto, TError, {
216
210
  userId: string;
217
211
  data: BodyType<SettingDto>;
218
212
  }, TContext>;
219
213
  /**
220
214
  * @summary Get all public or mine Settings by appShortName
221
215
  */
222
- export declare const useGetSettingsByAppShortNameHook: () => (appShortName: string, signal?: AbortSignal) => Promise<SettingDto[]>;
216
+ export declare const useGetSettingsByAppShortNameHook: () => (appShortName: string, signal?: AbortSignal) => Promise<GetSettingsByAppShortName200>;
223
217
  export declare const getGetSettingsByAppShortNameQueryKey: (appShortName: string) => readonly [`/api/settings/application/${string}`];
224
- export declare const useGetSettingsByAppShortNameQueryOptions: <TData = SettingDto[], TError = import("../../use-client").HttpError>(appShortName: string, options?: {
225
- query?: Partial<UseQueryOptions<SettingDto[], TError, TData, QueryKey>> | undefined;
226
- } | undefined) => UseQueryOptions<SettingDto[], TError, TData, QueryKey> & {
218
+ export declare const useGetSettingsByAppShortNameQueryOptions: <TData = GetSettingsByAppShortName200, TError = import('../../use-client').HttpError>(appShortName: string, options?: {
219
+ query?: Partial<UseQueryOptions<GetSettingsByAppShortName200, TError, TData, QueryKey>> | undefined;
220
+ } | undefined) => UseQueryOptions<GetSettingsByAppShortName200, TError, TData, QueryKey> & {
227
221
  queryKey: QueryKey;
228
222
  };
229
223
  export type GetSettingsByAppShortNameQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetSettingsByAppShortNameHook>>>>;
@@ -231,16 +225,16 @@ export type GetSettingsByAppShortNameQueryError = ErrorType<void>;
231
225
  /**
232
226
  * @summary Get all public or mine Settings by appShortName
233
227
  */
234
- export declare const useGetSettingsByAppShortName: <TData = SettingDto[], TError = import("../../use-client").HttpError>(appShortName: string, options?: {
235
- query?: Partial<UseQueryOptions<SettingDto[], TError, TData, QueryKey>> | undefined;
228
+ export declare const useGetSettingsByAppShortName: <TData = GetSettingsByAppShortName200, TError = import('../../use-client').HttpError>(appShortName: string, options?: {
229
+ query?: Partial<UseQueryOptions<GetSettingsByAppShortName200, TError, TData, QueryKey>> | undefined;
236
230
  } | undefined) => UseQueryResult<TData, TError> & {
237
231
  queryKey: QueryKey;
238
232
  };
239
233
  /**
240
- * @summary Create a public Setting for a given appShortName
234
+ * @summary Create a Setting for a given appShortName
241
235
  */
242
236
  export declare const useCreatePublicSettingByUserIdHook: () => (appShortName: string, settingDto: BodyType<SettingDto>) => Promise<SettingDto>;
243
- export declare const useCreatePublicSettingByUserIdMutationOptions: <TError = import("../../use-client").HttpError, TContext = unknown>(options?: {
237
+ export declare const useCreatePublicSettingByUserIdMutationOptions: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
244
238
  mutation?: UseMutationOptions<SettingDto, TError, {
245
239
  appShortName: string;
246
240
  data: BodyType<SettingDto>;
@@ -253,14 +247,14 @@ export type CreatePublicSettingByUserIdMutationResult = NonNullable<Awaited<Retu
253
247
  export type CreatePublicSettingByUserIdMutationBody = BodyType<SettingDto>;
254
248
  export type CreatePublicSettingByUserIdMutationError = ErrorType<void>;
255
249
  /**
256
- * @summary Create a public Setting for a given appShortName
250
+ * @summary Create a Setting for a given appShortName
257
251
  */
258
- export declare const useCreatePublicSettingByUserId: <TError = import("../../use-client").HttpError, TContext = unknown>(options?: {
252
+ export declare const useCreatePublicSettingByUserId: <TError = import('../../use-client').HttpError, TContext = unknown>(options?: {
259
253
  mutation?: UseMutationOptions<SettingDto, TError, {
260
254
  appShortName: string;
261
255
  data: BodyType<SettingDto>;
262
256
  }, TContext> | undefined;
263
- } | undefined) => import("@tanstack/react-query/build/legacy/types").UseMutationResult<SettingDto, TError, {
257
+ } | undefined) => import('@tanstack/react-query/build/legacy/types').UseMutationResult<SettingDto, TError, {
264
258
  appShortName: string;
265
259
  data: BodyType<SettingDto>;
266
260
  }, TContext>;
@@ -6,3 +6,4 @@ export * from './api/server-side-event-controller/server-side-event-controller';
6
6
  export * from './api/environment-controller/environment-controller';
7
7
  export * from './model';
8
8
  export * from './api/roma-configuration-controller/roma-configuration-controller';
9
+ export * from './api/feedback-controller/feedback-controller';
@@ -1,12 +1,6 @@
1
- /**
2
- * Generated by orval v6.20.0 🍺
3
- * Do not edit manually.
4
- * Tops Roma Rest API
5
- * Tops Roma Rest API
6
- * OpenAPI spec version: v1.0.0
7
- */
8
- import type { CategoryDto } from './categoryDto';
9
- import type { VersionDto } from './versionDto';
1
+ import { CategoryDto } from './categoryDto';
2
+ import { VersionDto } from './versionDto';
3
+
10
4
  export interface AppDto {
11
5
  accentColor?: string;
12
6
  category?: CategoryDto;
@@ -1,14 +1,9 @@
1
- /**
2
- * Generated by orval v6.20.0 🍺
3
- * Do not edit manually.
4
- * Tops Roma Rest API
5
- * Tops Roma Rest API
6
- * OpenAPI spec version: v1.0.0
7
- */
8
- import type { ServiceDto } from './serviceDto';
1
+ import { ServiceDto } from './serviceDto';
2
+
9
3
  export interface EnvironmentDto {
10
4
  clientId?: string;
11
5
  environmentName?: string;
6
+ frontendClientId?: string;
12
7
  resourceV1?: string;
13
8
  resourceV2?: string;
14
9
  services?: ServiceDto[];
@@ -5,9 +5,9 @@
5
5
  * Tops Roma Rest API
6
6
  * OpenAPI spec version: v1.0.0
7
7
  */
8
- export interface CategoryDto {
9
- color?: string;
10
- defaultIcon?: string;
11
- id: string;
12
- name: string;
8
+ export interface FeedbackDetailsDto {
9
+ description: string;
10
+ includeUsername?: boolean;
11
+ title: string;
12
+ type: string;
13
13
  }
@@ -0,0 +1,7 @@
1
+ import { FeedbackDetailsDto } from './feedbackDetailsDto';
2
+ import { FeedbackSolutionDto } from './feedbackSolutionDto';
3
+
4
+ export interface FeedbackDto {
5
+ details: FeedbackDetailsDto;
6
+ solution: FeedbackSolutionDto;
7
+ }
@@ -5,8 +5,9 @@
5
5
  * Tops Roma Rest API
6
6
  * OpenAPI spec version: v1.0.0
7
7
  */
8
- export interface VersionDto {
9
- major: number;
10
- minor: number;
11
- patch: number;
8
+ export interface FeedbackFeedbackDto {
9
+ description: string;
10
+ includeUsername?: boolean;
11
+ title: string;
12
+ type: string;
12
13
  }
@@ -0,0 +1,5 @@
1
+ import { FeedbackResponseIssueDto } from './feedbackResponseIssueDto';
2
+
3
+ export interface FeedbackResponseDto {
4
+ issue: FeedbackResponseIssueDto;
5
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval v6.20.0 🍺
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 FeedbackResponseIssueDto {
9
+ area: string;
10
+ key: string;
11
+ }
@@ -5,4 +5,6 @@
5
5
  * Tops Roma Rest API
6
6
  * OpenAPI spec version: v1.0.0
7
7
  */
8
- export type RomaConfigurationDtoValue = Record<string, any>;
8
+ export interface FeedbackSolutionDto {
9
+ area: string;
10
+ }
@@ -5,4 +5,6 @@
5
5
  * Tops Roma Rest API
6
6
  * OpenAPI spec version: v1.0.0
7
7
  */
8
- export type SettingDtoValue = Record<string, any>;
8
+ export type GetAllApps200 = {
9
+ [key: string]: any;
10
+ };
@@ -5,4 +5,6 @@
5
5
  * Tops Roma Rest API
6
6
  * OpenAPI spec version: v1.0.0
7
7
  */
8
- export type ServerSentEventActivityLogDto = Record<string, any>;
8
+ export type GetAllCategories200 = {
9
+ [key: string]: any;
10
+ };
@@ -5,4 +5,6 @@
5
5
  * Tops Roma Rest API
6
6
  * OpenAPI spec version: v1.0.0
7
7
  */
8
- export type ServerSentEventStandardEventDto = Record<string, any>;
8
+ export type GetAllServices200 = {
9
+ [key: string]: any;
10
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by orval v6.20.0 🍺
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 GetSettingsByAppShortName200 = {
9
+ [key: string]: any;
10
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by orval v6.20.0 🍺
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 GetSettingsByUserId200 = {
9
+ [key: string]: any;
10
+ };
@@ -8,7 +8,18 @@
8
8
  export * from './appDto';
9
9
  export * from './categoryDto';
10
10
  export * from './environmentDto';
11
+ export * from './feedbackDetailsDto';
12
+ export * from './feedbackDto';
13
+ export * from './feedbackFeedbackDto';
14
+ export * from './feedbackResponseDto';
15
+ export * from './feedbackResponseIssueDto';
16
+ export * from './feedbackSolutionDto';
17
+ export * from './getAllApps200';
18
+ export * from './getAllCategories200';
11
19
  export * from './getAllRomaConfigurationTypes200Item';
20
+ export * from './getAllServices200';
21
+ export * from './getSettingsByAppShortName200';
22
+ export * from './getSettingsByUserId200';
12
23
  export * from './romaConfigurationDto';
13
24
  export * from './romaConfigurationDtoValue';
14
25
  export * from './serverSentEventActivityLogDto';
@@ -16,4 +27,5 @@ export * from './serverSentEventStandardEventDto';
16
27
  export * from './serviceDto';
17
28
  export * from './settingDto';
18
29
  export * from './settingDtoValue';
30
+ export * from './uploadBundleBody';
19
31
  export * from './versionDto';
@@ -1,11 +1,5 @@
1
- /**
2
- * Generated by orval v6.20.0 🍺
3
- * Do not edit manually.
4
- * Tops Roma Rest API
5
- * Tops Roma Rest API
6
- * OpenAPI spec version: v1.0.0
7
- */
8
- import type { RomaConfigurationDtoValue } from './romaConfigurationDtoValue';
1
+ import { RomaConfigurationDtoValue } from './romaConfigurationDtoValue';
2
+
9
3
  export interface RomaConfigurationDto {
10
4
  id?: string;
11
5
  name: string;
@@ -5,4 +5,6 @@
5
5
  * Tops Roma Rest API
6
6
  * OpenAPI spec version: v1.0.0
7
7
  */
8
- export type RomaConfigurationDtoValue = Record<string, any>;
8
+ export type RomaConfigurationDtoValue = {
9
+ [key: string]: any;
10
+ };
@@ -5,4 +5,6 @@
5
5
  * Tops Roma Rest API
6
6
  * OpenAPI spec version: v1.0.0
7
7
  */
8
- export type ServerSentEventStandardEventDto = Record<string, any>;
8
+ export interface ServerSentEventStandardEventDto {
9
+ [key: string]: any;
10
+ }
@@ -1,11 +1,5 @@
1
- /**
2
- * Generated by orval v6.20.0 🍺
3
- * Do not edit manually.
4
- * Tops Roma Rest API
5
- * Tops Roma Rest API
6
- * OpenAPI spec version: v1.0.0
7
- */
8
- import type { SettingDtoValue } from './settingDtoValue';
1
+ import { SettingDtoValue } from './settingDtoValue';
2
+
9
3
  export interface SettingDto {
10
4
  appShortName?: string;
11
5
  id?: string;