@injectivelabs/mito-proto-ts
Advanced tools
Comparing version 1.0.26 to 1.0.27
@@ -326,2 +326,25 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
} | ||
export interface MissionsRequest { | ||
accountAddress: string; | ||
} | ||
export interface MissionsResponse { | ||
data: Mission[]; | ||
} | ||
export interface Mission { | ||
id: string; | ||
points: string; | ||
completed: boolean; | ||
accruedPoints: string; | ||
updatedAt: string; | ||
} | ||
export interface MissionLeaderboardRequest { | ||
} | ||
export interface MissionLeaderboardResponse { | ||
data: MissionLeaderboardEntry[]; | ||
updatedAt: string; | ||
} | ||
export interface MissionLeaderboardEntry { | ||
address: string; | ||
accruedPoints: string; | ||
} | ||
export declare const GetVaultsRequest: { | ||
@@ -791,2 +814,50 @@ encode(message: GetVaultsRequest, writer?: _m0.Writer): _m0.Writer; | ||
}; | ||
export declare const MissionsRequest: { | ||
encode(message: MissionsRequest, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): MissionsRequest; | ||
fromJSON(object: any): MissionsRequest; | ||
toJSON(message: MissionsRequest): unknown; | ||
create(base?: DeepPartial<MissionsRequest>): MissionsRequest; | ||
fromPartial(object: DeepPartial<MissionsRequest>): MissionsRequest; | ||
}; | ||
export declare const MissionsResponse: { | ||
encode(message: MissionsResponse, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): MissionsResponse; | ||
fromJSON(object: any): MissionsResponse; | ||
toJSON(message: MissionsResponse): unknown; | ||
create(base?: DeepPartial<MissionsResponse>): MissionsResponse; | ||
fromPartial(object: DeepPartial<MissionsResponse>): MissionsResponse; | ||
}; | ||
export declare const Mission: { | ||
encode(message: Mission, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): Mission; | ||
fromJSON(object: any): Mission; | ||
toJSON(message: Mission): unknown; | ||
create(base?: DeepPartial<Mission>): Mission; | ||
fromPartial(object: DeepPartial<Mission>): Mission; | ||
}; | ||
export declare const MissionLeaderboardRequest: { | ||
encode(_: MissionLeaderboardRequest, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): MissionLeaderboardRequest; | ||
fromJSON(_: any): MissionLeaderboardRequest; | ||
toJSON(_: MissionLeaderboardRequest): unknown; | ||
create(base?: DeepPartial<MissionLeaderboardRequest>): MissionLeaderboardRequest; | ||
fromPartial(_: DeepPartial<MissionLeaderboardRequest>): MissionLeaderboardRequest; | ||
}; | ||
export declare const MissionLeaderboardResponse: { | ||
encode(message: MissionLeaderboardResponse, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): MissionLeaderboardResponse; | ||
fromJSON(object: any): MissionLeaderboardResponse; | ||
toJSON(message: MissionLeaderboardResponse): unknown; | ||
create(base?: DeepPartial<MissionLeaderboardResponse>): MissionLeaderboardResponse; | ||
fromPartial(object: DeepPartial<MissionLeaderboardResponse>): MissionLeaderboardResponse; | ||
}; | ||
export declare const MissionLeaderboardEntry: { | ||
encode(message: MissionLeaderboardEntry, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): MissionLeaderboardEntry; | ||
fromJSON(object: any): MissionLeaderboardEntry; | ||
toJSON(message: MissionLeaderboardEntry): unknown; | ||
create(base?: DeepPartial<MissionLeaderboardEntry>): MissionLeaderboardEntry; | ||
fromPartial(object: DeepPartial<MissionLeaderboardEntry>): MissionLeaderboardEntry; | ||
}; | ||
/** Get mito user portfolios, vaults and more */ | ||
@@ -834,2 +905,6 @@ export interface MitoAPI { | ||
Execution(request: DeepPartial<ExecutionRequest>, metadata?: grpc.Metadata): Promise<ExecutionResponse>; | ||
/** Return mission status of an account */ | ||
Missions(request: DeepPartial<MissionsRequest>, metadata?: grpc.Metadata): Promise<MissionsResponse>; | ||
/** Return ALL-TIME mission leaderboard across mito users */ | ||
MissionLeaderboard(request: DeepPartial<MissionLeaderboardRequest>, metadata?: grpc.Metadata): Promise<MissionLeaderboardResponse>; | ||
} | ||
@@ -859,2 +934,4 @@ export declare class MitoAPIClientImpl implements MitoAPI { | ||
Execution(request: DeepPartial<ExecutionRequest>, metadata?: grpc.Metadata): Promise<ExecutionResponse>; | ||
Missions(request: DeepPartial<MissionsRequest>, metadata?: grpc.Metadata): Promise<MissionsResponse>; | ||
MissionLeaderboard(request: DeepPartial<MissionLeaderboardRequest>, metadata?: grpc.Metadata): Promise<MissionLeaderboardResponse>; | ||
} | ||
@@ -884,2 +961,4 @@ export declare const MitoAPIDesc: { | ||
export declare const MitoAPIExecutionDesc: UnaryMethodDefinitionish; | ||
export declare const MitoAPIMissionsDesc: UnaryMethodDefinitionish; | ||
export declare const MitoAPIMissionLeaderboardDesc: UnaryMethodDefinitionish; | ||
interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> { | ||
@@ -886,0 +965,0 @@ requestStream: any; |
@@ -326,2 +326,25 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
} | ||
export interface MissionsRequest { | ||
accountAddress: string; | ||
} | ||
export interface MissionsResponse { | ||
data: Mission[]; | ||
} | ||
export interface Mission { | ||
id: string; | ||
points: string; | ||
completed: boolean; | ||
accruedPoints: string; | ||
updatedAt: string; | ||
} | ||
export interface MissionLeaderboardRequest { | ||
} | ||
export interface MissionLeaderboardResponse { | ||
data: MissionLeaderboardEntry[]; | ||
updatedAt: string; | ||
} | ||
export interface MissionLeaderboardEntry { | ||
address: string; | ||
accruedPoints: string; | ||
} | ||
export declare const GetVaultsRequest: { | ||
@@ -791,2 +814,50 @@ encode(message: GetVaultsRequest, writer?: _m0.Writer): _m0.Writer; | ||
}; | ||
export declare const MissionsRequest: { | ||
encode(message: MissionsRequest, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): MissionsRequest; | ||
fromJSON(object: any): MissionsRequest; | ||
toJSON(message: MissionsRequest): unknown; | ||
create(base?: DeepPartial<MissionsRequest>): MissionsRequest; | ||
fromPartial(object: DeepPartial<MissionsRequest>): MissionsRequest; | ||
}; | ||
export declare const MissionsResponse: { | ||
encode(message: MissionsResponse, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): MissionsResponse; | ||
fromJSON(object: any): MissionsResponse; | ||
toJSON(message: MissionsResponse): unknown; | ||
create(base?: DeepPartial<MissionsResponse>): MissionsResponse; | ||
fromPartial(object: DeepPartial<MissionsResponse>): MissionsResponse; | ||
}; | ||
export declare const Mission: { | ||
encode(message: Mission, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): Mission; | ||
fromJSON(object: any): Mission; | ||
toJSON(message: Mission): unknown; | ||
create(base?: DeepPartial<Mission>): Mission; | ||
fromPartial(object: DeepPartial<Mission>): Mission; | ||
}; | ||
export declare const MissionLeaderboardRequest: { | ||
encode(_: MissionLeaderboardRequest, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): MissionLeaderboardRequest; | ||
fromJSON(_: any): MissionLeaderboardRequest; | ||
toJSON(_: MissionLeaderboardRequest): unknown; | ||
create(base?: DeepPartial<MissionLeaderboardRequest>): MissionLeaderboardRequest; | ||
fromPartial(_: DeepPartial<MissionLeaderboardRequest>): MissionLeaderboardRequest; | ||
}; | ||
export declare const MissionLeaderboardResponse: { | ||
encode(message: MissionLeaderboardResponse, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): MissionLeaderboardResponse; | ||
fromJSON(object: any): MissionLeaderboardResponse; | ||
toJSON(message: MissionLeaderboardResponse): unknown; | ||
create(base?: DeepPartial<MissionLeaderboardResponse>): MissionLeaderboardResponse; | ||
fromPartial(object: DeepPartial<MissionLeaderboardResponse>): MissionLeaderboardResponse; | ||
}; | ||
export declare const MissionLeaderboardEntry: { | ||
encode(message: MissionLeaderboardEntry, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): MissionLeaderboardEntry; | ||
fromJSON(object: any): MissionLeaderboardEntry; | ||
toJSON(message: MissionLeaderboardEntry): unknown; | ||
create(base?: DeepPartial<MissionLeaderboardEntry>): MissionLeaderboardEntry; | ||
fromPartial(object: DeepPartial<MissionLeaderboardEntry>): MissionLeaderboardEntry; | ||
}; | ||
/** Get mito user portfolios, vaults and more */ | ||
@@ -834,2 +905,6 @@ export interface MitoAPI { | ||
Execution(request: DeepPartial<ExecutionRequest>, metadata?: grpc.Metadata): Promise<ExecutionResponse>; | ||
/** Return mission status of an account */ | ||
Missions(request: DeepPartial<MissionsRequest>, metadata?: grpc.Metadata): Promise<MissionsResponse>; | ||
/** Return ALL-TIME mission leaderboard across mito users */ | ||
MissionLeaderboard(request: DeepPartial<MissionLeaderboardRequest>, metadata?: grpc.Metadata): Promise<MissionLeaderboardResponse>; | ||
} | ||
@@ -859,2 +934,4 @@ export declare class MitoAPIClientImpl implements MitoAPI { | ||
Execution(request: DeepPartial<ExecutionRequest>, metadata?: grpc.Metadata): Promise<ExecutionResponse>; | ||
Missions(request: DeepPartial<MissionsRequest>, metadata?: grpc.Metadata): Promise<MissionsResponse>; | ||
MissionLeaderboard(request: DeepPartial<MissionLeaderboardRequest>, metadata?: grpc.Metadata): Promise<MissionLeaderboardResponse>; | ||
} | ||
@@ -884,2 +961,4 @@ export declare const MitoAPIDesc: { | ||
export declare const MitoAPIExecutionDesc: UnaryMethodDefinitionish; | ||
export declare const MitoAPIMissionsDesc: UnaryMethodDefinitionish; | ||
export declare const MitoAPIMissionLeaderboardDesc: UnaryMethodDefinitionish; | ||
interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> { | ||
@@ -886,0 +965,0 @@ requestStream: any; |
{ | ||
"name": "@injectivelabs/mito-proto-ts", | ||
"version": "1.0.26", | ||
"version": "1.0.27", | ||
"description": "Injective Mito API client with generated gRPC bindings.", | ||
@@ -5,0 +5,0 @@ "sideEffects": "false", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
554686
13610