@wandelbots/nova-js 3.13.0-pr.307.a847bf7 → 3.13.0-pr.307.ea0533d

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 (45) hide show
  1. package/dist/{context-ffr5Q2dc.mjs → context-CmXqEEwW.mjs} +86 -3
  2. package/dist/context-CmXqEEwW.mjs.map +1 -0
  3. package/dist/{context-BZELA2eh.cjs → context-Cu5mXcFZ.cjs} +146 -3
  4. package/dist/context-Cu5mXcFZ.cjs.map +1 -0
  5. package/dist/experimental/nats/index.cjs +17 -96
  6. package/dist/experimental/nats/index.cjs.map +1 -1
  7. package/dist/experimental/nats/index.d.cts +66 -1078
  8. package/dist/experimental/nats/index.d.cts.map +1 -1
  9. package/dist/experimental/nats/index.d.mts +66 -1078
  10. package/dist/experimental/nats/index.d.mts.map +1 -1
  11. package/dist/experimental/nats/index.mjs +18 -96
  12. package/dist/experimental/nats/index.mjs.map +1 -1
  13. package/dist/index.cjs +12 -13
  14. package/dist/index.mjs +2 -3
  15. package/dist/v1/index.cjs +3 -3
  16. package/dist/v1/index.cjs.map +1 -1
  17. package/dist/v1/index.mjs +2 -2
  18. package/dist/v2/index.cjs +3 -4
  19. package/dist/v2/index.cjs.map +1 -1
  20. package/dist/v2/index.d.cts +83 -5
  21. package/dist/v2/index.d.cts.map +1 -1
  22. package/dist/v2/index.d.mts +82 -4
  23. package/dist/v2/index.d.mts.map +1 -1
  24. package/dist/v2/index.mjs +1 -2
  25. package/dist/v2/index.mjs.map +1 -1
  26. package/dist/{wandelscriptUtils-DcY1aLWu.cjs → wandelscriptUtils-BdqeVDCY.cjs} +12 -13
  27. package/dist/{wandelscriptUtils-DcY1aLWu.cjs.map → wandelscriptUtils-BdqeVDCY.cjs.map} +1 -1
  28. package/dist/{wandelscriptUtils-CpUXdLVc.mjs → wandelscriptUtils-CKhiZJsB.mjs} +2 -3
  29. package/dist/{wandelscriptUtils-CpUXdLVc.mjs.map → wandelscriptUtils-CKhiZJsB.mjs.map} +1 -1
  30. package/package.json +3 -1
  31. package/src/experimental/nats/index.ts +0 -7
  32. package/src/lib/experimental/nats/NovaNatsClient.ts +15 -86
  33. package/src/lib/experimental/nats/buildSubject.ts +5 -53
  34. package/src/lib/experimental/nats/generated/operations.ts +71 -918
  35. package/dist/Nova--8gozkLR.d.mts +0 -85
  36. package/dist/Nova--8gozkLR.d.mts.map +0 -1
  37. package/dist/Nova-B1o5iTQ6.d.cts +0 -85
  38. package/dist/Nova-B1o5iTQ6.d.cts.map +0 -1
  39. package/dist/context-BZELA2eh.cjs.map +0 -1
  40. package/dist/context-ffr5Q2dc.mjs.map +0 -1
  41. package/dist/converters-DnG1fX23.mjs +0 -87
  42. package/dist/converters-DnG1fX23.mjs.map +0 -1
  43. package/dist/converters-EYS27XJE.cjs +0 -146
  44. package/dist/converters-EYS27XJE.cjs.map +0 -1
  45. package/src/lib/experimental/nats/buildNatsServerUrl.ts +0 -15
