@akashnetwork/chain-sdk 1.0.0-alpha.35 → 1.0.0-alpha.37
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/sdk/transport/runCall.cjs +19 -5
- package/dist/cjs/sdk/transport/runCall.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-R42YS74B.js} +118 -56
- package/dist/esm/chunk-R42YS74B.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
|
@@ -74,6 +74,14 @@ export declare const serviceLoader: import("../sdk/client/createServiceLoader.ts
|
|
|
74
74
|
readonly output: import("../encoding/typeEncodingHelpers.ts").MessageFns<akash_provider_lease_v1_service.ServiceLogsResponse, "akash.provider.lease.v1.ServiceLogsResponse">;
|
|
75
75
|
readonly parent: /*elided*/ any;
|
|
76
76
|
};
|
|
77
|
+
readonly attestationQuote: {
|
|
78
|
+
readonly name: "AttestationQuote";
|
|
79
|
+
readonly httpMethod: "post";
|
|
80
|
+
readonly httpPath: "/v1/lease/attestation/quote";
|
|
81
|
+
readonly input: import("../encoding/typeEncodingHelpers.ts").MessageFns<akash_provider_lease_v1_service.AttestationQuoteRequest, "akash.provider.lease.v1.AttestationQuoteRequest">;
|
|
82
|
+
readonly output: import("../encoding/typeEncodingHelpers.ts").MessageFns<akash_provider_lease_v1_service.AttestationQuoteResponse, "akash.provider.lease.v1.AttestationQuoteResponse">;
|
|
83
|
+
readonly parent: /*elided*/ any;
|
|
84
|
+
};
|
|
77
85
|
};
|
|
78
86
|
}>, () => Promise<{
|
|
79
87
|
readonly typeName: "akash.provider.v1.ProviderRPC";
|
|
@@ -147,6 +155,12 @@ export declare function createSDK(transport: Transport): {
|
|
|
147
155
|
* streamServiceLogs
|
|
148
156
|
*/
|
|
149
157
|
streamServiceLogs: (input: DeepPartial<akash_provider_lease_v1_service.ServiceLogsRequest>, options?: CallOptions) => Promise<AsyncIterable<akash_provider_lease_v1_service.ServiceLogsResponse>>;
|
|
158
|
+
/**
|
|
159
|
+
* attestationQuote requests hardware-signed attestation evidence from the
|
|
160
|
+
* confidential compute sidecar. The provider forwards the tenant's nonce
|
|
161
|
+
* to the sidecar and returns the hardware-signed quote verbatim.
|
|
162
|
+
*/
|
|
163
|
+
attestationQuote: (input: DeepPartial<akash_provider_lease_v1_service.AttestationQuoteRequest>, options?: CallOptions) => Promise<akash_provider_lease_v1_service.AttestationQuoteResponse>;
|
|
150
164
|
};
|
|
151
165
|
};
|
|
152
166
|
v1: {
|
|
@@ -15,11 +15,29 @@ export interface StorageParams {
|
|
|
15
15
|
export interface ServicePermissions {
|
|
16
16
|
read: string[];
|
|
17
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* TEEParams configures Trusted Execution Environment for the service.
|
|
20
|
+
* The type field selects the TEE capability and the provider resolves the
|
|
21
|
+
* runtime class based on its detected platform (TDX or SNP).
|
|
22
|
+
* The attestation field controls whether the provider injects an attestation sidecar.
|
|
23
|
+
*/
|
|
24
|
+
export interface TEEParams {
|
|
25
|
+
/** type is the TEE capability: cpu, cpu-gpu */
|
|
26
|
+
type: string;
|
|
27
|
+
/**
|
|
28
|
+
* attestation controls whether the provider injects an attestation sidecar.
|
|
29
|
+
* IMPORTANT: proto3 bool defaults to false, but the intended default is true.
|
|
30
|
+
* All producers MUST set this field explicitly. The Go SDL builder enforces
|
|
31
|
+
* this; non-Go clients must set attestation=true when sidecar injection is desired.
|
|
32
|
+
*/
|
|
33
|
+
attestation: boolean;
|
|
34
|
+
}
|
|
18
35
|
/** ServiceParams */
|
|
19
36
|
export interface ServiceParams {
|
|
20
37
|
storage: StorageParams[];
|
|
21
38
|
credentials: ImageCredentials | undefined;
|
|
22
39
|
permissions: ServicePermissions | undefined;
|
|
40
|
+
tee: TEEParams | undefined;
|
|
23
41
|
}
|
|
24
42
|
/** Credentials to fetch image from registry */
|
|
25
43
|
export interface ImageCredentials {
|
|
@@ -43,6 +61,7 @@ export interface Service {
|
|
|
43
61
|
}
|
|
44
62
|
export declare const StorageParams: MessageFns<StorageParams, "akash.manifest.v2beta3.StorageParams">;
|
|
45
63
|
export declare const ServicePermissions: MessageFns<ServicePermissions, "akash.manifest.v2beta3.ServicePermissions">;
|
|
64
|
+
export declare const TEEParams: MessageFns<TEEParams, "akash.manifest.v2beta3.TEEParams">;
|
|
46
65
|
export declare const ServiceParams: MessageFns<ServiceParams, "akash.manifest.v2beta3.ServiceParams">;
|
|
47
66
|
export declare const ImageCredentials: MessageFns<ImageCredentials, "akash.manifest.v2beta3.ImageCredentials">;
|
|
48
67
|
export declare const Service: MessageFns<Service, "akash.manifest.v2beta3.Service">;
|
|
@@ -70,6 +70,46 @@ export interface ServiceStatusRequest {
|
|
|
70
70
|
export interface ServiceStatusResponse {
|
|
71
71
|
services: ServiceStatus[];
|
|
72
72
|
}
|
|
73
|
+
/**
|
|
74
|
+
* AttestationQuoteRequest is the request body for the AttestationQuote RPC method.
|
|
75
|
+
* The tenant generates a nonce and sends it; the provider forwards it verbatim
|
|
76
|
+
* to the attestation sidecar inside the confidential compute pod.
|
|
77
|
+
*/
|
|
78
|
+
export interface AttestationQuoteRequest {
|
|
79
|
+
leaseId: LeaseID | undefined;
|
|
80
|
+
/** Base64-encoded 64-byte nonce generated by the tenant. */
|
|
81
|
+
nonce: string;
|
|
82
|
+
/**
|
|
83
|
+
* When true, report_data is computed as SHA-512(tls_pubkey || nonce)[:64]
|
|
84
|
+
* to bind the attestation to the TLS channel.
|
|
85
|
+
*/
|
|
86
|
+
bindTls: boolean;
|
|
87
|
+
}
|
|
88
|
+
/** AttestationGPUReport holds attestation evidence for a single GPU device. */
|
|
89
|
+
export interface AttestationGPUReport {
|
|
90
|
+
deviceIndex: number;
|
|
91
|
+
/** Base64-encoded hardware-signed GPU attestation report. */
|
|
92
|
+
report: string;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* AttestationQuoteResponse is the response from the AttestationQuote RPC method.
|
|
96
|
+
* Contains raw hardware-signed attestation evidence from the TEE sidecar.
|
|
97
|
+
* The provider never inspects or modifies any field.
|
|
98
|
+
*/
|
|
99
|
+
export interface AttestationQuoteResponse {
|
|
100
|
+
/** Base64-encoded CPU attestation report (SNP ~1184 bytes, TDX ~5243 bytes). */
|
|
101
|
+
report: string;
|
|
102
|
+
/** Base64-encoded certificate chain (may be empty). */
|
|
103
|
+
certChain: string;
|
|
104
|
+
/** TEE platform identifier: "snp", "tdx", "snp-gpu", "tdx-gpu". */
|
|
105
|
+
teePlatform: string;
|
|
106
|
+
/** Base64-encoded auxiliary blob (typically empty). */
|
|
107
|
+
auxblob: string;
|
|
108
|
+
/** Per-device GPU attestation reports for all CC-capable GPUs. */
|
|
109
|
+
gpuReports: AttestationGPUReport[];
|
|
110
|
+
/** Whether report_data was computed with TLS channel binding. */
|
|
111
|
+
tlsBound: boolean;
|
|
112
|
+
}
|
|
73
113
|
export declare const LeaseServiceStatus: MessageFns<LeaseServiceStatus, "akash.provider.lease.v1.LeaseServiceStatus">;
|
|
74
114
|
export declare const LeaseIPStatus: MessageFns<LeaseIPStatus, "akash.provider.lease.v1.LeaseIPStatus">;
|
|
75
115
|
export declare const ForwarderPortStatus: MessageFns<ForwarderPortStatus, "akash.provider.lease.v1.ForwarderPortStatus">;
|
|
@@ -82,3 +122,6 @@ export declare const ServiceLogsResponse: MessageFns<ServiceLogsResponse, "akash
|
|
|
82
122
|
export declare const ShellRequest: MessageFns<ShellRequest, "akash.provider.lease.v1.ShellRequest">;
|
|
83
123
|
export declare const ServiceStatusRequest: MessageFns<ServiceStatusRequest, "akash.provider.lease.v1.ServiceStatusRequest">;
|
|
84
124
|
export declare const ServiceStatusResponse: MessageFns<ServiceStatusResponse, "akash.provider.lease.v1.ServiceStatusResponse">;
|
|
125
|
+
export declare const AttestationQuoteRequest: MessageFns<AttestationQuoteRequest, "akash.provider.lease.v1.AttestationQuoteRequest">;
|
|
126
|
+
export declare const AttestationGPUReport: MessageFns<AttestationGPUReport, "akash.provider.lease.v1.AttestationGPUReport">;
|
|
127
|
+
export declare const AttestationQuoteResponse: MessageFns<AttestationQuoteResponse, "akash.provider.lease.v1.AttestationQuoteResponse">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SendManifestRequest, SendManifestResponse, ServiceLogsRequest, ServiceLogsResponse, ServiceStatusRequest, ServiceStatusResponse } from "./service.ts";
|
|
1
|
+
import { AttestationQuoteRequest, AttestationQuoteResponse, SendManifestRequest, SendManifestResponse, ServiceLogsRequest, ServiceLogsResponse, ServiceStatusRequest, ServiceStatusResponse } from "./service.ts";
|
|
2
2
|
export declare const LeaseRPC: {
|
|
3
3
|
readonly typeName: "akash.provider.lease.v1.LeaseRPC";
|
|
4
4
|
readonly methods: {
|
|
@@ -34,5 +34,13 @@ export declare const LeaseRPC: {
|
|
|
34
34
|
readonly output: import("../../../../../../encoding/typeEncodingHelpers.ts").MessageFns<ServiceLogsResponse, "akash.provider.lease.v1.ServiceLogsResponse">;
|
|
35
35
|
readonly parent: /*elided*/ any;
|
|
36
36
|
};
|
|
37
|
+
readonly attestationQuote: {
|
|
38
|
+
readonly name: "AttestationQuote";
|
|
39
|
+
readonly httpMethod: "post";
|
|
40
|
+
readonly httpPath: "/v1/lease/attestation/quote";
|
|
41
|
+
readonly input: import("../../../../../../encoding/typeEncodingHelpers.ts").MessageFns<AttestationQuoteRequest, "akash.provider.lease.v1.AttestationQuoteRequest">;
|
|
42
|
+
readonly output: import("../../../../../../encoding/typeEncodingHelpers.ts").MessageFns<AttestationQuoteResponse, "akash.provider.lease.v1.AttestationQuoteResponse">;
|
|
43
|
+
readonly parent: /*elided*/ any;
|
|
44
|
+
};
|
|
37
45
|
};
|
|
38
46
|
};
|
|
@@ -6,6 +6,6 @@ export { NodeResources } from "./akash/inventory/v1/resources.ts";
|
|
|
6
6
|
export { NodeCapabilities, Node } from "./akash/inventory/v1/node.ts";
|
|
7
7
|
export { StorageInfo, Storage } from "./akash/inventory/v1/storage.ts";
|
|
8
8
|
export { Cluster } from "./akash/inventory/v1/cluster.ts";
|
|
9
|
-
export { LeaseServiceStatus, LeaseIPStatus, ForwarderPortStatus, ServiceStatus, SendManifestRequest, SendManifestResponse, ServiceLogsRequest, ServiceLogs, ServiceLogsResponse, ShellRequest, ServiceStatusRequest, ServiceStatusResponse } from "./akash/provider/lease/v1/service.ts";
|
|
9
|
+
export { LeaseServiceStatus, LeaseIPStatus, ForwarderPortStatus, ServiceStatus, SendManifestRequest, SendManifestResponse, ServiceLogsRequest, ServiceLogs, ServiceLogsResponse, ShellRequest, ServiceStatusRequest, ServiceStatusResponse, AttestationQuoteRequest, AttestationGPUReport, AttestationQuoteResponse } from "./akash/provider/lease/v1/service.ts";
|
|
10
10
|
export { ResourcesMetric, Leases, ReservationsMetric, Reservations, Inventory, ClusterStatus, BidEngineStatus, ManifestStatus, Status } from "./akash/provider/v1/status.ts";
|
|
11
11
|
export { BidScreeningRequest, BidScreeningResponse } from "./akash/provider/v1/validation.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { ServiceExposeHTTPOptions } from "./akash/manifest/v2beta3/httpoptions.ts";
|
|
2
2
|
export { ServiceExpose } from "./akash/manifest/v2beta3/serviceexpose.ts";
|
|
3
|
-
export { StorageParams, ServicePermissions, ServiceParams, ImageCredentials, Service } from "./akash/manifest/v2beta3/service.ts";
|
|
3
|
+
export { StorageParams, ServicePermissions, TEEParams, ServiceParams, ImageCredentials, Service } from "./akash/manifest/v2beta3/service.ts";
|
|
4
4
|
export { Group } from "./akash/manifest/v2beta3/group.ts";
|
|
@@ -157,6 +157,7 @@ export interface SDLInput {
|
|
|
157
157
|
permissions?: {
|
|
158
158
|
read?: ("deployment" | "logs" | "events")[];
|
|
159
159
|
};
|
|
160
|
+
tee?: "cpu" | "cpu-gpu";
|
|
160
161
|
};
|
|
161
162
|
};
|
|
162
163
|
};
|
|
@@ -806,6 +807,10 @@ declare var schema: {
|
|
|
806
807
|
};
|
|
807
808
|
type: string;
|
|
808
809
|
};
|
|
810
|
+
tee: {
|
|
811
|
+
type: string;
|
|
812
|
+
enum: string[];
|
|
813
|
+
};
|
|
809
814
|
};
|
|
810
815
|
type: string;
|
|
811
816
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/generated/protos/akash/manifest/v2beta3/httpoptions.ts", "../../src/generated/protos/akash/manifest/v2beta3/serviceexpose.ts", "../../src/generated/protos/akash/manifest/v2beta3/service.ts", "../../src/generated/protos/akash/manifest/v2beta3/group.ts"],
|
|
4
|
-
"sourcesContent": ["import { 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/manifest/v2beta3/httpoptions.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport Long from \"long\";\n\n/** ServiceExposeHTTPOptions */\nexport interface ServiceExposeHTTPOptions {\n maxBodySize: number;\n readTimeout: number;\n sendTimeout: number;\n nextTries: number;\n nextTimeout: number;\n nextCases: string[];\n}\n\nfunction createBaseServiceExposeHTTPOptions(): ServiceExposeHTTPOptions {\n return { maxBodySize: 0, readTimeout: 0, sendTimeout: 0, nextTries: 0, nextTimeout: 0, nextCases: [] };\n}\n\nexport const ServiceExposeHTTPOptions: MessageFns<\n ServiceExposeHTTPOptions,\n \"akash.manifest.v2beta3.ServiceExposeHTTPOptions\"\n> = {\n $type: \"akash.manifest.v2beta3.ServiceExposeHTTPOptions\" as const,\n\n encode(message: ServiceExposeHTTPOptions, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.maxBodySize !== 0) {\n writer.uint32(8).uint32(message.maxBodySize);\n }\n if (message.readTimeout !== 0) {\n writer.uint32(16).uint32(message.readTimeout);\n }\n if (message.sendTimeout !== 0) {\n writer.uint32(24).uint32(message.sendTimeout);\n }\n if (message.nextTries !== 0) {\n writer.uint32(32).uint32(message.nextTries);\n }\n if (message.nextTimeout !== 0) {\n writer.uint32(40).uint32(message.nextTimeout);\n }\n for (const v of message.nextCases) {\n writer.uint32(50).string(v!);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ServiceExposeHTTPOptions {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseServiceExposeHTTPOptions();\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.maxBodySize = reader.uint32();\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.readTimeout = reader.uint32();\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.sendTimeout = reader.uint32();\n continue;\n }\n case 4: {\n if (tag !== 32) {\n break;\n }\n\n message.nextTries = reader.uint32();\n continue;\n }\n case 5: {\n if (tag !== 40) {\n break;\n }\n\n message.nextTimeout = reader.uint32();\n continue;\n }\n case 6: {\n if (tag !== 50) {\n break;\n }\n\n message.nextCases.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): ServiceExposeHTTPOptions {\n return {\n maxBodySize: isSet(object.max_body_size) ? globalThis.Number(object.max_body_size) : 0,\n readTimeout: isSet(object.read_timeout) ? globalThis.Number(object.read_timeout) : 0,\n sendTimeout: isSet(object.send_timeout) ? globalThis.Number(object.send_timeout) : 0,\n nextTries: isSet(object.next_tries) ? globalThis.Number(object.next_tries) : 0,\n nextTimeout: isSet(object.next_timeout) ? globalThis.Number(object.next_timeout) : 0,\n nextCases: globalThis.Array.isArray(object?.next_cases)\n ? object.next_cases.map((e: any) => globalThis.String(e))\n : [],\n };\n },\n\n toJSON(message: ServiceExposeHTTPOptions): unknown {\n const obj: any = {};\n if (message.maxBodySize !== 0) {\n obj.max_body_size = Math.round(message.maxBodySize);\n }\n if (message.readTimeout !== 0) {\n obj.read_timeout = Math.round(message.readTimeout);\n }\n if (message.sendTimeout !== 0) {\n obj.send_timeout = Math.round(message.sendTimeout);\n }\n if (message.nextTries !== 0) {\n obj.next_tries = Math.round(message.nextTries);\n }\n if (message.nextTimeout !== 0) {\n obj.next_timeout = Math.round(message.nextTimeout);\n }\n if (message.nextCases?.length) {\n obj.next_cases = message.nextCases;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<ServiceExposeHTTPOptions>): ServiceExposeHTTPOptions {\n const message = createBaseServiceExposeHTTPOptions();\n message.maxBodySize = object.maxBodySize ?? 0;\n message.readTimeout = object.readTimeout ?? 0;\n message.sendTimeout = object.sendTimeout ?? 0;\n message.nextTries = object.nextTries ?? 0;\n message.nextTimeout = object.nextTimeout ?? 0;\n message.nextCases = object.nextCases?.map((e) => e) || [];\n return message;\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", "import { 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/manifest/v2beta3/serviceexpose.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport Long from \"long\";\nimport { ServiceExposeHTTPOptions } from \"./httpoptions.ts\";\n\n/** ServiceExpose stores exposed ports and hosts details */\nexport interface ServiceExpose {\n /** port on the container */\n port: number;\n /** port on the service definition */\n externalPort: number;\n proto: string;\n service: string;\n global: boolean;\n hosts: string[];\n httpOptions:\n | ServiceExposeHTTPOptions\n | undefined;\n /** The name of the IP address associated with this, if any */\n ip: string;\n /** The sequence number of the associated endpoint in the on-chain data */\n endpointSequenceNumber: number;\n}\n\nfunction createBaseServiceExpose(): ServiceExpose {\n return {\n port: 0,\n externalPort: 0,\n proto: \"\",\n service: \"\",\n global: false,\n hosts: [],\n httpOptions: undefined,\n ip: \"\",\n endpointSequenceNumber: 0,\n };\n}\n\nexport const ServiceExpose: MessageFns<ServiceExpose, \"akash.manifest.v2beta3.ServiceExpose\"> = {\n $type: \"akash.manifest.v2beta3.ServiceExpose\" as const,\n\n encode(message: ServiceExpose, 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.proto !== \"\") {\n writer.uint32(26).string(message.proto);\n }\n if (message.service !== \"\") {\n writer.uint32(34).string(message.service);\n }\n if (message.global !== false) {\n writer.uint32(40).bool(message.global);\n }\n for (const v of message.hosts) {\n writer.uint32(50).string(v!);\n }\n if (message.httpOptions !== undefined) {\n ServiceExposeHTTPOptions.encode(message.httpOptions, writer.uint32(58).fork()).join();\n }\n if (message.ip !== \"\") {\n writer.uint32(66).string(message.ip);\n }\n if (message.endpointSequenceNumber !== 0) {\n writer.uint32(72).uint32(message.endpointSequenceNumber);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ServiceExpose {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseServiceExpose();\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.proto = reader.string();\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.service = reader.string();\n continue;\n }\n case 5: {\n if (tag !== 40) {\n break;\n }\n\n message.global = reader.bool();\n continue;\n }\n case 6: {\n if (tag !== 50) {\n break;\n }\n\n message.hosts.push(reader.string());\n continue;\n }\n case 7: {\n if (tag !== 58) {\n break;\n }\n\n message.httpOptions = ServiceExposeHTTPOptions.decode(reader, reader.uint32());\n continue;\n }\n case 8: {\n if (tag !== 66) {\n break;\n }\n\n message.ip = reader.string();\n continue;\n }\n case 9: {\n if (tag !== 72) {\n break;\n }\n\n message.endpointSequenceNumber = 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): ServiceExpose {\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 proto: isSet(object.proto) ? globalThis.String(object.proto) : \"\",\n service: isSet(object.service) ? globalThis.String(object.service) : \"\",\n global: isSet(object.global) ? globalThis.Boolean(object.global) : false,\n hosts: globalThis.Array.isArray(object?.hosts) ? object.hosts.map((e: any) => globalThis.String(e)) : [],\n httpOptions: isSet(object.http_options) ? ServiceExposeHTTPOptions.fromJSON(object.http_options) : undefined,\n ip: isSet(object.ip) ? globalThis.String(object.ip) : \"\",\n endpointSequenceNumber: isSet(object.endpoint_sequence_number)\n ? globalThis.Number(object.endpoint_sequence_number)\n : 0,\n };\n },\n\n toJSON(message: ServiceExpose): 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.proto !== \"\") {\n obj.proto = message.proto;\n }\n if (message.service !== \"\") {\n obj.service = message.service;\n }\n if (message.global !== false) {\n obj.global = message.global;\n }\n if (message.hosts?.length) {\n obj.hosts = message.hosts;\n }\n if (message.httpOptions !== undefined) {\n obj.http_options = ServiceExposeHTTPOptions.toJSON(message.httpOptions);\n }\n if (message.ip !== \"\") {\n obj.ip = message.ip;\n }\n if (message.endpointSequenceNumber !== 0) {\n obj.endpoint_sequence_number = Math.round(message.endpointSequenceNumber);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<ServiceExpose>): ServiceExpose {\n const message = createBaseServiceExpose();\n message.port = object.port ?? 0;\n message.externalPort = object.externalPort ?? 0;\n message.proto = object.proto ?? \"\";\n message.service = object.service ?? \"\";\n message.global = object.global ?? false;\n message.hosts = object.hosts?.map((e) => e) || [];\n message.httpOptions = (object.httpOptions !== undefined && object.httpOptions !== null)\n ? ServiceExposeHTTPOptions.fromPartial(object.httpOptions)\n : undefined;\n message.ip = object.ip ?? \"\";\n message.endpointSequenceNumber = object.endpointSequenceNumber ?? 0;\n return message;\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", "import { 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/manifest/v2beta3/service.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport Long from \"long\";\nimport { Resources } from \"../../base/resources/v1beta4/resources.ts\";\nimport { ServiceExpose } from \"./serviceexpose.ts\";\n\n/** StorageParams */\nexport interface StorageParams {\n name: string;\n mount: string;\n readOnly: boolean;\n}\n\n/**\n * ServicePermissions defines resource access permissions for the service.\n * Resources map to Kubernetes RBAC permissions:\n * - logs\n */\nexport interface ServicePermissions {\n read: string[];\n}\n\n/** ServiceParams */\nexport interface ServiceParams {\n storage: StorageParams[];\n credentials: ImageCredentials | undefined;\n permissions: ServicePermissions | undefined;\n}\n\n/** Credentials to fetch image from registry */\nexport interface ImageCredentials {\n host: string;\n email: string;\n username: string;\n password: string;\n}\n\n/** Service stores name, image, args, env, unit, count and expose list of service */\nexport interface Service {\n name: string;\n image: string;\n command: string[];\n args: string[];\n env: string[];\n resources: Resources | undefined;\n count: number;\n expose: ServiceExpose[];\n params: ServiceParams | undefined;\n credentials: ImageCredentials | undefined;\n}\n\nfunction createBaseStorageParams(): StorageParams {\n return { name: \"\", mount: \"\", readOnly: false };\n}\n\nexport const StorageParams: MessageFns<StorageParams, \"akash.manifest.v2beta3.StorageParams\"> = {\n $type: \"akash.manifest.v2beta3.StorageParams\" as const,\n\n encode(message: StorageParams, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.name !== \"\") {\n writer.uint32(10).string(message.name);\n }\n if (message.mount !== \"\") {\n writer.uint32(18).string(message.mount);\n }\n if (message.readOnly !== false) {\n writer.uint32(24).bool(message.readOnly);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): StorageParams {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseStorageParams();\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.mount = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.readOnly = 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): StorageParams {\n return {\n name: isSet(object.name) ? globalThis.String(object.name) : \"\",\n mount: isSet(object.mount) ? globalThis.String(object.mount) : \"\",\n readOnly: isSet(object.read_only) ? globalThis.Boolean(object.read_only) : false,\n };\n },\n\n toJSON(message: StorageParams): unknown {\n const obj: any = {};\n if (message.name !== \"\") {\n obj.name = message.name;\n }\n if (message.mount !== \"\") {\n obj.mount = message.mount;\n }\n if (message.readOnly !== false) {\n obj.read_only = message.readOnly;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<StorageParams>): StorageParams {\n const message = createBaseStorageParams();\n message.name = object.name ?? \"\";\n message.mount = object.mount ?? \"\";\n message.readOnly = object.readOnly ?? false;\n return message;\n },\n};\n\nfunction createBaseServicePermissions(): ServicePermissions {\n return { read: [] };\n}\n\nexport const ServicePermissions: MessageFns<ServicePermissions, \"akash.manifest.v2beta3.ServicePermissions\"> = {\n $type: \"akash.manifest.v2beta3.ServicePermissions\" as const,\n\n encode(message: ServicePermissions, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.read) {\n writer.uint32(10).string(v!);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ServicePermissions {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseServicePermissions();\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.read.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): ServicePermissions {\n return { read: globalThis.Array.isArray(object?.read) ? object.read.map((e: any) => globalThis.String(e)) : [] };\n },\n\n toJSON(message: ServicePermissions): unknown {\n const obj: any = {};\n if (message.read?.length) {\n obj.read = message.read;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<ServicePermissions>): ServicePermissions {\n const message = createBaseServicePermissions();\n message.read = object.read?.map((e) => e) || [];\n return message;\n },\n};\n\nfunction createBaseServiceParams(): ServiceParams {\n return { storage: [], credentials: undefined, permissions: undefined };\n}\n\nexport const ServiceParams: MessageFns<ServiceParams, \"akash.manifest.v2beta3.ServiceParams\"> = {\n $type: \"akash.manifest.v2beta3.ServiceParams\" as const,\n\n encode(message: ServiceParams, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.storage) {\n StorageParams.encode(v!, writer.uint32(10).fork()).join();\n }\n if (message.credentials !== undefined) {\n ImageCredentials.encode(message.credentials, writer.uint32(82).fork()).join();\n }\n if (message.permissions !== undefined) {\n ServicePermissions.encode(message.permissions, writer.uint32(90).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ServiceParams {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseServiceParams();\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.storage.push(StorageParams.decode(reader, reader.uint32()));\n continue;\n }\n case 10: {\n if (tag !== 82) {\n break;\n }\n\n message.credentials = ImageCredentials.decode(reader, reader.uint32());\n continue;\n }\n case 11: {\n if (tag !== 90) {\n break;\n }\n\n message.permissions = ServicePermissions.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): ServiceParams {\n return {\n storage: globalThis.Array.isArray(object?.storage)\n ? object.storage.map((e: any) => StorageParams.fromJSON(e))\n : [],\n credentials: isSet(object.credentials) ? ImageCredentials.fromJSON(object.credentials) : undefined,\n permissions: isSet(object.permissions) ? ServicePermissions.fromJSON(object.permissions) : undefined,\n };\n },\n\n toJSON(message: ServiceParams): unknown {\n const obj: any = {};\n if (message.storage?.length) {\n obj.storage = message.storage.map((e) => StorageParams.toJSON(e));\n }\n if (message.credentials !== undefined) {\n obj.credentials = ImageCredentials.toJSON(message.credentials);\n }\n if (message.permissions !== undefined) {\n obj.permissions = ServicePermissions.toJSON(message.permissions);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<ServiceParams>): ServiceParams {\n const message = createBaseServiceParams();\n message.storage = object.storage?.map((e) => StorageParams.fromPartial(e)) || [];\n message.credentials = (object.credentials !== undefined && object.credentials !== null)\n ? ImageCredentials.fromPartial(object.credentials)\n : undefined;\n message.permissions = (object.permissions !== undefined && object.permissions !== null)\n ? ServicePermissions.fromPartial(object.permissions)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseImageCredentials(): ImageCredentials {\n return { host: \"\", email: \"\", username: \"\", password: \"\" };\n}\n\nexport const ImageCredentials: MessageFns<ImageCredentials, \"akash.manifest.v2beta3.ImageCredentials\"> = {\n $type: \"akash.manifest.v2beta3.ImageCredentials\" as const,\n\n encode(message: ImageCredentials, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.host !== \"\") {\n writer.uint32(10).string(message.host);\n }\n if (message.email !== \"\") {\n writer.uint32(18).string(message.email);\n }\n if (message.username !== \"\") {\n writer.uint32(26).string(message.username);\n }\n if (message.password !== \"\") {\n writer.uint32(34).string(message.password);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ImageCredentials {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseImageCredentials();\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 !== 18) {\n break;\n }\n\n message.email = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.username = reader.string();\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.password = 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): ImageCredentials {\n return {\n host: isSet(object.host) ? globalThis.String(object.host) : \"\",\n email: isSet(object.email) ? globalThis.String(object.email) : \"\",\n username: isSet(object.username) ? globalThis.String(object.username) : \"\",\n password: isSet(object.password) ? globalThis.String(object.password) : \"\",\n };\n },\n\n toJSON(message: ImageCredentials): unknown {\n const obj: any = {};\n if (message.host !== \"\") {\n obj.host = message.host;\n }\n if (message.email !== \"\") {\n obj.email = message.email;\n }\n if (message.username !== \"\") {\n obj.username = message.username;\n }\n if (message.password !== \"\") {\n obj.password = message.password;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<ImageCredentials>): ImageCredentials {\n const message = createBaseImageCredentials();\n message.host = object.host ?? \"\";\n message.email = object.email ?? \"\";\n message.username = object.username ?? \"\";\n message.password = object.password ?? \"\";\n return message;\n },\n};\n\nfunction createBaseService(): Service {\n return {\n name: \"\",\n image: \"\",\n command: [],\n args: [],\n env: [],\n resources: undefined,\n count: 0,\n expose: [],\n params: undefined,\n credentials: undefined,\n };\n}\n\nexport const Service: MessageFns<Service, \"akash.manifest.v2beta3.Service\"> = {\n $type: \"akash.manifest.v2beta3.Service\" as const,\n\n encode(message: Service, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.name !== \"\") {\n writer.uint32(10).string(message.name);\n }\n if (message.image !== \"\") {\n writer.uint32(18).string(message.image);\n }\n for (const v of message.command) {\n writer.uint32(26).string(v!);\n }\n for (const v of message.args) {\n writer.uint32(34).string(v!);\n }\n for (const v of message.env) {\n writer.uint32(42).string(v!);\n }\n if (message.resources !== undefined) {\n Resources.encode(message.resources, writer.uint32(50).fork()).join();\n }\n if (message.count !== 0) {\n writer.uint32(56).uint32(message.count);\n }\n for (const v of message.expose) {\n ServiceExpose.encode(v!, writer.uint32(66).fork()).join();\n }\n if (message.params !== undefined) {\n ServiceParams.encode(message.params, writer.uint32(74).fork()).join();\n }\n if (message.credentials !== undefined) {\n ImageCredentials.encode(message.credentials, writer.uint32(82).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): Service {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseService();\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.image = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.command.push(reader.string());\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.args.push(reader.string());\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.env.push(reader.string());\n continue;\n }\n case 6: {\n if (tag !== 50) {\n break;\n }\n\n message.resources = Resources.decode(reader, reader.uint32());\n continue;\n }\n case 7: {\n if (tag !== 56) {\n break;\n }\n\n message.count = reader.uint32();\n continue;\n }\n case 8: {\n if (tag !== 66) {\n break;\n }\n\n message.expose.push(ServiceExpose.decode(reader, reader.uint32()));\n continue;\n }\n case 9: {\n if (tag !== 74) {\n break;\n }\n\n message.params = ServiceParams.decode(reader, reader.uint32());\n continue;\n }\n case 10: {\n if (tag !== 82) {\n break;\n }\n\n message.credentials = ImageCredentials.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): Service {\n return {\n name: isSet(object.name) ? globalThis.String(object.name) : \"\",\n image: isSet(object.image) ? globalThis.String(object.image) : \"\",\n command: globalThis.Array.isArray(object?.command) ? object.command.map((e: any) => globalThis.String(e)) : [],\n args: globalThis.Array.isArray(object?.args) ? object.args.map((e: any) => globalThis.String(e)) : [],\n env: globalThis.Array.isArray(object?.env) ? object.env.map((e: any) => globalThis.String(e)) : [],\n resources: isSet(object.resources) ? Resources.fromJSON(object.resources) : undefined,\n count: isSet(object.count) ? globalThis.Number(object.count) : 0,\n expose: globalThis.Array.isArray(object?.expose) ? object.expose.map((e: any) => ServiceExpose.fromJSON(e)) : [],\n params: isSet(object.params) ? ServiceParams.fromJSON(object.params) : undefined,\n credentials: isSet(object.credentials) ? ImageCredentials.fromJSON(object.credentials) : undefined,\n };\n },\n\n toJSON(message: Service): unknown {\n const obj: any = {};\n if (message.name !== \"\") {\n obj.name = message.name;\n }\n if (message.image !== \"\") {\n obj.image = message.image;\n }\n if (message.command?.length) {\n obj.command = message.command;\n }\n if (message.args?.length) {\n obj.args = message.args;\n }\n if (message.env?.length) {\n obj.env = message.env;\n }\n if (message.resources !== undefined) {\n obj.resources = Resources.toJSON(message.resources);\n }\n if (message.count !== 0) {\n obj.count = Math.round(message.count);\n }\n if (message.expose?.length) {\n obj.expose = message.expose.map((e) => ServiceExpose.toJSON(e));\n }\n if (message.params !== undefined) {\n obj.params = ServiceParams.toJSON(message.params);\n }\n if (message.credentials !== undefined) {\n obj.credentials = ImageCredentials.toJSON(message.credentials);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<Service>): Service {\n const message = createBaseService();\n message.name = object.name ?? \"\";\n message.image = object.image ?? \"\";\n message.command = object.command?.map((e) => e) || [];\n message.args = object.args?.map((e) => e) || [];\n message.env = object.env?.map((e) => e) || [];\n message.resources = (object.resources !== undefined && object.resources !== null)\n ? Resources.fromPartial(object.resources)\n : undefined;\n message.count = object.count ?? 0;\n message.expose = object.expose?.map((e) => ServiceExpose.fromPartial(e)) || [];\n message.params = (object.params !== undefined && object.params !== null)\n ? ServiceParams.fromPartial(object.params)\n : undefined;\n message.credentials = (object.credentials !== undefined && object.credentials !== null)\n ? ImageCredentials.fromPartial(object.credentials)\n : undefined;\n return message;\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", "import { 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/manifest/v2beta3/group.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport Long from \"long\";\nimport { Service } from \"./service.ts\";\n\n/** Group store name and list of services */\nexport interface Group {\n name: string;\n services: Service[];\n}\n\nfunction createBaseGroup(): Group {\n return { name: \"\", services: [] };\n}\n\nexport const Group: MessageFns<Group, \"akash.manifest.v2beta3.Group\"> = {\n $type: \"akash.manifest.v2beta3.Group\" as const,\n\n encode(message: Group, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.name !== \"\") {\n writer.uint32(10).string(message.name);\n }\n for (const v of message.services) {\n Service.encode(v!, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): Group {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGroup();\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.services.push(Service.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): Group {\n return {\n name: isSet(object.name) ? globalThis.String(object.name) : \"\",\n services: globalThis.Array.isArray(object?.services) ? object.services.map((e: any) => Service.fromJSON(e)) : [],\n };\n },\n\n toJSON(message: Group): unknown {\n const obj: any = {};\n if (message.name !== \"\") {\n obj.name = message.name;\n }\n if (message.services?.length) {\n obj.services = message.services.map((e) => Service.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<Group>): Group {\n const message = createBaseGroup();\n message.name = object.name ?? \"\";\n message.services = object.services?.map((e) => Service.fromPartial(e)) || [];\n return message;\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;AAa3C,SAAS,qCAA+D;AACtE,SAAO,EAAE,aAAa,GAAG,aAAa,GAAG,aAAa,GAAG,WAAW,GAAG,aAAa,GAAG,WAAW,CAAC,EAAE;AACvG;AAEO,IAAM,2BAGT;AAAA,EACF,OAAO;AAAA,EAEP,OAAO,SAAmC,SAAuB,IAAI,aAAa,GAAiB;AACjG,QAAI,QAAQ,gBAAgB,GAAG;A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aryReader", "BinaryReader", "BinaryWriter", "BinaryWriter", "BinaryReader", "BinaryReader", "BinaryWriter", "BinaryWriter", "BinaryReader"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
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\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 _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;\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