@onkernel/sdk 0.86.0 → 0.86.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/package.json +1 -1
  3. package/resources/auth/connections.d.mts +306 -0
  4. package/resources/auth/connections.d.mts.map +1 -1
  5. package/resources/auth/connections.d.ts +306 -0
  6. package/resources/auth/connections.d.ts.map +1 -1
  7. package/resources/browser-pools.d.mts +153 -0
  8. package/resources/browser-pools.d.mts.map +1 -1
  9. package/resources/browser-pools.d.ts +153 -0
  10. package/resources/browser-pools.d.ts.map +1 -1
  11. package/resources/browsers/browsers.d.mts +105 -3
  12. package/resources/browsers/browsers.d.mts.map +1 -1
  13. package/resources/browsers/browsers.d.ts +105 -3
  14. package/resources/browsers/browsers.d.ts.map +1 -1
  15. package/resources/browsers/browsers.js.map +1 -1
  16. package/resources/browsers/browsers.mjs.map +1 -1
  17. package/resources/browsers/index.d.mts +1 -1
  18. package/resources/browsers/index.d.mts.map +1 -1
  19. package/resources/browsers/index.d.ts +1 -1
  20. package/resources/browsers/index.d.ts.map +1 -1
  21. package/resources/browsers/index.js.map +1 -1
  22. package/resources/browsers/index.mjs.map +1 -1
  23. package/resources/browsers/telemetry.d.mts +29 -1
  24. package/resources/browsers/telemetry.d.mts.map +1 -1
  25. package/resources/browsers/telemetry.d.ts +29 -1
  26. package/resources/browsers/telemetry.d.ts.map +1 -1
  27. package/src/resources/auth/connections.ts +342 -0
  28. package/src/resources/browser-pools.ts +171 -0
  29. package/src/resources/browsers/browsers.ts +119 -1
  30. package/src/resources/browsers/index.ts +2 -0
  31. package/src/resources/browsers/telemetry.ts +34 -0
  32. package/src/version.ts +1 -1
  33. package/version.d.mts +1 -1
  34. package/version.d.ts +1 -1
  35. package/version.js +1 -1
  36. package/version.mjs +1 -1
@@ -553,6 +553,63 @@ export namespace ManagedAuth {
553
553
  * create. enabled=false cannot be combined with browser category settings.
554
554
  */
555
555
  enabled?: boolean;
556
+
557
+ /**
558
+ * Where to export this session's captured telemetry. Omit to capture without
559
+ * exporting.
560
+ */
561
+ export?: BrowserTelemetry.Export;
562
+ }
563
+
564
+ export namespace BrowserTelemetry {
565
+ /**
566
+ * Where to export this session's captured telemetry. Omit to capture without
567
+ * exporting.
568
+ */
569
+ export interface Export {
570
+ /**
571
+ * Export captured telemetry over OTLP to one of the org's configured destinations.
572
+ */
573
+ otlp?: Export.Otlp;
574
+ }
575
+
576
+ export namespace Export {
577
+ /**
578
+ * Export captured telemetry over OTLP to one of the org's configured destinations.
579
+ */
580
+ export interface Otlp {
581
+ /**
582
+ * OTLP destination to export this session's captured telemetry to. Provide either
583
+ * id or name. Requires telemetry capture to be enabled.
584
+ */
585
+ destination?: Otlp.Destination;
586
+
587
+ /**
588
+ * Whether to export captured telemetry over OTLP. Setting destination implies
589
+ * enabled=true, so this only needs to be set explicitly to disable export
590
+ * (enabled=false with a destination is rejected).
591
+ */
592
+ enabled?: boolean;
593
+ }
594
+
595
+ export namespace Otlp {
596
+ /**
597
+ * OTLP destination to export this session's captured telemetry to. Provide either
598
+ * id or name. Requires telemetry capture to be enabled.
599
+ */
600
+ export interface Destination {
601
+ /**
602
+ * OTLP destination ID
603
+ */
604
+ id?: string;
605
+
606
+ /**
607
+ * OTLP destination name
608
+ */
609
+ name?: string;
610
+ }
611
+ }
612
+ }
556
613
  }
557
614
 
558
615
  /**
@@ -916,6 +973,63 @@ export namespace ManagedAuthCreateRequest {
916
973
  * create. enabled=false cannot be combined with browser category settings.
917
974
  */
918
975
  enabled?: boolean;
976
+
977
+ /**
978
+ * Where to export this session's captured telemetry. Omit to capture without
979
+ * exporting.
980
+ */
981
+ export?: BrowserTelemetry.Export;
982
+ }
983
+
984
+ export namespace BrowserTelemetry {
985
+ /**
986
+ * Where to export this session's captured telemetry. Omit to capture without
987
+ * exporting.
988
+ */
989
+ export interface Export {
990
+ /**
991
+ * Export captured telemetry over OTLP to one of the org's configured destinations.
992
+ */
993
+ otlp?: Export.Otlp;
994
+ }
995
+
996
+ export namespace Export {
997
+ /**
998
+ * Export captured telemetry over OTLP to one of the org's configured destinations.
999
+ */
1000
+ export interface Otlp {
1001
+ /**
1002
+ * OTLP destination to export this session's captured telemetry to. Provide either
1003
+ * id or name. Requires telemetry capture to be enabled.
1004
+ */
1005
+ destination?: Otlp.Destination;
1006
+
1007
+ /**
1008
+ * Whether to export captured telemetry over OTLP. Setting destination implies
1009
+ * enabled=true, so this only needs to be set explicitly to disable export
1010
+ * (enabled=false with a destination is rejected).
1011
+ */
1012
+ enabled?: boolean;
1013
+ }
1014
+
1015
+ export namespace Otlp {
1016
+ /**
1017
+ * OTLP destination to export this session's captured telemetry to. Provide either
1018
+ * id or name. Requires telemetry capture to be enabled.
1019
+ */
1020
+ export interface Destination {
1021
+ /**
1022
+ * OTLP destination ID
1023
+ */
1024
+ id?: string;
1025
+
1026
+ /**
1027
+ * OTLP destination name
1028
+ */
1029
+ name?: string;
1030
+ }
1031
+ }
1032
+ }
919
1033
  }
920
1034
 
921
1035
  /**
@@ -1155,6 +1269,63 @@ export namespace ManagedAuthUpdateRequest {
1155
1269
  * create. enabled=false cannot be combined with browser category settings.
1156
1270
  */
1157
1271
  enabled?: boolean;
1272
+
1273
+ /**
1274
+ * Where to export this session's captured telemetry. Omit to capture without
1275
+ * exporting.
1276
+ */
1277
+ export?: BrowserTelemetry.Export;
1278
+ }
1279
+
1280
+ export namespace BrowserTelemetry {
1281
+ /**
1282
+ * Where to export this session's captured telemetry. Omit to capture without
1283
+ * exporting.
1284
+ */
1285
+ export interface Export {
1286
+ /**
1287
+ * Export captured telemetry over OTLP to one of the org's configured destinations.
1288
+ */
1289
+ otlp?: Export.Otlp;
1290
+ }
1291
+
1292
+ export namespace Export {
1293
+ /**
1294
+ * Export captured telemetry over OTLP to one of the org's configured destinations.
1295
+ */
1296
+ export interface Otlp {
1297
+ /**
1298
+ * OTLP destination to export this session's captured telemetry to. Provide either
1299
+ * id or name. Requires telemetry capture to be enabled.
1300
+ */
1301
+ destination?: Otlp.Destination;
1302
+
1303
+ /**
1304
+ * Whether to export captured telemetry over OTLP. Setting destination implies
1305
+ * enabled=true, so this only needs to be set explicitly to disable export
1306
+ * (enabled=false with a destination is rejected).
1307
+ */
1308
+ enabled?: boolean;
1309
+ }
1310
+
1311
+ export namespace Otlp {
1312
+ /**
1313
+ * OTLP destination to export this session's captured telemetry to. Provide either
1314
+ * id or name. Requires telemetry capture to be enabled.
1315
+ */
1316
+ export interface Destination {
1317
+ /**
1318
+ * OTLP destination ID
1319
+ */
1320
+ id?: string;
1321
+
1322
+ /**
1323
+ * OTLP destination name
1324
+ */
1325
+ name?: string;
1326
+ }
1327
+ }
1328
+ }
1158
1329
  }
1159
1330
 
1160
1331
  /**
@@ -1705,6 +1876,63 @@ export namespace ConnectionCreateParams {
1705
1876
  * create. enabled=false cannot be combined with browser category settings.
1706
1877
  */
1707
1878
  enabled?: boolean;
1879
+
1880
+ /**
1881
+ * Where to export this session's captured telemetry. Omit to capture without
1882
+ * exporting.
1883
+ */
1884
+ export?: BrowserTelemetry.Export;
1885
+ }
1886
+
1887
+ export namespace BrowserTelemetry {
1888
+ /**
1889
+ * Where to export this session's captured telemetry. Omit to capture without
1890
+ * exporting.
1891
+ */
1892
+ export interface Export {
1893
+ /**
1894
+ * Export captured telemetry over OTLP to one of the org's configured destinations.
1895
+ */
1896
+ otlp?: Export.Otlp;
1897
+ }
1898
+
1899
+ export namespace Export {
1900
+ /**
1901
+ * Export captured telemetry over OTLP to one of the org's configured destinations.
1902
+ */
1903
+ export interface Otlp {
1904
+ /**
1905
+ * OTLP destination to export this session's captured telemetry to. Provide either
1906
+ * id or name. Requires telemetry capture to be enabled.
1907
+ */
1908
+ destination?: Otlp.Destination;
1909
+
1910
+ /**
1911
+ * Whether to export captured telemetry over OTLP. Setting destination implies
1912
+ * enabled=true, so this only needs to be set explicitly to disable export
1913
+ * (enabled=false with a destination is rejected).
1914
+ */
1915
+ enabled?: boolean;
1916
+ }
1917
+
1918
+ export namespace Otlp {
1919
+ /**
1920
+ * OTLP destination to export this session's captured telemetry to. Provide either
1921
+ * id or name. Requires telemetry capture to be enabled.
1922
+ */
1923
+ export interface Destination {
1924
+ /**
1925
+ * OTLP destination ID
1926
+ */
1927
+ id?: string;
1928
+
1929
+ /**
1930
+ * OTLP destination name
1931
+ */
1932
+ name?: string;
1933
+ }
1934
+ }
1935
+ }
1708
1936
  }
1709
1937
 
1710
1938
  /**
@@ -1856,6 +2084,63 @@ export namespace ConnectionUpdateParams {
1856
2084
  * create. enabled=false cannot be combined with browser category settings.
1857
2085
  */
1858
2086
  enabled?: boolean;
2087
+
2088
+ /**
2089
+ * Where to export this session's captured telemetry. Omit to capture without
2090
+ * exporting.
2091
+ */
2092
+ export?: BrowserTelemetry.Export;
2093
+ }
2094
+
2095
+ export namespace BrowserTelemetry {
2096
+ /**
2097
+ * Where to export this session's captured telemetry. Omit to capture without
2098
+ * exporting.
2099
+ */
2100
+ export interface Export {
2101
+ /**
2102
+ * Export captured telemetry over OTLP to one of the org's configured destinations.
2103
+ */
2104
+ otlp?: Export.Otlp;
2105
+ }
2106
+
2107
+ export namespace Export {
2108
+ /**
2109
+ * Export captured telemetry over OTLP to one of the org's configured destinations.
2110
+ */
2111
+ export interface Otlp {
2112
+ /**
2113
+ * OTLP destination to export this session's captured telemetry to. Provide either
2114
+ * id or name. Requires telemetry capture to be enabled.
2115
+ */
2116
+ destination?: Otlp.Destination;
2117
+
2118
+ /**
2119
+ * Whether to export captured telemetry over OTLP. Setting destination implies
2120
+ * enabled=true, so this only needs to be set explicitly to disable export
2121
+ * (enabled=false with a destination is rejected).
2122
+ */
2123
+ enabled?: boolean;
2124
+ }
2125
+
2126
+ export namespace Otlp {
2127
+ /**
2128
+ * OTLP destination to export this session's captured telemetry to. Provide either
2129
+ * id or name. Requires telemetry capture to be enabled.
2130
+ */
2131
+ export interface Destination {
2132
+ /**
2133
+ * OTLP destination ID
2134
+ */
2135
+ id?: string;
2136
+
2137
+ /**
2138
+ * OTLP destination name
2139
+ */
2140
+ name?: string;
2141
+ }
2142
+ }
2143
+ }
1859
2144
  }
