@arbiwallet/contracts 1.0.282 → 1.0.284

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/referral.ts CHANGED
@@ -46,12 +46,12 @@ export interface EnsureReferralProfileRequest {
46
46
  }
47
47
 
48
48
  export interface ReferralProfileResponse {
49
- id: string;
49
+ id: number;
50
50
  walletUserId: string;
51
51
  legacyCustomerId?: number | undefined;
52
52
  telegramId?: string | undefined;
53
53
  refCode: string;
54
- referrerProfileId?: string | undefined;
54
+ referrerProfileId?: number | undefined;
55
55
  bonusType: ReferralBonusType;
56
56
  refPercent: string;
57
57
  status: ReferralProfileStatus;
@@ -151,7 +151,7 @@ export interface ListReferralsRequest {
151
151
  }
152
152
 
153
153
  export interface ReferralListItem {
154
- profileId: string;
154
+ profileId: number;
155
155
  walletUserId: string;
156
156
  legacyCustomerId?: number | undefined;
157
157
  telegramId?: string | undefined;
@@ -234,10 +234,10 @@ export interface ListCommissionsRequest {
234
234
  }
235
235
 
236
236
  export interface ReferralCommissionItem {
237
- id: string;
237
+ id: number;
238
238
  exchangeId: string;
239
- referrerProfileId: string;
240
- referredProfileId: string;
239
+ referrerProfileId: number;
240
+ referredProfileId: number;
241
241
  level: number;
242
242
  bonusType: ReferralBonusType;
243
243
  percent: string;
@@ -267,13 +267,13 @@ export interface CreatePayoutRequest {
267
267
  }
268
268
 
269
269
  export interface ConfirmPayoutRequest {
270
- payoutId: string;
270
+ payoutId: number;
271
271
  confirmedByManagerId?: string | undefined;
272
272
  }
273
273
 
274
274
  export interface ReferralPayoutResponse {
275
- id: string;
276
- profileId: string;
275
+ id: number;
276
+ profileId: number;
277
277
  amount: string;
278
278
  currency: string;
279
279
  paymentMethod: string;
package/gen/user.ts CHANGED
@@ -100,6 +100,8 @@ export interface UserResponse {
100
100
  instagram?: string | undefined;
101
101
  facebook?: string | undefined;
102
102
  facebookUrl?: string | undefined;
103
+ utmDataJson?: string | undefined;
104
+ blockInTg?: boolean | undefined;
103
105
  }
104
106
 
105
107
  export interface AdminGetUserForUpdateRequest {
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.282",
4
+ "version": "1.0.284",
5
5
  "scripts": {
6
6
  "generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
7
7
  },
@@ -59,12 +59,12 @@ message EnsureReferralProfileRequest {
59
59
  }
60
60
 
61
61
  message ReferralProfileResponse {
62
- string id = 1;
62
+ int64 id = 1;
63
63
  string wallet_user_id = 2;
64
64
  optional int64 legacy_customer_id = 3;
65
65
  optional string telegram_id = 4;
66
66
  string ref_code = 5;
67
- optional string referrer_profile_id = 6;
67
+ optional int64 referrer_profile_id = 6;
68
68
  ReferralBonusType bonus_type = 7;
69
69
  string ref_percent = 8;
70
70
  ReferralProfileStatus status = 9;
@@ -162,7 +162,7 @@ message ListReferralsRequest {
162
162
  }
163
163
 
164
164
  message ReferralListItem {
165
- string profile_id = 1;
165
+ int64 profile_id = 1;
166
166
  string wallet_user_id = 2;
167
167
  optional int64 legacy_customer_id = 3;
168
168
  optional string telegram_id = 4;
@@ -245,10 +245,10 @@ message ListCommissionsRequest {
245
245
  }
246
246
 
247
247
  message ReferralCommissionItem {
248
- string id = 1;
248
+ int64 id = 1;
249
249
  string exchange_id = 2;
250
- string referrer_profile_id = 3;
251
- string referred_profile_id = 4;
250
+ int64 referrer_profile_id = 3;
251
+ int64 referred_profile_id = 4;
252
252
  int32 level = 5;
253
253
  ReferralBonusType bonus_type = 6;
254
254
  string percent = 7;
@@ -278,13 +278,13 @@ message CreatePayoutRequest {
278
278
  }
279
279
 
280
280
  message ConfirmPayoutRequest {
281
- string payout_id = 1;
281
+ int64 payout_id = 1;
282
282
  optional string confirmed_by_manager_id = 2;
283
283
  }
284
284
 
285
285
  message ReferralPayoutResponse {
286
- string id = 1;
287
- string profile_id = 2;
286
+ int64 id = 1;
287
+ int64 profile_id = 2;
288
288
  string amount = 3;
289
289
  string currency = 4;
290
290
  string payment_method = 5;
package/proto/user.proto CHANGED
@@ -144,6 +144,8 @@ message UserResponse {
144
144
  optional string instagram = 47;
145
145
  optional string facebook = 48;
146
146
  optional string facebook_url = 49;
147
+ optional string utm_data_json = 50;
148
+ optional bool block_in_tg = 51;
147
149
  }
148
150
 
149
151
  message AdminGetUserForUpdateRequest {