From cf5dc0a00187c8776467b4fe771c5c9df0e9312c Mon Sep 17 00:00:00 2001 From: Thepworth95 <56401451+Thepworth95@users.noreply.github.com> Date: Mon, 20 Mar 2023 14:15:37 +0000 Subject: [PATCH] update write scope --- .../conf/0.1/schemas/PaymentIndicator.json | 10 ------ .../conf/0.1/schemas/VatReturnResponse.json | 36 ------------------- .../public/api/conf/1.0/application.yaml | 2 +- 3 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 resources/public/api/conf/0.1/schemas/PaymentIndicator.json delete mode 100644 resources/public/api/conf/0.1/schemas/VatReturnResponse.json diff --git a/resources/public/api/conf/0.1/schemas/PaymentIndicator.json b/resources/public/api/conf/0.1/schemas/PaymentIndicator.json deleted file mode 100644 index 2da184b7..00000000 --- a/resources/public/api/conf/0.1/schemas/PaymentIndicator.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "payment-indicator", - "description": "DD - if customer is on Direct Debit BANK - customer has provided bank details.", - "oneOf": [ - { "enum": ["DD"], "description": "Direct Debit"}, - { "enum": ["BANK"], "description": "Bank details"} - ], - "example": "DD" -} \ No newline at end of file diff --git a/resources/public/api/conf/0.1/schemas/VatReturnResponse.json b/resources/public/api/conf/0.1/schemas/VatReturnResponse.json deleted file mode 100644 index 821ae52a..00000000 --- a/resources/public/api/conf/0.1/schemas/VatReturnResponse.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Submit 9 Box Return Response", - "description": "Submit 9 Box Return Response", - "type": "object", - "properties": { - "processingDate": { - "description": "The date the message was processed.", - "type": "string", - "format": "date-time" - }, - "paymentIndicator": { - "$ref": "PaymentIndicator.json" - }, - "formBundleNumber": { - "description": "Form bundle number.", - "type": "string", - "minLength": 1, - "maxLength": 10, - "pattern":"^[0-9]{12}$", - "example": "123456789234" - }, - "chargeRefNumber": { - "description": "Not populated for NIL return, or when the submission relates to a claim.", - "type": "string", - "minLength": 1, - "maxLength": 16, - "example": "abc" - } - }, - "required": [ - "processingDate", - "formBundleNumber" - ], - "additionalProperties": false -} diff --git a/resources/public/api/conf/1.0/application.yaml b/resources/public/api/conf/1.0/application.yaml index 73bd8bcf..b4c14d66 100644 --- a/resources/public/api/conf/1.0/application.yaml +++ b/resources/public/api/conf/1.0/application.yaml @@ -2201,7 +2201,7 @@ components: authorizationUrl: https://api.service.hmrc.gov.uk/oauth/authorize tokenUrl: https://api.service.hmrc.gov.uk/oauth/token refreshUrl: https://api.service.hmrc.gov.uk/oauth/refresh - scopes: { write:insolvent-vat, read:vat } + scopes: { write:vat, read:vat } applicationRestricted: type: oauth2 description: |