@funpay-pilot/contracts 0.1.10 → 0.1.12
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/gen/funpay.ts +5 -5
- package/package.json +1 -1
- package/proto/funpay.proto +12 -13
package/gen/funpay.ts
CHANGED
|
@@ -12,10 +12,8 @@ import { Timestamp } from "./google/protobuf/timestamp";
|
|
|
12
12
|
export const protobufPackage = "funpay.v1";
|
|
13
13
|
|
|
14
14
|
export enum Status {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
ACTIVE = 2,
|
|
18
|
-
ERROR = 3,
|
|
15
|
+
INACTIVE = 0,
|
|
16
|
+
ACTIVE = 1,
|
|
19
17
|
UNRECOGNIZED = -1,
|
|
20
18
|
}
|
|
21
19
|
|
|
@@ -50,12 +48,14 @@ export interface Account {
|
|
|
50
48
|
id: string;
|
|
51
49
|
userId: string;
|
|
52
50
|
funpayId: number;
|
|
51
|
+
/** need remove */
|
|
53
52
|
cookies: string;
|
|
53
|
+
phpsessid: string;
|
|
54
54
|
csrfToken: string;
|
|
55
55
|
username: string;
|
|
56
56
|
avatarUrl: string;
|
|
57
57
|
balance: number;
|
|
58
|
-
/** Status status =
|
|
58
|
+
/** Status status = 10; */
|
|
59
59
|
error?: string | undefined;
|
|
60
60
|
createdAt: Timestamp | undefined;
|
|
61
61
|
updatedAt: Timestamp | undefined;
|
package/package.json
CHANGED
package/proto/funpay.proto
CHANGED
|
@@ -42,20 +42,19 @@ message Account {
|
|
|
42
42
|
string id = 1;
|
|
43
43
|
string user_id = 2;
|
|
44
44
|
int32 funpay_id = 3;
|
|
45
|
-
string cookies = 4;
|
|
46
|
-
string
|
|
47
|
-
string
|
|
48
|
-
string
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
google.protobuf.Timestamp
|
|
45
|
+
string cookies = 4; // need remove
|
|
46
|
+
string phpsessid = 5;
|
|
47
|
+
string csrf_token = 6;
|
|
48
|
+
string username = 7;
|
|
49
|
+
string avatar_url = 8;
|
|
50
|
+
float balance = 9;
|
|
51
|
+
// Status status = 10;
|
|
52
|
+
optional string error = 11;
|
|
53
|
+
google.protobuf.Timestamp created_at = 12;
|
|
54
|
+
google.protobuf.Timestamp updated_at = 13;
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
enum Status {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
ACTIVE = 2;
|
|
60
|
-
ERROR = 3;
|
|
58
|
+
INACTIVE = 0;
|
|
59
|
+
ACTIVE = 1;
|
|
61
60
|
}
|