@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,291 +0,0 @@
1
- import type { ICorestoreDatabaseAllocationReference } from './runtime.corestore.js';
2
- export declare const cloudlyLegacyDeploymentSettlementOfflineExportLimits: Readonly<{
3
- readonly maximumIdentifierLength: 200;
4
- readonly maximumSourceDocuments: 2000;
5
- readonly maximumOperations: 500;
6
- readonly maximumExactExportBytes: number;
7
- readonly maximumJournalGrowthBytes: number;
8
- readonly maximumJournalCanonicalBytes: number;
9
- readonly maximumReceiptBytes: number;
10
- readonly maximumResultBytes: number;
11
- readonly maximumAuthorityBytes: number;
12
- readonly maximumPlanBytes: number;
13
- readonly maximumAuthenticatedArtifactBytes: number;
14
- readonly maximumAuthorityLifetimeMs: number;
15
- }>;
16
- export declare const cloudlyLegacyDeploymentSettlementOfflineExportDomains: Readonly<{
17
- readonly rehearsalAttestationHmac: "serve.zone/cloudly-legacy-deployment-settlement/offline-export/rehearsal-attestation-hmac-v1\0";
18
- readonly productionTransformAuthorizationHmac: "serve.zone/cloudly-legacy-deployment-settlement/offline-export/production-transform-authorization-hmac-v1\0";
19
- readonly attemptJournalHmac: "serve.zone/cloudly-legacy-deployment-settlement/offline-export/attempt-journal-hmac-v1\0";
20
- readonly completeOutputReceiptHmac: "serve.zone/cloudly-legacy-deployment-settlement/offline-export/complete-output-receipt-hmac-v1\0";
21
- }>;
22
- export declare const cloudlyLegacyDeploymentSettlementOfflineExportJournalCollectionName: "cloudly_legacy_deployment_settlement_export_attempt_v1";
23
- export type TCloudlyLegacyDeploymentSettlementOfflineExportCodecErrorCode = 'INVALID_DATA' | 'INVALID_SCHEMA' | 'INVALID_VALUE' | 'LIMIT_EXCEEDED' | 'ORDERING_REQUIRED' | 'CROSS_FIELD_MISMATCH';
24
- export declare class CloudlyLegacyDeploymentSettlementOfflineExportCodecError extends Error {
25
- readonly code: TCloudlyLegacyDeploymentSettlementOfflineExportCodecErrorCode;
26
- readonly path: string;
27
- constructor(codeArg: TCloudlyLegacyDeploymentSettlementOfflineExportCodecErrorCode, pathArg: string);
28
- }
29
- export type TCloudlyLegacyDeploymentSettlementOfflineExportClassification = 'image-recorded-not-current' | 'image-recorded-current-failed' | 'rolling-out-current-failed' | 'rolling-out-superseded';
30
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportClassificationCountsV1 {
31
- 'image-recorded-not-current': number;
32
- 'image-recorded-current-failed': number;
33
- 'rolling-out-current-failed': number;
34
- 'rolling-out-superseded': number;
35
- }
36
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportSourceCensusV1 {
37
- operations: number;
38
- services: number;
39
- images: number;
40
- releases: number;
41
- rolloutOperations: number;
42
- routeClaims: number;
43
- resourceClaims: number;
44
- }
45
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportMutationCountsV1 {
46
- operationCount: number;
47
- routeClaimsStabilized: number;
48
- routeClaimsRemoved: number;
49
- resourceClaimsRemoved: number;
50
- }
51
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportPlanEntryV1 {
52
- operationId: string;
53
- serviceId: string;
54
- sourceRevision: number;
55
- sourceState: 'image-recorded' | 'rolling-out';
56
- classification: TCloudlyLegacyDeploymentSettlementOfflineExportClassification;
57
- finalRevision: number;
58
- sourceDocumentHmac: `hmac-sha256:${string}`;
59
- finalDocumentHmac: `hmac-sha256:${string}`;
60
- routeClaimsStabilized: number;
61
- routeClaimsRemoved: number;
62
- resourceClaimsRemoved: number;
63
- }
64
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportFileIdentityV1 {
65
- format: 'smartdb.database.export.v1';
66
- databaseName: string;
67
- byteLength: number;
68
- sha256: string;
69
- lineFeedTerminator: 'single-lf';
70
- }
71
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportApprovedSourceBackupIdentityV1 {
72
- backupId: string;
73
- sourceServiceId: string;
74
- snapshotId: string;
75
- backupReceiptSha256: string;
76
- }
77
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportPlanV1 {
78
- schemaVersion: 1;
79
- kind: 'cloudly-legacy-deployment-settlement-offline-export-plan';
80
- operationId: string;
81
- settlementId: string;
82
- sourceFile: ICloudlyLegacyDeploymentSettlementOfflineExportFileIdentityV1;
83
- effectiveAt: number;
84
- sourceStateHmac: `hmac-sha256:${string}`;
85
- finalStateHmac: `hmac-sha256:${string}`;
86
- sourceCensus: ICloudlyLegacyDeploymentSettlementOfflineExportSourceCensusV1;
87
- entries: ICloudlyLegacyDeploymentSettlementOfflineExportPlanEntryV1[];
88
- counts: ICloudlyLegacyDeploymentSettlementOfflineExportMutationCountsV1;
89
- classificationCounts: ICloudlyLegacyDeploymentSettlementOfflineExportClassificationCountsV1;
90
- }
91
- interface ICloudlyLegacyDeploymentSettlementOfflineExportAuthorityReferenceBaseV1 {
92
- schemaVersion: 1;
93
- kind: 'cloudly-legacy-deployment-settlement-offline-export-authority-reference';
94
- operationId: string;
95
- settlementId: string;
96
- authorityId: string;
97
- keyId: string;
98
- keyVersion: 1;
99
- authorityMetadataSha256: string;
100
- }
101
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportSourceAuthorityReferenceV1 extends ICloudlyLegacyDeploymentSettlementOfflineExportAuthorityReferenceBaseV1 {
102
- role: 'source-rehearsal';
103
- }
104
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorityReferenceV1 extends ICloudlyLegacyDeploymentSettlementOfflineExportAuthorityReferenceBaseV1 {
105
- role: 'production-transform';
106
- }
107
- export type TCloudlyLegacyDeploymentSettlementOfflineExportAuthorityReferenceV1 = ICloudlyLegacyDeploymentSettlementOfflineExportSourceAuthorityReferenceV1 | ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorityReferenceV1;
108
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportSourceAuthorityV1 {
109
- schemaVersion: 1;
110
- kind: 'cloudly-legacy-deployment-settlement-offline-export-source-authority';
111
- role: 'source-rehearsal';
112
- operationId: string;
113
- settlementId: string;
114
- authorityId: string;
115
- keyId: string;
116
- keyVersion: 1;
117
- issuedAt: number;
118
- expiresAt: number;
119
- sourceFile: ICloudlyLegacyDeploymentSettlementOfflineExportFileIdentityV1;
120
- approvedSourceBackup: ICloudlyLegacyDeploymentSettlementOfflineExportApprovedSourceBackupIdentityV1;
121
- planSha256: string;
122
- rehearsalRequestSha256: string;
123
- }
124
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportRehearsalAttestationPayloadV1 {
125
- schemaVersion: 1;
126
- kind: 'cloudly-legacy-deployment-settlement-offline-export-rehearsal-attestation';
127
- sourceAuthority: ICloudlyLegacyDeploymentSettlementOfflineExportSourceAuthorityReferenceV1;
128
- plan: ICloudlyLegacyDeploymentSettlementOfflineExportPlanV1;
129
- planSha256: string;
130
- rehearsalRequestSha256: string;
131
- scratchAllocation: ICorestoreDatabaseAllocationReference;
132
- outcome: 'transform-required' | 'no-op';
133
- observedFinalStateHmac: `hmac-sha256:${string}`;
134
- observedCounts: ICloudlyLegacyDeploymentSettlementOfflineExportMutationCountsV1;
135
- observedClassificationCounts: ICloudlyLegacyDeploymentSettlementOfflineExportClassificationCountsV1;
136
- completedAt: number;
137
- }
138
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportRehearsalAttestationV1 extends ICloudlyLegacyDeploymentSettlementOfflineExportRehearsalAttestationPayloadV1 {
139
- payloadSha256: string;
140
- mac: string;
141
- }
142
- export type TCloudlyLegacyDeploymentSettlementOfflineExportUnsignedRehearsalAttestationV1 = Omit<ICloudlyLegacyDeploymentSettlementOfflineExportRehearsalAttestationV1, 'mac'>;
143
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorityV1 {
144
- schemaVersion: 1;
145
- kind: 'cloudly-legacy-deployment-settlement-offline-export-production-transform-authority';
146
- role: 'production-transform';
147
- operationId: string;
148
- settlementId: string;
149
- authorityId: string;
150
- keyId: string;
151
- keyVersion: 1;
152
- issuedAt: number;
153
- expiresAt: number;
154
- sourceAuthority: ICloudlyLegacyDeploymentSettlementOfflineExportSourceAuthorityReferenceV1;
155
- authenticatedRehearsalAttestationSha256: string;
156
- }
157
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorizationPayloadV1 {
158
- schemaVersion: 1;
159
- kind: 'cloudly-legacy-deployment-settlement-offline-export-production-transform-authorization';
160
- authority: ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorityReferenceV1;
161
- sourceAuthority: ICloudlyLegacyDeploymentSettlementOfflineExportSourceAuthorityReferenceV1;
162
- attemptId: string;
163
- authenticatedRehearsalAttestationSha256: string;
164
- planSha256: string;
165
- requestSha256: string;
166
- requestedAt: number;
167
- authorizedAt: number;
168
- }
169
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorizationV1 extends ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorizationPayloadV1 {
170
- payloadSha256: string;
171
- mac: string;
172
- }
173
- export type TCloudlyLegacyDeploymentSettlementOfflineExportUnsignedProductionTransformAuthorizationV1 = Omit<ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorizationV1, 'mac'>;
174
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportAttemptJournalSeedV1 {
175
- schemaVersion: 1;
176
- kind: typeof cloudlyLegacyDeploymentSettlementOfflineExportJournalCollectionName;
177
- purpose: 'production-transform';
178
- operationId: string;
179
- settlementId: string;
180
- attemptId: string;
181
- sourceAuthority: ICloudlyLegacyDeploymentSettlementOfflineExportSourceAuthorityReferenceV1;
182
- productionTransformAuthority: ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorityReferenceV1;
183
- authenticatedRehearsalAttestationSha256: string;
184
- transformAuthorizationSha256: string;
185
- planSha256: string;
186
- requestSha256: string;
187
- sourceFile: ICloudlyLegacyDeploymentSettlementOfflineExportFileIdentityV1;
188
- transformedCoreFile: ICloudlyLegacyDeploymentSettlementOfflineExportFileIdentityV1;
189
- sourceStateHmac: `hmac-sha256:${string}`;
190
- finalStateHmac: `hmac-sha256:${string}`;
191
- outcome: 'transformed' | 'no-op';
192
- counts: ICloudlyLegacyDeploymentSettlementOfflineExportMutationCountsV1;
193
- classificationCounts: ICloudlyLegacyDeploymentSettlementOfflineExportClassificationCountsV1;
194
- completedAt: number;
195
- }
196
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportAttemptJournalV1 extends ICloudlyLegacyDeploymentSettlementOfflineExportAttemptJournalSeedV1 {
197
- _id: string;
198
- mac: string;
199
- }
200
- export type TCloudlyLegacyDeploymentSettlementOfflineExportUnsignedAttemptJournalV1 = Omit<ICloudlyLegacyDeploymentSettlementOfflineExportAttemptJournalV1, 'mac'>;
201
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportCompleteOutputReceiptPayloadV1 {
202
- schemaVersion: 1;
203
- kind: 'cloudly-legacy-deployment-settlement-offline-export-complete-output-receipt';
204
- authority: ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorityReferenceV1;
205
- sourceAuthority: ICloudlyLegacyDeploymentSettlementOfflineExportSourceAuthorityReferenceV1;
206
- operationId: string;
207
- settlementId: string;
208
- attemptId: string;
209
- journalSha256: string;
210
- transformedCoreFile: ICloudlyLegacyDeploymentSettlementOfflineExportFileIdentityV1;
211
- completeOutputFile: ICloudlyLegacyDeploymentSettlementOfflineExportFileIdentityV1;
212
- journalGrowthBytes: number;
213
- completedAt: number;
214
- }
215
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportCompleteOutputReceiptV1 extends ICloudlyLegacyDeploymentSettlementOfflineExportCompleteOutputReceiptPayloadV1 {
216
- payloadSha256: string;
217
- mac: string;
218
- }
219
- export type TCloudlyLegacyDeploymentSettlementOfflineExportUnsignedCompleteOutputReceiptV1 = Omit<ICloudlyLegacyDeploymentSettlementOfflineExportCompleteOutputReceiptV1, 'mac'>;
220
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportTransformResultV1 {
221
- schemaVersion: 1;
222
- kind: 'cloudly-legacy-deployment-settlement-offline-export-transform-result';
223
- status: 'completed';
224
- operationId: string;
225
- settlementId: string;
226
- attemptId: string;
227
- sourceAuthority: ICloudlyLegacyDeploymentSettlementOfflineExportSourceAuthorityReferenceV1;
228
- productionTransformAuthority: ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorityReferenceV1;
229
- planSha256: string;
230
- requestSha256: string;
231
- completeOutputReceiptSha256: string;
232
- outcome: 'transformed' | 'no-op';
233
- counts: ICloudlyLegacyDeploymentSettlementOfflineExportMutationCountsV1;
234
- classificationCounts: ICloudlyLegacyDeploymentSettlementOfflineExportClassificationCountsV1;
235
- completedAt: number;
236
- }
237
- export interface ICloudlyLegacyDeploymentSettlementOfflineExportHmacVerificationInputV1 {
238
- authority: TCloudlyLegacyDeploymentSettlementOfflineExportAuthorityReferenceV1;
239
- domain: typeof cloudlyLegacyDeploymentSettlementOfflineExportDomains[keyof typeof cloudlyLegacyDeploymentSettlementOfflineExportDomains];
240
- hmacInput: Uint8Array;
241
- mac: string;
242
- }
243
- export type TCloudlyLegacyDeploymentSettlementOfflineExportHmacVerifier = (inputArg: ICloudlyLegacyDeploymentSettlementOfflineExportHmacVerificationInputV1) => boolean | Promise<boolean>;
244
- export declare const normalizeCloudlyLegacyDeploymentSettlementOfflineExportFileIdentity: (valueArg: unknown) => Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportFileIdentityV1>;
245
- export declare const encodeCloudlyLegacyDeploymentSettlementOfflineExportFileIdentity: (valueArg: unknown) => Uint8Array;
246
- export declare const digestCloudlyLegacyDeploymentSettlementOfflineExportFileIdentity: (valueArg: unknown) => string;
247
- export declare const normalizeCloudlyLegacyDeploymentSettlementOfflineExportApprovedSourceBackupIdentity: (valueArg: unknown) => Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportApprovedSourceBackupIdentityV1>;
248
- export declare const normalizeCloudlyLegacyDeploymentSettlementOfflineExportPlan: (valueArg: unknown) => Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportPlanV1>;
249
- export declare const encodeCloudlyLegacyDeploymentSettlementOfflineExportPlan: (valueArg: unknown) => Uint8Array;
250
- export declare const digestCloudlyLegacyDeploymentSettlementOfflineExportPlan: (valueArg: unknown) => string;
251
- export declare const normalizeCloudlyLegacyDeploymentSettlementOfflineExportSourceAuthorityReference: (valueArg: unknown) => Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportSourceAuthorityReferenceV1>;
252
- export declare const normalizeCloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorityReference: (valueArg: unknown) => Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorityReferenceV1>;
253
- export declare const normalizeCloudlyLegacyDeploymentSettlementOfflineExportSourceAuthority: (valueArg: unknown) => Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportSourceAuthorityV1>;
254
- export declare const encodeCloudlyLegacyDeploymentSettlementOfflineExportSourceAuthority: (valueArg: unknown) => Uint8Array;
255
- export declare const digestCloudlyLegacyDeploymentSettlementOfflineExportSourceAuthority: (valueArg: unknown) => string;
256
- export declare const createCloudlyLegacyDeploymentSettlementOfflineExportSourceAuthorityReference: (authorityArg: unknown) => Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportSourceAuthorityReferenceV1>;
257
- export declare const digestCloudlyLegacyDeploymentSettlementOfflineExportRehearsalAttestationPayload: (valueArg: unknown) => string;
258
- export declare const normalizeCloudlyLegacyDeploymentSettlementOfflineExportRehearsalAttestation: (valueArg: unknown) => Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportRehearsalAttestationV1>;
259
- export declare const encodeCloudlyLegacyDeploymentSettlementOfflineExportRehearsalAttestation: (valueArg: unknown) => Uint8Array;
260
- export declare const digestCloudlyLegacyDeploymentSettlementOfflineExportRehearsalAttestation: (valueArg: unknown) => string;
261
- export declare const encodeCloudlyLegacyDeploymentSettlementOfflineExportRehearsalAttestationHmacInput: (valueArg: unknown) => Uint8Array;
262
- export declare const normalizeCloudlyLegacyDeploymentSettlementOfflineExportRehearsalAttestationForAuthority: (attestationArg: unknown, sourceAuthorityArg: unknown, verifierArg: TCloudlyLegacyDeploymentSettlementOfflineExportHmacVerifier) => Promise<Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportRehearsalAttestationV1>>;
263
- export declare const normalizeCloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthority: (valueArg: unknown) => Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorityV1>;
264
- export declare const encodeCloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthority: (valueArg: unknown) => Uint8Array;
265
- export declare const digestCloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthority: (valueArg: unknown) => string;
266
- export declare const createCloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorityReference: (authorityArg: unknown) => Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorityReferenceV1>;
267
- export declare const normalizeCloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorityForRehearsal: (productionAuthorityArg: unknown, sourceAuthorityArg: unknown, rehearsalAttestationArg: unknown, verifierArg: TCloudlyLegacyDeploymentSettlementOfflineExportHmacVerifier) => Promise<Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorityV1>>;
268
- export declare const digestCloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorizationPayload: (valueArg: unknown) => string;
269
- export declare const normalizeCloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorization: (valueArg: unknown) => Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorizationV1>;
270
- export declare const encodeCloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorization: (valueArg: unknown) => Uint8Array;
271
- export declare const digestCloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorization: (valueArg: unknown) => string;
272
- export declare const encodeCloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorizationHmacInput: (valueArg: unknown) => Uint8Array;
273
- export declare const normalizeCloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorizationForAuthorities: (authorizationArg: unknown, productionAuthorityArg: unknown, sourceAuthorityArg: unknown, rehearsalAttestationArg: unknown, verifierArg: TCloudlyLegacyDeploymentSettlementOfflineExportHmacVerifier) => Promise<Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorizationV1>>;
274
- export declare const createCloudlyLegacyDeploymentSettlementOfflineExportAttemptJournalId: (seedArg: unknown) => string;
275
- export declare const normalizeCloudlyLegacyDeploymentSettlementOfflineExportAttemptJournal: (valueArg: unknown) => Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportAttemptJournalV1>;
276
- export declare const encodeCloudlyLegacyDeploymentSettlementOfflineExportAttemptJournal: (valueArg: unknown) => Uint8Array;
277
- export declare const digestCloudlyLegacyDeploymentSettlementOfflineExportAttemptJournal: (valueArg: unknown) => string;
278
- export declare const encodeCloudlyLegacyDeploymentSettlementOfflineExportAttemptJournalHmacInput: (valueArg: unknown) => Uint8Array;
279
- export declare const normalizeCloudlyLegacyDeploymentSettlementOfflineExportAttemptJournalForAuthorities: (journalArg: unknown, authorizationArg: unknown, productionAuthorityArg: unknown, sourceAuthorityArg: unknown, rehearsalAttestationArg: unknown, verifierArg: TCloudlyLegacyDeploymentSettlementOfflineExportHmacVerifier) => Promise<Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportAttemptJournalV1>>;
280
- export declare const digestCloudlyLegacyDeploymentSettlementOfflineExportCompleteOutputReceiptPayload: (valueArg: unknown) => string;
281
- export declare const normalizeCloudlyLegacyDeploymentSettlementOfflineExportCompleteOutputReceipt: (valueArg: unknown) => Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportCompleteOutputReceiptV1>;
282
- export declare const encodeCloudlyLegacyDeploymentSettlementOfflineExportCompleteOutputReceipt: (valueArg: unknown) => Uint8Array;
283
- export declare const digestCloudlyLegacyDeploymentSettlementOfflineExportCompleteOutputReceipt: (valueArg: unknown) => string;
284
- export declare const encodeCloudlyLegacyDeploymentSettlementOfflineExportCompleteOutputReceiptHmacInput: (valueArg: unknown) => Uint8Array;
285
- export declare const normalizeCloudlyLegacyDeploymentSettlementOfflineExportCompleteOutputReceiptForAuthorities: (receiptArg: unknown, journalArg: unknown, authorizationArg: unknown, productionAuthorityArg: unknown, sourceAuthorityArg: unknown, rehearsalAttestationArg: unknown, verifierArg: TCloudlyLegacyDeploymentSettlementOfflineExportHmacVerifier) => Promise<Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportCompleteOutputReceiptV1>>;
286
- export declare const normalizeCloudlyLegacyDeploymentSettlementOfflineExportTransformResult: (valueArg: unknown) => Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportTransformResultV1>;
287
- export declare const encodeCloudlyLegacyDeploymentSettlementOfflineExportTransformResult: (valueArg: unknown) => Uint8Array;
288
- export declare const digestCloudlyLegacyDeploymentSettlementOfflineExportTransformResult: (valueArg: unknown) => string;
289
- export declare const normalizeCloudlyLegacyDeploymentSettlementOfflineExportTransformResultForCompleteOutputReceipt: (resultArg: unknown, receiptArg: unknown, journalArg: unknown) => Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportTransformResultV1>;
290
- export declare const normalizeCloudlyLegacyDeploymentSettlementOfflineExportTransformResultForAuthorities: (resultArg: unknown, receiptArg: unknown, journalArg: unknown, authorizationArg: unknown, productionAuthorityArg: unknown, sourceAuthorityArg: unknown, rehearsalAttestationArg: unknown, verifierArg: TCloudlyLegacyDeploymentSettlementOfflineExportHmacVerifier) => Promise<Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportTransformResultV1>>;
291
- export { cloudlyLegacyDeploymentSettlementOfflineExportGoldenVectors, } from './runtime.cloudlylegacydeploymentsettlement.offlineexport.golden.js';
@@ -1,30 +0,0 @@
1
- import type { ICloudlyLegacyDeploymentSettlementOfflineExportAttemptJournalV1, ICloudlyLegacyDeploymentSettlementOfflineExportCompleteOutputReceiptV1, ICloudlyLegacyDeploymentSettlementOfflineExportPlanV1, ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorizationV1, ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorityReferenceV1, ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorityV1, ICloudlyLegacyDeploymentSettlementOfflineExportRehearsalAttestationV1, ICloudlyLegacyDeploymentSettlementOfflineExportSourceAuthorityReferenceV1, ICloudlyLegacyDeploymentSettlementOfflineExportSourceAuthorityV1, ICloudlyLegacyDeploymentSettlementOfflineExportTransformResultV1 } from './runtime.cloudlylegacydeploymentsettlement.offlineexport.js';
2
- interface IOfflineExportGoldenArtifact<TValue> {
3
- input: TValue;
4
- canonical: string;
5
- sha256: string;
6
- hmac?: string;
7
- }
8
- interface ICloudlyLegacyDeploymentSettlementOfflineExportGoldenVectorsV1 {
9
- version: 1;
10
- sourceAuthority: {
11
- input: ICloudlyLegacyDeploymentSettlementOfflineExportSourceAuthorityV1;
12
- reference: ICloudlyLegacyDeploymentSettlementOfflineExportSourceAuthorityReferenceV1;
13
- canonical: string;
14
- sha256: string;
15
- };
16
- plan: IOfflineExportGoldenArtifact<ICloudlyLegacyDeploymentSettlementOfflineExportPlanV1>;
17
- rehearsalAttestation: IOfflineExportGoldenArtifact<ICloudlyLegacyDeploymentSettlementOfflineExportRehearsalAttestationV1>;
18
- productionTransformAuthority: {
19
- input: ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorityV1;
20
- reference: ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorityReferenceV1;
21
- canonical: string;
22
- sha256: string;
23
- };
24
- transformAuthorization: IOfflineExportGoldenArtifact<ICloudlyLegacyDeploymentSettlementOfflineExportProductionTransformAuthorizationV1>;
25
- attemptJournal: IOfflineExportGoldenArtifact<ICloudlyLegacyDeploymentSettlementOfflineExportAttemptJournalV1>;
26
- completeOutputReceipt: IOfflineExportGoldenArtifact<ICloudlyLegacyDeploymentSettlementOfflineExportCompleteOutputReceiptV1>;
27
- result: IOfflineExportGoldenArtifact<ICloudlyLegacyDeploymentSettlementOfflineExportTransformResultV1>;
28
- }
29
- export declare const cloudlyLegacyDeploymentSettlementOfflineExportGoldenVectors: Readonly<ICloudlyLegacyDeploymentSettlementOfflineExportGoldenVectorsV1>;
30
- export {};