boltz-api 0.37.1 → 0.39.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.
@@ -228,7 +228,7 @@ export namespace StructureAndBindingRetrieveResponse {
228
228
  * determines chain assignment.
229
229
  */
230
230
  entities: Array<
231
- | Input.ProteinEntityResponse
231
+ | Input.Boltz2ProteinEntityResponse
232
232
  | Input.RnaEntityResponse
233
233
  | Input.DnaEntityResponse
234
234
  | Input.LigandCcdEntityResponse
@@ -255,10 +255,16 @@ export namespace StructureAndBindingRetrieveResponse {
255
255
  * Number of structure samples to generate
256
256
  */
257
257
  num_samples?: number;
258
+
259
+ /**
260
+ * Template structure files to guide protein-chain prediction. Supports up to 4 CIF
261
+ * or PDB templates from HTTPS URLs or base64 uploads.
262
+ */
263
+ templates?: Array<Input.Template>;
258
264
  }
259
265
 
260
266
  export namespace Input {
261
- export interface ProteinEntityResponse {
267
+ export interface Boltz2ProteinEntityResponse {
262
268
  /**
263
269
  * Chain IDs for this entity
264
270
  */
@@ -280,10 +286,18 @@ export namespace StructureAndBindingRetrieveResponse {
280
286
  * Post-translational modifications. Optional; defaults to an empty list when
281
287
  * omitted.
282
288
  */
283
- modifications?: Array<ProteinEntityResponse.Modification>;
289
+ modifications?: Array<Boltz2ProteinEntityResponse.Modification>;
290
+
291
+ /**
292
+ * Optional protein MSA control. Omit to use automatic MSA generation; use custom
293
+ * for user-provided A3M/CSV; use empty for single-sequence mode.
294
+ */
295
+ msa?:
296
+ | Boltz2ProteinEntityResponse.Boltz2CustomMsaResponse
297
+ | Boltz2ProteinEntityResponse.Boltz2EmptyMsaResponse;
284
298
  }
285
299
 
286
- export namespace ProteinEntityResponse {
300
+ export namespace Boltz2ProteinEntityResponse {
287
301
  export interface Modification {
288
302
  /**
289
303
  * 0-based index of the residue to modify
@@ -298,6 +312,41 @@ export namespace StructureAndBindingRetrieveResponse {
298
312
  */
299
313
  value: string;
300
314
  }
315
+
316
+ /**
317
+ * Custom MSA file to use for this protein entity.
318
+ */
319
+ export interface Boltz2CustomMsaResponse {
320
+ /**
321
+ * Custom MSA file format. Boltz supports A3M and CSV MSA files.
322
+ */
323
+ format: 'a3m' | 'csv';
324
+
325
+ source: Boltz2CustomMsaResponse.Source;
326
+
327
+ type: 'custom';
328
+ }
329
+
330
+ export namespace Boltz2CustomMsaResponse {
331
+ export interface Source {
332
+ /**
333
+ * URL to download the file
334
+ */
335
+ url: string;
336
+
337
+ /**
338
+ * When the presigned URL expires
339
+ */
340
+ url_expires_at: string;
341
+ }
342
+ }
343
+
344
+ /**
345
+ * Run this protein entity in single-sequence mode without an MSA.
346
+ */
347
+ export interface Boltz2EmptyMsaResponse {
348
+ type: 'empty';
349
+ }
301
350
  }
302
351
 
303
352
  export interface RnaEntityResponse {
@@ -674,6 +723,49 @@ export namespace StructureAndBindingRetrieveResponse {
674
723
  */
675
724
  step_scale?: number;
676
725
  }
726
+
727
+ export interface Template {
728
+ /**
729
+ * Template structure format. Base64 sources must use a matching media_type.
730
+ */
731
+ format: 'cif' | 'pdb';
732
+
733
+ source: Template.Source;
734
+
735
+ /**
736
+ * One query/template chain ID, or an ordered list of chain IDs.
737
+ */
738
+ chain_id?: string | Array<string>;
739
+
740
+ /**
741
+ * Force the template alignment within threshold.
742
+ */
743
+ force?: boolean;
744
+
745
+ /**
746
+ * One query/template chain ID, or an ordered list of chain IDs.
747
+ */
748
+ template_id?: string | Array<string>;
749
+
750
+ /**
751
+ * Distance threshold in angstroms used when force is true.
752
+ */
753
+ threshold?: number;
754
+ }
755
+
756
+ export namespace Template {
757
+ export interface Source {
758
+ /**
759
+ * URL to download the file
760
+ */
761
+ url: string;
762
+
763
+ /**
764
+ * When the presigned URL expires
765
+ */
766
+ url_expires_at: string;
767
+ }
768
+ }
677
769
  }
678
770
 
679
771
  /**
@@ -1101,7 +1193,7 @@ export namespace StructureAndBindingStartResponse {
1101
1193
  * determines chain assignment.
1102
1194
  */
1103
1195
  entities: Array<
1104
- | Input.ProteinEntityResponse
1196
+ | Input.Boltz2ProteinEntityResponse
1105
1197
  | Input.RnaEntityResponse
1106
1198
  | Input.DnaEntityResponse
1107
1199
  | Input.LigandCcdEntityResponse
@@ -1128,10 +1220,16 @@ export namespace StructureAndBindingStartResponse {
1128
1220
  * Number of structure samples to generate
1129
1221
  */
1130
1222
  num_samples?: number;
1223
+
1224
+ /**
1225
+ * Template structure files to guide protein-chain prediction. Supports up to 4 CIF
1226
+ * or PDB templates from HTTPS URLs or base64 uploads.
1227
+ */
1228
+ templates?: Array<Input.Template>;
1131
1229
  }
1132
1230
 
1133
1231
  export namespace Input {
1134
- export interface ProteinEntityResponse {
1232
+ export interface Boltz2ProteinEntityResponse {
1135
1233
  /**
1136
1234
  * Chain IDs for this entity
1137
1235
  */
@@ -1153,10 +1251,18 @@ export namespace StructureAndBindingStartResponse {
1153
1251
  * Post-translational modifications. Optional; defaults to an empty list when
1154
1252
  * omitted.
1155
1253
  */
1156
- modifications?: Array<ProteinEntityResponse.Modification>;
1254
+ modifications?: Array<Boltz2ProteinEntityResponse.Modification>;
1255
+
1256
+ /**
1257
+ * Optional protein MSA control. Omit to use automatic MSA generation; use custom
1258
+ * for user-provided A3M/CSV; use empty for single-sequence mode.
1259
+ */
1260
+ msa?:
1261
+ | Boltz2ProteinEntityResponse.Boltz2CustomMsaResponse
1262
+ | Boltz2ProteinEntityResponse.Boltz2EmptyMsaResponse;
1157
1263
  }
1158
1264
 
1159
- export namespace ProteinEntityResponse {
1265
+ export namespace Boltz2ProteinEntityResponse {
1160
1266
  export interface Modification {
1161
1267
  /**
1162
1268
  * 0-based index of the residue to modify
@@ -1171,6 +1277,41 @@ export namespace StructureAndBindingStartResponse {
1171
1277
  */
1172
1278
  value: string;
1173
1279
  }
1280
+
1281
+ /**
1282
+ * Custom MSA file to use for this protein entity.
1283
+ */
1284
+ export interface Boltz2CustomMsaResponse {
1285
+ /**
1286
+ * Custom MSA file format. Boltz supports A3M and CSV MSA files.
1287
+ */
1288
+ format: 'a3m' | 'csv';
1289
+
1290
+ source: Boltz2CustomMsaResponse.Source;
1291
+
1292
+ type: 'custom';
1293
+ }
1294
+
1295
+ export namespace Boltz2CustomMsaResponse {
1296
+ export interface Source {
1297
+ /**
1298
+ * URL to download the file
1299
+ */
1300
+ url: string;
1301
+
1302
+ /**
1303
+ * When the presigned URL expires
1304
+ */
1305
+ url_expires_at: string;
1306
+ }
1307
+ }
1308
+
1309
+ /**
1310
+ * Run this protein entity in single-sequence mode without an MSA.
1311
+ */
1312
+ export interface Boltz2EmptyMsaResponse {
1313
+ type: 'empty';
1314
+ }
1174
1315
  }
1175
1316
 
1176
1317
  export interface RnaEntityResponse {
@@ -1547,6 +1688,49 @@ export namespace StructureAndBindingStartResponse {
1547
1688
  */
1548
1689
  step_scale?: number;
1549
1690
  }
1691
+
1692
+ export interface Template {
1693
+ /**
1694
+ * Template structure format. Base64 sources must use a matching media_type.
1695
+ */
1696
+ format: 'cif' | 'pdb';
1697
+
1698
+ source: Template.Source;
1699
+
1700
+ /**
1701
+ * One query/template chain ID, or an ordered list of chain IDs.
1702
+ */
1703
+ chain_id?: string | Array<string>;
1704
+
1705
+ /**
1706
+ * Force the template alignment within threshold.
1707
+ */
1708
+ force?: boolean;
1709
+
1710
+ /**
1711
+ * One query/template chain ID, or an ordered list of chain IDs.
1712
+ */
1713
+ template_id?: string | Array<string>;
1714
+
1715
+ /**
1716
+ * Distance threshold in angstroms used when force is true.
1717
+ */
1718
+ threshold?: number;
1719
+ }
1720
+
1721
+ export namespace Template {
1722
+ export interface Source {
1723
+ /**
1724
+ * URL to download the file
1725
+ */
1726
+ url: string;
1727
+
1728
+ /**
1729
+ * When the presigned URL expires
1730
+ */
1731
+ url_expires_at: string;
1732
+ }
1733
+ }
1550
1734
  }
1551
1735
 
1552
1736
  /**
@@ -1781,7 +1965,7 @@ export namespace StructureAndBindingEstimateCostParams {
1781
1965
  * determines chain assignment.
1782
1966
  */
1783
1967
  entities: Array<
1784
- | Input.ProteinEntity
1968
+ | Input.Boltz2ProteinEntity
1785
1969
  | Input.RnaEntity
1786
1970
  | Input.DnaEntity
1787
1971
  | Input.LigandCcdEntity
@@ -1808,10 +1992,16 @@ export namespace StructureAndBindingEstimateCostParams {
1808
1992
  * Number of structure samples to generate
1809
1993
  */
1810
1994
  num_samples?: number;
1995
+
1996
+ /**
1997
+ * Template structure files to guide protein-chain prediction. Supports up to 4 CIF
1998
+ * or PDB templates from HTTPS URLs or base64 uploads.
1999
+ */
2000
+ templates?: Array<Input.Template>;
1811
2001
  }
1812
2002
 
1813
2003
  export namespace Input {
1814
- export interface ProteinEntity {
2004
+ export interface Boltz2ProteinEntity {
1815
2005
  /**
1816
2006
  * Chain IDs for this entity
1817
2007
  */
@@ -1833,10 +2023,16 @@ export namespace StructureAndBindingEstimateCostParams {
1833
2023
  * Post-translational modifications. Optional; defaults to an empty list when
1834
2024
  * omitted.
1835
2025
  */
1836
- modifications?: Array<ProteinEntity.Modification>;
2026
+ modifications?: Array<Boltz2ProteinEntity.Modification>;
2027
+
2028
+ /**
2029
+ * Optional protein MSA control. Omit to use automatic MSA generation; use custom
2030
+ * for user-provided A3M/CSV; use empty for single-sequence mode.
2031
+ */
2032
+ msa?: Boltz2ProteinEntity.Boltz2CustomMsa | Boltz2ProteinEntity.Boltz2EmptyMsa;
1837
2033
  }
1838
2034
 
1839
- export namespace ProteinEntity {
2035
+ export namespace Boltz2ProteinEntity {
1840
2036
  export interface Modification {
1841
2037
  /**
1842
2038
  * 0-based index of the residue to modify
@@ -1851,6 +2047,52 @@ export namespace StructureAndBindingEstimateCostParams {
1851
2047
  */
1852
2048
  value: string;
1853
2049
  }
2050
+
2051
+ /**
2052
+ * Custom MSA file to use for this protein entity.
2053
+ */
2054
+ export interface Boltz2CustomMsa {
2055
+ /**
2056
+ * Custom MSA file format. Boltz supports A3M and CSV MSA files.
2057
+ */
2058
+ format: 'a3m' | 'csv';
2059
+
2060
+ /**
2061
+ * How to provide a file to the API
2062
+ */
2063
+ source: Boltz2CustomMsa.URLSource | Boltz2CustomMsa.Base64Source;
2064
+
2065
+ type: 'custom';
2066
+ }
2067
+
2068
+ export namespace Boltz2CustomMsa {
2069
+ export interface URLSource {
2070
+ type: 'url';
2071
+
2072
+ url: string;
2073
+ }
2074
+
2075
+ export interface Base64Source {
2076
+ /**
2077
+ * Base64-encoded file contents
2078
+ */
2079
+ data: string;
2080
+
2081
+ /**
2082
+ * MIME type (e.g., text/csv)
2083
+ */
2084
+ media_type: string;
2085
+
2086
+ type: 'base64';
2087
+ }
2088
+ }
2089
+
2090
+ /**
2091
+ * Run this protein entity in single-sequence mode without an MSA.
2092
+ */
2093
+ export interface Boltz2EmptyMsa {
2094
+ type: 'empty';
2095
+ }
1854
2096
  }
1855
2097
 
1856
2098
  export interface RnaEntity {
@@ -2223,6 +2465,60 @@ export namespace StructureAndBindingEstimateCostParams {
2223
2465
  */
2224
2466
  step_scale?: number;
2225
2467
  }
2468
+
2469
+ export interface Template {
2470
+ /**
2471
+ * Template structure format. Base64 sources must use a matching media_type.
2472
+ */
2473
+ format: 'cif' | 'pdb';
2474
+
2475
+ /**
2476
+ * How to provide a file to the API
2477
+ */
2478
+ source: Template.URLSource | Template.Base64Source;
2479
+
2480
+ /**
2481
+ * One query/template chain ID, or an ordered list of chain IDs.
2482
+ */
2483
+ chain_id?: string | Array<string>;
2484
+
2485
+ /**
2486
+ * Force the template alignment within threshold.
2487
+ */
2488
+ force?: boolean;
2489
+
2490
+ /**
2491
+ * One query/template chain ID, or an ordered list of chain IDs.
2492
+ */
2493
+ template_id?: string | Array<string>;
2494
+
2495
+ /**
2496
+ * Distance threshold in angstroms used when force is true.
2497
+ */
2498
+ threshold?: number;
2499
+ }
2500
+
2501
+ export namespace Template {
2502
+ export interface URLSource {
2503
+ type: 'url';
2504
+
2505
+ url: string;
2506
+ }
2507
+
2508
+ export interface Base64Source {
2509
+ /**
2510
+ * Base64-encoded file contents
2511
+ */
2512
+ data: string;
2513
+
2514
+ /**
2515
+ * MIME type (e.g., text/csv)
2516
+ */
2517
+ media_type: string;
2518
+
2519
+ type: 'base64';
2520
+ }
2521
+ }
2226
2522
  }
2227
2523
  }
2228
2524
 
@@ -2252,7 +2548,7 @@ export namespace StructureAndBindingStartParams {
2252
2548
  * determines chain assignment.
2253
2549
  */
2254
2550
  entities: Array<
2255
- | Input.ProteinEntity
2551
+ | Input.Boltz2ProteinEntity
2256
2552
  | Input.RnaEntity
2257
2553
  | Input.DnaEntity
2258
2554
  | Input.LigandCcdEntity
@@ -2279,10 +2575,16 @@ export namespace StructureAndBindingStartParams {
2279
2575
  * Number of structure samples to generate
2280
2576
  */
2281
2577
  num_samples?: number;
2578
+
2579
+ /**
2580
+ * Template structure files to guide protein-chain prediction. Supports up to 4 CIF
2581
+ * or PDB templates from HTTPS URLs or base64 uploads.
2582
+ */
2583
+ templates?: Array<Input.Template>;
2282
2584
  }
2283
2585
 
2284
2586
  export namespace Input {
2285
- export interface ProteinEntity {
2587
+ export interface Boltz2ProteinEntity {
2286
2588
  /**
2287
2589
  * Chain IDs for this entity
2288
2590
  */
@@ -2304,10 +2606,16 @@ export namespace StructureAndBindingStartParams {
2304
2606
  * Post-translational modifications. Optional; defaults to an empty list when
2305
2607
  * omitted.
2306
2608
  */
2307
- modifications?: Array<ProteinEntity.Modification>;
2609
+ modifications?: Array<Boltz2ProteinEntity.Modification>;
2610
+
2611
+ /**
2612
+ * Optional protein MSA control. Omit to use automatic MSA generation; use custom
2613
+ * for user-provided A3M/CSV; use empty for single-sequence mode.
2614
+ */
2615
+ msa?: Boltz2ProteinEntity.Boltz2CustomMsa | Boltz2ProteinEntity.Boltz2EmptyMsa;
2308
2616
  }
2309
2617
 
2310
- export namespace ProteinEntity {
2618
+ export namespace Boltz2ProteinEntity {
2311
2619
  export interface Modification {
2312
2620
  /**
2313
2621
  * 0-based index of the residue to modify
@@ -2322,6 +2630,52 @@ export namespace StructureAndBindingStartParams {
2322
2630
  */
2323
2631
  value: string;
2324
2632
  }
2633
+
2634
+ /**
2635
+ * Custom MSA file to use for this protein entity.
2636
+ */
2637
+ export interface Boltz2CustomMsa {
2638
+ /**
2639
+ * Custom MSA file format. Boltz supports A3M and CSV MSA files.
2640
+ */
2641
+ format: 'a3m' | 'csv';
2642
+
2643
+ /**
2644
+ * How to provide a file to the API
2645
+ */
2646
+ source: Boltz2CustomMsa.URLSource | Boltz2CustomMsa.Base64Source;
2647
+
2648
+ type: 'custom';
2649
+ }
2650
+
2651
+ export namespace Boltz2CustomMsa {
2652
+ export interface URLSource {
2653
+ type: 'url';
2654
+
2655
+ url: string;
2656
+ }
2657
+
2658
+ export interface Base64Source {
2659
+ /**
2660
+ * Base64-encoded file contents
2661
+ */
2662
+ data: string;
2663
+
2664
+ /**
2665
+ * MIME type (e.g., text/csv)
2666
+ */
2667
+ media_type: string;
2668
+
2669
+ type: 'base64';
2670
+ }
2671
+ }
2672
+
2673
+ /**
2674
+ * Run this protein entity in single-sequence mode without an MSA.
2675
+ */
2676
+ export interface Boltz2EmptyMsa {
2677
+ type: 'empty';
2678
+ }
2325
2679
  }
2326
2680
 
2327
2681
  export interface RnaEntity {
@@ -2694,6 +3048,60 @@ export namespace StructureAndBindingStartParams {
2694
3048
  */
2695
3049
  step_scale?: number;
2696
3050
  }
3051
+
3052
+ export interface Template {
3053
+ /**
3054
+ * Template structure format. Base64 sources must use a matching media_type.
3055
+ */
3056
+ format: 'cif' | 'pdb';
3057
+
3058
+ /**
3059
+ * How to provide a file to the API
3060
+ */
3061
+ source: Template.URLSource | Template.Base64Source;
3062
+
3063
+ /**
3064
+ * One query/template chain ID, or an ordered list of chain IDs.
3065
+ */
3066
+ chain_id?: string | Array<string>;
3067
+
3068
+ /**
3069
+ * Force the template alignment within threshold.
3070
+ */
3071
+ force?: boolean;
3072
+
3073
+ /**
3074
+ * One query/template chain ID, or an ordered list of chain IDs.
3075
+ */
3076
+ template_id?: string | Array<string>;
3077
+
3078
+ /**
3079
+ * Distance threshold in angstroms used when force is true.
3080
+ */
3081
+ threshold?: number;
3082
+ }
3083
+
3084
+ export namespace Template {
3085
+ export interface URLSource {
3086
+ type: 'url';
3087
+
3088
+ url: string;
3089
+ }
3090
+
3091
+ export interface Base64Source {
3092
+ /**
3093
+ * Base64-encoded file contents
3094
+ */
3095
+ data: string;
3096
+
3097
+ /**
3098
+ * MIME type (e.g., text/csv)
3099
+ */
3100
+ media_type: string;
3101
+
3102
+ type: 'base64';
3103
+ }
3104
+ }
2697
3105
  }
2698
3106
  }
2699
3107
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.37.1'; // x-release-please-version
1
+ export const VERSION = '0.39.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.37.1";
1
+ export declare const VERSION = "0.39.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.37.1";
1
+ export declare const VERSION = "0.39.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.37.1'; // x-release-please-version
4
+ exports.VERSION = '0.39.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.37.1'; // x-release-please-version
1
+ export const VERSION = '0.39.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map