@uns-kit/core 1.0.24 → 1.0.26

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 (40) hide show
  1. package/README.md +2 -0
  2. package/dist/config/app-config.d.ts +97 -28
  3. package/dist/config/app-config.d.ts.map +1 -1
  4. package/dist/config/app-config.js.map +1 -1
  5. package/dist/tools/generate-config-schema.js +17 -1
  6. package/dist/tools/generate-config-schema.js.map +1 -1
  7. package/dist/uns/handover-manager.d.ts +5 -1
  8. package/dist/uns/handover-manager.d.ts.map +1 -1
  9. package/dist/uns/handover-manager.js +49 -19
  10. package/dist/uns/handover-manager.js.map +1 -1
  11. package/dist/uns/status-monitor.d.ts +6 -1
  12. package/dist/uns/status-monitor.d.ts.map +1 -1
  13. package/dist/uns/status-monitor.js +15 -2
  14. package/dist/uns/status-monitor.js.map +1 -1
  15. package/dist/uns/uns-interfaces.d.ts +36 -0
  16. package/dist/uns/uns-interfaces.d.ts.map +1 -1
  17. package/dist/uns/uns-interfaces.js.map +1 -1
  18. package/dist/uns/uns-proxy-process.d.ts +1 -0
  19. package/dist/uns/uns-proxy-process.d.ts.map +1 -1
  20. package/dist/uns/uns-proxy-process.js +28 -3
  21. package/dist/uns/uns-proxy-process.js.map +1 -1
  22. package/dist/uns-config/uns-core-schema.d.ts +1801 -88
  23. package/dist/uns-config/uns-core-schema.d.ts.map +1 -1
  24. package/dist/uns-config/uns-core-schema.js +38 -2
  25. package/dist/uns-config/uns-core-schema.js.map +1 -1
  26. package/dist/uns-grpc/uns-gateway-server.d.ts +2 -0
  27. package/dist/uns-grpc/uns-gateway-server.d.ts.map +1 -1
  28. package/dist/uns-grpc/uns-gateway-server.js +88 -10
  29. package/dist/uns-grpc/uns-gateway-server.js.map +1 -1
  30. package/dist/uns-mqtt/mqtt-interfaces.d.ts +33 -1
  31. package/dist/uns-mqtt/mqtt-interfaces.d.ts.map +1 -1
  32. package/dist/uns-mqtt/mqtt-interfaces.js.map +1 -1
  33. package/dist/uns-mqtt/mqtt-proxy.d.ts +3 -0
  34. package/dist/uns-mqtt/mqtt-proxy.d.ts.map +1 -1
  35. package/dist/uns-mqtt/mqtt-proxy.js +86 -4
  36. package/dist/uns-mqtt/mqtt-proxy.js.map +1 -1
  37. package/dist/uns-mqtt/uns-mqtt-proxy.d.ts.map +1 -1
  38. package/dist/uns-mqtt/uns-mqtt-proxy.js +31 -9
  39. package/dist/uns-mqtt/uns-mqtt-proxy.js.map +1 -1
  40. package/package.json +1 -1
