@etherean/etherean-grpc
Advanced tools
Comparing version 1.3.6 to 1.3.7
@@ -6,2 +6,6 @@ // @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 { CheckTgPartnerUserResponse } from "./user_service.js"; | ||
import type { CheckTgPartnerUserRequest } from "./user_service.js"; | ||
import type { GetHumanReadableIdentifiersResponse } from "./user_service.js"; | ||
import type { GetHumanReadableIdentifiersRequest } from "./user_service.js"; | ||
import type { XRegisterRequest } from "./user_service.js"; | ||
@@ -100,2 +104,12 @@ import type { TgRegisterRequest } from "./user_service.js"; | ||
confirmEmail(input: UserId, options?: RpcOptions): UnaryCall<UserId, Empty>; | ||
/** | ||
* @generated from protobuf rpc: GetHumanReadableIdentifiers(etherean.user_service.GetHumanReadableIdentifiersRequest) returns (etherean.user_service.GetHumanReadableIdentifiersResponse); | ||
*/ | ||
getHumanReadableIdentifiers(input: GetHumanReadableIdentifiersRequest, options?: RpcOptions): UnaryCall<GetHumanReadableIdentifiersRequest, GetHumanReadableIdentifiersResponse>; | ||
/** | ||
* Check that user TG user is registered and was refered by partner with referent_code | ||
* | ||
* @generated from protobuf rpc: CheckTgPartnerUser(etherean.user_service.CheckTgPartnerUserRequest) returns (etherean.user_service.CheckTgPartnerUserResponse); | ||
*/ | ||
checkTgPartnerUser(input: CheckTgPartnerUserRequest, options?: RpcOptions): UnaryCall<CheckTgPartnerUserRequest, CheckTgPartnerUserResponse>; | ||
} | ||
@@ -183,2 +197,12 @@ /** | ||
confirmEmail(input: UserId, options?: RpcOptions): UnaryCall<UserId, Empty>; | ||
/** | ||
* @generated from protobuf rpc: GetHumanReadableIdentifiers(etherean.user_service.GetHumanReadableIdentifiersRequest) returns (etherean.user_service.GetHumanReadableIdentifiersResponse); | ||
*/ | ||
getHumanReadableIdentifiers(input: GetHumanReadableIdentifiersRequest, options?: RpcOptions): UnaryCall<GetHumanReadableIdentifiersRequest, GetHumanReadableIdentifiersResponse>; | ||
/** | ||
* Check that user TG user is registered and was refered by partner with referent_code | ||
* | ||
* @generated from protobuf rpc: CheckTgPartnerUser(etherean.user_service.CheckTgPartnerUserRequest) returns (etherean.user_service.CheckTgPartnerUserResponse); | ||
*/ | ||
checkTgPartnerUser(input: CheckTgPartnerUserRequest, options?: RpcOptions): UnaryCall<CheckTgPartnerUserRequest, CheckTgPartnerUserResponse>; | ||
} |
@@ -133,2 +133,18 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript | ||
} | ||
/** | ||
* @generated from protobuf rpc: GetHumanReadableIdentifiers(etherean.user_service.GetHumanReadableIdentifiersRequest) returns (etherean.user_service.GetHumanReadableIdentifiersResponse); | ||
*/ | ||
getHumanReadableIdentifiers(input, options) { | ||
const method = this.methods[15], opt = this._transport.mergeOptions(options); | ||
return stackIntercept("unary", this._transport, method, opt, input); | ||
} | ||
/** | ||
* Check that user TG user is registered and was refered by partner with referent_code | ||
* | ||
* @generated from protobuf rpc: CheckTgPartnerUser(etherean.user_service.CheckTgPartnerUserRequest) returns (etherean.user_service.CheckTgPartnerUserResponse); | ||
*/ | ||
checkTgPartnerUser(input, options) { | ||
const method = this.methods[16], opt = this._transport.mergeOptions(options); | ||
return stackIntercept("unary", this._transport, method, opt, input); | ||
} | ||
} |
@@ -6,3 +6,2 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript | ||
import { UserWalletWithWeb3authInfo } from "./user_wallet.js"; | ||
import { TgId } from "./tg_id.js"; | ||
import { XId } from "./x.js"; | ||
@@ -12,3 +11,69 @@ import { Address } from "./user_wallet.js"; | ||
import { UserId } from "./client_id.js"; | ||
import { TgId } from "./tg_id.js"; | ||
/** | ||
* @generated from protobuf message etherean.user_service.CheckTgPartnerUserRequest | ||
*/ | ||
export interface CheckTgPartnerUserRequest { | ||
/** | ||
* user which would be checked | ||
* | ||
* @generated from protobuf field: etherean.type.TgId tg_id = 1; | ||
*/ | ||
tgId?: TgId; | ||
/** | ||
* ref code from Ads agency which refer this user | ||
* | ||
* @generated from protobuf field: optional string referent_code = 2; | ||
*/ | ||
referentCode?: string; | ||
} | ||
/** | ||
* @generated from protobuf message etherean.user_service.CheckTgPartnerUserResponse | ||
*/ | ||
export interface CheckTgPartnerUserResponse { | ||
/** | ||
* true if user is already registered | ||
* | ||
* @generated from protobuf field: bool is_member = 1; | ||
*/ | ||
isMember: boolean; | ||
/** | ||
* true if user was refered by partner | ||
* | ||
* @generated from protobuf field: bool from_partner = 2; | ||
*/ | ||
fromPartner: boolean; | ||
} | ||
/** | ||
* @generated from protobuf message etherean.user_service.GetHumanReadableIdentifiersRequest | ||
*/ | ||
export interface GetHumanReadableIdentifiersRequest { | ||
/** | ||
* @generated from protobuf field: repeated etherean.type.UserId user_ids = 1; | ||
*/ | ||
userIds: UserId[]; | ||
} | ||
/** | ||
* @generated from protobuf message etherean.user_service.GetHumanReadableIdentifiersResponse | ||
*/ | ||
export interface GetHumanReadableIdentifiersResponse { | ||
/** | ||
* @generated from protobuf field: repeated etherean.user_service.UserIdentifier identifiers = 1; | ||
*/ | ||
identifiers: UserIdentifier[]; | ||
} | ||
/** | ||
* @generated from protobuf message etherean.user_service.UserIdentifier | ||
*/ | ||
export interface UserIdentifier { | ||
/** | ||
* @generated from protobuf field: etherean.type.UserId user_id = 1; | ||
*/ | ||
userId?: UserId; | ||
/** | ||
* @generated from protobuf field: string identifier = 2; | ||
*/ | ||
identifier: string; | ||
} | ||
/** | ||
* @generated from protobuf message etherean.user_service.AddUsernameRequest | ||
@@ -199,2 +264,37 @@ */ | ||
} | ||
declare class CheckTgPartnerUserRequest$Type extends MessageType<CheckTgPartnerUserRequest> { | ||
constructor(); | ||
} | ||
/** | ||
* @generated MessageType for protobuf message etherean.user_service.CheckTgPartnerUserRequest | ||
*/ | ||
export declare const CheckTgPartnerUserRequest: CheckTgPartnerUserRequest$Type; | ||
declare class CheckTgPartnerUserResponse$Type extends MessageType<CheckTgPartnerUserResponse> { | ||
constructor(); | ||
} | ||
/** | ||
* @generated MessageType for protobuf message etherean.user_service.CheckTgPartnerUserResponse | ||
*/ | ||
export declare const CheckTgPartnerUserResponse: CheckTgPartnerUserResponse$Type; | ||
declare class GetHumanReadableIdentifiersRequest$Type extends MessageType<GetHumanReadableIdentifiersRequest> { | ||
constructor(); | ||
} | ||
/** | ||
* @generated MessageType for protobuf message etherean.user_service.GetHumanReadableIdentifiersRequest | ||
*/ | ||
export declare const GetHumanReadableIdentifiersRequest: GetHumanReadableIdentifiersRequest$Type; | ||
declare class GetHumanReadableIdentifiersResponse$Type extends MessageType<GetHumanReadableIdentifiersResponse> { | ||
constructor(); | ||
} | ||
/** | ||
* @generated MessageType for protobuf message etherean.user_service.GetHumanReadableIdentifiersResponse | ||
*/ | ||
export declare const GetHumanReadableIdentifiersResponse: GetHumanReadableIdentifiersResponse$Type; | ||
declare class UserIdentifier$Type extends MessageType<UserIdentifier> { | ||
constructor(); | ||
} | ||
/** | ||
* @generated MessageType for protobuf message etherean.user_service.UserIdentifier | ||
*/ | ||
export declare const UserIdentifier: UserIdentifier$Type; | ||
declare class AddUsernameRequest$Type extends MessageType<AddUsernameRequest> { | ||
@@ -201,0 +301,0 @@ constructor(); |
@@ -11,3 +11,2 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript | ||
import { UserWalletWithWeb3authInfo } from "./user_wallet.js"; | ||
import { TgId } from "./tg_id.js"; | ||
import { XId } from "./x.js"; | ||
@@ -17,3 +16,67 @@ import { Address } from "./user_wallet.js"; | ||
import { UserId } from "./client_id.js"; | ||
import { TgId } from "./tg_id.js"; | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
class CheckTgPartnerUserRequest$Type extends MessageType { | ||
constructor() { | ||
super("etherean.user_service.CheckTgPartnerUserRequest", [ | ||
{ no: 1, name: "tg_id", kind: "message", T: () => TgId }, | ||
{ no: 2, name: "referent_code", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ } | ||
]); | ||
} | ||
} | ||
/** | ||
* @generated MessageType for protobuf message etherean.user_service.CheckTgPartnerUserRequest | ||
*/ | ||
export const CheckTgPartnerUserRequest = new CheckTgPartnerUserRequest$Type(); | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
class CheckTgPartnerUserResponse$Type extends MessageType { | ||
constructor() { | ||
super("etherean.user_service.CheckTgPartnerUserResponse", [ | ||
{ no: 1, name: "is_member", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 2, name: "from_partner", kind: "scalar", T: 8 /*ScalarType.BOOL*/ } | ||
]); | ||
} | ||
} | ||
/** | ||
* @generated MessageType for protobuf message etherean.user_service.CheckTgPartnerUserResponse | ||
*/ | ||
export const CheckTgPartnerUserResponse = new CheckTgPartnerUserResponse$Type(); | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
class GetHumanReadableIdentifiersRequest$Type extends MessageType { | ||
constructor() { | ||
super("etherean.user_service.GetHumanReadableIdentifiersRequest", [ | ||
{ no: 1, name: "user_ids", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => UserId } | ||
]); | ||
} | ||
} | ||
/** | ||
* @generated MessageType for protobuf message etherean.user_service.GetHumanReadableIdentifiersRequest | ||
*/ | ||
export const GetHumanReadableIdentifiersRequest = new GetHumanReadableIdentifiersRequest$Type(); | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
class GetHumanReadableIdentifiersResponse$Type extends MessageType { | ||
constructor() { | ||
super("etherean.user_service.GetHumanReadableIdentifiersResponse", [ | ||
{ no: 1, name: "identifiers", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => UserIdentifier } | ||
]); | ||
} | ||
} | ||
/** | ||
* @generated MessageType for protobuf message etherean.user_service.GetHumanReadableIdentifiersResponse | ||
*/ | ||
export const GetHumanReadableIdentifiersResponse = new GetHumanReadableIdentifiersResponse$Type(); | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
class UserIdentifier$Type extends MessageType { | ||
constructor() { | ||
super("etherean.user_service.UserIdentifier", [ | ||
{ no: 1, name: "user_id", kind: "message", T: () => UserId }, | ||
{ no: 2, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ } | ||
]); | ||
} | ||
} | ||
/** | ||
* @generated MessageType for protobuf message etherean.user_service.UserIdentifier | ||
*/ | ||
export const UserIdentifier = new UserIdentifier$Type(); | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
class AddUsernameRequest$Type extends MessageType { | ||
@@ -198,3 +261,5 @@ constructor() { | ||
{ name: "DeleteUser", options: {}, I: UserId, O: Empty }, | ||
{ name: "ConfirmEmail", options: {}, I: UserId, O: Empty } | ||
{ name: "ConfirmEmail", options: {}, I: UserId, O: Empty }, | ||
{ name: "GetHumanReadableIdentifiers", options: {}, I: GetHumanReadableIdentifiersRequest, O: GetHumanReadableIdentifiersResponse }, | ||
{ name: "CheckTgPartnerUser", options: {}, I: CheckTgPartnerUserRequest, O: CheckTgPartnerUserResponse } | ||
]); |
{ | ||
"name": "@etherean/etherean-grpc", | ||
"type": "module", | ||
"version": "1.3.6", | ||
"version": "1.3.7", | ||
"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
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
285476
5656