@feedmepos/mf-payment 1.5.76-dev → 1.5.77

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.
Files changed (119) hide show
  1. package/dist/{Actions.vue_vue_type_script_setup_true_lang-BBWoxxpE.js → Actions.vue_vue_type_script_setup_true_lang-D_PoXVbz.js} +1 -1
  2. package/dist/{Chargeback-7jLLq3BR.js → Chargeback-CzwL8PJv.js} +7 -7
  3. package/dist/{DateRangePicker.vue_vue_type_script_setup_true_lang-BNVnvrVY.js → DateRangePicker.vue_vue_type_script_setup_true_lang-CDjdQf-E.js} +1 -1
  4. package/dist/DocumentViewer.vue_vue_type_script_setup_true_lang-KebV8Zws.js +94 -0
  5. package/dist/Forbidden-1aaq-Ilm.js +38 -0
  6. package/dist/{OnboardForm-D_FIXmPB.js → OnboardForm-C6LuVVyr.js} +6 -6
  7. package/dist/{OnboardForm-BN0ILsGU.js → OnboardForm-DZeWRzRD.js} +482 -554
  8. package/dist/{OnboardSubmission-CjObMzjr.js → OnboardSubmission-C2BYK2p1.js} +27 -27
  9. package/dist/OnboardSubmission-DvWwQFy6.js +222 -0
  10. package/dist/{PayoutAccount-BdfuqSaf.js → PayoutAccount-BMQZ5bOZ.js} +5 -5
  11. package/dist/{PayoutAccount-BpSQ2zQk.js → PayoutAccount-VbRd7cmv.js} +102 -101
  12. package/dist/PayoutAccountSetting-DzzABgzs.js +1765 -0
  13. package/dist/{Restaurant-BeasTCBN.js → Restaurant-4cO60aVP.js} +4 -4
  14. package/dist/{RestaurantSetting-DwRraruD.js → RestaurantSetting-Bvk0dnCI.js} +243 -325
  15. package/dist/{Settlement-CDQ4mC52.js → Settlement-CklF8pz7.js} +4 -4
  16. package/dist/{Settlement-CFfl02X_.js → Settlement-Cme1wMB-.js} +5 -5
  17. package/dist/{SettlementTransactions-Bt_v-aI6.js → SettlementTransactions-3F4EOoyz.js} +4 -4
  18. package/dist/{SettlementTransactions-BXeYz_iy.js → SettlementTransactions-DD285bSJ.js} +4 -4
  19. package/dist/{Status.vue_vue_type_script_setup_true_lang-Cq8LBhUh.js → Status.vue_vue_type_script_setup_true_lang-CUnCf_fx.js} +1 -1
  20. package/dist/{Terminal-Bdra-49r.js → Terminal-CK6ULW6U.js} +6 -6
  21. package/dist/{TerminalSetting-CzjDu4A_.js → TerminalSetting-CEQG3OV6.js} +712 -887
  22. package/dist/{TextInputDialog.vue_vue_type_script_setup_true_lang-D8W8_SO2.js → TextInputDialog.vue_vue_type_script_setup_true_lang-BvGYVca0.js} +1 -1
  23. package/dist/Transaction-D-Z3zRd7.js +517 -0
  24. package/dist/{Transaction-BG3RCxYv.js → Transaction-DjzWqLtN.js} +102 -99
  25. package/dist/TransactionOld-BXjA15Dd.js +314 -0
  26. package/dist/api/onboard-submission/index.d.ts +1 -3
  27. package/dist/api/terminal/index.d.ts +0 -1
  28. package/dist/app-CEy5Ojtg.js +7661 -0
  29. package/dist/app.d.ts +1 -96
  30. package/dist/app.js +4 -5
  31. package/dist/{assets-DhWdwOH7.js → assets-DIbq1BVX.js} +79 -81
  32. package/dist/{grafana-DJDzzJ9q.js → grafana-B0iQmK6j.js} +1 -1
  33. package/dist/{index-BbaDzW6B.js → index-B0L21J1j.js} +1 -1
  34. package/dist/{index-BpwmbLR4.js → index-BHCs_NnD.js} +1 -1
  35. package/dist/{index-C2X36PPH.js → index-BkQ7t3F6.js} +1 -1
  36. package/dist/{index-DugLDgA_.js → index-C80a7-Ks.js} +1 -1
  37. package/dist/{index-DgtoLJuf.js → index-C_Y5Sfc9.js} +1 -1
  38. package/dist/{index-BL_cPUhX.js → index-CnN_MV2-.js} +9 -24
  39. package/dist/{index-DqBHy3Py.js → index-CxnWUe_K.js} +3 -3
  40. package/dist/{index-DbCpzLPM.js → index-D0j1LZAB.js} +9264 -9427
  41. package/dist/index-XTdSN6CV.js +60 -0
  42. package/dist/{index.vue_vue_type_script_setup_true_lang-Bl9xUvgx.js → index.vue_vue_type_script_setup_true_lang-BksGFeSf.js} +1 -1
  43. package/dist/main.d.ts +0 -1
  44. package/dist/model/payout-account.d.ts +2 -2
  45. package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-DTcwQ5Qj.js → no-data-BRmo6XOO.js} +2 -92
  46. package/dist/package.json +3 -4
  47. package/dist/{payout-account-C0AWMnuX.js → payout-account-B7OikYn5.js} +37 -37
  48. package/dist/softspace-D9cEyOQT.js +4 -0
  49. package/dist/stores/payoutAccount.d.ts +34 -44
  50. package/dist/tsconfig.app.tsbuildinfo +1 -1
  51. package/dist/{validator-DzjyJnvv.js → validator-CTlVogBQ.js} +1 -0
  52. package/dist/views/admin/onboard-submission/forms/NTTSubmission.vue.d.ts +16 -16
  53. package/dist/views/admin/onboard-submission/forms/SoftspaceSubmission.vue.d.ts +16 -16
  54. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +34 -44
  55. package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +54 -64
  56. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +54 -64
  57. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +34 -44
  58. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +43 -44
  59. package/dist/views/admin/payout-account/tabs/SettlementEditDialog.vue.d.ts +56 -0
  60. package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +54 -64
  61. package/dist/views/admin/payout-account/tabs/gateway/AdyenGateway.vue.d.ts +2 -2
  62. package/dist/views/admin/payout-account/tabs/gateway/DigioGateway.vue.d.ts +2 -2
  63. package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +2 -2
  64. package/dist/views/admin/payout-account/tabs/gateway/KsherGateway.vue.d.ts +4 -4
  65. package/dist/views/admin/payout-account/tabs/gateway/MacauPassGateway.vue.d.ts +2 -2
  66. package/dist/views/admin/payout-account/tabs/token/ApplePayToken.vue.d.ts +2 -2
  67. package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +2 -2
  68. package/dist/views/admin/restaurant/tabs/gateway/AdyenGateway.vue.d.ts +4 -4
  69. package/dist/views/admin/restaurant/tabs/gateway/DigioGateway.vue.d.ts +4 -4
  70. package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +8 -8
  71. package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +4 -4
  72. package/dist/views/admin/restaurant/tabs/gateway/GrabGateway.vue.d.ts +4 -4
  73. package/dist/views/admin/restaurant/tabs/gateway/KsherGateway.vue.d.ts +6 -6
  74. package/dist/views/admin/restaurant/tabs/gateway/MacauPassGateway.vue.d.ts +4 -4
  75. package/dist/views/admin/restaurant/tabs/gateway/MaybankGateway.vue.d.ts +6 -6
  76. package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +4 -4
  77. package/dist/views/admin/restaurant/tabs/gateway/SoftSpaceGateway.vue.d.ts +4 -6
  78. package/dist/views/admin/settlement/SettlementTable.vue.d.ts +24 -24
  79. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +2 -2
  80. package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +2 -2
  81. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +2 -2
  82. package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +2 -2
  83. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +2 -2
  84. package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +4 -4
  85. package/dist/views/admin/terminal/tabs/ecr/Ghl2Gateway.vue.d.ts +2 -2
  86. package/dist/views/admin/terminal/tabs/ecr/Ghl3Gateway.vue.d.ts +2 -2
  87. package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +2 -2
  88. package/dist/views/admin/terminal/tabs/ecr/GlobalPaymentsGateway.vue.d.ts +2 -2
  89. package/dist/views/admin/terminal/tabs/ecr/HlbbGateway.vue.d.ts +2 -2
  90. package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +2 -2
  91. package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +2 -2
  92. package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +2 -2
  93. package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +2 -2
  94. package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +2 -2
  95. package/dist/views/admin/terminal/tabs/ecr/OmaGateway.vue.d.ts +2 -2
  96. package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +2 -2
  97. package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +2 -2
  98. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +2 -2
  99. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +68 -88
  100. package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +84 -84
  101. package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +42 -42
  102. package/dist/views/settlement/SettlementTable.vue.d.ts +24 -24
  103. package/dist/views/transaction/TransactionTable.vue.d.ts +2 -2
  104. package/package.json +3 -4
  105. package/dist/OnboardSubmission-hDMAGRnx.js +0 -446
  106. package/dist/PayoutAccountSetting-Bj3ayBnW.js +0 -1502
  107. package/dist/Transaction-C3Le6Ig-.js +0 -507
  108. package/dist/TransactionOld-BXbn3NQy.js +0 -313
  109. package/dist/app-DEJ_hAvw.js +0 -9156
  110. package/dist/composable/async-poller/index.d.ts +0 -22
  111. package/dist/index-MdV54cWO.js +0 -58
  112. package/dist/index-RripfGVB.js +0 -63
  113. package/dist/tyro-BovmsorS.js +0 -5
  114. package/dist/utils/permission.d.ts +0 -1
  115. package/dist/views/admin/onboard-submission/forms/TyroSubmission.vue.d.ts +0 -81
  116. package/dist/views/admin/payout-account/tabs/gateway/TyroGateway.vue.d.ts +0 -39
  117. package/dist/views/admin/restaurant/tabs/gateway/MonetapayGateway.vue.d.ts +0 -48
  118. package/dist/views/admin/terminal/tabs/useTyroSoftposGateway.d.ts +0 -12
  119. package/dist/views/onboard-submission/tyro-submission-polling.d.ts +0 -27
