diff --git a/json/ManagementService-v1.json b/json/ManagementService-v1.json index 6ee081e6..c05b80da 100644 --- a/json/ManagementService-v1.json +++ b/json/ManagementService-v1.json @@ -15238,7 +15238,7 @@ "type" : "string" }, "errorCode" : { - "description" : "The error code of the app. It exists if the status is error or invalid.", + "description" : "The error code of the Android app with the `status` of either **error** or **invalid**.", "type" : "string" }, "id" : { diff --git a/json/ManagementService-v3.json b/json/ManagementService-v3.json index 0e74b006..66bcda04 100644 --- a/json/ManagementService-v3.json +++ b/json/ManagementService-v3.json @@ -15635,9 +15635,20 @@ "type" : "string" }, "errorCode" : { - "description" : "The error code of the app. It exists if the status is error or invalid.", + "deprecated" : true, + "x-deprecatedInVersion" : "3", + "x-deprecatedMessage" : "Use `errors` instead.", + "description" : "The error code of the Android app with the `status` of either **error** or **invalid**.", "type" : "string" }, + "errors" : { + "x-addedInVersion" : "3", + "description" : "The list of errors of the Android app.", + "items" : { + "$ref" : "#/components/schemas/AndroidAppError" + }, + "type" : "array" + }, "id" : { "description" : "The unique identifier of the app.", "type" : "string" @@ -15670,6 +15681,23 @@ ], "type" : "object" }, + "AndroidAppError" : { + "additionalProperties" : false, + "properties" : { + "errorCode" : { + "description" : "The error code of the Android app with the `status` of either **error** or **invalid**.", + "type" : "string" + }, + "terminalModels" : { + "description" : "The list of payment terminal models to which the returned `errorCode` applies.", + "items" : { + "type" : "string" + }, + "type" : "array" + } + }, + "type" : "object" + }, "AndroidAppsResponse" : { "additionalProperties" : false, "properties" : { diff --git a/yaml/ManagementService-v1.yaml b/yaml/ManagementService-v1.yaml index 8e2e69a1..8287e835 100644 --- a/yaml/ManagementService-v1.yaml +++ b/yaml/ManagementService-v1.yaml @@ -10003,8 +10003,8 @@ components: description is not shown on the terminal. type: string errorCode: - description: The error code of the app. It exists if the status is error - or invalid. + description: The error code of the Android app with the `status` of either + **error** or **invalid**. type: string id: description: The unique identifier of the app. diff --git a/yaml/ManagementService-v3.yaml b/yaml/ManagementService-v3.yaml index 3ee09427..6960464b 100644 --- a/yaml/ManagementService-v3.yaml +++ b/yaml/ManagementService-v3.yaml @@ -10257,9 +10257,18 @@ components: description is not shown on the terminal. type: string errorCode: - description: The error code of the app. It exists if the status is error - or invalid. + deprecated: true + x-deprecatedInVersion: '3' + x-deprecatedMessage: Use `errors` instead. + description: The error code of the Android app with the `status` of either + **error** or **invalid**. type: string + errors: + x-addedInVersion: '3' + description: The list of errors of the Android app. + items: + $ref: '#/components/schemas/AndroidAppError' + type: array id: description: The unique identifier of the app. type: string @@ -10289,6 +10298,20 @@ components: - id - status type: object + AndroidAppError: + additionalProperties: false + properties: + errorCode: + description: The error code of the Android app with the `status` of either + **error** or **invalid**. + type: string + terminalModels: + description: The list of payment terminal models to which the returned `errorCode` + applies. + items: + type: string + type: array + type: object AndroidAppsResponse: additionalProperties: false properties: