@peabody-soft/mbs-protos 1.3.0 → 1.4.0
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.
|
@@ -12,9 +12,8 @@ import "Message.proto";
|
|
|
12
12
|
// own and are replaced by the server, which returns the new ones in the BusinessSyncInResponse.
|
|
13
13
|
message BusinessSyncInRequest {
|
|
14
14
|
|
|
15
|
-
//
|
|
16
|
-
|
|
17
|
-
string businessId = 1;
|
|
15
|
+
// Client-side cursor for the customer's orders and shopping cart (Constants.MESSAGE_ENTITY_TYPE_ID).
|
|
16
|
+
int64 messageUpdateNumber = 1;
|
|
18
17
|
|
|
19
18
|
// The shopping cart (a PartyPreferencesPayload) and orders (a SalesOrderPayload) of the customer -
|
|
20
19
|
// entity type Constants.MESSAGE_ENTITY_TYPE_ID, the only entity type a customer may push.
|
|
@@ -4,6 +4,7 @@ option java_multiple_files = true;
|
|
|
4
4
|
option java_package = "com.merabills.server.core.generated";
|
|
5
5
|
|
|
6
6
|
import "AuthTokens.proto";
|
|
7
|
+
import "Message.proto";
|
|
7
8
|
|
|
8
9
|
// The answer to a BusinessSyncInRequest: the update number the server assigned to the pushed
|
|
9
10
|
// entities, one per entity type. Raise the matching cursor to this value so the next sync out does
|
|
@@ -15,7 +16,6 @@ message BusinessSyncInResponse {
|
|
|
15
16
|
// what the client already holds still works - never a signal to drop the tokens it has.
|
|
16
17
|
optional AuthTokens authTokens = 1;
|
|
17
18
|
|
|
18
|
-
//
|
|
19
|
-
|
|
20
|
-
int64 messageUpdateNumber = 2;
|
|
19
|
+
// The orders of the customer, and their shopping cart
|
|
20
|
+
repeated Message messages = 2;
|
|
21
21
|
}
|