@feedmepos/mf-payment 0.0.0-beta.8 → 1.0.0-beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. package/dist/AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js +39 -0
  2. package/dist/AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js +42 -0
  3. package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js +40 -0
  4. package/dist/Modal-DB8M9o1T.js +13 -0
  5. package/dist/PayoutAccount-BHRhEZ9h.js +613 -0
  6. package/dist/{PayoutAccount-CpatyqJa.js → PayoutAccount-Bj5zvmoj.js} +38 -35
  7. package/dist/PayoutAccountSetting-kUQLeAcb.js +780 -0
  8. package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js +33 -0
  9. package/dist/Settlement-Crdfq22j.js +149 -0
  10. package/dist/Settlement-JHOJNkhd.js +194 -0
  11. package/dist/{SettlementTransactions-DT1A_tI5.js → SettlementTransactions-BxuLXUR-.js} +99 -105
  12. package/dist/{SettlementTransactions-CkU0gCHb.js → SettlementTransactions-daWMAmtz.js} +117 -130
  13. package/dist/Terminal-gxGnjFGc.js +372 -0
  14. package/dist/TerminalSetting--ZAJJ_Hf.js +379 -0
  15. package/dist/TerminalTransaction---9nk_4q.js +249 -0
  16. package/dist/TerminalTransaction-B77YK3hF.js +425 -0
  17. package/dist/Transaction-8LlOLPeZ.js +404 -0
  18. package/dist/Transaction-DRQ_uZ30.js +241 -0
  19. package/dist/api/index.d.ts +14 -0
  20. package/dist/api/pagination.d.ts +20 -0
  21. package/dist/api/payment-gateway/index.d.ts +9 -0
  22. package/dist/api/settlement/index.d.ts +12 -13
  23. package/dist/api/terminal/index.d.ts +13 -1
  24. package/dist/api/terminal-transaction/index.d.ts +12 -1
  25. package/dist/api/transaction/index.d.ts +7 -2
  26. package/dist/app-DjzULXn3.js +6356 -0
  27. package/dist/app.js +3 -198
  28. package/dist/assets-NrCec-W0.js +45 -0
  29. package/dist/clipboard-4jh1WteU.js +10 -0
  30. package/dist/components/AsyncButton.vue.d.ts +21 -0
  31. package/dist/components/AutoCopyCell.vue.d.ts +6 -0
  32. package/dist/components/CursorTable/index.vue.d.ts +24 -5
  33. package/dist/components/RestaurantSelector.vue.d.ts +2 -0
  34. package/dist/components/RouteCell.vue.d.ts +8 -0
  35. package/dist/helpers/assets.d.ts +2 -0
  36. package/dist/{index-Bmka-1lQ.js → index-7KNaibcq.js} +1 -1
  37. package/dist/index-BWUtjGg7.js +47 -0
  38. package/dist/{index-CF56zGyu.js → index-BwcJZFsi.js} +1 -1
  39. package/dist/index-CWaKb7bG.js +56107 -0
  40. package/dist/index-CojhNtuG.js +127 -0
  41. package/dist/index-DbJpbpSs.js +52 -0
  42. package/dist/index.vue_vue_type_script_setup_true_lang-JdAFa8vy.js +167 -0
  43. package/dist/model/transaction.d.ts +2 -1
  44. package/dist/package.json +5 -5
  45. package/dist/payout-account-CBT1rfSS.js +1805 -0
  46. package/dist/router/index.d.ts +1 -0
  47. package/dist/stores/payoutAccount.d.ts +4 -4
  48. package/dist/transaction-CQiT7Y_s.js +87 -0
  49. package/dist/tsconfig.app.tsbuildinfo +1 -1
  50. package/dist/validator-D5jtpt9A.js +2877 -0
  51. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +4 -4
  52. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +81 -0
  53. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +4 -4
  54. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +4 -4
  55. package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +56 -0
  56. package/dist/views/admin/payout-account/tabs/gateway/GhlGateway.vue.d.ts +50 -0
  57. package/dist/views/admin/payout-account/tabs/gateway/RevenueMonsterGateway.vue.d.ts +52 -0
  58. package/dist/views/admin/settlement/SettlementTable.vue.d.ts +12 -12
  59. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +83 -0
  60. package/dist/views/admin/terminal/TerminalSetting.vue.d.ts +12 -0
  61. package/dist/views/admin/terminal/cell/Actions.vue.d.ts +80 -9
  62. package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +94 -0
  63. package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +94 -0
  64. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +85 -0
  65. package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +94 -0
  66. package/dist/views/admin/terminal-transaction/cell/Actions.vue.d.ts +7 -0
  67. package/dist/views/admin/transaction/TransactionTable.vue.d.ts +6 -2
  68. package/dist/views/admin/transaction/cell/Actions.vue.d.ts +7 -0
  69. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +8 -8
  70. package/dist/views/settlement/SettlementTable.vue.d.ts +12 -12
  71. package/dist/views/terminal-transaction/TerminalTransaction.vue.d.ts +2 -0
  72. package/dist/views/terminal-transaction/cell/Gateway.vue.d.ts +9 -0
  73. package/dist/views/terminal-transaction/cell/Status.vue.d.ts +9 -0
  74. package/package.json +5 -5
  75. package/dist/AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js +0 -42
  76. package/dist/PayoutAccount-C0xyoyTa.js +0 -3485
  77. package/dist/PayoutAccountSetting-CIeos0md.js +0 -425
  78. package/dist/Settlement-BVGACeme.js +0 -136
  79. package/dist/Settlement-Ce48KHrc.js +0 -132
  80. package/dist/Terminal-ByKV2Rof.js +0 -204
  81. package/dist/TerminalTransaction-ClhuAOOF.js +0 -240
  82. package/dist/Transaction-BYq9Ymp_.js +0 -242
  83. package/dist/Transaction-Doq11qIf.js +0 -241
  84. package/dist/api/auth/index.d.ts +0 -7
  85. package/dist/assets-Dg26uQOf.js +0 -1756
  86. package/dist/index-Coz5aeIO.js +0 -61
  87. package/dist/index-DCPNrUDq.js +0 -40075
  88. package/dist/index.vue_vue_type_script_setup_true_lang-CAR-bNaR.js +0 -150
  89. package/dist/mascot-side-D5UubCy7.js +0 -8
  90. package/dist/payout-account-D2Ftjrss.js +0 -3317
  91. package/dist/transaction-vRrBf3FN.js +0 -64
