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