boltz-api 0.44.0 → 0.45.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 (70) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.ts +2 -2
  4. package/client.js +2 -2
  5. package/client.mjs +2 -2
  6. package/package.json +1 -1
  7. package/resources/admin/workspaces.d.mts +1 -1
  8. package/resources/admin/workspaces.d.ts +1 -1
  9. package/resources/admin/workspaces.js +1 -1
  10. package/resources/admin/workspaces.mjs +1 -1
  11. package/resources/predictions/index.d.mts +1 -1
  12. package/resources/predictions/index.d.mts.map +1 -1
  13. package/resources/predictions/index.d.ts +1 -1
  14. package/resources/predictions/index.d.ts.map +1 -1
  15. package/resources/predictions/index.js.map +1 -1
  16. package/resources/predictions/index.mjs.map +1 -1
  17. package/resources/predictions/predictions.d.mts +2 -2
  18. package/resources/predictions/predictions.d.mts.map +1 -1
  19. package/resources/predictions/predictions.d.ts +2 -2
  20. package/resources/predictions/predictions.d.ts.map +1 -1
  21. package/resources/predictions/predictions.js.map +1 -1
  22. package/resources/predictions/predictions.mjs.map +1 -1
  23. package/resources/predictions/structure-and-binding.d.mts +553 -1
  24. package/resources/predictions/structure-and-binding.d.mts.map +1 -1
  25. package/resources/predictions/structure-and-binding.d.ts +553 -1
  26. package/resources/predictions/structure-and-binding.d.ts.map +1 -1
  27. package/resources/predictions/structure-and-binding.js +30 -0
  28. package/resources/predictions/structure-and-binding.js.map +1 -1
  29. package/resources/predictions/structure-and-binding.mjs +30 -0
  30. package/resources/predictions/structure-and-binding.mjs.map +1 -1
  31. package/resources/protein/design.d.mts +87 -50
  32. package/resources/protein/design.d.mts.map +1 -1
  33. package/resources/protein/design.d.ts +87 -50
  34. package/resources/protein/design.d.ts.map +1 -1
  35. package/resources/protein/library-screen.d.mts +62 -30
  36. package/resources/protein/library-screen.d.mts.map +1 -1
  37. package/resources/protein/library-screen.d.ts +62 -30
  38. package/resources/protein/library-screen.d.ts.map +1 -1
  39. package/resources/protein/protein.d.mts +1 -1
  40. package/resources/protein/protein.d.ts +1 -1
  41. package/resources/protein/protein.js +1 -1
  42. package/resources/protein/protein.mjs +1 -1
  43. package/resources/small-molecule/design.d.mts +52 -20
  44. package/resources/small-molecule/design.d.mts.map +1 -1
  45. package/resources/small-molecule/design.d.ts +52 -20
  46. package/resources/small-molecule/design.d.ts.map +1 -1
  47. package/resources/small-molecule/library-screen.d.mts +52 -20
  48. package/resources/small-molecule/library-screen.d.mts.map +1 -1
  49. package/resources/small-molecule/library-screen.d.ts +52 -20
  50. package/resources/small-molecule/library-screen.d.ts.map +1 -1
  51. package/resources/small-molecule/small-molecule.d.mts +1 -1
  52. package/resources/small-molecule/small-molecule.d.ts +1 -1
  53. package/resources/small-molecule/small-molecule.js +1 -1
  54. package/resources/small-molecule/small-molecule.mjs +1 -1
  55. package/src/client.ts +2 -2
  56. package/src/resources/admin/workspaces.ts +1 -1
  57. package/src/resources/predictions/index.ts +2 -0
  58. package/src/resources/predictions/predictions.ts +4 -0
  59. package/src/resources/predictions/structure-and-binding.ts +675 -0
  60. package/src/resources/protein/design.ts +95 -50
  61. package/src/resources/protein/library-screen.ts +70 -30
  62. package/src/resources/protein/protein.ts +1 -1
  63. package/src/resources/small-molecule/design.ts +60 -20
  64. package/src/resources/small-molecule/library-screen.ts +60 -20
  65. package/src/resources/small-molecule/small-molecule.ts +1 -1
  66. package/src/version.ts +1 -1
  67. package/version.d.mts +1 -1
  68. package/version.d.ts +1 -1
  69. package/version.js +1 -1
  70. package/version.mjs +1 -1
