@feedmepos/mf-connect 0.1.0-beta.64 → 0.1.0-beta.66

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.
Files changed (88) hide show
  1. package/dist/{Analytic-B325EvdK.js → Analytic-qA4z8oXA.js} +11 -11
  2. package/dist/{App-Cm-p4GBZ.js → App-C7aTQumY.js} +6 -6
  3. package/dist/{AuditLogs-Da6jqw_l.js → AuditLogs-CGNOBkHb.js} +8 -8
  4. package/dist/{Bin-Cgxr39me.js → Bin-CG__7OUt.js} +8 -8
  5. package/dist/{Broadcast-CR3YdMim.js → Broadcast-CLruasW_.js} +9 -9
  6. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DJDw0QLZ.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CrcJck_6.js} +6 -6
  7. package/dist/{Card-CIlXJesR.js → Card-B951ldXp.js} +15 -15
  8. package/dist/{Collections-Dkp13T6I.js → Collections-BtlCNx3z.js} +5 -5
  9. package/dist/{Credit-BL7s3TmG.js → Credit-BZsoXFf2.js} +9 -9
  10. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-BgKNPE7p.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-D45iEZB9.js} +28 -28
  11. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-BTXLeEQV.js → EffectSheet.vue_vue_type_style_index_0_lang-DWVNiM12.js} +6 -6
  12. package/dist/{Experience-Cr7c9Dmr.js → Experience-CDopsRy4.js} +9 -9
  13. package/dist/Game-BAcfiQYQ.js +278 -0
  14. package/dist/{Index-D1DjHCn6.js → Index-pUUcfJG6.js} +10 -10
  15. package/dist/{Marketing-RKv-hDji.js → Marketing-B2m2qaPW.js} +6 -6
  16. package/dist/{Member-BpE1hEHn.js → Member-f_0PDS3d.js} +5 -5
  17. package/dist/{MemberList-D7LB9fXz.js → MemberList-DzXksRbS.js} +24 -24
  18. package/dist/{MemberTransactions-BWHZqhcv.js → MemberTransactions-BOz9RcNa.js} +1 -1
  19. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DPnmbxWD.js → MessageInput.vue_vue_type_script_setup_true_lang-9a5KeQZw.js} +8 -8
  20. package/dist/{Mission-CPNWKX0I.js → Mission-DfS_PBQh.js} +117 -96
  21. package/dist/{Overview-DJels2bf.js → Overview-CI_l3q96.js} +52 -52
  22. package/dist/{Point-PXjurF_w.js → Point-C7PGnD6A.js} +9 -9
  23. package/dist/{Promotion-CFFuDmX9.js → Promotion-LQ3CcnKf.js} +10 -10
  24. package/dist/{Queue-C-0R9noT.js → Queue-B-5Htw8F.js} +16 -16
  25. package/dist/{Record-Cg3Uk_e0.js → Record-tdoCC6Q2.js} +7 -7
  26. package/dist/{Reward-q3OH71kA.js → Reward-BLbrOk5l.js} +15 -15
  27. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-CTDa510y.js → RewardGroup.vue_vue_type_script_setup_true_lang-CE6LNYst.js} +11 -11
  28. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-D6y3fXbd.js → RuleGroup.vue_vue_type_script_setup_true_lang-BwDrUTBE.js} +244 -241
  29. package/dist/{Segment-BUxi24U7.js → Segment-D_llTHgX.js} +14 -14
  30. package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-xA3_GoYK.js → SelectItems.vue_vue_type_script_setup_true_lang-D0_nxZt7.js} +2 -2
  31. package/dist/SendCollectionSheet.vue_vue_type_script_setup_true_lang-Cl42-qVq.js +186 -0
  32. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-CKPEsDLl.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-DzxHnXxH.js} +3 -3
  33. package/dist/{Setting-Y3cUXNMQ.js → Setting-Cwu5jYCw.js} +10 -10
  34. package/dist/{Store-DhwEmp-R.js → Store-Cz9keX2h.js} +18 -18
  35. package/dist/{StoreRewards-BWOMVEzb.js → StoreRewards-CQoPI6q2.js} +13 -13
  36. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-B7BAEEiB.js → StoreTransactions.vue_vue_type_script_setup_true_lang-OnkH5kCm.js} +17 -17
  37. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-C3K5UV1O.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-CQxAUR0g.js} +1 -1
  38. package/dist/{Tier-5sRNLSO1.js → Tier-DNhxAvgO.js} +19 -19
  39. package/dist/{Title-BwGfSgM4.js → Title-TU37yYD3.js} +19 -19
  40. package/dist/{Transaction-BbIdqQsD.js → Transaction-CXNdyrEw.js} +2 -2
  41. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-qNeUH0Gf.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-Bry9Cx63.js} +6 -6
  42. package/dist/{Voucher-BvOxoMrH.js → Voucher-DWEHALVf.js} +12 -12
  43. package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-BtazBTn_.js → VoucherEditor.vue_vue_type_script_setup_true_lang-_3vYdQ2o.js} +10 -10
  44. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-BWcX9cJf.js → ZodTextField.vue_vue_type_script_setup_true_lang-CvauAsYH.js} +1 -1
  45. package/dist/{app-33F7lJW2.js → app-CBaOaB0Y.js} +1 -1
  46. package/dist/{app-CoVaAkSk.js → app-CafiCGL-.js} +463 -453
  47. package/dist/app.js +1 -1
  48. package/dist/{business-BtgsuI9Z.js → business-BS3v6YTN.js} +1 -1
  49. package/dist/{campaign-D6PH5eQ_.js → campaign-BDy9rv65.js} +9 -9
  50. package/dist/{campaign-GRjeK1WI.js → campaign-CpbtU65W.js} +2 -2
  51. package/dist/{campaign.enum-KcUV41Ki.js → campaign.enum-CL-nppco.js} +1 -1
  52. package/dist/{campaign.fn-DlaQfCnQ.js → campaign.fn-vUFe-Ci_.js} +139 -139
  53. package/dist/{collectible.enum-D8QbCobD.js → collectible.enum-xPy2ipsP.js} +1 -1
  54. package/dist/{collection.fn-By3YQRv8.js → collection.fn-DqapwsNH.js} +2 -2
  55. package/dist/{dto-CuPBd2H3.js → dto-QGIgn68i.js} +4 -4
  56. package/dist/{effect-BokWNg14.js → effect-CfOoWCqd.js} +1 -1
  57. package/dist/{email-addresses-DE4qV3Eh.js → email-addresses-U5r12yoQ.js} +1 -1
  58. package/dist/{export-B8kx1Nmt.js → export-cpRpof7z.js} +3 -3
  59. package/dist/{helper-COmipb68.js → helper-CtL67QEh.js} +1 -1
  60. package/dist/{index-DiTg_x8h.js → index-B83ld1mU.js} +1 -1
  61. package/dist/{index-DKqP75Bm.js → index-BsP-LQYt.js} +1 -1
  62. package/dist/{index-BNKBRRdT.js → index-BvglqVyD.js} +1 -1
  63. package/dist/{index-SzOkDo2y.js → index-BzRhALtt.js} +3 -3
  64. package/dist/{index-BtzXDz7E.js → index-C-vMl6Kr.js} +1 -1
  65. package/dist/{index-BtjSlXEc.js → index-CJ0XeRj5.js} +1 -1
  66. package/dist/{index-CQct2DL8.js → index-CXvV3G36.js} +1 -1
  67. package/dist/{index-esK00bm6.js → index-DZuC2F0P.js} +2 -2
  68. package/dist/{index-DBqFcTrv.js → index-Do2SoeRZ.js} +76 -69
  69. package/dist/{index-DHw_2WuP.js → index-DuQNcYf-.js} +3 -3
  70. package/dist/{index-8CMfJmg3.js → index-ZxKk7MYO.js} +49 -46
  71. package/dist/{index-Bk9xhO-D.js → index-affW4TP6.js} +1 -1
  72. package/dist/{index.esm2017-IwuN8acP.js → index.esm2017-jpoP-yRM.js} +1 -1
  73. package/dist/{loading-BWW2Z1X0.js → loading-DcGdfsoz.js} +1 -1
  74. package/dist/{membership-CJK6mxff.js → membership-DhCkKPOO.js} +3 -3
  75. package/dist/{money-DDs_MtN7.js → money-DboCLxej.js} +1 -1
  76. package/dist/{number-pF7bUUUj.js → number-K1ji1IoW.js} +1 -1
  77. package/dist/{objectid-Bjt4ojTL.js → objectid-Cc7E5d2n.js} +3 -3
  78. package/dist/{plugins-BsO39OJE.js → plugins-B5gL5isZ.js} +1189 -1189
  79. package/dist/{reward-2pJnAigN.js → reward-CHe0ykFc.js} +1 -1
  80. package/dist/{rule-DxWfHg0z.js → rule-DowxXd1h.js} +8 -4
  81. package/dist/{rule-builder-DlCdj9oR.js → rule-builder-sLbnSXHF.js} +1 -1
  82. package/dist/{template-DDGHUxfa.js → template-lHBEbcoH.js} +4 -4
  83. package/dist/{trigger-DQxt8ZNb.js → trigger-RTj0D-17.js} +11 -11
  84. package/dist/{user-C0hkkvCd.js → user-BKgtbkUe.js} +1 -1
  85. package/dist/{vue-i18n-BrZbqfu6.js → vue-i18n-z4cJdBAC.js} +394 -394
  86. package/dist/{xlsx-CzvLdaX-.js → xlsx-CA2EAxRf.js} +1 -1
  87. package/package.json +1 -1
  88. package/dist/Game-qBiDfoX8.js +0 -257
