@molopos/shared 2.0.75 → 2.0.76
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/enum/index.d.ts +4 -1
- package/enum/index.js +4 -1
- package/package.json +1 -1
package/enum/index.d.ts
CHANGED
|
@@ -153,6 +153,8 @@ export declare enum ActivityModelEnum {
|
|
|
153
153
|
CustomerCreate = "CUSTOMER_CREATE",
|
|
154
154
|
CustomerUpdate = "CUSTOMER_UPDATE",
|
|
155
155
|
CustomerDelete = "CUSTOMER_DELETE",
|
|
156
|
+
CustomerWalletRecharge = "CUSTOMER_WALLET_RECHARGE",
|
|
157
|
+
CustomerWalletWithdraw = "CUSTOMER_WALLET_WITHDRAW",
|
|
156
158
|
PaymentTypeCreate = "PAYMENT_TYPE_CREATE",
|
|
157
159
|
PaymentTypeUpdate = "PAYMENT_TYPE_UPDATE",
|
|
158
160
|
PaymentTypeDelete = "PAYMENT_TYPE_DELETE",
|
|
@@ -172,8 +174,9 @@ export declare enum TransactionDirectionEnum {
|
|
|
172
174
|
* Transaction model enum
|
|
173
175
|
*/
|
|
174
176
|
export declare enum TransactionModelEnum {
|
|
175
|
-
Withdraw = "WITHDRAW",
|
|
176
177
|
Product = "PRODUCT",
|
|
178
|
+
Customer = "CUSTOMER",
|
|
179
|
+
Withdraw = "WITHDRAW",
|
|
177
180
|
StoreShop = "STORESHOP",
|
|
178
181
|
Subscription = "SUBSCRIPTION"
|
|
179
182
|
}
|
package/enum/index.js
CHANGED
|
@@ -162,6 +162,8 @@ var ActivityModelEnum;
|
|
|
162
162
|
ActivityModelEnum["CustomerCreate"] = "CUSTOMER_CREATE";
|
|
163
163
|
ActivityModelEnum["CustomerUpdate"] = "CUSTOMER_UPDATE";
|
|
164
164
|
ActivityModelEnum["CustomerDelete"] = "CUSTOMER_DELETE";
|
|
165
|
+
ActivityModelEnum["CustomerWalletRecharge"] = "CUSTOMER_WALLET_RECHARGE";
|
|
166
|
+
ActivityModelEnum["CustomerWalletWithdraw"] = "CUSTOMER_WALLET_WITHDRAW";
|
|
165
167
|
ActivityModelEnum["PaymentTypeCreate"] = "PAYMENT_TYPE_CREATE";
|
|
166
168
|
ActivityModelEnum["PaymentTypeUpdate"] = "PAYMENT_TYPE_UPDATE";
|
|
167
169
|
ActivityModelEnum["PaymentTypeDelete"] = "PAYMENT_TYPE_DELETE";
|
|
@@ -183,8 +185,9 @@ var TransactionDirectionEnum;
|
|
|
183
185
|
*/
|
|
184
186
|
var TransactionModelEnum;
|
|
185
187
|
(function (TransactionModelEnum) {
|
|
186
|
-
TransactionModelEnum["Withdraw"] = "WITHDRAW";
|
|
187
188
|
TransactionModelEnum["Product"] = "PRODUCT";
|
|
189
|
+
TransactionModelEnum["Customer"] = "CUSTOMER";
|
|
190
|
+
TransactionModelEnum["Withdraw"] = "WITHDRAW";
|
|
188
191
|
TransactionModelEnum["StoreShop"] = "STORESHOP";
|
|
189
192
|
TransactionModelEnum["Subscription"] = "SUBSCRIPTION";
|
|
190
193
|
})(TransactionModelEnum || (exports.TransactionModelEnum = TransactionModelEnum = {}));
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@molopos/shared","publishConfig":{"access":"public"},"version":"2.0.
|
|
1
|
+
{"name":"@molopos/shared","publishConfig":{"access":"public"},"version":"2.0.76","description":"Shared between backend and frontend repos","license":"ISC","repository":{"type":"git","url":"https://github.com/unicubate/molopos-shared.git"},"dependencies":{"class-transformer":"^0.5.1","date-fns":"^4.4.0","luxon":"^3.7.2"}}
|