@evercam/api 1.0.0-ae97ae0a0 → 1.0.0-api-fixes-7de7fc3dd
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/dist/api/api/adminApi.d.ts +61 -57
- package/dist/api/api/aiApi.d.ts +1 -0
- package/dist/api/api/evercamApi.d.ts +26 -29
- package/dist/api/api/ingestApi.d.ts +3 -0
- package/dist/api/types/aconex.d.ts +2 -1
- package/dist/api/types/admin.d.ts +20 -4
- package/dist/api/types/analytics.d.ts +2 -1
- package/dist/api/types/anpr.d.ts +0 -1
- package/dist/api/types/auditLogs.d.ts +44 -37
- package/dist/api/types/bim.d.ts +48 -37
- package/dist/api/types/camera.d.ts +56 -43
- package/dist/api/types/comments.d.ts +24 -16
- package/dist/api/types/company.d.ts +23 -12
- package/dist/api/types/compare.d.ts +27 -23
- package/dist/api/types/hdd.d.ts +58 -24
- package/dist/api/types/kit.d.ts +19 -15
- package/dist/api/types/media.d.ts +13 -0
- package/dist/api/types/notification.d.ts +34 -28
- package/dist/api/types/nvr.d.ts +28 -0
- package/dist/api/types/oauth.d.ts +1 -0
- package/dist/api/types/progressPhoto.d.ts +24 -21
- package/dist/api/types/project.d.ts +57 -14
- package/dist/api/types/recording.d.ts +4 -3
- package/dist/api/types/roi.d.ts +2 -1
- package/dist/api/types/router.d.ts +23 -2
- package/dist/api/types/shared.d.ts +50 -43
- package/dist/api/types/sim.d.ts +1 -4
- package/dist/api/types/snapshots.d.ts +55 -8
- package/dist/api/types/storageProvider.d.ts +15 -3
- package/dist/api/types/timelapse.d.ts +38 -12
- package/dist/api/types/user.d.ts +76 -64
- package/dist/api/types/videoWall.d.ts +8 -8
- package/dist/api/types/weather.d.ts +90 -16
- package/dist/api/types/widget.d.ts +56 -47
- package/dist/index.js +259 -238
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/shared/types/components.d.ts +6 -1
- package/package.json +1 -1
|
@@ -122,14 +122,21 @@ export declare const WidgetTypesByResource: {
|
|
|
122
122
|
project: WidgetType[];
|
|
123
123
|
};
|
|
124
124
|
export type WidgetsListRequestPayload = PaginationParams & {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
125
|
+
id?: number;
|
|
126
|
+
projectExid?: string;
|
|
127
|
+
projectId?: string;
|
|
128
|
+
cameraId?: string;
|
|
129
|
+
presetId?: string;
|
|
130
|
+
active?: boolean;
|
|
131
|
+
widgetType?: WidgetType;
|
|
132
|
+
domainRestricted?: boolean;
|
|
133
|
+
allowedOrigin?: string;
|
|
134
|
+
ressources?: string;
|
|
135
|
+
user?: string;
|
|
136
|
+
showDashboardLink?: boolean;
|
|
137
|
+
public?: boolean;
|
|
138
|
+
name?: string;
|
|
139
|
+
description?: string;
|
|
133
140
|
};
|
|
134
141
|
export type Widget = {
|
|
135
142
|
id: number;
|
|
@@ -138,55 +145,45 @@ export type Widget = {
|
|
|
138
145
|
id: number;
|
|
139
146
|
exid: string;
|
|
140
147
|
name: string;
|
|
148
|
+
status?: string;
|
|
141
149
|
};
|
|
142
150
|
project?: {
|
|
143
151
|
id: number;
|
|
144
152
|
exid: string;
|
|
145
153
|
name: string;
|
|
154
|
+
featureFlags?: string[];
|
|
146
155
|
};
|
|
147
|
-
|
|
148
|
-
widgetType: WidgetType;
|
|
149
|
-
settings: WidgetSettings;
|
|
150
|
-
allowedOrigin: string;
|
|
151
|
-
domainRestricted: boolean;
|
|
152
|
-
active: boolean;
|
|
153
|
-
user: {
|
|
154
|
-
id: number;
|
|
155
|
-
email: string;
|
|
156
|
-
firstname: string;
|
|
157
|
-
lastname: string;
|
|
158
|
-
};
|
|
159
|
-
insertedAt: string;
|
|
160
|
-
updatedAt: string;
|
|
161
|
-
};
|
|
162
|
-
export type WidgetFull = {
|
|
163
|
-
id: number;
|
|
164
|
-
ressources: {
|
|
165
|
-
camera?: {
|
|
166
|
-
id: number;
|
|
167
|
-
exid: string;
|
|
168
|
-
name: string;
|
|
169
|
-
};
|
|
170
|
-
project?: {
|
|
156
|
+
preset?: {
|
|
171
157
|
id: number;
|
|
172
158
|
exid: string;
|
|
173
159
|
name: string;
|
|
160
|
+
config?: JsonObject;
|
|
174
161
|
};
|
|
175
162
|
};
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
active: boolean;
|
|
180
|
-
user: {
|
|
181
|
-
id: number;
|
|
163
|
+
createdBy?: {
|
|
164
|
+
firstname: string;
|
|
165
|
+
lastname: string;
|
|
182
166
|
email: string;
|
|
183
167
|
};
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
168
|
+
name?: string;
|
|
169
|
+
description?: string;
|
|
170
|
+
widgetType: WidgetType;
|
|
187
171
|
domainRestricted: boolean;
|
|
172
|
+
showDashboardLink?: boolean;
|
|
173
|
+
public?: boolean;
|
|
174
|
+
active: boolean;
|
|
175
|
+
settings: WidgetSettings;
|
|
176
|
+
sessionSettings?: JsonObject | null;
|
|
177
|
+
allowedOrigin?: string | null;
|
|
178
|
+
restrictedCameraExids?: string[];
|
|
179
|
+
restrictionsType?: string;
|
|
188
180
|
insertedAt: string;
|
|
189
181
|
updatedAt: string;
|
|
182
|
+
seenAt?: string | null;
|
|
183
|
+
};
|
|
184
|
+
export type WidgetFull = Widget & {
|
|
185
|
+
widgetKey: string;
|
|
186
|
+
widgetId: string;
|
|
190
187
|
};
|
|
191
188
|
export type WidgetSessionSettingsPayload = {
|
|
192
189
|
sessionSettings: JsonObject;
|
|
@@ -241,12 +238,24 @@ export type AdminWidgetFull = AdminWidget & {
|
|
|
241
238
|
};
|
|
242
239
|
export type WidgetPayload = {
|
|
243
240
|
ressources: {
|
|
244
|
-
|
|
245
|
-
|
|
241
|
+
camera?: {
|
|
242
|
+
exid: string;
|
|
243
|
+
};
|
|
244
|
+
project?: {
|
|
245
|
+
exid: string;
|
|
246
|
+
};
|
|
247
|
+
preset?: {
|
|
248
|
+
exid: string;
|
|
249
|
+
};
|
|
246
250
|
};
|
|
247
251
|
widgetType: WidgetType;
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
+
name?: string;
|
|
253
|
+
description?: string;
|
|
254
|
+
showDashboardLink?: boolean;
|
|
255
|
+
public?: boolean;
|
|
256
|
+
active?: boolean;
|
|
257
|
+
settings?: WidgetSettings;
|
|
258
|
+
domainRestricted?: boolean;
|
|
259
|
+
allowedOrigin?: string | null;
|
|
260
|
+
sessionSettings?: JsonObject | null;
|
|
252
261
|
};
|