@@ -7,27 +7,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
7
7
  };
8
8
  payoutAccount: {
9
9
  type: PropType<{
10
- enable?: boolean | null | undefined;
11
- submissionDate?: string | null | undefined;
12
- statusBy?: string | null | undefined;
13
- statusReason?: string | null | undefined;
14
10
  gateways?: ({
15
- paymentGateway: "REVENUE_MONSTER";
16
11
  config: {
12
+ storeId: string;
17
13
  clientId: string;
18
14
  clientPrivateKey: string;
19
15
  clientSecret: string;
20
- storeId: string;
21
16
  };
17
+ paymentGateway: "REVENUE_MONSTER";
22
18
  } | {
23
- paymentGateway: "RAZER_MERCHANT_SERVICE";
24
19
  config: {
25
20
  merchantId: string;
26
21
  secretKey: string;
27
22
  verifyKey: string;
28
23
  };
24
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
29
25
  } | {
30
- paymentGateway: "MACAU_PASS";
31
26
  config: {
32
27
  merchantId: string;
33
28
  merchantName: string;
@@ -35,42 +30,43 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
35
30
  storeID: string;
36
31
  storeName: string;
37
32
  };
33
+ paymentGateway: "MACAU_PASS";
38
34
  } | {
39
- paymentGateway: "DIGIO";
40
35
  config: {
41
36
  merchantId: string;
42
37
  cardMerchantId: string;
43
38
  };
39
+ paymentGateway: "DIGIO";
44
40
  } | {
45
- paymentGateway: "ADYEN";
46
41
  config: {
47
42
  hmacKey?: string | null | undefined;
48
43
  merchantAccount: string;
49
44
  username: string;
50
45
  apiKey: string;
51
- endpoint: string;
52
46
  clientKey: string;
47
+ endpoint: string;
53
48
  };
49
+ paymentGateway: "ADYEN";
54
50
  } | {
55
- paymentGateway: "KSHER";
56
51
  config: {
57
52
  privateKey: string;
58
53
  appId: string;
59
54
  };
60
- } | {
61
- paymentGateway: "TYRO";
62
- config: {
63
- locationId: string;
64
- };
55
+ paymentGateway: "KSHER";
65
56
  })[] | null | undefined;
57
+ enable?: boolean | null | undefined;
58
+ submissionDate?: string | null | undefined;
59
+ statusBy?: string | null | undefined;
60
+ statusReason?: string | null | undefined;
66
61
  ref?: any;
62
+ status: "NEW" | "APPROVED" | "PENDING" | "REJECTED";
67
63
  _id: string;
68
- status: "NEW" | "PENDING" | "APPROVED" | "REJECTED";
64
+ businessId: string;
69
65
  store: {
70
66
  bank?: {
71
67
  type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
72
- accountNumber?: string | null | undefined;
73
68
  holderName?: string | null | undefined;
69
+ accountNumber?: string | null | undefined;
74
70
  name: string;
75
71
  } | null | undefined;
76
72
  regNo?: string | null | undefined;
@@ -80,8 +76,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
80
76
  exteriorPhoto?: string | null | undefined;
81
77
  keyPerson?: {
82
78
  name: string;
83
- phone: string;
84
79
  email: string;
80
+ phone: string;
85
81
  } | null | undefined;
86
82
  id: string;
87
83
  event: "ORDERING" | "MARKETING";
@@ -97,10 +93,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
97
93
  precision: number;
98
94
  } | null | undefined;
99
95
  tPlus?: number | null | undefined;
100
- issuer: "MACAU_PASS" | "FEEDME" | "OTHER" | "CASH" | "KBANK" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "JCB" | "DISCOVER" | "DINERS" | "THAIQR" | "TRUEMONEY" | "LINEPAY" | "REVOLUT";
96
+ issuer: "MACAU_PASS" | "FEEDME" | "OTHER" | "CASH" | "KBANK" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "JCB" | "DISCOVER" | "DINERS" | "THAIQR" | "TRUEMONEY" | "LINEPAY";
101
97
  variant: string;
102
98
  }[];
103
- businessId: string;
104
99
  }>;
