@peabody-soft/mbs-protos 1.5.0 → 1.6.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.
- package/Constants.proto +9 -1
- package/package.json +1 -1
package/Constants.proto
CHANGED
|
@@ -148,7 +148,7 @@ enum Constants {
|
|
|
148
148
|
ENTITY_ID_UTILITIES = 1;
|
|
149
149
|
ENTITY_ID_UNASSIGNED = 255;
|
|
150
150
|
|
|
151
|
-
// The two price lists every business is created with (
|
|
151
|
+
// The two price lists every business is created with (PriceListIds.DEFAULT_SALE_PRICE_LIST_ID /
|
|
152
152
|
// DEFAULT_PURCHASE_PRICE_LIST_ID), well known rather than assigned. These are the low parts of a
|
|
153
153
|
// 64 bit id too big for an enum value: id = (PRICE_LIST_ENTITY_TYPE_ID << ENTITY_TYPE_BIT_SHIFT) |
|
|
154
154
|
// value, using 64 bit arithmetic. The sale list is what a business sells from unless given
|
|
@@ -157,6 +157,14 @@ enum Constants {
|
|
|
157
157
|
DEFAULT_SALE_PRICE_LIST = 0;
|
|
158
158
|
DEFAULT_PURCHASE_PRICE_LIST = 1;
|
|
159
159
|
|
|
160
|
+
// The other built-in price lists (PriceListIds.MERABILLS_ONLINE / AMAZON_SELLER /
|
|
161
|
+
// FACEBOOK_MARKETPLACE / WHATSAPP_BUSINESS), well known rather than assigned, built the same way
|
|
162
|
+
// as DEFAULT_SALE_PRICE_LIST / DEFAULT_PURCHASE_PRICE_LIST above.
|
|
163
|
+
MERABILLS_ONLINE_PRICE_LIST = 64;
|
|
164
|
+
AMAZON_SELLER_PRICE_LIST = 65;
|
|
165
|
+
FACEBOOK_MARKETPLACE_PRICE_LIST = 66;
|
|
166
|
+
WHATSAPP_BUSINESS_PRICE_LIST = 67;
|
|
167
|
+
|
|
160
168
|
// The earliest valid Entity.createdAt / updatedAt, in milliseconds since Jan 1, 1970 UTC. Default
|
|
161
169
|
// entities are created with this time so that a copy from another device always wins a sync.
|
|
162
170
|
DEFAULT_ENTITY_CREATED_AT = 1;
|