@akashnetwork/chain-sdk 1.0.0-alpha.35 → 1.0.0-alpha.36
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/dist/cjs/generated/createProviderSDK.cjs +10 -1
- package/dist/cjs/generated/createProviderSDK.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/manifest/v2beta3/service.cjs +85 -3
- package/dist/cjs/generated/protos/akash/manifest/v2beta3/service.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/lease/v1/service.cjs +276 -0
- package/dist/cjs/generated/protos/akash/provider/lease/v1/service.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/lease/v1/service_akash.cjs +10 -0
- package/dist/cjs/generated/protos/akash/provider/lease/v1/service_akash.cjs.map +2 -2
- package/dist/cjs/generated/protos/index.provider.akash.v1.cjs +3 -0
- package/dist/cjs/generated/protos/index.provider.akash.v1.cjs.map +2 -2
- package/dist/cjs/generated/protos/index.provider.akash.v2beta3.cjs +2 -1
- package/dist/cjs/generated/protos/index.provider.akash.v2beta3.cjs.map +2 -2
- package/dist/cjs/sdl/manifest/generateManifest.cjs +3 -0
- package/dist/cjs/sdl/manifest/generateManifest.cjs.map +2 -2
- package/dist/cjs/sdl/manifest/generateManifestVersion.cjs +1 -1
- package/dist/cjs/sdl/manifest/generateManifestVersion.cjs.map +2 -2
- package/dist/cjs/sdl/validateSDL/validateSDL.cjs +24 -1
- package/dist/cjs/sdl/validateSDL/validateSDL.cjs.map +2 -2
- package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs +67 -46
- package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs.map +2 -2
- package/dist/esm/{chunk-WBBS4OZV.js → chunk-P2FARPRM.js} +99 -51
- package/dist/esm/chunk-P2FARPRM.js.map +7 -0
- package/dist/esm/{chunk-HBXYMZWF.js → chunk-SQUBF6EZ.js} +279 -3
- package/dist/esm/chunk-SQUBF6EZ.js.map +7 -0
- package/dist/esm/{chunk-COR2HJ6D.js → chunk-UZXCPKLQ.js} +85 -3
- package/dist/esm/chunk-UZXCPKLQ.js.map +7 -0
- package/dist/esm/generated/protos/index.provider.akash.v1.js +8 -2
- package/dist/esm/generated/protos/index.provider.akash.v2beta3.js +5 -3
- package/dist/esm/index.js +13 -4
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/index.web.js +2 -2
- package/dist/esm/{service_akash-AAROYIZB.js → service_akash-BILCZWQI.js} +15 -3
- package/dist/esm/service_akash-BILCZWQI.js.map +7 -0
- package/dist/sdl-schema.yaml +5 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/generated/createProviderSDK.d.ts +14 -0
- package/dist/types/generated/protos/akash/manifest/v2beta3/service.d.ts +19 -0
- package/dist/types/generated/protos/akash/provider/lease/v1/service.d.ts +43 -0
- package/dist/types/generated/protos/akash/provider/lease/v1/service_akash.d.ts +9 -1
- package/dist/types/generated/protos/index.provider.akash.v1.d.ts +1 -1
- package/dist/types/generated/protos/index.provider.akash.v2beta3.d.ts +1 -1
- package/dist/types/sdl/validateSDL/validateSDLInput.d.ts +5 -0
- package/package.json +1 -1
- package/dist/esm/chunk-COR2HJ6D.js.map +0 -7
- package/dist/esm/chunk-HBXYMZWF.js.map +0 -7
- package/dist/esm/chunk-WBBS4OZV.js.map +0 -7
- package/dist/esm/service_akash-AAROYIZB.js.map +0 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Group
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UZXCPKLQ.js";
|
|
4
4
|
import {
|
|
5
5
|
LeaseID
|
|
6
6
|
} from "./chunk-VGYXZJNF.js";
|
|
@@ -931,6 +931,279 @@ var ServiceStatusResponse = {
|
|
|
931
931
|
return message;
|
|
932
932
|
}
|
|
933
933
|
};
|
|
934
|
+
function createBaseAttestationQuoteRequest() {
|
|
935
|
+
return { leaseId: void 0, nonce: "", bindTls: false };
|
|
936
|
+
}
|
|
937
|
+
var AttestationQuoteRequest = {
|
|
938
|
+
$type: "akash.provider.lease.v1.AttestationQuoteRequest",
|
|
939
|
+
encode(message, writer = new BinaryWriter()) {
|
|
940
|
+
if (message.leaseId !== void 0) {
|
|
941
|
+
LeaseID.encode(message.leaseId, writer.uint32(10).fork()).join();
|
|
942
|
+
}
|
|
943
|
+
if (message.nonce !== "") {
|
|
944
|
+
writer.uint32(18).string(message.nonce);
|
|
945
|
+
}
|
|
946
|
+
if (message.bindTls !== false) {
|
|
947
|
+
writer.uint32(24).bool(message.bindTls);
|
|
948
|
+
}
|
|
949
|
+
return writer;
|
|
950
|
+
},
|
|
951
|
+
decode(input, length) {
|
|
952
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
953
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
954
|
+
const message = createBaseAttestationQuoteRequest();
|
|
955
|
+
while (reader.pos < end) {
|
|
956
|
+
const tag = reader.uint32();
|
|
957
|
+
switch (tag >>> 3) {
|
|
958
|
+
case 1: {
|
|
959
|
+
if (tag !== 10) {
|
|
960
|
+
break;
|
|
961
|
+
}
|
|
962
|
+
message.leaseId = LeaseID.decode(reader, reader.uint32());
|
|
963
|
+
continue;
|
|
964
|
+
}
|
|
965
|
+
case 2: {
|
|
966
|
+
if (tag !== 18) {
|
|
967
|
+
break;
|
|
968
|
+
}
|
|
969
|
+
message.nonce = reader.string();
|
|
970
|
+
continue;
|
|
971
|
+
}
|
|
972
|
+
case 3: {
|
|
973
|
+
if (tag !== 24) {
|
|
974
|
+
break;
|
|
975
|
+
}
|
|
976
|
+
message.bindTls = reader.bool();
|
|
977
|
+
continue;
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
981
|
+
break;
|
|
982
|
+
}
|
|
983
|
+
reader.skip(tag & 7);
|
|
984
|
+
}
|
|
985
|
+
return message;
|
|
986
|
+
},
|
|
987
|
+
fromJSON(object) {
|
|
988
|
+
return {
|
|
989
|
+
leaseId: isSet(object.lease_id) ? LeaseID.fromJSON(object.lease_id) : void 0,
|
|
990
|
+
nonce: isSet(object.nonce) ? globalThis.String(object.nonce) : "",
|
|
991
|
+
bindTls: isSet(object.bind_tls) ? globalThis.Boolean(object.bind_tls) : false
|
|
992
|
+
};
|
|
993
|
+
},
|
|
994
|
+
toJSON(message) {
|
|
995
|
+
const obj = {};
|
|
996
|
+
if (message.leaseId !== void 0) {
|
|
997
|
+
obj.lease_id = LeaseID.toJSON(message.leaseId);
|
|
998
|
+
}
|
|
999
|
+
if (message.nonce !== "") {
|
|
1000
|
+
obj.nonce = message.nonce;
|
|
1001
|
+
}
|
|
1002
|
+
if (message.bindTls !== false) {
|
|
1003
|
+
obj.bind_tls = message.bindTls;
|
|
1004
|
+
}
|
|
1005
|
+
return obj;
|
|
1006
|
+
},
|
|
1007
|
+
fromPartial(object) {
|
|
1008
|
+
const message = createBaseAttestationQuoteRequest();
|
|
1009
|
+
message.leaseId = object.leaseId !== void 0 && object.leaseId !== null ? LeaseID.fromPartial(object.leaseId) : void 0;
|
|
1010
|
+
message.nonce = object.nonce ?? "";
|
|
1011
|
+
message.bindTls = object.bindTls ?? false;
|
|
1012
|
+
return message;
|
|
1013
|
+
}
|
|
1014
|
+
};
|
|
1015
|
+
function createBaseAttestationGPUReport() {
|
|
1016
|
+
return { deviceIndex: 0, report: "" };
|
|
1017
|
+
}
|
|
1018
|
+
var AttestationGPUReport = {
|
|
1019
|
+
$type: "akash.provider.lease.v1.AttestationGPUReport",
|
|
1020
|
+
encode(message, writer = new BinaryWriter()) {
|
|
1021
|
+
if (message.deviceIndex !== 0) {
|
|
1022
|
+
writer.uint32(8).uint32(message.deviceIndex);
|
|
1023
|
+
}
|
|
1024
|
+
if (message.report !== "") {
|
|
1025
|
+
writer.uint32(18).string(message.report);
|
|
1026
|
+
}
|
|
1027
|
+
return writer;
|
|
1028
|
+
},
|
|
1029
|
+
decode(input, length) {
|
|
1030
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1031
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1032
|
+
const message = createBaseAttestationGPUReport();
|
|
1033
|
+
while (reader.pos < end) {
|
|
1034
|
+
const tag = reader.uint32();
|
|
1035
|
+
switch (tag >>> 3) {
|
|
1036
|
+
case 1: {
|
|
1037
|
+
if (tag !== 8) {
|
|
1038
|
+
break;
|
|
1039
|
+
}
|
|
1040
|
+
message.deviceIndex = reader.uint32();
|
|
1041
|
+
continue;
|
|
1042
|
+
}
|
|
1043
|
+
case 2: {
|
|
1044
|
+
if (tag !== 18) {
|
|
1045
|
+
break;
|
|
1046
|
+
}
|
|
1047
|
+
message.report = reader.string();
|
|
1048
|
+
continue;
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1052
|
+
break;
|
|
1053
|
+
}
|
|
1054
|
+
reader.skip(tag & 7);
|
|
1055
|
+
}
|
|
1056
|
+
return message;
|
|
1057
|
+
},
|
|
1058
|
+
fromJSON(object) {
|
|
1059
|
+
return {
|
|
1060
|
+
deviceIndex: isSet(object.device_index) ? globalThis.Number(object.device_index) : 0,
|
|
1061
|
+
report: isSet(object.report) ? globalThis.String(object.report) : ""
|
|
1062
|
+
};
|
|
1063
|
+
},
|
|
1064
|
+
toJSON(message) {
|
|
1065
|
+
const obj = {};
|
|
1066
|
+
if (message.deviceIndex !== 0) {
|
|
1067
|
+
obj.device_index = Math.round(message.deviceIndex);
|
|
1068
|
+
}
|
|
1069
|
+
if (message.report !== "") {
|
|
1070
|
+
obj.report = message.report;
|
|
1071
|
+
}
|
|
1072
|
+
return obj;
|
|
1073
|
+
},
|
|
1074
|
+
fromPartial(object) {
|
|
1075
|
+
const message = createBaseAttestationGPUReport();
|
|
1076
|
+
message.deviceIndex = object.deviceIndex ?? 0;
|
|
1077
|
+
message.report = object.report ?? "";
|
|
1078
|
+
return message;
|
|
1079
|
+
}
|
|
1080
|
+
};
|
|
1081
|
+
function createBaseAttestationQuoteResponse() {
|
|
1082
|
+
return { report: "", certChain: "", teePlatform: "", auxblob: "", gpuReports: [], tlsBound: false };
|
|
1083
|
+
}
|
|
1084
|
+
var AttestationQuoteResponse = {
|
|
1085
|
+
$type: "akash.provider.lease.v1.AttestationQuoteResponse",
|
|
1086
|
+
encode(message, writer = new BinaryWriter()) {
|
|
1087
|
+
if (message.report !== "") {
|
|
1088
|
+
writer.uint32(10).string(message.report);
|
|
1089
|
+
}
|
|
1090
|
+
if (message.certChain !== "") {
|
|
1091
|
+
writer.uint32(18).string(message.certChain);
|
|
1092
|
+
}
|
|
1093
|
+
if (message.teePlatform !== "") {
|
|
1094
|
+
writer.uint32(26).string(message.teePlatform);
|
|
1095
|
+
}
|
|
1096
|
+
if (message.auxblob !== "") {
|
|
1097
|
+
writer.uint32(34).string(message.auxblob);
|
|
1098
|
+
}
|
|
1099
|
+
for (const v of message.gpuReports) {
|
|
1100
|
+
AttestationGPUReport.encode(v, writer.uint32(42).fork()).join();
|
|
1101
|
+
}
|
|
1102
|
+
if (message.tlsBound !== false) {
|
|
1103
|
+
writer.uint32(48).bool(message.tlsBound);
|
|
1104
|
+
}
|
|
1105
|
+
return writer;
|
|
1106
|
+
},
|
|
1107
|
+
decode(input, length) {
|
|
1108
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1109
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1110
|
+
const message = createBaseAttestationQuoteResponse();
|
|
1111
|
+
while (reader.pos < end) {
|
|
1112
|
+
const tag = reader.uint32();
|
|
1113
|
+
switch (tag >>> 3) {
|
|
1114
|
+
case 1: {
|
|
1115
|
+
if (tag !== 10) {
|
|
1116
|
+
break;
|
|
1117
|
+
}
|
|
1118
|
+
message.report = reader.string();
|
|
1119
|
+
continue;
|
|
1120
|
+
}
|
|
1121
|
+
case 2: {
|
|
1122
|
+
if (tag !== 18) {
|
|
1123
|
+
break;
|
|
1124
|
+
}
|
|
1125
|
+
message.certChain = reader.string();
|
|
1126
|
+
continue;
|
|
1127
|
+
}
|
|
1128
|
+
case 3: {
|
|
1129
|
+
if (tag !== 26) {
|
|
1130
|
+
break;
|
|
1131
|
+
}
|
|
1132
|
+
message.teePlatform = reader.string();
|
|
1133
|
+
continue;
|
|
1134
|
+
}
|
|
1135
|
+
case 4: {
|
|
1136
|
+
if (tag !== 34) {
|
|
1137
|
+
break;
|
|
1138
|
+
}
|
|
1139
|
+
message.auxblob = reader.string();
|
|
1140
|
+
continue;
|
|
1141
|
+
}
|
|
1142
|
+
case 5: {
|
|
1143
|
+
if (tag !== 42) {
|
|
1144
|
+
break;
|
|
1145
|
+
}
|
|
1146
|
+
message.gpuReports.push(AttestationGPUReport.decode(reader, reader.uint32()));
|
|
1147
|
+
continue;
|
|
1148
|
+
}
|
|
1149
|
+
case 6: {
|
|
1150
|
+
if (tag !== 48) {
|
|
1151
|
+
break;
|
|
1152
|
+
}
|
|
1153
|
+
message.tlsBound = reader.bool();
|
|
1154
|
+
continue;
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1158
|
+
break;
|
|
1159
|
+
}
|
|
1160
|
+
reader.skip(tag & 7);
|
|
1161
|
+
}
|
|
1162
|
+
return message;
|
|
1163
|
+
},
|
|
1164
|
+
fromJSON(object) {
|
|
1165
|
+
return {
|
|
1166
|
+
report: isSet(object.report) ? globalThis.String(object.report) : "",
|
|
1167
|
+
certChain: isSet(object.cert_chain) ? globalThis.String(object.cert_chain) : "",
|
|
1168
|
+
teePlatform: isSet(object.tee_platform) ? globalThis.String(object.tee_platform) : "",
|
|
1169
|
+
auxblob: isSet(object.auxblob) ? globalThis.String(object.auxblob) : "",
|
|
1170
|
+
gpuReports: globalThis.Array.isArray(object?.gpu_reports) ? object.gpu_reports.map((e) => AttestationGPUReport.fromJSON(e)) : [],
|
|
1171
|
+
tlsBound: isSet(object.tls_bound) ? globalThis.Boolean(object.tls_bound) : false
|
|
1172
|
+
};
|
|
1173
|
+
},
|
|
1174
|
+
toJSON(message) {
|
|
1175
|
+
const obj = {};
|
|
1176
|
+
if (message.report !== "") {
|
|
1177
|
+
obj.report = message.report;
|
|
1178
|
+
}
|
|
1179
|
+
if (message.certChain !== "") {
|
|
1180
|
+
obj.cert_chain = message.certChain;
|
|
1181
|
+
}
|
|
1182
|
+
if (message.teePlatform !== "") {
|
|
1183
|
+
obj.tee_platform = message.teePlatform;
|
|
1184
|
+
}
|
|
1185
|
+
if (message.auxblob !== "") {
|
|
1186
|
+
obj.auxblob = message.auxblob;
|
|
1187
|
+
}
|
|
1188
|
+
if (message.gpuReports?.length) {
|
|
1189
|
+
obj.gpu_reports = message.gpuReports.map((e) => AttestationGPUReport.toJSON(e));
|
|
1190
|
+
}
|
|
1191
|
+
if (message.tlsBound !== false) {
|
|
1192
|
+
obj.tls_bound = message.tlsBound;
|
|
1193
|
+
}
|
|
1194
|
+
return obj;
|
|
1195
|
+
},
|
|
1196
|
+
fromPartial(object) {
|
|
1197
|
+
const message = createBaseAttestationQuoteResponse();
|
|
1198
|
+
message.report = object.report ?? "";
|
|
1199
|
+
message.certChain = object.certChain ?? "";
|
|
1200
|
+
message.teePlatform = object.teePlatform ?? "";
|
|
1201
|
+
message.auxblob = object.auxblob ?? "";
|
|
1202
|
+
message.gpuReports = object.gpuReports?.map((e) => AttestationGPUReport.fromPartial(e)) || [];
|
|
1203
|
+
message.tlsBound = object.tlsBound ?? false;
|
|
1204
|
+
return message;
|
|
1205
|
+
}
|
|
1206
|
+
};
|
|
934
1207
|
|
|
935
1208
|
export {
|
|
936
1209
|
LeaseServiceStatus,
|
|
@@ -944,6 +1217,9 @@ export {
|
|
|
944
1217
|
ServiceLogsResponse,
|
|
945
1218
|
ShellRequest,
|
|
946
1219
|
ServiceStatusRequest,
|
|
947
|
-
ServiceStatusResponse
|
|
1220
|
+
ServiceStatusResponse,
|
|
1221
|
+
AttestationQuoteRequest,
|
|
1222
|
+
AttestationGPUReport,
|
|
1223
|
+
AttestationQuoteResponse
|
|
948
1224
|
};
|
|
949
|
-
//# sourceMappingURL=chunk-
|
|
1225
|
+
//# sourceMappingURL=chunk-SQUBF6EZ.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/generated/protos/akash/provider/lease/v1/service.ts"],
|
|
4
|
+
"sourcesContent": ["import { bytesFromBase64, base64FromBytes, isSet } from \"../../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.11.8\n// protoc unknown\n// source: akash/provider/lease/v1/service.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport Long from \"long\";\nimport { Group } from \"../../../manifest/v2beta3/group.ts\";\nimport { LeaseID } from \"../../../market/v1/lease.ts\";\n\n/** LeaseServiceStatus */\nexport interface LeaseServiceStatus {\n available: number;\n total: number;\n uris: string[];\n observedGeneration: Long;\n replicas: number;\n updatedReplicas: number;\n readyReplicas: number;\n availableReplicas: number;\n}\n\n/** LeaseIPStatus */\nexport interface LeaseIPStatus {\n port: number;\n externalPort: number;\n protocol: string;\n ip: string;\n}\n\n/** ForwarderPortStatus */\nexport interface ForwarderPortStatus {\n host: string;\n port: number;\n externalPort: number;\n proto: string;\n name: string;\n}\n\n/** ServiceStatus */\nexport interface ServiceStatus {\n name: string;\n status: LeaseServiceStatus | undefined;\n ports: ForwarderPortStatus[];\n ips: LeaseIPStatus[];\n}\n\n/** SendManifestRequest is request type for the SendManifest Providers RPC method */\nexport interface SendManifestRequest {\n leaseId: LeaseID | undefined;\n manifest: Group[];\n}\n\n/** SendManifestResponse is response type for the SendManifest Providers RPC method */\nexport interface SendManifestResponse {\n}\n\n/** ServiceLogsRequest */\nexport interface ServiceLogsRequest {\n leaseId: LeaseID | undefined;\n services: string[];\n}\n\n/** ServiceLogs */\nexport interface ServiceLogs {\n name: string;\n logs: Uint8Array;\n}\n\n/** ServiceLogsResponse */\nexport interface ServiceLogsResponse {\n services: ServiceLogs[];\n}\n\n/** ShellRequest */\nexport interface ShellRequest {\n leaseId: LeaseID | undefined;\n}\n\n/** ServiceStatusRequest */\nexport interface ServiceStatusRequest {\n leaseId: LeaseID | undefined;\n services: string[];\n}\n\n/** ServiceStatusResponse */\nexport interface ServiceStatusResponse {\n services: ServiceStatus[];\n}\n\n/**\n * AttestationQuoteRequest is the request body for the AttestationQuote RPC method.\n * The tenant generates a nonce and sends it; the provider forwards it verbatim\n * to the attestation sidecar inside the confidential compute pod.\n */\nexport interface AttestationQuoteRequest {\n leaseId:\n | LeaseID\n | undefined;\n /** Base64-encoded 64-byte nonce generated by the tenant. */\n nonce: string;\n /**\n * When true, report_data is computed as SHA-512(tls_pubkey || nonce)[:64]\n * to bind the attestation to the TLS channel.\n */\n bindTls: boolean;\n}\n\n/** AttestationGPUReport holds attestation evidence for a single GPU device. */\nexport interface AttestationGPUReport {\n deviceIndex: number;\n /** Base64-encoded hardware-signed GPU attestation report. */\n report: string;\n}\n\n/**\n * AttestationQuoteResponse is the response from the AttestationQuote RPC method.\n * Contains raw hardware-signed attestation evidence from the TEE sidecar.\n * The provider never inspects or modifies any field.\n */\nexport interface AttestationQuoteResponse {\n /** Base64-encoded CPU attestation report (SNP ~1184 bytes, TDX ~5243 bytes). */\n report: string;\n /** Base64-encoded certificate chain (may be empty). */\n certChain: string;\n /** TEE platform identifier: \"snp\", \"tdx\", \"snp-gpu\", \"tdx-gpu\". */\n teePlatform: string;\n /** Base64-encoded auxiliary blob (typically empty). */\n auxblob: string;\n /** Per-device GPU attestation reports for all CC-capable GPUs. */\n gpuReports: AttestationGPUReport[];\n /** Whether report_data was computed with TLS channel binding. */\n tlsBound: boolean;\n}\n\nfunction createBaseLeaseServiceStatus(): LeaseServiceStatus {\n return {\n available: 0,\n total: 0,\n uris: [],\n observedGeneration: Long.ZERO,\n replicas: 0,\n updatedReplicas: 0,\n readyReplicas: 0,\n availableReplicas: 0,\n };\n}\n\nexport const LeaseServiceStatus: MessageFns<LeaseServiceStatus, \"akash.provider.lease.v1.LeaseServiceStatus\"> = {\n $type: \"akash.provider.lease.v1.LeaseServiceStatus\" as const,\n\n encode(message: LeaseServiceStatus, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.available !== 0) {\n writer.uint32(8).int32(message.available);\n }\n if (message.total !== 0) {\n writer.uint32(16).int32(message.total);\n }\n for (const v of message.uris) {\n writer.uint32(26).string(v!);\n }\n if (!message.observedGeneration.equals(Long.ZERO)) {\n writer.uint32(32).int64(message.observedGeneration.toString());\n }\n if (message.replicas !== 0) {\n writer.uint32(40).int32(message.replicas);\n }\n if (message.updatedReplicas !== 0) {\n writer.uint32(48).int32(message.updatedReplicas);\n }\n if (message.readyReplicas !== 0) {\n writer.uint32(56).int32(message.readyReplicas);\n }\n if (message.availableReplicas !== 0) {\n writer.uint32(64).int32(message.availableReplicas);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): LeaseServiceStatus {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseLeaseServiceStatus();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n\n message.available = reader.int32();\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.total = reader.int32();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.uris.push(reader.string());\n continue;\n }\n case 4: {\n if (tag !== 32) {\n break;\n }\n\n message.observedGeneration = Long.fromString(reader.int64().toString());\n continue;\n }\n case 5: {\n if (tag !== 40) {\n break;\n }\n\n message.replicas = reader.int32();\n continue;\n }\n case 6: {\n if (tag !== 48) {\n break;\n }\n\n message.updatedReplicas = reader.int32();\n continue;\n }\n case 7: {\n if (tag !== 56) {\n break;\n }\n\n message.readyReplicas = reader.int32();\n continue;\n }\n case 8: {\n if (tag !== 64) {\n break;\n }\n\n message.availableReplicas = reader.int32();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): LeaseServiceStatus {\n return {\n available: isSet(object.available) ? globalThis.Number(object.available) : 0,\n total: isSet(object.total) ? globalThis.Number(object.total) : 0,\n uris: globalThis.Array.isArray(object?.uris) ? object.uris.map((e: any) => globalThis.String(e)) : [],\n observedGeneration: isSet(object.observed_generation) ? Long.fromValue(object.observed_generation) : Long.ZERO,\n replicas: isSet(object.replicas) ? globalThis.Number(object.replicas) : 0,\n updatedReplicas: isSet(object.updated_replicas) ? globalThis.Number(object.updated_replicas) : 0,\n readyReplicas: isSet(object.ready_replicas) ? globalThis.Number(object.ready_replicas) : 0,\n availableReplicas: isSet(object.available_replicas) ? globalThis.Number(object.available_replicas) : 0,\n };\n },\n\n toJSON(message: LeaseServiceStatus): unknown {\n const obj: any = {};\n if (message.available !== 0) {\n obj.available = Math.round(message.available);\n }\n if (message.total !== 0) {\n obj.total = Math.round(message.total);\n }\n if (message.uris?.length) {\n obj.uris = message.uris;\n }\n if (!message.observedGeneration.equals(Long.ZERO)) {\n obj.observed_generation = (message.observedGeneration || Long.ZERO).toString();\n }\n if (message.replicas !== 0) {\n obj.replicas = Math.round(message.replicas);\n }\n if (message.updatedReplicas !== 0) {\n obj.updated_replicas = Math.round(message.updatedReplicas);\n }\n if (message.readyReplicas !== 0) {\n obj.ready_replicas = Math.round(message.readyReplicas);\n }\n if (message.availableReplicas !== 0) {\n obj.available_replicas = Math.round(message.availableReplicas);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<LeaseServiceStatus>): LeaseServiceStatus {\n const message = createBaseLeaseServiceStatus();\n message.available = object.available ?? 0;\n message.total = object.total ?? 0;\n message.uris = object.uris?.map((e) => e) || [];\n message.observedGeneration = (object.observedGeneration !== undefined && object.observedGeneration !== null)\n ? Long.fromValue(object.observedGeneration)\n : Long.ZERO;\n message.replicas = object.replicas ?? 0;\n message.updatedReplicas = object.updatedReplicas ?? 0;\n message.readyReplicas = object.readyReplicas ?? 0;\n message.availableReplicas = object.availableReplicas ?? 0;\n return message;\n },\n};\n\nfunction createBaseLeaseIPStatus(): LeaseIPStatus {\n return { port: 0, externalPort: 0, protocol: \"\", ip: \"\" };\n}\n\nexport const LeaseIPStatus: MessageFns<LeaseIPStatus, \"akash.provider.lease.v1.LeaseIPStatus\"> = {\n $type: \"akash.provider.lease.v1.LeaseIPStatus\" as const,\n\n encode(message: LeaseIPStatus, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.port !== 0) {\n writer.uint32(8).uint32(message.port);\n }\n if (message.externalPort !== 0) {\n writer.uint32(16).uint32(message.externalPort);\n }\n if (message.protocol !== \"\") {\n writer.uint32(26).string(message.protocol);\n }\n if (message.ip !== \"\") {\n writer.uint32(34).string(message.ip);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): LeaseIPStatus {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseLeaseIPStatus();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n\n message.port = reader.uint32();\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.externalPort = reader.uint32();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.protocol = reader.string();\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.ip = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): LeaseIPStatus {\n return {\n port: isSet(object.port) ? globalThis.Number(object.port) : 0,\n externalPort: isSet(object.external_port) ? globalThis.Number(object.external_port) : 0,\n protocol: isSet(object.protocol) ? globalThis.String(object.protocol) : \"\",\n ip: isSet(object.ip) ? globalThis.String(object.ip) : \"\",\n };\n },\n\n toJSON(message: LeaseIPStatus): unknown {\n const obj: any = {};\n if (message.port !== 0) {\n obj.port = Math.round(message.port);\n }\n if (message.externalPort !== 0) {\n obj.external_port = Math.round(message.externalPort);\n }\n if (message.protocol !== \"\") {\n obj.protocol = message.protocol;\n }\n if (message.ip !== \"\") {\n obj.ip = message.ip;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<LeaseIPStatus>): LeaseIPStatus {\n const message = createBaseLeaseIPStatus();\n message.port = object.port ?? 0;\n message.externalPort = object.externalPort ?? 0;\n message.protocol = object.protocol ?? \"\";\n message.ip = object.ip ?? \"\";\n return message;\n },\n};\n\nfunction createBaseForwarderPortStatus(): ForwarderPortStatus {\n return { host: \"\", port: 0, externalPort: 0, proto: \"\", name: \"\" };\n}\n\nexport const ForwarderPortStatus: MessageFns<ForwarderPortStatus, \"akash.provider.lease.v1.ForwarderPortStatus\"> = {\n $type: \"akash.provider.lease.v1.ForwarderPortStatus\" as const,\n\n encode(message: ForwarderPortStatus, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.host !== \"\") {\n writer.uint32(10).string(message.host);\n }\n if (message.port !== 0) {\n writer.uint32(16).uint32(message.port);\n }\n if (message.externalPort !== 0) {\n writer.uint32(24).uint32(message.externalPort);\n }\n if (message.proto !== \"\") {\n writer.uint32(34).string(message.proto);\n }\n if (message.name !== \"\") {\n writer.uint32(42).string(message.name);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ForwarderPortStatus {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseForwarderPortStatus();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.host = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.port = reader.uint32();\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.externalPort = reader.uint32();\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.proto = reader.string();\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.name = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): ForwarderPortStatus {\n return {\n host: isSet(object.host) ? globalThis.String(object.host) : \"\",\n port: isSet(object.port) ? globalThis.Number(object.port) : 0,\n externalPort: isSet(object.external_port) ? globalThis.Number(object.external_port) : 0,\n proto: isSet(object.proto) ? globalThis.String(object.proto) : \"\",\n name: isSet(object.name) ? globalThis.String(object.name) : \"\",\n };\n },\n\n toJSON(message: ForwarderPortStatus): unknown {\n const obj: any = {};\n if (message.host !== \"\") {\n obj.host = message.host;\n }\n if (message.port !== 0) {\n obj.port = Math.round(message.port);\n }\n if (message.externalPort !== 0) {\n obj.external_port = Math.round(message.externalPort);\n }\n if (message.proto !== \"\") {\n obj.proto = message.proto;\n }\n if (message.name !== \"\") {\n obj.name = message.name;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<ForwarderPortStatus>): ForwarderPortStatus {\n const message = createBaseForwarderPortStatus();\n message.host = object.host ?? \"\";\n message.port = object.port ?? 0;\n message.externalPort = object.externalPort ?? 0;\n message.proto = object.proto ?? \"\";\n message.name = object.name ?? \"\";\n return message;\n },\n};\n\nfunction createBaseServiceStatus(): ServiceStatus {\n return { name: \"\", status: undefined, ports: [], ips: [] };\n}\n\nexport const ServiceStatus: MessageFns<ServiceStatus, \"akash.provider.lease.v1.ServiceStatus\"> = {\n $type: \"akash.provider.lease.v1.ServiceStatus\" as const,\n\n encode(message: ServiceStatus, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.name !== \"\") {\n writer.uint32(10).string(message.name);\n }\n if (message.status !== undefined) {\n LeaseServiceStatus.encode(message.status, writer.uint32(18).fork()).join();\n }\n for (const v of message.ports) {\n ForwarderPortStatus.encode(v!, writer.uint32(26).fork()).join();\n }\n for (const v of message.ips) {\n LeaseIPStatus.encode(v!, writer.uint32(34).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ServiceStatus {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseServiceStatus();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.name = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.status = LeaseServiceStatus.decode(reader, reader.uint32());\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.ports.push(ForwarderPortStatus.decode(reader, reader.uint32()));\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.ips.push(LeaseIPStatus.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): ServiceStatus {\n return {\n name: isSet(object.name) ? globalThis.String(object.name) : \"\",\n status: isSet(object.status) ? LeaseServiceStatus.fromJSON(object.status) : undefined,\n ports: globalThis.Array.isArray(object?.ports)\n ? object.ports.map((e: any) => ForwarderPortStatus.fromJSON(e))\n : [],\n ips: globalThis.Array.isArray(object?.ips) ? object.ips.map((e: any) => LeaseIPStatus.fromJSON(e)) : [],\n };\n },\n\n toJSON(message: ServiceStatus): unknown {\n const obj: any = {};\n if (message.name !== \"\") {\n obj.name = message.name;\n }\n if (message.status !== undefined) {\n obj.status = LeaseServiceStatus.toJSON(message.status);\n }\n if (message.ports?.length) {\n obj.ports = message.ports.map((e) => ForwarderPortStatus.toJSON(e));\n }\n if (message.ips?.length) {\n obj.ips = message.ips.map((e) => LeaseIPStatus.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<ServiceStatus>): ServiceStatus {\n const message = createBaseServiceStatus();\n message.name = object.name ?? \"\";\n message.status = (object.status !== undefined && object.status !== null)\n ? LeaseServiceStatus.fromPartial(object.status)\n : undefined;\n message.ports = object.ports?.map((e) => ForwarderPortStatus.fromPartial(e)) || [];\n message.ips = object.ips?.map((e) => LeaseIPStatus.fromPartial(e)) || [];\n return message;\n },\n};\n\nfunction createBaseSendManifestRequest(): SendManifestRequest {\n return { leaseId: undefined, manifest: [] };\n}\n\nexport const SendManifestRequest: MessageFns<SendManifestRequest, \"akash.provider.lease.v1.SendManifestRequest\"> = {\n $type: \"akash.provider.lease.v1.SendManifestRequest\" as const,\n\n encode(message: SendManifestRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.leaseId !== undefined) {\n LeaseID.encode(message.leaseId, writer.uint32(10).fork()).join();\n }\n for (const v of message.manifest) {\n Group.encode(v!, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): SendManifestRequest {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseSendManifestRequest();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.leaseId = LeaseID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.manifest.push(Group.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): SendManifestRequest {\n return {\n leaseId: isSet(object.lease_id) ? LeaseID.fromJSON(object.lease_id) : undefined,\n manifest: globalThis.Array.isArray(object?.manifest) ? object.manifest.map((e: any) => Group.fromJSON(e)) : [],\n };\n },\n\n toJSON(message: SendManifestRequest): unknown {\n const obj: any = {};\n if (message.leaseId !== undefined) {\n obj.lease_id = LeaseID.toJSON(message.leaseId);\n }\n if (message.manifest?.length) {\n obj.manifest = message.manifest.map((e) => Group.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<SendManifestRequest>): SendManifestRequest {\n const message = createBaseSendManifestRequest();\n message.leaseId = (object.leaseId !== undefined && object.leaseId !== null)\n ? LeaseID.fromPartial(object.leaseId)\n : undefined;\n message.manifest = object.manifest?.map((e) => Group.fromPartial(e)) || [];\n return message;\n },\n};\n\nfunction createBaseSendManifestResponse(): SendManifestResponse {\n return {};\n}\n\nexport const SendManifestResponse: MessageFns<SendManifestResponse, \"akash.provider.lease.v1.SendManifestResponse\"> = {\n $type: \"akash.provider.lease.v1.SendManifestResponse\" as const,\n\n encode(_: SendManifestResponse, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): SendManifestResponse {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseSendManifestResponse();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(_: any): SendManifestResponse {\n return {};\n },\n\n toJSON(_: SendManifestResponse): unknown {\n const obj: any = {};\n return obj;\n },\n fromPartial(_: DeepPartial<SendManifestResponse>): SendManifestResponse {\n const message = createBaseSendManifestResponse();\n return message;\n },\n};\n\nfunction createBaseServiceLogsRequest(): ServiceLogsRequest {\n return { leaseId: undefined, services: [] };\n}\n\nexport const ServiceLogsRequest: MessageFns<ServiceLogsRequest, \"akash.provider.lease.v1.ServiceLogsRequest\"> = {\n $type: \"akash.provider.lease.v1.ServiceLogsRequest\" as const,\n\n encode(message: ServiceLogsRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.leaseId !== undefined) {\n LeaseID.encode(message.leaseId, writer.uint32(10).fork()).join();\n }\n for (const v of message.services) {\n writer.uint32(18).string(v!);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ServiceLogsRequest {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseServiceLogsRequest();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.leaseId = LeaseID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.services.push(reader.string());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): ServiceLogsRequest {\n return {\n leaseId: isSet(object.lease_id) ? LeaseID.fromJSON(object.lease_id) : undefined,\n services: globalThis.Array.isArray(object?.services) ? object.services.map((e: any) => globalThis.String(e)) : [],\n };\n },\n\n toJSON(message: ServiceLogsRequest): unknown {\n const obj: any = {};\n if (message.leaseId !== undefined) {\n obj.lease_id = LeaseID.toJSON(message.leaseId);\n }\n if (message.services?.length) {\n obj.services = message.services;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<ServiceLogsRequest>): ServiceLogsRequest {\n const message = createBaseServiceLogsRequest();\n message.leaseId = (object.leaseId !== undefined && object.leaseId !== null)\n ? LeaseID.fromPartial(object.leaseId)\n : undefined;\n message.services = object.services?.map((e) => e) || [];\n return message;\n },\n};\n\nfunction createBaseServiceLogs(): ServiceLogs {\n return { name: \"\", logs: new Uint8Array(0) };\n}\n\nexport const ServiceLogs: MessageFns<ServiceLogs, \"akash.provider.lease.v1.ServiceLogs\"> = {\n $type: \"akash.provider.lease.v1.ServiceLogs\" as const,\n\n encode(message: ServiceLogs, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.name !== \"\") {\n writer.uint32(10).string(message.name);\n }\n if (message.logs.length !== 0) {\n writer.uint32(18).bytes(message.logs);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ServiceLogs {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseServiceLogs();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.name = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.logs = reader.bytes();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): ServiceLogs {\n return {\n name: isSet(object.name) ? globalThis.String(object.name) : \"\",\n logs: isSet(object.logs) ? bytesFromBase64(object.logs) : new Uint8Array(0),\n };\n },\n\n toJSON(message: ServiceLogs): unknown {\n const obj: any = {};\n if (message.name !== \"\") {\n obj.name = message.name;\n }\n if (message.logs.length !== 0) {\n obj.logs = base64FromBytes(message.logs);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<ServiceLogs>): ServiceLogs {\n const message = createBaseServiceLogs();\n message.name = object.name ?? \"\";\n message.logs = object.logs ?? new Uint8Array(0);\n return message;\n },\n};\n\nfunction createBaseServiceLogsResponse(): ServiceLogsResponse {\n return { services: [] };\n}\n\nexport const ServiceLogsResponse: MessageFns<ServiceLogsResponse, \"akash.provider.lease.v1.ServiceLogsResponse\"> = {\n $type: \"akash.provider.lease.v1.ServiceLogsResponse\" as const,\n\n encode(message: ServiceLogsResponse, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.services) {\n ServiceLogs.encode(v!, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ServiceLogsResponse {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseServiceLogsResponse();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.services.push(ServiceLogs.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): ServiceLogsResponse {\n return {\n services: globalThis.Array.isArray(object?.services)\n ? object.services.map((e: any) => ServiceLogs.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: ServiceLogsResponse): unknown {\n const obj: any = {};\n if (message.services?.length) {\n obj.services = message.services.map((e) => ServiceLogs.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<ServiceLogsResponse>): ServiceLogsResponse {\n const message = createBaseServiceLogsResponse();\n message.services = object.services?.map((e) => ServiceLogs.fromPartial(e)) || [];\n return message;\n },\n};\n\nfunction createBaseShellRequest(): ShellRequest {\n return { leaseId: undefined };\n}\n\nexport const ShellRequest: MessageFns<ShellRequest, \"akash.provider.lease.v1.ShellRequest\"> = {\n $type: \"akash.provider.lease.v1.ShellRequest\" as const,\n\n encode(message: ShellRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.leaseId !== undefined) {\n LeaseID.encode(message.leaseId, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ShellRequest {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseShellRequest();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.leaseId = LeaseID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): ShellRequest {\n return { leaseId: isSet(object.lease_id) ? LeaseID.fromJSON(object.lease_id) : undefined };\n },\n\n toJSON(message: ShellRequest): unknown {\n const obj: any = {};\n if (message.leaseId !== undefined) {\n obj.lease_id = LeaseID.toJSON(message.leaseId);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<ShellRequest>): ShellRequest {\n const message = createBaseShellRequest();\n message.leaseId = (object.leaseId !== undefined && object.leaseId !== null)\n ? LeaseID.fromPartial(object.leaseId)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseServiceStatusRequest(): ServiceStatusRequest {\n return { leaseId: undefined, services: [] };\n}\n\nexport const ServiceStatusRequest: MessageFns<ServiceStatusRequest, \"akash.provider.lease.v1.ServiceStatusRequest\"> = {\n $type: \"akash.provider.lease.v1.ServiceStatusRequest\" as const,\n\n encode(message: ServiceStatusRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.leaseId !== undefined) {\n LeaseID.encode(message.leaseId, writer.uint32(10).fork()).join();\n }\n for (const v of message.services) {\n writer.uint32(18).string(v!);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ServiceStatusRequest {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseServiceStatusRequest();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.leaseId = LeaseID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.services.push(reader.string());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): ServiceStatusRequest {\n return {\n leaseId: isSet(object.lease_id) ? LeaseID.fromJSON(object.lease_id) : undefined,\n services: globalThis.Array.isArray(object?.services) ? object.services.map((e: any) => globalThis.String(e)) : [],\n };\n },\n\n toJSON(message: ServiceStatusRequest): unknown {\n const obj: any = {};\n if (message.leaseId !== undefined) {\n obj.lease_id = LeaseID.toJSON(message.leaseId);\n }\n if (message.services?.length) {\n obj.services = message.services;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<ServiceStatusRequest>): ServiceStatusRequest {\n const message = createBaseServiceStatusRequest();\n message.leaseId = (object.leaseId !== undefined && object.leaseId !== null)\n ? LeaseID.fromPartial(object.leaseId)\n : undefined;\n message.services = object.services?.map((e) => e) || [];\n return message;\n },\n};\n\nfunction createBaseServiceStatusResponse(): ServiceStatusResponse {\n return { services: [] };\n}\n\nexport const ServiceStatusResponse: MessageFns<ServiceStatusResponse, \"akash.provider.lease.v1.ServiceStatusResponse\"> =\n {\n $type: \"akash.provider.lease.v1.ServiceStatusResponse\" as const,\n\n encode(message: ServiceStatusResponse, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.services) {\n ServiceStatus.encode(v!, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ServiceStatusResponse {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseServiceStatusResponse();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.services.push(ServiceStatus.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): ServiceStatusResponse {\n return {\n services: globalThis.Array.isArray(object?.services)\n ? object.services.map((e: any) => ServiceStatus.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: ServiceStatusResponse): unknown {\n const obj: any = {};\n if (message.services?.length) {\n obj.services = message.services.map((e) => ServiceStatus.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<ServiceStatusResponse>): ServiceStatusResponse {\n const message = createBaseServiceStatusResponse();\n message.services = object.services?.map((e) => ServiceStatus.fromPartial(e)) || [];\n return message;\n },\n };\n\nfunction createBaseAttestationQuoteRequest(): AttestationQuoteRequest {\n return { leaseId: undefined, nonce: \"\", bindTls: false };\n}\n\nexport const AttestationQuoteRequest: MessageFns<\n AttestationQuoteRequest,\n \"akash.provider.lease.v1.AttestationQuoteRequest\"\n> = {\n $type: \"akash.provider.lease.v1.AttestationQuoteRequest\" as const,\n\n encode(message: AttestationQuoteRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.leaseId !== undefined) {\n LeaseID.encode(message.leaseId, writer.uint32(10).fork()).join();\n }\n if (message.nonce !== \"\") {\n writer.uint32(18).string(message.nonce);\n }\n if (message.bindTls !== false) {\n writer.uint32(24).bool(message.bindTls);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): AttestationQuoteRequest {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseAttestationQuoteRequest();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.leaseId = LeaseID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.nonce = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.bindTls = reader.bool();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): AttestationQuoteRequest {\n return {\n leaseId: isSet(object.lease_id) ? LeaseID.fromJSON(object.lease_id) : undefined,\n nonce: isSet(object.nonce) ? globalThis.String(object.nonce) : \"\",\n bindTls: isSet(object.bind_tls) ? globalThis.Boolean(object.bind_tls) : false,\n };\n },\n\n toJSON(message: AttestationQuoteRequest): unknown {\n const obj: any = {};\n if (message.leaseId !== undefined) {\n obj.lease_id = LeaseID.toJSON(message.leaseId);\n }\n if (message.nonce !== \"\") {\n obj.nonce = message.nonce;\n }\n if (message.bindTls !== false) {\n obj.bind_tls = message.bindTls;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<AttestationQuoteRequest>): AttestationQuoteRequest {\n const message = createBaseAttestationQuoteRequest();\n message.leaseId = (object.leaseId !== undefined && object.leaseId !== null)\n ? LeaseID.fromPartial(object.leaseId)\n : undefined;\n message.nonce = object.nonce ?? \"\";\n message.bindTls = object.bindTls ?? false;\n return message;\n },\n};\n\nfunction createBaseAttestationGPUReport(): AttestationGPUReport {\n return { deviceIndex: 0, report: \"\" };\n}\n\nexport const AttestationGPUReport: MessageFns<AttestationGPUReport, \"akash.provider.lease.v1.AttestationGPUReport\"> = {\n $type: \"akash.provider.lease.v1.AttestationGPUReport\" as const,\n\n encode(message: AttestationGPUReport, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.deviceIndex !== 0) {\n writer.uint32(8).uint32(message.deviceIndex);\n }\n if (message.report !== \"\") {\n writer.uint32(18).string(message.report);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): AttestationGPUReport {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseAttestationGPUReport();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n\n message.deviceIndex = reader.uint32();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.report = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): AttestationGPUReport {\n return {\n deviceIndex: isSet(object.device_index) ? globalThis.Number(object.device_index) : 0,\n report: isSet(object.report) ? globalThis.String(object.report) : \"\",\n };\n },\n\n toJSON(message: AttestationGPUReport): unknown {\n const obj: any = {};\n if (message.deviceIndex !== 0) {\n obj.device_index = Math.round(message.deviceIndex);\n }\n if (message.report !== \"\") {\n obj.report = message.report;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<AttestationGPUReport>): AttestationGPUReport {\n const message = createBaseAttestationGPUReport();\n message.deviceIndex = object.deviceIndex ?? 0;\n message.report = object.report ?? \"\";\n return message;\n },\n};\n\nfunction createBaseAttestationQuoteResponse(): AttestationQuoteResponse {\n return { report: \"\", certChain: \"\", teePlatform: \"\", auxblob: \"\", gpuReports: [], tlsBound: false };\n}\n\nexport const AttestationQuoteResponse: MessageFns<\n AttestationQuoteResponse,\n \"akash.provider.lease.v1.AttestationQuoteResponse\"\n> = {\n $type: \"akash.provider.lease.v1.AttestationQuoteResponse\" as const,\n\n encode(message: AttestationQuoteResponse, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.report !== \"\") {\n writer.uint32(10).string(message.report);\n }\n if (message.certChain !== \"\") {\n writer.uint32(18).string(message.certChain);\n }\n if (message.teePlatform !== \"\") {\n writer.uint32(26).string(message.teePlatform);\n }\n if (message.auxblob !== \"\") {\n writer.uint32(34).string(message.auxblob);\n }\n for (const v of message.gpuReports) {\n AttestationGPUReport.encode(v!, writer.uint32(42).fork()).join();\n }\n if (message.tlsBound !== false) {\n writer.uint32(48).bool(message.tlsBound);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): AttestationQuoteResponse {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseAttestationQuoteResponse();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.report = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.certChain = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.teePlatform = reader.string();\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.auxblob = reader.string();\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.gpuReports.push(AttestationGPUReport.decode(reader, reader.uint32()));\n continue;\n }\n case 6: {\n if (tag !== 48) {\n break;\n }\n\n message.tlsBound = reader.bool();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): AttestationQuoteResponse {\n return {\n report: isSet(object.report) ? globalThis.String(object.report) : \"\",\n certChain: isSet(object.cert_chain) ? globalThis.String(object.cert_chain) : \"\",\n teePlatform: isSet(object.tee_platform) ? globalThis.String(object.tee_platform) : \"\",\n auxblob: isSet(object.auxblob) ? globalThis.String(object.auxblob) : \"\",\n gpuReports: globalThis.Array.isArray(object?.gpu_reports)\n ? object.gpu_reports.map((e: any) => AttestationGPUReport.fromJSON(e))\n : [],\n tlsBound: isSet(object.tls_bound) ? globalThis.Boolean(object.tls_bound) : false,\n };\n },\n\n toJSON(message: AttestationQuoteResponse): unknown {\n const obj: any = {};\n if (message.report !== \"\") {\n obj.report = message.report;\n }\n if (message.certChain !== \"\") {\n obj.cert_chain = message.certChain;\n }\n if (message.teePlatform !== \"\") {\n obj.tee_platform = message.teePlatform;\n }\n if (message.auxblob !== \"\") {\n obj.auxblob = message.auxblob;\n }\n if (message.gpuReports?.length) {\n obj.gpu_reports = message.gpuReports.map((e) => AttestationGPUReport.toJSON(e));\n }\n if (message.tlsBound !== false) {\n obj.tls_bound = message.tlsBound;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<AttestationQuoteResponse>): AttestationQuoteResponse {\n const message = createBaseAttestationQuoteResponse();\n message.report = object.report ?? \"\";\n message.certChain = object.certChain ?? \"\";\n message.teePlatform = object.teePlatform ?? \"\";\n message.auxblob = object.auxblob ?? \"\";\n message.gpuReports = object.gpuReports?.map((e) => AttestationGPUReport.fromPartial(e)) || [];\n message.tlsBound = object.tlsBound ?? false;\n return message;\n },\n};\n\nfunction _unused_bytesFromBase64(b64: string): Uint8Array {\n if ((globalThis as any).Buffer) {\n return Uint8Array.from((globalThis as any).Buffer.from(b64, \"base64\"));\n } else {\n const bin = globalThis.atob(b64);\n const arr = new Uint8Array(bin.length);\n for (let i = 0; i < bin.length; ++i) {\n arr[i] = bin.charCodeAt(i);\n }\n return arr;\n }\n}\n\nfunction _unused_base64FromBytes(arr: Uint8Array): string {\n if ((globalThis as any).Buffer) {\n return (globalThis as any).Buffer.from(arr).toString(\"base64\");\n } else {\n const bin: string[] = [];\n arr.forEach((byte) => {\n bin.push(globalThis.String.fromCharCode(byte));\n });\n return globalThis.btoa(bin.join(\"\"));\n }\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;\n\ntype _unused_DeepPartial<T> = T extends Builtin ? T\n : T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;AASA,SAAS,cAAc,oBAAoB;AAC3C,OAAO,UAAU;AAiIjB,SAAS,+BAAmD;AAC1D,SAAO;AAAA,IACL,WAAW;AAAA,IACX,OAAO;AAAA,IACP,MAAM,CAAC;AAAA,IACP,oBAAoB,KAAK;AAAA,IACzB,UAAU;AAAA,IACV,iBAAiB;AAAA,IACjB,eAAe;AAAA,IACf,mBAAmB;AAAA,EACrB;AACF;AAEO,IAAM,qBAAmG;AAAA,EAC9G,OAAO;AAAA,EAEP,O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ACT;AAAA,EACA,YAAY,QAAyE;AACnF,UAAM,UAAU,mCAAmC;AACnD,YAAQ,SAAS,OAAO,UAAU;AAClC,YAAQ,YAAY,OAAO,aAAa;AACxC,YAAQ,cAAc,OAAO,eAAe;AAC5C,YAAQ,UAAU,OAAO,WAAW;AACpC,YAAQ,aAAa,OAAO,YAAY,IAAI,CAAC,MAAM,qBAAqB,YAAY,CAAC,CAAC,KAAK,CAAC;AAC5F,YAAQ,WAAW,OAAO,YAAY;AACtC,WAAO;AAAA,EACT;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -450,8 +450,74 @@ var ServicePermissions = {
|
|
|
450
450
|
return message;
|
|
451
451
|
}
|
|
452
452
|
};
|
|
453
|
+
function createBaseTEEParams() {
|
|
454
|
+
return { type: "", attestation: false };
|
|
455
|
+
}
|
|
456
|
+
var TEEParams = {
|
|
457
|
+
$type: "akash.manifest.v2beta3.TEEParams",
|
|
458
|
+
encode(message, writer = new BinaryWriter3()) {
|
|
459
|
+
if (message.type !== "") {
|
|
460
|
+
writer.uint32(10).string(message.type);
|
|
461
|
+
}
|
|
462
|
+
if (message.attestation !== false) {
|
|
463
|
+
writer.uint32(16).bool(message.attestation);
|
|
464
|
+
}
|
|
465
|
+
return writer;
|
|
466
|
+
},
|
|
467
|
+
decode(input, length) {
|
|
468
|
+
const reader = input instanceof BinaryReader3 ? input : new BinaryReader3(input);
|
|
469
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
470
|
+
const message = createBaseTEEParams();
|
|
471
|
+
while (reader.pos < end) {
|
|
472
|
+
const tag = reader.uint32();
|
|
473
|
+
switch (tag >>> 3) {
|
|
474
|
+
case 1: {
|
|
475
|
+
if (tag !== 10) {
|
|
476
|
+
break;
|
|
477
|
+
}
|
|
478
|
+
message.type = reader.string();
|
|
479
|
+
continue;
|
|
480
|
+
}
|
|
481
|
+
case 2: {
|
|
482
|
+
if (tag !== 16) {
|
|
483
|
+
break;
|
|
484
|
+
}
|
|
485
|
+
message.attestation = reader.bool();
|
|
486
|
+
continue;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
490
|
+
break;
|
|
491
|
+
}
|
|
492
|
+
reader.skip(tag & 7);
|
|
493
|
+
}
|
|
494
|
+
return message;
|
|
495
|
+
},
|
|
496
|
+
fromJSON(object) {
|
|
497
|
+
return {
|
|
498
|
+
type: isSet(object.type) ? globalThis.String(object.type) : "",
|
|
499
|
+
attestation: isSet(object.attestation) ? globalThis.Boolean(object.attestation) : false
|
|
500
|
+
};
|
|
501
|
+
},
|
|
502
|
+
toJSON(message) {
|
|
503
|
+
const obj = {};
|
|
504
|
+
if (message.type !== "") {
|
|
505
|
+
obj.type = message.type;
|
|
506
|
+
}
|
|
507
|
+
if (message.attestation !== false) {
|
|
508
|
+
obj.attestation = message.attestation;
|
|
509
|
+
}
|
|
510
|
+
return obj;
|
|
511
|
+
},
|
|
512
|
+
fromPartial(object) {
|
|
513
|
+
const message = createBaseTEEParams();
|
|
514
|
+
message.type = object.type ?? "";
|
|
515
|
+
message.attestation = object.attestation ?? false;
|
|
516
|
+
return message;
|
|
517
|
+
}
|
|
518
|
+
};
|
|
453
519
|
function createBaseServiceParams() {
|
|
454
|
-
return { storage: [], credentials: void 0, permissions: void 0 };
|
|
520
|
+
return { storage: [], credentials: void 0, permissions: void 0, tee: void 0 };
|
|
455
521
|
}
|
|
456
522
|
var ServiceParams = {
|
|
457
523
|
$type: "akash.manifest.v2beta3.ServiceParams",
|
|
@@ -465,6 +531,9 @@ var ServiceParams = {
|
|
|
465
531
|
if (message.permissions !== void 0) {
|
|
466
532
|
ServicePermissions.encode(message.permissions, writer.uint32(90).fork()).join();
|
|
467
533
|
}
|
|
534
|
+
if (message.tee !== void 0) {
|
|
535
|
+
TEEParams.encode(message.tee, writer.uint32(98).fork()).join();
|
|
536
|
+
}
|
|
468
537
|
return writer;
|
|
469
538
|
},
|
|
470
539
|
decode(input, length) {
|
|
@@ -495,6 +564,13 @@ var ServiceParams = {
|
|
|
495
564
|
message.permissions = ServicePermissions.decode(reader, reader.uint32());
|
|
496
565
|
continue;
|
|
497
566
|
}
|
|
567
|
+
case 12: {
|
|
568
|
+
if (tag !== 98) {
|
|
569
|
+
break;
|
|
570
|
+
}
|
|
571
|
+
message.tee = TEEParams.decode(reader, reader.uint32());
|
|
572
|
+
continue;
|
|
573
|
+
}
|
|
498
574
|
}
|
|
499
575
|
if ((tag & 7) === 4 || tag === 0) {
|
|
500
576
|
break;
|
|
@@ -507,7 +583,8 @@ var ServiceParams = {
|
|
|
507
583
|
return {
|
|
508
584
|
storage: globalThis.Array.isArray(object?.storage) ? object.storage.map((e) => StorageParams.fromJSON(e)) : [],
|
|
509
585
|
credentials: isSet(object.credentials) ? ImageCredentials.fromJSON(object.credentials) : void 0,
|
|
510
|
-
permissions: isSet(object.permissions) ? ServicePermissions.fromJSON(object.permissions) : void 0
|
|
586
|
+
permissions: isSet(object.permissions) ? ServicePermissions.fromJSON(object.permissions) : void 0,
|
|
587
|
+
tee: isSet(object.tee) ? TEEParams.fromJSON(object.tee) : void 0
|
|
511
588
|
};
|
|
512
589
|
},
|
|
513
590
|
toJSON(message) {
|
|
@@ -521,6 +598,9 @@ var ServiceParams = {
|
|
|
521
598
|
if (message.permissions !== void 0) {
|
|
522
599
|
obj.permissions = ServicePermissions.toJSON(message.permissions);
|
|
523
600
|
}
|
|
601
|
+
if (message.tee !== void 0) {
|
|
602
|
+
obj.tee = TEEParams.toJSON(message.tee);
|
|
603
|
+
}
|
|
524
604
|
return obj;
|
|
525
605
|
},
|
|
526
606
|
fromPartial(object) {
|
|
@@ -528,6 +608,7 @@ var ServiceParams = {
|
|
|
528
608
|
message.storage = object.storage?.map((e) => StorageParams.fromPartial(e)) || [];
|
|
529
609
|
message.credentials = object.credentials !== void 0 && object.credentials !== null ? ImageCredentials.fromPartial(object.credentials) : void 0;
|
|
530
610
|
message.permissions = object.permissions !== void 0 && object.permissions !== null ? ServicePermissions.fromPartial(object.permissions) : void 0;
|
|
611
|
+
message.tee = object.tee !== void 0 && object.tee !== null ? TEEParams.fromPartial(object.tee) : void 0;
|
|
531
612
|
return message;
|
|
532
613
|
}
|
|
533
614
|
};
|
|
@@ -899,9 +980,10 @@ export {
|
|
|
899
980
|
ServiceExpose,
|
|
900
981
|
StorageParams,
|
|
901
982
|
ServicePermissions,
|
|
983
|
+
TEEParams,
|
|
902
984
|
ServiceParams,
|
|
903
985
|
ImageCredentials,
|
|
904
986
|
Service,
|
|
905
987
|
Group
|
|
906
988
|
};
|
|
907
|
-
//# sourceMappingURL=chunk-
|
|
989
|
+
//# sourceMappingURL=chunk-UZXCPKLQ.js.map
|