@resconet/qp-bridge 1.3.2-alpha.3 → 1.4.0-alpha.5

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.
@@ -8,30 +8,37 @@ export declare const QP_BRIDGE_FEATURE_VERSION = 1;
8
8
  export declare const qpBridgeBaseMessageSchema: z.ZodObject<{
9
9
  type: z.ZodLiteral<"qp-bridge">;
10
10
  id: z.ZodOptional<z.ZodString>;
11
+ instanceId: z.ZodOptional<z.ZodString>;
11
12
  }, "strip", z.ZodTypeAny, {
12
13
  type: "qp-bridge";
13
14
  id?: string | undefined;
15
+ instanceId?: string | undefined;
14
16
  }, {
15
17
  type: "qp-bridge";
16
18
  id?: string | undefined;
19
+ instanceId?: string | undefined;
17
20
  }>;
18
21
  export declare const qpBridgeRequestMessageSchema: z.ZodObject<{
19
22
  type: z.ZodLiteral<"qp-bridge">;
20
23
  id: z.ZodOptional<z.ZodString>;
24
+ instanceId: z.ZodOptional<z.ZodString>;
21
25
  } & {
22
26
  featureVersion: z.ZodOptional<z.ZodNumber>;
23
27
  }, "strip", z.ZodTypeAny, {
24
28
  type: "qp-bridge";
25
29
  id?: string | undefined;
30
+ instanceId?: string | undefined;
26
31
  featureVersion?: number | undefined;
27
32
  }, {
28
33
  type: "qp-bridge";
29
34
  id?: string | undefined;
35
+ instanceId?: string | undefined;
30
36
  featureVersion?: number | undefined;
31
37
  }>;