105
100
  required: true;
106
101
  };
@@ -111,27 +106,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
111
106
  };
112
107
  payoutAccount: {
113
108
  type: PropType<{
114
- enable?: boolean | null | undefined;
115
- submissionDate?: string | null | undefined;
116
- statusBy?: string | null | undefined;
117
- statusReason?: string | null | undefined;
118
109
  gateways?: ({
119
- paymentGateway: "REVENUE_MONSTER";
120
110
  config: {
111
+ storeId: string;
121
112
  clientId: string;
122
113
  clientPrivateKey: string;
123
114
  clientSecret: string;
124
- storeId: string;
125
115
  };
116
+ paymentGateway: "REVENUE_MONSTER";
126
117
  } | {
127
- paymentGateway: "RAZER_MERCHANT_SERVICE";
128
118
  config: {
129
119
  merchantId: string;
130
120
  secretKey: string;
131
121
  verifyKey: string;
132
122
  };
123
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
133
124
  } | {
134
- paymentGateway: "MACAU_PASS";
135
125
  config: {
136
126
  merchantId: string;
137
127
  merchantName: string;
@@ -139,42 +129,43 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
139
129
  storeID: string;
140
130
  storeName: string;
141
131
  };
132
+ paymentGateway: "MACAU_PASS";
142
133
  } | {
143
- paymentGateway: "DIGIO";
144
134
  config: {
145
135
  merchantId: string;
146
136
  cardMerchantId: string;
147
137
  };
138
+ paymentGateway: "DIGIO";
148
139
  } | {
149
- paymentGateway: "ADYEN";
150
140
  config: {
151
141
  hmacKey?: string | null | undefined;
152
142
  merchantAccount: string;
153
143
  username: string;
154
144
  apiKey: string;
155
- endpoint: string;
156
145
  clientKey: string;
146
+ endpoint: string;
157
147
  };
148
+ paymentGateway: "ADYEN";
158
149
  } | {
159
- paymentGateway: "KSHER";
160
150
  config: {
161
151
  privateKey: string;
162
152
  appId: string;
163
153
  };
164
- } | {
165
- paymentGateway: "TYRO";
166
- config: {
167
- locationId: string;
168
- };
154
+ paymentGateway: "KSHER";
169
155
  })[] | null | undefined;
156
+ enable?: boolean | null | undefined;
157
+ submissionDate?: string | null | undefined;
158
+ statusBy?: string | null | undefined;
159
+ statusReason?: string | null | undefined;
170
160
  ref?: any;
161
+ status: "NEW" | "APPROVED" | "PENDING" | "REJECTED";
171
162
  _id: string;
172
- status: "NEW" | "PENDING" | "APPROVED" | "REJECTED";
163
+ businessId: string;
173
164
  store: {
174
165
  bank?: {
175
166
  type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
176
- accountNumber?: string | null | undefined;
177
167
  holderName?: string | null | undefined;
168
+ accountNumber?: string | null | undefined;
178
169
  name: string;
179
170
  } | null | undefined;
180
171
  regNo?: string | null | undefined;
@@ -184,8 +175,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
184
175
  exteriorPhoto?: string | null | undefined;
185
176
  keyPerson?: {
186
177
  name: string;
187
- phone: string;
188
178
  email: string;
179
+ phone: string;
189
180
  } | null | undefined;
190
181
  id: string;
191
182
  event: "ORDERING" | "MARKETING";
@@ -201,10 +192,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
201
192
  precision: number;
202
193
  } | null | undefined;
203
194
  tPlus?: number | null | undefined;
204
- issuer: "MACAU_PASS" | "FEEDME" | "OTHER" | "CASH" | "KBANK" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "JCB" | "DISCOVER" | "DINERS" | "THAIQR" | "TRUEMONEY" | "LINEPAY" | "REVOLUT";
195
+ issuer: "MACAU_PASS" | "FEEDME" | "OTHER" | "CASH" | "KBANK" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "JCB" | "DISCOVER" | "DINERS" | "THAIQR" | "TRUEMONEY" | "LINEPAY";
205
196
  variant: string;
206
197
  }[];
207
- businessId: string;
208
198
  }>;
209
199
  required: true;
210
200
  };
@@ -1,28 +1,28 @@
1
+ import type { PayoutAccountWithRefDto } from "@feedmepos/payment-entity";
1
2
  import type { PropType } from "vue";
2
3
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ onUpdate: {
5
+ type: PropType<(account: PayoutAccountWithRefDto) => Promise<void>>;
6
+ required: true;
7
+ };
3
8
  payoutAccount: {
4
9
  type: PropType<{
5
- enable?: boolean | null | undefined;
6
- submissionDate?: string | null | undefined;
7
- statusBy?: string | null | undefined;
8
- statusReason?: string | null | undefined;
9
10
  gateways?: ({
10
- paymentGateway: "REVENUE_MONSTER";
11
11
  config: {
12
+ storeId: string;
12
13
  clientId: string;
13
14
  clientPrivateKey: string;
14
15
  clientSecret: string;
15
- storeId: string;
16
16
  };
17
+ paymentGateway: "REVENUE_MONSTER";
17
18
  } | {
18
- paymentGateway: "RAZER_MERCHANT_SERVICE";
19
19
  config: {
20
20
  merchantId: string;
21
21
  secretKey: string;
22
22
  verifyKey: string;
23
23
  };
24
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
24
25
  } | {
25
- paymentGateway: "MACAU_PASS";
26
26
  config: {
27
27
  merchantId: string;
28
28
  merchantName: string;
@@ -30,42 +30,43 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
30
30
  storeID: string;
31
31
  storeName: string;
32
32
  };
33
+ paymentGateway: "MACAU_PASS";
33
34
  } | {
34
- paymentGateway: "DIGIO";
35
35
  config: {
36
36
  merchantId: string;
37
37
  cardMerchantId: string;
38
38
  };
39
+ paymentGateway: "DIGIO";
39
40
  } | {
40
- paymentGateway: "ADYEN";
41
41
  config: {
42
42
  hmacKey?: string | null | undefined;
43
43
  merchantAccount: string;
44
44
  username: string;
45
45
  apiKey: string;
46
- endpoint: string;
47
46
  clientKey: string;
47
+ endpoint: string;
48
48
  };
49
+ paymentGateway: "ADYEN";
49
50
  } | {
50
- paymentGateway: "KSHER";
51
51
  config: {
52
52
  privateKey: string;
53
53
  appId: string;
54
54
  };
55
- } | {
56
- paymentGateway: "TYRO";
57
- config: {
58
- locationId: string;
59
- };
55
+ paymentGateway: "KSHER";
60
56
  })[] | null | undefined;
57
+ enable?: boolean | null | undefined;
58
+ submissionDate?: string | null | undefined;
59
+ statusBy?: string | null | undefined;
60
+ statusReason?: string | null | undefined;
61
61
  ref?: any;
62
+ status: "NEW" | "APPROVED" | "PENDING" | "REJECTED";
62
63
  _id: string;
63
- status: "NEW" | "PENDING" | "APPROVED" | "REJECTED";
64
+ businessId: string;
64
65
  store: {
65
66
  bank?: {
66
67
  type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
67
- accountNumber?: string | null | undefined;
68
68
  holderName?: string | null | undefined;
69
+ accountNumber?: string | null | undefined;
69
70
  name: string;
70
71
  } | null | undefined;
71
72
  regNo?: string | null | undefined;
@@ -75,8 +76,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
75
76
  exteriorPhoto?: string | null | undefined;
76
77
  keyPerson?: {
77
78
  name: string;
78
- phone: string;
79
79
  email: string;
80
+ phone: string;
80
81
  } | null | undefined;
81
82
  id: string;
82
83
  event: "ORDERING" | "MARKETING";
@@ -92,37 +93,35 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
92
93
  precision: number;
93
94
  } | null | undefined;
94
95
  tPlus?: number | null | undefined;
95
- issuer: "MACAU_PASS" | "FEEDME" | "OTHER" | "CASH" | "KBANK" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "JCB" | "DISCOVER" | "DINERS" | "THAIQR" | "TRUEMONEY" | "LINEPAY" | "REVOLUT";
96
+ issuer: "MACAU_PASS" | "FEEDME" | "OTHER" | "CASH" | "KBANK" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "JCB" | "DISCOVER" | "DINERS" | "THAIQR" | "TRUEMONEY" | "LINEPAY";
96
97
  variant: string;
97
98
  }[];
98
- businessId: string;
99
99
  }>;
