@infuro/cms-core 1.0.34 → 1.0.36

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 (152) hide show
  1. package/README.md +13 -0
  2. package/dist/OrderTrackPage-W3J6WIG2.js +426 -0
  3. package/dist/OrderTrackPage-Z6FCJQYY.cjs +428 -0
  4. package/dist/admin.cjs +35254 -21613
  5. package/dist/admin.d.cts +192 -9
  6. package/dist/admin.d.ts +192 -9
  7. package/dist/admin.js +34301 -20755
  8. package/dist/api.cjs +137 -17531
  9. package/dist/api.d.cts +633 -3
  10. package/dist/api.d.ts +633 -3
  11. package/dist/api.js +15 -17528
  12. package/dist/auth.cjs +192 -1034
  13. package/dist/auth.d.cts +197 -54
  14. package/dist/auth.d.ts +197 -54
  15. package/dist/auth.js +4 -966
  16. package/dist/chunk-2AEVFOQP.cjs +30436 -0
  17. package/dist/chunk-3DZRIZOD.cjs +52 -0
  18. package/dist/chunk-5ELSW2UP.js +150 -0
  19. package/dist/chunk-7NMT3GBR.cjs +29 -0
  20. package/dist/chunk-COBORIJH.cjs +2373 -0
  21. package/dist/chunk-CRFV5WJK.js +16 -0
  22. package/dist/chunk-D5FBNKQM.cjs +104 -0
  23. package/dist/chunk-FG6I64HP.js +604 -0
  24. package/dist/chunk-GO7PPYNU.js +76 -0
  25. package/dist/chunk-HCIRL37O.js +21 -0
  26. package/dist/chunk-HF3L2GIT.cjs +194 -0
  27. package/dist/chunk-HT5DI3XW.cjs +82 -0
  28. package/dist/chunk-JC6DLWTE.js +21 -0
  29. package/dist/chunk-JS2W7XZ4.js +30312 -0
  30. package/dist/chunk-JXF23MPG.js +25 -0
  31. package/dist/chunk-KFFB6EMZ.js +123 -0
  32. package/dist/chunk-KPKFNLQQ.cjs +648 -0
  33. package/dist/chunk-LI2IXVAY.js +171 -0
  34. package/dist/chunk-MQBT33IV.js +48 -0
  35. package/dist/chunk-OOTLNH63.cjs +18 -0
  36. package/dist/chunk-PNOKNSG2.cjs +222 -0
  37. package/dist/chunk-SHUYVCID.js +4 -0
  38. package/dist/chunk-SPQFNIYJ.cjs +132 -0
  39. package/dist/chunk-SYBOCAWB.js +97 -0
  40. package/dist/chunk-TDV6EJHV.js +192 -0
  41. package/dist/chunk-UCKN4BBY.cjs +24 -0
  42. package/dist/chunk-UF3BYUXY.js +616 -0
  43. package/dist/chunk-UPLVMVRX.cjs +23 -0
  44. package/dist/chunk-USNT2KNT.cjs +6 -0
  45. package/dist/chunk-VMY2S32H.js +2342 -0
  46. package/dist/chunk-WEMDMVHQ.js +216 -0
  47. package/dist/chunk-WO2DW4AU.cjs +182 -0
  48. package/dist/chunk-X47PBV4I.js +79 -0
  49. package/dist/chunk-X6H5VBQ2.cjs +620 -0
  50. package/dist/chunk-XQ3QUHWR.cjs +83 -0
  51. package/dist/chunk-XW5ATPRW.cjs +155 -0
  52. package/dist/cli.cjs +107 -86
  53. package/dist/cli.js +66 -29
  54. package/dist/email-queue-CGZBVVAS.js +2 -0
  55. package/dist/email-queue-TPZWLTIV.cjs +23 -0
  56. package/dist/emit-order-notification-trigger-D2N3KFHL.cjs +16 -0
  57. package/dist/emit-order-notification-trigger-IVLWKKJL.js +3 -0
  58. package/dist/erp-config-enabled-CUMQ6N2V.cjs +11 -0
  59. package/dist/erp-config-enabled-T37X7T34.js +2 -0
  60. package/dist/erp-order-invoice-3YISSOWW.js +3 -0
  61. package/dist/erp-order-invoice-ZR5F2KTA.cjs +12 -0
  62. package/dist/event-order-defaults-EMWBIGL3.cjs +39 -0
  63. package/dist/event-order-defaults-SDRNAZHC.js +2 -0
  64. package/dist/hooks.cjs +259 -132
  65. package/dist/hooks.d.cts +42 -1
  66. package/dist/hooks.d.ts +42 -1
  67. package/dist/hooks.js +234 -91
  68. package/dist/index.cjs +3679 -22356
  69. package/dist/index.d.cts +2173 -643
  70. package/dist/index.d.ts +2173 -643
  71. package/dist/index.js +2587 -22119
  72. package/dist/interpolate-WAKPN56R.cjs +11 -0
  73. package/dist/interpolate-WDUWDF3I.js +2 -0
  74. package/dist/migrations/1779400000000-ConvertStatusToEnum.ts +142 -0
  75. package/dist/migrations/1779400000000-SeedDefaultCurrencies.ts +33 -0
  76. package/dist/migrations/1779500000000-VendorRolesAndPermissions.ts +102 -0
  77. package/dist/migrations/1779600000000-VendorRegistrationProfile.ts +52 -0
  78. package/dist/migrations/1779700000000-CollectionIsCatalog.ts +22 -0
  79. package/dist/migrations/1779710000000-CollectionPlatformCatalog.ts +60 -0
  80. package/dist/migrations/1779720000000-ProductCategoryPlatformCatalog.ts +157 -0
  81. package/dist/migrations/1779800000000-EventsAndEventProducts.ts +173 -0
  82. package/dist/migrations/1779810000000-BackfillVendorRoleEventsPermissions.ts +38 -0
  83. package/dist/migrations/1779820000000-FixProductsCategoryForeignKey.ts +70 -0
  84. package/dist/migrations/1779830000000-ProductTitleColumn.ts +32 -0
  85. package/dist/migrations/1779840000000-EventAboutAndVisibilityFields.ts +34 -0
  86. package/dist/migrations/1779850000000-EventCityCountrySplit.ts +43 -0
  87. package/dist/migrations/1779860000000-CreateCombos.ts +140 -0
  88. package/dist/migrations/1780100000000-OrderAttendeesEventId.ts +55 -0
  89. package/dist/migrations/1780110000000-EventContactFormId.ts +49 -0
  90. package/dist/migrations/1780130000000-ProductVariants.ts +54 -0
  91. package/dist/migrations/1780140000000-EventManagementEnhancements.ts +44 -0
  92. package/dist/migrations/1780160000000-EventRegistrationGstProductContactForm.ts +79 -0
  93. package/dist/migrations/1780170000000-ComboCurrencyPrices.ts +20 -0
  94. package/dist/migrations/1781110000000-VendorOwnerCombosPermission.ts +38 -0
  95. package/dist/migrations/1781120000000-RefundPoliciesAndRequests.ts +225 -0
  96. package/dist/migrations/1781130000000-CreateAttendees.ts +44 -0
  97. package/dist/migrations/1781140000000-EventOrderNotifications.ts +29 -0
  98. package/dist/migrations/1781150000000-EventNamedLists.ts +28 -0
  99. package/dist/migrations/1781160000000-RefundPolicyEventTiers.ts +27 -0
  100. package/dist/migrations/1781170000000-EventRefundPolicy.ts +42 -0
  101. package/dist/migrations/1781180000000-RemoveCartItemsUniqueConstraint.ts +15 -0
  102. package/dist/migrations/1781190000000-RenameProductTaxesToProductConfig.ts +84 -0
  103. package/dist/migrations/1781200000000-VendorOwnerProductConfigPermissions.ts +51 -0
  104. package/dist/migrations/1781210000000-VendorRoleProductConfigPermissions.ts +46 -0
  105. package/dist/migrations/1781220000000-AddWhatsappTriggerBindings.ts +23 -0
  106. package/dist/migrations/1781230000000-AddOrderNotificationTriggers.ts +46 -0
  107. package/dist/migrations/1781240000000-DropEventOrderNotificationColumns.ts +29 -0
  108. package/dist/migrations/1781250000000-RemoveOrderRefundedTrigger.ts +36 -0
  109. package/dist/migrations/helpers/vendor-role-seed.ts +243 -0
  110. package/dist/paid-order-erp-3USEG6WL.js +3 -0
  111. package/dist/paid-order-erp-FSQ3GSXE.cjs +12 -0
  112. package/dist/pg-boss-service-4XF2TQ2E.js +2 -0
  113. package/dist/pg-boss-service-L6MTF4EQ.cjs +15 -0
  114. package/dist/razorpay-KLO2KNCB.js +49 -0
  115. package/dist/razorpay-U23LGY72.cjs +56 -0
  116. package/dist/rbac-debug-db-HWP65A4O.cjs +35 -0
  117. package/dist/rbac-debug-db-QJH3AD34.js +33 -0
  118. package/dist/sms-defaults-2NL24H57.js +2 -0
  119. package/dist/sms-defaults-KCOPKQBA.cjs +19 -0
  120. package/dist/stripe-4FD27QVJ.js +51 -0
  121. package/dist/stripe-VU6OEG2D.cjs +57 -0
  122. package/dist/theme.cjs +31 -59
  123. package/dist/theme.d.cts +78 -3
  124. package/dist/theme.d.ts +78 -3
  125. package/dist/theme.js +23 -20
  126. package/dist/vendor-invite-status-77O7ZQ3U.cjs +19 -0
  127. package/dist/vendor-invite-status-PWJ3DE76.js +2 -0
  128. package/dist/whatsapp-trigger-dispatcher-ONHXI7UY.cjs +19 -0
  129. package/dist/whatsapp-trigger-dispatcher-PWFI4FKP.js +6 -0
  130. package/package.json +147 -142
  131. package/dist/admin.cjs.map +0 -1
  132. package/dist/admin.js.map +0 -1
  133. package/dist/api.cjs.map +0 -1
  134. package/dist/api.js.map +0 -1
  135. package/dist/auth.cjs.map +0 -1
  136. package/dist/auth.js.map +0 -1
  137. package/dist/cli.cjs.map +0 -1
  138. package/dist/cli.js.map +0 -1
  139. package/dist/config-DJ5CmQvS.d.cts +0 -8
  140. package/dist/config-DJ5CmQvS.d.ts +0 -8
  141. package/dist/hooks.cjs.map +0 -1
  142. package/dist/hooks.js.map +0 -1
  143. package/dist/index-Bf5GO8fu.d.cts +0 -583
  144. package/dist/index-DOiJuMQA.d.ts +0 -583
  145. package/dist/index.cjs.map +0 -1
  146. package/dist/index.js.map +0 -1
  147. package/dist/theme.cjs.map +0 -1
  148. package/dist/theme.js.map +0 -1
  149. package/dist/types-DCVaXlPV.d.cts +0 -78
  150. package/dist/types-DCVaXlPV.d.ts +0 -78
  151. package/dist/vendor-scope-DTYhJk_I.d.cts +0 -129
  152. package/dist/vendor-scope-DTYhJk_I.d.ts +0 -129
package/dist/cli.js CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
+ import { __name } from './chunk-SHUYVCID.js';
3
+ import fs from 'fs';
4
+ import path from 'path';
2
5
 
3
- // src/cli.ts
4
- import fs from "fs";
5
- import path from "path";
6
6
  var TEMPLATES = {
7
7
  "src/lib/data-source.ts": `import 'reflect-metadata';
8
8
  import path from 'path';
@@ -60,13 +60,14 @@ export const requireAdminAccess = helpers.requireAdminAccess;
60
60
  export const getAuthenticatedUser = helpers.getAuthenticatedUser;
61
61
  `,
62
62
  "src/lib/cms.ts": `import {
63
- createCmsApp,
63
+ createCmsAppWithMessaging,
64
64
  localStoragePlugin,
65
65
  blogGeneratorPlugin,
66
66
  pgBossPlugin,
67
67
  socialMediaPlugin,
68
68
  type CmsApp,
69
69
  } from '@infuro/cms-core';
70
+ import { CMS_ENTITY_MAP } from '@infuro/cms-core';
70
71
  import { getDataSourceInitialized } from './data-source';
71
72
 
72
73
  let cmsPromise: Promise<CmsApp> | null = null;
@@ -74,8 +75,9 @@ let cmsPromise: Promise<CmsApp> | null = null;
74
75
  export async function getCms(): Promise<CmsApp> {
75
76
  if (cmsPromise) return cmsPromise;
76
77
  const dataSource = await getDataSourceInitialized();
77
- cmsPromise = createCmsApp({
78
+ cmsPromise = createCmsAppWithMessaging({
78
79
  dataSource,
80
+ entityMap: CMS_ENTITY_MAP,
79
81
  config: process.env as unknown as Record<string, string>,
80
82
  plugins: [
81
83
  localStoragePlugin({ dir: 'public/uploads' }),
@@ -683,6 +685,7 @@ function findRoot(cwd) {
683
685
  }
684
686
  return null;
685
687
  }
688
+ __name(findRoot, "findRoot");
686
689
  function writeFile(root, filePath, content, force2, dryRun2, log) {
687
690
  const full = path.join(root, filePath);
688
691
  if (fs.existsSync(full) && !force2) {
@@ -694,13 +697,20 @@ function writeFile(root, filePath, content, force2, dryRun2, log) {
694
697
  return true;
695
698
  }
696
699
  const dir = path.dirname(full);
697
- fs.mkdirSync(dir, { recursive: true });
700
+ fs.mkdirSync(dir, {
701
+ recursive: true
702
+ });
698
703
  fs.writeFileSync(full, content, "utf8");
699
704
  log(` created: ${filePath}`);
700
705
  return true;
701
706
  }
707
+ __name(writeFile, "writeFile");
702
708
  function patchNextConfig(root, dryRun2, log) {
703
- const candidates = ["next.config.js", "next.config.mjs", "next.config.cjs"];
709
+ const candidates = [
710
+ "next.config.js",
711
+ "next.config.mjs",
712
+ "next.config.cjs"
713
+ ];
704
714
  let configPath = null;
705
715
  for (const name of candidates) {
706
716
  const p = path.join(root, name);
@@ -719,15 +729,9 @@ function patchNextConfig(root, dryRun2, log) {
719
729
  return false;
720
730
  }
721
731
  if (content.includes("serverExternalPackages")) {
722
- content = content.replace(
723
- /(serverExternalPackages:\s*\[)/,
724
- "$1'@infuro/cms-core', 'typeorm', 'rss-parser', "
725
- );
732
+ content = content.replace(/(serverExternalPackages:\s*\[)/, "$1'@infuro/cms-core', 'typeorm', 'rss-parser', ");
726
733
  } else {
727
- content = content.replace(
728
- /(const nextConfig\s*=\s*\{|module\.exports\s*=\s*\{)/,
729
- "$1\n serverExternalPackages: ['@infuro/cms-core', 'typeorm', 'rss-parser'],"
730
- );
734
+ content = content.replace(/(const nextConfig\s*=\s*\{|module\.exports\s*=\s*\{)/, "$1\n serverExternalPackages: ['@infuro/cms-core', 'typeorm', 'rss-parser'],");
731
735
  }
732
736
  if (dryRun2) {
733
737
  log(` would patch: ${path.basename(configPath)}`);
@@ -737,8 +741,13 @@ function patchNextConfig(root, dryRun2, log) {
737
741
  log(` patched: ${path.basename(configPath)}`);
738
742
  return true;
739
743
  }
744
+ __name(patchNextConfig, "patchNextConfig");
740
745
  function patchTailwind(root, dryRun2, log) {
741
- const candidates = ["tailwind.config.js", "tailwind.config.mjs", "tailwind.config.ts"];
746
+ const candidates = [
747
+ "tailwind.config.js",
748
+ "tailwind.config.mjs",
749
+ "tailwind.config.ts"
750
+ ];
742
751
  let configPath = null;
743
752
  for (const name of candidates) {
744
753
  const p = path.join(root, name);
@@ -758,11 +767,8 @@ function patchTailwind(root, dryRun2, log) {
758
767
  return false;
759
768
  }
760
769
  if (content.includes("content:")) {
761
- content = content.replace(
762
- /(content:\s*\[)/,
763
- `$1
764
- "${coreContent}",`
765
- );
770
+ content = content.replace(/(content:\s*\[)/, `$1
771
+ "${coreContent}",`);
766
772
  }
767
773
  if (dryRun2) {
768
774
  log(` would patch: ${path.basename(configPath)}`);
@@ -772,6 +778,7 @@ function patchTailwind(root, dryRun2, log) {
772
778
  log(` patched: ${path.basename(configPath)}`);
773
779
  return true;
774
780
  }
781
+ __name(patchTailwind, "patchTailwind");
775
782
  function patchLayout(root, dryRun2, log) {
776
783
  const layoutPath = path.join(root, "src/app/layout.tsx");
777
784
  if (!fs.existsSync(layoutPath)) {
@@ -808,6 +815,7 @@ function patchLayout(root, dryRun2, log) {
808
815
  log(" patched: src/app/layout.tsx");
809
816
  return true;
810
817
  }
818
+ __name(patchLayout, "patchLayout");
811
819
  function patchPackageJson(root, dryRun2, log) {
812
820
  const pkgPath = path.join(root, "package.json");
813
821
  if (!fs.existsSync(pkgPath)) return false;
@@ -845,8 +853,14 @@ function patchPackageJson(root, dryRun2, log) {
845
853
  return false;
846
854
  }
847
855
  pkg.scripts = scripts;
848
- pkg.dependencies = { ...pkg.dependencies, ...deps };
849
- pkg.devDependencies = { ...pkg.devDependencies, ...dev };
856
+ pkg.dependencies = {
857
+ ...pkg.dependencies,
858
+ ...deps
859
+ };
860
+ pkg.devDependencies = {
861
+ ...pkg.devDependencies,
862
+ ...dev
863
+ };
850
864
  if (dryRun2) {
851
865
  log(" would patch: package.json (scripts + devDependencies)");
852
866
  return true;
@@ -855,23 +869,41 @@ function patchPackageJson(root, dryRun2, log) {
855
869
  log(" patched: package.json");
856
870
  return true;
857
871
  }
872
+ __name(patchPackageJson, "patchPackageJson");
858
873
  async function runNpmInstall(root, log) {
859
- const { spawnSync } = await import("child_process");
874
+ const { spawnSync } = await import('child_process');
860
875
  log(" running: npm install (deps)...");
861
- spawnSync("npm", ["install", "@infuro/cms-core", "typeorm", "reflect-metadata", "bcryptjs", "next-auth", "next-themes", "sonner", "pg-boss"], {
876
+ spawnSync("npm", [
877
+ "install",
878
+ "@infuro/cms-core",
879
+ "typeorm",
880
+ "reflect-metadata",
881
+ "bcryptjs",
882
+ "next-auth",
883
+ "next-themes",
884
+ "sonner",
885
+ "pg-boss"
886
+ ], {
862
887
  cwd: root,
863
888
  stdio: "inherit",
864
889
  shell: true
865
890
  });
866
891
  log(" running: npm install -D tsx dotenv @types/node...");
867
- spawnSync("npm", ["install", "-D", "tsx", "dotenv", "@types/node"], {
892
+ spawnSync("npm", [
893
+ "install",
894
+ "-D",
895
+ "tsx",
896
+ "dotenv",
897
+ "@types/node"
898
+ ], {
868
899
  cwd: root,
869
900
  stdio: "inherit",
870
901
  shell: true
871
902
  });
872
903
  }
904
+ __name(runNpmInstall, "runNpmInstall");
873
905
  async function runInit(opts) {
874
- const log = (msg) => console.log(msg);
906
+ const log = /* @__PURE__ */ __name((msg) => console.log(msg), "log");
875
907
  const cwd = process.cwd();
876
908
  const root = findRoot(cwd);
877
909
  if (!root) {
@@ -908,13 +940,19 @@ async function runInit(opts) {
908
940
  log(" 2. Run npm run migration:run then npm run seed (creates admin from ADMIN_EMAIL/ADMIN_PASSWORD)");
909
941
  log(" 3. npm run dev");
910
942
  }
943
+ __name(runInit, "runInit");
911
944
  var args = process.argv.slice(2);
912
945
  var force = args.includes("--force");
913
946
  var dryRun = args.includes("--dry-run");
914
947
  var noDeps = args.includes("--no-deps");
915
948
  var noPatchConfig = args.includes("--no-patch-config");
916
949
  if (args[0] === "init" || args.includes("--init") || args.length === 0 && !args.some((a) => a.startsWith("--"))) {
917
- runInit({ force, dryRun, noDeps, noPatchConfig }).catch((e) => {
950
+ runInit({
951
+ force,
952
+ dryRun,
953
+ noDeps,
954
+ noPatchConfig
955
+ }).catch((e) => {
918
956
  console.error(e);
919
957
  process.exit(1);
920
958
  });
@@ -922,4 +960,3 @@ if (args[0] === "init" || args.includes("--init") || args.length === 0 && !args.
922
960
  console.log("Usage: npx @infuro/cms-core init [--force] [--dry-run] [--no-deps] [--no-patch-config]");
923
961
  process.exit(args[0] === "--help" || args[0] === "-h" ? 0 : 1);
924
962
  }
925
- //# sourceMappingURL=cli.js.map
@@ -0,0 +1,2 @@
1
+ export { queueEmail, queueOrderPlacedEmails, queueVendorOnboardEmails, registerEmailQueueProcessor } from './chunk-5ELSW2UP.js';
2
+ import './chunk-SHUYVCID.js';
@@ -0,0 +1,23 @@
1
+ 'use strict';
2
+
3
+ var chunkXW5ATPRW_cjs = require('./chunk-XW5ATPRW.cjs');
4
+ require('./chunk-USNT2KNT.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "queueEmail", {
9
+ enumerable: true,
10
+ get: function () { return chunkXW5ATPRW_cjs.queueEmail; }
11
+ });
12
+ Object.defineProperty(exports, "queueOrderPlacedEmails", {
13
+ enumerable: true,
14
+ get: function () { return chunkXW5ATPRW_cjs.queueOrderPlacedEmails; }
15
+ });
16
+ Object.defineProperty(exports, "queueVendorOnboardEmails", {
17
+ enumerable: true,
18
+ get: function () { return chunkXW5ATPRW_cjs.queueVendorOnboardEmails; }
19
+ });
20
+ Object.defineProperty(exports, "registerEmailQueueProcessor", {
21
+ enumerable: true,
22
+ get: function () { return chunkXW5ATPRW_cjs.registerEmailQueueProcessor; }
23
+ });
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ var chunkHT5DI3XW_cjs = require('./chunk-HT5DI3XW.cjs');
4
+ require('./chunk-UCKN4BBY.cjs');
5
+ require('./chunk-USNT2KNT.cjs');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, "emitOrderNotificationTrigger", {
10
+ enumerable: true,
11
+ get: function () { return chunkHT5DI3XW_cjs.emitOrderNotificationTrigger; }
12
+ });
13
+ Object.defineProperty(exports, "fireOrderNotificationTrigger", {
14
+ enumerable: true,
15
+ get: function () { return chunkHT5DI3XW_cjs.fireOrderNotificationTrigger; }
16
+ });
@@ -0,0 +1,3 @@
1
+ export { emitOrderNotificationTrigger, fireOrderNotificationTrigger } from './chunk-X47PBV4I.js';
2
+ import './chunk-HCIRL37O.js';
3
+ import './chunk-SHUYVCID.js';
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkUPLVMVRX_cjs = require('./chunk-UPLVMVRX.cjs');
4
+ require('./chunk-USNT2KNT.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "isErpIntegrationEnabled", {
9
+ enumerable: true,
10
+ get: function () { return chunkUPLVMVRX_cjs.isErpIntegrationEnabled; }
11
+ });
@@ -0,0 +1,2 @@
1
+ export { isErpIntegrationEnabled } from './chunk-JC6DLWTE.js';
2
+ import './chunk-SHUYVCID.js';
@@ -0,0 +1,3 @@
1
+ export { streamOrderInvoicePdf } from './chunk-WEMDMVHQ.js';
2
+ import './chunk-JC6DLWTE.js';
3
+ import './chunk-SHUYVCID.js';
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var chunkPNOKNSG2_cjs = require('./chunk-PNOKNSG2.cjs');
4
+ require('./chunk-UPLVMVRX.cjs');
5
+ require('./chunk-USNT2KNT.cjs');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, "streamOrderInvoicePdf", {
10
+ enumerable: true,
11
+ get: function () { return chunkPNOKNSG2_cjs.streamOrderInvoicePdf; }
12
+ });
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ var chunkSPQFNIYJ_cjs = require('./chunk-SPQFNIYJ.cjs');
4
+ require('./chunk-USNT2KNT.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "EVENT_ORDER_MESSAGE_TEMPLATE_DEFAULTS", {
9
+ enumerable: true,
10
+ get: function () { return chunkSPQFNIYJ_cjs.EVENT_ORDER_MESSAGE_TEMPLATE_DEFAULTS; }
11
+ });
12
+ Object.defineProperty(exports, "EVENT_ORDER_TEMPLATE_KEY", {
13
+ enumerable: true,
14
+ get: function () { return chunkSPQFNIYJ_cjs.EVENT_ORDER_TEMPLATE_KEY; }
15
+ });
16
+ Object.defineProperty(exports, "EVENT_ORDER_TEMPLATE_VARIABLES", {
17
+ enumerable: true,
18
+ get: function () { return chunkSPQFNIYJ_cjs.EVENT_ORDER_TEMPLATE_VARIABLES; }
19
+ });
20
+ Object.defineProperty(exports, "EVENT_ORDER_TEMPLATE_VARIABLE_HINTS", {
21
+ enumerable: true,
22
+ get: function () { return chunkSPQFNIYJ_cjs.EVENT_ORDER_TEMPLATE_VARIABLE_HINTS; }
23
+ });
24
+ Object.defineProperty(exports, "EVENT_ORDER_WHATSAPP_PARAM_KEYS", {
25
+ enumerable: true,
26
+ get: function () { return chunkSPQFNIYJ_cjs.EVENT_ORDER_WHATSAPP_PARAM_KEYS; }
27
+ });
28
+ Object.defineProperty(exports, "getEventOrderTemplateDefault", {
29
+ enumerable: true,
30
+ get: function () { return chunkSPQFNIYJ_cjs.getEventOrderTemplateDefault; }
31
+ });
32
+ Object.defineProperty(exports, "pickWhatsAppTemplateParams", {
33
+ enumerable: true,
34
+ get: function () { return chunkSPQFNIYJ_cjs.pickWhatsAppTemplateParams; }
35
+ });
36
+ Object.defineProperty(exports, "resolveEventOrderTemplate", {
37
+ enumerable: true,
38
+ get: function () { return chunkSPQFNIYJ_cjs.resolveEventOrderTemplate; }
39
+ });
@@ -0,0 +1,2 @@
1
+ export { EVENT_ORDER_MESSAGE_TEMPLATE_DEFAULTS, EVENT_ORDER_TEMPLATE_KEY, EVENT_ORDER_TEMPLATE_VARIABLES, EVENT_ORDER_TEMPLATE_VARIABLE_HINTS, EVENT_ORDER_WHATSAPP_PARAM_KEYS, getEventOrderTemplateDefault, pickWhatsAppTemplateParams, resolveEventOrderTemplate } from './chunk-KFFB6EMZ.js';
2
+ import './chunk-SHUYVCID.js';