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: