jr-common-micro 1.1.107 → 1.1.109
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/proto/micro/v1/education/education_messages_nest.d.ts +2 -0
- package/dist/proto/micro/v1/education/education_messages_pb.d.ts +2 -0
- package/dist/proto/micro/v1/education/education_messages_pb.js +4 -0
- package/dist/proto/micro/v1/mining/mining_messages_nest.d.ts +2 -0
- package/dist/proto/micro/v1/mining/mining_messages_pb.d.ts +2 -0
- package/dist/proto/micro/v1/mining/mining_messages_pb.js +4 -0
- package/package.json +1 -1
- package/proto/micro/v1/education/education_messages.proto +7 -0
- package/proto/micro/v1/mining/mining_messages.proto +5 -0
|
@@ -591,6 +591,8 @@ export declare class ReferralDetailsDto extends Message<ReferralDetailsDto> {
|
|
|
591
591
|
export declare class ReferralDetails extends Message<ReferralDetails> {
|
|
592
592
|
uid: string;
|
|
593
593
|
status: string;
|
|
594
|
+
apiRefusals: number;
|
|
595
|
+
nextCheckAt: string;
|
|
594
596
|
constructor(data?: PartialMessage<ReferralDetails>);
|
|
595
597
|
static readonly runtime: typeof proto3;
|
|
596
598
|
static readonly typeName = "micro.v1.education.ReferralDetails";
|
|
@@ -1223,6 +1223,8 @@ exports.ReferralDetailsDto = ReferralDetailsDto;
|
|
|
1223
1223
|
class ReferralDetails extends protobuf_1.Message {
|
|
1224
1224
|
uid = "";
|
|
1225
1225
|
status = "";
|
|
1226
|
+
apiRefusals = 0;
|
|
1227
|
+
nextCheckAt = "";
|
|
1226
1228
|
constructor(data) {
|
|
1227
1229
|
super();
|
|
1228
1230
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1232,6 +1234,8 @@ class ReferralDetails extends protobuf_1.Message {
|
|
|
1232
1234
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1233
1235
|
{ no: 1, name: "uid", kind: "scalar", T: 9 },
|
|
1234
1236
|
{ no: 2, name: "status", kind: "scalar", T: 9 },
|
|
1237
|
+
{ no: 3, name: "api_refusals", kind: "scalar", T: 5 },
|
|
1238
|
+
{ no: 4, name: "next_check_at", kind: "scalar", T: 9 },
|
|
1235
1239
|
]);
|
|
1236
1240
|
static fromBinary(bytes, options) {
|
|
1237
1241
|
return new ReferralDetails().fromBinary(bytes, options);
|
|
@@ -283,6 +283,7 @@ export interface AdminTopReferrer {
|
|
|
283
283
|
referrals: number;
|
|
284
284
|
active_rate: string;
|
|
285
285
|
earned: string;
|
|
286
|
+
avatar_id: string;
|
|
286
287
|
}
|
|
287
288
|
export interface AdminOverviewResponse {
|
|
288
289
|
status: ResponseStatus | undefined;
|
|
@@ -351,6 +352,7 @@ export interface AdminUserItem {
|
|
|
351
352
|
risk_score: number;
|
|
352
353
|
referred_by_username: string;
|
|
353
354
|
status_at: string;
|
|
355
|
+
avatar_id: string;
|
|
354
356
|
}
|
|
355
357
|
export interface AdminUsersResponse {
|
|
356
358
|
status: ResponseStatus | undefined;
|
|
@@ -572,6 +572,7 @@ export declare class AdminTopReferrer extends Message<AdminTopReferrer> {
|
|
|
572
572
|
referrals: number;
|
|
573
573
|
activeRate: string;
|
|
574
574
|
earned: string;
|
|
575
|
+
avatarId: string;
|
|
575
576
|
constructor(data?: PartialMessage<AdminTopReferrer>);
|
|
576
577
|
static readonly runtime: typeof proto3;
|
|
577
578
|
static readonly typeName = "micro.v1.mining.AdminTopReferrer";
|
|
@@ -704,6 +705,7 @@ export declare class AdminUserItem extends Message<AdminUserItem> {
|
|
|
704
705
|
riskScore: number;
|
|
705
706
|
referredByUsername: string;
|
|
706
707
|
statusAt: string;
|
|
708
|
+
avatarId: string;
|
|
707
709
|
constructor(data?: PartialMessage<AdminUserItem>);
|
|
708
710
|
static readonly runtime: typeof proto3;
|
|
709
711
|
static readonly typeName = "micro.v1.mining.AdminUserItem";
|
|
@@ -1248,6 +1248,7 @@ class AdminTopReferrer extends protobuf_1.Message {
|
|
|
1248
1248
|
referrals = 0;
|
|
1249
1249
|
activeRate = "";
|
|
1250
1250
|
earned = "";
|
|
1251
|
+
avatarId = "";
|
|
1251
1252
|
constructor(data) {
|
|
1252
1253
|
super();
|
|
1253
1254
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1260,6 +1261,7 @@ class AdminTopReferrer extends protobuf_1.Message {
|
|
|
1260
1261
|
{ no: 3, name: "referrals", kind: "scalar", T: 5 },
|
|
1261
1262
|
{ no: 4, name: "active_rate", kind: "scalar", T: 9 },
|
|
1262
1263
|
{ no: 5, name: "earned", kind: "scalar", T: 9 },
|
|
1264
|
+
{ no: 6, name: "avatar_id", kind: "scalar", T: 9 },
|
|
1263
1265
|
]);
|
|
1264
1266
|
static fromBinary(bytes, options) {
|
|
1265
1267
|
return new AdminTopReferrer().fromBinary(bytes, options);
|
|
@@ -1520,6 +1522,7 @@ class AdminUserItem extends protobuf_1.Message {
|
|
|
1520
1522
|
riskScore = 0;
|
|
1521
1523
|
referredByUsername = "";
|
|
1522
1524
|
statusAt = "";
|
|
1525
|
+
avatarId = "";
|
|
1523
1526
|
constructor(data) {
|
|
1524
1527
|
super();
|
|
1525
1528
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1548,6 +1551,7 @@ class AdminUserItem extends protobuf_1.Message {
|
|
|
1548
1551
|
{ no: 20, name: "risk_score", kind: "scalar", T: 5 },
|
|
1549
1552
|
{ no: 19, name: "referred_by_username", kind: "scalar", T: 9 },
|
|
1550
1553
|
{ no: 21, name: "status_at", kind: "scalar", T: 9 },
|
|
1554
|
+
{ no: 22, name: "avatar_id", kind: "scalar", T: 9 },
|
|
1551
1555
|
]);
|
|
1552
1556
|
static fromBinary(bytes, options) {
|
|
1553
1557
|
return new AdminUserItem().fromBinary(bytes, options);
|
package/package.json
CHANGED
|
@@ -292,6 +292,13 @@ message ReferralDetailsDto {
|
|
|
292
292
|
message ReferralDetails {
|
|
293
293
|
string uid = 1;
|
|
294
294
|
string status = 2;
|
|
295
|
+
// A pending UID the exchange's affiliate API looked up and did not find
|
|
296
|
+
// among our referrals: how many times in a row (0 = never, also when the
|
|
297
|
+
// exchange has no API check). Reset when the person sends a UID again.
|
|
298
|
+
int32 api_refusals = 3;
|
|
299
|
+
// When the API looks again (RFC 3339 UTC); empty once it has stopped
|
|
300
|
+
// (after the fifth "not ours") or when no check is due.
|
|
301
|
+
string next_check_at = 4;
|
|
295
302
|
}
|
|
296
303
|
|
|
297
304
|
message StoreLastWatchedVideoRequest {
|
|
@@ -409,6 +409,8 @@ message AdminTopReferrer {
|
|
|
409
409
|
int32 referrals = 3;
|
|
410
410
|
string active_rate = 4;
|
|
411
411
|
string earned = 5;
|
|
412
|
+
// As on AdminUserItem.
|
|
413
|
+
string avatar_id = 6;
|
|
412
414
|
}
|
|
413
415
|
|
|
414
416
|
message AdminOverviewResponse {
|
|
@@ -506,6 +508,9 @@ message AdminUserItem {
|
|
|
506
508
|
// restrict, ban, unban); empty = nobody has decided on it yet. Tells a
|
|
507
509
|
// "normal" that was checked and cleared from one never looked at.
|
|
508
510
|
string status_at = 21;
|
|
511
|
+
// The person's profile avatar: a preset id the apps draw as an emoji on
|
|
512
|
+
// a colour (user_profiles.avatar_id); empty = the default one.
|
|
513
|
+
string avatar_id = 22;
|
|
509
514
|
}
|
|
510
515
|
|
|
511
516
|
message AdminUsersResponse {
|