API client: draw-only option for Automático

This commit is contained in:
Roberto Treviño
2026-12-03 15:22:16 -06:00
parent 682c100b67
commit e0084ef9ff
2 changed files with 13 additions and 1 deletions
+2
View File
@@ -10,6 +10,7 @@ import { RequestBuilder } from '../../request-builder';
export interface StartDraft$Params {
pipeline_id: string;
run?: boolean;
}
export function startDraft(http: HttpClient, rootUrl: string, params: StartDraft$Params, context?: HttpContext): Observable<StrictHttpResponse<{
@@ -18,6 +19,7 @@ export function startDraft(http: HttpClient, rootUrl: string, params: StartDraft
const rb = new RequestBuilder(rootUrl, startDraft.PATH, 'post');
if (params) {
rb.path('pipeline_id', params.pipeline_id, {});
rb.query('run', params.run, {});
}
return http.request(