@serve.zone/interfaces 7.20.0 → 7.22.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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-06-11 - 7.22.0
4
+
5
+ ### Features
6
+
7
+ - add source profile references to route interfaces (gateway)
8
+ - Expose optional sourceProfileRef on service domain entries
9
+ - Expose optional sourceProfileRef on gateway route sync requests
10
+
11
+ ## 2026-06-11 - 7.21.0
12
+
13
+ ### Features
14
+
15
+ - add Cloudly mail overview request interfaces (mail)
16
+ - Adds interfaces for mail overview domains and recent email queue entries.
17
+ - Defines the getMailOverview typed request contract with configuration status, gateway URL, domains, emails, and error text.
18
+
3
19
  ## 2026-06-11 - 7.20.0
4
20
 
5
21
  ### Features
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '7.20.0',
6
+ version: '7.22.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=
@@ -135,6 +135,11 @@ export interface IService {
135
135
  * The protocol for this domain entry
136
136
  */
137
137
  protocol?: 'http' | 'https' | 'ssh';
138
+ /**
139
+ * Gateway source profile for this domain's route (e.g. 'standard'
140
+ * for internal-only access). Defaults to the gateway's public profile.
141
+ */
142
+ sourceProfileRef?: string;
138
143
  }[];
139
144
  deploymentIds: string[];
140
145
  };
@@ -62,6 +62,11 @@ export interface IReq_SyncGatewayClientRoute extends plugins.typedrequestInterfa
62
62
  route?: IGatewayRouteConfig;
63
63
  enabled?: boolean;
64
64
  delete?: boolean;
65
+ /**
66
+ * Gateway source profile to bind the route to (by ref or name).
67
+ * Defaults to the gateway's public profile when omitted.
68
+ */
69
+ sourceProfileRef?: string;
65
70
  };
66
71
  response: IGatewayRouteSyncResult;
67
72
  }
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/interfaces",
3
- "version": "7.20.0",
3
+ "version": "7.22.0",
4
4
  "private": false,
5
5
  "description": "Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.",
6
6
  "exports": {
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '7.20.0',
6
+ version: '7.22.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
8
8
  }
@@ -143,6 +143,11 @@ export interface IService {
143
143
  * The protocol for this domain entry
144
144
  */
145
145
  protocol?: 'http' | 'https' | 'ssh';
146
+ /**
147
+ * Gateway source profile for this domain's route (e.g. 'standard'
148
+ * for internal-only access). Defaults to the gateway's public profile.
149
+ */
150
+ sourceProfileRef?: string;
146
151
  }[];
147
152
  deploymentIds: string[];
148
153
  };
@@ -92,6 +92,11 @@ export interface IReq_SyncGatewayClientRoute extends plugins.typedrequestInterfa
92
92
  route?: IGatewayRouteConfig;
93
93
  enabled?: boolean;
94
94
  delete?: boolean;
95
+ /**
96
+ * Gateway source profile to bind the route to (by ref or name).
97
+ * Defaults to the gateway's public profile when omitted.
98
+ */
99
+ sourceProfileRef?: string;
95
100
  };
96
101
  response: IGatewayRouteSyncResult;
97
102
  }
@@ -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
+ }