@serve.zone/interfaces 31.9.0 → 32.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/.smartconfig.json +1 -0
- package/changelog.md +467 -0
- package/dist_ts/00_commitinfo_data.js +3 -3
- package/dist_ts/appstore/types.d.ts +4 -6
- package/dist_ts/appstore/types.js +5 -5
- package/dist_ts/data/backup.d.ts +3 -26
- package/dist_ts/data/cluster.d.ts +36 -11
- package/dist_ts/data/cluster.js +33 -22
- package/dist_ts/data/clusteringress.d.ts +8 -0
- package/dist_ts/data/clusteringress.js +13 -8
- package/dist_ts/data/clusternode.d.ts +121 -74
- package/dist_ts/data/clusternode.js +109 -132
- package/dist_ts/data/coremail.d.ts +3 -7
- package/dist_ts/data/coremail.js +2 -2
- package/dist_ts/data/coremail.runtime.d.ts +0 -1
- package/dist_ts/data/coremail.runtime.js +5 -22
- package/dist_ts/data/deploymentadoption.d.ts +0 -2
- package/dist_ts/data/deploymentadoption.js +40 -6
- package/dist_ts/data/deploymentoperation.js +16 -3
- package/dist_ts/data/deploymentpreflight.d.ts +0 -2
- package/dist_ts/data/deploymentpreflight.js +1 -1
- package/dist_ts/data/immutableimage.d.ts +38 -21
- package/dist_ts/data/immutableimage.js +45 -5
- package/dist_ts/data/index.d.ts +1 -1
- package/dist_ts/data/isolatedrestore.d.ts +139 -21
- package/dist_ts/data/isolatedrestore.golden.d.ts +0 -1
- package/dist_ts/data/isolatedrestore.golden.js +6 -9
- package/dist_ts/data/isolatedrestore.js +176 -40
- package/dist_ts/data/mail.d.ts +1 -1
- package/dist_ts/data/networkaddressplan.d.ts +8 -8
- package/dist_ts/data/networkaddressplan.js +4 -4
- package/dist_ts/data/networkauthority.d.ts +20 -22
- package/dist_ts/data/networkauthority.js +26 -28
- package/dist_ts/data/networkcredential.d.ts +10 -10
- package/dist_ts/data/networkcredential.js +16 -16
- package/dist_ts/data/networkdelivery.d.ts +18 -18
- package/dist_ts/data/networkdelivery.js +16 -16
- package/dist_ts/data/networklease.d.ts +18 -7
- package/dist_ts/data/networklease.js +29 -7
- package/dist_ts/data/networknode.d.ts +2 -2
- package/dist_ts/data/networkprojection.d.ts +59 -60
- package/dist_ts/data/networkprojection.js +53 -57
- package/dist_ts/data/networkprotection.d.ts +27 -28
- package/dist_ts/data/networkprotection.js +36 -36
- package/dist_ts/data/networkrouter.d.ts +11 -11
- package/dist_ts/data/networkrouter.js +1 -1
- package/dist_ts/data/networksigning.d.ts +16 -18
- package/dist_ts/data/networksigning.js +20 -21
- package/dist_ts/data/nodecredential.d.ts +4 -6
- package/dist_ts/data/nodeenrollment.d.ts +35 -40
- package/dist_ts/data/nodeenrollment.js +57 -72
- package/dist_ts/data/privatenetwork.d.ts +21 -24
- package/dist_ts/data/privatenetwork.js +39 -54
- package/dist_ts/data/runtimeassignment.d.ts +50 -34
- package/dist_ts/data/runtimeassignment.js +79 -45
- package/dist_ts/data/runtimeconfig.d.ts +21 -22
- package/dist_ts/data/runtimeconfig.js +24 -24
- package/dist_ts/data/runtimesession.d.ts +100 -62
- package/dist_ts/data/runtimesession.js +98 -79
- package/dist_ts/data/runtimeterminalreceipt.d.ts +28 -29
- package/dist_ts/data/runtimeterminalreceipt.js +42 -42
- package/dist_ts/data/secret.d.ts +18 -25
- package/dist_ts/data/secret.js +12 -52
- package/dist_ts/data/servicecredential.d.ts +14 -16
- package/dist_ts/data/servicecredential.js +17 -28
- package/dist_ts/data/serviceruntime.d.ts +7 -7
- package/dist_ts/data/serviceruntime.js +4 -4
- package/dist_ts/data/sparknodereport.d.ts +27 -14
- package/dist_ts/data/sparknodereport.js +35 -28
- package/dist_ts/data/webpush.d.ts +0 -1
- package/dist_ts/index.d.ts +2 -1
- package/dist_ts/index.js +3 -2
- package/dist_ts/platform/objectstorageretention.d.ts +21 -24
- package/dist_ts/platform/objectstorageretention.js +6 -18
- package/dist_ts/platform/storage.d.ts +1 -3
- package/dist_ts/platform/storagemigration.d.ts +0 -7
- package/dist_ts/platform/storagemigration.golden.d.ts +0 -1
- package/dist_ts/platform/storagemigration.golden.js +8 -12
- package/dist_ts/platform/storagemigration.js +6 -51
- package/dist_ts/platform/types.d.ts +2 -2
- package/dist_ts/private/canonicaljson.d.ts +9 -1
- package/dist_ts/private/canonicaljson.js +14 -2
- package/dist_ts/private/dataproperties.d.ts +62 -0
- package/dist_ts/private/dataproperties.js +117 -0
- package/dist_ts/private/networkcontract.d.ts +10 -10
- package/dist_ts/private/networkcontract.js +1 -1
- package/dist_ts/private/releaseversion.d.ts +37 -0
- package/dist_ts/private/releaseversion.js +48 -0
- package/dist_ts/private/runtimepolicy.d.ts +2 -2
- package/dist_ts/private/runtimepolicy.js +1 -1
- package/dist_ts/private/tokenlist.d.ts +9 -0
- package/dist_ts/private/tokenlist.js +23 -0
- package/dist_ts/protocol.d.ts +137 -0
- package/dist_ts/protocol.js +255 -0
- package/dist_ts/requests/admin.d.ts +8 -8
- package/dist_ts/requests/backup.d.ts +102 -112
- package/dist_ts/requests/cluster.d.ts +10 -10
- package/dist_ts/requests/clusteringress.d.ts +9 -0
- package/dist_ts/requests/clusteringress.js +1 -1
- package/dist_ts/requests/config.d.ts +3 -3
- package/dist_ts/requests/corestore.d.ts +0 -3
- package/dist_ts/requests/corestore.js +5 -9
- package/dist_ts/requests/network.d.ts +30 -30
- package/dist_ts/requests/node.d.ts +15 -28
- package/dist_ts/requests/pallet.d.ts +13 -13
- package/dist_ts/requests/runtimesession.d.ts +53 -41
- package/dist_ts/requests/secret.d.ts +4 -5
- package/dist_ts/requests/secret.js +1 -5
- package/dist_ts/runtime.corestore.d.ts +56 -74
- package/dist_ts/runtime.corestore.databaseexportpackage.d.ts +30 -36
- package/dist_ts/runtime.corestore.databaseexportpackage.golden.d.ts +11 -12
- package/dist_ts/runtime.corestore.databaseexportpackage.golden.js +54 -71
- package/dist_ts/runtime.corestore.databaseexportpackage.js +9 -25
- package/dist_ts/runtime.corestore.js +35 -135
- package/dist_ts/runtime.corestore.relay.js +2 -7
- package/dist_ts/runtime.d.ts +38 -48
- package/dist_ts/runtime.js +20 -77
- package/dist_ts/runtime.networkprojection.d.ts +4 -4
- package/dist_ts/runtime.networkprojection.js +18 -18
- package/dist_ts/runtime.workloadinit.d.ts +23 -24
- package/dist_ts/runtime.workloadinit.js +6 -13
- package/package.json +2 -2
- package/readme.md +421 -270
- package/ts/00_commitinfo_data.ts +3 -3
- package/ts/appstore/types.ts +4 -6
- package/ts/data/backup.ts +3 -38
- package/ts/data/cluster.ts +51 -34
- package/ts/data/clusteringress.ts +12 -12
- package/ts/data/clusternode.ts +204 -232
- package/ts/data/coremail.runtime.ts +4 -21
- package/ts/data/coremail.ts +3 -7
- package/ts/data/deploymentadoption.ts +46 -4
- package/ts/data/deploymentoperation.ts +16 -1
- package/ts/data/deploymentpreflight.ts +0 -2
- package/ts/data/immutableimage.ts +71 -24
- package/ts/data/index.ts +1 -1
- package/ts/data/isolatedrestore.golden.ts +5 -9
- package/ts/data/isolatedrestore.ts +339 -54
- package/ts/data/mail.ts +1 -1
- package/ts/data/networkaddressplan.ts +13 -13
- package/ts/data/networkauthority.ts +42 -46
- package/ts/data/networkcredential.ts +24 -24
- package/ts/data/networkdelivery.ts +27 -27
- package/ts/data/networklease.ts +40 -13
- package/ts/data/networknode.ts +2 -2
- package/ts/data/networkprojection.ts +119 -124
- package/ts/data/networkprotection.ts +54 -55
- package/ts/data/networkrouter.ts +14 -14
- package/ts/data/networksigning.ts +29 -32
- package/ts/data/nodecredential.ts +4 -6
- package/ts/data/nodeenrollment.ts +96 -114
- package/ts/data/privatenetwork.ts +58 -74
- package/ts/data/runtimeassignment.ts +143 -94
- package/ts/data/runtimeconfig.ts +45 -46
- package/ts/data/runtimesession.ts +185 -138
- package/ts/data/runtimeterminalreceipt.ts +72 -73
- package/ts/data/secret.ts +28 -76
- package/ts/data/servicecredential.ts +33 -43
- package/ts/data/serviceruntime.ts +11 -11
- package/ts/data/sparknodereport.ts +48 -36
- package/ts/data/webpush.ts +0 -1
- package/ts/index.ts +2 -0
- package/ts/platform/objectstorageretention.ts +36 -55
- package/ts/platform/storage.ts +1 -3
- package/ts/platform/storagemigration.golden.ts +7 -11
- package/ts/platform/storagemigration.ts +5 -55
- package/ts/platform/types.ts +2 -2
- package/ts/private/canonicaljson.ts +13 -1
- package/ts/private/dataproperties.ts +139 -0
- package/ts/private/networkcontract.ts +9 -9
- package/ts/private/releaseversion.ts +70 -0
- package/ts/private/runtimepolicy.ts +2 -2
- package/ts/private/tokenlist.ts +30 -0
- package/ts/protocol.ts +364 -0
- package/ts/requests/admin.ts +11 -11
- package/ts/requests/backup.ts +112 -117
- package/ts/requests/cluster.ts +13 -13
- package/ts/requests/clusteringress.ts +9 -0
- package/ts/requests/config.ts +3 -3
- package/ts/requests/corestore.ts +4 -16
- package/ts/requests/network.ts +40 -40
- package/ts/requests/node.ts +21 -38
- package/ts/requests/pallet.ts +17 -17
- package/ts/requests/runtimesession.ts +63 -51
- package/ts/requests/secret.ts +5 -10
- package/ts/runtime.corestore.databaseexportpackage.golden.ts +77 -95
- package/ts/runtime.corestore.databaseexportpackage.ts +51 -73
- package/ts/runtime.corestore.relay.ts +1 -10
- package/ts/runtime.corestore.ts +118 -268
- package/ts/runtime.networkprojection.ts +30 -30
- package/ts/runtime.ts +83 -158
- package/ts/runtime.workloadinit.ts +36 -48
- package/dist_ts/runtime.cloudlylegacydeploymentsettlement.d.ts +0 -902
- package/dist_ts/runtime.cloudlylegacydeploymentsettlement.golden.d.ts +0 -35
- package/dist_ts/runtime.cloudlylegacydeploymentsettlement.golden.js +0 -315
- package/dist_ts/runtime.cloudlylegacydeploymentsettlement.js +0 -3315
- package/dist_ts/runtime.cloudlylegacydeploymentsettlement.offlineexport.d.ts +0 -291
- package/dist_ts/runtime.cloudlylegacydeploymentsettlement.offlineexport.golden.d.ts +0 -30
- package/dist_ts/runtime.cloudlylegacydeploymentsettlement.offlineexport.golden.js +0 -408
- package/dist_ts/runtime.cloudlylegacydeploymentsettlement.offlineexport.js +0 -1126
- package/ts/runtime.cloudlylegacydeploymentsettlement.golden.ts +0 -421
- package/ts/runtime.cloudlylegacydeploymentsettlement.offlineexport.golden.ts +0 -510
- package/ts/runtime.cloudlylegacydeploymentsettlement.offlineexport.ts +0 -2470
- package/ts/runtime.cloudlylegacydeploymentsettlement.ts +0 -6630
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
import type { IIdentityCredential } from './user.js';
|
|
2
|
-
import type {
|
|
3
|
-
import type
|
|
2
|
+
import type { IRuntimeAssignmentObservation, IRuntimeAssignmentReference, IRuntimeAssignment, IRuntimeController, TRuntimeWorkloadAuthority } from './runtimeassignment.js';
|
|
3
|
+
import { type IProtocolOffer } from '../protocol.js';
|
|
4
|
+
import type { IRuntimeConfig } from './runtimeconfig.js';
|
|
4
5
|
/**
|
|
5
6
|
* Server-issued public binding for the current authenticated physical connection.
|
|
6
7
|
* It contains no bearer, peer ID or client-selected authority. A serialized binding
|
|
7
8
|
* is not authentication: every receiver must compare it with its live peer context.
|
|
8
9
|
* Onebox local execution uses the same shape with its own authenticated IPC owner.
|
|
9
10
|
*/
|
|
10
|
-
export interface
|
|
11
|
-
schemaVersion: 1;
|
|
11
|
+
export interface IRuntimeSessionBinding {
|
|
12
12
|
reporterSessionId: string;
|
|
13
13
|
nodeId: string;
|
|
14
14
|
credentialGeneration: number;
|
|
15
15
|
sessionEpoch: number;
|
|
16
16
|
controllerInstanceId: string;
|
|
17
|
-
controller:
|
|
17
|
+
controller: IRuntimeController;
|
|
18
18
|
runtimeNamespace: string;
|
|
19
19
|
}
|
|
20
20
|
/** Pallet-initiated WSS on its configured Cloudly HTTPS origin; never HTTP RPC. */
|
|
21
|
-
export interface
|
|
22
|
-
schemaVersion: 1;
|
|
21
|
+
export interface IRegisterPalletRuntimeSessionRequest {
|
|
23
22
|
nodeId: string;
|
|
24
23
|
credentialGeneration: number;
|
|
25
24
|
/** Sensitive ephemeral input; exclude the complete request from hooks and logs. */
|
|
@@ -29,69 +28,103 @@ export interface IRegisterPalletRuntimeSessionRequestV1 {
|
|
|
29
28
|
* registration. It proves which node process is registering when the transport cannot:
|
|
30
29
|
* one relay socket carries many nodes, so the physical peer no longer distinguishes a
|
|
31
30
|
* node restart from a replay. It is not a secret and it grants no authority; the bearer
|
|
32
|
-
* still authenticates.
|
|
33
|
-
* exclusively from a directly connected node.
|
|
31
|
+
* still authenticates.
|
|
34
32
|
*/
|
|
35
|
-
nodeInstanceNonce
|
|
33
|
+
nodeInstanceNonce: string;
|
|
34
|
+
/**
|
|
35
|
+
* What this node can resolve for a workload, sorted and duplicate-free.
|
|
36
|
+
*
|
|
37
|
+
* It states a capability of the build that is registering, not a permission: the controller
|
|
38
|
+
* refuses an assignment whose `requiredWorkloadAuthorities` this list does not cover, instead
|
|
39
|
+
* of a node accepting work it cannot carry out. It is not part of the registration identity —
|
|
40
|
+
* a changed build is a new process and therefore a new `nodeInstanceNonce` — so a replay of one
|
|
41
|
+
* registration with different authorities is a conflict rather than an update.
|
|
42
|
+
*/
|
|
43
|
+
resolvedAuthorities: TRuntimeWorkloadAuthority[];
|
|
44
|
+
/** Read and negotiated before anything else on this body; see `runtimeSessionContract`. */
|
|
45
|
+
protocol: IProtocolOffer;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* What the controller answers an accepted registration with.
|
|
49
|
+
*
|
|
50
|
+
* The offer travels beside the binding rather than inside it: the binding is embedded in every
|
|
51
|
+
* session-scoped request and compared as a whole, so an offer in it would make two builds of one
|
|
52
|
+
* controller produce two bindings for one session.
|
|
53
|
+
*/
|
|
54
|
+
export interface IRegisterPalletRuntimeSessionResponse {
|
|
55
|
+
session: IRuntimeSessionBinding;
|
|
56
|
+
protocol: IProtocolOffer;
|
|
36
57
|
}
|
|
37
|
-
export interface
|
|
38
|
-
session:
|
|
39
|
-
assignment:
|
|
40
|
-
config:
|
|
58
|
+
export interface IApplyRuntimeAssignmentRequest {
|
|
59
|
+
session: IRuntimeSessionBinding;
|
|
60
|
+
assignment: IRuntimeAssignment;
|
|
61
|
+
config: IRuntimeConfig;
|
|
41
62
|
/** Exact removed incumbent for a new attempt; not assignment.previous. */
|
|
42
|
-
predecessor:
|
|
63
|
+
predecessor: IRuntimeAssignmentReference | null;
|
|
43
64
|
}
|
|
44
65
|
/** Durable admission acknowledgement only; it asserts neither effects nor readiness. */
|
|
45
|
-
export interface
|
|
66
|
+
export interface IApplyRuntimeAssignmentResponse {
|
|
46
67
|
status: 'accepted' | 'replay' | 'historical';
|
|
47
|
-
assignment:
|
|
68
|
+
assignment: IRuntimeAssignmentReference;
|
|
48
69
|
}
|
|
49
|
-
export interface
|
|
70
|
+
export interface IReportRuntimeAssignmentObservationRequest {
|
|
50
71
|
/** Always the CURRENT authenticated connection, including after credential rotation. */
|
|
51
|
-
session:
|
|
72
|
+
session: IRuntimeSessionBinding;
|
|
52
73
|
/** Exact durable outbox body. Never rewrite reporterSessionId, digest or sequence. */
|
|
53
|
-
observation:
|
|
74
|
+
observation: IRuntimeAssignmentObservation;
|
|
54
75
|
}
|
|
55
|
-
export type
|
|
76
|
+
export type TRuntimeObservationAuthorityUse = 'current-session' | 'historical-recovery';
|
|
56
77
|
/** Content comparison result only; all supplied authority must come from its trusted owner. */
|
|
57
|
-
export interface
|
|
58
|
-
session:
|
|
59
|
-
assignment:
|
|
60
|
-
reporterHistory:
|
|
61
|
-
authorityUse:
|
|
78
|
+
export interface IRuntimeReporterSessionBinding {
|
|
79
|
+
session: IRuntimeSessionBinding;
|
|
80
|
+
assignment: IRuntimeAssignment;
|
|
81
|
+
reporterHistory: IRuntimeSessionBinding;
|
|
82
|
+
authorityUse: TRuntimeObservationAuthorityUse;
|
|
62
83
|
}
|
|
63
|
-
export interface
|
|
84
|
+
export interface IReportRuntimeAssignmentObservationResponse {
|
|
64
85
|
/** Exact request body after a durable sequence/receipt transaction. */
|
|
65
|
-
observation:
|
|
86
|
+
observation: IRuntimeAssignmentObservation;
|
|
66
87
|
/**
|
|
67
88
|
* Historical recovery can advance the durable counter and ACK only. It must not
|
|
68
89
|
* update active readiness, routing or liveness; those require a fresh report
|
|
69
90
|
* from the current session. Neither classification is proof of writer fencing.
|
|
70
91
|
*/
|
|
71
|
-
authorityUse:
|
|
92
|
+
authorityUse: TRuntimeObservationAuthorityUse;
|
|
72
93
|
}
|
|
73
|
-
export interface
|
|
74
|
-
session:
|
|
94
|
+
export interface IGetRuntimeRegistryCredentialRequest {
|
|
95
|
+
session: IRuntimeSessionBinding;
|
|
75
96
|
/** The server must authorize this exact CURRENT assignment, including its node. */
|
|
76
|
-
assignment:
|
|
97
|
+
assignment: IRuntimeAssignmentReference;
|
|
77
98
|
}
|
|
78
99
|
/** Sensitive ephemeral material; never persist, hash, log or include in diagnostics. */
|
|
79
|
-
export interface
|
|
100
|
+
export interface IGetRuntimeRegistryCredentialResponse {
|
|
80
101
|
username: string;
|
|
81
102
|
password: string;
|
|
82
103
|
expiresAt: number;
|
|
83
104
|
}
|
|
84
105
|
/** Cloudly human/machine JWT registration on a physical TypedSocket; reject HTTP. */
|
|
85
|
-
export interface
|
|
86
|
-
schemaVersion: 1;
|
|
106
|
+
export interface IRegisterCloudlyClientSessionRequest {
|
|
87
107
|
/** Authenticate the current JWT server-side; do not accept client identity claims. */
|
|
88
108
|
identity: IIdentityCredential;
|
|
109
|
+
/** Read and negotiated before the identity is authenticated; see `runtimeSessionContract`. */
|
|
110
|
+
protocol: IProtocolOffer;
|
|
89
111
|
}
|
|
90
|
-
export interface
|
|
112
|
+
export interface IRegisterCloudlyClientSessionResponse {
|
|
91
113
|
/** Server-owned identity tagging completed; never trust a client-authored tag. */
|
|
92
114
|
registered: true;
|
|
115
|
+
/** The controller's offer, so an accepted client can judge the session it just opened. */
|
|
116
|
+
protocol: IProtocolOffer;
|
|
93
117
|
}
|
|
94
|
-
|
|
118
|
+
/**
|
|
119
|
+
* The rules every runtime session registration is judged by.
|
|
120
|
+
*
|
|
121
|
+
* Every carrier here is judged in the one server order `protocol.readProtocolOffer` states,
|
|
122
|
+
* against this session kind's own offer, so the snapshots below see a body whose offer this
|
|
123
|
+
* controller already accepted. For a node that order is also what keeps a refused registration
|
|
124
|
+
* from touching its packet access: the refusal is named before `networkVpn` is asked to mutate
|
|
125
|
+
* anything.
|
|
126
|
+
*/
|
|
127
|
+
export declare const runtimeSessionContract: Readonly<{
|
|
95
128
|
readonly maximumWireCanonicalBytes: 327680;
|
|
96
129
|
readonly maximumCredentialBytes: 16384;
|
|
97
130
|
readonly maximumRegistryPasswordBytes: 8192;
|
|
@@ -100,33 +133,38 @@ export declare const runtimeSessionV1Contract: Readonly<{
|
|
|
100
133
|
readonly nodeInstanceNonceFormat: "canonical-lowercase-uuid-per-node-process";
|
|
101
134
|
/** The registration a controller must treat as one: a change in any part is a new session. */
|
|
102
135
|
readonly registrationIdentity: "node-id-and-credential-generation-and-node-instance-nonce";
|
|
103
|
-
/** A relay socket carries many nodes, so its transport cannot prove a node process. */
|
|
104
|
-
readonly relayRegistrationRequiresNodeInstanceNonce: true;
|
|
105
136
|
readonly error: "Runtime session contract rejected.";
|
|
106
137
|
}>;
|
|
107
138
|
/** Synchronous detached structural assertion only; never an authentication check. */
|
|
108
|
-
export declare const
|
|
109
|
-
export declare const
|
|
110
|
-
export declare const
|
|
111
|
-
export declare const
|
|
112
|
-
export declare const
|
|
113
|
-
export declare const
|
|
114
|
-
export declare const
|
|
115
|
-
export declare const
|
|
116
|
-
export declare const
|
|
117
|
-
export declare const
|
|
118
|
-
|
|
119
|
-
|
|
139
|
+
export declare const snapshotRuntimeSessionBinding: (valueArg: unknown) => IRuntimeSessionBinding;
|
|
140
|
+
export declare const snapshotRegisterPalletRuntimeSessionRequest: (valueArg: unknown) => IRegisterPalletRuntimeSessionRequest;
|
|
141
|
+
export declare const snapshotRegisterPalletRuntimeSessionResponse: (valueArg: unknown) => IRegisterPalletRuntimeSessionResponse;
|
|
142
|
+
export declare const snapshotApplyRuntimeAssignmentRequest: (valueArg: unknown) => IApplyRuntimeAssignmentRequest;
|
|
143
|
+
export declare const snapshotApplyRuntimeAssignmentResponse: (valueArg: unknown) => IApplyRuntimeAssignmentResponse;
|
|
144
|
+
export declare const snapshotReportRuntimeAssignmentObservationRequest: (valueArg: unknown) => IReportRuntimeAssignmentObservationRequest;
|
|
145
|
+
export declare const snapshotReportRuntimeAssignmentObservationResponse: (valueArg: unknown) => IReportRuntimeAssignmentObservationResponse;
|
|
146
|
+
export declare const snapshotGetRuntimeRegistryCredentialRequest: (valueArg: unknown) => IGetRuntimeRegistryCredentialRequest;
|
|
147
|
+
export declare const snapshotGetRuntimeRegistryCredentialResponse: (valueArg: unknown) => IGetRuntimeRegistryCredentialResponse;
|
|
148
|
+
export declare const snapshotRegisterCloudlyClientSessionRequest: (valueArg: unknown) => IRegisterCloudlyClientSessionRequest;
|
|
149
|
+
export declare const snapshotRegisterCloudlyClientSessionResponse: (valueArg: unknown) => IRegisterCloudlyClientSessionResponse;
|
|
150
|
+
/**
|
|
151
|
+
* Bind the authenticated Cloudly registration reply to the node, credential and offer sent.
|
|
152
|
+
*
|
|
153
|
+
* The client negotiates the answered offer against the one it sent: acceptance by a controller is
|
|
154
|
+
* that controller's judgement, and a node that cannot serve the session it was given must not open
|
|
155
|
+
* it. Both offers were read from the two bodies, so this compares what was actually exchanged.
|
|
156
|
+
*/
|
|
157
|
+
export declare const bindRegisterPalletRuntimeSessionResponse: (valueArg: unknown, requestArg: unknown) => IRegisterPalletRuntimeSessionResponse;
|
|
120
158
|
/** Reject already expired material; issuance policy and current assignment authority remain server-owned. */
|
|
121
|
-
export declare const
|
|
159
|
+
export declare const bindGetRuntimeRegistryCredentialResponse: (valueArg: unknown, nowArg: number) => IGetRuntimeRegistryCredentialResponse;
|
|
122
160
|
/**
|
|
123
161
|
* Capture every input before awaiting digest verification. trustedSessionArg must
|
|
124
162
|
* come from the receiving live connection, never from another request field.
|
|
125
163
|
* This binds content only; durable CAS, slot admission and authority remain owners.
|
|
126
164
|
*/
|
|
127
|
-
export declare const
|
|
165
|
+
export declare const bindApplyRuntimeAssignmentRequest: (valueArg: unknown, trustedSessionArg: unknown) => Promise<IApplyRuntimeAssignmentRequest>;
|
|
128
166
|
/** Match an admission acknowledgement to the exact sent revision, including historical replies. */
|
|
129
|
-
export declare const
|
|
167
|
+
export declare const bindApplyRuntimeAssignmentResponse: (valueArg: unknown, requestArg: unknown) => IApplyRuntimeAssignmentResponse;
|
|
130
168
|
/**
|
|
131
169
|
* Synchronous detached content binding, not authentication. trustedSessionArg must
|
|
132
170
|
* be the CURRENT authenticated physical peer; reporterHistoryArg must be immutable
|
|
@@ -134,23 +172,23 @@ export declare const bindApplyRuntimeAssignmentResponseV1: (valueArg: unknown, r
|
|
|
134
172
|
* The owning transaction must recheck current credential/peer authority. Assignment
|
|
135
173
|
* digest validation and report-specific authority remain the caller's responsibility.
|
|
136
174
|
*/
|
|
137
|
-
export declare const
|
|
175
|
+
export declare const bindRuntimeReporterSession: (sessionArg: unknown, reporterSessionIdArg: string, assignmentArg: unknown, trustedSessionArg: unknown, reporterHistoryArg: unknown) => IRuntimeReporterSessionBinding;
|
|
138
176
|
/**
|
|
139
177
|
* trustedSessionArg is the CURRENT authenticated physical peer. reporterHistoryArg
|
|
140
178
|
* must be server-indexed immutable session history, obtained by the original
|
|
141
|
-
* observation's reporterSessionId; never accept caller-supplied history.
|
|
142
|
-
* runtime
|
|
179
|
+
* observation's reporterSessionId; never accept caller-supplied history. Every
|
|
180
|
+
* runtime session is a Pallet-purpose session, so Spark history cannot qualify.
|
|
143
181
|
*
|
|
144
182
|
* This verifies content and classifies recovery, not authentication, history
|
|
145
183
|
* provenance, sequence admission or current authority. The server must transact
|
|
146
184
|
* receipt/counter acceptance under current credential and peer authority. A
|
|
147
185
|
* historical result MUST NOT restore active readiness, routes or liveness.
|
|
148
186
|
*/
|
|
149
|
-
export declare const
|
|
150
|
-
request:
|
|
151
|
-
authorityUse:
|
|
187
|
+
export declare const bindReportRuntimeAssignmentObservationRequest: (valueArg: unknown, assignmentArg: unknown, trustedSessionArg: unknown, reporterHistoryArg: unknown) => Promise<{
|
|
188
|
+
request: IReportRuntimeAssignmentObservationRequest;
|
|
189
|
+
authorityUse: TRuntimeObservationAuthorityUse;
|
|
152
190
|
}>;
|
|
153
191
|
/** Reject body rewriting and a historical receipt mislabeled as current authority. */
|
|
154
|
-
export declare const
|
|
192
|
+
export declare const bindReportRuntimeAssignmentObservationResponse: (valueArg: unknown, requestArg: unknown) => IReportRuntimeAssignmentObservationResponse;
|
|
155
193
|
/** Current assignment lookup and live peer authorization remain mandatory server-owned inputs. */
|
|
156
|
-
export declare const
|
|
194
|
+
export declare const bindGetRuntimeRegistryCredentialRequest: (valueArg: unknown, assignmentArg: unknown, trustedSessionArg: unknown) => Promise<IGetRuntimeRegistryCredentialRequest>;
|