@managesome/eposmatic-toolkit 0.2.355 → 0.2.356

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,6 +12,7 @@ export declare const WalletTransactionsSchema: Schema<any, import("mongoose").Mo
12
12
  createdAt_mins: number;
13
13
  createdAt: NativeDate;
14
14
  updatedAt: NativeDate;
15
+ payment_provider: string;
15
16
  payment_id: string;
16
17
  transaction_type: import("../../constants").WALLET_TRANSACTION_TYPE_ENUM;
17
18
  transaction_category: import("../../constants").WALLET_TRANSACTION_CATEGORY_ENUM;
@@ -33,6 +34,7 @@ export declare const WalletTransactionsSchema: Schema<any, import("mongoose").Mo
33
34
  createdAt_mins: number;
34
35
  createdAt: NativeDate;
35
36
  updatedAt: NativeDate;
37
+ payment_provider: string;
36
38
  payment_id: string;
37
39
  transaction_type: import("../../constants").WALLET_TRANSACTION_TYPE_ENUM;
38
40
  transaction_category: import("../../constants").WALLET_TRANSACTION_CATEGORY_ENUM;
@@ -54,6 +56,7 @@ export declare const WalletTransactionsSchema: Schema<any, import("mongoose").Mo
54
56
  createdAt_mins: number;
55
57
  createdAt: NativeDate;
56
58
  updatedAt: NativeDate;
59
+ payment_provider: string;
57
60
  payment_id: string;
58
61
  transaction_type: import("../../constants").WALLET_TRANSACTION_TYPE_ENUM;
59
62
  transaction_category: import("../../constants").WALLET_TRANSACTION_CATEGORY_ENUM;
@@ -25,6 +25,11 @@ exports.WalletTransactionsSchema = new mongoose_1.Schema({
25
25
  required: true,
26
26
  immutable: true,
27
27
  },
28
+ payment_provider: {
29
+ type: String,
30
+ required: true,
31
+ immutable: true,
32
+ },
28
33
  previous_balance: {
29
34
  type: Number,
30
35
  required: true,
@@ -4,6 +4,7 @@ export interface IWalletTransaction {
4
4
  tenant_id: string;
5
5
  payment_id: string;
6
6
  payment_method: string;
7
+ payment_provider: string;
7
8
  previous_balance: number;
8
9
  transaction_amount: number;
9
10
  running_balance: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.355",
3
+ "version": "0.2.356",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",