OVPAY-94 - Updated schemas.

This commit is contained in:
Bas Boterman 2025-10-29 17:51:31 +01:00
parent f63fbe1c9a
commit 81b3a0c96d

View File

@ -779,18 +779,11 @@ components:
type: string type: string
format: uuid format: uuid
example: 5bedce29-af0c-4f3c-b182-2caa8a1f9377 example: 5bedce29-af0c-4f3c-b182-2caa8a1f9377
eventTypeChannel: notifcationCategory:
$ref: "#/components/schemas/EventTypeChannel" $ref: "#/components/schemas/NotificationCategory"
customerProfileId: customerProfileId:
type: integer type: integer
example: 1337 example: 1337
ovpayTokenId:
type: integer
example: 42
# deviceId:
# type: string
# format: uuid
# example: 7122a988-a00a-417d-a5b4-da2d91354976
subscriptionActivities: subscriptionActivities:
type: array type: array
items: items:
@ -817,24 +810,17 @@ components:
- isActive - isActive
required: required:
- notificationSubscriptionId - notificationSubscriptionId
- eventTypeChannel - notifcationCategory
- customerProfileId
PostNotificationSubscriptionRequest: PostNotificationSubscriptionRequest:
type: object type: object
properties: properties:
eventTypeChannelId: notifcationCategoryId:
type: string type: integer
format: uuid example: 1
example: 22a9ab1cb-b1a3-482e-bae3-9a517a8cfb4f
customerProfileId: customerProfileId:
type: integer type: integer
example: 1337 example: 1337
ovpayTokenId:
type: integer
example: 42
# deviceId:
# type: string
# format: uuid
# example: 7122a988-a00a-417d-a5b4-da2d91354976
subscriptionActivities: subscriptionActivities:
type: array type: array
items: items:
@ -855,7 +841,8 @@ components:
- timestamp - timestamp
- isActive - isActive
required: required:
- eventTypeChannelId - notifcationCategoryId
- customerProfileId
PostNotificationSubscriptionResponse: PostNotificationSubscriptionResponse:
$ref: "#/components/schemas/NotificationSubscription" $ref: "#/components/schemas/NotificationSubscription"
PostSubscriptionActivityRequest: PostSubscriptionActivityRequest: