@@ -79073,20 +79073,29 @@ components:
7907379073 type:
7907479074 type: "string"
7907579075 DeliveryPayload:
79076- type: "object"
79077- discriminator:
79078- propertyName: notificationType
79079- mapping:
79080- Event: '#/components/schemas/EventDeliveryPayload'
79081- Message: '#/components/schemas/MessageDeliveryPayload'
79082- ResourceCreated: '#/components/schemas/ResourceCreatedDeliveryPayload'
79083- ResourceDeleted: '#/components/schemas/ResourceDeletedDeliveryPayload'
79084- ResourceUpdated: '#/components/schemas/ResourceUpdatedDeliveryPayload'
79085- required:
79086- - notificationType
79087- properties:
79088- notificationType:
79089- type: "string"
79076+ allOf:
79077+ - $ref: '#/components/schemas/SubscriptionNotification'
79078+ - type: "object"
79079+ discriminator:
79080+ propertyName: notificationType
79081+ mapping:
79082+ Message: '#/components/schemas/MessageDeliveryPayload'
79083+ ResourceCreated: '#/components/schemas/ResourceCreatedDeliveryPayload'
79084+ ResourceDeleted: '#/components/schemas/ResourceDeletedDeliveryPayload'
79085+ ResourceUpdated: '#/components/schemas/ResourceUpdatedDeliveryPayload'
79086+ required:
79087+ - notificationType
79088+ - projectKey
79089+ - resource
79090+ properties:
79091+ notificationType:
79092+ type: "string"
79093+ projectKey:
79094+ type: "string"
79095+ resource:
79096+ $ref: '#/components/schemas/Reference'
79097+ resourceUserProvidedIdentifiers:
79098+ $ref: '#/components/schemas/UserProvidedIdentifiers'
7909079099 Destination:
7909179100 type: "object"
7909279101 discriminator:
@@ -79124,7 +79133,7 @@ components:
7912479133 type: "string"
7912579134 EventDeliveryPayload:
7912679135 allOf:
79127- - $ref: '#/components/schemas/DeliveryPayload '
79136+ - $ref: '#/components/schemas/SubscriptionNotification '
7912879137 - type: "object"
7912979138 required:
7913079139 - createdAt
@@ -79214,21 +79223,23 @@ components:
7921479223 - createdAt
7921579224 - id
7921679225 - lastModifiedAt
79217- - projectKey
79218- - resource
7921979226 - resourceVersion
7922079227 - sequenceNumber
7922179228 - version
7922279229 properties:
7922379230 notificationType:
7922479231 type: "string"
79232+ projectKey:
79233+ type: "string"
79234+ resource:
79235+ $ref: '#/components/schemas/Reference'
79236+ resourceUserProvidedIdentifiers:
79237+ $ref: '#/components/schemas/UserProvidedIdentifiers'
7922579238 id:
7922679239 type: "string"
7922779240 version:
7922879241 type: "integer"
7922979242 format: "int64"
79230- projectKey:
79231- type: "string"
7923279243 createdAt:
7923379244 type: "string"
7923479245 format: "datetime"
@@ -79241,10 +79252,6 @@ components:
7924179252 resourceVersion:
7924279253 type: "integer"
7924379254 format: "int64"
79244- resource:
79245- $ref: '#/components/schemas/Reference'
79246- resourceUserProvidedIdentifiers:
79247- $ref: '#/components/schemas/UserProvidedIdentifiers'
7924879255 payloadNotIncluded:
7924979256 $ref: '#/components/schemas/PayloadNotIncluded'
7925079257 MessageSubscription:
@@ -79340,8 +79347,6 @@ components:
7934079347 - type: "object"
7934179348 required:
7934279349 - modifiedAt
79343- - projectKey
79344- - resource
7934579350 - version
7934679351 properties:
7934779352 notificationType:
@@ -79364,8 +79369,6 @@ components:
7936479369 - type: "object"
7936579370 required:
7936679371 - modifiedAt
79367- - projectKey
79368- - resource
7936979372 - version
7937079373 properties:
7937179374 notificationType:
@@ -79391,8 +79394,6 @@ components:
7939179394 required:
7939279395 - modifiedAt
7939379396 - oldVersion
79394- - projectKey
79395- - resource
7939679397 - version
7939779398 properties:
7939879399 notificationType:
@@ -79556,6 +79557,17 @@ components:
7955679557 change to [Healthy](ctp:api:type:SubscriptionHealthStatus). To return your subscriptions
7955779558 to a [Healthy](ctp:api:type:SubscriptionHealthStatus) status, contact the [Composable
7955879559 Commerce support team](https://support.commercetools.com/)."
79560+ SubscriptionNotification:
79561+ type: "object"
79562+ discriminator:
79563+ propertyName: notificationType
79564+ mapping:
79565+ Event: '#/components/schemas/EventDeliveryPayload'
79566+ required:
79567+ - notificationType
79568+ properties:
79569+ notificationType:
79570+ type: "string"
7955979571 SubscriptionPagedQueryResponse:
7956079572 type: "object"
7956179573 required:
0 commit comments