From f5df9536aea416e6b2d38cdbf87431a2b838f78c Mon Sep 17 00:00:00 2001
From: manuraf <12083207+manuraf@users.noreply.github.com>
Date: Tue, 3 Dec 2024 14:37:33 +0000
Subject: [PATCH] Update openapi

---
 .../api/ms_internal_api/v1/openapi.prod.json  | 34 ++++++++++++++
 .../v1/openapi.prod.json                      | 46 +++++++++++++++++++
 .../v2/openapi.prod.json                      |  3 ++
 .../pnpg_support_service/v1/openapi.prod.json | 13 ++++++
 4 files changed, 96 insertions(+)

diff --git a/infra/apim_v2/api/ms_internal_api/v1/openapi.prod.json b/infra/apim_v2/api/ms_internal_api/v1/openapi.prod.json
index 5305e8d5..6a94de04 100644
--- a/infra/apim_v2/api/ms_internal_api/v1/openapi.prod.json
+++ b/infra/apim_v2/api/ms_internal_api/v1/openapi.prod.json
@@ -1485,6 +1485,10 @@
               "$ref": "#/components/schemas/GeographicTaxonomyDto"
             }
           },
+          "gpuData": {
+            "description": "GPU specific data",
+            "$ref": "#/components/schemas/GPUData"
+          },
           "institutionLocationData": {
             "description": "Institution's location Data",
             "$ref": "#/components/schemas/InstitutionLocationDataDto"
@@ -1680,6 +1684,36 @@
           }
         }
       },
+      "GPUData": {
+        "title": "GPUData",
+        "type": "object",
+        "properties": {
+          "businessRegisterNumber": {
+            "type": "string"
+          },
+          "institutionCourtMeasures": {
+            "type": "boolean"
+          },
+          "legalRegisterName": {
+            "type": "string"
+          },
+          "legalRegisterNumber": {
+            "type": "string"
+          },
+          "manager": {
+            "type": "boolean"
+          },
+          "managerAuthorized": {
+            "type": "boolean"
+          },
+          "managerEligible": {
+            "type": "boolean"
+          },
+          "managerProsecution": {
+            "type": "boolean"
+          }
+        }
+      },
       "InstitutionLocationDataDto": {
         "title": "InstitutionLocationDataDto",
         "type": "object",
diff --git a/infra/apim_v2/api/selfcare_support_service/v1/openapi.prod.json b/infra/apim_v2/api/selfcare_support_service/v1/openapi.prod.json
index 407235ee..f1b4f15d 100644
--- a/infra/apim_v2/api/selfcare_support_service/v1/openapi.prod.json
+++ b/infra/apim_v2/api/selfcare_support_service/v1/openapi.prod.json
@@ -226,6 +226,16 @@
             "schema": {
               "type": "string"
             }
+          },
+          {
+            "name": "productId",
+            "in": "query",
+            "description": "productId",
+            "required": false,
+            "style": "form",
+            "schema": {
+              "type": "string"
+            }
           }
         ],
         "responses": {
@@ -1776,6 +1786,9 @@
           "email": {
             "type": "string"
           },
+          "mobilePhone": {
+            "type": "string"
+          },
           "workContacts": {
             "type": "object",
             "additionalProperties": {
@@ -2179,6 +2192,9 @@
               "$ref": "#/components/schemas/GeographicTaxonomy"
             }
           },
+          "gpuData": {
+            "$ref": "#/components/schemas/GPUData"
+          },
           "imported": {
             "type": "boolean"
           },
@@ -2248,6 +2264,36 @@
           }
         }
       },
+      "GPUData": {
+        "title": "GPUData",
+        "type": "object",
+        "properties": {
+          "businessRegisterNumber": {
+            "type": "string"
+          },
+          "institutionCourtMeasures": {
+            "type": "boolean"
+          },
+          "legalRegisterName": {
+            "type": "string"
+          },
+          "legalRegisterNumber": {
+            "type": "string"
+          },
+          "manager": {
+            "type": "boolean"
+          },
+          "managerAuthorized": {
+            "type": "boolean"
+          },
+          "managerEligible": {
+            "type": "boolean"
+          },
+          "managerProsecution": {
+            "type": "boolean"
+          }
+        }
+      },
       "PaymentServiceProvider": {
         "title": "PaymentServiceProvider",
         "type": "object",
diff --git a/infra/apim_v2/api_pnpg/external_api_for_pnpg/v2/openapi.prod.json b/infra/apim_v2/api_pnpg/external_api_for_pnpg/v2/openapi.prod.json
index a618a6f3..d239623b 100644
--- a/infra/apim_v2/api_pnpg/external_api_for_pnpg/v2/openapi.prod.json
+++ b/infra/apim_v2/api_pnpg/external_api_for_pnpg/v2/openapi.prod.json
@@ -1135,6 +1135,9 @@
           "email": {
             "type": "string"
           },
+          "mobilePhone": {
+            "type": "string"
+          },
           "workContacts": {
             "type": "object",
             "additionalProperties": {
diff --git a/infra/apim_v2/api_pnpg/pnpg_support_service/v1/openapi.prod.json b/infra/apim_v2/api_pnpg/pnpg_support_service/v1/openapi.prod.json
index 819d3646..344c7f74 100644
--- a/infra/apim_v2/api_pnpg/pnpg_support_service/v1/openapi.prod.json
+++ b/infra/apim_v2/api_pnpg/pnpg_support_service/v1/openapi.prod.json
@@ -77,6 +77,16 @@
             "schema": {
               "type": "string"
             }
+          },
+          {
+            "name": "productId",
+            "in": "query",
+            "description": "productId",
+            "required": false,
+            "style": "form",
+            "schema": {
+              "type": "string"
+            }
           }
         ],
         "responses": {
@@ -1217,6 +1227,9 @@
           "email": {
             "type": "string"
           },
+          "mobilePhone": {
+            "type": "string"
+          },
           "workContacts": {
             "type": "object",
             "additionalProperties": {