@@ -0,0 +1,94 @@
1
+ import { type FdoTerminal } from '@feedmepos/payment-entity';
2
+ import { type PropType } from 'vue';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ terminal: {
5
+ type: PropType<{
6
+ name?: string | null | undefined;
7
+ deviceId?: string | null | undefined;
8
+ bindCode?: string | null | undefined;
9
+ secretKey?: string | null | undefined;
10
+ token?: string | null | undefined;
11
+ gateways?: ({
12
+ config?: {
13
+ packageId: "cc.feedme.payment.rms" | "cc.feedme.payment.fiuu_my" | "cc.feedme.payment.fiuu_sg";
14
+ uniqueId: string;
15
+ } | null | undefined;
16
+ gateway: "Fiuu";
17
+ } | {
18
+ config?: any;
19
+ gateway: "ScanPay";
20
+ })[] | null | undefined;
21
+ ecrs?: ({
22
+ config?: {
23
+ terminalId: string;
24
+ } | null | undefined;
25
+ gateway: "FeedMe";
26
+ } | {
27
+ config?: {
28
+ merchantId: string;
29
+ terminalId: string;
30
+ privateKey: string;
31
+ } | null | undefined;
32
+ gateway: "Ghl";
33
+ })[] | null | undefined;
34
+ status: "Active" | "Inactive";
35
+ _id: string;
36
+ createdAt: string;
37
+ updatedAt: string;
38
+ referenceId: string;
39
+ securityCode: string;
40
+ deviceType: "KIOSK" | "TERMINAL" | "POS";
41
+ }>;
42
+ required: true;
43
+ };
44
+ onUpdate: {
45
+ type: PropType<(account: FdoTerminal) => Promise<void>>;
46
+ required: true;
47
+ };
48
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
49
+ terminal: {
50
+ type: PropType<{
51
+ name?: string | null | undefined;
52
+ deviceId?: string | null | undefined;
53
+ bindCode?: string | null | undefined;
54
+ secretKey?: string | null | undefined;
55
+ token?: string | null | undefined;
56
+ gateways?: ({
57
+ config?: {
58
+ packageId: "cc.feedme.payment.rms" | "cc.feedme.payment.fiuu_my" | "cc.feedme.payment.fiuu_sg";
59
+ uniqueId: string;
60
+ } | null | undefined;
61
+ gateway: "Fiuu";
62
+ } | {
63
+ config?: any;
64
+ gateway: "ScanPay";
65
+ })[] | null | undefined;
66
+ ecrs?: ({
67
+ config?: {
68
+ terminalId: string;
69
+ } | null | undefined;
70
+ gateway: "FeedMe";
71
+ } | {
72
+ config?: {
73
+ merchantId: string;
74
+ terminalId: string;
75
+ privateKey: string;
76
+ } | null | undefined;
77
+ gateway: "Ghl";
78
+ })[] | null | undefined;
79
+ status: "Active" | "Inactive";
80
+ _id: string;
81
+ createdAt: string;
82
+ updatedAt: string;
83
+ referenceId: string;
84
+ securityCode: string;
85
+ deviceType: "KIOSK" | "TERMINAL" | "POS";
86
+ }>;
87
+ required: true;
88
+ };
89
+ onUpdate: {
90
+ type: PropType<(account: FdoTerminal) => Promise<void>>;
91
+ required: true;
92
+ };
93
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
94
+ export default _default;
@@ -0,0 +1,94 @@
1
+ import { type FdoTerminal } from '@feedmepos/payment-entity';
2
+ import { type PropType } from 'vue';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ terminal: {
5
+ type: PropType<{
6
+ name?: string | null | undefined;
7
+ deviceId?: string | null | undefined;
8
+ bindCode?: string | null | undefined;
9
+ secretKey?: string | null | undefined;
10
+ token?: string | null | undefined;
11
+ gateways?: ({
12
+ config?: {
13
+ packageId: "cc.feedme.payment.rms" | "cc.feedme.payment.fiuu_my" | "cc.feedme.payment.fiuu_sg";
14
+ uniqueId: string;
15
+ } | null | undefined;
16
+ gateway: "Fiuu";
17
+ } | {
18
+ config?: any;
19
+ gateway: "ScanPay";
20
+ })[] | null | undefined;
21
+ ecrs?: ({
22
+ config?: {
23
+ terminalId: string;
24
+ } | null | undefined;
25
+ gateway: "FeedMe";
26
+ } | {
27
+ config?: {
28
+ merchantId: string;
29
+ terminalId: string;
30
+ privateKey: string;
31
+ } | null | undefined;
32
+ gateway: "Ghl";
33
+ })[] | null | undefined;
34
+ status: "Active" | "Inactive";
35
+ _id: string;
36
+ createdAt: string;
37
+ updatedAt: string;
38
+ referenceId: string;
39
+ securityCode: string;
40
+ deviceType: "KIOSK" | "TERMINAL" | "POS";
41
+ }>;
42
+ required: true;
43
+ };
44
+ onUpdate: {
45
+ type: PropType<(account: FdoTerminal) => Promise<void>>;
46
+ required: true;
47
+ };
48
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
49
+ terminal: {
50
+ type: PropType<{
51
+ name?: string | null | undefined;
52
+ deviceId?: string | null | undefined;
53
+ bindCode?: string | null | undefined;
54
+ secretKey?: string | null | undefined;
55
+ token?: string | null | undefined;
56
+ gateways?: ({
57
+ config?: {
58
+ packageId: "cc.feedme.payment.rms" | "cc.feedme.payment.fiuu_my" | "cc.feedme.payment.fiuu_sg";
59
+ uniqueId: string;
60
+ } | null | undefined;
61
+ gateway: "Fiuu";
62
+ } | {
63
+ config?: any;
64
+ gateway: "ScanPay";
65
+ })[] | null | undefined;
66
+ ecrs?: ({
67
+ config?: {
68
+ terminalId: string;
69
+ } | null | undefined;
70
+ gateway: "FeedMe";
71
+ } | {
72
+ config?: {
73
+ merchantId: string;
74
+ terminalId: string;
75
+ privateKey: string;
76
+ } | null | undefined;
77
+ gateway: "Ghl";
78
+ })[] | null | undefined;
79
+ status: "Active" | "Inactive";
80
+ _id: string;
81
+ createdAt: string;
82
+ updatedAt: string;
83
+ referenceId: string;
84
+ securityCode: string;
85
+ deviceType: "KIOSK" | "TERMINAL" | "POS";
86
+ }>;
87
+ required: true;
88
+ };
89
+ onUpdate: {
90
+ type: PropType<(account: FdoTerminal) => Promise<void>>;
91
+ required: true;
92
+ };
93
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
94
+ export default _default;
@@ -0,0 +1,85 @@
1
+ import type { PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ terminal: {
4
+ type: PropType<{
5
+ name?: string | null | undefined;
6
+ deviceId?: string | null | undefined;
7
+ bindCode?: string | null | undefined;
8
+ secretKey?: string | null | undefined;
9
+ token?: string | null | undefined;
10
+ gateways?: ({
11
+ config?: {
12
+ packageId: "cc.feedme.payment.rms" | "cc.feedme.payment.fiuu_my" | "cc.feedme.payment.fiuu_sg";
13
+ uniqueId: string;
14
+ } | null | undefined;
15
+ gateway: "Fiuu";
16
+ } | {
17
+ config?: any;
18
+ gateway: "ScanPay";
19
+ })[] | null | undefined;
20
+ ecrs?: ({
21
+ config?: {
22
+ terminalId: string;
23
+ } | null | undefined;
24
+ gateway: "FeedMe";
25
+ } | {
26
+ config?: {
27
+ merchantId: string;
28
+ terminalId: string;
29
+ privateKey: string;
30
+ } | null | undefined;
31
+ gateway: "Ghl";
32
+ })[] | null | undefined;
33
+ status: "Active" | "Inactive";
34
+ _id: string;
35
+ createdAt: string;
36
+ updatedAt: string;
37
+ referenceId: string;
38
+ securityCode: string;
39
+ deviceType: "KIOSK" | "TERMINAL" | "POS";
40
+ }>;
41
+ required: true;
42
+ };
43
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
44
+ terminal: {
45
+ type: PropType<{
46
+ name?: string | null | undefined;
47
+ deviceId?: string | null | undefined;
48
+ bindCode?: string | null | undefined;
49
+ secretKey?: string | null | undefined;
50
+ token?: string | null | undefined;
51
+ gateways?: ({
52
+ config?: {
53
+ packageId: "cc.feedme.payment.rms" | "cc.feedme.payment.fiuu_my" | "cc.feedme.payment.fiuu_sg";
54
+ uniqueId: string;
55
+ } | null | undefined;
56
+ gateway: "Fiuu";
57
+ } | {
58
+ config?: any;
59
+ gateway: "ScanPay";
60
+ })[] | null | undefined;
61
+ ecrs?: ({
62
+ config?: {
63
+ terminalId: string;
64
+ } | null | undefined;
65
+ gateway: "FeedMe";
66
+ } | {
67
+ config?: {
68
+ merchantId: string;
69
+ terminalId: string;
70
+ privateKey: string;
71
+ } | null | undefined;
72
+ gateway: "Ghl";
73
+ })[] | null | undefined;
74
+ status: "Active" | "Inactive";
75
+ _id: string;
76
+ createdAt: string;
77
+ updatedAt: string;
78
+ referenceId: string;
79
+ securityCode: string;
80
+ deviceType: "KIOSK" | "TERMINAL" | "POS";
81
+ }>;
82
+ required: true;
83
+ };
84
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
85
+ export default _default;
@@ -0,0 +1,94 @@
1
+ import { type FdoTerminal } from '@feedmepos/payment-entity';
2
+ import { type PropType } from 'vue';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ terminal: {
5
+ type: PropType<{
6
+ name?: string | null | undefined;
7
+ deviceId?: string | null | undefined;
8
+ bindCode?: string | null | undefined;
9
+ secretKey?: string | null | undefined;
10
+ token?: string | null | undefined;
11
+ gateways?: ({
12
+ config?: {
13
+ packageId: "cc.feedme.payment.rms" | "cc.feedme.payment.fiuu_my" | "cc.feedme.payment.fiuu_sg";
14
+ uniqueId: string;
15
+ } | null | undefined;
16
+ gateway: "Fiuu";
17
+ } | {
18
+ config?: any;
19
+ gateway: "ScanPay";
20
+ })[] | null | undefined;
21
+ ecrs?: ({
22
+ config?: {
23
+ terminalId: string;
24
+ } | null | undefined;
25
+ gateway: "FeedMe";
26
+ } | {
27
+ config?: {
28
+ merchantId: string;
29
+ terminalId: string;
30
+ privateKey: string;
31
+ } | null | undefined;
32
+ gateway: "Ghl";
33
+ })[] | null | undefined;
34
+ status: "Active" | "Inactive";
35
+ _id: string;
36
+ createdAt: string;
37
+ updatedAt: string;
38
+ referenceId: string;
39
+ securityCode: string;
40
+ deviceType: "KIOSK" | "TERMINAL" | "POS";
41
+ }>;
42
+ required: true;
43
+ };
44
+ onUpdate: {
45
+ type: PropType<(account: FdoTerminal) => Promise<void>>;
46
+ required: true;
47
+ };
48
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
49
+ terminal: {
50
+ type: PropType<{
51
+ name?: string | null | undefined;
52
+ deviceId?: string | null | undefined;
53
+ bindCode?: string | null | undefined;
54
+ secretKey?: string | null | undefined;
55
+ token?: string | null | undefined;
56
+ gateways?: ({
57
+ config?: {
58
+ packageId: "cc.feedme.payment.rms" | "cc.feedme.payment.fiuu_my" | "cc.feedme.payment.fiuu_sg";
59
+ uniqueId: string;
60
+ } | null | undefined;
61
+ gateway: "Fiuu";
62
+ } | {
63
+ config?: any;
64
+ gateway: "ScanPay";
65
+ })[] | null | undefined;
66
+ ecrs?: ({
67
+ config?: {
68
+ terminalId: string;
69
+ } | null | undefined;
70
+ gateway: "FeedMe";
71
+ } | {
72
+ config?: {
73
+ merchantId: string;
74
+ terminalId: string;
75
+ privateKey: string;
76
+ } | null | undefined;
77
+ gateway: "Ghl";
78
+ })[] | null | undefined;
79
+ status: "Active" | "Inactive";
80
+ _id: string;
81
+ createdAt: string;
82
+ updatedAt: string;
83
+ referenceId: string;
84
+ securityCode: string;
85
+ deviceType: "KIOSK" | "TERMINAL" | "POS";
86
+ }>;
87
+ required: true;
88
+ };
89
+ onUpdate: {
90
+ type: PropType<(account: FdoTerminal) => Promise<void>>;
91
+ required: true;
92
+ };
93
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
94
+ export default _default;
@@ -0,0 +1,7 @@
1
+ export type emitAction = "query" | "refund";
2
+ declare const _default: import("vue").DefineComponent<{
3
+ onAction: (event: emitAction) => void;
4
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
5
+ onAction: (event: emitAction) => void;
6
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ export default _default;
@@ -10,7 +10,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
10
10
  required: true;
11
11
  };
12
12
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
- "row-click": (payment: PortalPaymentTransaction) => any;
13
+ query: (index: number) => any;
14
+ refund: (index: number) => any;
15
+ notify: (index: number) => any;
14
16
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
17
  data: {
16
18
  type: PropType<PortalPaymentTransaction[]>;
@@ -21,6 +23,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
21
23
  required: true;
22
24
  };
23
25
  }>> & Readonly<{
24
- "onRow-click"?: ((payment: PortalPaymentTransaction) => any) | undefined;
26
+ onQuery?: ((index: number) => any) | undefined;
27
+ onRefund?: ((index: number) => any) | undefined;
28
+ onNotify?: ((index: number) => any) | undefined;
25
29
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
26
30
  export default _default;
@@ -0,0 +1,7 @@
1
+ export type emitAction = "query" | "refund" | "notify";
2
+ declare const _default: import("vue").DefineComponent<{
3
+ onAction: (event: emitAction) => void;
4
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
5
+ onAction: (event: emitAction) => void;
6
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ export default _default;
@@ -9,8 +9,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
9
9
  store: {
10
10
  bank?: {
11
11
  type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
12
- accountNumber?: string | null | undefined;
13
12
  holderName?: string | null | undefined;
13
+ accountNumber?: string | null | undefined;
14
14
  name: string;
15
15
  } | null | undefined;
16
16
  ssm?: string | null | undefined;
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
31
31
  precision: number;
32
32
  } | null | undefined;
33
33
  tPlus?: number | null | undefined;
34
- issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
34
+ issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
35
35
  variant: string;
36
36
  }[];
37
37
  businessId: string;
@@ -51,8 +51,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
51
51
  store: {
52
52
  bank?: {
53
53
  type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
54
- accountNumber?: string | null | undefined;
55
54
  holderName?: string | null | undefined;
55
+ accountNumber?: string | null | undefined;
56
56
  name: string;
57
57
  } | null | undefined;
58
58
  ssm?: string | null | undefined;
@@ -73,7 +73,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
73
73
  precision: number;
74
74
  } | null | undefined;
75
75
  tPlus?: number | null | undefined;
76
- issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
76
+ issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
77
77
  variant: string;
78
78
  }[];
