@ciganov/contracts 1.1.4 → 1.1.6
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/gen/balance.d.ts
CHANGED
|
@@ -27,9 +27,11 @@ message GetUserTransactionsResponse {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
message AddTransactionRequest {
|
|
30
|
-
TransactionType type
|
|
31
|
-
float amount
|
|
32
|
-
optional string eventId
|
|
30
|
+
TransactionType type = 1;
|
|
31
|
+
float amount = 2;
|
|
32
|
+
optional string eventId = 3;
|
|
33
|
+
string userId = 4;
|
|
34
|
+
optional float multiplier = 5;
|
|
33
35
|
}
|
|
34
36
|
|
|
35
37
|
message AddTransactionResponse {
|
|
@@ -37,18 +39,18 @@ message AddTransactionResponse {
|
|
|
37
39
|
}
|
|
38
40
|
|
|
39
41
|
message Transaction {
|
|
40
|
-
string
|
|
41
|
-
TransactionType
|
|
42
|
-
float
|
|
43
|
-
string
|
|
42
|
+
string id = 1;
|
|
43
|
+
TransactionType type = 2;
|
|
44
|
+
float amount = 3;
|
|
45
|
+
string eventId = 4;
|
|
44
46
|
google.protobuf.Timestamp created_at = 5;
|
|
45
47
|
}
|
|
46
48
|
|
|
47
49
|
message Balance {
|
|
48
50
|
string id = 1;
|
|
49
|
-
float
|
|
50
|
-
float
|
|
51
|
-
float
|
|
51
|
+
float main_balance = 2;
|
|
52
|
+
float bonus_balance = 3;
|
|
53
|
+
float freeze_balance = 4;
|
|
52
54
|
}
|
|
53
55
|
|
|
54
56
|
enum TransactionType {
|