@feedmepos/mf-connect 0.1.98-beta.74 → 0.1.98-beta.76
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/{App-COUNgNnC.js → App-BpNFuouR.js} +106 -101
- package/dist/{AuditLogs-CY45tdqr.js → AuditLogs-D7vTaaiU.js} +15 -14
- package/dist/{Bin-COrX2Oq4.js → Bin-BDo0Vi0U.js} +8 -8
- package/dist/{Broadcast-BQxJ8Edf.js → Broadcast-Ctz8bCnt.js} +12 -12
- package/dist/{CampaignAnalytic-CSYrBckT.js → CampaignAnalytic-BnxmzdYI.js} +7 -7
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DQUQxU1_.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Bt2T2jVi.js} +8 -7
- package/dist/{Card-62iX4uef.js → Card-D9pYLwUX.js} +25 -24
- package/dist/{Collections-BxexBaGi.js → Collections-BP7_jYJY.js} +8 -8
- package/dist/{Credit-B5fLK5ot.js → Credit-D-3Ri1fe.js} +12 -12
- package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-C738fOnK.js → DateRangeChip.vue_vue_type_script_setup_true_lang-D2k77nhT.js} +1 -1
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-CloubCwR.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-FjKUID8K.js} +38 -36
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-tFwP9_hm.js → EffectSheet.vue_vue_type_style_index_0_lang-tfDnADgu.js} +6 -6
- package/dist/{Experience-BReFp_Dz.js → Experience-CZMQLMe1.js} +13 -13
- package/dist/{FileSaver.min-o09GwL8H.js → FileSaver.min-_0SQsF4z.js} +1 -1
- package/dist/{Game-DTDVEBrO.js → Game-Oy1ys3Vc.js} +13 -13
- package/dist/{GiftCardSetup-CP7Pdqcb.js → GiftCardSetup-DIzgr6Ew.js} +10 -10
- package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-DzV35QnL.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-gdvTQM25.js} +7 -7
- package/dist/{Goals-BNspliQP.js → Goals-CO8hZIU2.js} +4 -4
- package/dist/{Grab-C3xNIYzE.js → Grab-2mznKLou.js} +9 -9
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-BidKqIgw.js → ImageInput.vue_vue_type_script_setup_true_lang-BaA6OJW8.js} +1 -1
- package/dist/{Index-CRlr03xg.js → Index-BRiQjotA.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-_YyfSHpE.js → LocationPicker.vue_vue_type_script_setup_true_lang-RnhLgDQA.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-CMfRL6Ef.js → LottieAnimation.vue_vue_type_script_setup_true_lang-DcHERHsz.js} +1 -1
- package/dist/{LoyaltyDashboard-BQpKd2JC.js → LoyaltyDashboard-A0dEiZD0.js} +15 -15
- package/dist/{MainLayout-BIVZ2S6v.js → MainLayout-CAeP3Geb.js} +3 -3
- package/dist/{Marketing-8SvgFvTs.js → Marketing-iXJhsmSi.js} +4 -4
- package/dist/{MarketingMaterialEdit-DXaM4RKu.js → MarketingMaterialEdit-1s-wm1Sq.js} +6 -6
- package/dist/{Member-DucF8ody.js → Member-Dn-yYonX.js} +7 -7
- package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-CMQ1b_BI.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-W3-KGb8L.js} +27 -26
- package/dist/{MemberImportHistory-BB-pNBDA.js → MemberImportHistory-DKNbehJf.js} +7 -7
- package/dist/{MemberList-CazaLinm.js → MemberList-BCYfSkeY.js} +14 -14
- package/dist/{MemberTransactions-0PaBQaYk.js → MemberTransactions-0W1jYGG_.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-Dv2rIoW2.js → MessageInput.vue_vue_type_script_setup_true_lang-DTBxNZgb.js} +10 -10
- package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-DWn3ajhn.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-DBfJciw7.js} +1 -1
- package/dist/{Mission-DxH1u9Ps.js → Mission-CDZLGBOq.js} +14 -14
- package/dist/{Overview-BcDJv-LJ.js → Overview-CNNlp-sj.js} +4 -4
- package/dist/{Overview-vepmOail.js → Overview-DfPfT1jl.js} +23 -22
- package/dist/{Point-LgZ_UrwI.js → Point-CFYSW-kx.js} +14 -14
- package/dist/{Promotion-CC6Drl2T.js → Promotion-E1MiG5Lb.js} +14 -14
- package/dist/{Queue-CeYuqidN.js → Queue-BlHxfV4T.js} +15 -14
- package/dist/{Record-B17ZYsb5.js → Record-6EVmRgo2.js} +9 -9
- package/dist/{Review-D6yhv3J7.js → Review-BePSVC45.js} +2 -2
- package/dist/{ReviewFacebookCallback-BAB4epr8.js → ReviewFacebookCallback-BJ-jdMEF.js} +5 -5
- package/dist/{ReviewGoogleCallback-CZccpOLv.js → ReviewGoogleCallback-DxJD3of9.js} +5 -5
- package/dist/{Reward-PdgtYMnB.js → Reward-Xzyb9DNA.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-CiVHQa5M.js → RewardGroup.vue_vue_type_script_setup_true_lang-ZKTIxMz2.js} +16 -15
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-_rUcf5lG.js → RuleGroup.vue_vue_type_script_setup_true_lang-BIO78oG3.js} +17 -16
- package/dist/{Segment-DVK6xqb9.js → Segment-Cagj_3Sq.js} +35 -33
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-CiR-d0s-.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-Dh_ajamB.js} +31 -30
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-CkPnwcE1.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-Bd0GtFww.js} +4 -4
- package/dist/Setting-DHPCKzLm.js +573 -0
- package/dist/{SettingAdvertisements-VUfOdSPw.js → SettingAdvertisements-bfXYN1hv.js} +12 -12
- package/dist/{Settings-B_cbux1z.js → Settings-CpFEG6Dd.js} +5 -5
- package/dist/{Store-BmMCgHeP.js → Store-CIIIti42.js} +30 -28
- package/dist/{StoreRewards-D_TSVQMf.js → StoreRewards-CR4zi9ux.js} +15 -15
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-qMRV_p8H.js → StoreTransactions.vue_vue_type_script_setup_true_lang-BpXk51-h.js} +45 -44
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-DKOE5bcU.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-CTfox5KD.js} +2 -2
- package/dist/{Tier-BNQ_RmZV.js → Tier-f_UEiHYS.js} +30 -29
- package/dist/{Title-DHicIYnB.js → Title-7XWLideF.js} +25 -24
- package/dist/{Transaction-B57Begy_.js → Transaction-LRL7sbDu.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-Cw852iqb.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-CWtm4qIy.js} +6 -6
- package/dist/{Voucher-DIZfWgdX.js → Voucher-BqVEkMiW.js} +18 -18
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-BhYXVG4z.js → VoucherEditor.vue_vue_type_script_setup_true_lang-DiDpsXqP.js} +12 -12
- package/dist/WhatsappBot-Cu1oY_1Y.js +577 -0
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-RnvpoPAb.js → ZodTextField.vue_vue_type_script_setup_true_lang-ByA_M7mT.js} +2 -2
- package/dist/{app-D59Y5Pmz.js → app-DCe_VQSq.js} +1169 -925
- package/dist/app.js +1 -1
- package/dist/{base.export-Bp2NvmoR.js → base.export-gNtvqhh6.js} +2 -2
- package/dist/browser-BSAOEeIM.js +1478 -0
- package/dist/{business-CZnoeYYk.js → business-CvopE1wJ.js} +1 -1
- package/dist/{campaign-CXR35buF.js → campaign-CRQDvYX-.js} +9 -9
- package/dist/{campaign-C0od4X1k.js → campaign-D87mJcvH.js} +2 -2
- package/dist/{campaign.enum-DlrjqgBa.js → campaign.enum-Dx-Zo68Q.js} +1 -1
- package/dist/{campaign.fn-bEy0au5e.js → campaign.fn-DWNcsYr9.js} +65 -65
- package/dist/{collectible.enum-Czi69PBO.js → collectible.enum-Liy2wH3s.js} +1 -1
- package/dist/{collection.fn-DzPeFXPq.js → collection.fn-CDPBajL8.js} +2 -2
- package/dist/{currency-DktN5oXx.js → currency-oSov4t8f.js} +1 -1
- package/dist/{duplicateCampaign-Dc_9ZYk5.js → duplicateCampaign-CPMPIPg1.js} +2 -2
- package/dist/{effect-KY41iVGx.js → effect-CeQ-vqGq.js} +1 -1
- package/dist/{email-addresses-CRGGbqZn.js → email-addresses-GNLhUzgZ.js} +2 -2
- package/dist/{helper-BT8y_Hpb.js → helper-CdGkmdxL.js} +1 -1
- package/dist/{index-BZnzbUL3.js → index-BFsnFZkK.js} +11 -10
- package/dist/{index-DiicsY5E.js → index-BhcW_yBW.js} +1 -1
- package/dist/{index-B30DDvin.js → index-CCDx-XqV.js} +8 -7
- package/dist/{index-CMJp7VdE.js → index-CHLqP0Ec.js} +1 -1
- package/dist/{index-11j23Lx1.js → index-CK2gvgpm.js} +1 -1
- package/dist/index-C_H8jFYf.js +2743 -0
- package/dist/{index-BzKHBymK.js → index-CaMlQSvW.js} +2 -2
- package/dist/{index-BhJpa8K-.js → index-CbzWLlC9.js} +8027 -10766
- package/dist/{index-BWR1QjWQ.js → index-CfsnVMZ5.js} +18 -17
- package/dist/{index-CTe-H50U.js → index-Ch9ZZ90e.js} +3 -3
- package/dist/{index-ClNPGM0y.js → index-CkHztow_.js} +4 -3
- package/dist/index-Cp2qabkb.js +28 -0
- package/dist/{index-CYgzVl3H.js → index-CqUDkK17.js} +20 -19
- package/dist/{index-0awpDQm_.js → index-CwOnVt6n.js} +108 -62
- package/dist/{index-D2FgYlbx.js → index-CzvnWHo6.js} +1 -1
- package/dist/{index-D-V84VLW.js → index-DXGfSYbL.js} +43 -42
- package/dist/{index-G8qEVB7S.js → index-DtxAUayi.js} +2 -2
- package/dist/{index-377HHaUi.js → index-JSRHjm1v.js} +1 -1
- package/dist/{index-BE8jnf9X.js → index-P6H0Nj1-.js} +1 -1
- package/dist/{index-E4B5H1FX.js → index-ShdxYCbF.js} +2 -2
- package/dist/{index-CTPFlKiY.js → index-V4Fej0RK.js} +4 -4
- package/dist/{index.esm2017-DKzsf5EJ.js → index.esm2017-a1JYIQui.js} +37 -37
- package/dist/{loading-AuVL4WdD.js → loading-DBX3vfS4.js} +1 -1
- package/dist/{lodash-Bm8ZbAXg.js → lodash-BQQbr-v0.js} +1 -1
- package/dist/{member-import-Kq5CMrPF.js → member-import-CM-7fvI2.js} +6 -5
- package/dist/{membership-8f9xLURB.js → membership-DhCbt2tn.js} +3 -3
- package/dist/{money-JRN61MHj.js → money-CqQin-8P.js} +1 -1
- package/dist/{number-Dd6DRScj.js → number-VtG8ZWak.js} +1 -1
- package/dist/{objectid-_tuwJN_b.js → objectid-ByBBguim.js} +9 -9
- package/dist/{onboarding-DOPR1c3u.js → onboarding-CK20C51K.js} +3 -3
- package/dist/{onboardingSetup-DOR-OW92.js → onboardingSetup-B-9izpMN.js} +2 -2
- package/dist/{plugins-DPFr2tq7.js → plugins-B2TWkTg5.js} +3 -3
- package/dist/{reward-B-yDjlsA.js → reward-B4QDE-hp.js} +1 -1
- package/dist/{rule-DRN4bolS.js → rule-CzZo6Z5G.js} +20 -19
- package/dist/{template-7UtS_hVI.js → template-Co9GIfDK.js} +6 -6
- package/dist/{timezone-BmZfPTab.js → timezone-CXb1Of5W.js} +1 -1
- package/dist/{transaction.fn-C9WOWjoC.js → transaction.fn-D1shYDAp.js} +2 -2
- package/dist/{trigger-BDKxlupM.js → trigger-D1iPqyua.js} +5 -5
- package/dist/{useMarketingMaterialActions-DJ7__20D.js → useMarketingMaterialActions-BWrHG4u3.js} +3 -3
- package/dist/{usePagination-Czb6ZvSX.js → usePagination-vGg6slc_.js} +1 -1
- package/dist/{user-C-y46MEn.js → user-BL1FGfP0.js} +1 -1
- package/dist/{vue-i18n-l6QdWh8z.js → vue-i18n-GqQ0e2Uh.js} +357 -357
- package/dist/{xlsx-Dbm5Y1eY.js → xlsx-No9Jac5G.js} +651 -651
- package/dist/{zod-DciqV0cq.js → zod-DCljEP8S.js} +1 -1
- package/package.json +1 -1
- package/dist/Setting-D9x8t85J.js +0 -2047
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { z as e
|
|
2
|
-
import { F as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { z as e } from "./index-C_H8jFYf.js";
|
|
2
|
+
import { F as t, b as _, m as g, d as X } from "./index-CbzWLlC9.js";
|
|
3
|
+
import { F as M } from "./campaign.enum-Dx-Zo68Q.js";
|
|
4
|
+
import { f as T, F as L, g as c, i as ee, j as O, k as u, m as x, e as te } from "./index-CqUDkK17.js";
|
|
5
|
+
import { H as P, C as S, E as ne, I as oe, J as ie } from "./index-DXGfSYbL.js";
|
|
6
|
+
import { c as p, f as ae } from "./index-V4Fej0RK.js";
|
|
6
7
|
e.object({
|
|
7
8
|
location: t,
|
|
8
9
|
memberId: t,
|
|
@@ -77,7 +78,7 @@ const se = {
|
|
|
77
78
|
"REFERRAL_ADDED",
|
|
78
79
|
"MEMBER_IMPORTED",
|
|
79
80
|
"SEGMENTATION_IMPORTED"
|
|
80
|
-
]),
|
|
81
|
+
]), Ze = o.extract([
|
|
81
82
|
"BILL_COMPLETED",
|
|
82
83
|
"FEEDBACK",
|
|
83
84
|
"GAME_COMPLETED",
|
|
@@ -299,7 +300,7 @@ const h = e.enum(["NO_REWARD", "VOUCHER", "LOYALTY"]), f = e.number().min(0, "We
|
|
|
299
300
|
weight: f
|
|
300
301
|
}), v = y.extend({
|
|
301
302
|
weight: e.number().min(0, "Weight need to be at least 0")
|
|
302
|
-
}),
|
|
303
|
+
}), Qe = y.extend({
|
|
303
304
|
validityOption: O,
|
|
304
305
|
weight: f
|
|
305
306
|
}), je = e.discriminatedUnion("type", [
|
|
@@ -320,7 +321,7 @@ const h = e.enum(["NO_REWARD", "VOUCHER", "LOYALTY"]), f = e.number().min(0, "We
|
|
|
320
321
|
threshold: F
|
|
321
322
|
}), H = y.extend({
|
|
322
323
|
threshold: F
|
|
323
|
-
}),
|
|
324
|
+
}), $e = y.extend({
|
|
324
325
|
validityOption: O,
|
|
325
326
|
threshold: F
|
|
326
327
|
}), k = e.discriminatedUnion("type", [
|
|
@@ -469,7 +470,7 @@ const we = {
|
|
|
469
470
|
foreignField: "group"
|
|
470
471
|
}
|
|
471
472
|
}
|
|
472
|
-
},
|
|
473
|
+
}, Xe = e.object({
|
|
473
474
|
_id: t,
|
|
474
475
|
name: e.string().min(1).max(300),
|
|
475
476
|
business: t,
|
|
@@ -811,7 +812,7 @@ const we = {
|
|
|
811
812
|
as: "game"
|
|
812
813
|
}
|
|
813
814
|
}
|
|
814
|
-
},
|
|
815
|
+
}, et = e.object({ _id: t }).and(
|
|
815
816
|
e.discriminatedUnion("type", [
|
|
816
817
|
W,
|
|
817
818
|
K,
|
|
@@ -825,7 +826,7 @@ const we = {
|
|
|
825
826
|
Q,
|
|
826
827
|
$
|
|
827
828
|
])
|
|
828
|
-
).describe(g.describe(ke)),
|
|
829
|
+
).describe(g.describe(ke)), tt = e.discriminatedUnion("type", [
|
|
829
830
|
K.extend({
|
|
830
831
|
business: t.nullish()
|
|
831
832
|
}),
|
|
@@ -885,15 +886,15 @@ export {
|
|
|
885
886
|
r as C,
|
|
886
887
|
n as F,
|
|
887
888
|
o as a,
|
|
888
|
-
|
|
889
|
-
|
|
889
|
+
et as b,
|
|
890
|
+
Ze as c,
|
|
890
891
|
Ie as d,
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
892
|
+
Xe as e,
|
|
893
|
+
tt as f,
|
|
894
|
+
Qe as g,
|
|
894
895
|
D as h,
|
|
895
896
|
Be as i,
|
|
896
|
-
|
|
897
|
+
$e as j,
|
|
897
898
|
Ne as k,
|
|
898
899
|
Ge as l,
|
|
899
900
|
W as m,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as t, s as u, S as o, b as d } from "./index-
|
|
2
|
-
import { z as c } from "./app-
|
|
3
|
-
import { z as i } from "./index-
|
|
1
|
+
import { g as t, s as u, S as o, b as d } from "./index-DtxAUayi.js";
|
|
2
|
+
import { z as c } from "./app-DCe_VQSq.js";
|
|
3
|
+
import { z as i } from "./index-C_H8jFYf.js";
|
|
4
4
|
const l = i.object({
|
|
5
5
|
tierCycleEnable: i.boolean()
|
|
6
6
|
}), a = (e = o.getBusinessId()) => {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { z as e
|
|
1
|
+
import { z as e } from "./index-C_H8jFYf.js";
|
|
2
|
+
import { m as E, F as T } from "./index-CbzWLlC9.js";
|
|
2
3
|
e.enum([
|
|
3
4
|
"en-US",
|
|
4
5
|
"zh-CN",
|
|
@@ -145,7 +146,7 @@ const C = N.omit({ text: !0 }).extend(
|
|
|
145
146
|
// Creation time of the earliest qualifying record when the fact latched.
|
|
146
147
|
liveSince: g.default({}),
|
|
147
148
|
catalogVersion: e.number().optional()
|
|
148
|
-
}).describe(E.describe(j)), y = D.omit({ _id: !0 }),
|
|
149
|
+
}).describe(E.describe(j)), y = D.omit({ _id: !0 }), G = e.object({
|
|
149
150
|
catalog: _.nullable(),
|
|
150
151
|
state: y
|
|
151
152
|
}), c = e.record(e.string().min(1).max(64), e.boolean()).refine((t) => Object.keys(t).length <= 100, "Too many ids");
|
|
@@ -160,7 +161,7 @@ e.object({
|
|
|
160
161
|
goalsDismissed: e.boolean()
|
|
161
162
|
}).partial().strict().refine((t) => Object.keys(t).length > 0, "Empty patch");
|
|
162
163
|
export {
|
|
163
|
-
|
|
164
|
+
G as F,
|
|
164
165
|
y as a,
|
|
165
166
|
u as b
|
|
166
167
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z as t } from "./index-C_H8jFYf.js";
|
|
2
|
+
const e = 2e3, n = t.object({
|
|
3
|
+
botInstructions: t.string().max(e)
|
|
4
|
+
}), a = n.extend({
|
|
5
|
+
businessId: t.string().regex(/^[a-f\d]{24}$/i)
|
|
6
|
+
}), s = t.object({
|
|
7
|
+
clientId: t.string().regex(/^[a-f\d]{24}$/i),
|
|
8
|
+
qr: t.string().min(1),
|
|
9
|
+
expiresAt: t.string().datetime({ offset: !0 })
|
|
10
|
+
}), o = t.object({
|
|
11
|
+
clientId: s.shape.clientId,
|
|
12
|
+
status: t.enum(["pending", "connecting", "connected"]),
|
|
13
|
+
profileStatus: t.enum(["pending", "ready"]),
|
|
14
|
+
account: t.object({
|
|
15
|
+
name: t.string().optional(),
|
|
16
|
+
businessName: t.string().optional(),
|
|
17
|
+
phoneNumber: t.string().optional()
|
|
18
|
+
}).nullable(),
|
|
19
|
+
connectedAt: t.string().datetime({ offset: !0 }).nullable(),
|
|
20
|
+
createdAt: t.string().datetime({ offset: !0 })
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
a as F,
|
|
24
|
+
n as a,
|
|
25
|
+
o as b,
|
|
26
|
+
s as c,
|
|
27
|
+
e as d
|
|
28
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { z as w
|
|
2
|
-
import { F as xt, a as Jf } from "./collectible.enum-
|
|
3
|
-
import {
|
|
1
|
+
import { z as w } from "./index-C_H8jFYf.js";
|
|
2
|
+
import { F as xt, a as Jf } from "./collectible.enum-Liy2wH3s.js";
|
|
3
|
+
import { F as xn, m as qv } from "./index-CbzWLlC9.js";
|
|
4
|
+
import { c as Br, g as Jv } from "./app-DCe_VQSq.js";
|
|
4
5
|
//! moment.js
|
|
5
6
|
//! version : 2.30.1
|
|
6
7
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
@@ -4305,7 +4306,7 @@ function qf(t, n, i) {
|
|
|
4305
4306
|
}).join(",");
|
|
4306
4307
|
return "".concat(u).concat(f);
|
|
4307
4308
|
}
|
|
4308
|
-
function
|
|
4309
|
+
function wD(t, n) {
|
|
4309
4310
|
if (t == null || n == null)
|
|
4310
4311
|
return;
|
|
4311
4312
|
const i = n;
|
|
@@ -8207,7 +8208,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8207
8208
|
}).call(Br);
|
|
8208
8209
|
})(cs, cs.exports);
|
|
8209
8210
|
var J1 = cs.exports;
|
|
8210
|
-
const
|
|
8211
|
+
const bD = /* @__PURE__ */ Jv(J1), X1 = Object.getOwnPropertyNames(hs.prototype).filter(
|
|
8211
8212
|
(t) => typeof hs.prototype[t] == "function"
|
|
8212
8213
|
);
|
|
8213
8214
|
w.enum(X1);
|
|
@@ -8690,14 +8691,14 @@ const Q1 = w.enum([
|
|
|
8690
8691
|
// triggers: ['GAME_COMPLETED'],
|
|
8691
8692
|
// },
|
|
8692
8693
|
];
|
|
8693
|
-
function
|
|
8694
|
+
function ED(t, n) {
|
|
8694
8695
|
return j1.filter(
|
|
8695
8696
|
(i) => i.triggers.findIndex(
|
|
8696
8697
|
(a) => a === t && (!n || i.property.startsWith(n))
|
|
8697
8698
|
) >= 0
|
|
8698
8699
|
).sort((i, a) => !i.premium && a.premium ? -1 : i.premium && !a.premium ? 1 : i.name.length < a.name.length ? -1 : i.name.length > a.name.length ? 1 : i.name.toLowerCase() < a.name.toLowerCase() ? -1 : i.name.toLowerCase() > a.name.toLowerCase() ? 1 : 0);
|
|
8699
8700
|
}
|
|
8700
|
-
const eD = w.enum(["timeframe"]),
|
|
8701
|
+
const eD = w.enum(["timeframe"]), DD = w.object({
|
|
8701
8702
|
type: w.literal(eD.enum.timeframe),
|
|
8702
8703
|
property: w.string().optional(),
|
|
8703
8704
|
start: w.date({ coerce: !0 }).nullish(),
|
|
@@ -8795,7 +8796,7 @@ const zo = w.enum(["FIXED", "PROPORTIONAL"]), nD = w.array(w.string()).nullish()
|
|
|
8795
8796
|
every: w.number(),
|
|
8796
8797
|
amount: w.number(),
|
|
8797
8798
|
property: nD
|
|
8798
|
-
}),
|
|
8799
|
+
}), TD = w.discriminatedUnion("type", [
|
|
8799
8800
|
rD,
|
|
8800
8801
|
iD
|
|
8801
8802
|
]).superRefine((t, n) => {
|
|
@@ -8835,7 +8836,7 @@ const zo = w.enum(["FIXED", "PROPORTIONAL"]), nD = w.array(w.string()).nullish()
|
|
|
8835
8836
|
message: 'Valid days cannot exceed 99999, toggle "expires" to off for unlimited',
|
|
8836
8837
|
path: []
|
|
8837
8838
|
});
|
|
8838
|
-
}),
|
|
8839
|
+
}), SD = ii.superRefine(
|
|
8839
8840
|
(t, n) => {
|
|
8840
8841
|
["validForDay", "validBefore"].every((a) => t[a] == null) && n.addIssue({
|
|
8841
8842
|
code: "custom",
|
|
@@ -8857,7 +8858,7 @@ const zo = w.enum(["FIXED", "PROPORTIONAL"]), nD = w.array(w.string()).nullish()
|
|
|
8857
8858
|
cooldown: w.number().min(0).nullish(),
|
|
8858
8859
|
maxUse: w.number().min(1).max(1e4).nullish(),
|
|
8859
8860
|
consumeRule: jh.nullish()
|
|
8860
|
-
}),
|
|
8861
|
+
}), MD = Ko.extend({
|
|
8861
8862
|
validityOption: ii
|
|
8862
8863
|
}), sD = {
|
|
8863
8864
|
collectionName: "CollectibleConfigs",
|
|
@@ -8944,7 +8945,7 @@ const zo = w.enum(["FIXED", "PROPORTIONAL"]), nD = w.array(w.string()).nullish()
|
|
|
8944
8945
|
mD
|
|
8945
8946
|
]);
|
|
8946
8947
|
w.record(w.string(), w.record(w.string(), w.boolean())).optional();
|
|
8947
|
-
const pD = w.object({ _id: xn }).and(tc).describe(qv.describe(sD)),
|
|
8948
|
+
const pD = w.object({ _id: xn }).and(tc).describe(qv.describe(sD)), OD = w.object({ _id: xn.nullish(), business: xn.nullish() }).and(tc);
|
|
8948
8949
|
pD.and(
|
|
8949
8950
|
w.object({
|
|
8950
8951
|
updateCollection: w.boolean().optional()
|
|
@@ -8952,25 +8953,25 @@ pD.and(
|
|
|
8952
8953
|
);
|
|
8953
8954
|
export {
|
|
8954
8955
|
tD as C,
|
|
8955
|
-
|
|
8956
|
+
OD as F,
|
|
8956
8957
|
B as R,
|
|
8957
|
-
|
|
8958
|
+
bD as _,
|
|
8958
8959
|
hs as a,
|
|
8959
8960
|
$o as b,
|
|
8960
8961
|
Ko as c,
|
|
8961
8962
|
kn as d,
|
|
8962
|
-
|
|
8963
|
+
MD as e,
|
|
8963
8964
|
jh as f,
|
|
8964
|
-
|
|
8965
|
+
TD as g,
|
|
8965
8966
|
O as h,
|
|
8966
8967
|
ii as i,
|
|
8967
|
-
|
|
8968
|
+
SD as j,
|
|
8968
8969
|
pD as k,
|
|
8969
8970
|
J1 as l,
|
|
8970
|
-
|
|
8971
|
+
DD as m,
|
|
8971
8972
|
j1 as n,
|
|
8972
|
-
|
|
8973
|
+
wD as o,
|
|
8973
8974
|
it as p,
|
|
8974
|
-
|
|
8975
|
+
ED as q,
|
|
8975
8976
|
Xh as r
|
|
8976
8977
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { d as
|
|
7
|
-
import {
|
|
1
|
+
import { F as n, m, b as A } from "./index-CbzWLlC9.js";
|
|
2
|
+
import { z as e } from "./index-C_H8jFYf.js";
|
|
3
|
+
import { B as M, C as F, E as G, H as g } from "./index-DXGfSYbL.js";
|
|
4
|
+
import { _ as k, l as v, f as B } from "./index-CqUDkK17.js";
|
|
5
|
+
import { i as p } from "./helper-CdGkmdxL.js";
|
|
6
|
+
import { d as z, b as U, e as d } from "./index-V4Fej0RK.js";
|
|
7
|
+
import { d as V } from "./index-CfsnVMZ5.js";
|
|
8
|
+
import { F as T } from "./index-CCDx-XqV.js";
|
|
8
9
|
function b(o, a) {
|
|
9
10
|
let i = "", r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
10
11
|
const l = r.length;
|
|
@@ -15,17 +16,17 @@ function b(o, a) {
|
|
|
15
16
|
function H(o) {
|
|
16
17
|
return !o.property && "rules" in o;
|
|
17
18
|
}
|
|
18
|
-
function
|
|
19
|
+
function W(o) {
|
|
19
20
|
return "property" in o && !!o.property;
|
|
20
21
|
}
|
|
21
|
-
const
|
|
22
|
+
const Y = "g_schedule";
|
|
22
23
|
function K(o) {
|
|
23
24
|
return o.split(/\r?\n/).filter((a) => !a.trim().toUpperCase().startsWith("DTSTART")).join(`
|
|
24
25
|
`).trim();
|
|
25
26
|
}
|
|
26
27
|
function q(o, a = !1) {
|
|
27
28
|
const i = k.cloneDeep(o);
|
|
28
|
-
if (
|
|
29
|
+
if (W(i)) {
|
|
29
30
|
const r = i.conditions;
|
|
30
31
|
return !a && r && typeof r._rrule == "string" && (r._rrule = K(
|
|
31
32
|
r._rrule
|
|
@@ -33,7 +34,7 @@ function q(o, a = !1) {
|
|
|
33
34
|
}
|
|
34
35
|
if (H(i))
|
|
35
36
|
for (const r in i.rules) {
|
|
36
|
-
const l = i.rules[r], c = a || H(l) && l.name ===
|
|
37
|
+
const l = i.rules[r], c = a || H(l) && l.name === Y;
|
|
37
38
|
i.rules[r] = q(
|
|
38
39
|
l,
|
|
39
40
|
c
|
|
@@ -172,7 +173,7 @@ e.object({
|
|
|
172
173
|
_id: n,
|
|
173
174
|
user: e.string().length(28),
|
|
174
175
|
userName: e.string().min(1),
|
|
175
|
-
userPhoneNumber: e.string().refine((o) =>
|
|
176
|
+
userPhoneNumber: e.string().refine((o) => M(o)).nullish(),
|
|
176
177
|
moduleType: Z,
|
|
177
178
|
business: n.nullish(),
|
|
178
179
|
clientIp: e.string().nullish(),
|
|
@@ -180,7 +181,7 @@ e.object({
|
|
|
180
181
|
request: ee,
|
|
181
182
|
response: te
|
|
182
183
|
}).describe(m.describe(Q));
|
|
183
|
-
const
|
|
184
|
+
const it = {
|
|
184
185
|
PROMOTION: {
|
|
185
186
|
name: "Promotion Template",
|
|
186
187
|
description: "Promotion template for campaign creation.",
|
|
@@ -891,17 +892,32 @@ const ot = {
|
|
|
891
892
|
type: "target_location"
|
|
892
893
|
}
|
|
893
894
|
]
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
name: "connect.template.notify_audience",
|
|
898
|
+
fields: [
|
|
899
|
+
{
|
|
900
|
+
label: "connect.template.send_notification",
|
|
901
|
+
property: "campaign.notify",
|
|
902
|
+
type: "switch"
|
|
903
|
+
}
|
|
904
|
+
]
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
name: "connect.template.notify_message",
|
|
908
|
+
fields: [
|
|
909
|
+
{
|
|
910
|
+
label: "connect.template.notification_message",
|
|
911
|
+
property: "campaign.notifyMessage",
|
|
912
|
+
type: "message",
|
|
913
|
+
extras: "ISSUE_REWARD"
|
|
914
|
+
}
|
|
915
|
+
],
|
|
916
|
+
condition: {
|
|
917
|
+
property: "campaign.notify",
|
|
918
|
+
value: !0
|
|
919
|
+
}
|
|
894
920
|
}
|
|
895
|
-
// {
|
|
896
|
-
// name: 'connect.template.notify_audience',
|
|
897
|
-
// fields: [
|
|
898
|
-
// {
|
|
899
|
-
// label: 'connect.template.send_notification',
|
|
900
|
-
// property: 'campaign.notify',
|
|
901
|
-
// type: 'switch',
|
|
902
|
-
// },
|
|
903
|
-
// ],
|
|
904
|
-
// },
|
|
905
921
|
]
|
|
906
922
|
}
|
|
907
923
|
],
|
|
@@ -1078,17 +1094,32 @@ const ot = {
|
|
|
1078
1094
|
type: "target_location"
|
|
1079
1095
|
}
|
|
1080
1096
|
]
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
name: "connect.template.notify_audience",
|
|
1100
|
+
fields: [
|
|
1101
|
+
{
|
|
1102
|
+
label: "connect.template.send_notification",
|
|
1103
|
+
property: "campaign.notify",
|
|
1104
|
+
type: "switch"
|
|
1105
|
+
}
|
|
1106
|
+
]
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
name: "connect.template.notify_message",
|
|
1110
|
+
fields: [
|
|
1111
|
+
{
|
|
1112
|
+
label: "connect.template.notification_message",
|
|
1113
|
+
property: "campaign.notifyMessage",
|
|
1114
|
+
type: "message",
|
|
1115
|
+
extras: "ISSUE_REWARD"
|
|
1116
|
+
}
|
|
1117
|
+
],
|
|
1118
|
+
condition: {
|
|
1119
|
+
property: "campaign.notify",
|
|
1120
|
+
value: !0
|
|
1121
|
+
}
|
|
1081
1122
|
}
|
|
1082
|
-
// {
|
|
1083
|
-
// name: 'connect.template.notify_audience',
|
|
1084
|
-
// fields: [
|
|
1085
|
-
// {
|
|
1086
|
-
// label: 'connect.template.send_notification',
|
|
1087
|
-
// property: 'campaign.notify',
|
|
1088
|
-
// type: 'switch',
|
|
1089
|
-
// },
|
|
1090
|
-
// ],
|
|
1091
|
-
// },
|
|
1092
1123
|
]
|
|
1093
1124
|
}
|
|
1094
1125
|
],
|
|
@@ -1265,17 +1296,32 @@ const ot = {
|
|
|
1265
1296
|
type: "target_location"
|
|
1266
1297
|
}
|
|
1267
1298
|
]
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
name: "connect.template.notify_audience",
|
|
1302
|
+
fields: [
|
|
1303
|
+
{
|
|
1304
|
+
label: "connect.template.send_notification",
|
|
1305
|
+
property: "campaign.notify",
|
|
1306
|
+
type: "switch"
|
|
1307
|
+
}
|
|
1308
|
+
]
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
name: "connect.template.notify_message",
|
|
1312
|
+
fields: [
|
|
1313
|
+
{
|
|
1314
|
+
label: "connect.template.notification_message",
|
|
1315
|
+
property: "campaign.notifyMessage",
|
|
1316
|
+
type: "message",
|
|
1317
|
+
extras: "ISSUE_REWARD"
|
|
1318
|
+
}
|
|
1319
|
+
],
|
|
1320
|
+
condition: {
|
|
1321
|
+
property: "campaign.notify",
|
|
1322
|
+
value: !0
|
|
1323
|
+
}
|
|
1268
1324
|
}
|
|
1269
|
-
// {
|
|
1270
|
-
// name: 'connect.template.notify_audience',
|
|
1271
|
-
// fields: [
|
|
1272
|
-
// {
|
|
1273
|
-
// label: 'connect.template.send_notification',
|
|
1274
|
-
// property: 'campaign.notify',
|
|
1275
|
-
// type: 'switch',
|
|
1276
|
-
// },
|
|
1277
|
-
// ],
|
|
1278
|
-
// },
|
|
1279
1325
|
]
|
|
1280
1326
|
}
|
|
1281
1327
|
],
|
|
@@ -1949,7 +1995,7 @@ t.scaffoldGroup(), p("STAMP", {
|
|
|
1949
1995
|
business: null,
|
|
1950
1996
|
noCampaign: !1
|
|
1951
1997
|
});
|
|
1952
|
-
const
|
|
1998
|
+
const lt = {
|
|
1953
1999
|
_id: "",
|
|
1954
2000
|
intention: [],
|
|
1955
2001
|
name: "Spend and get voucher",
|
|
@@ -2367,7 +2413,7 @@ const it = {
|
|
|
2367
2413
|
({
|
|
2368
2414
|
...t.scaffoldGroup()
|
|
2369
2415
|
});
|
|
2370
|
-
const
|
|
2416
|
+
const rt = {
|
|
2371
2417
|
_id: "",
|
|
2372
2418
|
intention: [],
|
|
2373
2419
|
name: "Spend and earn points",
|
|
@@ -2793,7 +2839,7 @@ t.scaffoldGroup(), t.scaffoldGroup(), p("GAME", {
|
|
|
2793
2839
|
business: null,
|
|
2794
2840
|
noCampaign: !1
|
|
2795
2841
|
});
|
|
2796
|
-
const
|
|
2842
|
+
const ct = {
|
|
2797
2843
|
_id: "",
|
|
2798
2844
|
intention: [],
|
|
2799
2845
|
name: "Welcome voucher",
|
|
@@ -3535,7 +3581,7 @@ e.object({
|
|
|
3535
3581
|
getRules: He
|
|
3536
3582
|
});
|
|
3537
3583
|
e.object({
|
|
3538
|
-
transactions: e.array(
|
|
3584
|
+
transactions: e.array(F),
|
|
3539
3585
|
collections: e.array(G)
|
|
3540
3586
|
});
|
|
3541
3587
|
const L = e.enum([
|
|
@@ -3856,7 +3902,7 @@ e.object({
|
|
|
3856
3902
|
limit: e.coerce.number().int().positive().optional(),
|
|
3857
3903
|
skip: e.coerce.number().int().min(0).optional()
|
|
3858
3904
|
});
|
|
3859
|
-
const
|
|
3905
|
+
const pt = e.object({
|
|
3860
3906
|
averageScore: e.number(),
|
|
3861
3907
|
total: e.number().int().nonnegative(),
|
|
3862
3908
|
starCounts: e.array(
|
|
@@ -3871,9 +3917,9 @@ const ct = e.object({
|
|
|
3871
3917
|
phoneNumber: e.string().optional()
|
|
3872
3918
|
}), Ae = _.extend({
|
|
3873
3919
|
_id: e.string().optional()
|
|
3874
|
-
}), Fe = _.extend({
|
|
3875
|
-
_id: e.string()
|
|
3876
3920
|
}), Me = _.extend({
|
|
3921
|
+
_id: e.string()
|
|
3922
|
+
}), Fe = _.extend({
|
|
3877
3923
|
isAnonymous: e.boolean().optional()
|
|
3878
3924
|
}), Ge = _.extend({
|
|
3879
3925
|
id: e.string().optional()
|
|
@@ -3888,7 +3934,7 @@ const ct = e.object({
|
|
|
3888
3934
|
source: e.literal("google"),
|
|
3889
3935
|
externalId: e.string().min(1),
|
|
3890
3936
|
translatedComment: e.string().optional(),
|
|
3891
|
-
reviewer:
|
|
3937
|
+
reviewer: Fe.optional(),
|
|
3892
3938
|
reply: h.optional(),
|
|
3893
3939
|
mediaItems: e.array(s),
|
|
3894
3940
|
starRating: e.number(),
|
|
@@ -3909,10 +3955,10 @@ const ct = e.object({
|
|
|
3909
3955
|
starRating: e.number(),
|
|
3910
3956
|
mediaItems: e.array(s),
|
|
3911
3957
|
billId: e.string()
|
|
3912
|
-
}),
|
|
3958
|
+
}), We = y.extend({
|
|
3913
3959
|
source: e.literal("feedvibe"),
|
|
3914
3960
|
externalId: e.string().min(1),
|
|
3915
|
-
reviewer:
|
|
3961
|
+
reviewer: Me.optional(),
|
|
3916
3962
|
rating: e.object({
|
|
3917
3963
|
overall: e.number(),
|
|
3918
3964
|
food: e.number(),
|
|
@@ -3926,7 +3972,7 @@ e.discriminatedUnion("source", [
|
|
|
3926
3972
|
ke,
|
|
3927
3973
|
Be,
|
|
3928
3974
|
Ve,
|
|
3929
|
-
|
|
3975
|
+
We
|
|
3930
3976
|
]);
|
|
3931
3977
|
e.object({
|
|
3932
3978
|
comment: e.string(),
|
|
@@ -3948,7 +3994,7 @@ const f = e.object({
|
|
|
3948
3994
|
restaurantId: n,
|
|
3949
3995
|
restaurantName: e.string(),
|
|
3950
3996
|
deletedAt: e.coerce.date().optional()
|
|
3951
|
-
}),
|
|
3997
|
+
}), Ye = f.extend({
|
|
3952
3998
|
source: e.literal("google"),
|
|
3953
3999
|
externalId: e.string().min(1),
|
|
3954
4000
|
translatedComment: e.string().optional(),
|
|
@@ -3991,7 +4037,7 @@ const f = e.object({
|
|
|
3991
4037
|
mediaItems: e.array(s).default([])
|
|
3992
4038
|
});
|
|
3993
4039
|
e.discriminatedUnion("source", [
|
|
3994
|
-
|
|
4040
|
+
Ye,
|
|
3995
4041
|
Ke,
|
|
3996
4042
|
qe,
|
|
3997
4043
|
Xe
|
|
@@ -3999,18 +4045,18 @@ e.discriminatedUnion("source", [
|
|
|
3999
4045
|
export {
|
|
4000
4046
|
ae as F,
|
|
4001
4047
|
t as R,
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4048
|
+
lt as S,
|
|
4049
|
+
it as T,
|
|
4050
|
+
ct as W,
|
|
4005
4051
|
H as a,
|
|
4006
|
-
|
|
4052
|
+
rt as b,
|
|
4007
4053
|
Ne as c,
|
|
4008
4054
|
x as d,
|
|
4009
4055
|
C as e,
|
|
4010
4056
|
$ as f,
|
|
4011
4057
|
Z as g,
|
|
4012
|
-
|
|
4013
|
-
|
|
4058
|
+
pt as h,
|
|
4059
|
+
W as i,
|
|
4014
4060
|
h as j,
|
|
4015
4061
|
q as s
|
|
4016
4062
|
};
|