diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 68aa54df4..feb31a293 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -62,7 +62,7 @@ When naming variables use strict camel case e.g. use myUrl not myURL. This is so UnknownError ), Catalogs(notCore, notPSD2, notOBWG), - List(apiTagCustomer, apiTagUser, apiTagNewStyle)) + List(apiTagCustomer, apiTagUser)) diff --git a/obp-api/src/main/scala/code/api/dynamic/endpoint/helper/DynamicEndpointHelper.scala b/obp-api/src/main/scala/code/api/dynamic/endpoint/helper/DynamicEndpointHelper.scala index c1bdc96c8..7a8beb95a 100644 --- a/obp-api/src/main/scala/code/api/dynamic/endpoint/helper/DynamicEndpointHelper.scala +++ b/obp-api/src/main/scala/code/api/dynamic/endpoint/helper/DynamicEndpointHelper.scala @@ -256,7 +256,7 @@ object DynamicEndpointHelper extends RestHelper { } def buildDynamicEndpointInfo(openAPI: OpenAPI, id: String, bankId:Option[String]): DynamicEndpointInfo = { - val tags: List[ResourceDocTag] = List(ApiTag(openAPI.getInfo.getTitle), apiTagNewStyle, apiTagDynamicEndpoint, apiTagDynamic) + val tags: List[ResourceDocTag] = List(ApiTag(openAPI.getInfo.getTitle), apiTagDynamicEndpoint, apiTagDynamic) val serverUrl = { val servers = openAPI.getServers diff --git a/obp-api/src/main/scala/code/api/dynamic/endpoint/helper/practise/PractiseEndpointGroup.scala b/obp-api/src/main/scala/code/api/dynamic/endpoint/helper/practise/PractiseEndpointGroup.scala index e0c866d98..df15dc583 100644 --- a/obp-api/src/main/scala/code/api/dynamic/endpoint/helper/practise/PractiseEndpointGroup.scala +++ b/obp-api/src/main/scala/code/api/dynamic/endpoint/helper/practise/PractiseEndpointGroup.scala @@ -4,7 +4,7 @@ import code.api.ResourceDocs1_4_0.SwaggerDefinitionsJSON.requestRootJsonClass import code.api.dynamic.endpoint.helper.EndpointGroup import code.api.util.APIUtil import code.api.util.APIUtil.{ResourceDoc, StringBody} -import code.api.util.ApiTag.{apiTagDynamicResourceDoc, apiTagNewStyle} +import code.api.util.ApiTag.{apiTagDynamicResourceDoc} import code.api.util.ErrorMessages.UnknownError import com.openbankproject.commons.util.ApiVersion @@ -40,5 +40,5 @@ object PractiseEndpointGroup extends EndpointGroup{ List( UnknownError ), - List(apiTagDynamicResourceDoc, apiTagNewStyle)) :: Nil + List(apiTagDynamicResourceDoc)) :: Nil } diff --git a/obp-api/src/main/scala/code/api/dynamic/entity/helper/DynamicEntityHelper.scala b/obp-api/src/main/scala/code/api/dynamic/entity/helper/DynamicEntityHelper.scala index 0417c5538..972ccc47a 100644 --- a/obp-api/src/main/scala/code/api/dynamic/entity/helper/DynamicEntityHelper.scala +++ b/obp-api/src/main/scala/code/api/dynamic/entity/helper/DynamicEntityHelper.scala @@ -189,7 +189,7 @@ object DynamicEntityHelper { UserHasMissingRoles, UnknownError ), - List(apiTag, apiTagNewStyle, apiTagDynamicEntity, apiTagDynamic), + List(apiTag, apiTagDynamicEntity, apiTagDynamic), Some(List(dynamicEntityInfo.canGetRole)), createdByBankId= dynamicEntityInfo.bankId ) @@ -217,7 +217,7 @@ object DynamicEntityHelper { UserHasMissingRoles, UnknownError ), - List(apiTag, apiTagNewStyle, apiTagDynamicEntity, apiTagDynamic), + List(apiTag, apiTagDynamicEntity, apiTagDynamic), Some(List(dynamicEntityInfo.canGetRole)), createdByBankId= dynamicEntityInfo.bankId ) @@ -247,7 +247,7 @@ object DynamicEntityHelper { InvalidJsonFormat, UnknownError ), - List(apiTag, apiTagNewStyle, apiTagDynamicEntity, apiTagDynamic), + List(apiTag, apiTagDynamicEntity, apiTagDynamic), Some(List(dynamicEntityInfo.canCreateRole)), createdByBankId= dynamicEntityInfo.bankId ) @@ -277,7 +277,7 @@ object DynamicEntityHelper { InvalidJsonFormat, UnknownError ), - List(apiTag, apiTagNewStyle, apiTagDynamicEntity, apiTagDynamic), + List(apiTag, apiTagDynamicEntity, apiTagDynamic), Some(List(dynamicEntityInfo.canUpdateRole)), createdByBankId= dynamicEntityInfo.bankId ) @@ -304,7 +304,7 @@ object DynamicEntityHelper { InvalidJsonFormat, UnknownError ), - List(apiTag, apiTagNewStyle, apiTagDynamicEntity, apiTagDynamic), + List(apiTag, apiTagDynamicEntity, apiTagDynamic), Some(List(dynamicEntityInfo.canDeleteRole)), createdByBankId= dynamicEntityInfo.bankId ) @@ -336,7 +336,7 @@ object DynamicEntityHelper { UserNotLoggedIn, UnknownError ), - List(apiTag, apiTagNewStyle, apiTagDynamicEntity, apiTagDynamic), + List(apiTag, apiTagDynamicEntity, apiTagDynamic), createdByBankId= dynamicEntityInfo.bankId ) @@ -362,7 +362,7 @@ object DynamicEntityHelper { UserNotLoggedIn, UnknownError ), - List(apiTag, apiTagNewStyle, apiTagDynamicEntity, apiTagDynamic), + List(apiTag, apiTagDynamicEntity, apiTagDynamic), createdByBankId= dynamicEntityInfo.bankId ) @@ -390,7 +390,7 @@ object DynamicEntityHelper { InvalidJsonFormat, UnknownError ), - List(apiTag, apiTagNewStyle, apiTagDynamicEntity, apiTagDynamic), + List(apiTag, apiTagDynamicEntity, apiTagDynamic), createdByBankId= dynamicEntityInfo.bankId ) @@ -418,7 +418,7 @@ object DynamicEntityHelper { InvalidJsonFormat, UnknownError ), - List(apiTag, apiTagNewStyle, apiTagDynamicEntity, apiTagDynamic), + List(apiTag, apiTagDynamicEntity, apiTagDynamic), Some(List(dynamicEntityInfo.canUpdateRole)), createdByBankId= dynamicEntityInfo.bankId ) @@ -443,7 +443,7 @@ object DynamicEntityHelper { UserNotLoggedIn, UnknownError ), - List(apiTag, apiTagNewStyle, apiTagDynamicEntity, apiTagDynamic), + List(apiTag, apiTagDynamicEntity, apiTagDynamic), createdByBankId= dynamicEntityInfo.bankId ) } diff --git a/obp-api/src/main/scala/code/api/util/APIUtil.scala b/obp-api/src/main/scala/code/api/util/APIUtil.scala index 0a38b268f..1ed1dc469 100644 --- a/obp-api/src/main/scala/code/api/util/APIUtil.scala +++ b/obp-api/src/main/scala/code/api/util/APIUtil.scala @@ -48,7 +48,7 @@ import code.api.oauth1a.Arithmetics import code.api.oauth1a.OauthParams._ import code.api.util.APIUtil.ResourceDoc.{findPathVariableNames, isPathVariable} import code.api.util.ApiRole.{canCreateProduct, canCreateProductAtAnyBank} -import code.api.util.ApiTag.{ResourceDocTag, apiTagBank, apiTagNewStyle} +import code.api.util.ApiTag.{ResourceDocTag, apiTagBank} import code.api.util.Glossary.GlossaryItem import code.api.util.RateLimitingJson.CallLimit import code.api.v1_2.ErrorMessage @@ -2737,9 +2737,7 @@ object APIUtil extends MdcLoggable with CustomJsonFormats{ // Endpoint Operation Ids val enabledEndpointOperationIds = getEnabledEndpointOperationIds - - val onlyNewStyle = APIUtil.getPropsAsBoolValue("new_style_only", false) - + val routes = for ( item <- resourceDocs @@ -2750,8 +2748,7 @@ object APIUtil extends MdcLoggable with CustomJsonFormats{ (enabledEndpointOperationIds.contains(item.operationId) || enabledEndpointOperationIds.isEmpty) && // Only allow Resource Doc if it matches one of the pre selected endpoints from the version list. // i.e. this function may receive more Resource Docs than version endpoints - endpoints.exists(_ == item.partialFunction) && - (item.tags.exists(_ == apiTagNewStyle) || !onlyNewStyle) + endpoints.exists(_ == item.partialFunction) ) yield item routes diff --git a/obp-api/src/main/scala/code/api/util/ApiTag.scala b/obp-api/src/main/scala/code/api/util/ApiTag.scala index 6aabed60a..51d237bba 100644 --- a/obp-api/src/main/scala/code/api/util/ApiTag.scala +++ b/obp-api/src/main/scala/code/api/util/ApiTag.scala @@ -64,7 +64,6 @@ object ApiTag { val apiTagMXOpenFinance = ResourceDocTag("MXOpenFinance") val apiTagApiBuilder = ResourceDocTag("API-Builder") val apiTagAggregateMetrics = ResourceDocTag("Aggregate-Metrics") - val apiTagNewStyle = ResourceDocTag("New-Style") val apiTagSystemIntegrity = ResourceDocTag("System-Integrity") val apiTagWebhook = ResourceDocTag("Webhook") val apiTagMockedData = ResourceDocTag("Mocked-Data") diff --git a/obp-api/src/main/scala/code/api/v1_2_1/APIMethods121.scala b/obp-api/src/main/scala/code/api/v1_2_1/APIMethods121.scala index 17cac209a..7419e4b13 100644 --- a/obp-api/src/main/scala/code/api/v1_2_1/APIMethods121.scala +++ b/obp-api/src/main/scala/code/api/v1_2_1/APIMethods121.scala @@ -482,7 +482,7 @@ trait APIMethods121 { updateAccountJSON, successMessage, List(InvalidJsonFormat, UserNotLoggedIn, UnknownError, BankAccountNotFound, "user does not have access to owner view on account"), - List(apiTagAccount, apiTagNewStyle) + List(apiTagAccount) ) lazy val updateAccountLabel : OBPEndpoint = { @@ -684,7 +684,7 @@ trait APIMethods121 { UnknownError, "user does not have owner access" ), - List(apiTagView, apiTagAccount, apiTagNewStyle) + List(apiTagView, apiTagAccount) ) lazy val deleteViewForBankAccount: OBPEndpoint = { @@ -841,7 +841,7 @@ trait APIMethods121 { "could not save the privilege", "user does not have access to owner view on account" ), - List(apiTagView, apiTagAccount, apiTagUser, apiTagOwnerRequired, apiTagNewStyle)) + List(apiTagView, apiTagAccount, apiTagUser, apiTagOwnerRequired)) lazy val addPermissionForUserForBankAccountForOneView : OBPEndpoint = { //add access for specific user to a specific view @@ -1032,7 +1032,7 @@ trait APIMethods121 { emptyObjectJson, otherAccountMetadataJSON, List(UserNotLoggedIn, UnknownError, "the view does not allow metadata access"), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val getOtherAccountMetadata : OBPEndpoint = { //get metadata of one other account @@ -1071,7 +1071,7 @@ trait APIMethods121 { "the view does not allow metadata access", "the view does not allow public alias access" ), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val getCounterpartyPublicAlias : OBPEndpoint = { //get public alias of other bank account @@ -1122,7 +1122,7 @@ trait APIMethods121 { "Alias cannot be added", "public alias added" ), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val addCounterpartyPublicAlias : OBPEndpoint = { //add public alias to other bank account @@ -1175,7 +1175,7 @@ trait APIMethods121 { "Alias cannot be updated", UnknownError ), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val updateCounterpartyPublicAlias : OBPEndpoint = { //update public alias of other bank account @@ -1226,7 +1226,7 @@ trait APIMethods121 { "Alias cannot be deleted", UnknownError ), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val deleteCounterpartyPublicAlias : OBPEndpoint = { //delete public alias of other bank account @@ -1274,7 +1274,7 @@ trait APIMethods121 { "the view does not allow private alias access", UnknownError ), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val getOtherAccountPrivateAlias : OBPEndpoint = { //get private alias of other bank account @@ -1319,7 +1319,7 @@ trait APIMethods121 { "the view does not allow adding a private alias", "Alias cannot be added", UnknownError), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val addOtherAccountPrivateAlias : OBPEndpoint = { //add private alias to other bank account @@ -1371,7 +1371,7 @@ trait APIMethods121 { "the view does not allow updating the private alias", "Alias cannot be updated", UnknownError), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val updateCounterpartyPrivateAlias : OBPEndpoint = { //update private alias of other bank account @@ -1422,7 +1422,7 @@ trait APIMethods121 { "the view does not allow deleting the private alias", "Alias cannot be deleted", UnknownError), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val deleteCounterpartyPrivateAlias : OBPEndpoint = { //delete private alias of other bank account @@ -1471,7 +1471,7 @@ trait APIMethods121 { "More Info cannot be added", UnknownError ), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val addCounterpartyMoreInfo : OBPEndpoint = { //add more info to other bank account @@ -1520,7 +1520,7 @@ trait APIMethods121 { "the view does not allow updating more info", "More Info cannot be updated", UnknownError), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val updateCounterpartyMoreInfo : OBPEndpoint = { //update more info of other bank account @@ -1568,7 +1568,7 @@ trait APIMethods121 { "the view does not allow deleting more info", "More Info cannot be deleted", UnknownError), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val deleteCounterpartyMoreInfo : OBPEndpoint = { //delete more info of other bank account @@ -1616,7 +1616,7 @@ trait APIMethods121 { "the view does not allow adding a url", "URL cannot be added", UnknownError), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val addCounterpartyUrl : OBPEndpoint = { @@ -1666,7 +1666,7 @@ trait APIMethods121 { ViewNotFound, "URL cannot be updated", UnknownError), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val updateCounterpartyUrl : OBPEndpoint = { //update url of other bank account @@ -1714,7 +1714,7 @@ trait APIMethods121 { "the view does not allow deleting a url", "URL cannot be deleted", UnknownError), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val deleteCounterpartyUrl : OBPEndpoint = { //delete url of other bank account @@ -1762,7 +1762,7 @@ trait APIMethods121 { "the view does not allow adding an image url", "URL cannot be added", UnknownError), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val addCounterpartyImageUrl : OBPEndpoint = { //add image url to other bank account @@ -1810,7 +1810,7 @@ trait APIMethods121 { "the view does not allow updating an image url", "URL cannot be updated", UnknownError), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val updateCounterpartyImageUrl : OBPEndpoint = { //update image url of other bank account @@ -1852,7 +1852,7 @@ trait APIMethods121 { emptyObjectJson, emptyObjectJson, List(UnknownError), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) // Tag general then specific for consistent sorting + List(apiTagCounterpartyMetaData, apiTagCounterparty)) // Tag general then specific for consistent sorting lazy val deleteCounterpartyImageUrl : OBPEndpoint = { //delete image url of other bank account @@ -1899,7 +1899,7 @@ trait APIMethods121 { "the view does not allow adding an open corporate url", "URL cannot be added", UnknownError), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val addCounterpartyOpenCorporatesUrl : OBPEndpoint = { //add open corporate url to other bank account @@ -1948,7 +1948,7 @@ trait APIMethods121 { "the view does not allow updating an open corporate url", "URL cannot be updated", UnknownError), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val updateCounterpartyOpenCorporatesUrl : OBPEndpoint = { //update open corporate url of other bank account @@ -1996,7 +1996,7 @@ trait APIMethods121 { "the view does not allow deleting an open corporate url", "URL cannot be deleted", UnknownError), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val deleteCounterpartyOpenCorporatesUrl : OBPEndpoint = { //delete open corporate url of other bank account @@ -2128,7 +2128,7 @@ trait APIMethods121 { "Corporate Location cannot be deleted", "Delete not completed", UnknownError), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val deleteCounterpartyCorporateLocation : OBPEndpoint = { //delete corporate location of other bank account @@ -2265,7 +2265,7 @@ trait APIMethods121 { "Physical Location cannot be deleted", "Delete not completed", UnknownError), - List(apiTagCounterpartyMetaData, apiTagCounterparty, apiTagNewStyle)) + List(apiTagCounterpartyMetaData, apiTagCounterparty)) lazy val deleteCounterpartyPhysicalLocation : OBPEndpoint = { //delete physical location of other bank account @@ -2412,7 +2412,7 @@ trait APIMethods121 { NoViewPermission, ViewNotFound, UnknownError), - List(apiTagTransactionMetaData, apiTagTransaction, apiTagNewStyle)) + List(apiTagTransactionMetaData, apiTagTransaction)) lazy val getTransactionNarrative : OBPEndpoint = { //get narrative @@ -2454,7 +2454,7 @@ trait APIMethods121 { NoViewPermission, ViewNotFound, UnknownError), - List(apiTagTransactionMetaData, apiTagTransaction, apiTagNewStyle)) + List(apiTagTransactionMetaData, apiTagTransaction)) lazy val addTransactionNarrative : OBPEndpoint = { //add narrative @@ -2492,7 +2492,7 @@ trait APIMethods121 { NoViewPermission, ViewNotFound, UnknownError), - List(apiTagTransactionMetaData, apiTagTransaction, apiTagNewStyle)) + List(apiTagTransactionMetaData, apiTagTransaction)) lazy val updateTransactionNarrative : OBPEndpoint = { //update narrative @@ -2530,7 +2530,7 @@ trait APIMethods121 { BankAccountNotFound, NoViewPermission, UnknownError), - List(apiTagTransactionMetaData, apiTagTransaction, apiTagNewStyle)) + List(apiTagTransactionMetaData, apiTagTransaction)) lazy val deleteTransactionNarrative : OBPEndpoint = { //delete narrative @@ -2568,7 +2568,7 @@ trait APIMethods121 { NoViewPermission, ViewNotFound, UnknownError), - List(apiTagTransactionMetaData, apiTagTransaction, apiTagNewStyle)) + List(apiTagTransactionMetaData, apiTagTransaction)) lazy val getCommentsForViewOnTransaction : OBPEndpoint = { //get comments @@ -2608,7 +2608,7 @@ trait APIMethods121 { NoViewPermission, ViewNotFound, UnknownError), - List(apiTagTransactionMetaData, apiTagTransaction, apiTagNewStyle)) + List(apiTagTransactionMetaData, apiTagTransaction)) lazy val addCommentForViewOnTransaction : OBPEndpoint = { //add comment @@ -2651,7 +2651,7 @@ trait APIMethods121 { ViewNotFound, UserNotLoggedIn, UnknownError), - List(apiTagTransactionMetaData, apiTagTransaction, apiTagNewStyle)) + List(apiTagTransactionMetaData, apiTagTransaction)) lazy val deleteCommentForViewOnTransaction : OBPEndpoint = { //delete comment @@ -2688,7 +2688,7 @@ trait APIMethods121 { ViewNotFound, UnknownError ), - List(apiTagTransactionMetaData, apiTagTransaction, apiTagNewStyle)) + List(apiTagTransactionMetaData, apiTagTransaction)) lazy val getTagsForViewOnTransaction : OBPEndpoint = { //get tags @@ -2728,7 +2728,7 @@ trait APIMethods121 { NoViewPermission, ViewNotFound, UnknownError), - List(apiTagTransactionMetaData, apiTagTransaction, apiTagNewStyle)) + List(apiTagTransactionMetaData, apiTagTransaction)) lazy val addTagForViewOnTransaction : OBPEndpoint = { //add a tag @@ -2769,7 +2769,7 @@ trait APIMethods121 { List(NoViewPermission, ViewNotFound, UnknownError), - List(apiTagTransactionMetaData, apiTagTransaction, apiTagNewStyle)) + List(apiTagTransactionMetaData, apiTagTransaction)) lazy val deleteTagForViewOnTransaction : OBPEndpoint = { //delete a tag @@ -2807,7 +2807,7 @@ trait APIMethods121 { NoViewPermission, ViewNotFound, UnknownError), - List(apiTagTransactionMetaData, apiTagTransaction, apiTagNewStyle)) + List(apiTagTransactionMetaData, apiTagTransaction)) lazy val getImagesForViewOnTransaction : OBPEndpoint = { //get images @@ -2847,7 +2847,7 @@ trait APIMethods121 { ViewNotFound, InvalidUrl, UnknownError), - List(apiTagTransactionMetaData, apiTagTransaction, apiTagNewStyle) + List(apiTagTransactionMetaData, apiTagTransaction) ) lazy val addImageForViewOnTransaction : OBPEndpoint = { @@ -2893,7 +2893,7 @@ trait APIMethods121 { "Deleting images not permitted for this view", "Deleting images not permitted for the current user", UnknownError), - List(apiTagTransactionMetaData, apiTagTransaction, apiTagNewStyle)) + List(apiTagTransactionMetaData, apiTagTransaction)) lazy val deleteImageForViewOnTransaction : OBPEndpoint = { //delete an image @@ -2930,7 +2930,7 @@ trait APIMethods121 { NoViewPermission, ViewNotFound, UnknownError), - List(apiTagTransactionMetaData, apiTagTransaction, apiTagNewStyle)) + List(apiTagTransactionMetaData, apiTagTransaction)) lazy val getWhereTagForViewOnTransaction : OBPEndpoint = { //get where tag @@ -2972,7 +2972,7 @@ trait APIMethods121 { NoViewPermission, "Coordinates not possible", UnknownError), - List(apiTagTransactionMetaData, apiTagTransaction, apiTagNewStyle)) + List(apiTagTransactionMetaData, apiTagTransaction)) lazy val addWhereTagForViewOnTransaction : OBPEndpoint = { //add where tag @@ -3018,7 +3018,7 @@ trait APIMethods121 { NoViewPermission, "Coordinates not possible", UnknownError), - List(apiTagTransactionMetaData, apiTagTransaction, apiTagNewStyle)) + List(apiTagTransactionMetaData, apiTagTransaction)) lazy val updateWhereTagForViewOnTransaction : OBPEndpoint = { //update where tag @@ -3065,7 +3065,7 @@ trait APIMethods121 { "there is no tag to delete", "Delete not completed", UnknownError), - List(apiTagTransactionMetaData, apiTagTransaction, apiTagNewStyle)) + List(apiTagTransactionMetaData, apiTagTransaction)) lazy val deleteWhereTagForViewOnTransaction : OBPEndpoint = { //delete where tag diff --git a/obp-api/src/main/scala/code/api/v1_4_0/APIMethods140.scala b/obp-api/src/main/scala/code/api/v1_4_0/APIMethods140.scala index 25a2f6604..f8048a90d 100644 --- a/obp-api/src/main/scala/code/api/v1_4_0/APIMethods140.scala +++ b/obp-api/src/main/scala/code/api/v1_4_0/APIMethods140.scala @@ -407,7 +407,7 @@ trait APIMethods140 extends MdcLoggable with APIMethods130 with APIMethods121{ "user does not have access to owner view", TransactionRequestsNotEnabled, UnknownError), - List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagPsd2, apiTagNewStyle)) + List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagPsd2)) lazy val getTransactionRequestTypes: OBPEndpoint = { case "banks" :: BankId(bankId) :: "accounts" :: AccountId(accountId) :: ViewId(viewId) :: "transaction-request-types" :: @@ -639,7 +639,7 @@ trait APIMethods140 extends MdcLoggable with APIMethods130 with APIMethods121{ "Could not create customer", "Could not create user_customer_links", UnknownError), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canCreateCustomer, canCreateUserCustomerLink))) lazy val addCustomer : OBPEndpoint = { diff --git a/obp-api/src/main/scala/code/api/v2_0_0/APIMethods200.scala b/obp-api/src/main/scala/code/api/v2_0_0/APIMethods200.scala index 5c9225c99..3ed99e5e1 100644 --- a/obp-api/src/main/scala/code/api/v2_0_0/APIMethods200.scala +++ b/obp-api/src/main/scala/code/api/v2_0_0/APIMethods200.scala @@ -263,7 +263,7 @@ trait APIMethods200 { emptyObjectJson, basicAccountsJSON, List(BankNotFound, UnknownError), - List(apiTagAccount, apiTagPrivateData, apiTagPublicData, apiTagNewStyle) + List(apiTagAccount, apiTagPrivateData, apiTagPublicData) ) def processAccounts(privateViewsUserCanAccessAtOneBank: List[View], availablePrivateAccounts: List[BankAccount]) = { @@ -308,7 +308,7 @@ trait APIMethods200 { emptyObjectJson, coreAccountsJSON, List(UserNotLoggedIn, UnknownError), - List(apiTagAccount, apiTagPrivateData, apiTagPsd2, apiTagNewStyle, apiTagNewStyle)) + List(apiTagAccount, apiTagPrivateData, apiTagPsd2)) apiRelations += ApiRelation(corePrivateAccountsAtOneBank, createAccount, "new") apiRelations += ApiRelation(corePrivateAccountsAtOneBank, corePrivateAccountsAtOneBank, "self") @@ -380,7 +380,7 @@ trait APIMethods200 { emptyObjectJson, basicAccountsJSON, List(UserNotLoggedIn, BankNotFound, UnknownError), - List(apiTagAccount, apiTagNewStyle, apiTagPsd2) + List(apiTagAccount, apiTagPsd2) ) lazy val privateAccountsAtOneBank : OBPEndpoint = { @@ -418,7 +418,7 @@ trait APIMethods200 { emptyObjectJson, basicAccountsJSON, List(UnknownError), - List(apiTagAccountPublic, apiTagAccount, apiTagPublicData, apiTagNewStyle)) + List(apiTagAccountPublic, apiTagAccount, apiTagPublicData)) lazy val publicAccountsAtOneBank : OBPEndpoint = { //get public accounts for a single bank @@ -449,7 +449,7 @@ trait APIMethods200 { emptyObjectJson, kycDocumentsJSON, List(UserNotLoggedIn, CustomerNotFoundByCustomerId, UnknownError), - List(apiTagKyc, apiTagCustomer, apiTagNewStyle), + List(apiTagKyc, apiTagCustomer), Some(List(canGetAnyKycDocuments)) ) @@ -485,7 +485,7 @@ trait APIMethods200 { emptyObjectJson, kycMediasJSON, List(UserNotLoggedIn, CustomerNotFoundByCustomerId, UnknownError), - List(apiTagKyc, apiTagCustomer, apiTagNewStyle), + List(apiTagKyc, apiTagCustomer), Some(List(canGetAnyKycMedia))) lazy val getKycMedia : OBPEndpoint = { @@ -517,7 +517,7 @@ trait APIMethods200 { emptyObjectJson, kycChecksJSON, List(UserNotLoggedIn, CustomerNotFoundByCustomerId, UnknownError), - List(apiTagKyc, apiTagCustomer, apiTagNewStyle), + List(apiTagKyc, apiTagCustomer), Some(List(canGetAnyKycChecks)) ) @@ -549,7 +549,7 @@ trait APIMethods200 { emptyObjectJson, kycStatusesJSON, List(UserNotLoggedIn, CustomerNotFoundByCustomerId, UnknownError), - List(apiTagKyc, apiTagCustomer, apiTagNewStyle), + List(apiTagKyc, apiTagCustomer), Some(List(canGetAnyKycStatuses)) ) @@ -616,7 +616,7 @@ trait APIMethods200 { postKycDocumentJSON, kycDocumentJSON, List(UserNotLoggedIn, InvalidJsonFormat, BankNotFound, CustomerNotFoundByCustomerId,"Server error: could not add KycDocument", UnknownError), - List(apiTagKyc, apiTagCustomer, apiTagNewStyle), + List(apiTagKyc, apiTagCustomer), Some(List(canAddKycDocument)) ) @@ -667,7 +667,7 @@ trait APIMethods200 { postKycMediaJSON, kycMediaJSON, List(UserNotLoggedIn, InvalidJsonFormat, CustomerNotFoundByCustomerId, ServerAddDataError, UnknownError), - List(apiTagKyc, apiTagCustomer, apiTagNewStyle), + List(apiTagKyc, apiTagCustomer), Some(List(canAddKycMedia)) ) @@ -716,7 +716,7 @@ trait APIMethods200 { postKycCheckJSON, kycCheckJSON, List(UserNotLoggedIn, InvalidJsonFormat, BankNotFound, CustomerNotFoundByCustomerId, ServerAddDataError, UnknownError), - List(apiTagKyc, apiTagCustomer, apiTagNewStyle), + List(apiTagKyc, apiTagCustomer), Some(List(canAddKycCheck)) ) @@ -766,7 +766,7 @@ trait APIMethods200 { postKycStatusJSON, kycStatusJSON, List(UserNotLoggedIn, InvalidJsonFormat, InvalidBankIdFormat,UnknownError, BankNotFound ,ServerAddDataError ,CustomerNotFoundByCustomerId), - List(apiTagKyc, apiTagCustomer, apiTagNewStyle), + List(apiTagKyc, apiTagCustomer), Some(List(canAddKycStatus)) ) @@ -1000,7 +1000,7 @@ trait APIMethods200 { emptyObjectJson, permissionsJSON, List(UserNotLoggedIn, BankNotFound, AccountNotFound ,UnknownError), - List(apiTagView, apiTagAccount, apiTagUser, apiTagEntitlement, apiTagNewStyle) + List(apiTagView, apiTagAccount, apiTagUser, apiTagEntitlement) ) lazy val getPermissionsForBankAccount : OBPEndpoint = { @@ -1174,7 +1174,7 @@ trait APIMethods200 { emptyObjectJson, transactionTypesJsonV200, List(BankNotFound, UnknownError), - List(apiTagBank, apiTagPSD2AIS, apiTagPsd2, apiTagNewStyle) + List(apiTagBank, apiTagPSD2AIS, apiTagPsd2) ) lazy val getTransactionTypes : OBPEndpoint = { @@ -1939,7 +1939,7 @@ trait APIMethods200 { EntitlementAlreadyExists, UnknownError ), - List(apiTagRole, apiTagEntitlement, apiTagUser, apiTagNewStyle), + List(apiTagRole, apiTagEntitlement, apiTagUser), Some(List(canCreateEntitlementAtOneBank,canCreateEntitlementAtAnyBank))) lazy val addEntitlement : OBPEndpoint = { @@ -2039,7 +2039,7 @@ trait APIMethods200 { emptyObjectJson, emptyObjectJson, List(UserNotLoggedIn, UserHasMissingRoles, EntitlementNotFound, UnknownError), - List(apiTagRole, apiTagUser, apiTagEntitlement, apiTagNewStyle)) + List(apiTagRole, apiTagUser, apiTagEntitlement)) lazy val deleteEntitlement: OBPEndpoint = { @@ -2077,7 +2077,7 @@ trait APIMethods200 { emptyObjectJson, entitlementJSONs, List(UserNotLoggedIn, UnknownError), - List(apiTagRole, apiTagEntitlement, apiTagNewStyle)) + List(apiTagRole, apiTagEntitlement)) lazy val getAllEntitlements: OBPEndpoint = { diff --git a/obp-api/src/main/scala/code/api/v2_1_0/APIMethods210.scala b/obp-api/src/main/scala/code/api/v2_1_0/APIMethods210.scala index ef8457cae..e5a60141a 100644 --- a/obp-api/src/main/scala/code/api/v2_1_0/APIMethods210.scala +++ b/obp-api/src/main/scala/code/api/v2_1_0/APIMethods210.scala @@ -139,7 +139,7 @@ trait APIMethods210 { emptyObjectJson, transactionRequestTypesJSON, List(UserNotLoggedIn, UnknownError), - List(apiTagTransactionRequest, apiTagBank, apiTagNewStyle)) + List(apiTagTransactionRequest, apiTagBank)) lazy val getTransactionRequestTypesSupportedByBank: OBPEndpoint = { @@ -740,7 +740,7 @@ trait APIMethods210 { emptyObjectJson, availableRolesJSON, List(UserNotLoggedIn, UnknownError), - List(apiTagRole, apiTagNewStyle)) + List(apiTagRole)) lazy val getRoles: OBPEndpoint = { case "roles" :: Nil JsonGet _ => { @@ -778,7 +778,7 @@ trait APIMethods210 { UserHasMissingRoles, UnknownError ), - List(apiTagRole, apiTagEntitlement, apiTagUser, apiTagNewStyle), + List(apiTagRole, apiTagEntitlement, apiTagUser), Some(List(canGetEntitlementsForAnyUserAtOneBank, canGetEntitlementsForAnyUserAtAnyBank))) @@ -1443,7 +1443,7 @@ trait APIMethods210 { CustomerNotFoundByCustomerId, UnknownError ), - List(apiTagCustomer, apiTagNewStyle) + List(apiTagCustomer) ) lazy val getCustomersForCurrentUserAtBank : OBPEndpoint = { @@ -1665,7 +1665,7 @@ trait APIMethods210 { UserHasMissingRoles, UnknownError ), - List(apiTagMetric, apiTagApi, apiTagNewStyle), + List(apiTagMetric, apiTagApi), Some(List(canReadMetrics))) lazy val getMetrics : OBPEndpoint = { diff --git a/obp-api/src/main/scala/code/api/v2_2_0/APIMethods220.scala b/obp-api/src/main/scala/code/api/v2_2_0/APIMethods220.scala index 2beb8a838..485f57932 100644 --- a/obp-api/src/main/scala/code/api/v2_2_0/APIMethods220.scala +++ b/obp-api/src/main/scala/code/api/v2_2_0/APIMethods220.scala @@ -90,7 +90,7 @@ trait APIMethods220 { BankAccountNotFound, UnknownError ), - List(apiTagView, apiTagAccount, apiTagNewStyle)) + List(apiTagView, apiTagAccount)) lazy val getViewsForBankAccount : OBPEndpoint = { //get the available views on an bank account @@ -253,7 +253,7 @@ trait APIMethods220 { emptyObjectJson, fXRateJSON, List(InvalidISOCurrencyCode,UserNotLoggedIn,FXCurrencyCodeCombinationsNotSupported, UnknownError), - List(apiTagFx, apiTagNewStyle)) + List(apiTagFx)) val getCurrentFxRateIsPublic = APIUtil.getPropsAsBoolValue("apiOptions.getCurrentFxRateIsPublic", false) @@ -303,7 +303,7 @@ trait APIMethods220 { UserNoPermissionAccessView, UnknownError ), - List(apiTagCounterparty, apiTagPSD2PIS, apiTagAccount, apiTagPsd2, apiTagNewStyle)) + List(apiTagCounterparty, apiTagPSD2PIS, apiTagAccount, apiTagPsd2)) lazy val getExplictCounterpartiesForAccount : OBPEndpoint = { case "banks" :: BankId(bankId) :: "accounts" :: AccountId(accountId) :: ViewId(viewId) :: "counterparties" :: Nil JsonGet req => { @@ -352,7 +352,7 @@ trait APIMethods220 { emptyObjectJson, counterpartyWithMetadataJson, List(UserNotLoggedIn, BankNotFound, UnknownError), - List(apiTagCounterparty, apiTagPSD2PIS, apiTagCounterpartyMetaData, apiTagPsd2, apiTagNewStyle) + List(apiTagCounterparty, apiTagPSD2PIS, apiTagCounterpartyMetaData, apiTagPsd2) ) lazy val getExplictCounterpartyById : OBPEndpoint = { @@ -391,7 +391,7 @@ trait APIMethods220 { emptyObjectJson, messageDocsJson, List(UnknownError), - List(apiTagDocumentation, apiTagApi, apiTagNewStyle) + List(apiTagDocumentation, apiTagApi) ) lazy val getMessageDocs: OBPEndpoint = { @@ -746,7 +746,7 @@ trait APIMethods220 { AccountIdAlreadyExists, UnknownError ), - List(apiTagAccount,apiTagOnboarding, apiTagNewStyle), + List(apiTagAccount,apiTagOnboarding), Some(List(canCreateAccount)) ) @@ -841,7 +841,7 @@ trait APIMethods220 { UserHasMissingRoles, UnknownError ), - apiTagApi :: apiTagNewStyle :: Nil, + apiTagApi :: Nil, Some(List(canGetConfig))) lazy val config: OBPEndpoint = { @@ -899,7 +899,7 @@ trait APIMethods220 { InvalidDateFormat, UnknownError ), - List(apiTagMetric, apiTagApi, apiTagNewStyle), + List(apiTagMetric, apiTagApi), Some(List(canGetConnectorMetrics))) lazy val getConnectorMetrics : OBPEndpoint = { diff --git a/obp-api/src/main/scala/code/api/v3_0_0/APIMethods300.scala b/obp-api/src/main/scala/code/api/v3_0_0/APIMethods300.scala index 37a0e80b3..ae6f076f9 100644 --- a/obp-api/src/main/scala/code/api/v3_0_0/APIMethods300.scala +++ b/obp-api/src/main/scala/code/api/v3_0_0/APIMethods300.scala @@ -100,7 +100,7 @@ trait APIMethods300 { BankAccountNotFound, UnknownError ), - List(apiTagView, apiTagAccount, apiTagNewStyle)) + List(apiTagView, apiTagAccount)) lazy val getViewsForBankAccount : OBPEndpoint = { //get the available views on an bank account @@ -156,7 +156,7 @@ trait APIMethods300 { BankAccountNotFound, UnknownError ), - List(apiTagView, apiTagAccount, apiTagNewStyle)) + List(apiTagView, apiTagAccount)) lazy val createViewForBankAccount : OBPEndpoint = { //creates a view on an bank account @@ -201,7 +201,7 @@ trait APIMethods300 { EmptyBody, viewsJsonV300, List(UserNotLoggedIn,BankNotFound, AccountNotFound,UnknownError), - List(apiTagView, apiTagAccount, apiTagUser, apiTagNewStyle)) + List(apiTagView, apiTagAccount, apiTagUser)) lazy val getPermissionForUserForBankAccount : OBPEndpoint = { //get access for specific user @@ -241,7 +241,7 @@ trait APIMethods300 { BankAccountNotFound, UnknownError ), - List(apiTagView, apiTagAccount, apiTagNewStyle) + List(apiTagView, apiTagAccount) ) lazy val updateViewForBankAccount : OBPEndpoint = { @@ -305,7 +305,7 @@ trait APIMethods300 { EmptyBody, moderatedCoreAccountJsonV300, List(BankNotFound,AccountNotFound,ViewNotFound, UserNoPermissionAccessView, UnknownError), - apiTagAccount :: apiTagNewStyle :: Nil) + apiTagAccount :: Nil) lazy val getPrivateAccountById : OBPEndpoint = { case "banks" :: BankId(bankId) :: "accounts" :: AccountId(accountId) :: ViewId(viewId) :: "account" :: Nil JsonGet req => { cc => @@ -348,7 +348,7 @@ trait APIMethods300 { EmptyBody, moderatedCoreAccountJsonV300, List(BankNotFound,AccountNotFound,ViewNotFound, UnknownError), - apiTagAccountPublic :: apiTagAccount :: apiTagNewStyle :: Nil) + apiTagAccountPublic :: apiTagAccount :: Nil) lazy val getPublicAccountById : OBPEndpoint = { case "banks" :: BankId(bankId) :: "public" :: "accounts" :: AccountId(accountId) :: ViewId(viewId) :: "account" :: Nil JsonGet req => { @@ -390,7 +390,7 @@ trait APIMethods300 { EmptyBody, newModeratedCoreAccountJsonV300, List(BankAccountNotFound,UnknownError), - apiTagAccount :: apiTagPSD2AIS :: apiTagNewStyle :: apiTagPsd2 :: Nil) + apiTagAccount :: apiTagPSD2AIS :: apiTagPsd2 :: Nil) lazy val getCoreAccountById : OBPEndpoint = { //get account by id (assume owner view requested) case "my" :: "banks" :: BankId(bankId) :: "accounts" :: AccountId(accountId) :: "account" :: Nil JsonGet req => { @@ -425,7 +425,7 @@ trait APIMethods300 { EmptyBody, coreAccountsJsonV300, List(UserNotLoggedIn,UnknownError), - List(apiTagAccount, apiTagPSD2AIS, apiTagPrivateData, apiTagPsd2, apiTagNewStyle) + List(apiTagAccount, apiTagPSD2AIS, apiTagPrivateData, apiTagPsd2) ) @@ -482,7 +482,7 @@ trait APIMethods300 { EmptyBody, moderatedCoreAccountsJsonV300, List(UserNotLoggedIn,AccountFirehoseNotAllowedOnThisInstance,UnknownError), - List(apiTagAccount, apiTagAccountFirehose, apiTagFirehoseData, apiTagNewStyle), + List(apiTagAccount, apiTagAccountFirehose, apiTagFirehoseData), Some(List(canUseAccountFirehoseAtAnyBank, ApiRole.canUseAccountFirehose)) ) @@ -571,7 +571,7 @@ trait APIMethods300 { EmptyBody, transactionsJsonV300, List(UserNotLoggedIn, AccountFirehoseNotAllowedOnThisInstance, UserHasMissingRoles, UnknownError), - List(apiTagTransaction, apiTagAccountFirehose, apiTagTransactionFirehose, apiTagFirehoseData, apiTagNewStyle), + List(apiTagTransaction, apiTagAccountFirehose, apiTagTransactionFirehose, apiTagFirehoseData), Some(List(canUseAccountFirehoseAtAnyBank, ApiRole.canUseAccountFirehose)) ) @@ -645,7 +645,7 @@ trait APIMethods300 { ViewNotFound, UnknownError ), - List(apiTagTransaction, apiTagPSD2AIS, apiTagAccount, apiTagPsd2, apiTagNewStyle) + List(apiTagTransaction, apiTagPSD2AIS, apiTagAccount, apiTagPsd2) ) lazy val getCoreTransactionsForBankAccount : OBPEndpoint = { @@ -703,7 +703,7 @@ trait APIMethods300 { ViewNotFound, UnknownError ), - List(apiTagTransaction, apiTagAccount, apiTagNewStyle) + List(apiTagTransaction, apiTagAccount) ) lazy val getTransactionsForBankAccount: OBPEndpoint = { @@ -772,7 +772,7 @@ trait APIMethods300 { elasticSearchJsonV300, emptyObjectJson, //TODO what is output here? List(UserNotLoggedIn, UserHasMissingRoles, UnknownError), - List(apiTagSearchWarehouse, apiTagNewStyle), + List(apiTagSearchWarehouse), Some(List(canSearchWarehouse))) val esw = new elasticsearchWarehouse lazy val dataWarehouseSearch: OBPEndpoint = { @@ -851,7 +851,7 @@ trait APIMethods300 { elasticSearchJsonV300, emptyObjectJson, //TODO what is output here? List(UserNotLoggedIn, UserHasMissingRoles, UnknownError), - List(apiTagSearchWarehouse, apiTagNewStyle), + List(apiTagSearchWarehouse), Some(List(canSearchWarehouseStatistics)) ) lazy val dataWarehouseStatistics: OBPEndpoint = { @@ -906,7 +906,7 @@ trait APIMethods300 { EmptyBody, usersJsonV200, List(UserNotLoggedIn, UserHasMissingRoles, UserNotFoundByEmail, UnknownError), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canGetAnyUser))) @@ -939,7 +939,7 @@ trait APIMethods300 { EmptyBody, usersJsonV200, List(UserNotLoggedIn, UserHasMissingRoles, UserNotFoundById, UnknownError), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canGetAnyUser))) @@ -976,7 +976,7 @@ trait APIMethods300 { EmptyBody, usersJsonV200, List(UserNotLoggedIn, UserHasMissingRoles, UserNotFoundByProviderAndUsername, UnknownError), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canGetAnyUser))) @@ -1012,7 +1012,7 @@ trait APIMethods300 { EmptyBody, adapterInfoJsonV300, List(UserNotLoggedIn, UserHasMissingRoles, UnknownError), - List(apiTagApi, apiTagNewStyle), + List(apiTagApi), Some(List(canGetAdapterInfoAtOneBank)) ) @@ -1211,7 +1211,7 @@ trait APIMethods300 { BranchNotFoundByBranchId, UnknownError ), - List(apiTagBranch, apiTagBank, apiTagNewStyle) + List(apiTagBranch, apiTagBank) ) lazy val getBranch: OBPEndpoint = { case "banks" :: BankId(bankId) :: "branches" :: BranchId(branchId) :: Nil JsonGet _ => { @@ -1272,7 +1272,7 @@ trait APIMethods300 { BankNotFound, BranchesNotFoundLicense, UnknownError), - List(apiTagBranch, apiTagBank, apiTagNewStyle) + List(apiTagBranch, apiTagBank) ) private[this] val branchCityPredicate = (city: Box[String], branchCity: String) => city.isEmpty || city.openOrThrowException("city should be have value!") == branchCity @@ -1384,7 +1384,7 @@ trait APIMethods300 { EmptyBody, atmJsonV300, List(UserNotLoggedIn, BankNotFound, AtmNotFoundByAtmId, UnknownError), - List(apiTagATM, apiTagNewStyle) + List(apiTagATM) ) lazy val getAtm: OBPEndpoint = { case "banks" :: BankId(bankId) :: "atms" :: AtmId(atmId) :: Nil JsonGet req => { @@ -1429,7 +1429,7 @@ trait APIMethods300 { BankNotFound, "No ATMs available. License may not be set.", UnknownError), - List(apiTagATM, apiTagNewStyle) + List(apiTagATM) ) lazy val getAtms : OBPEndpoint = { case "banks" :: BankId(bankId) :: "atms" :: Nil JsonGet req => { @@ -1507,7 +1507,7 @@ trait APIMethods300 { UserHasMissingRoles, UnknownError ), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canGetAnyUser))) lazy val getUsers: OBPEndpoint = { @@ -1549,7 +1549,7 @@ trait APIMethods300 { UserCustomerLinksNotFoundForUser, UnknownError ), - List(apiTagCustomer, apiTagUser, apiTagNewStyle) + List(apiTagCustomer, apiTagUser) ) @@ -1593,7 +1593,7 @@ trait APIMethods300 { EmptyBody, userJsonV300, List(UserNotLoggedIn, UnknownError), - List(apiTagUser, apiTagNewStyle)) + List(apiTagUser)) lazy val getCurrentUser: OBPEndpoint = { case "users" :: "current" :: Nil JsonGet _ => { @@ -1627,7 +1627,7 @@ trait APIMethods300 { EmptyBody, coreAccountsJsonV300, List(UserNotLoggedIn, BankNotFound, UnknownError), - List(apiTagAccount,apiTagPSD2AIS, apiTagNewStyle, apiTagPsd2) + List(apiTagAccount,apiTagPSD2AIS, apiTagPsd2) ) lazy val privateAccountsAtOneBank : OBPEndpoint = { @@ -1666,7 +1666,7 @@ trait APIMethods300 { EmptyBody, accountsIdsJsonV300, List(UserNotLoggedIn, BankNotFound, UnknownError), - List(apiTagAccount, apiTagPSD2AIS, apiTagPsd2, apiTagNewStyle) + List(apiTagAccount, apiTagPSD2AIS, apiTagPsd2) ) lazy val getPrivateAccountIdsbyBankId : OBPEndpoint = { @@ -1707,7 +1707,7 @@ trait APIMethods300 { InvalidConnectorResponse, UnknownError ), - List(apiTagCounterparty, apiTagAccount, apiTagNewStyle)) + List(apiTagCounterparty, apiTagAccount)) lazy val getOtherAccountsForBankAccount : OBPEndpoint = { case "banks" :: BankId(bankId) :: "accounts" :: AccountId(accountId) :: ViewId(viewId) :: "other_accounts" :: Nil JsonGet req => { @@ -1743,7 +1743,7 @@ trait APIMethods300 { ViewNotFound, InvalidConnectorResponse, UnknownError), - List(apiTagCounterparty, apiTagAccount, apiTagNewStyle)) + List(apiTagCounterparty, apiTagAccount)) lazy val getOtherAccountByIdForBankAccount : OBPEndpoint = { case "banks" :: BankId(bankId) :: "accounts" :: AccountId(accountId) :: ViewId(viewId) :: "other_accounts":: other_account_id :: Nil JsonGet _ => { @@ -1796,7 +1796,7 @@ trait APIMethods300 { EntitlementRequestCannotBeAdded, UnknownError ), - List(apiTagRole, apiTagEntitlement, apiTagUser, apiTagNewStyle)) + List(apiTagRole, apiTagEntitlement, apiTagUser)) lazy val addEntitlementRequest : OBPEndpoint = { case "entitlement-requests" :: Nil JsonPost json -> _ => { @@ -1847,7 +1847,7 @@ trait APIMethods300 { InvalidConnectorResponse, UnknownError ), - List(apiTagRole, apiTagEntitlement, apiTagUser, apiTagNewStyle), + List(apiTagRole, apiTagEntitlement, apiTagUser), Some(List(canGetEntitlementRequestsAtAnyBank))) lazy val getAllEntitlementRequests : OBPEndpoint = { @@ -1886,7 +1886,7 @@ trait APIMethods300 { InvalidConnectorResponse, UnknownError ), - List(apiTagRole, apiTagEntitlement, apiTagUser, apiTagNewStyle), + List(apiTagRole, apiTagEntitlement, apiTagUser), Some(List(canGetEntitlementRequestsAtAnyBank))) lazy val getEntitlementRequests : OBPEndpoint = { @@ -1925,7 +1925,7 @@ trait APIMethods300 { InvalidConnectorResponse, UnknownError ), - List(apiTagRole, apiTagEntitlement, apiTagUser, apiTagNewStyle), + List(apiTagRole, apiTagEntitlement, apiTagUser), None) lazy val getEntitlementRequestsForCurrentUser : OBPEndpoint = { @@ -1960,7 +1960,7 @@ trait APIMethods300 { InvalidConnectorResponse, UnknownError ), - List(apiTagRole, apiTagEntitlement, apiTagUser, apiTagNewStyle), + List(apiTagRole, apiTagEntitlement, apiTagUser), Some(List(canDeleteEntitlementRequestsAtAnyBank))) lazy val deleteEntitlementRequest : OBPEndpoint = { @@ -2000,7 +2000,7 @@ trait APIMethods300 { InvalidConnectorResponse, UnknownError ), - List(apiTagRole, apiTagEntitlement, apiTagUser, apiTagNewStyle), + List(apiTagRole, apiTagEntitlement, apiTagUser), None) lazy val getEntitlementsForCurrentUser : OBPEndpoint = { @@ -2031,7 +2031,7 @@ trait APIMethods300 { EmptyBody, glossaryItemsJsonV300, List(UnknownError), - apiTagDocumentation :: apiTagNewStyle :: Nil) + apiTagDocumentation :: Nil) lazy val getApiGlossary : OBPEndpoint = { case "api" :: "glossary" :: Nil JsonGet req => { @@ -2073,7 +2073,7 @@ trait APIMethods300 { EmptyBody, coreAccountsHeldJsonV300, List(UserNotLoggedIn, UnknownError), - List(apiTagAccount, apiTagPSD2AIS, apiTagView, apiTagPsd2, apiTagNewStyle) + List(apiTagAccount, apiTagPSD2AIS, apiTagView, apiTagPsd2) ) lazy val getAccountsHeld : OBPEndpoint = { @@ -2153,7 +2153,7 @@ trait APIMethods300 { UserHasMissingRoles, UnknownError ), - List(apiTagMetric, apiTagAggregateMetrics, apiTagNewStyle), + List(apiTagMetric, apiTagAggregateMetrics), Some(List(canReadAggregateMetrics))) lazy val getAggregateMetrics : OBPEndpoint = { @@ -2203,7 +2203,7 @@ trait APIMethods300 { EntitlementAlreadyExists, UnknownError ), - List(apiTagScope, apiTagConsumer, apiTagNewStyle), + List(apiTagScope, apiTagConsumer), Some(List(canCreateScopeAtOneBank, canCreateScopeAtAnyBank))) lazy val addScope : OBPEndpoint = { @@ -2274,7 +2274,7 @@ trait APIMethods300 { EmptyBody, EmptyBody, List(UserNotLoggedIn, EntitlementNotFound, UnknownError), - List(apiTagScope, apiTagConsumer, apiTagNewStyle)) + List(apiTagScope, apiTagConsumer)) lazy val deleteScope: OBPEndpoint = { case "consumers" :: consumerId :: "scope" :: scopeId :: Nil JsonDelete _ => { @@ -2312,7 +2312,7 @@ trait APIMethods300 { EmptyBody, scopeJsons, List(UserNotLoggedIn, EntitlementNotFound, UnknownError), - List(apiTagScope, apiTagConsumer, apiTagNewStyle)) + List(apiTagScope, apiTagConsumer)) lazy val getScopes: OBPEndpoint = { case "consumers" :: consumerId :: "scopes" :: Nil JsonGet _ => { @@ -2346,7 +2346,7 @@ trait APIMethods300 { EmptyBody, banksJSON, List(UnknownError), - apiTagBank :: apiTagPSD2AIS:: apiTagPsd2 :: apiTagNewStyle :: Nil) + apiTagBank :: apiTagPSD2AIS:: apiTagPsd2 :: Nil) //The Json Body is totally the same as V121, just use new style endpoint. lazy val getBanks : OBPEndpoint = { @@ -2376,7 +2376,7 @@ trait APIMethods300 { EmptyBody, bankJson400, List(UserNotLoggedIn, UnknownError, BankNotFound), - apiTagBank :: apiTagPSD2AIS :: apiTagPsd2 :: apiTagNewStyle :: Nil + apiTagBank :: apiTagPSD2AIS :: apiTagPsd2 :: Nil ) lazy val bankById : OBPEndpoint = { diff --git a/obp-api/src/main/scala/code/api/v3_1_0/APIMethods310.scala b/obp-api/src/main/scala/code/api/v3_1_0/APIMethods310.scala index 3dce7152c..0a3aa24ff 100644 --- a/obp-api/src/main/scala/code/api/v3_1_0/APIMethods310.scala +++ b/obp-api/src/main/scala/code/api/v3_1_0/APIMethods310.scala @@ -96,7 +96,7 @@ trait APIMethods310 { InvalidConnectorResponseForGetCheckbookOrdersFuture, UnknownError ), - apiTagAccount :: apiTagNewStyle :: Nil) + apiTagAccount :: Nil) lazy val getCheckbookOrders : OBPEndpoint = { case "banks" :: BankId(bankId) :: "accounts" :: AccountId(accountId) :: ViewId(viewId) :: "checkbook" :: "orders" :: Nil JsonGet req => { @@ -137,7 +137,7 @@ trait APIMethods310 { InvalidConnectorResponseForGetStatusOfCreditCardOrderFuture, UnknownError ), - apiTagCard :: apiTagNewStyle :: Nil) + apiTagCard :: Nil) lazy val getStatusOfCreditCardOrder : OBPEndpoint = { case "banks" :: BankId(bankId) :: "accounts" :: AccountId(accountId) :: ViewId(viewId) :: "credit_cards" :: "orders" :: Nil JsonGet req => { @@ -220,7 +220,7 @@ trait APIMethods310 { GetTopApisError, UnknownError ), - apiTagMetric :: apiTagNewStyle :: Nil, + apiTagMetric :: Nil, Some(List(canReadMetrics)) ) @@ -307,7 +307,7 @@ trait APIMethods310 { GetMetricsTopConsumersError, UnknownError ), - apiTagMetric :: apiTagNewStyle :: Nil, + apiTagMetric :: Nil, Some(List(canReadMetrics)) ) @@ -363,7 +363,7 @@ trait APIMethods310 { EmptyBody, customerJSONs, List(UserNotLoggedIn, CustomerFirehoseNotAllowedOnThisInstance, UserHasMissingRoles, UnknownError), - List(apiTagCustomer, apiTagFirehoseData, apiTagNewStyle), + List(apiTagCustomer, apiTagFirehoseData), Some(List(canUseCustomerFirehoseAtAnyBank))) lazy val getFirehoseCustomers : OBPEndpoint = { @@ -413,7 +413,7 @@ trait APIMethods310 { EmptyBody, badLoginStatusJson, List(UserNotLoggedIn, UserNotFoundByProviderAndUsername, UserHasMissingRoles, UnknownError), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canReadUserLockedStatus)) ) @@ -452,7 +452,7 @@ trait APIMethods310 { EmptyBody, badLoginStatusJson, List(UserNotLoggedIn, UserNotFoundByProviderAndUsername, UserHasMissingRoles, UnknownError), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canUnlockUser))) lazy val unlockUser : OBPEndpoint = { @@ -506,7 +506,7 @@ trait APIMethods310 { UpdateConsumerError, UnknownError ), - List(apiTagConsumer, apiTagNewStyle), + List(apiTagConsumer), Some(List(canSetCallLimits))) lazy val callsLimit : OBPEndpoint = { @@ -565,7 +565,7 @@ trait APIMethods310 { UpdateConsumerError, UnknownError ), - List(apiTagConsumer, apiTagNewStyle), + List(apiTagConsumer), Some(List(canSetCallLimits))) @@ -611,7 +611,7 @@ trait APIMethods310 { InvalidISOCurrencyCode, UnknownError ), - apiTagAccount :: apiTagPSD2PIIS :: apiTagPsd2 :: apiTagNewStyle :: Nil) + apiTagAccount :: apiTagPSD2PIIS :: apiTagPsd2 :: Nil) lazy val checkFundsAvailable : OBPEndpoint = { case "banks" :: BankId(bankId) :: "accounts" :: AccountId(accountId) :: ViewId(viewId) :: "funds-available" :: Nil JsonGet req => { @@ -674,7 +674,7 @@ trait APIMethods310 { ConsumerNotFoundByConsumerId, UnknownError ), - List(apiTagConsumer, apiTagNewStyle), + List(apiTagConsumer), Some(List(canGetConsumers))) @@ -709,7 +709,7 @@ trait APIMethods310 { UserNotLoggedIn, UnknownError ), - List(apiTagConsumer, apiTagNewStyle) + List(apiTagConsumer) ) @@ -744,7 +744,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagConsumer, apiTagNewStyle), + List(apiTagConsumer), Some(List(canGetConsumers)) ) @@ -787,7 +787,7 @@ trait APIMethods310 { accountWebhookPostJson, accountWebhookJson, List(UnknownError), - apiTagWebhook :: apiTagBank :: apiTagNewStyle :: Nil, + apiTagWebhook :: apiTagBank :: Nil, Some(List(canCreateWebhook)) ) @@ -844,7 +844,7 @@ trait APIMethods310 { accountWebhookPutJson, accountWebhookJson, List(UnknownError), - apiTagWebhook :: apiTagBank :: apiTagNewStyle :: Nil, + apiTagWebhook :: apiTagBank :: Nil, Some(List(canUpdateWebhook)) ) @@ -903,7 +903,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - apiTagWebhook :: apiTagBank :: apiTagNewStyle :: Nil, + apiTagWebhook :: apiTagBank :: Nil, Some(List(canGetWebhooks)) ) @@ -946,7 +946,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - apiTagApi :: apiTagNewStyle :: Nil, + apiTagApi :: Nil, Some(List(canGetConfig))) lazy val config: OBPEndpoint = { @@ -975,7 +975,7 @@ trait APIMethods310 { EmptyBody, adapterInfoJsonV300, List(UserNotLoggedIn,UserHasMissingRoles, UnknownError), - List(apiTagApi, apiTagNewStyle), + List(apiTagApi), Some(List(canGetAdapterInfo)) ) @@ -1011,7 +1011,7 @@ trait APIMethods310 { EmptyBody, transactionJsonV300, List(UserNotLoggedIn, BankAccountNotFound ,ViewNotFound, UserNoPermissionAccessView, UnknownError), - List(apiTagTransaction, apiTagNewStyle)) + List(apiTagTransaction)) lazy val getTransactionByIdForBankAccount : OBPEndpoint = { case "banks" :: BankId(bankId) :: "accounts" :: AccountId(accountId) :: ViewId(viewId) :: "transactions" :: TransactionId(transactionId) :: "transaction" :: Nil JsonGet _ => { @@ -1076,7 +1076,7 @@ trait APIMethods310 { GetTransactionRequestsException, UnknownError ), - List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagNewStyle)) + List(apiTagTransactionRequest, apiTagPSD2PIS)) lazy val getTransactionRequests: OBPEndpoint = { case "banks" :: BankId(bankId) :: "accounts" :: AccountId(accountId) :: ViewId(viewId) :: "transaction-requests" :: Nil JsonGet _ => { @@ -1127,7 +1127,7 @@ trait APIMethods310 { CreateConsumerError, UnknownError ), - List(apiTagCustomer, apiTagPerson, apiTagNewStyle), + List(apiTagCustomer, apiTagPerson), Some(List(canCreateCustomer,canCreateCustomerAtAnyBank)) ) lazy val createCustomer : OBPEndpoint = { @@ -1194,7 +1194,7 @@ trait APIMethods310 { EmptyBody, rateLimitingInfoV310, List(UnknownError), - List(apiTagApi, apiTagNewStyle)) + List(apiTagApi)) lazy val getRateLimitingInfo: OBPEndpoint = { @@ -1240,7 +1240,7 @@ trait APIMethods310 { UserCustomerLinksNotFoundForUser, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canGetCustomer))) lazy val getCustomerByCustomerId : OBPEndpoint = { @@ -1282,7 +1282,7 @@ trait APIMethods310 { UserCustomerLinksNotFoundForUser, UnknownError ), - List(apiTagCustomer, apiTagKyc ,apiTagNewStyle), + List(apiTagCustomer, apiTagKyc), Some(List(canGetCustomer)) ) @@ -1327,7 +1327,7 @@ trait APIMethods310 { CreateUserAuthContextError, UnknownError ), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canCreateUserAuthContext))) lazy val createUserAuthContext : OBPEndpoint = { @@ -1368,7 +1368,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(canGetUserAuthContext :: Nil) ) @@ -1407,7 +1407,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canDeleteUserAuthContext))) lazy val deleteUserAuthContexts : OBPEndpoint = { @@ -1445,7 +1445,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canDeleteUserAuthContext))) lazy val deleteUserAuthContextById : OBPEndpoint = { @@ -1483,7 +1483,7 @@ trait APIMethods310 { InvalidJsonFormat, UnknownError ), - List(apiTagCustomer, apiTagKyc, apiTagNewStyle), + List(apiTagCustomer, apiTagKyc), Some(List(canCreateTaxResidence))) lazy val createTaxResidence : OBPEndpoint = { @@ -1526,7 +1526,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagCustomer, apiTagKyc, apiTagNewStyle)) + List(apiTagCustomer, apiTagKyc)) lazy val getTaxResidence : OBPEndpoint = { case "banks" :: BankId(bankId) :: "customers" :: customerId :: "tax-residences" :: Nil JsonGet _ => { @@ -1564,7 +1564,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagCustomer, apiTagKyc, apiTagNewStyle)) + List(apiTagCustomer, apiTagKyc)) lazy val deleteTaxResidence : OBPEndpoint = { case "banks" :: BankId(bankId) :: "customers" :: customerId :: "tax_residencies" :: taxResidenceId :: Nil JsonDelete _ => { @@ -1601,7 +1601,7 @@ trait APIMethods310 { EmptyBody, entitlementJSONs, List(UserNotLoggedIn, UserHasMissingRoles, UnknownError), - List(apiTagRole, apiTagEntitlement, apiTagNewStyle)) + List(apiTagRole, apiTagEntitlement)) lazy val getAllEntitlements: OBPEndpoint = { @@ -1643,7 +1643,7 @@ trait APIMethods310 { InvalidJsonFormat, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canCreateCustomerAddress))) lazy val createCustomerAddress : OBPEndpoint = { @@ -1700,7 +1700,7 @@ trait APIMethods310 { InvalidJsonFormat, UnknownError ), - List(apiTagCustomer, apiTagNewStyle)) + List(apiTagCustomer)) lazy val updateCustomerAddress : OBPEndpoint = { case "banks" :: BankId(bankId) :: "customers" :: customerId :: "addresses" :: customerAddressId :: Nil JsonPut json -> _ => { @@ -1754,7 +1754,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagCustomer, apiTagKyc, apiTagNewStyle), + List(apiTagCustomer, apiTagKyc), Some(List(canGetCustomerAddress))) lazy val getCustomerAddresses : OBPEndpoint = { @@ -1793,7 +1793,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagCustomer, apiTagKyc, apiTagNewStyle), + List(apiTagCustomer, apiTagKyc), Some(List(canDeleteCustomerAddress))) lazy val deleteCustomerAddress : OBPEndpoint = { @@ -1835,7 +1835,7 @@ trait APIMethods310 { List( UnknownError ), - List(apiTagApi, apiTagNewStyle)) + List(apiTagApi)) lazy val getObpConnectorLoopback : OBPEndpoint = { case "connector" :: "loopback" :: Nil JsonGet _ => { @@ -1876,7 +1876,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canRefreshUser)) ) @@ -1945,7 +1945,7 @@ trait APIMethods310 { InvalidJsonFormat, UnknownError ), - List(apiTagProduct, apiTagNewStyle), + List(apiTagProduct), Some(List(canCreateProductAttribute)) ) @@ -2004,7 +2004,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagProduct, apiTagNewStyle), + List(apiTagProduct), Some(List(canGetProductAttribute)) ) @@ -2046,7 +2046,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagProduct, apiTagNewStyle), + List(apiTagProduct), Some(List(canUpdateProductAttribute)) ) @@ -2106,7 +2106,7 @@ trait APIMethods310 { BankNotFound, UnknownError ), - List(apiTagProduct, apiTagNewStyle), + List(apiTagProduct), Some(List(canUpdateProductAttribute))) lazy val deleteProductAttribute : OBPEndpoint = { @@ -2141,7 +2141,7 @@ trait APIMethods310 { InvalidJsonFormat, UnknownError ), - List(apiTagAccountApplication, apiTagAccount, apiTagNewStyle)) + List(apiTagAccountApplication, apiTagAccount)) lazy val createAccountApplication : OBPEndpoint = { case "banks" :: BankId(bankId) :: "account-applications" :: Nil JsonPost json -> _=> { @@ -2203,7 +2203,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagAccountApplication, apiTagAccount, apiTagNewStyle)) + List(apiTagAccountApplication, apiTagAccount)) lazy val getAccountApplications : OBPEndpoint = { case "banks" :: BankId(bankId) ::"account-applications" :: Nil JsonGet _ => { @@ -2246,7 +2246,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagAccountApplication, apiTagAccount, apiTagNewStyle)) + List(apiTagAccountApplication, apiTagAccount)) lazy val getAccountApplication : OBPEndpoint = { case "banks" :: BankId(bankId) ::"account-applications":: accountApplicationId :: Nil JsonGet _ => { @@ -2292,7 +2292,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagAccountApplication, apiTagAccount, apiTagNewStyle) + List(apiTagAccountApplication, apiTagAccount) ) lazy val updateAccountApplicationStatus : OBPEndpoint = { @@ -2383,7 +2383,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagProduct, apiTagNewStyle), + List(apiTagProduct), Some(List(canCreateProduct, canCreateProductAtAnyBank)) ) @@ -2459,7 +2459,7 @@ trait APIMethods310 { ProductNotFoundByProductCode, UnknownError ), - List(apiTagProduct, apiTagNewStyle) + List(apiTagProduct) ) lazy val getProduct: OBPEndpoint = { @@ -2515,7 +2515,7 @@ trait APIMethods310 { ProductNotFoundByProductCode, UnknownError ), - List(apiTagProduct, apiTagNewStyle) + List(apiTagProduct) ) lazy val getProductTree: OBPEndpoint = { @@ -2577,7 +2577,7 @@ trait APIMethods310 { ProductNotFoundByProductCode, UnknownError ), - List(apiTagProduct, apiTagNewStyle) + List(apiTagProduct) ) lazy val getProducts : OBPEndpoint = { @@ -2650,7 +2650,7 @@ trait APIMethods310 { InvalidJsonFormat, UnknownError ), - List(apiTagAccount, apiTagNewStyle), + List(apiTagAccount), Some(List(canCreateAccountAttributeAtOneBank)) ) @@ -2726,7 +2726,7 @@ trait APIMethods310 { InvalidJsonFormat, UnknownError ), - List(apiTagAccount, apiTagNewStyle), + List(apiTagAccount), Some(List(canUpdateAccountAttribute)) ) @@ -2810,7 +2810,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagProductCollection, apiTagProduct, apiTagNewStyle), + List(apiTagProductCollection, apiTagProduct), Some(List(canMaintainProductCollection)) ) @@ -2870,7 +2870,7 @@ trait APIMethods310 { BankNotFound, UnknownError ), - List(apiTagProductCollection, apiTagProduct, apiTagNewStyle) + List(apiTagProductCollection, apiTagProduct) ) lazy val getProductCollection : OBPEndpoint = { @@ -2912,7 +2912,7 @@ trait APIMethods310 { InsufficientAuthorisationToDeleteBranch, UnknownError ), - List(apiTagBranch, apiTagNewStyle), + List(apiTagBranch), Some(List(canDeleteBranch,canDeleteBranchAtAnyBank)) ) @@ -2960,7 +2960,7 @@ trait APIMethods310 { InvalidJsonFormat, UnknownError ), - List(apiTagMeeting, apiTagCustomer, apiTagExperimental, apiTagNewStyle)) + List(apiTagMeeting, apiTagCustomer, apiTagExperimental)) lazy val createMeeting: OBPEndpoint = { case "banks" :: BankId(bankId) :: "meetings" :: Nil JsonPost json -> _ => { @@ -3036,7 +3036,7 @@ trait APIMethods310 { UserNotLoggedIn, BankNotFound, UnknownError), - List(apiTagMeeting, apiTagCustomer, apiTagExperimental, apiTagNewStyle)) + List(apiTagMeeting, apiTagCustomer, apiTagExperimental)) lazy val getMeetings: OBPEndpoint = { case "banks" :: BankId(bankId) :: "meetings" :: Nil JsonGet _ => { @@ -3076,7 +3076,7 @@ trait APIMethods310 { MeetingNotFound, UnknownError ), - List(apiTagMeeting, apiTagCustomer, apiTagExperimental, apiTagNewStyle)) + List(apiTagMeeting, apiTagCustomer, apiTagExperimental)) lazy val getMeeting: OBPEndpoint = { case "banks" :: BankId(bankId) :: "meetings" :: meetingId :: Nil JsonGet _ => { @@ -3108,7 +3108,7 @@ trait APIMethods310 { List( UnknownError ), - List(apiTagApi, apiTagPSD2AIS, apiTagPsd2, apiTagNewStyle)) + List(apiTagApi, apiTagPSD2AIS, apiTagPsd2)) lazy val getServerJWK: OBPEndpoint = { case "certs" :: Nil JsonGet _ => { @@ -3143,7 +3143,7 @@ trait APIMethods310 { EmptyBody, messageDocsJson, List(UnknownError), - List(apiTagDocumentation, apiTagApi, apiTagNewStyle) + List(apiTagDocumentation, apiTagApi) ) lazy val getMessageDocsSwagger: OBPEndpoint = { @@ -3298,7 +3298,7 @@ trait APIMethods310 { InvalidConnectorResponse, UnknownError ), - apiTagConsent :: apiTagPSD2AIS :: apiTagPsd2 :: apiTagNewStyle :: Nil) + apiTagConsent :: apiTagPSD2AIS :: apiTagPsd2 :: Nil) resourceDocs += ResourceDoc( createConsentSms, @@ -3378,7 +3378,7 @@ trait APIMethods310 { InvalidConnectorResponse, UnknownError ), - apiTagConsent :: apiTagPSD2AIS :: apiTagPsd2 ::apiTagNewStyle :: Nil) + apiTagConsent :: apiTagPSD2AIS :: apiTagPsd2 :: Nil) lazy val createConsentEmail = createConsent lazy val createConsentSms = createConsent @@ -3526,7 +3526,7 @@ trait APIMethods310 { InvalidConnectorResponse, UnknownError ), - apiTagConsent :: apiTagPSD2AIS :: apiTagPsd2 :: apiTagNewStyle :: Nil) + apiTagConsent :: apiTagPSD2AIS :: apiTagPsd2 :: Nil) lazy val answerConsentChallenge : OBPEndpoint = { case "banks" :: BankId(bankId) :: "consents" :: consentId :: "challenge" :: Nil JsonPost json -> _ => { @@ -3567,7 +3567,7 @@ trait APIMethods310 { BankNotFound, UnknownError ), - List(apiTagConsent, apiTagPSD2AIS, apiTagPsd2, apiTagNewStyle)) + List(apiTagConsent, apiTagPSD2AIS, apiTagPsd2)) lazy val getConsents: OBPEndpoint = { case "banks" :: BankId(bankId) :: "my" :: "consents" :: Nil JsonGet _ => { @@ -3612,7 +3612,7 @@ trait APIMethods310 { BankNotFound, UnknownError ), - List(apiTagConsent, apiTagPSD2AIS, apiTagPsd2, apiTagNewStyle)) + List(apiTagConsent, apiTagPSD2AIS, apiTagPsd2)) lazy val revokeConsent: OBPEndpoint = { case "banks" :: BankId(bankId) :: "my" :: "consents" :: consentId :: "revoke" :: Nil JsonGet _ => { @@ -3658,7 +3658,7 @@ trait APIMethods310 { CreateUserAuthContextError, UnknownError ), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), None ) @@ -3705,7 +3705,7 @@ trait APIMethods310 { InvalidConnectorResponse, UnknownError ), - apiTagUser :: apiTagNewStyle :: Nil) + apiTagUser :: Nil) lazy val answerUserAuthContextUpdateChallenge : OBPEndpoint = { case "banks" :: BankId(bankId) :: "users" :: "current" ::"auth-context-updates" :: authContextUpdateId :: "challenge" :: Nil JsonPost json -> _ => { @@ -3768,7 +3768,7 @@ trait APIMethods310 { BankNotFound, UnknownError ), - List(apiTagSystemView, apiTagNewStyle), + List(apiTagSystemView), Some(List(canGetSystemView)) ) @@ -3816,7 +3816,7 @@ trait APIMethods310 { InvalidJsonFormat, UnknownError ), - List(apiTagSystemView, apiTagNewStyle), + List(apiTagSystemView), Some(List(canCreateSystemView)) ) @@ -3861,7 +3861,7 @@ trait APIMethods310 { UnknownError, "user does not have owner access" ), - List(apiTagSystemView, apiTagNewStyle), + List(apiTagSystemView), Some(List(canDeleteSystemView)) ) @@ -3902,7 +3902,7 @@ trait APIMethods310 { BankAccountNotFound, UnknownError ), - List(apiTagSystemView, apiTagNewStyle), + List(apiTagSystemView), Some(List(canUpdateSystemView)) ) @@ -3945,7 +3945,7 @@ trait APIMethods310 { List( UnknownError ), - List(apiTagApi, apiTagNewStyle)) + List(apiTagApi)) lazy val getOAuth2ServerJWKsURIs: OBPEndpoint = { case "jwks-uris" :: Nil JsonGet _ => { @@ -3988,7 +3988,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagMethodRouting, apiTagApi, apiTagNewStyle), + List(apiTagMethodRouting, apiTagApi), Some(List(canGetMethodRoutings)) ) @@ -4093,7 +4093,7 @@ trait APIMethods310 { InvalidConnectorMethodName, UnknownError ), - List(apiTagMethodRouting, apiTagApi, apiTagNewStyle), + List(apiTagMethodRouting, apiTagApi), Some(List(canCreateMethodRouting))) lazy val createMethodRouting : OBPEndpoint = { @@ -4196,7 +4196,7 @@ trait APIMethods310 { InvalidConnectorMethodName, UnknownError ), - List(apiTagMethodRouting, apiTagApi, apiTagNewStyle), + List(apiTagMethodRouting, apiTagApi), Some(List(canUpdateMethodRouting))) lazy val updateMethodRouting : OBPEndpoint = { @@ -4271,7 +4271,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagMethodRouting, apiTagApi, apiTagNewStyle), + List(apiTagMethodRouting, apiTagApi), Some(List(canDeleteMethodRouting))) lazy val deleteMethodRouting : OBPEndpoint = { @@ -4310,7 +4310,7 @@ trait APIMethods310 { InvalidJsonFormat, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(canUpdateCustomerEmail :: Nil) ) @@ -4359,7 +4359,7 @@ trait APIMethods310 { InvalidJsonFormat, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(canUpdateCustomerNumber :: Nil) ) @@ -4414,7 +4414,7 @@ trait APIMethods310 { InvalidJsonFormat, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(canUpdateCustomerMobilePhoneNumber :: Nil) ) @@ -4463,7 +4463,7 @@ trait APIMethods310 { InvalidJsonFormat, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(canUpdateCustomerIdentity :: Nil) ) lazy val updateCustomerIdentity : OBPEndpoint = { @@ -4520,7 +4520,7 @@ trait APIMethods310 { InvalidJsonFormat, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(canUpdateCustomerCreditLimit :: Nil) ) @@ -4569,7 +4569,7 @@ trait APIMethods310 { InvalidJsonFormat, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(canUpdateCustomerCreditRatingAndSource :: canUpdateCustomerCreditRatingAndSourceAtAnyBank :: Nil) ) @@ -4612,7 +4612,7 @@ trait APIMethods310 { updateAccountRequestJsonV310, updateAccountResponseJsonV310, List(InvalidJsonFormat, UserNotLoggedIn, UnknownError, BankAccountNotFound), - List(apiTagAccount, apiTagNewStyle), + List(apiTagAccount), Some(List(canUpdateAccount)) ) @@ -4679,7 +4679,7 @@ trait APIMethods310 { AllowedValuesAre, UnknownError ), - List(apiTagCard, apiTagNewStyle), + List(apiTagCard), Some(List(canCreateCardsForBank))) lazy val addCardForBank: OBPEndpoint = { case "management" :: "banks" :: BankId(bankId) :: "cards" :: Nil JsonPost json -> _ => { @@ -4774,7 +4774,7 @@ trait APIMethods310 { AllowedValuesAre, UnknownError ), - List(apiTagCard, apiTagNewStyle), + List(apiTagCard), Some(List(canUpdateCardsForBank))) lazy val updatedCardForBank: OBPEndpoint = { case "management" :: "banks" :: BankId(bankId) :: "cards" :: cardId :: Nil JsonPut json -> _ => { @@ -4855,7 +4855,7 @@ trait APIMethods310 { EmptyBody, physicalCardsJsonV310, List(UserNotLoggedIn,BankNotFound, UnknownError), - List(apiTagCard, apiTagNewStyle)) + List(apiTagCard)) lazy val getCardsForBank : OBPEndpoint = { case "management" :: "banks" :: BankId(bankId) :: "cards" :: Nil JsonGet _ => { cc => { @@ -4889,7 +4889,7 @@ trait APIMethods310 { EmptyBody, physicalCardWithAttributesJsonV310, List(UserNotLoggedIn,BankNotFound, UnknownError), - List(apiTagCard, apiTagNewStyle), + List(apiTagCard), Some(List(canGetCardsForBank))) lazy val getCardForBank : OBPEndpoint = { case "management" :: "banks" :: BankId(bankId) :: "cards" :: cardId :: Nil JsonGet _ => { @@ -4928,7 +4928,7 @@ trait APIMethods310 { AllowedValuesAre, UnknownError ), - List(apiTagCard, apiTagNewStyle), + List(apiTagCard), Some(List(canCreateCardsForBank))) lazy val deleteCardForBank: OBPEndpoint = { case "management"::"banks" :: BankId(bankId) :: "cards" :: cardId :: Nil JsonDelete _ => { @@ -4979,7 +4979,7 @@ trait APIMethods310 { InvalidJsonFormat, UnknownError ), - List(apiTagCard, apiTagNewStyle)) + List(apiTagCard)) lazy val createCardAttribute : OBPEndpoint = { case "management"::"banks" :: bankId :: "cards" :: cardId :: "attribute" :: Nil JsonPost json -> _=> { @@ -5050,7 +5050,7 @@ trait APIMethods310 { InvalidJsonFormat, UnknownError ), - List(apiTagCard, apiTagNewStyle)) + List(apiTagCard)) lazy val updateCardAttribute : OBPEndpoint = { case "management"::"banks" :: bankId :: "cards" :: cardId :: "attributes" :: cardAttributeId :: Nil JsonPut json -> _=> { @@ -5109,7 +5109,7 @@ trait APIMethods310 { InvalidJsonFormat, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(canUpdateCustomerIdentity :: Nil) ) lazy val updateCustomerBranch : OBPEndpoint = { @@ -5165,7 +5165,7 @@ trait APIMethods310 { InvalidJsonFormat, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(canUpdateCustomerIdentity :: Nil) ) lazy val updateCustomerData : OBPEndpoint = { @@ -5238,7 +5238,7 @@ trait APIMethods310 { AccountIdAlreadyExists, UnknownError ), - List(apiTagAccount,apiTagOnboarding, apiTagNewStyle), + List(apiTagAccount,apiTagOnboarding), Some(List(canCreateAccount)) ) @@ -5355,7 +5355,7 @@ trait APIMethods310 { EmptyBody, moderatedAccountJSON310, List(BankNotFound,AccountNotFound,ViewNotFound, UserNoPermissionAccessView, UnknownError), - apiTagAccount :: apiTagNewStyle :: Nil) + apiTagAccount :: Nil) lazy val getPrivateAccountByIdFull : OBPEndpoint = { case "banks" :: BankId(bankId) :: "accounts" :: AccountId(accountId) :: ViewId(viewId) :: "account" :: Nil JsonGet req => { cc => @@ -5464,7 +5464,7 @@ trait APIMethods310 { InvalidTransactionRequestCurrency, UnknownError ), - List(apiTagTransactionRequest, apiTagNewStyle), + List(apiTagTransactionRequest), Some(List(canCreateHistoricalTransaction)) ) @@ -5604,7 +5604,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagWebUiProps, apiTagNewStyle), + List(apiTagWebUiProps), Some(List(canGetWebUiProps)) ) @@ -5696,7 +5696,7 @@ trait APIMethods310 { InvalidJsonFormat, UnknownError ), - List(apiTagWebUiProps, apiTagNewStyle), + List(apiTagWebUiProps), Some(List(canCreateWebUiProps))) lazy val createWebUiProps : OBPEndpoint = { @@ -5741,7 +5741,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagWebUiProps, apiTagNewStyle), + List(apiTagWebUiProps), Some(List(canDeleteWebUiProps))) lazy val deleteWebUiProps : OBPEndpoint = { @@ -5770,7 +5770,7 @@ trait APIMethods310 { EmptyBody, accountBalancesV310Json, List(UnknownError), - apiTagAccount :: apiTagPSD2AIS :: apiTagPsd2 :: apiTagNewStyle :: Nil + apiTagAccount :: apiTagPSD2AIS :: apiTagPsd2 :: Nil ) lazy val getBankAccountsBalances : OBPEndpoint = { @@ -5806,7 +5806,7 @@ trait APIMethods310 { UserHasMissingRoles, UnknownError ), - List(apiTagConsumer, apiTagNewStyle), + List(apiTagConsumer), Some(List(canEnableConsumers,canDisableConsumers))) diff --git a/obp-api/src/main/scala/code/api/v4_0_0/APIMethods400.scala b/obp-api/src/main/scala/code/api/v4_0_0/APIMethods400.scala index 2320a78c9..54fec1767 100644 --- a/obp-api/src/main/scala/code/api/v4_0_0/APIMethods400.scala +++ b/obp-api/src/main/scala/code/api/v4_0_0/APIMethods400.scala @@ -140,7 +140,7 @@ trait APIMethods400 { EmptyBody, adapterInfoJsonV300, List($UserNotLoggedIn, UnknownError), - List(apiTagApi, apiTagNewStyle), + List(apiTagApi), Some(List(canGetDatabaseInfo))) @@ -167,7 +167,7 @@ trait APIMethods400 { EmptyBody, logoutLinkV400, List($UserNotLoggedIn, UnknownError), - List(apiTagUser, apiTagNewStyle)) + List(apiTagUser)) lazy val getLogoutLink: OBPEndpoint = { case "users" :: "current" :: "logout-link" :: Nil JsonGet _ => { @@ -210,7 +210,7 @@ trait APIMethods400 { UpdateConsumerError, UnknownError ), - List(apiTagConsumer, apiTagNewStyle), + List(apiTagConsumer), Some(List(canSetCallLimits))) lazy val callsLimit : OBPEndpoint = { @@ -262,7 +262,7 @@ trait APIMethods400 { EmptyBody, banksJSON400, List(UnknownError), - apiTagBank :: apiTagPSD2AIS :: apiTagPsd2 :: apiTagNewStyle :: Nil + apiTagBank :: apiTagPSD2AIS :: apiTagPsd2 :: Nil ) lazy val getBanks: OBPEndpoint = { @@ -294,7 +294,7 @@ trait APIMethods400 { EmptyBody, bankJson400, List(UnknownError, BankNotFound), - apiTagBank :: apiTagPSD2AIS :: apiTagPsd2 :: apiTagNewStyle :: Nil + apiTagBank :: apiTagPSD2AIS :: apiTagPsd2 :: Nil ) lazy val getBank : OBPEndpoint = { @@ -322,7 +322,7 @@ trait APIMethods400 { ibanCheckerPostJsonV400, ibanCheckerJsonV400, List(UnknownError), - apiTagAccount :: apiTagNewStyle :: Nil + apiTagAccount :: Nil ) lazy val ibanChecker: OBPEndpoint = { @@ -369,7 +369,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagTransaction, apiTagNewStyle), + List(apiTagTransaction), Some(List(canGetDoubleEntryTransactionAtAnyBank, canGetDoubleEntryTransactionAtOneBank)) ) @@ -405,7 +405,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagTransaction, apiTagNewStyle), + List(apiTagTransaction), Some(List()) ) @@ -462,7 +462,7 @@ trait APIMethods400 { InvalidISOCurrencyCode, UnknownError ), - List(apiTagBank, apiTagNewStyle), + List(apiTagBank), Some(List(canCreateSettlementAccountAtOneBank)) ) @@ -563,7 +563,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagBank, apiTagPsd2, apiTagNewStyle), + List(apiTagBank, apiTagPsd2), Some(List(canGetSettlementAccountAtOneBank)) ) @@ -685,7 +685,7 @@ trait APIMethods400 { TransactionDisabled, UnknownError ), - List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagPsd2, apiTagNewStyle)) + List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagPsd2)) // ACCOUNT_OTP. (we no longer create a resource doc for the general case) staticResourceDocs += ResourceDoc( @@ -721,7 +721,7 @@ trait APIMethods400 { TransactionDisabled, UnknownError ), - List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagPsd2, apiTagNewStyle)) + List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagPsd2)) // COUNTERPARTY staticResourceDocs += ResourceDoc( @@ -759,7 +759,7 @@ trait APIMethods400 { TransactionDisabled, UnknownError ), - List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagPsd2, apiTagNewStyle)) + List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagPsd2)) // SIMPLE staticResourceDocs += ResourceDoc( @@ -796,7 +796,7 @@ trait APIMethods400 { TransactionDisabled, UnknownError ), - List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagPsd2, apiTagNewStyle)) + List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagPsd2)) val lowAmount = AmountOfMoneyJsonV121("EUR", "12.50") @@ -838,7 +838,7 @@ trait APIMethods400 { TransactionDisabled, UnknownError ), - List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagPsd2, apiTagNewStyle)) + List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagPsd2)) staticResourceDocs += ResourceDoc( createTransactionRequestRefund, @@ -882,7 +882,7 @@ trait APIMethods400 { TransactionDisabled, UnknownError ), - List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagPsd2, apiTagNewStyle)) + List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagPsd2)) // FREE_FORM. staticResourceDocs += ResourceDoc( @@ -914,7 +914,7 @@ trait APIMethods400 { TransactionDisabled, UnknownError ), - List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagNewStyle), + List(apiTagTransactionRequest, apiTagPSD2PIS), Some(List(canCreateAnyTransactionRequest))) @@ -1454,7 +1454,7 @@ trait APIMethods400 { TransactionDisabled, UnknownError ), - List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagPsd2, apiTagNewStyle) + List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagPsd2) ) lazy val createTransactionRequestCard: OBPEndpoint = { @@ -1529,7 +1529,7 @@ trait APIMethods400 { TransactionDisabled, UnknownError ), - List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagPsd2, apiTagNewStyle)) + List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagPsd2)) lazy val answerTransactionRequestChallenge: OBPEndpoint = { case "banks" :: BankId(bankId) :: "accounts" :: AccountId(accountId) :: ViewId(viewId) :: "transaction-request-types" :: @@ -1677,7 +1677,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagTransactionRequest, apiTagNewStyle), + List(apiTagTransactionRequest), Some(List(canCreateTransactionRequestAttributeAtOneBank)) ) @@ -1732,7 +1732,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagTransactionRequest, apiTagNewStyle), + List(apiTagTransactionRequest), Some(List(canGetTransactionRequestAttributeAtOneBank)) ) @@ -1773,7 +1773,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagTransactionRequest, apiTagNewStyle), + List(apiTagTransactionRequest), Some(List(canGetTransactionRequestAttributesAtOneBank)) ) @@ -1815,7 +1815,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagTransactionRequest, apiTagNewStyle), + List(apiTagTransactionRequest), Some(List(canUpdateTransactionRequestAttributeAtOneBank)) ) @@ -1874,7 +1874,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagTransactionRequest, apiTagNewStyle), + List(apiTagTransactionRequest), Some(List(canCreateTransactionRequestAttributeDefinitionAtOneBank))) lazy val createOrUpdateTransactionRequestAttributeDefinition : OBPEndpoint = { @@ -1932,7 +1932,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagTransactionRequest, apiTagNewStyle), + List(apiTagTransactionRequest), Some(List(canGetTransactionRequestAttributeDefinitionAtOneBank))) lazy val getTransactionRequestAttributeDefinition : OBPEndpoint = { @@ -1969,7 +1969,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagTransactionRequest, apiTagNewStyle), + List(apiTagTransactionRequest), Some(List(canDeleteTransactionRequestAttributeDefinitionAtOneBank))) lazy val deleteTransactionRequestAttributeDefinition : OBPEndpoint = { @@ -2006,7 +2006,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagManageDynamicEntity, apiTagApi, apiTagNewStyle), + List(apiTagManageDynamicEntity, apiTagApi), Some(List(canGetSystemLevelDynamicEntities)) ) @@ -2042,7 +2042,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagManageDynamicEntity, apiTagApi, apiTagNewStyle), + List(apiTagManageDynamicEntity, apiTagApi), Some(List(canGetBankLevelDynamicEntities)) ) @@ -2111,7 +2111,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagManageDynamicEntity, apiTagApi, apiTagNewStyle), + List(apiTagManageDynamicEntity, apiTagApi), Some(List(canCreateSystemLevelDynamicEntity))) lazy val createSystemDynamicEntity: OBPEndpoint = { @@ -2156,7 +2156,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagManageDynamicEntity, apiTagApi, apiTagNewStyle), + List(apiTagManageDynamicEntity, apiTagApi), Some(List(canCreateBankLevelDynamicEntity))) lazy val createBankLevelDynamicEntity: OBPEndpoint = { case "management" ::"banks" :: BankId(bankId) :: "dynamic-entities" :: Nil JsonPost json -> _ => { @@ -2221,7 +2221,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagManageDynamicEntity, apiTagApi, apiTagNewStyle), + List(apiTagManageDynamicEntity, apiTagApi), Some(List(canUpdateSystemDynamicEntity))) lazy val updateSystemDynamicEntity: OBPEndpoint = { case "management" :: "system-dynamic-entities" :: dynamicEntityId :: Nil JsonPut json -> _ => { @@ -2264,7 +2264,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagManageDynamicEntity, apiTagApi, apiTagNewStyle), + List(apiTagManageDynamicEntity, apiTagApi), Some(List(canUpdateBankLevelDynamicEntity))) lazy val updateBankLevelDynamicEntity: OBPEndpoint = { case "management" :: "banks" :: bankId :: "dynamic-entities" :: dynamicEntityId :: Nil JsonPut json -> _ => { @@ -2290,7 +2290,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagManageDynamicEntity, apiTagApi, apiTagNewStyle), + List(apiTagManageDynamicEntity, apiTagApi), Some(List(canDeleteSystemLevelDynamicEntity))) lazy val deleteSystemDynamicEntity: OBPEndpoint = { case "management" :: "system-dynamic-entities" :: dynamicEntityId :: Nil JsonDelete _ => { @@ -2332,7 +2332,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagManageDynamicEntity, apiTagApi, apiTagNewStyle), + List(apiTagManageDynamicEntity, apiTagApi), Some(List(canDeleteBankLevelDynamicEntity))) lazy val deleteBankLevelDynamicEntity: OBPEndpoint = { case "management" :: "banks" :: bankId :: "dynamic-entities" :: dynamicEntityId :: Nil JsonDelete _ => { @@ -2358,7 +2358,7 @@ trait APIMethods400 { $UserNotLoggedIn, UnknownError ), - List(apiTagManageDynamicEntity, apiTagApi, apiTagNewStyle) + List(apiTagManageDynamicEntity, apiTagApi) ) lazy val getMyDynamicEntities: OBPEndpoint = { @@ -2407,7 +2407,7 @@ trait APIMethods400 { DynamicEntityNotFoundByDynamicEntityId, UnknownError ), - List(apiTagManageDynamicEntity, apiTagApi, apiTagNewStyle) + List(apiTagManageDynamicEntity, apiTagApi) ) lazy val updateMyDynamicEntity: OBPEndpoint = { @@ -2451,7 +2451,7 @@ trait APIMethods400 { $UserNotLoggedIn, UnknownError ), - List(apiTagManageDynamicEntity, apiTagApi, apiTagNewStyle) + List(apiTagManageDynamicEntity, apiTagApi) ) lazy val deleteMyDynamicEntity: OBPEndpoint = { @@ -2507,7 +2507,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canCreateResetPasswordUrl))) lazy val resetPasswordUrl : OBPEndpoint = { @@ -2559,7 +2559,7 @@ trait APIMethods400 { InvalidAccountBalanceCurrency, UnknownError ), - List(apiTagAccount, apiTagNewStyle), + List(apiTagAccount), Some(List(canCreateAccount)) ).disableAutoValidateRoles() // this means disabled auto roles validation, will manually do the roles validation . @@ -2687,7 +2687,7 @@ trait APIMethods400 { EmptyBody, apiInfoJson400, List(UnknownError, "no connector set"), - apiTagApi :: apiTagNewStyle :: Nil) + apiTagApi :: Nil) def root (apiVersion : ApiVersion, apiVersionStatus: String): OBPEndpoint = { case (Nil | "root" :: Nil) JsonGet _ => { @@ -2711,7 +2711,7 @@ trait APIMethods400 { EmptyBody, EmptyBody, List($UserNotLoggedIn, UnknownError), - List(apiTagApi, apiTagNewStyle), + List(apiTagApi), Some(List(canGetCallContext))) lazy val getCallContext: OBPEndpoint = { @@ -2735,7 +2735,7 @@ trait APIMethods400 { EmptyBody, EmptyBody, List($UserNotLoggedIn, UnknownError), - List(apiTagApi, apiTagNewStyle), + List(apiTagApi), Some(Nil)) lazy val verifyRequestSignResponse: OBPEndpoint = { @@ -2763,7 +2763,7 @@ trait APIMethods400 { updateAccountJsonV400, successMessage, List(InvalidJsonFormat, $UserNotLoggedIn, $BankNotFound, UnknownError, $BankAccountNotFound, "user does not have access to owner view on account"), - List(apiTagAccount, apiTagNewStyle) + List(apiTagAccount) ) lazy val updateAccountLabel : OBPEndpoint = { @@ -2799,7 +2799,7 @@ trait APIMethods400 { EmptyBody, userLockStatusJson, List($UserNotLoggedIn, UserNotFoundByProviderAndUsername, UserHasMissingRoles, UnknownError), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canLockUser))) lazy val lockUser : OBPEndpoint = { @@ -2862,7 +2862,7 @@ trait APIMethods400 { InvalidUserProvider, UnknownError ), - List(apiTagRole, apiTagEntitlement, apiTagUser, apiTagNewStyle, apiTagDAuth)) + List(apiTagRole, apiTagEntitlement, apiTagUser, apiTagDAuth)) lazy val createUserWithRoles: OBPEndpoint = { case "user-entitlements" :: Nil JsonPost json -> _ => { @@ -2923,7 +2923,7 @@ trait APIMethods400 { EmptyBody, entitlementsJsonV400, List($UserNotLoggedIn, UserHasMissingRoles, UnknownError), - List(apiTagRole, apiTagEntitlement, apiTagUser, apiTagNewStyle), + List(apiTagRole, apiTagEntitlement, apiTagUser), Some(List(canGetEntitlementsForAnyUserAtAnyBank))) @@ -2960,7 +2960,7 @@ trait APIMethods400 { EmptyBody, entitlementsJsonV400, List($UserNotLoggedIn, UserHasMissingRoles, UnknownError), - List(apiTagRole, apiTagEntitlement, apiTagUser, apiTagNewStyle), + List(apiTagRole, apiTagEntitlement, apiTagUser), Some(List(canGetEntitlementsForOneBank,canGetEntitlementsForAnyBank))) val allowedEntitlements = canGetEntitlementsForOneBank:: canGetEntitlementsForAnyBank :: Nil @@ -3001,7 +3001,7 @@ trait APIMethods400 { NoViewPermission, $UserNoPermissionAccessView, UnknownError), - List(apiTagAccountMetadata, apiTagAccount, apiTagNewStyle)) + List(apiTagAccountMetadata, apiTagAccount)) lazy val addTagForViewOnAccount : OBPEndpoint = { //add a tag @@ -3045,7 +3045,7 @@ trait APIMethods400 { $BankAccountNotFound, $UserNoPermissionAccessView, UnknownError), - List(apiTagAccountMetadata, apiTagAccount, apiTagNewStyle)) + List(apiTagAccountMetadata, apiTagAccount)) lazy val deleteTagForViewOnAccount : OBPEndpoint = { //delete a tag @@ -3087,7 +3087,7 @@ trait APIMethods400 { $UserNoPermissionAccessView, UnknownError ), - List(apiTagAccountMetadata, apiTagAccount, apiTagNewStyle)) + List(apiTagAccountMetadata, apiTagAccount)) lazy val getTagsForViewOnAccount : OBPEndpoint = { //get tags @@ -3134,7 +3134,7 @@ trait APIMethods400 { EmptyBody, moderatedCoreAccountJsonV400, List($UserNotLoggedIn, $BankAccountNotFound,UnknownError), - apiTagAccount :: apiTagPSD2AIS :: apiTagPsd2 :: apiTagNewStyle :: Nil + apiTagAccount :: apiTagPSD2AIS :: apiTagPsd2 :: Nil ) lazy val getCoreAccountById : OBPEndpoint = { //get account by id (assume owner view requested) @@ -3183,7 +3183,7 @@ trait APIMethods400 { $BankAccountNotFound, $UserNoPermissionAccessView, UnknownError), - apiTagAccount :: apiTagNewStyle :: Nil + apiTagAccount :: Nil ) lazy val getPrivateAccountByIdFull : OBPEndpoint = { case "banks" :: BankId(bankId) :: "accounts" :: AccountId(accountId) :: ViewId(viewId) :: "account" :: Nil JsonGet req => { @@ -3228,7 +3228,7 @@ trait APIMethods400 { $BankAccountNotFound, $UserNoPermissionAccessView, UnknownError), - List(apiTagAccount, apiTagNewStyle), + List(apiTagAccount), ) lazy val getAccountByAccountRouting : OBPEndpoint = { case "management" :: "accounts" :: "account-routing-query" :: Nil JsonPost json -> _ => { @@ -3300,7 +3300,7 @@ trait APIMethods400 { $BankAccountNotFound, $UserNoPermissionAccessView, UnknownError), - List(apiTagAccount, apiTagNewStyle), + List(apiTagAccount), ) lazy val getAccountsByAccountRoutingRegex : OBPEndpoint = { case "management" :: "accounts" :: "account-routing-regex-query" :: Nil JsonPost json -> _ => { @@ -3350,7 +3350,7 @@ trait APIMethods400 { EmptyBody, accountBalancesV400Json, List($UserNotLoggedIn, $BankNotFound, UnknownError), - apiTagAccount :: apiTagPSD2AIS :: apiTagPsd2 :: apiTagNewStyle :: Nil + apiTagAccount :: apiTagPSD2AIS :: apiTagPsd2 :: Nil ) lazy val getBankAccountsBalances : OBPEndpoint = { @@ -3377,7 +3377,7 @@ trait APIMethods400 { EmptyBody, accountBalanceV400, List($UserNotLoggedIn, $BankNotFound, CannotFindAccountAccess, UnknownError), - apiTagAccount :: apiTagPSD2AIS :: apiTagPsd2 :: apiTagNewStyle :: Nil + apiTagAccount :: apiTagPSD2AIS :: apiTagPsd2 :: Nil ) lazy val getBankAccountBalances : OBPEndpoint = { @@ -3428,7 +3428,7 @@ trait APIMethods400 { EmptyBody, moderatedFirehoseAccountsJsonV400, List($BankNotFound), - List(apiTagAccount, apiTagAccountFirehose, apiTagFirehoseData, apiTagNewStyle), + List(apiTagAccount, apiTagAccountFirehose, apiTagFirehoseData), Some(List(canUseAccountFirehoseAtAnyBank, ApiRole.canUseAccountFirehose)) ) @@ -3510,7 +3510,7 @@ trait APIMethods400 { EmptyBody, fastFirehoseAccountsJsonV400, List($BankNotFound), - List(apiTagAccount, apiTagAccountFirehose, apiTagFirehoseData, apiTagNewStyle), + List(apiTagAccount, apiTagAccountFirehose, apiTagFirehoseData), Some(List(canUseAccountFirehoseAtAnyBank, ApiRole.canUseAccountFirehose)) ) @@ -3556,7 +3556,7 @@ trait APIMethods400 { UserCustomerLinksNotFoundForUser, UnknownError ), - List(apiTagCustomer, apiTagKyc ,apiTagNewStyle)) + List(apiTagCustomer, apiTagKyc)) lazy val getCustomersByCustomerPhoneNumber : OBPEndpoint = { case "banks" :: BankId(bankId) :: "search" :: "customers" :: "mobile-phone-number" :: Nil JsonPost json -> _ => { @@ -3587,7 +3587,7 @@ trait APIMethods400 { EmptyBody, userIdJsonV400, List(UserNotLoggedIn, UnknownError), - List(apiTagUser, apiTagNewStyle)) + List(apiTagUser)) lazy val getCurrentUserId: OBPEndpoint = { case "users" :: "current" :: "user_id" :: Nil JsonGet _ => { @@ -3617,7 +3617,7 @@ trait APIMethods400 { EmptyBody, userJsonV400, List(UserNotLoggedIn, UserHasMissingRoles, UserNotFoundById, UnknownError), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canGetAnyUser))) @@ -3657,7 +3657,7 @@ trait APIMethods400 { EmptyBody, userJsonV400, List($UserNotLoggedIn, UserHasMissingRoles, UserNotFoundByProviderAndUsername, UnknownError), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canGetAnyUser))) @@ -3693,7 +3693,7 @@ trait APIMethods400 { EmptyBody, usersJsonV400, List($UserNotLoggedIn, UserHasMissingRoles, UserNotFoundByEmail, UnknownError), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canGetAnyUser))) @@ -3732,7 +3732,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canGetAnyUser))) lazy val getUsers: OBPEndpoint = { @@ -3784,7 +3784,7 @@ trait APIMethods400 { UserCustomerLinksNotFoundForUser, UnknownError ), - List(apiTagUserInvitation, apiTagKyc ,apiTagNewStyle), + List(apiTagUserInvitation, apiTagKyc), Some(canCreateUserInvitation :: Nil) ) @@ -3854,7 +3854,7 @@ trait APIMethods400 { UserCustomerLinksNotFoundForUser, UnknownError ), - List(apiTagUserInvitation, apiTagKyc ,apiTagNewStyle) + List(apiTagUserInvitation, apiTagKyc) ) lazy val getUserInvitationAnonymous : OBPEndpoint = { @@ -3901,7 +3901,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagUserInvitation, apiTagNewStyle), + List(apiTagUserInvitation), Some(List(canGetUserInvitation)) ) @@ -3936,7 +3936,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagUserInvitation, apiTagNewStyle), + List(apiTagUserInvitation), Some(List(canGetUserInvitation)) ) @@ -3972,7 +3972,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canDeleteUser))) lazy val deleteUser : OBPEndpoint = { @@ -4016,7 +4016,7 @@ trait APIMethods400 { InsufficientAuthorisationToCreateBank, UnknownError ), - List(apiTagBank, apiTagNewStyle), + List(apiTagBank), Some(List(canCreateBank)) ) @@ -4104,7 +4104,7 @@ trait APIMethods400 { CounterpartyNotFoundByCounterpartyId, UnknownError ), - List(apiTagDirectDebit, apiTagAccount, apiTagNewStyle)) + List(apiTagDirectDebit, apiTagAccount)) lazy val createDirectDebit : OBPEndpoint = { case "banks" :: BankId(bankId) :: "accounts" :: AccountId(accountId) :: ViewId(viewId) :: "direct-debit" :: Nil JsonPost json -> _ => { @@ -4162,7 +4162,7 @@ trait APIMethods400 { CounterpartyNotFoundByCounterpartyId, UnknownError ), - List(apiTagDirectDebit, apiTagAccount, apiTagNewStyle), + List(apiTagDirectDebit, apiTagAccount), Some(List(canCreateDirectDebitAtOneBank)) ) @@ -4223,7 +4223,7 @@ trait APIMethods400 { $UserNoPermissionAccessView, UnknownError ), - List(apiTagStandingOrder, apiTagAccount, apiTagNewStyle)) + List(apiTagStandingOrder, apiTagAccount)) lazy val createStandingOrder : OBPEndpoint = { case "banks" :: BankId(bankId) :: "accounts" :: AccountId(accountId) :: ViewId(viewId) :: "standing-order" :: Nil JsonPost json -> _ => { @@ -4296,7 +4296,7 @@ trait APIMethods400 { UserNotFoundByUserId, UnknownError ), - List(apiTagStandingOrder, apiTagAccount, apiTagNewStyle), + List(apiTagStandingOrder, apiTagAccount), Some(List(canCreateStandingOrderAtOneBank)) ) @@ -4365,7 +4365,7 @@ trait APIMethods400 { CannotGrantAccountAccess, UnknownError ), - List(apiTagAccountAccess, apiTagView, apiTagAccount, apiTagUser, apiTagOwnerRequired, apiTagNewStyle)) + List(apiTagAccountAccess, apiTagView, apiTagAccount, apiTagUser, apiTagOwnerRequired)) lazy val grantUserAccessToView : OBPEndpoint = { //add access for specific user to a specific system view @@ -4421,7 +4421,7 @@ trait APIMethods400 { CannotGrantAccountAccess, UnknownError ), - List(apiTagAccountAccess, apiTagView, apiTagAccount, apiTagUser, apiTagOwnerRequired, apiTagDAuth, apiTagNewStyle)) + List(apiTagAccountAccess, apiTagView, apiTagAccount, apiTagUser, apiTagOwnerRequired, apiTagDAuth)) lazy val createUserWithAccountAccess : OBPEndpoint = { case "banks" :: BankId(bankId) :: "accounts" :: AccountId(accountId) :: "user-account-access" :: Nil JsonPost json -> _ => { @@ -4472,7 +4472,7 @@ trait APIMethods400 { CannotFindAccountAccess, UnknownError ), - List(apiTagAccountAccess, apiTagView, apiTagAccount, apiTagUser, apiTagOwnerRequired, apiTagNewStyle)) + List(apiTagAccountAccess, apiTagView, apiTagAccount, apiTagUser, apiTagOwnerRequired)) lazy val revokeUserAccessToView : OBPEndpoint = { //add access for specific user to a specific system view @@ -4573,7 +4573,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canCreateCustomerAttributeAtOneBank, canCreateCustomerAttributeAtAnyBank))) lazy val createCustomerAttribute : OBPEndpoint = { @@ -4627,7 +4627,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canUpdateCustomerAttributeAtOneBank, canUpdateCustomerAttributeAtAnyBank)) ) @@ -4685,7 +4685,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canGetCustomerAttributesAtOneBank, canGetCustomerAttributesAtAnyBank)) ) @@ -4726,7 +4726,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canGetCustomerAttributeAtOneBank, canGetCustomerAttributeAtAnyBank)) ) @@ -4771,7 +4771,7 @@ trait APIMethods400 { UserCustomerLinksNotFoundForUser, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canGetCustomer)) ) @@ -4823,7 +4823,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagTransaction, apiTagNewStyle), + List(apiTagTransaction), Some(List(canCreateTransactionAttributeAtOneBank))) lazy val createTransactionAttribute : OBPEndpoint = { @@ -4877,7 +4877,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagTransaction, apiTagNewStyle), + List(apiTagTransaction), Some(List(canUpdateTransactionAttributeAtOneBank)) ) @@ -4932,7 +4932,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagTransaction, apiTagNewStyle), + List(apiTagTransaction), Some(List(canGetTransactionAttributesAtOneBank)) ) @@ -4973,7 +4973,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagTransaction, apiTagNewStyle), + List(apiTagTransaction), Some(List(canGetTransactionAttributeAtOneBank)) ) @@ -5033,7 +5033,7 @@ trait APIMethods400 { InvalidTransactionRequestCurrency, UnknownError ), - List(apiTagTransactionRequest, apiTagNewStyle), + List(apiTagTransactionRequest), Some(List(canCreateHistoricalTransactionAtBank)) ) @@ -5139,7 +5139,7 @@ trait APIMethods400 { GetTransactionRequestsException, UnknownError ), - List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagPsd2, apiTagNewStyle)) + List(apiTagTransactionRequest, apiTagPSD2PIS, apiTagPsd2)) lazy val getTransactionRequest: OBPEndpoint = { case "banks" :: BankId(bankId) :: "accounts" :: AccountId(accountId) :: ViewId(viewId) :: "transaction-requests" :: TransactionRequestId(requestId) :: Nil JsonGet _ => { @@ -5180,7 +5180,7 @@ trait APIMethods400 { EmptyBody, basicAccountsJSON, List($UserNotLoggedIn, $BankNotFound, UnknownError), - List(apiTagAccount, apiTagPrivateData, apiTagPublicData, apiTagNewStyle) + List(apiTagAccount, apiTagPrivateData, apiTagPublicData) ) lazy val getPrivateAccountsAtOneBank: OBPEndpoint = { @@ -5240,7 +5240,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagConsumer, apiTagNewStyle), + List(apiTagConsumer), Some(List(canCreateConsumer))) @@ -5297,7 +5297,7 @@ trait APIMethods400 { UserCustomerLinksNotFoundForUser, UnknownError ), - List(apiTagCustomer, apiTagUser, apiTagNewStyle), + List(apiTagCustomer, apiTagUser), Some(List(canGetCustomersAtAnyBank)) ) lazy val getCustomersAtAnyBank : OBPEndpoint = { @@ -5333,7 +5333,7 @@ trait APIMethods400 { UserCustomerLinksNotFoundForUser, UnknownError ), - List(apiTagCustomer, apiTagUser, apiTagNewStyle), + List(apiTagCustomer, apiTagUser), Some(List(canGetCustomersMinimalAtAnyBank)) ) lazy val getCustomersMinimalAtAnyBank : OBPEndpoint = { @@ -5366,7 +5366,7 @@ trait APIMethods400 { EmptyBody, scopeJsons, List(UserNotLoggedIn, EntitlementNotFound, ConsumerNotFoundByConsumerId, UnknownError), - List(apiTagScope, apiTagConsumer, apiTagNewStyle)) + List(apiTagScope, apiTagConsumer)) lazy val getScopes: OBPEndpoint = { case "consumers" :: uuidOfConsumer :: "scopes" :: Nil JsonGet _ => { @@ -5413,7 +5413,7 @@ trait APIMethods400 { EntitlementAlreadyExists, UnknownError ), - List(apiTagScope, apiTagConsumer, apiTagNewStyle), + List(apiTagScope, apiTagConsumer), Some(List(canCreateScopeAtAnyBank, canCreateScopeAtOneBank))) lazy val addScope : OBPEndpoint = { @@ -5480,7 +5480,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canDeleteCustomerAttributeAtOneBank, canDeleteCustomerAttributeAtAnyBank))) lazy val deleteCustomerAttribute : OBPEndpoint = { @@ -5521,7 +5521,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagManageDynamicEndpoint, apiTagApi, apiTagNewStyle), + List(apiTagManageDynamicEndpoint, apiTagApi), Some(List(canCreateDynamicEndpoint))) lazy val createDynamicEndpoint: OBPEndpoint = { @@ -5559,7 +5559,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagManageDynamicEndpoint, apiTagApi, apiTagNewStyle), + List(apiTagManageDynamicEndpoint, apiTagApi), Some(List(canCreateBankLevelDynamicEndpoint, canCreateDynamicEndpoint))) lazy val createBankLevelDynamicEndpoint: OBPEndpoint = { @@ -5588,7 +5588,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagManageDynamicEndpoint, apiTagApi, apiTagNewStyle), + List(apiTagManageDynamicEndpoint, apiTagApi), Some(List(canUpdateDynamicEndpoint))) lazy val updateDynamicEndpointHost: OBPEndpoint = { @@ -5631,7 +5631,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagManageDynamicEndpoint, apiTagApi, apiTagNewStyle), + List(apiTagManageDynamicEndpoint, apiTagApi), Some(List(canUpdateBankLevelDynamicEndpoint, canUpdateDynamicEndpoint))) lazy val updateBankLevelDynamicEndpointHost: OBPEndpoint = { @@ -5663,7 +5663,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagManageDynamicEndpoint, apiTagApi, apiTagNewStyle), + List(apiTagManageDynamicEndpoint, apiTagApi), Some(List(canGetDynamicEndpoint))) lazy val getDynamicEndpoint: OBPEndpoint = { @@ -5696,7 +5696,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagManageDynamicEndpoint, apiTagApi, apiTagNewStyle), + List(apiTagManageDynamicEndpoint, apiTagApi), Some(List(canGetDynamicEndpoints))) lazy val getDynamicEndpoints: OBPEndpoint = { @@ -5737,7 +5737,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagManageDynamicEndpoint, apiTagApi, apiTagNewStyle), + List(apiTagManageDynamicEndpoint, apiTagApi), Some(List(canGetBankLevelDynamicEndpoint, canGetDynamicEndpoint))) lazy val getBankLevelDynamicEndpoint: OBPEndpoint = { @@ -5781,7 +5781,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagManageDynamicEndpoint, apiTagApi, apiTagNewStyle), + List(apiTagManageDynamicEndpoint, apiTagApi), Some(List(canGetBankLevelDynamicEndpoints, canGetDynamicEndpoints))) lazy val getBankLevelDynamicEndpoints: OBPEndpoint = { @@ -5814,7 +5814,7 @@ trait APIMethods400 { DynamicEndpointNotFoundByDynamicEndpointId, UnknownError ), - List(apiTagManageDynamicEndpoint, apiTagApi, apiTagNewStyle), + List(apiTagManageDynamicEndpoint, apiTagApi), Some(List(canDeleteDynamicEndpoint))) lazy val deleteDynamicEndpoint : OBPEndpoint = { @@ -5840,7 +5840,7 @@ trait APIMethods400 { DynamicEndpointNotFoundByDynamicEndpointId, UnknownError ), - List(apiTagManageDynamicEndpoint, apiTagApi, apiTagNewStyle), + List(apiTagManageDynamicEndpoint, apiTagApi), Some(List(canDeleteBankLevelDynamicEndpoint ,canDeleteDynamicEndpoint))) lazy val deleteBankLevelDynamicEndpoint : OBPEndpoint = { @@ -5868,7 +5868,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagManageDynamicEndpoint, apiTagApi, apiTagNewStyle) + List(apiTagManageDynamicEndpoint, apiTagApi) ) lazy val getMyDynamicEndpoints: OBPEndpoint = { @@ -5901,7 +5901,7 @@ trait APIMethods400 { DynamicEndpointNotFoundByDynamicEndpointId, UnknownError ), - List(apiTagManageDynamicEndpoint, apiTagApi, apiTagNewStyle), + List(apiTagManageDynamicEndpoint, apiTagApi), ) lazy val deleteMyDynamicEndpoint : OBPEndpoint = { @@ -5944,7 +5944,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canCreateCustomerAttributeDefinitionAtOneBank))) lazy val createOrUpdateCustomerAttributeAttributeDefinition : OBPEndpoint = { @@ -6008,7 +6008,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagAccount, apiTagNewStyle), + List(apiTagAccount), Some(List(canCreateAccountAttributeDefinitionAtOneBank))) lazy val createOrUpdateAccountAttributeDefinition : OBPEndpoint = { @@ -6071,7 +6071,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagProduct, apiTagNewStyle), + List(apiTagProduct), Some(List(canCreateProductAttributeDefinitionAtOneBank))) lazy val createOrUpdateProductAttributeDefinition : OBPEndpoint = { @@ -6157,7 +6157,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagProduct, apiTagNewStyle), + List(apiTagProduct), Some(List(canCreateProductAttribute)) ) @@ -6219,7 +6219,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagProduct, apiTagNewStyle), + List(apiTagProduct), Some(List(canUpdateProductAttribute)) ) @@ -6278,7 +6278,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagProduct, apiTagNewStyle), + List(apiTagProduct), Some(List(canUpdateProductAttribute)) ) @@ -6317,7 +6317,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagProduct, apiTagNewStyle), + List(apiTagProduct), Some(List(canCreateProductFee)) ) @@ -6370,7 +6370,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagProduct, apiTagNewStyle), + List(apiTagProduct), Some(List(canUpdateProductFee))) lazy val updateProductFee : OBPEndpoint = { @@ -6421,7 +6421,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagProduct, apiTagNewStyle) + List(apiTagProduct) ) lazy val getProductFee : OBPEndpoint = { @@ -6457,7 +6457,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagProduct, apiTagNewStyle) + List(apiTagProduct) ) lazy val getProductFees : OBPEndpoint = { @@ -6496,7 +6496,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagProduct, apiTagNewStyle), + List(apiTagProduct), Some(List(canDeleteProductFee))) lazy val deleteProductFee : OBPEndpoint = { @@ -6535,7 +6535,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagBank, apiTagNewStyle), + List(apiTagBank), Some(List(canCreateBankAttributeDefinitionAtOneBank))) lazy val createOrUpdateBankAttributeDefinition : OBPEndpoint = { @@ -6609,7 +6609,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagBank, apiTagNewStyle), + List(apiTagBank), Some(List(canCreateBankAttribute)) ) @@ -6663,7 +6663,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagBank, apiTagNewStyle), + List(apiTagBank), Some(List(canGetBankAttribute)) ) @@ -6698,7 +6698,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagBank, apiTagNewStyle), + List(apiTagBank), Some(List(canGetBankAttribute)) ) @@ -6734,7 +6734,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagBank, apiTagNewStyle)) + List(apiTagBank)) lazy val updateBankAttribute : OBPEndpoint = { case "banks" :: bankId :: "attributes" :: bankAttributeId :: Nil JsonPut json -> _ =>{ @@ -6790,7 +6790,7 @@ trait APIMethods400 { BankNotFound, UnknownError ), - List(apiTagBank, apiTagNewStyle)) + List(apiTagBank)) lazy val deleteBankAttribute : OBPEndpoint = { case "banks" :: bankId :: "attributes" :: bankAttributeId :: Nil JsonDelete _=> { @@ -6831,7 +6831,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagTransaction, apiTagNewStyle), + List(apiTagTransaction), Some(List(canCreateTransactionAttributeDefinitionAtOneBank))) lazy val createOrUpdateTransactionAttributeDefinition : OBPEndpoint = { @@ -6895,7 +6895,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagCard, apiTagNewStyle), + List(apiTagCard), Some(List(canCreateCardAttributeDefinitionAtOneBank))) lazy val createOrUpdateCardAttributeDefinition : OBPEndpoint = { @@ -6954,7 +6954,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagTransaction, apiTagNewStyle), + List(apiTagTransaction), Some(List(canDeleteTransactionAttributeDefinitionAtOneBank))) lazy val deleteTransactionAttributeDefinition : OBPEndpoint = { @@ -6992,7 +6992,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canDeleteCustomerAttributeDefinitionAtOneBank))) lazy val deleteCustomerAttributeDefinition : OBPEndpoint = { @@ -7030,7 +7030,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagAccount, apiTagNewStyle), + List(apiTagAccount), Some(List(canDeleteAccountAttributeDefinitionAtOneBank))) lazy val deleteAccountAttributeDefinition : OBPEndpoint = { @@ -7068,7 +7068,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagProduct, apiTagNewStyle), + List(apiTagProduct), Some(List(canDeleteProductAttributeDefinitionAtOneBank))) lazy val deleteProductAttributeDefinition : OBPEndpoint = { @@ -7106,7 +7106,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagCard, apiTagNewStyle), + List(apiTagCard), Some(List(canDeleteCardAttributeDefinitionAtOneBank))) lazy val deleteCardAttributeDefinition : OBPEndpoint = { @@ -7144,7 +7144,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagProduct, apiTagNewStyle), + List(apiTagProduct), Some(List(canGetProductAttributeDefinitionAtOneBank))) lazy val getProductAttributeDefinition : OBPEndpoint = { @@ -7181,7 +7181,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canGetCustomerAttributeDefinitionAtOneBank))) lazy val getCustomerAttributeDefinition : OBPEndpoint = { @@ -7218,7 +7218,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagAccount, apiTagNewStyle), + List(apiTagAccount), Some(List(canGetAccountAttributeDefinitionAtOneBank))) lazy val getAccountAttributeDefinition : OBPEndpoint = { @@ -7255,7 +7255,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagTransaction, apiTagNewStyle), + List(apiTagTransaction), Some(List(canGetTransactionAttributeDefinitionAtOneBank))) lazy val getTransactionAttributeDefinition : OBPEndpoint = { @@ -7293,7 +7293,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagCard, apiTagNewStyle), + List(apiTagCard), Some(List(canGetCardAttributeDefinitionAtOneBank))) lazy val getCardAttributeDefinition : OBPEndpoint = { @@ -7331,7 +7331,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canDeleteUserCustomerLink))) lazy val deleteUserCustomerLink : OBPEndpoint = { @@ -7368,7 +7368,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canGetUserCustomerLink))) lazy val getUserCustomerLinksByUserId : OBPEndpoint = { @@ -7467,7 +7467,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canGetUserCustomerLink))) lazy val getUserCustomerLinksByCustomerId : OBPEndpoint = { @@ -7500,7 +7500,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canGetCorrelatedUsersInfoAtAnyBank, canGetCorrelatedUsersInfo))) lazy val getCorrelatedUsersInfoByCustomerId : OBPEndpoint = { @@ -7536,7 +7536,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagCustomer, apiTagNewStyle)) + List(apiTagCustomer)) private def getCorrelatedUsersInfo(userCustomerLink:UserCustomerLink, callContext: Option[CallContext]) = for { (customer, callContext) <- NewStyle.function.getCustomerByCustomerId(userCustomerLink.customerId, callContext) @@ -7596,7 +7596,7 @@ trait APIMethods400 { CreateConsumerError, UnknownError ), - List(apiTagCustomer, apiTagPerson, apiTagNewStyle), + List(apiTagCustomer, apiTagPerson), Some(List(canCreateCustomer,canCreateCustomerAtAnyBank)) ) lazy val createCustomer : OBPEndpoint = { @@ -7656,7 +7656,7 @@ trait APIMethods400 { CustomerNotFound, UnknownError ), - List(apiTagAccount, apiTagNewStyle), + List(apiTagAccount), Some(List(canGetAccountsMinimalForCustomerAtAnyBank))) lazy val getAccountsMinimalByCustomerId : OBPEndpoint = { @@ -7695,7 +7695,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagTransaction, apiTagNewStyle), + List(apiTagTransaction), Some(List(canDeleteTransactionCascade))) lazy val deleteTransactionCascade : OBPEndpoint = { @@ -7733,7 +7733,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagAccount, apiTagNewStyle), + List(apiTagAccount), Some(List(canDeleteAccountCascade))) lazy val deleteAccountCascade : OBPEndpoint = { @@ -7771,7 +7771,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagBank, apiTagNewStyle), + List(apiTagBank), Some(List(canDeleteBankCascade))) lazy val deleteBankCascade : OBPEndpoint = { @@ -7807,7 +7807,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagProduct, apiTagNewStyle), + List(apiTagProduct), Some(List(canDeleteProductCascade))) lazy val deleteProductCascade : OBPEndpoint = { @@ -7845,7 +7845,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canDeleteCustomerCascade))) lazy val deleteCustomerCascade : OBPEndpoint = { @@ -7964,7 +7964,7 @@ trait APIMethods400 { CounterpartyAlreadyExists, UnknownError ), - List(apiTagCounterparty, apiTagAccount, apiTagNewStyle)) + List(apiTagCounterparty, apiTagAccount)) lazy val createExplicitCounterparty: OBPEndpoint = { @@ -8068,7 +8068,7 @@ trait APIMethods400 { $UserNoPermissionAccessView, UnknownError ), - List(apiTagCounterparty, apiTagAccount, apiTagNewStyle) + List(apiTagCounterparty, apiTagAccount) ) lazy val deleteExplicitCounterparty: OBPEndpoint = { @@ -8116,7 +8116,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagCounterparty, apiTagAccount, apiTagNewStyle), + List(apiTagCounterparty, apiTagAccount), Some(List(canDeleteCounterparty, canDeleteCounterpartyAtAnyBank))) lazy val deleteCounterpartyForAnyAccount: OBPEndpoint = { @@ -8243,7 +8243,7 @@ trait APIMethods400 { CounterpartyAlreadyExists, UnknownError ), - List(apiTagCounterparty, apiTagAccount, apiTagNewStyle), + List(apiTagCounterparty, apiTagAccount), Some(List(canCreateCounterparty, canCreateCounterpartyAtAnyBank))) @@ -8339,7 +8339,7 @@ trait APIMethods400 { ViewNotFound, UnknownError ), - List(apiTagCounterparty, apiTagPSD2PIS, apiTagPsd2, apiTagAccount, apiTagNewStyle)) + List(apiTagCounterparty, apiTagPSD2PIS, apiTagPsd2, apiTagAccount)) lazy val getExplictCounterpartiesForAccount : OBPEndpoint = { case "banks" :: BankId(bankId) :: "accounts" :: AccountId(accountId) :: ViewId(viewId) :: "counterparties" :: Nil JsonGet req => { @@ -8390,7 +8390,7 @@ trait APIMethods400 { $BankAccountNotFound, UnknownError ), - List(apiTagCounterparty, apiTagPSD2PIS, apiTagPsd2, apiTagAccount, apiTagNewStyle), + List(apiTagCounterparty, apiTagPSD2PIS, apiTagPsd2, apiTagAccount), Some(List(canGetCounterparties, canGetCounterpartiesAtAnyBank)) ) @@ -8435,7 +8435,7 @@ trait APIMethods400 { EmptyBody, counterpartyWithMetadataJson400, List($UserNotLoggedIn, $BankNotFound, $BankAccountNotFound, $UserNoPermissionAccessView, UnknownError), - List(apiTagCounterparty, apiTagPSD2PIS, apiTagPsd2, apiTagCounterpartyMetaData, apiTagNewStyle) + List(apiTagCounterparty, apiTagPSD2PIS, apiTagPsd2, apiTagCounterpartyMetaData) ) lazy val getExplictCounterpartyById : OBPEndpoint = { @@ -8479,7 +8479,7 @@ trait APIMethods400 { ViewNotFound, UnknownError ), - List(apiTagCounterparty, apiTagAccount, apiTagNewStyle), + List(apiTagCounterparty, apiTagAccount), Some(List(canGetCounterpartyAtAnyBank, canGetCounterparty))) lazy val getCounterpartyByNameForAnyAccount: OBPEndpoint = { @@ -8528,7 +8528,7 @@ trait APIMethods400 { ViewNotFound, UnknownError ), - List(apiTagCounterparty, apiTagAccount, apiTagNewStyle), + List(apiTagCounterparty, apiTagAccount), Some(List(canGetCounterpartyAtAnyBank, canGetCounterparty))) lazy val getCounterpartyByIdForAnyAccount: OBPEndpoint = { @@ -8577,7 +8577,7 @@ trait APIMethods400 { ConsentNotFound, UnknownError ), - apiTagConsent :: apiTagPSD2AIS :: apiTagNewStyle :: Nil) + apiTagConsent :: apiTagPSD2AIS :: Nil) lazy val addConsentUser : OBPEndpoint = { case "banks" :: BankId(bankId) :: "consents" :: consentId :: "user-update-request" :: Nil JsonPut json -> _ => { @@ -8634,7 +8634,7 @@ trait APIMethods400 { InvalidConnectorResponse, UnknownError ), - apiTagConsent :: apiTagPSD2AIS :: apiTagNewStyle :: Nil) + apiTagConsent :: apiTagPSD2AIS :: Nil) lazy val updateConsentStatus : OBPEndpoint = { case "banks" :: BankId(bankId) :: "consents" :: consentId :: Nil JsonPut json -> _ => { @@ -8685,7 +8685,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagConsent, apiTagPSD2AIS, apiTagPsd2, apiTagNewStyle)) + List(apiTagConsent, apiTagPSD2AIS, apiTagPsd2)) lazy val getConsents: OBPEndpoint = { case "banks" :: BankId(bankId) :: "my" :: "consents" :: Nil JsonGet _ => { @@ -8721,7 +8721,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagConsent, apiTagPSD2AIS, apiTagPsd2, apiTagNewStyle)) + List(apiTagConsent, apiTagPSD2AIS, apiTagPsd2)) lazy val getConsentInfos: OBPEndpoint = { case "banks" :: BankId(bankId) :: "my" :: "consent-infos" :: Nil JsonGet _ => { @@ -8754,7 +8754,7 @@ trait APIMethods400 { $UserNotLoggedIn, UnknownError ), - List(apiTagUser, apiTagNewStyle) + List(apiTagUser) ) lazy val getCurrentUserAttributes: OBPEndpoint = { @@ -8786,7 +8786,7 @@ trait APIMethods400 { $UserNotLoggedIn, UnknownError ), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(canGetUsersWithAttributes :: Nil) ) @@ -8824,7 +8824,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List())) lazy val createCurrentUserAttribute : OBPEndpoint = { @@ -8876,7 +8876,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List())) lazy val updateCurrentUserAttribute : OBPEndpoint = { @@ -8961,7 +8961,7 @@ trait APIMethods400 { UserNotFoundByUserId, UnknownError ), - List(apiTagApiCollection, apiTagNewStyle) + List(apiTagApiCollection) ) lazy val createMyApiCollection: OBPEndpoint = { @@ -9006,7 +9006,7 @@ trait APIMethods400 { UserNotFoundByUserId, UnknownError ), - List(apiTagApiCollection, apiTagNewStyle) + List(apiTagApiCollection) ) lazy val getMyApiCollectionByName: OBPEndpoint = { @@ -9038,7 +9038,7 @@ trait APIMethods400 { UserNotFoundByUserId, UnknownError ), - List(apiTagApiCollection, apiTagNewStyle) + List(apiTagApiCollection) ) lazy val getMyApiCollectionById: OBPEndpoint = { @@ -9067,7 +9067,7 @@ trait APIMethods400 { List( UnknownError ), - List(apiTagApiCollection, apiTagNewStyle) + List(apiTagApiCollection) ) lazy val getSharableApiCollectionById: OBPEndpoint = { @@ -9101,7 +9101,7 @@ trait APIMethods400 { UserNotFoundByUserId, UnknownError ), - List(apiTagApiCollection, apiTagNewStyle), + List(apiTagApiCollection), Some(canGetApiCollectionsForUser :: Nil) ) @@ -9133,7 +9133,7 @@ trait APIMethods400 { List( UnknownError ), - List(apiTagApiCollection, apiTagNewStyle) + List(apiTagApiCollection) ) lazy val getFeaturedApiCollections: OBPEndpoint = { @@ -9166,7 +9166,7 @@ trait APIMethods400 { $UserNotLoggedIn, UnknownError ), - List(apiTagApiCollection, apiTagNewStyle) + List(apiTagApiCollection) ) lazy val getMyApiCollections: OBPEndpoint = { @@ -9203,7 +9203,7 @@ trait APIMethods400 { UserNotFoundByUserId, UnknownError ), - List(apiTagApiCollection, apiTagNewStyle) + List(apiTagApiCollection) ) lazy val deleteMyApiCollection : OBPEndpoint = { @@ -9240,7 +9240,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagApiCollection, apiTagNewStyle) + List(apiTagApiCollection) ) lazy val createMyApiCollectionEndpoint: OBPEndpoint = { @@ -9289,7 +9289,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagApiCollection, apiTagNewStyle) + List(apiTagApiCollection) ) lazy val createMyApiCollectionEndpointById: OBPEndpoint = { @@ -9336,7 +9336,7 @@ trait APIMethods400 { UserNotFoundByUserId, UnknownError ), - List(apiTagApiCollection, apiTagNewStyle) + List(apiTagApiCollection) ) lazy val getMyApiCollectionEndpoint: OBPEndpoint = { @@ -9372,7 +9372,7 @@ trait APIMethods400 { $UserNotLoggedIn, UnknownError ), - List(apiTagApiCollection, apiTagNewStyle) + List(apiTagApiCollection) ) lazy val getApiCollectionEndpoints: OBPEndpoint = { @@ -9404,7 +9404,7 @@ trait APIMethods400 { UserNotFoundByUserId, UnknownError ), - List(apiTagApiCollection, apiTagNewStyle) + List(apiTagApiCollection) ) lazy val getMyApiCollectionEndpoints: OBPEndpoint = { @@ -9437,7 +9437,7 @@ trait APIMethods400 { UserNotFoundByUserId, UnknownError ), - List(apiTagApiCollection, apiTagNewStyle) + List(apiTagApiCollection) ) lazy val getMyApiCollectionEndpointsById: OBPEndpoint = { @@ -9474,7 +9474,7 @@ trait APIMethods400 { UserNotFoundByUserId, UnknownError ), - List(apiTagApiCollection, apiTagNewStyle) + List(apiTagApiCollection) ) lazy val deleteMyApiCollectionEndpoint : OBPEndpoint = { @@ -9511,7 +9511,7 @@ trait APIMethods400 { UserNotFoundByUserId, UnknownError ), - List(apiTagApiCollection, apiTagNewStyle) + List(apiTagApiCollection) ) lazy val deleteMyApiCollectionEndpointByOperationId : OBPEndpoint = { @@ -9548,7 +9548,7 @@ trait APIMethods400 { UserNotFoundByUserId, UnknownError ), - List(apiTagApiCollection, apiTagNewStyle) + List(apiTagApiCollection) ) lazy val deleteMyApiCollectionEndpointById : OBPEndpoint = { @@ -9583,7 +9583,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagJsonSchemaValidation, apiTagNewStyle), + List(apiTagJsonSchemaValidation), Some(List(canCreateJsonSchemaValidation))) @@ -9629,7 +9629,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagJsonSchemaValidation, apiTagNewStyle), + List(apiTagJsonSchemaValidation), Some(List(canUpdateJsonSchemaValidation))) @@ -9674,7 +9674,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagJsonSchemaValidation, apiTagNewStyle), + List(apiTagJsonSchemaValidation), Some(List(canDeleteJsonSchemaValidation))) @@ -9712,7 +9712,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagJsonSchemaValidation, apiTagNewStyle), + List(apiTagJsonSchemaValidation), Some(List(canGetJsonSchemaValidation))) lazy val getJsonSchemaValidation: OBPEndpoint = { @@ -9744,7 +9744,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagJsonSchemaValidation, apiTagNewStyle), + List(apiTagJsonSchemaValidation), Some(List(canGetJsonSchemaValidation))) @@ -9780,7 +9780,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagJsonSchemaValidation, apiTagNewStyle), + List(apiTagJsonSchemaValidation), None) @@ -9805,7 +9805,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagAuthenticationTypeValidation, apiTagNewStyle), + List(apiTagAuthenticationTypeValidation), Some(List(canCreateAuthenticationTypeValidation))) @@ -9849,7 +9849,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagAuthenticationTypeValidation, apiTagNewStyle), + List(apiTagAuthenticationTypeValidation), Some(List(canUpdateAuthenticationTypeValidation))) @@ -9892,7 +9892,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagAuthenticationTypeValidation, apiTagNewStyle), + List(apiTagAuthenticationTypeValidation), Some(List(canDeleteAuthenticationValidation))) @@ -9930,7 +9930,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagAuthenticationTypeValidation, apiTagNewStyle), + List(apiTagAuthenticationTypeValidation), Some(List(canGetAuthenticationTypeValidation))) @@ -9963,7 +9963,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagAuthenticationTypeValidation, apiTagNewStyle), + List(apiTagAuthenticationTypeValidation), Some(List(canGetAuthenticationTypeValidation))) @@ -9999,7 +9999,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagAuthenticationTypeValidation, apiTagNewStyle), + List(apiTagAuthenticationTypeValidation), None) staticResourceDocs += ResourceDoc( @@ -10021,7 +10021,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagConnectorMethod, apiTagNewStyle), + List(apiTagConnectorMethod), Some(List(canCreateConnectorMethod))) lazy val createConnectorMethod: OBPEndpoint = { @@ -10068,7 +10068,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagConnectorMethod, apiTagNewStyle), + List(apiTagConnectorMethod), Some(List(canUpdateConnectorMethod))) lazy val updateConnectorMethod: OBPEndpoint = { @@ -10111,7 +10111,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagConnectorMethod, apiTagNewStyle), + List(apiTagConnectorMethod), Some(List(canGetConnectorMethod))) lazy val getConnectorMethod: OBPEndpoint = { @@ -10142,7 +10142,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagConnectorMethod, apiTagNewStyle), + List(apiTagConnectorMethod), Some(List(canGetAllConnectorMethods))) lazy val getAllConnectorMethods: OBPEndpoint = { @@ -10175,7 +10175,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagDynamicResourceDoc, apiTagNewStyle), + List(apiTagDynamicResourceDoc), Some(List(canCreateDynamicResourceDoc))) lazy val createDynamicResourceDoc: OBPEndpoint = { @@ -10239,7 +10239,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagDynamicResourceDoc, apiTagNewStyle), + List(apiTagDynamicResourceDoc), Some(List(canUpdateDynamicResourceDoc))) lazy val updateDynamicResourceDoc: OBPEndpoint = { @@ -10301,7 +10301,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagDynamicResourceDoc, apiTagNewStyle), + List(apiTagDynamicResourceDoc), Some(List(canDeleteDynamicResourceDoc))) lazy val deleteDynamicResourceDoc: OBPEndpoint = { @@ -10333,7 +10333,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagDynamicResourceDoc, apiTagNewStyle), + List(apiTagDynamicResourceDoc), Some(List(canGetDynamicResourceDoc))) lazy val getDynamicResourceDoc: OBPEndpoint = { @@ -10364,7 +10364,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagDynamicResourceDoc, apiTagNewStyle), + List(apiTagDynamicResourceDoc), Some(List(canGetAllDynamicResourceDocs))) lazy val getAllDynamicResourceDocs: OBPEndpoint = { @@ -10398,7 +10398,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagDynamicResourceDoc, apiTagNewStyle), + List(apiTagDynamicResourceDoc), Some(List(canCreateBankLevelDynamicResourceDoc))) lazy val createBankLevelDynamicResourceDoc: OBPEndpoint = { @@ -10470,7 +10470,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagDynamicResourceDoc, apiTagNewStyle), + List(apiTagDynamicResourceDoc), Some(List(canUpdateBankLevelDynamicResourceDoc))) lazy val updateBankLevelDynamicResourceDoc: OBPEndpoint = { @@ -10540,7 +10540,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagDynamicResourceDoc, apiTagNewStyle), + List(apiTagDynamicResourceDoc), Some(List(canDeleteBankLevelDynamicResourceDoc))) lazy val deleteBankLevelDynamicResourceDoc: OBPEndpoint = { @@ -10573,7 +10573,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagDynamicResourceDoc, apiTagNewStyle), + List(apiTagDynamicResourceDoc), Some(List(canGetBankLevelDynamicResourceDoc))) lazy val getBankLevelDynamicResourceDoc: OBPEndpoint = { @@ -10605,7 +10605,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagDynamicResourceDoc, apiTagNewStyle), + List(apiTagDynamicResourceDoc), Some(List(canGetAllBankLevelDynamicResourceDocs))) lazy val getAllBankLevelDynamicResourceDocs: OBPEndpoint = { @@ -10638,7 +10638,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagDynamicResourceDoc, apiTagNewStyle), + List(apiTagDynamicResourceDoc), None) lazy val buildDynamicEndpointTemplate: OBPEndpoint = { @@ -10687,7 +10687,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagDynamicMessageDoc, apiTagNewStyle), + List(apiTagDynamicMessageDoc), Some(List(canCreateDynamicMessageDoc))) lazy val createDynamicMessageDoc: OBPEndpoint = { @@ -10732,7 +10732,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagDynamicMessageDoc, apiTagNewStyle), + List(apiTagDynamicMessageDoc), Some(List(canCreateBankLevelDynamicMessageDoc))) lazy val createBankLevelDynamicMessageDoc: OBPEndpoint = { @@ -10776,7 +10776,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagDynamicMessageDoc, apiTagNewStyle), + List(apiTagDynamicMessageDoc), Some(List(canUpdateDynamicMessageDoc))) lazy val updateDynamicMessageDoc: OBPEndpoint = { @@ -10817,7 +10817,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagDynamicMessageDoc, apiTagNewStyle), + List(apiTagDynamicMessageDoc), Some(List(canGetDynamicMessageDoc))) lazy val getDynamicMessageDoc: OBPEndpoint = { @@ -10848,7 +10848,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagDynamicMessageDoc, apiTagNewStyle), + List(apiTagDynamicMessageDoc), Some(List(canGetAllDynamicMessageDocs))) lazy val getAllDynamicMessageDocs: OBPEndpoint = { @@ -10879,7 +10879,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagDynamicMessageDoc, apiTagNewStyle), + List(apiTagDynamicMessageDoc), Some(List(canDeleteDynamicMessageDoc))) lazy val deleteDynamicMessageDoc: OBPEndpoint = { @@ -10912,7 +10912,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagDynamicMessageDoc, apiTagNewStyle), + List(apiTagDynamicMessageDoc), Some(List(canUpdateDynamicMessageDoc))) lazy val updateBankLevelDynamicMessageDoc: OBPEndpoint = { @@ -10954,7 +10954,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagDynamicMessageDoc, apiTagNewStyle), + List(apiTagDynamicMessageDoc), Some(List(canGetBankLevelDynamicMessageDoc))) lazy val getBankLevelDynamicMessageDoc: OBPEndpoint = { @@ -10986,7 +10986,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagDynamicMessageDoc, apiTagNewStyle), + List(apiTagDynamicMessageDoc), Some(List(canGetAllDynamicMessageDocs))) lazy val getAllBankLevelDynamicMessageDocs: OBPEndpoint = { @@ -11018,7 +11018,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagDynamicMessageDoc, apiTagNewStyle), + List(apiTagDynamicMessageDoc), Some(List(canDeleteBankLevelDynamicMessageDoc))) lazy val deleteBankLevelDynamicMessageDoc: OBPEndpoint = { @@ -11052,7 +11052,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagEndpointMapping, apiTagNewStyle), + List(apiTagEndpointMapping), Some(List(canCreateEndpointMapping))) lazy val createEndpointMapping: OBPEndpoint = { @@ -11093,7 +11093,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagEndpointMapping, apiTagNewStyle), + List(apiTagEndpointMapping), Some(List(canUpdateEndpointMapping))) lazy val updateEndpointMapping: OBPEndpoint = { @@ -11139,7 +11139,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagEndpointMapping, apiTagNewStyle), + List(apiTagEndpointMapping), Some(List(canGetEndpointMapping))) lazy val getEndpointMapping: OBPEndpoint = { @@ -11175,7 +11175,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagEndpointMapping, apiTagNewStyle), + List(apiTagEndpointMapping), Some(List(canGetAllEndpointMappings))) lazy val getAllEndpointMappings: OBPEndpoint = { @@ -11211,7 +11211,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagEndpointMapping, apiTagNewStyle), + List(apiTagEndpointMapping), Some(List(canDeleteEndpointMapping))) lazy val deleteEndpointMapping: OBPEndpoint = { @@ -11249,7 +11249,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagEndpointMapping, apiTagNewStyle), + List(apiTagEndpointMapping), Some(List(canCreateBankLevelEndpointMapping, canCreateEndpointMapping))) lazy val createBankLevelEndpointMapping: OBPEndpoint = { @@ -11277,7 +11277,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagEndpointMapping, apiTagNewStyle), + List(apiTagEndpointMapping), Some(List(canUpdateBankLevelEndpointMapping, canUpdateEndpointMapping))) lazy val updateBankLevelEndpointMapping: OBPEndpoint = { @@ -11305,7 +11305,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagEndpointMapping, apiTagNewStyle), + List(apiTagEndpointMapping), Some(List(canGetBankLevelEndpointMapping, canGetEndpointMapping))) lazy val getBankLevelEndpointMapping: OBPEndpoint = { @@ -11333,7 +11333,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagEndpointMapping, apiTagNewStyle), + List(apiTagEndpointMapping), Some(List(canGetAllBankLevelEndpointMappings, canGetAllEndpointMappings))) lazy val getAllBankLevelEndpointMappings: OBPEndpoint = { @@ -11361,7 +11361,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagEndpointMapping, apiTagNewStyle), + List(apiTagEndpointMapping), Some(List(canDeleteBankLevelEndpointMapping, canDeleteEndpointMapping))) lazy val deleteBankLevelEndpointMapping: OBPEndpoint = { @@ -11387,7 +11387,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagATM, apiTagNewStyle) + List(apiTagATM) ) lazy val updateAtmSupportedCurrencies : OBPEndpoint = { @@ -11421,7 +11421,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagATM, apiTagNewStyle) + List(apiTagATM) ) lazy val updateAtmSupportedLanguages : OBPEndpoint = { @@ -11455,7 +11455,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagATM, apiTagNewStyle) + List(apiTagATM) ) lazy val updateAtmAccessibilityFeatures : OBPEndpoint = { @@ -11489,7 +11489,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagATM, apiTagNewStyle) + List(apiTagATM) ) lazy val updateAtmServices : OBPEndpoint = { @@ -11523,7 +11523,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagATM, apiTagNewStyle) + List(apiTagATM) ) lazy val updateAtmNotes : OBPEndpoint = { @@ -11557,7 +11557,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagATM, apiTagNewStyle) + List(apiTagATM) ) lazy val updateAtmLocationCategories : OBPEndpoint = { @@ -11590,7 +11590,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagATM, apiTagNewStyle), + List(apiTagATM), Some(List(canCreateAtm,canCreateAtmAtAnyBank)) ) lazy val createAtm : OBPEndpoint = { @@ -11629,7 +11629,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagATM, apiTagNewStyle), + List(apiTagATM), Some(List(canUpdateAtm, canUpdateAtmAtAnyBank)) ) lazy val updateAtm : OBPEndpoint = { @@ -11665,7 +11665,7 @@ trait APIMethods400 { $UserNotLoggedIn, UnknownError ), - List(apiTagATM, apiTagNewStyle), + List(apiTagATM), Some(List(canDeleteAtmAtAnyBank, canDeleteAtm)) ) lazy val deleteAtm : OBPEndpoint = { @@ -11706,7 +11706,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - List(apiTagATM, apiTagNewStyle) + List(apiTagATM) ) lazy val getAtms : OBPEndpoint = { case "banks" :: BankId(bankId) :: "atms" :: Nil JsonGet _ => { @@ -11758,7 +11758,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagATM, apiTagNewStyle) + List(apiTagATM) ) lazy val getAtm : OBPEndpoint = { case "banks" :: BankId(bankId) :: "atms" :: AtmId(atmId) :: Nil JsonGet req => { @@ -11791,7 +11791,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagApi, apiTagNewStyle), + List(apiTagApi), Some(List(canCreateSystemLevelEndpointTag))) lazy val createSystemLevelEndpointTag: OBPEndpoint = { case "management" :: "endpoints" :: operationId :: "tags" :: Nil JsonPost json -> _ => { @@ -11832,7 +11832,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagApi, apiTagNewStyle), + List(apiTagApi), Some(List(canUpdateSystemLevelEndpointTag))) lazy val updateSystemLevelEndpointTag: OBPEndpoint = { case "management" :: "endpoints" :: operationId :: "tags" :: endpointTagId :: Nil JsonPut json -> _ => { @@ -11872,7 +11872,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagApi, apiTagNewStyle), + List(apiTagApi), Some(List(canGetSystemLevelEndpointTag))) lazy val getSystemLevelEndpointTags: OBPEndpoint = { case "management" :: "endpoints" :: operationId :: "tags" :: Nil JsonGet _ => { @@ -11904,7 +11904,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagApi, apiTagNewStyle), + List(apiTagApi), Some(List(canDeleteSystemLevelEndpointTag))) lazy val deleteSystemLevelEndpointTag: OBPEndpoint = { case "management" :: "endpoints" :: operationId :: "tags" :: endpointTagId :: Nil JsonDelete _ => { @@ -11936,7 +11936,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagApi, apiTagNewStyle), + List(apiTagApi), Some(List(canCreateBankLevelEndpointTag))) lazy val createBankLevelEndpointTag: OBPEndpoint = { case "management" :: "banks" :: bankId :: "endpoints" :: operationId :: "tags" :: Nil JsonPost json -> _ => { @@ -11979,7 +11979,7 @@ trait APIMethods400 { InvalidJsonFormat, UnknownError ), - List(apiTagApi, apiTagNewStyle), + List(apiTagApi), Some(List(canUpdateBankLevelEndpointTag))) lazy val updateBankLevelEndpointTag: OBPEndpoint = { case "management":: "banks" :: bankId :: "endpoints" :: operationId :: "tags" :: endpointTagId :: Nil JsonPut json -> _ => { @@ -12021,7 +12021,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagApi, apiTagNewStyle), + List(apiTagApi), Some(List(canGetBankLevelEndpointTag))) lazy val getBankLevelEndpointTags: OBPEndpoint = { case "management":: "banks" :: bankId :: "endpoints" :: operationId :: "tags" :: Nil JsonGet _ => { @@ -12055,7 +12055,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagApi, apiTagNewStyle), + List(apiTagApi), Some(List(canDeleteBankLevelEndpointTag))) lazy val deleteBankLevelEndpointTag: OBPEndpoint = { case "management":: "banks" :: bankId :: "endpoints" :: operationId :: "tags" :: endpointTagId :: Nil JsonDelete _ => { @@ -12084,7 +12084,7 @@ trait APIMethods400 { $UserNotLoggedIn, UnknownError ), - List(apiTagUser, apiTagNewStyle) + List(apiTagUser) ) lazy val getMySpaces: OBPEndpoint = { case "my" :: "spaces" :: Nil JsonGet _ => { @@ -12132,7 +12132,7 @@ trait APIMethods400 { BankNotFound, UnknownError ), - List(apiTagProduct, apiTagNewStyle) + List(apiTagProduct) ) lazy val getProducts : OBPEndpoint = { case "banks" :: BankId(bankId) :: "products" :: Nil JsonGet req => { @@ -12187,7 +12187,7 @@ trait APIMethods400 { UserHasMissingRoles, UnknownError ), - List(apiTagProduct, apiTagNewStyle), + List(apiTagProduct), Some(List(canCreateProduct, canCreateProductAtAnyBank)) ) lazy val createProduct: OBPEndpoint = { @@ -12260,7 +12260,7 @@ trait APIMethods400 { ProductNotFoundByProductCode, UnknownError ), - List(apiTagProduct, apiTagNewStyle) + List(apiTagProduct) ) lazy val getProduct: OBPEndpoint = { @@ -12424,7 +12424,7 @@ trait APIMethods400 { accountNotificationWebhookPostJson, systemAccountNotificationWebhookJson, List(UnknownError), - apiTagWebhook :: apiTagBank :: apiTagNewStyle :: Nil, + apiTagWebhook :: apiTagBank :: Nil, Some(List(canCreateSystemAccountNotificationWebhook)) ) @@ -12481,7 +12481,7 @@ trait APIMethods400 { $BankNotFound, UnknownError ), - apiTagWebhook :: apiTagBank :: apiTagNewStyle :: Nil, + apiTagWebhook :: apiTagBank :: Nil, Some(List(canCreateAccountNotificationWebhookAtOneBank)) ) diff --git a/obp-api/src/main/scala/code/api/v5_0_0/APIMethods500.scala b/obp-api/src/main/scala/code/api/v5_0_0/APIMethods500.scala index 5086867db..d5ba4e446 100644 --- a/obp-api/src/main/scala/code/api/v5_0_0/APIMethods500.scala +++ b/obp-api/src/main/scala/code/api/v5_0_0/APIMethods500.scala @@ -97,7 +97,7 @@ trait APIMethods500 { EmptyBody, bankJson500, List(UnknownError, BankNotFound), - apiTagBank :: apiTagPSD2AIS :: apiTagPsd2 :: apiTagNewStyle :: Nil + apiTagBank :: apiTagPSD2AIS :: apiTagPsd2 :: Nil ) lazy val getBank : OBPEndpoint = { @@ -138,7 +138,7 @@ trait APIMethods500 { InsufficientAuthorisationToCreateBank, UnknownError ), - List(apiTagBank, apiTagNewStyle), + List(apiTagBank), Some(List(canCreateBank)) ) @@ -218,7 +218,7 @@ trait APIMethods500 { updateBankError, UnknownError ), - List(apiTagBank, apiTagNewStyle), + List(apiTagBank), Some(List(canCreateBank)) ) @@ -299,7 +299,7 @@ trait APIMethods500 { AccountIdAlreadyExists, UnknownError ), - List(apiTagAccount,apiTagOnboarding, apiTagNewStyle), + List(apiTagAccount,apiTagOnboarding), Some(List(canCreateAccount)) ) @@ -419,7 +419,7 @@ trait APIMethods500 { CreateUserAuthContextError, UnknownError ), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canCreateUserAuthContext))) lazy val createUserAuthContext : OBPEndpoint = { case "users" :: userId ::"auth-context" :: Nil JsonPost json -> _ => { @@ -460,7 +460,7 @@ trait APIMethods500 { UserHasMissingRoles, UnknownError ), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(canGetUserAuthContext :: Nil) ) lazy val getUserAuthContexts : OBPEndpoint = { @@ -500,7 +500,7 @@ trait APIMethods500 { CreateUserAuthContextError, UnknownError ), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), None ) @@ -546,7 +546,7 @@ trait APIMethods500 { InvalidConnectorResponse, UnknownError ), - apiTagUser :: apiTagNewStyle :: Nil) + apiTagUser :: Nil) lazy val answerUserAuthContextUpdateChallenge : OBPEndpoint = { case "banks" :: BankId(bankId) :: "users" :: "current" ::"auth-context-updates" :: authContextUpdateId :: "challenge" :: Nil JsonPost json -> _ => { @@ -616,7 +616,7 @@ trait APIMethods500 { ConsentMaxTTL, UnknownError ), - apiTagConsent :: apiTagPSD2AIS :: apiTagPsd2 :: apiTagNewStyle :: Nil + apiTagConsent :: apiTagPSD2AIS :: apiTagPsd2 :: Nil ) lazy val createConsentRequest : OBPEndpoint = { @@ -670,7 +670,7 @@ trait APIMethods500 { ConsentRequestNotFound, UnknownError ), - apiTagConsent :: apiTagPSD2AIS :: apiTagPsd2 :: apiTagNewStyle :: Nil + apiTagConsent :: apiTagPSD2AIS :: apiTagPsd2 :: Nil ) lazy val getConsentRequest : OBPEndpoint = { @@ -716,7 +716,7 @@ trait APIMethods500 { $UserNotLoggedIn, UnknownError ), - List(apiTagConsent, apiTagPSD2AIS, apiTagPsd2, apiTagNewStyle)) + List(apiTagConsent, apiTagPSD2AIS, apiTagPsd2)) lazy val getConsentByConsentRequestId: OBPEndpoint = { case "consumer" :: "consent-requests" :: consentRequestId :: "consents" :: Nil JsonGet _ => { cc => @@ -766,7 +766,7 @@ trait APIMethods500 { InvalidConnectorResponse, UnknownError ), - apiTagConsent :: apiTagPSD2AIS :: apiTagPsd2 :: apiTagNewStyle :: Nil) + apiTagConsent :: apiTagPSD2AIS :: apiTagPsd2 :: Nil) staticResourceDocs += ResourceDoc( createConsentByConsentRequestIdSms, implementedInApiVersion, @@ -797,7 +797,7 @@ trait APIMethods500 { InvalidConnectorResponse, UnknownError ), - apiTagConsent :: apiTagPSD2AIS :: apiTagPsd2 ::apiTagNewStyle :: Nil) + apiTagConsent :: apiTagPSD2AIS :: apiTagPsd2 :: Nil) lazy val createConsentByConsentRequestIdEmail = createConsentByConsentRequestId lazy val createConsentByConsentRequestIdSms = createConsentByConsentRequestId @@ -964,7 +964,7 @@ trait APIMethods500 { $BankNotFound, UnknownError ), - List(apiTagATM, apiTagNewStyle) + List(apiTagATM) ) lazy val headAtms : OBPEndpoint = { case "banks" :: BankId(bankId) :: "atms" :: Nil JsonHead _ => { @@ -1009,7 +1009,7 @@ trait APIMethods500 { CreateConsumerError, UnknownError ), - List(apiTagCustomer, apiTagPerson, apiTagNewStyle), + List(apiTagCustomer, apiTagPerson), Some(List(canCreateCustomer,canCreateCustomerAtAnyBank)) ) lazy val createCustomer : OBPEndpoint = { @@ -1080,7 +1080,7 @@ trait APIMethods500 { UserCustomerLinksNotFoundForUser, UnknownError ), - List(apiTagCustomer, apiTagKyc ,apiTagNewStyle), + List(apiTagCustomer, apiTagKyc), Some(List(canGetCustomerOverview)) ) @@ -1129,7 +1129,7 @@ trait APIMethods500 { UserCustomerLinksNotFoundForUser, UnknownError ), - List(apiTagCustomer, apiTagKyc ,apiTagNewStyle), + List(apiTagCustomer, apiTagKyc), Some(List(canGetCustomerOverviewFlat)) ) @@ -1212,7 +1212,7 @@ trait APIMethods500 { UserCustomerLinksNotFoundForUser, UnknownError ), - List(apiTagCustomer, apiTagNewStyle) + List(apiTagCustomer) ) lazy val getMyCustomersAtBank : OBPEndpoint = { @@ -1255,7 +1255,7 @@ trait APIMethods500 { UserCustomerLinksNotFoundForUser, UnknownError ), - List(apiTagCustomer, apiTagUser, apiTagNewStyle), + List(apiTagCustomer, apiTagUser), Some(List(canGetCustomers)) ) @@ -1290,7 +1290,7 @@ trait APIMethods500 { UserCustomerLinksNotFoundForUser, UnknownError ), - List(apiTagCustomer, apiTagUser, apiTagNewStyle), + List(apiTagCustomer, apiTagUser), Some(List(canGetCustomersMinimal)) ) lazy val getCustomersMinimalAtOneBank : OBPEndpoint = { @@ -1340,7 +1340,7 @@ trait APIMethods500 { UserHasMissingRoles, UnknownError ), - List(apiTagProduct, apiTagNewStyle), + List(apiTagProduct), Some(List(canCreateProduct, canCreateProductAtAnyBank)) ) lazy val createProduct: OBPEndpoint = { @@ -1406,7 +1406,7 @@ trait APIMethods500 { AllowedValuesAre, UnknownError ), - List(apiTagCard, apiTagNewStyle), + List(apiTagCard), Some(List(canCreateCardsForBank))) lazy val addCardForBank: OBPEndpoint = { case "management" :: "banks" :: BankId(bankId) :: "cards" :: Nil JsonPost json -> _ => { @@ -1523,7 +1523,7 @@ trait APIMethods500 { $BankAccountNotFound, UnknownError ), - List(apiTagView, apiTagAccount, apiTagNewStyle)) + List(apiTagView, apiTagAccount)) lazy val getViewsForBankAccount : OBPEndpoint = { //get the available views on an bank account @@ -1561,7 +1561,7 @@ trait APIMethods500 { UnknownError, "user does not have owner access" ), - List(apiTagSystemView, apiTagNewStyle), + List(apiTagSystemView), Some(List(canDeleteSystemView)) ) @@ -1648,7 +1648,7 @@ trait APIMethods500 { UserHasMissingRoles, UnknownError ), - List(apiTagMetric, apiTagApi, apiTagNewStyle), + List(apiTagMetric, apiTagApi), Some(List(canGetMetricsAtOneBank))) lazy val getMetricsAtBank : OBPEndpoint = { @@ -1684,7 +1684,7 @@ trait APIMethods500 { $BankNotFound, UnknownError ), - List(apiTagSystemView, apiTagNewStyle), + List(apiTagSystemView), Some(List(canGetSystemView)) ) @@ -1718,7 +1718,7 @@ trait APIMethods500 { $BankNotFound, UnknownError ), - List(apiTagSystemView, apiTagNewStyle), + List(apiTagSystemView), Some(List(canGetSystemView)) ) @@ -1764,7 +1764,7 @@ trait APIMethods500 { InvalidJsonFormat, UnknownError ), - List(apiTagSystemView, apiTagNewStyle), + List(apiTagSystemView), Some(List(canCreateSystemView)) ) @@ -1812,7 +1812,7 @@ trait APIMethods500 { BankAccountNotFound, UnknownError ), - List(apiTagSystemView, apiTagNewStyle), + List(apiTagSystemView), Some(List(canUpdateSystemView)) ) @@ -1912,7 +1912,7 @@ trait APIMethods500 { UserHasMissingRoles, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canGetCustomerAccountLinks))) lazy val getCustomerAccountLinksByCustomerId : OBPEndpoint = { case "banks" :: BankId(bankId) :: "customers" :: customerId :: "customer-account-links" :: Nil JsonGet _ => { @@ -1950,7 +1950,7 @@ trait APIMethods500 { UserHasMissingRoles, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canGetCustomerAccountLinks))) lazy val getCustomerAccountLinksByBankIdAccountId : OBPEndpoint = { case "banks" :: bankId :: "accounts" :: accountId :: "customer-account-links" :: Nil JsonGet _ => { @@ -1984,7 +1984,7 @@ trait APIMethods500 { UserHasMissingRoles, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canGetCustomerAccountLink))) lazy val getCustomerAccountLinkById : OBPEndpoint = { case "banks" :: BankId(bankId) :: "customer-account-links" :: customerAccountLinkId :: Nil JsonGet _ => { @@ -2018,7 +2018,7 @@ trait APIMethods500 { UserHasMissingRoles, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canUpdateCustomerAccountLink))) lazy val updateCustomerAccountLinkById : OBPEndpoint = { case "banks" :: BankId(bankId) :: "customer-account-links" :: customerAccountLinkId :: Nil JsonPut json -> _ => { @@ -2057,7 +2057,7 @@ trait APIMethods500 { UserHasMissingRoles, UnknownError ), - List(apiTagCustomer, apiTagNewStyle), + List(apiTagCustomer), Some(List(canDeleteCustomerAccountLink))) lazy val deleteCustomerAccountLinkById : OBPEndpoint = { case "banks" :: BankId(bankId) :: "customer-account-links" :: customerAccountLinkId :: Nil JsonDelete _ => { @@ -2087,7 +2087,7 @@ trait APIMethods500 { EmptyBody, adapterInfoJsonV500, List($UserNotLoggedIn, UserHasMissingRoles, UnknownError), - List(apiTagApi, apiTagNewStyle), + List(apiTagApi), Some(List(canGetAdapterInfo)) ) lazy val getAdapterInfo: OBPEndpoint = { diff --git a/obp-api/src/main/scala/code/api/v5_1_0/APIMethods510.scala b/obp-api/src/main/scala/code/api/v5_1_0/APIMethods510.scala index 1c6bc4f3c..6b65053b7 100644 --- a/obp-api/src/main/scala/code/api/v5_1_0/APIMethods510.scala +++ b/obp-api/src/main/scala/code/api/v5_1_0/APIMethods510.scala @@ -77,7 +77,7 @@ trait APIMethods510 { EmptyBody, apiInfoJson400, List(UnknownError, "no connector set"), - apiTagApi :: apiTagNewStyle :: Nil) + apiTagApi :: Nil) def root (apiVersion : ApiVersion, apiVersionStatus: String) : OBPEndpoint = { case (Nil | "root" :: Nil) JsonGet _ => { @@ -105,7 +105,7 @@ trait APIMethods510 { EmptyBody, WaitingForGodotJsonV510(sleep_in_milliseconds = 50), List(UnknownError, "no connector set"), - apiTagApi :: apiTagNewStyle :: Nil) + apiTagApi :: Nil) lazy val waitingForGodot: OBPEndpoint = { case "waiting-for-godot" :: Nil JsonGet _ => { @@ -139,7 +139,7 @@ trait APIMethods510 { UserHasMissingRoles, UnknownError ), - List(apiTagApiCollection, apiTagNewStyle), + List(apiTagApiCollection), Some(canGetAllApiCollections :: Nil) ) @@ -173,7 +173,7 @@ trait APIMethods510 { UserHasMissingRoles, UnknownError ), - List(apiTagSystemIntegrity, apiTagNewStyle), + List(apiTagSystemIntegrity), Some(canGetSystemIntegrity :: Nil) ) @@ -209,7 +209,7 @@ trait APIMethods510 { UserHasMissingRoles, UnknownError ), - List(apiTagSystemIntegrity, apiTagNewStyle), + List(apiTagSystemIntegrity), Some(canGetSystemIntegrity :: Nil) ) @@ -246,7 +246,7 @@ trait APIMethods510 { UserHasMissingRoles, UnknownError ), - List(apiTagSystemIntegrity, apiTagNewStyle), + List(apiTagSystemIntegrity), Some(canGetSystemIntegrity :: Nil) ) @@ -282,7 +282,7 @@ trait APIMethods510 { UserHasMissingRoles, UnknownError ), - List(apiTagSystemIntegrity, apiTagNewStyle), + List(apiTagSystemIntegrity), Some(canGetSystemIntegrity :: Nil) ) @@ -317,7 +317,7 @@ trait APIMethods510 { $UserNotLoggedIn, UnknownError ), - List(apiTagFx, apiTagNewStyle) + List(apiTagFx) ) lazy val getCurrenciesAtBank: OBPEndpoint = { @@ -356,7 +356,7 @@ trait APIMethods510 { UserHasMissingRoles, UnknownError ), - List(apiTagSystemIntegrity, apiTagNewStyle), + List(apiTagSystemIntegrity), Some(canGetSystemIntegrity :: Nil) ) @@ -408,7 +408,7 @@ trait APIMethods510 { InvalidJsonFormat, UnknownError ), - List(apiTagATM, apiTagNewStyle), + List(apiTagATM), Some(List(canCreateAtmAttribute, canCreateAtmAttributeAtAnyBank)) ) @@ -462,7 +462,7 @@ trait APIMethods510 { InvalidJsonFormat, UnknownError ), - List(apiTagATM, apiTagNewStyle), + List(apiTagATM), Some(List(canGetAtmAttribute, canGetAtmAttributeAtAnyBank)) ) @@ -498,7 +498,7 @@ trait APIMethods510 { InvalidJsonFormat, UnknownError ), - List(apiTagATM, apiTagNewStyle), + List(apiTagATM), Some(List(canGetAtmAttribute, canGetAtmAttributeAtAnyBank)) ) @@ -537,7 +537,7 @@ trait APIMethods510 { UserHasMissingRoles, UnknownError ), - List(apiTagATM, apiTagNewStyle), + List(apiTagATM), Some(List(canUpdateAtmAttribute, canUpdateAtmAttributeAtAnyBank)) ) @@ -595,7 +595,7 @@ trait APIMethods510 { UserHasMissingRoles, UnknownError ), - List(apiTagATM, apiTagNewStyle), + List(apiTagATM), Some(List(canDeleteAtmAttribute, canDeleteAtmAttributeAtAnyBank)) ) @@ -641,7 +641,7 @@ trait APIMethods510 { BankNotFound, UnknownError ), - List(apiTagConsent, apiTagPSD2AIS, apiTagPsd2, apiTagNewStyle), + List(apiTagConsent, apiTagPSD2AIS, apiTagPsd2), Some(List(canRevokeConsentAtBank)) ) @@ -694,7 +694,7 @@ trait APIMethods510 { BankNotFound, UnknownError ), - List(apiTagConsent, apiTagPSD2AIS, apiTagPsd2, apiTagNewStyle) + List(apiTagConsent, apiTagPSD2AIS, apiTagPsd2) ) lazy val selfRevokeConsent: OBPEndpoint = { case "my" :: "consent" :: "current" :: Nil JsonDelete _ => { @@ -735,7 +735,7 @@ trait APIMethods510 { BankNotFound, UnknownError ), - List(apiTagConsent, apiTagPSD2AIS, apiTagPsd2, apiTagNewStyle) + List(apiTagConsent, apiTagPSD2AIS, apiTagPsd2) ) lazy val mtlsClientCertificateInfo: OBPEndpoint = { case "my" :: "mtls" :: "certificate" :: "current" :: Nil JsonGet _ => { @@ -771,7 +771,7 @@ trait APIMethods510 { UserNotFoundByUserId, UnknownError ), - List(apiTagApiCollection, apiTagNewStyle) + List(apiTagApiCollection) ) lazy val updateMyApiCollection: OBPEndpoint = { @@ -813,7 +813,7 @@ trait APIMethods510 { EmptyBody, userJsonV400, List($UserNotLoggedIn, UserHasMissingRoles, UserNotFoundByProviderAndUsername, UnknownError), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canGetAnyUser)) ) @@ -847,7 +847,7 @@ trait APIMethods510 { EmptyBody, badLoginStatusJson, List(UserNotLoggedIn, UserNotFoundByProviderAndUsername, UserHasMissingRoles, UnknownError), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canReadUserLockedStatus)) ) lazy val getUserLockStatus: OBPEndpoint = { @@ -889,7 +889,7 @@ trait APIMethods510 { EmptyBody, badLoginStatusJson, List(UserNotLoggedIn, UserNotFoundByProviderAndUsername, UserHasMissingRoles, UnknownError), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canUnlockUser))) lazy val unlockUserByProviderAndUsername: OBPEndpoint = { //get private accounts for all banks @@ -934,7 +934,7 @@ trait APIMethods510 { EmptyBody, userLockStatusJson, List($UserNotLoggedIn, UserNotFoundByProviderAndUsername, UserHasMissingRoles, UnknownError), - List(apiTagUser, apiTagNewStyle), + List(apiTagUser), Some(List(canLockUser))) lazy val lockUserByProviderAndUsername: OBPEndpoint = { case "users" :: provider :: username :: "locks" :: Nil JsonPost req => { @@ -1007,7 +1007,7 @@ trait APIMethods510 { UserHasMissingRoles, UnknownError ), - List(apiTagMetric, apiTagAggregateMetrics, apiTagNewStyle), + List(apiTagMetric, apiTagAggregateMetrics), Some(List(canReadAggregateMetrics))) lazy val getAggregateMetrics: OBPEndpoint = { @@ -1044,7 +1044,7 @@ trait APIMethods510 { InvalidJsonFormat, UnknownError ), - List(apiTagATM, apiTagNewStyle), + List(apiTagATM), Some(List(canCreateAtm, canCreateAtmAtAnyBank)) ) lazy val createAtm: OBPEndpoint = { @@ -1086,7 +1086,7 @@ trait APIMethods510 { InvalidJsonFormat, UnknownError ), - List(apiTagATM, apiTagNewStyle), + List(apiTagATM), Some(List(canUpdateAtm, canUpdateAtmAtAnyBank)) ) lazy val updateAtm: OBPEndpoint = { @@ -1137,7 +1137,7 @@ trait APIMethods510 { $BankNotFound, UnknownError ), - List(apiTagATM, apiTagNewStyle) + List(apiTagATM) ) lazy val getAtms: OBPEndpoint = { case "banks" :: BankId(bankId) :: "atms" :: Nil JsonGet _ => { @@ -1197,7 +1197,7 @@ trait APIMethods510 { EmptyBody, atmJsonV510, List(UserNotLoggedIn, BankNotFound, AtmNotFoundByAtmId, UnknownError), - List(apiTagATM, apiTagNewStyle) + List(apiTagATM) ) lazy val getAtm: OBPEndpoint = { case "banks" :: BankId(bankId) :: "atms" :: AtmId(atmId) :: Nil JsonGet req => { @@ -1234,7 +1234,7 @@ trait APIMethods510 { $UserNotLoggedIn, UnknownError ), - List(apiTagATM, apiTagNewStyle), + List(apiTagATM), Some(List(canDeleteAtmAtAnyBank, canDeleteAtm)) ) lazy val deleteAtm: OBPEndpoint = {