diff --git a/changelog.md b/changelog.md index 4155a62..1cb6356 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # Changelog +## 2025-04-25 - 5.0.2 - fix(platformservice/mta) +Refactor email status response in MTA service + +- Updated IReq_CheckEmailStatus response: replaced union type ('ok' | 'not ok') with fixed status 'unknown' and added a details object with message 'Email not found'. + ## 2025-04-25 - 5.0.1 - fix(mta) Update email stats response interface in mta platform service to include totalEmailsSent, totalEmailsDelivered, totalEmailsBounced, averageDeliveryTimeMs, and lastUpdated timestamp. diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 7ef78b3..28ffd9b 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@serve.zone/cloudly', - version: '5.0.1', + version: '5.0.2', description: 'A comprehensive tool for managing containerized applications across multiple cloud providers using Docker Swarmkit, featuring web, CLI, and API interfaces.' } diff --git a/ts_interfaces/platformservice/mta.ts b/ts_interfaces/platformservice/mta.ts index ec0fce6..7c8138e 100644 --- a/ts_interfaces/platformservice/mta.ts +++ b/ts_interfaces/platformservice/mta.ts @@ -47,7 +47,8 @@ export interface IReq_CheckEmailStatus extends plugins.typedrequestInterfaces.im emailId: string; }; response: { - status: 'ok' | 'not ok'; + status: 'unknown', + details: { message: 'Email not found' } }; } diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index 7ef78b3..28ffd9b 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@serve.zone/cloudly', - version: '5.0.1', + version: '5.0.2', description: 'A comprehensive tool for managing containerized applications across multiple cloud providers using Docker Swarmkit, featuring web, CLI, and API interfaces.' }