@serve.zone/interfaces 7.27.0 → 7.28.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/data/mail.d.ts +4 -0
- package/dist_ts/requests/mail.d.ts +12 -0
- package/package.json +1 -1
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/data/mail.ts +4 -0
- package/ts/requests/mail.ts +16 -0
package/changelog.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-06-24 - 7.28.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- add service mail endpoint registration interfaces (mail)
|
|
8
|
+
- Add inbound mail configuration fields for typed endpoints and SMTP forwarding targets
|
|
9
|
+
- Add registerServiceMailEndpoint TypedRequest contract for registering inbound delivery addresses
|
|
10
|
+
|
|
3
11
|
## 2026-06-22 - 7.27.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.28.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=
|
package/dist_ts/data/mail.d.ts
CHANGED
|
@@ -174,6 +174,10 @@ export interface IWorkAppMailBinding {
|
|
|
174
174
|
export type TServiceMailSubmissionTlsMode = 'plain' | 'starttls' | 'implicitTls';
|
|
175
175
|
export interface IServiceMailInboundConfig {
|
|
176
176
|
enabled?: boolean;
|
|
177
|
+
/** Platformclient apps use typedEndpoint; third-party apps with their own SMTP server use smtpForward. */
|
|
178
|
+
targetType?: 'typedEndpoint' | 'smtpForward';
|
|
179
|
+
/** TypedRequest method exposed by platformclient over TypedSocket for inbound delivery. */
|
|
180
|
+
typedMethod?: string;
|
|
177
181
|
/** Published Docker/Swarm port that dcrouter may SMTP-forward inbound mail to. */
|
|
178
182
|
publishedPort?: number;
|
|
179
183
|
preserveHeaders?: boolean;
|
|
@@ -151,6 +151,18 @@ export interface IReq_DeliverInboundMail extends plugins.typedrequestInterfaces.
|
|
|
151
151
|
message?: string;
|
|
152
152
|
};
|
|
153
153
|
}
|
|
154
|
+
export interface IReq_RegisterServiceMailEndpoint extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_RegisterServiceMailEndpoint> {
|
|
155
|
+
method: 'registerServiceMailEndpoint';
|
|
156
|
+
request: {
|
|
157
|
+
auth: IMailSubmissionRequestAuth;
|
|
158
|
+
addresses?: string[];
|
|
159
|
+
};
|
|
160
|
+
response: {
|
|
161
|
+
success: boolean;
|
|
162
|
+
addresses?: string[];
|
|
163
|
+
message?: string;
|
|
164
|
+
};
|
|
165
|
+
}
|
|
154
166
|
export interface IReq_GetMailDeliveryStatus extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetMailDeliveryStatus> {
|
|
155
167
|
method: 'getMailDeliveryStatus';
|
|
156
168
|
request: {
|
package/package.json
CHANGED
package/ts/00_commitinfo_data.ts
CHANGED
package/ts/data/mail.ts
CHANGED
|
@@ -227,6 +227,10 @@ export type TServiceMailSubmissionTlsMode = 'plain' | 'starttls' | 'implicitTls'
|
|
|
227
227
|
|
|
228
228
|
export interface IServiceMailInboundConfig {
|
|
229
229
|
enabled?: boolean;
|
|
230
|
+
/** Platformclient apps use typedEndpoint; third-party apps with their own SMTP server use smtpForward. */
|
|
231
|
+
targetType?: 'typedEndpoint' | 'smtpForward';
|
|
232
|
+
/** TypedRequest method exposed by platformclient over TypedSocket for inbound delivery. */
|
|
233
|
+
typedMethod?: string;
|
|
230
234
|
/** Published Docker/Swarm port that dcrouter may SMTP-forward inbound mail to. */
|
|
231
235
|
publishedPort?: number;
|
|
232
236
|
preserveHeaders?: boolean;
|
package/ts/requests/mail.ts
CHANGED
|
@@ -225,6 +225,22 @@ export interface IReq_DeliverInboundMail extends plugins.typedrequestInterfaces.
|
|
|
225
225
|
};
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
+
export interface IReq_RegisterServiceMailEndpoint extends plugins.typedrequestInterfaces.implementsTR<
|
|
229
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
230
|
+
IReq_RegisterServiceMailEndpoint
|
|
231
|
+
> {
|
|
232
|
+
method: 'registerServiceMailEndpoint';
|
|
233
|
+
request: {
|
|
234
|
+
auth: IMailSubmissionRequestAuth;
|
|
235
|
+
addresses?: string[];
|
|
236
|
+
};
|
|
237
|
+
response: {
|
|
238
|
+
success: boolean;
|
|
239
|
+
addresses?: string[];
|
|
240
|
+
message?: string;
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
|
|
228
244
|
export interface IReq_GetMailDeliveryStatus extends plugins.typedrequestInterfaces.implementsTR<
|
|
229
245
|
plugins.typedrequestInterfaces.ITypedRequest,
|
|
230
246
|
IReq_GetMailDeliveryStatus
|