@voltro/plugin-economy 0.87.0 → 0.88.0

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 (143) hide show
  1. package/CHANGELOG.md +169 -6
  2. package/THIRD-PARTY-NOTICES.md +741 -89
  3. package/dist/amount.js +1 -2
  4. package/dist/appleIap.server.js +1 -2
  5. package/dist/appleIapNotifications.server.js +1 -2
  6. package/dist/appleIapTrust.server.js +1 -2
  7. package/dist/bundleValue.server.js +1 -2
  8. package/dist/canonicalDataJson.js +1 -2
  9. package/dist/capture.js +1 -2
  10. package/dist/codePort.fixture.js +1 -2
  11. package/dist/codeStore.server.js +1 -2
  12. package/dist/codeTables.entity.js +1 -2
  13. package/dist/codes.js +1 -2
  14. package/dist/components.js +1 -2
  15. package/dist/consistency.server.js +1 -2
  16. package/dist/containerStore.server.js +1 -2
  17. package/dist/containerStore.testFixtures.js +1 -2
  18. package/dist/containerTables.entity.js +1 -2
  19. package/dist/containers.fixture.js +1 -2
  20. package/dist/containers.js +1 -2
  21. package/dist/containers.server.js +1 -2
  22. package/dist/containersPort.fixture.js +1 -2
  23. package/dist/currency.js +1 -2
  24. package/dist/declarationFixtures.js +1 -2
  25. package/dist/economyPort.fixture.js +1 -2
  26. package/dist/errors.js +1 -2
  27. package/dist/googleIap.server.js +1 -2
  28. package/dist/googleIapNotifications.server.js +1 -2
  29. package/dist/googleIapSubscription.server.js +1 -2
  30. package/dist/iap.js +1 -2
  31. package/dist/iap.testFixtures.js +1 -2
  32. package/dist/iapAccountTables.entity.js +1 -2
  33. package/dist/iapAccounts.server.js +1 -2
  34. package/dist/iapBinding.server.js +1 -2
  35. package/dist/iapCheckout.server.js +1 -2
  36. package/dist/iapCompletion.server.js +1 -2
  37. package/dist/iapCurrentState.server.js +1 -2
  38. package/dist/iapCurrentState.testFixtures.js +1 -2
  39. package/dist/iapCurrentStatePort.fixture.js +1 -2
  40. package/dist/iapEntitlements.js +1 -2
  41. package/dist/iapEntitlements.server.js +1 -2
  42. package/dist/iapEntitlementsBinding.server.js +1 -2
  43. package/dist/iapEntitlementsPort.fixture.js +1 -2
  44. package/dist/iapInstalledEntitlements.testFixtures.js +1 -2
  45. package/dist/iapInstalledNotifications.testFixtures.js +1 -2
  46. package/dist/iapInventoryRefunds.server.js +1 -2
  47. package/dist/iapNotificationCustodyPort.fixture.js +1 -2
  48. package/dist/iapNotificationPort.fixture.js +1 -2
  49. package/dist/iapNotificationProcessor.server.js +1 -2
  50. package/dist/iapNotificationProcessor.testFixtures.js +1 -2
  51. package/dist/iapNotificationProcessorPort.fixture.js +1 -2
  52. package/dist/iapNotificationSchedule.server.js +1 -2
  53. package/dist/iapNotificationStore.server.js +1 -2
  54. package/dist/iapNotificationStore.testFixtures.js +1 -2
  55. package/dist/iapNotificationTables.entity.js +1 -2
  56. package/dist/iapNotificationTarget.server.js +1 -2
  57. package/dist/iapNotificationTarget.testFixtures.js +1 -2
  58. package/dist/iapNotifications.server.js +1 -2
  59. package/dist/iapNotificationsBinding.server.js +1 -2
  60. package/dist/iapNotificationsSystemPort.fixture.js +1 -2
  61. package/dist/iapPlugin.testFixtures.js +1 -2
  62. package/dist/iapPort.fixture.js +1 -2
  63. package/dist/iapProviderCapture.server.js +1 -2
  64. package/dist/iapRecovery.js +1 -2
  65. package/dist/iapRefundEventDelivery.server.js +1 -2
  66. package/dist/iapRefundEvents.js +1 -2
  67. package/dist/iapRefundEventsPort.fixture.js +1 -2
  68. package/dist/iapRefundPort.fixture.js +1 -2
  69. package/dist/iapRefundTables.entity.js +1 -2
  70. package/dist/iapRefunds.server.js +1 -2
  71. package/dist/iapRefunds.testFixtures.js +1 -2
  72. package/dist/iapSpendAdmission.server.js +1 -2
  73. package/dist/iapStore.server.js +1 -2
  74. package/dist/iapStore.testFixtures.js +1 -2
  75. package/dist/iapTables.entity.js +1 -2
  76. package/dist/iapVerification.server.js +1 -2
  77. package/dist/intentionRecovery.js +1 -2
  78. package/dist/ledger.js +1 -2
  79. package/dist/loyalty.fixture.js +1 -2
  80. package/dist/loyalty.js +1 -2
  81. package/dist/loyaltyBinding.server.js +1 -2
  82. package/dist/loyaltyPort.fixture.js +1 -2
  83. package/dist/loyaltyShopSource.server.js +1 -2
  84. package/dist/loyaltyStore.server.js +1 -2
  85. package/dist/loyaltyStore.testFixtures.js +1 -2
  86. package/dist/loyaltyTables.entity.js +1 -2
  87. package/dist/offerMerchandising.fixture.js +1 -2
  88. package/dist/offerMerchandising.js +1 -2
  89. package/dist/offerPolicies.fixture.js +1 -2
  90. package/dist/offerPolicies.js +1 -2
  91. package/dist/piggyBanks.fixture.js +1 -2
  92. package/dist/piggyBanks.js +1 -2
  93. package/dist/piggyBinding.server.js +1 -2
  94. package/dist/piggyPort.fixture.js +1 -2
  95. package/dist/piggyStore.server.js +1 -2
  96. package/dist/piggyStore.testFixtures.js +1 -2
  97. package/dist/piggyTables.entity.js +1 -2
  98. package/dist/plugin.js +1 -2
  99. package/dist/port.js +1 -2
  100. package/dist/price.js +1 -2
  101. package/dist/purchaseRecovery.js +1 -2
  102. package/dist/reports.server.js +1 -2
  103. package/dist/rpc.js +1 -2
  104. package/dist/sanctionsTradeAuthority.server.js +1 -2
  105. package/dist/shop.js +1 -2
  106. package/dist/shop.testFixtures.js +1 -2
  107. package/dist/shopPort.fixture.js +1 -2
  108. package/dist/shopPresentation.js +1 -2
  109. package/dist/shopStore.server.js +1 -2
  110. package/dist/shopTables.entity.js +1 -2
  111. package/dist/shopUiCopy.js +1 -2
  112. package/dist/spendLimits.fixture.js +1 -2
  113. package/dist/spendLimits.js +1 -2
  114. package/dist/spendLimitsPort.fixture.js +1 -2
  115. package/dist/subscriptionBinding.server.js +1 -2
  116. package/dist/subscriptionStore.server.js +1 -2
  117. package/dist/subscriptionStore.testFixtures.js +1 -2
  118. package/dist/subscriptionTables.entity.js +1 -2
  119. package/dist/subscriptions.fixture.js +1 -2
  120. package/dist/subscriptions.js +1 -2
  121. package/dist/subscriptionsPort.fixture.js +1 -2
  122. package/dist/systemFixtures.js +1 -2
  123. package/dist/tables.entity.js +1 -2
  124. package/dist/tradeAuthority.server.js +1 -2
  125. package/dist/tradeBinding.server.js +1 -2
  126. package/dist/tradeComponents.js +1 -2
  127. package/dist/tradeEscrow.server.js +1 -2
  128. package/dist/tradeEscrow.testFixtures.js +1 -2
  129. package/dist/tradeExpiry.server.js +1 -2
  130. package/dist/tradeRecovery.js +1 -2
  131. package/dist/tradeStore.server.js +1 -2
  132. package/dist/tradeStore.testFixtures.js +1 -2
  133. package/dist/tradeTables.entity.js +1 -2
  134. package/dist/tradeUiCopy.js +1 -2
  135. package/dist/trades.fixture.js +1 -2
  136. package/dist/trades.js +1 -2
  137. package/dist/tradesPort.fixture.js +1 -2
  138. package/dist/walletEscrow.js +1 -2
  139. package/dist/walletEscrow.server.js +1 -2
  140. package/dist/walletKeys.server.js +1 -2
  141. package/dist/walletStore.js +1 -2
  142. package/dist/web.js +1 -2
  143. package/package.json +10 -10
@@ -8,7 +8,7 @@ import { loyaltyDefinitionsTable as x, loyaltyEntriesTable as S, loyaltySeasonsT
8
8
  import { Effect as E, Result as D } from "effect";
9
9
  import { createHash as O } from "node:crypto";
10
10
  import { and as k, eq as A, queryFor as j } from "@voltro/database";
11
- //#region src/loyaltyStore.server.ts
11
+ // src/loyaltyStore.server.ts
12
12
  var M = (e) => Array.isArray(e) ? "[" + e.map(M).join(",") + "]" : typeof e == "object" && e ? "{" + Object.keys(e).sort().map((t) => JSON.stringify(t) + ":" + M(e[t])).join(",") + "}" : JSON.stringify(e), N = (e) => O("sha256").update(M(e)).digest("hex"), P = (e, ...t) => e + N(t).slice(0, 56), F = (n) => n instanceof e ? n : t("unavailable"), I = (e) => E.tryPromise({
13
13
  try: e,
14
14
  catch: F
@@ -549,5 +549,4 @@ var M = (e) => Array.isArray(e) ? "[" + e.map(M).join(",") + "]" : typeof e == "
549
549
  })
550
550
  });
551
551
  };
552
- //#endregion
553
552
  export { K as dataStoreLoyalty, G as resolveLoyaltyStoreOptions };
@@ -4,7 +4,7 @@ import { shopLoyaltyReceiptSource as n } from "./loyaltyShopSource.server.js";
4
4
  import { shopAt as r, shopFixture as i } from "./shop.testFixtures.js";
5
5
  import { Effect as a } from "effect";
6
6
  import { ensureTableRegistered as o } from "@voltro/database";
7
- //#region src/loyaltyStore.testFixtures.ts
7
+ // src/loyaltyStore.testFixtures.ts
8
8
  var s = async (s, c = "tenant", l = {}) => {
9
9
  e.forEach(o);
10
10
  let u = await i(s, c), d = r, f = {
@@ -79,5 +79,4 @@ var s = async (s, c = "tenant", l = {}) => {
79
79
  }
80
80
  };
81
81
  };
82
- //#endregion
83
82
  export { s as loyaltyStoreFixture };
@@ -1,5 +1,5 @@
1
1
  import { boolean as e, id as t, integer as n, json as r, table as i, text as a, timestamp as o } from "@voltro/database";
