boltz-api 0.35.2 → 0.36.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.
Files changed (32) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/package.json +1 -1
  3. package/resources/predictions/structure-and-binding.d.mts +44 -156
  4. package/resources/predictions/structure-and-binding.d.mts.map +1 -1
  5. package/resources/predictions/structure-and-binding.d.ts +44 -156
  6. package/resources/predictions/structure-and-binding.d.ts.map +1 -1
  7. package/resources/protein/design.d.mts +76 -494
  8. package/resources/protein/design.d.mts.map +1 -1
  9. package/resources/protein/design.d.ts +76 -494
  10. package/resources/protein/design.d.ts.map +1 -1
  11. package/resources/protein/library-screen.d.mts +48 -312
  12. package/resources/protein/library-screen.d.mts.map +1 -1
  13. package/resources/protein/library-screen.d.ts +48 -312
  14. package/resources/protein/library-screen.d.ts.map +1 -1
  15. package/resources/small-molecule/design.d.mts +70 -75
  16. package/resources/small-molecule/design.d.mts.map +1 -1
  17. package/resources/small-molecule/design.d.ts +70 -75
  18. package/resources/small-molecule/design.d.ts.map +1 -1
  19. package/resources/small-molecule/library-screen.d.mts +70 -75
  20. package/resources/small-molecule/library-screen.d.mts.map +1 -1
  21. package/resources/small-molecule/library-screen.d.ts +70 -75
  22. package/resources/small-molecule/library-screen.d.ts.map +1 -1
  23. package/src/resources/predictions/structure-and-binding.ts +48 -204
  24. package/src/resources/protein/design.ts +76 -656
  25. package/src/resources/protein/library-screen.ts +48 -402
  26. package/src/resources/small-molecule/design.ts +80 -90
  27. package/src/resources/small-molecule/library-screen.ts +80 -90
  28. package/src/version.ts +1 -1
  29. package/version.d.mts +1 -1
  30. package/version.d.ts +1 -1
  31. package/version.js +1 -1
  32. package/version.mjs +1 -1
