@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.
Files changed (204) hide show
  1. package/.smartconfig.json +1 -0
  2. package/changelog.md +467 -0
  3. package/dist_ts/00_commitinfo_data.js +3 -3
  4. package/dist_ts/appstore/types.d.ts +4 -6
  5. package/dist_ts/appstore/types.js +5 -5
  6. package/dist_ts/data/backup.d.ts +3 -26
  7. package/dist_ts/data/cluster.d.ts +36 -11
  8. package/dist_ts/data/cluster.js +33 -22
  9. package/dist_ts/data/clusteringress.d.ts +8 -0
  10. package/dist_ts/data/clusteringress.js +13 -8
  11. package/dist_ts/data/clusternode.d.ts +121 -74
  12. package/dist_ts/data/clusternode.js +109 -132
  13. package/dist_ts/data/coremail.d.ts +3 -7
  14. package/dist_ts/data/coremail.js +2 -2
  15. package/dist_ts/data/coremail.runtime.d.ts +0 -1
  16. package/dist_ts/data/coremail.runtime.js +5 -22
  17. package/dist_ts/data/deploymentadoption.d.ts +0 -2
  18. package/dist_ts/data/deploymentadoption.js +40 -6
  19. package/dist_ts/data/deploymentoperation.js +16 -3
  20. package/dist_ts/data/deploymentpreflight.d.ts +0 -2
  21. package/dist_ts/data/deploymentpreflight.js +1 -1
  22. package/dist_ts/data/immutableimage.d.ts +38 -21
  23. package/dist_ts/data/immutableimage.js +45 -5
  24. package/dist_ts/data/index.d.ts +1 -1
  25. package/dist_ts/data/isolatedrestore.d.ts +139 -21
  26. package/dist_ts/data/isolatedrestore.golden.d.ts +0 -1
  27. package/dist_ts/data/isolatedrestore.golden.js +6 -9
  28. package/dist_ts/data/isolatedrestore.js +176 -40
  29. package/dist_ts/data/mail.d.ts +1 -1
  30. package/dist_ts/data/networkaddressplan.d.ts +8 -8
  31. package/dist_ts/data/networkaddressplan.js +4 -4
  32. package/dist_ts/data/networkauthority.d.ts +20 -22
  33. package/dist_ts/data/networkauthority.js +26 -28
  34. package/dist_ts/data/networkcredential.d.ts +10 -10
  35. package/dist_ts/data/networkcredential.js +16 -16
  36. package/dist_ts/data/networkdelivery.d.ts +18 -18
  37. package/dist_ts/data/networkdelivery.js +16 -16
  38. package/dist_ts/data/networklease.d.ts +18 -7
  39. package/dist_ts/data/networklease.js +29 -7
  40. package/dist_ts/data/networknode.d.ts +2 -2
  41. package/dist_ts/data/networkprojection.d.ts +59 -60
  42. package/dist_ts/data/networkprojection.js +53 -57
  43. package/dist_ts/data/networkprotection.d.ts +27 -28
  44. package/dist_ts/data/networkprotection.js +36 -36
  45. package/dist_ts/data/networkrouter.d.ts +11 -11
  46. package/dist_ts/data/networkrouter.js +1 -1
  47. package/dist_ts/data/networksigning.d.ts +16 -18
  48. package/dist_ts/data/networksigning.js +20 -21
  49. package/dist_ts/data/nodecredential.d.ts +4 -6
  50. package/dist_ts/data/nodeenrollment.d.ts +35 -40
  51. package/dist_ts/data/nodeenrollment.js +57 -72
  52. package/dist_ts/data/privatenetwork.d.ts +21 -24
  53. package/dist_ts/data/privatenetwork.js +39 -54
  54. package/dist_ts/data/runtimeassignment.d.ts +50 -34
  55. package/dist_ts/data/runtimeassignment.js +79 -45
  56. package/dist_ts/data/runtimeconfig.d.ts +21 -22
  57. package/dist_ts/data/runtimeconfig.js +24 -24
  58. package/dist_ts/data/runtimesession.d.ts +100 -62
  59. package/dist_ts/data/runtimesession.js +98 -79
  60. package/dist_ts/data/runtimeterminalreceipt.d.ts +28 -29
  61. package/dist_ts/data/runtimeterminalreceipt.js +42 -42
  62. package/dist_ts/data/secret.d.ts +18 -25
  63. package/dist_ts/data/secret.js +12 -52
  64. package/dist_ts/data/servicecredential.d.ts +14 -16
  65. package/dist_ts/data/servicecredential.js +17 -28
  66. package/dist_ts/data/serviceruntime.d.ts +7 -7
  67. package/dist_ts/data/serviceruntime.js +4 -4
  68. package/dist_ts/data/sparknodereport.d.ts +27 -14
  69. package/dist_ts/data/sparknodereport.js +35 -28
  70. package/dist_ts/data/webpush.d.ts +0 -1
  71. package/dist_ts/index.d.ts +2 -1
  72. package/dist_ts/index.js +3 -2
  73. package/dist_ts/platform/objectstorageretention.d.ts +21 -24
  74. package/dist_ts/platform/objectstorageretention.js +6 -18
  75. package/dist_ts/platform/storage.d.ts +1 -3
  76. package/dist_ts/platform/storagemigration.d.ts +0 -7
  77. package/dist_ts/platform/storagemigration.golden.d.ts +0 -1
  78. package/dist_ts/platform/storagemigration.golden.js +8 -12
  79. package/dist_ts/platform/storagemigration.js +6 -51
  80. package/dist_ts/platform/types.d.ts +2 -2
  81. package/dist_ts/private/canonicaljson.d.ts +9 -1
  82. package/dist_ts/private/canonicaljson.js +14 -2
  83. package/dist_ts/private/dataproperties.d.ts +62 -0
  84. package/dist_ts/private/dataproperties.js +117 -0
  85. package/dist_ts/private/networkcontract.d.ts +10 -10
  86. package/dist_ts/private/networkcontract.js +1 -1
  87. package/dist_ts/private/releaseversion.d.ts +37 -0
  88. package/dist_ts/private/releaseversion.js +48 -0
  89. package/dist_ts/private/runtimepolicy.d.ts +2 -2
  90. package/dist_ts/private/runtimepolicy.js +1 -1
  91. package/dist_ts/private/tokenlist.d.ts +9 -0
  92. package/dist_ts/private/tokenlist.js +23 -0
  93. package/dist_ts/protocol.d.ts +137 -0
  94. package/dist_ts/protocol.js +255 -0
  95. package/dist_ts/requests/admin.d.ts +8 -8
  96. package/dist_ts/requests/backup.d.ts +102 -112
  97. package/dist_ts/requests/cluster.d.ts +10 -10
  98. package/dist_ts/requests/clusteringress.d.ts +9 -0
  99. package/dist_ts/requests/clusteringress.js +1 -1
  100. package/dist_ts/requests/config.d.ts +3 -3
  101. package/dist_ts/requests/corestore.d.ts +0 -3
  102. package/dist_ts/requests/corestore.js +5 -9
  103. package/dist_ts/requests/network.d.ts +30 -30
  104. package/dist_ts/requests/node.d.ts +15 -28
  105. package/dist_ts/requests/pallet.d.ts +13 -13
  106. package/dist_ts/requests/runtimesession.d.ts +53 -41
  107. package/dist_ts/requests/secret.d.ts +4 -5
  108. package/dist_ts/requests/secret.js +1 -5
  109. package/dist_ts/runtime.corestore.d.ts +56 -74
  110. package/dist_ts/runtime.corestore.databaseexportpackage.d.ts +30 -36
  111. package/dist_ts/runtime.corestore.databaseexportpackage.golden.d.ts +11 -12
  112. package/dist_ts/runtime.corestore.databaseexportpackage.golden.js +54 -71
  113. package/dist_ts/runtime.corestore.databaseexportpackage.js +9 -25
  114. package/dist_ts/runtime.corestore.js +35 -135
  115. package/dist_ts/runtime.corestore.relay.js +2 -7
  116. package/dist_ts/runtime.d.ts +38 -48
  117. package/dist_ts/runtime.js +20 -77
  118. package/dist_ts/runtime.networkprojection.d.ts +4 -4
  119. package/dist_ts/runtime.networkprojection.js +18 -18
  120. package/dist_ts/runtime.workloadinit.d.ts +23 -24
  121. package/dist_ts/runtime.workloadinit.js +6 -13
  122. package/package.json +2 -2
  123. package/readme.md +421 -270
  124. package/ts/00_commitinfo_data.ts +3 -3
  125. package/ts/appstore/types.ts +4 -6
  126. package/ts/data/backup.ts +3 -38
  127. package/ts/data/cluster.ts +51 -34
  128. package/ts/data/clusteringress.ts +12 -12
  129. package/ts/data/clusternode.ts +204 -232
  130. package/ts/data/coremail.runtime.ts +4 -21
  131. package/ts/data/coremail.ts +3 -7
  132. package/ts/data/deploymentadoption.ts +46 -4
  133. package/ts/data/deploymentoperation.ts +16 -1
  134. package/ts/data/deploymentpreflight.ts +0 -2
  135. package/ts/data/immutableimage.ts +71 -24
  136. package/ts/data/index.ts +1 -1
  137. package/ts/data/isolatedrestore.golden.ts +5 -9
  138. package/ts/data/isolatedrestore.ts +339 -54
  139. package/ts/data/mail.ts +1 -1
  140. package/ts/data/networkaddressplan.ts +13 -13
  141. package/ts/data/networkauthority.ts +42 -46
  142. package/ts/data/networkcredential.ts +24 -24
  143. package/ts/data/networkdelivery.ts +27 -27
  144. package/ts/data/networklease.ts +40 -13
  145. package/ts/data/networknode.ts +2 -2
  146. package/ts/data/networkprojection.ts +119 -124
  147. package/ts/data/networkprotection.ts +54 -55
  148. package/ts/data/networkrouter.ts +14 -14
  149. package/ts/data/networksigning.ts +29 -32
  150. package/ts/data/nodecredential.ts +4 -6
  151. package/ts/data/nodeenrollment.ts +96 -114
  152. package/ts/data/privatenetwork.ts +58 -74
  153. package/ts/data/runtimeassignment.ts +143 -94
  154. package/ts/data/runtimeconfig.ts +45 -46
  155. package/ts/data/runtimesession.ts +185 -138
  156. package/ts/data/runtimeterminalreceipt.ts +72 -73
  157. package/ts/data/secret.ts +28 -76
  158. package/ts/data/servicecredential.ts +33 -43
  159. package/ts/data/serviceruntime.ts +11 -11
  160. package/ts/data/sparknodereport.ts +48 -36
  161. package/ts/data/webpush.ts +0 -1
  162. package/ts/index.ts +2 -0
  163. package/ts/platform/objectstorageretention.ts +36 -55
  164. package/ts/platform/storage.ts +1 -3
  165. package/ts/platform/storagemigration.golden.ts +7 -11
  166. package/ts/platform/storagemigration.ts +5 -55
  167. package/ts/platform/types.ts +2 -2
  168. package/ts/private/canonicaljson.ts +13 -1
  169. package/ts/private/dataproperties.ts +139 -0
  170. package/ts/private/networkcontract.ts +9 -9
  171. package/ts/private/releaseversion.ts +70 -0
  172. package/ts/private/runtimepolicy.ts +2 -2
  173. package/ts/private/tokenlist.ts +30 -0
  174. package/ts/protocol.ts +364 -0
  175. package/ts/requests/admin.ts +11 -11
  176. package/ts/requests/backup.ts +112 -117
  177. package/ts/requests/cluster.ts +13 -13
  178. package/ts/requests/clusteringress.ts +9 -0
  179. package/ts/requests/config.ts +3 -3
  180. package/ts/requests/corestore.ts +4 -16
  181. package/ts/requests/network.ts +40 -40
  182. package/ts/requests/node.ts +21 -38
  183. package/ts/requests/pallet.ts +17 -17
  184. package/ts/requests/runtimesession.ts +63 -51
  185. package/ts/requests/secret.ts +5 -10
  186. package/ts/runtime.corestore.databaseexportpackage.golden.ts +77 -95
  187. package/ts/runtime.corestore.databaseexportpackage.ts +51 -73
  188. package/ts/runtime.corestore.relay.ts +1 -10
  189. package/ts/runtime.corestore.ts +118 -268
  190. package/ts/runtime.networkprojection.ts +30 -30
  191. package/ts/runtime.ts +83 -158
  192. package/ts/runtime.workloadinit.ts +36 -48
  193. package/dist_ts/runtime.cloudlylegacydeploymentsettlement.d.ts +0 -902
  194. package/dist_ts/runtime.cloudlylegacydeploymentsettlement.golden.d.ts +0 -35
  195. package/dist_ts/runtime.cloudlylegacydeploymentsettlement.golden.js +0 -315
  196. package/dist_ts/runtime.cloudlylegacydeploymentsettlement.js +0 -3315
  197. package/dist_ts/runtime.cloudlylegacydeploymentsettlement.offlineexport.d.ts +0 -291
  198. package/dist_ts/runtime.cloudlylegacydeploymentsettlement.offlineexport.golden.d.ts +0 -30
  199. package/dist_ts/runtime.cloudlylegacydeploymentsettlement.offlineexport.golden.js +0 -408
  200. package/dist_ts/runtime.cloudlylegacydeploymentsettlement.offlineexport.js +0 -1126
  201. package/ts/runtime.cloudlylegacydeploymentsettlement.golden.ts +0 -421
  202. package/ts/runtime.cloudlylegacydeploymentsettlement.offlineexport.golden.ts +0 -510
  203. package/ts/runtime.cloudlylegacydeploymentsettlement.offlineexport.ts +0 -2470
  204. package/ts/runtime.cloudlylegacydeploymentsettlement.ts +0 -6630