2
- //#region src/loyaltyTables.entity.ts
2
+ // src/loyaltyTables.entity.ts
3
3
  var s = () => a().maxLength(120).externalId().sensitive("pii"), c = i("_voltro_eco_loyalty_tenants", {
4
4
  id: t({ prefix: "elt" }),
5
5
  tenantId: s(),
@@ -46,5 +46,4 @@ var s = () => a().maxLength(120).externalId().sensitive("pii"), c = i("_voltro_e
46
46
  d,
47
47
  f
48
48
  ];
49
- //#endregion
50
49
  export { l as loyaltyDefinitionsTable, d as loyaltyEntriesTable, f as loyaltySeasonsTable, u as loyaltySubjectsTable, p as loyaltyTables, c as loyaltyTenantsTable };
@@ -1,6 +1,6 @@
1
1
  import { defaultFlashTriggerPolicy as e, defaultPersonalizedOfferSelector as t, defineFlashOffer as n, definePersonalizedOffers as r, resolveFlashOffer as i, resolvePersonalizedOffers as a } from "./offerMerchandising.js";
2
2
  import { Effect as o } from "effect";
3
- //#region src/offerMerchandising.fixture.ts
3
+ // src/offerMerchandising.fixture.ts
4
4
  var s = () => {
5
5
  let e = [{
6
6
  id: "test.gold",
@@ -111,5 +111,4 @@ var s = () => {
111
111
  expected: 500
112
112
  }
113
113
  });
114
- //#endregion
115
114
  export { c as flashOfferFixture, f as flashTriggerSystemFixture, s as personalizedOfferFixture, d as personalizedSelectorSystemFixture };
@@ -3,7 +3,7 @@ import { dataList as t, dataObject as n, identifier as r } from "./capture.js";
3
3
  import { captureCurrencies as i } from "./currency.js";
4
4
  import { priceResolverContext as a, resolvePrice as o } from "./price.js";
5
5
  import { defineShopOffer as s, shopInteger as c } from "./shop.js";
6
- //#region src/offerMerchandising.ts
6
+ // src/offerMerchandising.ts
7
7
  var l = (e, t) => e < t ? -1 : +(e > t), u = (n, i) => {
8
8
  let a = t(n, i).map((e) => r(e));
9
9
  if (new Set(a).size !== a.length) throw e("invalid_input");
@@ -279,5 +279,4 @@ var l = (e, t) => e < t ? -1 : +(e > t), u = (n, i) => {
279
279
  comparisons: Object.freeze(b)
280
280
  });
281
281
  };
282
- //#endregion
283
282
  export { g as captureFlashTriggerReceipt, _ as defaultFlashTriggerPolicy, p as defaultPersonalizedOfferSelector, y as defineBundle, h as defineFlashOffer, f as definePersonalizedOffers, b as projectBundleValue, v as resolveFlashOffer, m as resolvePersonalizedOffers };
@@ -1,6 +1,6 @@
1
1
  import { defaultExperimentBucket as e, defineOfferExperiment as t, resolveOfferExperiment as n } from "./offerPolicies.js";
2
2
  import { Effect as r } from "effect";
3
- //#region src/offerPolicies.fixture.ts
3
+ // src/offerPolicies.fixture.ts
4
4
  var i = () => {
5
5
  let e = [{
6
6
  id: "test.gold",
@@ -50,5 +50,4 @@ var i = () => {
50
50
  expected: "a"
51
51
  }
52
52
  });
53
- //#endregion
54
53
  export { o as experimentBucketSystemFixture, i as offerExperimentFixture };
@@ -6,7 +6,7 @@ import { priceResolverContext as c } from "./price.js";
6
6
  import { defineShopOffer as l, shopInteger as u } from "./shop.js";
7
7
  import { captureFlashTriggerReceipt as d, defaultFlashTriggerPolicy as f, defaultPersonalizedOfferSelector as p, defineBundle as m, defineFlashOffer as h, definePersonalizedOffers as g, projectBundleValue as _, resolveFlashOffer as v, resolvePersonalizedOffers as y } from "./offerMerchandising.js";
8
8
  import { Effect as b } from "effect";
9
- //#region src/offerPolicies.ts
9
+ // src/offerPolicies.ts
10
10
  var x = (e, n, r = !1) => {
11
11
  let s = i(e, [
12
12
  "offer",
@@ -264,5 +264,4 @@ var x = (e, n, r = !1) => {
264
264
  }))) : b.fail(t("forbidden"));
265
265
  } });
266
266
  };
267
- //#endregion
268
267
  export { d as captureFlashTriggerReceipt, w as defaultExperimentBucket, f as defaultFlashTriggerPolicy, p as defaultPersonalizedOfferSelector, m as defineBundle, h as defineFlashOffer, C as defineOfferExperiment, g as definePersonalizedOffers, x as defineStarterPack, E as offerPolicyContextSource, _ as projectBundleValue, v as resolveFlashOffer, T as resolveOfferExperiment, y as resolvePersonalizedOffers, S as starterPackAvailable };
@@ -1,6 +1,6 @@
1
1
  import { defaultPiggyFill as e, defaultPiggyReset as t, definePiggyBank as n, resolvePiggyFill as r, resolvePiggyReset as i } from "./piggyBanks.js";
2
2
  import { Effect as a } from "effect";
3
- //#region src/piggyBanks.fixture.ts
3
+ // src/piggyBanks.fixture.ts
4
4
  var o = () => {
5
5
  let e = [{
6
6
  id: "test.gold",
@@ -67,5 +67,4 @@ var o = () => {
67
67
  }
68
68
  }
69
69
  });
70
- //#endregion
71
70
  export { o as piggyBankFixture, l as piggyFillSystemFixture, u as piggyResetSystemFixture };
@@ -5,7 +5,7 @@ import { captureCurrencies as s } from "./currency.js";
5
5
  import { definePrice as c } from "./price.js";
6
6
  import { shopInteger as l } from "./shop.js";
7
7
  import { Context as u } from "effect";
8
- //#region src/piggyBanks.ts
8
+ // src/piggyBanks.ts
9
9
  var d = (t, a, l = !1) => {
10
10
  let u = r(t, [
11
11
  "id",
@@ -197,5 +197,4 @@ var d = (t, a, l = !1) => {
197
197
  currency: n.currency === void 0 ? null : i(n.currency)
198
198
  });
199
199
  };
200
- //#endregion
201
200
  export { v as PiggyBanksPort, y as capturePiggyBanksService, f as defaultPiggyFill, p as defaultPiggyReset, d as definePiggyBank, b as piggyFillIntent, x as piggyUnlockIntent, _ as projectPiggyBank, h as resolvePiggyFill, g as resolvePiggyReset };
@@ -6,7 +6,7 @@ import { PiggyBanksPort as f, capturePiggyBanksService as p, defaultPiggyFill as
6
6
  import { piggyTables as y } from "./piggyTables.entity.js";
7
7
  import { dataStorePiggyBanks as b, resolvePiggyStoreOptions as x } from "./piggyStore.server.js";
8
8
  import { Effect as S, Layer as C } from "effect";
9
- //#region src/piggyBinding.server.ts
9
+ // src/piggyBinding.server.ts
10
10
  var w = () => S.fail(t("unavailable")), T = Object.freeze({
11
11
  list: w,
12
12
  fill: w,
@@ -201,5 +201,4 @@ var w = () => S.fail(t("unavailable")), T = Object.freeze({
201
201
  }
202
202
  });
203
203
  };
204
- //#endregion
205
204
  export { E as bindPiggyBanksSystem, T as unavailablePiggyBanks };
@@ -5,7 +5,7 @@ import { shopMachine as r } from "./shop.testFixtures.js";
5
5
  import { piggyFixtureUnlock as i, piggyStoreFixture as a } from "./piggyStore.testFixtures.js";
6
6
  import { Effect as o, Layer as s } from "effect";
7
7
  import { InMemoryDataStore as c } from "@voltro/runtime";
8
- //#region src/piggyPort.fixture.ts
8
+ // src/piggyPort.fixture.ts
9
9
  var l = {
10
10
  app: {
11
11
  name: "piggy-fixture",
@@ -69,5 +69,4 @@ var l = {
69
69
  }
70
70
  }
71
71
  });
72
- //#endregion
73
72
  export { d as piggyBanksFakeLayer, f as piggyBanksPortSystemFixture, u as piggyPortFixture };
@@ -11,7 +11,7 @@ import { systemSubject as O } from "@voltro/protocol";
11
11
  import { createHash as k } from "node:crypto";
12
12
  import { and as A, eq as j, queryFor as M } from "@voltro/database";
13
13
  import { executeSqlMutations as N, prepareSqlMutation as P, prepareSqlMutationGroup as F } from "@voltro/database/sql";
14
- //#region src/piggyStore.server.ts
14
+ // src/piggyStore.server.ts
15
15
  var I = (e) => Array.isArray(e) ? "[" + e.map(I).join(",") + "]" : typeof e == "object" && e ? "{" + Object.keys(e).sort().map((t) => JSON.stringify(t) + ":" + I(e[t])).join(",") + "}" : JSON.stringify(e), L = (e) => k("sha256").update(I(e)).digest("hex"), R = (e, ...t) => e + L(t).slice(0, 56), z = (e, t) => L([e, a(t)]), B = (n) => n instanceof e ? n : t("unavailable"), V = (e) => E.tryPromise({
16
16
  try: e,
17
17
  catch: B
@@ -607,5 +607,4 @@ var I = (e) => Array.isArray(e) ? "[" + e.map(I).join(",") + "]" : typeof e == "
607
607
  })
608
608
  });
609
609
  };
610
- //#endregion
611
610
  export { ne as dataStorePiggyBanks, z as piggyBankDigest, q as resolvePiggyStoreOptions };
@@ -5,7 +5,7 @@ import { dataStorePiggyBanks as r } from "./piggyStore.server.js";
5
5
  import { shopAt as i, shopMachine as a, shopUser as o } from "./shop.testFixtures.js";
6
6
  import { Effect as s } from "effect";
7
7
  import { ensureTableRegistered as c } from "@voltro/database";
8
- //#region src/piggyStore.testFixtures.ts
8
+ // src/piggyStore.testFixtures.ts
9
9
  var l = async (l, u = "tenant", d = {}, f = "1000") => {
10
10
  [...e, ...n].forEach(c);
11
11
  let p = [{
@@ -94,5 +94,4 @@ var l = async (l, u = "tenant", d = {}, f = "1000") => {
94
94
  requestId: t,
95
95
  currency: e.bank.unlock.kind === "virtual" ? e.bank.unlock.options[0].currency : void 0
96
96
  });
97
- //#endregion
98
97
  export { u as piggyFixtureUnlock, l as piggyStoreFixture };
@@ -1,5 +1,5 @@
1
1
  import { boolean as e, id as t, integer as n, json as r, table as i, text as a, timestamp as o } from "@voltro/database";
2
- //#region src/piggyTables.entity.ts
2
+ // src/piggyTables.entity.ts
3
3
  var s = () => a().maxLength(120).externalId().sensitive("pii"), c = i("_voltro_eco_piggy_tenants", {
4
4
  id: t({ prefix: "ept" }),
5
5
  tenantId: s(),
@@ -37,5 +37,4 @@ var s = () => a().maxLength(120).externalId().sensitive("pii"), c = i("_voltro_e
37
37
  u,
38
38
  d
39
39
  ];
40
- //#endregion
41
40
  export { l as piggyDefinitionsTable, d as piggyEventsTable, u as piggySubjectsTable, f as piggyTables, c as piggyTenantsTable };
package/dist/plugin.js CHANGED
@@ -30,7 +30,7 @@ import { captureEconomyConsistencyInput as gt, checkSqlEconomyConsistency as _t
30
30
  import { Effect as l, Layer as u } from "effect";
31
31
  import { defineLicensedGamePlugin as vt } from "@voltro/plugin-licensing/gate";
32
32
  import { fileURLToPath as yt } from "node:url";
33
- //#region src/plugin.ts
33
+ // src/plugin.ts
34
34
  var bt = (e) => JSON.parse(JSON.stringify(e, (e, t) => typeof t == "bigint" ? t.toString() : t)), xt = Object.freeze({
35
35
  slots: { priceResolver: {
36
36
  defaultExport: "defaultPriceResolver",
@@ -1044,5 +1044,4 @@ var bt = (e) => JSON.parse(JSON.stringify(e, (e, t) => typeof t == "bigint" ? t.
1044
1044
  })
1045
1045
  };
1046
1046
  };
1047
- //#endregion
1048
1047
  export { d as economyCodesSystemContract, v as economyContainersSystemContract, _ as economyIapSystemContract, p as economyLoyaltySystemContract, m as economyPiggyBanksSystemContract, y as economyPlugin, g as economyShopSystemContract, h as economySpendLimitsSystemContract, f as economySubscriptionsSystemContract, xt as economySystemContract, St as economyTradesSystemContract };
package/dist/port.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { captureBoundMethods as e } from "./capture.js";
2
2
  import { Context as t } from "effect";
3
- //#region src/port.ts
3
+ // src/port.ts
4
4
  var n = class extends t.Service()("@voltro/EconomyPort") {}, r = (t) => e(t, [
5
5
  "transfer",
6
6
  "mine",
@@ -9,5 +9,4 @@ var n = class extends t.Service()("@voltro/EconomyPort") {}, r = (t) => e(t, [
9
9
  "exportSubject",
10
10
  "eraseSubject"
11
11
  ]);
12
- //#endregion
13
12
  export { n as EconomyPort, r as captureEconomyService };
package/dist/price.js CHANGED
@@ -2,7 +2,7 @@ import { economyError as e } from "./errors.js";
2
2
  import { dataList as t, dataObject as n, identifier as r } from "./capture.js";
3
3
  import { nonNegativeAmount as i } from "./amount.js";
4
4
  import { captureCurrencies as a } from "./currency.js";
5
- //#region src/price.ts
5
+ // src/price.ts
6
6
  var o = [
7
7
  "web",
8
8
  "ios",
@@ -140,5 +140,4 @@ var o = [
140
140
  }
141
141
  return i;
142
142
  };
143
- //#endregion
144
143
  export { d as defaultPriceResolver, l as definePrice, f as priceResolverContext, p as resolvePrice };
@@ -2,7 +2,7 @@ import { economyError as e } from "./errors.js";
2
2
  import { dataObject as t, identifier as n } from "./capture.js";
3
3
  import { captureShopOrderReceipt as r, shopBuyIntent as i } from "./shop.js";
4
4
  import { browserIntentionJournal as a, createIntentionRecovery as o } from "./intentionRecovery.js";
5
- //#region src/purchaseRecovery.ts
5
+ // src/purchaseRecovery.ts
6
6
  var s = (e) => {
7
7
  let t = i(e);
8
8
  return Object.freeze({
@@ -52,5 +52,4 @@ var s = (e) => {
52
52
  return n.state === "fulfilled" ? n.receipt : void 0;
53
53
  }
54
54
  }), d = (e, t) => a(e, t, "voltro:shop-purchase:v1:", 2048, (e) => s(e));
55
- //#endregion
56
55
  export { d as browserShopPurchaseJournal, u as createShopPurchaseRecovery };
@@ -6,7 +6,7 @@ import { economyLedgerAt as o, readEconomyTransferEvidence as s } from "./wallet
6
6
  import { Effect as c, Schema as l } from "effect";
7
7
  import { eq as u, queryFor as d } from "@voltro/database";
8
8
  import { defineAggregate as f } from "@voltro/runtime";
9
- //#region src/reports.server.ts
9
+ // src/reports.server.ts
10
10
  var p = l.Struct({
11
11
  day: l.String,
12
12
  currency: l.String,
@@ -111,5 +111,4 @@ var p = l.Struct({
111
111
  build: (e) => g(e.store, a)
112
112
  });
113
113
  };
114
- //#endregion
115
114
  export { p as EconomyFlowRowSchema, m as captureEconomyReportOptions, _ as economyFlowsAggregate, g as readEconomyFlows };
package/dist/rpc.js CHANGED
@@ -4,7 +4,7 @@ import { captureIapEntitlementObservation as te } from "./iapEntitlements.js";
4
4
  import { captureTradeView as ne } from "./trades.js";
5
5
  import { Schema as t } from "effect";
6
6
  import { defineAction as n, defineQuery as r } from "@voltro/protocol";
7
- //#region src/rpc.ts
7
+ // src/rpc.ts
8
8
  var re = "@voltro/plugin-economy", i = t.Literals([
9
9
  "ios",
10
10
  "android",
@@ -1197,5 +1197,4 @@ var re = "@voltro/plugin-economy", i = t.Literals([
1197
1197
  }
1198
1198
  }
1199
1199
  ];
1200
- //#endregion
1201
1200
  export { w as CodeIntentSchema, E as CodeObservationSchema, T as CodeReceiptSchema, k as ContainerDistributionSchema, N as ContainerObservationSchema, j as ContainerOpenInputSchema, M as ContainerReceiptSchema, O as ContainerSchema, A as ContainerViewSchema, re as ECONOMY_NAME, h as EconomyWalletSchema, i as IapChannelSchema, fe as IapCheckoutInputSchema, pe as IapCheckoutSessionSchema, m as IapCompletionReceiptSchema, d as IapEntitlementObservationSchema, ge as IapManageInputSchema, _e as IapManagePageSchema, u as IapObservationSchema, c as IapOrderReceiptSchema, o as IapReceiptReferenceSchema, s as IapRedeemInputSchema, l as IapRefundDispositionSchema, Ke as LoyaltyObservationSchema, G as LoyaltyPerkSchema, We as LoyaltyPointEntrySchema, Ge as LoyaltyReceiptSchema, K as LoyaltySchema, He as LoyaltyStateSchema, Ze as PiggyBankSchema, et as PiggyFillEventSchema, J as PiggyObservationSchema, q as PiggyReceiptSchema, tt as PiggyUnlockEventSchema, Qe as PiggyViewSchema, S as ShopBuyInputSchema, y as ShopOfferSchema, b as ShopOfferViewSchema, x as ShopOrderReceiptSchema, v as ShopPriceSchema, C as ShopPurchaseObservationSchema, R as SubscriptionActiveViewSchema, H as SubscriptionCancellationReceiptSchema, B as SubscriptionEntitlementInputSchema, W as SubscriptionObservationSchema, U as SubscriptionReceiptInputSchema, F as SubscriptionSchema, z as SubscriptionStartInputSchema, V as SubscriptionValueReceiptSchema, L as SubscriptionViewSchema, I as SubscriptionWindowSchema, X as TradeLegSchema, dt as TradeObservationSchema, ut as TradeProposeInputSchema, Q as TradeReceiptSchema, Z as TradeViewSchema, Oe as codesReceiptDescriptor, ke as codesRedeemDescriptor, Ae as codesRpcClientImports, Ne as containerOpenDescriptor, Me as containerReceiptDescriptor, je as containersListDescriptor, Pe as containersRpcClientImports, Se as economyMineDescriptor, Ce as economyRpcClientImports, le as iapAccountDescriptor, oe as iapCheckEntitlementDescriptor, me as iapCheckoutDescriptor, he as iapCheckoutRpcClientImports, de as iapCompleteDescriptor, be as iapCompletionRpcClientImports, ae as iapEntitledDescriptor, se as iapEntitlementRpcClientImports, ve as iapManageDescriptor, ye as iapManageRpcClientImports, ce as iapReceiptDescriptor, ue as iapRedeemDescriptor, ie as iapRefundReceiptSources, xe as iapRpcClientImports, qe as loyaltyListDescriptor, Je as loyaltyMineDescriptor, Ye as loyaltyReceiptDescriptor, Xe as loyaltyRpcClientImports, rt as piggyListDescriptor, it as piggyReceiptDescriptor, ot as piggyRpcClientImports, at as piggyUnlockDescriptor, Ee as shopBuyDescriptor, we as shopOffersDescriptor, Te as shopReceiptDescriptor, De as shopRpcClientImports, Be as subscriptionCancelDescriptor, ze as subscriptionDailyDescriptor, Fe as subscriptionReceiptDescriptor, Re as subscriptionStartDescriptor, Le as subscriptionsActiveDescriptor, Ie as subscriptionsListDescriptor, Ve as subscriptionsRpcClientImports, ht as tradeAcceptDescriptor, gt as tradeCancelDescriptor, mt as tradeProposeDescriptor, pt as tradeReceiptDescriptor, ft as tradesMineDescriptor, _t as tradesRpcClientImports };
@@ -4,7 +4,7 @@ import { shopInteger as a } from "./shop.js";
4
4
  import { captureTradeAuthorityRead as o } from "./tradeAuthority.server.js";
5
5
  import { Effect as s } from "effect";
6
6
  import { prepareSqlMutationGroup as c } from "@voltro/database/sql";
7
- //#region src/sanctionsTradeAuthority.server.ts
7
+ // src/sanctionsTradeAuthority.server.ts
8
8
  var l = (l, u) => {
9
9
  let d = t(u, ["read", "prepareMany"]), f = (e, t) => ({
10
10
  type: "user",
@@ -76,5 +76,4 @@ var l = (l, u) => {
76
76
  }
77
77
  });
78
78
  };
79
- //#endregion
80
79
  export { l as sanctionsTradePermissionSource };
package/dist/shop.js CHANGED
@@ -4,7 +4,7 @@ import { nonNegativeAmount as a, positiveAmount as o } from "./amount.js";
4
4
  import { captureCurrencies as s } from "./currency.js";
5
5
  import { definePrice as c } from "./price.js";
6
6
  import { Context as l } from "effect";
7
- //#region src/shop.ts
7
+ // src/shop.ts
8
8
  var u = (t, n, r) => {
9
9
  if (typeof t != "number" || !Number.isSafeInteger(t) || t < n || t > r) throw e("invalid_input");
10
10
  return t;
@@ -192,5 +192,4 @@ var u = (t, n, r) => {
192
192
  throw e("invalid_record");
193
193
  }
194
194
  };
195
- //#endregion
196
195
  export { f as ShopPort, g as captureShopOrderReceipt, h as captureShopService, d as defineShopOffer, p as shopBuyIntent, u as shopInteger, m as shopPayment };
@@ -7,7 +7,7 @@ import { systemSubject as s } from "@voltro/protocol";
7
7
  import { ensureTableRegistered as c } from "@voltro/database";
8
8
  import { dataStoreCatalog as l, dataStoreInventory as u, inventoryTables as d } from "@voltro/plugin-inventory/server";
9
9
  import { inventoryFixture as f } from "@voltro/plugin-inventory/testing";
10
- //#region src/shop.testFixtures.ts
10
+ // src/shop.testFixtures.ts
11
11
  var p = [
12
12
  ...e,
13
13
  ...d,
@@ -110,5 +110,4 @@ var p = [
110
110
  buy: S
111
111
  };
112
112
  };
113
- //#endregion
114
113
  export { m as shopAt, v as shopFixture, _ as shopFixtureBuy, p as shopFixtureTables, h as shopMachine, g as shopUser };
@@ -4,7 +4,7 @@ import { economyPlugin as n } from "./plugin.js";
4
4
  import { shopFixture as r } from "./shop.testFixtures.js";
5
5
  import { Effect as i, Layer as a } from "effect";
6
6
  import { InMemoryDataStore as o } from "@voltro/runtime";
7
- //#region src/shopPort.fixture.ts
7
+ // src/shopPort.fixture.ts
8
8
  var s = {
9
9
  app: {
10
10
  name: "shop-fixture",
@@ -68,5 +68,4 @@ var s = {
68
68
  }
69
69
  }
70
70
  });
71
- //#endregion
72
71
  export { l as shopFakeLayer, c as shopPortFixture, u as shopPortSystemFixture };
@@ -2,7 +2,7 @@ import { economyError as e } from "./errors.js";
2
2
  import { dataList as t, dataObject as n, identifier as r } from "./capture.js";
3
3
  import { definePrice as i, priceResolverContext as a, resolvePrice as o } from "./price.js";
4
4
  import { defineShopOffer as s, shopBuyIntent as c, shopInteger as l, shopPayment as u } from "./shop.js";
5
- //#region src/shopPresentation.ts
5
+ // src/shopPresentation.ts
6
6
  var d = (c) => {
7
7
  let l = n(c, [
8
8
  "offer",
@@ -64,5 +64,4 @@ var d = (c) => {
64
64
  let n = d(e).offer;
65
65
  return l(t, 0, 864e13), (n.from === null || t >= n.from) && (n.until === null || t < n.until);
66
66
  };
67
- //#endregion
68
67
  export { d as captureShopOfferView, p as shopOfferAvailable, f as shopPurchaseTerms };
@@ -11,7 +11,7 @@ import { createHash as C } from "node:crypto";
11
11
  import { and as w, eq as T, queryFor as E } from "@voltro/database";
12
12
  import { executeSqlMutations as ee, prepareSqlMutation as D, prepareSqlMutationGroup as O } from "@voltro/database/sql";
13
13
  import { InventoryError as k } from "@voltro/plugin-inventory/errors";
14
- //#region src/shopStore.server.ts
14
+ // src/shopStore.server.ts
15
15
  var A = (e) => C("sha256").update(m(e)).digest("hex"), j = (e, t) => A({
16
16
  offer: e,
17
17
  rulesVersion: i(t)
@@ -620,5 +620,4 @@ var A = (e) => C("sha256").update(m(e)).digest("hex"), j = (e, t) => A({
620
620
  rebuildShop: $(!0)
621
621
  });
622
622
  };
623
- //#endregion
624
623
  export { U as dataStoreShop, H as resolveShopStoreOptions, j as shopOfferDigest };
@@ -1,5 +1,5 @@
1
1
  import { boolean as e, id as t, integer as n, json as r, table as i, text as a, timestamp as o } from "@voltro/database";
2
- //#region src/shopTables.entity.ts
2
+ // src/shopTables.entity.ts
3
3
  var s = () => a().maxLength(120).externalId().sensitive("pii"), c = i("_voltro_eco_shop_tenants", {
4
4
  id: t({ prefix: "est" }),
5
5
  tenantId: s(),
@@ -59,5 +59,4 @@ var s = () => a().maxLength(120).externalId().sensitive("pii"), c = i("_voltro_e
59
59
  d,
60
60
  f
61
61
  ];
62
- //#endregion
63
62
  export { f as shopCountersTable, u as shopOffersTable, d as shopOrdersTable, l as shopSubjectsTable, p as shopTables, c as shopTenantsTable };
@@ -1,4 +1,4 @@
1
- //#region src/shopUiCopy.ts
1
+ // src/shopUiCopy.ts
2
2
  var e = Object.freeze({
3
3
  en: Object.freeze({
4
4
  shop: "Shop",
@@ -53,5 +53,4 @@ var e = Object.freeze({
53
53
  discount: (e) => `${e}% unter dem deklarierten Preis`
54
54
  })
55
55
  });
56
- //#endregion
57
56
  export { e as shopUiCopy };
@@ -1,6 +1,6 @@
1
1
  import { defaultSpendLimitPolicy as e, defineSpendLimits as t, resolveSpendBudget as n } from "./spendLimits.js";
2
2
  import { Effect as r } from "effect";
3
- //#region src/spendLimits.fixture.ts
3
+ // src/spendLimits.fixture.ts
4
4
  var i = () => Object.freeze({
5
5
  limit: t([{
6
6
  currency: "test.gold",
@@ -49,5 +49,4 @@ var i = () => Object.freeze({
49
49
  }
50
50
  }
51
51
  });
52
- //#endregion
53
52
  export { i as spendLimitFixture, o as spendLimitPolicySystemFixture };
@@ -3,7 +3,7 @@ import { captureBoundMethods as t, dataList as n, dataObject as r, identifier as
3
3
  import { nonNegativeAmount as a, positiveAmount as o } from "./amount.js";
4
4
  import { captureCurrencies as s } from "./currency.js";
5
5
  import { shopInteger as c } from "./shop.js";
6
- //#region src/spendLimits.ts
6
+ // src/spendLimits.ts
7
7
  var l = (e) => e == null ? null : a(e).toString(), u = (e, t) => e === null || t !== null && BigInt(t) <= BigInt(e), d = (e, t) => e === null ? t : t === null || BigInt(e) < BigInt(t) ? e : t, f = (t, a) => {
8
8
  let o = s(a), c = Object.freeze(n(t, 128).map((t) => {
9
9
  let n = r(t, [
@@ -151,5 +151,4 @@ var l = (e) => e == null ? null : a(e).toString(), u = (e, t) => e === null || t
151
151
  if (!r.allowed) throw e("forbidden");
152
152
  if (r.daily !== null && BigInt(t.daily) + i > BigInt(r.daily) || r.monthly !== null && BigInt(t.monthly) + i > BigInt(r.monthly)) throw e("limit_exceeded");
153
153
  };
154
- //#endregion
155
154
  export { v as assertSpendBudget, h as captureSpendLimitsOptions, p as defaultSpendLimitPolicy, f as defineSpendLimits, _ as projectSpend, m as resolveSpendBudget, g as utcSpendWindows };
@@ -5,7 +5,7 @@ import { shopAt as r, shopMachine as i, shopUser as a } from "./shop.testFixture
5
5
  import { Effect as o, Layer as s, Result as c } from "effect";
6
6
  import { ensureTableRegistered as l } from "@voltro/database";
7
7
  import { InMemoryDataStore as u } from "@voltro/runtime";
8
- //#region src/spendLimitsPort.fixture.ts
8
+ // src/spendLimitsPort.fixture.ts
9
9
  var d = {
10
10
  app: {
11
11
  name: "spend-fixture",
@@ -116,5 +116,4 @@ var d = {
116
116
  }
117
117
  }
118
118
  });
119
- //#endregion
120
119
  export { p as spendLimitsFakeLayer, f as spendLimitsPortFixture, m as spendLimitsPortSystemFixture };
@@ -6,7 +6,7 @@ import { SubscriptionsPort as h, captureSubscriptionReceiptIntent as g, captureS
6
6
  import { subscriptionTables as w } from "./subscriptionTables.entity.js";
7
7
  import { dataStoreSubscriptions as T, resolveSubscriptionsStoreOptions as E } from "./subscriptionStore.server.js";
8
8
  import { Effect as D, Layer as O } from "effect";
9
- //#region src/subscriptionBinding.server.ts
9
+ // src/subscriptionBinding.server.ts
10
10
  var k = () => D.fail(t("unavailable")), A = Object.freeze({
11
11
  list: k,
12
12
  active: k,
@@ -207,5 +207,4 @@ var k = () => D.fail(t("unavailable")), A = Object.freeze({
207
207
  }
208
208
  });
209
209
  };
210
- //#endregion
211
210
  export { j as bindSubscriptionsSystem, A as unavailableSubscriptions };
@@ -11,7 +11,7 @@ import { createHash as O } from "node:crypto";
11
11
  import { and as k, eq as A, queryFor as j } from "@voltro/database";
12
12
  import { executeSqlMutations as M, prepareSqlMutation as N, prepareSqlMutationGroup as P } from "@voltro/database/sql";
13
13
  import { InventoryError as F } from "@voltro/plugin-inventory/errors";
14
- //#region src/subscriptionStore.server.ts
14
+ // src/subscriptionStore.server.ts
15
15
  var I = (e) => Array.isArray(e) ? "[" + e.map(I).join(",") + "]" : typeof e == "object" && e ? "{" + Object.keys(e).sort().map((t) => JSON.stringify(t) + ":" + I(e[t])).join(",") + "}" : JSON.stringify(e), L = (e) => O("sha256").update(I(e)).digest("hex"), R = (e, ...t) => e + L(t).slice(0, 56), z = (e, t) => L([e, a(t)]), B = (n) => n instanceof e ? n : n instanceof F && [
16
16
  "conflict",
17
17
  "erased",
@@ -639,5 +639,4 @@ var I = (e) => Array.isArray(e) ? "[" + e.map(I).join(",") + "]" : typeof e == "
639
639
  })
640
640
  });
641
641
  };
642
- //#endregion
643
642
  export { J as dataStoreSubscriptions, q as resolveSubscriptionsStoreOptions, z as subscriptionDefinitionDigest };
@@ -3,7 +3,7 @@ import { dataStoreSubscriptions as t } from "./subscriptionStore.server.js";
3
3
  import { shopAt as n, shopFixture as r } from "./shop.testFixtures.js";
4
4
  import { Effect as i } from "effect";
5
5
  import { ensureTableRegistered as a } from "@voltro/database";
6
- //#region src/subscriptionStore.testFixtures.ts
6
+ // src/subscriptionStore.testFixtures.ts
7
7
  var o = async (o, s = "tenant", c = {}, l = 4096) => {
8
8
  e.forEach(a);
9
9
  let u = await r(o, s, {}, l), d = n, f = {
@@ -68,5 +68,4 @@ var o = async (o, s = "tenant", c = {}, l = 4096) => {
68
68
  requestId: t,
69
69
  ...e.subscription.price.kind === "virtual" ? { currency: e.subscription.price.options[0].currency } : {}
70
70
  });
71
- //#endregion
72
71
  export { s as subscriptionFixtureStart, o as subscriptionStoreFixture };
@@ -1,5 +1,5 @@
1
1
  import { boolean as e, id as t, integer as n, json as r, table as i, text as a, timestamp as o } from "@voltro/database";
2
- //#region src/subscriptionTables.entity.ts
2
+ // src/subscriptionTables.entity.ts
3
3
  var s = () => a().maxLength(120).externalId().sensitive("pii"), c = i("_voltro_eco_subscription_tenants", {
4
4
  id: t({ prefix: "evt" }),
5
5
  tenantId: s(),
@@ -33,5 +33,4 @@ var s = () => a().maxLength(120).externalId().sensitive("pii"), c = i("_voltro_e
33
33
  u,
34
34
  d
35
35
  ];
36
- //#endregion
37
36
  export { l as subscriptionDefinitionsTable, d as subscriptionEventsTable, u as subscriptionSubjectsTable, f as subscriptionTables, c as subscriptionTenantsTable };
@@ -1,6 +1,6 @@
1
1
  import { defaultSubscriptionDailyGrant as e, defaultSubscriptionPeriod as t, defineSubscription as n, resolveSubscriptionDailyGrant as r, resolveSubscriptionPeriod as i } from "./subscriptions.js";
2
2
  import { Effect as a } from "effect";
3
- //#region src/subscriptions.fixture.ts
3
+ // src/subscriptions.fixture.ts
4
4
  var o = () => {
5
5
  let e = Object.freeze([{
6
6
  id: "test.gold",
@@ -93,5 +93,4 @@ var o = () => {
93
93
  }
94
94
  }
95
95
  });
96
- //#endregion
97
96
  export { d as subscriptionDailySystemFixture, o as subscriptionFixture, l as subscriptionPeriodSystemFixture };
@@ -4,7 +4,7 @@ import { captureCurrencies as a } from "./currency.js";
4
4
  import { definePrice as o } from "./price.js";
5
5
  import { defineShopOffer as s, shopInteger as c } from "./shop.js";
6
6
  import { Context as l } from "effect";
7
- //#region src/subscriptions.ts
7
+ // src/subscriptions.ts
8
8
  var u = (e, t) => {
9
9
  let i = r(e ?? {}, ["items", "currencies"]), a = n(i.items ?? [], 16), o = n(i.currencies ?? [], 16);
10
10
  if (!a.length && !o.length) return Object.freeze({
@@ -209,5 +209,4 @@ var u = (e, t) => {
209
209
  intent: S(n.intent)
210
210
  });
211
211
  };
212
- //#endregion
213
212
  export { y as SubscriptionsPort, w as captureSubscriptionReceiptIntent, b as captureSubscriptionsService, _ as defaultSubscriptionDailyGrant, h as defaultSubscriptionPeriod, d as defineSubscription, v as resolveSubscriptionDailyGrant, g as resolveSubscriptionPeriod, S as subscriptionEntitlementIntent, C as subscriptionRenewIntent, x as subscriptionStartIntent };
@@ -4,7 +4,7 @@ import { economyPlugin as n } from "./plugin.js";
4
4
  import { subscriptionFixtureStart as r, subscriptionStoreFixture as i } from "./subscriptionStore.testFixtures.js";
5
5
  import { Effect as a, Layer as o } from "effect";
6
6
  import { InMemoryDataStore as s } from "@voltro/runtime";
7
- //#region src/subscriptionsPort.fixture.ts
7
+ // src/subscriptionsPort.fixture.ts
8
8
  var c = {
9
9
  app: {
10
10
  name: "subscriptions-fixture",
@@ -72,5 +72,4 @@ var c = {
72
72
  }
73
73
  }
74
74
  });
75
- //#endregion
76
75
  export { u as subscriptionsFakeLayer, l as subscriptionsPortFixture, d as subscriptionsPortSystemFixture };
@@ -4,7 +4,7 @@ import { priceResolverFixture as r } from "./declarationFixtures.js";
4
4
  import { economyPortFixture as i } from "./economyPort.fixture.js";
5
5
  import { Effect as a, Layer as o } from "effect";
6
6
  import { systemSubject as s } from "@voltro/protocol";
7
- //#region src/systemFixtures.ts
7
+ // src/systemFixtures.ts
8
8
  var c = r(), l = Object.freeze({
9
9
  kind: "slot",
10
10
  defaultImplementation: e,
@@ -85,5 +85,4 @@ var c = r(), l = Object.freeze({
85
85
  }
86
86
  }
87
87
  });
88
- //#endregion
89
88
  export { u as economyFakeLayer, p as economyPortSystemFixture, l as priceResolverSystemFixture };
@@ -1,5 +1,5 @@
1
1
  import { bigint as e, boolean as t, id as n, integer as r, json as i, table as a, text as o, timestamp as s } from "@voltro/database";
2
- //#region src/tables.entity.ts
2
+ // src/tables.entity.ts
3
3
  var c = () => o().maxLength(120).externalId().sensitive("pii"), l = a("_voltro_eco_currencies", {
4
4
  id: n({ prefix: "ecc" }),
5
5
  tenantId: c(),
@@ -79,5 +79,4 @@ var c = () => o().maxLength(120).externalId().sensitive("pii"), l = a("_voltro_e
79
79
  f,
80
80
  p
81
81
  ];
82
- //#endregion
83
82
  export { l as economyCurrenciesTable, d as economyLedgerTable, p as economySubjectsTable, m as economyTables, f as economyTransactionsTable, u as economyWalletsTable };
@@ -6,7 +6,7 @@ import { Effect as s } from "effect";
6
6
  import { systemSubject as c } from "@voltro/protocol";
7
7
  import { prepareSqlMutationGroup as l } from "@voltro/database/sql";
8
8
  import { defineItem as u } from "@voltro/plugin-inventory/items";
9
- //#region src/tradeAuthority.server.ts
9
+ // src/tradeAuthority.server.ts
10
10
  var d = (e) => a(e, 0, 864e13), f = (e) => {
11
11
  let t = r(e, [
12
12
  "tenantId",
@@ -168,5 +168,4 @@ var d = (e) => a(e, 0, 864e13), f = (e) => {
168
168
  })
169
169
  });
170
170
  };
171
- //#endregion
172
171
  export { m as captureTradeAuthorityAdmission, f as captureTradeAuthorityRead, g as inventoryTradeAuthoritySource };