From 81b3a0c96d98a208d4c62b41525e7cfcf41ea2e1 Mon Sep 17 00:00:00 2001 From: "b.boterman@htm.nl" Date: Wed, 29 Oct 2025 17:51:31 +0100 Subject: [PATCH] OVPAY-94 - Updated schemas. --- src/openapi/customers/notifications-crud.yaml | 31 ++++++------------- 1 file changed, 9 insertions(+), 22 deletions(-) diff --git a/src/openapi/customers/notifications-crud.yaml b/src/openapi/customers/notifications-crud.yaml index 6e53439..c54cc8f 100644 --- a/src/openapi/customers/notifications-crud.yaml +++ b/src/openapi/customers/notifications-crud.yaml @@ -779,18 +779,11 @@ components: type: string format: uuid example: 5bedce29-af0c-4f3c-b182-2caa8a1f9377 - eventTypeChannel: - $ref: "#/components/schemas/EventTypeChannel" + notifcationCategory: + $ref: "#/components/schemas/NotificationCategory" customerProfileId: type: integer example: 1337 - ovpayTokenId: - type: integer - example: 42 - # deviceId: - # type: string - # format: uuid - # example: 7122a988-a00a-417d-a5b4-da2d91354976 subscriptionActivities: type: array items: @@ -817,24 +810,17 @@ components: - isActive required: - notificationSubscriptionId - - eventTypeChannel + - notifcationCategory + - customerProfileId PostNotificationSubscriptionRequest: type: object properties: - eventTypeChannelId: - type: string - format: uuid - example: 22a9ab1cb-b1a3-482e-bae3-9a517a8cfb4f + notifcationCategoryId: + type: integer + example: 1 customerProfileId: type: integer example: 1337 - ovpayTokenId: - type: integer - example: 42 - # deviceId: - # type: string - # format: uuid - # example: 7122a988-a00a-417d-a5b4-da2d91354976 subscriptionActivities: type: array items: @@ -855,7 +841,8 @@ components: - timestamp - isActive required: - - eventTypeChannelId + - notifcationCategoryId + - customerProfileId PostNotificationSubscriptionResponse: $ref: "#/components/schemas/NotificationSubscription" PostSubscriptionActivityRequest: