@serve.zone/interfaces 8.1.0 → 9.0.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 +17 -0
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/requests/baremetal.d.ts +8 -3
- package/dist_ts/requests/mail.d.ts +1 -1
- package/package.json +1 -1
- package/readme.md +1 -1
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/requests/baremetal.ts +16 -4
- package/ts/requests/mail.ts +1 -1
package/changelog.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-07-10 - 9.0.0
|
|
4
|
+
|
|
5
|
+
### Breaking Changes
|
|
6
|
+
|
|
7
|
+
- require identity for baremetal request contracts (baremetal)
|
|
8
|
+
- Require identity on getBaremetalServers and controlBaremetal requests.
|
|
9
|
+
- Add typedrequest contract conformance to baremetal request interfaces.
|
|
10
|
+
- Update package manager metadata to pnpm 11.11.0.
|
|
11
|
+
|
|
12
|
+
## 2026-07-07 - 8.1.1
|
|
13
|
+
|
|
14
|
+
### Fixes
|
|
15
|
+
|
|
16
|
+
- allow submission auth for mail delivery status requests (mail)
|
|
17
|
+
- Change IReq_GetMailDeliveryStatus.request.auth to IMailSubmissionRequestAuth so service-mail credentials can query status by spoolItemId.
|
|
18
|
+
- Document getMailDeliveryStatus auth and response behavior in the README.
|
|
19
|
+
|
|
3
20
|
## 2026-07-06 - 8.1.0
|
|
4
21
|
|
|
5
22
|
### Features
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@serve.zone/interfaces',
|
|
6
|
-
version: '
|
|
6
|
+
version: '9.0.0',
|
|
7
7
|
description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHVGQUF1RjtDQUNyRyxDQUFBIn0=
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
1
2
|
import type { IBareMetal } from '../data/baremetal.js';
|
|
2
|
-
|
|
3
|
+
import type { IIdentity } from '../data/user.js';
|
|
4
|
+
export interface IRequest_Any_Cloudly_GetBaremetalServers extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_GetBaremetalServers> {
|
|
3
5
|
method: 'getBaremetalServers';
|
|
4
|
-
request: {
|
|
6
|
+
request: {
|
|
7
|
+
identity: IIdentity;
|
|
8
|
+
};
|
|
5
9
|
response: {
|
|
6
10
|
baremetals: IBareMetal[];
|
|
7
11
|
};
|
|
8
12
|
}
|
|
9
|
-
export interface IRequest_Any_Cloudly_ControlBaremetal {
|
|
13
|
+
export interface IRequest_Any_Cloudly_ControlBaremetal extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_ControlBaremetal> {
|
|
10
14
|
method: 'controlBaremetal';
|
|
11
15
|
request: {
|
|
16
|
+
identity: IIdentity;
|
|
12
17
|
baremetalId: string;
|
|
13
18
|
action: 'powerOn' | 'powerOff' | 'reset';
|
|
14
19
|
};
|
|
@@ -166,7 +166,7 @@ export interface IReq_RegisterServiceMailEndpoint extends plugins.typedrequestIn
|
|
|
166
166
|
export interface IReq_GetMailDeliveryStatus extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetMailDeliveryStatus> {
|
|
167
167
|
method: 'getMailDeliveryStatus';
|
|
168
168
|
request: {
|
|
169
|
-
auth:
|
|
169
|
+
auth: IMailSubmissionRequestAuth;
|
|
170
170
|
spoolItemId: string;
|
|
171
171
|
};
|
|
172
172
|
response: IMailDeliveryStatus;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -138,7 +138,7 @@ interface IExampleRequest {
|
|
|
138
138
|
}
|
|
139
139
|
```
|
|
140
140
|
|
|
141
|
-
Gateway request contracts include `getGatewayClientRoutes` (`requests.gateway.IReq_GetGatewayClientRoutes`) for listing owned `IGatewayClientRoute[]` route views, and `syncGatewayClientRoute` for idempotently syncing or deleting hostname-owned and routeRef-owned routes. Mail request contracts include `syncMailAddressBinding`, `deleteMailAddressBinding`, and `
|
|
141
|
+
Gateway request contracts include `getGatewayClientRoutes` (`requests.gateway.IReq_GetGatewayClientRoutes`) for listing owned `IGatewayClientRoute[]` route views, and `syncGatewayClientRoute` for idempotently syncing or deleting hostname-owned and routeRef-owned routes. Mail request contracts include `syncMailAddressBinding`, `deleteMailAddressBinding`, `rotateMailCredential`, and `getMailDeliveryStatus`. `IReq_GetMailDeliveryStatus` looks up a delivery spool item by `spoolItemId`, returns `data.IMailDeliveryStatus`, and accepts `IMailSubmissionRequestAuth` so service-mail credentials can query their own accepted, queued, deferred, delivered, or failed status. `TMailAddressBindingSync.outboundEnabled` explicitly controls whether a gateway should maintain a managed outbound SMTP credential for an address binding. Binding credential metadata is public; `rotateMailCredential` returns the new secret only in its one-time `IMailCredentialOneTimeSecret` response.
|
|
142
142
|
|
|
143
143
|
Request groups are exported by product area:
|
|
144
144
|
|
package/ts/00_commitinfo_data.ts
CHANGED
package/ts/requests/baremetal.ts
CHANGED
|
@@ -1,17 +1,29 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
2
|
import type { IBareMetal } from '../data/baremetal.js';
|
|
3
|
+
import type { IIdentity } from '../data/user.js';
|
|
3
4
|
|
|
4
|
-
export interface IRequest_Any_Cloudly_GetBaremetalServers
|
|
5
|
+
export interface IRequest_Any_Cloudly_GetBaremetalServers
|
|
6
|
+
extends plugins.typedrequestInterfaces.implementsTR<
|
|
7
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
8
|
+
IRequest_Any_Cloudly_GetBaremetalServers
|
|
9
|
+
> {
|
|
5
10
|
method: 'getBaremetalServers';
|
|
6
|
-
request: {
|
|
11
|
+
request: {
|
|
12
|
+
identity: IIdentity;
|
|
13
|
+
};
|
|
7
14
|
response: {
|
|
8
15
|
baremetals: IBareMetal[];
|
|
9
16
|
};
|
|
10
17
|
}
|
|
11
18
|
|
|
12
|
-
export interface IRequest_Any_Cloudly_ControlBaremetal
|
|
19
|
+
export interface IRequest_Any_Cloudly_ControlBaremetal
|
|
20
|
+
extends plugins.typedrequestInterfaces.implementsTR<
|
|
21
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
22
|
+
IRequest_Any_Cloudly_ControlBaremetal
|
|
23
|
+
> {
|
|
13
24
|
method: 'controlBaremetal';
|
|
14
25
|
request: {
|
|
26
|
+
identity: IIdentity;
|
|
15
27
|
baremetalId: string;
|
|
16
28
|
action: 'powerOn' | 'powerOff' | 'reset';
|
|
17
29
|
};
|
|
@@ -19,4 +31,4 @@ export interface IRequest_Any_Cloudly_ControlBaremetal {
|
|
|
19
31
|
success: boolean;
|
|
20
32
|
message: string;
|
|
21
33
|
};
|
|
22
|
-
}
|
|
34
|
+
}
|
package/ts/requests/mail.ts
CHANGED
|
@@ -247,7 +247,7 @@ export interface IReq_GetMailDeliveryStatus extends plugins.typedrequestInterfac
|
|
|
247
247
|
> {
|
|
248
248
|
method: 'getMailDeliveryStatus';
|
|
249
249
|
request: {
|
|
250
|
-
auth:
|
|
250
|
+
auth: IMailSubmissionRequestAuth;
|
|
251
251
|
spoolItemId: string;
|
|
252
252
|
};
|
|
253
253
|
response: IMailDeliveryStatus;
|