100
100
  required: true;
101
101
  };
102
102
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
103
+ onUpdate: {
104
+ type: PropType<(account: PayoutAccountWithRefDto) => Promise<void>>;
105
+ required: true;
106
+ };
103
107
  payoutAccount: {
104
108
  type: PropType<{
105
- enable?: boolean | null | undefined;
106
- submissionDate?: string | null | undefined;
107
- statusBy?: string | null | undefined;
108
- statusReason?: string | null | undefined;
109
109
  gateways?: ({
110
- paymentGateway: "REVENUE_MONSTER";
111
110
  config: {
111
+ storeId: string;
112
112
  clientId: string;
113
113
  clientPrivateKey: string;
114
114
  clientSecret: string;
115
- storeId: string;
116
115
  };
116
+ paymentGateway: "REVENUE_MONSTER";
117
117
  } | {
118
- paymentGateway: "RAZER_MERCHANT_SERVICE";
119
118
  config: {
120
119
  merchantId: string;
121
120
  secretKey: string;
122
121
  verifyKey: string;
123
122
  };
123
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
124
124
  } | {
125
- paymentGateway: "MACAU_PASS";
126
125
  config: {
127
126
  merchantId: string;
128
127
  merchantName: string;
@@ -130,42 +129,43 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
130
129
  storeID: string;
131
130
  storeName: string;
132
131
  };
132
+ paymentGateway: "MACAU_PASS";
133
133
  } | {
134
- paymentGateway: "DIGIO";
135
134
  config: {
136
135
  merchantId: string;
137
136
  cardMerchantId: string;
138
137
  };
138
+ paymentGateway: "DIGIO";
139
139
  } | {
140
- paymentGateway: "ADYEN";
141
140
  config: {
142
141
  hmacKey?: string | null | undefined;
143
142
  merchantAccount: string;
144
143
  username: string;
145
144
  apiKey: string;
146
- endpoint: string;
147
145
  clientKey: string;
146
+ endpoint: string;
148
147
  };
148
+ paymentGateway: "ADYEN";
149
149
  } | {
150
- paymentGateway: "KSHER";
151
150
  config: {
152
151
  privateKey: string;
153
152
  appId: string;
154
153
  };
155
- } | {
156
- paymentGateway: "TYRO";
157
- config: {
158
- locationId: string;
159
- };
154
+ paymentGateway: "KSHER";
160
155
  })[] | null | undefined;
156
+ enable?: boolean | null | undefined;
157
+ submissionDate?: string | null | undefined;
158
+ statusBy?: string | null | undefined;
159
+ statusReason?: string | null | undefined;
161
160
  ref?: any;
161
+ status: "NEW" | "APPROVED" | "PENDING" | "REJECTED";
162
162
  _id: string;
163
- status: "NEW" | "PENDING" | "APPROVED" | "REJECTED";
163
+ businessId: string;
164
164
  store: {
165
165
  bank?: {
166
166
  type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
167
- accountNumber?: string | null | undefined;
168
167
  holderName?: string | null | undefined;
168
+ accountNumber?: string | null | undefined;
169
169
  name: string;
170
170
  } | null | undefined;
171
171
  regNo?: string | null | undefined;
@@ -175,8 +175,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
175
175
  exteriorPhoto?: string | null | undefined;
176
176
  keyPerson?: {
177
177
  name: string;
178
- phone: string;
179
178
  email: string;
179
+ phone: string;
180
180
  } | null | undefined;
181
181
  id: string;
182
182
  event: "ORDERING" | "MARKETING";
@@ -192,10 +192,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
192
192
  precision: number;
193
193
  } | null | undefined;
194
194
  tPlus?: number | null | undefined;
195
- issuer: "MACAU_PASS" | "FEEDME" | "OTHER" | "CASH" | "KBANK" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "JCB" | "DISCOVER" | "DINERS" | "THAIQR" | "TRUEMONEY" | "LINEPAY" | "REVOLUT";
195
+ issuer: "MACAU_PASS" | "FEEDME" | "OTHER" | "CASH" | "KBANK" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT" | "AMEX" | "JCB" | "DISCOVER" | "DINERS" | "THAIQR" | "TRUEMONEY" | "LINEPAY";
196
196
  variant: string;
197
197
  }[];
198
- businessId: string;
199
198
  }>;
