@@ -169,21 +169,6 @@ export class Blueprints extends APIResource {
169169 return this . _client . post ( `/v1/blueprints/${ id } /delete` , options ) ;
170170 }
171171
172- /**
173- * Starts build of custom defined container Blueprint using a RepositoryConnection
174- * Inspection as a source container specification.
175- */
176- createFromInspection (
177- body : BlueprintCreateFromInspectionParams ,
178- options ?: Core . RequestOptions ,
179- ) : Core . APIPromise < BlueprintView > {
180- const errors = validateFileMounts ( body ?. file_mounts ) ;
181- if ( errors . length > 0 ) {
182- throw new Error ( errors . join ( '; ' ) ) ;
183- }
184- return this . _client . post ( '/v1/blueprints/create_from_inspection' , { body, ...options } ) ;
185- }
186-
187172 /**
188173 * List all public Blueprints that are available to all users.
189174 */
@@ -230,55 +215,6 @@ export class Blueprints extends APIResource {
230215
231216export class BlueprintViewsBlueprintsCursorIDPage extends BlueprintsCursorIDPage < BlueprintView > { }
232217
233- export interface BlueprintBuildFromInspectionParameters {
234- /**
235- * (Optional) Use a RepositoryInspection a source of a Blueprint build. The
236- * Dockerfile will be automatically created based on the RepositoryInspection
237- * contents.
238- */
239- inspection_source : InspectionSource ;
240-
241- /**
242- * Name of the Blueprint.
243- */
244- name : string ;
245-
246- /**
247- * (Optional) Map of paths and file contents to write before setup.
248- */
249- file_mounts ?: { [ key : string ] : string } | null ;
250-
251- /**
252- * LaunchParameters enable you to customize the resources available to your Devbox
253- * as well as the environment set up that should be completed before the Devbox is
254- * marked as 'running'.
255- */
256- launch_parameters ?: Shared . LaunchParameters | null ;
257-
258- /**
259- * (Optional) User defined metadata for the Blueprint.
260- */
261- metadata ?: { [ key : string ] : string } | null ;
262-
263- /**
264- * (Optional) ID of the network policy to apply during blueprint build. This
265- * restricts network access during the build process.
266- */
267- network_policy_id ?: string | null ;
268-
269- /**
270- * (Optional) Map of mount IDs/environment variable names to secret names. Secrets
271- * can be used as environment variables in system_setup_commands. Example:
272- * {"GITHUB_TOKEN": "gh_secret"} makes 'gh_secret' available as GITHUB_TOKEN.
273- */
274- secrets ?: { [ key : string ] : string } | null ;
275-
276- /**
277- * A list of commands to run to set up your system.
278- */
279- system_setup_commands ?: Array < string > | null ;
280- }
281-
282218export interface BlueprintBuildLog {
283219 /**
284220 * Log line severity level.
@@ -609,21 +545,6 @@ export namespace BlueprintView {
609545 }
610546}
611547
612- /**
613- * Use a RepositoryInspection a source of a Blueprint build.
614- */
615- export interface InspectionSource {
616- /**
617- * The ID of a repository inspection.
618- */
619- inspection_id : string ;
620-
621- /**
622- * GitHub authentication token for accessing private repositories.
623- */
624- github_auth_token ?: string | null ;
625- }
626-
627548export type BlueprintDeleteResponse = unknown ;
628549
629550/**
@@ -800,55 +721,6 @@ export interface BlueprintListParams extends BlueprintsCursorIDPageParams {
800721 status ?: string ;
801722}
802723
803- export interface BlueprintCreateFromInspectionParams {
804- /**
805- * (Optional) Use a RepositoryInspection a source of a Blueprint build. The
806- * Dockerfile will be automatically created based on the RepositoryInspection
807- * contents.
808- */
809- inspection_source : InspectionSource ;
810-
811- /**
812- * Name of the Blueprint.
813- */
814- name : string ;
815-
816- /**
817- * (Optional) Map of paths and file contents to write before setup.
818- */
819- file_mounts ?: { [ key : string ] : string } | null ;
820-
821- /**
822- * LaunchParameters enable you to customize the resources available to your Devbox
823- * as well as the environment set up that should be completed before the Devbox is
824- * marked as 'running'.
825- */
826- launch_parameters ?: Shared . LaunchParameters | null ;
827-
828- /**
829- * (Optional) User defined metadata for the Blueprint.
830- */
831- metadata ?: { [ key : string ] : string } | null ;
832-
833- /**
834- * (Optional) ID of the network policy to apply during blueprint build. This
835- * restricts network access during the build process.
836- */
837- network_policy_id ?: string | null ;
838-
839- /**
840- * (Optional) Map of mount IDs/environment variable names to secret names. Secrets
841- * can be used as environment variables in system_setup_commands. Example:
842- * {"GITHUB_TOKEN": "gh_secret"} makes 'gh_secret' available as GITHUB_TOKEN.
843- */
844- secrets ?: { [ key : string ] : string } | null ;
845-
846- /**
847- * A list of commands to run to set up your system.
848- */
849- system_setup_commands ?: Array < string > | null ;
850- }
851-
852724export interface BlueprintListPublicParams extends BlueprintsCursorIDPageParams {
853725 /**
854726 * If true (default), includes total_count in the response. Set to false to skip
@@ -1022,19 +894,16 @@ Blueprints.BlueprintViewsBlueprintsCursorIDPage = BlueprintViewsBlueprintsCursor
1022894
1023895export declare namespace Blueprints {
1024896 export {
1025- type BlueprintBuildFromInspectionParameters as BlueprintBuildFromInspectionParameters ,
1026897 type BlueprintBuildLog as BlueprintBuildLog ,
1027898 type BlueprintBuildLogsListView as BlueprintBuildLogsListView ,
1028899 type BlueprintBuildParameters as BlueprintBuildParameters ,
1029900 type BlueprintListView as BlueprintListView ,
1030901 type BlueprintPreviewView as BlueprintPreviewView ,
1031902 type BlueprintView as BlueprintView ,
1032- type InspectionSource as InspectionSource ,
1033903 type BlueprintDeleteResponse as BlueprintDeleteResponse ,
1034904 BlueprintViewsBlueprintsCursorIDPage as BlueprintViewsBlueprintsCursorIDPage ,
1035905 type BlueprintCreateParams as BlueprintCreateParams ,
1036906 type BlueprintListParams as BlueprintListParams ,
1037- type BlueprintCreateFromInspectionParams as BlueprintCreateFromInspectionParams ,
1038907 type BlueprintListPublicParams as BlueprintListPublicParams ,
1039908 type BlueprintPreviewParams as BlueprintPreviewParams ,
1040909 } ;
0 commit comments