@@ -38,21 +38,6 @@ export class Deployments extends APIResource {
3838 return this . _client . get ( path `/deployments/${ id } ` , options ) ;
3939 }
4040
41- /**
42- * List deployments. Optionally filter by application name.
43- *
44- * @example
45- * ```ts
46- * const deployments = await client.deployments.list();
47- * ```
48- */
49- list (
50- query : DeploymentListParams | null | undefined = { } ,
51- options ?: RequestOptions ,
52- ) : APIPromise < DeploymentListResponse > {
53- return this . _client . get ( '/deployments' , { query, ...options } ) ;
54- }
55-
5641 /**
5742 * Establishes a Server-Sent Events (SSE) stream that delivers real-time logs and
5843 * status updates for a deployment. The stream terminates automatically once the
@@ -234,55 +219,6 @@ export interface DeploymentRetrieveResponse {
234219 updated_at ?: string | null ;
235220}
236221
237- export type DeploymentListResponse = Array < DeploymentListResponse . DeploymentListResponseItem > ;
238-
239- export namespace DeploymentListResponse {
240- /**
241- * Deployment record information.
242- */
243- export interface DeploymentListResponseItem {
244- /**
245- * Unique identifier for the deployment
246- */
247- id : string ;
248-
249- /**
250- * Timestamp when the deployment was created
251- */
252- created_at : string ;
253-
254- /**
255- * Deployment region code
256- */
257- region : 'aws.us-east-1a' ;
258-
259- /**
260- * Current status of the deployment
261- */
262- status : 'queued' | 'in_progress' | 'running' | 'failed' | 'stopped' ;
263-
264- /**
265- * Relative path to the application entrypoint
266- */
267- entrypoint_rel_path ?: string ;
268-
269- /**
270- * Environment variables configured for this deployment
271- */
272- env_vars ?: { [ key : string ] : string } ;
273-
274- /**
275- * Status reason
276- */
277- status_reason ?: string ;
278-
279- /**
280- * Timestamp when the deployment was last updated
281- */
282- updated_at ?: string | null ;
283- }
284- }
285-
286222/**
287223 * Union type representing any deployment event.
288224 */
@@ -373,13 +309,6 @@ export interface DeploymentCreateParams {
373309 version ?: string ;
374310}
375311
376- export interface DeploymentListParams {
377- /**
378- * Filter results by application name.
379- */
380- app_name ?: string ;
381- }
382-
383312export interface DeploymentFollowParams {
384313 /**
385314 * Show logs since the given time (RFC timestamps or durations like 5m).
@@ -392,10 +321,8 @@ export declare namespace Deployments {
392321 type DeploymentStateEvent as DeploymentStateEvent ,
393322 type DeploymentCreateResponse as DeploymentCreateResponse ,
394323 type DeploymentRetrieveResponse as DeploymentRetrieveResponse ,
395- type DeploymentListResponse as DeploymentListResponse ,
396324 type DeploymentFollowResponse as DeploymentFollowResponse ,
397325 type DeploymentCreateParams as DeploymentCreateParams ,
398- type DeploymentListParams as DeploymentListParams ,
399326 type DeploymentFollowParams as DeploymentFollowParams ,
400327 } ;
401328}
0 commit comments