@arbiwallet/contracts 1.0.281 → 1.0.282
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/user.ts +21 -0
- package/package.json +1 -1
- package/proto/user.proto +21 -0
package/gen/user.ts
CHANGED
|
@@ -93,6 +93,13 @@ export interface UserResponse {
|
|
|
93
93
|
totalProfit?: number | undefined;
|
|
94
94
|
refCode?: string | undefined;
|
|
95
95
|
advChannelName?: string | undefined;
|
|
96
|
+
isPartner?: boolean | undefined;
|
|
97
|
+
attention?: string | undefined;
|
|
98
|
+
ban?: boolean | undefined;
|
|
99
|
+
comment?: string | undefined;
|
|
100
|
+
instagram?: string | undefined;
|
|
101
|
+
facebook?: string | undefined;
|
|
102
|
+
facebookUrl?: string | undefined;
|
|
96
103
|
}
|
|
97
104
|
|
|
98
105
|
export interface AdminGetUserForUpdateRequest {
|
|
@@ -118,6 +125,13 @@ export interface AdminUserForUpdateResponse {
|
|
|
118
125
|
| undefined;
|
|
119
126
|
/** true, если в рамках AdminUpdateUserProfile был установлен referrer_user_id. */
|
|
120
127
|
referrerChanged: boolean;
|
|
128
|
+
isPartner?: boolean | undefined;
|
|
129
|
+
attention?: string | undefined;
|
|
130
|
+
ban?: boolean | undefined;
|
|
131
|
+
comment?: string | undefined;
|
|
132
|
+
instagram?: string | undefined;
|
|
133
|
+
facebook?: string | undefined;
|
|
134
|
+
facebookUrl?: string | undefined;
|
|
121
135
|
}
|
|
122
136
|
|
|
123
137
|
export interface AdminUpdateUserProfileRequest {
|
|
@@ -140,6 +154,13 @@ export interface AdminUpdateUserProfileRequest {
|
|
|
140
154
|
referrerUserId?: number | undefined;
|
|
141
155
|
bonusType?: UserSearchBonusType | undefined;
|
|
142
156
|
refPercent?: number | undefined;
|
|
157
|
+
isPartner?: boolean | undefined;
|
|
158
|
+
attention?: string | undefined;
|
|
159
|
+
ban?: boolean | undefined;
|
|
160
|
+
comment?: string | undefined;
|
|
161
|
+
instagram?: string | undefined;
|
|
162
|
+
facebook?: string | undefined;
|
|
163
|
+
facebookUrl?: string | undefined;
|
|
143
164
|
}
|
|
144
165
|
|
|
145
166
|
export interface UpdateUserRequest {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbiwallet/contracts",
|
|
3
3
|
"descriptions": "Generate and manage smart contracts for ArbiWallet",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.282",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
|
|
7
7
|
},
|
package/proto/user.proto
CHANGED
|
@@ -137,6 +137,13 @@ message UserResponse {
|
|
|
137
137
|
optional double total_profit = 40;
|
|
138
138
|
optional string ref_code = 41;
|
|
139
139
|
optional string adv_channel_name = 42;
|
|
140
|
+
optional bool is_partner = 43;
|
|
141
|
+
optional string attention = 44;
|
|
142
|
+
optional bool ban = 45;
|
|
143
|
+
optional string comment = 46;
|
|
144
|
+
optional string instagram = 47;
|
|
145
|
+
optional string facebook = 48;
|
|
146
|
+
optional string facebook_url = 49;
|
|
140
147
|
}
|
|
141
148
|
|
|
142
149
|
message AdminGetUserForUpdateRequest {
|
|
@@ -160,6 +167,13 @@ message AdminUserForUpdateResponse {
|
|
|
160
167
|
optional double ref_percent = 14;
|
|
161
168
|
// true, если в рамках AdminUpdateUserProfile был установлен referrer_user_id.
|
|
162
169
|
bool referrer_changed = 15;
|
|
170
|
+
optional bool is_partner = 16;
|
|
171
|
+
optional string attention = 17;
|
|
172
|
+
optional bool ban = 18;
|
|
173
|
+
optional string comment = 19;
|
|
174
|
+
optional string instagram = 20;
|
|
175
|
+
optional string facebook = 21;
|
|
176
|
+
optional string facebook_url = 22;
|
|
163
177
|
}
|
|
164
178
|
|
|
165
179
|
message AdminUpdateUserProfileRequest {
|
|
@@ -178,6 +192,13 @@ message AdminUpdateUserProfileRequest {
|
|
|
178
192
|
optional int32 referrer_user_id = 11;
|
|
179
193
|
optional UserSearchBonusType bonus_type = 12;
|
|
180
194
|
optional double ref_percent = 13;
|
|
195
|
+
optional bool is_partner = 14;
|
|
196
|
+
optional string attention = 15;
|
|
197
|
+
optional bool ban = 16;
|
|
198
|
+
optional string comment = 17;
|
|
199
|
+
optional string instagram = 18;
|
|
200
|
+
optional string facebook = 19;
|
|
201
|
+
optional string facebook_url = 20;
|
|
181
202
|
}
|
|
182
203
|
|
|
183
204
|
message UpdateUserRequest {
|