jr-common-micro 1.1.128 → 1.1.130
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/mining/mining_messages_nest.d.ts +1 -0
- package/dist/proto/micro/v1/mining/mining_messages_pb.d.ts +1 -0
- package/dist/proto/micro/v1/mining/mining_messages_pb.js +2 -0
- package/dist/proto/micro/v1/user/auth_messages_nest.d.ts +2 -0
- package/dist/proto/micro/v1/user/auth_messages_pb.d.ts +2 -0
- package/dist/proto/micro/v1/user/auth_messages_pb.js +4 -0
- package/package.json +1 -1
- package/proto/micro/v1/mining/mining_messages.proto +3 -0
- package/proto/micro/v1/user/auth_messages.proto +5 -0
|
@@ -151,6 +151,7 @@ export declare class TaskInfo extends Message<TaskInfo> {
|
|
|
151
151
|
locked: boolean;
|
|
152
152
|
reopened: boolean;
|
|
153
153
|
requirement: string;
|
|
154
|
+
lastDoneAt: string;
|
|
154
155
|
constructor(data?: PartialMessage<TaskInfo>);
|
|
155
156
|
static readonly runtime: typeof proto3;
|
|
156
157
|
static readonly typeName = "micro.v1.mining.TaskInfo";
|
|
@@ -310,6 +310,7 @@ class TaskInfo extends protobuf_1.Message {
|
|
|
310
310
|
locked = false;
|
|
311
311
|
reopened = false;
|
|
312
312
|
requirement = "";
|
|
313
|
+
lastDoneAt = "";
|
|
313
314
|
constructor(data) {
|
|
314
315
|
super();
|
|
315
316
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -331,6 +332,7 @@ class TaskInfo extends protobuf_1.Message {
|
|
|
331
332
|
{ no: 12, name: "locked", kind: "scalar", T: 8 },
|
|
332
333
|
{ no: 13, name: "reopened", kind: "scalar", T: 8 },
|
|
333
334
|
{ no: 14, name: "requirement", kind: "scalar", T: 9 },
|
|
335
|
+
{ no: 15, name: "last_done_at", kind: "scalar", T: 9 },
|
|
334
336
|
]);
|
|
335
337
|
static fromBinary(bytes, options) {
|
|
336
338
|
return new TaskInfo().fromBinary(bytes, options);
|
|
@@ -13,10 +13,12 @@ export interface GoogleRequest {
|
|
|
13
13
|
email: string;
|
|
14
14
|
id_token: string;
|
|
15
15
|
access_token: string;
|
|
16
|
+
language?: string | undefined;
|
|
16
17
|
}
|
|
17
18
|
export interface AppleRequest {
|
|
18
19
|
identity_token: string;
|
|
19
20
|
email?: string | undefined;
|
|
21
|
+
language?: string | undefined;
|
|
20
22
|
}
|
|
21
23
|
export interface LoginResponse {
|
|
22
24
|
status: ResponseStatus | undefined;
|
|
@@ -30,6 +30,7 @@ export declare class GoogleRequest extends Message<GoogleRequest> {
|
|
|
30
30
|
email: string;
|
|
31
31
|
idToken: string;
|
|
32
32
|
accessToken: string;
|
|
33
|
+
language?: string;
|
|
33
34
|
constructor(data?: PartialMessage<GoogleRequest>);
|
|
34
35
|
static readonly runtime: typeof proto3;
|
|
35
36
|
static readonly typeName = "micro.v1.user.GoogleRequest";
|
|
@@ -42,6 +43,7 @@ export declare class GoogleRequest extends Message<GoogleRequest> {
|
|
|
42
43
|
export declare class AppleRequest extends Message<AppleRequest> {
|
|
43
44
|
identityToken: string;
|
|
44
45
|
email?: string;
|
|
46
|
+
language?: string;
|
|
45
47
|
constructor(data?: PartialMessage<AppleRequest>);
|
|
46
48
|
static readonly runtime: typeof proto3;
|
|
47
49
|
static readonly typeName = "micro.v1.user.AppleRequest";
|
|
@@ -62,6 +62,7 @@ class GoogleRequest extends protobuf_1.Message {
|
|
|
62
62
|
email = "";
|
|
63
63
|
idToken = "";
|
|
64
64
|
accessToken = "";
|
|
65
|
+
language;
|
|
65
66
|
constructor(data) {
|
|
66
67
|
super();
|
|
67
68
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -72,6 +73,7 @@ class GoogleRequest extends protobuf_1.Message {
|
|
|
72
73
|
{ no: 1, name: "email", kind: "scalar", T: 9 },
|
|
73
74
|
{ no: 2, name: "id_token", kind: "scalar", T: 9 },
|
|
74
75
|
{ no: 3, name: "access_token", kind: "scalar", T: 9 },
|
|
76
|
+
{ no: 4, name: "language", kind: "scalar", T: 9, opt: true },
|
|
75
77
|
]);
|
|
76
78
|
static fromBinary(bytes, options) {
|
|
77
79
|
return new GoogleRequest().fromBinary(bytes, options);
|
|
@@ -90,6 +92,7 @@ exports.GoogleRequest = GoogleRequest;
|
|
|
90
92
|
class AppleRequest extends protobuf_1.Message {
|
|
91
93
|
identityToken = "";
|
|
92
94
|
email;
|
|
95
|
+
language;
|
|
93
96
|
constructor(data) {
|
|
94
97
|
super();
|
|
95
98
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -99,6 +102,7 @@ class AppleRequest extends protobuf_1.Message {
|
|
|
99
102
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
100
103
|
{ no: 1, name: "identity_token", kind: "scalar", T: 9 },
|
|
101
104
|
{ no: 2, name: "email", kind: "scalar", T: 9, opt: true },
|
|
105
|
+
{ no: 3, name: "language", kind: "scalar", T: 9, opt: true },
|
|
102
106
|
]);
|
|
103
107
|
static fromBinary(bytes, options) {
|
|
104
108
|
return new AppleRequest().fromBinary(bytes, options);
|
package/package.json
CHANGED
|
@@ -159,6 +159,9 @@ message TaskInfo {
|
|
|
159
159
|
bool reopened = 13;
|
|
160
160
|
// What it takes, for the step's text: a USD amount or a KYC level; ''.
|
|
161
161
|
string requirement = 14;
|
|
162
|
+
// Admin view only: when the task was last done (start of its latest
|
|
163
|
+
// window, RFC 3339), whether or not that window still runs; '' if never.
|
|
164
|
+
string last_done_at = 15;
|
|
162
165
|
}
|
|
163
166
|
|
|
164
167
|
message TasksSummary {
|
|
@@ -24,11 +24,16 @@ message GoogleRequest {
|
|
|
24
24
|
string email = 1;
|
|
25
25
|
string id_token = 2;
|
|
26
26
|
string access_token = 3;
|
|
27
|
+
// The person's language (tr, en, ...): the welcome e-mail of a new
|
|
28
|
+
// account goes in Turkish for tr, in English otherwise.
|
|
29
|
+
optional string language = 4;
|
|
27
30
|
}
|
|
28
31
|
|
|
29
32
|
message AppleRequest {
|
|
30
33
|
string identity_token = 1;
|
|
31
34
|
optional string email = 2;
|
|
35
|
+
// As in GoogleRequest.
|
|
36
|
+
optional string language = 3;
|
|
32
37
|
}
|
|
33
38
|
|
|
34
39
|
message LoginResponse {
|