@etherean/etherean-grpc
Advanced tools
Comparing version 1.9.4 to 1.9.5
@@ -9,2 +9,3 @@ import { RpcOptions, UnaryCall, ServiceInfo, RpcTransport } from '@protobuf-ts/runtime-rpc'; | ||
import './decimal.js'; | ||
import './farming/rewards.js'; | ||
import './referral_miniapp.js'; | ||
@@ -11,0 +12,0 @@ import './x.js'; |
import { MessageType } from '@protobuf-ts/runtime'; | ||
import { Timestamp } from './google/protobuf/timestamp.js'; | ||
import { Rewards } from './farming/rewards.js'; | ||
import { Decimal } from './decimal.js'; | ||
import { SocialSubscription } from './referral_miniapp.js'; | ||
import { Decimal } from './decimal.js'; | ||
import { Platforms } from './platforms.js'; | ||
@@ -111,6 +112,2 @@ import { UserId } from './client_id.js'; | ||
/** | ||
* @generated from protobuf field: google.type.Decimal reward = 6; | ||
*/ | ||
reward?: Decimal; | ||
/** | ||
* @generated from protobuf field: etherean.referral_miniapp.SocialSubscription social_subscription = 7; | ||
@@ -135,2 +132,6 @@ */ | ||
attestation?: Attestation; | ||
/** | ||
* @generated from protobuf field: etherean.farming.Rewards rewards = 14; | ||
*/ | ||
rewards?: Rewards; | ||
} | ||
@@ -169,9 +170,9 @@ /** | ||
/** | ||
* @generated from protobuf field: repeated etherean.referral_miniapp.v2.VerifiableCredential verifiable_credentials = 6; | ||
* @generated from protobuf field: string icon_url = 7; | ||
*/ | ||
verifiableCredentials: VerifiableCredential[]; | ||
iconUrl: string; | ||
/** | ||
* @generated from protobuf field: string icon_url = 7; | ||
* @generated from protobuf field: repeated etherean.referral_miniapp.v2.VCGroups vc_groups = 8; | ||
*/ | ||
iconUrl: string; | ||
vcGroups: VCGroups[]; | ||
} | ||
@@ -182,2 +183,34 @@ /** | ||
declare const Attestation: Attestation$Type; | ||
declare class VCGroups$Type extends MessageType<VCGroups> { | ||
constructor(); | ||
} | ||
/** | ||
* @generated from protobuf message etherean.referral_miniapp.v2.VCGroups | ||
*/ | ||
interface VCGroups { | ||
/** | ||
* @generated from protobuf field: string title = 1; | ||
*/ | ||
title: string; | ||
/** | ||
* @generated from protobuf field: string subtitle = 2; | ||
*/ | ||
subtitle: string; | ||
/** | ||
* @generated from protobuf field: optional string icon_url = 3; | ||
*/ | ||
iconUrl?: string; | ||
/** | ||
* @generated from protobuf field: etherean.farming.Rewards rewards = 4; | ||
*/ | ||
rewards?: Rewards; | ||
/** | ||
* @generated from protobuf field: repeated etherean.referral_miniapp.v2.VerifiableCredential verifiable_credentials = 5; | ||
*/ | ||
verifiableCredentials: VerifiableCredential[]; | ||
} | ||
/** | ||
* @generated MessageType for protobuf message etherean.referral_miniapp.v2.VCGroups | ||
*/ | ||
declare const VCGroups: VCGroups$Type; | ||
declare class VerifiableCredential$Type extends MessageType<VerifiableCredential> { | ||
@@ -191,2 +224,4 @@ constructor(); | ||
/** | ||
* TODO: delete it after release | ||
* | ||
* @generated from protobuf field: string title = 2; | ||
@@ -211,10 +246,2 @@ */ | ||
connectorType: string; | ||
/** | ||
* @generated from protobuf field: google.type.Decimal reward_points = 7; | ||
*/ | ||
rewardPoints?: Decimal; | ||
/** | ||
* @generated from protobuf field: google.type.Decimal reward_humanity_score = 8; | ||
*/ | ||
rewardHumanityScore?: Decimal; | ||
} | ||
@@ -282,2 +309,2 @@ /** | ||
export { Attestation, IssuedVerifiableCredential, ReferralMiniappService, Task, TaskPostRequest, TasksRequest, TasksResponse, VerifiableCredential, VerifiableCredentialAction }; | ||
export { Attestation, IssuedVerifiableCredential, ReferralMiniappService, Task, TaskPostRequest, TasksRequest, TasksResponse, VCGroups, VerifiableCredential, VerifiableCredentialAction }; |
@@ -497,2 +497,6 @@ import { MessageType } from '@protobuf-ts/runtime'; | ||
username?: Username; | ||
/** | ||
* @generated from protobuf field: bool is_deactivated = 10; | ||
*/ | ||
isDeactivated: boolean; | ||
} | ||
@@ -499,0 +503,0 @@ /** |
@@ -6,4 +6,5 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript | ||
import { Timestamp } from "./google/protobuf/timestamp.js"; | ||
import { Rewards } from "./farming/rewards.js"; | ||
import { Decimal } from "./decimal.js"; | ||
import { SocialSubscription } from "./referral_miniapp.js"; | ||
import { Decimal } from "./decimal.js"; | ||
import { Platforms } from "./platforms.js"; | ||
@@ -79,6 +80,2 @@ import { UserId } from "./client_id.js"; | ||
/** | ||
* @generated from protobuf field: google.type.Decimal reward = 6; | ||
*/ | ||
reward?: Decimal; | ||
/** | ||
* @generated from protobuf field: etherean.referral_miniapp.SocialSubscription social_subscription = 7; | ||
@@ -103,2 +100,6 @@ */ | ||
attestation?: Attestation; | ||
/** | ||
* @generated from protobuf field: etherean.farming.Rewards rewards = 14; | ||
*/ | ||
rewards?: Rewards; | ||
} | ||
@@ -130,11 +131,36 @@ /** | ||
/** | ||
* @generated from protobuf field: repeated etherean.referral_miniapp.v2.VerifiableCredential verifiable_credentials = 6; | ||
* @generated from protobuf field: string icon_url = 7; | ||
*/ | ||
verifiableCredentials: VerifiableCredential[]; | ||
iconUrl: string; | ||
/** | ||
* @generated from protobuf field: string icon_url = 7; | ||
* @generated from protobuf field: repeated etherean.referral_miniapp.v2.VCGroups vc_groups = 8; | ||
*/ | ||
iconUrl: string; | ||
vcGroups: VCGroups[]; | ||
} | ||
/** | ||
* @generated from protobuf message etherean.referral_miniapp.v2.VCGroups | ||
*/ | ||
export interface VCGroups { | ||
/** | ||
* @generated from protobuf field: string title = 1; | ||
*/ | ||
title: string; | ||
/** | ||
* @generated from protobuf field: string subtitle = 2; | ||
*/ | ||
subtitle: string; | ||
/** | ||
* @generated from protobuf field: optional string icon_url = 3; | ||
*/ | ||
iconUrl?: string; | ||
/** | ||
* @generated from protobuf field: etherean.farming.Rewards rewards = 4; | ||
*/ | ||
rewards?: Rewards; | ||
/** | ||
* @generated from protobuf field: repeated etherean.referral_miniapp.v2.VerifiableCredential verifiable_credentials = 5; | ||
*/ | ||
verifiableCredentials: VerifiableCredential[]; | ||
} | ||
/** | ||
* @generated from protobuf message etherean.referral_miniapp.v2.VerifiableCredential | ||
@@ -144,2 +170,4 @@ */ | ||
/** | ||
* TODO: delete it after release | ||
* | ||
* @generated from protobuf field: string title = 2; | ||
@@ -164,10 +192,2 @@ */ | ||
connectorType: string; | ||
/** | ||
* @generated from protobuf field: google.type.Decimal reward_points = 7; | ||
*/ | ||
rewardPoints?: Decimal; | ||
/** | ||
* @generated from protobuf field: google.type.Decimal reward_humanity_score = 8; | ||
*/ | ||
rewardHumanityScore?: Decimal; | ||
} | ||
@@ -247,2 +267,9 @@ /** | ||
export declare const Attestation: Attestation$Type; | ||
declare class VCGroups$Type extends MessageType<VCGroups> { | ||
constructor(); | ||
} | ||
/** | ||
* @generated MessageType for protobuf message etherean.referral_miniapp.v2.VCGroups | ||
*/ | ||
export declare const VCGroups: VCGroups$Type; | ||
declare class VerifiableCredential$Type extends MessageType<VerifiableCredential> { | ||
@@ -249,0 +276,0 @@ constructor(); |
@@ -11,4 +11,5 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript | ||
import { Timestamp } from "./google/protobuf/timestamp.js"; | ||
import { Rewards } from "./farming/rewards.js"; | ||
import { Decimal } from "./decimal.js"; | ||
import { SocialSubscription } from "./referral_miniapp.js"; | ||
import { Decimal } from "./decimal.js"; | ||
import { Platforms } from "./platforms.js"; | ||
@@ -65,3 +66,2 @@ import { UserId } from "./client_id.js"; | ||
{ no: 5, name: "title", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 6, name: "reward", kind: "message", T: () => Decimal }, | ||
{ no: 7, name: "social_subscription", kind: "message", T: () => SocialSubscription }, | ||
@@ -71,3 +71,4 @@ { no: 8, name: "localization_tag", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 11, name: "description", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 13, name: "attestation", kind: "message", T: () => Attestation } | ||
{ no: 13, name: "attestation", kind: "message", T: () => Attestation }, | ||
{ no: 14, name: "rewards", kind: "message", T: () => Rewards } | ||
]); | ||
@@ -89,4 +90,4 @@ } | ||
{ no: 5, name: "privacy", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 6, name: "verifiable_credentials", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => VerifiableCredential }, | ||
{ no: 7, name: "icon_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ } | ||
{ no: 7, name: "icon_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 8, name: "vc_groups", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => VCGroups } | ||
]); | ||
@@ -100,2 +101,18 @@ } | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
class VCGroups$Type extends MessageType { | ||
constructor() { | ||
super("etherean.referral_miniapp.v2.VCGroups", [ | ||
{ no: 1, name: "title", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 2, name: "subtitle", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 3, name: "icon_url", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 4, name: "rewards", kind: "message", T: () => Rewards }, | ||
{ no: 5, name: "verifiable_credentials", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => VerifiableCredential } | ||
]); | ||
} | ||
} | ||
/** | ||
* @generated MessageType for protobuf message etherean.referral_miniapp.v2.VCGroups | ||
*/ | ||
export const VCGroups = new VCGroups$Type(); | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
class VerifiableCredential$Type extends MessageType { | ||
@@ -108,5 +125,3 @@ constructor() { | ||
{ no: 5, name: "issued_verifiable_credentials", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => IssuedVerifiableCredential }, | ||
{ no: 6, name: "connector_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 7, name: "reward_points", kind: "message", T: () => Decimal }, | ||
{ no: 8, name: "reward_humanity_score", kind: "message", T: () => Decimal } | ||
{ no: 6, name: "connector_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ } | ||
]); | ||
@@ -113,0 +128,0 @@ } |
@@ -381,2 +381,6 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript | ||
username?: Username; | ||
/** | ||
* @generated from protobuf field: bool is_deactivated = 10; | ||
*/ | ||
isDeactivated: boolean; | ||
} | ||
@@ -383,0 +387,0 @@ /** |
@@ -270,3 +270,4 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript | ||
{ no: 8, name: "x_id", kind: "message", T: () => XId }, | ||
{ no: 9, name: "username", kind: "message", T: () => Username } | ||
{ no: 9, name: "username", kind: "message", T: () => Username }, | ||
{ no: 10, name: "is_deactivated", kind: "scalar", T: 8 /*ScalarType.BOOL*/ } | ||
]); | ||
@@ -273,0 +274,0 @@ } |
{ | ||
"name": "@etherean/etherean-grpc", | ||
"type": "module", | ||
"version": "1.9.4", | ||
"version": "1.9.5", | ||
"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
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
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
885876
265
14085