jr-common-micro 1.1.134 → 1.1.135
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 +13 -0
- package/dist/proto/micro/v1/mining/mining_messages_pb.d.ts +21 -0
- package/dist/proto/micro/v1/mining/mining_messages_pb.js +46 -1
- package/package.json +1 -1
- package/proto/micro/v1/education/education_messages.proto +5 -0
- package/proto/micro/v1/mining/mining_messages.proto +17 -0
|
@@ -493,6 +493,8 @@ export interface UserRefAdminDto {
|
|
|
493
493
|
status: string;
|
|
494
494
|
created_at: string;
|
|
495
495
|
updated_at?: string | undefined;
|
|
496
|
+
api_refusals: number;
|
|
497
|
+
next_api_check_at: string;
|
|
496
498
|
}
|
|
497
499
|
export interface UserRefAdminListRequest {
|
|
498
500
|
page?: number | undefined;
|
|
@@ -878,6 +878,8 @@ export declare class UserRefAdminDto extends Message<UserRefAdminDto> {
|
|
|
878
878
|
status: string;
|
|
879
879
|
createdAt: string;
|
|
880
880
|
updatedAt?: string;
|
|
881
|
+
apiRefusals: number;
|
|
882
|
+
nextApiCheckAt: string;
|
|
881
883
|
constructor(data?: PartialMessage<UserRefAdminDto>);
|
|
882
884
|
static readonly runtime: typeof proto3;
|
|
883
885
|
static readonly typeName = "micro.v1.education.UserRefAdminDto";
|
|
@@ -1849,6 +1849,8 @@ class UserRefAdminDto extends protobuf_1.Message {
|
|
|
1849
1849
|
status = "";
|
|
1850
1850
|
createdAt = "";
|
|
1851
1851
|
updatedAt;
|
|
1852
|
+
apiRefusals = 0;
|
|
1853
|
+
nextApiCheckAt = "";
|
|
1852
1854
|
constructor(data) {
|
|
1853
1855
|
super();
|
|
1854
1856
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1863,6 +1865,8 @@ class UserRefAdminDto extends protobuf_1.Message {
|
|
|
1863
1865
|
{ no: 5, name: "status", kind: "scalar", T: 9 },
|
|
1864
1866
|
{ no: 6, name: "created_at", kind: "scalar", T: 9 },
|
|
1865
1867
|
{ no: 7, name: "updated_at", kind: "scalar", T: 9, opt: true },
|
|
1868
|
+
{ no: 8, name: "api_refusals", kind: "scalar", T: 5 },
|
|
1869
|
+
{ no: 9, name: "next_api_check_at", kind: "scalar", T: 9 },
|
|
1866
1870
|
]);
|
|
1867
1871
|
static fromBinary(bytes, options) {
|
|
1868
1872
|
return new UserRefAdminDto().fromBinary(bytes, options);
|
|
@@ -589,6 +589,19 @@ export interface AdminUserResponse {
|
|
|
589
589
|
tasks: TaskInfo[];
|
|
590
590
|
sessions: SessionInfo[];
|
|
591
591
|
team_seats: AdminTeamSeat[];
|
|
592
|
+
exchanges: AdminExchangeFacts[];
|
|
593
|
+
}
|
|
594
|
+
export interface AdminExchangeFacts {
|
|
595
|
+
exchange: string;
|
|
596
|
+
uid: string;
|
|
597
|
+
found: boolean;
|
|
598
|
+
kyc_level: number;
|
|
599
|
+
deposit_usd: string;
|
|
600
|
+
trade_usd: string;
|
|
601
|
+
fetched_at: string;
|
|
602
|
+
kyc_required: number;
|
|
603
|
+
deposit_required: string;
|
|
604
|
+
trade_required: string;
|
|
592
605
|
}
|
|
593
606
|
export interface AdminTeamSeat {
|
|
594
607
|
owner_id: string;
|
|
@@ -1058,6 +1058,7 @@ export declare class AdminUserResponse extends Message<AdminUserResponse> {
|
|
|
1058
1058
|
tasks: TaskInfo[];
|
|
1059
1059
|
sessions: SessionInfo[];
|
|
1060
1060
|
teamSeats: AdminTeamSeat[];
|
|
1061
|
+
exchanges: AdminExchangeFacts[];
|
|
1061
1062
|
constructor(data?: PartialMessage<AdminUserResponse>);
|
|
1062
1063
|
static readonly runtime: typeof proto3;
|
|
1063
1064
|
static readonly typeName = "micro.v1.mining.AdminUserResponse";
|
|
@@ -1067,6 +1068,26 @@ export declare class AdminUserResponse extends Message<AdminUserResponse> {
|
|
|
1067
1068
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdminUserResponse;
|
|
1068
1069
|
static equals(a: AdminUserResponse | PlainMessage<AdminUserResponse> | undefined, b: AdminUserResponse | PlainMessage<AdminUserResponse> | undefined): boolean;
|
|
1069
1070
|
}
|
|
1071
|
+
export declare class AdminExchangeFacts extends Message<AdminExchangeFacts> {
|
|
1072
|
+
exchange: string;
|
|
1073
|
+
uid: string;
|
|
1074
|
+
found: boolean;
|
|
1075
|
+
kycLevel: number;
|
|
1076
|
+
depositUsd: string;
|
|
1077
|
+
tradeUsd: string;
|
|
1078
|
+
fetchedAt: string;
|
|
1079
|
+
kycRequired: number;
|
|
1080
|
+
depositRequired: string;
|
|
1081
|
+
tradeRequired: string;
|
|
1082
|
+
constructor(data?: PartialMessage<AdminExchangeFacts>);
|
|
1083
|
+
static readonly runtime: typeof proto3;
|
|
1084
|
+
static readonly typeName = "micro.v1.mining.AdminExchangeFacts";
|
|
1085
|
+
static readonly fields: FieldList;
|
|
1086
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AdminExchangeFacts;
|
|
1087
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AdminExchangeFacts;
|
|
1088
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdminExchangeFacts;
|
|
1089
|
+
static equals(a: AdminExchangeFacts | PlainMessage<AdminExchangeFacts> | undefined, b: AdminExchangeFacts | PlainMessage<AdminExchangeFacts> | undefined): boolean;
|
|
1090
|
+
}
|
|
1070
1091
|
export declare class AdminTeamSeat extends Message<AdminTeamSeat> {
|
|
1071
1092
|
ownerId: string;
|
|
1072
1093
|
ownerUsername: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AdminTaskBlock = exports.LocalizedText = exports.AdminTaskItem = exports.SetParameterRequest = exports.ParametersResponse = exports.ParameterItem = exports.AdminSendReportResponse = exports.AdminOverviewResponse = exports.AdminTopEarnersResponse = exports.AdminTopEarner = exports.AdminTopReferrersResponse = exports.AdminTopReferrersRequest = exports.AdminTopReferrer = exports.AdminTaskStat = exports.AdminSeries = exports.AdminSeriesPoint = exports.AdminMetric = exports.AdminOverviewRequest = exports.ConfigResponse = exports.ResolveCodeResponse = exports.ResolveCodeRequest = exports.EnrollResponse = exports.EnrollRequest = exports.UpdateSettingsRequest = exports.HistoryResponse = exports.HistoryDay = exports.HistoryItem = exports.HistoryRequest = exports.TeamResponse = exports.SetTeamRequest = exports.ClaimResponse = exports.ReferralListResponse = exports.ReferralListRequest = exports.ReferralItem = exports.TaskEventResponse = exports.TaskEventRequest = exports.TasksResponse = exports.MiningMeResponse = exports.MiningState = exports.MiningSettings = exports.TasksSummary = exports.TaskBlock = exports.TaskInfo = exports.TeamInfo = exports.TeamWeek = exports.TeamMember = exports.ReferralInfo = exports.HalvingInfo = exports.RateInfo = exports.SessionInfo = void 0;
|
|
4
|
-
exports.AdminGiftsResponse = exports.AdminGiftsRequest = exports.AdminGiftResponse = exports.AdminGift = exports.AdminGiftConfirmRequest = exports.AdminGiftPreviewResponse = exports.AdminGiftRecipient = exports.AdminGiftPreviewRequest = exports.AdminSetTaskRequest = exports.AdminDeviceClustersResponse = exports.AdminDeviceCluster = exports.AdminDeviceClustersRequest = exports.AdminModerateRequest = exports.AdminCreditSource = exports.AdminRiskQueueResponse = exports.AdminRiskQueueRequest = exports.AdminInviteTreeResponse = exports.AdminInviteTreeNode = exports.AdminRiskFlag = exports.AdminRiskSignalStat = exports.AdminRiskSignal = exports.AdminTeamSeat = exports.AdminUserResponse = exports.AdminActionItem = exports.AdminUsersResponse = exports.AdminUserItem = exports.AdminUsersRequest = exports.TaskIconResponse = exports.AdminUploadTaskIconResponse = exports.AdminUploadTaskIconRequest = exports.AdminTranslateResponse = exports.AdminTranslatedItem = exports.AdminTranslateRequest = exports.AdminTranslateItem = exports.AdminTaskActionRequest = exports.AdminSaveTaskRequest = exports.AdminTasksResponse = void 0;
|
|
4
|
+
exports.AdminGiftsResponse = exports.AdminGiftsRequest = exports.AdminGiftResponse = exports.AdminGift = exports.AdminGiftConfirmRequest = exports.AdminGiftPreviewResponse = exports.AdminGiftRecipient = exports.AdminGiftPreviewRequest = exports.AdminSetTaskRequest = exports.AdminDeviceClustersResponse = exports.AdminDeviceCluster = exports.AdminDeviceClustersRequest = exports.AdminModerateRequest = exports.AdminCreditSource = exports.AdminRiskQueueResponse = exports.AdminRiskQueueRequest = exports.AdminInviteTreeResponse = exports.AdminInviteTreeNode = exports.AdminRiskFlag = exports.AdminRiskSignalStat = exports.AdminRiskSignal = exports.AdminTeamSeat = exports.AdminExchangeFacts = exports.AdminUserResponse = exports.AdminActionItem = exports.AdminUsersResponse = exports.AdminUserItem = exports.AdminUsersRequest = exports.TaskIconResponse = exports.AdminUploadTaskIconResponse = exports.AdminUploadTaskIconRequest = exports.AdminTranslateResponse = exports.AdminTranslatedItem = exports.AdminTranslateRequest = exports.AdminTranslateItem = exports.AdminTaskActionRequest = exports.AdminSaveTaskRequest = exports.AdminTasksResponse = void 0;
|
|
5
5
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
6
6
|
const general_pb_js_1 = require("../general_pb.js");
|
|
7
7
|
class SessionInfo extends protobuf_1.Message {
|
|
@@ -2251,6 +2251,7 @@ class AdminUserResponse extends protobuf_1.Message {
|
|
|
2251
2251
|
tasks = [];
|
|
2252
2252
|
sessions = [];
|
|
2253
2253
|
teamSeats = [];
|
|
2254
|
+
exchanges = [];
|
|
2254
2255
|
constructor(data) {
|
|
2255
2256
|
super();
|
|
2256
2257
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -2272,6 +2273,7 @@ class AdminUserResponse extends protobuf_1.Message {
|
|
|
2272
2273
|
{ no: 12, name: "tasks", kind: "message", T: TaskInfo, repeated: true },
|
|
2273
2274
|
{ no: 13, name: "sessions", kind: "message", T: SessionInfo, repeated: true },
|
|
2274
2275
|
{ no: 14, name: "team_seats", kind: "message", T: AdminTeamSeat, repeated: true },
|
|
2276
|
+
{ no: 15, name: "exchanges", kind: "message", T: AdminExchangeFacts, repeated: true },
|
|
2275
2277
|
]);
|
|
2276
2278
|
static fromBinary(bytes, options) {
|
|
2277
2279
|
return new AdminUserResponse().fromBinary(bytes, options);
|
|
@@ -2287,6 +2289,49 @@ class AdminUserResponse extends protobuf_1.Message {
|
|
|
2287
2289
|
}
|
|
2288
2290
|
}
|
|
2289
2291
|
exports.AdminUserResponse = AdminUserResponse;
|
|
2292
|
+
class AdminExchangeFacts extends protobuf_1.Message {
|
|
2293
|
+
exchange = "";
|
|
2294
|
+
uid = "";
|
|
2295
|
+
found = false;
|
|
2296
|
+
kycLevel = 0;
|
|
2297
|
+
depositUsd = "";
|
|
2298
|
+
tradeUsd = "";
|
|
2299
|
+
fetchedAt = "";
|
|
2300
|
+
kycRequired = 0;
|
|
2301
|
+
depositRequired = "";
|
|
2302
|
+
tradeRequired = "";
|
|
2303
|
+
constructor(data) {
|
|
2304
|
+
super();
|
|
2305
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2306
|
+
}
|
|
2307
|
+
static runtime = protobuf_1.proto3;
|
|
2308
|
+
static typeName = "micro.v1.mining.AdminExchangeFacts";
|
|
2309
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2310
|
+
{ no: 1, name: "exchange", kind: "scalar", T: 9 },
|
|
2311
|
+
{ no: 2, name: "uid", kind: "scalar", T: 9 },
|
|
2312
|
+
{ no: 3, name: "found", kind: "scalar", T: 8 },
|
|
2313
|
+
{ no: 4, name: "kyc_level", kind: "scalar", T: 5 },
|
|
2314
|
+
{ no: 5, name: "deposit_usd", kind: "scalar", T: 9 },
|
|
2315
|
+
{ no: 6, name: "trade_usd", kind: "scalar", T: 9 },
|
|
2316
|
+
{ no: 7, name: "fetched_at", kind: "scalar", T: 9 },
|
|
2317
|
+
{ no: 8, name: "kyc_required", kind: "scalar", T: 5 },
|
|
2318
|
+
{ no: 9, name: "deposit_required", kind: "scalar", T: 9 },
|
|
2319
|
+
{ no: 10, name: "trade_required", kind: "scalar", T: 9 },
|
|
2320
|
+
]);
|
|
2321
|
+
static fromBinary(bytes, options) {
|
|
2322
|
+
return new AdminExchangeFacts().fromBinary(bytes, options);
|
|
2323
|
+
}
|
|
2324
|
+
static fromJson(jsonValue, options) {
|
|
2325
|
+
return new AdminExchangeFacts().fromJson(jsonValue, options);
|
|
2326
|
+
}
|
|
2327
|
+
static fromJsonString(jsonString, options) {
|
|
2328
|
+
return new AdminExchangeFacts().fromJsonString(jsonString, options);
|
|
2329
|
+
}
|
|
2330
|
+
static equals(a, b) {
|
|
2331
|
+
return protobuf_1.proto3.util.equals(AdminExchangeFacts, a, b);
|
|
2332
|
+
}
|
|
2333
|
+
}
|
|
2334
|
+
exports.AdminExchangeFacts = AdminExchangeFacts;
|
|
2290
2335
|
class AdminTeamSeat extends protobuf_1.Message {
|
|
2291
2336
|
ownerId = "";
|
|
2292
2337
|
ownerUsername = "";
|
package/package.json
CHANGED
|
@@ -457,6 +457,11 @@ message UserRefAdminDto {
|
|
|
457
457
|
string status = 5;
|
|
458
458
|
string created_at = 6;
|
|
459
459
|
optional string updated_at = 7;
|
|
460
|
+
// The affiliate API's re-check of a pending UID: how many times the
|
|
461
|
+
// exchange said "not one of ours", and when it is asked again ('' when
|
|
462
|
+
// it is no longer asked, or the UID is not pending).
|
|
463
|
+
int32 api_refusals = 8;
|
|
464
|
+
string next_api_check_at = 9;
|
|
460
465
|
}
|
|
461
466
|
|
|
462
467
|
message UserRefAdminListRequest {
|
|
@@ -785,6 +785,23 @@ message AdminUserResponse {
|
|
|
785
785
|
repeated SessionInfo sessions = 13;
|
|
786
786
|
// Teams this person sits or sat in (by owner), newest first.
|
|
787
787
|
repeated AdminTeamSeat team_seats = 14;
|
|
788
|
+
// What each exchange last reported for the person's verified UID, next to
|
|
789
|
+
// today's requirement of each step (one row per exchange read so far).
|
|
790
|
+
repeated AdminExchangeFacts exchanges = 15;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
message AdminExchangeFacts {
|
|
794
|
+
string exchange = 1;
|
|
795
|
+
string uid = 2;
|
|
796
|
+
// false: the exchange did not find the UID under our referral link.
|
|
797
|
+
bool found = 3;
|
|
798
|
+
int32 kyc_level = 4;
|
|
799
|
+
string deposit_usd = 5;
|
|
800
|
+
string trade_usd = 6;
|
|
801
|
+
string fetched_at = 7;
|
|
802
|
+
int32 kyc_required = 8;
|
|
803
|
+
string deposit_required = 9;
|
|
804
|
+
string trade_required = 10;
|
|
788
805
|
}
|
|
789
806
|
|
|
790
807
|
message AdminTeamSeat {
|