pmcf 2.74.0 → 2.74.2

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 (35) hide show
  1. package/package.json +2 -2
  2. package/src/host.mjs +17 -22
  3. package/src/location.mjs +2 -1
  4. package/src/network-interfaces/network-interface.mjs +5 -4
  5. package/src/network-support.mjs +14 -17
  6. package/src/owner.mjs +8 -8
  7. package/src/service.mjs +7 -9
  8. package/src/services/kea.mjs +1 -1
  9. package/src/subnet.mjs +2 -3
  10. package/types/cluster.d.mts +316 -31
  11. package/types/extra-source-service.d.mts +121 -13
  12. package/types/host.d.mts +220 -22
  13. package/types/location.d.mts +204 -19
  14. package/types/network-interfaces/ethernet.d.mts +340 -36
  15. package/types/network-interfaces/loopback.d.mts +340 -36
  16. package/types/network-interfaces/network-interface.d.mts +340 -36
  17. package/types/network-interfaces/wireguard.d.mts +340 -36
  18. package/types/network-interfaces/wlan.d.mts +510 -54
  19. package/types/network-support.d.mts +186 -104
  20. package/types/network.d.mts +170 -19
  21. package/types/owner.d.mts +96 -9
  22. package/types/root.d.mts +204 -19
  23. package/types/service.d.mts +307 -62
  24. package/types/services/bind.d.mts +242 -26
  25. package/types/services/chrony.d.mts +242 -26
  26. package/types/services/influxdb.d.mts +242 -26
  27. package/types/services/kea.d.mts +242 -26
  28. package/types/services/mosquitto.d.mts +242 -26
  29. package/types/services/openldap.d.mts +242 -26
  30. package/types/services/systemd-journal-remote.d.mts +242 -26
  31. package/types/services/systemd-journal-upload.d.mts +242 -26
  32. package/types/services/systemd-journal.d.mts +242 -26
  33. package/types/services/systemd-resolved.d.mts +242 -26
  34. package/types/services/systemd-timesyncd.d.mts +242 -26
  35. package/types/subnet.d.mts +12 -2
package/types/host.d.mts CHANGED
@@ -117,26 +117,70 @@ export class Host extends ServiceOwner {
117
117
  writeable: boolean;
118
118
  };
119
119
  os: {
120
- type: string;
121
- collection: boolean;
122
120
  writeable: boolean;
123
121
  values: string[];
122
+ type: string;
123
+ isKey: boolean;
124
+ writable: boolean;
125
+ mandatory: boolean;
126
+ collection: boolean;
127
+ private?: boolean;
128
+ depends?: string;
129
+ additionalAttributes: string[];
130
+ description?: string;
131
+ default?: any;
132
+ set?: Function;
133
+ get?: Function;
134
+ env?: string[] | string;
124
135
  };
125
136
  "machine-id": {
137
+ writeable: boolean;
126
138
  type: string;
139
+ isKey: boolean;
140
+ writable: boolean;
141
+ mandatory: boolean;
127
142
  collection: boolean;
128
- writeable: boolean;
143
+ private?: boolean;
144
+ depends?: string;
145
+ additionalAttributes: string[];
146
+ description?: string;
147
+ default?: any;
148
+ set?: Function;
149
+ get?: Function;
150
+ env?: string[] | string;
129
151
  };
130
152
  distribution: {
153
+ writeable: boolean;
131
154
  type: string;
155
+ isKey: boolean;
156
+ writable: boolean;
157
+ mandatory: boolean;
132
158
  collection: boolean;
133
- writeable: boolean;
159
+ private?: boolean;
160
+ depends?: string;
161
+ additionalAttributes: string[];
162
+ description?: string;
163
+ default?: any;
164
+ set?: Function;
165
+ get?: Function;
166
+ env?: string[] | string;
134
167
  };
135
168
  deployment: {
136
- type: string;
137
- collection: boolean;
138
169
  writeable: boolean;
139
170
  values: string[];
171
+ type: string;
172
+ isKey: boolean;
173
+ writable: boolean;
174
+ mandatory: boolean;
175
+ collection: boolean;
176
+ private?: boolean;
177
+ depends?: string;
178
+ additionalAttributes: string[];
179
+ description?: string;
180
+ default?: any;
181
+ set?: Function;
182
+ get?: Function;
183
+ env?: string[] | string;
140
184
  };
