diff --git a/infra/apim_v2/api/external_api_contract/v1/openapi.uat.json b/infra/apim_v2/api/external_api_contract/v1/openapi.uat.json index 46aa4915..86f9a317 100644 --- a/infra/apim_v2/api/external_api_contract/v1/openapi.uat.json +++ b/infra/apim_v2/api/external_api_contract/v1/openapi.uat.json @@ -40,7 +40,7 @@ "name": "productId", "in": "query", "description": "Product's unique identifier", - "required": true, + "required": false, "style": "form", "schema": { "type": "string" diff --git a/infra/apim_v2/api/ms_external_api/v2/openapi.uat.json b/infra/apim_v2/api/ms_external_api/v2/openapi.uat.json index 358dde0f..2bb1fa59 100644 --- a/infra/apim_v2/api/ms_external_api/v2/openapi.uat.json +++ b/infra/apim_v2/api/ms_external_api/v2/openapi.uat.json @@ -174,7 +174,7 @@ ] } }, - "/institutions/": { + "/institutions": { "get": { "tags": [ "Institution" @@ -265,91 +265,6 @@ ] } }, - "/institutions": { - "get": { - "tags": [ - "Institution" - ], - "summary": "getInstitutions", - "deprecated": true, - "description": "The service retrieves all the onboarded institutions related to the provided user and the product retrieved from Subscription Key. It is deprecated in favor of endpoint /users?institutionId={institutionId}", - "operationId": "getInstitutionsUsingGETDeprecated", - "parameters": [ - { - "name": "userIdForAuth", - "in": "query", - "description": "User's unique identifier", - "required": true, - "style": "form", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InstitutionResource" - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/problem+json": { - "schema": { - "$ref": "#/components/schemas/Problem" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/problem+json": { - "schema": { - "$ref": "#/components/schemas/Problem" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/problem+json": { - "schema": { - "$ref": "#/components/schemas/Problem" - } - } - } - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/problem+json": { - "schema": { - "$ref": "#/components/schemas/Problem" - } - } - } - } - }, - "security": [ - { - "bearerAuth": [ - "global" - ] - } - ] - } - }, "/institutions/{id}": { "get": { "tags": [ @@ -2544,218 +2459,6 @@ } } }, - "InstitutionResource": { - "title": "InstitutionResource", - "type": "object", - "properties": { - "address": { - "type": "string", - "description": "Institution's physical address" - }, - "aooParentCode": { - "type": "string", - "description": "AOO unit parent institution Code" - }, - "assistanceContacts": { - "description": "Institution's assistance contacts", - "$ref": "#/components/schemas/AssistanceContactsResource" - }, - "city": { - "type": "string", - "description": "Institution's physical address city" - }, - "companyInformations": { - "description": "GPS, SCP, PT optional data", - "$ref": "#/components/schemas/CompanyInformationsResource" - }, - "country": { - "type": "string", - "description": "Institution's physical address country" - }, - "county": { - "type": "string", - "description": "Institution's physical address county" - }, - "description": { - "type": "string", - "description": "Institution's legal name" - }, - "digitalAddress": { - "type": "string", - "description": "Institution's digitalAddress" - }, - "dpoData": { - "description": "Data Protection Officer (DPO) specific data", - "$ref": "#/components/schemas/DpoDataResource" - }, - "externalId": { - "type": "string", - "description": "Institution's unique external identifier" - }, - "id": { - "type": "string", - "description": "Institution's unique internal Id", - "format": "uuid" - }, - "institutionType": { - "type": "string", - "description": "Institution's type", - "enum": [ - "AS", - "GSP", - "PA", - "PG", - "PSP", - "PT", - "SA", - "SCP", - "REC", - "CON" - ] - }, - "origin": { - "type": "string", - "description": "Institution data origin" - }, - "originId": { - "type": "string", - "description": "Institution's details origin Id" - }, - "pspData": { - "description": "Payment Service Provider (PSP) specific data", - "$ref": "#/components/schemas/PspDataResource" - }, - "recipientCode": { - "type": "string", - "description": "Billing recipient code, not required only for institutionType SA" - }, - "rootParent": { - "description": "Institution AOO/UO root institutionDescription", - "$ref": "#/components/schemas/RootParentResource" - }, - "status": { - "type": "string", - "description": "Institution onboarding status" - }, - "subunitCode": { - "type": "string", - "description": "Institutions AOO/UO unit Code" - }, - "subunitType": { - "type": "string", - "description": "Institutions AOO/UO unit type" - }, - "taxCode": { - "type": "string", - "description": "Institution's taxCode" - }, - "userProductRoles": { - "type": "array", - "description": "Logged user's roles on product", - "items": { - "type": "string" - } - }, - "zipCode": { - "type": "string", - "description": "Institution's zipCode" - } - } - }, - "AssistanceContactsResource": { - "title": "AssistanceContactsResource", - "type": "object", - "properties": { - "supportEmail": { - "type": "string", - "description": "Institution's support email contact" - }, - "supportPhone": { - "type": "string", - "description": "Institution's support phone contact" - } - } - }, - "CompanyInformationsResource": { - "title": "CompanyInformationsResource", - "type": "object", - "properties": { - "businessRegisterPlace": { - "type": "string", - "description": "Institution's business register place" - }, - "rea": { - "type": "string", - "description": "Institution's REA" - }, - "shareCapital": { - "type": "string", - "description": "Institution's share capital value" - } - } - },"DpoDataResource": { - "title": "DpoDataResource", - "type": "object", - "properties": { - "address": { - "type": "string", - "description": "DPO's address" - }, - "email": { - "type": "string", - "description": "DPO's email", - "format": "email", - "example": "email@example.com" - }, - "pec": { - "type": "string", - "description": "DPO's PEC", - "format": "email", - "example": "email@example.com" - } - } - }, - "RootParentResource": { - "title": "RootParentResource", - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "swagger.external_api.institutions.model.parentDescription" - }, - "id": { - "type": "string", - "description": "Institution's unique internal Id" - } - } - }, - "PspDataResource": { - "title": "PspDataResource", - "type": "object", - "properties": { - "abiCode": { - "type": "string", - "description": "PSP's ABI code" - }, - "businessRegisterNumber": { - "type": "string", - "description": "PSP's Business Register number" - }, - "legalRegisterName": { - "type": "string", - "description": "PSP's legal register name" - }, - "legalRegisterNumber": { - "type": "string", - "description": "PSP's legal register number" - }, - "vatNumberGroup": { - "type": "boolean", - "description": "PSP's Vat Number group", - "example": false - } - } - }, "UserGroupResource": { "title": "UserGroupResource", "required": [ diff --git a/infra/apim_v2/api/ms_internal_api/v1/openapi.uat.json b/infra/apim_v2/api/ms_internal_api/v1/openapi.uat.json index 717e2c67..3bd20e34 100644 --- a/infra/apim_v2/api/ms_internal_api/v1/openapi.uat.json +++ b/infra/apim_v2/api/ms_internal_api/v1/openapi.uat.json @@ -360,14 +360,14 @@ "name": "productId", "in": "query", "description": "Product's unique identifier", - "required": true, + "required": false, "style": "form", "schema": { "type": "string" } }, { - "name": "userId", + "name": "userIdForAuth", "in": "query", "description": "User's unique identifier", "required": false, @@ -379,7 +379,7 @@ { "name": "productRoles", "in": "query", - "description": "User's roles in product", + "description": "Specific role of the user related to the product.", "required": false, "style": "form", "explode": true, @@ -1266,6 +1266,7 @@ "type": "string", "description": "User's role", "enum": [ + "ADMIN_EA", "DELEGATE", "MANAGER", "OPERATOR", @@ -1327,6 +1328,7 @@ "GSP", "PA", "PG", + "PRV", "PSP", "PT", "REC", @@ -1584,6 +1586,7 @@ "type": "string", "description": "User's role", "enum": [ + "ADMIN_EA", "DELEGATE", "MANAGER", "OPERATOR", @@ -1629,6 +1632,7 @@ "role": { "type": "string", "enum": [ + "ADMIN_EA", "DELEGATE", "MANAGER", "OPERATOR", @@ -1709,6 +1713,7 @@ "GSP", "PA", "PG", + "PRV", "PSP", "PT", "REC", @@ -1858,6 +1863,7 @@ "role": { "type": "string", "enum": [ + "ADMIN_EA", "DELEGATE", "MANAGER", "OPERATOR", diff --git a/infra/apim_v2/api/selfcare_support_service/v1/openapi.uat.json b/infra/apim_v2/api/selfcare_support_service/v1/openapi.uat.json index 0cd4ec5a..ece15d8e 100644 --- a/infra/apim_v2/api/selfcare_support_service/v1/openapi.uat.json +++ b/infra/apim_v2/api/selfcare_support_service/v1/openapi.uat.json @@ -562,7 +562,7 @@ "name": "productId", "in": "query", "description": "Product's unique identifier", - "required": true, + "required": false, "style": "form", "schema": { "type": "string" @@ -1844,6 +1844,7 @@ "role": { "type": "string", "enum": [ + "ADMIN_EA", "DELEGATE", "MANAGER", "OPERATOR", @@ -1924,6 +1925,7 @@ "GSP", "PA", "PG", + "PRV", "PSP", "PT", "REC", @@ -2073,6 +2075,7 @@ "role": { "type": "string", "enum": [ + "ADMIN_EA", "DELEGATE", "MANAGER", "OPERATOR", @@ -2205,6 +2208,7 @@ "GSP", "PA", "PG", + "PRV", "PSP", "PT", "REC", @@ -2305,6 +2309,7 @@ "role": { "type": "string", "enum": [ + "ADMIN_EA", "DELEGATE", "MANAGER", "OPERATOR", @@ -2359,6 +2364,7 @@ "GSP", "PA", "PG", + "PRV", "PSP", "PT", "REC", @@ -2418,6 +2424,7 @@ "type": "string", "description": "User's role", "enum": [ + "ADMIN_EA", "DELEGATE", "MANAGER", "OPERATOR", @@ -2597,7 +2604,8 @@ "PSP", "AS", "REC", - "CON" + "CON", + "PRV" ], "type": "string" }, @@ -2618,7 +2626,8 @@ "UNKNOWN", "ADE", "INFOCAMERE", - "IVASS" + "IVASS", + "PDND_INFOCAMERE" ], "type": "string" }, diff --git a/infra/apim_v2/api_pnpg/external_api_for_pnpg/v2/openapi.uat.json b/infra/apim_v2/api_pnpg/external_api_for_pnpg/v2/openapi.uat.json index 045a5fad..a9b94c82 100644 --- a/infra/apim_v2/api_pnpg/external_api_for_pnpg/v2/openapi.uat.json +++ b/infra/apim_v2/api_pnpg/external_api_for_pnpg/v2/openapi.uat.json @@ -284,14 +284,14 @@ "name": "productId", "in": "query", "description": "Product's unique identifier", - "required": true, + "required": false, "style": "form", "schema": { "type": "string" } }, { - "name": "userId", + "name": "userIdForAuth", "in": "query", "description": "User's unique identifier", "required": false, diff --git a/infra/apim_v2/api_pnpg/pnpg_support_service/v1/openapi.uat.json b/infra/apim_v2/api_pnpg/pnpg_support_service/v1/openapi.uat.json index eb410f98..69827832 100644 --- a/infra/apim_v2/api_pnpg/pnpg_support_service/v1/openapi.uat.json +++ b/infra/apim_v2/api_pnpg/pnpg_support_service/v1/openapi.uat.json @@ -1033,6 +1033,7 @@ "GSP", "PA", "PG", + "PRV", "PSP", "PT", "REC", @@ -1114,6 +1115,7 @@ "type": "string", "description": "User's role", "enum": [ + "ADMIN_EA", "DELEGATE", "MANAGER", "OPERATOR",