From eb51fe1e56f1ed98b3366cdd10a205bfe40d30aa Mon Sep 17 00:00:00 2001 From: daniel-dierich <147144836+daniel-dierich@users.noreply.github.com> Date: Tue, 19 Nov 2024 13:36:39 +0100 Subject: [PATCH] Add Termination Reason SUBSCRIPTION_DELETED --- code/API_definitions/sim-swap-subscriptions.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/code/API_definitions/sim-swap-subscriptions.yaml b/code/API_definitions/sim-swap-subscriptions.yaml index fdeaa2d..01b837d 100644 --- a/code/API_definitions/sim-swap-subscriptions.yaml +++ b/code/API_definitions/sim-swap-subscriptions.yaml @@ -712,11 +712,11 @@ components: description: Event detail structure for SUBSCRIPTION_ENDS event type: object required: - - terminationReason + - Reason - subscriptionId properties: - terminationReason: - $ref: "#/components/schemas/TerminationReason" + Reason: + $ref: "#/components/schemas/Reason" subscriptionId: $ref: "#/components/schemas/SubscriptionId" terminationDescription: @@ -729,11 +729,13 @@ components: - SUBSCRIPTION_EXPIRED - Subscription expire time (optionally set by the requester) has been reached - MAX_EVENTS_REACHED - Maximum number of events (optionally set by the requester) has been reached - ACCESS_TOKEN_EXPIRED - Access Token sinkCredential (optionally set by the requester) expiration time has been reached + - SUBSCRIPTION_DELETED - Subscription was deleted by the requester enum: - MAX_EVENTS_REACHED - NETWORK_TERMINATED - SUBSCRIPTION_EXPIRED - ACCESS_TOKEN_EXPIRED + - SUBSCRIPTION_DELETED HTTPSubscriptionRequest: allOf: