@feedmepos/mf-payment 0.0.0-beta.9 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) 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-DZaKHWcy.js +612 -0
  6. package/dist/{PayoutAccount-DLhMMlw_.js → PayoutAccount-Dc1CYQ0W.js} +38 -35
  7. package/dist/PayoutAccountSetting-BzmNuLFj.js +780 -0
  8. package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js +33 -0
  9. package/dist/Settlement-Bx3zAkIw.js +195 -0
  10. package/dist/Settlement-mwnO-iYH.js +150 -0
  11. package/dist/{SettlementTransactions-CoEzdtYT.js → SettlementTransactions-AaYyTH96.js} +99 -105
  12. package/dist/{SettlementTransactions-Dl1H4jvh.js → SettlementTransactions-D_SVuKyR.js} +117 -130
  13. package/dist/Terminal-68OQnhM3.js +372 -0
  14. package/dist/TerminalSetting-DEFim0xg.js +379 -0
  15. package/dist/TerminalTransaction-CQjNdffr.js +426 -0
  16. package/dist/TerminalTransaction-ClihmWOJ.js +250 -0
  17. package/dist/Transaction-68L7JzIk.js +242 -0
  18. package/dist/Transaction-a1VfiCP_.js +405 -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-C9FRsUfb.js +6343 -0
  27. package/dist/app.js +3 -198
  28. package/dist/assets-Bji7O2YD.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-Bt_OgDYn.js +56107 -0
  37. package/dist/index-CLYePgWW.js +47 -0
  38. package/dist/{index-CF56zGyu.js → index-DBfZnaV1.js} +1 -1
  39. package/dist/index-DSuZG0l6.js +52 -0
  40. package/dist/{index-Bmka-1lQ.js → index-DjDGwRX8.js} +1 -1
  41. package/dist/index-_0TroOJr.js +127 -0
  42. package/dist/index.vue_vue_type_script_setup_true_lang-Jlcg1hAB.js +167 -0
  43. package/dist/model/transaction.d.ts +2 -1
  44. package/dist/package.json +4 -4
  45. package/dist/payout-account-BWcq7OJy.js +1805 -0
  46. package/dist/stores/payoutAccount.d.ts +4 -4
  47. package/dist/transaction-DqrhM5jB.js +87 -0
  48. package/dist/tsconfig.app.tsbuildinfo +1 -1
  49. package/dist/validator-D5jtpt9A.js +2877 -0
  50. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +4 -4
  51. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +81 -0
  52. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +4 -4
  53. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +4 -4
  54. package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +56 -0
  55. package/dist/views/admin/payout-account/tabs/gateway/GhlGateway.vue.d.ts +50 -0
  56. package/dist/views/admin/payout-account/tabs/gateway/RevenueMonsterGateway.vue.d.ts +52 -0
  57. package/dist/views/admin/settlement/SettlementTable.vue.d.ts +12 -12
  58. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +83 -0
  59. package/dist/views/admin/terminal/TerminalSetting.vue.d.ts +12 -0
  60. package/dist/views/admin/terminal/cell/Actions.vue.d.ts +80 -9
  61. package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +94 -0
  62. package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +94 -0
  63. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +85 -0
  64. package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +94 -0
  65. package/dist/views/admin/terminal-transaction/cell/Actions.vue.d.ts +7 -0
  66. package/dist/views/admin/transaction/TransactionTable.vue.d.ts +6 -2
  67. package/dist/views/admin/transaction/cell/Actions.vue.d.ts +7 -0
  68. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +8 -8
  69. package/dist/views/settlement/SettlementTable.vue.d.ts +12 -12
  70. package/dist/views/terminal-transaction/TerminalTransaction.vue.d.ts +2 -0
  71. package/dist/views/terminal-transaction/cell/Gateway.vue.d.ts +9 -0
  72. package/dist/views/terminal-transaction/cell/Status.vue.d.ts +9 -0
  73. package/package.json +4 -4
  74. package/dist/AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js +0 -42
  75. package/dist/PayoutAccount-xxSxqBTL.js +0 -3485
  76. package/dist/PayoutAccountSetting-CIeos0md.js +0 -425
  77. package/dist/Settlement-BVGACeme.js +0 -136
  78. package/dist/Settlement-Ce48KHrc.js +0 -132
  79. package/dist/Terminal-ByKV2Rof.js +0 -204
  80. package/dist/TerminalTransaction-RuSxBAxf.js +0 -240
  81. package/dist/Transaction-CYo-uLQi.js +0 -241
  82. package/dist/Transaction-Cjw9WwX8.js +0 -242
  83. package/dist/api/auth/index.d.ts +0 -7
  84. package/dist/assets-BuLGUMIx.js +0 -472
  85. package/dist/index-Coz5aeIO.js +0 -61
  86. package/dist/index-DCPNrUDq.js +0 -40075
  87. package/dist/index.vue_vue_type_script_setup_true_lang-CAR-bNaR.js +0 -150
  88. package/dist/mascot-side-3VXskf9y.js +0 -4
  89. package/dist/payout-account-iAM7HPtG.js +0 -3317
  90. package/dist/transaction-vRrBf3FN.js +0 -64
@@ -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;
@@ -48,8 +48,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
48
48
  store: {
49
49
  bank?: {
50
50
  type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
51
- accountNumber?: string | null | undefined;
52
51
  holderName?: string | null | undefined;
52
+ accountNumber?: string | null | undefined;
53
53
  name: string;
54
54
  } | null | undefined;
55
55
  ssm?: string | null | undefined;
@@ -70,7 +70,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
70
70
  precision: number;
71
71
  } | null | undefined;
72
72
  tPlus?: number | null | undefined;
73
- issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
73
+ issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
74
74
  variant: string;
75
75
  }[];
76
76
  businessId: string;
@@ -0,0 +1,81 @@
1
+ import { type PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ payoutAccount: {
4
+ type: PropType<{
5
+ enable?: boolean | null | undefined;
6
+ ref?: any;
7
+ status: "NEW" | "PENDING" | "APPROVED";
8
+ _id: string;
9
+ store: {
10
+ bank?: {
11
+ type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
12
+ holderName?: string | null | undefined;
13
+ accountNumber?: string | null | undefined;
14
+ name: string;
15
+ } | null | undefined;
16
+ ssm?: string | null | undefined;
17
+ bankStatement?: string | null | undefined;
18
+ exteriorPhoto?: string | null | undefined;
19
+ keyPerson?: {
20
+ name: string;
21
+ phone: string;
22
+ email: string;
23
+ } | null | undefined;
24
+ id: string;
25
+ event: "ORDERING" | "MARKETING";
26
+ };
27
+ notifyUrl: string;
28
+ methods: {
29
+ rate?: {
30
+ amount: number;
31
+ precision: number;
32
+ } | null | undefined;
33
+ tPlus?: number | null | undefined;
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
+ variant: string;
36
+ }[];
37
+ businessId: string;
38
+ }>;
39
+ required: true;
40
+ };
41
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
42
+ payoutAccount: {
43
+ type: PropType<{
44
+ enable?: boolean | null | undefined;
45
+ ref?: any;
46
+ status: "NEW" | "PENDING" | "APPROVED";
47
+ _id: string;
48
+ store: {
49
+ bank?: {
50
+ type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
51
+ holderName?: string | null | undefined;
52
+ accountNumber?: string | null | undefined;
53
+ name: string;
54
+ } | null | undefined;
55
+ ssm?: string | null | undefined;
56
+ bankStatement?: string | null | undefined;
57
+ exteriorPhoto?: string | null | undefined;
58
+ keyPerson?: {
59
+ name: string;
60
+ phone: string;
61
+ email: string;
62
+ } | null | undefined;
63
+ id: string;
64
+ event: "ORDERING" | "MARKETING";
65
+ };
66
+ notifyUrl: string;
67
+ methods: {
68
+ rate?: {
69
+ amount: number;
70
+ precision: number;
71
+ } | null | undefined;
72
+ tPlus?: number | null | undefined;
73
+ issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
74
+ variant: string;
75
+ }[];
76
+ businessId: string;
77
+ }>;
78
+ required: true;
79
+ };
80
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
81
+ export default _default;
@@ -14,8 +14,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
14
14
  store: {
15
15
  bank?: {
16
16
  type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
17
- accountNumber?: string | null | undefined;
18
17
  holderName?: string | null | undefined;
18
+ accountNumber?: string | null | undefined;
19
19
  name: string;
20
20
  } | null | undefined;
21
21
  ssm?: string | null | undefined;
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
36
36
  precision: number;
37
37
  } | null | undefined;
38
38
  tPlus?: number | null | undefined;
39
- issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
39
+ issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
40
40
  variant: string;
41
41
  }[];