@@ -51,8 +51,8 @@ export declare const unsCoreSchema: z.ZodObject<{
51
51
  kidWellKnownUrl: z.ZodOptional<z.ZodString>;
52
52
  env: z.ZodDefault<z.ZodEnum<["dev", "staging", "test", "prod"]>>;
53
53
  }, "strict", z.ZodTypeAny, {
54
- env?: "dev" | "staging" | "test" | "prod";
55
54
  handover?: boolean;
55
+ env?: "dev" | "staging" | "test" | "prod";
56
56
  processName?: string;
57
57
  password?: string | {
58
58
  provider?: "env";
@@ -75,8 +75,8 @@ export declare const unsCoreSchema: z.ZodObject<{
75
75
  jwksWellKnownUrl?: string;
76
76
  kidWellKnownUrl?: string;
77
77
  }, {
78
- env?: "dev" | "staging" | "test" | "prod";
79
78
  handover?: boolean;
79
+ env?: "dev" | "staging" | "test" | "prod";
80
80
  processName?: string;
81
81
  password?: string | {
82
82
  provider?: "env";
@@ -99,8 +99,8 @@ export declare const unsCoreSchema: z.ZodObject<{
99
99
  jwksWellKnownUrl?: string;
100
100
  kidWellKnownUrl?: string;
101
101
  }>;
102
- input: z.ZodOptional<z.ZodObject<{
103
- host: z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
102
+ input: z.ZodOptional<z.ZodEffects<z.ZodObject<{
103
+ host: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
104
104
  provider: z.ZodLiteral<"inline">;
105
105
  value: z.ZodString;
106
106
  }, "strict", z.ZodTypeAny, {
@@ -142,7 +142,743 @@ export declare const unsCoreSchema: z.ZodObject<{
142
142
  default?: string;
143
143
  family?: "IPv4" | "IPv6";
144
144
  interfaceName?: string;
145
- }>]>]>;
145
+ }>]>]>>;
146
+ hosts: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
147
+ provider: z.ZodLiteral<"inline">;
148
+ value: z.ZodString;
149
+ }, "strict", z.ZodTypeAny, {
150
+ provider?: "inline";
151
+ value?: string;
152
+ }, {
153
+ provider?: "inline";
154
+ value?: string;
155
+ }>, z.ZodObject<{
156
+ provider: z.ZodLiteral<"external">;
157
+ key: z.ZodString;
158
+ optional: z.ZodOptional<z.ZodBoolean>;
159
+ default: z.ZodOptional<z.ZodString>;
160
+ }, "strict", z.ZodTypeAny, {
161
+ provider?: "external";
162
+ key?: string;
163
+ optional?: boolean;
164
+ default?: string;
165
+ }, {
166
+ provider?: "external";
167
+ key?: string;
168
+ optional?: boolean;
169
+ default?: string;
170
+ }>, z.ZodObject<{
171
+ provider: z.ZodLiteral<"system">;
172
+ family: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"IPv4">, z.ZodLiteral<"IPv6">]>>;
173
+ interfaceName: z.ZodOptional<z.ZodString>;
174
+ optional: z.ZodOptional<z.ZodBoolean>;
175
+ default: z.ZodOptional<z.ZodString>;
176
+ }, "strict", z.ZodTypeAny, {
177
+ provider?: "system";
178
+ optional?: boolean;
179
+ default?: string;
180
+ family?: "IPv4" | "IPv6";
181
+ interfaceName?: string;
182
+ }, {
183
+ provider?: "system";
184
+ optional?: boolean;
185
+ default?: string;
186
+ family?: "IPv4" | "IPv6";
187
+ interfaceName?: string;
188
+ }>]>]>, "many">>;
189
+ servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
190
+ host: z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
191
+ provider: z.ZodLiteral<"inline">;
192
+ value: z.ZodString;
193
+ }, "strict", z.ZodTypeAny, {
194
+ provider?: "inline";
195
+ value?: string;
196
+ }, {
197
+ provider?: "inline";
198
+ value?: string;
199
+ }>, z.ZodObject<{
200
+ provider: z.ZodLiteral<"external">;
201
+ key: z.ZodString;
202
+ optional: z.ZodOptional<z.ZodBoolean>;
203
+ default: z.ZodOptional<z.ZodString>;
204
+ }, "strict", z.ZodTypeAny, {
205
+ provider?: "external";
206
+ key?: string;
207
+ optional?: boolean;
208
+ default?: string;
209
+ }, {
210
+ provider?: "external";
211
+ key?: string;
212
+ optional?: boolean;
213
+ default?: string;
214
+ }>, z.ZodObject<{
215
+ provider: z.ZodLiteral<"system">;
216
+ family: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"IPv4">, z.ZodLiteral<"IPv6">]>>;
217
+ interfaceName: z.ZodOptional<z.ZodString>;
218
+ optional: z.ZodOptional<z.ZodBoolean>;
219
+ default: z.ZodOptional<z.ZodString>;
220
+ }, "strict", z.ZodTypeAny, {
221
+ provider?: "system";
222
+ optional?: boolean;
223
+ default?: string;
224
+ family?: "IPv4" | "IPv6";
225
+ interfaceName?: string;
226
+ }, {
227
+ provider?: "system";
228
+ optional?: boolean;
229
+ default?: string;
230
+ family?: "IPv4" | "IPv6";
231
+ interfaceName?: string;
232
+ }>]>]>;
233
+ port: z.ZodOptional<z.ZodNumber>;
234
+ protocol: z.ZodOptional<z.ZodEnum<["mqtt", "mqtts", "ws", "wss", "tcp", "ssl"]>>;
235
+ }, "strict", z.ZodTypeAny, {
236
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
237
+ port?: number;
238
+ host?: string | {
239
+ provider?: "inline";
240
+ value?: string;
241
+ } | {
242
+ provider?: "external";
243
+ key?: string;
244
+ optional?: boolean;
245
+ default?: string;
246
+ } | {
247
+ provider?: "system";
248
+ optional?: boolean;
249
+ default?: string;
250
+ family?: "IPv4" | "IPv6";
251
+ interfaceName?: string;
252
+ };
253
+ }, {
254
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
255
+ port?: number;
256
+ host?: string | {
257
+ provider?: "inline";
258
+ value?: string;
259
+ } | {
260
+ provider?: "external";
261
+ key?: string;
262
+ optional?: boolean;
263
+ default?: string;
264
+ } | {
265
+ provider?: "system";
266
+ optional?: boolean;
267
+ default?: string;
268
+ family?: "IPv4" | "IPv6";
269
+ interfaceName?: string;
270
+ };
271
+ }>, "many">>;
272
+ port: z.ZodOptional<z.ZodNumber>;
273
+ protocol: z.ZodOptional<z.ZodEnum<["mqtt", "mqtts", "ws", "wss", "tcp", "ssl"]>>;
274
+ username: z.ZodOptional<z.ZodString>;
275
+ password: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
276
+ provider: z.ZodLiteral<"env">;
277
+ key: z.ZodString;
278
+ optional: z.ZodOptional<z.ZodBoolean>;
279
+ default: z.ZodOptional<z.ZodString>;
280
+ }, "strict", z.ZodTypeAny, {
281
+ provider?: "env";
282
+ key?: string;
283
+ optional?: boolean;
284
+ default?: string;
285
+ }, {
286
+ provider?: "env";
287
+ key?: string;
288
+ optional?: boolean;
289
+ default?: string;
290
+ }>, z.ZodObject<{
291
+ provider: z.ZodLiteral<"infisical">;
292
+ path: z.ZodString;
293
+ key: z.ZodString;
294
+ optional: z.ZodOptional<z.ZodBoolean>;
295
+ environment: z.ZodOptional<z.ZodString>;
296
+ projectId: z.ZodOptional<z.ZodString>;
297
+ default: z.ZodOptional<z.ZodString>;
298
+ }, "strict", z.ZodTypeAny, {
299
+ provider?: "infisical";
300
+ key?: string;
301
+ optional?: boolean;
302
+ default?: string;
303
+ path?: string;
304
+ environment?: string;
305
+ projectId?: string;
306
+ }, {
307
+ provider?: "infisical";
308
+ key?: string;
309
+ optional?: boolean;
310
+ default?: string;
311
+ path?: string;
312
+ environment?: string;
313
+ projectId?: string;
314
+ }>]>]>>;
315
+ clientId: z.ZodOptional<z.ZodString>;
316
+ clean: z.ZodOptional<z.ZodBoolean>;
317
+ keepalive: z.ZodOptional<z.ZodNumber>;
318
+ connectTimeout: z.ZodOptional<z.ZodNumber>;
319
+ reconnectPeriod: z.ZodOptional<z.ZodNumber>;
320
+ reconnectOnConnackError: z.ZodOptional<z.ZodBoolean>;
321
+ resubscribe: z.ZodOptional<z.ZodBoolean>;
322
+ queueQoSZero: z.ZodOptional<z.ZodBoolean>;
323
+ rejectUnauthorized: z.ZodOptional<z.ZodBoolean>;
324
+ properties: z.ZodOptional<z.ZodObject<{
325
+ sessionExpiryInterval: z.ZodOptional<z.ZodNumber>;
326
+ receiveMaximum: z.ZodOptional<z.ZodNumber>;
327
+ maximumPacketSize: z.ZodOptional<z.ZodNumber>;
328
+ topicAliasMaximum: z.ZodOptional<z.ZodNumber>;
329
+ requestResponseInformation: z.ZodOptional<z.ZodBoolean>;
330
+ requestProblemInformation: z.ZodOptional<z.ZodBoolean>;
331
+ userProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
332
+ }, "strict", z.ZodTypeAny, {
333
+ sessionExpiryInterval?: number;
334
+ receiveMaximum?: number;
335
+ maximumPacketSize?: number;
336
+ topicAliasMaximum?: number;
337
+ requestResponseInformation?: boolean;
338
+ requestProblemInformation?: boolean;
339
+ userProperties?: Record<string, string>;
340
+ }, {
341
+ sessionExpiryInterval?: number;
342
+ receiveMaximum?: number;
343
+ maximumPacketSize?: number;
344
+ topicAliasMaximum?: number;
345
+ requestResponseInformation?: boolean;
346
+ requestProblemInformation?: boolean;
347
+ userProperties?: Record<string, string>;
348
+ }>>;
349
+ ca: z.ZodOptional<z.ZodString>;
350
+ cert: z.ZodOptional<z.ZodString>;
351
+ key: z.ZodOptional<z.ZodString>;
352
+ servername: z.ZodOptional<z.ZodString>;
353
+ }, "strict", z.ZodTypeAny, {
354
+ key?: string;
355
+ hosts?: (string | {
356
+ provider?: "inline";
357
+ value?: string;
358
+ } | {
359
+ provider?: "external";
360
+ key?: string;
361
+ optional?: boolean;
362
+ default?: string;
363
+ } | {
364
+ provider?: "system";
365
+ optional?: boolean;
366
+ default?: string;
367
+ family?: "IPv4" | "IPv6";
368
+ interfaceName?: string;
369
+ })[];
370
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
371
+ servers?: {
372
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
373
+ port?: number;
374
+ host?: string | {
375
+ provider?: "inline";
376
+ value?: string;
377
+ } | {
378
+ provider?: "external";
379
+ key?: string;
380
+ optional?: boolean;
381
+ default?: string;
382
+ } | {
383
+ provider?: "system";
384
+ optional?: boolean;
385
+ default?: string;
386
+ family?: "IPv4" | "IPv6";
387
+ interfaceName?: string;
388
+ };
389
+ }[];
390
+ port?: number;
391
+ properties?: {
392
+ sessionExpiryInterval?: number;
393
+ receiveMaximum?: number;
394
+ maximumPacketSize?: number;
395
+ topicAliasMaximum?: number;
396
+ requestResponseInformation?: boolean;
397
+ requestProblemInformation?: boolean;
398
+ userProperties?: Record<string, string>;
399
+ };
400
+ host?: string | {
401
+ provider?: "inline";
402
+ value?: string;
403
+ } | {
404
+ provider?: "external";
405
+ key?: string;
406
+ optional?: boolean;
407
+ default?: string;
408
+ } | {
409
+ provider?: "system";
410
+ optional?: boolean;
411
+ default?: string;
412
+ family?: "IPv4" | "IPv6";
413
+ interfaceName?: string;
414
+ };
415
+ username?: string;
416
+ password?: string | {
417
+ provider?: "env";
418
+ key?: string;
419
+ optional?: boolean;
420
+ default?: string;
421
+ } | {
422
+ provider?: "infisical";
423
+ key?: string;
424
+ optional?: boolean;
425
+ default?: string;
426
+ path?: string;
427
+ environment?: string;
428
+ projectId?: string;
429
+ };
430
+ clientId?: string;
431
+ clean?: boolean;
432
+ keepalive?: number;
433
+ connectTimeout?: number;
434
+ reconnectPeriod?: number;
435
+ reconnectOnConnackError?: boolean;
436
+ resubscribe?: boolean;
437
+ queueQoSZero?: boolean;
438
+ rejectUnauthorized?: boolean;
439
+ ca?: string;
440
+ cert?: string;
441
+ servername?: string;
442
+ }, {
443
+ key?: string;
444
+ hosts?: (string | {
445
+ provider?: "inline";
446
+ value?: string;
447
+ } | {
448
+ provider?: "external";
449
+ key?: string;
450
+ optional?: boolean;
451
+ default?: string;
452
+ } | {
453
+ provider?: "system";
454
+ optional?: boolean;
455
+ default?: string;
456
+ family?: "IPv4" | "IPv6";
457
+ interfaceName?: string;
458
+ })[];
459
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
460
+ servers?: {
461
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
462
+ port?: number;
463
+ host?: string | {
464
+ provider?: "inline";
465
+ value?: string;
466
+ } | {
467
+ provider?: "external";
468
+ key?: string;
469
+ optional?: boolean;
470
+ default?: string;
471
+ } | {
472
+ provider?: "system";
473
+ optional?: boolean;
474
+ default?: string;
475
+ family?: "IPv4" | "IPv6";
476
+ interfaceName?: string;
477
+ };
478
+ }[];
479
+ port?: number;
480
+ properties?: {
481
+ sessionExpiryInterval?: number;
482
+ receiveMaximum?: number;
483
+ maximumPacketSize?: number;
484
+ topicAliasMaximum?: number;
485
+ requestResponseInformation?: boolean;
486
+ requestProblemInformation?: boolean;
487
+ userProperties?: Record<string, string>;
488
+ };
489
+ host?: string | {
490
+ provider?: "inline";
491
+ value?: string;
492
+ } | {
493
+ provider?: "external";
494
+ key?: string;
495
+ optional?: boolean;
496
+ default?: string;
497
+ } | {
498
+ provider?: "system";
499
+ optional?: boolean;
500
+ default?: string;
501
+ family?: "IPv4" | "IPv6";
502
+ interfaceName?: string;
503
+ };
504
+ username?: string;
505
+ password?: string | {
506
+ provider?: "env";
507
+ key?: string;
508
+ optional?: boolean;
509
+ default?: string;
510
+ } | {
511
+ provider?: "infisical";
512
+ key?: string;
513
+ optional?: boolean;
514
+ default?: string;
515
+ path?: string;
516
+ environment?: string;
517
+ projectId?: string;
518
+ };
519
+ clientId?: string;
520
+ clean?: boolean;
521
+ keepalive?: number;
522
+ connectTimeout?: number;
523
+ reconnectPeriod?: number;
524
+ reconnectOnConnackError?: boolean;
525
+ resubscribe?: boolean;
526
+ queueQoSZero?: boolean;
527
+ rejectUnauthorized?: boolean;
528
+ ca?: string;
529
+ cert?: string;
530
+ servername?: string;
531
+ }>, {
532
+ key?: string;
533
+ hosts?: (string | {
534
+ provider?: "inline";
535
+ value?: string;
536
+ } | {
537
+ provider?: "external";
538
+ key?: string;
539
+ optional?: boolean;
540
+ default?: string;
541
+ } | {
542
+ provider?: "system";
543
+ optional?: boolean;
544
+ default?: string;
545
+ family?: "IPv4" | "IPv6";
546
+ interfaceName?: string;
547
+ })[];
548
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
549
+ servers?: {
550
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
551
+ port?: number;
552
+ host?: string | {
553
+ provider?: "inline";
554
+ value?: string;
555
+ } | {
556
+ provider?: "external";
557
+ key?: string;
558
+ optional?: boolean;
559
+ default?: string;
560
+ } | {
561
+ provider?: "system";
562
+ optional?: boolean;
563
+ default?: string;
564
+ family?: "IPv4" | "IPv6";
565
+ interfaceName?: string;
566
+ };
567
+ }[];
568
+ port?: number;
569
+ properties?: {
570
+ sessionExpiryInterval?: number;
571
+ receiveMaximum?: number;
572
+ maximumPacketSize?: number;
573
+ topicAliasMaximum?: number;
574
+ requestResponseInformation?: boolean;
575
+ requestProblemInformation?: boolean;
576
+ userProperties?: Record<string, string>;
577
+ };
578
+ host?: string | {
579
+ provider?: "inline";
580
+ value?: string;
581
+ } | {
582
+ provider?: "external";
583
+ key?: string;
584
+ optional?: boolean;
585
+ default?: string;
586
+ } | {
587
+ provider?: "system";
588
+ optional?: boolean;
589
+ default?: string;
590
+ family?: "IPv4" | "IPv6";
591
+ interfaceName?: string;
592
+ };
593
+ username?: string;
594
+ password?: string | {
595
+ provider?: "env";
596
+ key?: string;
597
+ optional?: boolean;
598
+ default?: string;
599
+ } | {
600
+ provider?: "infisical";
601
+ key?: string;
602
+ optional?: boolean;
603
+ default?: string;
604
+ path?: string;
605
+ environment?: string;
606
+ projectId?: string;
607
+ };
608
+ clientId?: string;
609
+ clean?: boolean;
610
+ keepalive?: number;
611
+ connectTimeout?: number;
612
+ reconnectPeriod?: number;
613
+ reconnectOnConnackError?: boolean;
614
+ resubscribe?: boolean;
615
+ queueQoSZero?: boolean;
616
+ rejectUnauthorized?: boolean;
617
+ ca?: string;
618
+ cert?: string;
619
+ servername?: string;
620
+ }, {
621
+ key?: string;
622
+ hosts?: (string | {
623
+ provider?: "inline";
624
+ value?: string;
625
+ } | {
626
+ provider?: "external";
627
+ key?: string;
628
+ optional?: boolean;
629
+ default?: string;
630
+ } | {
631
+ provider?: "system";
632
+ optional?: boolean;
633
+ default?: string;
634
+ family?: "IPv4" | "IPv6";
635
+ interfaceName?: string;
636
+ })[];
637
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
638
+ servers?: {
639
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
640
+ port?: number;
641
+ host?: string | {
642
+ provider?: "inline";
643
+ value?: string;
644
+ } | {
645
+ provider?: "external";
646
+ key?: string;
647
+ optional?: boolean;
648
+ default?: string;
649
+ } | {
650
+ provider?: "system";
651
+ optional?: boolean;
652
+ default?: string;
653
+ family?: "IPv4" | "IPv6";
654
+ interfaceName?: string;
655
+ };
656
+ }[];
657
+ port?: number;
658
+ properties?: {
659
+ sessionExpiryInterval?: number;
660
+ receiveMaximum?: number;
661
+ maximumPacketSize?: number;
662
+ topicAliasMaximum?: number;
663
+ requestResponseInformation?: boolean;
664
+ requestProblemInformation?: boolean;
665
+ userProperties?: Record<string, string>;
666
+ };
667
+ host?: string | {
668
+ provider?: "inline";
669
+ value?: string;
670
+ } | {
671
+ provider?: "external";
672
+ key?: string;
673
+ optional?: boolean;
674
+ default?: string;
675
+ } | {
676
+ provider?: "system";
677
+ optional?: boolean;
678
+ default?: string;
679
+ family?: "IPv4" | "IPv6";
680
+ interfaceName?: string;
681
+ };
682
+ username?: string;
683
+ password?: string | {
684
+ provider?: "env";
685
+ key?: string;
686
+ optional?: boolean;
687
+ default?: string;
688
+ } | {
689
+ provider?: "infisical";
690
+ key?: string;
691
+ optional?: boolean;
692
+ default?: string;
693
+ path?: string;
694
+ environment?: string;
695
+ projectId?: string;
696
+ };
697
+ clientId?: string;
698
+ clean?: boolean;
699
+ keepalive?: number;
700
+ connectTimeout?: number;
701
+ reconnectPeriod?: number;
702
+ reconnectOnConnackError?: boolean;
703
+ resubscribe?: boolean;
704
+ queueQoSZero?: boolean;
705
+ rejectUnauthorized?: boolean;
706
+ ca?: string;
707
+ cert?: string;
708
+ servername?: string;
709
+ }>>;
710
+ output: z.ZodOptional<z.ZodEffects<z.ZodObject<{
711
+ host: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
712
+ provider: z.ZodLiteral<"inline">;
713
+ value: z.ZodString;
714
+ }, "strict", z.ZodTypeAny, {
715
+ provider?: "inline";
716
+ value?: string;
717
+ }, {
718
+ provider?: "inline";
719
+ value?: string;
720
+ }>, z.ZodObject<{
721
+ provider: z.ZodLiteral<"external">;
722
+ key: z.ZodString;
723
+ optional: z.ZodOptional<z.ZodBoolean>;
724
+ default: z.ZodOptional<z.ZodString>;
725
+ }, "strict", z.ZodTypeAny, {
726
+ provider?: "external";
727
+ key?: string;
728
+ optional?: boolean;
729
+ default?: string;
730
+ }, {
731
+ provider?: "external";
732
+ key?: string;
733
+ optional?: boolean;
734
+ default?: string;
735
+ }>, z.ZodObject<{
736
+ provider: z.ZodLiteral<"system">;
737
+ family: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"IPv4">, z.ZodLiteral<"IPv6">]>>;
738
+ interfaceName: z.ZodOptional<z.ZodString>;
739
+ optional: z.ZodOptional<z.ZodBoolean>;
740
+ default: z.ZodOptional<z.ZodString>;
741
+ }, "strict", z.ZodTypeAny, {
742
+ provider?: "system";
743
+ optional?: boolean;
744
+ default?: string;
745
+ family?: "IPv4" | "IPv6";
746
+ interfaceName?: string;
747
+ }, {
748
+ provider?: "system";
749
+ optional?: boolean;
750
+ default?: string;
751
+ family?: "IPv4" | "IPv6";
752
+ interfaceName?: string;
753
+ }>]>]>>;
754
+ hosts: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
755
+ provider: z.ZodLiteral<"inline">;
756
+ value: z.ZodString;
757
+ }, "strict", z.ZodTypeAny, {
758
+ provider?: "inline";
759
+ value?: string;
760
+ }, {
761
+ provider?: "inline";
762
+ value?: string;
763
+ }>, z.ZodObject<{
764
+ provider: z.ZodLiteral<"external">;
765
+ key: z.ZodString;
766
+ optional: z.ZodOptional<z.ZodBoolean>;
767
+ default: z.ZodOptional<z.ZodString>;
768
+ }, "strict", z.ZodTypeAny, {
769
+ provider?: "external";
770
+ key?: string;
771
+ optional?: boolean;
772
+ default?: string;
773
+ }, {
774
+ provider?: "external";
775
+ key?: string;
776
+ optional?: boolean;
777
+ default?: string;
778
+ }>, z.ZodObject<{
779
+ provider: z.ZodLiteral<"system">;
780
+ family: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"IPv4">, z.ZodLiteral<"IPv6">]>>;
781
+ interfaceName: z.ZodOptional<z.ZodString>;
782
+ optional: z.ZodOptional<z.ZodBoolean>;
783
+ default: z.ZodOptional<z.ZodString>;
784
+ }, "strict", z.ZodTypeAny, {
785
+ provider?: "system";
786
+ optional?: boolean;
787
+ default?: string;
788
+ family?: "IPv4" | "IPv6";
789
+ interfaceName?: string;
790
+ }, {
791
+ provider?: "system";
792
+ optional?: boolean;
793
+ default?: string;
794
+ family?: "IPv4" | "IPv6";
795
+ interfaceName?: string;
796
+ }>]>]>, "many">>;
797
+ servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
798
+ host: z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
799
+ provider: z.ZodLiteral<"inline">;
800
+ value: z.ZodString;
801
+ }, "strict", z.ZodTypeAny, {
802
+ provider?: "inline";
803
+ value?: string;
804
+ }, {
805
+ provider?: "inline";
806
+ value?: string;
807
+ }>, z.ZodObject<{
808
+ provider: z.ZodLiteral<"external">;
809
+ key: z.ZodString;
810
+ optional: z.ZodOptional<z.ZodBoolean>;
811
+ default: z.ZodOptional<z.ZodString>;
812
+ }, "strict", z.ZodTypeAny, {
813
+ provider?: "external";
814
+ key?: string;
815
+ optional?: boolean;
816
+ default?: string;
817
+ }, {
818
+ provider?: "external";
819
+ key?: string;
820
+ optional?: boolean;
821
+ default?: string;
822
+ }>, z.ZodObject<{
823
+ provider: z.ZodLiteral<"system">;
824
+ family: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"IPv4">, z.ZodLiteral<"IPv6">]>>;
825
+ interfaceName: z.ZodOptional<z.ZodString>;
826
+ optional: z.ZodOptional<z.ZodBoolean>;
827
+ default: z.ZodOptional<z.ZodString>;
828
+ }, "strict", z.ZodTypeAny, {
829
+ provider?: "system";
830
+ optional?: boolean;
831
+ default?: string;
832
+ family?: "IPv4" | "IPv6";
833
+ interfaceName?: string;
834
+ }, {
835
+ provider?: "system";
836
+ optional?: boolean;
837
+ default?: string;
838
+ family?: "IPv4" | "IPv6";
839
+ interfaceName?: string;
840
+ }>]>]>;
841
+ port: z.ZodOptional<z.ZodNumber>;
842
+ protocol: z.ZodOptional<z.ZodEnum<["mqtt", "mqtts", "ws", "wss", "tcp", "ssl"]>>;
843
+ }, "strict", z.ZodTypeAny, {
844
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
845
+ port?: number;
846
+ host?: string | {
847
+ provider?: "inline";
848
+ value?: string;
849
+ } | {
850
+ provider?: "external";
851
+ key?: string;
852
+ optional?: boolean;
853
+ default?: string;
854
+ } | {
855
+ provider?: "system";
856
+ optional?: boolean;
857
+ default?: string;
858
+ family?: "IPv4" | "IPv6";
859
+ interfaceName?: string;
860
+ };
861
+ }, {
862
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
863
+ port?: number;
864
+ host?: string | {
865
+ provider?: "inline";
866
+ value?: string;
867
+ } | {
868
+ provider?: "external";
869
+ key?: string;
870
+ optional?: boolean;
871
+ default?: string;
872
+ } | {
873
+ provider?: "system";
874
+ optional?: boolean;
875
+ default?: string;
876
+ family?: "IPv4" | "IPv6";
877
+ interfaceName?: string;
878
+ };
879
+ }>, "many">>;
880
+ port: z.ZodOptional<z.ZodNumber>;
881
+ protocol: z.ZodOptional<z.ZodEnum<["mqtt", "mqtts", "ws", "wss", "tcp", "ssl"]>>;
146
882
  username: z.ZodOptional<z.ZodString>;
