@epilot/integration-toolkit-client 1.1.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/openapi.d.ts CHANGED
@@ -225,6 +225,1027 @@ declare namespace Components {
225
225
  */
226
226
  source_ip?: string;
227
227
  }
228
+ export interface AckOutboundMessagesRequest {
229
+ acks: [
230
+ {
231
+ /**
232
+ * The message id (msg_…) to acknowledge
233
+ */
234
+ id: string;
235
+ /**
236
+ * The lease token (lt_…) returned by the poll that leased this message
237
+ */
238
+ lease_token: string;
239
+ },
240
+ {
241
+ /**
242
+ * The message id (msg_…) to acknowledge
243
+ */
244
+ id: string;
245
+ /**
246
+ * The lease token (lt_…) returned by the poll that leased this message
247
+ */
248
+ lease_token: string;
249
+ }?,
250
+ {
251
+ /**
252
+ * The message id (msg_…) to acknowledge
253
+ */
254
+ id: string;
255
+ /**
256
+ * The lease token (lt_…) returned by the poll that leased this message
257
+ */
258
+ lease_token: string;
259
+ }?,
260
+ {
261
+ /**
262
+ * The message id (msg_…) to acknowledge
263
+ */
264
+ id: string;
265
+ /**
266
+ * The lease token (lt_…) returned by the poll that leased this message
267
+ */
268
+ lease_token: string;
269
+ }?,
270
+ {
271
+ /**
272
+ * The message id (msg_…) to acknowledge
273
+ */
274
+ id: string;
275
+ /**
276
+ * The lease token (lt_…) returned by the poll that leased this message
277
+ */
278
+ lease_token: string;
279
+ }?,
280
+ {
281
+ /**
282
+ * The message id (msg_…) to acknowledge
283
+ */
284
+ id: string;
285
+ /**
286
+ * The lease token (lt_…) returned by the poll that leased this message
287
+ */
288
+ lease_token: string;
289
+ }?,
290
+ {
291
+ /**
292
+ * The message id (msg_…) to acknowledge
293
+ */
294
+ id: string;
295
+ /**
296
+ * The lease token (lt_…) returned by the poll that leased this message
297
+ */
298
+ lease_token: string;
299
+ }?,
300
+ {
301
+ /**
302
+ * The message id (msg_…) to acknowledge
303
+ */
304
+ id: string;
305
+ /**
306
+ * The lease token (lt_…) returned by the poll that leased this message
307
+ */
308
+ lease_token: string;
309
+ }?,
310
+ {
311
+ /**
312
+ * The message id (msg_…) to acknowledge
313
+ */
314
+ id: string;
315
+ /**
316
+ * The lease token (lt_…) returned by the poll that leased this message
317
+ */
318
+ lease_token: string;
319
+ }?,
320
+ {
321
+ /**
322
+ * The message id (msg_…) to acknowledge
323
+ */
324
+ id: string;
325
+ /**
326
+ * The lease token (lt_…) returned by the poll that leased this message
327
+ */
328
+ lease_token: string;
329
+ }?,
330
+ {
331
+ /**
332
+ * The message id (msg_…) to acknowledge
333
+ */
334
+ id: string;
335
+ /**
336
+ * The lease token (lt_…) returned by the poll that leased this message
337
+ */
338
+ lease_token: string;
339
+ }?,
340
+ {
341
+ /**
342
+ * The message id (msg_…) to acknowledge
343
+ */
344
+ id: string;
345
+ /**
346
+ * The lease token (lt_…) returned by the poll that leased this message
347
+ */
348
+ lease_token: string;
349
+ }?,
350
+ {
351
+ /**
352
+ * The message id (msg_…) to acknowledge
353
+ */
354
+ id: string;
355
+ /**
356
+ * The lease token (lt_…) returned by the poll that leased this message
357
+ */
358
+ lease_token: string;
359
+ }?,
360
+ {
361
+ /**
362
+ * The message id (msg_…) to acknowledge
363
+ */
364
+ id: string;
365
+ /**
366
+ * The lease token (lt_…) returned by the poll that leased this message
367
+ */
368
+ lease_token: string;
369
+ }?,
370
+ {
371
+ /**
372
+ * The message id (msg_…) to acknowledge
373
+ */
374
+ id: string;
375
+ /**
376
+ * The lease token (lt_…) returned by the poll that leased this message
377
+ */
378
+ lease_token: string;
379
+ }?,
380
+ {
381
+ /**
382
+ * The message id (msg_…) to acknowledge
383
+ */
384
+ id: string;
385
+ /**
386
+ * The lease token (lt_…) returned by the poll that leased this message
387
+ */
388
+ lease_token: string;
389
+ }?,
390
+ {
391
+ /**
392
+ * The message id (msg_…) to acknowledge
393
+ */
394
+ id: string;
395
+ /**
396
+ * The lease token (lt_…) returned by the poll that leased this message
397
+ */
398
+ lease_token: string;
399
+ }?,
400
+ {
401
+ /**
402
+ * The message id (msg_…) to acknowledge
403
+ */
404
+ id: string;
405
+ /**
406
+ * The lease token (lt_…) returned by the poll that leased this message
407
+ */
408
+ lease_token: string;
409
+ }?,
410
+ {
411
+ /**
412
+ * The message id (msg_…) to acknowledge
413
+ */
414
+ id: string;
415
+ /**
416
+ * The lease token (lt_…) returned by the poll that leased this message
417
+ */
418
+ lease_token: string;
419
+ }?,
420
+ {
421
+ /**
422
+ * The message id (msg_…) to acknowledge
423
+ */
424
+ id: string;
425
+ /**
426
+ * The lease token (lt_…) returned by the poll that leased this message
427
+ */
428
+ lease_token: string;
429
+ }?,
430
+ {
431
+ /**
432
+ * The message id (msg_…) to acknowledge
433
+ */
434
+ id: string;
435
+ /**
436
+ * The lease token (lt_…) returned by the poll that leased this message
437
+ */
438
+ lease_token: string;
439
+ }?,
440
+ {
441
+ /**
442
+ * The message id (msg_…) to acknowledge
443
+ */
444
+ id: string;
445
+ /**
446
+ * The lease token (lt_…) returned by the poll that leased this message
447
+ */
448
+ lease_token: string;
449
+ }?,
450
+ {
451
+ /**
452
+ * The message id (msg_…) to acknowledge
453
+ */
454
+ id: string;
455
+ /**
456
+ * The lease token (lt_…) returned by the poll that leased this message
457
+ */
458
+ lease_token: string;
459
+ }?,
460
+ {
461
+ /**
462
+ * The message id (msg_…) to acknowledge
463
+ */
464
+ id: string;
465
+ /**
466
+ * The lease token (lt_…) returned by the poll that leased this message
467
+ */
468
+ lease_token: string;
469
+ }?,
470
+ {
471
+ /**
472
+ * The message id (msg_…) to acknowledge
473
+ */
474
+ id: string;
475
+ /**
476
+ * The lease token (lt_…) returned by the poll that leased this message
477
+ */
478
+ lease_token: string;
479
+ }?,
480
+ {
481
+ /**
482
+ * The message id (msg_…) to acknowledge
483
+ */
484
+ id: string;
485
+ /**
486
+ * The lease token (lt_…) returned by the poll that leased this message
487
+ */
488
+ lease_token: string;
489
+ }?,
490
+ {
491
+ /**
492
+ * The message id (msg_…) to acknowledge
493
+ */
494
+ id: string;
495
+ /**
496
+ * The lease token (lt_…) returned by the poll that leased this message
497
+ */
498
+ lease_token: string;
499
+ }?,
500
+ {
501
+ /**
502
+ * The message id (msg_…) to acknowledge
503
+ */
504
+ id: string;
505
+ /**
506
+ * The lease token (lt_…) returned by the poll that leased this message
507
+ */
508
+ lease_token: string;
509
+ }?,
510
+ {
511
+ /**
512
+ * The message id (msg_…) to acknowledge
513
+ */
514
+ id: string;
515
+ /**
516
+ * The lease token (lt_…) returned by the poll that leased this message
517
+ */
518
+ lease_token: string;
519
+ }?,
520
+ {
521
+ /**
522
+ * The message id (msg_…) to acknowledge
523
+ */
524
+ id: string;
525
+ /**
526
+ * The lease token (lt_…) returned by the poll that leased this message
527
+ */
528
+ lease_token: string;
529
+ }?,
530
+ {
531
+ /**
532
+ * The message id (msg_…) to acknowledge
533
+ */
534
+ id: string;
535
+ /**
536
+ * The lease token (lt_…) returned by the poll that leased this message
537
+ */
538
+ lease_token: string;
539
+ }?,
540
+ {
541
+ /**
542
+ * The message id (msg_…) to acknowledge
543
+ */
544
+ id: string;
545
+ /**
546
+ * The lease token (lt_…) returned by the poll that leased this message
547
+ */
548
+ lease_token: string;
549
+ }?,
550
+ {
551
+ /**
552
+ * The message id (msg_…) to acknowledge
553
+ */
554
+ id: string;
555
+ /**
556
+ * The lease token (lt_…) returned by the poll that leased this message
557
+ */
558
+ lease_token: string;
559
+ }?,
560
+ {
561
+ /**
562
+ * The message id (msg_…) to acknowledge
563
+ */
564
+ id: string;
565
+ /**
566
+ * The lease token (lt_…) returned by the poll that leased this message
567
+ */
568
+ lease_token: string;
569
+ }?,
570
+ {
571
+ /**
572
+ * The message id (msg_…) to acknowledge
573
+ */
574
+ id: string;
575
+ /**
576
+ * The lease token (lt_…) returned by the poll that leased this message
577
+ */
578
+ lease_token: string;
579
+ }?,
580
+ {
581
+ /**
582
+ * The message id (msg_…) to acknowledge
583
+ */
584
+ id: string;
585
+ /**
586
+ * The lease token (lt_…) returned by the poll that leased this message
587
+ */
588
+ lease_token: string;
589
+ }?,
590
+ {
591
+ /**
592
+ * The message id (msg_…) to acknowledge
593
+ */
594
+ id: string;
595
+ /**
596
+ * The lease token (lt_…) returned by the poll that leased this message
597
+ */
598
+ lease_token: string;
599
+ }?,
600
+ {
601
+ /**
602
+ * The message id (msg_…) to acknowledge
603
+ */
604
+ id: string;
605
+ /**
606
+ * The lease token (lt_…) returned by the poll that leased this message
607
+ */
608
+ lease_token: string;
609
+ }?,
610
+ {
611
+ /**
612
+ * The message id (msg_…) to acknowledge
613
+ */
614
+ id: string;
615
+ /**
616
+ * The lease token (lt_…) returned by the poll that leased this message
617
+ */
618
+ lease_token: string;
619
+ }?,
620
+ {
621
+ /**
622
+ * The message id (msg_…) to acknowledge
623
+ */
624
+ id: string;
625
+ /**
626
+ * The lease token (lt_…) returned by the poll that leased this message
627
+ */
628
+ lease_token: string;
629
+ }?,
630
+ {
631
+ /**
632
+ * The message id (msg_…) to acknowledge
633
+ */
634
+ id: string;
635
+ /**
636
+ * The lease token (lt_…) returned by the poll that leased this message
637
+ */
638
+ lease_token: string;
639
+ }?,
640
+ {
641
+ /**
642
+ * The message id (msg_…) to acknowledge
643
+ */
644
+ id: string;
645
+ /**
646
+ * The lease token (lt_…) returned by the poll that leased this message
647
+ */
648
+ lease_token: string;
649
+ }?,
650
+ {
651
+ /**
652
+ * The message id (msg_…) to acknowledge
653
+ */
654
+ id: string;
655
+ /**
656
+ * The lease token (lt_…) returned by the poll that leased this message
657
+ */
658
+ lease_token: string;
659
+ }?,
660
+ {
661
+ /**
662
+ * The message id (msg_…) to acknowledge
663
+ */
664
+ id: string;
665
+ /**
666
+ * The lease token (lt_…) returned by the poll that leased this message
667
+ */
668
+ lease_token: string;
669
+ }?,
670
+ {
671
+ /**
672
+ * The message id (msg_…) to acknowledge
673
+ */
674
+ id: string;
675
+ /**
676
+ * The lease token (lt_…) returned by the poll that leased this message
677
+ */
678
+ lease_token: string;
679
+ }?,
680
+ {
681
+ /**
682
+ * The message id (msg_…) to acknowledge
683
+ */
684
+ id: string;
685
+ /**
686
+ * The lease token (lt_…) returned by the poll that leased this message
687
+ */
688
+ lease_token: string;
689
+ }?,
690
+ {
691
+ /**
692
+ * The message id (msg_…) to acknowledge
693
+ */
694
+ id: string;
695
+ /**
696
+ * The lease token (lt_…) returned by the poll that leased this message
697
+ */
698
+ lease_token: string;
699
+ }?,
700
+ {
701
+ /**
702
+ * The message id (msg_…) to acknowledge
703
+ */
704
+ id: string;
705
+ /**
706
+ * The lease token (lt_…) returned by the poll that leased this message
707
+ */
708
+ lease_token: string;
709
+ }?,
710
+ {
711
+ /**
712
+ * The message id (msg_…) to acknowledge
713
+ */
714
+ id: string;
715
+ /**
716
+ * The lease token (lt_…) returned by the poll that leased this message
717
+ */
718
+ lease_token: string;
719
+ }?,
720
+ {
721
+ /**
722
+ * The message id (msg_…) to acknowledge
723
+ */
724
+ id: string;
725
+ /**
726
+ * The lease token (lt_…) returned by the poll that leased this message
727
+ */
728
+ lease_token: string;
729
+ }?,
730
+ {
731
+ /**
732
+ * The message id (msg_…) to acknowledge
733
+ */
734
+ id: string;
735
+ /**
736
+ * The lease token (lt_…) returned by the poll that leased this message
737
+ */
738
+ lease_token: string;
739
+ }?,
740
+ {
741
+ /**
742
+ * The message id (msg_…) to acknowledge
743
+ */
744
+ id: string;
745
+ /**
746
+ * The lease token (lt_…) returned by the poll that leased this message
747
+ */
748
+ lease_token: string;
749
+ }?,
750
+ {
751
+ /**
752
+ * The message id (msg_…) to acknowledge
753
+ */
754
+ id: string;
755
+ /**
756
+ * The lease token (lt_…) returned by the poll that leased this message
757
+ */
758
+ lease_token: string;
759
+ }?,
760
+ {
761
+ /**
762
+ * The message id (msg_…) to acknowledge
763
+ */
764
+ id: string;
765
+ /**
766
+ * The lease token (lt_…) returned by the poll that leased this message
767
+ */
768
+ lease_token: string;
769
+ }?,
770
+ {
771
+ /**
772
+ * The message id (msg_…) to acknowledge
773
+ */
774
+ id: string;
775
+ /**
776
+ * The lease token (lt_…) returned by the poll that leased this message
777
+ */
778
+ lease_token: string;
779
+ }?,
780
+ {
781
+ /**
782
+ * The message id (msg_…) to acknowledge
783
+ */
784
+ id: string;
785
+ /**
786
+ * The lease token (lt_…) returned by the poll that leased this message
787
+ */
788
+ lease_token: string;
789
+ }?,
790
+ {
791
+ /**
792
+ * The message id (msg_…) to acknowledge
793
+ */
794
+ id: string;
795
+ /**
796
+ * The lease token (lt_…) returned by the poll that leased this message
797
+ */
798
+ lease_token: string;
799
+ }?,
800
+ {
801
+ /**
802
+ * The message id (msg_…) to acknowledge
803
+ */
804
+ id: string;
805
+ /**
806
+ * The lease token (lt_…) returned by the poll that leased this message
807
+ */
808
+ lease_token: string;
809
+ }?,
810
+ {
811
+ /**
812
+ * The message id (msg_…) to acknowledge
813
+ */
814
+ id: string;
815
+ /**
816
+ * The lease token (lt_…) returned by the poll that leased this message
817
+ */
818
+ lease_token: string;
819
+ }?,
820
+ {
821
+ /**
822
+ * The message id (msg_…) to acknowledge
823
+ */
824
+ id: string;
825
+ /**
826
+ * The lease token (lt_…) returned by the poll that leased this message
827
+ */
828
+ lease_token: string;
829
+ }?,
830
+ {
831
+ /**
832
+ * The message id (msg_…) to acknowledge
833
+ */
834
+ id: string;
835
+ /**
836
+ * The lease token (lt_…) returned by the poll that leased this message
837
+ */
838
+ lease_token: string;
839
+ }?,
840
+ {
841
+ /**
842
+ * The message id (msg_…) to acknowledge
843
+ */
844
+ id: string;
845
+ /**
846
+ * The lease token (lt_…) returned by the poll that leased this message
847
+ */
848
+ lease_token: string;
849
+ }?,
850
+ {
851
+ /**
852
+ * The message id (msg_…) to acknowledge
853
+ */
854
+ id: string;
855
+ /**
856
+ * The lease token (lt_…) returned by the poll that leased this message
857
+ */
858
+ lease_token: string;
859
+ }?,
860
+ {
861
+ /**
862
+ * The message id (msg_…) to acknowledge
863
+ */
864
+ id: string;
865
+ /**
866
+ * The lease token (lt_…) returned by the poll that leased this message
867
+ */
868
+ lease_token: string;
869
+ }?,
870
+ {
871
+ /**
872
+ * The message id (msg_…) to acknowledge
873
+ */
874
+ id: string;
875
+ /**
876
+ * The lease token (lt_…) returned by the poll that leased this message
877
+ */
878
+ lease_token: string;
879
+ }?,
880
+ {
881
+ /**
882
+ * The message id (msg_…) to acknowledge
883
+ */
884
+ id: string;
885
+ /**
886
+ * The lease token (lt_…) returned by the poll that leased this message
887
+ */
888
+ lease_token: string;
889
+ }?,
890
+ {
891
+ /**
892
+ * The message id (msg_…) to acknowledge
893
+ */
894
+ id: string;
895
+ /**
896
+ * The lease token (lt_…) returned by the poll that leased this message
897
+ */
898
+ lease_token: string;
899
+ }?,
900
+ {
901
+ /**
902
+ * The message id (msg_…) to acknowledge
903
+ */
904
+ id: string;
905
+ /**
906
+ * The lease token (lt_…) returned by the poll that leased this message
907
+ */
908
+ lease_token: string;
909
+ }?,
910
+ {
911
+ /**
912
+ * The message id (msg_…) to acknowledge
913
+ */
914
+ id: string;
915
+ /**
916
+ * The lease token (lt_…) returned by the poll that leased this message
917
+ */
918
+ lease_token: string;
919
+ }?,
920
+ {
921
+ /**
922
+ * The message id (msg_…) to acknowledge
923
+ */
924
+ id: string;
925
+ /**
926
+ * The lease token (lt_…) returned by the poll that leased this message
927
+ */
928
+ lease_token: string;
929
+ }?,
930
+ {
931
+ /**
932
+ * The message id (msg_…) to acknowledge
933
+ */
934
+ id: string;
935
+ /**
936
+ * The lease token (lt_…) returned by the poll that leased this message
937
+ */
938
+ lease_token: string;
939
+ }?,
940
+ {
941
+ /**
942
+ * The message id (msg_…) to acknowledge
943
+ */
944
+ id: string;
945
+ /**
946
+ * The lease token (lt_…) returned by the poll that leased this message
947
+ */
948
+ lease_token: string;
949
+ }?,
950
+ {
951
+ /**
952
+ * The message id (msg_…) to acknowledge
953
+ */
954
+ id: string;
955
+ /**
956
+ * The lease token (lt_…) returned by the poll that leased this message
957
+ */
958
+ lease_token: string;
959
+ }?,
960
+ {
961
+ /**
962
+ * The message id (msg_…) to acknowledge
963
+ */
964
+ id: string;
965
+ /**
966
+ * The lease token (lt_…) returned by the poll that leased this message
967
+ */
968
+ lease_token: string;
969
+ }?,
970
+ {
971
+ /**
972
+ * The message id (msg_…) to acknowledge
973
+ */
974
+ id: string;
975
+ /**
976
+ * The lease token (lt_…) returned by the poll that leased this message
977
+ */
978
+ lease_token: string;
979
+ }?,
980
+ {
981
+ /**
982
+ * The message id (msg_…) to acknowledge
983
+ */
984
+ id: string;
985
+ /**
986
+ * The lease token (lt_…) returned by the poll that leased this message
987
+ */
988
+ lease_token: string;
989
+ }?,
990
+ {
991
+ /**
992
+ * The message id (msg_…) to acknowledge
993
+ */
994
+ id: string;
995
+ /**
996
+ * The lease token (lt_…) returned by the poll that leased this message
997
+ */
998
+ lease_token: string;
999
+ }?,
1000
+ {
1001
+ /**
1002
+ * The message id (msg_…) to acknowledge
1003
+ */
1004
+ id: string;
1005
+ /**
1006
+ * The lease token (lt_…) returned by the poll that leased this message
1007
+ */
1008
+ lease_token: string;
1009
+ }?,
1010
+ {
1011
+ /**
1012
+ * The message id (msg_…) to acknowledge
1013
+ */
1014
+ id: string;
1015
+ /**
1016
+ * The lease token (lt_…) returned by the poll that leased this message
1017
+ */
1018
+ lease_token: string;
1019
+ }?,
1020
+ {
1021
+ /**
1022
+ * The message id (msg_…) to acknowledge
1023
+ */
1024
+ id: string;
1025
+ /**
1026
+ * The lease token (lt_…) returned by the poll that leased this message
1027
+ */
1028
+ lease_token: string;
1029
+ }?,
1030
+ {
1031
+ /**
1032
+ * The message id (msg_…) to acknowledge
1033
+ */
1034
+ id: string;
1035
+ /**
1036
+ * The lease token (lt_…) returned by the poll that leased this message
1037
+ */
1038
+ lease_token: string;
1039
+ }?,
1040
+ {
1041
+ /**
1042
+ * The message id (msg_…) to acknowledge
1043
+ */
1044
+ id: string;
1045
+ /**
1046
+ * The lease token (lt_…) returned by the poll that leased this message
1047
+ */
1048
+ lease_token: string;
1049
+ }?,
1050
+ {
1051
+ /**
1052
+ * The message id (msg_…) to acknowledge
1053
+ */
1054
+ id: string;
1055
+ /**
1056
+ * The lease token (lt_…) returned by the poll that leased this message
1057
+ */
1058
+ lease_token: string;
1059
+ }?,
1060
+ {
1061
+ /**
1062
+ * The message id (msg_…) to acknowledge
1063
+ */
1064
+ id: string;
1065
+ /**
1066
+ * The lease token (lt_…) returned by the poll that leased this message
1067
+ */
1068
+ lease_token: string;
1069
+ }?,
1070
+ {
1071
+ /**
1072
+ * The message id (msg_…) to acknowledge
1073
+ */
1074
+ id: string;
1075
+ /**
1076
+ * The lease token (lt_…) returned by the poll that leased this message
1077
+ */
1078
+ lease_token: string;
1079
+ }?,
1080
+ {
1081
+ /**
1082
+ * The message id (msg_…) to acknowledge
1083
+ */
1084
+ id: string;
1085
+ /**
1086
+ * The lease token (lt_…) returned by the poll that leased this message
1087
+ */
1088
+ lease_token: string;
1089
+ }?,
1090
+ {
1091
+ /**
1092
+ * The message id (msg_…) to acknowledge
1093
+ */
1094
+ id: string;
1095
+ /**
1096
+ * The lease token (lt_…) returned by the poll that leased this message
1097
+ */
1098
+ lease_token: string;
1099
+ }?,
1100
+ {
1101
+ /**
1102
+ * The message id (msg_…) to acknowledge
1103
+ */
1104
+ id: string;
1105
+ /**
1106
+ * The lease token (lt_…) returned by the poll that leased this message
1107
+ */
1108
+ lease_token: string;
1109
+ }?,
1110
+ {
1111
+ /**
1112
+ * The message id (msg_…) to acknowledge
1113
+ */
1114
+ id: string;
1115
+ /**
1116
+ * The lease token (lt_…) returned by the poll that leased this message
1117
+ */
1118
+ lease_token: string;
1119
+ }?,
1120
+ {
1121
+ /**
1122
+ * The message id (msg_…) to acknowledge
1123
+ */
1124
+ id: string;
1125
+ /**
1126
+ * The lease token (lt_…) returned by the poll that leased this message
1127
+ */
1128
+ lease_token: string;
1129
+ }?,
1130
+ {
1131
+ /**
1132
+ * The message id (msg_…) to acknowledge
1133
+ */
1134
+ id: string;
1135
+ /**
1136
+ * The lease token (lt_…) returned by the poll that leased this message
1137
+ */
1138
+ lease_token: string;
1139
+ }?,
1140
+ {
1141
+ /**
1142
+ * The message id (msg_…) to acknowledge
1143
+ */
1144
+ id: string;
1145
+ /**
1146
+ * The lease token (lt_…) returned by the poll that leased this message
1147
+ */
1148
+ lease_token: string;
1149
+ }?,
1150
+ {
1151
+ /**
1152
+ * The message id (msg_…) to acknowledge
1153
+ */
1154
+ id: string;
1155
+ /**
1156
+ * The lease token (lt_…) returned by the poll that leased this message
1157
+ */
1158
+ lease_token: string;
1159
+ }?,
1160
+ {
1161
+ /**
1162
+ * The message id (msg_…) to acknowledge
1163
+ */
1164
+ id: string;
1165
+ /**
1166
+ * The lease token (lt_…) returned by the poll that leased this message
1167
+ */
1168
+ lease_token: string;
1169
+ }?,
1170
+ {
1171
+ /**
1172
+ * The message id (msg_…) to acknowledge
1173
+ */
1174
+ id: string;
1175
+ /**
1176
+ * The lease token (lt_…) returned by the poll that leased this message
1177
+ */
1178
+ lease_token: string;
1179
+ }?,
1180
+ {
1181
+ /**
1182
+ * The message id (msg_…) to acknowledge
1183
+ */
1184
+ id: string;
1185
+ /**
1186
+ * The lease token (lt_…) returned by the poll that leased this message
1187
+ */
1188
+ lease_token: string;
1189
+ }?,
1190
+ {
1191
+ /**
1192
+ * The message id (msg_…) to acknowledge
1193
+ */
1194
+ id: string;
1195
+ /**
1196
+ * The lease token (lt_…) returned by the poll that leased this message
1197
+ */
1198
+ lease_token: string;
1199
+ }?,
1200
+ {
1201
+ /**
1202
+ * The message id (msg_…) to acknowledge
1203
+ */
1204
+ id: string;
1205
+ /**
1206
+ * The lease token (lt_…) returned by the poll that leased this message
1207
+ */
1208
+ lease_token: string;
1209
+ }?,
1210
+ {
1211
+ /**
1212
+ * The message id (msg_…) to acknowledge
1213
+ */
1214
+ id: string;
1215
+ /**
1216
+ * The lease token (lt_…) returned by the poll that leased this message
1217
+ */
1218
+ lease_token: string;
1219
+ }?,
1220
+ {
1221
+ /**
1222
+ * The message id (msg_…) to acknowledge
1223
+ */
1224
+ id: string;
1225
+ /**
1226
+ * The lease token (lt_…) returned by the poll that leased this message
1227
+ */
1228
+ lease_token: string;
1229
+ }?
1230
+ ];
1231
+ }
1232
+ export interface AckOutboundMessagesResponse {
1233
+ /**
1234
+ * Per-id acknowledgement outcome
1235
+ */
1236
+ results: AckResult[];
1237
+ }
1238
+ export interface AckResult {
1239
+ /**
1240
+ * The acknowledged message id
1241
+ */
1242
+ id: string;
1243
+ status: "accepted" | "rejected";
1244
+ /**
1245
+ * Rejection reason — present only when status is rejected
1246
+ */
1247
+ reason?: "stale_lease" | "out_of_order" | "not_found";
1248
+ }
228
1249
  /**
229
1250
  * Auto-refresh settings for keeping integration data fresh
230
1251
  */