32
38
  export declare const onAnswerChangeMessageSchema: z.ZodObject<{
33
39
  type: z.ZodLiteral<"qp-bridge">;
34
40
  id: z.ZodOptional<z.ZodString>;
41
+ instanceId: z.ZodOptional<z.ZodString>;
35
42
  } & {
36
43
  status: z.ZodLiteral<"answerChanged">;
37
44
  question: z.ZodString;
@@ -41,17 +48,20 @@ export declare const onAnswerChangeMessageSchema: z.ZodObject<{
41
48
  status: "answerChanged";
42
49
  question: string;
43
50
  id?: string | undefined;
51
+ instanceId?: string | undefined;
44
52
  answer?: unknown;
45
53
  }, {
46
54
  type: "qp-bridge";
47
55
  status: "answerChanged";
48
56
  question: string;
49
57
  id?: string | undefined;
58
+ instanceId?: string | undefined;
50
59
  answer?: unknown;
51
60
  }>;
52
61
  export declare const commandExecutedMessageSchema: z.ZodObject<{
53
62
  type: z.ZodLiteral<"qp-bridge">;
54
63
  id: z.ZodOptional<z.ZodString>;
64
+ instanceId: z.ZodOptional<z.ZodString>;
55
65
  } & {
56
66
  action: z.ZodLiteral<"commandExecuted">;
57
67
  commandName: z.ZodString;
@@ -60,43 +70,52 @@ export declare const commandExecutedMessageSchema: z.ZodObject<{
60
70
  action: "commandExecuted";
61
71
  commandName: string;
62
72
  id?: string | undefined;
73
+ instanceId?: string | undefined;
63
74
  }, {
64
75
  type: "qp-bridge";
65
76
  action: "commandExecuted";
66
77
  commandName: string;
67
78
  id?: string | undefined;
79
+ instanceId?: string | undefined;
68
80
  }>;
69
81
  export declare const questionnaireLoadedMessageSchema: z.ZodObject<{
70
82
  type: z.ZodLiteral<"qp-bridge">;
71
83
  id: z.ZodOptional<z.ZodString>;
84
+ instanceId: z.ZodOptional<z.ZodString>;
72
85
  } & {
73
86
  action: z.ZodLiteral<"questionnaireLoaded">;
74
87
  }, "strip", z.ZodTypeAny, {
75
88
  type: "qp-bridge";
76
89
  action: "questionnaireLoaded";
77
90
  id?: string | undefined;
91
+ instanceId?: string | undefined;
78
92
  }, {
79
93
  type: "qp-bridge";
80
94
  action: "questionnaireLoaded";
81
95
  id?: string | undefined;
96
+ instanceId?: string | undefined;
82
97
  }>;
83
98
  export declare const responseSuccessMessageSchema: z.ZodObject<{
84
99
  type: z.ZodLiteral<"qp-bridge">;
85
100
  id: z.ZodOptional<z.ZodString>;
101
+ instanceId: z.ZodOptional<z.ZodString>;
86
102
  } & {
87
103
  status: z.ZodLiteral<"success">;
88
104
  }, "strip", z.ZodTypeAny, {
89
105
  type: "qp-bridge";
90
106
  status: "success";
91
107
  id?: string | undefined;
108
+ instanceId?: string | undefined;
92
109
  }, {
93
110
  type: "qp-bridge";
94
111
  status: "success";
95
112
  id?: string | undefined;
113
+ instanceId?: string | undefined;
96
114
  }>;
97
115
  export declare const responseErrorMessageSchema: z.ZodObject<{
98
116
  type: z.ZodLiteral<"qp-bridge">;
99
117
  id: z.ZodOptional<z.ZodString>;
118
+ instanceId: z.ZodOptional<z.ZodString>;
100
119
  } & {
101
120
  status: z.ZodLiteral<"error">;
102
121
  message: z.ZodString;
@@ -105,11 +124,13 @@ export declare const responseErrorMessageSchema: z.ZodObject<{
105
124
  status: "error";
106
125
  message: string;
107
126
  id?: string | undefined;
127
+ instanceId?: string | undefined;
108
128
  }, {
109
129
  type: "qp-bridge";
110
130
  status: "error";
111
131
  message: string;
112
132
  id?: string | undefined;
133
+ instanceId?: string | undefined;
113
134
  }>;
114
135
  export declare const questionSchema: z.ZodObject<{
115
136
  semanticColor: z.ZodOptional<z.ZodString>;
@@ -213,6 +234,7 @@ export declare const groupOptionalScheme: z.ZodObject<{
213
234
  export declare const getQuestionRequestMessageSchema: z.ZodObject<{
214
235
  type: z.ZodLiteral<"qp-bridge">;
215
236
  id: z.ZodOptional<z.ZodString>;
237
+ instanceId: z.ZodOptional<z.ZodString>;
216
238
  } & {
217
239
  featureVersion: z.ZodOptional<z.ZodNumber>;
218
240
  } & {
@@ -223,17 +245,20 @@ export declare const getQuestionRequestMessageSchema: z.ZodObject<{
223
245
  question: string;
224
246
  action: "getQuestion";
225
247
  id?: string | undefined;
248
+ instanceId?: string | undefined;
226
249
  featureVersion?: number | undefined;
227
250
  }, {
228
251
  type: "qp-bridge";
229
252
  question: string;
230
253
  action: "getQuestion";
231
254
  id?: string | undefined;
255
+ instanceId?: string | undefined;
232
256
  featureVersion?: number | undefined;
233
257
  }>;
234
258
  export declare const getQuestionSuccessResponseMessageSchema: z.ZodObject<{
235
259
  type: z.ZodLiteral<"qp-bridge">;
236
260
  id: z.ZodOptional<z.ZodString>;
261
+ instanceId: z.ZodOptional<z.ZodString>;
237
262
  } & {
238
263
  status: z.ZodLiteral<"success">;
239
264
  } & {
@@ -279,6 +304,7 @@ export declare const getQuestionSuccessResponseMessageSchema: z.ZodObject<{
279
304
  errorMessage?: string | undefined;
280
305
  };
281
306
  id?: string | undefined;
307
+ instanceId?: string | undefined;
282
308
  }, {
283
309
  type: "qp-bridge";
284
310
  status: "success";
@@ -293,10 +319,12 @@ export declare const getQuestionSuccessResponseMessageSchema: z.ZodObject<{
293
319
  errorMessage?: string | undefined;
294
320
  };
295
321
  id?: string | undefined;
322
+ instanceId?: string | undefined;
296
323
  }>;
297
324
  export declare const setQuestionRequestMessageSchema: z.ZodObject<{
298
325
  type: z.ZodLiteral<"qp-bridge">;
299
326
  id: z.ZodOptional<z.ZodString>;
327
+ instanceId: z.ZodOptional<z.ZodString>;
300
328
  } & {
301
329
  featureVersion: z.ZodOptional<z.ZodNumber>;
302
330
  } & {
@@ -345,6 +373,7 @@ export declare const setQuestionRequestMessageSchema: z.ZodObject<{
345
373
  errorMessage?: string | undefined;
346
374
  };
347
375
  id?: string | undefined;
376
+ instanceId?: string | undefined;
348
377
  featureVersion?: number | undefined;
349
378
  }, {
350
379
  type: "qp-bridge";
@@ -361,11 +390,13 @@ export declare const setQuestionRequestMessageSchema: z.ZodObject<{
361
390
  errorMessage?: string | undefined;
362
391
  };
363
392
  id?: string | undefined;
393
+ instanceId?: string | undefined;
364
394
  featureVersion?: number | undefined;
365
395
  }>;
366
396
  export declare const getGroupRequestMessageSchema: z.ZodObject<{
367
397
  type: z.ZodLiteral<"qp-bridge">;
368
398
  id: z.ZodOptional<z.ZodString>;
399
+ instanceId: z.ZodOptional<z.ZodString>;
369
400
  } & {
370
401
  featureVersion: z.ZodOptional<z.ZodNumber>;
371
402
  } & {
@@ -376,17 +407,20 @@ export declare const getGroupRequestMessageSchema: z.ZodObject<{
376
407
  action: "getGroup";
377
408
  group: string;
378
409
  id?: string | undefined;
410
+ instanceId?: string | undefined;
379
411
  featureVersion?: number | undefined;
380
412
  }, {
381
413
  type: "qp-bridge";
382
414
  action: "getGroup";
383
415
  group: string;
384
416
  id?: string | undefined;
417
+ instanceId?: string | undefined;
385
418
  featureVersion?: number | undefined;
386
419
  }>;
387
420
  export declare const getGroupSuccessResponseMessageSchema: z.ZodObject<{
388
421
  type: z.ZodLiteral<"qp-bridge">;
389
422
  id: z.ZodOptional<z.ZodString>;
423
+ instanceId: z.ZodOptional<z.ZodString>;
390
424
  } & {
391
425
  status: z.ZodLiteral<"success">;
392
426
  } & {
@@ -412,6 +446,7 @@ export declare const getGroupSuccessResponseMessageSchema: z.ZodObject<{
412
446
  collapsed: boolean;
413
447
  };
414
448
  id?: string | undefined;
449
+ instanceId?: string | undefined;
415
450
  }, {
416
451
  type: "qp-bridge";
417
452
  status: "success";
@@ -421,10 +456,12 @@ export declare const getGroupSuccessResponseMessageSchema: z.ZodObject<{
421
456
  collapsed: boolean;
422
457
  };
423
458
  id?: string | undefined;
459
+ instanceId?: string | undefined;
424
460
  }>;
425
461
  export declare const canSaveSuccessResponseMessageSchema: z.ZodObject<{
426
462
  type: z.ZodLiteral<"qp-bridge">;
427
463
  id: z.ZodOptional<z.ZodString>;
464
+ instanceId: z.ZodOptional<z.ZodString>;
428
465
  } & {
429
466
  status: z.ZodLiteral<"success">;
430
467
  } & {
@@ -434,15 +471,18 @@ export declare const canSaveSuccessResponseMessageSchema: z.ZodObject<{
434
471
  status: "success";
435
472
  canSave: boolean;
436
473
  id?: string | undefined;
474
+ instanceId?: string | undefined;
437
475
  }, {
438
476
  type: "qp-bridge";
439
477
  status: "success";
440
478
  canSave: boolean;
441
479
  id?: string | undefined;
480
+ instanceId?: string | undefined;
442
481
  }>;
443
482
  export declare const canSaveRequestMessageSchema: z.ZodObject<{
444
483
  type: z.ZodLiteral<"qp-bridge">;
445
484
  id: z.ZodOptional<z.ZodString>;
485
+ instanceId: z.ZodOptional<z.ZodString>;
446
486
  } & {
447
487
  featureVersion: z.ZodOptional<z.ZodNumber>;
448
488
  } & {
@@ -451,16 +491,19 @@ export declare const canSaveRequestMessageSchema: z.ZodObject<{
451
491
  type: "qp-bridge";
452
492
  action: "canSave";
453
493
  id?: string | undefined;
494
+ instanceId?: string | undefined;
454
495
  featureVersion?: number | undefined;
455
496
  }, {
456
497
  type: "qp-bridge";
457
498
  action: "canSave";
458
499
  id?: string | undefined;
500
+ instanceId?: string | undefined;
459
501
  featureVersion?: number | undefined;
460
502
  }>;
461
503
  export declare const setGroupRequestMessageSchema: z.ZodObject<{
462
504
  type: z.ZodLiteral<"qp-bridge">;
463
505
  id: z.ZodOptional<z.ZodString>;
506
+ instanceId: z.ZodOptional<z.ZodString>;
464
507
  } & {
465
508
  featureVersion: z.ZodOptional<z.ZodNumber>;
466
509
  } & {
@@ -489,6 +532,7 @@ export declare const setGroupRequestMessageSchema: z.ZodObject<{
489
532
  collapsed?: boolean | undefined;
490
533
  };
491
534
  id?: string | undefined;
535
+ instanceId?: string | undefined;
492
536
  featureVersion?: number | undefined;
493
537
  }, {
494
538
  type: "qp-bridge";
@@ -500,11 +544,13 @@ export declare const setGroupRequestMessageSchema: z.ZodObject<{
500
544
  collapsed?: boolean | undefined;
501
545
  };
502
546
  id?: string | undefined;
547
+ instanceId?: string | undefined;
503
548
  featureVersion?: number | undefined;
504
549
  }>;
505
550
  export declare const setAnswerRequestMessageSchema: z.ZodObject<{
506
551
  type: z.ZodLiteral<"qp-bridge">;
507
552
  id: z.ZodOptional<z.ZodString>;
553
+ instanceId: z.ZodOptional<z.ZodString>;
508
554
  } & {
509
555
  featureVersion: z.ZodOptional<z.ZodNumber>;
510
556
  } & {
@@ -516,6 +562,7 @@ export declare const setAnswerRequestMessageSchema: z.ZodObject<{
516
562
  question: string;
517
563
  action: "setAnswer";
518
564
  id?: string | undefined;
565
+ instanceId?: string | undefined;
519
566
  featureVersion?: number | undefined;
520
567
  answer?: unknown;
521
568
  }, {
@@ -523,12 +570,14 @@ export declare const setAnswerRequestMessageSchema: z.ZodObject<{
523
570
  question: string;
524
571
  action: "setAnswer";
525
572
  id?: string | undefined;
573
+ instanceId?: string | undefined;
526
574
  featureVersion?: number | undefined;
527
575
  answer?: unknown;
528
576
  }>;
529
577
  export declare const busyIndicatorStartRequestMessageSchema: z.ZodObject<{
530
578
  type: z.ZodLiteral<"qp-bridge">;
531
579
  id: z.ZodOptional<z.ZodString>;
580
+ instanceId: z.ZodOptional<z.ZodString>;
532
581
  } & {
533
582
  featureVersion: z.ZodOptional<z.ZodNumber>;
534
583
  } & {
@@ -537,16 +586,19 @@ export declare const busyIndicatorStartRequestMessageSchema: z.ZodObject<{
537
586
  type: "qp-bridge";
538
587
  action: "busyIndicatorStart";
539
588
  id?: string | undefined;
589
+ instanceId?: string | undefined;
540
590
  featureVersion?: number | undefined;
541
591
  }, {
542
592
  type: "qp-bridge";
543
593
  action: "busyIndicatorStart";
544
594
  id?: string | undefined;
595
+ instanceId?: string | undefined;
545
596
  featureVersion?: number | undefined;
546
597
  }>;
547
598
  export declare const busyIndicatorEndRequestMessageSchema: z.ZodObject<{
548
599
  type: z.ZodLiteral<"qp-bridge">;
549
600
  id: z.ZodOptional<z.ZodString>;
601
+ instanceId: z.ZodOptional<z.ZodString>;
550
602
  } & {
551
603
  featureVersion: z.ZodOptional<z.ZodNumber>;
552
604
  } & {
@@ -555,16 +607,19 @@ export declare const busyIndicatorEndRequestMessageSchema: z.ZodObject<{
555
607
  type: "qp-bridge";
556
608
  action: "busyIndicatorEnd";
557
609
  id?: string | undefined;
610
+ instanceId?: string | undefined;
558
611
  featureVersion?: number | undefined;
559
612
  }, {
560
613
  type: "qp-bridge";
561
614
  action: "busyIndicatorEnd";
562
615
  id?: string | undefined;
616
+ instanceId?: string | undefined;
563
617
  featureVersion?: number | undefined;
564
618
  }>;
565
619
  export declare const saveQuestionnaireRequestMessageSchema: z.ZodObject<{
566
620
  type: z.ZodLiteral<"qp-bridge">;
567
621
  id: z.ZodOptional<z.ZodString>;
622
+ instanceId: z.ZodOptional<z.ZodString>;
568
623
  } & {
569
624
  featureVersion: z.ZodOptional<z.ZodNumber>;
570
625
  } & {
@@ -573,16 +628,19 @@ export declare const saveQuestionnaireRequestMessageSchema: z.ZodObject<{
573
628
  type: "qp-bridge";
574
629
  action: "saveQuestionnaire";
575
630
  id?: string | undefined;
631
+ instanceId?: string | undefined;
576
632
  featureVersion?: number | undefined;
577
633
  }, {
578
634
  type: "qp-bridge";
579
635
  action: "saveQuestionnaire";
580
636
  id?: string | undefined;
637
+ instanceId?: string | undefined;
581
638
  featureVersion?: number | undefined;
582
639
  }>;
583
640
  export declare const completeAndCloseQuestionnaireRequestMessageSchema: z.ZodObject<{
584
641
  type: z.ZodLiteral<"qp-bridge">;
585
642
  id: z.ZodOptional<z.ZodString>;
643
+ instanceId: z.ZodOptional<z.ZodString>;
586
644
  } & {
587
645
  featureVersion: z.ZodOptional<z.ZodNumber>;
588
646
  } & {
@@ -591,16 +649,19 @@ export declare const completeAndCloseQuestionnaireRequestMessageSchema: z.ZodObj
591
649
  type: "qp-bridge";
592
650
  action: "completeAndCloseQuestionnaire";
593
651
  id?: string | undefined;
652
+ instanceId?: string | undefined;
594
653
  featureVersion?: number | undefined;
595
654
  }, {
596
655
  type: "qp-bridge";
597
656
  action: "completeAndCloseQuestionnaire";
598
657
  id?: string | undefined;
658
+ instanceId?: string | undefined;
599
659
  featureVersion?: number | undefined;
600
660
  }>;
601
661
  export declare const executeCustomCommandRequestMessageSchema: z.ZodObject<{
602
662
  type: z.ZodLiteral<"qp-bridge">;
603
663
  id: z.ZodOptional<z.ZodString>;
664
+ instanceId: z.ZodOptional<z.ZodString>;
604
665
  } & {
605
666
  featureVersion: z.ZodOptional<z.ZodNumber>;
606
667
  } & {
@@ -611,17 +672,20 @@ export declare const executeCustomCommandRequestMessageSchema: z.ZodObject<{
611
672
  action: "executeCustomCommand";
612
673
  commandName: string;
613
674
  id?: string | undefined;
675
+ instanceId?: string | undefined;
614
676
  featureVersion?: number | undefined;
615
677
  }, {
616
678
  type: "qp-bridge";
617
679
  action: "executeCustomCommand";
618
680
  commandName: string;
619
681
  id?: string | undefined;
682
+ instanceId?: string | undefined;
620
683
  featureVersion?: number | undefined;
621
684
  }>;
622
685
  export declare const fetchEntitiesRequestMessageSchema: z.ZodObject<{
623
686
  type: z.ZodLiteral<"qp-bridge">;
624
687
  id: z.ZodOptional<z.ZodString>;
688
+ instanceId: z.ZodOptional<z.ZodString>;
625
689
  } & {
626
690
  featureVersion: z.ZodOptional<z.ZodNumber>;
627
691
  } & {
@@ -632,17 +696,20 @@ export declare const fetchEntitiesRequestMessageSchema: z.ZodObject<{
632
696
  action: "fetchEntities";
633
697
  fetchXml: string;
634
698
  id?: string | undefined;
699
+ instanceId?: string | undefined;
635
700
  featureVersion?: number | undefined;
636
701
  }, {
637
702
  type: "qp-bridge";
638
703
  action: "fetchEntities";
639
704
  fetchXml: string;
640
705
  id?: string | undefined;
706
+ instanceId?: string | undefined;
641
707
  featureVersion?: number | undefined;
642
708
  }>;
643
709
  export declare const fetchEntitiesSuccessResponseMessageSchema: z.ZodObject<{
644
710
  type: z.ZodLiteral<"qp-bridge">;
645
711
  id: z.ZodOptional<z.ZodString>;
712
+ instanceId: z.ZodOptional<z.ZodString>;
646
713
  } & {
647
714
  status: z.ZodLiteral<"success">;
648
715
  } & {
@@ -652,15 +719,18 @@ export declare const fetchEntitiesSuccessResponseMessageSchema: z.ZodObject<{
652
719
  status: "success";
653
720
  entities: Record<string, unknown>[];
654
721
  id?: string | undefined;
722
+ instanceId?: string | undefined;
655
723
  }, {
656
724
  type: "qp-bridge";
657
725
  status: "success";
658
726
  entities: Record<string, unknown>[];
659
727
  id?: string | undefined;
728
+ instanceId?: string | undefined;
660
729
  }>;
661
730
  export declare const getEntityByIdRequestMessageSchema: z.ZodObject<{
662
731
  type: z.ZodLiteral<"qp-bridge">;
663
732
  id: z.ZodOptional<z.ZodString>;
733
+ instanceId: z.ZodOptional<z.ZodString>;
664
734
  } & {
665
735
  featureVersion: z.ZodOptional<z.ZodNumber>;
666
736
  } & {
@@ -673,6 +743,7 @@ export declare const getEntityByIdRequestMessageSchema: z.ZodObject<{
673
743
  entityName: string;
674
744
  entityId: string;
675
745
  id?: string | undefined;
746
+ instanceId?: string | undefined;
676
747
  featureVersion?: number | undefined;
677
748
  }, {
678
749
  type: "qp-bridge";
@@ -680,11 +751,13 @@ export declare const getEntityByIdRequestMessageSchema: z.ZodObject<{
680
751
  entityName: string;
681
752
  entityId: string;
682
753
  id?: string | undefined;
754
+ instanceId?: string | undefined;
683
755
  featureVersion?: number | undefined;
684
756
  }>;
685
757
  export declare const getEntityByIdSuccessResponseMessageSchema: z.ZodObject<{
686
758
  type: z.ZodLiteral<"qp-bridge">;
687
759
  id: z.ZodOptional<z.ZodString>;
760
+ instanceId: z.ZodOptional<z.ZodString>;
688
761
  } & {
689
762
  status: z.ZodLiteral<"success">;
690
763
  } & {
@@ -694,15 +767,18 @@ export declare const getEntityByIdSuccessResponseMessageSchema: z.ZodObject<{
694
767
  status: "success";
695
768
  entity: Record<string, unknown>;
696
769
  id?: string | undefined;
770
+ instanceId?: string | undefined;
697
771
  }, {
698
772
  type: "qp-bridge";
699
773
  status: "success";
700
774
  entity: Record<string, unknown>;
701
775
  id?: string | undefined;
776
+ instanceId?: string | undefined;
702
777
  }>;
703
778
  export declare const saveEntityRequestMessageSchema: z.ZodObject<{
704
779
  type: z.ZodLiteral<"qp-bridge">;
705
780
  id: z.ZodOptional<z.ZodString>;
781
+ instanceId: z.ZodOptional<z.ZodString>;
706
782
  } & {
707
783
  featureVersion: z.ZodOptional<z.ZodNumber>;
708
784
  } & {
@@ -713,17 +789,20 @@ export declare const saveEntityRequestMessageSchema: z.ZodObject<{
713
789
  action: "saveEntity";
714
790
  entity: Record<string, unknown>;
715
791
  id?: string | undefined;
792
+ instanceId?: string | undefined;
716
793
  featureVersion?: number | undefined;
717
794
  }, {
718
795
  type: "qp-bridge";
719
796
  action: "saveEntity";
720
797
  entity: Record<string, unknown>;
721
798
  id?: string | undefined;
799
+ instanceId?: string | undefined;
722
800
  featureVersion?: number | undefined;
723
801
  }>;
724
802
  export declare const repeatGroupRequestMessageSchema: z.ZodObject<{
725
803
  type: z.ZodLiteral<"qp-bridge">;
726
804
  id: z.ZodOptional<z.ZodString>;
805
+ instanceId: z.ZodOptional<z.ZodString>;
727
806
  } & {
728
807
  featureVersion: z.ZodOptional<z.ZodNumber>;
729
808
  } & {
@@ -736,6 +815,7 @@ export declare const repeatGroupRequestMessageSchema: z.ZodObject<{
736
815
  parentGroupName: string;
737
816
  groupIndex: number;
738
817
  id?: string | undefined;
818
+ instanceId?: string | undefined;
739
819
  featureVersion?: number | undefined;
740
820
  }, {
741
821
  type: "qp-bridge";
@@ -743,11 +823,13 @@ export declare const repeatGroupRequestMessageSchema: z.ZodObject<{
743
823
  parentGroupName: string;
744
824
  groupIndex: number;
745
825
  id?: string | undefined;
826
+ instanceId?: string | undefined;
746
827
  featureVersion?: number | undefined;
747
828
  }>;
748
829
  export declare const addNewGroupRequestMessageSchema: z.ZodObject<{
749
830
  type: z.ZodLiteral<"qp-bridge">;
750
831
  id: z.ZodOptional<z.ZodString>;
832
+ instanceId: z.ZodOptional<z.ZodString>;
751
833
  } & {
752
834
  featureVersion: z.ZodOptional<z.ZodNumber>;
753
835
  } & {
@@ -758,17 +840,20 @@ export declare const addNewGroupRequestMessageSchema: z.ZodObject<{
758
840
  action: "addNewGroup";
759
841
  groupName: string;
760
842
  id?: string | undefined;
843
+ instanceId?: string | undefined;
761
844
  featureVersion?: number | undefined;
762
845
  }, {
763
846
  type: "qp-bridge";
764
847
  action: "addNewGroup";
765
848
  groupName: string;
766
849
  id?: string | undefined;
850
+ instanceId?: string | undefined;
767
851
  featureVersion?: number | undefined;
768
852
  }>;
769
853
  export declare const deleteGroupRequestMessageSchema: z.ZodObject<{
770
854
  type: z.ZodLiteral<"qp-bridge">;
771
855
  id: z.ZodOptional<z.ZodString>;
856
+ instanceId: z.ZodOptional<z.ZodString>;
772
857
  } & {
773
858
  featureVersion: z.ZodOptional<z.ZodNumber>;
774
859
  } & {
@@ -781,6 +866,7 @@ export declare const deleteGroupRequestMessageSchema: z.ZodObject<{
781
866
  parentGroupName: string;
782
867
  groupIndex: number;
783
868
  id?: string | undefined;
869
+ instanceId?: string | undefined;
784
870
  featureVersion?: number | undefined;
785
871
  }, {
786
872
  type: "qp-bridge";
@@ -788,6 +874,7 @@ export declare const deleteGroupRequestMessageSchema: z.ZodObject<{
788
874
  parentGroupName: string;
789
875
  groupIndex: number;
790
876
  id?: string | undefined;
877
+ instanceId?: string | undefined;
791
878
  featureVersion?: number | undefined;
792
879
  }>;
793
880
  export type QpBridgeBaseMessage = z.infer<typeof qpBridgeBaseMessageSchema>;
@@ -849,7 +936,7 @@ export declare function isSaveQuestionnaireRequestMessage(data: unknown): data i
849
936
  export declare function isCompleteAndCloseQuestionnaireRequestMessage(data: unknown): data is CompleteAndCloseQuestionnaireRequestMessage;
850
937
  export declare function isExecuteCustomCommandRequestMessage(data: unknown): data is ExecuteCustomCommandRequestMessage;
851
938
  export declare function isWithBusyIndicatorRequestMessage(data: unknown): data is WithBusyIndicatorRequestMessage;
852
- export declare function isNotRelevantMessage(data: unknown, id: string): boolean;
939
+ export declare function isNotRelevantMessage(data: unknown, id: string, instanceId?: string): boolean;
853
940
  export declare function isFetchEntitiesRequestMessage(data: unknown): data is FetchEntitiesRequestMessage;
854
941
  export declare function isFetchEntitiesSuccessResponseMessage(data: unknown): data is FetchEntitiesSuccessResponseMessage;
855
942
  export declare function isGetEntityByIdRequestMessage(data: unknown): data is GetEntityByIdRequestMessage;