147
883
  password: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
148
884
  provider: z.ZodLiteral<"env">;
@@ -185,7 +921,179 @@ export declare const unsCoreSchema: z.ZodObject<{
185
921
  projectId?: string;
186
922
  }>]>]>>;
187
923
  clientId: z.ZodOptional<z.ZodString>;
924
+ clean: z.ZodOptional<z.ZodBoolean>;
925
+ keepalive: z.ZodOptional<z.ZodNumber>;
926
+ connectTimeout: z.ZodOptional<z.ZodNumber>;
927
+ reconnectPeriod: z.ZodOptional<z.ZodNumber>;
928
+ reconnectOnConnackError: z.ZodOptional<z.ZodBoolean>;
929
+ resubscribe: z.ZodOptional<z.ZodBoolean>;
930
+ queueQoSZero: z.ZodOptional<z.ZodBoolean>;
931
+ rejectUnauthorized: z.ZodOptional<z.ZodBoolean>;
932
+ properties: z.ZodOptional<z.ZodObject<{
933
+ sessionExpiryInterval: z.ZodOptional<z.ZodNumber>;
934
+ receiveMaximum: z.ZodOptional<z.ZodNumber>;
935
+ maximumPacketSize: z.ZodOptional<z.ZodNumber>;
936
+ topicAliasMaximum: z.ZodOptional<z.ZodNumber>;
937
+ requestResponseInformation: z.ZodOptional<z.ZodBoolean>;
938
+ requestProblemInformation: z.ZodOptional<z.ZodBoolean>;
939
+ userProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
940
+ }, "strict", z.ZodTypeAny, {
941
+ sessionExpiryInterval?: number;
942
+ receiveMaximum?: number;
943
+ maximumPacketSize?: number;
944
+ topicAliasMaximum?: number;
945
+ requestResponseInformation?: boolean;
946
+ requestProblemInformation?: boolean;
947
+ userProperties?: Record<string, string>;
948
+ }, {
949
+ sessionExpiryInterval?: number;
950
+ receiveMaximum?: number;
951
+ maximumPacketSize?: number;
952
+ topicAliasMaximum?: number;
953
+ requestResponseInformation?: boolean;
954
+ requestProblemInformation?: boolean;
955
+ userProperties?: Record<string, string>;
956
+ }>>;
957
+ ca: z.ZodOptional<z.ZodString>;
958
+ cert: z.ZodOptional<z.ZodString>;
959
+ key: z.ZodOptional<z.ZodString>;
960
+ servername: z.ZodOptional<z.ZodString>;
188
961
  }, "strict", z.ZodTypeAny, {
962
+ key?: string;
963
+ hosts?: (string | {
964
+ provider?: "inline";
965
+ value?: string;
966
+ } | {
967
+ provider?: "external";
968
+ key?: string;
969
+ optional?: boolean;
970
+ default?: string;
971
+ } | {
972
+ provider?: "system";
973
+ optional?: boolean;
974
+ default?: string;
975
+ family?: "IPv4" | "IPv6";
976
+ interfaceName?: string;
977
+ })[];
978
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
979
+ servers?: {
980
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
981
+ port?: number;
982
+ host?: string | {
983
+ provider?: "inline";
984
+ value?: string;
985
+ } | {
986
+ provider?: "external";
987
+ key?: string;
988
+ optional?: boolean;
989
+ default?: string;
990
+ } | {
991
+ provider?: "system";
992
+ optional?: boolean;
993
+ default?: string;
994
+ family?: "IPv4" | "IPv6";
995
+ interfaceName?: string;
996
+ };
997
+ }[];
998
+ port?: number;
999
+ properties?: {
1000
+ sessionExpiryInterval?: number;
1001
+ receiveMaximum?: number;
1002
+ maximumPacketSize?: number;
1003
+ topicAliasMaximum?: number;
1004
+ requestResponseInformation?: boolean;
1005
+ requestProblemInformation?: boolean;
1006
+ userProperties?: Record<string, string>;
1007
+ };
1008
+ host?: string | {
1009
+ provider?: "inline";
1010
+ value?: string;
1011
+ } | {
1012
+ provider?: "external";
1013
+ key?: string;
1014
+ optional?: boolean;
1015
+ default?: string;
1016
+ } | {
1017
+ provider?: "system";
1018
+ optional?: boolean;
1019
+ default?: string;
1020
+ family?: "IPv4" | "IPv6";
1021
+ interfaceName?: string;
1022
+ };
1023
+ username?: string;
1024
+ password?: string | {
1025
+ provider?: "env";
1026
+ key?: string;
1027
+ optional?: boolean;
1028
+ default?: string;
1029
+ } | {
1030
+ provider?: "infisical";
1031
+ key?: string;
1032
+ optional?: boolean;
1033
+ default?: string;
1034
+ path?: string;
1035
+ environment?: string;
1036
+ projectId?: string;
1037
+ };
1038
+ clientId?: string;
1039
+ clean?: boolean;
1040
+ keepalive?: number;
1041
+ connectTimeout?: number;
1042
+ reconnectPeriod?: number;
1043
+ reconnectOnConnackError?: boolean;
1044
+ resubscribe?: boolean;
1045
+ queueQoSZero?: boolean;
1046
+ rejectUnauthorized?: boolean;
1047
+ ca?: string;
1048
+ cert?: string;
1049
+ servername?: string;
1050
+ }, {
1051
+ key?: string;
1052
+ hosts?: (string | {
1053
+ provider?: "inline";
1054
+ value?: string;
1055
+ } | {
1056
+ provider?: "external";
1057
+ key?: string;
1058
+ optional?: boolean;
1059
+ default?: string;
1060
+ } | {
1061
+ provider?: "system";
1062
+ optional?: boolean;
1063
+ default?: string;
1064
+ family?: "IPv4" | "IPv6";
1065
+ interfaceName?: string;
1066
+ })[];
1067
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
1068
+ servers?: {
1069
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
1070
+ port?: number;
1071
+ host?: string | {
1072
+ provider?: "inline";
1073
+ value?: string;
1074
+ } | {
1075
+ provider?: "external";
1076
+ key?: string;
1077
+ optional?: boolean;
1078
+ default?: string;
1079
+ } | {
1080
+ provider?: "system";
1081
+ optional?: boolean;
1082
+ default?: string;
1083
+ family?: "IPv4" | "IPv6";
1084
+ interfaceName?: string;
1085
+ };
1086
+ }[];
1087
+ port?: number;
1088
+ properties?: {
1089
+ sessionExpiryInterval?: number;
1090
+ receiveMaximum?: number;
1091
+ maximumPacketSize?: number;
1092
+ topicAliasMaximum?: number;
1093
+ requestResponseInformation?: boolean;
1094
+ requestProblemInformation?: boolean;
1095
+ userProperties?: Record<string, string>;
1096
+ };
189
1097
  host?: string | {
190
1098
  provider?: "inline";
191
1099
  value?: string;
@@ -216,8 +1124,154 @@ export declare const unsCoreSchema: z.ZodObject<{
216
1124
  environment?: string;
217
1125
  projectId?: string;
218
1126
  };
219
- clientId?: string;
220
- }, {
1127
+ clientId?: string;
1128
+ clean?: boolean;
1129
+ keepalive?: number;
1130
+ connectTimeout?: number;
1131
+ reconnectPeriod?: number;
1132
+ reconnectOnConnackError?: boolean;
1133
+ resubscribe?: boolean;
1134
+ queueQoSZero?: boolean;
1135
+ rejectUnauthorized?: boolean;
1136
+ ca?: string;
1137
+ cert?: string;
1138
+ servername?: string;
1139
+ }>, {
1140
+ key?: string;
1141
+ hosts?: (string | {
1142
+ provider?: "inline";
1143
+ value?: string;
1144
+ } | {
1145
+ provider?: "external";
1146
+ key?: string;
1147
+ optional?: boolean;
1148
+ default?: string;
1149
+ } | {
1150
+ provider?: "system";
1151
+ optional?: boolean;
1152
+ default?: string;
1153
+ family?: "IPv4" | "IPv6";
1154
+ interfaceName?: string;
1155
+ })[];
1156
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
1157
+ servers?: {
1158
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
1159
+ port?: number;
1160
+ host?: string | {
1161
+ provider?: "inline";
1162
+ value?: string;
1163
+ } | {
1164
+ provider?: "external";
1165
+ key?: string;
1166
+ optional?: boolean;
1167
+ default?: string;
1168
+ } | {
1169
+ provider?: "system";
1170
+ optional?: boolean;
1171
+ default?: string;
1172
+ family?: "IPv4" | "IPv6";
1173
+ interfaceName?: string;
1174
+ };
1175
+ }[];
1176
+ port?: number;
1177
+ properties?: {
1178
+ sessionExpiryInterval?: number;
1179
+ receiveMaximum?: number;
1180
+ maximumPacketSize?: number;
1181
+ topicAliasMaximum?: number;
1182
+ requestResponseInformation?: boolean;
1183
+ requestProblemInformation?: boolean;
1184
+ userProperties?: Record<string, string>;
1185
+ };
1186
+ host?: string | {
1187
+ provider?: "inline";
1188
+ value?: string;
1189
+ } | {
1190
+ provider?: "external";
1191
+ key?: string;
1192
+ optional?: boolean;
1193
+ default?: string;
1194
+ } | {
1195
+ provider?: "system";
1196
+ optional?: boolean;
1197
+ default?: string;
1198
+ family?: "IPv4" | "IPv6";
1199
+ interfaceName?: string;
1200
+ };
1201
+ username?: string;
1202
+ password?: string | {
1203
+ provider?: "env";
1204
+ key?: string;
1205
+ optional?: boolean;
1206
+ default?: string;
1207
+ } | {
1208
+ provider?: "infisical";
1209
+ key?: string;
1210
+ optional?: boolean;
1211
+ default?: string;
1212
+ path?: string;
1213
+ environment?: string;
1214
+ projectId?: string;
1215
+ };
1216
+ clientId?: string;
1217
+ clean?: boolean;
1218
+ keepalive?: number;
1219
+ connectTimeout?: number;
1220
+ reconnectPeriod?: number;
1221
+ reconnectOnConnackError?: boolean;
1222
+ resubscribe?: boolean;
1223
+ queueQoSZero?: boolean;
1224
+ rejectUnauthorized?: boolean;
1225
+ ca?: string;
1226
+ cert?: string;
1227
+ servername?: string;
1228
+ }, {
1229
+ key?: string;
1230
+ hosts?: (string | {
1231
+ provider?: "inline";
1232
+ value?: string;
1233
+ } | {
1234
+ provider?: "external";
1235
+ key?: string;
1236
+ optional?: boolean;
1237
+ default?: string;
1238
+ } | {
1239
+ provider?: "system";
1240
+ optional?: boolean;
1241
+ default?: string;
1242
+ family?: "IPv4" | "IPv6";
1243
+ interfaceName?: string;
1244
+ })[];
1245
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
1246
+ servers?: {
1247
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
1248
+ port?: number;
1249
+ host?: string | {
1250
+ provider?: "inline";
1251
+ value?: string;
1252
+ } | {
1253
+ provider?: "external";
1254
+ key?: string;
1255
+ optional?: boolean;
1256
+ default?: string;
1257
+ } | {
1258
+ provider?: "system";
1259
+ optional?: boolean;
1260
+ default?: string;
1261
+ family?: "IPv4" | "IPv6";
1262
+ interfaceName?: string;
1263
+ };
1264
+ }[];
1265
+ port?: number;
1266
+ properties?: {
1267
+ sessionExpiryInterval?: number;
1268
+ receiveMaximum?: number;
1269
+ maximumPacketSize?: number;
1270
+ topicAliasMaximum?: number;
1271
+ requestResponseInformation?: boolean;
1272
+ requestProblemInformation?: boolean;
1273
+ userProperties?: Record<string, string>;
1274
+ };
221
1275
  host?: string | {
222
1276
  provider?: "inline";
223
1277
  value?: string;
@@ -249,9 +1303,20 @@ export declare const unsCoreSchema: z.ZodObject<{
249
1303
  projectId?: string;
250
1304
  };
251
1305
  clientId?: string;
1306
+ clean?: boolean;
1307
+ keepalive?: number;
1308
+ connectTimeout?: number;
1309
+ reconnectPeriod?: number;
1310
+ reconnectOnConnackError?: boolean;
1311
+ resubscribe?: boolean;
1312
+ queueQoSZero?: boolean;
1313
+ rejectUnauthorized?: boolean;
1314
+ ca?: string;
1315
+ cert?: string;
1316
+ servername?: string;
252
1317
  }>>;
253
- output: z.ZodOptional<z.ZodObject<{
254
- host: z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
1318
+ infra: z.ZodEffects<z.ZodObject<{
1319
+ host: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
255
1320
  provider: z.ZodLiteral<"inline">;
256
1321
  value: z.ZodString;
257
1322
  }, "strict", z.ZodTypeAny, {
@@ -293,7 +1358,135 @@ export declare const unsCoreSchema: z.ZodObject<{
293
1358
  default?: string;
294
1359
  family?: "IPv4" | "IPv6";
295
1360
  interfaceName?: string;
296
- }>]>]>;
1361
+ }>]>]>>;
1362
+ hosts: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
1363
+ provider: z.ZodLiteral<"inline">;
1364
+ value: z.ZodString;
1365
+ }, "strict", z.ZodTypeAny, {
1366
+ provider?: "inline";
1367
+ value?: string;
1368
+ }, {
1369
+ provider?: "inline";
1370
+ value?: string;
1371
+ }>, z.ZodObject<{
1372
+ provider: z.ZodLiteral<"external">;
1373
+ key: z.ZodString;
1374
+ optional: z.ZodOptional<z.ZodBoolean>;
1375
+ default: z.ZodOptional<z.ZodString>;
1376
+ }, "strict", z.ZodTypeAny, {
1377
+ provider?: "external";
1378
+ key?: string;
1379
+ optional?: boolean;
1380
+ default?: string;
1381
+ }, {
1382
+ provider?: "external";
1383
+ key?: string;
1384
+ optional?: boolean;
1385
+ default?: string;
1386
+ }>, z.ZodObject<{
1387
+ provider: z.ZodLiteral<"system">;
1388
+ family: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"IPv4">, z.ZodLiteral<"IPv6">]>>;
1389
+ interfaceName: z.ZodOptional<z.ZodString>;
1390
+ optional: z.ZodOptional<z.ZodBoolean>;
1391
+ default: z.ZodOptional<z.ZodString>;
1392
+ }, "strict", z.ZodTypeAny, {
1393
+ provider?: "system";
1394
+ optional?: boolean;
1395
+ default?: string;
1396
+ family?: "IPv4" | "IPv6";
1397
+ interfaceName?: string;
1398
+ }, {
1399
+ provider?: "system";
1400
+ optional?: boolean;
1401
+ default?: string;
1402
+ family?: "IPv4" | "IPv6";
1403
+ interfaceName?: string;
1404
+ }>]>]>, "many">>;
1405
+ servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1406
+ host: z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
1407
+ provider: z.ZodLiteral<"inline">;
1408
+ value: z.ZodString;
1409
+ }, "strict", z.ZodTypeAny, {
1410
+ provider?: "inline";
1411
+ value?: string;
1412
+ }, {
1413
+ provider?: "inline";
1414
+ value?: string;
1415
+ }>, z.ZodObject<{
1416
+ provider: z.ZodLiteral<"external">;
1417
+ key: z.ZodString;
1418
+ optional: z.ZodOptional<z.ZodBoolean>;
1419
+ default: z.ZodOptional<z.ZodString>;
1420
+ }, "strict", z.ZodTypeAny, {
1421
+ provider?: "external";
1422
+ key?: string;
1423
+ optional?: boolean;
1424
+ default?: string;
1425
+ }, {
1426
+ provider?: "external";
1427
+ key?: string;
1428
+ optional?: boolean;
1429
+ default?: string;
1430
+ }>, z.ZodObject<{
1431
+ provider: z.ZodLiteral<"system">;
1432
+ family: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"IPv4">, z.ZodLiteral<"IPv6">]>>;
1433
+ interfaceName: z.ZodOptional<z.ZodString>;
1434
+ optional: z.ZodOptional<z.ZodBoolean>;
1435
+ default: z.ZodOptional<z.ZodString>;
1436
+ }, "strict", z.ZodTypeAny, {
1437
+ provider?: "system";
1438
+ optional?: boolean;
1439
+ default?: string;
1440
+ family?: "IPv4" | "IPv6";
1441
+ interfaceName?: string;
1442
+ }, {
1443
+ provider?: "system";
1444
+ optional?: boolean;
1445
+ default?: string;
1446
+ family?: "IPv4" | "IPv6";
1447
+ interfaceName?: string;
1448
+ }>]>]>;
1449
+ port: z.ZodOptional<z.ZodNumber>;
1450
+ protocol: z.ZodOptional<z.ZodEnum<["mqtt", "mqtts", "ws", "wss", "tcp", "ssl"]>>;
1451
+ }, "strict", z.ZodTypeAny, {
1452
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
1453
+ port?: number;
1454
+ host?: string | {
1455
+ provider?: "inline";
1456
+ value?: string;
1457
+ } | {
1458
+ provider?: "external";
1459
+ key?: string;
1460
+ optional?: boolean;
1461
+ default?: string;
1462
+ } | {
1463
+ provider?: "system";
1464
+ optional?: boolean;
1465
+ default?: string;
1466
+ family?: "IPv4" | "IPv6";
1467
+ interfaceName?: string;
1468
+ };
1469
+ }, {
1470
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
1471
+ port?: number;
1472
+ host?: string | {
1473
+ provider?: "inline";
1474
+ value?: string;
1475
+ } | {
1476
+ provider?: "external";
1477
+ key?: string;
1478
+ optional?: boolean;
1479
+ default?: string;
1480
+ } | {
1481
+ provider?: "system";
1482
+ optional?: boolean;
1483
+ default?: string;
1484
+ family?: "IPv4" | "IPv6";
1485
+ interfaceName?: string;
1486
+ };
1487
+ }>, "many">>;
1488
+ port: z.ZodOptional<z.ZodNumber>;
1489
+ protocol: z.ZodOptional<z.ZodEnum<["mqtt", "mqtts", "ws", "wss", "tcp", "ssl"]>>;
297
1490
  username: z.ZodOptional<z.ZodString>;