@@ -35,698 +35,150 @@ import type {
35
35
 
36
36
  /** Subject parameters required by each NATS subject, e.g. "nova.v2.cells.{cell}". */
37
37
  export interface NatsOperationParams {
38
- /**
39
- * Cell Configuration
40
- *
41
- * Publishes the configuration for a cell.
42
- *
43
- * The latest status message is persisted NATS JetStream, documented in `x-nats-jetstream-stream`
44
- *
45
- * @operationId publishCell
46
- */
47
- "nova.v2.cells.{cell}": {
48
- /**
49
- * Unique identifier addressing a cell in all API calls.
50
- */
51
- cell: string
52
- }
53
- /**
54
- * App Configuration
55
- *
56
- * Publishes the configuration for a GUI application in the cell.
57
- *
58
- * The latest status message is persisted NATS JetStream, documented in `x-nats-jetstream-stream`
59
- *
60
- * @operationId publishApp
61
- */
62
- "nova.v2.cells.{cell}.apps.{app}": {
63
- /**
64
- * Unique identifier addressing a cell in all API calls.
65
- */
66
- cell: string
67
- /**
68
- * Name of the provided application.
69
- * Must be unique within the cell and is used as an identifier for addressing the application in all API calls, e.g., when updating the application.
70
- */
71
- app: string
72
- }
73
- /**
74
- * Program Status
75
- *
76
- * Publishes status messages for programs running in an app within a cell.
77
- * The status messages provide information about the current state of a program run.
78
- *
79
- * @operationId publishProgramStatus
80
- */
81
- "nova.v2.cells.{cell}.programs": {
82
- /**
83
- * Unique identifier addressing a cell in all API calls.
84
- */
85
- cell: string
86
- }
87
- /**
88
- * Robot Controller Configuration
89
- *
90
- * Publishes the configuration of a robot controller.
91
- *
92
- * @operationId publishRobotController
93
- */
38
+ /** publishCell */
39
+ "nova.v2.cells.{cell}": { cell: string }
40
+ /** publishApp */
41
+ "nova.v2.cells.{cell}.apps.{app}": { cell: string; app: string }
42
+ /** publishProgramStatus */
43
+ "nova.v2.cells.{cell}.programs": { cell: string }
44
+ /** publishRobotController */
94
45
  "nova.v2.cells.{cell}.controllers.{controller}": {
95
- /**
96
- * Unique identifier addressing a cell in all API calls.
97
- */
98
46
  cell: string
99
- /**
100
- * Unique identifier to address a controller in the cell.
101
- */
102
47
  controller: string
103
48
  }
104
- /**
105
- * Service Status
106
- *
107
- * Publishes the status of all cell resources.
108
- *
109
- * The latest status message is persisted NATS JetStream, documented in `x-nats-jetstream-stream`
110
- *
111
- * @operationId publishCellStatus
112
- */
113
- "nova.v2.cells.{cell}.status": {
114
- /**
115
- * Unique identifier addressing a cell in all API calls.
116
- */
117
- cell: string
118
- }
119
- /**
120
- * Cell Cycle Event
121
- *
122
- * Publishes the cycle events for a cell.
123
- *
124
- * @operationId publishCellCycle
125
- */
126
- "nova.v2.cells.{cell}.cycle": {
127
- /**
128
- * Unique identifier addressing a cell in all API calls.
129
- */
130
- cell: string
131
- }
132
- /**
133
- * Wandelbots NOVA status
134
- *
135
- * Publishes the status of all system services.
136
- *
137
- * The latest status message is persisted NATS JetStream, documented in `x-nats-jetstream-stream`
138
- *
139
- * @operationId publishSystemStatus
140
- */
141
- "nova.v2.system.status": Record<never, never>
142
- /**
143
- * Collision Setup
144
- *
145
- * Publishes the stored collision setup.
146
- *
147
- * The latest status message is persisted NATS JetStream, documented in `x-nats-jetstream-stream`
148
- *
149
- * @operationId publishCollisionSetup
150
- */
49
+ /** publishCellStatus */
50
+ "nova.v2.cells.{cell}.status": { cell: string }
51
+ /** publishCellCycle */
52
+ "nova.v2.cells.{cell}.cycle": { cell: string }
53
+ /** publishSystemStatus */
54
+ "nova.v2.system.status": Record<string, never>
55
+ /** publishCollisionSetup */
151
56
  "nova.v2.cells.{cell}.collision.setups.{setup}": {
152
- /**
153
- * Unique identifier addressing a cell in all API calls.
154
- */
155
57
  cell: string
156
- /**
157
- * Unique identifier addressing a collision setup.
158
- */
159
58
  setup: string
160
59
  }
161
- /**
162
- * BUS Inputs/Outputs Service Status
163
- *
164
- * Publishes the status of BUS inputs/outputs service.
165
- *
166
- * The latest status message is persisted NATS JetStream, documented in `x-nats-jetstream-stream`.
167
- *
168
- * @operationId publishBUSIOStatus
169
- */
170
- "nova.v2.cells.{cell}.bus-ios.status": {
171
- /**
172
- * Unique identifier addressing a cell in all API calls.
173
- */
174
- cell: string
175
- }
176
- /**
177
- * BUS Input/Output Values
178
- *
179
- * Publishes updates of BUS input/output values.
180
- *
181
- * @operationId publishBUSIOsIOs
182
- */
183
- "nova.v2.cells.{cell}.bus-ios.ios": {
184
- /**
185
- * Unique identifier addressing a cell in all API calls.
186
- */
187
- cell: string
188
- }
189
- /**
190
- * Set Output Values
191
- *
192
- * Set output values published with the BUS inputs/outputs service.
193
- * If you're using a virtual service, you can set inputs as well.
194
- *
195
- * @operationId setBUSIOsIOs
196
- */
197
- "nova.v2.cells.{cell}.bus-ios.ios.set": {
198
- /**
199
- * Unique identifier addressing a cell in all API calls.
200
- */
201
- cell: string
202
- }
203
- /**
204
- * Select Input/Output Values
205
- *
206
- * Select input/output values published by the controller.
207
- *
208
- * @operationId selectRobotControllerIOs
209
- */
60
+ /** publishBUSIOStatus */
61
+ "nova.v2.cells.{cell}.bus-ios.status": { cell: string }
62
+ /** publishBUSIOsIOs */
63
+ "nova.v2.cells.{cell}.bus-ios.ios": { cell: string }
64
+ /** setBUSIOsIOs */
65
+ "nova.v2.cells.{cell}.bus-ios.ios.set": { cell: string }
66
+ /** selectRobotControllerIOs */
210
67
  "nova.v2.cells.{cell}.controllers.{controller}.ios.select": {
211
- /**
212
- * Unique identifier addressing a cell in all API calls.
213
- */
214
68
  cell: string
215
- /**
216
- * Unique identifier to address a controller in a cell.
217
- */
218
69
  controller: string
219
70
  }
220
- /**
221
- * Input/Output Values
222
- *
223
- * Publishes updates of input/output values.
224
- *
225
- * @operationId publishRobotControllerIOs
226
- */
71
+ /** publishRobotControllerIOs */
227
72
  "nova.v2.cells.{cell}.controllers.{controller}.ios": {
228
- /**
229
- * Unique identifier addressing a cell in all API calls.
230
- */
231
73
  cell: string
232
- /**
233
- * Unique identifier to address a controller in the cell.
234
- */
235
74
  controller: string
236
75
  }
237
- /**
238
- * State of Robot Controller
239
- *
240
- * Publishes the current state of a robot controller.
241
- *
242
- * @operationId publishRobotControllersState
243
- */
76
+ /** publishRobotControllersState */
244
77
  "nova.v2.cells.{cell}.controllers.{controller}.state": {
245
- /**
246
- * Unique identifier addressing a cell in all API calls.
247
- */
248
78
  cell: string
249
- /**
250
- * Unique identifier to address a controller in the cell.
251
- */
252
79
  controller: string
253
80
  }
254
- /**
255
- * Description of Motion Group
256
- *
257
- * Publishes the description of a motion group, including TCPs, mounting, safety zones, limits, etc.
258
- *
259
- * @operationId publishMotionGroupDescription
260
- */
81
+ /** publishMotionGroupDescription */
261
82
  "nova.v2.cells.{cell}.controllers.{controller}.motion-groups.{motion-group}.description": {
262
- /**
263
- * Unique identifier addressing a cell in all API calls.
264
- */
265
83
  cell: string
266
- /**
267
- * Unique identifier addressing a controller in the cell.
268
- */
269
84
  controller: string
270
- /**
271
- * Motion group identifier.
272
- */
273
85
  "motion-group": string
274
86
  }
275
- /**
276
- * System Update Started
277
- *
278
- * Publishes an event when a system update process is initiated.
279
- *
280
- * This event is triggered once the service-manager begins a system update process,
281
- * providing details about the update metadata, trigger information, and pre-update checks.
282
- *
283
- * The event follows CloudEvents v1.0 specification and is persisted in NATS JetStream
284
- * for reliable delivery and event replay capabilities.
285
- *
286
- * @operationId eventSystemUpdateStarted
287
- */
288
- "nova.v2.events.system.update.started": Record<never, never>
289
- /**
290
- * System Update Completed
291
- *
292
- * Publishes an event when a system update process is completed.
293
- *
294
- * This event is triggered once the service-manager completes a system update process,
295
- * providing comprehensive results including success status, component outcomes,
296
- * error details, and post-update validation results.
297
- *
298
- * The event follows CloudEvents v1.0 specification and is persisted in NATS JetStream
299
- * for reliable delivery and event replay capabilities.
300
- *
301
- * @operationId eventSystemUpdateCompleted
302
- */
303
- "nova.v2.events.system.update.completed": Record<never, never>
304
- /**
305
- * System Network Status Changed
306
- *
307
- * Publishes an event when a system network status changes.
308
- *
309
- * This event is triggered once system-info service detects a change in the system network status,
310
- * providing details about the new network state and related information.
311
- *
312
- * The event follows CloudEvents v1.0 specification and is persisted in NATS JetStream
313
- * for reliable delivery and event replay capabilities.
314
- *
315
- * @operationId eventSystemNetworkStatusChanged
316
- */
317
- "nova.v2.events.system.network.status.changed": Record<never, never>
318
- /**
319
- * Cell Created
320
- *
321
- * Publishes an event when a cell foundation release is created.
322
- *
323
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
324
- *
325
- * @operationId eventCellCreated
326
- */
327
- "nova.v2.events.cells.{cell}.created": {
328
- /**
329
- * Unique identifier addressing a cell in all API calls.
330
- */
331
- cell: string
332
- }
333
- /**
334
- * Cell Updated
335
- *
336
- * Publishes an event when a cell foundation release is updated.
337
- *
338
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
339
- *
340
- * @operationId eventCellUpdated
341
- */
342
- "nova.v2.events.cells.{cell}.updated": {
343
- /**
344
- * Unique identifier addressing a cell in all API calls.
345
- */
346
- cell: string
347
- }
348
- /**
349
- * Cell Deleted
350
- *
351
- * Publishes an event when a cell foundation release is deleted.
352
- *
353
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
354
- *
355
- * @operationId eventCellDeleted
356
- */
357
- "nova.v2.events.cells.{cell}.deleted": {
358
- /**
359
- * Unique identifier addressing a cell in all API calls.
360
- */
361
- cell: string
362
- }
363
- /**
364
- * App Created
365
- *
366
- * Publishes an event when an app release is created in a cell.
367
- *
368
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
369
- *
370
- * @operationId eventAppCreated
371
- */
87
+ /** eventSystemUpdateStarted */
88
+ "nova.v2.events.system.update.started": Record<string, never>
89
+ /** eventSystemUpdateCompleted */
90
+ "nova.v2.events.system.update.completed": Record<string, never>
91
+ /** eventSystemNetworkStatusChanged */
92
+ "nova.v2.events.system.network.status.changed": Record<string, never>
93
+ /** eventCellCreated */
94
+ "nova.v2.events.cells.{cell}.created": { cell: string }
95
+ /** eventCellUpdated */
96
+ "nova.v2.events.cells.{cell}.updated": { cell: string }
97
+ /** eventCellDeleted */
98
+ "nova.v2.events.cells.{cell}.deleted": { cell: string }
99
+ /** eventAppCreated */
372
100
  "nova.v2.events.cells.{cell}.apps.{app}.created": {
373
- /**
374
- * Unique identifier addressing a cell in all API calls.
375
- */
376
101
  cell: string
377
- /**
378
- * Unique identifier addressing an app in the cell.
379
- */
380
102
  app: string
381
103
  }
382
- /**
383
- * App Updated
384
- *
385
- * Publishes an event when an app release is updated in a cell.
386
- *
387
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
388
- *
389
- * @operationId eventAppUpdated
390
- */
104
+ /** eventAppUpdated */
391
105
  "nova.v2.events.cells.{cell}.apps.{app}.updated": {
392
- /**
393
- * Unique identifier addressing a cell in all API calls.
394
- */
395
106
  cell: string
396
- /**
397
- * Unique identifier addressing an app in the cell.
398
- */
399
107
  app: string
400
108
  }
401
- /**
402
- * App Deleted
403
- *
404
- * Publishes an event when an app release is deleted from a cell.
405
- *
406
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
407
- *
408
- * @operationId eventAppDeleted
409
- */
109
+ /** eventAppDeleted */
410
110
  "nova.v2.events.cells.{cell}.apps.{app}.deleted": {
411
- /**
412
- * Unique identifier addressing a cell in all API calls.
413
- */
414
111
  cell: string
415
- /**
416
- * Unique identifier addressing an app in the cell.
417
- */
418
112
  app: string
419
113
  }
420
- /**
421
- * Robot Controller Created
422
- *
423
- * Publishes an event when a robot controller release is created in a cell.
424
- *
425
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
426
- *
427
- * @operationId eventRobotControllerCreated
428
- */
114
+ /** eventRobotControllerCreated */
429
115
  "nova.v2.events.cells.{cell}.controllers.{controller}.created": {
430
- /**
431
- * Unique identifier addressing a cell in all API calls.
432
- */
433
116
  cell: string
434
- /**
435
- * Unique identifier to address a controller in the cell.
436
- */
437
117
  controller: string
438
118
  }
439
- /**
440
- * Robot Controller Updated
441
- *
442
- * Publishes an event when a robot controller release is updated in a cell.
443
- *
444
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
445
- *
446
- * @operationId eventRobotControllerUpdated
447
- */
119
+ /** eventRobotControllerUpdated */
448
120
  "nova.v2.events.cells.{cell}.controllers.{controller}.updated": {
449
- /**
450
- * Unique identifier addressing a cell in all API calls.
451
- */
452
121
  cell: string
453
- /**
454
- * Unique identifier to address a controller in the cell.
455
- */
456
122
  controller: string
457
123
  }
458
- /**
459
- * Robot Controller Deleted
460
- *
461
- * Publishes an event when a robot controller release is deleted from a cell.
462
- *
463
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
464
- *
465
- * @operationId eventRobotControllerDeleted
466
- */
124
+ /** eventRobotControllerDeleted */
467
125
  "nova.v2.events.cells.{cell}.controllers.{controller}.deleted": {
468
- /**
469
- * Unique identifier addressing a cell in all API calls.
470
- */
471
126
  cell: string
472
- /**
473
- * Unique identifier to address a controller in the cell.
474
- */
475
127
  controller: string
476
128
  }
477
129
  }
478
130
 
479
131
  /** Payload types for subjects the server publishes and the client subscribes to. */
480
132
  export interface NatsSubscribePayloads {
481
- /**
482
- * Cell Configuration
483
- *
484
- * Publishes the configuration for a cell.
485
- *
486
- * The latest status message is persisted NATS JetStream, documented in `x-nats-jetstream-stream`
487
- *
488
- * @operationId publishCell
489
- */
133
+ /** publishCell */
490
134
  "nova.v2.cells.{cell}": Cell
491
- /**
492
- * App Configuration
493
- *
494
- * Publishes the configuration for a GUI application in the cell.
495
- *
496
- * The latest status message is persisted NATS JetStream, documented in `x-nats-jetstream-stream`
497
- *
498
- * @operationId publishApp
499
- */
135
+ /** publishApp */
500
136
  "nova.v2.cells.{cell}.apps.{app}": App
501
- /**
502
- * Program Status
503
- *
504
- * Publishes status messages for programs running in an app within a cell.
505
- * The status messages provide information about the current state of a program run.
506
- *
507
- * @operationId publishProgramStatus
508
- */
137
+ /** publishProgramStatus */
509
138
  "nova.v2.cells.{cell}.programs": ProgramStatus
510
- /**
511
- * Robot Controller Configuration
512
- *
513
- * Publishes the configuration of a robot controller.
514
- *
515
- * @operationId publishRobotController
516
- */
139
+ /** publishRobotController */
517
140
  "nova.v2.cells.{cell}.controllers.{controller}": RobotController
518
- /**
519
- * Service Status
520
- *
521
- * Publishes the status of all cell resources.
522
- *
523
- * The latest status message is persisted NATS JetStream, documented in `x-nats-jetstream-stream`
524
- *
525
- * @operationId publishCellStatus
526
- */
141
+ /** publishCellStatus */
527
142
  "nova.v2.cells.{cell}.status": ServiceStatusList
528
- /**
529
- * Cell Cycle Event
530
- *
531
- * Publishes the cycle events for a cell.
532
- *
533
- * @operationId publishCellCycle
534
- */
143
+ /** publishCellCycle */
535
144
  "nova.v2.cells.{cell}.cycle": CellCycleEvent
536
- /**
537
- * Wandelbots NOVA status
538
- *
539
- * Publishes the status of all system services.
540
- *
541
- * The latest status message is persisted NATS JetStream, documented in `x-nats-jetstream-stream`
542
- *
543
- * @operationId publishSystemStatus
544
- */
145
+ /** publishSystemStatus */
545
146
  "nova.v2.system.status": ServiceStatusList
546
- /**
547
- * Collision Setup
548
- *
549
- * Publishes the stored collision setup.
550
- *
551
- * The latest status message is persisted NATS JetStream, documented in `x-nats-jetstream-stream`
552
- *
553
- * @operationId publishCollisionSetup
554
- */
147
+ /** publishCollisionSetup */
555
148
  "nova.v2.cells.{cell}.collision.setups.{setup}": CollisionSetup
556
- /**
557
- * BUS Inputs/Outputs Service Status
558
- *
559
- * Publishes the status of BUS inputs/outputs service.
560
- *
561
- * The latest status message is persisted NATS JetStream, documented in `x-nats-jetstream-stream`.
562
- *
563
- * @operationId publishBUSIOStatus
564
- */
149
+ /** publishBUSIOStatus */
565
150
  "nova.v2.cells.{cell}.bus-ios.status": BusIOsState
566
- /**
567
- * BUS Input/Output Values
568
- *
569
- * Publishes updates of BUS input/output values.
570
- *
571
- * @operationId publishBUSIOsIOs
572
- */
151
+ /** publishBUSIOsIOs */
573
152
  "nova.v2.cells.{cell}.bus-ios.ios": ListIOValuesResponse
574
- /**
575
- * Input/Output Values
576
- *
577
- * Publishes updates of input/output values.
578
- *
579
- * @operationId publishRobotControllerIOs
580
- */
153
+ /** publishRobotControllerIOs */
581
154
  "nova.v2.cells.{cell}.controllers.{controller}.ios": StreamIOValuesResponse
582
- /**
583
- * State of Robot Controller
584
- *
585
- * Publishes the current state of a robot controller.
586
- *
587
- * @operationId publishRobotControllersState
588
- */
155
+ /** publishRobotControllersState */
589
156
  "nova.v2.cells.{cell}.controllers.{controller}.state": RobotControllerState
590
- /**
591
- * Description of Motion Group
592
- *
593
- * Publishes the description of a motion group, including TCPs, mounting, safety zones, limits, etc.
594
- *
595
- * @operationId publishMotionGroupDescription
596
- */
157
+ /** publishMotionGroupDescription */
597
158
  "nova.v2.cells.{cell}.controllers.{controller}.motion-groups.{motion-group}.description": MotionGroupDescription
598
- /**
599
- * System Update Started
600
- *
601
- * Publishes an event when a system update process is initiated.
602
- *
603
- * This event is triggered once the service-manager begins a system update process,
604
- * providing details about the update metadata, trigger information, and pre-update checks.
605
- *
606
- * The event follows CloudEvents v1.0 specification and is persisted in NATS JetStream
607
- * for reliable delivery and event replay capabilities.
608
- *
609
- * @operationId eventSystemUpdateStarted
610
- */
159
+ /** eventSystemUpdateStarted */
611
160
  "nova.v2.events.system.update.started": SystemUpdateStartedEvent
612
- /**
613
- * System Update Completed
614
- *
615
- * Publishes an event when a system update process is completed.
616
- *
617
- * This event is triggered once the service-manager completes a system update process,
618
- * providing comprehensive results including success status, component outcomes,
619
- * error details, and post-update validation results.
620
- *
621
- * The event follows CloudEvents v1.0 specification and is persisted in NATS JetStream
622
- * for reliable delivery and event replay capabilities.
623
- *
624
- * @operationId eventSystemUpdateCompleted
625
- */
161
+ /** eventSystemUpdateCompleted */
626
162
  "nova.v2.events.system.update.completed": SystemUpdateCompletedEvent
627
- /**
628
- * System Network Status Changed
629
- *
630
- * Publishes an event when a system network status changes.
631
- *
632
- * This event is triggered once system-info service detects a change in the system network status,
633
- * providing details about the new network state and related information.
634
- *
635
- * The event follows CloudEvents v1.0 specification and is persisted in NATS JetStream
636
- * for reliable delivery and event replay capabilities.
637
- *
638
- * @operationId eventSystemNetworkStatusChanged
639
- */
163
+ /** eventSystemNetworkStatusChanged */
640
164
  "nova.v2.events.system.network.status.changed": NetworkStatusChangedEvent
641
- /**
642
- * Cell Created
643
- *
644
- * Publishes an event when a cell foundation release is created.
645
- *
646
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
647
- *
648
- * @operationId eventCellCreated
649
- */
165
+ /** eventCellCreated */
650
166
  "nova.v2.events.cells.{cell}.created": CellCreatedEvent
651
- /**
652
- * Cell Updated
653
- *
654
- * Publishes an event when a cell foundation release is updated.
655
- *
656
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
657
- *
658
- * @operationId eventCellUpdated
659
- */
167
+ /** eventCellUpdated */
660
168
  "nova.v2.events.cells.{cell}.updated": CellUpdatedEvent
661
- /**
662
- * Cell Deleted
663
- *
664
- * Publishes an event when a cell foundation release is deleted.
665
- *
666
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
667
- *
668
- * @operationId eventCellDeleted
669
- */
169
+ /** eventCellDeleted */
670
170
  "nova.v2.events.cells.{cell}.deleted": CellDeletedEvent
671
- /**
672
- * App Created
673
- *
674
- * Publishes an event when an app release is created in a cell.
675
- *
676
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
677
- *
678
- * @operationId eventAppCreated
679
- */
171
+ /** eventAppCreated */
680
172
  "nova.v2.events.cells.{cell}.apps.{app}.created": AppCreatedEvent
681
- /**
682
- * App Updated
683
- *
684
- * Publishes an event when an app release is updated in a cell.
685
- *
686
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
687
- *
688
- * @operationId eventAppUpdated
689
- */
173
+ /** eventAppUpdated */
690
174
  "nova.v2.events.cells.{cell}.apps.{app}.updated": AppUpdatedEvent
691
- /**
692
- * App Deleted
693
- *
694
- * Publishes an event when an app release is deleted from a cell.
695
- *
696
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
697
- *
698
- * @operationId eventAppDeleted
699
- */
175
+ /** eventAppDeleted */
700
176
  "nova.v2.events.cells.{cell}.apps.{app}.deleted": AppDeletedEvent
701
- /**
702
- * Robot Controller Created
703
- *
704
- * Publishes an event when a robot controller release is created in a cell.
705
- *
706
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
707
- *
708
- * @operationId eventRobotControllerCreated
709
- */
177
+ /** eventRobotControllerCreated */
710
178
  "nova.v2.events.cells.{cell}.controllers.{controller}.created": RobotControllerCreatedEvent
711
- /**
712
- * Robot Controller Updated
713
- *
714
- * Publishes an event when a robot controller release is updated in a cell.
715
- *
716
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
717
- *
718
- * @operationId eventRobotControllerUpdated
719
- */
179
+ /** eventRobotControllerUpdated */
720
180
  "nova.v2.events.cells.{cell}.controllers.{controller}.updated": RobotControllerUpdatedEvent
721
- /**
722
- * Robot Controller Deleted
723
- *
724
- * Publishes an event when a robot controller release is deleted from a cell.
725
- *
726
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
727
- *
728
- * @operationId eventRobotControllerDeleted
729
- */
181
+ /** eventRobotControllerDeleted */
730
182
  "nova.v2.events.cells.{cell}.controllers.{controller}.deleted": RobotControllerDeletedEvent
731
183
  }
732
184
 
@@ -734,317 +186,18 @@ export type NatsSubscribeSubject = keyof NatsSubscribePayloads
734
186
 
735
187
  /** Request payload types for subjects the client sends requests to. */
736
188
  export interface NatsRequestPayloads {
737
- /**
738
- * Set Output Values
739
- *
740
- * Set output values published with the BUS inputs/outputs service.
741
- * If you're using a virtual service, you can set inputs as well.
742
- *
743
- * @operationId setBUSIOsIOs
744
- */
189
+ /** setBUSIOsIOs */
745
190
  "nova.v2.cells.{cell}.bus-ios.ios.set": ListIOValuesResponse
746
- /**
747
- * Select Input/Output Values
748
- *
749
- * Select input/output values published by the controller.
750
- *
751
- * @operationId selectRobotControllerIOs
752
- */
191
+ /** selectRobotControllerIOs */
753
192
  "nova.v2.cells.{cell}.controllers.{controller}.ios.select": SelectIOs
754
193
  }
755
194
 
756
195
  /** Reply payload types for request/reply subjects. */
757
196
  export interface NatsReplyPayloads {
758
- /**
759
- * Set Output Values
760
- *
761
- * Set output values published with the BUS inputs/outputs service.
762
- * If you're using a virtual service, you can set inputs as well.
763
- *
764
- * @operationId setBUSIOsIOs
765
- */
197
+ /** setBUSIOsIOs */
766
198
  "nova.v2.cells.{cell}.bus-ios.ios.set": NatsErrorPayload
767
- /**
768
- * Select Input/Output Values
769
- *
770
- * Select input/output values published by the controller.
771
- *
772
- * @operationId selectRobotControllerIOs
773
- */
199
+ /** selectRobotControllerIOs */
774
200
  "nova.v2.cells.{cell}.controllers.{controller}.ios.select": NatsErrorPayload
775
201
  }
776
202
 
777
203
  export type NatsRequestSubject = keyof NatsRequestPayloads
778
-
779
- /** Payload types for every subject defined in the spec, publishable via NovaNatsClient#publish. */
780
- export interface NatsPublishPayloads {
781
- /**
782
- * Cell Configuration
783
- *
784
- * Publishes the configuration for a cell.
785
- *
786
- * The latest status message is persisted NATS JetStream, documented in `x-nats-jetstream-stream`
787
- *
788
- * @operationId publishCell
789
- */
790
- "nova.v2.cells.{cell}": Cell
791
- /**
792
- * App Configuration
793
- *
794
- * Publishes the configuration for a GUI application in the cell.
795
- *
796
- * The latest status message is persisted NATS JetStream, documented in `x-nats-jetstream-stream`
797
- *
798
- * @operationId publishApp
799
- */
800
- "nova.v2.cells.{cell}.apps.{app}": App
801
- /**
802
- * Program Status
803
- *
804
- * Publishes status messages for programs running in an app within a cell.
805
- * The status messages provide information about the current state of a program run.
806
- *
807
- * @operationId publishProgramStatus
808
- */
809
- "nova.v2.cells.{cell}.programs": ProgramStatus
810
- /**
811
- * Robot Controller Configuration
812
- *
813
- * Publishes the configuration of a robot controller.
814
- *
815
- * @operationId publishRobotController
816
- */
817
- "nova.v2.cells.{cell}.controllers.{controller}": RobotController
818
- /**
819
- * Service Status
820
- *
821
- * Publishes the status of all cell resources.
822
- *
823
- * The latest status message is persisted NATS JetStream, documented in `x-nats-jetstream-stream`
824
- *
825
- * @operationId publishCellStatus
826
- */
827
- "nova.v2.cells.{cell}.status": ServiceStatusList
828
- /**
829
- * Cell Cycle Event
830
- *
831
- * Publishes the cycle events for a cell.
832
- *
833
- * @operationId publishCellCycle
834
- */
835
- "nova.v2.cells.{cell}.cycle": CellCycleEvent
836
- /**
837
- * Wandelbots NOVA status
838
- *
839
- * Publishes the status of all system services.
840
- *
841
- * The latest status message is persisted NATS JetStream, documented in `x-nats-jetstream-stream`
842
- *
843
- * @operationId publishSystemStatus
844
- */
845
- "nova.v2.system.status": ServiceStatusList
846
- /**
847
- * Collision Setup
848
- *
849
- * Publishes the stored collision setup.
850
- *
851
- * The latest status message is persisted NATS JetStream, documented in `x-nats-jetstream-stream`
852
- *
853
- * @operationId publishCollisionSetup
854
- */
855
- "nova.v2.cells.{cell}.collision.setups.{setup}": CollisionSetup
856
- /**
857
- * BUS Inputs/Outputs Service Status
858
- *
859
- * Publishes the status of BUS inputs/outputs service.
860
- *
861
- * The latest status message is persisted NATS JetStream, documented in `x-nats-jetstream-stream`.
862
- *
863
- * @operationId publishBUSIOStatus
864
- */
865
- "nova.v2.cells.{cell}.bus-ios.status": BusIOsState
866
- /**
867
- * BUS Input/Output Values
868
- *
869
- * Publishes updates of BUS input/output values.
870
- *
871
- * @operationId publishBUSIOsIOs
872
- */
873
- "nova.v2.cells.{cell}.bus-ios.ios": ListIOValuesResponse
874
- /**
875
- * Set Output Values
876
- *
877
- * Set output values published with the BUS inputs/outputs service.
878
- * If you're using a virtual service, you can set inputs as well.
879
- *
880
- * @operationId setBUSIOsIOs
881
- */
882
- "nova.v2.cells.{cell}.bus-ios.ios.set": ListIOValuesResponse
883
- /**
884
- * Select Input/Output Values
885
- *
886
- * Select input/output values published by the controller.
887
- *
888
- * @operationId selectRobotControllerIOs
889
- */
890
- "nova.v2.cells.{cell}.controllers.{controller}.ios.select": SelectIOs
891
- /**
892
- * Input/Output Values
893
- *
894
- * Publishes updates of input/output values.
895
- *
896
- * @operationId publishRobotControllerIOs
897
- */
898
- "nova.v2.cells.{cell}.controllers.{controller}.ios": StreamIOValuesResponse
899
- /**
900
- * State of Robot Controller
901
- *
902
- * Publishes the current state of a robot controller.
903
- *
904
- * @operationId publishRobotControllersState
905
- */
906
- "nova.v2.cells.{cell}.controllers.{controller}.state": RobotControllerState
907
- /**
908
- * Description of Motion Group
909
- *
910
- * Publishes the description of a motion group, including TCPs, mounting, safety zones, limits, etc.
911
- *
912
- * @operationId publishMotionGroupDescription
913
- */
914
- "nova.v2.cells.{cell}.controllers.{controller}.motion-groups.{motion-group}.description": MotionGroupDescription
915
- /**
916
- * System Update Started
917
- *
918
- * Publishes an event when a system update process is initiated.
919
- *
920
- * This event is triggered once the service-manager begins a system update process,
921
- * providing details about the update metadata, trigger information, and pre-update checks.
922
- *
923
- * The event follows CloudEvents v1.0 specification and is persisted in NATS JetStream
924
- * for reliable delivery and event replay capabilities.
925
- *
926
- * @operationId eventSystemUpdateStarted
927
- */
928
- "nova.v2.events.system.update.started": SystemUpdateStartedEvent
929
- /**
930
- * System Update Completed
931
- *
932
- * Publishes an event when a system update process is completed.
933
- *
934
- * This event is triggered once the service-manager completes a system update process,
935
- * providing comprehensive results including success status, component outcomes,
936
- * error details, and post-update validation results.
937
- *
938
- * The event follows CloudEvents v1.0 specification and is persisted in NATS JetStream
939
- * for reliable delivery and event replay capabilities.
940
- *
941
- * @operationId eventSystemUpdateCompleted
942
- */
943
- "nova.v2.events.system.update.completed": SystemUpdateCompletedEvent
944
- /**
945
- * System Network Status Changed
946
- *
947
- * Publishes an event when a system network status changes.
948
- *
949
- * This event is triggered once system-info service detects a change in the system network status,
950
- * providing details about the new network state and related information.
951
- *
952
- * The event follows CloudEvents v1.0 specification and is persisted in NATS JetStream
953
- * for reliable delivery and event replay capabilities.
954
- *
955
- * @operationId eventSystemNetworkStatusChanged
956
- */
957
- "nova.v2.events.system.network.status.changed": NetworkStatusChangedEvent
958
- /**
959
- * Cell Created
960
- *
961
- * Publishes an event when a cell foundation release is created.
962
- *
963
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
964
- *
965
- * @operationId eventCellCreated
966
- */
967
- "nova.v2.events.cells.{cell}.created": CellCreatedEvent
968
- /**
969
- * Cell Updated
970
- *
971
- * Publishes an event when a cell foundation release is updated.
972
- *
973
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
974
- *
975
- * @operationId eventCellUpdated
976
- */
977
- "nova.v2.events.cells.{cell}.updated": CellUpdatedEvent
978
- /**
979
- * Cell Deleted
980
- *
981
- * Publishes an event when a cell foundation release is deleted.
982
- *
983
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
984
- *
985
- * @operationId eventCellDeleted
986
- */
987
- "nova.v2.events.cells.{cell}.deleted": CellDeletedEvent
988
- /**
989
- * App Created
990
- *
991
- * Publishes an event when an app release is created in a cell.
992
- *
993
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
994
- *
995
- * @operationId eventAppCreated
996
- */
997
- "nova.v2.events.cells.{cell}.apps.{app}.created": AppCreatedEvent
998
- /**
999
- * App Updated
1000
- *
1001
- * Publishes an event when an app release is updated in a cell.
1002
- *
1003
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
1004
- *
1005
- * @operationId eventAppUpdated
1006
- */
1007
- "nova.v2.events.cells.{cell}.apps.{app}.updated": AppUpdatedEvent
1008
- /**
1009
- * App Deleted
1010
- *
1011
- * Publishes an event when an app release is deleted from a cell.
1012
- *
1013
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
1014
- *
1015
- * @operationId eventAppDeleted
1016
- */
1017
- "nova.v2.events.cells.{cell}.apps.{app}.deleted": AppDeletedEvent
1018
- /**
1019
- * Robot Controller Created
1020
- *
1021
- * Publishes an event when a robot controller release is created in a cell.
1022
- *
1023
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
1024
- *
1025
- * @operationId eventRobotControllerCreated
1026
- */
1027
- "nova.v2.events.cells.{cell}.controllers.{controller}.created": RobotControllerCreatedEvent
1028
- /**
1029
- * Robot Controller Updated
1030
- *
1031
- * Publishes an event when a robot controller release is updated in a cell.
1032
- *
1033
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
1034
- *
1035
- * @operationId eventRobotControllerUpdated
1036
- */
1037
- "nova.v2.events.cells.{cell}.controllers.{controller}.updated": RobotControllerUpdatedEvent
1038
- /**
1039
- * Robot Controller Deleted
1040
- *
1041
- * Publishes an event when a robot controller release is deleted from a cell.
1042
- *
1043
- * The event follows CloudEvents v1.0 and is persisted in NATS JetStream for reliable delivery and replay capabilities.
1044
- *
1045
- * @operationId eventRobotControllerDeleted
1046
- */
1047
- "nova.v2.events.cells.{cell}.controllers.{controller}.deleted": RobotControllerDeletedEvent
1048
- }
1049
-
1050
- export type NatsPublishSubject = keyof NatsPublishPayloads