@@ -466,26 +1487,9 @@ declare namespace Components {
466
1487
  component_id: string; // uuid
467
1488
  }
468
1489
  /**
469
- * Configuration for how the transformed event should be delivered
1490
+ * Configuration for how the event should be delivered. webhook = push delivery via svc-webhooks (JSONata-transformed payload); poll = pull-based queue delivery where the consumer fetches items via the poll API (raw event payload)
470
1491
  */
471
- export interface DeliveryConfig {
472
- /**
473
- * Delivery mechanism type (currently only webhook is supported)
474
- */
475
- type: "webhook";
476
- /**
477
- * Reference to the webhook configuration in svc-webhooks
478
- */
479
- webhook_id: string;
480
- /**
481
- * Cached webhook name for display purposes
482
- */
483
- webhook_name?: string;
484
- /**
485
- * Cached webhook URL for display purposes
486
- */
487
- webhook_url?: string;
488
- }
1492
+ export type DeliveryConfig = /* Configuration for how the event should be delivered. webhook = push delivery via svc-webhooks (JSONata-transformed payload); poll = pull-based queue delivery where the consumer fetches items via the poll API (raw event payload) */ /* Push delivery of the transformed event to a webhook via svc-webhooks */ WebhookDeliveryConfig | /* Pull-based queue delivery. Items carry the raw standardized event-catalog payload; no JSONata mapping is applied in poll mode. Consumers fetch and acknowledge items via the poll API. */ PollDeliveryConfig;
489
1493
  export interface EmbeddedFileProxyUseCaseRequest {
490
1494
  /**
491
1495
  * Optional use case ID for update matching.
@@ -1386,6 +2390,11 @@ declare namespace Components {
1386
2390
  * Field to group the breakdown by
1387
2391
  */
1388
2392
  group_by?: "use_case_id" | "use_case_type" | "level" | "code" | "date";
2393
+ /**
2394
+ * Data source for the stats. "monitoring" (default) aggregates processed events from erp_monitoring_v2 — this counts every event produced throughout the processing tree (fan-out children, post-actions, relation resolutions, etc.). "incoming" counts only the initial inbound events actually received (distinct event_id from erp_incoming_events); only group_by=use_case_id is supported and status/level breakdown is not available for this source (success/error/warning/skipped counts are returned as 0).
2395
+ *
2396
+ */
2397
+ source?: "monitoring" | "incoming";
1389
2398
  }
