@axova/shared 1.0.1 → 1.0.9

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 (54) hide show
  1. package/dist/lib/db.d.ts +34226 -1
  2. package/dist/lib/db.js +21 -1
  3. package/dist/schemas/admin/admin-schema.d.ts +2 -2
  4. package/dist/schemas/ai-moderation/ai-moderation-schema.d.ts +8 -8
  5. package/dist/schemas/common/common-schemas.d.ts +71 -71
  6. package/dist/schemas/compliance/compliance-schema.d.ts +20 -20
  7. package/dist/schemas/compliance/kyc-schema.d.ts +6 -6
  8. package/dist/schemas/customer/customer-schema.d.ts +18 -18
  9. package/dist/schemas/index.d.ts +1 -1
  10. package/dist/schemas/index.js +13 -4
  11. package/dist/schemas/inventory/inventory-tables.d.ts +188 -188
  12. package/dist/schemas/inventory/lot-tables.d.ts +104 -104
  13. package/dist/schemas/order/cart-schema.d.ts +2865 -0
  14. package/dist/schemas/order/cart-schema.js +396 -0
  15. package/dist/schemas/order/order-schema.d.ts +19 -19
  16. package/dist/schemas/order/order-schema.js +8 -2
  17. package/dist/schemas/product/discount-schema.d.ts +3 -3
  18. package/dist/schemas/product/product-schema.d.ts +3 -3
  19. package/dist/schemas/store/store-audit-schema.d.ts +22 -22
  20. package/dist/schemas/store/storefront-config-schema.d.ts +434 -823
  21. package/dist/schemas/store/storefront-config-schema.js +35 -62
  22. package/package.json +1 -1
  23. package/src/configs/index.ts +654 -654
  24. package/src/index.ts +26 -26
  25. package/src/interfaces/customer-events.ts +106 -106
  26. package/src/interfaces/inventory-events.ts +545 -545
  27. package/src/interfaces/inventory-types.ts +1004 -1004
  28. package/src/interfaces/order-events.ts +381 -381
  29. package/src/lib/auditLogger.ts +1117 -1117
  30. package/src/lib/authOrganization.ts +153 -153
  31. package/src/lib/db.ts +84 -64
  32. package/src/middleware/serviceAuth.ts +328 -328
  33. package/src/middleware/storeOwnership.ts +199 -199
  34. package/src/middleware/userAuth.ts +248 -248
  35. package/src/schemas/admin/admin-schema.ts +208 -208
  36. package/src/schemas/ai-moderation/ai-moderation-schema.ts +180 -180
  37. package/src/schemas/common/common-schemas.ts +108 -108
  38. package/src/schemas/compliance/compliance-schema.ts +927 -927
  39. package/src/schemas/customer/customer-schema.ts +576 -576
  40. package/src/schemas/index.ts +204 -194
  41. package/src/schemas/inventory/inventory-tables.ts +1927 -1927
  42. package/src/schemas/order/cart-schema.ts +652 -0
  43. package/src/schemas/order/order-schema.ts +1406 -1400
  44. package/src/schemas/product/product-relations.ts +187 -187
  45. package/src/schemas/product/product-schema.ts +955 -955
  46. package/src/schemas/store/ethiopian_business_api.md.resolved +212 -212
  47. package/src/schemas/store/store-audit-schema.ts +1257 -1257
  48. package/src/schemas/store/store-schema.ts +661 -661
  49. package/src/schemas/store/storefront-config-schema.ts +212 -434
  50. package/src/schemas/types.ts +67 -67
  51. package/src/types/events.ts +646 -646
  52. package/src/utils/errorHandler.ts +44 -44
  53. package/src/utils/subdomain.ts +19 -19
  54. package/tsconfig.json +21 -21

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.