itrm-components 1.0.34-beta.4 → 1.0.34-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +146 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -84,10 +84,156 @@ export declare enum HttpCode {
84
84
  SERVICE_UNAVAILABLE = 503
85
85
  }
86
86
 
87
+ export declare interface IActivityHistory {
88
+ activityHistoryId?: number;
89
+ userId?: string;
90
+ platformId?: number;
91
+ roleId?: number;
92
+ typeId?: number;
93
+ details?: Record<string, any>;
94
+ updatedAt?: string;
95
+ createdAt?: string;
96
+ config?: AxiosRequestConfig;
97
+ }
98
+
99
+ export declare interface IApplication {
100
+ applicationId?: number;
101
+ name?: string;
102
+ details?: IApplicationDetails;
103
+ updatedAt?: string;
104
+ createdAt?: string;
105
+ config?: AxiosRequestConfig;
106
+ }
107
+
108
+ export declare interface IApplicationDetails {
109
+ lang: Record<string, string>;
110
+ description?: string;
111
+ config?: AxiosRequestConfig;
112
+ }
113
+
114
+ export declare interface IAvailablePlatform {
115
+ availablePlatformId?: number;
116
+ userId?: string;
117
+ roleId?: number;
118
+ platformId?: number;
119
+ applicationId?: number;
120
+ restrictions?: Record<string, any>;
121
+ updatedAt?: string;
122
+ createdAt?: string;
123
+ config?: AxiosRequestConfig;
124
+ }
125
+
126
+ export declare interface IComponent {
127
+ componentId?: number;
128
+ platformId?: number;
129
+ applicationId?: number;
130
+ name?: string;
131
+ details?: IComponentDetails;
132
+ platforms?: IPlatform[];
133
+ applications?: IApplication[];
134
+ updatedAt?: string;
135
+ createdAt?: string;
136
+ config?: AxiosRequestConfig;
137
+ }
138
+
139
+ export declare interface IComponentDetails {
140
+ lang: Record<string, string>;
141
+ services: Record<string, Record<string, Record<string, boolean>>>;
142
+ viewTypes: string[] | string;
143
+ config?: AxiosRequestConfig;
144
+ }
145
+
87
146
  export declare interface IconComponentProps {
88
147
  icon: string;
89
148
  }
90
149
 
150
+ export declare interface IKey {
151
+ keyId?: number;
152
+ userId?: string;
153
+ lastNonce?: number;
154
+ publicKey?: string;
155
+ secretKey?: string;
156
+ signKey?: string;
157
+ details?: Record<string, any>;
158
+ updatedAt?: string;
159
+ createdAt?: string;
160
+ config?: AxiosRequestConfig;
161
+ }
162
+
163
+ export declare interface IPlatform {
164
+ platformId?: number;
165
+ applicationId?: number;
166
+ name?: string;
167
+ details?: IPlatformDetails;
168
+ updatedAt?: string;
169
+ createdAt?: string;
170
+ config?: AxiosRequestConfig;
171
+ }
172
+
173
+ export declare interface IPlatformDetails {
174
+ lang: Record<string, string>;
175
+ description?: string;
176
+ platformUrl: string;
177
+ config?: AxiosRequestConfig;
178
+ }
179
+
180
+ export declare interface IRole {
181
+ roleId?: number;
182
+ name?: string;
183
+ permissions?: IRolePermissions;
184
+ updatedAt?: string;
185
+ createdAt?: string;
186
+ config?: AxiosRequestConfig;
187
+ }
188
+
189
+ export declare interface IRolePermissions {
190
+ type?: string;
191
+ url?: string;
192
+ components?: Record<string, Record<string, string | string[]>>;
193
+ services?: Record<string, Record<string, Record<string, boolean>>>;
194
+ schema?: IComponent[];
195
+ }
196
+
197
+ export declare interface IStatus {
198
+ statusId?: number;
199
+ status?: string;
200
+ details?: Record<string, Record<string, string>>;
201
+ updatedAt?: string;
202
+ createdAt?: string;
203
+ config?: AxiosRequestConfig;
204
+ }
205
+
206
+ export declare interface IType {
207
+ typeId?: number;
208
+ type?: string;
209
+ details?: Record<string, Record<string, string> | string>;
210
+ updatedAt?: string;
211
+ createdAt?: string;
212
+ config?: AxiosRequestConfig;
213
+ }
214
+
215
+ export declare interface IUser {
216
+ userId?: string;
217
+ statusId?: number;
218
+ credentialsId?: number;
219
+ updatedAt?: string;
220
+ createdAt?: string;
221
+ status?: IStatus;
222
+ userCredentials?: IUserCredentials;
223
+ config?: AxiosRequestConfig;
224
+ }
225
+
226
+ export declare interface IUserCredentials {
227
+ userCredentialId?: number;
228
+ userName?: string;
229
+ password?: string;
230
+ email?: string;
231
+ metadata?: Record<string, boolean>;
232
+ updatedAt?: string;
233
+ createdAt?: string;
234
+ config?: AxiosRequestConfig;
235
+ }
236
+
91
237
  export declare function listFormat(value: string): string;
92
238
 
93
239
  export declare function mapErrorCodeToHttpStatus(code: string): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itrm-components",
3
- "version": "1.0.34-beta.4",
3
+ "version": "1.0.34-beta.5",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.js",
6
6
  "module": "./dist/index.es.js",