@@ -249,7 +249,7 @@ export namespace DesignRetrieveResponse {
249
249
  num_molecules: number;
250
250
 
251
251
  /**
252
- * Target protein with binding pocket for small molecule design or screening
252
+ * Target protein sequences for small molecule design or screening.
253
253
  */
254
254
  target: Input.Target;
255
255
 
@@ -279,7 +279,7 @@ export namespace DesignRetrieveResponse {
279
279
 
280
280
  export namespace Input {
281
281
  /**
282
- * Target protein with binding pocket for small molecule design or screening
282
+ * Target protein sequences for small molecule design or screening.
283
283
  */
284
284
  export interface Target {
285
285
  /**
@@ -300,6 +300,12 @@ export namespace DesignRetrieveResponse {
300
300
  */
301
301
  constraints?: Array<Target.PocketConstraintResponse | Target.ContactConstraintResponse>;
302
302
 
303
+ /**
304
+ * When true, pocket_residues are also sent as a forced Boltz2 pocket constraint
305
+ * while scoring candidate molecules. Defaults to false.
306
+ */
307
+ enable_pocket_conditioning?: boolean;
308
+
303
309
  /**
304
310
  * Binding pocket residues, keyed by chain ID. Each key is a chain ID (e.g. "A")
305
311
  * and the value is an array of 0-indexed residue indices that define the binding
@@ -316,6 +322,12 @@ export namespace DesignRetrieveResponse {
316
322
  * detection.
317
323
  */
318
324
  reference_ligands?: Array<string>;
325
+
326
+ /**
327
+ * Target is defined directly by protein sequences rather than a structure
328
+ * template.
329
+ */
330
+ type?: 'no_template';
319
331
  }
320
332
 
321
333
  export namespace Target {
@@ -341,11 +353,11 @@ export namespace DesignRetrieveResponse {
341
353
  * Post-translational modifications. Optional; defaults to an empty list when
342
354
  * omitted.
343
355
  */
344
- modifications?: Array<Entity.CcdModificationResponse | Entity.SmilesModificationResponse>;
356
+ modifications?: Array<Entity.Modification>;
345
357
  }
346
358
 
347
359
  export namespace Entity {
348
- export interface CcdModificationResponse {
360
+ export interface Modification {
349
361
  /**
350
362
  * 0-based index of the residue to modify
351
363
  */
@@ -359,20 +371,6 @@ export namespace DesignRetrieveResponse {
359
371
  */
360
372
  value: string;
361
373
  }
362
-
363
- export interface SmilesModificationResponse {
364
- /**
365
- * 0-based index of the residue to modify
366
- */
367
- residue_index: number;
368
-
369
- type: 'smiles';
370
-
371
- /**
372
- * SMILES string for the modification
373
- */
374
- value: string;
375
- }
376
374
  }
377
375
 
378
376
  /**
@@ -1339,7 +1337,7 @@ export namespace DesignStartResponse {
1339
1337
  num_molecules: number;
1340
1338
 
1341
1339
  /**
1342
- * Target protein with binding pocket for small molecule design or screening
1340
+ * Target protein sequences for small molecule design or screening.
1343
1341
  */
1344
1342
  target: Input.Target;
1345
1343
 
@@ -1369,7 +1367,7 @@ export namespace DesignStartResponse {
1369
1367
 
1370
1368
  export namespace Input {
1371
1369
  /**
1372
- * Target protein with binding pocket for small molecule design or screening
1370
+ * Target protein sequences for small molecule design or screening.
1373
1371
  */
1374
1372
  export interface Target {
1375
1373
  /**
@@ -1390,6 +1388,12 @@ export namespace DesignStartResponse {
1390
1388
  */
1391
1389
  constraints?: Array<Target.PocketConstraintResponse | Target.ContactConstraintResponse>;
1392
1390
 
1391
+ /**
1392
+ * When true, pocket_residues are also sent as a forced Boltz2 pocket constraint
1393
+ * while scoring candidate molecules. Defaults to false.
1394
+ */
1395
+ enable_pocket_conditioning?: boolean;
1396
+
1393
1397
  /**
1394
1398
  * Binding pocket residues, keyed by chain ID. Each key is a chain ID (e.g. "A")
1395
1399
  * and the value is an array of 0-indexed residue indices that define the binding
@@ -1406,6 +1410,12 @@ export namespace DesignStartResponse {
1406
1410
  * detection.
1407
1411
  */
1408
1412
  reference_ligands?: Array<string>;
1413
+
1414
+ /**
1415
+ * Target is defined directly by protein sequences rather than a structure
1416
+ * template.
1417
+ */
1418
+ type?: 'no_template';
1409
1419
  }
1410
1420
 
1411
1421
  export namespace Target {
@@ -1431,11 +1441,11 @@ export namespace DesignStartResponse {
1431
1441
  * Post-translational modifications. Optional; defaults to an empty list when
1432
1442
  * omitted.
1433
1443
  */
1434
- modifications?: Array<Entity.CcdModificationResponse | Entity.SmilesModificationResponse>;
1444
+ modifications?: Array<Entity.Modification>;
1435
1445
  }
1436
1446
 
1437
1447
  export namespace Entity {
1438
- export interface CcdModificationResponse {
1448
+ export interface Modification {
1439
1449
  /**
1440
1450
  * 0-based index of the residue to modify
1441
1451
  */
@@ -1449,20 +1459,6 @@ export namespace DesignStartResponse {
1449
1459
  */
1450
1460
  value: string;
1451
1461
  }
1452
-
1453
- export interface SmilesModificationResponse {
1454
- /**
1455
- * 0-based index of the residue to modify
1456
- */
1457
- residue_index: number;
1458
-
1459
- type: 'smiles';
1460
-
1461
- /**
1462
- * SMILES string for the modification
1463
- */
1464
- value: string;
1465
- }
1466
1462
  }
1467
1463
 
1468
1464
  /**
@@ -2130,7 +2126,7 @@ export namespace DesignStopResponse {
2130
2126
  num_molecules: number;
2131
2127
 
2132
2128
  /**
2133
- * Target protein with binding pocket for small molecule design or screening
2129
+ * Target protein sequences for small molecule design or screening.
2134
2130
  */
2135
2131
  target: Input.Target;
2136
2132
 
@@ -2160,7 +2156,7 @@ export namespace DesignStopResponse {
2160
2156
 
2161
2157
  export namespace Input {
2162
2158
  /**
2163
- * Target protein with binding pocket for small molecule design or screening
2159
+ * Target protein sequences for small molecule design or screening.
2164
2160
  */
2165
2161
  export interface Target {
2166
2162
  /**
@@ -2181,6 +2177,12 @@ export namespace DesignStopResponse {
2181
2177
  */
2182
2178
  constraints?: Array<Target.PocketConstraintResponse | Target.ContactConstraintResponse>;
2183
2179
 
2180
+ /**
2181
+ * When true, pocket_residues are also sent as a forced Boltz2 pocket constraint
2182
+ * while scoring candidate molecules. Defaults to false.
2183
+ */
2184
+ enable_pocket_conditioning?: boolean;
2185
+
2184
2186
  /**
2185
2187
  * Binding pocket residues, keyed by chain ID. Each key is a chain ID (e.g. "A")
2186
2188
  * and the value is an array of 0-indexed residue indices that define the binding
@@ -2197,6 +2199,12 @@ export namespace DesignStopResponse {
2197
2199
  * detection.
2198
2200
  */
2199
2201
  reference_ligands?: Array<string>;
2202
+
2203
+ /**
2204
+ * Target is defined directly by protein sequences rather than a structure
2205
+ * template.
2206
+ */
2207
+ type?: 'no_template';
2200
2208
  }
2201
2209
 
2202
2210
  export namespace Target {
@@ -2222,11 +2230,11 @@ export namespace DesignStopResponse {
2222
2230
  * Post-translational modifications. Optional; defaults to an empty list when
2223
2231
  * omitted.
2224
2232
  */
2225
- modifications?: Array<Entity.CcdModificationResponse | Entity.SmilesModificationResponse>;
2233
+ modifications?: Array<Entity.Modification>;
2226
2234
  }
2227
2235
 
2228
2236
  export namespace Entity {
2229
- export interface CcdModificationResponse {
2237
+ export interface Modification {
2230
2238
  /**
2231
2239
  * 0-based index of the residue to modify
2232
2240
  */
@@ -2240,20 +2248,6 @@ export namespace DesignStopResponse {
2240
2248
  */
2241
2249
  value: string;
2242
2250
  }
2243
-
2244
- export interface SmilesModificationResponse {
2245
- /**
2246
- * 0-based index of the residue to modify
2247
- */
2248
- residue_index: number;
2249
-
2250
- type: 'smiles';
2251
-
2252
- /**
2253
- * SMILES string for the modification
2254
- */
2255
- value: string;
2256
- }
2257
2251
  }
2258
2252
 
2259
2253
  /**
@@ -2857,7 +2851,7 @@ export interface DesignEstimateCostParams {
2857
2851
  num_molecules: number;
2858
2852
 
2859
2853
  /**
2860
- * Target protein with binding pocket for small molecule design or screening
2854
+ * Target protein sequences for small molecule design or screening.
2861
2855
  */
2862
2856
  target: DesignEstimateCostParams.Target;
2863
2857
 
@@ -2887,7 +2881,7 @@ export interface DesignEstimateCostParams {
2887
2881
 
2888
2882
  export namespace DesignEstimateCostParams {
2889
2883
  /**
2890
- * Target protein with binding pocket for small molecule design or screening
2884
+ * Target protein sequences for small molecule design or screening.
2891
2885
  */
2892
2886
  export interface Target {
2893
2887
  /**
@@ -2908,6 +2902,12 @@ export namespace DesignEstimateCostParams {
2908
2902
  */
2909
2903
  constraints?: Array<Target.PocketConstraint | Target.ContactConstraint>;
2910
2904
 
2905
+ /**
2906
+ * When true, pocket_residues are also sent as a forced Boltz2 pocket constraint
2907
+ * while scoring candidate molecules. Defaults to false.
2908
+ */
2909
+ enable_pocket_conditioning?: boolean;
2910
+
2911
2911
  /**
2912
2912
  * Binding pocket residues, keyed by chain ID. Each key is a chain ID (e.g. "A")
2913
2913
  * and the value is an array of 0-indexed residue indices that define the binding
@@ -2924,6 +2924,12 @@ export namespace DesignEstimateCostParams {
2924
2924
  * detection.
2925
2925
  */
2926
2926
  reference_ligands?: Array<string>;
2927
+
2928
+ /**
2929
+ * Target is defined directly by protein sequences rather than a structure
2930
+ * template.
2931
+ */
2932
+ type?: 'no_template';
2927
2933
  }
2928
2934
 
2929
2935
  export namespace Target {
@@ -2949,11 +2955,11 @@ export namespace DesignEstimateCostParams {
2949
2955
  * Post-translational modifications. Optional; defaults to an empty list when
2950
2956
  * omitted.
2951
2957
  */
2952
- modifications?: Array<Entity.CcdModification | Entity.SmilesModification>;
2958
+ modifications?: Array<Entity.Modification>;
2953
2959
  }
2954
2960
 
2955
2961
  export namespace Entity {
2956
- export interface CcdModification {
2962
+ export interface Modification {
2957
2963
  /**
2958
2964
  * 0-based index of the residue to modify
2959
2965
  */
@@ -2967,20 +2973,6 @@ export namespace DesignEstimateCostParams {
2967
2973
  */
2968
2974
  value: string;
2969
2975
  }
2970
-
2971
- export interface SmilesModification {
2972
- /**
2973
- * 0-based index of the residue to modify
2974
- */
2975
- residue_index: number;
2976
-
2977
- type: 'smiles';
2978
-
2979
- /**
2980
- * SMILES string for the modification
2981
- */
2982
- value: string;
2983
- }
2984
2976
  }
2985
2977
 
2986
2978
  /**
@@ -3553,7 +3545,7 @@ export interface DesignStartParams {
3553
3545
  num_molecules: number;
3554
3546
 
3555
3547
  /**
3556
- * Target protein with binding pocket for small molecule design or screening
3548
+ * Target protein sequences for small molecule design or screening.
3557
3549
  */
3558
3550
  target: DesignStartParams.Target;
3559
3551
 
@@ -3583,7 +3575,7 @@ export interface DesignStartParams {
3583
3575
 
3584
3576
  export namespace DesignStartParams {
3585
3577
  /**
3586
- * Target protein with binding pocket for small molecule design or screening
3578
+ * Target protein sequences for small molecule design or screening.
3587
3579
  */
3588
3580
  export interface Target {
3589
3581
  /**
@@ -3604,6 +3596,12 @@ export namespace DesignStartParams {
3604
3596
  */
3605
3597
  constraints?: Array<Target.PocketConstraint | Target.ContactConstraint>;
3606
3598
 
3599
+ /**
3600
+ * When true, pocket_residues are also sent as a forced Boltz2 pocket constraint
3601
+ * while scoring candidate molecules. Defaults to false.
3602
+ */
3603
+ enable_pocket_conditioning?: boolean;
3604
+
3607
3605
  /**
3608
3606
  * Binding pocket residues, keyed by chain ID. Each key is a chain ID (e.g. "A")
3609
3607
  * and the value is an array of 0-indexed residue indices that define the binding
@@ -3620,6 +3618,12 @@ export namespace DesignStartParams {
3620
3618
  * detection.
3621
3619
  */
3622
3620
  reference_ligands?: Array<string>;
3621
+
3622
+ /**
3623
+ * Target is defined directly by protein sequences rather than a structure
3624
+ * template.
3625
+ */
3626
+ type?: 'no_template';
3623
3627
  }
3624
3628
 
3625
3629
  export namespace Target {
@@ -3645,11 +3649,11 @@ export namespace DesignStartParams {
3645
3649
  * Post-translational modifications. Optional; defaults to an empty list when
3646
3650
  * omitted.
3647
3651
  */
3648
- modifications?: Array<Entity.CcdModification | Entity.SmilesModification>;
3652
+ modifications?: Array<Entity.Modification>;
3649
3653
  }
3650
3654
 
3651
3655
  export namespace Entity {
3652
- export interface CcdModification {
3656
+ export interface Modification {
3653
3657
  /**
3654
3658
  * 0-based index of the residue to modify
3655
3659
  */
@@ -3663,20 +3667,6 @@ export namespace DesignStartParams {
3663
3667
  */
3664
3668
  value: string;
3665
3669
  }
3666
-
3667
- export interface SmilesModification {
3668
- /**
3669
- * 0-based index of the residue to modify
3670
- */
3671
- residue_index: number;
3672
-
3673
- type: 'smiles';
3674
-
3675
- /**
3676
- * SMILES string for the modification
3677
- */
3678
- value: string;
3679
- }
3680
3670
  }
3681
3671
 
3682
3672
  /**