@@ -1,41 +1,41 @@
1
1
  import * as plugins from '../plugins.js';
2
2
  import type { IBareMetal } from '../data/baremetal.js';
3
3
  import type { ICluster } from '../data/cluster.js';
4
- import type { IClusterNode, IClusterNodeMetrics, INodeAction, INodeMetricsSample, ISparkNodeRuntimeInfo, TNodeActionName } from '../data/clusternode.js';
4
+ import type { IClusterNode, INodeAction, INodeMetricsSample, TNodeActionName } from '../data/clusternode.js';
5
5
  import type { IDeployment } from '../data/deployment.js';
6
6
  import type { IIdentity } from '../data/user.js';
7
7
  import type {
8
- INodeCredentialMetadataV1,
9
- INodeCredentialMutationPreconditionsV1,
10
- INodeCredentialMutationResultV1,
8
+ INodeCredentialMetadata,
9
+ INodeCredentialMutationPreconditions,
10
+ INodeCredentialMutationResult,
11
11
  TNodeCredentialPurpose,
12
12
  } from '../data/nodecredential.js';
13
13
  import type {
14
- INodeEnrollmentRequestV1,
15
- INodeEnrollmentAcknowledgementV1,
16
- INodeEnrollmentStateV1,
14
+ INodeEnrollmentRequest,
15
+ INodeEnrollmentAcknowledgement,
16
+ INodeEnrollmentState,
17
17
  } from '../data/nodeenrollment.js';
18
18
 
19
19
  /** Node-self adoption preconditions, not an admin or workload RBAC grant. */
20
- export interface IReq_Spark_Cloudly_GetNodeEnrollmentStateV1 extends plugins.typedrequestInterfaces.implementsTR<
20
+ export interface IReq_Spark_Cloudly_GetNodeEnrollmentState extends plugins.typedrequestInterfaces.implementsTR<
21
21
  plugins.typedrequestInterfaces.ITypedRequest,
22
- IReq_Spark_Cloudly_GetNodeEnrollmentStateV1
22
+ IReq_Spark_Cloudly_GetNodeEnrollmentState
23
23
  > {
24
- method: 'getNodeEnrollmentStateV1';
24
+ method: 'getNodeEnrollmentState';
25
25
  request: { nodeId: string; nodeToken: string };
26
26
  /** Reject unless Spark is currently authenticated and Pallet authority is absent. */
27
- response: INodeEnrollmentStateV1;
27
+ response: INodeEnrollmentState;
28
28
  }
29
29
 
30
30
  /** One server transaction; each node-local owner durably activates independently. */
31
- export interface IReq_Spark_Cloudly_EnrollNodeV1 extends plugins.typedrequestInterfaces.implementsTR<
31
+ export interface IReq_Spark_Cloudly_EnrollNode extends plugins.typedrequestInterfaces.implementsTR<
32
32
  plugins.typedrequestInterfaces.ITypedRequest,