1860
2145
 
1861
2146
  /**
@@ -1977,6 +2262,63 @@ export namespace ConnectionLoginParams {
1977
2262
  * create. enabled=false cannot be combined with browser category settings.
1978
2263
  */
1979
2264
  enabled?: boolean;
2265
+
2266
+ /**
2267
+ * Where to export this session's captured telemetry. Omit to capture without
2268
+ * exporting.
2269
+ */
2270
+ export?: BrowserTelemetry.Export;
2271
+ }
2272
+
2273
+ export namespace BrowserTelemetry {
2274
+ /**
2275
+ * Where to export this session's captured telemetry. Omit to capture without
2276
+ * exporting.
2277
+ */
2278
+ export interface Export {
2279
+ /**
2280
+ * Export captured telemetry over OTLP to one of the org's configured destinations.
2281
+ */
2282
+ otlp?: Export.Otlp;
2283
+ }
2284
+
2285
+ export namespace Export {
2286
+ /**
2287
+ * Export captured telemetry over OTLP to one of the org's configured destinations.
2288
+ */
2289
+ export interface Otlp {
2290
+ /**
2291
+ * OTLP destination to export this session's captured telemetry to. Provide either
2292
+ * id or name. Requires telemetry capture to be enabled.
2293
+ */
2294
+ destination?: Otlp.Destination;
2295
+
2296
+ /**
2297
+ * Whether to export captured telemetry over OTLP. Setting destination implies
2298
+ * enabled=true, so this only needs to be set explicitly to disable export
2299
+ * (enabled=false with a destination is rejected).
2300
+ */
2301
+ enabled?: boolean;
2302
+ }
2303
+
2304
+ export namespace Otlp {
2305
+ /**
2306
+ * OTLP destination to export this session's captured telemetry to. Provide either
2307
+ * id or name. Requires telemetry capture to be enabled.
2308
+ */
2309
+ export interface Destination {
2310
+ /**
2311
+ * OTLP destination ID
2312
+ */
2313
+ id?: string;
2314
+
2315
+ /**
2316
+ * OTLP destination name
2317
+ */
2318
+ name?: string;
2319
+ }
2320
+ }
2321
+ }
1980
2322
  }
1981
2323
 
1982
2324
  /**
@@ -648,6 +648,63 @@ export namespace BrowserPoolCreateParams {
648
648
  * create. enabled=false cannot be combined with browser category settings.
649
649
  */
650
650
  enabled?: boolean;
651
+
652
+ /**
653
+ * Where to export this session's captured telemetry. Omit to capture without
654
+ * exporting.
655
+ */
656
+ export?: Telemetry.Export;
657
+ }
658
+
659
+ export namespace Telemetry {
660
+ /**
661
+ * Where to export this session's captured telemetry. Omit to capture without
662
+ * exporting.
663
+ */
664
+ export interface Export {
665
+ /**
666
+ * Export captured telemetry over OTLP to one of the org's configured destinations.
667
+ */
668
+ otlp?: Export.Otlp;
669
+ }
670
+
671
+ export namespace Export {
672
+ /**
673
+ * Export captured telemetry over OTLP to one of the org's configured destinations.
674
+ */
675
+ export interface Otlp {
676
+ /**
677
+ * OTLP destination to export this session's captured telemetry to. Provide either
678
+ * id or name. Requires telemetry capture to be enabled.
679
+ */
680
+ destination?: Otlp.Destination;
681
+
682
+ /**
683
+ * Whether to export captured telemetry over OTLP. Setting destination implies
684
+ * enabled=true, so this only needs to be set explicitly to disable export
685
+ * (enabled=false with a destination is rejected).
686
+ */
687
+ enabled?: boolean;
688
+ }
689
+
690
+ export namespace Otlp {
691
+ /**
692
+ * OTLP destination to export this session's captured telemetry to. Provide either
693
+ * id or name. Requires telemetry capture to be enabled.
694
+ */
695
+ export interface Destination {
696
+ /**
697
+ * OTLP destination ID
698
+ */
699
+ id?: string;
700
+
701
+ /**
702
+ * OTLP destination name
703
+ */
704
+ name?: string;
705
+ }
706
+ }
707
+ }
651
708
  }
