@etherean/etherean-grpc
Advanced tools
Comparing version 1.3.5 to 1.3.6
@@ -242,9 +242,9 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript | ||
/** | ||
* @generated from protobuf field: string redirect_code_key = 1; | ||
* @generated from protobuf field: string code_param_name = 1; | ||
*/ | ||
redirectCodeKey: string; | ||
codeParamName: string; | ||
/** | ||
* @generated from protobuf field: repeated string connector_type = 2; | ||
* @generated from protobuf field: repeated string connector_types = 2; | ||
*/ | ||
connectorType: string[]; | ||
connectorTypes: string[]; | ||
/** | ||
@@ -251,0 +251,0 @@ * @generated from protobuf field: string oauth_url = 3; |
@@ -168,4 +168,4 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript | ||
super("etherean.referral_miniapp.SocialVerifiableCredential", [ | ||
{ no: 1, name: "redirect_code_key", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 2, name: "connector_type", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 1, name: "code_param_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 2, name: "connector_types", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 3, name: "oauth_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
@@ -172,0 +172,0 @@ { no: 4, name: "issuer_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ } |
@@ -6,2 +6,7 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript | ||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; | ||
import type { StatsResponse } from "./referral_points.js"; | ||
import type { LeaderBoardPosition } from "./referral_leader_board.js"; | ||
import type { GetLeaderBoardPositionRequest } from "./referral_points.js"; | ||
import type { LeaderBoard } from "./referral_leader_board.js"; | ||
import type { GetLeaderBoardRequest } from "./referral_points.js"; | ||
import type { StreakRewardsResponse } from "./referral_points.js"; | ||
@@ -40,2 +45,14 @@ import type { TasksRewardsResponse } from "./referral_points.js"; | ||
getStreakRewards(input: Empty, options?: RpcOptions): UnaryCall<Empty, StreakRewardsResponse>; | ||
/** | ||
* @generated from protobuf rpc: GetLeaderBoard(etherean.referral_points.GetLeaderBoardRequest) returns (etherean.type.LeaderBoard); | ||
*/ | ||
getLeaderBoard(input: GetLeaderBoardRequest, options?: RpcOptions): UnaryCall<GetLeaderBoardRequest, LeaderBoard>; | ||
/** | ||
* @generated from protobuf rpc: GetLeaderBoardPosition(etherean.referral_points.GetLeaderBoardPositionRequest) returns (etherean.type.LeaderBoardPosition); | ||
*/ | ||
getLeaderBoardPosition(input: GetLeaderBoardPositionRequest, options?: RpcOptions): UnaryCall<GetLeaderBoardPositionRequest, LeaderBoardPosition>; | ||
/** | ||
* @generated from protobuf rpc: GetStats(google.protobuf.Empty) returns (etherean.referral_points.StatsResponse); | ||
*/ | ||
getStats(input: Empty, options?: RpcOptions): UnaryCall<Empty, StatsResponse>; | ||
} | ||
@@ -71,2 +88,14 @@ /** | ||
getStreakRewards(input: Empty, options?: RpcOptions): UnaryCall<Empty, StreakRewardsResponse>; | ||
/** | ||
* @generated from protobuf rpc: GetLeaderBoard(etherean.referral_points.GetLeaderBoardRequest) returns (etherean.type.LeaderBoard); | ||
*/ | ||
getLeaderBoard(input: GetLeaderBoardRequest, options?: RpcOptions): UnaryCall<GetLeaderBoardRequest, LeaderBoard>; | ||
/** | ||
* @generated from protobuf rpc: GetLeaderBoardPosition(etherean.referral_points.GetLeaderBoardPositionRequest) returns (etherean.type.LeaderBoardPosition); | ||
*/ | ||
getLeaderBoardPosition(input: GetLeaderBoardPositionRequest, options?: RpcOptions): UnaryCall<GetLeaderBoardPositionRequest, LeaderBoardPosition>; | ||
/** | ||
* @generated from protobuf rpc: GetStats(google.protobuf.Empty) returns (etherean.referral_points.StatsResponse); | ||
*/ | ||
getStats(input: Empty, options?: RpcOptions): UnaryCall<Empty, StatsResponse>; | ||
} |
@@ -51,2 +51,23 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript | ||
} | ||
/** | ||
* @generated from protobuf rpc: GetLeaderBoard(etherean.referral_points.GetLeaderBoardRequest) returns (etherean.type.LeaderBoard); | ||
*/ | ||
getLeaderBoard(input, options) { | ||
const method = this.methods[5], opt = this._transport.mergeOptions(options); | ||
return stackIntercept("unary", this._transport, method, opt, input); | ||
} | ||
/** | ||
* @generated from protobuf rpc: GetLeaderBoardPosition(etherean.referral_points.GetLeaderBoardPositionRequest) returns (etherean.type.LeaderBoardPosition); | ||
*/ | ||
getLeaderBoardPosition(input, options) { | ||
const method = this.methods[6], opt = this._transport.mergeOptions(options); | ||
return stackIntercept("unary", this._transport, method, opt, input); | ||
} | ||
/** | ||
* @generated from protobuf rpc: GetStats(google.protobuf.Empty) returns (etherean.referral_points.StatsResponse); | ||
*/ | ||
getStats(input, options) { | ||
const method = this.methods[7], opt = this._transport.mergeOptions(options); | ||
return stackIntercept("unary", this._transport, method, opt, input); | ||
} | ||
} |
@@ -6,6 +6,43 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript | ||
import { Address } from "./user_wallet.js"; | ||
import { DailyReward } from "./daily_reward.js"; | ||
import { UserId } from "./client_id.js"; | ||
import { DailyReward } from "./daily_reward.js"; | ||
import { Decimal } from "./decimal.js"; | ||
import { LeaderBoardType } from "./referral_leader_board.js"; | ||
/** | ||
* @generated from protobuf message etherean.referral_points.StatsResponse | ||
*/ | ||
export interface StatsResponse { | ||
/** | ||
* It's uint64 because the value is to big and it's makes no sense to do it Decimal | ||
* | ||
* @generated from protobuf field: uint64 total_points_balance = 1; | ||
*/ | ||
totalPointsBalance: bigint; | ||
/** | ||
* @generated from protobuf field: uint64 total_y_members = 2; | ||
*/ | ||
totalYMembers: bigint; | ||
/** | ||
* @generated from protobuf field: uint64 verified_y_members = 3; | ||
*/ | ||
verifiedYMembers: bigint; | ||
/** | ||
* @generated from protobuf field: uint64 daily_users = 4; | ||
*/ | ||
dailyUsers: bigint; | ||
/** | ||
* @generated from protobuf field: uint64 online_players = 5; | ||
*/ | ||
onlinePlayers: bigint; | ||
} | ||
/** | ||
* @generated from protobuf message etherean.referral_points.GetLeaderBoardRequest | ||
*/ | ||
export interface GetLeaderBoardRequest { | ||
/** | ||
* @generated from protobuf field: etherean.type.LeaderBoardType type = 1; | ||
*/ | ||
type: LeaderBoardType; | ||
} | ||
/** | ||
* @generated from protobuf message etherean.referral_points.TasksRewardsResponse | ||
@@ -24,2 +61,15 @@ */ | ||
/** | ||
* @generated from protobuf message etherean.referral_points.GetLeaderBoardPositionRequest | ||
*/ | ||
export interface GetLeaderBoardPositionRequest { | ||
/** | ||
* @generated from protobuf field: etherean.type.UserId user_id = 1; | ||
*/ | ||
userId?: UserId; | ||
/** | ||
* @generated from protobuf field: etherean.type.LeaderBoardType type = 2; | ||
*/ | ||
type: LeaderBoardType; | ||
} | ||
/** | ||
* @generated from protobuf message etherean.referral_points.StreakRewardsResponse | ||
@@ -124,2 +174,16 @@ */ | ||
} | ||
declare class StatsResponse$Type extends MessageType<StatsResponse> { | ||
constructor(); | ||
} | ||
/** | ||
* @generated MessageType for protobuf message etherean.referral_points.StatsResponse | ||
*/ | ||
export declare const StatsResponse: StatsResponse$Type; | ||
declare class GetLeaderBoardRequest$Type extends MessageType<GetLeaderBoardRequest> { | ||
constructor(); | ||
} | ||
/** | ||
* @generated MessageType for protobuf message etherean.referral_points.GetLeaderBoardRequest | ||
*/ | ||
export declare const GetLeaderBoardRequest: GetLeaderBoardRequest$Type; | ||
declare class TasksRewardsResponse$Type extends MessageType<TasksRewardsResponse> { | ||
@@ -132,2 +196,9 @@ constructor(); | ||
export declare const TasksRewardsResponse: TasksRewardsResponse$Type; | ||
declare class GetLeaderBoardPositionRequest$Type extends MessageType<GetLeaderBoardPositionRequest> { | ||
constructor(); | ||
} | ||
/** | ||
* @generated MessageType for protobuf message etherean.referral_points.GetLeaderBoardPositionRequest | ||
*/ | ||
export declare const GetLeaderBoardPositionRequest: GetLeaderBoardPositionRequest$Type; | ||
declare class StreakRewardsResponse$Type extends MessageType<StreakRewardsResponse> { | ||
@@ -134,0 +205,0 @@ constructor(); |
@@ -7,2 +7,4 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript | ||
// tslint:disable | ||
import { LeaderBoardPosition } from "./referral_leader_board.js"; | ||
import { LeaderBoard } from "./referral_leader_board.js"; | ||
import { Empty } from "./empty.js"; | ||
@@ -12,6 +14,35 @@ import { ServiceType } from "@protobuf-ts/runtime-rpc"; | ||
import { Address } from "./user_wallet.js"; | ||
import { DailyReward } from "./daily_reward.js"; | ||
import { UserId } from "./client_id.js"; | ||
import { DailyReward } from "./daily_reward.js"; | ||
import { Decimal } from "./decimal.js"; | ||
import { LeaderBoardType } from "./referral_leader_board.js"; | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
class StatsResponse$Type extends MessageType { | ||
constructor() { | ||
super("etherean.referral_points.StatsResponse", [ | ||
{ no: 1, name: "total_points_balance", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }, | ||
{ no: 2, name: "total_y_members", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }, | ||
{ no: 3, name: "verified_y_members", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }, | ||
{ no: 4, name: "daily_users", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }, | ||
{ no: 5, name: "online_players", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ } | ||
]); | ||
} | ||
} | ||
/** | ||
* @generated MessageType for protobuf message etherean.referral_points.StatsResponse | ||
*/ | ||
export const StatsResponse = new StatsResponse$Type(); | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
class GetLeaderBoardRequest$Type extends MessageType { | ||
constructor() { | ||
super("etherean.referral_points.GetLeaderBoardRequest", [ | ||
{ no: 1, name: "type", kind: "enum", T: () => ["etherean.type.LeaderBoardType", LeaderBoardType, "LEADER_BOARD_TYPE_"] } | ||
]); | ||
} | ||
} | ||
/** | ||
* @generated MessageType for protobuf message etherean.referral_points.GetLeaderBoardRequest | ||
*/ | ||
export const GetLeaderBoardRequest = new GetLeaderBoardRequest$Type(); | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
class TasksRewardsResponse$Type extends MessageType { | ||
@@ -29,2 +60,15 @@ constructor() { | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
class GetLeaderBoardPositionRequest$Type extends MessageType { | ||
constructor() { | ||
super("etherean.referral_points.GetLeaderBoardPositionRequest", [ | ||
{ no: 1, name: "user_id", kind: "message", T: () => UserId }, | ||
{ no: 2, name: "type", kind: "enum", T: () => ["etherean.type.LeaderBoardType", LeaderBoardType, "LEADER_BOARD_TYPE_"] } | ||
]); | ||
} | ||
} | ||
/** | ||
* @generated MessageType for protobuf message etherean.referral_points.GetLeaderBoardPositionRequest | ||
*/ | ||
export const GetLeaderBoardPositionRequest = new GetLeaderBoardPositionRequest$Type(); | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
class StreakRewardsResponse$Type extends MessageType { | ||
@@ -120,3 +164,6 @@ constructor() { | ||
{ name: "GetTasksRewards", options: {}, I: Empty, O: TasksRewardsResponse }, | ||
{ name: "GetStreakRewards", options: {}, I: Empty, O: StreakRewardsResponse } | ||
{ name: "GetStreakRewards", options: {}, I: Empty, O: StreakRewardsResponse }, | ||
{ name: "GetLeaderBoard", options: {}, I: GetLeaderBoardRequest, O: LeaderBoard }, | ||
{ name: "GetLeaderBoardPosition", options: {}, I: GetLeaderBoardPositionRequest, O: LeaderBoardPosition }, | ||
{ name: "GetStats", options: {}, I: Empty, O: StatsResponse } | ||
]); |
{ | ||
"name": "@etherean/etherean-grpc", | ||
"type": "module", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"description": "", | ||
@@ -6,0 +6,0 @@ "keywords": [], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
275131
118
5451