From 58b934de82eddf754e19ef3ef1673a411957a14c Mon Sep 17 00:00:00 2001 From: Laura Trotta <153528055+l-trotta@users.noreply.github.com> Date: Fri, 28 Mar 2025 11:33:11 +0100 Subject: [PATCH] fixing execute policy resp (#4159) (cherry picked from commit 62c017492eed016951955fdb399fedbac916d1de) --- .../enrich/execute_policy/ExecuteEnrichPolicyResponse.ts | 2 +- specification/enrich/execute_policy/types.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/specification/enrich/execute_policy/ExecuteEnrichPolicyResponse.ts b/specification/enrich/execute_policy/ExecuteEnrichPolicyResponse.ts index 493d063a6e..41f54272ac 100644 --- a/specification/enrich/execute_policy/ExecuteEnrichPolicyResponse.ts +++ b/specification/enrich/execute_policy/ExecuteEnrichPolicyResponse.ts @@ -23,6 +23,6 @@ import { ExecuteEnrichPolicyStatus } from './types' export class Response { body: { status?: ExecuteEnrichPolicyStatus - task_id?: TaskId + task?: TaskId } } diff --git a/specification/enrich/execute_policy/types.ts b/specification/enrich/execute_policy/types.ts index 9a9a21b011..0ed4f57189 100644 --- a/specification/enrich/execute_policy/types.ts +++ b/specification/enrich/execute_policy/types.ts @@ -19,11 +19,13 @@ export class ExecuteEnrichPolicyStatus { phase: EnrichPolicyPhase + step?: string } export enum EnrichPolicyPhase { SCHEDULED, RUNNING, COMPLETE, - FAILED + FAILED, + CANCELLED }