@devline-smart-taxi/common 2.3.32 → 2.3.33

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.
@@ -21,6 +21,7 @@ service UserService {
21
21
  rpc RefreshToken (RefreshTokenRequest) returns (TokenResponse);
22
22
  rpc BlockUser (Id) returns (common.SuccessResponseResult);
23
23
  rpc GetMyProfile (common.NoParams) returns (UserResponse);
24
+ rpc ApplyReferralCode (ApplyReferralCodeRequest) returns (common.SuccessResponseResult);
24
25
  }
25
26
 
26
27
  // ==========================================
@@ -102,6 +103,10 @@ message RefreshTokenRequest {
102
103
  string refreshToken = 1;
103
104
  }
104
105
 
106
+ message ApplyReferralCodeRequest {
107
+ string referralCode = 1;
108
+ }
109
+
105
110
  // ==========================================
106
111
  // 4. RESPONSES
107
112
  // ==========================================
@@ -10,7 +10,6 @@ import "common.proto";
10
10
 
11
11
  service WalletService {
12
12
  rpc GetMyWallet (GetMyWalletRequest) returns (WalletResponse);
13
- rpc ApplyReferralCode (ApplyReferralCodeRequest) returns (common.SuccessResponseResult);
14
13
  }
15
14
 
16
15
  // ==========================================
@@ -38,11 +37,6 @@ message GetMyWalletRequest {
38
37
  string clientId = 1;
39
38
  }
40
39
 
41
- message ApplyReferralCodeRequest {
42
- string clientId = 1;
43
- string referralCode = 2;
44
- }
45
-
46
40
  // ==========================================
47
41
  // 4. RESPONSES
48
42
  // ==========================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devline-smart-taxi/common",
3
- "version": "2.3.32",
3
+ "version": "2.3.33",
4
4
  "description": "Reusable NestJS common library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",