@@ -5,7 +5,6 @@ import { APIPromise } from '../core/api-promise';
55import { type Uploadable } from '../core/uploads' ;
66import { RequestOptions } from '../internal/request-options' ;
77import { multipartFormRequestOptions } from '../internal/uploads' ;
8- import { path } from '../internal/utils/path' ;
98
109export class Apps extends APIResource {
1110 /**
@@ -40,20 +39,6 @@ export class Apps extends APIResource {
4039 invoke ( body : AppInvokeParams , options ?: RequestOptions ) : APIPromise < AppInvokeResponse > {
4140 return this . _client . post ( '/apps/invoke' , { body, ...options } ) ;
4241 }
43-
44- /**
45- * Get an app invocation by id
46- *
47- * @example
48- * ```ts
49- * const response = await client.apps.retrieveInvocation(
50- * 'ckqwer3o20000jb9s7abcdef',
51- * );
52- * ```
53- */
54- retrieveInvocation ( id : string , options ?: RequestOptions ) : APIPromise < AppRetrieveInvocationResponse > {
55- return this . _client . get ( path `/apps/invocations/${ id } ` , options ) ;
56- }
5742}
5843
5944export interface AppDeployResponse {
@@ -90,22 +75,6 @@ export interface AppInvokeResponse {
9075 output ?: string ;
9176}
9277
93- export interface AppRetrieveInvocationResponse {
94- id : string ;
95-
96- appName : string ;
97-
98- finishedAt : string | null ;
99-
100- input : string ;
101-
102- output : string ;
103-
104- startedAt : string ;
105-
106- status : string ;
107- }
108-
10978export interface AppDeployParams {
11079 /**
11180 * Name of the application
@@ -154,7 +123,6 @@ export declare namespace Apps {
154123 export {
155124 type AppDeployResponse as AppDeployResponse ,
156125 type AppInvokeResponse as AppInvokeResponse ,
157- type AppRetrieveInvocationResponse as AppRetrieveInvocationResponse ,
158126 type AppDeployParams as AppDeployParams ,
159127 type AppInvokeParams as AppInvokeParams ,
160128 } ;
0 commit comments