@@ -1,10 +1,10 @@
1
- import { z as e, F as n, m as o } from "./plugins-BsO39OJE.js";
2
- import { A as v, B as E, D as O, E as I, G as p } from "./index-8CMfJmg3.js";
3
- import { c as L } from "./index-esK00bm6.js";
4
- import { R as t } from "./rule-builder-DlCdj9oR.js";
5
- import { i } from "./helper-COmipb68.js";
6
- import { a as r } from "./index-DHw_2WuP.js";
7
- const h = {
1
+ import { z as e, F as n, m as o, e as v } from "./plugins-B5gL5isZ.js";
2
+ import { B as E, D as O, E as I, G as L, H as p } from "./index-ZxKk7MYO.js";
3
+ import { c as h } from "./index-DZuC2F0P.js";
4
+ import { R as t } from "./rule-builder-sLbnSXHF.js";
5
+ import { i } from "./helper-CtL67QEh.js";
6
+ import { a as r } from "./index-DuQNcYf-.js";
7
+ const T = {
8
8
  collectionName: "AuditLogs",
9
9
  transform: {
10
10
  _id: "oid",
@@ -17,7 +17,7 @@ const h = {
17
17
  fromCollection: "Businesses"
18
18
  }
19
19
  }
20
- }, T = e.enum([
20
+ }, R = e.enum([
21
21
  "GET",
22
22
  "POST",
23
23
  "PUT",
@@ -26,7 +26,7 @@ const h = {
26
26
  "OPTIONS",
27
27
  "HEAD",
28
28
  "ALL"
29
- ]), R = e.enum([
29
+ ]), C = e.enum([
30
30
  "CAMPAIGN",
31
31
  "LOCATION",
32
32
  "MARKETING MATERIALS",
@@ -36,15 +36,15 @@ const h = {
36
36
  "SETTINGS",
37
37
  "SEGMENTATION",
38
38
  "USER"
39
- ]), C = e.object({
40
- httpMethod: T,
39
+ ]), x = e.object({
40
+ httpMethod: R,
41
41
  url: e.string().min(1),
42
42
  userAgent: e.string(),
43
43
  host: e.string().min(1),
44
44
  params: e.object({}).passthrough().nullish(),
45
45
  query: e.object({}).passthrough().nullish(),
46
46
  body: e.object({}).passthrough().nullish()
47
- }), x = e.object({
47
+ }), D = e.object({
48
48
  statusCode: e.number().int().min(100).max(599),
49
49
  body: e.object({}).passthrough().nullish()
50
50
  });
@@ -52,15 +52,15 @@ e.object({
52
52
  _id: n,
53
53
  user: e.string().length(28),
54
54
  userName: e.string().min(1),
55
- userPhoneNumber: e.string().refine((a) => v(a)).nullish(),
56
- moduleType: R,
55
+ userPhoneNumber: e.string().refine((a) => E(a)).nullish(),
56
+ moduleType: C,
57
57
  business: n.nullish(),
58
58
  clientIp: e.string().nullish(),
59
59
  timestamp: e.string().datetime(),
60
- request: C,
61
- response: x
62
- }).describe(o.describe(h));
63
- const oe = {
60
+ request: x,
61
+ response: D
62
+ }).describe(o.describe(T));
63
+ const pe = {
64
64
  PROMOTION: {
65
65
  name: "Promotion Template",
66
66
  description: "Promotion template for campaign creation.",
@@ -1814,7 +1814,7 @@ const S = e.enum([
1814
1814
  "BROADCAST",
1815
1815
  "BIRTHDAY",
1816
1816
  "GAME"
1817
- ]), D = e.enum([
1817
+ ]), A = e.enum([
1818
1818
  "text",
1819
1819
  "number",
1820
1820
  "textarea",
@@ -1841,33 +1841,33 @@ const S = e.enum([
1841
1841
  "rule_feedback",
1842
1842
  "rule_birthday",
1843
1843
  "promotion_game_type"
1844
- ]), A = e.object({
1844
+ ]), M = e.object({
1845
1845
  label: e.string().optional(),
1846
1846
  property: e.string().or(e.any()),
1847
- type: D,
1847
+ type: A,
1848
1848
  extras: e.string().optional(),
1849
1849
  isRuleChildren: e.boolean().optional()
1850
- }), M = e.object({
1850
+ }), N = e.object({
1851
1851
  name: e.string().optional(),
1852
- fields: e.array(A),
1852
+ fields: e.array(M),
1853
1853
  condition: e.object({
1854
1854
  not: e.boolean().optional(),
1855
1855
  property: e.string(),
1856
1856
  value: e.any()
1857
1857
  }).optional()
1858
- }), N = e.object({
1858
+ }), w = e.object({
1859
1859
  name: e.string(),
1860
- groups: e.array(M)
1860
+ groups: e.array(N)
1861
1861
  });
1862
1862
  e.object({
1863
1863
  _id: n,
1864
1864
  name: e.string(),
1865
1865
  description: e.string().nullish(),
1866
- steps: e.array(N).min(1),
1866
+ steps: e.array(w).min(1),
1867
1867
  intention: e.array(S),
1868
1868
  defaultValue: e.any()
1869
1869
  }).describe(JSON.stringify({ collectionName: "MarketingTemplates" }));
1870
- const w = {
1870
+ const U = {
1871
1871
  collectionName: "Businesses",
1872
1872
  transform: {
1873
1873
  _id: "oid"
@@ -1879,20 +1879,20 @@ e.object({
1879
1879
  name: e.string(),
1880
1880
  credit: e.number(),
1881
1881
  forceSend: e.boolean().optional()
1882
- }).describe(o.describe(w));
1883
- const m = e.enum(["PHONE"]), U = e.enum(["MOCEAN", "SLACK", "SMS", "EMAIL"]), F = e.enum(["PENDING", "COMPLETED", "FAILED"]), P = e.enum([
1882
+ }).describe(o.describe(U));
1883
+ const m = e.enum(["PHONE"]), F = e.enum(["MOCEAN", "SLACK", "SMS", "EMAIL"]), P = e.enum(["PENDING", "COMPLETED", "FAILED"]), G = e.enum([
1884
1884
  "General",
1885
1885
  "Otp",
1886
1886
  "Marketing",
1887
1887
  "Ordering",
1888
1888
  "MemberInvitation"
1889
- ]), G = e.object({
1889
+ ]), B = e.object({
1890
1890
  type: m
1891
- }), s = G.extend({
1891
+ }), s = B.extend({
1892
1892
  type: e.literal(m.enum.PHONE),
1893
- provider: U,
1894
- usage: P.optional()
1895
- }), B = {
1893
+ provider: F,
1894
+ usage: G.optional()
1895
+ }), H = {
1896
1896
  collectionName: "Notifications",
1897
1897
  transform: { _id: "oid", business: "oid" }
1898
1898
  };
@@ -1903,9 +1903,9 @@ e.object({
1903
1903
  title: e.string().optional(),
1904
1904
  message: e.string(),
1905
1905
  option: s,
1906
- status: F,
1906
+ status: P,
1907
1907
  ref: e.string().optional()
1908
- }).describe(o.describe(B));
1908
+ }).describe(o.describe(H));
1909
1909
  e.object({
1910
1910
  target: e.string(),
1911
1911
  title: e.string().optional(),
@@ -1920,7 +1920,7 @@ e.object({
1920
1920
  const c = e.object({
1921
1921
  name: e.string().optional(),
1922
1922
  address: e.string()
1923
- }), H = e.object({
1923
+ }), V = e.object({
1924
1924
  filename: e.string(),
1925
1925
  content: e.instanceof(Uint8Array)
1926
1926
  });
@@ -1929,7 +1929,7 @@ e.object({
1929
1929
  to: e.array(c),
1930
1930
  subject: e.string(),
1931
1931
  html: e.string().optional(),
1932
- attachments: e.array(H).optional()
1932
+ attachments: e.array(V).optional()
1933
1933
  });
1934
1934
  e.object({
1935
1935
  subject: e.string(),
@@ -1962,6 +1962,13 @@ e.object({
1962
1962
  claimIds: e.array(e.string()),
1963
1963
  billId: e.string()
1964
1964
  });
1965
+ e.object({
1966
+ amount: v,
1967
+ member: e.string(),
1968
+ bill: e.string(),
1969
+ otp: e.string().nullish(),
1970
+ businessId: e.string()
1971
+ });
1965
1972
  var g = /* @__PURE__ */ ((a) => (a[a.feedMe = 0] = "feedMe", a[a.business = 1] = "business", a[a.restaurant = 2] = "restaurant", a))(g || {});
1966
1973
  e.nativeEnum(g);
1967
1974
  e.enum(["manage", "create", "read", "update", "delete"]);
@@ -1970,7 +1977,7 @@ e.enum(["quota"]);
1970
1977
  var d = /* @__PURE__ */ ((a) => (a.marketing = "business::marketing", a.campaign = "business::campaign", a.counter = "business::counter", a.permission = "business::permission", a.role = "business::role", a))(d || {});
1971
1978
  e.nativeEnum(d);
1972
1979
  e.enum(["restaurant"]);
1973
- const V = e.object({
1980
+ const k = e.object({
1974
1981
  label: e.string(),
1975
1982
  subject: e.union([e.string(), e.array(e.string())]),
1976
1983
  actions: e.union([e.string(), e.array(e.string())]),
@@ -1985,7 +1992,7 @@ e.object({
1985
1992
  userId: e.string(),
1986
1993
  email: e.string().nullish(),
1987
1994
  phoneNo: e.string().nullish(),
1988
- permissions: e.array(e.lazy(() => V))
1995
+ permissions: e.array(e.lazy(() => k))
1989
1996
  }).describe(
1990
1997
  o.describe({
1991
1998
  collectionName: "PermissionUsers",
@@ -2000,14 +2007,14 @@ const y = e.object({
2000
2007
  role: e.string().optional(),
2001
2008
  businessId: e.string().optional(),
2002
2009
  restaurantId: e.string().optional()
2003
- }), k = e.function().args(e.any(), y).returns(e.boolean()), j = e.function().args(y).returns(e.promise(e.array(e.any())));
2010
+ }), j = e.function().args(e.any(), y).returns(e.boolean()), Y = e.function().args(y).returns(e.promise(e.array(e.any())));
2004
2011
  e.object({
2005
- isAdmin: k,
2006
- getRules: j
2012
+ isAdmin: j,
2013
+ getRules: Y
2007
2014
  });
2008
2015
  e.object({
2009
- transactions: e.array(E),
2010
- collections: e.array(O)
2016
+ transactions: e.array(O),
2017
+ collections: e.array(I)
2011
2018
  });
2012
2019
  const u = e.enum([
2013
2020
  "ROCK_PAPER_SCISSOR"
@@ -2041,12 +2048,12 @@ e.object({
2041
2048
  phone: e.string().optional(),
2042
2049
  email: e.string().optional()
2043
2050
  });
2044
- const Y = e.enum([
2051
+ const K = e.enum([
2045
2052
  "PENDING",
2046
2053
  "SUCCESS",
2047
2054
  "FAILED",
2048
2055
  "RETRYING"
2049
- ]), K = {
2056
+ ]), W = {
2050
2057
  collectionName: "WebhookLogs",
2051
2058
  transform: {
2052
2059
  _id: "oid",
@@ -2058,18 +2065,18 @@ e.object({
2058
2065
  business: n,
2059
2066
  type: e.string(),
2060
2067
  payload: e.record(e.any()),
2061
- status: Y,
2068
+ status: K,
2062
2069
  response: e.any().optional(),
2063
2070
  error: e.string().optional()
2064
- }).describe(o.describe(K));
2065
- const W = e.enum(["AUTO", "MANUAL"]);
2071
+ }).describe(o.describe(W));
2072
+ const X = e.enum(["AUTO", "MANUAL"]);
2066
2073
  e.enum(["IN_PROGRESS", "COMPLETED"]);
2067
2074
  const f = e.object({
2068
2075
  _id: n,
2069
2076
  name: e.string().min(1, "Name is required").max(50),
2070
- type: W,
2071
- event: I.optional()
2072
- }), X = e.object({
2077
+ type: X,
2078
+ event: L.optional()
2079
+ }), q = e.object({
2073
2080
  from: e.number().int("Must be integer").min(1, "Min referral count need to start from 1"),
2074
2081
  to: e.number().int("Must be integer").nullish()
2075
2082
  }).superRefine((a, b) => {
@@ -2077,16 +2084,16 @@ const f = e.object({
2077
2084
  code: "custom",
2078
2085
  message: "Max referral count must be more than min referral count"
2079
2086
  });
2080
- }), q = e.object({
2081
- threshold: X,
2087
+ }), Q = e.object({
2088
+ threshold: q,
2082
2089
  rewards: e.array(n),
2083
2090
  pf_reward: e.array(r).optional()
2084
2091
  }), l = e.object({
2085
2092
  id: e.string(),
2086
2093
  name: e.string().min(1, "Name is required").max(50, "Name must be less than 50 characters"),
2087
- rule: L.optional(),
2088
- rewards: e.array(q)
2089
- }), Q = {
2094
+ rule: h.optional(),
2095
+ rewards: e.array(Q)
2096
+ }), J = {
2090
2097
  collectionName: "ReferralRecords",
2091
2098
  transform: {
2092
2099
  _id: "oid",
@@ -2095,11 +2102,11 @@ const f = e.object({
2095
2102
  referee: "oid",
2096
2103
  refereeReward: "oid"
2097
2104
  }
2098
- }, J = e.object({
2105
+ }, z = e.object({
2099
2106
  completedAt: e.coerce.date(),
2100
2107
  criteria: n,
2101
2108
  ref: e.string()
2102
- }), z = e.object({
2109
+ }), Z = e.object({
2103
2110
  _id: n,
2104
2111
  business: n,
2105
2112
  referer: n,
@@ -2107,13 +2114,13 @@ const f = e.object({
2107
2114
  criteria: e.array(f),
2108
2115
  reward: e.array(l),
2109
2116
  refereeReward: e.array(n).optional(),
2110
- criteria_progress: e.array(J),
2117
+ criteria_progress: e.array(z),
2111
2118
  status: e.string(),
2112
2119
  pf_referer: p.optional(),
2113
2120
  pf_referee: p.optional(),
2114
2121
  pf_refereeReward: e.array(r).optional()
2115
- }).describe(o.describe(Q));
2116
- z.pick({
2122
+ }).describe(o.describe(J));
2123
+ Z.pick({
2117
2124
  _id: !0,
2118
2125
  business: !0,
2119
2126
  referer: !0,
@@ -2128,7 +2135,7 @@ z.pick({
2128
2135
  photoUrl: !0
2129
2136
  })
2130
2137
  });
2131
- const Z = {
2138
+ const $ = {
2132
2139
  collectionName: "ReferralProgram",
2133
2140
  transform: {
2134
2141
  _id: "oid",
@@ -2141,7 +2148,7 @@ const Z = {
2141
2148
  refereeReward: e.array(n).optional(),
2142
2149
  reward: e.array(l),
2143
2150
  criteria: e.array(f)
2144
- }).describe(o.describe(Z));
2151
+ }).describe(o.describe($));
2145
2152
  e.object({
2146
2153
  referer: n,
2147
2154
  referee: n,
@@ -2170,10 +2177,10 @@ _.extend({
2170
2177
  });
2171
2178
  export {
2172
2179
  S as F,
2173
- oe as T,
2174
- q as a,
2180
+ pe as T,
2181
+ Q as a,
2175
2182
  f as b,
2176
2183
  l as c,
2177
- T as d,
2178
- R as e
2184
+ R as d,
2185
+ C as e
2179
2186
  };
@@ -1,6 +1,6 @@
1
- import { F as o, e as t, g as a } from "./index-esK00bm6.js";
2
- import { z as e, F as i, m as d } from "./plugins-BsO39OJE.js";
3
- import { F as c } from "./collectible.enum-D8QbCobD.js";
1
+ import { F as o, e as t, g as a } from "./index-DZuC2F0P.js";
2
+ import { z as e, F as i, m as d } from "./plugins-B5gL5isZ.js";
3
+ import { F as c } from "./collectible.enum-xPy2ipsP.js";
4
4
  const l = e.enum(["VOUCHER", "LOYALTY"]), n = e.object({
5
5
  type: e.literal(l.enum.VOUCHER),
6
6
  collectible: i,