@sippulse/niva-sdk 0.1.0-rc.9 → 0.1.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/index.bun.js CHANGED
@@ -335,6 +335,9 @@ function buildNivaClient(call) {
335
335
  }),
336
336
  list: (input, options) => call("audit.list", input, options)
337
337
  },
338
+ bugReports: {
339
+ create: (input, options) => call("bugReports.create", input, options)
340
+ },
338
341
  callRecords: {
339
342
  count: (input, options) => call("callRecords.count", input, options),
340
343
  exportCsv: (input, options) => streamFromResponse(call("callRecords.exportCsv", input, options), {
@@ -533,6 +536,7 @@ function buildNivaClient(call) {
533
536
  getById: (input, options) => call("webhooks.endpoints.getById", input, options),
534
537
  list: (input, options) => call("webhooks.endpoints.list", input, options),
535
538
  rotateSecret: (input, options) => call("webhooks.endpoints.rotateSecret", input, options),
539
+ test: (input, options) => call("webhooks.endpoints.test", input, options),
536
540
  update: (input, options) => call("webhooks.endpoints.update", input, options)
537
541
  },
538
542
  events: {
@@ -543,7 +547,7 @@ function buildNivaClient(call) {
543
547
  }
544
548
 
545
549
  // src/generated/meta.ts
546
- var SDK_VERSION = "0.1.0-rc.9";
550
+ var SDK_VERSION = "0.1.0";
547
551
  var SUPPORTED_NIVA = { min: "2.0.0", max: null };
548
552
  var PROTOCOL_VERSION = 1;
549
553
  var COMPAT_TABLE = [
@@ -578,6 +582,8 @@ var ERROR_CODES = [
578
582
  "AUDIO_URL_UNREACHABLE",
579
583
  "AUDIO_URL_UNSUPPORTED_FORMAT",
580
584
  "AUDIT_CURSOR_INVALID",
585
+ "BUG_REPORTING_DISABLED",
586
+ "BUG_REPORT_DELIVERY_FAILED",
581
587
  "CALL_HAS_NO_TRANSCRIPTION_WINDOW",
582
588
  "CALL_NOT_FOUND",
583
589
  "CALL_RECORD_CURSOR_INVALID",
@@ -656,6 +662,7 @@ var ERROR_CODES = [
656
662
  "SIGNAL_TEST_SOURCE_INVALID",
657
663
  "SIGNAL_VERSION_CONFLICT",
658
664
  "SSO_REQUIRED",
665
+ "TRANSCRIPTION_CAPACITY_EXCEEDED",
659
666
  "TRANSCRIPTION_NOT_FOUND",
660
667
  "TTS_VOICE_UNAVAILABLE",
661
668
  "UNAUTHORIZED",
@@ -665,61 +672,62 @@ var ERROR_CODES = [
665
672
  "WEBHOOK_DELIVERY_RETENTION_EXPIRED",
666
673
  "WEBHOOK_ENDPOINT_NOT_FOUND"
667
674
  ];
668
- var COMMON_ERROR_CODES = [60, 70, 71, 106];
675
+ var COMMON_ERROR_CODES = [62, 72, 73, 109];
669
676
  var ERROR_CODE_SETS = [
670
677
  [],
671
- [65, 66],
672
- [27, 65, 66],
673
- [28, 65, 66],
674
- [41, 65, 66],
675
- [62, 65, 66],
676
- [63, 65, 66],
677
- [65, 66, 107],
678
- [65, 66, 108],
679
- [65, 66, 67],
680
- [65, 66, 72],
681
- [65, 66, 73],
682
- [65, 66, 93],
683
- [7, 65, 66],
684
- [11, 14, 65, 66],
685
- [12, 16, 65, 66],
686
- [25, 65, 66, 72],
687
- [39, 65, 66, 72],
688
- [62, 65, 66, 73],
689
- [64, 65, 66, 72],
690
- [65, 66, 109, 110],
691
- [65, 66, 69, 83],
692
- [65, 66, 72, 111],
693
- [65, 66, 77, 78],
694
- [1, 58, 61, 65, 66],
695
- [2, 3, 4, 65, 66],
696
- [3, 4, 65, 66, 72],
697
- [39, 48, 65, 66, 72],
698
- [49, 50, 65, 66, 72],
699
- [59, 65, 66, 72, 104],
700
- [6, 7, 65, 66, 94],
701
- [65, 66, 72, 84, 99],
702
- [0, 29, 65, 66, 69, 83],
703
- [2, 3, 4, 65, 66, 105],
704
- [27, 65, 66, 88, 89, 90],
705
- [30, 65, 66, 68, 69, 83],
706
- [31, 65, 66, 68, 69, 83],
707
- [39, 43, 50, 65, 66, 72],
708
- [43, 50, 51, 65, 66, 72],
709
- [53, 65, 66, 72, 84, 99],
710
- [8, 9, 10, 65, 66, 72],
711
- [39, 46, 47, 50, 65, 66, 72],
712
- [54, 65, 66, 72, 84, 85, 99],
713
- [30, 65, 66, 68, 69, 83, 91, 92],
714
- [42, 43, 44, 45, 52, 65, 66, 72],
715
- [2, 3, 4, 13, 14, 15, 65, 66, 105],
716
- [42, 43, 44, 45, 52, 65, 66, 72, 84],
717
- [5, 56, 65, 66, 74, 83, 91, 92, 103],
718
- [58, 59, 65, 66, 79, 80, 81, 82, 84],
719
- [17, 18, 19, 20, 21, 22, 23, 24, 65, 66],
720
- [3, 26, 65, 66, 72, 75, 76, 86, 87, 90],
721
- [32, 33, 34, 35, 36, 37, 38, 55, 65, 66, 72],
722
- [27, 40, 57, 65, 66, 72, 84, 95, 96, 97, 98, 99, 100, 101, 102]
678
+ [26, 27],
679
+ [67, 68],
680
+ [29, 67, 68],
681
+ [30, 67, 68],
682
+ [43, 67, 68],
683
+ [64, 67, 68],
684
+ [65, 67, 68],
685
+ [67, 68, 110],
686
+ [67, 68, 111],
687
+ [67, 68, 69],
688
+ [67, 68, 74],
689
+ [67, 68, 75],
690
+ [67, 68, 95],
691
+ [7, 67, 68],
692
+ [11, 14, 67, 68],
693
+ [12, 16, 67, 68],
694
+ [25, 67, 68, 74],
695
+ [41, 67, 68, 74],
696
+ [64, 67, 68, 75],
697
+ [66, 67, 68, 74],
698
+ [67, 68, 112, 113],
699
+ [67, 68, 71, 85],
700
+ [67, 68, 74, 114],
701
+ [67, 68, 79, 80],
702
+ [1, 60, 63, 67, 68],
703
+ [2, 3, 4, 67, 68],
704
+ [41, 50, 67, 68, 74],
705
+ [51, 52, 67, 68, 74],
706
+ [6, 7, 67, 68, 96],
707
+ [61, 67, 68, 74, 107],
708
+ [67, 68, 74, 86, 101],
709
+ [0, 31, 67, 68, 71, 85],
710
+ [2, 3, 4, 67, 68, 108],
711
+ [2, 3, 4, 67, 68, 74],
712
+ [29, 67, 68, 90, 91, 92],
713
+ [32, 67, 68, 70, 71, 85],
714
+ [33, 67, 68, 70, 71, 85],
715
+ [41, 45, 52, 67, 68, 74],
716
+ [45, 52, 53, 67, 68, 74],
717
+ [55, 67, 68, 74, 86, 101],
718
+ [8, 9, 10, 67, 68, 74],
719
+ [41, 48, 49, 52, 67, 68, 74],
720
+ [56, 67, 68, 74, 86, 87, 101],
721
+ [32, 67, 68, 70, 71, 85, 93, 94],
722
+ [44, 45, 46, 47, 54, 67, 68, 74],
723
+ [2, 3, 4, 13, 14, 15, 67, 68, 108],
724
+ [44, 45, 46, 47, 54, 67, 68, 74, 86],
725
+ [5, 58, 67, 68, 76, 85, 93, 94, 105],
726
+ [60, 61, 67, 68, 81, 82, 83, 84, 86],
727
+ [17, 18, 19, 20, 21, 22, 23, 24, 67, 68],
728
+ [3, 28, 67, 68, 74, 77, 78, 88, 89, 92, 106],
729
+ [34, 35, 36, 37, 38, 39, 40, 57, 67, 68, 74],
730
+ [29, 42, 59, 67, 68, 74, 86, 97, 98, 99, 100, 101, 102, 103, 104]
723
731
  ];
724
732
  var OPERATIONS = {
725
733
  "ai.getBudget": {
@@ -729,7 +737,7 @@ var OPERATIONS = {
729
737
  queryParams: [],
730
738
  bodyKind: "none",
731
739
  responseKind: "json",
732
- codes: 10
740
+ codes: 11
733
741
  },
734
742
  "ai.getBudgetOverview": {
735
743
  method: "GET",
@@ -738,7 +746,7 @@ var OPERATIONS = {
738
746
  queryParams: [],
739
747
  bodyKind: "none",
740
748
  responseKind: "json",
741
- codes: 10
749
+ codes: 11
742
750
  },
743
751
  "ai.getCallAnalyses": {
744
752
  method: "GET",
@@ -747,7 +755,7 @@ var OPERATIONS = {
747
755
  queryParams: [],
748
756
  bodyKind: "none",
749
757
  responseKind: "json",
750
- codes: 1
758
+ codes: 2
751
759
  },
752
760
  "ai.getTranscription": {
753
761
  method: "GET",
@@ -756,7 +764,7 @@ var OPERATIONS = {
756
764
  queryParams: [],
757
765
  bodyKind: "none",
758
766
  responseKind: "json",
759
- codes: 1
767
+ codes: 2
760
768
  },
761
769
  "ai.getUsage": {
762
770
  method: "GET",
@@ -765,7 +773,7 @@ var OPERATIONS = {
765
773
  queryParams: [],
766
774
  bodyKind: "none",
767
775
  responseKind: "json",
768
- codes: 10
776
+ codes: 11
769
777
  },
770
778
  "ai.listAgents": {
771
779
  method: "GET",
@@ -774,7 +782,7 @@ var OPERATIONS = {
774
782
  queryParams: [],
775
783
  bodyKind: "none",
776
784
  responseKind: "json",
777
- codes: 26
785
+ codes: 34
778
786
  },
779
787
  "ai.listStructuredAnalyses": {
780
788
  method: "GET",
@@ -783,7 +791,7 @@ var OPERATIONS = {
783
791
  queryParams: ["refresh"],
784
792
  bodyKind: "none",
785
793
  responseKind: "json",
786
- codes: 10
794
+ codes: 11
787
795
  },
788
796
  "ai.runAnalysis": {
789
797
  method: "POST",
@@ -792,7 +800,7 @@ var OPERATIONS = {
792
800
  queryParams: [],
793
801
  bodyKind: "json",
794
802
  responseKind: "json",
795
- codes: 29
803
+ codes: 30
796
804
  },
797
805
  "ai.runConfiguredAnalyses": {
798
806
  method: "POST",
@@ -801,7 +809,7 @@ var OPERATIONS = {
801
809
  queryParams: [],
802
810
  bodyKind: "json",
803
811
  responseKind: "json",
804
- codes: 29
812
+ codes: 30
805
813
  },
806
814
  "ai.runSpeechAnalytics": {
807
815
  method: "POST",
@@ -810,7 +818,7 @@ var OPERATIONS = {
810
818
  queryParams: [],
811
819
  bodyKind: "json",
812
820
  responseKind: "json",
813
- codes: 10
821
+ codes: 11
814
822
  },
815
823
  "ai.searchTranscriptions": {
816
824
  method: "GET",
@@ -819,7 +827,7 @@ var OPERATIONS = {
819
827
  queryParams: ["query", "limit", "threshold", "date_from", "date_to", "visual_plan_id"],
820
828
  bodyKind: "none",
821
829
  responseKind: "json",
822
- codes: 10
830
+ codes: 11
823
831
  },
824
832
  "ai.transcribeNow": {
825
833
  method: "POST",
@@ -828,7 +836,7 @@ var OPERATIONS = {
828
836
  queryParams: [],
829
837
  bodyKind: "json",
830
838
  responseKind: "json",
831
- codes: 50
839
+ codes: 51
832
840
  },
833
841
  "apiKeys.create": {
834
842
  method: "POST",
@@ -837,7 +845,7 @@ var OPERATIONS = {
837
845
  queryParams: [],
838
846
  bodyKind: "json",
839
847
  responseKind: "json",
840
- codes: 1
848
+ codes: 2
841
849
  },
842
850
  "apiKeys.finishRotation": {
843
851
  method: "POST",
@@ -846,7 +854,7 @@ var OPERATIONS = {
846
854
  queryParams: [],
847
855
  bodyKind: "none",
848
856
  responseKind: "json",
849
- codes: 13
857
+ codes: 14
850
858
  },
851
859
  "apiKeys.get": {
852
860
  method: "GET",
@@ -855,7 +863,7 @@ var OPERATIONS = {
855
863
  queryParams: [],
856
864
  bodyKind: "none",
857
865
  responseKind: "json",
858
- codes: 13
866
+ codes: 14
859
867
  },
860
868
  "apiKeys.list": {
861
869
  method: "GET",
@@ -864,7 +872,7 @@ var OPERATIONS = {
864
872
  queryParams: ["search", "page", "limit", "sort_by", "sort_order"],
865
873
  bodyKind: "none",
866
874
  responseKind: "json",
867
- codes: 1
875
+ codes: 2
868
876
  },
869
877
  "apiKeys.revoke": {
870
878
  method: "DELETE",
@@ -873,7 +881,7 @@ var OPERATIONS = {
873
881
  queryParams: [],
874
882
  bodyKind: "none",
875
883
  responseKind: "json",
876
- codes: 13
884
+ codes: 14
877
885
  },
878
886
  "apiKeys.rotate": {
879
887
  method: "POST",
@@ -882,7 +890,7 @@ var OPERATIONS = {
882
890
  queryParams: [],
883
891
  bodyKind: "json",
884
892
  responseKind: "json",
885
- codes: 30
893
+ codes: 29
886
894
  },
887
895
  "apiKeys.update": {
888
896
  method: "PATCH",
@@ -891,7 +899,7 @@ var OPERATIONS = {
891
899
  queryParams: [],
892
900
  bodyKind: "json",
893
901
  responseKind: "json",
894
- codes: 13
902
+ codes: 14
895
903
  },
896
904
  "apiKeys.usage": {
897
905
  method: "GET",
@@ -900,7 +908,7 @@ var OPERATIONS = {
900
908
  queryParams: ["days"],
901
909
  bodyKind: "none",
902
910
  responseKind: "json",
903
- codes: 13
911
+ codes: 14
904
912
  },
905
913
  "archive.listDeleted": {
906
914
  method: "GET",
@@ -909,7 +917,7 @@ var OPERATIONS = {
909
917
  queryParams: ["search", "page", "limit", "sort_by", "sort_order", "entity_type"],
910
918
  bodyKind: "none",
911
919
  responseKind: "json",
912
- codes: 40
920
+ codes: 41
913
921
  },
914
922
  "archive.purge": {
915
923
  method: "DELETE",
@@ -918,7 +926,7 @@ var OPERATIONS = {
918
926
  queryParams: [],
919
927
  bodyKind: "none",
920
928
  responseKind: "json",
921
- codes: 40
929
+ codes: 41
922
930
  },
923
931
  "archive.restore": {
924
932
  method: "POST",
@@ -927,7 +935,7 @@ var OPERATIONS = {
927
935
  queryParams: [],
928
936
  bodyKind: "none",
929
937
  responseKind: "json",
930
- codes: 40
938
+ codes: 41
931
939
  },
932
940
  "archive.summary": {
933
941
  method: "GET",
@@ -936,7 +944,7 @@ var OPERATIONS = {
936
944
  queryParams: [],
937
945
  bodyKind: "none",
938
946
  responseKind: "json",
939
- codes: 40
947
+ codes: 41
940
948
  },
941
949
  "audioFiles.content": {
942
950
  method: "GET",
@@ -945,7 +953,7 @@ var OPERATIONS = {
945
953
  queryParams: [],
946
954
  bodyKind: "none",
947
955
  responseKind: "binary",
948
- codes: 14
956
+ codes: 15
949
957
  },
950
958
  "audioFiles.delete": {
951
959
  method: "DELETE",
@@ -954,7 +962,7 @@ var OPERATIONS = {
954
962
  queryParams: [],
955
963
  bodyKind: "none",
956
964
  responseKind: "json",
957
- codes: 45
965
+ codes: 46
958
966
  },
959
967
  "audioFiles.generateTts": {
960
968
  method: "POST",
@@ -963,7 +971,7 @@ var OPERATIONS = {
963
971
  queryParams: [],
964
972
  bodyKind: "json",
965
973
  responseKind: "json",
966
- codes: 45
974
+ codes: 46
967
975
  },
968
976
  "audioFiles.getById": {
969
977
  method: "GET",
@@ -972,7 +980,7 @@ var OPERATIONS = {
972
980
  queryParams: [],
973
981
  bodyKind: "none",
974
982
  responseKind: "json",
975
- codes: 45
983
+ codes: 46
976
984
  },
977
985
  "audioFiles.list": {
978
986
  method: "GET",
@@ -981,7 +989,7 @@ var OPERATIONS = {
981
989
  queryParams: ["search", "page", "limit", "sort_by", "sort_order"],
982
990
  bodyKind: "none",
983
991
  responseKind: "json",
984
- codes: 1
992
+ codes: 2
985
993
  },
986
994
  "audioFiles.previewUrl": {
987
995
  method: "POST",
@@ -990,7 +998,7 @@ var OPERATIONS = {
990
998
  queryParams: [],
991
999
  bodyKind: "json",
992
1000
  responseKind: "binary",
993
- codes: 49
1001
+ codes: 50
994
1002
  },
995
1003
  "audioFiles.regenerateTts": {
996
1004
  method: "POST",
@@ -999,7 +1007,7 @@ var OPERATIONS = {
999
1007
  queryParams: [],
1000
1008
  bodyKind: "json",
1001
1009
  responseKind: "json",
1002
- codes: 45
1010
+ codes: 46
1003
1011
  },
1004
1012
  "audioFiles.update": {
1005
1013
  method: "PATCH",
@@ -1008,7 +1016,7 @@ var OPERATIONS = {
1008
1016
  queryParams: [],
1009
1017
  bodyKind: "json",
1010
1018
  responseKind: "json",
1011
- codes: 45
1019
+ codes: 46
1012
1020
  },
1013
1021
  "audioFiles.upload": {
1014
1022
  method: "POST",
@@ -1017,7 +1025,7 @@ var OPERATIONS = {
1017
1025
  queryParams: [],
1018
1026
  bodyKind: "multipart",
1019
1027
  responseKind: "json",
1020
- codes: 15
1028
+ codes: 16
1021
1029
  },
1022
1030
  "audit.count": {
1023
1031
  method: "GET",
@@ -1037,7 +1045,7 @@ var OPERATIONS = {
1037
1045
  ],
1038
1046
  bodyKind: "none",
1039
1047
  responseKind: "json",
1040
- codes: 10
1048
+ codes: 11
1041
1049
  },
1042
1050
  "audit.exportCsv": {
1043
1051
  method: "GET",
@@ -1057,7 +1065,7 @@ var OPERATIONS = {
1057
1065
  ],
1058
1066
  bodyKind: "none",
1059
1067
  responseKind: "sse",
1060
- codes: 10
1068
+ codes: 11
1061
1069
  },
1062
1070
  "audit.list": {
1063
1071
  method: "GET",
@@ -1082,7 +1090,16 @@ var OPERATIONS = {
1082
1090
  ],
1083
1091
  bodyKind: "none",
1084
1092
  responseKind: "json",
1085
- codes: 16
1093
+ codes: 17
1094
+ },
1095
+ "bugReports.create": {
1096
+ method: "POST",
1097
+ path: "/bug-reports",
1098
+ pathParams: [],
1099
+ queryParams: [],
1100
+ bodyKind: "json",
1101
+ responseKind: "json",
1102
+ codes: 1
1086
1103
  },
1087
1104
  "callRecords.count": {
1088
1105
  method: "GET",
@@ -1118,7 +1135,7 @@ var OPERATIONS = {
1118
1135
  ],
1119
1136
  bodyKind: "none",
1120
1137
  responseKind: "json",
1121
- codes: 1
1138
+ codes: 2
1122
1139
  },
1123
1140
  "callRecords.exportCsv": {
1124
1141
  method: "GET",
@@ -1138,6 +1155,12 @@ var OPERATIONS = {
1138
1155
  "signal_id",
1139
1156
  "signal_triggered",
1140
1157
  "signal_value",
1158
+ "has_recording",
1159
+ "has_transcription",
1160
+ "recording_states",
1161
+ "transcription_states",
1162
+ "analysis_states",
1163
+ "has_error",
1141
1164
  "has_structured_analysis",
1142
1165
  "has_structured_analysis_error",
1143
1166
  "metadata",
@@ -1148,7 +1171,7 @@ var OPERATIONS = {
1148
1171
  ],
1149
1172
  bodyKind: "none",
1150
1173
  responseKind: "sse",
1151
- codes: 9
1174
+ codes: 10
1152
1175
  },
1153
1176
  "callRecords.getById": {
1154
1177
  method: "GET",
@@ -1157,7 +1180,7 @@ var OPERATIONS = {
1157
1180
  queryParams: [],
1158
1181
  bodyKind: "none",
1159
1182
  responseKind: "json",
1160
- codes: 1
1183
+ codes: 2
1161
1184
  },
1162
1185
  "callRecords.getEvents": {
1163
1186
  method: "GET",
@@ -1166,7 +1189,7 @@ var OPERATIONS = {
1166
1189
  queryParams: [],
1167
1190
  bodyKind: "none",
1168
1191
  responseKind: "json",
1169
- codes: 1
1192
+ codes: 2
1170
1193
  },
1171
1194
  "callRecords.getRecordingUrl": {
1172
1195
  method: "GET",
@@ -1175,7 +1198,7 @@ var OPERATIONS = {
1175
1198
  queryParams: ["ttl_seconds"],
1176
1199
  bodyKind: "none",
1177
1200
  responseKind: "json",
1178
- codes: 1
1201
+ codes: 2
1179
1202
  },
1180
1203
  "callRecords.list": {
1181
1204
  method: "GET",
@@ -1217,7 +1240,7 @@ var OPERATIONS = {
1217
1240
  ],
1218
1241
  bodyKind: "none",
1219
1242
  responseKind: "json",
1220
- codes: 3
1243
+ codes: 4
1221
1244
  },
1222
1245
  "callRecords.purgeVoiceContent": {
1223
1246
  method: "POST",
@@ -1226,7 +1249,7 @@ var OPERATIONS = {
1226
1249
  queryParams: [],
1227
1250
  bodyKind: "none",
1228
1251
  responseKind: "json",
1229
- codes: 2
1252
+ codes: 3
1230
1253
  },
1231
1254
  "callRecords.recordingContent": {
1232
1255
  method: "GET",
@@ -1235,7 +1258,7 @@ var OPERATIONS = {
1235
1258
  queryParams: [],
1236
1259
  bodyKind: "none",
1237
1260
  responseKind: "binary",
1238
- codes: 34
1261
+ codes: 35
1239
1262
  },
1240
1263
  "callRecords.retryRecording": {
1241
1264
  method: "POST",
@@ -1244,7 +1267,7 @@ var OPERATIONS = {
1244
1267
  queryParams: [],
1245
1268
  bodyKind: "none",
1246
1269
  responseKind: "json",
1247
- codes: 1
1270
+ codes: 2
1248
1271
  },
1249
1272
  "calls.hangupCall": {
1250
1273
  method: "POST",
@@ -1253,7 +1276,7 @@ var OPERATIONS = {
1253
1276
  queryParams: [],
1254
1277
  bodyKind: "none",
1255
1278
  responseKind: "json",
1256
- codes: 24
1279
+ codes: 25
1257
1280
  },
1258
1281
  "calls.originate": {
1259
1282
  method: "POST",
@@ -1262,7 +1285,7 @@ var OPERATIONS = {
1262
1285
  queryParams: [],
1263
1286
  bodyKind: "json",
1264
1287
  responseKind: "json",
1265
- codes: 48
1288
+ codes: 49
1266
1289
  },
1267
1290
  "capabilities.get": {
1268
1291
  method: "GET",
@@ -1280,7 +1303,7 @@ var OPERATIONS = {
1280
1303
  queryParams: [],
1281
1304
  bodyKind: "json",
1282
1305
  responseKind: "json",
1283
- codes: 51
1306
+ codes: 52
1284
1307
  },
1285
1308
  "channels.delete": {
1286
1309
  method: "DELETE",
@@ -1289,7 +1312,7 @@ var OPERATIONS = {
1289
1312
  queryParams: [],
1290
1313
  bodyKind: "none",
1291
1314
  responseKind: "json",
1292
- codes: 51
1315
+ codes: 52
1293
1316
  },
1294
1317
  "channels.getById": {
1295
1318
  method: "GET",
@@ -1298,7 +1321,7 @@ var OPERATIONS = {
1298
1321
  queryParams: [],
1299
1322
  bodyKind: "none",
1300
1323
  responseKind: "json",
1301
- codes: 51
1324
+ codes: 52
1302
1325
  },
1303
1326
  "channels.list": {
1304
1327
  method: "GET",
@@ -1307,7 +1330,7 @@ var OPERATIONS = {
1307
1330
  queryParams: ["search", "page", "limit", "sort_by", "sort_order", "channel_type", "is_active", "alert"],
1308
1331
  bodyKind: "none",
1309
1332
  responseKind: "json",
1310
- codes: 51
1333
+ codes: 52
1311
1334
  },
1312
1335
  "channels.testConnection": {
1313
1336
  method: "POST",
@@ -1316,7 +1339,7 @@ var OPERATIONS = {
1316
1339
  queryParams: [],
1317
1340
  bodyKind: "json",
1318
1341
  responseKind: "json",
1319
- codes: 51
1342
+ codes: 52
1320
1343
  },
1321
1344
  "channels.toggle": {
1322
1345
  method: "POST",
@@ -1325,7 +1348,7 @@ var OPERATIONS = {
1325
1348
  queryParams: [],
1326
1349
  bodyKind: "json",
1327
1350
  responseKind: "json",
1328
- codes: 51
1351
+ codes: 52
1329
1352
  },
1330
1353
  "channels.update": {
1331
1354
  method: "PATCH",
@@ -1334,7 +1357,7 @@ var OPERATIONS = {
1334
1357
  queryParams: [],
1335
1358
  bodyKind: "json",
1336
1359
  responseKind: "json",
1337
- codes: 51
1360
+ codes: 52
1338
1361
  },
1339
1362
  "contacts.getById": {
1340
1363
  method: "GET",
@@ -1343,7 +1366,7 @@ var OPERATIONS = {
1343
1366
  queryParams: [],
1344
1367
  bodyKind: "none",
1345
1368
  responseKind: "json",
1346
- codes: 17
1369
+ codes: 18
1347
1370
  },
1348
1371
  "contacts.list": {
1349
1372
  method: "GET",
@@ -1352,7 +1375,7 @@ var OPERATIONS = {
1352
1375
  queryParams: ["search", "page", "limit", "sort_by", "sort_order"],
1353
1376
  bodyKind: "none",
1354
1377
  responseKind: "json",
1355
- codes: 10
1378
+ codes: 11
1356
1379
  },
1357
1380
  "contacts.update": {
1358
1381
  method: "PATCH",
@@ -1361,7 +1384,7 @@ var OPERATIONS = {
1361
1384
  queryParams: [],
1362
1385
  bodyKind: "json",
1363
1386
  responseKind: "json",
1364
- codes: 17
1387
+ codes: 18
1365
1388
  },
1366
1389
  "dashboard.capacityStatus": {
1367
1390
  method: "GET",
@@ -1370,7 +1393,7 @@ var OPERATIONS = {
1370
1393
  queryParams: [],
1371
1394
  bodyKind: "none",
1372
1395
  responseKind: "json",
1373
- codes: 1
1396
+ codes: 2
1374
1397
  },
1375
1398
  "dashboard.watchDashboardMetrics": {
1376
1399
  method: "GET",
@@ -1379,7 +1402,7 @@ var OPERATIONS = {
1379
1402
  queryParams: [],
1380
1403
  bodyKind: "none",
1381
1404
  responseKind: "sse",
1382
- codes: 1
1405
+ codes: 2
1383
1406
  },
1384
1407
  "destinations.create": {
1385
1408
  method: "POST",
@@ -1388,7 +1411,7 @@ var OPERATIONS = {
1388
1411
  queryParams: [],
1389
1412
  bodyKind: "json",
1390
1413
  responseKind: "json",
1391
- codes: 1
1414
+ codes: 2
1392
1415
  },
1393
1416
  "destinations.delete": {
1394
1417
  method: "DELETE",
@@ -1397,7 +1420,7 @@ var OPERATIONS = {
1397
1420
  queryParams: [],
1398
1421
  bodyKind: "none",
1399
1422
  responseKind: "json",
1400
- codes: 4
1423
+ codes: 5
1401
1424
  },
1402
1425
  "destinations.getById": {
1403
1426
  method: "GET",
@@ -1406,7 +1429,7 @@ var OPERATIONS = {
1406
1429
  queryParams: [],
1407
1430
  bodyKind: "none",
1408
1431
  responseKind: "json",
1409
- codes: 4
1432
+ codes: 5
1410
1433
  },
1411
1434
  "destinations.list": {
1412
1435
  method: "GET",
@@ -1415,7 +1438,7 @@ var OPERATIONS = {
1415
1438
  queryParams: ["search", "page", "limit", "sort_by", "sort_order"],
1416
1439
  bodyKind: "none",
1417
1440
  responseKind: "json",
1418
- codes: 1
1441
+ codes: 2
1419
1442
  },
1420
1443
  "destinations.update": {
1421
1444
  method: "PATCH",
@@ -1424,7 +1447,7 @@ var OPERATIONS = {
1424
1447
  queryParams: [],
1425
1448
  bodyKind: "json",
1426
1449
  responseKind: "json",
1427
- codes: 4
1450
+ codes: 5
1428
1451
  },
1429
1452
  "dialerAttempts.list": {
1430
1453
  method: "GET",
@@ -1433,7 +1456,7 @@ var OPERATIONS = {
1433
1456
  queryParams: ["search", "page", "limit", "sort_by", "sort_order", "date_from", "date_to", "status", "contact_id"],
1434
1457
  bodyKind: "none",
1435
1458
  responseKind: "json",
1436
- codes: 10
1459
+ codes: 11
1437
1460
  },
1438
1461
  "dialerCampaigns.control": {
1439
1462
  method: "POST",
@@ -1442,7 +1465,7 @@ var OPERATIONS = {
1442
1465
  queryParams: [],
1443
1466
  bodyKind: "json",
1444
1467
  responseKind: "json",
1445
- codes: 44
1468
+ codes: 45
1446
1469
  },
1447
1470
  "dialerCampaigns.create": {
1448
1471
  method: "POST",
@@ -1451,7 +1474,7 @@ var OPERATIONS = {
1451
1474
  queryParams: [],
1452
1475
  bodyKind: "json",
1453
1476
  responseKind: "json",
1454
- codes: 46
1477
+ codes: 47
1455
1478
  },
1456
1479
  "dialerCampaigns.delete": {
1457
1480
  method: "DELETE",
@@ -1460,7 +1483,7 @@ var OPERATIONS = {
1460
1483
  queryParams: [],
1461
1484
  bodyKind: "none",
1462
1485
  responseKind: "json",
1463
- codes: 44
1486
+ codes: 45
1464
1487
  },
1465
1488
  "dialerCampaigns.get": {
1466
1489
  method: "GET",
@@ -1469,7 +1492,7 @@ var OPERATIONS = {
1469
1492
  queryParams: [],
1470
1493
  bodyKind: "none",
1471
1494
  responseKind: "json",
1472
- codes: 44
1495
+ codes: 45
1473
1496
  },
1474
1497
  "dialerCampaigns.list": {
1475
1498
  method: "GET",
@@ -1478,7 +1501,7 @@ var OPERATIONS = {
1478
1501
  queryParams: ["search", "page", "limit", "sort_by", "sort_order", "status"],
1479
1502
  bodyKind: "none",
1480
1503
  responseKind: "json",
1481
- codes: 10
1504
+ codes: 11
1482
1505
  },
1483
1506
  "dialerCampaigns.liveStats": {
1484
1507
  method: "GET",
@@ -1487,7 +1510,7 @@ var OPERATIONS = {
1487
1510
  queryParams: [],
1488
1511
  bodyKind: "none",
1489
1512
  responseKind: "sse",
1490
- codes: 44
1513
+ codes: 45
1491
1514
  },
1492
1515
  "dialerCampaigns.orgLiveStats": {
1493
1516
  method: "GET",
@@ -1496,7 +1519,7 @@ var OPERATIONS = {
1496
1519
  queryParams: [],
1497
1520
  bodyKind: "none",
1498
1521
  responseKind: "sse",
1499
- codes: 10
1522
+ codes: 11
1500
1523
  },
1501
1524
  "dialerCampaigns.stats": {
1502
1525
  method: "GET",
@@ -1505,7 +1528,7 @@ var OPERATIONS = {
1505
1528
  queryParams: [],
1506
1529
  bodyKind: "none",
1507
1530
  responseKind: "json",
1508
- codes: 44
1531
+ codes: 45
1509
1532
  },
1510
1533
  "dialerCampaigns.summary": {
1511
1534
  method: "GET",
@@ -1514,7 +1537,7 @@ var OPERATIONS = {
1514
1537
  queryParams: [],
1515
1538
  bodyKind: "none",
1516
1539
  responseKind: "json",
1517
- codes: 10
1540
+ codes: 11
1518
1541
  },
1519
1542
  "dialerCampaigns.update": {
1520
1543
  method: "PATCH",
@@ -1523,7 +1546,7 @@ var OPERATIONS = {
1523
1546
  queryParams: [],
1524
1547
  bodyKind: "json",
1525
1548
  responseKind: "json",
1526
- codes: 44
1549
+ codes: 45
1527
1550
  },
1528
1551
  "dialerContacts.add": {
1529
1552
  method: "POST",
@@ -1532,7 +1555,7 @@ var OPERATIONS = {
1532
1555
  queryParams: [],
1533
1556
  bodyKind: "json",
1534
1557
  responseKind: "json",
1535
- codes: 37
1558
+ codes: 38
1536
1559
  },
1537
1560
  "dialerContacts.bulkCancel": {
1538
1561
  method: "POST",
@@ -1541,7 +1564,7 @@ var OPERATIONS = {
1541
1564
  queryParams: [],
1542
1565
  bodyKind: "json",
1543
1566
  responseKind: "json",
1544
- codes: 10
1567
+ codes: 11
1545
1568
  },
1546
1569
  "dialerContacts.bulkRequeue": {
1547
1570
  method: "POST",
@@ -1550,7 +1573,7 @@ var OPERATIONS = {
1550
1573
  queryParams: [],
1551
1574
  bodyKind: "json",
1552
1575
  responseKind: "json",
1553
- codes: 10
1576
+ codes: 11
1554
1577
  },
1555
1578
  "dialerContacts.cancel": {
1556
1579
  method: "POST",
@@ -1559,7 +1582,7 @@ var OPERATIONS = {
1559
1582
  queryParams: [],
1560
1583
  bodyKind: "none",
1561
1584
  responseKind: "json",
1562
- codes: 37
1585
+ codes: 38
1563
1586
  },
1564
1587
  "dialerContacts.exportCsv": {
1565
1588
  method: "GET",
@@ -1568,7 +1591,7 @@ var OPERATIONS = {
1568
1591
  queryParams: ["date_from", "date_to", "status", "search"],
1569
1592
  bodyKind: "none",
1570
1593
  responseKind: "sse",
1571
- codes: 10
1594
+ codes: 11
1572
1595
  },
1573
1596
  "dialerContacts.get": {
1574
1597
  method: "GET",
@@ -1577,7 +1600,7 @@ var OPERATIONS = {
1577
1600
  queryParams: [],
1578
1601
  bodyKind: "none",
1579
1602
  responseKind: "json",
1580
- codes: 17
1603
+ codes: 18
1581
1604
  },
1582
1605
  "dialerContacts.list": {
1583
1606
  method: "GET",
@@ -1586,7 +1609,7 @@ var OPERATIONS = {
1586
1609
  queryParams: ["search", "page", "limit", "sort_by", "sort_order", "date_from", "date_to", "status"],
1587
1610
  bodyKind: "none",
1588
1611
  responseKind: "json",
1589
- codes: 10
1612
+ codes: 11
1590
1613
  },
1591
1614
  "dialerContacts.remove": {
1592
1615
  method: "POST",
@@ -1595,7 +1618,7 @@ var OPERATIONS = {
1595
1618
  queryParams: [],
1596
1619
  bodyKind: "json",
1597
1620
  responseKind: "json",
1598
- codes: 10
1621
+ codes: 11
1599
1622
  },
1600
1623
  "dialerContacts.requeue": {
1601
1624
  method: "POST",
@@ -1613,7 +1636,7 @@ var OPERATIONS = {
1613
1636
  queryParams: [],
1614
1637
  bodyKind: "json",
1615
1638
  responseKind: "json",
1616
- codes: 10
1639
+ codes: 11
1617
1640
  },
1618
1641
  "dialerContacts.update": {
1619
1642
  method: "PATCH",
@@ -1622,7 +1645,7 @@ var OPERATIONS = {
1622
1645
  queryParams: [],
1623
1646
  bodyKind: "json",
1624
1647
  responseKind: "json",
1625
- codes: 41
1648
+ codes: 42
1626
1649
  },
1627
1650
  "dialerDnc.add": {
1628
1651
  method: "POST",
@@ -1640,7 +1663,7 @@ var OPERATIONS = {
1640
1663
  queryParams: [],
1641
1664
  bodyKind: "json",
1642
1665
  responseKind: "json",
1643
- codes: 10
1666
+ codes: 11
1644
1667
  },
1645
1668
  "dialerDnc.bulkRemove": {
1646
1669
  method: "POST",
@@ -1649,7 +1672,7 @@ var OPERATIONS = {
1649
1672
  queryParams: [],
1650
1673
  bodyKind: "json",
1651
1674
  responseKind: "json",
1652
- codes: 10
1675
+ codes: 11
1653
1676
  },
1654
1677
  "dialerDnc.list": {
1655
1678
  method: "GET",
@@ -1658,7 +1681,7 @@ var OPERATIONS = {
1658
1681
  queryParams: ["search", "page", "limit", "sort_by", "sort_order"],
1659
1682
  bodyKind: "none",
1660
1683
  responseKind: "json",
1661
- codes: 10
1684
+ codes: 11
1662
1685
  },
1663
1686
  "dialerDnc.remove": {
1664
1687
  method: "DELETE",
@@ -1667,7 +1690,7 @@ var OPERATIONS = {
1667
1690
  queryParams: [],
1668
1691
  bodyKind: "none",
1669
1692
  responseKind: "json",
1670
- codes: 10
1693
+ codes: 11
1671
1694
  },
1672
1695
  "dialerImports.create": {
1673
1696
  method: "POST",
@@ -1676,7 +1699,7 @@ var OPERATIONS = {
1676
1699
  queryParams: [],
1677
1700
  bodyKind: "json",
1678
1701
  responseKind: "json",
1679
- codes: 38
1702
+ codes: 39
1680
1703
  },
1681
1704
  "dialerImports.get": {
1682
1705
  method: "GET",
@@ -1685,7 +1708,7 @@ var OPERATIONS = {
1685
1708
  queryParams: [],
1686
1709
  bodyKind: "none",
1687
1710
  responseKind: "json",
1688
- codes: 38
1711
+ codes: 39
1689
1712
  },
1690
1713
  "dialerImports.invalidRows": {
1691
1714
  method: "GET",
@@ -1694,7 +1717,7 @@ var OPERATIONS = {
1694
1717
  queryParams: [],
1695
1718
  bodyKind: "none",
1696
1719
  responseKind: "json",
1697
- codes: 38
1720
+ codes: 39
1698
1721
  },
1699
1722
  "dialerImports.progress": {
1700
1723
  method: "GET",
@@ -1703,7 +1726,7 @@ var OPERATIONS = {
1703
1726
  queryParams: [],
1704
1727
  bodyKind: "none",
1705
1728
  responseKind: "sse",
1706
- codes: 38
1729
+ codes: 39
1707
1730
  },
1708
1731
  "holidays.countries": {
1709
1732
  method: "GET",
@@ -1712,7 +1735,7 @@ var OPERATIONS = {
1712
1735
  queryParams: [],
1713
1736
  bodyKind: "none",
1714
1737
  responseKind: "json",
1715
- codes: 11
1738
+ codes: 12
1716
1739
  },
1717
1740
  "holidays.create": {
1718
1741
  method: "POST",
@@ -1721,7 +1744,7 @@ var OPERATIONS = {
1721
1744
  queryParams: [],
1722
1745
  bodyKind: "json",
1723
1746
  responseKind: "json",
1724
- codes: 1
1747
+ codes: 2
1725
1748
  },
1726
1749
  "holidays.delete": {
1727
1750
  method: "DELETE",
@@ -1730,7 +1753,7 @@ var OPERATIONS = {
1730
1753
  queryParams: [],
1731
1754
  bodyKind: "none",
1732
1755
  responseKind: "json",
1733
- codes: 6
1756
+ codes: 7
1734
1757
  },
1735
1758
  "holidays.groups.create": {
1736
1759
  method: "POST",
@@ -1739,7 +1762,7 @@ var OPERATIONS = {
1739
1762
  queryParams: [],
1740
1763
  bodyKind: "json",
1741
1764
  responseKind: "json",
1742
- codes: 1
1765
+ codes: 2
1743
1766
  },
1744
1767
  "holidays.groups.delete": {
1745
1768
  method: "DELETE",
@@ -1748,7 +1771,7 @@ var OPERATIONS = {
1748
1771
  queryParams: [],
1749
1772
  bodyKind: "none",
1750
1773
  responseKind: "json",
1751
- codes: 5
1774
+ codes: 6
1752
1775
  },
1753
1776
  "holidays.groups.getById": {
1754
1777
  method: "GET",
@@ -1757,7 +1780,7 @@ var OPERATIONS = {
1757
1780
  queryParams: [],
1758
1781
  bodyKind: "none",
1759
1782
  responseKind: "json",
1760
- codes: 5
1783
+ codes: 6
1761
1784
  },
1762
1785
  "holidays.groups.list": {
1763
1786
  method: "GET",
@@ -1766,7 +1789,7 @@ var OPERATIONS = {
1766
1789
  queryParams: ["search", "page", "limit", "sort_by", "sort_order"],
1767
1790
  bodyKind: "none",
1768
1791
  responseKind: "json",
1769
- codes: 1
1792
+ codes: 2
1770
1793
  },
1771
1794
  "holidays.groups.update": {
1772
1795
  method: "PATCH",
@@ -1775,7 +1798,7 @@ var OPERATIONS = {
1775
1798
  queryParams: [],
1776
1799
  bodyKind: "json",
1777
1800
  responseKind: "json",
1778
- codes: 5
1801
+ codes: 6
1779
1802
  },
1780
1803
  "holidays.import": {
1781
1804
  method: "POST",
@@ -1784,7 +1807,7 @@ var OPERATIONS = {
1784
1807
  queryParams: [],
1785
1808
  bodyKind: "json",
1786
1809
  responseKind: "json",
1787
- codes: 18
1810
+ codes: 19
1788
1811
  },
1789
1812
  "holidays.list": {
1790
1813
  method: "GET",
@@ -1793,7 +1816,7 @@ var OPERATIONS = {
1793
1816
  queryParams: ["page", "limit"],
1794
1817
  bodyKind: "none",
1795
1818
  responseKind: "json",
1796
- codes: 1
1819
+ codes: 2
1797
1820
  },
1798
1821
  "holidays.previewImport": {
1799
1822
  method: "GET",
@@ -1802,7 +1825,7 @@ var OPERATIONS = {
1802
1825
  queryParams: ["country_code", "year"],
1803
1826
  bodyKind: "none",
1804
1827
  responseKind: "json",
1805
- codes: 11
1828
+ codes: 12
1806
1829
  },
1807
1830
  "holidays.update": {
1808
1831
  method: "PATCH",
@@ -1811,7 +1834,7 @@ var OPERATIONS = {
1811
1834
  queryParams: [],
1812
1835
  bodyKind: "json",
1813
1836
  responseKind: "json",
1814
- codes: 6
1837
+ codes: 7
1815
1838
  },
1816
1839
  "insights.aggregate": {
1817
1840
  method: "POST",
@@ -1820,7 +1843,7 @@ var OPERATIONS = {
1820
1843
  queryParams: [],
1821
1844
  bodyKind: "json",
1822
1845
  responseKind: "json",
1823
- codes: 19
1846
+ codes: 20
1824
1847
  },
1825
1848
  "license.modules": {
1826
1849
  method: "GET",
@@ -1838,7 +1861,7 @@ var OPERATIONS = {
1838
1861
  queryParams: [],
1839
1862
  bodyKind: "none",
1840
1863
  responseKind: "json",
1841
- codes: 1
1864
+ codes: 2
1842
1865
  },
1843
1866
  "nodes.list": {
1844
1867
  method: "GET",
@@ -1865,7 +1888,7 @@ var OPERATIONS = {
1865
1888
  queryParams: ["search", "page", "limit", "sort_by", "sort_order"],
1866
1889
  bodyKind: "none",
1867
1890
  responseKind: "json",
1868
- codes: 1
1891
+ codes: 2
1869
1892
  },
1870
1893
  "oauthGrants.revoke": {
1871
1894
  method: "DELETE",
@@ -1874,7 +1897,7 @@ var OPERATIONS = {
1874
1897
  queryParams: [],
1875
1898
  bodyKind: "none",
1876
1899
  responseKind: "json",
1877
- codes: 23
1900
+ codes: 24
1878
1901
  },
1879
1902
  "oauthGrants.usage": {
1880
1903
  method: "GET",
@@ -1883,7 +1906,7 @@ var OPERATIONS = {
1883
1906
  queryParams: ["days"],
1884
1907
  bodyKind: "none",
1885
1908
  responseKind: "json",
1886
- codes: 23
1909
+ codes: 24
1887
1910
  },
1888
1911
  "orgSettings.getDialer": {
1889
1912
  method: "GET",
@@ -1892,7 +1915,7 @@ var OPERATIONS = {
1892
1915
  queryParams: [],
1893
1916
  bodyKind: "none",
1894
1917
  responseKind: "json",
1895
- codes: 1
1918
+ codes: 2
1896
1919
  },
1897
1920
  "orgSettings.upsertDialer": {
1898
1921
  method: "PATCH",
@@ -1901,7 +1924,7 @@ var OPERATIONS = {
1901
1924
  queryParams: [],
1902
1925
  bodyKind: "json",
1903
1926
  responseKind: "json",
1904
- codes: 1
1927
+ codes: 2
1905
1928
  },
1906
1929
  "schedules.create": {
1907
1930
  method: "POST",
@@ -1910,7 +1933,7 @@ var OPERATIONS = {
1910
1933
  queryParams: [],
1911
1934
  bodyKind: "json",
1912
1935
  responseKind: "json",
1913
- codes: 1
1936
+ codes: 2
1914
1937
  },
1915
1938
  "schedules.delete": {
1916
1939
  method: "DELETE",
@@ -1919,7 +1942,7 @@ var OPERATIONS = {
1919
1942
  queryParams: [],
1920
1943
  bodyKind: "none",
1921
1944
  responseKind: "json",
1922
- codes: 12
1945
+ codes: 13
1923
1946
  },
1924
1947
  "schedules.getById": {
1925
1948
  method: "GET",
@@ -1928,7 +1951,7 @@ var OPERATIONS = {
1928
1951
  queryParams: [],
1929
1952
  bodyKind: "none",
1930
1953
  responseKind: "json",
1931
- codes: 12
1954
+ codes: 13
1932
1955
  },
1933
1956
  "schedules.list": {
1934
1957
  method: "GET",
@@ -1937,7 +1960,7 @@ var OPERATIONS = {
1937
1960
  queryParams: ["search", "page", "limit", "sort_by", "sort_order"],
1938
1961
  bodyKind: "none",
1939
1962
  responseKind: "json",
1940
- codes: 1
1963
+ codes: 2
1941
1964
  },
1942
1965
  "schedules.update": {
1943
1966
  method: "PATCH",
@@ -1946,7 +1969,7 @@ var OPERATIONS = {
1946
1969
  queryParams: [],
1947
1970
  bodyKind: "json",
1948
1971
  responseKind: "json",
1949
- codes: 12
1972
+ codes: 13
1950
1973
  },
1951
1974
  "secrets.list": {
1952
1975
  method: "GET",
@@ -1955,7 +1978,7 @@ var OPERATIONS = {
1955
1978
  queryParams: ["search", "page", "limit", "sort_by", "sort_order"],
1956
1979
  bodyKind: "none",
1957
1980
  responseKind: "json",
1958
- codes: 1
1981
+ codes: 2
1959
1982
  },
1960
1983
  "secrets.listNames": {
1961
1984
  method: "GET",
@@ -1964,7 +1987,7 @@ var OPERATIONS = {
1964
1987
  queryParams: [],
1965
1988
  bodyKind: "none",
1966
1989
  responseKind: "json",
1967
- codes: 1
1990
+ codes: 2
1968
1991
  },
1969
1992
  "signals.callSignals": {
1970
1993
  method: "GET",
@@ -1973,7 +1996,7 @@ var OPERATIONS = {
1973
1996
  queryParams: ["locale"],
1974
1997
  bodyKind: "none",
1975
1998
  responseKind: "json",
1976
- codes: 52
1999
+ codes: 53
1977
2000
  },
1978
2001
  "signals.create": {
1979
2002
  method: "POST",
@@ -1982,7 +2005,7 @@ var OPERATIONS = {
1982
2005
  queryParams: [],
1983
2006
  bodyKind: "json",
1984
2007
  responseKind: "json",
1985
- codes: 52
2008
+ codes: 53
1986
2009
  },
1987
2010
  "signals.delete": {
1988
2011
  method: "DELETE",
@@ -1991,7 +2014,7 @@ var OPERATIONS = {
1991
2014
  queryParams: [],
1992
2015
  bodyKind: "none",
1993
2016
  responseKind: "json",
1994
- codes: 52
2017
+ codes: 53
1995
2018
  },
1996
2019
  "signals.get": {
1997
2020
  method: "GET",
@@ -2000,7 +2023,7 @@ var OPERATIONS = {
2000
2023
  queryParams: [],
2001
2024
  bodyKind: "none",
2002
2025
  responseKind: "json",
2003
- codes: 52
2026
+ codes: 53
2004
2027
  },
2005
2028
  "signals.list": {
2006
2029
  method: "GET",
@@ -2009,7 +2032,7 @@ var OPERATIONS = {
2009
2032
  queryParams: ["search", "page", "limit", "sort_by", "sort_order", "include_archived"],
2010
2033
  bodyKind: "none",
2011
2034
  responseKind: "json",
2012
- codes: 10
2035
+ codes: 11
2013
2036
  },
2014
2037
  "signals.overview": {
2015
2038
  method: "GET",
@@ -2018,7 +2041,7 @@ var OPERATIONS = {
2018
2041
  queryParams: [],
2019
2042
  bodyKind: "none",
2020
2043
  responseKind: "json",
2021
- codes: 10
2044
+ codes: 11
2022
2045
  },
2023
2046
  "signals.presets": {
2024
2047
  method: "GET",
@@ -2027,7 +2050,7 @@ var OPERATIONS = {
2027
2050
  queryParams: ["locale"],
2028
2051
  bodyKind: "none",
2029
2052
  responseKind: "json",
2030
- codes: 10
2053
+ codes: 11
2031
2054
  },
2032
2055
  "signals.test": {
2033
2056
  method: "POST",
@@ -2036,7 +2059,7 @@ var OPERATIONS = {
2036
2059
  queryParams: [],
2037
2060
  bodyKind: "json",
2038
2061
  responseKind: "json",
2039
- codes: 52
2062
+ codes: 53
2040
2063
  },
2041
2064
  "signals.update": {
2042
2065
  method: "PATCH",
@@ -2045,7 +2068,7 @@ var OPERATIONS = {
2045
2068
  queryParams: [],
2046
2069
  bodyKind: "json",
2047
2070
  responseKind: "json",
2048
- codes: 52
2071
+ codes: 53
2049
2072
  },
2050
2073
  "signals.upsertBySlug": {
2051
2074
  method: "PUT",
@@ -2054,7 +2077,7 @@ var OPERATIONS = {
2054
2077
  queryParams: [],
2055
2078
  bodyKind: "json",
2056
2079
  responseKind: "json",
2057
- codes: 52
2080
+ codes: 53
2058
2081
  },
2059
2082
  "tts.listModels": {
2060
2083
  method: "GET",
@@ -2063,7 +2086,7 @@ var OPERATIONS = {
2063
2086
  queryParams: [],
2064
2087
  bodyKind: "none",
2065
2088
  responseKind: "json",
2066
- codes: 25
2089
+ codes: 26
2067
2090
  },
2068
2091
  "tts.listVoices": {
2069
2092
  method: "GET",
@@ -2072,7 +2095,7 @@ var OPERATIONS = {
2072
2095
  queryParams: ["language", "model"],
2073
2096
  bodyKind: "none",
2074
2097
  responseKind: "json",
2075
- codes: 25
2098
+ codes: 26
2076
2099
  },
2077
2100
  "tts.preview": {
2078
2101
  method: "POST",
@@ -2090,7 +2113,7 @@ var OPERATIONS = {
2090
2113
  queryParams: [],
2091
2114
  bodyKind: "none",
2092
2115
  responseKind: "json",
2093
- codes: 21
2116
+ codes: 22
2094
2117
  },
2095
2118
  "users.createMember": {
2096
2119
  method: "POST",
@@ -2099,7 +2122,7 @@ var OPERATIONS = {
2099
2122
  queryParams: [],
2100
2123
  bodyKind: "json",
2101
2124
  responseKind: "json",
2102
- codes: 47
2125
+ codes: 48
2103
2126
  },
2104
2127
  "users.listMembers": {
2105
2128
  method: "GET",
@@ -2108,7 +2131,7 @@ var OPERATIONS = {
2108
2131
  queryParams: ["search", "page", "limit", "sort_by", "sort_order", "status"],
2109
2132
  bodyKind: "none",
2110
2133
  responseKind: "json",
2111
- codes: 1
2134
+ codes: 2
2112
2135
  },
2113
2136
  "users.me": {
2114
2137
  method: "GET",
@@ -2126,7 +2149,7 @@ var OPERATIONS = {
2126
2149
  queryParams: [],
2127
2150
  bodyKind: "none",
2128
2151
  responseKind: "json",
2129
- codes: 35
2152
+ codes: 36
2130
2153
  },
2131
2154
  "users.resetSecondFactor": {
2132
2155
  method: "POST",
@@ -2153,7 +2176,7 @@ var OPERATIONS = {
2153
2176
  queryParams: [],
2154
2177
  bodyKind: "none",
2155
2178
  responseKind: "json",
2156
- codes: 36
2179
+ codes: 37
2157
2180
  },
2158
2181
  "users.unlockMember": {
2159
2182
  method: "POST",
@@ -2189,7 +2212,7 @@ var OPERATIONS = {
2189
2212
  queryParams: [],
2190
2213
  bodyKind: "json",
2191
2214
  responseKind: "json",
2192
- codes: 43
2215
+ codes: 44
2193
2216
  },
2194
2217
  "visualPlans.clone": {
2195
2218
  method: "POST",
@@ -2216,7 +2239,7 @@ var OPERATIONS = {
2216
2239
  queryParams: [],
2217
2240
  bodyKind: "none",
2218
2241
  responseKind: "json",
2219
- codes: 39
2242
+ codes: 40
2220
2243
  },
2221
2244
  "visualPlans.getById": {
2222
2245
  method: "GET",
@@ -2243,7 +2266,7 @@ var OPERATIONS = {
2243
2266
  queryParams: ["search", "page", "limit", "sort_by", "sort_order", "status"],
2244
2267
  bodyKind: "none",
2245
2268
  responseKind: "json",
2246
- codes: 1
2269
+ codes: 2
2247
2270
  },
2248
2271
  "visualPlans.listVersions": {
2249
2272
  method: "GET",
@@ -2261,7 +2284,7 @@ var OPERATIONS = {
2261
2284
  queryParams: [],
2262
2285
  bodyKind: "json",
2263
2286
  responseKind: "json",
2264
- codes: 42
2287
+ codes: 43
2265
2288
  },
2266
2289
  "visualPlans.update": {
2267
2290
  method: "PATCH",
@@ -2288,7 +2311,7 @@ var OPERATIONS = {
2288
2311
  queryParams: ["webhook_endpoint_id"],
2289
2312
  bodyKind: "none",
2290
2313
  responseKind: "json",
2291
- codes: 7
2314
+ codes: 8
2292
2315
  },
2293
2316
  "webhooks.deliveries.aggregates.list": {
2294
2317
  method: "GET",
@@ -2307,7 +2330,7 @@ var OPERATIONS = {
2307
2330
  ],
2308
2331
  bodyKind: "none",
2309
2332
  responseKind: "json",
2310
- codes: 8
2333
+ codes: 9
2311
2334
  },
2312
2335
  "webhooks.deliveries.count": {
2313
2336
  method: "GET",
@@ -2316,7 +2339,7 @@ var OPERATIONS = {
2316
2339
  queryParams: ["webhook_endpoint_id", "event_type", "status", "date_from", "date_to"],
2317
2340
  bodyKind: "none",
2318
2341
  responseKind: "json",
2319
- codes: 1
2342
+ codes: 2
2320
2343
  },
2321
2344
  "webhooks.deliveries.getById": {
2322
2345
  method: "GET",
@@ -2325,7 +2348,7 @@ var OPERATIONS = {
2325
2348
  queryParams: [],
2326
2349
  bodyKind: "none",
2327
2350
  responseKind: "json",
2328
- codes: 1
2351
+ codes: 2
2329
2352
  },
2330
2353
  "webhooks.deliveries.list": {
2331
2354
  method: "GET",
@@ -2343,7 +2366,7 @@ var OPERATIONS = {
2343
2366
  ],
2344
2367
  bodyKind: "none",
2345
2368
  responseKind: "json",
2346
- codes: 8
2369
+ codes: 9
2347
2370
  },
2348
2371
  "webhooks.deliveries.retention": {
2349
2372
  method: "GET",
@@ -2352,7 +2375,7 @@ var OPERATIONS = {
2352
2375
  queryParams: [],
2353
2376
  bodyKind: "none",
2354
2377
  responseKind: "json",
2355
- codes: 1
2378
+ codes: 2
2356
2379
  },
2357
2380
  "webhooks.deliveries.retry": {
2358
2381
  method: "POST",
@@ -2361,7 +2384,7 @@ var OPERATIONS = {
2361
2384
  queryParams: [],
2362
2385
  bodyKind: "none",
2363
2386
  responseKind: "json",
2364
- codes: 20
2387
+ codes: 21
2365
2388
  },
2366
2389
  "webhooks.endpoints.create": {
2367
2390
  method: "POST",
@@ -2370,7 +2393,7 @@ var OPERATIONS = {
2370
2393
  queryParams: [],
2371
2394
  bodyKind: "json",
2372
2395
  responseKind: "json",
2373
- codes: 22
2396
+ codes: 23
2374
2397
  },
2375
2398
  "webhooks.endpoints.delete": {
2376
2399
  method: "DELETE",
@@ -2379,7 +2402,7 @@ var OPERATIONS = {
2379
2402
  queryParams: [],
2380
2403
  bodyKind: "none",
2381
2404
  responseKind: "json",
2382
- codes: 22
2405
+ codes: 23
2383
2406
  },
2384
2407
  "webhooks.endpoints.getById": {
2385
2408
  method: "GET",
@@ -2388,7 +2411,7 @@ var OPERATIONS = {
2388
2411
  queryParams: [],
2389
2412
  bodyKind: "none",
2390
2413
  responseKind: "json",
2391
- codes: 22
2414
+ codes: 23
2392
2415
  },
2393
2416
  "webhooks.endpoints.list": {
2394
2417
  method: "GET",
@@ -2397,7 +2420,7 @@ var OPERATIONS = {
2397
2420
  queryParams: ["search", "page", "limit", "sort_by", "sort_order"],
2398
2421
  bodyKind: "none",
2399
2422
  responseKind: "json",
2400
- codes: 1
2423
+ codes: 2
2401
2424
  },
2402
2425
  "webhooks.endpoints.rotateSecret": {
2403
2426
  method: "POST",
@@ -2406,7 +2429,16 @@ var OPERATIONS = {
2406
2429
  queryParams: [],
2407
2430
  bodyKind: "none",
2408
2431
  responseKind: "json",
2409
- codes: 22
2432
+ codes: 23
2433
+ },
2434
+ "webhooks.endpoints.test": {
2435
+ method: "POST",
2436
+ path: "/webhooks/{webhook_endpoint_id}/test",
2437
+ pathParams: ["webhook_endpoint_id"],
2438
+ queryParams: [],
2439
+ bodyKind: "none",
2440
+ responseKind: "json",
2441
+ codes: 23
2410
2442
  },
2411
2443
  "webhooks.endpoints.update": {
2412
2444
  method: "PATCH",
@@ -2415,7 +2447,7 @@ var OPERATIONS = {
2415
2447
  queryParams: [],
2416
2448
  bodyKind: "json",
2417
2449
  responseKind: "json",
2418
- codes: 22
2450
+ codes: 23
2419
2451
  },
2420
2452
  "webhooks.events.list": {
2421
2453
  method: "GET",
@@ -2424,7 +2456,7 @@ var OPERATIONS = {
2424
2456
  queryParams: [],
2425
2457
  bodyKind: "none",
2426
2458
  responseKind: "json",
2427
- codes: 1
2459
+ codes: 2
2428
2460
  }
2429
2461
  };
2430
2462
 
@@ -3029,12 +3061,14 @@ var NIVA_WEBHOOK_EVENT_TYPES = [
3029
3061
  "call.signal_triggered",
3030
3062
  "call.started",
3031
3063
  "call.transcribed",
3064
+ "call.transcription_failed",
3032
3065
  "call.transferred",
3033
3066
  "dialer.attempt.finished",
3034
3067
  "message.sent",
3035
3068
  "plan.published",
3036
3069
  "service.down",
3037
- "service.up"
3070
+ "service.up",
3071
+ "webhook.test"
3038
3072
  ];
3039
3073
  // src/webhook/verify.ts
3040
3074
  var SIGNATURE_RE = /^sha256=([0-9a-f]{64})$/;