@eventcatalog/create-eventcatalog 4.3.3 → 4.3.4
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/index.js +1 -1
- package/package.json +1 -1
- package/templates/default/README-template.md +3 -2
- package/templates/default/_data/visualizer-layouts/domains-systems-context/catalog/1.0.0.json +31 -0
- package/templates/default/_data/visualizer-layouts/domains-systems-context/customer/1.0.0.json +23 -0
- package/templates/default/_data/visualizer-layouts/system-context-map/system-context-map/1.0.0.json +91 -0
- package/templates/default/_data/visualizer-layouts/systems-context/customer-management-system/1.0.0.json +23 -0
- package/templates/default/components/footer.astro +0 -1
- package/templates/default/domains/Catalog/entities/category/index.mdx +36 -0
- package/templates/default/domains/Catalog/entities/product/index.mdx +37 -0
- package/templates/default/domains/Catalog/entities/product-variant/index.mdx +35 -0
- package/templates/default/domains/Catalog/entities/search-document/index.mdx +35 -0
- package/templates/default/domains/Catalog/index.mdx +65 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/adrs/adr-001-use-transactional-outbox/index.mdx +43 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/adrs/adr-002-postgres-as-system-of-record/index.mdx +40 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/adrs/adr-003-offload-async-work-to-worker/index.mdx +41 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/containers/product-database/index.mdx +45 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/containers/product-database/schema.sql +33 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/index.mdx +72 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/services/ProductAPI/commands/CreateProduct/index.mdx +32 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/services/ProductAPI/commands/CreateProduct/schema.json +41 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/services/ProductAPI/commands/DeleteProduct/index.mdx +32 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/services/ProductAPI/commands/DeleteProduct/schema.json +19 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/services/ProductAPI/commands/UpdateProduct/index.mdx +32 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/services/ProductAPI/commands/UpdateProduct/schema.json +42 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/services/ProductAPI/events/ProductCreated/index.mdx +29 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/services/ProductAPI/events/ProductCreated/schema.json +62 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/services/ProductAPI/events/ProductDeleted/index.mdx +29 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/services/ProductAPI/events/ProductDeleted/schema.json +29 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/services/ProductAPI/events/ProductUpdated/index.mdx +29 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/services/ProductAPI/events/ProductUpdated/schema.json +55 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/services/ProductAPI/index.mdx +69 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/services/ProductAPI/openapi.yml +219 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/services/ProductAPI/queries/GetProduct/index.mdx +32 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/services/ProductAPI/queries/GetProduct/schema.json +56 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/services/ProductSearchPublisher/index.mdx +56 -0
- package/templates/default/domains/Catalog/systems/product-catalog-system/services/ProductWorker/index.mdx +48 -0
- package/templates/default/domains/Catalog/systems/search-system/containers/search-index/index.mdx +39 -0
- package/templates/default/domains/Catalog/systems/search-system/flows/ProductSearchIndexing/index.mdx +130 -0
- package/templates/default/domains/Catalog/systems/search-system/index.mdx +66 -0
- package/templates/default/domains/Catalog/systems/search-system/services/SearchAPI/index.mdx +44 -0
- package/templates/default/domains/Catalog/systems/search-system/services/SearchAPI/openapi.yml +138 -0
- package/templates/default/domains/Catalog/systems/search-system/services/SearchAPI/queries/SearchProducts/index.mdx +32 -0
- package/templates/default/domains/Catalog/systems/search-system/services/SearchAPI/queries/SearchProducts/schema.json +108 -0
- package/templates/default/domains/Catalog/systems/search-system/services/SearchIndexer/index.mdx +54 -0
- package/templates/default/domains/Catalog/ubiquitous-language.mdx +54 -0
- package/templates/default/domains/Customer/entities/authentication-session/index.mdx +35 -0
- package/templates/default/domains/Customer/entities/customer-account/index.mdx +36 -0
- package/templates/default/domains/Customer/entities/customer-address/index.mdx +35 -0
- package/templates/default/domains/Customer/entities/customer-profile/index.mdx +33 -0
- package/templates/default/domains/Customer/index.mdx +67 -0
- package/templates/default/domains/Customer/systems/customer-management-system/containers/customer-database/index.mdx +43 -0
- package/templates/default/domains/Customer/systems/customer-management-system/containers/customer-database/schema.sql +14 -0
- package/templates/default/domains/Customer/systems/customer-management-system/index.mdx +60 -0
- package/templates/default/domains/Customer/systems/customer-management-system/services/CustomerAPI/commands/RegisterCustomer/index.mdx +32 -0
- package/templates/default/domains/Customer/systems/customer-management-system/services/CustomerAPI/commands/RegisterCustomer/schema.json +24 -0
- package/templates/default/domains/Customer/systems/customer-management-system/services/CustomerAPI/commands/UpdateCustomer/index.mdx +32 -0
- package/templates/default/domains/Customer/systems/customer-management-system/services/CustomerAPI/commands/UpdateCustomer/schema.json +29 -0
- package/templates/default/domains/Customer/systems/customer-management-system/services/CustomerAPI/events/CustomerRegistered/index.mdx +29 -0
- package/templates/default/domains/Customer/systems/customer-management-system/services/CustomerAPI/events/CustomerRegistered/schema.json +45 -0
- package/templates/default/domains/Customer/systems/customer-management-system/services/CustomerAPI/events/CustomerUpdated/index.mdx +29 -0
- package/templates/default/domains/Customer/systems/customer-management-system/services/CustomerAPI/events/CustomerUpdated/schema.json +42 -0
- package/templates/default/domains/Customer/systems/customer-management-system/services/CustomerAPI/index.mdx +72 -0
- package/templates/default/domains/Customer/systems/customer-management-system/services/CustomerAPI/openapi.yml +164 -0
- package/templates/default/domains/Customer/systems/customer-management-system/services/CustomerAPI/queries/GetCustomer/index.mdx +32 -0
- package/templates/default/domains/Customer/systems/customer-management-system/services/CustomerAPI/queries/GetCustomer/schema.json +47 -0
- package/templates/default/domains/Customer/systems/identity-provider/containers/user-directory/index.mdx +36 -0
- package/templates/default/domains/Customer/systems/identity-provider/index.mdx +54 -0
- package/templates/default/domains/Customer/systems/identity-provider/services/OAuthAPI/commands/AuthenticateCustomer/index.mdx +32 -0
- package/templates/default/domains/Customer/systems/identity-provider/services/OAuthAPI/commands/AuthenticateCustomer/schema.json +41 -0
- package/templates/default/domains/Customer/systems/identity-provider/services/OAuthAPI/events/CustomerAuthenticated/index.mdx +29 -0
- package/templates/default/domains/Customer/systems/identity-provider/services/OAuthAPI/events/CustomerAuthenticated/schema.json +33 -0
- package/templates/default/domains/Customer/systems/identity-provider/services/OAuthAPI/index.mdx +59 -0
- package/templates/default/domains/Customer/ubiquitous-language.mdx +48 -0
- package/templates/default/domains/Fulfilment/entities/inventory-reservation/index.mdx +39 -0
- package/templates/default/domains/Fulfilment/entities/shipment/index.mdx +36 -0
- package/templates/default/domains/Fulfilment/entities/stock-item/index.mdx +36 -0
- package/templates/default/domains/Fulfilment/entities/warehouse-pick/index.mdx +35 -0
- package/templates/default/domains/Fulfilment/index.mdx +83 -0
- package/templates/default/domains/Fulfilment/systems/carrier/index.mdx +52 -0
- package/templates/default/domains/Fulfilment/systems/carrier/services/CarrierShippingAPI/index.mdx +40 -0
- package/templates/default/domains/Fulfilment/systems/carrier/services/CarrierTrackingAPI/events/ShipmentCreated/index.mdx +29 -0
- package/templates/default/domains/Fulfilment/systems/carrier/services/CarrierTrackingAPI/events/ShipmentCreated/schema.json +15 -0
- package/templates/default/domains/Fulfilment/systems/carrier/services/CarrierTrackingAPI/events/ShipmentDelivered/index.mdx +29 -0
- package/templates/default/domains/Fulfilment/systems/carrier/services/CarrierTrackingAPI/events/ShipmentDelivered/schema.json +13 -0
- package/templates/default/domains/Fulfilment/systems/carrier/services/CarrierTrackingAPI/events/ShipmentFailed/index.mdx +29 -0
- package/templates/default/domains/Fulfilment/systems/carrier/services/CarrierTrackingAPI/events/ShipmentFailed/schema.json +16 -0
- package/templates/default/domains/Fulfilment/systems/carrier/services/CarrierTrackingAPI/index.mdx +44 -0
- package/templates/default/domains/Fulfilment/systems/inventory-system/containers/inventory-database/index.mdx +35 -0
- package/templates/default/domains/Fulfilment/systems/inventory-system/containers/inventory-database/schema.sql +26 -0
- package/templates/default/domains/Fulfilment/systems/inventory-system/index.mdx +49 -0
- package/templates/default/domains/Fulfilment/systems/inventory-system/services/InventoryService/commands/ReleaseInventory/index.mdx +32 -0
- package/templates/default/domains/Fulfilment/systems/inventory-system/services/InventoryService/commands/ReleaseInventory/schema.json +14 -0
- package/templates/default/domains/Fulfilment/systems/inventory-system/services/InventoryService/events/InventoryReserved/index.mdx +29 -0
- package/templates/default/domains/Fulfilment/systems/inventory-system/services/InventoryService/events/InventoryReserved/schema.json +24 -0
- package/templates/default/domains/Fulfilment/systems/inventory-system/services/InventoryService/events/InventoryUnavailable/index.mdx +29 -0
- package/templates/default/domains/Fulfilment/systems/inventory-system/services/InventoryService/events/InventoryUnavailable/schema.json +24 -0
- package/templates/default/domains/Fulfilment/systems/inventory-system/services/InventoryService/index.mdx +67 -0
- package/templates/default/domains/Fulfilment/systems/inventory-system/services/InventoryService/queries/GetStockLevel/index.mdx +32 -0
- package/templates/default/domains/Fulfilment/systems/inventory-system/services/InventoryService/queries/GetStockLevel/schema.json +25 -0
- package/templates/default/domains/Fulfilment/systems/shipping-system/index.mdx +47 -0
- package/templates/default/domains/Fulfilment/systems/shipping-system/services/CarrierAdapter/commands/CreateShipment/index.mdx +32 -0
- package/templates/default/domains/Fulfilment/systems/shipping-system/services/CarrierAdapter/commands/CreateShipment/schema.json +26 -0
- package/templates/default/domains/Fulfilment/systems/shipping-system/services/CarrierAdapter/index.mdx +40 -0
- package/templates/default/domains/Fulfilment/systems/shipping-system/services/ShippingAPI/index.mdx +40 -0
- package/templates/default/domains/Fulfilment/systems/warehouse-system/containers/warehouse-database/index.mdx +35 -0
- package/templates/default/domains/Fulfilment/systems/warehouse-system/containers/warehouse-database/schema.sql +21 -0
- package/templates/default/domains/Fulfilment/systems/warehouse-system/index.mdx +53 -0
- package/templates/default/domains/Fulfilment/systems/warehouse-system/services/PickingWorker/events/OrderPacked/index.mdx +29 -0
- package/templates/default/domains/Fulfilment/systems/warehouse-system/services/PickingWorker/events/OrderPacked/schema.json +13 -0
- package/templates/default/domains/Fulfilment/systems/warehouse-system/services/PickingWorker/index.mdx +44 -0
- package/templates/default/domains/Fulfilment/systems/warehouse-system/services/WarehouseService/events/OrderReadyForShipping/index.mdx +29 -0
- package/templates/default/domains/Fulfilment/systems/warehouse-system/services/WarehouseService/events/OrderReadyForShipping/schema.json +23 -0
- package/templates/default/domains/Fulfilment/systems/warehouse-system/services/WarehouseService/index.mdx +53 -0
- package/templates/default/domains/Fulfilment/ubiquitous-language.mdx +44 -0
- package/templates/default/domains/Ordering/entities/checkout-session/index.mdx +36 -0
- package/templates/default/domains/Ordering/entities/order/index.mdx +36 -0
- package/templates/default/domains/Ordering/entities/order-line/index.mdx +38 -0
- package/templates/default/domains/Ordering/entities/order-status-history/index.mdx +35 -0
- package/templates/default/domains/Ordering/flows/PlaceAnOrder/index.mdx +158 -0
- package/templates/default/domains/Ordering/index.mdx +70 -0
- package/templates/default/domains/Ordering/systems/checkout-system/flows/CheckoutSaga/index.mdx +101 -0
- package/templates/default/domains/Ordering/systems/checkout-system/index.mdx +57 -0
- package/templates/default/domains/Ordering/systems/checkout-system/services/CheckoutAPI/index.mdx +53 -0
- package/templates/default/domains/Ordering/systems/checkout-system/services/CheckoutOrchestrator/commands/AuthorizePayment/index.mdx +32 -0
- package/templates/default/domains/Ordering/systems/checkout-system/services/CheckoutOrchestrator/commands/AuthorizePayment/schema.json +29 -0
- package/templates/default/domains/Ordering/systems/checkout-system/services/CheckoutOrchestrator/commands/ReserveInventory/index.mdx +32 -0
- package/templates/default/domains/Ordering/systems/checkout-system/services/CheckoutOrchestrator/commands/ReserveInventory/schema.json +37 -0
- package/templates/default/domains/Ordering/systems/checkout-system/services/CheckoutOrchestrator/index.mdx +59 -0
- package/templates/default/domains/Ordering/systems/order-management-system/containers/order-database/index.mdx +39 -0
- package/templates/default/domains/Ordering/systems/order-management-system/containers/order-database/schema.sql +24 -0
- package/templates/default/domains/Ordering/systems/order-management-system/flows/OrderCancellation/index.mdx +105 -0
- package/templates/default/domains/Ordering/systems/order-management-system/index.mdx +53 -0
- package/templates/default/domains/Ordering/systems/order-management-system/services/OrderService/asyncapi.yml +233 -0
- package/templates/default/domains/Ordering/systems/order-management-system/services/OrderService/commands/CancelOrder/index.mdx +32 -0
- package/templates/default/domains/Ordering/systems/order-management-system/services/OrderService/commands/CancelOrder/schema.json +19 -0
- package/templates/default/domains/Ordering/systems/order-management-system/services/OrderService/commands/CreateOrder/index.mdx +32 -0
- package/templates/default/domains/Ordering/systems/order-management-system/services/OrderService/commands/CreateOrder/schema.json +55 -0
- package/templates/default/domains/Ordering/systems/order-management-system/services/OrderService/events/OrderCancelled/index.mdx +29 -0
- package/templates/default/domains/Ordering/systems/order-management-system/services/OrderService/events/OrderCancelled/schema.json +25 -0
- package/templates/default/domains/Ordering/systems/order-management-system/services/OrderService/events/OrderCompleted/index.mdx +29 -0
- package/templates/default/domains/Ordering/systems/order-management-system/services/OrderService/events/OrderCompleted/schema.json +21 -0
- package/templates/default/domains/Ordering/systems/order-management-system/services/OrderService/events/OrderCreated/index.mdx +29 -0
- package/templates/default/domains/Ordering/systems/order-management-system/services/OrderService/events/OrderCreated/schema.json +29 -0
- package/templates/default/domains/Ordering/systems/order-management-system/services/OrderService/index.mdx +74 -0
- package/templates/default/domains/Ordering/systems/order-management-system/services/OrderService/queries/GetOrder/index.mdx +32 -0
- package/templates/default/domains/Ordering/systems/order-management-system/services/OrderService/queries/GetOrder/schema.json +64 -0
- package/templates/default/domains/Ordering/ubiquitous-language.mdx +53 -0
- package/templates/default/domains/Payments/entities/fraud-check/index.mdx +39 -0
- package/templates/default/domains/Payments/entities/payment/index.mdx +36 -0
- package/templates/default/domains/Payments/entities/payment-authorization/index.mdx +35 -0
- package/templates/default/domains/Payments/entities/refund/index.mdx +36 -0
- package/templates/default/domains/Payments/index.mdx +69 -0
- package/templates/default/domains/Payments/systems/fraud-detection/index.mdx +49 -0
- package/templates/default/domains/Payments/systems/fraud-detection/services/FraudAPI/events/FraudCheckFailed/index.mdx +29 -0
- package/templates/default/domains/Payments/systems/fraud-detection/services/FraudAPI/events/FraudCheckFailed/schema.json +22 -0
- package/templates/default/domains/Payments/systems/fraud-detection/services/FraudAPI/events/FraudCheckPassed/index.mdx +29 -0
- package/templates/default/domains/Payments/systems/fraud-detection/services/FraudAPI/events/FraudCheckPassed/schema.json +18 -0
- package/templates/default/domains/Payments/systems/fraud-detection/services/FraudAPI/index.mdx +51 -0
- package/templates/default/domains/Payments/systems/payment-processing-system/containers/payment-database/index.mdx +39 -0
- package/templates/default/domains/Payments/systems/payment-processing-system/containers/payment-database/schema.sql +25 -0
- package/templates/default/domains/Payments/systems/payment-processing-system/index.mdx +53 -0
- package/templates/default/domains/Payments/systems/payment-processing-system/services/PaymentAPI/index.mdx +51 -0
- package/templates/default/domains/Payments/systems/payment-processing-system/services/PaymentWorker/events/PaymentRequested/index.mdx +29 -0
- package/templates/default/domains/Payments/systems/payment-processing-system/services/PaymentWorker/events/PaymentRequested/schema.json +19 -0
- package/templates/default/domains/Payments/systems/payment-processing-system/services/PaymentWorker/events/RefundRequested/index.mdx +29 -0
- package/templates/default/domains/Payments/systems/payment-processing-system/services/PaymentWorker/events/RefundRequested/schema.json +20 -0
- package/templates/default/domains/Payments/systems/payment-processing-system/services/PaymentWorker/index.mdx +66 -0
- package/templates/default/domains/Payments/systems/stripe/index.mdx +52 -0
- package/templates/default/domains/Payments/systems/stripe/services/StripePaymentsAPI/index.mdx +42 -0
- package/templates/default/domains/Payments/systems/stripe/services/StripeWebhookEndpoint/events/PaymentFailed/index.mdx +29 -0
- package/templates/default/domains/Payments/systems/stripe/services/StripeWebhookEndpoint/events/PaymentFailed/schema.json +16 -0
- package/templates/default/domains/Payments/systems/stripe/services/StripeWebhookEndpoint/events/PaymentSucceeded/index.mdx +29 -0
- package/templates/default/domains/Payments/systems/stripe/services/StripeWebhookEndpoint/events/PaymentSucceeded/schema.json +15 -0
- package/templates/default/domains/Payments/systems/stripe/services/StripeWebhookEndpoint/events/RefundProcessed/index.mdx +29 -0
- package/templates/default/domains/Payments/systems/stripe/services/StripeWebhookEndpoint/events/RefundProcessed/schema.json +14 -0
- package/templates/default/domains/Payments/systems/stripe/services/StripeWebhookEndpoint/index.mdx +44 -0
- package/templates/default/domains/Payments/ubiquitous-language.mdx +41 -0
- package/templates/default/domains/Reviews/asyncapi.yml +181 -0
- package/templates/default/domains/Reviews/containers/rating-cache/index.mdx +29 -0
- package/templates/default/domains/Reviews/containers/review-database/index.mdx +33 -0
- package/templates/default/domains/Reviews/entities/moderation-decision/index.mdx +38 -0
- package/templates/default/domains/Reviews/entities/rating-summary/index.mdx +35 -0
- package/templates/default/domains/Reviews/entities/review/index.mdx +63 -0
- package/templates/default/domains/Reviews/entities/review-flag/index.mdx +35 -0
- package/templates/default/domains/Reviews/entities/review-vote/index.mdx +38 -0
- package/templates/default/domains/Reviews/flows/review-submission/index.mdx +120 -0
- package/templates/default/domains/Reviews/index.mdx +93 -0
- package/templates/default/domains/Reviews/openapi.yml +209 -0
- package/templates/default/domains/Reviews/services/RatingAggregator/events/rating-updated/index.mdx +29 -0
- package/templates/default/domains/Reviews/services/RatingAggregator/events/rating-updated/schema.json +12 -0
- package/templates/default/domains/Reviews/services/RatingAggregator/index.mdx +47 -0
- package/templates/default/domains/Reviews/services/ReviewAPI/commands/flag-review/index.mdx +29 -0
- package/templates/default/domains/Reviews/services/ReviewAPI/commands/flag-review/schema.json +13 -0
- package/templates/default/domains/Reviews/services/ReviewAPI/commands/submit-review/index.mdx +29 -0
- package/templates/default/domains/Reviews/services/ReviewAPI/commands/submit-review/schema.json +15 -0
- package/templates/default/domains/Reviews/services/ReviewAPI/commands/vote-review-helpful/index.mdx +29 -0
- package/templates/default/domains/Reviews/services/ReviewAPI/commands/vote-review-helpful/schema.json +12 -0
- package/templates/default/domains/Reviews/services/ReviewAPI/events/review-flagged/index.mdx +29 -0
- package/templates/default/domains/Reviews/services/ReviewAPI/events/review-flagged/schema.json +13 -0
- package/templates/default/domains/Reviews/services/ReviewAPI/events/review-helpful-voted/index.mdx +29 -0
- package/templates/default/domains/Reviews/services/ReviewAPI/events/review-helpful-voted/schema.json +12 -0
- package/templates/default/domains/Reviews/services/ReviewAPI/events/review-submitted/index.mdx +29 -0
- package/templates/default/domains/Reviews/services/ReviewAPI/events/review-submitted/schema.json +15 -0
- package/templates/default/domains/Reviews/services/ReviewAPI/index.mdx +58 -0
- package/templates/default/domains/Reviews/services/ReviewAPI/queries/get-product-reviews/index.mdx +24 -0
- package/templates/default/domains/Reviews/services/ReviewAPI/queries/get-product-reviews/schema.json +12 -0
- package/templates/default/domains/Reviews/services/ReviewModerationWorker/events/review-published/index.mdx +29 -0
- package/templates/default/domains/Reviews/services/ReviewModerationWorker/events/review-published/schema.json +13 -0
- package/templates/default/domains/Reviews/services/ReviewModerationWorker/events/review-rejected/index.mdx +29 -0
- package/templates/default/domains/Reviews/services/ReviewModerationWorker/events/review-rejected/schema.json +12 -0
- package/templates/default/domains/Reviews/services/ReviewModerationWorker/index.mdx +50 -0
- package/templates/default/domains/Shopping/entities/cart/index.mdx +40 -0
- package/templates/default/domains/Shopping/entities/cart-item/index.mdx +38 -0
- package/templates/default/domains/Shopping/entities/discount/index.mdx +35 -0
- package/templates/default/domains/Shopping/entities/promotion/index.mdx +40 -0
- package/templates/default/domains/Shopping/index.mdx +67 -0
- package/templates/default/domains/Shopping/systems/cart-system/containers/cart-database/index.mdx +39 -0
- package/templates/default/domains/Shopping/systems/cart-system/containers/cart-database/schema.sql +22 -0
- package/templates/default/domains/Shopping/systems/cart-system/index.mdx +53 -0
- package/templates/default/domains/Shopping/systems/cart-system/services/CartAPI/commands/AddItemToCart/index.mdx +32 -0
- package/templates/default/domains/Shopping/systems/cart-system/services/CartAPI/commands/AddItemToCart/schema.json +25 -0
- package/templates/default/domains/Shopping/systems/cart-system/services/CartAPI/commands/CheckoutCart/index.mdx +32 -0
- package/templates/default/domains/Shopping/systems/cart-system/services/CartAPI/commands/CheckoutCart/schema.json +23 -0
- package/templates/default/domains/Shopping/systems/cart-system/services/CartAPI/commands/RemoveItemFromCart/index.mdx +32 -0
- package/templates/default/domains/Shopping/systems/cart-system/services/CartAPI/commands/RemoveItemFromCart/schema.json +24 -0
- package/templates/default/domains/Shopping/systems/cart-system/services/CartAPI/events/CartCheckedOut/index.mdx +29 -0
- package/templates/default/domains/Shopping/systems/cart-system/services/CartAPI/events/CartCheckedOut/schema.json +62 -0
- package/templates/default/domains/Shopping/systems/cart-system/services/CartAPI/index.mdx +72 -0
- package/templates/default/domains/Shopping/systems/cart-system/services/CartAPI/openapi.yml +200 -0
- package/templates/default/domains/Shopping/systems/promotion-system/containers/promotion-database/index.mdx +40 -0
- package/templates/default/domains/Shopping/systems/promotion-system/containers/promotion-database/schema.sql +21 -0
- package/templates/default/domains/Shopping/systems/promotion-system/index.mdx +48 -0
- package/templates/default/domains/Shopping/systems/promotion-system/services/PromotionService/commands/CalculateDiscount/index.mdx +32 -0
- package/templates/default/domains/Shopping/systems/promotion-system/services/PromotionService/commands/CalculateDiscount/schema.json +53 -0
- package/templates/default/domains/Shopping/systems/promotion-system/services/PromotionService/events/DiscountCalculated/index.mdx +29 -0
- package/templates/default/domains/Shopping/systems/promotion-system/services/PromotionService/events/DiscountCalculated/schema.json +37 -0
- package/templates/default/domains/Shopping/systems/promotion-system/services/PromotionService/index.mdx +59 -0
- package/templates/default/domains/Shopping/ubiquitous-language.mdx +48 -0
- package/templates/default/eventcatalog.config.js +13 -0
- package/templates/default/pages/homepage.astro +109 -0
- package/templates/default/public/icons/analytics/clickhouse.svg +1 -0
- package/templates/default/public/icons/cache/redis.svg +1 -0
- package/templates/default/public/icons/database/postgresql.svg +1 -0
- package/templates/default/public/icons/languages/go.svg +1 -0
- package/templates/default/public/icons/languages/java.svg +1 -0
- package/templates/default/public/icons/languages/nodejs.svg +1 -0
- package/templates/default/public/icons/payments/stripe.svg +1 -0
- package/templates/default/teams/customer-platform.mdx +18 -0
- package/templates/default/teams/fulfilment-platform.mdx +20 -0
- package/templates/default/teams/ordering-platform.mdx +18 -0
- package/templates/default/teams/payments-platform.mdx +18 -0
- package/templates/default/teams/product-platform.mdx +20 -0
- package/templates/default/teams/reviews-platform.mdx +20 -0
- package/templates/default/teams/search-platform.mdx +19 -0
- package/templates/default/teams/shopping-platform.mdx +18 -0
- package/templates/default/users/dboyne.mdx +1 -1
- package/templates/default/channels/inventory.{env}.events/index.mdx +0 -159
- package/templates/default/channels/orders.{env}.events/index.mdx +0 -85
- package/templates/default/channels/payment.{env}.events/index.mdx +0 -89
- package/templates/default/domains/E-Commerce/index.mdx +0 -140
- package/templates/default/domains/E-Commerce/ubiquitous-language.mdx +0 -87
- package/templates/default/domains/Orders/changelog.mdx +0 -7
- package/templates/default/domains/Orders/entities/CartItem/index.mdx +0 -124
- package/templates/default/domains/Orders/entities/Customer/index.mdx +0 -59
- package/templates/default/domains/Orders/entities/Order/index.mdx +0 -98
- package/templates/default/domains/Orders/entities/OrderItem/index.mdx +0 -62
- package/templates/default/domains/Orders/entities/ShoppingCart/index.mdx +0 -151
- package/templates/default/domains/Orders/index.mdx +0 -117
- package/templates/default/domains/Orders/services/InventoryService/changelog.mdx +0 -7
- package/templates/default/domains/Orders/services/InventoryService/channels/inventory-dlq/index.mdx +0 -13
- package/templates/default/domains/Orders/services/InventoryService/channels/inventory-queue/index.mdx +0 -13
- package/templates/default/domains/Orders/services/InventoryService/commands/AddInventory/index.mdx +0 -45
- package/templates/default/domains/Orders/services/InventoryService/commands/AddInventory/schema.json +0 -28
- package/templates/default/domains/Orders/services/InventoryService/commands/PlaceOrder/index.mdx +0 -34
- package/templates/default/domains/Orders/services/InventoryService/commands/PlaceOrder/schema.json +0 -124
- package/templates/default/domains/Orders/services/InventoryService/commands/UpdateInventory/index.mdx +0 -47
- package/templates/default/domains/Orders/services/InventoryService/commands/UpdateInventory/schema.json +0 -28
- package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/changelog.mdx +0 -67
- package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/examples/examples.config.yaml +0 -15
- package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/examples/stock-decrease.json +0 -23
- package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/examples/stock-increase.json +0 -23
- package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/index.mdx +0 -124
- package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/schema.avro +0 -13
- package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/schema.json +0 -35
- package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/versioned/0.0.1/changelog.mdx +0 -26
- package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/versioned/0.0.1/index.mdx +0 -23
- package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/versioned/0.0.1/schema.avro +0 -9
- package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/versioned/0.0.1/schema.json +0 -36
- package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/versioned/1.0.0/changelog.mdx +0 -26
- package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/versioned/1.0.0/index.mdx +0 -108
- package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/versioned/1.0.0/schema.avro +0 -10
- package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/versioned/1.0.0/schema.json +0 -36
- package/templates/default/domains/Orders/services/InventoryService/events/OutOfStock/examples/examples.config.yaml +0 -7
- package/templates/default/domains/Orders/services/InventoryService/events/OutOfStock/examples/product-depleted.json +0 -19
- package/templates/default/domains/Orders/services/InventoryService/events/OutOfStock/index.mdx +0 -102
- package/templates/default/domains/Orders/services/InventoryService/events/OutOfStock/schema.json +0 -28
- package/templates/default/domains/Orders/services/InventoryService/events/OutOfStock/versioned/0.0.1/index.mdx +0 -98
- package/templates/default/domains/Orders/services/InventoryService/events/OutOfStock/versioned/0.0.1/schema.json +0 -28
- package/templates/default/domains/Orders/services/InventoryService/index.mdx +0 -120
- package/templates/default/domains/Orders/services/InventoryService/queries/GetInventoryList/index.mdx +0 -22
- package/templates/default/domains/Orders/services/InventoryService/queries/GetInventoryList/schema.json +0 -52
- package/templates/default/domains/Orders/services/InventoryService/queries/GetInventoryStatus/index.mdx +0 -40
- package/templates/default/domains/Orders/services/InventoryService/queries/GetInventoryStatus/schema.json +0 -27
- package/templates/default/domains/Orders/services/InventoryService/versioned/0.0.1/index.mdx +0 -52
- package/templates/default/domains/Orders/services/NotificationService/index.mdx +0 -82
- package/templates/default/domains/Orders/services/NotificationService/queries/GetNotificationDetails/index.mdx +0 -26
- package/templates/default/domains/Orders/services/NotificationService/queries/GetNotificationDetails/schema.json +0 -55
- package/templates/default/domains/Orders/services/NotificationService/queries/GetUserNotifications/index.mdx +0 -26
- package/templates/default/domains/Orders/services/NotificationService/queries/GetUserNotifications/schema.json +0 -46
- package/templates/default/domains/Orders/services/OrdersService/changelog.mdx +0 -3
- package/templates/default/domains/Orders/services/OrdersService/events/OrderAmended/examples/address-change.json +0 -36
- package/templates/default/domains/Orders/services/OrdersService/events/OrderAmended/examples/examples.config.yaml +0 -15
- package/templates/default/domains/Orders/services/OrdersService/events/OrderAmended/examples/quantity-change.json +0 -29
- package/templates/default/domains/Orders/services/OrdersService/events/OrderAmended/index.mdx +0 -58
- package/templates/default/domains/Orders/services/OrdersService/events/OrderAmended/schema.avro +0 -75
- package/templates/default/domains/Orders/services/OrdersService/events/OrderAmended/schema.json +0 -70
- package/templates/default/domains/Orders/services/OrdersService/events/OrderCancelled/examples/customer-request.json +0 -34
- package/templates/default/domains/Orders/services/OrdersService/events/OrderCancelled/examples/examples.config.yaml +0 -15
- package/templates/default/domains/Orders/services/OrdersService/events/OrderCancelled/examples/out-of-stock.json +0 -28
- package/templates/default/domains/Orders/services/OrdersService/events/OrderCancelled/index.mdx +0 -54
- package/templates/default/domains/Orders/services/OrdersService/events/OrderCancelled/schema.json +0 -71
- package/templates/default/domains/Orders/services/OrdersService/events/OrderConfirmed/examples/examples.config.yaml +0 -15
- package/templates/default/domains/Orders/services/OrdersService/events/OrderConfirmed/examples/gift-order.json +0 -38
- package/templates/default/domains/Orders/services/OrdersService/events/OrderConfirmed/examples/standard-order.json +0 -42
- package/templates/default/domains/Orders/services/OrdersService/events/OrderConfirmed/index.mdx +0 -55
- package/templates/default/domains/Orders/services/OrdersService/events/OrderConfirmed/schema.json +0 -66
- package/templates/default/domains/Orders/services/OrdersService/index.mdx +0 -81
- package/templates/default/domains/Orders/services/OrdersService/openapi.yml +0 -185
- package/templates/default/domains/Orders/services/OrdersService/order-service-asyncapi.yaml +0 -148
- package/templates/default/domains/Orders/services/OrdersService/queries/GetOrder/index.mdx +0 -26
- package/templates/default/domains/Orders/services/OrdersService/versioned/0.0.2/changelog.mdx +0 -3
- package/templates/default/domains/Orders/services/OrdersService/versioned/0.0.2/index.mdx +0 -40
- package/templates/default/domains/Orders/services/OrdersService/versioned/0.0.2/openapi.yml +0 -96
- package/templates/default/domains/Orders/services/OrdersService/versioned/0.0.2/order-service-asyncapi.yaml +0 -148
- package/templates/default/domains/Orders/services/ShippingService/commands/CancelShipment/index.mdx +0 -22
- package/templates/default/domains/Orders/services/ShippingService/commands/CancelShipment/schema.json +0 -13
- package/templates/default/domains/Orders/services/ShippingService/commands/CreateReturnLabel/index.mdx +0 -22
- package/templates/default/domains/Orders/services/ShippingService/commands/CreateReturnLabel/schema.json +0 -19
- package/templates/default/domains/Orders/services/ShippingService/commands/CreateShipment/index.mdx +0 -22
- package/templates/default/domains/Orders/services/ShippingService/commands/CreateShipment/schema.json +0 -62
- package/templates/default/domains/Orders/services/ShippingService/commands/UpdateShipmentStatus/index.mdx +0 -22
- package/templates/default/domains/Orders/services/ShippingService/commands/UpdateShipmentStatus/schema.json +0 -29
- package/templates/default/domains/Orders/services/ShippingService/events/DeliveryFailed/examples/address-not-found.json +0 -23
- package/templates/default/domains/Orders/services/ShippingService/events/DeliveryFailed/examples/customer-unavailable.json +0 -40
- package/templates/default/domains/Orders/services/ShippingService/events/DeliveryFailed/examples/damaged-in-transit.json +0 -33
- package/templates/default/domains/Orders/services/ShippingService/events/DeliveryFailed/examples/examples.config.yaml +0 -23
- package/templates/default/domains/Orders/services/ShippingService/events/DeliveryFailed/index.mdx +0 -22
- package/templates/default/domains/Orders/services/ShippingService/events/DeliveryFailed/schema.json +0 -17
- package/templates/default/domains/Orders/services/ShippingService/events/ReturnInitiated/examples/defective-item.json +0 -33
- package/templates/default/domains/Orders/services/ShippingService/events/ReturnInitiated/examples/examples.config.yaml +0 -15
- package/templates/default/domains/Orders/services/ShippingService/events/ReturnInitiated/examples/wrong-item.json +0 -51
- package/templates/default/domains/Orders/services/ShippingService/events/ReturnInitiated/index.mdx +0 -22
- package/templates/default/domains/Orders/services/ShippingService/events/ReturnInitiated/schema.json +0 -17
- package/templates/default/domains/Orders/services/ShippingService/events/ShipmentCreated/examples/examples.config.yaml +0 -15
- package/templates/default/domains/Orders/services/ShippingService/events/ShipmentCreated/examples/multi-package.json +0 -76
- package/templates/default/domains/Orders/services/ShippingService/events/ShipmentCreated/examples/single-package.json +0 -51
- package/templates/default/domains/Orders/services/ShippingService/events/ShipmentCreated/index.mdx +0 -22
- package/templates/default/domains/Orders/services/ShippingService/events/ShipmentCreated/schema.json +0 -64
- package/templates/default/domains/Orders/services/ShippingService/events/ShipmentDelivered/examples/examples.config.yaml +0 -15
- package/templates/default/domains/Orders/services/ShippingService/events/ShipmentDelivered/examples/front-door-delivery.json +0 -30
- package/templates/default/domains/Orders/services/ShippingService/events/ShipmentDelivered/examples/signed-delivery.json +0 -31
- package/templates/default/domains/Orders/services/ShippingService/events/ShipmentDelivered/index.mdx +0 -22
- package/templates/default/domains/Orders/services/ShippingService/events/ShipmentDelivered/schema.json +0 -17
- package/templates/default/domains/Orders/services/ShippingService/events/ShipmentDispatched/examples/examples.config.yaml +0 -15
- package/templates/default/domains/Orders/services/ShippingService/events/ShipmentDispatched/examples/express-shipping.json +0 -33
- package/templates/default/domains/Orders/services/ShippingService/events/ShipmentDispatched/examples/standard-shipping.json +0 -32
- package/templates/default/domains/Orders/services/ShippingService/events/ShipmentDispatched/index.mdx +0 -22
- package/templates/default/domains/Orders/services/ShippingService/events/ShipmentDispatched/schema.json +0 -17
- package/templates/default/domains/Orders/services/ShippingService/events/ShipmentInTransit/examples/domestic-transit.json +0 -48
- package/templates/default/domains/Orders/services/ShippingService/events/ShipmentInTransit/examples/examples.config.yaml +0 -15
- package/templates/default/domains/Orders/services/ShippingService/events/ShipmentInTransit/examples/international-transit.json +0 -61
- package/templates/default/domains/Orders/services/ShippingService/events/ShipmentInTransit/index.mdx +0 -22
- package/templates/default/domains/Orders/services/ShippingService/events/ShipmentInTransit/schema.json +0 -17
- package/templates/default/domains/Orders/services/ShippingService/index.mdx +0 -61
- package/templates/default/domains/Orders/ubiquitous-language.mdx +0 -127
- package/templates/default/domains/Orders/versioned/0.0.1/index.mdx +0 -21
- package/templates/default/domains/Orders/versioned/0.0.2/index.mdx +0 -50
- package/templates/default/domains/Payment/entities/Address/index.mdx +0 -165
- package/templates/default/domains/Payment/entities/Invoice/index.mdx +0 -92
- package/templates/default/domains/Payment/entities/Payment/index.mdx +0 -140
- package/templates/default/domains/Payment/entities/PaymentMethod/index.mdx +0 -80
- package/templates/default/domains/Payment/entities/Transaction/index.mdx +0 -80
- package/templates/default/domains/Payment/flows/PaymentProcessed/index.mdx +0 -82
- package/templates/default/domains/Payment/index.mdx +0 -40
- package/templates/default/domains/Payment/services/FraudDetectionService/events/FraudCheckCompleted/examples/check-flagged.json +0 -50
- package/templates/default/domains/Payment/services/FraudDetectionService/events/FraudCheckCompleted/examples/check-passed.json +0 -45
- package/templates/default/domains/Payment/services/FraudDetectionService/events/FraudCheckCompleted/examples/examples.config.yaml +0 -15
- package/templates/default/domains/Payment/services/FraudDetectionService/events/FraudCheckCompleted/index.mdx +0 -50
- package/templates/default/domains/Payment/services/FraudDetectionService/events/FraudCheckCompleted/schema.json +0 -44
- package/templates/default/domains/Payment/services/FraudDetectionService/index.mdx +0 -62
- package/templates/default/domains/Payment/services/PaymentGatewayService/commands/ProcessPayment/index.mdx +0 -75
- package/templates/default/domains/Payment/services/PaymentGatewayService/commands/ProcessPayment/schema.json +0 -58
- package/templates/default/domains/Payment/services/PaymentGatewayService/events/PaymentFailed/examples/card-declined.json +0 -38
- package/templates/default/domains/Payment/services/PaymentGatewayService/events/PaymentFailed/examples/examples.config.yaml +0 -23
- package/templates/default/domains/Payment/services/PaymentGatewayService/events/PaymentFailed/examples/expired-card.json +0 -38
- package/templates/default/domains/Payment/services/PaymentGatewayService/events/PaymentFailed/examples/insufficient-funds.json +0 -38
- package/templates/default/domains/Payment/services/PaymentGatewayService/events/PaymentFailed/index.mdx +0 -64
- package/templates/default/domains/Payment/services/PaymentGatewayService/events/PaymentFailed/schema.json +0 -68
- package/templates/default/domains/Payment/services/PaymentGatewayService/index.mdx +0 -71
- package/templates/default/domains/Payment/services/PaymentService/events/PaymentInitiated/examples/examples.config.yaml +0 -15
- package/templates/default/domains/Payment/services/PaymentService/events/PaymentInitiated/examples/express-checkout.json +0 -45
- package/templates/default/domains/Payment/services/PaymentService/events/PaymentInitiated/examples/standard-checkout.json +0 -52
- package/templates/default/domains/Payment/services/PaymentService/events/PaymentInitiated/index.mdx +0 -37
- package/templates/default/domains/Payment/services/PaymentService/events/PaymentInitiated/schema.json +0 -31
- package/templates/default/domains/Payment/services/PaymentService/events/PaymentProcessed/examples/examples.config.yaml +0 -15
- package/templates/default/domains/Payment/services/PaymentService/events/PaymentProcessed/examples/international-payment.json +0 -48
- package/templates/default/domains/Payment/services/PaymentService/events/PaymentProcessed/examples/successful-payment.json +0 -48
- package/templates/default/domains/Payment/services/PaymentService/events/PaymentProcessed/index.mdx +0 -43
- package/templates/default/domains/Payment/services/PaymentService/events/PaymentProcessed/schema.json +0 -54
- package/templates/default/domains/Payment/services/PaymentService/events/PaymentProcessed/versioned/0.0.1/index.mdx +0 -43
- package/templates/default/domains/Payment/services/PaymentService/events/PaymentProcessed/versioned/0.0.1/schema.json +0 -54
- package/templates/default/domains/Payment/services/PaymentService/index.mdx +0 -41
- package/templates/default/domains/Payment/services/PaymentService/queries/GetPaymentStatus/index.mdx +0 -26
- package/templates/default/domains/Payment/services/PaymentService/queries/GetPaymentStatus/schema.json +0 -39
- package/templates/default/domains/Payment/ubiquitous-language.mdx +0 -96
- package/templates/default/domains/ProductCatalog/entities/Category/index.mdx +0 -127
- package/templates/default/domains/ProductCatalog/entities/Inventory/index.mdx +0 -119
- package/templates/default/domains/ProductCatalog/entities/Product/index.mdx +0 -118
- package/templates/default/domains/ProductCatalog/entities/Review/index.mdx +0 -157
- package/templates/default/domains/ProductCatalog/index.mdx +0 -73
- package/templates/default/domains/ProductCatalog/ubiquitous-language.mdx +0 -88
- package/templates/default/domains/Subscriptions/entities/BillingProfile/index.mdx +0 -71
- package/templates/default/domains/Subscriptions/entities/SubscriptionPeriod/index.mdx +0 -76
- package/templates/default/domains/Subscriptions/flows/CancelSubscription/SubscriptionRenewed/index.mdx +0 -300
- package/templates/default/domains/Subscriptions/flows/CancelSubscription/index.mdx +0 -69
- package/templates/default/domains/Subscriptions/flows/CancelSubscription/versioned/0.0.1/index.mdx +0 -51
- package/templates/default/domains/Subscriptions/index.mdx +0 -35
- package/templates/default/domains/Subscriptions/services/BillingService/events/SubscriptionPaymentDue/examples/examples.config.yaml +0 -7
- package/templates/default/domains/Subscriptions/services/BillingService/events/SubscriptionPaymentDue/examples/upcoming-renewal.json +0 -28
- package/templates/default/domains/Subscriptions/services/BillingService/events/SubscriptionPaymentDue/index.mdx +0 -63
- package/templates/default/domains/Subscriptions/services/BillingService/events/SubscriptionPaymentDue/schema.json +0 -54
- package/templates/default/domains/Subscriptions/services/BillingService/index.mdx +0 -83
- package/templates/default/domains/Subscriptions/services/PlanManagementService/index.mdx +0 -83
- package/templates/default/domains/Subscriptions/services/SubscriptionService/commands/CancelSubscription/index.mdx +0 -26
- package/templates/default/domains/Subscriptions/services/SubscriptionService/commands/CancelSubscription/schema.json +0 -30
- package/templates/default/domains/Subscriptions/services/SubscriptionService/commands/SubscribeUser/index.mdx +0 -26
- package/templates/default/domains/Subscriptions/services/SubscriptionService/commands/SubscribeUser/schema.json +0 -31
- package/templates/default/domains/Subscriptions/services/SubscriptionService/events/UserSubscriptionCancelled/examples/examples.config.yaml +0 -15
- package/templates/default/domains/Subscriptions/services/SubscriptionService/events/UserSubscriptionCancelled/examples/payment-failure.json +0 -25
- package/templates/default/domains/Subscriptions/services/SubscriptionService/events/UserSubscriptionCancelled/examples/voluntary-cancellation.json +0 -23
- package/templates/default/domains/Subscriptions/services/SubscriptionService/events/UserSubscriptionCancelled/index.mdx +0 -26
- package/templates/default/domains/Subscriptions/services/SubscriptionService/events/UserSubscriptionCancelled/schema.json +0 -35
- package/templates/default/domains/Subscriptions/services/SubscriptionService/events/UserSubscriptionStarted/examples/annual-plan.json +0 -26
- package/templates/default/domains/Subscriptions/services/SubscriptionService/events/UserSubscriptionStarted/examples/examples.config.yaml +0 -15
- package/templates/default/domains/Subscriptions/services/SubscriptionService/events/UserSubscriptionStarted/examples/monthly-plan.json +0 -25
- package/templates/default/domains/Subscriptions/services/SubscriptionService/events/UserSubscriptionStarted/index.mdx +0 -26
- package/templates/default/domains/Subscriptions/services/SubscriptionService/events/UserSubscriptionStarted/schema.json +0 -36
- package/templates/default/domains/Subscriptions/services/SubscriptionService/index.mdx +0 -62
- package/templates/default/domains/Subscriptions/services/SubscriptionService/queries/GetSubscriptionStatus/index.mdx +0 -26
- package/templates/default/domains/Subscriptions/services/SubscriptionService/queries/GetSubscriptionStatus/schema.json +0 -54
- package/templates/default/domains/Subscriptions/services/SubscriptionService/queries/GetSubscriptionStatus/versioned/0.0.1/index.mdx +0 -26
- package/templates/default/domains/Subscriptions/services/SubscriptionService/queries/GetSubscriptionStatus/versioned/0.0.1/schema.json +0 -54
- package/templates/default/domains/Subscriptions/ubiquitous-language.mdx +0 -129
- package/templates/default/teams/full-stack.mdx +0 -26
- package/templates/default/teams/mobile-devs.mdx +0 -23
- package/templates/default/users/aSmith.mdx +0 -27
- package/templates/default/users/mSmith.mdx +0 -9
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: Inventory
|
|
3
|
-
name: Inventory
|
|
4
|
-
version: 1.0.0
|
|
5
|
-
identifier: inventoryId
|
|
6
|
-
summary: Tracks stock levels and availability for products.
|
|
7
|
-
owners:
|
|
8
|
-
- dboyne
|
|
9
|
-
properties:
|
|
10
|
-
- name: inventoryId
|
|
11
|
-
type: UUID
|
|
12
|
-
required: true
|
|
13
|
-
description: Unique identifier for the inventory record
|
|
14
|
-
- name: productId
|
|
15
|
-
type: UUID
|
|
16
|
-
required: true
|
|
17
|
-
description: Product this inventory record tracks
|
|
18
|
-
references: Product
|
|
19
|
-
referencesIdentifier: productId
|
|
20
|
-
relationType: hasOne
|
|
21
|
-
- name: sku
|
|
22
|
-
type: string
|
|
23
|
-
required: true
|
|
24
|
-
description: Stock Keeping Unit matching the product SKU
|
|
25
|
-
- name: quantityOnHand
|
|
26
|
-
type: integer
|
|
27
|
-
required: true
|
|
28
|
-
description: Current available stock quantity
|
|
29
|
-
- name: quantityReserved
|
|
30
|
-
type: integer
|
|
31
|
-
required: true
|
|
32
|
-
description: Quantity reserved for pending orders
|
|
33
|
-
- name: quantityAvailable
|
|
34
|
-
type: integer
|
|
35
|
-
required: true
|
|
36
|
-
description: Calculated available quantity (onHand - reserved)
|
|
37
|
-
- name: minimumStockLevel
|
|
38
|
-
type: integer
|
|
39
|
-
required: true
|
|
40
|
-
description: Minimum stock level before reorder alert
|
|
41
|
-
- name: maximumStockLevel
|
|
42
|
-
type: integer
|
|
43
|
-
required: false
|
|
44
|
-
description: Maximum stock level for inventory management
|
|
45
|
-
- name: reorderPoint
|
|
46
|
-
type: integer
|
|
47
|
-
required: true
|
|
48
|
-
description: Stock level that triggers reorder process
|
|
49
|
-
- name: reorderQuantity
|
|
50
|
-
type: integer
|
|
51
|
-
required: true
|
|
52
|
-
description: Quantity to order when restocking
|
|
53
|
-
- name: unitCost
|
|
54
|
-
type: decimal
|
|
55
|
-
required: false
|
|
56
|
-
description: Cost per unit for inventory valuation
|
|
57
|
-
- name: warehouseLocation
|
|
58
|
-
type: string
|
|
59
|
-
required: false
|
|
60
|
-
description: Physical location or bin where item is stored
|
|
61
|
-
- name: lastRestockedAt
|
|
62
|
-
type: DateTime
|
|
63
|
-
required: false
|
|
64
|
-
description: Date and time of last restock
|
|
65
|
-
- name: lastSoldAt
|
|
66
|
-
type: DateTime
|
|
67
|
-
required: false
|
|
68
|
-
description: Date and time of last sale
|
|
69
|
-
- name: isTrackingEnabled
|
|
70
|
-
type: boolean
|
|
71
|
-
required: true
|
|
72
|
-
description: Whether inventory tracking is enabled for this product
|
|
73
|
-
- name: backorderAllowed
|
|
74
|
-
type: boolean
|
|
75
|
-
required: true
|
|
76
|
-
description: Whether backorders are allowed when out of stock
|
|
77
|
-
- name: createdAt
|
|
78
|
-
type: DateTime
|
|
79
|
-
required: true
|
|
80
|
-
description: Date and time when the inventory record was created
|
|
81
|
-
- name: updatedAt
|
|
82
|
-
type: DateTime
|
|
83
|
-
required: false
|
|
84
|
-
description: Date and time when the inventory record was last updated
|
|
85
|
-
---
|
|
86
|
-
|
|
87
|
-
## Overview
|
|
88
|
-
|
|
89
|
-
The Inventory entity manages stock levels and availability for products in the e-commerce system. It tracks current quantities, reserved stock, and provides reorder management capabilities.
|
|
90
|
-
|
|
91
|
-
### Entity Properties
|
|
92
|
-
|
|
93
|
-
<EntityPropertiesTable />
|
|
94
|
-
|
|
95
|
-
## Relationships
|
|
96
|
-
|
|
97
|
-
- **Product:** Each inventory record belongs to one `Product` (identified by `productId`).
|
|
98
|
-
- **OrderItem:** Inventory quantities are affected by `OrderItem` entities when orders are placed.
|
|
99
|
-
|
|
100
|
-
## Stock Calculations
|
|
101
|
-
|
|
102
|
-
- **Available Quantity** = Quantity On Hand - Quantity Reserved
|
|
103
|
-
- **Reorder Needed** = Quantity Available <= Reorder Point
|
|
104
|
-
- **Stock Value** = Quantity On Hand × Unit Cost
|
|
105
|
-
|
|
106
|
-
## Examples
|
|
107
|
-
|
|
108
|
-
- **Inventory #1:** iPhone 15 Pro - 25 on hand, 5 reserved, 20 available, reorder at 10 units.
|
|
109
|
-
- **Inventory #2:** Running Shoes Size 9 - 0 on hand, 2 reserved, backorder allowed.
|
|
110
|
-
|
|
111
|
-
## Business Rules
|
|
112
|
-
|
|
113
|
-
- Quantity on hand cannot be negative
|
|
114
|
-
- Quantity reserved cannot exceed quantity on hand
|
|
115
|
-
- Available quantity is automatically calculated
|
|
116
|
-
- Reorder alerts are triggered when available = reorder point
|
|
117
|
-
- Stock reservations are created when orders are placed
|
|
118
|
-
- Stock is decremented when orders are shipped
|
|
119
|
-
- Inventory adjustments must be logged for audit trail
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: Product
|
|
3
|
-
name: Product
|
|
4
|
-
version: 1.0.0
|
|
5
|
-
identifier: productId
|
|
6
|
-
aggregateRoot: true
|
|
7
|
-
summary: Represents a product or service available for purchase in the e-commerce system.
|
|
8
|
-
owners:
|
|
9
|
-
- dboyne
|
|
10
|
-
properties:
|
|
11
|
-
- name: productId
|
|
12
|
-
type: UUID
|
|
13
|
-
required: true
|
|
14
|
-
description: Unique identifier for the product
|
|
15
|
-
- name: name
|
|
16
|
-
type: string
|
|
17
|
-
required: true
|
|
18
|
-
description: Name of the product
|
|
19
|
-
- name: description
|
|
20
|
-
type: string
|
|
21
|
-
required: false
|
|
22
|
-
description: Detailed description of the product
|
|
23
|
-
- name: sku
|
|
24
|
-
type: string
|
|
25
|
-
required: true
|
|
26
|
-
description: Stock Keeping Unit - unique product identifier
|
|
27
|
-
- name: price
|
|
28
|
-
type: decimal
|
|
29
|
-
required: true
|
|
30
|
-
description: Current selling price of the product
|
|
31
|
-
- name: categoryId
|
|
32
|
-
type: UUID
|
|
33
|
-
required: true
|
|
34
|
-
description: Category this product belongs to
|
|
35
|
-
references: Category
|
|
36
|
-
referencesIdentifier: categoryId
|
|
37
|
-
relationType: hasOne
|
|
38
|
-
- name: brand
|
|
39
|
-
type: string
|
|
40
|
-
required: false
|
|
41
|
-
description: Brand name of the product
|
|
42
|
-
- name: weight
|
|
43
|
-
type: decimal
|
|
44
|
-
required: false
|
|
45
|
-
description: Weight of the product in kilograms
|
|
46
|
-
- name: dimensions
|
|
47
|
-
type: object
|
|
48
|
-
required: false
|
|
49
|
-
description: Product dimensions (length, width, height)
|
|
50
|
-
properties:
|
|
51
|
-
- name: length
|
|
52
|
-
type: decimal
|
|
53
|
-
- name: width
|
|
54
|
-
type: decimal
|
|
55
|
-
- name: height
|
|
56
|
-
type: decimal
|
|
57
|
-
- name: isActive
|
|
58
|
-
type: boolean
|
|
59
|
-
required: true
|
|
60
|
-
description: Whether the product is currently available for sale
|
|
61
|
-
- name: createdAt
|
|
62
|
-
type: DateTime
|
|
63
|
-
required: true
|
|
64
|
-
description: Date and time when the product was created
|
|
65
|
-
- name: updatedAt
|
|
66
|
-
type: DateTime
|
|
67
|
-
required: false
|
|
68
|
-
description: Date and time when the product was last updated
|
|
69
|
-
- name: images
|
|
70
|
-
type: array
|
|
71
|
-
items:
|
|
72
|
-
type: string
|
|
73
|
-
required: false
|
|
74
|
-
description: URLs of product images
|
|
75
|
-
- name: inventory
|
|
76
|
-
type: Inventory
|
|
77
|
-
required: false
|
|
78
|
-
description: Inventory information for this product
|
|
79
|
-
references: Inventory
|
|
80
|
-
referencesIdentifier: productId
|
|
81
|
-
relationType: hasOne
|
|
82
|
-
- name: reviews
|
|
83
|
-
type: array
|
|
84
|
-
items:
|
|
85
|
-
type: Review
|
|
86
|
-
required: false
|
|
87
|
-
description: Customer reviews for this product
|
|
88
|
-
references: Review
|
|
89
|
-
referencesIdentifier: productId
|
|
90
|
-
relationType: hasMany
|
|
91
|
-
---
|
|
92
|
-
|
|
93
|
-
## Overview
|
|
94
|
-
|
|
95
|
-
The Product entity represents items or services available for purchase in the e-commerce system. It serves as an aggregate root containing all product-related information including pricing, categorization, inventory details, and customer reviews.
|
|
96
|
-
|
|
97
|
-
### Entity Properties
|
|
98
|
-
|
|
99
|
-
<EntityPropertiesTable />
|
|
100
|
-
|
|
101
|
-
## Relationships
|
|
102
|
-
|
|
103
|
-
- **Category:** Each product belongs to one `Category` (identified by `categoryId`).
|
|
104
|
-
- **Inventory:** Each product has one `Inventory` record tracking stock levels.
|
|
105
|
-
- **Review:** A product can have multiple `Review` entities from customers.
|
|
106
|
-
- **OrderItem:** Products are referenced in `OrderItem` entities when included in orders.
|
|
107
|
-
|
|
108
|
-
## Examples
|
|
109
|
-
|
|
110
|
-
- **Product #1:** "iPhone 15 Pro" - Electronics category, $999.99, with 50 units in stock and 4.5-star reviews.
|
|
111
|
-
- **Product #2:** "Running Shoes" - Sports category, $129.99, various sizes available, with detailed size chart.
|
|
112
|
-
|
|
113
|
-
## Business Rules
|
|
114
|
-
|
|
115
|
-
- Products must have a unique SKU across the entire catalog
|
|
116
|
-
- Products cannot be deleted if they have associated order items
|
|
117
|
-
- Price changes should be tracked for audit purposes
|
|
118
|
-
- Products must belong to an active category to be purchasable
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: Review
|
|
3
|
-
name: Review
|
|
4
|
-
version: 1.0.0
|
|
5
|
-
identifier: reviewId
|
|
6
|
-
summary: Represents customer reviews and ratings for products.
|
|
7
|
-
owners:
|
|
8
|
-
- dboyne
|
|
9
|
-
properties:
|
|
10
|
-
- name: reviewId
|
|
11
|
-
type: UUID
|
|
12
|
-
required: true
|
|
13
|
-
description: Unique identifier for the review
|
|
14
|
-
- name: productId
|
|
15
|
-
type: UUID
|
|
16
|
-
required: true
|
|
17
|
-
description: Product being reviewed
|
|
18
|
-
references: Product
|
|
19
|
-
referencesIdentifier: productId
|
|
20
|
-
relationType: hasOne
|
|
21
|
-
- name: customerId
|
|
22
|
-
type: UUID
|
|
23
|
-
required: true
|
|
24
|
-
description: Customer who wrote the review
|
|
25
|
-
references: Customer
|
|
26
|
-
referencesIdentifier: customerId
|
|
27
|
-
relationType: hasOne
|
|
28
|
-
- name: orderId
|
|
29
|
-
type: UUID
|
|
30
|
-
required: false
|
|
31
|
-
description: Order associated with this review (for verified purchases)
|
|
32
|
-
references: Order
|
|
33
|
-
referencesIdentifier: orderId
|
|
34
|
-
relationType: hasOne
|
|
35
|
-
- name: rating
|
|
36
|
-
type: integer
|
|
37
|
-
required: true
|
|
38
|
-
description: Rating given by customer (1-5 stars)
|
|
39
|
-
minimum: 1
|
|
40
|
-
maximum: 5
|
|
41
|
-
- name: title
|
|
42
|
-
type: string
|
|
43
|
-
required: false
|
|
44
|
-
description: Review title or headline
|
|
45
|
-
- name: content
|
|
46
|
-
type: string
|
|
47
|
-
required: true
|
|
48
|
-
description: Review content and comments
|
|
49
|
-
- name: isVerifiedPurchase
|
|
50
|
-
type: boolean
|
|
51
|
-
required: true
|
|
52
|
-
description: Whether this review is from a verified purchase
|
|
53
|
-
- name: isRecommended
|
|
54
|
-
type: boolean
|
|
55
|
-
required: false
|
|
56
|
-
description: Whether customer recommends this product
|
|
57
|
-
- name: helpfulVotes
|
|
58
|
-
type: integer
|
|
59
|
-
required: true
|
|
60
|
-
description: Number of helpful votes received
|
|
61
|
-
- name: totalVotes
|
|
62
|
-
type: integer
|
|
63
|
-
required: true
|
|
64
|
-
description: Total number of votes received
|
|
65
|
-
- name: status
|
|
66
|
-
type: string
|
|
67
|
-
required: true
|
|
68
|
-
description: Current review status
|
|
69
|
-
enum: ['pending', 'approved', 'rejected', 'flagged']
|
|
70
|
-
- name: moderationNotes
|
|
71
|
-
type: string
|
|
72
|
-
required: false
|
|
73
|
-
description: Internal moderation notes
|
|
74
|
-
- name: images
|
|
75
|
-
type: array
|
|
76
|
-
items:
|
|
77
|
-
type: string
|
|
78
|
-
required: false
|
|
79
|
-
description: URLs of images uploaded with the review
|
|
80
|
-
- name: pros
|
|
81
|
-
type: array
|
|
82
|
-
items:
|
|
83
|
-
type: string
|
|
84
|
-
required: false
|
|
85
|
-
description: List of positive aspects mentioned
|
|
86
|
-
- name: cons
|
|
87
|
-
type: array
|
|
88
|
-
items:
|
|
89
|
-
type: string
|
|
90
|
-
required: false
|
|
91
|
-
description: List of negative aspects mentioned
|
|
92
|
-
- name: merchantResponse
|
|
93
|
-
type: object
|
|
94
|
-
required: false
|
|
95
|
-
description: Response from merchant to this review
|
|
96
|
-
properties:
|
|
97
|
-
- name: content
|
|
98
|
-
type: string
|
|
99
|
-
description: Merchant response content
|
|
100
|
-
- name: respondedAt
|
|
101
|
-
type: DateTime
|
|
102
|
-
description: When merchant responded
|
|
103
|
-
- name: respondedBy
|
|
104
|
-
type: string
|
|
105
|
-
description: Who responded for the merchant
|
|
106
|
-
- name: createdAt
|
|
107
|
-
type: DateTime
|
|
108
|
-
required: true
|
|
109
|
-
description: Date and time when the review was created
|
|
110
|
-
- name: updatedAt
|
|
111
|
-
type: DateTime
|
|
112
|
-
required: false
|
|
113
|
-
description: Date and time when the review was last updated
|
|
114
|
-
- name: moderatedAt
|
|
115
|
-
type: DateTime
|
|
116
|
-
required: false
|
|
117
|
-
description: Date and time when the review was moderated
|
|
118
|
-
---
|
|
119
|
-
|
|
120
|
-
## Overview
|
|
121
|
-
|
|
122
|
-
The Review entity captures customer feedback and ratings for products. It supports verified purchase validation, content moderation, community voting, and merchant responses to build trust and provide valuable product insights.
|
|
123
|
-
|
|
124
|
-
### Entity Properties
|
|
125
|
-
|
|
126
|
-
<EntityPropertiesTable />
|
|
127
|
-
|
|
128
|
-
## Relationships
|
|
129
|
-
|
|
130
|
-
- **Product:** Each review belongs to one `Product` (identified by `productId`).
|
|
131
|
-
- **Customer:** Each review is written by one `Customer` (identified by `customerId`).
|
|
132
|
-
- **Order:** Each review can be linked to one `Order` for purchase verification (identified by `orderId`).
|
|
133
|
-
|
|
134
|
-
## Review Lifecycle
|
|
135
|
-
|
|
136
|
-
```
|
|
137
|
-
submitted → pending → approved → published
|
|
138
|
-
↓ ↓
|
|
139
|
-
rejected flagged
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
## Examples
|
|
143
|
-
|
|
144
|
-
- **Review #1:** 5-star review for iPhone 15 Pro, verified purchase, "Excellent camera quality!"
|
|
145
|
-
- **Review #2:** 3-star review for Running Shoes, helpful votes: 15/20, includes photos
|
|
146
|
-
- **Review #3:** 1-star review flagged for inappropriate content, pending moderation
|
|
147
|
-
|
|
148
|
-
## Business Rules
|
|
149
|
-
|
|
150
|
-
- Reviews can only be submitted by customers who purchased the product
|
|
151
|
-
- Rating must be between 1-5 stars
|
|
152
|
-
- Verified purchase reviews are given higher weight in calculations
|
|
153
|
-
- Inappropriate content is flagged and requires moderation
|
|
154
|
-
- Customers can only review the same product once per purchase
|
|
155
|
-
- Helpful votes help surface most valuable reviews
|
|
156
|
-
- Merchant responses are limited to one per review
|
|
157
|
-
- Reviews older than 2 years may have reduced weight in calculations
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: ProductCatalog
|
|
3
|
-
name: Product Catalog
|
|
4
|
-
version: 0.0.1
|
|
5
|
-
summary: Manages product information, categories, inventory, and customer reviews in the e-commerce system.
|
|
6
|
-
owners:
|
|
7
|
-
- dboyne
|
|
8
|
-
entities:
|
|
9
|
-
- id: Product
|
|
10
|
-
- id: Category
|
|
11
|
-
- id: Inventory
|
|
12
|
-
- id: Review
|
|
13
|
-
services:
|
|
14
|
-
- id: InventoryService
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
## Overview
|
|
18
|
-
|
|
19
|
-
The Product Catalog subdomain is responsible for managing all product-related information in the e-commerce system. This includes product details, hierarchical categorization, inventory tracking, and customer reviews.
|
|
20
|
-
|
|
21
|
-
### Architecture for the Product Catalog domain
|
|
22
|
-
|
|
23
|
-
<NodeGraph />
|
|
24
|
-
|
|
25
|
-
### Entity Map
|
|
26
|
-
|
|
27
|
-
A visualization of the entities in the Product Catalog domain. Here you can see the relationships between the entities and how they are used in the domain.
|
|
28
|
-
|
|
29
|
-
<EntityMap id="ProductCatalog" />
|
|
30
|
-
|
|
31
|
-
## Core Responsibilities
|
|
32
|
-
|
|
33
|
-
### Product Management
|
|
34
|
-
|
|
35
|
-
- Maintain product information including pricing, descriptions, and specifications
|
|
36
|
-
- Support product variants (size, color, style)
|
|
37
|
-
- Handle product lifecycle (active, discontinued, draft)
|
|
38
|
-
- Manage product relationships and cross-selling
|
|
39
|
-
|
|
40
|
-
### Category Management
|
|
41
|
-
|
|
42
|
-
- Organize products into hierarchical categories
|
|
43
|
-
- Support multi-level category structures
|
|
44
|
-
- Maintain category metadata and SEO information
|
|
45
|
-
- Handle category navigation and filtering
|
|
46
|
-
|
|
47
|
-
### Inventory Management
|
|
48
|
-
|
|
49
|
-
- Track stock levels and availability
|
|
50
|
-
- Manage reorder points and stock alerts
|
|
51
|
-
- Handle inventory reservations and allocations
|
|
52
|
-
- Support warehouse and location management
|
|
53
|
-
|
|
54
|
-
### Review Management
|
|
55
|
-
|
|
56
|
-
- Collect and manage customer product reviews
|
|
57
|
-
- Calculate review metrics and ratings
|
|
58
|
-
- Moderate review content
|
|
59
|
-
- Support review helpfulness and responses
|
|
60
|
-
|
|
61
|
-
## Key Entities
|
|
62
|
-
|
|
63
|
-
- **Product**: Central aggregate containing all product information
|
|
64
|
-
- **Category**: Hierarchical product categorization system
|
|
65
|
-
- **Inventory**: Stock tracking and availability management
|
|
66
|
-
- **Review**: Customer feedback and rating system
|
|
67
|
-
|
|
68
|
-
## Business Rules
|
|
69
|
-
|
|
70
|
-
- Products must belong to an active category
|
|
71
|
-
- Inventory levels affect product availability
|
|
72
|
-
- Reviews require verified purchases
|
|
73
|
-
- Category hierarchies have maximum depth limits
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
dictionary:
|
|
3
|
-
- id: Product
|
|
4
|
-
name: Product
|
|
5
|
-
summary: 'A distinct item available for sale, defined by its attributes, pricing, and descriptions.'
|
|
6
|
-
description: |
|
|
7
|
-
A product is the central aggregate in the Product Catalog domain. It contains all information needed to present and sell an item:
|
|
8
|
-
|
|
9
|
-
- Title, description, and images
|
|
10
|
-
- Pricing and currency information
|
|
11
|
-
- Attributes and specifications
|
|
12
|
-
- Availability status and lifecycle state (draft, active, discontinued)
|
|
13
|
-
|
|
14
|
-
Products may have multiple variants and belong to one or more categories.
|
|
15
|
-
icon: Package
|
|
16
|
-
- id: Category
|
|
17
|
-
name: Category
|
|
18
|
-
summary: 'A hierarchical grouping used to organize products for browsing and discovery.'
|
|
19
|
-
description: |
|
|
20
|
-
Categories form a tree structure that helps customers navigate the catalog. Key aspects include:
|
|
21
|
-
|
|
22
|
-
- Parent-child relationships for multi-level hierarchies
|
|
23
|
-
- Category metadata and SEO attributes
|
|
24
|
-
- Display ordering and featured status
|
|
25
|
-
- Maximum depth limits enforced by business rules
|
|
26
|
-
|
|
27
|
-
Products must belong to at least one active category.
|
|
28
|
-
icon: FolderTree
|
|
29
|
-
- id: Inventory
|
|
30
|
-
name: Inventory
|
|
31
|
-
summary: 'The tracked quantity of a product available for sale across warehouses and locations.'
|
|
32
|
-
description: |
|
|
33
|
-
Inventory represents the stock levels for each product or variant. It involves:
|
|
34
|
-
|
|
35
|
-
- Current stock quantities per location
|
|
36
|
-
- Reorder points and safety stock thresholds
|
|
37
|
-
- Reserved and allocated quantities
|
|
38
|
-
- Stock movement history and audit trails
|
|
39
|
-
|
|
40
|
-
Inventory levels directly affect product availability on the storefront.
|
|
41
|
-
icon: Warehouse
|
|
42
|
-
- id: Review
|
|
43
|
-
name: Review
|
|
44
|
-
summary: 'Customer feedback on a product, including a rating and optional written commentary.'
|
|
45
|
-
description: |
|
|
46
|
-
Reviews provide social proof and help customers make purchase decisions. Review management includes:
|
|
47
|
-
|
|
48
|
-
- Star ratings and written feedback
|
|
49
|
-
- Verified purchase validation
|
|
50
|
-
- Content moderation and approval workflows
|
|
51
|
-
- Helpfulness voting and seller responses
|
|
52
|
-
|
|
53
|
-
Reviews require a verified purchase before submission.
|
|
54
|
-
icon: Star
|
|
55
|
-
- id: SKU
|
|
56
|
-
name: SKU
|
|
57
|
-
summary: 'Stock Keeping Unit — a unique identifier assigned to each distinct product variant for inventory tracking.'
|
|
58
|
-
icon: Tag
|
|
59
|
-
- id: Variant
|
|
60
|
-
name: Variant
|
|
61
|
-
summary: 'A specific version of a product differentiated by attributes such as size, color, or material.'
|
|
62
|
-
description: |
|
|
63
|
-
Variants allow a single product to be offered in multiple configurations. Each variant has:
|
|
64
|
-
|
|
65
|
-
- Its own SKU and inventory levels
|
|
66
|
-
- Specific attribute values (e.g., size: Large, color: Blue)
|
|
67
|
-
- Optional price overrides
|
|
68
|
-
- Independent availability status
|
|
69
|
-
|
|
70
|
-
Variants share the parent product's core information but differ in selectable attributes.
|
|
71
|
-
icon: Layers
|
|
72
|
-
- id: Pricing
|
|
73
|
-
name: Pricing
|
|
74
|
-
summary: 'The monetary value assigned to a product or variant, including base price, sale price, and currency.'
|
|
75
|
-
icon: DollarSign
|
|
76
|
-
- id: Product Lifecycle
|
|
77
|
-
name: Product Lifecycle
|
|
78
|
-
summary: 'The stages a product moves through from creation to retirement: draft, active, and discontinued.'
|
|
79
|
-
icon: RefreshCw
|
|
80
|
-
- id: Attribute
|
|
81
|
-
name: Attribute
|
|
82
|
-
summary: 'A descriptive property of a product such as weight, dimensions, material, or brand.'
|
|
83
|
-
icon: ListChecks
|
|
84
|
-
- id: Cross-Sell
|
|
85
|
-
name: Cross-Sell
|
|
86
|
-
summary: 'A recommendation of related or complementary products to encourage additional purchases.'
|
|
87
|
-
icon: ArrowRightLeft
|
|
88
|
-
---
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: BillingProfile
|
|
3
|
-
name: BillingProfile
|
|
4
|
-
version: 1.0.0
|
|
5
|
-
identifier: billingProfileId
|
|
6
|
-
summary: Stores billing-related contact information and preferences for a customer, often used for invoices and communication.
|
|
7
|
-
owners:
|
|
8
|
-
- dboyne
|
|
9
|
-
|
|
10
|
-
properties:
|
|
11
|
-
- name: billingProfileId
|
|
12
|
-
type: UUID
|
|
13
|
-
required: true
|
|
14
|
-
description: Unique identifier for the billing profile.
|
|
15
|
-
- name: customerId
|
|
16
|
-
type: UUID
|
|
17
|
-
required: true
|
|
18
|
-
description: Identifier of the customer this billing profile belongs to.
|
|
19
|
-
references: Customer
|
|
20
|
-
referencesIdentifier: customerId
|
|
21
|
-
relationType: hasOne
|
|
22
|
-
- name: billingEmail
|
|
23
|
-
type: string
|
|
24
|
-
required: false # May default to customer's primary email
|
|
25
|
-
description: Specific email address for sending invoices and billing notifications
|
|
26
|
-
- name: companyName # Optional, for B2B
|
|
27
|
-
type: string
|
|
28
|
-
required: false
|
|
29
|
-
description: Company name for billing purposes.
|
|
30
|
-
- name: taxId # Optional, for B2B or specific regions
|
|
31
|
-
type: string
|
|
32
|
-
required: false
|
|
33
|
-
description: Tax identification number (e.g., VAT ID, EIN).
|
|
34
|
-
- name: billingAddressId
|
|
35
|
-
type: UUID
|
|
36
|
-
required: true
|
|
37
|
-
description: Identifier for the primary billing address associated with this profile.
|
|
38
|
-
- name: preferredPaymentMethodId # Optional default for invoices/subscriptions
|
|
39
|
-
type: UUID
|
|
40
|
-
required: false
|
|
41
|
-
description: Customer's preferred payment method for charges related to this profile.
|
|
42
|
-
- name: createdAt
|
|
43
|
-
type: DateTime
|
|
44
|
-
required: true
|
|
45
|
-
description: Timestamp when the billing profile was created.
|
|
46
|
-
- name: updatedAt
|
|
47
|
-
type: DateTime
|
|
48
|
-
required: true
|
|
49
|
-
description: Timestamp when the billing profile was last updated.
|
|
50
|
-
---
|
|
51
|
-
|
|
52
|
-
## Overview
|
|
53
|
-
|
|
54
|
-
The BillingProfile entity consolidates billing-specific details for a customer, such as the billing address, contact email for invoices, tax information, and potentially preferred payment methods. This might be distinct from the customer's general contact information or shipping addresses.
|
|
55
|
-
|
|
56
|
-
### Entity Properties
|
|
57
|
-
|
|
58
|
-
<EntityPropertiesTable />
|
|
59
|
-
|
|
60
|
-
## Relationships
|
|
61
|
-
|
|
62
|
-
- **Customer:** A billing profile belongs to one `Customer`. A customer might potentially have multiple profiles in complex scenarios, but often just one.
|
|
63
|
-
- **Address:** Linked to a primary billing `Address`.
|
|
64
|
-
- **PaymentMethod:** May specify a preferred `PaymentMethod`.
|
|
65
|
-
- **Invoice:** Invoices are typically generated using information from the BillingProfile.
|
|
66
|
-
- **Subscription:** Subscriptions may use the associated customer's BillingProfile for charging.
|
|
67
|
-
|
|
68
|
-
## Examples
|
|
69
|
-
|
|
70
|
-
- Jane Doe's personal billing profile with her home address and primary email.
|
|
71
|
-
- Acme Corp's billing profile with their HQ address, VAT ID, and accounts payable email address.
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: SubscriptionPeriod
|
|
3
|
-
name: SubscriptionPeriod
|
|
4
|
-
version: 1.0.0
|
|
5
|
-
identifier: subscriptionPeriodId
|
|
6
|
-
summary: Represents a single billing cycle or interval within a subscription's lifetime.
|
|
7
|
-
owners:
|
|
8
|
-
- dboyne
|
|
9
|
-
|
|
10
|
-
properties:
|
|
11
|
-
- name: subscriptionPeriodId
|
|
12
|
-
type: UUID
|
|
13
|
-
required: true
|
|
14
|
-
description: Unique identifier for this specific subscription period.
|
|
15
|
-
- name: subscriptionId
|
|
16
|
-
type: UUID
|
|
17
|
-
required: true
|
|
18
|
-
description: Identifier of the parent Subscription this period belongs to.
|
|
19
|
-
- name: planId # Denormalized for easier lookup?
|
|
20
|
-
type: UUID
|
|
21
|
-
required: true
|
|
22
|
-
description: Identifier of the Plan active during this period
|
|
23
|
-
- name: startDate
|
|
24
|
-
type: Date
|
|
25
|
-
required: true
|
|
26
|
-
description: The start date of this billing period.
|
|
27
|
-
- name: endDate
|
|
28
|
-
type: Date
|
|
29
|
-
required: true
|
|
30
|
-
description: The end date of this billing period.
|
|
31
|
-
- name: invoiceId # Optional, links to the invoice generated for this period
|
|
32
|
-
type: UUID
|
|
33
|
-
required: false
|
|
34
|
-
description: Identifier of the invoice created for this period's charge.
|
|
35
|
-
- name: paymentId # Optional, links to the payment made for this period's invoice
|
|
36
|
-
type: UUID
|
|
37
|
-
required: false
|
|
38
|
-
description: Identifier of the payment that settled the invoice for this period.
|
|
39
|
-
- name: status
|
|
40
|
-
type: string # (e.g., Active, Billed, Paid, Unpaid, PastDue)
|
|
41
|
-
required: true
|
|
42
|
-
description: Status specific to this period (reflects invoicing/payment state).
|
|
43
|
-
- name: amountBilled
|
|
44
|
-
type: decimal
|
|
45
|
-
required: false # May only be set once invoiced
|
|
46
|
-
description: The actual amount billed for this period (could differ from plan due to promotions, usage, etc.).
|
|
47
|
-
- name: currency
|
|
48
|
-
type: string # ISO 4217 code
|
|
49
|
-
required: false
|
|
50
|
-
description: Currency of the billed amount.
|
|
51
|
-
- name: createdAt
|
|
52
|
-
type: DateTime
|
|
53
|
-
required: true
|
|
54
|
-
description: Timestamp when this period record was created (often at the start of the period).
|
|
55
|
-
---
|
|
56
|
-
|
|
57
|
-
## Overview
|
|
58
|
-
|
|
59
|
-
The SubscriptionPeriod entity tracks the state and details of a specific billing cycle within a `Subscription`. It links the subscription to the relevant invoice and payment for that interval and records the exact dates and amount billed.
|
|
60
|
-
|
|
61
|
-
### Entity Properties
|
|
62
|
-
|
|
63
|
-
<EntityPropertiesTable />
|
|
64
|
-
|
|
65
|
-
## Relationships
|
|
66
|
-
|
|
67
|
-
- **Subscription:** A subscription period belongs to one `Subscription`.
|
|
68
|
-
- **Plan:** Reflects the `Plan` active during this period.
|
|
69
|
-
- **Invoice:** May be associated with one `Invoice` generated for this period.
|
|
70
|
-
- **Payment:** May be associated with one `Payment` that settled the period's invoice.
|
|
71
|
-
|
|
72
|
-
## Examples
|
|
73
|
-
|
|
74
|
-
- Period for Jane Doe's 'Pro Plan' from 2024-05-01 to 2024-05-31, invoiced via #INV-00123, status Paid.
|
|
75
|
-
- Period for Acme Corp's 'Enterprise Plan' from 2024-04-15 to 2024-05-14, status Billed, awaiting payment.
|
|
76
|
-
- The first period (trial) for a new subscription from 2024-05-20 to 2024-06-19, status Active, amountBilled $0.00.
|