200
199
  required: true;
201
200
  };
@@ -0,0 +1,56 @@
1
+ import { type PropType } from "vue";
2
+ export type SettlementFormValue = {
3
+ companyName: string;
4
+ regNo: string;
5
+ bankName: string;
6
+ bankHolderName: string;
7
+ bankAccountNumber: string;
8
+ ssm?: string;
9
+ bankStatement?: string;
10
+ newSSM?: File;
11
+ newBankStatement?: File;
12
+ };
13
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
14
+ initialValue: {
15
+ type: PropType<SettlementFormValue>;
16
+ required: true;
17
+ };
18
+ bankNameOptions: {
19
+ type: PropType<{
20
+ label: string;
21
+ value: string;
22
+ }[]>;
23
+ required: true;
24
+ };
25
+ businessId: {
26
+ type: StringConstructor;
27
+ required: true;
28
+ };
29
+ restaurantId: {
30
+ type: StringConstructor;
31
+ default: undefined;
32
+ };
33
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
34
+ initialValue: {
35
+ type: PropType<SettlementFormValue>;
36
+ required: true;
37
+ };
38
+ bankNameOptions: {
39
+ type: PropType<{
40
+ label: string;
41
+ value: string;
42
+ }[]>;
43
+ required: true;
44
+ };
45
+ businessId: {
46
+ type: StringConstructor;
47
+ required: true;
48
+ };
49
+ restaurantId: {
50
+ type: StringConstructor;
51
+ default: undefined;
52
+ };
53
+ }>> & Readonly<{}>, {
54
+ restaurantId: string;
55
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
56
+ export default _default;