298
1491
  password: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
299
1492
  provider: z.ZodLiteral<"env">;
@@ -336,8 +1529,46 @@ export declare const unsCoreSchema: z.ZodObject<{
336
1529
  projectId?: string;
337
1530
  }>]>]>>;
338
1531
  clientId: z.ZodOptional<z.ZodString>;
1532
+ clean: z.ZodOptional<z.ZodBoolean>;
1533
+ keepalive: z.ZodOptional<z.ZodNumber>;
1534
+ connectTimeout: z.ZodOptional<z.ZodNumber>;
1535
+ reconnectPeriod: z.ZodOptional<z.ZodNumber>;
1536
+ reconnectOnConnackError: z.ZodOptional<z.ZodBoolean>;
1537
+ resubscribe: z.ZodOptional<z.ZodBoolean>;
1538
+ queueQoSZero: z.ZodOptional<z.ZodBoolean>;
1539
+ rejectUnauthorized: z.ZodOptional<z.ZodBoolean>;
1540
+ properties: z.ZodOptional<z.ZodObject<{
1541
+ sessionExpiryInterval: z.ZodOptional<z.ZodNumber>;
1542
+ receiveMaximum: z.ZodOptional<z.ZodNumber>;
1543
+ maximumPacketSize: z.ZodOptional<z.ZodNumber>;
1544
+ topicAliasMaximum: z.ZodOptional<z.ZodNumber>;
1545
+ requestResponseInformation: z.ZodOptional<z.ZodBoolean>;
1546
+ requestProblemInformation: z.ZodOptional<z.ZodBoolean>;
1547
+ userProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1548
+ }, "strict", z.ZodTypeAny, {
1549
+ sessionExpiryInterval?: number;
1550
+ receiveMaximum?: number;
1551
+ maximumPacketSize?: number;
1552
+ topicAliasMaximum?: number;
1553
+ requestResponseInformation?: boolean;
1554
+ requestProblemInformation?: boolean;
1555
+ userProperties?: Record<string, string>;
1556
+ }, {
1557
+ sessionExpiryInterval?: number;
1558
+ receiveMaximum?: number;
1559
+ maximumPacketSize?: number;
1560
+ topicAliasMaximum?: number;
1561
+ requestResponseInformation?: boolean;
1562
+ requestProblemInformation?: boolean;
1563
+ userProperties?: Record<string, string>;
1564
+ }>>;
1565
+ ca: z.ZodOptional<z.ZodString>;
1566
+ cert: z.ZodOptional<z.ZodString>;
1567
+ key: z.ZodOptional<z.ZodString>;
1568
+ servername: z.ZodOptional<z.ZodString>;
339
1569
  }, "strict", z.ZodTypeAny, {
340
- host?: string | {
1570
+ key?: string;
1571
+ hosts?: (string | {
341
1572
  provider?: "inline";
342
1573
  value?: string;
343
1574
  } | {
@@ -351,24 +1582,37 @@ export declare const unsCoreSchema: z.ZodObject<{
351
1582
  default?: string;
352
1583
  family?: "IPv4" | "IPv6";
353
1584
  interfaceName?: string;
1585
+ })[];
1586
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
1587
+ servers?: {
1588
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
1589
+ port?: number;
1590
+ host?: string | {
1591
+ provider?: "inline";
1592
+ value?: string;
1593
+ } | {
1594
+ provider?: "external";
1595
+ key?: string;
1596
+ optional?: boolean;
1597
+ default?: string;
1598
+ } | {
1599
+ provider?: "system";
1600
+ optional?: boolean;
1601
+ default?: string;
1602
+ family?: "IPv4" | "IPv6";
1603
+ interfaceName?: string;
1604
+ };
1605
+ }[];
1606
+ port?: number;
1607
+ properties?: {
1608
+ sessionExpiryInterval?: number;
1609
+ receiveMaximum?: number;
1610
+ maximumPacketSize?: number;
1611
+ topicAliasMaximum?: number;
1612
+ requestResponseInformation?: boolean;
1613
+ requestProblemInformation?: boolean;
1614
+ userProperties?: Record<string, string>;
354
1615
  };
355
- username?: string;
356
- password?: string | {
357
- provider?: "env";
358
- key?: string;
359
- optional?: boolean;
360
- default?: string;
361
- } | {
362
- provider?: "infisical";
363
- key?: string;
364
- optional?: boolean;
365
- default?: string;
366
- path?: string;
367
- environment?: string;
368
- projectId?: string;
369
- };
370
- clientId?: string;
371
- }, {
372
1616
  host?: string | {
373
1617
  provider?: "inline";
374
1618
  value?: string;
@@ -400,76 +1644,86 @@ export declare const unsCoreSchema: z.ZodObject<{
400
1644
  projectId?: string;
401
1645
  };
402
1646
  clientId?: string;
403
- }>>;
404
- infra: z.ZodObject<{
405
- host: z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
406
- provider: z.ZodLiteral<"inline">;
407
- value: z.ZodString;
408
- }, "strict", z.ZodTypeAny, {
409
- provider?: "inline";
410
- value?: string;
411
- }, {
1647
+ clean?: boolean;
1648
+ keepalive?: number;
1649
+ connectTimeout?: number;
1650
+ reconnectPeriod?: number;
1651
+ reconnectOnConnackError?: boolean;
1652
+ resubscribe?: boolean;
1653
+ queueQoSZero?: boolean;
1654
+ rejectUnauthorized?: boolean;
1655
+ ca?: string;
1656
+ cert?: string;
1657
+ servername?: string;
1658
+ }, {
1659
+ key?: string;
1660
+ hosts?: (string | {
412
1661
  provider?: "inline";
413
1662
  value?: string;
414
- }>, z.ZodObject<{
415
- provider: z.ZodLiteral<"external">;
416
- key: z.ZodString;
417
- optional: z.ZodOptional<z.ZodBoolean>;
418
- default: z.ZodOptional<z.ZodString>;
419
- }, "strict", z.ZodTypeAny, {
420
- provider?: "external";
421
- key?: string;
422
- optional?: boolean;
423
- default?: string;
424
- }, {
1663
+ } | {
425
1664
  provider?: "external";
426
1665
  key?: string;
427
1666
  optional?: boolean;
428
1667
  default?: string;
429
- }>, z.ZodObject<{
430
- provider: z.ZodLiteral<"system">;
431
- family: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"IPv4">, z.ZodLiteral<"IPv6">]>>;
432
- interfaceName: z.ZodOptional<z.ZodString>;
433
- optional: z.ZodOptional<z.ZodBoolean>;
434
- default: z.ZodOptional<z.ZodString>;
435
- }, "strict", z.ZodTypeAny, {
1668
+ } | {
436
1669
  provider?: "system";
437
1670
  optional?: boolean;
438
1671
  default?: string;
439
1672
  family?: "IPv4" | "IPv6";
440
1673
  interfaceName?: string;
441
- }, {
1674
+ })[];
1675
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
1676
+ servers?: {
1677
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
1678
+ port?: number;
1679
+ host?: string | {
1680
+ provider?: "inline";
1681
+ value?: string;
1682
+ } | {
1683
+ provider?: "external";
1684
+ key?: string;
1685
+ optional?: boolean;
1686
+ default?: string;
1687
+ } | {
1688
+ provider?: "system";
1689
+ optional?: boolean;
1690
+ default?: string;
1691
+ family?: "IPv4" | "IPv6";
1692
+ interfaceName?: string;
1693
+ };
1694
+ }[];
1695
+ port?: number;
1696
+ properties?: {
1697
+ sessionExpiryInterval?: number;
1698
+ receiveMaximum?: number;
1699
+ maximumPacketSize?: number;
1700
+ topicAliasMaximum?: number;
1701
+ requestResponseInformation?: boolean;
1702
+ requestProblemInformation?: boolean;
1703
+ userProperties?: Record<string, string>;
1704
+ };
1705
+ host?: string | {
1706
+ provider?: "inline";
1707
+ value?: string;
1708
+ } | {
1709
+ provider?: "external";
1710
+ key?: string;
1711
+ optional?: boolean;
1712
+ default?: string;
1713
+ } | {
442
1714
  provider?: "system";
443
1715
  optional?: boolean;
444
1716
  default?: string;
445
1717
  family?: "IPv4" | "IPv6";
446
1718
  interfaceName?: string;
447
- }>]>]>;
448
- username: z.ZodOptional<z.ZodString>;
449
- password: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
450
- provider: z.ZodLiteral<"env">;
451
- key: z.ZodString;
452
- optional: z.ZodOptional<z.ZodBoolean>;
453
- default: z.ZodOptional<z.ZodString>;
454
- }, "strict", z.ZodTypeAny, {
455
- provider?: "env";
456
- key?: string;
457
- optional?: boolean;
458
- default?: string;
459
- }, {
1719
+ };
1720
+ username?: string;
1721
+ password?: string | {
460
1722
  provider?: "env";
461
1723
  key?: string;
462
1724
  optional?: boolean;
463
1725
  default?: string;
464
- }>, z.ZodObject<{
465
- provider: z.ZodLiteral<"infisical">;
466
- path: z.ZodString;
467
- key: z.ZodString;
468
- optional: z.ZodOptional<z.ZodBoolean>;
469
- environment: z.ZodOptional<z.ZodString>;
470
- projectId: z.ZodOptional<z.ZodString>;
471
- default: z.ZodOptional<z.ZodString>;
472
- }, "strict", z.ZodTypeAny, {
1726
+ } | {
473
1727
  provider?: "infisical";
474
1728
  key?: string;
475
1729
  optional?: boolean;
@@ -477,17 +1731,66 @@ export declare const unsCoreSchema: z.ZodObject<{
477
1731
  path?: string;
478
1732
  environment?: string;
479
1733
  projectId?: string;
480
- }, {
481
- provider?: "infisical";
1734
+ };
1735
+ clientId?: string;
1736
+ clean?: boolean;
1737
+ keepalive?: number;
1738
+ connectTimeout?: number;
1739
+ reconnectPeriod?: number;
1740
+ reconnectOnConnackError?: boolean;
1741
+ resubscribe?: boolean;
1742
+ queueQoSZero?: boolean;
1743
+ rejectUnauthorized?: boolean;
1744
+ ca?: string;
1745
+ cert?: string;
1746
+ servername?: string;
1747
+ }>, {
1748
+ key?: string;
1749
+ hosts?: (string | {
1750
+ provider?: "inline";
1751
+ value?: string;
1752
+ } | {
1753
+ provider?: "external";
482
1754
  key?: string;
483
1755
  optional?: boolean;
484
1756
  default?: string;
485
- path?: string;
486
- environment?: string;
487
- projectId?: string;
488
- }>]>]>>;
489
- clientId: z.ZodOptional<z.ZodString>;
490
- }, "strict", z.ZodTypeAny, {
1757
+ } | {
1758
+ provider?: "system";
1759
+ optional?: boolean;
1760
+ default?: string;
1761
+ family?: "IPv4" | "IPv6";
1762
+ interfaceName?: string;
1763
+ })[];
1764
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
1765
+ servers?: {
1766
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
1767
+ port?: number;
1768
+ host?: string | {
1769
+ provider?: "inline";
1770
+ value?: string;
1771
+ } | {
1772
+ provider?: "external";
1773
+ key?: string;
1774
+ optional?: boolean;
1775
+ default?: string;
1776
+ } | {
1777
+ provider?: "system";
1778
+ optional?: boolean;
1779
+ default?: string;
1780
+ family?: "IPv4" | "IPv6";
1781
+ interfaceName?: string;
1782
+ };
1783
+ }[];
1784
+ port?: number;
1785
+ properties?: {
1786
+ sessionExpiryInterval?: number;
1787
+ receiveMaximum?: number;
1788
+ maximumPacketSize?: number;
1789
+ topicAliasMaximum?: number;
1790
+ requestResponseInformation?: boolean;
1791
+ requestProblemInformation?: boolean;
1792
+ userProperties?: Record<string, string>;
1793
+ };
491
1794
  host?: string | {
492
1795
  provider?: "inline";
493
1796
  value?: string;
@@ -519,7 +1822,64 @@ export declare const unsCoreSchema: z.ZodObject<{
519
1822
  projectId?: string;
520
1823
  };
521
1824
  clientId?: string;
1825
+ clean?: boolean;
1826
+ keepalive?: number;
1827
+ connectTimeout?: number;
1828
+ reconnectPeriod?: number;
1829
+ reconnectOnConnackError?: boolean;
1830
+ resubscribe?: boolean;
1831
+ queueQoSZero?: boolean;
1832
+ rejectUnauthorized?: boolean;
1833
+ ca?: string;
1834
+ cert?: string;
1835
+ servername?: string;
522
1836
  }, {
1837
+ key?: string;
1838
+ hosts?: (string | {
1839
+ provider?: "inline";
1840
+ value?: string;
1841
+ } | {
1842
+ provider?: "external";
1843
+ key?: string;
1844
+ optional?: boolean;
1845
+ default?: string;
1846
+ } | {
1847
+ provider?: "system";
1848
+ optional?: boolean;
1849
+ default?: string;
1850
+ family?: "IPv4" | "IPv6";
1851
+ interfaceName?: string;
1852
+ })[];
1853
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
1854
+ servers?: {
1855
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
1856
+ port?: number;
1857
+ host?: string | {
1858
+ provider?: "inline";
1859
+ value?: string;
1860
+ } | {
1861
+ provider?: "external";
1862
+ key?: string;
1863
+ optional?: boolean;
1864
+ default?: string;
1865
+ } | {
1866
+ provider?: "system";
1867
+ optional?: boolean;
1868
+ default?: string;
1869
+ family?: "IPv4" | "IPv6";
1870
+ interfaceName?: string;
1871
+ };
1872
+ }[];
1873
+ port?: number;
1874
+ properties?: {
1875
+ sessionExpiryInterval?: number;
1876
+ receiveMaximum?: number;
1877
+ maximumPacketSize?: number;
1878
+ topicAliasMaximum?: number;
1879
+ requestResponseInformation?: boolean;
1880
+ requestProblemInformation?: boolean;
1881
+ userProperties?: Record<string, string>;
1882
+ };
523
1883
  host?: string | {
524
1884
  provider?: "inline";
525
1885
  value?: string;
@@ -551,6 +1911,17 @@ export declare const unsCoreSchema: z.ZodObject<{
551
1911
  projectId?: string;
552
1912
  };
553
1913
  clientId?: string;
1914
+ clean?: boolean;
1915
+ keepalive?: number;
1916
+ connectTimeout?: number;
1917
+ reconnectPeriod?: number;
1918
+ reconnectOnConnackError?: boolean;
1919
+ resubscribe?: boolean;
1920
+ queueQoSZero?: boolean;
1921
+ rejectUnauthorized?: boolean;
1922
+ ca?: string;
1923
+ cert?: string;
1924
+ servername?: string;
554
1925
  }>;
555
1926
  devops: z.ZodOptional<z.ZodObject<{
556
1927
  provider: z.ZodDefault<z.ZodEnum<["azure-devops"]>>;
@@ -567,8 +1938,8 @@ export declare const unsCoreSchema: z.ZodObject<{
567
1938
  }>>;
568
1939
  }, "strict", z.ZodTypeAny, {
569
1940
  uns?: {
570
- env?: "dev" | "staging" | "test" | "prod";
571
1941
  handover?: boolean;
1942
+ env?: "dev" | "staging" | "test" | "prod";
572
1943
  processName?: string;
573
1944
  password?: string | {
574
1945
  provider?: "env";
@@ -592,6 +1963,52 @@ export declare const unsCoreSchema: z.ZodObject<{
592
1963
  kidWellKnownUrl?: string;
593
1964
  };
594
1965
  input?: {
1966
+ key?: string;
1967
+ hosts?: (string | {
1968
+ provider?: "inline";
1969
+ value?: string;
1970
+ } | {
1971
+ provider?: "external";
1972
+ key?: string;
1973
+ optional?: boolean;
1974
+ default?: string;
1975
+ } | {
1976
+ provider?: "system";
1977
+ optional?: boolean;
1978
+ default?: string;
1979
+ family?: "IPv4" | "IPv6";
1980
+ interfaceName?: string;
1981
+ })[];
1982
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
1983
+ servers?: {
1984
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
1985
+ port?: number;
1986
+ host?: string | {
1987
+ provider?: "inline";
1988
+ value?: string;
1989
+ } | {
1990
+ provider?: "external";
1991
+ key?: string;
1992
+ optional?: boolean;
1993
+ default?: string;
1994
+ } | {
1995
+ provider?: "system";
1996
+ optional?: boolean;
1997
+ default?: string;
1998
+ family?: "IPv4" | "IPv6";
1999
+ interfaceName?: string;
2000
+ };
2001
+ }[];
2002
+ port?: number;
2003
+ properties?: {
2004
+ sessionExpiryInterval?: number;
2005
+ receiveMaximum?: number;
2006
+ maximumPacketSize?: number;
2007
+ topicAliasMaximum?: number;
2008
+ requestResponseInformation?: boolean;
2009
+ requestProblemInformation?: boolean;
2010
+ userProperties?: Record<string, string>;
2011
+ };
595
2012
  host?: string | {
596
2013
  provider?: "inline";
597
2014
  value?: string;
@@ -623,8 +2040,65 @@ export declare const unsCoreSchema: z.ZodObject<{
623
2040
  projectId?: string;
624
2041
  };
625
2042
  clientId?: string;
2043
+ clean?: boolean;
2044
+ keepalive?: number;
2045
+ connectTimeout?: number;
2046
+ reconnectPeriod?: number;
2047
+ reconnectOnConnackError?: boolean;
2048
+ resubscribe?: boolean;
2049
+ queueQoSZero?: boolean;
2050
+ rejectUnauthorized?: boolean;
2051
+ ca?: string;
2052
+ cert?: string;
2053
+ servername?: string;
626
2054
  };
627
2055
  output?: {
2056
+ key?: string;
2057
+ hosts?: (string | {
2058
+ provider?: "inline";
2059
+ value?: string;
2060
+ } | {
2061
+ provider?: "external";
2062
+ key?: string;
2063
+ optional?: boolean;
2064
+ default?: string;
2065
+ } | {
2066
+ provider?: "system";
2067
+ optional?: boolean;
2068
+ default?: string;
2069
+ family?: "IPv4" | "IPv6";
2070
+ interfaceName?: string;
2071
+ })[];
2072
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
2073
+ servers?: {
2074
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
2075
+ port?: number;
2076
+ host?: string | {
2077
+ provider?: "inline";
2078
+ value?: string;
2079
+ } | {
2080
+ provider?: "external";
2081
+ key?: string;
2082
+ optional?: boolean;
2083
+ default?: string;
2084
+ } | {
2085
+ provider?: "system";
2086
+ optional?: boolean;
2087
+ default?: string;
2088
+ family?: "IPv4" | "IPv6";
2089
+ interfaceName?: string;
2090
+ };
2091
+ }[];
2092
+ port?: number;
2093
+ properties?: {
2094
+ sessionExpiryInterval?: number;
2095
+ receiveMaximum?: number;
2096
+ maximumPacketSize?: number;
2097
+ topicAliasMaximum?: number;
2098
+ requestResponseInformation?: boolean;
2099
+ requestProblemInformation?: boolean;
2100
+ userProperties?: Record<string, string>;
2101
+ };
628
2102
  host?: string | {
629
2103
  provider?: "inline";
630
2104
  value?: string;
@@ -656,8 +2130,65 @@ export declare const unsCoreSchema: z.ZodObject<{
656
2130
  projectId?: string;
657
2131
  };
658
2132
  clientId?: string;
2133
+ clean?: boolean;
2134
+ keepalive?: number;
2135
+ connectTimeout?: number;
2136
+ reconnectPeriod?: number;
2137
+ reconnectOnConnackError?: boolean;
2138
+ resubscribe?: boolean;
2139
+ queueQoSZero?: boolean;
2140
+ rejectUnauthorized?: boolean;
2141
+ ca?: string;
2142
+ cert?: string;
2143
+ servername?: string;
659
2144
  };
660
2145
  infra?: {
2146
+ key?: string;
2147
+ hosts?: (string | {
2148
+ provider?: "inline";
2149
+ value?: string;
2150
+ } | {
2151
+ provider?: "external";
2152
+ key?: string;
2153
+ optional?: boolean;
2154
+ default?: string;
2155
+ } | {
2156
+ provider?: "system";
2157
+ optional?: boolean;
2158
+ default?: string;
2159
+ family?: "IPv4" | "IPv6";
2160
+ interfaceName?: string;
2161
+ })[];
2162
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
2163
+ servers?: {
2164
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
2165
+ port?: number;
2166
+ host?: string | {
2167
+ provider?: "inline";
2168
+ value?: string;
2169
+ } | {
2170
+ provider?: "external";
2171
+ key?: string;
2172
+ optional?: boolean;
2173
+ default?: string;
2174
+ } | {
2175
+ provider?: "system";
2176
+ optional?: boolean;
2177
+ default?: string;
2178
+ family?: "IPv4" | "IPv6";
2179
+ interfaceName?: string;
2180
+ };
2181
+ }[];
2182
+ port?: number;
2183
+ properties?: {
2184
+ sessionExpiryInterval?: number;
2185
+ receiveMaximum?: number;
2186
+ maximumPacketSize?: number;
2187
+ topicAliasMaximum?: number;
2188
+ requestResponseInformation?: boolean;
2189
+ requestProblemInformation?: boolean;
2190
+ userProperties?: Record<string, string>;
2191
+ };
661
2192
  host?: string | {
662
2193
  provider?: "inline";
663
2194
  value?: string;
@@ -689,6 +2220,17 @@ export declare const unsCoreSchema: z.ZodObject<{
689
2220
  projectId?: string;
690
2221
  };
691
2222
  clientId?: string;
2223
+ clean?: boolean;
2224
+ keepalive?: number;
2225
+ connectTimeout?: number;
2226
+ reconnectPeriod?: number;
2227
+ reconnectOnConnackError?: boolean;
2228
+ resubscribe?: boolean;
2229
+ queueQoSZero?: boolean;
2230
+ rejectUnauthorized?: boolean;
2231
+ ca?: string;
2232
+ cert?: string;
2233
+ servername?: string;
692
2234
  };
693
2235
  devops?: {
694
2236
  provider?: "azure-devops";
@@ -697,8 +2239,8 @@ export declare const unsCoreSchema: z.ZodObject<{
697
2239
  };
698
2240
  }, {
699
2241
  uns?: {
700
- env?: "dev" | "staging" | "test" | "prod";
701
2242
  handover?: boolean;
2243
+ env?: "dev" | "staging" | "test" | "prod";
702
2244
  processName?: string;
703
2245
  password?: string | {
704
2246
  provider?: "env";
@@ -722,6 +2264,52 @@ export declare const unsCoreSchema: z.ZodObject<{
722
2264
  kidWellKnownUrl?: string;
723
2265
  };
724
2266
  input?: {
2267
+ key?: string;
2268
+ hosts?: (string | {
2269
+ provider?: "inline";
2270
+ value?: string;
2271
+ } | {
2272
+ provider?: "external";
2273
+ key?: string;
2274
+ optional?: boolean;
2275
+ default?: string;
2276
+ } | {
2277
+ provider?: "system";
2278
+ optional?: boolean;
2279
+ default?: string;
2280
+ family?: "IPv4" | "IPv6";
2281
+ interfaceName?: string;
2282
+ })[];
2283
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
2284
+ servers?: {
2285
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
2286
+ port?: number;
2287
+ host?: string | {
2288
+ provider?: "inline";
2289
+ value?: string;
2290
+ } | {
2291
+ provider?: "external";
2292
+ key?: string;
2293
+ optional?: boolean;
2294
+ default?: string;
2295
+ } | {
2296
+ provider?: "system";
2297
+ optional?: boolean;
2298
+ default?: string;
2299
+ family?: "IPv4" | "IPv6";
2300
+ interfaceName?: string;
2301
+ };
2302
+ }[];
2303
+ port?: number;
2304
+ properties?: {
2305
+ sessionExpiryInterval?: number;
2306
+ receiveMaximum?: number;
2307
+ maximumPacketSize?: number;
2308
+ topicAliasMaximum?: number;
2309
+ requestResponseInformation?: boolean;
2310
+ requestProblemInformation?: boolean;
2311
+ userProperties?: Record<string, string>;
2312
+ };
725
2313
  host?: string | {
726
2314
  provider?: "inline";
727
2315
  value?: string;
@@ -753,8 +2341,65 @@ export declare const unsCoreSchema: z.ZodObject<{
753
2341
  projectId?: string;
754
2342
  };
755
2343
  clientId?: string;
2344
+ clean?: boolean;
2345
+ keepalive?: number;
2346
+ connectTimeout?: number;
2347
+ reconnectPeriod?: number;
2348
+ reconnectOnConnackError?: boolean;
2349
+ resubscribe?: boolean;
2350
+ queueQoSZero?: boolean;
2351
+ rejectUnauthorized?: boolean;
2352
+ ca?: string;
2353
+ cert?: string;
2354
+ servername?: string;
756
2355
  };
757
2356
  output?: {
2357
+ key?: string;
2358
+ hosts?: (string | {
2359
+ provider?: "inline";
2360
+ value?: string;
2361
+ } | {
2362
+ provider?: "external";
2363
+ key?: string;
2364
+ optional?: boolean;
2365
+ default?: string;
2366
+ } | {
2367
+ provider?: "system";
2368
+ optional?: boolean;
2369
+ default?: string;
2370
+ family?: "IPv4" | "IPv6";
2371
+ interfaceName?: string;
2372
+ })[];
2373
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
2374
+ servers?: {
2375
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
2376
+ port?: number;
2377
+ host?: string | {
2378
+ provider?: "inline";
2379
+ value?: string;
2380
+ } | {
2381
+ provider?: "external";
2382
+ key?: string;
2383
+ optional?: boolean;
2384
+ default?: string;
2385
+ } | {
2386
+ provider?: "system";
2387
+ optional?: boolean;
2388
+ default?: string;
2389
+ family?: "IPv4" | "IPv6";
2390
+ interfaceName?: string;
2391
+ };
2392
+ }[];
2393
+ port?: number;
2394
+ properties?: {
2395
+ sessionExpiryInterval?: number;
2396
+ receiveMaximum?: number;
2397
+ maximumPacketSize?: number;
2398
+ topicAliasMaximum?: number;
2399
+ requestResponseInformation?: boolean;
2400
+ requestProblemInformation?: boolean;
2401
+ userProperties?: Record<string, string>;
2402
+ };
758
2403
  host?: string | {
759
2404
  provider?: "inline";
760
2405
  value?: string;
@@ -786,8 +2431,65 @@ export declare const unsCoreSchema: z.ZodObject<{
786
2431
  projectId?: string;
787
2432
  };
788
2433
  clientId?: string;
2434
+ clean?: boolean;
2435
+ keepalive?: number;
2436
+ connectTimeout?: number;
2437
+ reconnectPeriod?: number;
2438
+ reconnectOnConnackError?: boolean;
2439
+ resubscribe?: boolean;
2440
+ queueQoSZero?: boolean;
2441
+ rejectUnauthorized?: boolean;
2442
+ ca?: string;
2443
+ cert?: string;
2444
+ servername?: string;
789
2445
  };
790
2446
  infra?: {
2447
+ key?: string;
2448
+ hosts?: (string | {
2449
+ provider?: "inline";
2450
+ value?: string;
2451
+ } | {
2452
+ provider?: "external";
2453
+ key?: string;
2454
+ optional?: boolean;
2455
+ default?: string;
2456
+ } | {
2457
+ provider?: "system";
2458
+ optional?: boolean;
2459
+ default?: string;
2460
+ family?: "IPv4" | "IPv6";
2461
+ interfaceName?: string;
2462
+ })[];
2463
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
2464
+ servers?: {
2465
+ protocol?: "mqtt" | "mqtts" | "ws" | "wss" | "tcp" | "ssl";
2466
+ port?: number;
2467
+ host?: string | {
2468
+ provider?: "inline";
2469
+ value?: string;
2470
+ } | {
2471
+ provider?: "external";
2472
+ key?: string;
2473
+ optional?: boolean;
2474
+ default?: string;
2475
+ } | {
2476
+ provider?: "system";
2477
+ optional?: boolean;
2478
+ default?: string;
2479
+ family?: "IPv4" | "IPv6";
2480
+ interfaceName?: string;
2481
+ };
2482
+ }[];
2483
+ port?: number;
2484
+ properties?: {
2485
+ sessionExpiryInterval?: number;
2486
+ receiveMaximum?: number;
2487
+ maximumPacketSize?: number;
2488
+ topicAliasMaximum?: number;
2489
+ requestResponseInformation?: boolean;
2490
+ requestProblemInformation?: boolean;
2491
+ userProperties?: Record<string, string>;
2492
+ };
791
2493
  host?: string | {
792
2494
  provider?: "inline";
793
2495
  value?: string;
@@ -819,6 +2521,17 @@ export declare const unsCoreSchema: z.ZodObject<{
819
2521
  projectId?: string;
820
2522
  };
821
2523
  clientId?: string;
2524
+ clean?: boolean;
2525
+ keepalive?: number;
2526
+ connectTimeout?: number;
2527
+ reconnectPeriod?: number;
2528
+ reconnectOnConnackError?: boolean;
2529
+ resubscribe?: boolean;
2530
+ queueQoSZero?: boolean;
2531
+ rejectUnauthorized?: boolean;
2532
+ ca?: string;
2533
+ cert?: string;
2534
+ servername?: string;
822
2535
  };
823
2536
  devops?: {
824
2537
  provider?: "azure-devops";