@ampsec/platform-client 75.6.0 → 75.7.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.
@@ -804,10 +804,13 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
804
804
  lastActivityTime: z.ZodOptional<z.ZodString>;
805
805
  operatingSystems: z.ZodArray<z.ZodObject<{
806
806
  displayValue: z.ZodString;
807
+ version: z.ZodOptional<z.ZodString>;
807
808
  }, "strip", z.ZodTypeAny, {
808
809
  displayValue: string;
810
+ version?: string | undefined;
809
811
  }, {
810
812
  displayValue: string;
813
+ version?: string | undefined;
811
814
  }>, "many">;
812
815
  sn: z.ZodOptional<z.ZodString>;
813
816
  macs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -820,20 +823,21 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
820
823
  }>>;
821
824
  make: z.ZodOptional<z.ZodString>;
822
825
  model: z.ZodOptional<z.ZodString>;
823
- active: z.ZodBoolean;
826
+ active: z.ZodOptional<z.ZodBoolean>;
824
827
  }, "strip", z.ZodTypeAny, {
825
828
  extId: string;
826
829
  assetType: import("./enums").GlobalAssetType;
827
- active: boolean;
828
830
  hostNames: string[];
829
831
  operatingSystems: {
830
832
  displayValue: string;
833
+ version?: string | undefined;
831
834
  }[];
832
835
  sn?: string | undefined;
833
836
  macs?: string[] | undefined;
834
837
  make?: string | undefined;
835
838
  model?: string | undefined;
836
839
  lastActivityTime?: string | undefined;
840
+ active?: boolean | undefined;
837
841
  deviceName?: string | undefined;
838
842
  owner?: {
839
843
  email?: string | undefined;
@@ -841,16 +845,17 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
841
845
  }, {
842
846
  extId: string;
843
847
  assetType: import("./enums").GlobalAssetType;
844
- active: boolean;
845
848
  hostNames: string[];
846
849
  operatingSystems: {
847
850
  displayValue: string;
851
+ version?: string | undefined;
848
852
  }[];
849
853
  sn?: string | undefined;
850
854
  macs?: string[] | undefined;
851
855
  make?: string | undefined;
852
856
  model?: string | undefined;
853
857
  lastActivityTime?: string | undefined;
858
+ active?: boolean | undefined;
854
859
  deviceName?: string | undefined;
855
860
  owner?: {
856
861
  email?: string | undefined;
@@ -861,16 +866,17 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
861
866
  _asset: {
862
867
  extId: string;
863
868
  assetType: import("./enums").GlobalAssetType;
864
- active: boolean;
865
869
  hostNames: string[];
866
870
  operatingSystems: {
867
871
  displayValue: string;
872
+ version?: string | undefined;
868
873
  }[];
869
874
  sn?: string | undefined;
870
875
  macs?: string[] | undefined;
871
876
  make?: string | undefined;
872
877
  model?: string | undefined;
873
878
  lastActivityTime?: string | undefined;
879
+ active?: boolean | undefined;
874
880
  deviceName?: string | undefined;
875
881
  owner?: {
876
882
  email?: string | undefined;
@@ -881,16 +887,17 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
881
887
  _asset: {
882
888
  extId: string;
883
889
  assetType: import("./enums").GlobalAssetType;
884
- active: boolean;
885
890
  hostNames: string[];
886
891
  operatingSystems: {
887
892
  displayValue: string;
893
+ version?: string | undefined;
888
894
  }[];
889
895
  sn?: string | undefined;
890
896
  macs?: string[] | undefined;
891
897
  make?: string | undefined;
892
898
  model?: string | undefined;
893
899
  lastActivityTime?: string | undefined;
900
+ active?: boolean | undefined;
894
901
  deviceName?: string | undefined;
895
902
  owner?: {
896
903
  email?: string | undefined;
@@ -924,16 +931,17 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
924
931
  _asset: {
925
932
  extId: string;
926
933
  assetType: import("./enums").GlobalAssetType;
927
- active: boolean;
928
934
  hostNames: string[];
929
935
  operatingSystems: {
930
936
  displayValue: string;
937
+ version?: string | undefined;
931
938
  }[];
932
939
  sn?: string | undefined;
933
940
  macs?: string[] | undefined;
934
941
  make?: string | undefined;
935
942
  model?: string | undefined;
936
943
  lastActivityTime?: string | undefined;
944
+ active?: boolean | undefined;
937
945
  deviceName?: string | undefined;
938
946
  owner?: {
939
947
  email?: string | undefined;
@@ -961,16 +969,17 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
961
969
  _asset: {
962
970
  extId: string;
963
971
  assetType: import("./enums").GlobalAssetType;
964
- active: boolean;
965
972
  hostNames: string[];
966
973
  operatingSystems: {
967
974
  displayValue: string;
975
+ version?: string | undefined;
968
976
  }[];
969
977
  sn?: string | undefined;
970
978
  macs?: string[] | undefined;
971
979
  make?: string | undefined;
972
980
  model?: string | undefined;
973
981
  lastActivityTime?: string | undefined;
982
+ active?: boolean | undefined;
974
983
  deviceName?: string | undefined;
975
984
  owner?: {
976
985
  email?: string | undefined;
@@ -1068,16 +1077,17 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
1068
1077
  _asset: {
1069
1078
  extId: string;
1070
1079
  assetType: import("./enums").GlobalAssetType;
1071
- active: boolean;
1072
1080
  hostNames: string[];
1073
1081
  operatingSystems: {
1074
1082
  displayValue: string;
1083
+ version?: string | undefined;
1075
1084
  }[];
1076
1085
  sn?: string | undefined;
1077
1086
  macs?: string[] | undefined;
1078
1087
  make?: string | undefined;
1079
1088
  model?: string | undefined;
1080
1089
  lastActivityTime?: string | undefined;
1090
+ active?: boolean | undefined;
1081
1091
  deviceName?: string | undefined;
1082
1092
  owner?: {
1083
1093
  email?: string | undefined;
@@ -1177,16 +1187,17 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
1177
1187
  _asset: {
1178
1188
  extId: string;
1179
1189
  assetType: import("./enums").GlobalAssetType;
1180
- active: boolean;
1181
1190
  hostNames: string[];
1182
1191
  operatingSystems: {
1183
1192
  displayValue: string;
1193
+ version?: string | undefined;
1184
1194
  }[];
1185
1195
  sn?: string | undefined;
1186
1196
  macs?: string[] | undefined;
1187
1197
  make?: string | undefined;
1188
1198
  model?: string | undefined;
1189
1199
  lastActivityTime?: string | undefined;
1200
+ active?: boolean | undefined;
1190
1201
  deviceName?: string | undefined;
1191
1202
  owner?: {
1192
1203
  email?: string | undefined;
@@ -40,10 +40,13 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendS
40
40
  lastActivityTime: z.ZodOptional<z.ZodString>;
41
41
  operatingSystems: z.ZodArray<z.ZodObject<{
42
42
  displayValue: z.ZodString;
43
+ version: z.ZodOptional<z.ZodString>;
43
44
  }, "strip", z.ZodTypeAny, {
44
45
  displayValue: string;
46
+ version?: string | undefined;
45
47
  }, {
46
48
  displayValue: string;
49
+ version?: string | undefined;
47
50
  }>, "many">;
48
51
  sn: z.ZodOptional<z.ZodString>;
49
52
  macs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -56,20 +59,21 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendS
56
59
  }>>;
57
60
  make: z.ZodOptional<z.ZodString>;
58
61
  model: z.ZodOptional<z.ZodString>;
59
- active: z.ZodBoolean;
62
+ active: z.ZodOptional<z.ZodBoolean>;
60
63
  }, "strip", z.ZodTypeAny, {
61
64
  extId: string;
62
65
  assetType: import("..").GlobalAssetType;
63
- active: boolean;
64
66
  hostNames: string[];
65
67
  operatingSystems: {
66
68
  displayValue: string;
69
+ version?: string | undefined;
67
70
  }[];
68
71
  sn?: string | undefined;
69
72
  macs?: string[] | undefined;
70
73
  make?: string | undefined;
71
74
  model?: string | undefined;
72
75
  lastActivityTime?: string | undefined;
76
+ active?: boolean | undefined;
73
77
  deviceName?: string | undefined;
74
78
  owner?: {
75
79
  email?: string | undefined;
@@ -77,16 +81,17 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendS
77
81
  }, {
78
82
  extId: string;
79
83
  assetType: import("..").GlobalAssetType;
80
- active: boolean;
81
84
  hostNames: string[];
82
85
  operatingSystems: {
83
86
  displayValue: string;
87
+ version?: string | undefined;
84
88
  }[];
85
89
  sn?: string | undefined;
86
90
  macs?: string[] | undefined;
87
91
  make?: string | undefined;
88
92
  model?: string | undefined;
89
93
  lastActivityTime?: string | undefined;
94
+ active?: boolean | undefined;
90
95
  deviceName?: string | undefined;
91
96
  owner?: {
92
97
  email?: string | undefined;
@@ -97,16 +102,17 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendS
97
102
  _asset: {
98
103
  extId: string;
99
104
  assetType: import("..").GlobalAssetType;
100
- active: boolean;
101
105
  hostNames: string[];
102
106
  operatingSystems: {
103
107
  displayValue: string;
108
+ version?: string | undefined;
104
109
  }[];
105
110
  sn?: string | undefined;
106
111
  macs?: string[] | undefined;
107
112
  make?: string | undefined;
108
113
  model?: string | undefined;
109
114
  lastActivityTime?: string | undefined;
115
+ active?: boolean | undefined;
110
116
  deviceName?: string | undefined;
111
117
  owner?: {
112
118
  email?: string | undefined;
@@ -117,16 +123,17 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendS
117
123
  _asset: {
118
124
  extId: string;
119
125
  assetType: import("..").GlobalAssetType;
120
- active: boolean;
121
126
  hostNames: string[];
122
127
  operatingSystems: {
123
128
  displayValue: string;
129
+ version?: string | undefined;
124
130
  }[];
125
131
  sn?: string | undefined;
126
132
  macs?: string[] | undefined;
127
133
  make?: string | undefined;
128
134
  model?: string | undefined;
129
135
  lastActivityTime?: string | undefined;
136
+ active?: boolean | undefined;
130
137
  deviceName?: string | undefined;
131
138
  owner?: {
132
139
  email?: string | undefined;
@@ -151,16 +158,17 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendS
151
158
  _asset: {
152
159
  extId: string;
153
160
  assetType: import("..").GlobalAssetType;
154
- active: boolean;
155
161
  hostNames: string[];
156
162
  operatingSystems: {
157
163
  displayValue: string;
164
+ version?: string | undefined;
158
165
  }[];
159
166
  sn?: string | undefined;
160
167
  macs?: string[] | undefined;
161
168
  make?: string | undefined;
162
169
  model?: string | undefined;
163
170
  lastActivityTime?: string | undefined;
171
+ active?: boolean | undefined;
164
172
  deviceName?: string | undefined;
165
173
  owner?: {
166
174
  email?: string | undefined;
@@ -189,16 +197,17 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendS
189
197
  _asset: {
190
198
  extId: string;
191
199
  assetType: import("..").GlobalAssetType;
192
- active: boolean;
193
200
  hostNames: string[];
194
201
  operatingSystems: {
195
202
  displayValue: string;
203
+ version?: string | undefined;
196
204
  }[];
197
205
  sn?: string | undefined;
198
206
  macs?: string[] | undefined;
199
207
  make?: string | undefined;
200
208
  model?: string | undefined;
201
209
  lastActivityTime?: string | undefined;
210
+ active?: boolean | undefined;
202
211
  deviceName?: string | undefined;
203
212
  owner?: {
204
213
  email?: string | undefined;
@@ -15,10 +15,13 @@ export declare const _SaasAssetMeta: z.ZodObject<{
15
15
  /** Operating system of asset */
16
16
  operatingSystems: z.ZodArray<z.ZodObject<{
17
17
  displayValue: z.ZodString;
18
+ version: z.ZodOptional<z.ZodString>;
18
19
  }, "strip", z.ZodTypeAny, {
19
20
  displayValue: string;
21
+ version?: string | undefined;
20
22
  }, {
21
23
  displayValue: string;
24
+ version?: string | undefined;
22
25
  }>, "many">;
23
26
  /** Asset serial number */
24
27
  sn: z.ZodOptional<z.ZodString>;
@@ -37,20 +40,21 @@ export declare const _SaasAssetMeta: z.ZodObject<{
37
40
  /** Asset model */
38
41
  model: z.ZodOptional<z.ZodString>;
39
42
  /** Asset active status */
40
- active: z.ZodBoolean;
43
+ active: z.ZodOptional<z.ZodBoolean>;
41
44
  }, "strip", z.ZodTypeAny, {
42
45
  extId: string;
43
46
  assetType: GlobalAssetType;
44
- active: boolean;
45
47
  hostNames: string[];
46
48
  operatingSystems: {
47
49
  displayValue: string;
50
+ version?: string | undefined;
48
51
  }[];
49
52
  sn?: string | undefined;
50
53
  macs?: string[] | undefined;
51
54
  make?: string | undefined;
52
55
  model?: string | undefined;
53
56
  lastActivityTime?: string | undefined;
57
+ active?: boolean | undefined;
54
58
  deviceName?: string | undefined;
55
59
  owner?: {
56
60
  email?: string | undefined;
@@ -58,16 +62,17 @@ export declare const _SaasAssetMeta: z.ZodObject<{
58
62
  }, {
59
63
  extId: string;
60
64
  assetType: GlobalAssetType;
61
- active: boolean;
62
65
  hostNames: string[];
63
66
  operatingSystems: {
64
67
  displayValue: string;
68
+ version?: string | undefined;
65
69
  }[];
66
70
  sn?: string | undefined;
67
71
  macs?: string[] | undefined;
68
72
  make?: string | undefined;
69
73
  model?: string | undefined;
70
74
  lastActivityTime?: string | undefined;
75
+ active?: boolean | undefined;
71
76
  deviceName?: string | undefined;
72
77
  owner?: {
73
78
  email?: string | undefined;
@@ -78,16 +83,17 @@ export declare const _SaasAssetMeta: z.ZodObject<{
78
83
  _asset: {
79
84
  extId: string;
80
85
  assetType: GlobalAssetType;
81
- active: boolean;
82
86
  hostNames: string[];
83
87
  operatingSystems: {
84
88
  displayValue: string;
89
+ version?: string | undefined;
85
90
  }[];
86
91
  sn?: string | undefined;
87
92
  macs?: string[] | undefined;
88
93
  make?: string | undefined;
89
94
  model?: string | undefined;
90
95
  lastActivityTime?: string | undefined;
96
+ active?: boolean | undefined;
91
97
  deviceName?: string | undefined;
92
98
  owner?: {
93
99
  email?: string | undefined;
@@ -98,16 +104,17 @@ export declare const _SaasAssetMeta: z.ZodObject<{
98
104
  _asset: {
99
105
  extId: string;
100
106
  assetType: GlobalAssetType;
101
- active: boolean;
102
107
  hostNames: string[];
103
108
  operatingSystems: {
104
109
  displayValue: string;
110
+ version?: string | undefined;
105
111
  }[];
106
112
  sn?: string | undefined;
107
113
  macs?: string[] | undefined;
108
114
  make?: string | undefined;
109
115
  model?: string | undefined;
110
116
  lastActivityTime?: string | undefined;
117
+ active?: boolean | undefined;
111
118
  deviceName?: string | undefined;
112
119
  owner?: {
113
120
  email?: string | undefined;
@@ -166,10 +173,13 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendShape<z
166
173
  /** Operating system of asset */
167
174
  operatingSystems: z.ZodArray<z.ZodObject<{
168
175
  displayValue: z.ZodString;
176
+ version: z.ZodOptional<z.ZodString>;
169
177
  }, "strip", z.ZodTypeAny, {
170
178
  displayValue: string;
179
+ version?: string | undefined;
171
180
  }, {
172
181
  displayValue: string;
182
+ version?: string | undefined;
173
183
  }>, "many">;
174
184
  /** Asset serial number */
175
185
  sn: z.ZodOptional<z.ZodString>;
@@ -188,20 +198,21 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendShape<z
188
198
  /** Asset model */
189
199
  model: z.ZodOptional<z.ZodString>;
190
200
  /** Asset active status */
191
- active: z.ZodBoolean;
201
+ active: z.ZodOptional<z.ZodBoolean>;
192
202
  }, "strip", z.ZodTypeAny, {
193
203
  extId: string;
194
204
  assetType: GlobalAssetType;
195
- active: boolean;
196
205
  hostNames: string[];
197
206
  operatingSystems: {
198
207
  displayValue: string;
208
+ version?: string | undefined;
199
209
  }[];
200
210
  sn?: string | undefined;
201
211
  macs?: string[] | undefined;
202
212
  make?: string | undefined;
203
213
  model?: string | undefined;
204
214
  lastActivityTime?: string | undefined;
215
+ active?: boolean | undefined;
205
216
  deviceName?: string | undefined;
206
217
  owner?: {
207
218
  email?: string | undefined;
@@ -209,16 +220,17 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendShape<z
209
220
  }, {
210
221
  extId: string;
211
222
  assetType: GlobalAssetType;
212
- active: boolean;
213
223
  hostNames: string[];
214
224
  operatingSystems: {
215
225
  displayValue: string;
226
+ version?: string | undefined;
216
227
  }[];
217
228
  sn?: string | undefined;
218
229
  macs?: string[] | undefined;
219
230
  make?: string | undefined;
220
231
  model?: string | undefined;
221
232
  lastActivityTime?: string | undefined;
233
+ active?: boolean | undefined;
222
234
  deviceName?: string | undefined;
223
235
  owner?: {
224
236
  email?: string | undefined;
@@ -229,16 +241,17 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendShape<z
229
241
  _asset: {
230
242
  extId: string;
231
243
  assetType: GlobalAssetType;
232
- active: boolean;
233
244
  hostNames: string[];
234
245
  operatingSystems: {
235
246
  displayValue: string;
247
+ version?: string | undefined;
236
248
  }[];
237
249
  sn?: string | undefined;
238
250
  macs?: string[] | undefined;
239
251
  make?: string | undefined;
240
252
  model?: string | undefined;
241
253
  lastActivityTime?: string | undefined;
254
+ active?: boolean | undefined;
242
255
  deviceName?: string | undefined;
243
256
  owner?: {
244
257
  email?: string | undefined;
@@ -249,16 +262,17 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendShape<z
249
262
  _asset: {
250
263
  extId: string;
251
264
  assetType: GlobalAssetType;
252
- active: boolean;
253
265
  hostNames: string[];
254
266
  operatingSystems: {
255
267
  displayValue: string;
268
+ version?: string | undefined;
256
269
  }[];
257
270
  sn?: string | undefined;
258
271
  macs?: string[] | undefined;
259
272
  make?: string | undefined;
260
273
  model?: string | undefined;
261
274
  lastActivityTime?: string | undefined;
275
+ active?: boolean | undefined;
262
276
  deviceName?: string | undefined;
263
277
  owner?: {
264
278
  email?: string | undefined;
@@ -281,16 +295,17 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendShape<z
281
295
  _asset: {
282
296
  extId: string;
283
297
  assetType: GlobalAssetType;
284
- active: boolean;
285
298
  hostNames: string[];
286
299
  operatingSystems: {
287
300
  displayValue: string;
301
+ version?: string | undefined;
288
302
  }[];
289
303
  sn?: string | undefined;
290
304
  macs?: string[] | undefined;
291
305
  make?: string | undefined;
292
306
  model?: string | undefined;
293
307
  lastActivityTime?: string | undefined;
308
+ active?: boolean | undefined;
294
309
  deviceName?: string | undefined;
295
310
  owner?: {
296
311
  email?: string | undefined;
@@ -318,16 +333,17 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendShape<z
318
333
  _asset: {
319
334
  extId: string;
320
335
  assetType: GlobalAssetType;
321
- active: boolean;
322
336
  hostNames: string[];
323
337
  operatingSystems: {
324
338
  displayValue: string;
339
+ version?: string | undefined;
325
340
  }[];
326
341
  sn?: string | undefined;
327
342
  macs?: string[] | undefined;
328
343
  make?: string | undefined;
329
344
  model?: string | undefined;
330
345
  lastActivityTime?: string | undefined;
346
+ active?: boolean | undefined;
331
347
  deviceName?: string | undefined;
332
348
  owner?: {
333
349
  email?: string | undefined;
@@ -392,10 +408,13 @@ export declare const _SaasAssetDto: z.ZodObject<z.objectUtil.extendShape<z.objec
392
408
  /** Operating system of asset */
393
409
  operatingSystems: z.ZodArray<z.ZodObject<{
394
410
  displayValue: z.ZodString;
411
+ version: z.ZodOptional<z.ZodString>;
395
412
  }, "strip", z.ZodTypeAny, {
396
413
  displayValue: string;
414
+ version?: string | undefined;
397
415
  }, {
398
416
  displayValue: string;
417
+ version?: string | undefined;
399
418
  }>, "many">;
400
419
  /** Asset serial number */
401
420
  sn: z.ZodOptional<z.ZodString>;
@@ -414,20 +433,21 @@ export declare const _SaasAssetDto: z.ZodObject<z.objectUtil.extendShape<z.objec
414
433
  /** Asset model */
415
434
  model: z.ZodOptional<z.ZodString>;
416
435
  /** Asset active status */
417
- active: z.ZodBoolean;
436
+ active: z.ZodOptional<z.ZodBoolean>;
418
437
  }, "strip", z.ZodTypeAny, {
419
438
  extId: string;
420
439
  assetType: GlobalAssetType;
421
- active: boolean;
422
440
  hostNames: string[];
423
441
  operatingSystems: {
424
442
  displayValue: string;
443
+ version?: string | undefined;
425
444
  }[];
426
445
  sn?: string | undefined;
427
446
  macs?: string[] | undefined;
428
447
  make?: string | undefined;
429
448
  model?: string | undefined;
430
449
  lastActivityTime?: string | undefined;
450
+ active?: boolean | undefined;
431
451
  deviceName?: string | undefined;
432
452
  owner?: {
433
453
  email?: string | undefined;
@@ -435,16 +455,17 @@ export declare const _SaasAssetDto: z.ZodObject<z.objectUtil.extendShape<z.objec
435
455
  }, {
436
456
  extId: string;
437
457
  assetType: GlobalAssetType;
438
- active: boolean;
439
458
  hostNames: string[];
440
459
  operatingSystems: {
441
460
  displayValue: string;
461
+ version?: string | undefined;
442
462
  }[];
443
463
  sn?: string | undefined;
444
464
  macs?: string[] | undefined;
445
465
  make?: string | undefined;
446
466
  model?: string | undefined;
447
467
  lastActivityTime?: string | undefined;
468
+ active?: boolean | undefined;
448
469
  deviceName?: string | undefined;
449
470
  owner?: {
450
471
  email?: string | undefined;
@@ -455,16 +476,17 @@ export declare const _SaasAssetDto: z.ZodObject<z.objectUtil.extendShape<z.objec
455
476
  _asset: {
456
477
  extId: string;
457
478
  assetType: GlobalAssetType;
458
- active: boolean;
459
479
  hostNames: string[];
460
480
  operatingSystems: {
461
481
  displayValue: string;
482
+ version?: string | undefined;
462
483
  }[];
463
484
  sn?: string | undefined;
464
485
  macs?: string[] | undefined;
465
486
  make?: string | undefined;
466
487
  model?: string | undefined;
467
488
  lastActivityTime?: string | undefined;
489
+ active?: boolean | undefined;
468
490
  deviceName?: string | undefined;
469
491
  owner?: {
470
492
  email?: string | undefined;
@@ -475,16 +497,17 @@ export declare const _SaasAssetDto: z.ZodObject<z.objectUtil.extendShape<z.objec
475
497
  _asset: {
476
498
  extId: string;
477
499
  assetType: GlobalAssetType;
478
- active: boolean;
479
500
  hostNames: string[];
480
501
  operatingSystems: {
481
502
  displayValue: string;
503
+ version?: string | undefined;
482
504
  }[];
483
505
  sn?: string | undefined;
484
506
  macs?: string[] | undefined;
485
507
  make?: string | undefined;
486
508
  model?: string | undefined;
487
509
  lastActivityTime?: string | undefined;
510
+ active?: boolean | undefined;
488
511
  deviceName?: string | undefined;
489
512
  owner?: {
490
513
  email?: string | undefined;
@@ -519,16 +542,17 @@ export declare const _SaasAssetDto: z.ZodObject<z.objectUtil.extendShape<z.objec
519
542
  _asset: {
520
543
  extId: string;
521
544
  assetType: GlobalAssetType;
522
- active: boolean;
523
545
  hostNames: string[];
524
546
  operatingSystems: {
525
547
  displayValue: string;
548
+ version?: string | undefined;
526
549
  }[];
527
550
  sn?: string | undefined;
528
551
  macs?: string[] | undefined;
529
552
  make?: string | undefined;
530
553
  model?: string | undefined;
531
554
  lastActivityTime?: string | undefined;
555
+ active?: boolean | undefined;
532
556
  deviceName?: string | undefined;
533
557
  owner?: {
534
558
  email?: string | undefined;
@@ -556,16 +580,17 @@ export declare const _SaasAssetDto: z.ZodObject<z.objectUtil.extendShape<z.objec
556
580
  _asset: {
557
581
  extId: string;
558
582
  assetType: GlobalAssetType;
559
- active: boolean;
560
583
  hostNames: string[];
561
584
  operatingSystems: {
562
585
  displayValue: string;
586
+ version?: string | undefined;
563
587
  }[];
564
588
  sn?: string | undefined;
565
589
  macs?: string[] | undefined;
566
590
  make?: string | undefined;
567
591
  model?: string | undefined;
568
592
  lastActivityTime?: string | undefined;
593
+ active?: boolean | undefined;
569
594
  deviceName?: string | undefined;
570
595
  owner?: {
571
596
  email?: string | undefined;
@@ -24,6 +24,7 @@ exports._SaasAssetMeta = zod_1.z.object({
24
24
  displayValue: zod_1.z.string(),
25
25
  // TODO: define this when needed
26
26
  // kind: enum,
27
+ version: zod_1.z.string().optional(),
27
28
  })),
28
29
  /** Asset serial number */
29
30
  sn: zod_1.z.string().optional(),
@@ -40,7 +41,7 @@ exports._SaasAssetMeta = zod_1.z.object({
40
41
  /** Asset model */
41
42
  model: zod_1.z.string().optional(),
42
43
  /** Asset active status */
43
- active: zod_1.z.boolean(),
44
+ active: zod_1.z.boolean().optional(),
44
45
  }),
45
46
  _raw: zod_1.z.unknown(),
46
47
  });
@@ -1 +1 @@
1
- {"version":3,"file":"saasAssets.dto.js","sourceRoot":"","sources":["../../../src/dto/saasAssets.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,2CAAuC;AACvC,yCAAkE;AAClE,mCAAwC;AAE3B,QAAA,cAAc,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC;QACf,6BAA6B;QAC7B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;QACjB,iBAAiB;QACjB,SAAS,EAAE,OAAC,CAAC,UAAU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AC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACzB,0BAA0B;QAC1B,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;QACpC,8BAA8B;QAC9B,KAAK,EAAE,OAAC;aACL,MAAM,CAAC;YACN,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SAC7B,CAAC;aACD,QAAQ,EAAE;QACb,iBAAiB;QACjB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC3B,kBAAkB;QAClB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,0BAA0B;QAC1B,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;KAC/B,CAAC;IACF,IAAI,EAAE,OAAC,CAAC,OAAO,EAAE;CAClB,CAAC,CAAC;AAIU,QAAA,mBAAmB,GAAG,gCAAqB,CAAC,KAAK,CAC5D,OAAC,CAAC,MAAM,CAAC;IACP,mBAAmB;IACnB,OAAO,EAAE,sBAAU;IACnB,mBAAmB;IACnB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,eAAe;IACf,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,cAAc;IACd,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,0BAA0B;IAC1B,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,yCAAyC;IACzC,IAAI,EAAE,sBAAc;CACrB,CAAC,CACH,CAAC;AAIW,QAAA,aAAa,GAAG,2BAAmB,CAAC,KAAK,CAAC,0BAAe,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampsec/platform-client",
3
- "version": "75.6.0",
3
+ "version": "75.7.0",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "runkitExampleFilename": "example/main.js",
@@ -23,6 +23,7 @@ export const _SaasAssetMeta = z.object({
23
23
  displayValue: z.string(),
24
24
  // TODO: define this when needed
25
25
  // kind: enum,
26
+ version: z.string().optional(),
26
27
  })
27
28
  ),
28
29
  /** Asset serial number */
@@ -40,7 +41,7 @@ export const _SaasAssetMeta = z.object({
40
41
  /** Asset model */
41
42
  model: z.string().optional(),
42
43
  /** Asset active status */
43
- active: z.boolean(),
44
+ active: z.boolean().optional(),
44
45
  }),
45
46
  _raw: z.unknown(),
46
47
  });