1390
2399
  export interface GetMonitoringTimeSeriesRequest {
1391
2400
  /**
@@ -2488,9 +3497,11 @@ declare namespace Components {
2488
3497
  * - 'all_webhooks_disabled': All webhooks are disabled while use case is enabled
2489
3498
  * - 'event_enabled_while_disabled': Event is enabled while use case is disabled
2490
3499
  * - 'webhook_enabled_while_disabled': A webhook is enabled while use case is disabled
3500
+ * - 'stream_blocked': The outbound stream is halted by a poison message awaiting operator action or consumer ack (poll mode)
3501
+ * - 'dlq_items_present': Dead-lettered messages await redrive or expiry (poll mode)
2491
3502
  *
2492
3503
  */
2493
- type: "event_disabled" | "all_webhooks_disabled" | "event_enabled_while_disabled" | "webhook_enabled_while_disabled";
3504
+ type: "event_disabled" | "all_webhooks_disabled" | "event_enabled_while_disabled" | "webhook_enabled_while_disabled" | "stream_blocked" | "dlq_items_present";
2494
3505
  /**
2495
3506
  * Webhook ID (only present for webhook_enabled_while_disabled conflicts)
2496
3507
  */
@@ -2500,6 +3511,54 @@ declare namespace Components {
2500
3511
  */
2501
3512
  message: string;
2502
3513
  }
3514
+ export interface OutboundDlqListResponse {
3515
+ /**
3516
+ * Dead-lettered messages, oldest first
3517
+ */
3518
+ items: OutboundDlqMessage[];
3519
+ /**
3520
+ * Opaque pagination token — present when more entries exist
3521
+ */
3522
+ next_token?: string;
3523
+ }
3524
+ export interface OutboundDlqMessage {
3525
+ /**
3526
+ * Opaque message id (msg_…) of the dead-lettered message
3527
+ */
3528
+ id: string;
3529
+ /**
3530
+ * The poll-mode use case that produced this message
3531
+ */
3532
+ use_case_id: string;
3533
+ /**
3534
+ * Standardized event name (e.g. contract.updated)
3535
+ */
3536
+ event_name: string;
3537
+ /**
3538
+ * Unique id of the originating event
3539
+ */
3540
+ event_id: string;
3541
+ /**
3542
+ * When the message was originally enqueued
3543
+ */
3544
+ enqueued_at?: string; // date-time
3545
+ /**
3546
+ * When the message was dead-lettered
3547
+ */
3548
+ dead_lettered_at: string; // date-time
3549
+ /**
3550
+ * Delivery attempts at the moment the message was dead-lettered
3551
+ */
3552
+ delivery_attempts: number;
3553
+ /**
3554
+ * Why the message was dead-lettered (policy or operator reason)
3555
+ */
3556
+ reason?: string;
3557
+ /**
3558
+ * When the DLQ entry expires (retention window re-armed at dead-letter time)
3559
+ */
3560
+ expires_at?: string; // date-time
3561
+ }
2503
3562
  /**
2504
3563
  * Configuration for outbound use cases. Defines the event that triggers the flow and the webhook mappings.
2505
3564
  */
@@ -2514,12 +3573,12 @@ declare namespace Components {
2514
3573
  * List of mappings that transform and deliver the event
2515
3574
  */
2516
3575
  mappings: [
2517
- /* A mapping that transforms an event and delivers it to a webhook */ OutboundMapping,
2518
- .../* A mapping that transforms an event and delivers it to a webhook */ OutboundMapping[]
3576
+ /* A mapping that delivers an event to an external system — either pushed to a webhook (with a JSONata payload transformation) or made available on the pull-based poll queue (raw event payload, no transformation) */ OutboundMapping,
3577
+ .../* A mapping that delivers an event to an external system — either pushed to a webhook (with a JSONata payload transformation) or made available on the pull-based poll queue (raw event payload, no transformation) */ OutboundMapping[]
2519
3578
  ];
2520
3579
  }
2521
3580
  /**
2522
- * A mapping that transforms an event and delivers it to a webhook
3581
+ * A mapping that delivers an event to an external system — either pushed to a webhook (with a JSONata payload transformation) or made available on the pull-based poll queue (raw event payload, no transformation)
2523
3582
  */
2524
3583
  export interface OutboundMapping {
2525
3584
  /**
@@ -2533,16 +3592,16 @@ declare namespace Components {
2533
3592
  */
2534
3593
  name: string;
2535
3594
  /**
2536
- * JSONata expression to transform the event payload
3595
+ * JSONata expression to transform the event payload. Required for webhook delivery; ignored for poll delivery.
2537
3596
  * example:
2538
3597
  * { "id": entity._id, "customer": entity.customer_name }
2539
3598
  */
2540
- jsonata_expression: string;
3599
+ jsonata_expression?: string;
2541
3600
  /**
2542
3601
  * Whether this mapping is active
2543
3602
  */
2544
3603
  enabled: boolean;
2545
- delivery: /* Configuration for how the transformed event should be delivered */ DeliveryConfig;
3604
+ delivery: /* Configuration for how the event should be delivered. webhook = push delivery via svc-webhooks (JSONata-transformed payload); poll = pull-based queue delivery where the consumer fetches items via the poll API (raw event payload) */ DeliveryConfig;
2546
3605
  /**
2547
3606
  * Timestamp when the mapping was created
2548
3607
  */
@@ -2552,6 +3611,44 @@ declare namespace Components {
2552
3611
  */
2553
3612
  updated_at?: string; // date-time
2554
3613
  }
3614
+ export interface OutboundMessage {
3615
+ /**
3616
+ * Opaque message id (msg_…) — stable per message across leases
3617
+ */
3618
+ id: string;
3619
+ /**
3620
+ * Opaque lease token (lt_…) — echo back on ack
3621
+ */
3622
+ lease_token: string;
3623
+ /**
3624
+ * The poll-mode use case that produced this message
3625
+ */
3626
+ use_case_id: string;
3627
+ /**
3628
+ * Standardized event name (e.g. contract.updated)
3629
+ */
3630
+ event_name: string;
3631
+ /**
3632
+ * Unique id of the originating event
3633
+ */
3634
+ event_id: string;
3635
+ /**
3636
+ * Ordering group — messages sharing a group are strictly ordered,
3637
+ * distinct groups are independent. Constant "0" in v1.
3638
+ *
3639
+ */
3640
+ group: string;
3641
+ /**
3642
+ * The raw standardized event-catalog event, always inlined as-is
3643
+ */
3644
+ payload: {
3645
+ [name: string]: any;
3646
+ };
3647
+ /**
3648
+ * When the message was enqueued
3649
+ */
3650
+ enqueued_at: string; // date-time
3651
+ }
2555
3652
  export interface OutboundMonitoringEvent {
2556
3653
  /**
2557
3654
  * Organization ID
@@ -2614,6 +3711,42 @@ declare namespace Components {
2614
3711
  */
2615
3712
  updated_at?: string; // date-time
2616
3713
  }
3714
+ /**
3715
+ * Queue/consumer health for a poll-mode use case. Present only on use
3716
+ * cases with a poll delivery mapping — webhook-only use cases are
3717
+ * unaffected. Depth/age/DLQ numbers are first-page approximations.
3718
+ *
3719
+ */
3720
+ export interface OutboundPollStatus {
3721
+ /**
3722
+ * Unconsumed messages attributable to this use case (first-page approximation)
3723
+ */
3724
+ queue_depth: number;
3725
+ /**
3726
+ * Age of the oldest unconsumed message in seconds — null when the queue is empty
3727
+ */
3728
+ oldest_unconsumed_age_seconds: number | null;
3729
+ /**
3730
+ * Timestamp of the last successful poll lease — null before the first poll
3731
+ */
3732
+ last_poll_at: string | null; // date-time
3733
+ /**
3734
+ * Timestamp of the last committed acknowledgment — null before the first ack
3735
+ */
3736
+ last_ack_at: string | null; // date-time
3737
+ /**
3738
+ * Whether the integration's outbound stream is currently halted by a
3739
+ * blocked head message (poison_policy 'block'). Stream-level flag —
3740
+ * the same value is reported on every poll use case of the
3741
+ * integration, because the stream spans them.
3742
+ *
3743
+ */
3744
+ blocked: boolean;
3745
+ /**
3746
+ * Dead-lettered messages of this use case awaiting redrive or expiry (first-page approximation)
3747
+ */
3748
+ dlq_count: number;
3749
+ }
2617
3750
  export interface OutboundStatusResponse {
2618
3751
  useCases: OutboundUseCaseStatus[];
2619
3752
  }
@@ -2741,6 +3874,59 @@ declare namespace Components {
2741
3874
  * List of detected conflicts, if any
2742
3875
  */
2743
3876
  conflicts?: OutboundConflict[];
3877
+ poll?: /**
3878
+ * Queue/consumer health for a poll-mode use case. Present only on use
3879
+ * cases with a poll delivery mapping — webhook-only use cases are
3880
+ * unaffected. Depth/age/DLQ numbers are first-page approximations.
3881
+ *
3882
+ */
3883
+ OutboundPollStatus;
3884
+ }
3885
+ /**
3886
+ * Pull-based queue delivery. Items carry the raw standardized event-catalog payload; no JSONata mapping is applied in poll mode. Consumers fetch and acknowledge items via the poll API.
3887
+ */
3888
+ export interface PollDeliveryConfig {
3889
+ /**
3890
+ * Delivery mechanism type
3891
+ */
3892
+ type: "poll";
3893
+ /**
3894
+ * How long undelivered queue items are retained before expiry
3895
+ */
3896
+ retention_days?: number;
3897
+ /**
3898
+ * What happens when an item exhausts max_delivery_attempts: dead_letter routes the exhausted item to the dead-letter queue; block halts the queue until operator/consumer action. Enforcement lands with the queue consumer (Phase 10) — this field defines the contract.
3899
+ */
3900
+ poison_policy?: "dead_letter" | "block";
3901
+ /**
3902
+ * Maximum delivery attempts before the poison_policy is applied
3903
+ */
3904
+ max_delivery_attempts?: number;
3905
+ }
3906
+ export interface PollOutboundMessagesRequest {
3907
+ /**
3908
+ * Maximum number of messages to lease in this batch. The ~5.5 MB
3909
+ * response cap may truncate the batch earlier when payloads are
3910
+ * large — the leased run shrinks accordingly.
3911
+ *
3912
+ */
3913
+ limit?: number;
3914
+ }
3915
+ export interface PollOutboundMessagesResponse {
3916
+ /**
3917
+ * The leased batch in strict stream order (empty when contended or drained)
3918
+ */
3919
+ messages: OutboundMessage[];
3920
+ /**
3921
+ * Effective visibility timeout for this lease — a per-integration
3922
+ * server-side setting (default 300 seconds)
3923
+ *
3924
+ */
3925
+ visibility_timeout_seconds: number;
3926
+ /**
3927
+ * Whether more messages are available beyond this batch
3928
+ */
3929
+ has_more: boolean;
2744
3930
  }
2745
3931
  /**
2746
3932
  * Origin/type of an epilot portal configuration.
@@ -3130,6 +4316,131 @@ declare namespace Components {
3130
4316
  event_id?: string;
3131
4317
  };
3132
4318
  }
4319
+ export interface RedriveOutboundDlqRequest {
4320
+ /**
4321
+ * Message ids (msg_…) of the DLQ entries to redrive
4322
+ */
4323
+ ids: [
4324
+ string,
4325
+ string?,
4326
+ string?,
4327
+ string?,
4328
+ string?,
4329
+ string?,
4330
+ string?,
4331
+ string?,
4332
+ string?,
4333
+ string?,
4334
+ string?,
4335
+ string?,
4336
+ string?,
4337
+ string?,
4338
+ string?,
4339
+ string?,
4340
+ string?,
4341
+ string?,
4342
+ string?,
4343
+ string?,
4344
+ string?,
4345
+ string?,
4346
+ string?,
4347
+ string?,
4348
+ string?,
4349
+ string?,
4350
+ string?,
4351
+ string?,
4352
+ string?,
4353
+ string?,
4354
+ string?,
4355
+ string?,
4356
+ string?,
4357
+ string?,
4358
+ string?,
4359
+ string?,
4360
+ string?,
4361
+ string?,
4362
+ string?,
4363
+ string?,
4364
+ string?,
4365
+ string?,
4366
+ string?,
4367
+ string?,
4368
+ string?,
4369
+ string?,
4370
+ string?,
4371
+ string?,
4372
+ string?,
4373
+ string?,
4374
+ string?,
4375
+ string?,
4376
+ string?,
4377
+ string?,
4378
+ string?,
4379
+ string?,
4380
+ string?,
4381
+ string?,
4382
+ string?,
4383
+ string?,
4384
+ string?,
4385
+ string?,
4386
+ string?,
4387
+ string?,
4388
+ string?,
4389
+ string?,
4390
+ string?,
4391
+ string?,
4392
+ string?,
4393
+ string?,
4394
+ string?,
4395
+ string?,
4396
+ string?,
4397
+ string?,
4398
+ string?,
4399
+ string?,
4400
+ string?,
4401
+ string?,
4402
+ string?,
4403
+ string?,
4404
+ string?,
4405
+ string?,
4406
+ string?,
4407
+ string?,
4408
+ string?,
4409
+ string?,
4410
+ string?,
4411
+ string?,
4412
+ string?,
4413
+ string?,
4414
+ string?,
4415
+ string?,
4416
+ string?,
4417
+ string?,
4418
+ string?,
4419
+ string?,
4420
+ string?,
4421
+ string?,
4422
+ string?,
4423
+ string?
4424
+ ];
4425
+ }
4426
+ export interface RedriveOutboundDlqResponse {
4427
+ /**
4428
+ * Per-id redrive outcome, input order preserved
4429
+ */
4430
+ results: RedriveOutboundDlqResult[];
4431
+ }
4432
+ export interface RedriveOutboundDlqResult {
4433
+ /**
4434
+ * The requested message id
4435
+ */
4436
+ id: string;
4437
+ /**
4438
+ * Outcome — `redriven` re-enqueued at the tail; `not_found` for
4439
+ * unknown ids or entries concurrently redriven/expired
4440
+ *
4441
+ */
4442
+ status: "redriven" | "not_found";
4443
+ }
3133
4444
  export interface RelationConfig {
3134
4445
  /**
3135
4446
  * Relation operation:
@@ -3816,6 +5127,22 @@ declare namespace Components {
3816
5127
  */
3817
5128
  variants?: /* Describes the inferred type shape of a JSONata expression */ TypeDescriptor[];
3818
5129
  }
5130
+ export interface UnblockOutboundStreamRequest {
5131
+ /**
5132
+ * Operator reason recorded on the dead-lettered head
5133
+ */
5134
+ reason?: string;
5135
+ }
5136
+ export interface UnblockOutboundStreamResponse {
5137
+ /**
5138
+ * Whether a blocked head was skipped (false = no-op, stream was not blocked)
5139
+ */
5140
+ unblocked: boolean;
5141
+ /**
5142
+ * Message id of the skipped head — present only when unblocked is true
5143
+ */
5144
+ dead_lettered_id?: string;
5145
+ }
3819
5146
  export interface UpdateFileProxyUseCaseRequest {
3820
5147
  /**
3821
5148
  * Use case name
@@ -4114,6 +5441,27 @@ declare namespace Components {
4114
5441
  response_shape: /* Describes the inferred type shape of a JSONata expression */ TypeDescriptor;
4115
5442
  existing_annotations?: /* Developer-provided type annotations for a use case's request and response fields */ TypeAnnotations;
4116
5443
  }
5444
+ /**
5445
+ * Push delivery of the transformed event to a webhook via svc-webhooks
5446
+ */
5447
+ export interface WebhookDeliveryConfig {
5448
+ /**
5449
+ * Delivery mechanism type
5450
+ */
5451
+ type: "webhook";
5452
+ /**
5453
+ * Reference to the webhook configuration in svc-webhooks
5454
+ */
5455
+ webhook_id: string;
5456
+ /**
5457
+ * Cached webhook name for display purposes
5458
+ */
5459
+ webhook_name?: string;
5460
+ /**
5461
+ * Cached webhook URL for display purposes
5462
+ */
5463
+ webhook_url?: string;
5464
+ }
4117
5465
  export interface WebhookStatus {
4118
5466
  /**
4119
5467
  * Unique identifier for the webhook
@@ -4131,6 +5479,23 @@ declare namespace Components {
4131
5479
  }
4132
5480
  }
4133
5481
  declare namespace Paths {
5482
+ namespace AckOutboundMessages {
5483
+ namespace Parameters {
5484
+ export type IntegrationId = string; // uuid
5485
+ }
5486
+ export interface PathParameters {
5487
+ integrationId: Parameters.IntegrationId /* uuid */;
5488
+ }
5489
+ export type RequestBody = Components.Schemas.AckOutboundMessagesRequest;
5490
+ namespace Responses {
5491
+ export type $200 = Components.Schemas.AckOutboundMessagesResponse;
5492
+ export type $400 = Components.Responses.BadRequest;
5493
+ export type $401 = Components.Responses.Unauthorized;
5494
+ export type $403 = Components.Responses.Forbidden;
5495
+ export type $404 = Components.Responses.NotFound;
5496
+ export type $500 = Components.Responses.InternalServerError;
5497
+ }
5498
+ }
4134
5499
  namespace AcknowledgeTracking {
4135
5500
  export interface RequestBody {
4136
5501
  /**
@@ -4493,6 +5858,28 @@ declare namespace Paths {
4493
5858
  export type $500 = Components.Responses.InternalServerError;
4494
5859
  }
4495
5860
  }
5861
+ namespace ListOutboundDlqMessages {
5862
+ namespace Parameters {
5863
+ export type IntegrationId = string; // uuid
5864
+ export type Limit = number;
5865
+ export type NextToken = string;
5866
+ }
5867
+ export interface PathParameters {
5868
+ integrationId: Parameters.IntegrationId /* uuid */;
5869
+ }
5870
+ export interface QueryParameters {
5871
+ limit?: Parameters.Limit;
5872
+ next_token?: Parameters.NextToken;
5873
+ }
5874
+ namespace Responses {
5875
+ export type $200 = Components.Schemas.OutboundDlqListResponse;
5876
+ export type $400 = Components.Responses.BadRequest;
5877
+ export type $401 = Components.Responses.Unauthorized;
5878
+ export type $403 = Components.Responses.Forbidden;
5879
+ export type $404 = Components.Responses.NotFound;
5880
+ export type $500 = Components.Responses.InternalServerError;
5881
+ }
5882
+ }
4496
5883
  namespace ListSecureProxies {
4497
5884
  namespace Responses {
4498
5885
  export interface $200 {
@@ -4604,6 +5991,23 @@ declare namespace Paths {
4604
5991
  export type $502 = Components.Schemas.ManagedCallErrorResponse;
4605
5992
  }
4606
5993
  }
5994
+ namespace PollOutboundMessages {
5995
+ namespace Parameters {
5996
+ export type IntegrationId = string; // uuid
5997
+ }
5998
+ export interface PathParameters {
5999
+ integrationId: Parameters.IntegrationId /* uuid */;
6000
+ }
6001
+ export type RequestBody = Components.Schemas.PollOutboundMessagesRequest;
6002
+ namespace Responses {
6003
+ export type $200 = Components.Schemas.PollOutboundMessagesResponse;
6004
+ export type $400 = Components.Responses.BadRequest;
6005
+ export type $401 = Components.Responses.Unauthorized;
6006
+ export type $403 = Components.Responses.Forbidden;
6007
+ export type $404 = Components.Responses.NotFound;
6008
+ export type $500 = Components.Responses.InternalServerError;
6009
+ }
6010
+ }
4607
6011
  namespace ProcessErpUpdatesEvents {
4608
6012
  export interface RequestBody {
4609
6013
  /**
@@ -4734,6 +6138,23 @@ declare namespace Paths {
4734
6138
  export type $500 = Components.Responses.InternalServerError;
4735
6139
  }
4736
6140
  }
6141
+ namespace RedriveOutboundDlqMessages {
6142
+ namespace Parameters {
6143
+ export type IntegrationId = string; // uuid
6144
+ }
6145
+ export interface PathParameters {
6146
+ integrationId: Parameters.IntegrationId /* uuid */;
6147
+ }
6148
+ export type RequestBody = Components.Schemas.RedriveOutboundDlqRequest;
6149
+ namespace Responses {
6150
+ export type $200 = Components.Schemas.RedriveOutboundDlqResponse;
6151
+ export type $400 = Components.Responses.BadRequest;
6152
+ export type $401 = Components.Responses.Unauthorized;
6153
+ export type $403 = Components.Responses.Forbidden;
6154
+ export type $404 = Components.Responses.NotFound;
6155
+ export type $500 = Components.Responses.InternalServerError;
6156
+ }
6157
+ }
4737
6158
  namespace ReplayEvents {
4738
6159
  namespace Parameters {
4739
6160
  export type IntegrationId = string; // uuid
@@ -4817,6 +6238,23 @@ declare namespace Paths {
4817
6238
  }
4818
6239
  }
4819
6240
  }
6241
+ namespace UnblockOutboundStream {
6242
+ namespace Parameters {
6243
+ export type IntegrationId = string; // uuid
6244
+ }
6245
+ export interface PathParameters {
6246
+ integrationId: Parameters.IntegrationId /* uuid */;
6247
+ }
6248
+ export type RequestBody = Components.Schemas.UnblockOutboundStreamRequest;
6249
+ namespace Responses {
6250
+ export type $200 = Components.Schemas.UnblockOutboundStreamResponse;
6251
+ export type $400 = Components.Responses.BadRequest;
6252
+ export type $401 = Components.Responses.Unauthorized;
6253
+ export type $403 = Components.Responses.Forbidden;
6254
+ export type $404 = Components.Responses.NotFound;
6255
+ export type $500 = Components.Responses.InternalServerError;
6256
+ }
6257
+ }
4820
6258
  namespace UpdateIntegration {
4821
6259
  namespace Parameters {
4822
6260
  export type IntegrationId = string; // uuid
@@ -5325,6 +6763,92 @@ export interface OperationMethods {
5325
6763
  data?: any,
5326
6764
  config?: AxiosRequestConfig
5327
6765
  ): OperationResponse<Paths.GetOutboundStatus.Responses.$200>
6766
+ /**
6767
+ * pollOutboundMessages - pollOutboundMessages
6768
+ *
6769
+ * Poll outbound messages for an integration's poll-mode use cases.
6770
+ * Takes a lease on the head-of-line batch of the integration's FIFO stream:
6771
+ * the returned messages stay invisible to subsequent polls until they are
6772
+ * acknowledged or the visibility timeout elapses. POST because taking a
6773
+ * lease mutates server state — auto-retrying middleware must not burn
6774
+ * leases. One in-flight batch per stream: while a lease is active (or
6775
+ * another poll wins the race), the response is an empty batch
6776
+ * (`messages: []`), not an error. Requires the `integration:consume` grant.
6777
+ *
6778
+ */
6779
+ 'pollOutboundMessages'(
6780
+ parameters?: Parameters<Paths.PollOutboundMessages.PathParameters> | null,
6781
+ data?: Paths.PollOutboundMessages.RequestBody,
6782
+ config?: AxiosRequestConfig
6783
+ ): OperationResponse<Paths.PollOutboundMessages.Responses.$200>
6784
+ /**
6785
+ * ackOutboundMessages - ackOutboundMessages
6786
+ *
6787
+ * Acknowledge polled outbound messages. Acks are validated against the
6788
+ * active lease and committed as a prefix-contiguous cursor advance:
6789
+ * messages must be acknowledged in stream order. Out-of-order acks past
6790
+ * the first gap are rejected per id (`out_of_order`), acks with an
6791
+ * outdated lease token are rejected (`stale_lease`), and unknown ids are
6792
+ * rejected (`not_found`). Acknowledged messages are never delivered
6793
+ * again. Requires the `integration:consume` grant.
6794
+ *
6795
+ */
6796
+ 'ackOutboundMessages'(
6797
+ parameters?: Parameters<Paths.AckOutboundMessages.PathParameters> | null,
6798
+ data?: Paths.AckOutboundMessages.RequestBody,
6799
+ config?: AxiosRequestConfig
6800
+ ): OperationResponse<Paths.AckOutboundMessages.Responses.$200>
6801
+ /**
6802
+ * listOutboundDlqMessages - listOutboundDlqMessages
6803
+ *
6804
+ * List an integration's dead-lettered outbound queue messages
6805
+ * (poison_policy enforcement and operator skips move messages here).
6806
+ * Operator endpoint — requires the `integration:manage` grant. Message
6807
+ * payloads are NOT included in listings: entries are keyed by the
6808
+ * opaque message id and carry delivery metadata only. Paginated via an
6809
+ * opaque `next_token`.
6810
+ *
6811
+ */
6812
+ 'listOutboundDlqMessages'(
6813
+ parameters?: Parameters<Paths.ListOutboundDlqMessages.QueryParameters & Paths.ListOutboundDlqMessages.PathParameters> | null,
6814
+ data?: any,
6815
+ config?: AxiosRequestConfig
6816
+ ): OperationResponse<Paths.ListOutboundDlqMessages.Responses.$200>
6817
+ /**
6818
+ * redriveOutboundDlqMessages - redriveOutboundDlqMessages
6819
+ *
6820
+ * Redrive selected dead-lettered messages back into the live stream.
6821
+ * Operator endpoint — requires the `integration:manage` grant.
6822
+ * A redriven message is re-enqueued at the tail with a new id and
6823
+ * sequence — it is delivered out of its original per-entity order (the
6824
+ * stream has moved on); this is inherent to redrive and matches SQS DLQ
6825
+ * semantics. The redriven copy starts with zero delivery attempts and a
6826
+ * fresh retention window; the original DLQ entry is removed. Per-id
6827
+ * results report `redriven` or `not_found` (unknown ids, or entries
6828
+ * concurrently redriven/expired).
6829
+ *
6830
+ */
6831
+ 'redriveOutboundDlqMessages'(
6832
+ parameters?: Parameters<Paths.RedriveOutboundDlqMessages.PathParameters> | null,
6833
+ data?: Paths.RedriveOutboundDlqMessages.RequestBody,
6834
+ config?: AxiosRequestConfig
6835
+ ): OperationResponse<Paths.RedriveOutboundDlqMessages.Responses.$200>
6836
+ /**
6837
+ * unblockOutboundStream - unblockOutboundStream
6838
+ *
6839
+ * Unblock an integration's outbound stream halted by the `block`
6840
+ * poison policy: skips (dead-letters) the current blocked head message,
6841
+ * emitting MSG_DEAD_LETTERED and letting the next message become the
6842
+ * head. Operator endpoint — requires the `integration:manage` grant.
6843
+ * Returns `unblocked: false` as a no-op when the stream is not
6844
+ * currently blocked (or the state moved concurrently) — safe to retry.
6845
+ *
6846
+ */
6847
+ 'unblockOutboundStream'(
6848
+ parameters?: Parameters<Paths.UnblockOutboundStream.PathParameters> | null,
6849
+ data?: Paths.UnblockOutboundStream.RequestBody,
6850
+ config?: AxiosRequestConfig
6851
+ ): OperationResponse<Paths.UnblockOutboundStream.Responses.$200>
5328
6852
  /**
5329
6853
  * queryAccessLogs - queryAccessLogs
5330
6854
  *
@@ -5931,6 +7455,102 @@ export interface PathsDictionary {
5931
7455
  config?: AxiosRequestConfig
5932
7456
  ): OperationResponse<Paths.GetOutboundStatus.Responses.$200>
5933
7457
  }
7458
+ ['/v1/integrations/{integrationId}/outbound/messages/poll']: {
7459
+ /**
7460
+ * pollOutboundMessages - pollOutboundMessages
7461
+ *
7462
+ * Poll outbound messages for an integration's poll-mode use cases.
7463
+ * Takes a lease on the head-of-line batch of the integration's FIFO stream:
7464
+ * the returned messages stay invisible to subsequent polls until they are
7465
+ * acknowledged or the visibility timeout elapses. POST because taking a
7466
+ * lease mutates server state — auto-retrying middleware must not burn
7467
+ * leases. One in-flight batch per stream: while a lease is active (or
7468
+ * another poll wins the race), the response is an empty batch
7469
+ * (`messages: []`), not an error. Requires the `integration:consume` grant.
7470
+ *
7471
+ */
7472
+ 'post'(
7473
+ parameters?: Parameters<Paths.PollOutboundMessages.PathParameters> | null,
7474
+ data?: Paths.PollOutboundMessages.RequestBody,
7475
+ config?: AxiosRequestConfig
7476
+ ): OperationResponse<Paths.PollOutboundMessages.Responses.$200>
7477
+ }
7478
+ ['/v1/integrations/{integrationId}/outbound/messages/ack']: {
7479
+ /**
7480
+ * ackOutboundMessages - ackOutboundMessages
7481
+ *
7482
+ * Acknowledge polled outbound messages. Acks are validated against the
7483
+ * active lease and committed as a prefix-contiguous cursor advance:
7484
+ * messages must be acknowledged in stream order. Out-of-order acks past
7485
+ * the first gap are rejected per id (`out_of_order`), acks with an
7486
+ * outdated lease token are rejected (`stale_lease`), and unknown ids are
7487
+ * rejected (`not_found`). Acknowledged messages are never delivered
7488
+ * again. Requires the `integration:consume` grant.
7489
+ *
7490
+ */
7491
+ 'post'(
7492
+ parameters?: Parameters<Paths.AckOutboundMessages.PathParameters> | null,
7493
+ data?: Paths.AckOutboundMessages.RequestBody,
7494
+ config?: AxiosRequestConfig
7495
+ ): OperationResponse<Paths.AckOutboundMessages.Responses.$200>
7496
+ }
7497
+ ['/v1/integrations/{integrationId}/outbound/messages/dlq']: {
7498
+ /**
7499
+ * listOutboundDlqMessages - listOutboundDlqMessages
7500
+ *
7501
+ * List an integration's dead-lettered outbound queue messages
7502
+ * (poison_policy enforcement and operator skips move messages here).
7503
+ * Operator endpoint — requires the `integration:manage` grant. Message
7504
+ * payloads are NOT included in listings: entries are keyed by the
7505
+ * opaque message id and carry delivery metadata only. Paginated via an
7506
+ * opaque `next_token`.
7507
+ *
7508
+ */
7509
+ 'get'(
7510
+ parameters?: Parameters<Paths.ListOutboundDlqMessages.QueryParameters & Paths.ListOutboundDlqMessages.PathParameters> | null,
7511
+ data?: any,
7512
+ config?: AxiosRequestConfig
7513
+ ): OperationResponse<Paths.ListOutboundDlqMessages.Responses.$200>
7514
+ }
7515
+ ['/v1/integrations/{integrationId}/outbound/messages/dlq/redrive']: {
7516
+ /**
7517
+ * redriveOutboundDlqMessages - redriveOutboundDlqMessages
7518
+ *
7519
+ * Redrive selected dead-lettered messages back into the live stream.
7520
+ * Operator endpoint — requires the `integration:manage` grant.
7521
+ * A redriven message is re-enqueued at the tail with a new id and
7522
+ * sequence — it is delivered out of its original per-entity order (the
7523
+ * stream has moved on); this is inherent to redrive and matches SQS DLQ
7524
+ * semantics. The redriven copy starts with zero delivery attempts and a
7525
+ * fresh retention window; the original DLQ entry is removed. Per-id
7526
+ * results report `redriven` or `not_found` (unknown ids, or entries
7527
+ * concurrently redriven/expired).
7528
+ *
7529
+ */
7530
+ 'post'(
7531
+ parameters?: Parameters<Paths.RedriveOutboundDlqMessages.PathParameters> | null,
7532
+ data?: Paths.RedriveOutboundDlqMessages.RequestBody,
7533
+ config?: AxiosRequestConfig
7534
+ ): OperationResponse<Paths.RedriveOutboundDlqMessages.Responses.$200>
7535
+ }
7536
+ ['/v1/integrations/{integrationId}/outbound/messages/unblock']: {
7537
+ /**
7538
+ * unblockOutboundStream - unblockOutboundStream
7539
+ *
7540
+ * Unblock an integration's outbound stream halted by the `block`
7541
+ * poison policy: skips (dead-letters) the current blocked head message,
7542
+ * emitting MSG_DEAD_LETTERED and letting the next message become the
7543
+ * head. Operator endpoint — requires the `integration:manage` grant.
7544
+ * Returns `unblocked: false` as a no-op when the stream is not
7545
+ * currently blocked (or the state moved concurrently) — safe to retry.
7546
+ *
7547
+ */
7548
+ 'post'(
7549
+ parameters?: Parameters<Paths.UnblockOutboundStream.PathParameters> | null,
7550
+ data?: Paths.UnblockOutboundStream.RequestBody,
7551
+ config?: AxiosRequestConfig
7552
+ ): OperationResponse<Paths.UnblockOutboundStream.Responses.$200>
7553
+ }
5934
7554
  ['/v1/integrations/{integrationId}/monitoring/access-logs']: {
5935
7555
  /**
5936
7556
  * queryAccessLogs - queryAccessLogs
@@ -6107,6 +7727,9 @@ export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
6107
7727
 
6108
7728
 
6109
7729
  export type AccessLogEntry = Components.Schemas.AccessLogEntry;
7730
+ export type AckOutboundMessagesRequest = Components.Schemas.AckOutboundMessagesRequest;
7731
+ export type AckOutboundMessagesResponse = Components.Schemas.AckOutboundMessagesResponse;
7732
+ export type AckResult = Components.Schemas.AckResult;
6110
7733
  export type AutoRefreshSettings = Components.Schemas.AutoRefreshSettings;
6111
7734
  export type CommitTypesRequest = Components.Schemas.CommitTypesRequest;
6112
7735
  export type CommitTypesResponse = Components.Schemas.CommitTypesResponse;
@@ -6189,13 +7812,20 @@ export type MonitoringEventV2 = Components.Schemas.MonitoringEventV2;
6189
7812
  export type MonitoringStats = Components.Schemas.MonitoringStats;
6190
7813
  export type MonitoringStatsV2 = Components.Schemas.MonitoringStatsV2;
6191
7814
  export type OutboundConflict = Components.Schemas.OutboundConflict;
7815
+ export type OutboundDlqListResponse = Components.Schemas.OutboundDlqListResponse;
7816
+ export type OutboundDlqMessage = Components.Schemas.OutboundDlqMessage;
6192
7817
  export type OutboundIntegrationEventConfiguration = Components.Schemas.OutboundIntegrationEventConfiguration;
6193
7818
  export type OutboundMapping = Components.Schemas.OutboundMapping;
7819
+ export type OutboundMessage = Components.Schemas.OutboundMessage;
6194
7820
  export type OutboundMonitoringEvent = Components.Schemas.OutboundMonitoringEvent;
7821
+ export type OutboundPollStatus = Components.Schemas.OutboundPollStatus;
6195
7822
  export type OutboundStatusResponse = Components.Schemas.OutboundStatusResponse;
6196
7823
  export type OutboundUseCase = Components.Schemas.OutboundUseCase;
6197
7824
  export type OutboundUseCaseHistoryEntry = Components.Schemas.OutboundUseCaseHistoryEntry;
6198
7825
  export type OutboundUseCaseStatus = Components.Schemas.OutboundUseCaseStatus;
7826
+ export type PollDeliveryConfig = Components.Schemas.PollDeliveryConfig;
7827
+ export type PollOutboundMessagesRequest = Components.Schemas.PollOutboundMessagesRequest;
7828
+ export type PollOutboundMessagesResponse = Components.Schemas.PollOutboundMessagesResponse;
6199
7829
  export type PortalOrigin = Components.Schemas.PortalOrigin;
6200
7830
  export type PortalRefConfig = Components.Schemas.PortalRefConfig;
6201
7831
  export type PortalRefFilter = Components.Schemas.PortalRefFilter;
@@ -6205,6 +7835,9 @@ export type QueryEventsRequest = Components.Schemas.QueryEventsRequest;
6205
7835
  export type QueryInboundMonitoringEventsRequest = Components.Schemas.QueryInboundMonitoringEventsRequest;
6206
7836
  export type QueryMonitoringEventsV2Request = Components.Schemas.QueryMonitoringEventsV2Request;
6207
7837
  export type QueryOutboundMonitoringEventsRequest = Components.Schemas.QueryOutboundMonitoringEventsRequest;
7838
+ export type RedriveOutboundDlqRequest = Components.Schemas.RedriveOutboundDlqRequest;
7839
+ export type RedriveOutboundDlqResponse = Components.Schemas.RedriveOutboundDlqResponse;
7840
+ export type RedriveOutboundDlqResult = Components.Schemas.RedriveOutboundDlqResult;
6208
7841
  export type RelationConfig = Components.Schemas.RelationConfig;
6209
7842
  export type RelationItemConfig = Components.Schemas.RelationItemConfig;
6210
7843
  export type RelationRefItemConfig = Components.Schemas.RelationRefItemConfig;
@@ -6229,6 +7862,8 @@ export type TriggerErpActionRequest = Components.Schemas.TriggerErpActionRequest
6229
7862
  export type TriggerWebhookResp = Components.Schemas.TriggerWebhookResp;
6230
7863
  export type TypeAnnotations = Components.Schemas.TypeAnnotations;
6231
7864
  export type TypeDescriptor = Components.Schemas.TypeDescriptor;
7865
+ export type UnblockOutboundStreamRequest = Components.Schemas.UnblockOutboundStreamRequest;
7866
+ export type UnblockOutboundStreamResponse = Components.Schemas.UnblockOutboundStreamResponse;
6232
7867
  export type UpdateFileProxyUseCaseRequest = Components.Schemas.UpdateFileProxyUseCaseRequest;
6233
7868
  export type UpdateInboundUseCaseRequest = Components.Schemas.UpdateInboundUseCaseRequest;
6234
7869
  export type UpdateIntegrationRequest = Components.Schemas.UpdateIntegrationRequest;
@@ -6243,4 +7878,5 @@ export type UseCaseBase = Components.Schemas.UseCaseBase;
6243
7878
  export type UseCaseHistoryEntry = Components.Schemas.UseCaseHistoryEntry;
6244
7879
  export type UseCaseHistoryEntryBase = Components.Schemas.UseCaseHistoryEntryBase;
6245
7880
  export type UseCaseTypePreview = Components.Schemas.UseCaseTypePreview;
7881
+ export type WebhookDeliveryConfig = Components.Schemas.WebhookDeliveryConfig;
6246
7882
  export type WebhookStatus = Components.Schemas.WebhookStatus;