141
185
  weight: {
142
186
  type: string;
@@ -144,46 +188,134 @@ export class Host extends ServiceOwner {
144
188
  writeable: boolean;
145
189
  };
146
190
  serial: {
191
+ writeable: boolean;
147
192
  type: string;
193
+ isKey: boolean;
194
+ writable: boolean;
195
+ mandatory: boolean;
148
196
  collection: boolean;
149
- writeable: boolean;
197
+ private?: boolean;
198
+ depends?: string;
199
+ additionalAttributes: string[];
200
+ description?: string;
201
+ default?: any;
202
+ set?: Function;
203
+ get?: Function;
204
+ env?: string[] | string;
150
205
  };
151
206
  vendor: {
207
+ writeable: boolean;
152
208
  type: string;
209
+ isKey: boolean;
210
+ writable: boolean;
211
+ mandatory: boolean;
153
212
  collection: boolean;
154
- writeable: boolean;
213
+ private?: boolean;
214
+ depends?: string;
215
+ additionalAttributes: string[];
216
+ description?: string;
217
+ default?: any;
218
+ set?: Function;
219
+ get?: Function;
220
+ env?: string[] | string;
155
221
  };
156
222
  keymap: {
223
+ writeable: boolean;
157
224
  type: string;
225
+ isKey: boolean;
226
+ writable: boolean;
227
+ mandatory: boolean;
158
228
  collection: boolean;
159
- writeable: boolean;
229
+ private?: boolean;
230
+ depends?: string;
231
+ additionalAttributes: string[];
232
+ description?: string;
233
+ default?: any;
234
+ set?: Function;
235
+ get?: Function;
236
+ env?: string[] | string;
160
237
  };
161
238
  chassis: {
162
- type: string;
163
- collection: boolean;
164
239
  writeable: boolean;
165
240
  values: string[];
166
- };
167
- architecture: {
168
241
  type: string;
242
+ isKey: boolean;
243
+ writable: boolean;
244
+ mandatory: boolean;
169
245
  collection: boolean;
246
+ private?: boolean;
247
+ depends?: string;
248
+ additionalAttributes: string[];
249
+ description?: string;
250
+ default?: any;
251
+ set?: Function;
252
+ get?: Function;
253
+ env?: string[] | string;
254
+ };
255
+ architecture: {
170
256
  writeable: boolean;
171
257
  values: string[];
258
+ type: string;
259
+ isKey: boolean;
260
+ writable: boolean;
261
+ mandatory: boolean;
262
+ collection: boolean;
263
+ private?: boolean;
264
+ depends?: string;
265
+ additionalAttributes: string[];
266
+ description?: string;
267
+ default?: any;
268
+ set?: Function;
269
+ get?: Function;
270
+ env?: string[] | string;
172
271
  };
173
272
  replaces: {
174
- type: string;
175
273
  collection: boolean;
176
274
  writeable: boolean;
275
+ type: string;
276
+ isKey: boolean;
277
+ writable: boolean;
278
+ mandatory: boolean;
279
+ private?: boolean;
280
+ depends?: string;
281
+ additionalAttributes: string[];
282
+ description?: string;
283
+ default?: any;
284
+ set?: Function;
285
+ get?: Function;
286
+ env?: string[] | string;
177
287
  };
178
288
  depends: {
179
- type: string;
180
289
  collection: boolean;
181
290
  writeable: boolean;
291
+ type: string;
292
+ isKey: boolean;
293
+ writable: boolean;
294
+ mandatory: boolean;
295
+ private?: boolean;
296
+ depends?: string;
297
+ additionalAttributes: string[];
298
+ description?: string;
299
+ default?: any;
300
+ set?: Function;
301
+ get?: Function;
302
+ env?: string[] | string;
182
303
  };
183
304
  provides: {
184
- type: string;
185
305
  collection: boolean;
186
306
  writeable: boolean;
307
+ type: string;
308
+ isKey: boolean;
309
+ writable: boolean;
310
+ mandatory: boolean;
311
+ private?: boolean;
312
+ depends?: string;
313
+ additionalAttributes: string[];
314
+ description?: string;
315
+ default?: any;
316
+ set?: Function;
317
+ get?: Function;
318
+ env?: string[] | string;
187
319
  };
188
320
  extends: {
189
321
  type: string;
@@ -191,9 +323,20 @@ export class Host extends ServiceOwner {
191
323
  writeable: boolean;
192
324
  };
193
325
  model: {
194
- type: string;
195
326
  collection: boolean;
196
327
  writeable: boolean;
328
+ type: string;
329
+ isKey: boolean;
330
+ writable: boolean;
331
+ mandatory: boolean;
332
+ private?: boolean;
333
+ depends?: string;
334
+ additionalAttributes: string[];
335
+ description?: string;
336
+ default?: any;
337
+ set?: Function;
338
+ get?: Function;
339
+ env?: string[] | string;
197
340
  };
198
341
  isModel: {
199
342
  type: string;
@@ -201,29 +344,84 @@ export class Host extends ServiceOwner {
201
344
  writeable: boolean;
202
345
  };
203
346
  hostName: {
347
+ writeable: boolean;
204
348
  type: string;
349
+ isKey: boolean;
350
+ writable: boolean;
351
+ mandatory: boolean;
205
352
  collection: boolean;
206
- writeable: boolean;
353
+ private?: boolean;
354
+ depends?: string;
355
+ additionalAttributes: string[];
356
+ description?: string;
357
+ default?: any;
358
+ set?: Function;
359
+ get?: Function;
360
+ env?: string[] | string;
207
361
  };
208
362
  cidrAddresses: {
209
- type: string;
210
363
  collection: boolean;
211
364
  writeable: boolean;
365
+ type: string;
366
+ isKey: boolean;
367
+ writable: boolean;
368
+ mandatory: boolean;
369
+ private?: boolean;
370
+ depends?: string;
371
+ additionalAttributes: string[];
372
+ description?: string;
373
+ default?: any;
374
+ set?: Function;
375
+ get?: Function;
376
+ env?: string[] | string;
212
377
  };
213
378
  cidrAddress: {
379
+ writeable: boolean;
214
380
  type: string;
381
+ isKey: boolean;
382
+ writable: boolean;
383
+ mandatory: boolean;
215
384
  collection: boolean;
216
- writeable: boolean;
385
+ private?: boolean;
386
+ depends?: string;
387
+ additionalAttributes: string[];
388
+ description?: string;
389
+ default?: any;
390
+ set?: Function;
391
+ get?: Function;
392
+ env?: string[] | string;
217
393
  };
218
394
  addresses: {
219
- type: string;
220
395
  collection: boolean;
221
396
  writeable: boolean;
397
+ type: string;
398
+ isKey: boolean;
399
+ writable: boolean;
400
+ mandatory: boolean;
401
+ private?: boolean;
402
+ depends?: string;
403
+ additionalAttributes: string[];
404
+ description?: string;
405
+ default?: any;
406
+ set?: Function;
407
+ get?: Function;
408
+ env?: string[] | string;
222
409
  };
223
410
  address: {
411
+ writeable: boolean;
224
412
  type: string;
413
+ isKey: boolean;
414
+ writable: boolean;
415
+ mandatory: boolean;
225
416
  collection: boolean;
226
- writeable: boolean;
417
+ private?: boolean;
418
+ depends?: string;
419
+ additionalAttributes: string[];
420
+ description?: string;
421
+ default?: any;
422
+ set?: Function;
423
+ get?: Function;
424
+ env?: string[] | string;
227
425
  };
228
426
  };
229
427
  };
@@ -126,10 +126,20 @@ export class Location extends Owner {
126
126
  constructWithIdentifierOnly: boolean;
127
127
  properties: {
128
128
  address: {
129
+ identifier: boolean;
129
130
  type: string;
131
+ isKey: boolean;
132
+ writable: boolean;
133
+ mandatory: boolean;
130
134
  collection: boolean;
131
- writeable: boolean;
132
- identifier: boolean;
135
+ private?: boolean;
136
+ depends?: string;
137
+ additionalAttributes: string[];
138
+ description?: string;
139
+ default?: any;
140
+ set?: Function;
141
+ get?: Function;
142
+ env?: string[] | string;
133
143
  };
134
144
  networks: {
135
145
  type: string;
@@ -147,39 +157,116 @@ export class Location extends Owner {
147
157
  writeable: boolean;
148
158
  };
149
159
  country: {
160
+ writeable: boolean;
150
161
  type: string;
162
+ isKey: boolean;
163
+ writable: boolean;
164
+ mandatory: boolean;
151
165
  collection: boolean;
152
- writeable: boolean;
166
+ private?: boolean;
167
+ depends?: string;
168
+ additionalAttributes: string[];
169
+ description?: string;
170
+ default?: any;
171
+ set?: Function;
172
+ get?: Function;
173
+ env?: string[] | string;
153
174
  };
154
175
  domain: {
176
+ writeable: boolean;
155
177
  type: string;
178
+ isKey: boolean;
179
+ writable: boolean;
180
+ mandatory: boolean;
156
181
  collection: boolean;
157
- writeable: boolean;
182
+ private?: boolean;
183
+ depends?: string;
184
+ additionalAttributes: string[];
185
+ description?: string;
186
+ default?: any;
187
+ set?: Function;
188
+ get?: Function;
189
+ env?: string[] | string;
158
190
  };
159
191
  domains: {
160
- type: string;
161
192
  collection: boolean;
162
193
  writeable: boolean;
194
+ type: string;
195
+ isKey: boolean;
196
+ writable: boolean;
197
+ mandatory: boolean;
198
+ private?: boolean;
199
+ depends?: string;
200
+ additionalAttributes: string[];
201
+ description?: string;
202
+ default?: any;
203
+ set?: Function;
204
+ get?: Function;
205
+ env?: string[] | string;
163
206
  };
164
207
  timezone: {
208
+ writeable: boolean;
165
209
  type: string;
210
+ isKey: boolean;
211
+ writable: boolean;
212
+ mandatory: boolean;
166
213
  collection: boolean;
167
- writeable: boolean;
214
+ private?: boolean;
215
+ depends?: string;
216
+ additionalAttributes: string[];
217
+ description?: string;
218
+ default?: any;
219
+ set?: Function;
220
+ get?: Function;
221
+ env?: string[] | string;
168
222
  };
169
223
  architectures: {
170
- type: string;
171
224
  collection: boolean;
172
225
  writeable: boolean;
226
+ type: string;
227
+ isKey: boolean;
228
+ writable: boolean;
229
+ mandatory: boolean;
230
+ private?: boolean;
231
+ depends?: string;
232
+ additionalAttributes: string[];
233
+ description?: string;
234
+ default?: any;
235
+ set?: Function;
236
+ get?: Function;
237
+ env?: string[] | string;
173
238
  };
174
239
  locales: {
175
- type: string;
176
240
  collection: boolean;
177
241
  writeable: boolean;
242
+ type: string;
243
+ isKey: boolean;
244
+ writable: boolean;
245
+ mandatory: boolean;
246
+ private?: boolean;
247
+ depends?: string;
248
+ additionalAttributes: string[];
249
+ description?: string;
250
+ default?: any;
251
+ set?: Function;
252
+ get?: Function;
253
+ env?: string[] | string;
178
254
  };
179
255
  administratorEmail: {
256
+ writeable: boolean;
180
257
  type: string;
258
+ isKey: boolean;
259
+ writable: boolean;
260
+ mandatory: boolean;
181
261
  collection: boolean;
182
- writeable: boolean;
262
+ private?: boolean;
263
+ depends?: string;
264
+ additionalAttributes: string[];
265
+ description?: string;
266
+ default?: any;
267
+ set?: Function;
268
+ get?: Function;
269
+ env?: string[] | string;
183
270
  };
184
271
  };
185
272
  })[];
@@ -309,10 +396,20 @@ export class Location extends Owner {
309
396
  constructWithIdentifierOnly: boolean;
310
397
  properties: {
311
398
  address: {
399
+ identifier: boolean;
312
400
  type: string;
401
+ isKey: boolean;
402
+ writable: boolean;
403
+ mandatory: boolean;
313
404
  collection: boolean;
314
- writeable: boolean;
315
- identifier: boolean;
405
+ private?: boolean;
406
+ depends?: string;
407
+ additionalAttributes: string[];
408
+ description?: string;
409
+ default?: any;
410
+ set?: Function;
411
+ get?: Function;
412
+ env?: string[] | string;
316
413
  };
317
414
  networks: {
318
415
  type: string;
@@ -330,47 +427,135 @@ export class Location extends Owner {
330
427
  writeable: boolean;
331
428
  };
332
429
  country: {
430
+ writeable: boolean;
333
431
  type: string;
432
+ isKey: boolean;
433
+ writable: boolean;
434
+ mandatory: boolean;
334
435
  collection: boolean;
335
- writeable: boolean;
436
+ private?: boolean;
437
+ depends?: string;
438
+ additionalAttributes: string[];
439
+ description?: string;
440
+ default?: any;
441
+ set?: Function;
442
+ get?: Function;
443
+ env?: string[] | string;
336
444
  };
337
445
  domain: {
446
+ writeable: boolean;
338
447
  type: string;
448
+ isKey: boolean;
449
+ writable: boolean;
450
+ mandatory: boolean;
339
451
  collection: boolean;
340
- writeable: boolean;
452
+ private?: boolean;
453
+ depends?: string;
454
+ additionalAttributes: string[];
455
+ description?: string;
456
+ default?: any;
457
+ set?: Function;
458
+ get?: Function;
459
+ env?: string[] | string;
341
460
  };
342
461
  domains: {
343
- type: string;
344
462
  collection: boolean;
345
463
  writeable: boolean;
464
+ type: string;
465
+ isKey: boolean;
466
+ writable: boolean;
467
+ mandatory: boolean;
468
+ private?: boolean;
469
+ depends?: string;
470
+ additionalAttributes: string[];
471
+ description?: string;
472
+ default?: any;
473
+ set?: Function;
474
+ get?: Function;
475
+ env?: string[] | string;
346
476
  };
347
477
  timezone: {
478
+ writeable: boolean;
348
479
  type: string;
480
+ isKey: boolean;
481
+ writable: boolean;
482
+ mandatory: boolean;
349
483
  collection: boolean;
350
- writeable: boolean;
484
+ private?: boolean;
485
+ depends?: string;
486
+ additionalAttributes: string[];
487
+ description?: string;
488
+ default?: any;
489
+ set?: Function;
490
+ get?: Function;
491
+ env?: string[] | string;
351
492
  };
352
493
  architectures: {
353
- type: string;
354
494
  collection: boolean;
355
495
  writeable: boolean;
496
+ type: string;
497
+ isKey: boolean;
498
+ writable: boolean;
499
+ mandatory: boolean;
500
+ private?: boolean;
501
+ depends?: string;
502
+ additionalAttributes: string[];
503
+ description?: string;
504
+ default?: any;
505
+ set?: Function;
506
+ get?: Function;
507
+ env?: string[] | string;
356
508
  };
357
509
  locales: {
358
- type: string;
359
510
  collection: boolean;
360
511
  writeable: boolean;
512
+ type: string;
513
+ isKey: boolean;
514
+ writable: boolean;
515
+ mandatory: boolean;
516
+ private?: boolean;
517
+ depends?: string;
518
+ additionalAttributes: string[];
519
+ description?: string;
520
+ default?: any;
521
+ set?: Function;
522
+ get?: Function;
523
+ env?: string[] | string;
361
524
  };
362
525
  administratorEmail: {
526
+ writeable: boolean;
363
527
  type: string;
528
+ isKey: boolean;
529
+ writable: boolean;
530
+ mandatory: boolean;
364
531
  collection: boolean;
365
- writeable: boolean;
532
+ private?: boolean;
533
+ depends?: string;
534
+ additionalAttributes: string[];
535
+ description?: string;
536
+ default?: any;
537
+ set?: Function;
538
+ get?: Function;
539
+ env?: string[] | string;
366
540
  };
367
541
  };
368
542
  };
369
543
  properties: {
370
544
  locales: {
371
- type: string;
372
545
  collection: boolean;
373
546
  writeable: boolean;
547
+ type: string;
548
+ isKey: boolean;
549
+ writable: boolean;
550
+ mandatory: boolean;
551
+ private?: boolean;
552
+ depends?: string;
553
+ additionalAttributes: string[];
554
+ description?: string;
555
+ default?: any;
556
+ set?: Function;
557
+ get?: Function;
558
+ env?: string[] | string;
374
559
  };
375
560
  };
376
561
  };