33
- IReq_Spark_Cloudly_EnrollNodeV1
33
+ IReq_Spark_Cloudly_EnrollNode
34
34
  > {
35
- method: 'enrollNodeV1';
36
- request: INodeEnrollmentRequestV1;
35
+ method: 'enrollNode';
36
+ request: INodeEnrollmentRequest;
37
37
  /** Replays require the exact receipt AND both current credential authorities. */
38
- response: INodeEnrollmentAcknowledgementV1;
38
+ response: INodeEnrollmentAcknowledgement;
39
39
  }
40
40
 
41
41
  /** Requires verified platform-infrastructure admin authority; returns public data only. */
@@ -65,7 +65,7 @@ export interface IReq_Any_Cloudly_GetNodeCredential extends plugins.typedrequest
65
65
  purpose: TNodeCredentialPurpose;
66
66
  };
67
67
  response: {
68
- metadata: INodeCredentialMetadataV1 | null;
68
+ metadata: INodeCredentialMetadata | null;
69
69
  };
70
70
  }
71
71
 
@@ -76,7 +76,7 @@ export interface IReq_Any_Cloudly_RotateNodeCredential extends plugins.typedrequ
76
76
  method: 'rotateNodeCredential';
77
77
  request: {
78
78
  identity: IIdentity;
79
- mutation: INodeCredentialMutationPreconditionsV1 & {
79
+ mutation: INodeCredentialMutationPreconditions & {
80
80
  /**
81
81
  * SHA-256(token UTF-8 bytes), exactly 64 lowercase hexadecimal characters.
82
82
  * The node must durably retain its pending CSPRNG credential and mutation
@@ -86,7 +86,7 @@ export interface IReq_Any_Cloudly_RotateNodeCredential extends plugins.typedrequ
86
86
  newTokenHash: string;
87
87
  };
88
88
  };
89
- response: INodeCredentialMutationResultV1;
89
+ response: INodeCredentialMutationResult;
90
90
  }
91
91
 
92
92
  export interface IReq_Any_Cloudly_RevokeNodeCredential extends plugins.typedrequestInterfaces.implementsTR<
@@ -96,9 +96,9 @@ export interface IReq_Any_Cloudly_RevokeNodeCredential extends plugins.typedrequ
96
96
  method: 'revokeNodeCredential';
97
97
  request: {
98
98
  identity: IIdentity;
99
- mutation: INodeCredentialMutationPreconditionsV1;
99
+ mutation: INodeCredentialMutationPreconditions;
100
100
  };
101
- response: INodeCredentialMutationResultV1;
101
+ response: INodeCredentialMutationResult;
102
102
  }
103
103
 
104
104
  export interface IRequest_Any_Cloudly_GetNodesByCluster {
@@ -238,23 +238,6 @@ export interface IReq_Any_Cloudly_SetClusterNodeCorestoreEndpoint extends plugin
238
238
  };
239
239
  }
240
240
 
241
- export interface IRequest_Spark_Cloudly_SendHeartbeat extends plugins.typedrequestInterfaces.implementsTR<
242
- plugins.typedrequestInterfaces.ITypedRequest,
243
- IRequest_Spark_Cloudly_SendHeartbeat
244
- > {
245
- method: 'sparkNodeHeartbeat';
246
- request: {
247
- nodeId: string;
248
- nodeToken: string;
249
- metrics: IClusterNodeMetrics;
250
- runtimeInfo: ISparkNodeRuntimeInfo;
251
- };
252
- response: {
253
- accepted: boolean;
254
- message?: string;
255
- };
256
- }
257
-
258
241
  export interface IReq_Any_Cloudly_CreateNodeAction extends plugins.typedrequestInterfaces.implementsTR<
259
242
  plugins.typedrequestInterfaces.ITypedRequest,
260
243
  IReq_Any_Cloudly_CreateNodeAction
@@ -1,38 +1,38 @@
1
1
  import * as plugins from '../plugins.js';
2
2
  import type {
3
- INodeEnrollmentV1, IPalletNodeEnrollmentActivationV1, IPalletNodeEnrollmentPreparationV1,
4
- IPalletNodeEnrollmentBoundV1, IPalletNodeEnrollmentActiveV1,
3
+ INodeEnrollment, IPalletNodeEnrollmentActivation, IPalletNodeEnrollmentPreparation,
4
+ IPalletNodeEnrollmentBound, IPalletNodeEnrollmentActive,
5
5
  } from '../data/nodeenrollment.js';
6
6
 
7
7
  /** Root-authenticated node-local IPC only; never expose on a network router. */
8
- export interface IReq_Spark_Pallet_PrepareNodeEnrollmentV1 extends plugins.typedrequestInterfaces.implementsTR<
8
+ export interface IReq_Spark_Pallet_PrepareNodeEnrollment extends plugins.typedrequestInterfaces.implementsTR<
9
9
  plugins.typedrequestInterfaces.ITypedRequest,
10
- IReq_Spark_Pallet_PrepareNodeEnrollmentV1
10
+ IReq_Spark_Pallet_PrepareNodeEnrollment
11
11
  > {
12
- method: 'preparePalletNodeEnrollmentV1';
13
- request: IPalletNodeEnrollmentPreparationV1;
12
+ method: 'preparePalletNodeEnrollment';
13
+ request: IPalletNodeEnrollmentPreparation;
14
14
  /** Return only a current pending proposal, never bearer material or a historical preparation. */
15
- response: INodeEnrollmentV1['credentials'][1];
15
+ response: INodeEnrollment['credentials'][1];
16
16
  }
17
17
 
18
18
  /** First enrollment only, not generic credential rotation. */
19
- export interface IReq_Spark_Pallet_BindNodeEnrollmentV1 extends plugins.typedrequestInterfaces.implementsTR<
19
+ export interface IReq_Spark_Pallet_BindNodeEnrollment extends plugins.typedrequestInterfaces.implementsTR<
20
20
  plugins.typedrequestInterfaces.ITypedRequest,
21
- IReq_Spark_Pallet_BindNodeEnrollmentV1
21
+ IReq_Spark_Pallet_BindNodeEnrollment
22
22
  > {
23
- method: 'bindPalletNodeEnrollmentV1';
24
- request: INodeEnrollmentV1;
23
+ method: 'bindPalletNodeEnrollment';
24
+ request: INodeEnrollment;
25
25
  /** Issued only after proving the exact durable pending binding. */
26
- response: IPalletNodeEnrollmentBoundV1;
26
+ response: IPalletNodeEnrollmentBound;
27
27
  }
28
28
 
29
- export interface IReq_Spark_Pallet_ActivateNodeEnrollmentV1 extends plugins.typedrequestInterfaces.implementsTR<
29
+ export interface IReq_Spark_Pallet_ActivateNodeEnrollment extends plugins.typedrequestInterfaces.implementsTR<
30
30
  plugins.typedrequestInterfaces.ITypedRequest,
31
- IReq_Spark_Pallet_ActivateNodeEnrollmentV1
31
+ IReq_Spark_Pallet_ActivateNodeEnrollment
32
32
  > {
33
- method: 'activatePalletNodeEnrollmentV1';
33
+ method: 'activatePalletNodeEnrollment';
34
34
  /** The trusted Spark coordinator must authenticate Cloudly before submitting its acknowledgement. */
35
- request: IPalletNodeEnrollmentActivationV1;
35
+ request: IPalletNodeEnrollmentActivation;
36
36
  /** Prove the exact current local identity after activation; a historical receipt is insufficient. */
37
- response: IPalletNodeEnrollmentActiveV1;
37
+ response: IPalletNodeEnrollmentActive;
38
38
  }
@@ -6,39 +6,39 @@ import type * as protection from '../data/networkprotection.js';
6
6
  import type * as credential from '../data/networkcredential.js';
7
7
 
8
8
  /** Current-peer, exact-projection authorization; response contains secret keys. */
9
- export interface IReq_Pallet_Controller_GetRuntimeManagedVpnCredentialV1 extends plugins.typedrequestInterfaces.implementsTR<
10
- plugins.typedrequestInterfaces.ITypedRequest, IReq_Pallet_Controller_GetRuntimeManagedVpnCredentialV1
9
+ export interface IReq_Pallet_Controller_GetRuntimeManagedVpnCredential extends plugins.typedrequestInterfaces.implementsTR<
10
+ plugins.typedrequestInterfaces.ITypedRequest, IReq_Pallet_Controller_GetRuntimeManagedVpnCredential
11
11
  > {
12
- method: 'getRuntimeManagedVpnCredentialV1';
13
- request: credential.IGetRuntimeManagedVpnCredentialRequestV1;
14
- response: credential.IGetRuntimeManagedVpnCredentialResponseV1;
12
+ method: 'getRuntimeManagedVpnCredential';
13
+ request: credential.IGetRuntimeManagedVpnCredentialRequest;
14
+ response: credential.IGetRuntimeManagedVpnCredentialResponse;
15
15
  }
16
16
 
17
17
  /** Current authenticated peer reports its durable complete native protection journal. */
18
- export interface IReq_Pallet_Controller_ReportRuntimeNetworkProtectionV1 extends plugins.typedrequestInterfaces.implementsTR<
19
- plugins.typedrequestInterfaces.ITypedRequest, IReq_Pallet_Controller_ReportRuntimeNetworkProtectionV1
18
+ export interface IReq_Pallet_Controller_ReportRuntimeNetworkProtection extends plugins.typedrequestInterfaces.implementsTR<
19
+ plugins.typedrequestInterfaces.ITypedRequest, IReq_Pallet_Controller_ReportRuntimeNetworkProtection
20
20
  > {
21
- method: 'reportRuntimeNetworkProtectionV1';
22
- request: protection.IReportRuntimeNetworkProtectionRequestV1;
23
- response: protection.IReportRuntimeNetworkProtectionResponseV1;
21
+ method: 'reportRuntimeNetworkProtection';
22
+ request: protection.IReportRuntimeNetworkProtectionRequest;
23
+ response: protection.IReportRuntimeNetworkProtectionResponse;
24
24
  }
25
25
 
26
26
  /** Dedicated signing trust installed only through the current authenticated physical peer. */
27
- export interface IReq_Controller_Pallet_ApplyRuntimeNetworkSigningAuthorityV1 extends plugins.typedrequestInterfaces.implementsTR<
28
- plugins.typedrequestInterfaces.ITypedRequest, IReq_Controller_Pallet_ApplyRuntimeNetworkSigningAuthorityV1
27
+ export interface IReq_Controller_Pallet_ApplyRuntimeNetworkSigningAuthority extends plugins.typedrequestInterfaces.implementsTR<
28
+ plugins.typedrequestInterfaces.ITypedRequest, IReq_Controller_Pallet_ApplyRuntimeNetworkSigningAuthority
29
29
  > {
30
- method: 'applyRuntimeNetworkSigningAuthorityV1';
31
- request: network.IApplyRuntimeNetworkSigningAuthorityRequestV1;
32
- response: network.IApplyRuntimeNetworkAuthorityResponseV1;
30
+ method: 'applyRuntimeNetworkSigningAuthority';
31
+ request: network.IApplyRuntimeNetworkSigningAuthorityRequest;
32
+ response: network.IApplyRuntimeNetworkAuthorityResponse;
33
33
  }
34
34
 
35
35
  /** Complete signed node state; an ACK asserts admission only. */
36
- export interface IReq_Controller_Pallet_ApplyRuntimeNetworkProjectionV1 extends plugins.typedrequestInterfaces.implementsTR<
37
- plugins.typedrequestInterfaces.ITypedRequest, IReq_Controller_Pallet_ApplyRuntimeNetworkProjectionV1
36
+ export interface IReq_Controller_Pallet_ApplyRuntimeNetworkProjection extends plugins.typedrequestInterfaces.implementsTR<
37
+ plugins.typedrequestInterfaces.ITypedRequest, IReq_Controller_Pallet_ApplyRuntimeNetworkProjection
38
38
  > {
39
- method: 'applyRuntimeNetworkProjectionV1';
40
- request: network.IApplyRuntimeNetworkProjectionRequestV1;
41
- response: network.IApplyRuntimeNetworkAuthorityResponseV1;
39
+ method: 'applyRuntimeNetworkProjection';
40
+ request: network.IApplyRuntimeNetworkProjectionRequest;
41
+ response: network.IApplyRuntimeNetworkAuthorityResponse;
42
42
  }
43
43
 
44
44
  /**
@@ -62,62 +62,74 @@ export interface IReq_Controller_Pallet_ApplyRuntimeNetworkDnsLeaseRenewal exten
62
62
  * WSS-only Pallet bootstrap. Derive physical peer/idempotency server-side; the registering
63
63
  * node process is named by `request.nodeInstanceNonce`, because one relay socket may carry
64
64
  * the registrations of every node in a cluster.
65
+ *
66
+ * The controller judges the body in the one server order `protocol.readProtocolOffer` states,
67
+ * negotiating against its `palletRuntime` offer before the body is validated, and answers
68
+ * `{ session, protocol }`, which `bindRegisterPalletRuntimeSessionResponse` binds to the
69
+ * request the node sent. A refusal travels as `IProtocolRefusal` in `TypedResponseError.errorData`,
70
+ * so a node that is refused keeps its workloads and offers again rather than tearing them down.
65
71
  */
66
- export interface IReq_Pallet_Cloudly_RegisterPalletRuntimeSessionV1 extends plugins.typedrequestInterfaces.implementsTR<
72
+ export interface IReq_Pallet_Cloudly_RegisterPalletRuntimeSession extends plugins.typedrequestInterfaces.implementsTR<
67
73
  plugins.typedrequestInterfaces.ITypedRequest,
68
- IReq_Pallet_Cloudly_RegisterPalletRuntimeSessionV1
74
+ IReq_Pallet_Cloudly_RegisterPalletRuntimeSession
69
75
  > {
70
- method: 'registerPalletRuntimeSessionV1';
71
- request: data.IRegisterPalletRuntimeSessionRequestV1;
72
- response: data.IRuntimeSessionBindingV1;
76
+ method: 'registerPalletRuntimeSession';
77
+ request: data.IRegisterPalletRuntimeSessionRequest;
78
+ response: data.IRegisterPalletRuntimeSessionResponse;
73
79
  }
74
80
 
75
81
  /** Controller push over the already authenticated Pallet-initiated connection. */
76
- export interface IReq_Controller_Pallet_ApplyRuntimeAssignmentV1 extends plugins.typedrequestInterfaces.implementsTR<
82
+ export interface IReq_Controller_Pallet_ApplyRuntimeAssignment extends plugins.typedrequestInterfaces.implementsTR<
77
83
  plugins.typedrequestInterfaces.ITypedRequest,
78
- IReq_Controller_Pallet_ApplyRuntimeAssignmentV1
84
+ IReq_Controller_Pallet_ApplyRuntimeAssignment
79
85
  > {
80
- method: 'applyRuntimeAssignmentV1';
81
- request: data.IApplyRuntimeAssignmentRequestV1;
82
- response: data.IApplyRuntimeAssignmentResponseV1;
86
+ method: 'applyRuntimeAssignment';
87
+ request: data.IApplyRuntimeAssignmentRequest;
88
+ response: data.IApplyRuntimeAssignmentResponse;
83
89
  }
84
90
 
85
91
  /** Current-peer report, including exact historical outbox recovery after reconnect. */
86
- export interface IReq_Pallet_Controller_ReportRuntimeAssignmentObservationV1 extends plugins.typedrequestInterfaces.implementsTR<
92
+ export interface IReq_Pallet_Controller_ReportRuntimeAssignmentObservation extends plugins.typedrequestInterfaces.implementsTR<
87
93
  plugins.typedrequestInterfaces.ITypedRequest,
88
- IReq_Pallet_Controller_ReportRuntimeAssignmentObservationV1
94
+ IReq_Pallet_Controller_ReportRuntimeAssignmentObservation
89
95
  > {
90
- method: 'reportRuntimeAssignmentObservationV1';
91
- request: data.IReportRuntimeAssignmentObservationRequestV1;
92
- response: data.IReportRuntimeAssignmentObservationResponseV1;
96
+ method: 'reportRuntimeAssignmentObservation';
97
+ request: data.IReportRuntimeAssignmentObservationRequest;
98
+ response: data.IReportRuntimeAssignmentObservationResponse;
93
99
  }
94
100
 
95
101
  /** Exact joined terminal-operation receipt; observations and boot changes cannot substitute. */
96
- export interface IReq_Pallet_Controller_ReportRuntimeAssignmentTerminalReceiptV1 extends plugins.typedrequestInterfaces.implementsTR<
102
+ export interface IReq_Pallet_Controller_ReportRuntimeAssignmentTerminalReceipt extends plugins.typedrequestInterfaces.implementsTR<
97
103
  plugins.typedrequestInterfaces.ITypedRequest,
98
- IReq_Pallet_Controller_ReportRuntimeAssignmentTerminalReceiptV1
104
+ IReq_Pallet_Controller_ReportRuntimeAssignmentTerminalReceipt
99
105
  > {
100
- method: 'reportRuntimeAssignmentTerminalReceiptV1';
101
- request: terminal.IReportRuntimeAssignmentTerminalReceiptRequestV1;
102
- response: terminal.IReportRuntimeAssignmentTerminalReceiptResponseV1;
106
+ method: 'reportRuntimeAssignmentTerminalReceipt';
107
+ request: terminal.IReportRuntimeAssignmentTerminalReceiptRequest;
108
+ response: terminal.IReportRuntimeAssignmentTerminalReceiptResponse;
103
109
  }
104
110
 
105
111
  /** Current-peer, exact current assignment authorization; response is secret material. */
106
- export interface IReq_Pallet_Controller_GetRuntimeRegistryCredentialV1 extends plugins.typedrequestInterfaces.implementsTR<
112
+ export interface IReq_Pallet_Controller_GetRuntimeRegistryCredential extends plugins.typedrequestInterfaces.implementsTR<
107
113
  plugins.typedrequestInterfaces.ITypedRequest,
108
- IReq_Pallet_Controller_GetRuntimeRegistryCredentialV1
114
+ IReq_Pallet_Controller_GetRuntimeRegistryCredential
109
115
  > {
110
- method: 'getRuntimeRegistryCredentialV1';
111
- request: data.IGetRuntimeRegistryCredentialRequestV1;
112
- response: data.IGetRuntimeRegistryCredentialResponseV1;
116
+ method: 'getRuntimeRegistryCredential';
117
+ request: data.IGetRuntimeRegistryCredentialRequest;
118
+ response: data.IGetRuntimeRegistryCredentialResponse;
113
119
  }
114
120
 
115
- /** WSS-only JWT authentication; server-owned identity tag, never client-authored claims. */
116
- export interface IReq_Any_Cloudly_RegisterCloudlyClientSessionV1 extends plugins.typedrequestInterfaces.implementsTR<
121
+ /**
122
+ * WSS-only JWT authentication; server-owned identity tag, never client-authored claims.
123
+ *
124
+ * Judged in the order `runtimeSessionContract` states, against the server's `cloudlyClient` offer,
125
+ * before the JWT is authenticated: a peer of another major is refused by name rather than by a
126
+ * credential verdict it cannot act on.
127
+ */
128
+ export interface IReq_Any_Cloudly_RegisterCloudlyClientSession extends plugins.typedrequestInterfaces.implementsTR<
117
129
  plugins.typedrequestInterfaces.ITypedRequest,
118
- IReq_Any_Cloudly_RegisterCloudlyClientSessionV1
130
+ IReq_Any_Cloudly_RegisterCloudlyClientSession
119
131
  > {
120
- method: 'registerCloudlyClientSessionV1';
121
- request: data.IRegisterCloudlyClientSessionRequestV1;
122
- response: data.IRegisterCloudlyClientSessionResponseV1;
132
+ method: 'registerCloudlyClientSession';
133
+ request: data.IRegisterCloudlyClientSessionRequest;
134
+ response: data.IRegisterCloudlyClientSessionResponse;
123
135
  }
@@ -8,9 +8,9 @@ import type {
8
8
  ISecretSetConsumerRolloutStatus,
9
9
  ISecretSetMetadata,
10
10
  ISecretVersionMetadata,
11
- ISecretVersionPurgeIntentV1,
11
+ ISecretVersionPurgeIntent,
12
12
  ISecretVersionRetentionReference,
13
- TSecretVersionPurgeOperationV1,
13
+ TSecretVersionPurgeOperation,
14
14
  TSecretMutationTarget,
15
15
  TSecretValueInput,
16
16
  TSecretDelivery,
@@ -146,7 +146,6 @@ extends plugins.typedrequestInterfaces.implementsTR<
146
146
  limit?: number;
147
147
  };
148
148
  response: {
149
- schemaVersion: 1;
150
149
  secret: ISecretMetadata;
151
150
  version: ISecretVersionMetadata;
152
151
  targetSecretsRevision: number;
@@ -156,7 +155,7 @@ extends plugins.typedrequestInterfaces.implementsTR<
156
155
  references: ISecretVersionRetentionReference[];
157
156
  nextCursor?: string;
158
157
  referencesTruncated: boolean;
159
- operation?: TSecretVersionPurgeOperationV1;
158
+ operation?: TSecretVersionPurgeOperation;
160
159
  };
161
160
  }
162
161
 
@@ -172,13 +171,13 @@ extends plugins.typedrequestInterfaces.implementsTR<
172
171
  IReq_PurgeSecretVersion
173
172
  > {
174
173
  method: 'purgeSecretVersion';
175
- request: ISecretVersionPurgeIntentV1 & {
174
+ request: ISecretVersionPurgeIntent & {
176
175
  identity: IIdentityCredential;
177
176
  };
178
177
  response: {
179
178
  secret: ISecretMetadata;
180
179
  version: ISecretVersionMetadata;
181
- operation: TSecretVersionPurgeOperationV1;
180
+ operation: TSecretVersionPurgeOperation;
182
181
  targetSecretsRevision: number;
183
182
  };
184
183
  }
@@ -565,7 +564,6 @@ export const validateSecretVersionPurgePreflightResponse = async (
565
564
  }
566
565
  const response = responseArg as Record<string, unknown>;
567
566
  const expectedKeys = [
568
- 'schemaVersion',
569
567
  'secret',
570
568
  'version',
571
569
  'targetSecretsRevision',
@@ -582,9 +580,6 @@ export const validateSecretVersionPurgePreflightResponse = async (
582
580
  !== JSON.stringify([...expectedKeys].sort())) {
583
581
  errors.push('secret version purge preflight response must use its exact schema');
584
582
  }
585
- if (response.schemaVersion !== 1) {
586
- errors.push('secret version purge preflight response schemaVersion must be 1');
587
- }
588
583
  if (secretData.validateSecretVersionMetadata(response.version).length > 0) {
589
584
  errors.push('secret version purge preflight version must be canonical');
590
585
  }