@northern.tech/testing 0.8.3 → 0.9.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/dist/chunk-CKQMccvm.cjs +28 -0
- package/dist/mockData.cjs +1288 -953
- package/dist/mockData.cjs.map +1 -1
- package/dist/mockData.d.cts +595 -569
- package/dist/mockData.d.ts +595 -569
- package/dist/mockData.js +1278 -45
- package/dist/mockData.js.map +1 -1
- package/dist/openapi.yaml.d.cjs +0 -0
- package/dist/openapi.yaml.d.cts +4 -0
- package/dist/openapi.yaml.d.ts +5 -0
- package/dist/requestHandlers/deploymentHandlers.cjs +181 -1031
- package/dist/requestHandlers/deploymentHandlers.cjs.map +1 -1
- package/dist/requestHandlers/deploymentHandlers.d.cts +5 -3
- package/dist/requestHandlers/deploymentHandlers.d.ts +5 -3
- package/dist/requestHandlers/deploymentHandlers.js +190 -6
- package/dist/requestHandlers/deploymentHandlers.js.map +1 -1
- package/dist/requestHandlers/deviceHandlers.cjs +427 -1090
- package/dist/requestHandlers/deviceHandlers.cjs.map +1 -1
- package/dist/requestHandlers/deviceHandlers.d.cts +17 -15
- package/dist/requestHandlers/deviceHandlers.d.ts +17 -15
- package/dist/requestHandlers/deviceHandlers.js +427 -10
- package/dist/requestHandlers/deviceHandlers.js.map +1 -1
- package/dist/requestHandlers/monitorHandlers.cjs +21 -831
- package/dist/requestHandlers/monitorHandlers.cjs.map +1 -1
- package/dist/requestHandlers/monitorHandlers.d.cts +5 -3
- package/dist/requestHandlers/monitorHandlers.d.ts +5 -3
- package/dist/requestHandlers/monitorHandlers.js +21 -7
- package/dist/requestHandlers/monitorHandlers.js.map +1 -1
- package/dist/requestHandlers/organizationHandlers.cjs +296 -1113
- package/dist/requestHandlers/organizationHandlers.cjs.map +1 -1
- package/dist/requestHandlers/organizationHandlers.d.cts +5 -3
- package/dist/requestHandlers/organizationHandlers.d.ts +5 -3
- package/dist/requestHandlers/organizationHandlers.js +308 -6
- package/dist/requestHandlers/organizationHandlers.js.map +1 -1
- package/dist/requestHandlers/releaseHandlers.cjs +157 -960
- package/dist/requestHandlers/releaseHandlers.cjs.map +1 -1
- package/dist/requestHandlers/releaseHandlers.d.cts +5 -3
- package/dist/requestHandlers/releaseHandlers.d.ts +5 -3
- package/dist/requestHandlers/releaseHandlers.js +158 -6
- package/dist/requestHandlers/releaseHandlers.js.map +1 -1
- package/dist/requestHandlers/requestHandlers.cjs +26 -2000
- package/dist/requestHandlers/requestHandlers.cjs.map +1 -1
- package/dist/requestHandlers/requestHandlers.d.cts +5 -4
- package/dist/requestHandlers/requestHandlers.d.ts +5 -3
- package/dist/requestHandlers/requestHandlers.js +24 -32
- package/dist/requestHandlers/requestHandlers.js.map +1 -1
- package/dist/requestHandlers/userHandlers.cjs +139 -990
- package/dist/requestHandlers/userHandlers.cjs.map +1 -1
- package/dist/requestHandlers/userHandlers.d.cts +5 -3
- package/dist/requestHandlers/userHandlers.d.ts +5 -3
- package/dist/requestHandlers/userHandlers.js +139 -7
- package/dist/requestHandlers/userHandlers.js.map +1 -1
- package/dist/requestHandlers/validation.cjs +4 -0
- package/dist/requestHandlers/validation.d.cts +6 -0
- package/dist/requestHandlers/validation.d.ts +6 -0
- package/dist/requestHandlers/validation.js +2 -0
- package/dist/setupTests.cjs +148 -992
- package/dist/setupTests.cjs.map +1 -1
- package/dist/setupTests.d.cts +68 -66
- package/dist/setupTests.d.ts +68 -66
- package/dist/setupTests.js +114 -117
- package/dist/setupTests.js.map +1 -1
- package/dist/theme/light.cjs +7 -39
- package/dist/theme/light.cjs.map +1 -1
- package/dist/theme/light.d.cts +5 -10
- package/dist/theme/light.d.ts +5 -10
- package/dist/theme/light.js +7 -6
- package/dist/theme/light.js.map +1 -1
- package/dist/theme/mui.d.cjs +0 -0
- package/dist/theme/mui.d.cts +11 -0
- package/dist/theme/mui.d.ts +11 -0
- package/dist/utils.cjs +18 -68
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.cts +6 -67
- package/dist/utils.d.ts +6 -67
- package/dist/utils.js +16 -10
- package/dist/utils.js.map +1 -1
- package/dist/validation-CsEFO-Cv.cjs +77 -0
- package/dist/validation-CsEFO-Cv.cjs.map +1 -0
- package/dist/validation-JDM_vsFz.js +64 -0
- package/dist/validation-JDM_vsFz.js.map +1 -0
- package/package.json +8 -6
- package/dist/chunk-3CVNBMEF.js +0 -161
- package/dist/chunk-3CVNBMEF.js.map +0 -1
- package/dist/chunk-7GNK7IRV.js +0 -29
- package/dist/chunk-7GNK7IRV.js.map +0 -1
- package/dist/chunk-AP4MOFMD.js +0 -239
- package/dist/chunk-AP4MOFMD.js.map +0 -1
- package/dist/chunk-DOHA53UH.js +0 -301
- package/dist/chunk-DOHA53UH.js.map +0 -1
- package/dist/chunk-H4J7L3HX.js +0 -188
- package/dist/chunk-H4J7L3HX.js.map +0 -1
- package/dist/chunk-HRGVXWMH.js +0 -17
- package/dist/chunk-HRGVXWMH.js.map +0 -1
- package/dist/chunk-KCLTR6QS.js +0 -34
- package/dist/chunk-KCLTR6QS.js.map +0 -1
- package/dist/chunk-M2TKDOPD.js +0 -266
- package/dist/chunk-M2TKDOPD.js.map +0 -1
- package/dist/chunk-O42KIJXJ.js +0 -933
- package/dist/chunk-O42KIJXJ.js.map +0 -1
- /package/dist/{baseTestConfig.json → public/baseTestConfig.json} +0 -0
package/dist/mockData.d.cts
CHANGED
|
@@ -1,19 +1,44 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as _northern_tech_utils_constants from '@northern.tech/utils/constants';
|
|
1
|
+
import * as _$_northern_tech_utils_constants0 from "@northern.tech/utils/constants";
|
|
3
2
|
|
|
3
|
+
//#region ../types/dist/types.gen.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Role permission
|
|
6
|
+
*/
|
|
7
|
+
type RolePermission = {
|
|
8
|
+
/**
|
|
9
|
+
* Action
|
|
10
|
+
*/
|
|
11
|
+
action: 'any' | 'http' | 'CREATE_DEPLOYMENT' | 'MANAGE_DEVICE' | 'REMOTE_TERMINAL' | 'VIEW_DEVICE';
|
|
12
|
+
object: RolePermissionObject;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Role permission object
|
|
16
|
+
*/
|
|
17
|
+
type RolePermissionObject = {
|
|
18
|
+
/**
|
|
19
|
+
* Type
|
|
20
|
+
*/
|
|
21
|
+
type: string;
|
|
22
|
+
/**
|
|
23
|
+
* Value
|
|
24
|
+
*/
|
|
25
|
+
value: string;
|
|
26
|
+
};
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/mockData.d.ts
|
|
4
29
|
declare const undefineds: RegExp;
|
|
5
30
|
declare const menderEnvironment: {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
31
|
+
features: {
|
|
32
|
+
hasMultitenancy: boolean;
|
|
33
|
+
};
|
|
34
|
+
integrationVersion: string;
|
|
35
|
+
menderVersion: string;
|
|
36
|
+
metaMenderVersion: string;
|
|
37
|
+
services: {
|
|
38
|
+
deploymentsVersion: string;
|
|
39
|
+
deviceauthVersion: null;
|
|
40
|
+
inventoryVersion: null;
|
|
41
|
+
};
|
|
17
42
|
};
|
|
18
43
|
declare const TEST_SESSION_DATETIME = "2019-01-13T13:00:00.000Z";
|
|
19
44
|
declare const mockDate: Date;
|
|
@@ -23,614 +48,615 @@ declare const defaultMacAddress = "dc:a6:32:12:ad:bf";
|
|
|
23
48
|
declare const testSsoId = "sso_id";
|
|
24
49
|
declare const token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJjZTNkMGY4Yy1hZWRlLTQwMzAtYjM5MS03ZDUwMjBlYjg3M2UiLCJzdWIiOiJhMzBhNzgwYi1iODQzLTUzNDQtODBlMy0wZmQ5NWE0ZjZmYzMiLCJleHAiOjE2MDY4MTUzNjksImlhdCI6MTYwNjIxMDU2OSwibWVuZGVyLnRlbmFudCI6IjVmODVjMTdiY2U2MmI3ZmE3ZjVmNzA0MCIsIm1lbmRlci51c2VyIjp0cnVlLCJpc3MiOiJNZW5kZXIgVXNlcnMiLCJzY3AiOiJtZW5kZXIuKiIsIm1lbmRlci5wbGFuIjoicHJvZmVzc2lvbmFsIiwibmJmIjoxNjA2MjEwNTY5fQ.qVgYdCzLTf8OdK9uUctqqaY_HWkIiwpekuGvuGQAXCEgOv4bRNDlZRN_ZRSbxQoARG3pquhScbQrjBV9tcF4irTUPlTn3yrsXNO17DpcbTVeKRkb88RDtIKiRw3orVZ_GlIb-ckTQ5dS-Nqlyyf3Fmrhca-gwt6m_xv2UrmJK6eYYTMfggdRRWb-4u7mEkBI_pHPMTQrT8kJ2BeX-vHgazH9AoH0k85LHtFZQXD7pXHlDZRnLxJXukncwMGDmF17374gavYAIyDIzcC8sEBMDnVXgpikeA1sauzirqix6mAVs6XmxdQO7aF0wfXO1_PTYUA3Nk1oQfMYNlEI3U9uLRJRZIq2L8fmrrBryhstKd4y0KlBbGAQrx8NtRkgajjd1ljMfPBUEZrb7uSerVjneiO-aIBO76CuH0zdklphIjpGJeogkBhe8pAYNggp1XsZHgpZfl7IE5faKaDkMGnutaea--Czor6bhqUNCuY4tR0cpQJbNwy6LS9o1CFy4Log";
|
|
25
50
|
declare const accessTokens: ({
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
51
|
+
id: string;
|
|
52
|
+
expiration_date: string;
|
|
53
|
+
name: string;
|
|
54
|
+
last_used?: undefined;
|
|
30
55
|
} | {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
56
|
+
id: string;
|
|
57
|
+
expiration_date: string;
|
|
58
|
+
last_used: string;
|
|
59
|
+
name: string;
|
|
35
60
|
})[];
|
|
36
61
|
declare const webhookEvents: {
|
|
62
|
+
id: string;
|
|
63
|
+
type: string;
|
|
64
|
+
data: {
|
|
37
65
|
id: string;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
success: boolean;
|
|
47
|
-
status_code: number;
|
|
48
|
-
}[];
|
|
66
|
+
status: string;
|
|
67
|
+
};
|
|
68
|
+
time: string;
|
|
69
|
+
delivery_statuses: {
|
|
70
|
+
integration_id: string;
|
|
71
|
+
success: boolean;
|
|
72
|
+
status_code: number;
|
|
73
|
+
}[];
|
|
49
74
|
}[];
|
|
50
75
|
declare const spTenantLimits: {
|
|
76
|
+
max_devices: {
|
|
77
|
+
current_value: number;
|
|
78
|
+
name: string;
|
|
79
|
+
tenant_id: string;
|
|
80
|
+
value: number;
|
|
81
|
+
};
|
|
82
|
+
max_micro_devices: {
|
|
83
|
+
current_value: number;
|
|
84
|
+
name: string;
|
|
85
|
+
tenant_id: string;
|
|
86
|
+
value: number;
|
|
87
|
+
};
|
|
88
|
+
max_system_devices: {
|
|
89
|
+
current_value: number;
|
|
90
|
+
name: string;
|
|
91
|
+
tenant_id: string;
|
|
92
|
+
value: number;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
declare const tenants: {
|
|
96
|
+
id: string;
|
|
97
|
+
parent_tenant_id: string;
|
|
98
|
+
name: string;
|
|
99
|
+
tenant_token: string;
|
|
100
|
+
status: string;
|
|
101
|
+
additional_info: {
|
|
102
|
+
marketing: boolean;
|
|
103
|
+
campaign: string;
|
|
104
|
+
};
|
|
105
|
+
plan: string;
|
|
106
|
+
trial: boolean;
|
|
107
|
+
trial_expiration: null;
|
|
108
|
+
service_provider: boolean;
|
|
109
|
+
created_at: string;
|
|
110
|
+
cancelled_at: null;
|
|
111
|
+
children_tenants: null;
|
|
112
|
+
max_child_tenants: number;
|
|
113
|
+
device_count: number;
|
|
114
|
+
device_limit: number;
|
|
115
|
+
device_limits: {
|
|
51
116
|
max_devices: {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
117
|
+
current_value: number;
|
|
118
|
+
name: string;
|
|
119
|
+
tenant_id: string;
|
|
120
|
+
value: number;
|
|
56
121
|
};
|
|
57
122
|
max_micro_devices: {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
123
|
+
current_value: number;
|
|
124
|
+
name: string;
|
|
125
|
+
tenant_id: string;
|
|
126
|
+
value: number;
|
|
62
127
|
};
|
|
63
128
|
max_system_devices: {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
declare const tenants: {
|
|
71
|
-
id: string;
|
|
72
|
-
parent_tenant_id: string;
|
|
73
|
-
name: string;
|
|
74
|
-
tenant_token: string;
|
|
75
|
-
status: string;
|
|
76
|
-
additional_info: {
|
|
77
|
-
marketing: boolean;
|
|
78
|
-
campaign: string;
|
|
79
|
-
};
|
|
80
|
-
plan: string;
|
|
81
|
-
trial: boolean;
|
|
82
|
-
trial_expiration: null;
|
|
83
|
-
service_provider: boolean;
|
|
84
|
-
created_at: string;
|
|
85
|
-
cancelled_at: null;
|
|
86
|
-
children_tenants: null;
|
|
87
|
-
max_child_tenants: number;
|
|
88
|
-
device_count: number;
|
|
89
|
-
device_limit: number;
|
|
90
|
-
device_limits: {
|
|
91
|
-
max_devices: {
|
|
92
|
-
current_value: number;
|
|
93
|
-
name: string;
|
|
94
|
-
tenant_id: string;
|
|
95
|
-
value: number;
|
|
96
|
-
};
|
|
97
|
-
max_micro_devices: {
|
|
98
|
-
current_value: number;
|
|
99
|
-
name: string;
|
|
100
|
-
tenant_id: string;
|
|
101
|
-
value: number;
|
|
102
|
-
};
|
|
103
|
-
max_system_devices: {
|
|
104
|
-
current_value: number;
|
|
105
|
-
name: string;
|
|
106
|
-
tenant_id: string;
|
|
107
|
-
value: number;
|
|
108
|
-
};
|
|
129
|
+
current_value: number;
|
|
130
|
+
name: string;
|
|
131
|
+
tenant_id: string;
|
|
132
|
+
value: number;
|
|
109
133
|
};
|
|
110
|
-
|
|
134
|
+
};
|
|
135
|
+
binary_delta: boolean;
|
|
111
136
|
}[];
|
|
112
137
|
declare const adminUserCapabilities: {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
138
|
+
canAuditlog: boolean;
|
|
139
|
+
canConfigure: boolean;
|
|
140
|
+
canDeploy: boolean;
|
|
141
|
+
canManageDevices: boolean;
|
|
142
|
+
canManageReleases: boolean;
|
|
143
|
+
canManageUsers: boolean;
|
|
144
|
+
canReadDeployments: boolean;
|
|
145
|
+
canReadDevices: boolean;
|
|
146
|
+
canReadReleases: boolean;
|
|
147
|
+
canReadUsers: boolean;
|
|
148
|
+
canTroubleshoot: boolean;
|
|
149
|
+
canUploadReleases: boolean;
|
|
150
|
+
canWriteDevices: boolean;
|
|
126
151
|
};
|
|
127
152
|
declare const userId = "a30a780b-b843-5344-80e3-0fd95a4f6fc3";
|
|
128
153
|
declare const mockApiResponses: {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
statistics: {
|
|
146
|
-
status: {
|
|
147
|
-
'already-installed': number;
|
|
148
|
-
decommissioned: number;
|
|
149
|
-
downloading: number;
|
|
150
|
-
failure: number;
|
|
151
|
-
installing: number;
|
|
152
|
-
noartifact: number;
|
|
153
|
-
pending: number;
|
|
154
|
-
rebooting: number;
|
|
155
|
-
success: number;
|
|
156
|
-
};
|
|
157
|
-
total_size: number;
|
|
158
|
-
};
|
|
159
|
-
};
|
|
160
|
-
d2: {
|
|
161
|
-
id: string;
|
|
162
|
-
name: string;
|
|
163
|
-
artifact_name: string;
|
|
164
|
-
artifacts: string[];
|
|
165
|
-
created: string;
|
|
166
|
-
device_count: number;
|
|
167
|
-
devices: {
|
|
168
|
-
b1: {
|
|
169
|
-
attributes: {};
|
|
170
|
-
id: string;
|
|
171
|
-
status: string;
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
|
-
filter: undefined;
|
|
175
|
-
group: undefined;
|
|
176
|
-
statistics: {
|
|
177
|
-
status: {
|
|
178
|
-
downloading: number;
|
|
179
|
-
decommissioned: number;
|
|
180
|
-
failure: number;
|
|
181
|
-
installing: number;
|
|
182
|
-
noartifact: number;
|
|
183
|
-
pending: number;
|
|
184
|
-
rebooting: number;
|
|
185
|
-
success: number;
|
|
186
|
-
'already-installed': number;
|
|
187
|
-
};
|
|
188
|
-
};
|
|
189
|
-
};
|
|
190
|
-
d3: {
|
|
191
|
-
id: string;
|
|
192
|
-
name: string;
|
|
193
|
-
phases: ({
|
|
194
|
-
id: string;
|
|
195
|
-
batch_size: number;
|
|
196
|
-
device_count: number;
|
|
197
|
-
start_ts?: undefined;
|
|
198
|
-
} | {
|
|
199
|
-
id: string;
|
|
200
|
-
start_ts: string;
|
|
201
|
-
batch_size: number;
|
|
202
|
-
device_count: number;
|
|
203
|
-
})[];
|
|
204
|
-
max_devices: number;
|
|
205
|
-
created: string;
|
|
206
|
-
devices: {};
|
|
207
|
-
filter: undefined;
|
|
208
|
-
group: undefined;
|
|
209
|
-
stats: {
|
|
210
|
-
pending: number;
|
|
211
|
-
decommissioned: number;
|
|
212
|
-
failure: number;
|
|
213
|
-
pause_before_committing: number;
|
|
214
|
-
pause_before_rebooting: number;
|
|
215
|
-
installing: number;
|
|
216
|
-
rebooting: number;
|
|
217
|
-
'already-installed': number;
|
|
218
|
-
pause_before_installing: number;
|
|
219
|
-
downloading: number;
|
|
220
|
-
success: number;
|
|
221
|
-
aborted: number;
|
|
222
|
-
noartifact: number;
|
|
223
|
-
};
|
|
224
|
-
statistics: {
|
|
225
|
-
total_size: string;
|
|
226
|
-
};
|
|
227
|
-
status: string;
|
|
228
|
-
active: boolean;
|
|
229
|
-
device_count: number;
|
|
230
|
-
retries: string;
|
|
231
|
-
type: string;
|
|
154
|
+
deployments: {
|
|
155
|
+
byId: {
|
|
156
|
+
d1: {
|
|
157
|
+
id: string;
|
|
158
|
+
name: string;
|
|
159
|
+
created: string;
|
|
160
|
+
devices: {
|
|
161
|
+
a1: {
|
|
162
|
+
id: string;
|
|
163
|
+
status: string;
|
|
164
|
+
attributes: {};
|
|
165
|
+
image: {
|
|
166
|
+
size: number;
|
|
232
167
|
};
|
|
168
|
+
};
|
|
233
169
|
};
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
170
|
+
statistics: {
|
|
171
|
+
status: {
|
|
172
|
+
'already-installed': number;
|
|
173
|
+
decommissioned: number;
|
|
174
|
+
downloading: number;
|
|
175
|
+
failure: number;
|
|
176
|
+
installing: number;
|
|
177
|
+
noartifact: number;
|
|
178
|
+
pending: number;
|
|
179
|
+
rebooting: number;
|
|
180
|
+
success: number;
|
|
181
|
+
};
|
|
182
|
+
total_size: number;
|
|
241
183
|
};
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
updated_ts: string;
|
|
257
|
-
};
|
|
258
|
-
b1: {
|
|
259
|
-
id: string;
|
|
260
|
-
attributes: {
|
|
261
|
-
ipv4_wlan0: string;
|
|
262
|
-
device_type: string[];
|
|
263
|
-
};
|
|
264
|
-
system: {
|
|
265
|
-
check_in_time: string;
|
|
266
|
-
};
|
|
267
|
-
check_in_time: string;
|
|
268
|
-
check_in_time_exact: string;
|
|
269
|
-
check_in_time_rounded: string;
|
|
270
|
-
identity_data: {
|
|
271
|
-
mac: string;
|
|
272
|
-
};
|
|
273
|
-
status: string;
|
|
274
|
-
decommissioning: boolean;
|
|
275
|
-
created_ts: string;
|
|
276
|
-
updated_ts: string;
|
|
277
|
-
auth_sets: {
|
|
278
|
-
id: string;
|
|
279
|
-
identity_data: {
|
|
280
|
-
mac: string;
|
|
281
|
-
};
|
|
282
|
-
pubkey: string;
|
|
283
|
-
ts: string;
|
|
284
|
-
status: string;
|
|
285
|
-
}[];
|
|
286
|
-
};
|
|
184
|
+
};
|
|
185
|
+
d2: {
|
|
186
|
+
id: string;
|
|
187
|
+
name: string;
|
|
188
|
+
artifact_name: string;
|
|
189
|
+
artifacts: string[];
|
|
190
|
+
created: string;
|
|
191
|
+
device_count: number;
|
|
192
|
+
devices: {
|
|
193
|
+
b1: {
|
|
194
|
+
attributes: {};
|
|
195
|
+
id: string;
|
|
196
|
+
status: string;
|
|
197
|
+
};
|
|
287
198
|
};
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
value: string;
|
|
303
|
-
}[];
|
|
304
|
-
};
|
|
305
|
-
};
|
|
199
|
+
filter: undefined;
|
|
200
|
+
group: undefined;
|
|
201
|
+
statistics: {
|
|
202
|
+
status: {
|
|
203
|
+
downloading: number;
|
|
204
|
+
decommissioned: number;
|
|
205
|
+
failure: number;
|
|
206
|
+
installing: number;
|
|
207
|
+
noartifact: number;
|
|
208
|
+
pending: number;
|
|
209
|
+
rebooting: number;
|
|
210
|
+
success: number;
|
|
211
|
+
'already-installed': number;
|
|
212
|
+
};
|
|
306
213
|
};
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
214
|
+
};
|
|
215
|
+
d3: {
|
|
216
|
+
id: string;
|
|
217
|
+
name: string;
|
|
218
|
+
phases: ({
|
|
219
|
+
id: string;
|
|
220
|
+
batch_size: number;
|
|
221
|
+
device_count: number;
|
|
222
|
+
start_ts?: undefined;
|
|
223
|
+
} | {
|
|
224
|
+
id: string;
|
|
225
|
+
start_ts: string;
|
|
226
|
+
batch_size: number;
|
|
227
|
+
device_count: number;
|
|
228
|
+
})[];
|
|
229
|
+
max_devices: number;
|
|
230
|
+
created: string;
|
|
231
|
+
devices: {};
|
|
232
|
+
filter: undefined;
|
|
233
|
+
group: undefined;
|
|
234
|
+
stats: {
|
|
235
|
+
pending: number;
|
|
236
|
+
decommissioned: number;
|
|
237
|
+
failure: number;
|
|
238
|
+
pause_before_committing: number;
|
|
239
|
+
pause_before_rebooting: number;
|
|
240
|
+
installing: number;
|
|
241
|
+
rebooting: number;
|
|
242
|
+
'already-installed': number;
|
|
243
|
+
pause_before_installing: number;
|
|
244
|
+
downloading: number;
|
|
245
|
+
success: number;
|
|
246
|
+
aborted: number;
|
|
247
|
+
noartifact: number;
|
|
311
248
|
};
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
deviceIds: string[];
|
|
315
|
-
total: number;
|
|
316
|
-
};
|
|
317
|
-
active: {
|
|
318
|
-
deviceIds: never[];
|
|
319
|
-
total: number;
|
|
320
|
-
};
|
|
321
|
-
inactive: {
|
|
322
|
-
deviceIds: never[];
|
|
323
|
-
total: number;
|
|
324
|
-
};
|
|
325
|
-
pending: {
|
|
326
|
-
deviceIds: string[];
|
|
327
|
-
total: number;
|
|
328
|
-
};
|
|
329
|
-
preauthorized: {
|
|
330
|
-
deviceIds: never[];
|
|
331
|
-
total: number;
|
|
332
|
-
};
|
|
333
|
-
rejected: {
|
|
334
|
-
deviceIds: never[];
|
|
335
|
-
total: number;
|
|
336
|
-
};
|
|
249
|
+
statistics: {
|
|
250
|
+
total_size: string;
|
|
337
251
|
};
|
|
252
|
+
status: string;
|
|
253
|
+
active: boolean;
|
|
254
|
+
device_count: number;
|
|
255
|
+
retries: string;
|
|
256
|
+
type: string;
|
|
257
|
+
};
|
|
338
258
|
};
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
259
|
+
byStatus: {
|
|
260
|
+
pending: {
|
|
261
|
+
deploymentIds: string[];
|
|
262
|
+
};
|
|
263
|
+
inprogress: {
|
|
264
|
+
deploymentIds: string[];
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
devices: {
|
|
269
|
+
byId: {
|
|
270
|
+
a1: {
|
|
271
|
+
id: string;
|
|
272
|
+
auth_sets: {
|
|
273
|
+
id: string;
|
|
274
|
+
identity_data: {
|
|
275
|
+
mac: string;
|
|
276
|
+
};
|
|
277
|
+
pubkey: string;
|
|
278
|
+
status: string;
|
|
279
|
+
ts: string;
|
|
280
|
+
}[];
|
|
281
|
+
updated_ts: string;
|
|
282
|
+
};
|
|
283
|
+
b1: {
|
|
284
|
+
id: string;
|
|
285
|
+
attributes: {
|
|
286
|
+
ipv4_wlan0: string;
|
|
287
|
+
device_type: string[];
|
|
346
288
|
};
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
div: number;
|
|
356
|
-
};
|
|
357
|
-
}[];
|
|
358
|
-
addons: {
|
|
359
|
-
name: string;
|
|
360
|
-
prices: {
|
|
361
|
-
plan: string;
|
|
362
|
-
}[];
|
|
363
|
-
}[];
|
|
364
|
-
} | {
|
|
365
|
-
name: string;
|
|
366
|
-
billing_unit: string;
|
|
367
|
-
prices: {
|
|
368
|
-
plan: string;
|
|
369
|
-
constraints: {
|
|
370
|
-
min: number;
|
|
371
|
-
max: number;
|
|
372
|
-
div: number;
|
|
373
|
-
};
|
|
374
|
-
}[];
|
|
375
|
-
addons?: undefined;
|
|
376
|
-
})[];
|
|
377
|
-
intentId: string;
|
|
378
|
-
auditlog: {
|
|
379
|
-
events: ({
|
|
380
|
-
actor: {
|
|
381
|
-
id: string;
|
|
382
|
-
type: string;
|
|
383
|
-
email: string;
|
|
384
|
-
identity_data?: undefined;
|
|
385
|
-
};
|
|
386
|
-
time: string;
|
|
387
|
-
action: string;
|
|
388
|
-
object: {
|
|
389
|
-
id: string;
|
|
390
|
-
type: string;
|
|
391
|
-
user: {
|
|
392
|
-
email: string;
|
|
393
|
-
};
|
|
394
|
-
deployment?: undefined;
|
|
395
|
-
};
|
|
396
|
-
change: string;
|
|
397
|
-
meta?: undefined;
|
|
398
|
-
} | {
|
|
399
|
-
actor: {
|
|
400
|
-
id: string;
|
|
401
|
-
type: string;
|
|
402
|
-
email: string;
|
|
403
|
-
identity_data: string;
|
|
404
|
-
};
|
|
405
|
-
time: string;
|
|
406
|
-
action: string;
|
|
407
|
-
object: {
|
|
408
|
-
id: string;
|
|
409
|
-
type: string;
|
|
410
|
-
deployment: {
|
|
411
|
-
name: string;
|
|
412
|
-
artifact_name: string;
|
|
413
|
-
};
|
|
414
|
-
user?: undefined;
|
|
415
|
-
};
|
|
416
|
-
change: string;
|
|
417
|
-
meta?: undefined;
|
|
418
|
-
} | {
|
|
419
|
-
actor: {
|
|
420
|
-
id: string;
|
|
421
|
-
type: string;
|
|
422
|
-
email: string;
|
|
423
|
-
identity_data?: undefined;
|
|
424
|
-
};
|
|
425
|
-
time: string;
|
|
426
|
-
action: string;
|
|
427
|
-
meta: {
|
|
428
|
-
session_id: string[];
|
|
429
|
-
};
|
|
430
|
-
object: {
|
|
431
|
-
id: string;
|
|
432
|
-
type: string;
|
|
433
|
-
user?: undefined;
|
|
434
|
-
deployment?: undefined;
|
|
435
|
-
};
|
|
436
|
-
change: string;
|
|
437
|
-
})[];
|
|
289
|
+
system: {
|
|
290
|
+
check_in_time: string;
|
|
291
|
+
};
|
|
292
|
+
check_in_time: string;
|
|
293
|
+
check_in_time_exact: string;
|
|
294
|
+
check_in_time_rounded: string;
|
|
295
|
+
identity_data: {
|
|
296
|
+
mac: string;
|
|
438
297
|
};
|
|
298
|
+
status: string;
|
|
299
|
+
decommissioning: boolean;
|
|
300
|
+
created_ts: string;
|
|
301
|
+
updated_ts: string;
|
|
302
|
+
auth_sets: {
|
|
303
|
+
id: string;
|
|
304
|
+
identity_data: {
|
|
305
|
+
mac: string;
|
|
306
|
+
};
|
|
307
|
+
pubkey: string;
|
|
308
|
+
ts: string;
|
|
309
|
+
status: string;
|
|
310
|
+
}[];
|
|
311
|
+
};
|
|
439
312
|
};
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
};
|
|
457
|
-
artifact_provides: {
|
|
458
|
-
artifact_name: string;
|
|
459
|
-
'data-partition.myapp.version': string;
|
|
460
|
-
list_of_fancy: string[];
|
|
461
|
-
};
|
|
462
|
-
clears_artifact_provides: string[];
|
|
463
|
-
}[];
|
|
464
|
-
device_types_compatible: string[];
|
|
465
|
-
modified: string;
|
|
466
|
-
metaData: {};
|
|
467
|
-
};
|
|
313
|
+
groups: {
|
|
314
|
+
byId: {
|
|
315
|
+
testGroup: {
|
|
316
|
+
deviceIds: string[];
|
|
317
|
+
filters: never[];
|
|
318
|
+
total: number;
|
|
319
|
+
};
|
|
320
|
+
testGroupDynamic: {
|
|
321
|
+
id: string;
|
|
322
|
+
name: string;
|
|
323
|
+
filters: {
|
|
324
|
+
scope: string;
|
|
325
|
+
key: string;
|
|
326
|
+
operator: string;
|
|
327
|
+
value: string;
|
|
328
|
+
}[];
|
|
468
329
|
};
|
|
330
|
+
};
|
|
469
331
|
};
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
332
|
+
limits: {
|
|
333
|
+
standard: number;
|
|
334
|
+
micro: number;
|
|
335
|
+
system: number;
|
|
336
|
+
};
|
|
337
|
+
byStatus: {
|
|
338
|
+
accepted: {
|
|
339
|
+
deviceIds: string[];
|
|
340
|
+
total: number;
|
|
341
|
+
};
|
|
342
|
+
active: {
|
|
343
|
+
deviceIds: never[];
|
|
344
|
+
total: number;
|
|
345
|
+
};
|
|
346
|
+
inactive: {
|
|
347
|
+
deviceIds: never[];
|
|
348
|
+
total: number;
|
|
349
|
+
};
|
|
350
|
+
pending: {
|
|
351
|
+
deviceIds: string[];
|
|
352
|
+
total: number;
|
|
353
|
+
};
|
|
354
|
+
preauthorized: {
|
|
355
|
+
deviceIds: never[];
|
|
356
|
+
total: number;
|
|
357
|
+
};
|
|
358
|
+
rejected: {
|
|
359
|
+
deviceIds: never[];
|
|
360
|
+
total: number;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
organization: {
|
|
365
|
+
organization: {
|
|
366
|
+
id: string;
|
|
367
|
+
addons: never[];
|
|
368
|
+
name: string;
|
|
369
|
+
plan: string;
|
|
370
|
+
trial: boolean;
|
|
371
|
+
};
|
|
372
|
+
products: ({
|
|
373
|
+
name: string;
|
|
374
|
+
billing_unit: string;
|
|
375
|
+
prices: {
|
|
376
|
+
plan: string;
|
|
377
|
+
constraints: {
|
|
378
|
+
min: number;
|
|
379
|
+
max: number;
|
|
380
|
+
div: number;
|
|
488
381
|
};
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
382
|
+
}[];
|
|
383
|
+
addons: {
|
|
384
|
+
name: string;
|
|
385
|
+
prices: {
|
|
386
|
+
plan: string;
|
|
387
|
+
}[];
|
|
388
|
+
}[];
|
|
389
|
+
} | {
|
|
390
|
+
name: string;
|
|
391
|
+
billing_unit: string;
|
|
392
|
+
prices: {
|
|
393
|
+
plan: string;
|
|
394
|
+
constraints: {
|
|
395
|
+
min: number;
|
|
396
|
+
max: number;
|
|
397
|
+
div: number;
|
|
500
398
|
};
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
399
|
+
}[];
|
|
400
|
+
addons?: undefined;
|
|
401
|
+
})[];
|
|
402
|
+
intentId: string;
|
|
403
|
+
auditlog: {
|
|
404
|
+
events: ({
|
|
405
|
+
actor: {
|
|
406
|
+
id: string;
|
|
407
|
+
type: string;
|
|
408
|
+
email: string;
|
|
409
|
+
identity_data?: undefined;
|
|
505
410
|
};
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
411
|
+
time: string;
|
|
412
|
+
action: string;
|
|
413
|
+
object: {
|
|
414
|
+
id: string;
|
|
415
|
+
type: string;
|
|
416
|
+
user: {
|
|
417
|
+
email: string;
|
|
418
|
+
};
|
|
419
|
+
deployment?: undefined;
|
|
420
|
+
};
|
|
421
|
+
change: string;
|
|
422
|
+
meta?: undefined;
|
|
423
|
+
} | {
|
|
424
|
+
actor: {
|
|
425
|
+
id: string;
|
|
426
|
+
type: string;
|
|
427
|
+
email: string;
|
|
428
|
+
identity_data: string;
|
|
514
429
|
};
|
|
430
|
+
time: string;
|
|
431
|
+
action: string;
|
|
432
|
+
object: {
|
|
433
|
+
id: string;
|
|
434
|
+
type: string;
|
|
435
|
+
deployment: {
|
|
436
|
+
name: string;
|
|
437
|
+
artifact_name: string;
|
|
438
|
+
};
|
|
439
|
+
user?: undefined;
|
|
440
|
+
};
|
|
441
|
+
change: string;
|
|
442
|
+
meta?: undefined;
|
|
443
|
+
} | {
|
|
444
|
+
actor: {
|
|
445
|
+
id: string;
|
|
446
|
+
type: string;
|
|
447
|
+
email: string;
|
|
448
|
+
identity_data?: undefined;
|
|
449
|
+
};
|
|
450
|
+
time: string;
|
|
451
|
+
action: string;
|
|
452
|
+
meta: {
|
|
453
|
+
session_id: string[];
|
|
454
|
+
};
|
|
455
|
+
object: {
|
|
456
|
+
id: string;
|
|
457
|
+
type: string;
|
|
458
|
+
user?: undefined;
|
|
459
|
+
deployment?: undefined;
|
|
460
|
+
};
|
|
461
|
+
change: string;
|
|
462
|
+
})[];
|
|
515
463
|
};
|
|
516
|
-
};
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
464
|
+
};
|
|
465
|
+
releases: {
|
|
466
|
+
byId: {
|
|
467
|
+
r1: {
|
|
468
|
+
name: string;
|
|
469
|
+
artifacts: {
|
|
470
|
+
id: string;
|
|
471
|
+
description: string;
|
|
472
|
+
device_types_compatible: string[];
|
|
473
|
+
modified: string;
|
|
474
|
+
updates: {
|
|
524
475
|
type_info: {
|
|
525
|
-
|
|
476
|
+
type: string;
|
|
526
477
|
};
|
|
527
|
-
|
|
528
|
-
|
|
478
|
+
}[];
|
|
479
|
+
artifact_depends: {
|
|
529
480
|
device_type: string[];
|
|
530
|
-
|
|
531
|
-
|
|
481
|
+
};
|
|
482
|
+
artifact_provides: {
|
|
532
483
|
artifact_name: string;
|
|
533
484
|
'data-partition.myapp.version': string;
|
|
534
485
|
list_of_fancy: string[];
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
486
|
+
};
|
|
487
|
+
clears_artifact_provides: string[];
|
|
488
|
+
}[];
|
|
489
|
+
device_types_compatible: string[];
|
|
490
|
+
modified: string;
|
|
491
|
+
metaData: {};
|
|
492
|
+
};
|
|
493
|
+
};
|
|
494
|
+
};
|
|
495
|
+
users: {
|
|
496
|
+
byId: {
|
|
497
|
+
a1: {
|
|
498
|
+
created_ts: string;
|
|
499
|
+
email: string;
|
|
500
|
+
id: string;
|
|
501
|
+
roles: string[];
|
|
502
|
+
tfa_status: string;
|
|
503
|
+
verified: boolean;
|
|
504
|
+
};
|
|
505
|
+
"a30a780b-b843-5344-80e3-0fd95a4f6fc3": {
|
|
506
|
+
id: string;
|
|
507
|
+
email: string;
|
|
508
|
+
created_ts: string;
|
|
509
|
+
roles: string[];
|
|
510
|
+
tfa_status: string;
|
|
511
|
+
verified: boolean;
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
rolesById: {
|
|
515
|
+
admin: {
|
|
516
|
+
name: string;
|
|
517
|
+
description: string;
|
|
518
|
+
permissions: never[];
|
|
519
|
+
};
|
|
520
|
+
test: {
|
|
521
|
+
name: string;
|
|
522
|
+
description: string;
|
|
523
|
+
permissions: never[];
|
|
524
|
+
};
|
|
525
|
+
};
|
|
526
|
+
globalSettings: {
|
|
527
|
+
'2fa': string;
|
|
528
|
+
id_attribute: undefined;
|
|
529
|
+
previousFilters: never[];
|
|
530
|
+
};
|
|
531
|
+
userSettings: {
|
|
532
|
+
'2fa': string;
|
|
533
|
+
columnSelection: never[];
|
|
534
|
+
onboarding: {
|
|
535
|
+
something: string;
|
|
536
|
+
};
|
|
537
|
+
tooltips: {};
|
|
538
|
+
previousFilters: never[];
|
|
539
|
+
};
|
|
540
|
+
};
|
|
541
|
+
};
|
|
542
|
+
declare const releasesList: {
|
|
543
|
+
artifacts: {
|
|
544
|
+
id: string;
|
|
545
|
+
description: string;
|
|
538
546
|
device_types_compatible: string[];
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
547
|
+
modified: string;
|
|
548
|
+
updates: {
|
|
549
|
+
type_info: {
|
|
550
|
+
type: string;
|
|
551
|
+
};
|
|
552
|
+
}[];
|
|
553
|
+
artifact_depends: {
|
|
554
|
+
device_type: string[];
|
|
555
|
+
};
|
|
556
|
+
artifact_provides: {
|
|
557
|
+
artifact_name: string;
|
|
558
|
+
'data-partition.myapp.version': string;
|
|
559
|
+
list_of_fancy: string[];
|
|
560
|
+
};
|
|
561
|
+
clears_artifact_provides: string[];
|
|
562
|
+
}[];
|
|
563
|
+
device_types_compatible: string[];
|
|
564
|
+
metaData: {};
|
|
565
|
+
name: string;
|
|
566
|
+
modified: number;
|
|
542
567
|
}[];
|
|
543
568
|
declare const permissionSets: ({
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
569
|
+
object: string;
|
|
570
|
+
description: string;
|
|
571
|
+
permissions: {
|
|
572
|
+
action: string;
|
|
573
|
+
object: {
|
|
574
|
+
type: string;
|
|
575
|
+
value: string;
|
|
576
|
+
};
|
|
577
|
+
}[];
|
|
578
|
+
name: _$_northern_tech_utils_constants0.PermissionSetId;
|
|
579
|
+
action?: string | undefined;
|
|
580
|
+
supported_scope_types?: Array<string> | undefined;
|
|
581
|
+
isCustom?: boolean | undefined;
|
|
582
|
+
result: Partial<_$_northern_tech_utils_constants0.UiPermissionsDefinition>;
|
|
583
|
+
} | {
|
|
584
|
+
name: string;
|
|
585
|
+
object: string;
|
|
586
|
+
description: string;
|
|
587
|
+
permissions: {
|
|
588
|
+
action: string;
|
|
589
|
+
object: {
|
|
590
|
+
type: string;
|
|
591
|
+
value: string;
|
|
592
|
+
};
|
|
593
|
+
}[];
|
|
594
|
+
})[];
|
|
595
|
+
declare const rbacRoles: ({
|
|
596
|
+
name: string;
|
|
597
|
+
description: string;
|
|
598
|
+
permission_sets_with_scope: ({
|
|
599
|
+
scope: {
|
|
600
|
+
type: "DeviceGroups";
|
|
601
|
+
value: string[];
|
|
602
|
+
};
|
|
603
|
+
object?: string | undefined;
|
|
604
|
+
name: _$_northern_tech_utils_constants0.PermissionSetId;
|
|
605
|
+
action?: string | undefined;
|
|
606
|
+
description?: string | undefined;
|
|
607
|
+
supported_scope_types?: Array<string> | undefined;
|
|
608
|
+
isCustom?: boolean | undefined;
|
|
609
|
+
result: Partial<_$_northern_tech_utils_constants0.UiPermissionsDefinition>;
|
|
610
|
+
} | {
|
|
611
|
+
object?: string | undefined;
|
|
612
|
+
name: _$_northern_tech_utils_constants0.PermissionSetId;
|
|
554
613
|
action?: string | undefined;
|
|
614
|
+
description?: string | undefined;
|
|
555
615
|
supported_scope_types?: Array<string> | undefined;
|
|
556
616
|
isCustom?: boolean | undefined;
|
|
557
|
-
result: Partial<
|
|
617
|
+
result: Partial<_$_northern_tech_utils_constants0.UiPermissionsDefinition>;
|
|
618
|
+
})[];
|
|
619
|
+
permissions?: undefined;
|
|
558
620
|
} | {
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
621
|
+
name: string;
|
|
622
|
+
description: string;
|
|
623
|
+
permissions: {
|
|
624
|
+
action: string;
|
|
625
|
+
object: {
|
|
626
|
+
type: string;
|
|
627
|
+
value: string;
|
|
628
|
+
};
|
|
629
|
+
}[] | {
|
|
630
|
+
action: string;
|
|
631
|
+
object: {
|
|
632
|
+
type: string;
|
|
633
|
+
value: string;
|
|
634
|
+
};
|
|
635
|
+
}[] | undefined;
|
|
636
|
+
permission_sets_with_scope?: undefined;
|
|
569
637
|
})[];
|
|
570
|
-
declare const
|
|
571
|
-
|
|
572
|
-
description: string;
|
|
573
|
-
permission_sets_with_scope: ({
|
|
574
|
-
scope: {
|
|
575
|
-
type: "DeviceGroups";
|
|
576
|
-
value: string[];
|
|
577
|
-
};
|
|
578
|
-
object?: string | undefined;
|
|
579
|
-
name: _northern_tech_utils_constants.PermissionSetId;
|
|
580
|
-
action?: string | undefined;
|
|
581
|
-
description?: string | undefined;
|
|
582
|
-
supported_scope_types?: Array<string> | undefined;
|
|
583
|
-
isCustom?: boolean | undefined;
|
|
584
|
-
result: Partial<_northern_tech_utils_constants.UiPermissionsDefinition>;
|
|
585
|
-
} | {
|
|
586
|
-
object?: string | undefined;
|
|
587
|
-
name: _northern_tech_utils_constants.PermissionSetId;
|
|
588
|
-
action?: string | undefined;
|
|
589
|
-
description?: string | undefined;
|
|
590
|
-
supported_scope_types?: Array<string> | undefined;
|
|
591
|
-
isCustom?: boolean | undefined;
|
|
592
|
-
result: Partial<_northern_tech_utils_constants.UiPermissionsDefinition>;
|
|
593
|
-
})[];
|
|
594
|
-
permissions?: undefined;
|
|
595
|
-
} | {
|
|
638
|
+
declare const receivedRoles: {
|
|
639
|
+
test: {
|
|
596
640
|
name: string;
|
|
597
641
|
description: string;
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
}[] | undefined;
|
|
611
|
-
permission_sets_with_scope?: undefined;
|
|
612
|
-
})[];
|
|
613
|
-
declare const receivedRoles: {
|
|
614
|
-
test: {
|
|
615
|
-
name: string;
|
|
616
|
-
description: string;
|
|
617
|
-
editable: boolean;
|
|
618
|
-
uiPermissions: {
|
|
619
|
-
groups: {
|
|
620
|
-
testGroup: "read"[];
|
|
621
|
-
};
|
|
622
|
-
releases: {
|
|
623
|
-
bar: "read"[];
|
|
624
|
-
};
|
|
625
|
-
auditlog: string[];
|
|
626
|
-
deployments?: string[];
|
|
627
|
-
tenantManagement: string[];
|
|
628
|
-
userManagement: string[];
|
|
629
|
-
};
|
|
630
|
-
isCustom?: boolean;
|
|
631
|
-
permissions?: _northern_tech_types_types_gen.RolePermission[];
|
|
642
|
+
editable: boolean;
|
|
643
|
+
uiPermissions: {
|
|
644
|
+
groups: {
|
|
645
|
+
testGroup: "read"[];
|
|
646
|
+
};
|
|
647
|
+
releases: {
|
|
648
|
+
bar: "read"[];
|
|
649
|
+
};
|
|
650
|
+
auditlog: string[];
|
|
651
|
+
deployments?: string[];
|
|
652
|
+
tenantManagement: string[];
|
|
653
|
+
userManagement: string[];
|
|
632
654
|
};
|
|
655
|
+
isCustom?: boolean;
|
|
656
|
+
permissions?: RolePermission[];
|
|
657
|
+
};
|
|
633
658
|
};
|
|
634
659
|
declare const receivedPermissionSets: {};
|
|
635
|
-
|
|
660
|
+
//#endregion
|
|
636
661
|
export { TEST_SESSION_DATETIME, accessTokens, adminUserCapabilities, defaultCreationDate, defaultMacAddress, defaultPassword, menderEnvironment, mockApiResponses, mockDate, permissionSets, rbacRoles, receivedPermissionSets, receivedRoles, releasesList, spTenantLimits, tenants, testSsoId, token, undefineds, userId, webhookEvents };
|
|
662
|
+
//# sourceMappingURL=mockData.d.cts.map
|