@serve.zone/interfaces 7.20.0 → 7.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +8 -0
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/requests/mail.d.ts +32 -0
- package/package.json +1 -1
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/requests/mail.ts +38 -0
package/changelog.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-06-11 - 7.21.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- add Cloudly mail overview request interfaces (mail)
|
|
8
|
+
- Adds interfaces for mail overview domains and recent email queue entries.
|
|
9
|
+
- Defines the getMailOverview typed request contract with configuration status, gateway URL, domains, emails, and error text.
|
|
10
|
+
|
|
3
11
|
## 2026-06-11 - 7.20.0
|
|
4
12
|
|
|
5
13
|
### Features
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@serve.zone/interfaces',
|
|
6
|
-
version: '7.
|
|
6
|
+
version: '7.21.0',
|
|
7
7
|
description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHVGQUF1RjtDQUNyRyxDQUFBIn0=
|
|
@@ -199,3 +199,35 @@ export interface IReq_EnqueueMail extends plugins.typedrequestInterfaces.impleme
|
|
|
199
199
|
message?: string;
|
|
200
200
|
};
|
|
201
201
|
}
|
|
202
|
+
/**
|
|
203
|
+
* Cloudly admin UI mail overview, relayed from the hub dcrouter's ops API.
|
|
204
|
+
* Read-only summary: configured email domains and recent queue entries.
|
|
205
|
+
*/
|
|
206
|
+
export interface IMailOverviewDomain {
|
|
207
|
+
domain: string;
|
|
208
|
+
dnsMode?: string;
|
|
209
|
+
status?: string;
|
|
210
|
+
}
|
|
211
|
+
export interface IMailOverviewEmail {
|
|
212
|
+
id: string;
|
|
213
|
+
direction?: string;
|
|
214
|
+
from?: string;
|
|
215
|
+
to?: string;
|
|
216
|
+
subject?: string;
|
|
217
|
+
status?: string;
|
|
218
|
+
timestamp?: number;
|
|
219
|
+
}
|
|
220
|
+
export interface IReq_Any_Cloudly_GetMailOverview extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_GetMailOverview> {
|
|
221
|
+
method: 'getMailOverview';
|
|
222
|
+
request: {
|
|
223
|
+
identity: IIdentity;
|
|
224
|
+
};
|
|
225
|
+
response: {
|
|
226
|
+
/** False when no dcrouter ops API token is configured in settings. */
|
|
227
|
+
configured: boolean;
|
|
228
|
+
gatewayUrl?: string;
|
|
229
|
+
domains: IMailOverviewDomain[];
|
|
230
|
+
emails: IMailOverviewEmail[];
|
|
231
|
+
errorText?: string;
|
|
232
|
+
};
|
|
233
|
+
}
|
package/package.json
CHANGED
package/ts/00_commitinfo_data.ts
CHANGED
package/ts/requests/mail.ts
CHANGED
|
@@ -288,3 +288,41 @@ export interface IReq_EnqueueMail extends plugins.typedrequestInterfaces.impleme
|
|
|
288
288
|
message?: string;
|
|
289
289
|
};
|
|
290
290
|
}
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Cloudly admin UI mail overview, relayed from the hub dcrouter's ops API.
|
|
294
|
+
* Read-only summary: configured email domains and recent queue entries.
|
|
295
|
+
*/
|
|
296
|
+
export interface IMailOverviewDomain {
|
|
297
|
+
domain: string;
|
|
298
|
+
dnsMode?: string;
|
|
299
|
+
status?: string;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
export interface IMailOverviewEmail {
|
|
303
|
+
id: string;
|
|
304
|
+
direction?: string;
|
|
305
|
+
from?: string;
|
|
306
|
+
to?: string;
|
|
307
|
+
subject?: string;
|
|
308
|
+
status?: string;
|
|
309
|
+
timestamp?: number;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export interface IReq_Any_Cloudly_GetMailOverview extends plugins.typedrequestInterfaces.implementsTR<
|
|
313
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
314
|
+
IReq_Any_Cloudly_GetMailOverview
|
|
315
|
+
> {
|
|
316
|
+
method: 'getMailOverview';
|
|
317
|
+
request: {
|
|
318
|
+
identity: IIdentity;
|
|
319
|
+
};
|
|
320
|
+
response: {
|
|
321
|
+
/** False when no dcrouter ops API token is configured in settings. */
|
|
322
|
+
configured: boolean;
|
|
323
|
+
gatewayUrl?: string;
|
|
324
|
+
domains: IMailOverviewDomain[];
|
|
325
|
+
emails: IMailOverviewEmail[];
|
|
326
|
+
errorText?: string;
|
|
327
|
+
};
|
|
328
|
+
}
|