@feedmepos/mf-payment 1.1.0-beta.4 → 1.1.1
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.
- package/dist/{PayoutAccount-Ts2Z2raZ.js → PayoutAccount-CHlVhuln.js} +298 -284
- package/dist/{PayoutAccount-CZKUEPbN.js → PayoutAccount-Uxp8P5mP.js} +5 -5
- package/dist/{PayoutAccountSetting-DqSSSnQE.js → PayoutAccountSetting-CkxieU1X.js} +3 -3
- package/dist/{Restaurant-BCXBIILv.js → Restaurant-CuFO3QRI.js} +4 -4
- package/dist/{RestaurantSetting-4_3HIw6v.js → RestaurantSetting-Cu-aL7T5.js} +3 -3
- package/dist/{Settlement-Ts42OzTc.js → Settlement-DdtcmG-B.js} +3 -3
- package/dist/{Settlement-TZDo1dnJ.js → Settlement-sUK7hciE.js} +3 -3
- package/dist/{SettlementTransactions-C_H47ljE.js → SettlementTransactions-DEjvlqRR.js} +3 -3
- package/dist/{SettlementTransactions-Dyn6UWKB.js → SettlementTransactions-DmRHU4ub.js} +3 -3
- package/dist/{Terminal-C3tx-emu.js → Terminal-By5YvruF.js} +6 -6
- package/dist/{TerminalSetting-DpZucaIJ.js → TerminalSetting-CdJ5IUMx.js} +27 -27
- package/dist/{Transaction-iINu8lva.js → Transaction-DjnThfJj.js} +5 -5
- package/dist/{Transaction-5WAW_UKm.js → Transaction-fDV7uwPm.js} +7 -7
- package/dist/{TransactionOld-B6kAsyZm.js → TransactionOld-ClbfI26Q.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-DawAkV40.js → TransactionTable.vue_vue_type_script_setup_true_lang-V_Nu_Tfr.js} +3 -3
- package/dist/api/terminal/index.d.ts +2 -1
- package/dist/{app-RfKpnd0a.js → app-WLOsDqR3.js} +294 -294
- package/dist/app.js +1 -1
- package/dist/{assets-ChfqPf_m.js → assets-DGWEFqE0.js} +1 -1
- package/dist/{grafana-CH6R4WrA.js → grafana-DBVvRHL3.js} +2 -2
- package/dist/index-AnH6XmxC.js +52 -0
- package/dist/{index-CgwJFiRk.js → index-BTDZ_TfK.js} +1 -1
- package/dist/{index-CQWyIXv7.js → index-CsqWYojv.js} +1 -1
- package/dist/{index-BePu4ThV.js → index-DZogRypU.js} +1 -1
- package/dist/{index-DXP4-wA7.js → index-DlCgS8kr.js} +1361 -1361
- package/dist/{index-h18ASkaN.js → index-zH2qb_dJ.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CZU8RNiB.js → index.vue_vue_type_script_setup_true_lang-DI0S6frH.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-0OIjt3Zv.js → payout-account-DLHcoJHA.js} +110 -110
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/index-CCgcqFYk.js +0 -45
package/dist/app.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { g, b as H, r as c, f as E, l as v,
|
1
|
+
import { g, b as H, r as c, f as E, l as v, i as l, _ as J } from "./index-DlCgS8kr.js";
|
2
2
|
import { h as C } from "./moment-h96o7c8I.js";
|
3
3
|
import { d as O } from "./dinero-CIVmXLL-.js";
|
4
4
|
const K = {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { e as y } from "./index-
|
1
|
+
import { e as y } from "./index-DlCgS8kr.js";
|
2
2
|
import { useCoreStore as p } from "@feedmepos/mf-common";
|
3
3
|
import { h as m } from "./moment-h96o7c8I.js";
|
4
4
|
const i = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (t, e, o) => ({
|
@@ -32,7 +32,7 @@ const i = "https://grafana.feedme.farm/explore?schemaVersion=1", d = (t, e, o) =
|
|
32
32
|
{
|
33
33
|
type: "resource",
|
34
34
|
queryKey: "cluster",
|
35
|
-
queryValue: "
|
35
|
+
queryValue: "production"
|
36
36
|
},
|
37
37
|
{
|
38
38
|
type: "resource",
|
@@ -0,0 +1,52 @@
|
|
1
|
+
import { d as s, b as t, g as a, f as r, h as i } from "./index-DlCgS8kr.js";
|
2
|
+
const y = {
|
3
|
+
async create(e) {
|
4
|
+
return s(
|
5
|
+
await t().post("/payments/terminals", e)
|
6
|
+
);
|
7
|
+
},
|
8
|
+
async read(e) {
|
9
|
+
return s(
|
10
|
+
await t().get("/payments/terminals", {
|
11
|
+
params: { ...e }
|
12
|
+
})
|
13
|
+
);
|
14
|
+
},
|
15
|
+
async readById(e) {
|
16
|
+
return a(await t().get(`/payments/terminals/${e}`));
|
17
|
+
},
|
18
|
+
async updateById(e, n) {
|
19
|
+
return a(
|
20
|
+
await t().put(`/payments/terminals/${e}`, n)
|
21
|
+
);
|
22
|
+
},
|
23
|
+
async getBindCode(e) {
|
24
|
+
const { code: n } = a(
|
25
|
+
await t().get(`/payments/terminals/${e}/code`)
|
26
|
+
);
|
27
|
+
return n;
|
28
|
+
},
|
29
|
+
async unbind(e) {
|
30
|
+
return a(
|
31
|
+
await t().delete(`/payments/terminals/${e}/unbind`)
|
32
|
+
);
|
33
|
+
},
|
34
|
+
async delete(e) {
|
35
|
+
return a(
|
36
|
+
await t().delete(`/payments/terminals/${e}`)
|
37
|
+
);
|
38
|
+
},
|
39
|
+
async getBusinessTerminals() {
|
40
|
+
return a(await r().get("/terminals"));
|
41
|
+
},
|
42
|
+
async getRestaurantTerminals(e) {
|
43
|
+
return a(
|
44
|
+
await t().get(
|
45
|
+
`restaurants/${e}/terminals?deviceType=${i.FdoTerminalDeviceType.Enum.TERMINAL}`
|
46
|
+
)
|
47
|
+
);
|
48
|
+
}
|
49
|
+
};
|
50
|
+
export {
|
51
|
+
y as t
|
52
|
+
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { g as r, b as i,
|
1
|
+
import { g as r, b as i, j as d, l as y, k as f, i as l, r as m } from "./index-DlCgS8kr.js";
|
2
2
|
import { h as o } from "./moment-h96o7c8I.js";
|
3
3
|
import { d as u } from "./dinero-CIVmXLL-.js";
|
4
4
|
function* p(t, n) {
|