652
709
  }
653
710
 
@@ -833,6 +890,63 @@ export namespace BrowserPoolUpdateParams {
833
890
  * create. enabled=false cannot be combined with browser category settings.
834
891
  */
835
892
  enabled?: boolean;
893
+
894
+ /**
895
+ * Where to export this session's captured telemetry. Omit to capture without
896
+ * exporting.
897
+ */
898
+ export?: Telemetry.Export;
899
+ }
900
+
901
+ export namespace Telemetry {
902
+ /**
903
+ * Where to export this session's captured telemetry. Omit to capture without
904
+ * exporting.
905
+ */
906
+ export interface Export {
907
+ /**
908
+ * Export captured telemetry over OTLP to one of the org's configured destinations.
909
+ */
910
+ otlp?: Export.Otlp;
911
+ }
912
+
913
+ export namespace Export {
914
+ /**
915
+ * Export captured telemetry over OTLP to one of the org's configured destinations.
916
+ */
917
+ export interface Otlp {
918
+ /**
919
+ * OTLP destination to export this session's captured telemetry to. Provide either
920
+ * id or name. Requires telemetry capture to be enabled.
921
+ */
922
+ destination?: Otlp.Destination;
923
+
924
+ /**
925
+ * Whether to export captured telemetry over OTLP. Setting destination implies
926
+ * enabled=true, so this only needs to be set explicitly to disable export
927
+ * (enabled=false with a destination is rejected).
928
+ */
929
+ enabled?: boolean;
930
+ }
931
+
932
+ export namespace Otlp {
933
+ /**
934
+ * OTLP destination to export this session's captured telemetry to. Provide either
935
+ * id or name. Requires telemetry capture to be enabled.
936
+ */
937
+ export interface Destination {
938
+ /**
939
+ * OTLP destination ID
940
+ */
941
+ id?: string;
942
+
943
+ /**
944
+ * OTLP destination name
945
+ */
946
+ name?: string;
947
+ }
948
+ }
949
+ }
836
950
  }
837
951
  }
838
952
 
@@ -939,6 +1053,63 @@ export namespace BrowserPoolAcquireParams {
939
1053
  * create. enabled=false cannot be combined with browser category settings.
940
1054
  */
941
1055
  enabled?: boolean;
1056
+
1057
+ /**
1058
+ * Where to export this session's captured telemetry. Omit to capture without
1059
+ * exporting.
1060
+ */
1061
+ export?: Telemetry.Export;
1062
+ }
1063
+
1064
+ export namespace Telemetry {
1065
+ /**
1066
+ * Where to export this session's captured telemetry. Omit to capture without
1067
+ * exporting.
1068
+ */
1069
+ export interface Export {
1070
+ /**
1071
+ * Export captured telemetry over OTLP to one of the org's configured destinations.
1072
+ */
1073
+ otlp?: Export.Otlp;
1074
+ }
1075
+
1076
+ export namespace Export {
1077
+ /**
1078
+ * Export captured telemetry over OTLP to one of the org's configured destinations.
1079
+ */
1080
+ export interface Otlp {
1081
+ /**
1082
+ * OTLP destination to export this session's captured telemetry to. Provide either
1083
+ * id or name. Requires telemetry capture to be enabled.
1084
+ */
1085
+ destination?: Otlp.Destination;
1086
+
1087
+ /**
1088
+ * Whether to export captured telemetry over OTLP. Setting destination implies
1089
+ * enabled=true, so this only needs to be set explicitly to disable export
1090
+ * (enabled=false with a destination is rejected).
1091
+ */
1092
+ enabled?: boolean;
1093
+ }
1094
+
1095
+ export namespace Otlp {
1096
+ /**
1097
+ * OTLP destination to export this session's captured telemetry to. Provide either
1098
+ * id or name. Requires telemetry capture to be enabled.
1099
+ */
1100
+ export interface Destination {
1101
+ /**
1102
+ * OTLP destination ID
1103
+ */
1104
+ id?: string;
1105
+
1106
+ /**
1107
+ * OTLP destination name
1108
+ */
1109
+ name?: string;
1110
+ }
1111
+ }
1112
+ }
942
1113
  }
943
1114
  }
944
1115