diff --git a/daikoku/app/domain/SchemaDefinition.scala b/daikoku/app/domain/SchemaDefinition.scala index 19b39e58c..09dae2775 100644 --- a/daikoku/app/domain/SchemaDefinition.scala +++ b/daikoku/app/domain/SchemaDefinition.scala @@ -3251,6 +3251,22 @@ object SchemaDefinition { ) ) ) + lazy val ApiSubscriptionTransferSuccessType = new PossibleObject( + ObjectType( + "ApiSubscriptionTransferSuccess", + "A notification triggered when a checkout session is available", + interfaces[ + (DataStore, DaikokuActionContext[JsValue]), + ApiSubscriptionTransferSuccess + ](NotificationActionType), + fields[ + (DataStore, DaikokuActionContext[JsValue]), + ApiSubscriptionTransferSuccess + ]( + Field("subscription", StringType, resolve = _.value.subscription.value) + ) + ) + ) lazy val NotificationInterfaceType: ObjectType[ (DataStore, DaikokuActionContext[JsValue]), @@ -3361,7 +3377,8 @@ object SchemaDefinition { TransferApiOwnershipType, ApiSubscriptionRejectType, ApiSubscriptionAcceptType, - CheckoutForSubscriptionType + CheckoutForSubscriptionType, + ApiSubscriptionTransferSuccessType ) ) )