42
42
  businessId: string;
@@ -57,8 +57,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
57
57
  store: {
58
58
  bank?: {
59
59
  type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
60
- accountNumber?: string | null | undefined;
61
60
  holderName?: string | null | undefined;
61
+ accountNumber?: string | null | undefined;
62
62
  name: string;
63
63
  } | null | undefined;
64
64
  ssm?: string | null | undefined;
@@ -79,7 +79,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
79
79
  precision: number;
80
80
  } | null | undefined;
81
81
  tPlus?: number | null | undefined;
82
- issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
82
+ issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
83
83
  variant: string;
84
84
  }[];
85
85
  businessId: string;
@@ -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;
@@ -48,8 +48,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
48
48
  store: {
49
49
  bank?: {
50
50
  type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
51
- accountNumber?: string | null | undefined;
52
51
  holderName?: string | null | undefined;
52
+ accountNumber?: string | null | undefined;
53
53
  name: string;
54
54
  } | null | undefined;
55
55
  ssm?: string | null | undefined;
@@ -70,7 +70,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
70
70
  precision: number;
71
71
  } | null | undefined;
72
72
  tPlus?: number | null | undefined;
73
- issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
73
+ issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
74
74
  variant: string;
75
75
  }[];
76
76
  businessId: string;
@@ -0,0 +1,56 @@
1
+ import type { FdoPaymentGateway } from '@feedmepos/payment-entity';
2
+ import type { PropType } from 'vue';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ onUpdate: {
5
+ type: PropType<(g: any) => void>;
6
+ required: true;
7
+ };
8
+ onDelete: {
9
+ type: PropType<(g: FdoPaymentGateway) => void>;
10
+ required: true;
11
+ };
12
+ gateway: {
13
+ type: PropType<{
14
+ _id: string;
15
+ config: {
16
+ applicationCode?: string | null | undefined;
17
+ offlineSecret?: string | null | undefined;
18
+ merchantId: string;
19
+ uniqueId: string;
20
+ secretKey: string;
21
+ verifyKey: string;
22
+ };
23
+ _rev: string;
24
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
25
+ active: boolean;
26
+ } | undefined>;
27
+ required: true;
28
+ };
29
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
+ onUpdate: {
31
+ type: PropType<(g: any) => void>;
32
+ required: true;
33
+ };
34
+ onDelete: {
35
+ type: PropType<(g: FdoPaymentGateway) => void>;
36
+ required: true;
37
+ };
38
+ gateway: {
39
+ type: PropType<{
40
+ _id: string;
41
+ config: {
42
+ applicationCode?: string | null | undefined;
43
+ offlineSecret?: string | null | undefined;
44
+ merchantId: string;
45
+ uniqueId: string;
46
+ secretKey: string;
47
+ verifyKey: string;
48
+ };
49
+ _rev: string;
50
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
51
+ active: boolean;
52
+ } | undefined>;
53
+ required: true;
54
+ };
55
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
56
+ export default _default;
@@ -0,0 +1,50 @@
1
+ import type { FdoPaymentGateway } from '@feedmepos/payment-entity';
2
+ import type { PropType } from 'vue';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ onUpdate: {
5
+ type: PropType<(g: any) => void>;
6
+ required: true;
7
+ };
8
+ onDelete: {
9
+ type: PropType<(g: FdoPaymentGateway) => void>;
10
+ required: true;
11
+ };
12
+ gateway: {
13
+ type: PropType<{
14
+ _id: string;
15
+ config: {
16
+ merchantId: string;
17
+ terminalId: string;
18
+ privateKey: string;
19
+ };
20
+ _rev: string;
21
+ paymentGateway: "E_GHL";
22
+ active: boolean;
23
+ } | undefined>;
24
+ required: true;
25
+ };
26
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
27
+ onUpdate: {
28
+ type: PropType<(g: any) => void>;
29
+ required: true;
30
+ };
31
+ onDelete: {
32
+ type: PropType<(g: FdoPaymentGateway) => void>;
33
+ required: true;
34
+ };
35
+ gateway: {
36
+ type: PropType<{
37
+ _id: string;
38
+ config: {
39
+ merchantId: string;
40
+ terminalId: string;
41
+ privateKey: string;
42
+ };
43
+ _rev: string;
44
+ paymentGateway: "E_GHL";
45
+ active: boolean;
46
+ } | undefined>;
47
+ required: true;
48
+ };
49
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
50
+ export default _default;
@@ -0,0 +1,52 @@
1
+ import type { FdoPaymentGateway } from '@feedmepos/payment-entity';
2
+ import type { PropType } from 'vue';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ onUpdate: {
5
+ type: PropType<(g: any) => void>;
6
+ required: true;
7
+ };
8
+ onDelete: {
9
+ type: PropType<(g: FdoPaymentGateway) => void>;
10
+ required: true;
11
+ };
12
+ gateway: {
13
+ type: PropType<{
14
+ _id: string;
15
+ config: {
16
+ clientId: string;
17
+ clientPrivateKey: string;
18
+ clientSecret: string;
19
+ storeId: string;
20
+ };
21
+ _rev: string;
22
+ paymentGateway: "REVENUE_MONSTER";
23
+ active: boolean;
24
+ } | undefined>;
25
+ required: true;
26
+ };
27
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
28
+ onUpdate: {
29
+ type: PropType<(g: any) => void>;
30
+ required: true;
31
+ };
32
+ onDelete: {
33
+ type: PropType<(g: FdoPaymentGateway) => void>;
34
+ required: true;
35
+ };
36
+ gateway: {
37
+ type: PropType<{
38
+ _id: string;
39
+ config: {
40
+ clientId: string;
41
+ clientPrivateKey: string;
42
+ clientSecret: string;
43
+ storeId: string;
44
+ };
45
+ _rev: string;
46
+ paymentGateway: "REVENUE_MONSTER";
47
+ active: boolean;
48
+ } | undefined>;
49
+ required: true;
50
+ };
51
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
52
+ export default _default;
@@ -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,83 @@
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
+ };
42
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
43
+ terminal: {
44
+ type: PropType<{
45
+ name?: string | null | undefined;
46
+ deviceId?: string | null | undefined;
47
+ bindCode?: string | null | undefined;
48
+ secretKey?: string | null | undefined;
49
+ token?: string | null | undefined;
50
+ gateways?: ({
51
+ config?: {
52
+ packageId: "cc.feedme.payment.rms" | "cc.feedme.payment.fiuu_my" | "cc.feedme.payment.fiuu_sg";
53
+ uniqueId: string;
54
+ } | null | undefined;
55
+ gateway: "Fiuu";
56
+ } | {
57
+ config?: any;
58
+ gateway: "ScanPay";
59
+ })[] | null | undefined;
60
+ ecrs?: ({
61
+ config?: {
62
+ terminalId: string;
63
+ } | null | undefined;
64
+ gateway: "FeedMe";
65
+ } | {
66
+ config?: {
67
+ merchantId: string;
68
+ terminalId: string;
69
+ privateKey: string;
70
+ } | null | undefined;
71
+ gateway: "Ghl";
72
+ })[] | null | undefined;
73
+ status: "Active" | "Inactive";
74
+ _id: string;
75
+ createdAt: string;
76
+ updatedAt: string;
77
+ referenceId: string;
78
+ securityCode: string;
79
+ deviceType: "KIOSK" | "TERMINAL" | "POS";
80
+ }>;
81
+ };
82
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
83
+ export default _default;
@@ -0,0 +1,12 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ terminalId: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
+ terminalId: {
8
+ type: StringConstructor;
9
+ required: true;
10
+ };
11
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ export default _default;
@@ -1,15 +1,86 @@
1
- import { type Row } from '@feedmepos/ui-library';
2
1
  declare const _default: import("vue").DefineComponent<{
3
- row: Row<any>;
4
- data: string;
2
+ data: {
3
+ name?: string | null | undefined;
4
+ deviceId?: string | null | undefined;
5
+ bindCode?: string | null | undefined;
6
+ secretKey?: string | null | undefined;
7
+ token?: string | null | undefined;
8
+ gateways?: ({
9
+ config?: {
10
+ packageId: "cc.feedme.payment.rms" | "cc.feedme.payment.fiuu_my" | "cc.feedme.payment.fiuu_sg";
11
+ uniqueId: string;
12
+ } | null | undefined;
13
+ gateway: "Fiuu";
14
+ } | {
15
+ config?: any;
16
+ gateway: "ScanPay";
17
+ })[] | null | undefined;
18
+ ecrs?: ({
19
+ config?: {
20
+ terminalId: string;
21
+ } | null | undefined;
22
+ gateway: "FeedMe";
23
+ } | {
24
+ config?: {
25
+ merchantId: string;
26
+ terminalId: string;
27
+ privateKey: string;
28
+ } | null | undefined;
29
+ gateway: "Ghl";
30
+ })[] | null | undefined;
31
+ status: "Active" | "Inactive";
32
+ _id: string;
33
+ createdAt: string;
34
+ updatedAt: string;
35
+ referenceId: string;
36
+ securityCode: string;
37
+ deviceType: "KIOSK" | "TERMINAL" | "POS";
38
+ };
5
39
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
- link: (data: string) => any;
7
- edit: (data: string) => any;
40
+ link: () => any;
41
+ unlink: () => any;
42
+ edit: () => any;
8
43
  }, string, import("vue").PublicProps, Readonly<{
9
- row: Row<any>;
10
- data: string;
44
+ data: {
45
+ name?: string | null | undefined;
46
+ deviceId?: string | null | undefined;
47
+ bindCode?: string | null | undefined;
48
+ secretKey?: string | null | undefined;
49
+ token?: string | null | undefined;
50
+ gateways?: ({
51
+ config?: {
52
+ packageId: "cc.feedme.payment.rms" | "cc.feedme.payment.fiuu_my" | "cc.feedme.payment.fiuu_sg";
53
+ uniqueId: string;
54
+ } | null | undefined;
55
+ gateway: "Fiuu";
56
+ } | {
57
+ config?: any;
58
+ gateway: "ScanPay";
59
+ })[] | null | undefined;
60
+ ecrs?: ({
61
+ config?: {
62
+ terminalId: string;
63
+ } | null | undefined;
64
+ gateway: "FeedMe";
65
+ } | {
66
+ config?: {
67
+ merchantId: string;
68
+ terminalId: string;
69
+ privateKey: string;
70
+ } | null | undefined;
71
+ gateway: "Ghl";
72
+ })[] | null | undefined;
73
+ status: "Active" | "Inactive";
74
+ _id: string;
75
+ createdAt: string;
76
+ updatedAt: string;
77
+ referenceId: string;
78
+ securityCode: string;
79
+ deviceType: "KIOSK" | "TERMINAL" | "POS";
80
+ };
11
81
  }> & Readonly<{
12
- onLink?: ((data: string) => any) | undefined;
13
- onEdit?: ((data: string) => any) | undefined;
82
+ onLink?: (() => any) | undefined;
83
+ onUnlink?: (() => any) | undefined;
84
+ onEdit?: (() => any) | undefined;
14
85
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
86
  export default _default;