From 378dc7e319514e6ac8c88fb6295c787d8cf5ad14 Mon Sep 17 00:00:00 2001 From: Auto Mation Date: Thu, 12 Oct 2023 07:46:41 +0000 Subject: [PATCH] Updated API from documentation release --- api-specs/checkout/types/responses/AdyenBadConfig.raml | 2 +- api-specs/checkout/types/responses/AdyenInitError.raml | 2 +- api-specs/checkout/types/responses/AdyenTimeout.raml | 2 +- api-specs/checkout/types/responses/ApplicationDeactivated.raml | 2 +- api-specs/checkout/types/responses/BadInputData.raml | 2 +- .../checkout/types/responses/CartEmptiedDuringCheckout.raml | 2 +- api-specs/checkout/types/responses/CartEmpty.raml | 2 +- api-specs/checkout/types/responses/CartNotFound.raml | 2 +- api-specs/checkout/types/responses/CheckoutCancelled.raml | 2 +- api-specs/checkout/types/responses/CheckoutCompleted.raml | 2 +- api-specs/checkout/types/responses/CheckoutLoaded.raml | 2 +- api-specs/checkout/types/responses/CheckoutStarted.raml | 2 +- api-specs/checkout/types/responses/InitTimeout.raml | 2 +- api-specs/checkout/types/responses/InvalidToken.raml | 2 +- api-specs/checkout/types/responses/NoAllowedOrigins.raml | 2 +- api-specs/checkout/types/responses/NoPaymentMethods.raml | 2 +- api-specs/checkout/types/responses/NoShippingMethods.raml | 2 +- api-specs/checkout/types/responses/OrderCreated.raml | 2 +- api-specs/checkout/types/responses/SellerIsDeactivated.raml | 2 +- api-specs/checkout/types/responses/SellerNotFound.raml | 2 +- api-specs/checkout/types/responses/ShippingAddressMissing.raml | 2 +- api-specs/checkout/types/responses/UnallowedOrigin.raml | 2 +- api-specs/checkout/types/responses/UnavailableLocale.raml | 2 +- api-specs/connect/types/annotations.raml | 3 +++ api-specs/connect/types/connector/connector-staged.raml | 2 +- api-specs/connect/types/connector/connector.raml | 2 +- api-specs/connect/types/deployment/deployment.raml | 2 +- api-specs/connect/types/error/ConcurrentModificationError.raml | 2 +- .../connect/types/error/ConnectorAlreadyCertifiedError.raml | 2 +- .../connect/types/error/ConnectorReferenceNotFoundError.raml | 2 +- .../types/error/ConnectorSpecificationFileNotFoundError.raml | 2 +- .../types/error/ConnectorSpecificationFileNotValidError.raml | 2 +- .../types/error/ConnectorStagedInCertificationError.raml | 2 +- .../types/error/ConnectorStagedNotPreviewableError.raml | 2 +- .../error/ConnectorStagedPreviewRequestUnderProcessError.raml | 2 +- .../connect/types/error/GitRepositoryNotReachableError.raml | 2 +- api-specs/connect/types/error/InvalidJsonInputError.raml | 2 +- api-specs/connect/types/error/InvalidPathParamError.raml | 2 +- api-specs/connect/types/error/InvalidQueryParamError.raml | 2 +- 39 files changed, 41 insertions(+), 38 deletions(-) diff --git a/api-specs/checkout/types/responses/AdyenBadConfig.raml b/api-specs/checkout/types/responses/AdyenBadConfig.raml index c733d6127..13f075a44 100644 --- a/api-specs/checkout/types/responses/AdyenBadConfig.raml +++ b/api-specs/checkout/types/responses/AdyenBadConfig.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: AdyenBadConfig discriminatorValue: adyen_bad_config diff --git a/api-specs/checkout/types/responses/AdyenInitError.raml b/api-specs/checkout/types/responses/AdyenInitError.raml index 8a525a48a..ed58f022b 100644 --- a/api-specs/checkout/types/responses/AdyenInitError.raml +++ b/api-specs/checkout/types/responses/AdyenInitError.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: AdyenInitError discriminatorValue: adyen_init_error diff --git a/api-specs/checkout/types/responses/AdyenTimeout.raml b/api-specs/checkout/types/responses/AdyenTimeout.raml index 641564eae..b91c5f163 100644 --- a/api-specs/checkout/types/responses/AdyenTimeout.raml +++ b/api-specs/checkout/types/responses/AdyenTimeout.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: AdyenTimeout discriminatorValue: adyen_timeout diff --git a/api-specs/checkout/types/responses/ApplicationDeactivated.raml b/api-specs/checkout/types/responses/ApplicationDeactivated.raml index 477731087..ad7500365 100644 --- a/api-specs/checkout/types/responses/ApplicationDeactivated.raml +++ b/api-specs/checkout/types/responses/ApplicationDeactivated.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: ApplicationDeactivated discriminatorValue: application_disabled diff --git a/api-specs/checkout/types/responses/BadInputData.raml b/api-specs/checkout/types/responses/BadInputData.raml index 2cdff1e02..ded0ce959 100644 --- a/api-specs/checkout/types/responses/BadInputData.raml +++ b/api-specs/checkout/types/responses/BadInputData.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: BadInputData discriminatorValue: invalid_fields diff --git a/api-specs/checkout/types/responses/CartEmptiedDuringCheckout.raml b/api-specs/checkout/types/responses/CartEmptiedDuringCheckout.raml index c3ef7b432..39e4c5eb8 100644 --- a/api-specs/checkout/types/responses/CartEmptiedDuringCheckout.raml +++ b/api-specs/checkout/types/responses/CartEmptiedDuringCheckout.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: CartEmptiedDuringCheckout discriminatorValue: cart_emptied_during_checkout diff --git a/api-specs/checkout/types/responses/CartEmpty.raml b/api-specs/checkout/types/responses/CartEmpty.raml index 12c064b2b..c7d5c6d6c 100644 --- a/api-specs/checkout/types/responses/CartEmpty.raml +++ b/api-specs/checkout/types/responses/CartEmpty.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: CartEmpty discriminatorValue: cart_empty diff --git a/api-specs/checkout/types/responses/CartNotFound.raml b/api-specs/checkout/types/responses/CartNotFound.raml index fc2e5815e..81bf95f9c 100644 --- a/api-specs/checkout/types/responses/CartNotFound.raml +++ b/api-specs/checkout/types/responses/CartNotFound.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: CartNotFound discriminatorValue: cart_not_found diff --git a/api-specs/checkout/types/responses/CheckoutCancelled.raml b/api-specs/checkout/types/responses/CheckoutCancelled.raml index 444661317..6f9befd56 100644 --- a/api-specs/checkout/types/responses/CheckoutCancelled.raml +++ b/api-specs/checkout/types/responses/CheckoutCancelled.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: CheckoutCancelled discriminatorValue: checkout_cancelled diff --git a/api-specs/checkout/types/responses/CheckoutCompleted.raml b/api-specs/checkout/types/responses/CheckoutCompleted.raml index cbee514be..d78cb4a9a 100644 --- a/api-specs/checkout/types/responses/CheckoutCompleted.raml +++ b/api-specs/checkout/types/responses/CheckoutCompleted.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: CheckoutCompleted discriminatorValue: checkout_completed diff --git a/api-specs/checkout/types/responses/CheckoutLoaded.raml b/api-specs/checkout/types/responses/CheckoutLoaded.raml index bd5069094..ea8174b17 100644 --- a/api-specs/checkout/types/responses/CheckoutLoaded.raml +++ b/api-specs/checkout/types/responses/CheckoutLoaded.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: CheckoutLoaded discriminatorValue: checkout_loaded diff --git a/api-specs/checkout/types/responses/CheckoutStarted.raml b/api-specs/checkout/types/responses/CheckoutStarted.raml index d6c136157..8427da215 100644 --- a/api-specs/checkout/types/responses/CheckoutStarted.raml +++ b/api-specs/checkout/types/responses/CheckoutStarted.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: CheckoutStarted discriminatorValue: checkout_started diff --git a/api-specs/checkout/types/responses/InitTimeout.raml b/api-specs/checkout/types/responses/InitTimeout.raml index 010e86a4c..e3f84d06a 100644 --- a/api-specs/checkout/types/responses/InitTimeout.raml +++ b/api-specs/checkout/types/responses/InitTimeout.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: InitTimeout discriminatorValue: init_timeout diff --git a/api-specs/checkout/types/responses/InvalidToken.raml b/api-specs/checkout/types/responses/InvalidToken.raml index 641d91622..e2abb47d4 100644 --- a/api-specs/checkout/types/responses/InvalidToken.raml +++ b/api-specs/checkout/types/responses/InvalidToken.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: InvalidToken discriminatorValue: invalid_token diff --git a/api-specs/checkout/types/responses/NoAllowedOrigins.raml b/api-specs/checkout/types/responses/NoAllowedOrigins.raml index a5d731265..1b3e028fb 100644 --- a/api-specs/checkout/types/responses/NoAllowedOrigins.raml +++ b/api-specs/checkout/types/responses/NoAllowedOrigins.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: NoAllowedOrigins discriminatorValue: no_allowed_origins diff --git a/api-specs/checkout/types/responses/NoPaymentMethods.raml b/api-specs/checkout/types/responses/NoPaymentMethods.raml index b1f6f6a1c..7b2989cfe 100644 --- a/api-specs/checkout/types/responses/NoPaymentMethods.raml +++ b/api-specs/checkout/types/responses/NoPaymentMethods.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: NoPaymentMethods discriminatorValue: no_payment_methods diff --git a/api-specs/checkout/types/responses/NoShippingMethods.raml b/api-specs/checkout/types/responses/NoShippingMethods.raml index e9bec0cfa..41247eda6 100644 --- a/api-specs/checkout/types/responses/NoShippingMethods.raml +++ b/api-specs/checkout/types/responses/NoShippingMethods.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: NoShippingMethods discriminatorValue: no_shipping_methods diff --git a/api-specs/checkout/types/responses/OrderCreated.raml b/api-specs/checkout/types/responses/OrderCreated.raml index 2384d9911..2eee5b2a2 100644 --- a/api-specs/checkout/types/responses/OrderCreated.raml +++ b/api-specs/checkout/types/responses/OrderCreated.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: OrderCreated discriminatorValue: order_created diff --git a/api-specs/checkout/types/responses/SellerIsDeactivated.raml b/api-specs/checkout/types/responses/SellerIsDeactivated.raml index 1788099e0..1b3dd554f 100644 --- a/api-specs/checkout/types/responses/SellerIsDeactivated.raml +++ b/api-specs/checkout/types/responses/SellerIsDeactivated.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: SellerIsDeactivated discriminatorValue: seller_deactivated diff --git a/api-specs/checkout/types/responses/SellerNotFound.raml b/api-specs/checkout/types/responses/SellerNotFound.raml index 1f419cfa7..fe1b8f26a 100644 --- a/api-specs/checkout/types/responses/SellerNotFound.raml +++ b/api-specs/checkout/types/responses/SellerNotFound.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: SellerNotFound discriminatorValue: seller_not_found diff --git a/api-specs/checkout/types/responses/ShippingAddressMissing.raml b/api-specs/checkout/types/responses/ShippingAddressMissing.raml index 682cf9238..53bdcbbda 100644 --- a/api-specs/checkout/types/responses/ShippingAddressMissing.raml +++ b/api-specs/checkout/types/responses/ShippingAddressMissing.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: ShippingAddressMissing discriminatorValue: shipping_address_missing diff --git a/api-specs/checkout/types/responses/UnallowedOrigin.raml b/api-specs/checkout/types/responses/UnallowedOrigin.raml index 1c2efa4e3..48e54f2be 100644 --- a/api-specs/checkout/types/responses/UnallowedOrigin.raml +++ b/api-specs/checkout/types/responses/UnallowedOrigin.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: UnallowedOrigin discriminatorValue: unallowed_origin diff --git a/api-specs/checkout/types/responses/UnavailableLocale.raml b/api-specs/checkout/types/responses/UnavailableLocale.raml index 3d8edc51e..1177bb571 100644 --- a/api-specs/checkout/types/responses/UnavailableLocale.raml +++ b/api-specs/checkout/types/responses/UnavailableLocale.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): responses +(annotations.package): responses type: ResponseMessage displayName: UnavailableLocale discriminatorValue: unavailable_locale diff --git a/api-specs/connect/types/annotations.raml b/api-specs/connect/types/annotations.raml index 644093bce..62f0870b0 100644 --- a/api-specs/connect/types/annotations.raml +++ b/api-specs/connect/types/annotations.raml @@ -46,3 +46,6 @@ annotationTypes: markDeprecated: type: boolean allowedTargets: TypeDeclaration + identifier: + type: string + allowedTargets: TypeDeclaration diff --git a/api-specs/connect/types/connector/connector-staged.raml b/api-specs/connect/types/connector/connector-staged.raml index 306cd165e..a2d8041ec 100644 --- a/api-specs/connect/types/connector/connector-staged.raml +++ b/api-specs/connect/types/connector/connector-staged.raml @@ -3,7 +3,7 @@ displayName: ConnectorStaged properties: id: - (identifier): true + (annotations.identifier): true type: string description: Unique identifier of the Connector. key?: diff --git a/api-specs/connect/types/connector/connector.raml b/api-specs/connect/types/connector/connector.raml index 0ab71579e..c1b32cb9f 100644 --- a/api-specs/connect/types/connector/connector.raml +++ b/api-specs/connect/types/connector/connector.raml @@ -3,7 +3,7 @@ displayName: Connector properties: id: - (identifier): true + (annotations.identifier): true type: string description: Unique identifier of the Connector. key?: diff --git a/api-specs/connect/types/deployment/deployment.raml b/api-specs/connect/types/deployment/deployment.raml index e990af014..386501c26 100644 --- a/api-specs/connect/types/deployment/deployment.raml +++ b/api-specs/connect/types/deployment/deployment.raml @@ -3,7 +3,7 @@ displayName: Deployment properties: id: - (identifier): true + (annotations.identifier): true type: string description: Unique identifier of the Deployment. key?: diff --git a/api-specs/connect/types/error/ConcurrentModificationError.raml b/api-specs/connect/types/error/ConcurrentModificationError.raml index fcc5bd93c..f33529c8a 100644 --- a/api-specs/connect/types/error/ConcurrentModificationError.raml +++ b/api-specs/connect/types/error/ConcurrentModificationError.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): Error +(annotations.package): Error type: ErrorObject displayName: ConcurrentModificationError discriminatorValue: ConcurrentModification diff --git a/api-specs/connect/types/error/ConnectorAlreadyCertifiedError.raml b/api-specs/connect/types/error/ConnectorAlreadyCertifiedError.raml index da91ecf0a..169ac7ebf 100644 --- a/api-specs/connect/types/error/ConnectorAlreadyCertifiedError.raml +++ b/api-specs/connect/types/error/ConnectorAlreadyCertifiedError.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): Error +(annotations.package): Error type: ErrorObject displayName: ConnectorAlreadyCertifiedError discriminatorValue: ConnectorAlreadyCertified diff --git a/api-specs/connect/types/error/ConnectorReferenceNotFoundError.raml b/api-specs/connect/types/error/ConnectorReferenceNotFoundError.raml index c4261fbc1..2a8937428 100644 --- a/api-specs/connect/types/error/ConnectorReferenceNotFoundError.raml +++ b/api-specs/connect/types/error/ConnectorReferenceNotFoundError.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): Error +(annotations.package): Error type: ErrorObject displayName: ConnectorReferenceNotFoundError discriminatorValue: ConnectorReferenceNotFound diff --git a/api-specs/connect/types/error/ConnectorSpecificationFileNotFoundError.raml b/api-specs/connect/types/error/ConnectorSpecificationFileNotFoundError.raml index 8a67876e4..6a4f7d4c2 100644 --- a/api-specs/connect/types/error/ConnectorSpecificationFileNotFoundError.raml +++ b/api-specs/connect/types/error/ConnectorSpecificationFileNotFoundError.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): Error +(annotations.package): Error type: ErrorObject displayName: ConnectorSpecificationFileNotFoundError discriminatorValue: ConnectorSpecificationFileNotFound diff --git a/api-specs/connect/types/error/ConnectorSpecificationFileNotValidError.raml b/api-specs/connect/types/error/ConnectorSpecificationFileNotValidError.raml index 0f816ae32..2bff56cca 100644 --- a/api-specs/connect/types/error/ConnectorSpecificationFileNotValidError.raml +++ b/api-specs/connect/types/error/ConnectorSpecificationFileNotValidError.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): Error +(annotations.package): Error type: ErrorObject displayName: ConnectorSpecificationFileNotValidError discriminatorValue: ConnectorSpecificationFileNotValid diff --git a/api-specs/connect/types/error/ConnectorStagedInCertificationError.raml b/api-specs/connect/types/error/ConnectorStagedInCertificationError.raml index 905c86510..a388638b9 100644 --- a/api-specs/connect/types/error/ConnectorStagedInCertificationError.raml +++ b/api-specs/connect/types/error/ConnectorStagedInCertificationError.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): Error +(annotations.package): Error type: ErrorObject displayName: ConnectorStagedInCertificationError discriminatorValue: ConnectorStagedInCertification diff --git a/api-specs/connect/types/error/ConnectorStagedNotPreviewableError.raml b/api-specs/connect/types/error/ConnectorStagedNotPreviewableError.raml index da60c2df4..bb9204c17 100644 --- a/api-specs/connect/types/error/ConnectorStagedNotPreviewableError.raml +++ b/api-specs/connect/types/error/ConnectorStagedNotPreviewableError.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): Error +(annotations.package): Error type: ErrorObject displayName: ConnectorStagedNotPreviewableError discriminatorValue: ConnectorStagedNotPreviewable diff --git a/api-specs/connect/types/error/ConnectorStagedPreviewRequestUnderProcessError.raml b/api-specs/connect/types/error/ConnectorStagedPreviewRequestUnderProcessError.raml index 144ea8e90..d1fd7da42 100644 --- a/api-specs/connect/types/error/ConnectorStagedPreviewRequestUnderProcessError.raml +++ b/api-specs/connect/types/error/ConnectorStagedPreviewRequestUnderProcessError.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): Error +(annotations.package): Error type: ErrorObject displayName: ConnectorStagedPreviewRequestUnderProcessError discriminatorValue: ConnectorStagedPreviewRequestUnderProcess diff --git a/api-specs/connect/types/error/GitRepositoryNotReachableError.raml b/api-specs/connect/types/error/GitRepositoryNotReachableError.raml index f777de96e..0f53cd069 100644 --- a/api-specs/connect/types/error/GitRepositoryNotReachableError.raml +++ b/api-specs/connect/types/error/GitRepositoryNotReachableError.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): Error +(annotations.package): Error type: ErrorObject displayName: GitRepositoryNotReachableError discriminatorValue: GitRepositoryNotReachable diff --git a/api-specs/connect/types/error/InvalidJsonInputError.raml b/api-specs/connect/types/error/InvalidJsonInputError.raml index 13c6b6914..bed55746c 100644 --- a/api-specs/connect/types/error/InvalidJsonInputError.raml +++ b/api-specs/connect/types/error/InvalidJsonInputError.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): Error +(annotations.package): Error type: ErrorObject displayName: InvalidJsonInputError discriminatorValue: InvalidJsonInput diff --git a/api-specs/connect/types/error/InvalidPathParamError.raml b/api-specs/connect/types/error/InvalidPathParamError.raml index 010db07d1..6ec2e59e5 100644 --- a/api-specs/connect/types/error/InvalidPathParamError.raml +++ b/api-specs/connect/types/error/InvalidPathParamError.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): Error +(annotations.package): Error type: ErrorObject displayName: InvalidPathParamError discriminatorValue: InvalidPathParam diff --git a/api-specs/connect/types/error/InvalidQueryParamError.raml b/api-specs/connect/types/error/InvalidQueryParamError.raml index 242f1b0c6..02389d094 100644 --- a/api-specs/connect/types/error/InvalidQueryParamError.raml +++ b/api-specs/connect/types/error/InvalidQueryParamError.raml @@ -1,5 +1,5 @@ #%RAML 1.0 DataType -(package): Error +(annotations.package): Error type: ErrorObject displayName: InvalidQueryParamError discriminatorValue: InvalidQueryParam