@feedmepos/mf-connect 0.1.38-beta.3 → 0.1.38-beta.30
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-DlzNe_iy.js → Analytic-DZd0cuer.js} +15 -15
- package/dist/{App-S5t6byxx.js → App-DCufPS7t.js} +624 -618
- package/dist/{AuditLogs-FO7SmMm2.js → AuditLogs-Cu3GkJU8.js} +14 -14
- package/dist/{Bin-D--pK-f4.js → Bin-CCLkL0Yx.js} +9 -9
- package/dist/Broadcast-DfVNybQ9.js +233 -0
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-C6MYdWnX.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CsqJ5I44.js} +6 -6
- package/dist/{Card-DHL6WnwR.js → Card-PkTegRPO.js} +143 -137
- package/dist/{Collections-DnonNjPT.js → Collections-DICt9ZyA.js} +82 -76
- package/dist/Credit-BYLUfk8Y.js +228 -0
- package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-BUzUIIUW.js → DateRangeChip.vue_vue_type_script_setup_true_lang-eIoPtgO5.js} +1 -1
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-sFQqhzy2.js +3117 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-C4zzEOCb.js → EffectSheet.vue_vue_type_style_index_0_lang-CCDMcHF1.js} +100 -99
- package/dist/Experience-BNnAI7Mt.js +229 -0
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js +129 -0
- package/dist/{Game-Bkl0JnBq.js → Game-DRlilIkb.js} +103 -97
- package/dist/Grab-CojtZOpu.js +301 -0
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-rWUkV9gn.js → ImageInput.vue_vue_type_script_setup_true_lang-D1KQpDGg.js} +8 -8
- package/dist/{Index-BXTpF6kN.js → Index-CszAxFkr.js} +54 -54
- package/dist/{Marketing-kk88gqDC.js → Marketing-BU2HfLGR.js} +7112 -5424
- package/dist/{Member-Cq-orpRf.js → Member-Cv59bJ05.js} +10 -10
- package/dist/{MemberList-B0K6Djc0.js → MemberList-sUMDok2v.js} +33 -33
- package/dist/{MemberTransactions-BCrJz8M9.js → MemberTransactions-DFfKjZr3.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-BcGhTM5H.js → MessageInput.vue_vue_type_script_setup_true_lang-t4Eoysz2.js} +5789 -5515
- package/dist/{Mission-BF1Z-Veq.js → Mission-C3TidRb4.js} +112 -106
- package/dist/{Overview-CLSBBnZz.js → Overview-BQ3o4TVM.js} +21 -21
- package/dist/Point-BcrD7ES3.js +232 -0
- package/dist/{Promotion-CGwxt3l3.js → Promotion-ZD1cfVC-.js} +11 -11
- package/dist/{Queue-Dihw6DCV.js → Queue-DdrFO5kR.js} +13 -13
- package/dist/{Record-ChSb722p.js → Record-B_ijfRWb.js} +10 -10
- package/dist/{Reward-8oKlHA-x.js → Reward-DI0c2J9X.js} +15 -15
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-D--YGFcF.js → RewardGroup.vue_vue_type_script_setup_true_lang-Cvwh0zaz.js} +11 -11
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-DtjLHS3r.js +1763 -0
- package/dist/{Segment-BbYgbJ7w.js → Segment-BX5v5i-1.js} +274 -274
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-Dy_G8md1.js → SelectItems.vue_vue_type_script_setup_true_lang-BYFn_fb4.js} +14 -14
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-BFhY3cve.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-BMguZWAu.js} +11 -11
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-WEiXy4o1.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-CsfkA8JF.js} +3 -3
- package/dist/{Setting-B75a5DWV.js → Setting-Csey_cS9.js} +459 -444
- package/dist/{Store-Cb8Et93b.js → Store-CYl7YDHy.js} +472 -465
- package/dist/{StoreRewards-DEI9VJHO.js → StoreRewards-Bo0rVsgN.js} +15 -15
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-BGBl4Zla.js → StoreTransactions.vue_vue_type_script_setup_true_lang-BHsKK0dg.js} +208 -222
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-92NnMkro.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-BzZSouZO.js} +1 -1
- package/dist/{Tier-BB4AyAZV.js → Tier-Gqnj_bDG.js} +230 -227
- package/dist/{Title-Cla1U1ye.js → Title-Ch-jqSO7.js} +142 -139
- package/dist/{Transaction-fHFbemk-.js → Transaction-CVCkOMFj.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-yS5qh7za.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-LthmZqI9.js} +6 -6
- package/dist/{Voucher-CraCvVuq.js → Voucher-BIzVR4lh.js} +14 -14
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-DqKT6Fep.js → VoucherEditor.vue_vue_type_script_setup_true_lang-DT58rZQY.js} +86 -86
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-B14K5zel.js → ZodTextField.vue_vue_type_script_setup_true_lang-CsUTGbVv.js} +1 -1
- package/dist/{app-B8hYhD6p.js → app-Boa6_ufv.js} +678 -597
- package/dist/app-Bua4116U.js +57962 -0
- package/dist/app.js +1 -1
- package/dist/{business-CwtLYoAT.js → business-B9qzNB9x.js} +11 -8
- package/dist/{campaign-Bea47E3G.js → campaign-BG3Q7Y_5.js} +29 -25
- package/dist/{campaign-BwM5SLyy.js → campaign-CLiNvxz1.js} +29 -16
- package/dist/{campaign.enum-v4z9v1aa.js → campaign.enum-BBcvtwqA.js} +3 -2
- package/dist/{campaign.fn-CV5s8XUt.js → campaign.fn-BCgjWsyc.js} +77 -77
- package/dist/{collectible.enum-BGt9xa0D.js → collectible.enum-CCEehKbq.js} +1 -1
- package/dist/{collection.fn-DFzVxsA9.js → collection.fn-Cb36pXtT.js} +2 -2
- package/dist/dto-bjiCIWhN.js +222 -0
- package/dist/{effect-DQtWLIrF.js → effect-Y2_VL-pz.js} +1 -1
- package/dist/{email-addresses-I8wDL9bh.js → email-addresses-DBW4O920.js} +1 -1
- package/dist/{export-BauRZnqp.js → export-DYRzarTM.js} +4 -4
- package/dist/{helper-B2Q1CLCG.js → helper-IRTpWUrF.js} +1 -1
- package/dist/{index-DtfWwcp4.js → index-B2XAPlPa.js} +1 -1
- package/dist/{index-DQpw4Va-.js → index-B9b2xTzF.js} +573 -573
- package/dist/{index-CCJqmSob.js → index-BHa77cU0.js} +1 -1
- package/dist/{index-DGuR3NRj.js → index-Bav3ZvTM.js} +3 -3
- package/dist/{index-BdizAaMz.js → index-BhO2753A.js} +16 -16
- package/dist/{index-yOFbPJEE.js → index-Bn7blNyV.js} +1 -1
- package/dist/{index-aguYFa7D.js → index-CiTpvc7_.js} +6347 -6305
- package/dist/{index-CgYAHnlX.js → index-CklMHBwW.js} +861 -714
- package/dist/{index-Bv3aqvRF.js → index-Cy979-ew.js} +11 -4
- package/dist/{index-B20y17xe.js → index-DC3QPfrB.js} +3 -3
- package/dist/{index-dK8fMQ5h.js → index-DIGn3WB7.js} +1 -1
- package/dist/{index-IXY9hkrD.js → index-SCPluYZW.js} +1 -1
- package/dist/{index-B1Bdn9rV.js → index-gHmuf4-K.js} +196 -16
- package/dist/{index-s1IB44jY.js → index-kX1sjsqb.js} +1 -1
- package/dist/{index.esm2017-VwpfHNpU.js → index.esm2017-C-QpkXuQ.js} +34 -34
- package/dist/{loading-BFKvxqlx.js → loading-DM0zln6P.js} +1 -1
- package/dist/{membership-Cgzqg1Vw.js → membership-J9zo0kdV.js} +3 -3
- package/dist/{moment-BWErdI6_.js → moment-D7p2TMB-.js} +6 -1
- package/dist/{money-DIh7Uegf.js → money-Bu8Q_hy7.js} +1 -1
- package/dist/{number-onslf0BL.js → number-DxMqWPCN.js} +1 -1
- package/dist/objectid-BxVQDAWc.js +145 -0
- package/dist/{plugins-hfoXoiK2.js → plugins-DygCSSsd.js} +2 -2
- package/dist/{reward-CYC7hCgM.js → reward-DynNuS0r.js} +1 -1
- package/dist/rule-builder-XaPy7lrM.js +93 -0
- package/dist/{rule-C_M3oFLI.js → rule-iz6nQ0uu.js} +4 -4
- package/dist/style.css +1 -1
- package/dist/{template-C6URy7QF.js → template-B9dFBB9w.js} +5 -5
- package/dist/timezone-RBLZIQmz.js +1151 -0
- package/dist/{trigger-CZAiHFT5.js → trigger-BwtbgMts.js} +4 -4
- package/dist/usePagination-Ds-cuHop.js +223 -0
- package/dist/{user-uo2wREaB.js → user-B6ADm0VF.js} +1 -1
- package/dist/{vue-i18n-Ba5EWUgR.js → vue-i18n-Chc6p5eH.js} +327 -327
- package/dist/{xlsx-CIJPKm4G.js → xlsx-D4qtoXNT.js} +1 -1
- package/package.json +6 -5
- package/dist/Broadcast-BYL3w06w.js +0 -227
- package/dist/Credit-BMeykOe-.js +0 -222
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-D6Ps8njr.js +0 -2185
- package/dist/Experience-Lu8sCso6.js +0 -223
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-d8rh38tD.js +0 -114
- package/dist/Point-BZ2Bgfw8.js +0 -226
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-GSqXPvRs.js +0 -1728
- package/dist/app-BVCw28s0.js +0 -33357
- package/dist/dto-BgJqr4qT.js +0 -214
- package/dist/objectid-vtlpVGBH.js +0 -145
- package/dist/remy-vue-client-Cpppk9h-.js +0 -1693
- package/dist/rule-builder-BOG14MYK.js +0 -89
- package/dist/usePagination-BeF5K3M7.js +0 -223
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { g as t, S as c, b as
|
|
1
|
+
import { g as t, s as u, S as c, b as i } from "./index-CiTpvc7_.js";
|
|
2
2
|
const a = () => {
|
|
3
3
|
const e = c.getBusinessId();
|
|
4
4
|
if (!e) throw new Error("Invalid business ID");
|
|
5
|
-
return
|
|
5
|
+
return i(`businesses/${e}/membership`, {
|
|
6
6
|
noIdRequired: !0
|
|
7
7
|
});
|
|
8
|
-
},
|
|
8
|
+
}, o = {
|
|
9
9
|
async read() {
|
|
10
10
|
return t(await a().get(""));
|
|
11
11
|
},
|
|
@@ -108,6 +108,13 @@ const a = () => {
|
|
|
108
108
|
async getEmailAddresses() {
|
|
109
109
|
return t(await a().get("email-addresses"));
|
|
110
110
|
},
|
|
111
|
+
async getWhatsappNumbers() {
|
|
112
|
+
return t(
|
|
113
|
+
await u(`whatsappList/${c.getBusinessId()}`).get(
|
|
114
|
+
""
|
|
115
|
+
)
|
|
116
|
+
);
|
|
117
|
+
},
|
|
111
118
|
async readCollectionCountByMemberId(e, r) {
|
|
112
119
|
return t(
|
|
113
120
|
await a().get(`/collections/count/${e}`, {
|
|
@@ -135,5 +142,5 @@ const a = () => {
|
|
|
135
142
|
}
|
|
136
143
|
};
|
|
137
144
|
export {
|
|
138
|
-
|
|
145
|
+
o as m
|
|
139
146
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as p } from "./index-BhO2753A.js";
|
|
2
2
|
function g(r) {
|
|
3
3
|
return r.toLowerCase();
|
|
4
4
|
}
|
|
@@ -23,9 +23,9 @@ function R(r, e) {
|
|
|
23
23
|
var t = r.toLowerCase();
|
|
24
24
|
return e === 0 ? C(t) : t;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function h(r, e) {
|
|
27
27
|
return e === void 0 && (e = {}), A(r, p({ delimiter: " ", transform: R }, e));
|
|
28
28
|
}
|
|
29
29
|
export {
|
|
30
|
-
|
|
30
|
+
h as s
|
|
31
31
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { z as e, F as n, m as o, a as v } from "./index-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { R as t } from "./rule-builder-
|
|
5
|
-
import { i } from "./helper-
|
|
6
|
-
import { a as r } from "./index-
|
|
7
|
-
const
|
|
1
|
+
import { z as e, F as n, m as o, a as v } from "./index-B9b2xTzF.js";
|
|
2
|
+
import { B as E, C as O, D as I, E as T, G as p } from "./index-CklMHBwW.js";
|
|
3
|
+
import { a as L } from "./index-BhO2753A.js";
|
|
4
|
+
import { R as t } from "./rule-builder-XaPy7lrM.js";
|
|
5
|
+
import { i } from "./helper-IRTpWUrF.js";
|
|
6
|
+
import { a as r } from "./index-Bav3ZvTM.js";
|
|
7
|
+
const h = {
|
|
8
8
|
collectionName: "AuditLogs",
|
|
9
9
|
transform: {
|
|
10
10
|
_id: "oid",
|
|
@@ -36,7 +36,7 @@ const T = {
|
|
|
36
36
|
"SETTINGS",
|
|
37
37
|
"SEGMENTATION",
|
|
38
38
|
"USER"
|
|
39
|
-
]),
|
|
39
|
+
]), x = e.object({
|
|
40
40
|
httpMethod: R,
|
|
41
41
|
url: e.string().min(1),
|
|
42
42
|
userAgent: e.string(),
|
|
@@ -44,7 +44,7 @@ const T = {
|
|
|
44
44
|
params: e.object({}).passthrough().nullish(),
|
|
45
45
|
query: e.object({}).passthrough().nullish(),
|
|
46
46
|
body: e.object({}).passthrough().nullish()
|
|
47
|
-
}),
|
|
47
|
+
}), S = e.object({
|
|
48
48
|
statusCode: e.number().int().min(100).max(599),
|
|
49
49
|
body: e.object({}).passthrough().nullish()
|
|
50
50
|
});
|
|
@@ -57,9 +57,9 @@ e.object({
|
|
|
57
57
|
business: n.nullish(),
|
|
58
58
|
clientIp: e.string().nullish(),
|
|
59
59
|
timestamp: e.string().datetime(),
|
|
60
|
-
request:
|
|
61
|
-
response:
|
|
62
|
-
}).describe(o.describe(
|
|
60
|
+
request: x,
|
|
61
|
+
response: S
|
|
62
|
+
}).describe(o.describe(h));
|
|
63
63
|
const pe = {
|
|
64
64
|
PROMOTION: {
|
|
65
65
|
name: "Promotion Template",
|
|
@@ -111,6 +111,11 @@ const pe = {
|
|
|
111
111
|
label: void 0,
|
|
112
112
|
property: "campaign.effect",
|
|
113
113
|
type: "effect"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
label: "Promotion Image",
|
|
117
|
+
property: "campaign.image",
|
|
118
|
+
type: "image"
|
|
114
119
|
}
|
|
115
120
|
]
|
|
116
121
|
}
|
|
@@ -481,6 +486,11 @@ const pe = {
|
|
|
481
486
|
label: "connect.template.campaign_description",
|
|
482
487
|
property: "campaign.description",
|
|
483
488
|
type: "textarea"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
label: "connect.template.campaign_period",
|
|
492
|
+
property: "campaign.timeframeOptions",
|
|
493
|
+
type: "timeframe"
|
|
484
494
|
}
|
|
485
495
|
]
|
|
486
496
|
},
|
|
@@ -1641,6 +1651,172 @@ const pe = {
|
|
|
1641
1651
|
noCampaign: !1
|
|
1642
1652
|
})
|
|
1643
1653
|
}
|
|
1654
|
+
},
|
|
1655
|
+
GRAB: {
|
|
1656
|
+
name: "Grab Campaign Template",
|
|
1657
|
+
description: "Grab campaign template for campaign creation.",
|
|
1658
|
+
steps: [
|
|
1659
|
+
{
|
|
1660
|
+
name: "connect.template.general_information",
|
|
1661
|
+
groups: [
|
|
1662
|
+
{
|
|
1663
|
+
name: "connect.template.general",
|
|
1664
|
+
fields: [
|
|
1665
|
+
{
|
|
1666
|
+
label: "connect.template.campaign_name",
|
|
1667
|
+
property: "campaign.name",
|
|
1668
|
+
type: "text"
|
|
1669
|
+
},
|
|
1670
|
+
{
|
|
1671
|
+
label: "connect.template.campaign_period",
|
|
1672
|
+
property: "campaign.timeframeOptions",
|
|
1673
|
+
type: "timeframe"
|
|
1674
|
+
}
|
|
1675
|
+
]
|
|
1676
|
+
}
|
|
1677
|
+
]
|
|
1678
|
+
},
|
|
1679
|
+
{
|
|
1680
|
+
name: "connect.template.discount",
|
|
1681
|
+
groups: [
|
|
1682
|
+
{
|
|
1683
|
+
name: "connect.template.discount",
|
|
1684
|
+
fields: [
|
|
1685
|
+
{
|
|
1686
|
+
label: void 0,
|
|
1687
|
+
property: "campaign.discount",
|
|
1688
|
+
type: "grab_effect"
|
|
1689
|
+
}
|
|
1690
|
+
]
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
name: "connect.template.grab_quota",
|
|
1694
|
+
fields: [
|
|
1695
|
+
{
|
|
1696
|
+
label: void 0,
|
|
1697
|
+
property: "campaign.quotas",
|
|
1698
|
+
type: "grab_quota"
|
|
1699
|
+
}
|
|
1700
|
+
]
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
name: "connect.template.grab_condition",
|
|
1704
|
+
fields: [
|
|
1705
|
+
{
|
|
1706
|
+
label: void 0,
|
|
1707
|
+
property: "campaign.conditions",
|
|
1708
|
+
type: "grab_conditions"
|
|
1709
|
+
}
|
|
1710
|
+
]
|
|
1711
|
+
}
|
|
1712
|
+
]
|
|
1713
|
+
},
|
|
1714
|
+
{
|
|
1715
|
+
name: "connect.template.terms_conditions",
|
|
1716
|
+
groups: [
|
|
1717
|
+
{
|
|
1718
|
+
name: "Location",
|
|
1719
|
+
fields: [
|
|
1720
|
+
{
|
|
1721
|
+
label: "Target location",
|
|
1722
|
+
property: "campaign.targetLocation",
|
|
1723
|
+
type: "target_location"
|
|
1724
|
+
}
|
|
1725
|
+
]
|
|
1726
|
+
}
|
|
1727
|
+
]
|
|
1728
|
+
}
|
|
1729
|
+
],
|
|
1730
|
+
defaultValue: {
|
|
1731
|
+
templateId: "",
|
|
1732
|
+
campaign: {
|
|
1733
|
+
type: "GRAB",
|
|
1734
|
+
templateId: "",
|
|
1735
|
+
name: "",
|
|
1736
|
+
description: "",
|
|
1737
|
+
image: "",
|
|
1738
|
+
discount: null,
|
|
1739
|
+
group: null,
|
|
1740
|
+
event: {
|
|
1741
|
+
type: "MAKING_ORDER",
|
|
1742
|
+
rule: t.scaffoldGroup()
|
|
1743
|
+
},
|
|
1744
|
+
quotas: {
|
|
1745
|
+
totalCount: 10,
|
|
1746
|
+
totalCountPerUser: 2
|
|
1747
|
+
},
|
|
1748
|
+
conditions: {
|
|
1749
|
+
startTime: "",
|
|
1750
|
+
endTime: "",
|
|
1751
|
+
eaterType: "all",
|
|
1752
|
+
minBasketAmount: 10,
|
|
1753
|
+
bundleQuantity: 2,
|
|
1754
|
+
workingHour: {
|
|
1755
|
+
sun: {
|
|
1756
|
+
periods: [
|
|
1757
|
+
{
|
|
1758
|
+
startTime: "11:30",
|
|
1759
|
+
endTime: "14:00"
|
|
1760
|
+
}
|
|
1761
|
+
]
|
|
1762
|
+
},
|
|
1763
|
+
mon: {
|
|
1764
|
+
periods: [
|
|
1765
|
+
{
|
|
1766
|
+
startTime: "11:30",
|
|
1767
|
+
endTime: "14:00"
|
|
1768
|
+
}
|
|
1769
|
+
]
|
|
1770
|
+
},
|
|
1771
|
+
tue: {
|
|
1772
|
+
periods: [
|
|
1773
|
+
{
|
|
1774
|
+
startTime: "11:30",
|
|
1775
|
+
endTime: "14:00"
|
|
1776
|
+
}
|
|
1777
|
+
]
|
|
1778
|
+
},
|
|
1779
|
+
wed: {
|
|
1780
|
+
periods: [
|
|
1781
|
+
{
|
|
1782
|
+
startTime: "11:30",
|
|
1783
|
+
endTime: "14:00"
|
|
1784
|
+
}
|
|
1785
|
+
]
|
|
1786
|
+
},
|
|
1787
|
+
thu: {
|
|
1788
|
+
periods: [
|
|
1789
|
+
{
|
|
1790
|
+
startTime: "11:30",
|
|
1791
|
+
endTime: "14:00"
|
|
1792
|
+
}
|
|
1793
|
+
]
|
|
1794
|
+
},
|
|
1795
|
+
fri: {
|
|
1796
|
+
periods: [
|
|
1797
|
+
{
|
|
1798
|
+
startTime: "11:30",
|
|
1799
|
+
endTime: "14:00"
|
|
1800
|
+
}
|
|
1801
|
+
]
|
|
1802
|
+
},
|
|
1803
|
+
sat: {
|
|
1804
|
+
periods: [
|
|
1805
|
+
{
|
|
1806
|
+
startTime: "11:30",
|
|
1807
|
+
endTime: "14:00"
|
|
1808
|
+
}
|
|
1809
|
+
]
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
},
|
|
1813
|
+
targetLocation: null,
|
|
1814
|
+
timeframeOptions: {
|
|
1815
|
+
type: "timeframe",
|
|
1816
|
+
property: "__now"
|
|
1817
|
+
}
|
|
1818
|
+
}
|
|
1819
|
+
}
|
|
1644
1820
|
}
|
|
1645
1821
|
};
|
|
1646
1822
|
t.scaffoldGroup(), i("STAMP", {
|
|
@@ -1853,7 +2029,10 @@ const D = e.enum([
|
|
|
1853
2029
|
"rule_bill",
|
|
1854
2030
|
"rule_feedback",
|
|
1855
2031
|
"rule_birthday",
|
|
1856
|
-
"promotion_game_type"
|
|
2032
|
+
"promotion_game_type",
|
|
2033
|
+
"grab_effect",
|
|
2034
|
+
"grab_quota",
|
|
2035
|
+
"grab_conditions"
|
|
1857
2036
|
]), M = e.object({
|
|
1858
2037
|
label: e.string().optional(),
|
|
1859
2038
|
property: e.string().or(e.any()),
|
|
@@ -1904,7 +2083,8 @@ const m = e.enum(["PHONE"]), F = e.enum([
|
|
|
1904
2083
|
"Otp",
|
|
1905
2084
|
"Marketing",
|
|
1906
2085
|
"Ordering",
|
|
1907
|
-
"MemberInvitation"
|
|
2086
|
+
"MemberInvitation",
|
|
2087
|
+
"MarketingPromotion"
|
|
1908
2088
|
]), B = e.object({
|
|
1909
2089
|
type: m
|
|
1910
2090
|
}), s = B.extend({
|
|
@@ -1957,7 +2137,7 @@ e.object({
|
|
|
1957
2137
|
e.object({
|
|
1958
2138
|
target: e.string(),
|
|
1959
2139
|
message: e.string(),
|
|
1960
|
-
|
|
2140
|
+
mediaUrl: e.string().optional()
|
|
1961
2141
|
});
|
|
1962
2142
|
e.enum(["send_notification", "TRIGGER_EVENT"]);
|
|
1963
2143
|
e.enum([
|
|
@@ -2102,7 +2282,7 @@ const f = e.object({
|
|
|
2102
2282
|
_id: n,
|
|
2103
2283
|
name: e.string().min(1, "Name is required").max(50),
|
|
2104
2284
|
type: X,
|
|
2105
|
-
event:
|
|
2285
|
+
event: T.optional()
|
|
2106
2286
|
}), q = e.object({
|
|
2107
2287
|
from: e.number().int("Must be integer").min(1, "Min referral count need to start from 1"),
|
|
2108
2288
|
to: e.number().int("Must be integer").nullish()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Y = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_48508173-ed6e-43f3-8e22-9d9ff5242da7", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_remy_vue_client: "0.2.0-beta.14", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.19.5 linux x64", CI: "true", npm_package_dependencies_vue: "^3.4.33", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_48508173-ed6e-43f3-8e22-9d9ff5242da7", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.19.5/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-9.0.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.2.13676358", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.12.5", npm_package_dependencies_fabric: "^5.5.1", npm_package_dependencies_ua_parser_js: "^2.0.3", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "1745", npm_package_dependencies__feedmepos_ui_library: "1.6.7", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies__tailwindcss_typography: "^0.5.16", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250907.24.1", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.8", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:12530", GITHUB_WORKFLOW: "[CD:dev] connect-portal (mf-connect)", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.7/x64", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "17572237339", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "fcf84d8b40d4a16d2088fb50e3bcbc55e6160122", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_dependencies__ckeditor_ckeditor5_vue: "^7.3.0", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[DEV] deploy-mf-connect.yml@refs/heads/dev", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.19.5/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_84642ef4-6bcf-4568-9d40-3861521bfa85", INVOCATION_ID: "4d2ca2e074c944f79d40b15331f11116", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.19.5/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "60", GITHUB_TRIGGERING_ACTOR: "qaijunse", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.20", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000015842", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/marketing-services", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "2.14.32", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.1.38-beta.3", npm_package_dependencies_ckeditor5: "^44.3.0", npm_lifecycle_event: "build:mf:dev", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "fcf84d8b40d4a16d2088fb50e3bcbc55e6160122", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies__ckeditor_ckeditor5_build_classic: "^44.3.0", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "qaijunse", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_48508173-ed6e-43f3-8e22-9d9ff5242da7", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "39590157", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_48508173-ed6e-43f3-8e22-9d9ff5242da7", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_pnpm_overrides__feedmepos_mf_common: "1.15.0-beta.6", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_48508173-ed6e-43f3-8e22-9d9ff5242da7", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", NODE_ENV: "production", FEEDME_NAMESPACE: "dev", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", IMPORT_FILES_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", AUTH_URL: "https://portal-v2-dev.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedmedev.cc", CRM_APP_URL: "crm.feedmedev.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedmedev.cc", CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", PAYMENT_PORTAL_URL: "https://portal.feedmedev.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedmedev.cc/" } };
|
|
1
|
+
var Y = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_3cd3ced6-7096-4ec7-bd82-071865140ad4", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_remy_vue_client: "0.2.0-beta.14", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.19.5 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_3cd3ced6-7096-4ec7-bd82-071865140ad4", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.19.5/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_dependencies_moment_timezone: "^0.6.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-9.2.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.27.2", npm_package_dependencies_fabric: "^5.5.1", npm_package_dependencies_ua_parser_js: "^2.0.3", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "1742", npm_package_dependencies__feedmepos_ui_library: "1.6.7", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies__tailwindcss_typography: "^0.5.16", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20251112.124.1", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.8", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:10914", GITHUB_WORKFLOW: "[CD:dev] connect-portal (mf-connect)", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.10/x64", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.4/x64", GITHUB_RUN_ID: "19848423769", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "465119ec823613eddc12efb1807507a21a8815bd", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_dependencies__ckeditor_ckeditor5_vue: "^7.3.0", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[DEV] deploy-mf-connect.yml@refs/heads/dev", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.19.5/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_24586660-826c-47e8-9471-589983390f86", INVOCATION_ID: "286d5b3e0f8044bab2b4ef36ea949864", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.19.5/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "102", GITHUB_TRIGGERING_ACTOR: "qaijunse", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.21", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000031376", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/marketing-services", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "2.14.36", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.1.38-beta.30", npm_package_dependencies_ckeditor5: "^44.3.0", npm_lifecycle_event: "build:mf:dev", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "465119ec823613eddc12efb1807507a21a8815bd", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies__ckeditor_ckeditor5_build_classic: "^44.3.0", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "qaijunse", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_3cd3ced6-7096-4ec7-bd82-071865140ad4", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "39590157", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_3cd3ced6-7096-4ec7-bd82-071865140ad4", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_pnpm_overrides__feedmepos_mf_common: "1.15.0-beta.6", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_3cd3ced6-7096-4ec7-bd82-071865140ad4", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", NODE_ENV: "production", FEEDME_NAMESPACE: "dev", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", IMPORT_FILES_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", AUTH_URL: "https://portal-v2-dev.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedmedev.cc", CRM_APP_URL: "crm.feedmedev.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedmedev.cc", CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", PAYMENT_PORTAL_URL: "https://portal.feedmedev.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedmedev.cc/" } };
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright 2017 Google LLC
|
|
@@ -668,7 +668,7 @@ class H {
|
|
|
668
668
|
* See the License for the specific language governing permissions and
|
|
669
669
|
* limitations under the License.
|
|
670
670
|
*/
|
|
671
|
-
const
|
|
671
|
+
const k = "[DEFAULT]";
|
|
672
672
|
/**
|
|
673
673
|
* @license
|
|
674
674
|
* Copyright 2019 Google LLC
|
|
@@ -738,7 +738,7 @@ class yt {
|
|
|
738
738
|
if (this.component = e, !!this.shouldAutoInitialize()) {
|
|
739
739
|
if (wt(e))
|
|
740
740
|
try {
|
|
741
|
-
this.getOrInitializeService({ instanceIdentifier:
|
|
741
|
+
this.getOrInitializeService({ instanceIdentifier: k });
|
|
742
742
|
} catch {
|
|
743
743
|
}
|
|
744
744
|
for (const [n, r] of this.instancesDeferred.entries()) {
|
|
@@ -753,7 +753,7 @@ class yt {
|
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
755
|
}
|
|
756
|
-
clearInstance(e =
|
|
756
|
+
clearInstance(e = k) {
|
|
757
757
|
this.instancesDeferred.delete(e), this.instancesOptions.delete(e), this.instances.delete(e);
|
|
758
758
|
}
|
|
759
759
|
// app.delete() will call this method on every provider to delete the services
|
|
@@ -768,10 +768,10 @@ class yt {
|
|
|
768
768
|
isComponentSet() {
|
|
769
769
|
return this.component != null;
|
|
770
770
|
}
|
|
771
|
-
isInitialized(e =
|
|
771
|
+
isInitialized(e = k) {
|
|
772
772
|
return this.instances.has(e);
|
|
773
773
|
}
|
|
774
|
-
getOptions(e =
|
|
774
|
+
getOptions(e = k) {
|
|
775
775
|
return this.instancesOptions.get(e) || {};
|
|
776
776
|
}
|
|
777
777
|
initialize(e = {}) {
|
|
@@ -832,15 +832,15 @@ class yt {
|
|
|
832
832
|
}
|
|
833
833
|
return r || null;
|
|
834
834
|
}
|
|
835
|
-
normalizeInstanceIdentifier(e =
|
|
836
|
-
return this.component ? this.component.multipleInstances ? e :
|
|
835
|
+
normalizeInstanceIdentifier(e = k) {
|
|
836
|
+
return this.component ? this.component.multipleInstances ? e : k : e;
|
|
837
837
|
}
|
|
838
838
|
shouldAutoInitialize() {
|
|
839
839
|
return !!this.component && this.component.instantiationMode !== "EXPLICIT";
|
|
840
840
|
}
|
|
841
841
|
}
|
|
842
842
|
function At(t) {
|
|
843
|
-
return t ===
|
|
843
|
+
return t === k ? void 0 : t;
|
|
844
844
|
}
|
|
845
845
|
function wt(t) {
|
|
846
846
|
return t.instantiationMode === "EAGER";
|
|
@@ -920,14 +920,14 @@ var l;
|
|
|
920
920
|
(function(t) {
|
|
921
921
|
t[t.DEBUG = 0] = "DEBUG", t[t.VERBOSE = 1] = "VERBOSE", t[t.INFO = 2] = "INFO", t[t.WARN = 3] = "WARN", t[t.ERROR = 4] = "ERROR", t[t.SILENT = 5] = "SILENT";
|
|
922
922
|
})(l || (l = {}));
|
|
923
|
-
const
|
|
923
|
+
const kt = {
|
|
924
924
|
debug: l.DEBUG,
|
|
925
925
|
verbose: l.VERBOSE,
|
|
926
926
|
info: l.INFO,
|
|
927
927
|
warn: l.WARN,
|
|
928
928
|
error: l.ERROR,
|
|
929
929
|
silent: l.SILENT
|
|
930
|
-
},
|
|
930
|
+
}, Dt = l.INFO, Nt = {
|
|
931
931
|
[l.DEBUG]: "log",
|
|
932
932
|
[l.VERBOSE]: "log",
|
|
933
933
|
[l.INFO]: "info",
|
|
@@ -950,7 +950,7 @@ class Ct {
|
|
|
950
950
|
* @param name The name that the logs will be associated with
|
|
951
951
|
*/
|
|
952
952
|
constructor(e) {
|
|
953
|
-
this.name = e, this._logLevel =
|
|
953
|
+
this.name = e, this._logLevel = Dt, this._logHandler = St, this._userLogHandler = null;
|
|
954
954
|
}
|
|
955
955
|
get logLevel() {
|
|
956
956
|
return this._logLevel;
|
|
@@ -962,7 +962,7 @@ class Ct {
|
|
|
962
962
|
}
|
|
963
963
|
// Workaround for setter/getter having to be the same type.
|
|
964
964
|
setLogLevel(e) {
|
|
965
|
-
this._logLevel = typeof e == "string" ?
|
|
965
|
+
this._logLevel = typeof e == "string" ? kt[e] : e;
|
|
966
966
|
}
|
|
967
967
|
get logHandler() {
|
|
968
968
|
return this._logHandler;
|
|
@@ -1451,10 +1451,10 @@ function L(t, e, n) {
|
|
|
1451
1451
|
* See the License for the specific language governing permissions and
|
|
1452
1452
|
* limitations under the License.
|
|
1453
1453
|
*/
|
|
1454
|
-
const On = "firebase-heartbeat-database",
|
|
1454
|
+
const On = "firebase-heartbeat-database", kn = 1, F = "firebase-heartbeat-store";
|
|
1455
1455
|
let te = null;
|
|
1456
1456
|
function Fe() {
|
|
1457
|
-
return te || (te = $t(On,
|
|
1457
|
+
return te || (te = $t(On, kn, {
|
|
1458
1458
|
upgrade: (t, e) => {
|
|
1459
1459
|
switch (e) {
|
|
1460
1460
|
case 0:
|
|
@@ -1471,7 +1471,7 @@ function Fe() {
|
|
|
1471
1471
|
});
|
|
1472
1472
|
})), te;
|
|
1473
1473
|
}
|
|
1474
|
-
async function
|
|
1474
|
+
async function Dn(t) {
|
|
1475
1475
|
try {
|
|
1476
1476
|
const n = (await Fe()).transaction(F), r = await n.objectStore(F).get($e(t));
|
|
1477
1477
|
return await n.done, r;
|
|
@@ -1597,7 +1597,7 @@ class Bn {
|
|
|
1597
1597
|
*/
|
|
1598
1598
|
async read() {
|
|
1599
1599
|
if (await this._canUseIndexedDBPromise) {
|
|
1600
|
-
const n = await
|
|
1600
|
+
const n = await Dn(this.app);
|
|
1601
1601
|
return n != null && n.heartbeats ? n : { heartbeats: [] };
|
|
1602
1602
|
} else
|
|
1603
1603
|
return { heartbeats: [] };
|
|
@@ -1977,13 +1977,13 @@ function nr(t) {
|
|
|
1977
1977
|
function _e(t) {
|
|
1978
1978
|
return typeof t == "string" || t instanceof String;
|
|
1979
1979
|
}
|
|
1980
|
-
function
|
|
1980
|
+
function ke(t) {
|
|
1981
1981
|
return fe() && t instanceof Blob;
|
|
1982
1982
|
}
|
|
1983
1983
|
function fe() {
|
|
1984
1984
|
return typeof Blob < "u";
|
|
1985
1985
|
}
|
|
1986
|
-
function
|
|
1986
|
+
function De(t, e, n, r) {
|
|
1987
1987
|
if (r < e)
|
|
1988
1988
|
throw le(`Invalid value for '${t}'. Expected ${e} or greater.`);
|
|
1989
1989
|
if (r > n)
|
|
@@ -2035,10 +2035,10 @@ function We(t) {
|
|
|
2035
2035
|
* See the License for the specific language governing permissions and
|
|
2036
2036
|
* limitations under the License.
|
|
2037
2037
|
*/
|
|
2038
|
-
var
|
|
2038
|
+
var D;
|
|
2039
2039
|
(function(t) {
|
|
2040
2040
|
t[t.NO_ERROR = 0] = "NO_ERROR", t[t.NETWORK_ERROR = 1] = "NETWORK_ERROR", t[t.ABORT = 2] = "ABORT";
|
|
2041
|
-
})(
|
|
2041
|
+
})(D || (D = {}));
|
|
2042
2042
|
/**
|
|
2043
2043
|
* @license
|
|
2044
2044
|
* Copyright 2022 Google LLC
|
|
@@ -2103,9 +2103,9 @@ class sr {
|
|
|
2103
2103
|
};
|
|
2104
2104
|
this.progressCallback_ !== null && o.addUploadProgressListener(i), o.send(this.url_, this.method_, this.body_, this.headers_).then(() => {
|
|
2105
2105
|
this.progressCallback_ !== null && o.removeUploadProgressListener(i), this.pendingConnection_ = null;
|
|
2106
|
-
const a = o.getErrorCode() ===
|
|
2106
|
+
const a = o.getErrorCode() === D.NO_ERROR, c = o.getStatus();
|
|
2107
2107
|
if (!a || rr(c, this.additionalRetryCodes_) && this.retry) {
|
|
2108
|
-
const f = o.getErrorCode() ===
|
|
2108
|
+
const f = o.getErrorCode() === D.ABORT;
|
|
2109
2109
|
r(!1, new G(!1, null, f));
|
|
2110
2110
|
return;
|
|
2111
2111
|
}
|
|
@@ -2382,7 +2382,7 @@ function br(t, e) {
|
|
|
2382
2382
|
class y {
|
|
2383
2383
|
constructor(e, n) {
|
|
2384
2384
|
let r = 0, s = "";
|
|
2385
|
-
|
|
2385
|
+
ke(e) ? (this.data_ = e, r = e.size, s = e.type) : e instanceof ArrayBuffer ? (n ? this.data_ = new Uint8Array(e) : (this.data_ = new Uint8Array(e.byteLength), this.data_.set(new Uint8Array(e))), r = this.data_.length) : e instanceof Uint8Array && (n ? this.data_ = e : (this.data_ = new Uint8Array(e.length), this.data_.set(e)), r = e.length), this.size_ = r, this.type_ = s;
|
|
2386
2386
|
}
|
|
2387
2387
|
size() {
|
|
2388
2388
|
return this.size_;
|
|
@@ -2391,7 +2391,7 @@ class y {
|
|
|
2391
2391
|
return this.type_;
|
|
2392
2392
|
}
|
|
2393
2393
|
slice(e, n) {
|
|
2394
|
-
if (
|
|
2394
|
+
if (ke(this.data_)) {
|
|
2395
2395
|
const r = this.data_, s = pr(r, e, n);
|
|
2396
2396
|
return s === null ? null : new y(s);
|
|
2397
2397
|
} else {
|
|
@@ -2597,7 +2597,7 @@ function Or(t, e) {
|
|
|
2597
2597
|
}
|
|
2598
2598
|
return n;
|
|
2599
2599
|
}
|
|
2600
|
-
function
|
|
2600
|
+
function kr(t, e) {
|
|
2601
2601
|
function n(r, s) {
|
|
2602
2602
|
const o = Ze(t, s, e);
|
|
2603
2603
|
return Qe(o !== null), Ar(o, s, t.host, t._protocol);
|
|
@@ -2619,8 +2619,8 @@ function tt(t) {
|
|
|
2619
2619
|
}
|
|
2620
2620
|
return n;
|
|
2621
2621
|
}
|
|
2622
|
-
function
|
|
2623
|
-
const r = e.fullServerUrl(), s = K(r, t.host, t._protocol), o = "GET", i = t.maxOperationRetryTime, a = new me(s, o,
|
|
2622
|
+
function Dr(t, e, n) {
|
|
2623
|
+
const r = e.fullServerUrl(), s = K(r, t.host, t._protocol), o = "GET", i = t.maxOperationRetryTime, a = new me(s, o, kr(t, n), i);
|
|
2624
2624
|
return a.errorHandler = tt(e), a;
|
|
2625
2625
|
}
|
|
2626
2626
|
function Nr(t, e) {
|
|
@@ -2665,11 +2665,11 @@ Content-Type: ` + u.contentType + `\r
|
|
|
2665
2665
|
}
|
|
2666
2666
|
class Br {
|
|
2667
2667
|
constructor() {
|
|
2668
|
-
this.sent_ = !1, this.xhr_ = new XMLHttpRequest(), this.initXhr(), this.errorCode_ =
|
|
2668
|
+
this.sent_ = !1, this.xhr_ = new XMLHttpRequest(), this.initXhr(), this.errorCode_ = D.NO_ERROR, this.sendPromise_ = new Promise((e) => {
|
|
2669
2669
|
this.xhr_.addEventListener("abort", () => {
|
|
2670
|
-
this.errorCode_ =
|
|
2670
|
+
this.errorCode_ = D.ABORT, e();
|
|
2671
2671
|
}), this.xhr_.addEventListener("error", () => {
|
|
2672
|
-
this.errorCode_ =
|
|
2672
|
+
this.errorCode_ = D.NETWORK_ERROR, e();
|
|
2673
2673
|
}), this.xhr_.addEventListener("load", () => {
|
|
2674
2674
|
e();
|
|
2675
2675
|
});
|
|
@@ -2821,7 +2821,7 @@ function Lr(t, e, n) {
|
|
|
2821
2821
|
}
|
|
2822
2822
|
function Mr(t) {
|
|
2823
2823
|
t._throwIfRoot("getDownloadURL");
|
|
2824
|
-
const e =
|
|
2824
|
+
const e = Dr(t.storage, t._location, Je());
|
|
2825
2825
|
return t.storage.makeRequestWithTokens(e, ge).then((n) => {
|
|
2826
2826
|
if (n === null)
|
|
2827
2827
|
throw qn();
|
|
@@ -2907,7 +2907,7 @@ class be {
|
|
|
2907
2907
|
return this._maxUploadRetryTime;
|
|
2908
2908
|
}
|
|
2909
2909
|
set maxUploadRetryTime(e) {
|
|
2910
|
-
|
|
2910
|
+
De(
|
|
2911
2911
|
"time",
|
|
2912
2912
|
/* minValue=*/
|
|
2913
2913
|
0,
|
|
@@ -2924,7 +2924,7 @@ class be {
|
|
|
2924
2924
|
return this._maxOperationRetryTime;
|
|
2925
2925
|
}
|
|
2926
2926
|
set maxOperationRetryTime(e) {
|
|
2927
|
-
|
|
2927
|
+
De(
|
|
2928
2928
|
"time",
|
|
2929
2929
|
/* minValue=*/
|
|
2930
2930
|
0,
|