@feedmepos/mf-payment 1.5.15-dev → 1.5.17-dev
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/{Actions.vue_vue_type_script_setup_true_lang-CLkp8JcO.js → Actions.vue_vue_type_script_setup_true_lang-BVJmo7yZ.js} +2 -2
- package/dist/{Chargeback-R8rLkSPi.js → Chargeback-CN_5ffe0.js} +5 -5
- package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-CnU1zi3r.js → DocumentViewer.vue_vue_type_script_setup_true_lang-DVeP7_1A.js} +1 -1
- package/dist/{OnboardForm-CNaKWFQX.js → OnboardForm-5Ebr2vf9.js} +5 -5
- package/dist/{OnboardForm-DCRxmpgD.js → OnboardForm-Ch_Ykfw_.js} +5 -5
- package/dist/{OnboardSubmission-BUoveq0K.js → OnboardSubmission-BF3Wq8xe.js} +5 -5
- package/dist/{OnboardSubmission-DhXtYG1S.js → OnboardSubmission-JGk9_ODn.js} +2 -2
- package/dist/{PayoutAccount-D8gaqc9Q.js → PayoutAccount-D238lqNT.js} +5 -5
- package/dist/{PayoutAccount-C-quZLpf.js → PayoutAccount-PPkKjWQM.js} +4 -4
- package/dist/{PayoutAccountSetting-Ec4vewxl.js → PayoutAccountSetting-BGqJyEP-.js} +4 -4
- package/dist/{Restaurant-Ddhkd-G2.js → Restaurant-BjF1a029.js} +4 -4
- package/dist/{RestaurantSetting-DuDZwZQg.js → RestaurantSetting-DC0f4Ucf.js} +3 -3
- package/dist/{Settlement-DvPatpnE.js → Settlement-BC3V4klw.js} +3 -3
- package/dist/{Settlement-Bw6ZMA1W.js → Settlement-ZBIhVddV.js} +3 -3
- package/dist/{SettlementTransactions-BK91LbDg.js → SettlementTransactions---x0z4Fg.js} +4 -4
- package/dist/{SettlementTransactions-UkVWc4IL.js → SettlementTransactions-NtqKVZ4y.js} +4 -4
- package/dist/{Status.vue_vue_type_script_setup_true_lang-D13rXkSg.js → Status.vue_vue_type_script_setup_true_lang-DiLHaz81.js} +1 -1
- package/dist/{Terminal-BuAbeq_u.js → Terminal-Dp4YfQLn.js} +5 -5
- package/dist/{TerminalSetting-DtkRiJ-N.js → TerminalSetting-22VMhd8q.js} +3 -3
- package/dist/{Transaction-CGkWGf8H.js → Transaction-BiT6BRmx.js} +6 -6
- package/dist/{Transaction-CbLXwJ6U.js → Transaction-JFDOKyml.js} +9 -9
- package/dist/{TransactionOld-B4axindL.js → TransactionOld-CmRVIeU2.js} +6 -6
- package/dist/{app-DtktuAyo.js → app-DKtypFfA.js} +23 -23
- package/dist/app.js +1 -1
- package/dist/{assets-ChQw3_h_.js → assets-lFgK3KQx.js} +1 -1
- package/dist/{grafana-ZadS2TAl.js → grafana-BRpcfaCo.js} +1 -1
- package/dist/{index-BXRGlmD3.js → index-9ABD__aA.js} +1 -1
- package/dist/{index-DJumZDHb.js → index-CFxxPCNY.js} +1 -1
- package/dist/{index-Danmh2r0.js → index-CHX0p0Dm.js} +1 -1
- package/dist/{index-BVqqyhEi.js → index-DTD9SWXp.js} +1 -1
- package/dist/{index-Cr0VbxyI.js → index-QTsd1BO1.js} +4653 -4661
- package/dist/{index-BxzMGmCQ.js → index-Ur-VjIjX.js} +26 -23
- package/dist/{index-DLZeFbnj.js → index-VWqgxrIV.js} +1 -1
- package/dist/{index-sGfw2TZV.js → index-hKHpA30o.js} +1 -1
- package/dist/{index-BBDlHcZ5.js → index-s7pe9sTx.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DY9xkB-6.js → index.vue_vue_type_script_setup_true_lang-QCvHWbIq.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-5IQ3sdbp.js → payout-account-CGaqvbMg.js} +3 -3
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,65 +1,68 @@
|
|
|
1
|
-
import { g as
|
|
2
|
-
import { h as
|
|
3
|
-
import { d as
|
|
4
|
-
const
|
|
1
|
+
import { g as t, b as a, o as u, d as m } from "./index-QTsd1BO1.js";
|
|
2
|
+
import { h as d } from "./moment-h96o7c8I.js";
|
|
3
|
+
import { d as b } from "./index-DTD9SWXp.js";
|
|
4
|
+
const w = {
|
|
5
5
|
async read(s) {
|
|
6
|
-
return
|
|
6
|
+
return m(
|
|
7
7
|
await a().get("/payments/onboard-submissions", {
|
|
8
8
|
params: { ...s }
|
|
9
9
|
})
|
|
10
10
|
);
|
|
11
11
|
},
|
|
12
12
|
async readById(s) {
|
|
13
|
-
return
|
|
13
|
+
return t(
|
|
14
14
|
await a().get(`/payments/onboard-submissions/${s}`)
|
|
15
15
|
);
|
|
16
16
|
},
|
|
17
17
|
async previewDocument(s) {
|
|
18
|
-
const
|
|
18
|
+
const n = await a().get(
|
|
19
19
|
`payments/onboard-submissions/${s}/document`,
|
|
20
20
|
{ responseType: "blob" }
|
|
21
21
|
);
|
|
22
|
-
|
|
22
|
+
u(n.data);
|
|
23
23
|
},
|
|
24
24
|
async sendDocument(s) {
|
|
25
|
-
return
|
|
25
|
+
return t(
|
|
26
26
|
await a().post(
|
|
27
27
|
`payments/onboard-submissions/${s}/send`
|
|
28
28
|
)
|
|
29
29
|
);
|
|
30
30
|
},
|
|
31
|
-
async reviewById(s,
|
|
32
|
-
return
|
|
31
|
+
async reviewById(s, n) {
|
|
32
|
+
return t(
|
|
33
33
|
await a().put(
|
|
34
34
|
`/payments/onboard-submissions/${s}`,
|
|
35
|
-
|
|
35
|
+
n
|
|
36
36
|
)
|
|
37
37
|
);
|
|
38
38
|
},
|
|
39
|
-
async getById(s,
|
|
40
|
-
return
|
|
39
|
+
async getById(s, n) {
|
|
40
|
+
return t(
|
|
41
41
|
await a().get(
|
|
42
|
-
`restaurants/${
|
|
42
|
+
`restaurants/${n}/onboard-submissions/${s}`
|
|
43
43
|
)
|
|
44
44
|
);
|
|
45
45
|
},
|
|
46
46
|
async getByRestaurant(s) {
|
|
47
|
-
return
|
|
47
|
+
return t(
|
|
48
48
|
await a().get(
|
|
49
49
|
`restaurants/${s}/onboard-submissions`
|
|
50
50
|
)
|
|
51
51
|
);
|
|
52
52
|
},
|
|
53
|
-
async uploadDocument(s,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
async uploadDocument(s, n, e) {
|
|
54
|
+
var r;
|
|
55
|
+
const i = d().toISOString(), o = (r = e.name.toLowerCase().match(/\.([a-z0-9]+)$/)) == null ? void 0 : r[1];
|
|
56
|
+
if (!o)
|
|
57
|
+
throw new Error("Unable to determine file extension from filename");
|
|
58
|
+
return await b.upload(
|
|
59
|
+
`restaurant/${s}/documents/${n}/${i}.${o}`,
|
|
60
|
+
e,
|
|
58
61
|
s
|
|
59
62
|
);
|
|
60
63
|
},
|
|
61
64
|
async updateSubmission(s) {
|
|
62
|
-
return
|
|
65
|
+
return t(
|
|
63
66
|
await a().put(
|
|
64
67
|
`restaurants/${s.restaurantId}/onboard-submissions`,
|
|
65
68
|
s
|
|
@@ -68,5 +71,5 @@ const c = {
|
|
|
68
71
|
}
|
|
69
72
|
};
|
|
70
73
|
export {
|
|
71
|
-
|
|
74
|
+
w as o
|
|
72
75
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as U, ref as r, resolveComponent as f, openBlock as g, createBlock as S, withCtx as z, createElementVNode as s, normalizeStyle as j, createElementBlock as B, Fragment as N, renderList as E, createVNode as c, computed as _, watch as I, onMounted as O, unref as C, toDisplayString as D, createCommentVNode as R, nextTick as G, normalizeClass as H } from "vue";
|
|
2
|
-
import { u as J } from "./index-
|
|
2
|
+
import { u as J } from "./index-QTsd1BO1.js";
|
|
3
3
|
import "@feedmepos/ui-library";
|
|
4
4
|
const K = ["id"], L = /* @__PURE__ */ U({
|
|
5
5
|
__name: "FmTableSelection",
|
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as st, c as it, p as E, B as at } from "./index-
|
|
1
|
+
import { a as st, c as it, p as E, B as at } from "./index-QTsd1BO1.js";
|
|
2
2
|
import { useCoreStore as ut } from "@feedmepos/mf-common";
|
|
3
|
-
import { d as H } from "./index-
|
|
4
|
-
import { _ as ot } from "./app-
|
|
3
|
+
import { d as H } from "./index-DTD9SWXp.js";
|
|
4
|
+
import { _ as ot } from "./app-DKtypFfA.js";
|
|
5
5
|
var Q = { exports: {} };
|
|
6
6
|
(function(i, a) {
|
|
7
7
|
(function(t, m) {
|