@devline-smart-taxi/common 2.3.60 → 2.3.61
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/dist/proto/bonus_campaign.proto +17 -14
- package/package.json +1 -1
|
@@ -31,12 +31,13 @@ message CampaignData {
|
|
|
31
31
|
string id = 1;
|
|
32
32
|
string type = 2; // REFERRAL, TRIP_COUNT, PROMO_CODE
|
|
33
33
|
float amount = 3;
|
|
34
|
-
optional
|
|
35
|
-
optional string
|
|
36
|
-
optional string
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
34
|
+
optional int32 tripCountTarget = 4;
|
|
35
|
+
optional string promoCodeString = 5;
|
|
36
|
+
optional string startDate = 6;
|
|
37
|
+
optional string endDate = 7;
|
|
38
|
+
bool isActive = 8;
|
|
39
|
+
string createdAt = 9;
|
|
40
|
+
optional string updatedAt = 10;
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
// ==========================================
|
|
@@ -46,20 +47,22 @@ message CampaignData {
|
|
|
46
47
|
message CreateCampaignRequest {
|
|
47
48
|
string type = 1;
|
|
48
49
|
float amount = 2;
|
|
49
|
-
optional
|
|
50
|
-
optional string
|
|
51
|
-
optional string
|
|
52
|
-
|
|
50
|
+
optional int32 tripCountTarget = 3;
|
|
51
|
+
optional string promoCodeString = 4;
|
|
52
|
+
optional string startDate = 5;
|
|
53
|
+
optional string endDate = 6;
|
|
54
|
+
bool isActive = 7;
|
|
53
55
|
}
|
|
54
56
|
|
|
55
57
|
message UpdateCampaignRequest {
|
|
56
58
|
string id = 1;
|
|
57
59
|
optional string type = 2;
|
|
58
60
|
optional float amount = 3;
|
|
59
|
-
optional
|
|
60
|
-
optional string
|
|
61
|
-
optional string
|
|
62
|
-
optional
|
|
61
|
+
optional int32 tripCountTarget = 4;
|
|
62
|
+
optional string promoCodeString = 5;
|
|
63
|
+
optional string startDate = 6;
|
|
64
|
+
optional string endDate = 7;
|
|
65
|
+
optional bool isActive = 8;
|
|
63
66
|
}
|
|
64
67
|
|
|
65
68
|
message GetCampaignByIdRequest {
|