react-memory-optimization 0.1.2 → 0.1.3
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.
|
@@ -170,36 +170,72 @@ exports.PAYMENT_REQUEST_PATHS = {
|
|
|
170
170
|
path: types_1.EApiPath.CreateProdDeposit,
|
|
171
171
|
adapterFn: utils_1.restAdapterDeposit,
|
|
172
172
|
},
|
|
173
|
+
[types_1.EPaymentRequestPath.LimepayGrabMYRWithdraw]: {
|
|
174
|
+
path: types_1.EApiPath.CreateProdWithdraw,
|
|
175
|
+
adapterFn: utils_1.restAdapterWithdraw,
|
|
176
|
+
},
|
|
173
177
|
[types_1.EPaymentRequestPath.LimepayShopeePayMYRDeposit]: {
|
|
174
178
|
path: types_1.EApiPath.CreateProdDeposit,
|
|
175
179
|
adapterFn: utils_1.restAdapterDeposit,
|
|
176
180
|
},
|
|
181
|
+
[types_1.EPaymentRequestPath.LimepayShopeePayMYRWithdraw]: {
|
|
182
|
+
path: types_1.EApiPath.CreateProdWithdraw,
|
|
183
|
+
adapterFn: utils_1.restAdapterWithdraw,
|
|
184
|
+
},
|
|
177
185
|
[types_1.EPaymentRequestPath.LimepayTouchNGoMYRDeposit]: {
|
|
178
186
|
path: types_1.EApiPath.CreateProdDeposit,
|
|
179
187
|
adapterFn: utils_1.restAdapterDeposit,
|
|
180
188
|
},
|
|
189
|
+
[types_1.EPaymentRequestPath.LimepayTouchNGoMYRWithdraw]: {
|
|
190
|
+
path: types_1.EApiPath.CreateProdWithdraw,
|
|
191
|
+
adapterFn: utils_1.restAdapterWithdraw,
|
|
192
|
+
},
|
|
181
193
|
[types_1.EPaymentRequestPath.LimepayBoostMYRDeposit]: {
|
|
182
194
|
path: types_1.EApiPath.CreateProdDeposit,
|
|
183
195
|
adapterFn: utils_1.restAdapterDeposit,
|
|
184
196
|
},
|
|
197
|
+
[types_1.EPaymentRequestPath.LimepayBoostMYRWithdraw]: {
|
|
198
|
+
path: types_1.EApiPath.CreateProdWithdraw,
|
|
199
|
+
adapterFn: utils_1.restAdapterWithdraw,
|
|
200
|
+
},
|
|
185
201
|
[types_1.EPaymentRequestPath.LimepayDuitNowMYRDeposit]: {
|
|
186
202
|
path: types_1.EApiPath.CreateProdDeposit,
|
|
187
203
|
adapterFn: utils_1.restAdapterDeposit,
|
|
188
204
|
},
|
|
205
|
+
[types_1.EPaymentRequestPath.LimepayDuitNowMYRWithdraw]: {
|
|
206
|
+
path: types_1.EApiPath.CreateProdWithdraw,
|
|
207
|
+
adapterFn: utils_1.restAdapterWithdraw,
|
|
208
|
+
},
|
|
189
209
|
[types_1.EPaymentRequestPath.LimepayFPXMYRDeposit]: {
|
|
190
210
|
path: types_1.EApiPath.CreateProdDeposit,
|
|
191
211
|
adapterFn: utils_1.restAdapterDeposit,
|
|
192
212
|
},
|
|
213
|
+
[types_1.EPaymentRequestPath.LimepayFPXMYRWithdraw]: {
|
|
214
|
+
path: types_1.EApiPath.CreateProdWithdraw,
|
|
215
|
+
adapterFn: utils_1.restAdapterWithdraw,
|
|
216
|
+
},
|
|
193
217
|
[types_1.EPaymentRequestPath.LimepayBankTransferMYRDeposit]: {
|
|
194
218
|
path: types_1.EApiPath.CreateProdDeposit,
|
|
195
219
|
adapterFn: utils_1.restAdapterDeposit,
|
|
196
220
|
},
|
|
221
|
+
[types_1.EPaymentRequestPath.LimepayBankTransferMYRWithdraw]: {
|
|
222
|
+
path: types_1.EApiPath.CreateProdWithdraw,
|
|
223
|
+
adapterFn: utils_1.restAdapterWithdraw,
|
|
224
|
+
},
|
|
197
225
|
[types_1.EPaymentRequestPath.LimepayBigpayMYRDeposit]: {
|
|
198
226
|
path: types_1.EApiPath.CreateProdDeposit,
|
|
199
227
|
adapterFn: utils_1.restAdapterDeposit,
|
|
200
228
|
},
|
|
229
|
+
[types_1.EPaymentRequestPath.LimepayBigpayMYRWithdraw]: {
|
|
230
|
+
path: types_1.EApiPath.CreateProdWithdraw,
|
|
231
|
+
adapterFn: utils_1.restAdapterWithdraw,
|
|
232
|
+
},
|
|
201
233
|
[types_1.EPaymentRequestPath.LimepayMAEByMaybankMYRDeposit]: {
|
|
202
234
|
path: types_1.EApiPath.CreateProdDeposit,
|
|
203
235
|
adapterFn: utils_1.restAdapterDeposit,
|
|
204
236
|
},
|
|
237
|
+
[types_1.EPaymentRequestPath.LimepayMAEByMaybankMYRWithdraw]: {
|
|
238
|
+
path: types_1.EApiPath.CreateProdWithdraw,
|
|
239
|
+
adapterFn: utils_1.restAdapterWithdraw,
|
|
240
|
+
},
|
|
205
241
|
};
|
|
@@ -9,6 +9,7 @@ export declare enum EApiPath {
|
|
|
9
9
|
CreateProdDeposit = "/pay-service/api/v2/deposit/create",
|
|
10
10
|
CreateDevWithdraw = "/pay-service-dev/api/v2/withdrawal/create",
|
|
11
11
|
CreateProdWithdraw = "/pay-service/api/v2/withdrawal/create",
|
|
12
|
+
GetLimepayBankListMYWithdraw = "/api/v2/info/lime-pay/banks/MY/cashout",
|
|
12
13
|
GetPaymentBankListDeposit = "/pay-service/api/v2/info/banks/malaysia/payin",
|
|
13
14
|
GetPaymentBankListWithdraw = "/pay-service/api/v2/info/banks/malaysia/payout",
|
|
14
15
|
CancelWithdrawal = "/pay-service/api/v2/withdrawal/cancel"
|
|
@@ -61,14 +62,23 @@ export declare enum EPaymentRequestPath {
|
|
|
61
62
|
CreedoPayMayaPHPDeposit = "creedo_pay_maya_php_deposit",
|
|
62
63
|
CreedoPayMayaPHPWithdraw = "creedo_pay_maya_php_withdraw",
|
|
63
64
|
LimepayGrabMYRDeposit = "limepay_grab_myr_deposit",
|
|
65
|
+
LimepayGrabMYRWithdraw = "limepay_grab_myr_withdraw",
|
|
64
66
|
LimepayShopeePayMYRDeposit = "limepay_shopee_pay_myr_deposit",
|
|
67
|
+
LimepayShopeePayMYRWithdraw = "limepay_shopee_pay_myr_withdraw",
|
|
65
68
|
LimepayTouchNGoMYRDeposit = "limepay_touch_n_go_myr_deposit",
|
|
69
|
+
LimepayTouchNGoMYRWithdraw = "limepay_touch_n_go_myr_withdraw",
|
|
66
70
|
LimepayBoostMYRDeposit = "limepay_boost_myr_deposit",
|
|
71
|
+
LimepayBoostMYRWithdraw = "limepay_boost_myr_withdraw",
|
|
67
72
|
LimepayDuitNowMYRDeposit = "limepay_duitnow_myr_deposit",
|
|
73
|
+
LimepayDuitNowMYRWithdraw = "limepay_duitnow_myr_withdraw",
|
|
68
74
|
LimepayFPXMYRDeposit = "limepay_fpx_myr_deposit",
|
|
75
|
+
LimepayFPXMYRWithdraw = "limepay_fpx_myr_withdraw",
|
|
69
76
|
LimepayBankTransferMYRDeposit = "limepay_bank_transfer_myr_deposit",
|
|
77
|
+
LimepayBankTransferMYRWithdraw = "limepay_bank_transfer_myr_withdraw",
|
|
70
78
|
LimepayBigpayMYRDeposit = "limepay_bigpay_myr_deposit",
|
|
71
|
-
|
|
79
|
+
LimepayBigpayMYRWithdraw = "limepay_bigpay_myr_withdraw",
|
|
80
|
+
LimepayMAEByMaybankMYRDeposit = "limepay_mae_by_maybank_myr_deposit",
|
|
81
|
+
LimepayMAEByMaybankMYRWithdraw = "limepay_mae_by_maybank_myr_withdraw"
|
|
72
82
|
}
|
|
73
83
|
export type ApiList = {
|
|
74
84
|
[key: string]: {
|
|
@@ -12,6 +12,7 @@ var EApiPath;
|
|
|
12
12
|
EApiPath["CreateProdDeposit"] = "/pay-service/api/v2/deposit/create";
|
|
13
13
|
EApiPath["CreateDevWithdraw"] = "/pay-service-dev/api/v2/withdrawal/create";
|
|
14
14
|
EApiPath["CreateProdWithdraw"] = "/pay-service/api/v2/withdrawal/create";
|
|
15
|
+
EApiPath["GetLimepayBankListMYWithdraw"] = "/api/v2/info/lime-pay/banks/MY/cashout";
|
|
15
16
|
EApiPath["GetPaymentBankListDeposit"] = "/pay-service/api/v2/info/banks/malaysia/payin";
|
|
16
17
|
EApiPath["GetPaymentBankListWithdraw"] = "/pay-service/api/v2/info/banks/malaysia/payout";
|
|
17
18
|
EApiPath["CancelWithdrawal"] = "/pay-service/api/v2/withdrawal/cancel";
|
|
@@ -68,23 +69,23 @@ var EPaymentRequestPath;
|
|
|
68
69
|
EPaymentRequestPath["CreedoPayMayaPHPDeposit"] = "creedo_pay_maya_php_deposit";
|
|
69
70
|
EPaymentRequestPath["CreedoPayMayaPHPWithdraw"] = "creedo_pay_maya_php_withdraw";
|
|
70
71
|
EPaymentRequestPath["LimepayGrabMYRDeposit"] = "limepay_grab_myr_deposit";
|
|
71
|
-
|
|
72
|
+
EPaymentRequestPath["LimepayGrabMYRWithdraw"] = "limepay_grab_myr_withdraw";
|
|
72
73
|
EPaymentRequestPath["LimepayShopeePayMYRDeposit"] = "limepay_shopee_pay_myr_deposit";
|
|
73
|
-
|
|
74
|
+
EPaymentRequestPath["LimepayShopeePayMYRWithdraw"] = "limepay_shopee_pay_myr_withdraw";
|
|
74
75
|
EPaymentRequestPath["LimepayTouchNGoMYRDeposit"] = "limepay_touch_n_go_myr_deposit";
|
|
75
|
-
|
|
76
|
+
EPaymentRequestPath["LimepayTouchNGoMYRWithdraw"] = "limepay_touch_n_go_myr_withdraw";
|
|
76
77
|
EPaymentRequestPath["LimepayBoostMYRDeposit"] = "limepay_boost_myr_deposit";
|
|
77
|
-
|
|
78
|
+
EPaymentRequestPath["LimepayBoostMYRWithdraw"] = "limepay_boost_myr_withdraw";
|
|
78
79
|
EPaymentRequestPath["LimepayDuitNowMYRDeposit"] = "limepay_duitnow_myr_deposit";
|
|
79
|
-
|
|
80
|
+
EPaymentRequestPath["LimepayDuitNowMYRWithdraw"] = "limepay_duitnow_myr_withdraw";
|
|
80
81
|
EPaymentRequestPath["LimepayFPXMYRDeposit"] = "limepay_fpx_myr_deposit";
|
|
81
|
-
|
|
82
|
+
EPaymentRequestPath["LimepayFPXMYRWithdraw"] = "limepay_fpx_myr_withdraw";
|
|
82
83
|
EPaymentRequestPath["LimepayBankTransferMYRDeposit"] = "limepay_bank_transfer_myr_deposit";
|
|
83
|
-
|
|
84
|
+
EPaymentRequestPath["LimepayBankTransferMYRWithdraw"] = "limepay_bank_transfer_myr_withdraw";
|
|
84
85
|
EPaymentRequestPath["LimepayBigpayMYRDeposit"] = "limepay_bigpay_myr_deposit";
|
|
85
|
-
|
|
86
|
+
EPaymentRequestPath["LimepayBigpayMYRWithdraw"] = "limepay_bigpay_myr_withdraw";
|
|
86
87
|
EPaymentRequestPath["LimepayMAEByMaybankMYRDeposit"] = "limepay_mae_by_maybank_myr_deposit";
|
|
87
|
-
|
|
88
|
+
EPaymentRequestPath["LimepayMAEByMaybankMYRWithdraw"] = "limepay_mae_by_maybank_myr_withdraw";
|
|
88
89
|
})(EPaymentRequestPath || (exports.EPaymentRequestPath = EPaymentRequestPath = {}));
|
|
89
90
|
// FlashPayUpiDeposit
|
|
90
91
|
var EPaymentStatusCode;
|