79
79
  businessId: string;
@@ -88,8 +88,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
88
88
  store: {
89
89
  bank?: {
90
90
  type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
91
- accountNumber?: string | null | undefined;
92
91
  holderName?: string | null | undefined;
92
+ accountNumber?: string | null | undefined;
93
93
  name: string;
94
94
  } | null | undefined;
95
95
  ssm?: string | null | undefined;
@@ -110,7 +110,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
110
110
  precision: number;
111
111
  } | null | undefined;
112
112
  tPlus?: number | null | undefined;
113
- issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
113
+ issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
114
114
  variant: string;
115
115
  }[];
116
116
  businessId: string;
@@ -130,8 +130,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
130
130
  store: {
131
131
  bank?: {
132
132
  type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
133
- accountNumber?: string | null | undefined;
134
133
  holderName?: string | null | undefined;
134
+ accountNumber?: string | null | undefined;
135
135
  name: string;
136
136
  } | null | undefined;
137
137
  ssm?: string | null | undefined;
@@ -152,7 +152,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
152
152
  precision: number;
153
153
  } | null | undefined;
154
154
  tPlus?: number | null | undefined;
155
- issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
155
+ issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
156
156
  variant: string;
157
157
  }[];
158
158
  businessId: string;
@@ -3,17 +3,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3
3
  data: {
4
4
  type: PropType<{
5
5
  createdAt: Date;
6
+ remark?: string | null | undefined;
6
7
  store?: {
7
8
  id: string;
8
9
  event: "ORDERING" | "MARKETING";
9
10
  } | null | undefined;
10
- remark?: string | null | undefined;
11
11
  _id: string;
12
12
  beneficiaryBank: {
13
- name: string;
14
- accountNumber: string;
15
13
  holderName: string;
14
+ name: string;
16
15
  swiftCode: string;
16
+ accountNumber: string;
17
17
  };
18
18
  totalAmount: {
19
19
  currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
@@ -40,17 +40,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
40
40
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
41
41
  "row-click": (payment: {
42
42
  createdAt: Date;
43
+ remark?: string | null | undefined;
43
44
  store?: {
44
45
  id: string;
45
46
  event: "ORDERING" | "MARKETING";
46
47
  } | null | undefined;
47
- remark?: string | null | undefined;
48
48
  _id: string;
49
49
  beneficiaryBank: {
50
- name: string;
51
- accountNumber: string;
52
50
  holderName: string;
51
+ name: string;
53
52
  swiftCode: string;
53
+ accountNumber: string;
54
54
  };
55
55
  totalAmount: {
56
56
  currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
@@ -72,17 +72,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
72
72
  data: {
73
73
  type: PropType<{
74
74
  createdAt: Date;
75
+ remark?: string | null | undefined;
75
76
  store?: {
76
77
  id: string;
77
78
  event: "ORDERING" | "MARKETING";
78
79
  } | null | undefined;
79
- remark?: string | null | undefined;
80
80
  _id: string;
81
81
  beneficiaryBank: {
82
- name: string;
83
- accountNumber: string;
84
82
  holderName: string;
83
+ name: string;
85
84
  swiftCode: string;
85
+ accountNumber: string;
86
86
  };
87
87
  totalAmount: {
88
88
  currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
@@ -109,17 +109,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
109
109
  }>> & Readonly<{
110
110
  "onRow-click"?: ((payment: {
111
111
  createdAt: Date;
112
+ remark?: string | null | undefined;
112
113
  store?: {
113
114
  id: string;
114
115
  event: "ORDERING" | "MARKETING";
115
116
  } | null | undefined;
116
- remark?: string | null | undefined;
117
117
  _id: string;
118
118
  beneficiaryBank: {
119
- name: string;
120
- accountNumber: string;
121
119
  holderName: string;
120
+ name: string;
122
121
  swiftCode: string;
122
+ accountNumber: string;
123
123
  };
124
124
  totalAmount: {
125
125
  currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { type Row } from '@feedmepos/ui-library';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ row: Row<any>;
4
+ data: unknown;
5
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
6
+ row: Row<any>;
7
+ data: unknown;
8
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { type Row } from '@feedmepos/ui-library';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ row: Row<any>;
4
+ data: unknown;
5
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
6
+ row: Row<any>;
7
+ data: unknown;
8
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-payment",
3
- "version": "0.0.0-beta.8",
3
+ "version": "1.0.0-beta.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -16,7 +16,7 @@
16
16
  "scripts": {
17
17
  "postinstall": "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity",
18
18
  "lint": "eslint --ext .ts,vue --ignore-path .gitignore . --fix",
19
- "dev": "vite --mode dev",
19
+ "dev": "vite --mode dev",
20
20
  "prod": "vite --mode prod",
21
21
  "preview": "vite preview",
22
22
  "test": "jest",
@@ -33,8 +33,8 @@
33
33
  "@casl/ability": "^3.2.0",
34
34
  "@feedmepos/core": "^2.6.0",
35
35
  "@feedmepos/mf-common": "^1.8.21",
36
- "@feedmepos/payment-entity": "^0.0.5-demo4",
37
- "@feedmepos/ui-library": "^1.2.44",
36
+ "@feedmepos/payment-entity": "^0.0.6",
37
+ "@feedmepos/ui-library": "^1.2.58",
38
38
  "axios": "^0.27.2",
39
39
  "buffer": "^6.0.3",
40
40
  "change-case": "^4.1.2",
@@ -69,8 +69,8 @@
69
69
  "devDependencies": {
70
70
  "@babel/preset-env": "^7.22.10",
71
71
  "@pinia/testing": "^0.1.3",
72
- "@tsconfig/node20": "^20.1.4",
73
72
  "@rushstack/eslint-patch": "^1.1.3",
73
+ "@tsconfig/node20": "^20.1.4",
74
74
  "@types/dinero.js": "^1.9.0",
75
75
  "@types/file-saver": "^2.0.5",
76
76
  "@types/jest": "^29.5.4",