@arbiwallet/contracts 1.0.281 → 1.0.283
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 +23 -0
- package/package.json +1 -1
- package/proto/user.proto +23 -0
package/gen/user.ts
CHANGED
|
@@ -93,6 +93,15 @@ 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;
|
|
103
|
+
utmDataJson?: string | undefined;
|
|
104
|
+
blockInTg?: boolean | undefined;
|
|
96
105
|
}
|
|
97
106
|
|
|
98
107
|
export interface AdminGetUserForUpdateRequest {
|
|
@@ -118,6 +127,13 @@ export interface AdminUserForUpdateResponse {
|
|
|
118
127
|
| undefined;
|
|
119
128
|
/** true, если в рамках AdminUpdateUserProfile был установлен referrer_user_id. */
|
|
120
129
|
referrerChanged: boolean;
|
|
130
|
+
isPartner?: boolean | undefined;
|
|
131
|
+
attention?: string | undefined;
|
|
132
|
+
ban?: boolean | undefined;
|
|
133
|
+
comment?: string | undefined;
|
|
134
|
+
instagram?: string | undefined;
|
|
135
|
+
facebook?: string | undefined;
|
|
136
|
+
facebookUrl?: string | undefined;
|
|
121
137
|
}
|
|
122
138
|
|
|
123
139
|
export interface AdminUpdateUserProfileRequest {
|
|
@@ -140,6 +156,13 @@ export interface AdminUpdateUserProfileRequest {
|
|
|
140
156
|
referrerUserId?: number | undefined;
|
|
141
157
|
bonusType?: UserSearchBonusType | undefined;
|
|
142
158
|
refPercent?: number | undefined;
|
|
159
|
+
isPartner?: boolean | undefined;
|
|
160
|
+
attention?: string | undefined;
|
|
161
|
+
ban?: boolean | undefined;
|
|
162
|
+
comment?: string | undefined;
|
|
163
|
+
instagram?: string | undefined;
|
|
164
|
+
facebook?: string | undefined;
|
|
165
|
+
facebookUrl?: string | undefined;
|
|
143
166
|
}
|
|
144
167
|
|
|
145
168
|
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.283",
|
|
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,15 @@ 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;
|
|
147
|
+
optional string utm_data_json = 50;
|
|
148
|
+
optional bool block_in_tg = 51;
|
|
140
149
|
}
|
|
141
150
|
|
|
142
151
|
message AdminGetUserForUpdateRequest {
|
|
@@ -160,6 +169,13 @@ message AdminUserForUpdateResponse {
|
|
|
160
169
|
optional double ref_percent = 14;
|
|
161
170
|
// true, если в рамках AdminUpdateUserProfile был установлен referrer_user_id.
|
|
162
171
|
bool referrer_changed = 15;
|
|
172
|
+
optional bool is_partner = 16;
|
|
173
|
+
optional string attention = 17;
|
|
174
|
+
optional bool ban = 18;
|
|
175
|
+
optional string comment = 19;
|
|
176
|
+
optional string instagram = 20;
|
|
177
|
+
optional string facebook = 21;
|
|
178
|
+
optional string facebook_url = 22;
|
|
163
179
|
}
|
|
164
180
|
|
|
165
181
|
message AdminUpdateUserProfileRequest {
|
|
@@ -178,6 +194,13 @@ message AdminUpdateUserProfileRequest {
|
|
|
178
194
|
optional int32 referrer_user_id = 11;
|
|
179
195
|
optional UserSearchBonusType bonus_type = 12;
|
|
180
196
|
optional double ref_percent = 13;
|
|
197
|
+
optional bool is_partner = 14;
|
|
198
|
+
optional string attention = 15;
|
|
199
|
+
optional bool ban = 16;
|
|
200
|
+
optional string comment = 17;
|
|
201
|
+
optional string instagram = 18;
|
|
202
|
+
optional string facebook = 19;
|
|
203
|
+
optional string facebook_url = 20;
|
|
181
204
|
}
|
|
182
205
|
|
|
183
206
|
message UpdateUserRequest {
|