@feedmepos/mf-connect 0.0.18-prod → 0.0.19-prod
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/Analytic-Ch5vd0M4.js +759 -0
- package/dist/{Broadcast-SK3ik91V.js → Broadcast-3I89gcxD.js} +7 -7
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BGzuAEwI.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CXjLvOFM.js} +8 -8
- package/dist/{Card-0-hxxpiV.js → Card-BEJ03OCX.js} +96 -96
- package/dist/{Collections-pnUS2NUo.js → Collections-DOvO-cyf.js} +6 -6
- package/dist/{Credit-UcSstIA6.js → Credit-CS_f8MWQ.js} +7 -7
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-Ck-cXc7h.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-4EqJZVlT.js} +20 -20
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-Dfw0Eph1.js → EffectSheet.vue_vue_type_style_index_0_lang-CEf5oXj2.js} +5 -5
- package/dist/{Experience-D7682kjb.js → Experience-BMRDA9az.js} +7 -7
- package/dist/{Game-ugwJfw5Z.js → Game-jajGoiRD.js} +7 -7
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-CQ1J_8U7.js → ImageInput.vue_vue_type_script_setup_true_lang-D1HZobOu.js} +1 -1
- package/dist/{MainLayout-B_mALJzY.js → MainLayout-B2So6_3h.js} +1 -1
- package/dist/{Marketing-C0H14x8-.js → Marketing-B7ep8HRJ.js} +14 -14
- package/dist/{Member-CxVXoNzi.js → Member-dh5AwXCY.js} +2 -2
- package/dist/{MemberList-3XALU8N1.js → MemberList-BG8RU-_z.js} +11 -11
- package/dist/{MemberTransactions-Va--4_bi.js → MemberTransactions-CQVgmcp5.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DpK7c7Zu.js → MessageInput.vue_vue_type_script_setup_true_lang-CEdItTM7.js} +2 -2
- package/dist/{Mission-D9ASjTM_.js → Mission-BRHhSI6-.js} +14 -14
- package/dist/{Point-DXllJyrF.js → Point-Ckemk8sq.js} +7 -7
- package/dist/{Promotion-ByujYVZV.js → Promotion-BZLQARR5.js} +8 -8
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-D9uygHXu.js → RuleGroup.vue_vue_type_script_setup_true_lang-D0qw6tOD.js} +13 -13
- package/dist/{Segment-DzYLWnEx.js → Segment-DNuB8-_e.js} +9 -9
- package/dist/{Setting-3JrqJeay.js → Setting-CSHcFTQc.js} +126 -126
- package/dist/Store-BOqFpaYd.js +1502 -0
- package/dist/{StoreRewards-BIyTKYQ7.js → StoreRewards-BNxVa94v.js} +9 -9
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-Cd9ReYzL.js → StoreTransactions.vue_vue_type_script_setup_true_lang-CKZJmSBk.js} +82 -79
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-DTfuVmSz.js +139 -0
- package/dist/{Tier-DSOYEDpP.js → Tier-pYkfcAIL.js} +16 -16
- package/dist/{Title-Bwgpdw5W.js → Title-L7b7bGBO.js} +15 -15
- package/dist/{Transaction-BA1wqoKh.js → Transaction-BYb73ORt.js} +1 -1
- package/dist/{Voucher-ZMryMClH.js → Voucher-DjGB0Ajs.js} +20 -20
- package/dist/{app--QGN757T.js → app-CYp3yPPw.js} +1 -1
- package/dist/{app-gMUoPAtF.js → app-vzsH1VQf.js} +38 -38
- package/dist/app.js +1 -1
- package/dist/{campaign-DWA08UtZ.js → campaign-Byj6dpxX.js} +2 -2
- package/dist/{dto-EdZglrpA.js → dto-CVEezNuM.js} +8 -8
- package/dist/{effect-BGQxHIBT.js → effect-ueqMoqiZ.js} +1 -1
- package/dist/{export-CvoZ48Rq.js → export-B1vfJQ_D.js} +3 -3
- package/dist/{helper-BTpTsE8-.js → helper-DeFgiHSS.js} +1 -1
- package/dist/{index-BFJS-YmL.js → index-B-FWvOVj.js} +1 -1
- package/dist/{index-0t3kF_Tg.js → index-B5m-noV5.js} +1 -1
- package/dist/{index-BVqa77Ch.js → index-BehSlDVX.js} +1 -1
- package/dist/index-BqH31bb7.js +291 -0
- package/dist/{index-BxMkJPP_.js → index-BrA2zACe.js} +2 -2
- package/dist/{index-CY0A-Rfl.js → index-C-RRKtNp.js} +5 -5
- package/dist/{index-HPSSJKsc.js → index-Cwmk_EmE.js} +6 -5
- package/dist/{index-Blh8vWHb.js → index-D4MN0F2_.js} +1 -1
- package/dist/{index-D4KUQKKJ.js → index-DdEBZ4p_.js} +3 -3
- package/dist/{index-D_vvblAz.js → index-m6PFUpwd.js} +2 -2
- package/dist/{loading-Cgp9wWK3.js → loading-C7UDAIcq.js} +4 -4
- package/dist/{lodash-m4OgMZ4R.js → lodash-Cc-nE72h.js} +1 -1
- package/dist/{membership-VeQiYdQd.js → membership-D-jW62pj.js} +63 -58
- package/dist/{money-DUtWOAkL.js → money-gDtjN552.js} +1 -1
- package/dist/{number-D-YjTFfa.js → number-Cg9DyGBY.js} +2 -2
- package/dist/{rule-b2srzDD8.js → rule-BVqVI-WL.js} +2 -2
- package/dist/{rule-builder-CsFDa4FH.js → rule-builder-o8Axr-t4.js} +1 -1
- package/dist/{template-B8msjWjA.js → template-ARPGA10Y.js} +5 -5
- package/dist/{usePagination-D1R6ZAK_.js → usePagination-DTsDtrYI.js} +1 -1
- package/dist/{xlsx-DlpKgn7I.js → xlsx-DHfAWgSM.js} +1 -1
- package/package.json +1 -1
- package/dist/Analytic-uwlRSM7O.js +0 -612
- package/dist/Store-2dsgXsLe.js +0 -1442
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-BafQ0glH.js +0 -124
- package/dist/index-BTYqlJ9v.js +0 -244
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import { defineComponent as C, ref as U, computed as B, resolveComponent as g, openBlock as o, createElementBlock as u, Fragment as v, toDisplayString as L, createCommentVNode as N, createElementVNode as E, createVNode as h, unref as d, renderList as x, createBlock as S, isRef as I, withCtx as p } from "vue";
|
|
2
|
-
import { a as A } from "./app-gMUoPAtF.js";
|
|
3
|
-
function M(e, m, t) {
|
|
4
|
-
return e.some(
|
|
5
|
-
t instanceof Function ? t : (a) => a === m
|
|
6
|
-
) || e.push(m), e;
|
|
7
|
-
}
|
|
8
|
-
function w(e, m, t) {
|
|
9
|
-
return e.filter(
|
|
10
|
-
t instanceof Function ? (a) => !t(a) : (a) => a !== m
|
|
11
|
-
);
|
|
12
|
-
}
|
|
13
|
-
const j = {
|
|
14
|
-
key: 0,
|
|
15
|
-
class: "fm-typo-en-body-lg-400"
|
|
16
|
-
}, q = {
|
|
17
|
-
key: 1,
|
|
18
|
-
class: "space-y-4"
|
|
19
|
-
}, D = { key: 0 }, O = { key: 1 }, R = { key: 2 }, z = /* @__PURE__ */ C({
|
|
20
|
-
__name: "TargetLocationInput",
|
|
21
|
-
props: {
|
|
22
|
-
label: {
|
|
23
|
-
type: String
|
|
24
|
-
},
|
|
25
|
-
type: {
|
|
26
|
-
type: String,
|
|
27
|
-
default: "select"
|
|
28
|
-
},
|
|
29
|
-
modelValue: {
|
|
30
|
-
type: Object,
|
|
31
|
-
required: !0
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
emits: ["update:model-value"],
|
|
35
|
-
setup(e, { emit: m }) {
|
|
36
|
-
const t = A(), a = e, f = m;
|
|
37
|
-
function k(y, n) {
|
|
38
|
-
const i = y ? M(a.modelValue || [], n.toString()) : w(
|
|
39
|
-
a.modelValue || t.locations.map((s) => s._id.toString()),
|
|
40
|
-
n.toString()
|
|
41
|
-
);
|
|
42
|
-
return f("update:model-value", i);
|
|
43
|
-
}
|
|
44
|
-
const c = U(!1), F = B(() => {
|
|
45
|
-
var i, s;
|
|
46
|
-
const n = ((i = a.modelValue) == null ? void 0 : i.slice(0, 5).map((r) => {
|
|
47
|
-
var V;
|
|
48
|
-
return ((V = t.locationById(r)) == null ? void 0 : V.name) || r;
|
|
49
|
-
})) || [];
|
|
50
|
-
return a.modelValue && ((s = a.modelValue) == null ? void 0 : s.length) > 5 && n.push(`+${a.modelValue.length - 5} more`), n;
|
|
51
|
-
});
|
|
52
|
-
return (y, n) => {
|
|
53
|
-
const i = g("FmCheckbox"), s = g("FmChip"), r = g("FmField"), V = g("FmMenu");
|
|
54
|
-
return o(), u(v, null, [
|
|
55
|
-
e.label ? (o(), u("div", j, L(e.label), 1)) : N("", !0),
|
|
56
|
-
e.type === "checkbox" ? (o(), u("div", q, [
|
|
57
|
-
E("div", null, [
|
|
58
|
-
h(i, {
|
|
59
|
-
value: null,
|
|
60
|
-
indeterminate: e.modelValue != null && e.modelValue.length > 0 && e.modelValue.length < d(t).locations.length,
|
|
61
|
-
label: "All locations",
|
|
62
|
-
"model-value": e.modelValue == null || e.modelValue.length === d(t).locations.length,
|
|
63
|
-
"onUpdate:modelValue": n[0] || (n[0] = (l) => f("update:model-value", l ? null : []))
|
|
64
|
-
}, null, 8, ["indeterminate", "model-value"])
|
|
65
|
-
]),
|
|
66
|
-
(o(!0), u(v, null, x(d(t).locations, (l) => (o(), u("div", {
|
|
67
|
-
key: l._id.toString()
|
|
68
|
-
}, [
|
|
69
|
-
h(i, {
|
|
70
|
-
value: l._id.toString(),
|
|
71
|
-
label: l.name,
|
|
72
|
-
"model-value": !e.modelValue || e.modelValue.includes(l._id.toString()),
|
|
73
|
-
"onUpdate:modelValue": (b) => k(b, l._id.toString())
|
|
74
|
-
}, null, 8, ["value", "label", "model-value", "onUpdate:modelValue"])
|
|
75
|
-
]))), 128))
|
|
76
|
-
])) : (o(), S(V, {
|
|
77
|
-
key: 2,
|
|
78
|
-
modelValue: d(c),
|
|
79
|
-
"onUpdate:modelValue": n[2] || (n[2] = (l) => I(c) ? c.value = l : null),
|
|
80
|
-
onMenuChanged: n[3] || (n[3] = (l) => c.value = l),
|
|
81
|
-
placement: "top-end"
|
|
82
|
-
}, {
|
|
83
|
-
"menu-button": p(() => [
|
|
84
|
-
h(r, {
|
|
85
|
-
"append-icon": d(c) ? "expand_more" : "expand_less",
|
|
86
|
-
class: "!h-auto"
|
|
87
|
-
}, {
|
|
88
|
-
default: p(() => [
|
|
89
|
-
!e.modelValue || e.modelValue.length == d(t).locations.length ? (o(), u("div", D, " All Locations ")) : e.modelValue.length ? (o(), u("div", R, [
|
|
90
|
-
(o(!0), u(v, null, x(d(F), (l) => (o(), S(s, {
|
|
91
|
-
key: l,
|
|
92
|
-
label: l,
|
|
93
|
-
class: "max-w-[130px] text-ellipsis"
|
|
94
|
-
}, null, 8, ["label"]))), 128))
|
|
95
|
-
])) : (o(), u("div", O, "No Locations"))
|
|
96
|
-
]),
|
|
97
|
-
_: 1
|
|
98
|
-
}, 8, ["append-icon"])
|
|
99
|
-
]),
|
|
100
|
-
default: p(() => [
|
|
101
|
-
h(i, {
|
|
102
|
-
value: null,
|
|
103
|
-
indeterminate: e.modelValue != null && e.modelValue.length > 0 && e.modelValue.length < d(t).locations.length,
|
|
104
|
-
label: "All locations",
|
|
105
|
-
"model-value": e.modelValue == null || e.modelValue.length === d(t).locations.length,
|
|
106
|
-
"onUpdate:modelValue": n[1] || (n[1] = (l) => f("update:model-value", l ? null : []))
|
|
107
|
-
}, null, 8, ["indeterminate", "model-value"]),
|
|
108
|
-
(o(!0), u(v, null, x(d(t).locations, (l) => (o(), S(i, {
|
|
109
|
-
key: l._id.toString(),
|
|
110
|
-
value: l._id.toString(),
|
|
111
|
-
label: l.name,
|
|
112
|
-
"model-value": !e.modelValue || e.modelValue.includes(l._id.toString()),
|
|
113
|
-
"onUpdate:modelValue": (b) => k(b, l._id.toString())
|
|
114
|
-
}, null, 8, ["value", "label", "model-value", "onUpdate:modelValue"]))), 128))
|
|
115
|
-
]),
|
|
116
|
-
_: 1
|
|
117
|
-
}, 8, ["modelValue"]))
|
|
118
|
-
], 64);
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
export {
|
|
123
|
-
z as _
|
|
124
|
-
};
|
package/dist/index-BTYqlJ9v.js
DELETED
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
import { z as n, F as e, g as b, e as t, m as i } from "./loading-Cgp9wWK3.js";
|
|
2
|
-
import { e as s } from "./index-BxMkJPP_.js";
|
|
3
|
-
import "vue";
|
|
4
|
-
const g = n.object({
|
|
5
|
-
icon: n.string(),
|
|
6
|
-
label: n.string(),
|
|
7
|
-
value: n.string()
|
|
8
|
-
}), y = n.object({
|
|
9
|
-
gatewayKey: n.enum([
|
|
10
|
-
"REVENUE_MONSTER",
|
|
11
|
-
"FEEDME",
|
|
12
|
-
"FEEDME_MEMBER_CREDIT",
|
|
13
|
-
"RAZER_MERCHANT_SERVICE"
|
|
14
|
-
]),
|
|
15
|
-
checkoutUrl: n.string().optional(),
|
|
16
|
-
checkoutId: n.string().optional(),
|
|
17
|
-
callbackUrl: n.string().optional(),
|
|
18
|
-
vcode: n.string().optional(),
|
|
19
|
-
merchantId: n.string().optional(),
|
|
20
|
-
amount: n.string().optional(),
|
|
21
|
-
currency: n.string().optional(),
|
|
22
|
-
returnUrl: n.string().optional(),
|
|
23
|
-
notifyUrl: n.string().optional(),
|
|
24
|
-
channels: n.array(g).optional(),
|
|
25
|
-
transactionId: n.string().optional()
|
|
26
|
-
});
|
|
27
|
-
n.object({
|
|
28
|
-
trx: n.lazy(() => x),
|
|
29
|
-
onlineTrx: y.optional(),
|
|
30
|
-
url: n.string().optional()
|
|
31
|
-
});
|
|
32
|
-
const a = n.enum(["POS", "APP"]), c = n.enum(["topupCount"]), h = n.object({
|
|
33
|
-
line1: n.string(),
|
|
34
|
-
line2: n.string().optional(),
|
|
35
|
-
state: n.string(),
|
|
36
|
-
city: n.string(),
|
|
37
|
-
postcode: n.string(),
|
|
38
|
-
country: n.string()
|
|
39
|
-
}), l = n.object({
|
|
40
|
-
name: n.string(),
|
|
41
|
-
regNo: n.string(),
|
|
42
|
-
address: h,
|
|
43
|
-
phoneNo: n.string(),
|
|
44
|
-
sstRegNo: n.string().optional()
|
|
45
|
-
}), d = n.object({
|
|
46
|
-
systemCode: n.string(),
|
|
47
|
-
inclusive: n.boolean()
|
|
48
|
-
}), E = n.object({
|
|
49
|
-
id: e,
|
|
50
|
-
dayToExpire: n.number()
|
|
51
|
-
}), j = n.object({
|
|
52
|
-
normal: n.coerce.number(),
|
|
53
|
-
free: n.object({
|
|
54
|
-
day: n.coerce.number(),
|
|
55
|
-
amount: n.coerce.number(),
|
|
56
|
-
remark: n.string().nullish()
|
|
57
|
-
}).nullish()
|
|
58
|
-
}), F = n.object({
|
|
59
|
-
systemCode: n.string(),
|
|
60
|
-
taxCode: n.string()
|
|
61
|
-
}), _ = n.object({
|
|
62
|
-
name: n.string(),
|
|
63
|
-
systemCode: n.string(),
|
|
64
|
-
taxCode: n.string(),
|
|
65
|
-
rate: b,
|
|
66
|
-
total: t
|
|
67
|
-
});
|
|
68
|
-
n.object({
|
|
69
|
-
canPurchase: n.boolean(),
|
|
70
|
-
reason: n.string()
|
|
71
|
-
});
|
|
72
|
-
n.object({
|
|
73
|
-
type: c
|
|
74
|
-
});
|
|
75
|
-
n.object({
|
|
76
|
-
type: c,
|
|
77
|
-
min: n.number().nullish(),
|
|
78
|
-
max: n.number().nullish()
|
|
79
|
-
});
|
|
80
|
-
const f = n.object({
|
|
81
|
-
options: n.object({
|
|
82
|
-
maxReceive: n.number().min(0).nullish(),
|
|
83
|
-
maxPerUser: n.number().min(0).nullish()
|
|
84
|
-
}),
|
|
85
|
-
rule: s.nullish()
|
|
86
|
-
}), u = n.object({
|
|
87
|
-
_id: n.string(),
|
|
88
|
-
// conditions: z.array(FdoTopupCountCondition),
|
|
89
|
-
image: n.string().nullish(),
|
|
90
|
-
rule: s.nullish(),
|
|
91
|
-
name: n.string(),
|
|
92
|
-
price: t,
|
|
93
|
-
originalPrice: t.nullish(),
|
|
94
|
-
// new field to indicate coinPrice
|
|
95
|
-
coinPrice: n.number().nullish(),
|
|
96
|
-
titles: n.array(E),
|
|
97
|
-
credit: j,
|
|
98
|
-
taxes: n.array(F),
|
|
99
|
-
taxTotals: n.array(_),
|
|
100
|
-
priceWithTaxes: t.nullish(),
|
|
101
|
-
vouchers: n.array(e),
|
|
102
|
-
_inclusiveTaxes: n.array(d).nullish(),
|
|
103
|
-
_taxSystem: n.array(n.string()).nullish(),
|
|
104
|
-
stripePriceId: n.string().nullish(),
|
|
105
|
-
subscriptionValidity: n.number().min(1, "Must be at least 1 day").max(365, "Maximum is 365").nullish(),
|
|
106
|
-
redeemWithCode: n.boolean().nullish(),
|
|
107
|
-
internal: n.boolean().optional(),
|
|
108
|
-
hideInPos: n.boolean().optional(),
|
|
109
|
-
config: f.optional(),
|
|
110
|
-
pf_titles: n.array(n.any()).optional(),
|
|
111
|
-
pf_vouchers: n.array(n.any()).optional(),
|
|
112
|
-
pf_credit: n.number().optional()
|
|
113
|
-
}).superRefine((o, r) => {
|
|
114
|
-
o.stripePriceId && !o.subscriptionValidity && r.addIssue({
|
|
115
|
-
code: "custom",
|
|
116
|
-
message: "Validity is required when stripePriceId is provided",
|
|
117
|
-
path: ["subscriptionValidity"]
|
|
118
|
-
}), o.originalPrice && o.originalPrice.amount && o.originalPrice.amount < o.price.amount && r.addIssue({
|
|
119
|
-
code: "custom",
|
|
120
|
-
message: "Original price must be greater than price",
|
|
121
|
-
path: ["originalPrice"]
|
|
122
|
-
});
|
|
123
|
-
}), p = n.object({
|
|
124
|
-
name: n.string(),
|
|
125
|
-
bundles: n.array(u)
|
|
126
|
-
});
|
|
127
|
-
n.object({
|
|
128
|
-
_id: n.string(),
|
|
129
|
-
name: n.string(),
|
|
130
|
-
expiredAt: n.string()
|
|
131
|
-
});
|
|
132
|
-
const I = n.object({
|
|
133
|
-
apiKey: n.string(),
|
|
134
|
-
webhookSecret: n.string()
|
|
135
|
-
}), T = n.object({
|
|
136
|
-
company: l.nullish(),
|
|
137
|
-
inclusiveTaxes: n.array(d).nullish(),
|
|
138
|
-
stripe: I.optional()
|
|
139
|
-
}), C = {
|
|
140
|
-
collectionName: "Stores",
|
|
141
|
-
transform: {
|
|
142
|
-
_id: "oid",
|
|
143
|
-
business: "oid"
|
|
144
|
-
}
|
|
145
|
-
};
|
|
146
|
-
T.extend({
|
|
147
|
-
_id: e,
|
|
148
|
-
business: e,
|
|
149
|
-
categories: n.array(p)
|
|
150
|
-
}).describe(i.describe(C));
|
|
151
|
-
const S = n.object({
|
|
152
|
-
refundedAt: n.coerce.date(),
|
|
153
|
-
reason: n.string(),
|
|
154
|
-
transactions: n.array(e)
|
|
155
|
-
}), m = n.object({
|
|
156
|
-
type: n.enum(["ONLINE", "OFFLINE", "COIN", "STRIPE", "CARD"]),
|
|
157
|
-
extra: n.string().nullish()
|
|
158
|
-
}), x = n.object({
|
|
159
|
-
_id: e,
|
|
160
|
-
source: a,
|
|
161
|
-
// can be memberStorePurchase
|
|
162
|
-
ref: n.string(),
|
|
163
|
-
business: e,
|
|
164
|
-
company: l,
|
|
165
|
-
location: e.optional(),
|
|
166
|
-
member: e,
|
|
167
|
-
// createdAt: z.coerce.date(),
|
|
168
|
-
bundle: u,
|
|
169
|
-
transactions: n.array(e),
|
|
170
|
-
// array of transaction id (voucher, credit, title)
|
|
171
|
-
status: n.enum([
|
|
172
|
-
"PENDING_PAYMENT",
|
|
173
|
-
"PENDING_TRANSACTION",
|
|
174
|
-
"COMPLETED",
|
|
175
|
-
"REFUNDED"
|
|
176
|
-
]),
|
|
177
|
-
refund: S.nullish(),
|
|
178
|
-
paymentType: m.nullish(),
|
|
179
|
-
paymentRef: n.string().nullish(),
|
|
180
|
-
pf_transactions: n.array(n.any()).optional(),
|
|
181
|
-
pf_member: n.any().optional(),
|
|
182
|
-
pf_location: n.any().optional(),
|
|
183
|
-
pf_ref: n.any().optional()
|
|
184
|
-
}).describe(
|
|
185
|
-
i.describe({
|
|
186
|
-
collectionName: "StoreTransactions",
|
|
187
|
-
transform: {
|
|
188
|
-
_id: "oid",
|
|
189
|
-
business: "oid",
|
|
190
|
-
location: "oid",
|
|
191
|
-
member: "oid",
|
|
192
|
-
transaction: "oid"
|
|
193
|
-
}
|
|
194
|
-
})
|
|
195
|
-
);
|
|
196
|
-
n.object({
|
|
197
|
-
bundle: e,
|
|
198
|
-
member: n.string(),
|
|
199
|
-
ref: n.string(),
|
|
200
|
-
paymentType: m.nullish(),
|
|
201
|
-
withCoin: n.boolean().optional(),
|
|
202
|
-
card: n.string().optional(),
|
|
203
|
-
location: e.optional(),
|
|
204
|
-
source: a
|
|
205
|
-
});
|
|
206
|
-
n.object({
|
|
207
|
-
categories: n.array(p)
|
|
208
|
-
});
|
|
209
|
-
n.object({
|
|
210
|
-
id: e,
|
|
211
|
-
reason: n.string(),
|
|
212
|
-
location: e.optional()
|
|
213
|
-
});
|
|
214
|
-
n.object({
|
|
215
|
-
_id: e,
|
|
216
|
-
business: e,
|
|
217
|
-
user: e,
|
|
218
|
-
bundleId: n.string(),
|
|
219
|
-
transaction: n.array(e),
|
|
220
|
-
subscriptionId: n.string(),
|
|
221
|
-
expiredAt: n.coerce.date()
|
|
222
|
-
}).describe(
|
|
223
|
-
i.describe({
|
|
224
|
-
collectionName: "StoreSubscriptions",
|
|
225
|
-
transform: {
|
|
226
|
-
_id: "oid",
|
|
227
|
-
business: "oid",
|
|
228
|
-
user: "oid",
|
|
229
|
-
transaction: "oid",
|
|
230
|
-
expiredAt: "date"
|
|
231
|
-
}
|
|
232
|
-
})
|
|
233
|
-
);
|
|
234
|
-
n.object({
|
|
235
|
-
member: n.string(),
|
|
236
|
-
subscriptionId: n.string()
|
|
237
|
-
});
|
|
238
|
-
export {
|
|
239
|
-
T as F,
|
|
240
|
-
l as a,
|
|
241
|
-
h as b,
|
|
242
|
-
u as c,
|
|
243
|
-
x as d
|
|
244
|
-
};
|