@@ -93,6 +93,31 @@ export declare class StructureAndBinding extends APIResource {
93
93
  * ```
94
94
  */
95
95
  start(body: StructureAndBindingStartParams, options?: RequestOptions): APIPromise<StructureAndBindingStartResponse>;
96
+ /**
97
+ * Returns the total token count for a prospective Boltz2 complex along with the
98
+ * maximum token count the caller's compute config will accept. Pure introspection
99
+ * — never rejects when the complex is too large; still rejects on malformed inputs
100
+ * the model could not interpret. Use the sandbox prediction endpoint if you need
101
+ * the cap enforced.
102
+ *
103
+ * @example
104
+ * ```ts
105
+ * const response =
106
+ * await client.predictions.structureAndBinding.tokenCount({
107
+ * input: {
108
+ * entities: [
109
+ * {
110
+ * chain_ids: ['string'],
111
+ * type: 'protein',
112
+ * value: 'value',
113
+ * },
114
+ * ],
115
+ * },
116
+ * model: 'boltz-2.1',
117
+ * });
118
+ * ```
119
+ */
120
+ tokenCount(body: StructureAndBindingTokenCountParams, options?: RequestOptions): APIPromise<StructureAndBindingTokenCountResponse>;
96
121
  }
97
122
  export type StructureAndBindingListResponsesCursorPage = CursorPage<StructureAndBindingListResponse>;
98
123
  export interface StructureAndBindingRetrieveResponse {
@@ -1651,6 +1676,18 @@ export declare namespace StructureAndBindingStartResponse {
1651
1676
  }
1652
1677
  }
1653
1678
  }
1679
+ export interface StructureAndBindingTokenCountResponse {
1680
+ /**
1681
+ * Maximum token count the caller's compute config will accept for a sandbox
1682
+ * prediction.
1683
+ */
1684
+ max_token_count: number;
1685
+ /**
1686
+ * Total token count for the complex, after applying the affinity model's internal
1687
+ * crop when relevant.
1688
+ */
1689
+ total_token_count: number;
1690
+ }
1654
1691
  export interface StructureAndBindingRetrieveParams {
1655
1692
  /**
1656
1693
  * Workspace ID. Only used with admin API keys. Ignored (or validated) for
@@ -2696,7 +2733,522 @@ export declare namespace StructureAndBindingStartParams {
2696
2733
  }
2697
2734
  }
2698
2735
  }
2736
+ export interface StructureAndBindingTokenCountParams {
2737
+ input: StructureAndBindingTokenCountParams.Input;
2738
+ /**
2739
+ * Model to use for prediction
2740
+ */
2741
+ model: 'boltz-2.1';
2742
+ /**
2743
+ * Client-provided key to prevent duplicate submissions on retries
2744
+ */
2745
+ idempotency_key?: string;
2746
+ /**
2747
+ * Target workspace ID (admin keys only; ignored for workspace keys)
2748
+ */
2749
+ workspace_id?: string;
2750
+ }
2751
+ export declare namespace StructureAndBindingTokenCountParams {
2752
+ interface Input {
2753
+ /**
2754
+ * Entities (proteins, RNA, DNA, ligands) forming the complex to predict. Order
2755
+ * determines chain assignment.
2756
+ */
2757
+ entities: Array<Input.Boltz2ProteinEntity | Input.RnaEntity | Input.DnaEntity | Input.LigandCcdEntity | Input.LigandSmilesEntity>;
2758
+ binding?: Input.LigandProteinBinding | Input.ProteinProteinBinding;
2759
+ /**
2760
+ * Bond constraints between atoms. Atom-level ligand references currently support
2761
+ * ligand_ccd only; ligand_smiles is unsupported.
2762
+ */
2763
+ bonds?: Array<Input.Bond>;
2764
+ /**
2765
+ * Structural constraints (pocket and contact). Atom-level ligand references
2766
+ * currently support ligand_ccd only; ligand_smiles is unsupported.
2767
+ */
2768
+ constraints?: Array<Input.PocketConstraint | Input.ContactConstraint>;
2769
+ model_options?: Input.ModelOptions;
2770
+ /**
2771
+ * Number of structure samples to generate
2772
+ */
2773
+ num_samples?: number;
2774
+ /**
2775
+ * Template structure files to guide protein-chain prediction. Supports up to 4 CIF
2776
+ * or PDB templates from HTTPS URLs or base64 uploads. Use template_chains to map
2777
+ * request chains to template-file chains.
2778
+ */
2779
+ templates?: Array<Input.Template>;
2780
+ }
2781
+ namespace Input {
2782
+ interface Boltz2ProteinEntity {
2783
+ /**
2784
+ * Chain IDs for this entity
2785
+ */
2786
+ chain_ids: Array<string>;
2787
+ type: 'protein';
2788
+ /**
2789
+ * Amino acid sequence (one-letter codes)
2790
+ */
2791
+ value: string;
2792
+ /**
2793
+ * Whether the sequence is cyclic
2794
+ */
2795
+ cyclic?: boolean;
2796
+ /**
2797
+ * CCD post-translational modifications. Optional; defaults to an empty list when
2798
+ * omitted. SMILES modifications are not supported.
2799
+ */
2800
+ modifications?: Array<Boltz2ProteinEntity.Modification>;
2801
+ /**
2802
+ * Optional protein MSA control. Omit msa on all protein entities to use automatic
2803
+ * MSA generation. Use custom for user-provided A3M/CSV files, or empty for
2804
+ * single-sequence mode. Custom MSA and automatic MSA cannot be mixed in one
2805
+ * request.
2806
+ */
2807
+ msa?: Boltz2ProteinEntity.Boltz2CustomMsa | Boltz2ProteinEntity.Boltz2EmptyMsa;
2808
+ }
2809
+ namespace Boltz2ProteinEntity {
2810
+ /**
2811
+ * Polymer residue modification. Only CCD codes are supported; SMILES modifications
2812
+ * are not accepted.
2813
+ */
2814
+ interface Modification {
2815
+ /**
2816
+ * 0-based index of the residue to modify
2817
+ */
2818
+ residue_index: number;
2819
+ /**
2820
+ * Modification format. Only CCD polymer modifications are supported.
2821
+ */
2822
+ type: 'ccd';
2823
+ /**
2824
+ * CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for
2825
+ * phosphoserine)
2826
+ */
2827
+ value: string;
2828
+ }
2829
+ /**
2830
+ * Use a user-provided MSA for this protein entity. If any protein entity uses a
2831
+ * custom MSA, every other protein entity must use either custom or empty MSA;
2832
+ * automatic MSA generation cannot be mixed with custom MSAs in the same request.
2833
+ */
2834
+ interface Boltz2CustomMsa {
2835
+ /**
2836
+ * Custom MSA file format. Base64 uploads must use media_type text/x-a3m for A3M or
2837
+ * text/csv for CSV.
2838
+ */
2839
+ format: 'a3m' | 'csv';
2840
+ /**
2841
+ * How to provide a file to the API
2842
+ */
2843
+ source: Boltz2CustomMsa.URLSource | Boltz2CustomMsa.Base64Source;
2844
+ type: 'custom';
2845
+ }
2846
+ namespace Boltz2CustomMsa {
2847
+ interface URLSource {
2848
+ type: 'url';
2849
+ url: string;
2850
+ }
2851
+ interface Base64Source {
2852
+ /**
2853
+ * Base64-encoded file contents
2854
+ */
2855
+ data: string;
2856
+ /**
2857
+ * MIME type (e.g., text/csv)
2858
+ */
2859
+ media_type: string;
2860
+ type: 'base64';
2861
+ }
2862
+ }
2863
+ /**
2864
+ * Run this protein entity in single-sequence mode without an MSA. Use this for
2865
+ * chains that should not use automatic MSA generation, including non-homologous
2866
+ * chains in a request that also includes custom MSAs.
2867
+ */
2868
+ interface Boltz2EmptyMsa {
2869
+ type: 'empty';
2870
+ }
2871
+ }
2872
+ interface RnaEntity {
2873
+ /**
2874
+ * Chain IDs for this entity
2875
+ */
2876
+ chain_ids: Array<string>;
2877
+ type: 'rna';
2878
+ /**
2879
+ * RNA nucleotide sequence (A, C, G, U, N)
2880
+ */
2881
+ value: string;
2882
+ /**
2883
+ * Whether the sequence is cyclic
2884
+ */
2885
+ cyclic?: boolean;
2886
+ /**
2887
+ * CCD chemical modifications. Optional; defaults to an empty list when omitted.
2888
+ * SMILES modifications are not supported.
2889
+ */
2890
+ modifications?: Array<RnaEntity.Modification>;
2891
+ }
2892
+ namespace RnaEntity {
2893
+ /**
2894
+ * Polymer residue modification. Only CCD codes are supported; SMILES modifications
2895
+ * are not accepted.
2896
+ */
2897
+ interface Modification {
2898
+ /**
2899
+ * 0-based index of the residue to modify
2900
+ */
2901
+ residue_index: number;
2902
+ /**
2903
+ * Modification format. Only CCD polymer modifications are supported.
2904
+ */
2905
+ type: 'ccd';
2906
+ /**
2907
+ * CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for
2908
+ * phosphoserine)
2909
+ */
2910
+ value: string;
2911
+ }
2912
+ }
2913
+ interface DnaEntity {
2914
+ /**
2915
+ * Chain IDs for this entity
2916
+ */
2917
+ chain_ids: Array<string>;
2918
+ type: 'dna';
2919
+ /**
2920
+ * DNA nucleotide sequence (A, C, G, T, N)
2921
+ */
2922
+ value: string;
2923
+ /**
2924
+ * Whether the sequence is cyclic
2925
+ */
2926
+ cyclic?: boolean;
2927
+ /**
2928
+ * CCD chemical modifications. Optional; defaults to an empty list when omitted.
2929
+ * SMILES modifications are not supported.
2930
+ */
2931
+ modifications?: Array<DnaEntity.Modification>;
2932
+ }
2933
+ namespace DnaEntity {
2934
+ /**
2935
+ * Polymer residue modification. Only CCD codes are supported; SMILES modifications
2936
+ * are not accepted.
2937
+ */
2938
+ interface Modification {
2939
+ /**
2940
+ * 0-based index of the residue to modify
2941
+ */
2942
+ residue_index: number;
2943
+ /**
2944
+ * Modification format. Only CCD polymer modifications are supported.
2945
+ */
2946
+ type: 'ccd';
2947
+ /**
2948
+ * CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for
2949
+ * phosphoserine)
2950
+ */
2951
+ value: string;
2952
+ }
2953
+ }
2954
+ interface LigandCcdEntity {
2955
+ /**
2956
+ * Chain IDs for this ligand
2957
+ */
2958
+ chain_ids: Array<string>;
2959
+ type: 'ligand_ccd';
2960
+ /**
2961
+ * CCD code (e.g., ATP, ADP)
2962
+ */
2963
+ value: string;
2964
+ }
2965
+ interface LigandSmilesEntity {
2966
+ /**
2967
+ * Chain IDs for this ligand
2968
+ */
2969
+ chain_ids: Array<string>;
2970
+ type: 'ligand_smiles';
2971
+ /**
2972
+ * SMILES string representing the ligand
2973
+ */
2974
+ value: string;
2975
+ }
2976
+ interface LigandProteinBinding {
2977
+ /**
2978
+ * Chain ID of the ligand binder (must have exactly 1 copy, <50 atoms, and only
2979
+ * ligands+proteins in entities)
2980
+ */
2981
+ binder_chain_id: string;
2982
+ type: 'ligand_protein_binding';
2983
+ }
2984
+ interface ProteinProteinBinding {
2985
+ /**
2986
+ * Chain IDs of the protein binders
2987
+ */
2988
+ binder_chain_ids: Array<string>;
2989
+ type: 'protein_protein_binding';
2990
+ }
2991
+ /**
2992
+ * Bond between two atoms. Atom-level ligand references currently support
2993
+ * ligand_ccd entities only; ligand_smiles is unsupported.
2994
+ */
2995
+ interface Bond {
2996
+ /**
2997
+ * Ligand atom reference. Atom-level ligand references currently support ligand_ccd
2998
+ * entities only; ligand_smiles is unsupported.
2999
+ */
3000
+ atom1: Bond.LigandAtom | Bond.PolymerAtom;
3001
+ /**
3002
+ * Ligand atom reference. Atom-level ligand references currently support ligand_ccd
3003
+ * entities only; ligand_smiles is unsupported.
3004
+ */
3005
+ atom2: Bond.LigandAtom | Bond.PolymerAtom;
3006
+ }
3007
+ namespace Bond {
3008
+ /**
3009
+ * Ligand atom reference. Atom-level ligand references currently support ligand_ccd
3010
+ * entities only; ligand_smiles is unsupported.
3011
+ */
3012
+ interface LigandAtom {
3013
+ /**
3014
+ * Standardized atom name (verifiable in CIF file on RCSB). Atom-level references
3015
+ * to ligand_smiles entities are currently unsupported; use ligand_ccd instead.
3016
+ */
3017
+ atom_name: string;
3018
+ /**
3019
+ * Chain ID containing the atom
3020
+ */
3021
+ chain_id: string;
3022
+ type: 'ligand_atom';
3023
+ }
3024
+ interface PolymerAtom {
3025
+ /**
3026
+ * Standardized atom name (verifiable in CIF file on RCSB)
3027
+ */
3028
+ atom_name: string;
3029
+ /**
3030
+ * Chain ID containing the atom
3031
+ */
3032
+ chain_id: string;
3033
+ /**
3034
+ * 0-based residue index
3035
+ */
3036
+ residue_index: number;
3037
+ type: 'polymer_atom';
3038
+ }
3039
+ /**
3040
+ * Ligand atom reference. Atom-level ligand references currently support ligand_ccd
3041
+ * entities only; ligand_smiles is unsupported.
3042
+ */
3043
+ interface LigandAtom {
3044
+ /**
3045
+ * Standardized atom name (verifiable in CIF file on RCSB). Atom-level references
3046
+ * to ligand_smiles entities are currently unsupported; use ligand_ccd instead.
3047
+ */
3048
+ atom_name: string;
3049
+ /**
3050
+ * Chain ID containing the atom
3051
+ */
3052
+ chain_id: string;
3053
+ type: 'ligand_atom';
3054
+ }
3055
+ interface PolymerAtom {
3056
+ /**
3057
+ * Standardized atom name (verifiable in CIF file on RCSB)
3058
+ */
3059
+ atom_name: string;
3060
+ /**
3061
+ * Chain ID containing the atom
3062
+ */
3063
+ chain_id: string;
3064
+ /**
3065
+ * 0-based residue index
3066
+ */
3067
+ residue_index: number;
3068
+ type: 'polymer_atom';
3069
+ }
3070
+ }
3071
+ /**
3072
+ * Constrains the binder to interact with specific pocket residues on the target.
3073
+ */
3074
+ interface PocketConstraint {
3075
+ /**
3076
+ * Chain ID of the binder molecule
3077
+ */
3078
+ binder_chain_id: string;
3079
+ /**
3080
+ * Binding pocket residues keyed by chain ID. Each key is a chain ID (e.g. "A") and
3081
+ * the value is an array of 0-indexed residue indices that define the pocket on
3082
+ * that chain.
3083
+ */
3084
+ contact_residues: {
3085
+ [key: string]: Array<number>;
3086
+ };
3087
+ /**
3088
+ * Maximum allowed distance in Angstroms between binder and pocket residues.
3089
+ * Typical range: 4-8 A.
3090
+ */
3091
+ max_distance_angstrom: number;
3092
+ type: 'pocket';
3093
+ /**
3094
+ * Whether to force the constraint
3095
+ */
3096
+ force?: boolean;
3097
+ }
3098
+ /**
3099
+ * Contact constraint between two tokens. Atom-level ligand references currently
3100
+ * support ligand_ccd entities only; ligand_smiles is unsupported.
3101
+ */
3102
+ interface ContactConstraint {
3103
+ /**
3104
+ * Maximum distance in Angstroms
3105
+ */
3106
+ max_distance_angstrom: number;
3107
+ /**
3108
+ * Ligand contact token. Atom-level ligand references currently support ligand_ccd
3109
+ * entities only; ligand_smiles is unsupported.
3110
+ */
3111
+ token1: ContactConstraint.PolymerContactToken | ContactConstraint.LigandContactToken;
3112
+ /**
3113
+ * Ligand contact token. Atom-level ligand references currently support ligand_ccd
3114
+ * entities only; ligand_smiles is unsupported.
3115
+ */
3116
+ token2: ContactConstraint.PolymerContactToken | ContactConstraint.LigandContactToken;
3117
+ type: 'contact';
3118
+ /**
3119
+ * Whether to force the constraint
3120
+ */
3121
+ force?: boolean;
3122
+ }
3123
+ namespace ContactConstraint {
3124
+ interface PolymerContactToken {
3125
+ /**
3126
+ * Chain ID
3127
+ */
3128
+ chain_id: string;
3129
+ /**
3130
+ * 0-based residue index
3131
+ */
3132
+ residue_index: number;
3133
+ type: 'polymer_contact';
3134
+ }
3135
+ /**
3136
+ * Ligand contact token. Atom-level ligand references currently support ligand_ccd
3137
+ * entities only; ligand_smiles is unsupported.
3138
+ */
3139
+ interface LigandContactToken {
3140
+ /**
3141
+ * Atom name. Atom-level references to ligand_smiles entities are currently
3142
+ * unsupported; use ligand_ccd instead.
3143
+ */
3144
+ atom_name: string;
3145
+ /**
3146
+ * Chain ID
3147
+ */
3148
+ chain_id: string;
3149
+ type: 'ligand_contact';
3150
+ }
3151
+ interface PolymerContactToken {
3152
+ /**
3153
+ * Chain ID
3154
+ */
3155
+ chain_id: string;
3156
+ /**
3157
+ * 0-based residue index
3158
+ */
3159
+ residue_index: number;
3160
+ type: 'polymer_contact';
3161
+ }
3162
+ /**
3163
+ * Ligand contact token. Atom-level ligand references currently support ligand_ccd
3164
+ * entities only; ligand_smiles is unsupported.
3165
+ */
3166
+ interface LigandContactToken {
3167
+ /**
3168
+ * Atom name. Atom-level references to ligand_smiles entities are currently
3169
+ * unsupported; use ligand_ccd instead.
3170
+ */
3171
+ atom_name: string;
3172
+ /**
3173
+ * Chain ID
3174
+ */
3175
+ chain_id: string;
3176
+ type: 'ligand_contact';
3177
+ }
3178
+ }
3179
+ interface ModelOptions {
3180
+ /**
3181
+ * The number of recycling steps to use for prediction. Default is 3.
3182
+ */
3183
+ recycling_steps?: number;
3184
+ /**
3185
+ * The number of sampling steps to use for prediction. Default is 200.
3186
+ */
3187
+ sampling_steps?: number;
3188
+ /**
3189
+ * Diffusion step scale (temperature). Controls sampling diversity — higher values
3190
+ * produce more varied structures. Default is 1.638.
3191
+ */
3192
+ step_scale?: number;
3193
+ }
3194
+ /**
3195
+ * Template structure used as an inference-time guide for Boltz-2.1 protein-chain
3196
+ * geometry. Provide a CIF or PDB file from an HTTPS URL or base64 upload.
3197
+ */
3198
+ interface Template {
3199
+ /**
3200
+ * Request-to-template chain mappings. Each input_chain_id and template_chain_id
3201
+ * must be unique within this template.
3202
+ */
3203
+ template_chains: Array<Template.TemplateChain>;
3204
+ /**
3205
+ * How to provide a template structure file. URLs must point to a CIF or PDB file;
3206
+ * base64 uploads must use chemical/x-cif or chemical/x-pdb.
3207
+ */
3208
+ template_structure: Template.URLSource | Template.TemplateStructureBase64Source;
3209
+ /**
3210
+ * Force the template reference potential with this distance threshold in
3211
+ * angstroms. Omit to use the template without force.
3212
+ */
3213
+ force_threshold_angstroms?: number;
3214
+ }
3215
+ namespace Template {
3216
+ /**
3217
+ * Mapping from one request chain to the corresponding chain in the template
3218
+ * structure file.
3219
+ */
3220
+ interface TemplateChain {
3221
+ /**
3222
+ * Chain ID in this prediction request
3223
+ */
3224
+ input_chain_id: string;
3225
+ /**
3226
+ * Corresponding chain ID in the template structure file
3227
+ */
3228
+ template_chain_id: string;
3229
+ }
3230
+ interface URLSource {
3231
+ type: 'url';
3232
+ url: string;
3233
+ }
3234
+ interface TemplateStructureBase64Source {
3235
+ /**
3236
+ * Base64-encoded template structure file contents
3237
+ */
3238
+ data: string;
3239
+ /**
3240
+ * Template structure MIME type
3241
+ *
3242
+ * - `chemical/x-cif` - CIF template structure
3243
+ * - `chemical/x-pdb` - PDB template structure
3244
+ */
3245
+ media_type: 'chemical/x-cif' | 'chemical/x-pdb';
3246
+ type: 'base64';
3247
+ }
3248
+ }
3249
+ }
3250
+ }
2699
3251
  export declare namespace StructureAndBinding {
2700
- export { type StructureAndBindingRetrieveResponse as StructureAndBindingRetrieveResponse, type StructureAndBindingListResponse as StructureAndBindingListResponse, type StructureAndBindingDeleteDataResponse as StructureAndBindingDeleteDataResponse, type StructureAndBindingEstimateCostResponse as StructureAndBindingEstimateCostResponse, type StructureAndBindingStartResponse as StructureAndBindingStartResponse, type StructureAndBindingListResponsesCursorPage as StructureAndBindingListResponsesCursorPage, type StructureAndBindingRetrieveParams as StructureAndBindingRetrieveParams, type StructureAndBindingListParams as StructureAndBindingListParams, type StructureAndBindingEstimateCostParams as StructureAndBindingEstimateCostParams, type StructureAndBindingStartParams as StructureAndBindingStartParams, };
3252
+ export { type StructureAndBindingRetrieveResponse as StructureAndBindingRetrieveResponse, type StructureAndBindingListResponse as StructureAndBindingListResponse, type StructureAndBindingDeleteDataResponse as StructureAndBindingDeleteDataResponse, type StructureAndBindingEstimateCostResponse as StructureAndBindingEstimateCostResponse, type StructureAndBindingStartResponse as StructureAndBindingStartResponse, type StructureAndBindingTokenCountResponse as StructureAndBindingTokenCountResponse, type StructureAndBindingListResponsesCursorPage as StructureAndBindingListResponsesCursorPage, type StructureAndBindingRetrieveParams as StructureAndBindingRetrieveParams, type StructureAndBindingListParams as StructureAndBindingListParams, type StructureAndBindingEstimateCostParams as StructureAndBindingEstimateCostParams, type StructureAndBindingStartParams as StructureAndBindingStartParams, type StructureAndBindingTokenCountParams as StructureAndBindingTokenCountParams, };
2701
3253
  }
2702
3254
  //# sourceMappingURL=structure-and-binding.d.ts.map