From 01eb93307419f403f3fc359a6a785c570f18fa8f Mon Sep 17 00:00:00 2001 From: Tom D'Roza <83403414+tdroza-nhs@users.noreply.github.com> Date: Mon, 28 Apr 2025 16:03:29 +0100 Subject: [PATCH 1/5] CCM-9861: [API docs] Override `channelStatus` enum values when used in MessageStatus callback (#934) --- specification/schemas/components/MessageStatus.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/schemas/components/MessageStatus.yaml b/specification/schemas/components/MessageStatus.yaml index ae4b39793..dd9f9891a 100644 --- a/specification/schemas/components/MessageStatus.yaml +++ b/specification/schemas/components/MessageStatus.yaml @@ -29,6 +29,9 @@ properties: $ref: ../enums/ChannelType.yaml channelStatus: $ref: ../enums/ChannelStatus.yaml + enum: + - delivered + - failed timestamp: type: string description: Timestamp of the callback event. From 1b89b4857a309a90df9f59daf52b5b67577e8628 Mon Sep 17 00:00:00 2001 From: "mark.slowey1" Date: Fri, 2 May 2025 10:34:23 +0100 Subject: [PATCH 2/5] CCM-9521: SMS Api Docs for international support --- specification/schemas/components/Recipient.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/schemas/components/Recipient.yaml b/specification/schemas/components/Recipient.yaml index 3e1c29b55..cc7d0ccff 100644 --- a/specification/schemas/components/Recipient.yaml +++ b/specification/schemas/components/Recipient.yaml @@ -22,7 +22,7 @@ properties: example: "recipient@nhs.net" sms: type: string - description: Overriding UK mobile telephone number for recipient. Must be a valid UK mobile number format (with or without international access code). + description: Overriding mobile telephone number for recipient. Must be a valid UK (starting 07* or 447*) or international (starting with country access code) format mobile number. example: "07777777777" address: type: object From 28e0d3b6c9ce41c64996d4055eaa2771a8465c59 Mon Sep 17 00:00:00 2001 From: "mark.slowey1" Date: Fri, 2 May 2025 13:21:48 +0100 Subject: [PATCH 3/5] CCM-9521: Wording suggestion --- specification/schemas/components/Recipient.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/schemas/components/Recipient.yaml b/specification/schemas/components/Recipient.yaml index cc7d0ccff..d475c60ed 100644 --- a/specification/schemas/components/Recipient.yaml +++ b/specification/schemas/components/Recipient.yaml @@ -22,7 +22,7 @@ properties: example: "recipient@nhs.net" sms: type: string - description: Overriding mobile telephone number for recipient. Must be a valid UK (starting 07* or 447*) or international (starting with country access code) format mobile number. + description: Overriding mobile telephone number for recipient. Must be a valid mobile number in either UK format (with or without a country code) or international format (starting with a country code). example: "07777777777" address: type: object From 60cd8348fd03d48548cc2708668a70946bf3dbce Mon Sep 17 00:00:00 2001 From: "mark.slowey1" Date: Tue, 6 May 2025 16:35:22 +0100 Subject: [PATCH 4/5] CCM-9521: Clarity and add link --- specification/schemas/components/Recipient.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/specification/schemas/components/Recipient.yaml b/specification/schemas/components/Recipient.yaml index d475c60ed..2b010ca06 100644 --- a/specification/schemas/components/Recipient.yaml +++ b/specification/schemas/components/Recipient.yaml @@ -22,7 +22,10 @@ properties: example: "recipient@nhs.net" sms: type: string - description: Overriding mobile telephone number for recipient. Must be a valid mobile number in either UK format (with or without a country code) or international format (starting with a country code). + description: |+ + Overriding mobile number for the recipient. Must be in a valid UK format or international format with a country code. + + Learn more about [sending text messages to international numbers](https://notify.nhs.uk/pricing/text-messages#sending-text-messages-to-international-numbers). example: "07777777777" address: type: object From c82e70acbba8e7adf64c812ab0ec7a098d7a4969 Mon Sep 17 00:00:00 2001 From: ClareJonesBJSS Date: Fri, 9 May 2025 10:45:06 +0100 Subject: [PATCH 5/5] +minor