@mercurjs/core 2.2.0-canary.3 → 2.2.0-canary.7
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/.medusa/server/src/api/admin/middlewares.js +9 -13
- package/.medusa/server/src/api/admin/offers/query-config.js +8 -8
- package/.medusa/server/src/api/admin/product-attributes/[id]/route.js +3 -3
- package/.medusa/server/src/api/admin/product-attributes/[id]/values/[value_id]/route.js +3 -3
- package/.medusa/server/src/api/admin/product-attributes/[id]/values/route.js +2 -2
- package/.medusa/server/src/api/admin/product-attributes/middlewares.js +15 -1
- package/.medusa/server/src/api/admin/product-attributes/query-config.js +1 -2
- package/.medusa/server/src/api/admin/product-attributes/route.js +6 -3
- package/.medusa/server/src/api/admin/product-attributes/validators.d.ts +1 -5
- package/.medusa/server/src/api/admin/product-attributes/validators.js +2 -15
- package/.medusa/server/src/api/admin/product-categories/[id]/products/route.js +3 -3
- package/.medusa/server/src/api/admin/product-categories/[id]/route.js +8 -7
- package/.medusa/server/src/api/admin/product-categories/query-config.js +1 -2
- package/.medusa/server/src/api/admin/product-categories/route.js +4 -4
- package/.medusa/server/src/api/admin/product-categories/validators.d.ts +8 -8
- package/.medusa/server/src/api/admin/product-changes/[id]/cancel/route.js +5 -6
- package/.medusa/server/src/api/admin/product-changes/[id]/confirm/route.js +5 -5
- package/.medusa/server/src/api/admin/products/[id]/attributes/[attribute_id]/route.d.ts +1 -4
- package/.medusa/server/src/api/admin/products/[id]/attributes/[attribute_id]/route.js +42 -30
- package/.medusa/server/src/api/admin/products/[id]/attributes/batch/route.d.ts +3 -2
- package/.medusa/server/src/api/admin/products/[id]/attributes/batch/route.js +11 -22
- package/.medusa/server/src/api/admin/products/[id]/attributes/route.d.ts +2 -3
- package/.medusa/server/src/api/admin/products/[id]/attributes/route.js +40 -25
- package/.medusa/server/src/api/admin/products/[id]/confirm/route.d.ts +12 -0
- package/.medusa/server/src/api/admin/products/[id]/confirm/route.js +16 -6
- package/.medusa/server/src/api/admin/products/[id]/preview/route.d.ts +8 -1
- package/.medusa/server/src/api/admin/products/[id]/preview/route.js +20 -7
- package/.medusa/server/src/api/admin/products/[id]/reject/route.d.ts +8 -0
- package/.medusa/server/src/api/admin/products/[id]/reject/route.js +13 -8
- package/.medusa/server/src/api/admin/products/[id]/request-changes/route.d.ts +9 -0
- package/.medusa/server/src/api/admin/products/[id]/request-changes/route.js +16 -10
- package/.medusa/server/src/api/admin/products/[id]/route.js +6 -6
- package/.medusa/server/src/api/admin/products/[id]/variants/[variant_id]/route.js +5 -5
- package/.medusa/server/src/api/admin/products/[id]/variants/route.js +22 -4
- package/.medusa/server/src/api/admin/products/middlewares.js +8 -4
- package/.medusa/server/src/api/admin/products/query-config.js +12 -18
- package/.medusa/server/src/api/admin/products/route.js +4 -9
- package/.medusa/server/src/api/admin/products/validators.d.ts +1040 -214
- package/.medusa/server/src/api/admin/products/validators.js +108 -16
- package/.medusa/server/src/api/store/carts/[id]/line-items/route.js +11 -5
- package/.medusa/server/src/api/store/carts/[id]/line-items/validators.d.ts +3 -3
- package/.medusa/server/src/api/store/carts/[id]/line-items/validators.js +2 -2
- package/.medusa/server/src/api/store/middlewares.js +7 -9
- package/.medusa/server/src/api/store/products/[id]/route.js +3 -18
- package/.medusa/server/src/api/store/products/middlewares.js +1 -7
- package/.medusa/server/src/api/store/products/query-config.d.ts +1 -3
- package/.medusa/server/src/api/store/products/query-config.js +14 -17
- package/.medusa/server/src/api/store/products/route.js +3 -19
- package/.medusa/server/src/api/store/products/validators.d.ts +0 -6
- package/.medusa/server/src/api/store/products/validators.js +1 -2
- package/.medusa/server/src/api/utils/filter-attributes-by-category-link.d.ts +17 -0
- package/.medusa/server/src/api/utils/filter-attributes-by-category-link.js +58 -0
- package/.medusa/server/src/api/utils/format-product-attributes.d.ts +51 -5
- package/.medusa/server/src/api/utils/format-product-attributes.js +174 -31
- package/.medusa/server/src/api/utils/index.d.ts +1 -0
- package/.medusa/server/src/api/utils/index.js +2 -1
- package/.medusa/server/src/api/vendor/middlewares.js +7 -11
- package/.medusa/server/src/api/vendor/offers/query-config.js +8 -8
- package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/[fulfillment_id]/cancel/route.js +3 -3
- package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/route.js +3 -3
- package/.medusa/server/src/api/vendor/product-attributes/middlewares.js +15 -1
- package/.medusa/server/src/api/vendor/product-attributes/route.js +4 -1
- package/.medusa/server/src/api/vendor/product-attributes/validators.d.ts +1 -5
- package/.medusa/server/src/api/vendor/product-attributes/validators.js +2 -15
- package/.medusa/server/src/api/vendor/product-categories/query-config.js +1 -2
- package/.medusa/server/src/api/vendor/product-categories/validators.d.ts +4 -4
- package/.medusa/server/src/api/vendor/products/[id]/attributes/[attribute_id]/route.d.ts +6 -5
- package/.medusa/server/src/api/vendor/products/[id]/attributes/[attribute_id]/route.js +41 -16
- package/.medusa/server/src/api/vendor/products/[id]/attributes/route.d.ts +10 -6
- package/.medusa/server/src/api/vendor/products/[id]/attributes/route.js +60 -25
- package/.medusa/server/src/api/vendor/products/[id]/cancel/route.d.ts +5 -7
- package/.medusa/server/src/api/vendor/products/[id]/cancel/route.js +14 -15
- package/.medusa/server/src/api/vendor/products/[id]/route.d.ts +18 -9
- package/.medusa/server/src/api/vendor/products/[id]/route.js +35 -16
- package/.medusa/server/src/api/vendor/products/[id]/variants/[variant_id]/route.d.ts +11 -9
- package/.medusa/server/src/api/vendor/products/[id]/variants/[variant_id]/route.js +43 -21
- package/.medusa/server/src/api/vendor/products/[id]/variants/route.d.ts +9 -5
- package/.medusa/server/src/api/vendor/products/[id]/variants/route.js +30 -10
- package/.medusa/server/src/api/vendor/products/helpers.d.ts +8 -0
- package/.medusa/server/src/api/vendor/products/helpers.js +26 -0
- package/.medusa/server/src/api/vendor/products/middlewares.js +17 -5
- package/.medusa/server/src/api/vendor/products/query-config.js +12 -17
- package/.medusa/server/src/api/vendor/products/route.d.ts +11 -1
- package/.medusa/server/src/api/vendor/products/route.js +25 -12
- package/.medusa/server/src/api/vendor/products/validators.d.ts +292 -58
- package/.medusa/server/src/api/vendor/products/validators.js +78 -14
- package/.medusa/server/src/api/vendor/returns/[id]/receive/confirm/route.js +3 -3
- package/.medusa/server/src/links/category-seller-link.js +2 -2
- package/.medusa/server/src/links/offer-price-link.js +13 -0
- package/.medusa/server/src/links/offer-variant-link.js +2 -2
- package/.medusa/server/src/links/product-attribute-category-link.d.ts +16 -0
- package/.medusa/server/src/links/product-attribute-category-link.js +40 -0
- package/.medusa/server/src/links/product-attribute-product-link.d.ts +10 -0
- package/.medusa/server/src/links/product-attribute-product-link.js +29 -0
- package/.medusa/server/src/links/product-attribute-value-link.d.ts +22 -0
- package/.medusa/server/src/links/product-attribute-value-link.js +46 -0
- package/.medusa/server/src/links/product-change-link.d.ts +8 -0
- package/.medusa/server/src/links/product-change-link.js +27 -0
- package/.medusa/server/src/links/product-seller-link.js +2 -2
- package/.medusa/server/src/links/product-variant-attribute-link.js +21 -0
- package/.medusa/server/src/links/product-variant-attribute-value-link.d.ts +2 -0
- package/.medusa/server/src/links/product-variant-attribute-value-link.js +21 -0
- package/.medusa/server/src/modules/{product/migrations/Migration20260414141012.d.ts → offer/migrations/Migration20260526000000.d.ts} +1 -1
- package/.medusa/server/src/modules/offer/migrations/Migration20260526000000.js +16 -0
- package/.medusa/server/src/modules/offer/models/offer.d.ts +0 -1
- package/.medusa/server/src/modules/offer/models/offer.js +1 -7
- package/.medusa/server/src/modules/offer/service.d.ts +0 -1
- package/.medusa/server/src/modules/product-attribute/index.d.ts +36 -0
- package/.medusa/server/src/modules/product-attribute/index.js +14 -0
- package/.medusa/server/src/modules/product-attribute/joiner-config.d.ts +1 -0
- package/.medusa/server/src/modules/product-attribute/joiner-config.js +17 -0
- package/.medusa/server/src/modules/{product/migrations/Migration20260415151424.d.ts → product-attribute/migrations/Migration20260601000000.d.ts} +1 -1
- package/.medusa/server/src/modules/product-attribute/migrations/Migration20260601000000.js +62 -0
- package/.medusa/server/src/modules/product-attribute/migrations/Migration20260601000001.d.ts +11 -0
- package/.medusa/server/src/modules/product-attribute/migrations/Migration20260601000001.js +29 -0
- package/.medusa/server/src/modules/product-attribute/models/index.d.ts +2 -0
- package/.medusa/server/src/modules/product-attribute/models/index.js +11 -0
- package/.medusa/server/src/modules/product-attribute/models/product-attribute-value.d.ts +25 -0
- package/.medusa/server/src/modules/product-attribute/models/product-attribute-value.js +29 -0
- package/.medusa/server/src/modules/product-attribute/models/product-attribute.d.ts +26 -0
- package/.medusa/server/src/modules/product-attribute/models/product-attribute.js +53 -0
- package/.medusa/server/src/modules/product-attribute/service.d.ts +55 -0
- package/.medusa/server/src/modules/product-attribute/service.js +15 -0
- package/.medusa/server/src/modules/product-edit/index.d.ts +36 -0
- package/.medusa/server/src/modules/{subscription → product-edit}/index.js +4 -2
- package/.medusa/server/src/modules/product-edit/joiner-config.d.ts +1 -0
- package/.medusa/server/src/modules/product-edit/joiner-config.js +17 -0
- package/.medusa/server/src/modules/{product/migrations/Migration20260416104248.d.ts → product-edit/migrations/Migration20260601130000.d.ts} +1 -1
- package/.medusa/server/src/modules/product-edit/migrations/Migration20260601130000.js +78 -0
- package/.medusa/server/src/modules/product-edit/models/index.d.ts +2 -0
- package/.medusa/server/src/modules/product-edit/models/index.js +11 -0
- package/.medusa/server/src/modules/product-edit/models/product-change-action.d.ts +49 -0
- package/.medusa/server/src/modules/{product → product-edit}/models/product-change-action.js +1 -1
- package/.medusa/server/src/modules/product-edit/models/product-change.d.ts +31 -0
- package/.medusa/server/src/modules/product-edit/models/product-change.js +52 -0
- package/.medusa/server/src/modules/product-edit/service.d.ts +84 -0
- package/.medusa/server/src/modules/product-edit/service.js +15 -0
- package/.medusa/server/src/types/cart-line-item.d.ts +0 -9
- package/.medusa/server/src/with-mercur.js +1 -6
- package/.medusa/server/src/workflows/cart/hooks/before-refreshing-payment-collection.js +36 -0
- package/.medusa/server/src/workflows/cart/hooks/index.d.ts +3 -2
- package/.medusa/server/src/workflows/cart/hooks/index.js +4 -3
- package/.medusa/server/src/workflows/cart/hooks/set-pricing-context.js +94 -0
- package/.medusa/server/src/workflows/cart/hooks/validate.d.ts +1 -0
- package/.medusa/server/src/workflows/cart/hooks/validate.js +107 -0
- package/.medusa/server/src/workflows/cart/steps/index.d.ts +0 -3
- package/.medusa/server/src/workflows/cart/steps/index.js +1 -4
- package/.medusa/server/src/workflows/cart/utils/fields.js +1 -2
- package/.medusa/server/src/workflows/cart/workflows/index.d.ts +0 -2
- package/.medusa/server/src/workflows/cart/workflows/index.js +1 -3
- package/.medusa/server/src/workflows/index.d.ts +1 -1
- package/.medusa/server/src/workflows/index.js +2 -2
- package/.medusa/server/src/workflows/offer/steps/add-offer-prices.d.ts +22 -0
- package/.medusa/server/src/workflows/offer/steps/add-offer-prices.js +64 -0
- package/.medusa/server/src/workflows/offer/steps/create-offers.d.ts +0 -1
- package/.medusa/server/src/workflows/offer/steps/delete-offers.d.ts +6 -1
- package/.medusa/server/src/workflows/offer/steps/delete-offers.js +10 -6
- package/.medusa/server/src/workflows/offer/steps/ensure-variant-price-sets.d.ts +15 -0
- package/.medusa/server/src/workflows/offer/steps/ensure-variant-price-sets.js +61 -0
- package/.medusa/server/src/workflows/offer/steps/index.d.ts +4 -1
- package/.medusa/server/src/workflows/offer/steps/index.js +5 -2
- package/.medusa/server/src/workflows/offer/steps/remove-offer-prices.d.ts +3 -0
- package/.medusa/server/src/workflows/offer/steps/remove-offer-prices.js +15 -0
- package/.medusa/server/src/workflows/offer/steps/update-offers.d.ts +0 -1
- package/.medusa/server/src/workflows/offer/utils/assert-offer-price-ownership.d.ts +17 -0
- package/.medusa/server/src/workflows/offer/utils/assert-offer-price-ownership.js +27 -0
- package/.medusa/server/src/workflows/offer/utils/index.d.ts +1 -0
- package/.medusa/server/src/workflows/offer/utils/index.js +2 -1
- package/.medusa/server/src/workflows/offer/workflows/batch-offer-inventory-items.d.ts +17 -31
- package/.medusa/server/src/workflows/offer/workflows/batch-offer-inventory-items.js +1 -1
- package/.medusa/server/src/workflows/offer/workflows/create-offers.d.ts +12 -111
- package/.medusa/server/src/workflows/offer/workflows/create-offers.js +98 -45
- package/.medusa/server/src/workflows/offer/workflows/delete-offers.js +2 -2
- package/.medusa/server/src/workflows/offer/workflows/update-offers.d.ts +21 -116
- package/.medusa/server/src/workflows/offer/workflows/update-offers.js +136 -20
- package/.medusa/server/src/workflows/order/workflows/cancel-order-fulfillment.d.ts +1 -1
- package/.medusa/server/src/workflows/order/workflows/cancel-order-fulfillment.js +3 -4
- package/.medusa/server/src/workflows/order/workflows/confirm-return-receive.d.ts +1 -1
- package/.medusa/server/src/workflows/order/workflows/confirm-return-receive.js +3 -4
- package/.medusa/server/src/workflows/order/workflows/create-order-fulfillment.d.ts +10 -33
- package/.medusa/server/src/workflows/order/workflows/create-order-fulfillment.js +3 -4
- package/.medusa/server/src/workflows/product/events.d.ts +5 -47
- package/.medusa/server/src/workflows/product/events.js +7 -49
- package/.medusa/server/src/workflows/product/index.d.ts +1 -1
- package/.medusa/server/src/workflows/product/index.js +2 -2
- package/.medusa/server/src/workflows/product/steps/index.d.ts +3 -28
- package/.medusa/server/src/workflows/product/steps/index.js +4 -29
- package/.medusa/server/src/workflows/product/steps/replace-product-attribute-value-links.d.ts +28 -0
- package/.medusa/server/src/workflows/product/steps/replace-product-attribute-value-links.js +72 -0
- package/.medusa/server/src/workflows/product/steps/resolve-attribute-refs.d.ts +90 -0
- package/.medusa/server/src/workflows/product/steps/resolve-attribute-refs.js +185 -0
- package/.medusa/server/src/workflows/product/steps/validate-products-status.d.ts +19 -0
- package/.medusa/server/src/workflows/product/steps/validate-products-status.js +28 -0
- package/.medusa/server/src/workflows/product/steps/validate-seller-product-permissions.d.ts +0 -1
- package/.medusa/server/src/workflows/product/steps/validate-seller-product-permissions.js +2 -21
- package/.medusa/server/src/workflows/product/workflows/confirm-products.d.ts +13 -1
- package/.medusa/server/src/workflows/product/workflows/confirm-products.js +41 -30
- package/.medusa/server/src/workflows/product/workflows/create-products.d.ts +59 -3
- package/.medusa/server/src/workflows/product/workflows/create-products.js +202 -16
- package/.medusa/server/src/workflows/product/workflows/index.d.ts +3 -26
- package/.medusa/server/src/workflows/product/workflows/index.js +4 -27
- package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product-category.d.ts +1 -1
- package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product-category.js +3 -4
- package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product.d.ts +1 -1
- package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product.js +3 -4
- package/.medusa/server/src/workflows/product/workflows/reject-product.d.ts +8 -1
- package/.medusa/server/src/workflows/product/workflows/reject-product.js +42 -38
- package/.medusa/server/src/workflows/product/workflows/request-product-change.d.ts +25 -0
- package/.medusa/server/src/workflows/product/workflows/request-product-change.js +69 -0
- package/.medusa/server/src/workflows/product/workflows/update-products.d.ts +39 -3
- package/.medusa/server/src/workflows/product/workflows/update-products.js +148 -10
- package/.medusa/server/src/workflows/product-attribute/events.d.ts +19 -0
- package/.medusa/server/src/workflows/product-attribute/events.js +23 -0
- package/.medusa/server/src/workflows/{subscription → product-attribute}/index.d.ts +1 -0
- package/.medusa/server/src/workflows/{subscription → product-attribute}/index.js +2 -1
- package/.medusa/server/src/workflows/product-attribute/steps/create-product-attribute-values.d.ts +37 -0
- package/.medusa/server/src/workflows/product-attribute/steps/create-product-attribute-values.js +18 -0
- package/.medusa/server/src/workflows/product-attribute/steps/create-product-attributes.d.ts +44 -0
- package/.medusa/server/src/workflows/product-attribute/steps/create-product-attributes.js +18 -0
- package/.medusa/server/src/workflows/{product → product-attribute}/steps/delete-product-attribute-values.d.ts +1 -0
- package/.medusa/server/src/workflows/product-attribute/steps/delete-product-attribute-values.js +18 -0
- package/.medusa/server/src/workflows/{product → product-attribute}/steps/delete-product-attributes.d.ts +1 -0
- package/.medusa/server/src/workflows/product-attribute/steps/delete-product-attributes.js +18 -0
- package/.medusa/server/src/workflows/product-attribute/steps/index.d.ts +10 -0
- package/.medusa/server/src/workflows/product-attribute/steps/index.js +27 -0
- package/.medusa/server/src/workflows/product-attribute/steps/update-product-attribute-values.d.ts +38 -0
- package/.medusa/server/src/workflows/product-attribute/steps/update-product-attribute-values.js +23 -0
- package/.medusa/server/src/workflows/product-attribute/steps/update-product-attributes.d.ts +38 -0
- package/.medusa/server/src/workflows/{product → product-attribute}/steps/update-product-attributes.js +7 -6
- package/.medusa/server/src/workflows/product-attribute/steps/upsert-product-attribute-values.d.ts +43 -0
- package/.medusa/server/src/workflows/product-attribute/steps/upsert-product-attribute-values.js +51 -0
- package/.medusa/server/src/workflows/product-attribute/steps/upsert-product-options-for-axis.d.ts +7 -0
- package/.medusa/server/src/workflows/product-attribute/steps/upsert-product-options-for-axis.js +59 -0
- package/.medusa/server/src/workflows/product-attribute/steps/validate-attribute-accepts-values.d.ts +6 -0
- package/.medusa/server/src/workflows/product-attribute/steps/validate-attribute-accepts-values.js +20 -0
- package/.medusa/server/src/workflows/product-attribute/steps/validate-product-attribute-input.d.ts +7 -0
- package/.medusa/server/src/workflows/product-attribute/steps/validate-product-attribute-input.js +20 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/add-product-attribute.d.ts +52 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/add-product-attribute.js +120 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/batch-product-attribute-values.d.ts +23 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/batch-product-attribute-values.js +252 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/create-product-attribute-values.d.ts +18 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/create-product-attribute-values.js +26 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/create-product-attributes.d.ts +19 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/create-product-attributes.js +64 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/delete-product-attribute-values.d.ts +16 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/delete-product-attribute-values.js +40 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/delete-product-attributes.d.ts +23 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/delete-product-attributes.js +31 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/detach-product-attribute.d.ts +17 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/detach-product-attribute.js +62 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/index.d.ts +12 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/index.js +29 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/materialize-product-attributes.d.ts +135 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/materialize-product-attributes.js +43 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/sync-product-attribute-options.d.ts +24 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/sync-product-attribute-options.js +27 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attribute-values.d.ts +18 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attribute-values.js +27 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attributes.d.ts +18 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attributes.js +27 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/upsert-product-attribute-values.d.ts +18 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/upsert-product-attribute-values.js +26 -0
- package/.medusa/server/src/workflows/product-edit/events.d.ts +13 -0
- package/.medusa/server/src/workflows/product-edit/events.js +17 -0
- package/.medusa/server/src/workflows/product-edit/index.d.ts +1 -0
- package/.medusa/server/src/workflows/product-edit/index.js +2 -1
- package/.medusa/server/src/workflows/product-edit/steps/add-product-change-action.d.ts +38 -0
- package/.medusa/server/src/workflows/product-edit/steps/add-product-change-action.js +18 -0
- package/.medusa/server/src/workflows/product-edit/steps/cancel-product-change.d.ts +38 -2
- package/.medusa/server/src/workflows/product-edit/steps/cancel-product-change.js +28 -10
- package/.medusa/server/src/workflows/product-edit/steps/confirm-product-change-validation.d.ts +15 -0
- package/.medusa/server/src/workflows/product-edit/steps/confirm-product-change-validation.js +25 -0
- package/.medusa/server/src/workflows/product-edit/steps/confirm-product-changes.d.ts +46 -3
- package/.medusa/server/src/workflows/product-edit/steps/confirm-product-changes.js +44 -7
- package/.medusa/server/src/workflows/product-edit/steps/create-product-change-actions.d.ts +41 -14
- package/.medusa/server/src/workflows/product-edit/steps/create-product-change-actions.js +20 -11
- package/.medusa/server/src/workflows/product-edit/steps/create-product-changes.d.ts +46 -16
- package/.medusa/server/src/workflows/product-edit/steps/create-product-changes.js +11 -18
- package/.medusa/server/src/workflows/product-edit/steps/decline-product-change.d.ts +44 -3
- package/.medusa/server/src/workflows/product-edit/steps/decline-product-change.js +37 -10
- package/.medusa/server/src/workflows/product-edit/steps/index.d.ts +5 -3
- package/.medusa/server/src/workflows/product-edit/steps/index.js +6 -4
- package/.medusa/server/src/workflows/product-edit/steps/update-product-change-actions.d.ts +49 -0
- package/.medusa/server/src/workflows/product-edit/steps/update-product-change-actions.js +34 -0
- package/.medusa/server/src/workflows/product-edit/steps/validate-no-pending-product-change.d.ts +7 -7
- package/.medusa/server/src/workflows/product-edit/steps/validate-no-pending-product-change.js +29 -13
- package/.medusa/server/src/workflows/product-edit/steps/validate-product-change-is-pending.d.ts +10 -0
- package/.medusa/server/src/workflows/product-edit/steps/validate-product-change-is-pending.js +14 -0
- package/.medusa/server/src/workflows/product-edit/workflows/apply-product-attribute-change-actions.d.ts +23 -0
- package/.medusa/server/src/workflows/product-edit/workflows/apply-product-attribute-change-actions.js +139 -0
- package/.medusa/server/src/workflows/product-edit/workflows/apply-product-change-actions.d.ts +38 -0
- package/.medusa/server/src/workflows/product-edit/workflows/apply-product-change-actions.js +191 -0
- package/.medusa/server/src/workflows/product-edit/workflows/auto-confirm-product-change.d.ts +14 -13
- package/.medusa/server/src/workflows/product-edit/workflows/auto-confirm-product-change.js +14 -22
- package/.medusa/server/src/workflows/product-edit/workflows/cancel-product-change.d.ts +17 -0
- package/.medusa/server/src/workflows/product-edit/workflows/cancel-product-change.js +35 -0
- package/.medusa/server/src/workflows/product-edit/workflows/confirm-product-change.d.ts +30 -0
- package/.medusa/server/src/workflows/product-edit/workflows/confirm-product-change.js +55 -0
- package/.medusa/server/src/workflows/product-edit/workflows/create-product-change.d.ts +17 -0
- package/.medusa/server/src/workflows/product-edit/workflows/create-product-change.js +26 -0
- package/.medusa/server/src/workflows/product-edit/workflows/index.d.ts +10 -8
- package/.medusa/server/src/workflows/product-edit/workflows/index.js +11 -9
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-delete-product.d.ts +14 -17
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-delete-product.js +21 -46
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-attributes.d.ts +55 -0
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-attributes.js +198 -0
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-fields.d.ts +22 -15
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-fields.js +126 -50
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-variants.d.ts +35 -0
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-variants.js +108 -0
- package/.medusa/server/src/workflows/product-edit/workflows/record-product-audit-change.d.ts +36 -0
- package/.medusa/server/src/workflows/product-edit/workflows/record-product-audit-change.js +53 -0
- package/.medusa/server/src/workflows/product-edit/workflows/reject-product-change.d.ts +18 -0
- package/.medusa/server/src/workflows/product-edit/workflows/reject-product-change.js +36 -0
- package/.medusa/server/src/workflows/product-edit/workflows/stage-product-change.d.ts +35 -0
- package/.medusa/server/src/workflows/product-edit/workflows/stage-product-change.js +57 -0
- package/.medusa/server/src/workflows/seller/workflows/create-sellers.d.ts +20 -2
- package/.medusa/server/src/workflows/seller/workflows/create-sellers.js +1 -1
- package/.medusa/server/src/workflows/seller/workflows/update-seller-address.d.ts +14 -2
- package/.medusa/server/src/workflows/seller/workflows/update-seller-address.js +1 -1
- package/.medusa/server/src/workflows/seller/workflows/update-seller-payment-details.d.ts +14 -2
- package/.medusa/server/src/workflows/seller/workflows/update-seller-payment-details.js +1 -1
- package/.medusa/server/src/workflows/seller/workflows/update-seller-professional-details.d.ts +14 -2
- package/.medusa/server/src/workflows/seller/workflows/update-seller-professional-details.js +1 -1
- package/.medusa/server/src/workflows/seller/workflows/update-seller.d.ts +14 -2
- package/.medusa/server/src/workflows/seller/workflows/update-seller.js +1 -1
- package/package.json +3 -3
- package/.medusa/server/src/api/admin/product-brands/[id]/route.d.ts +0 -7
- package/.medusa/server/src/api/admin/product-brands/[id]/route.js +0 -51
- package/.medusa/server/src/api/admin/product-brands/[id]/sellers/route.d.ts +0 -3
- package/.medusa/server/src/api/admin/product-brands/[id]/sellers/route.js +0 -20
- package/.medusa/server/src/api/admin/product-brands/middlewares.d.ts +0 -2
- package/.medusa/server/src/api/admin/product-brands/middlewares.js +0 -49
- package/.medusa/server/src/api/admin/product-brands/query-config.d.ts +0 -12
- package/.medusa/server/src/api/admin/product-brands/query-config.js +0 -24
- package/.medusa/server/src/api/admin/product-brands/route.d.ts +0 -6
- package/.medusa/server/src/api/admin/product-brands/route.js +0 -38
- package/.medusa/server/src/api/admin/product-brands/validators.d.ts +0 -284
- package/.medusa/server/src/api/admin/product-brands/validators.js +0 -41
- package/.medusa/server/src/api/admin/products/batch/route.d.ts +0 -4
- package/.medusa/server/src/api/admin/products/batch/route.js +0 -36
- package/.medusa/server/src/api/admin/subscription-plans/[id]/overrides/[override_id]/route.d.ts +0 -6
- package/.medusa/server/src/api/admin/subscription-plans/[id]/overrides/[override_id]/route.js +0 -43
- package/.medusa/server/src/api/admin/subscription-plans/[id]/overrides/route.d.ts +0 -4
- package/.medusa/server/src/api/admin/subscription-plans/[id]/overrides/route.js +0 -24
- package/.medusa/server/src/api/admin/subscription-plans/[id]/route.d.ts +0 -6
- package/.medusa/server/src/api/admin/subscription-plans/[id]/route.js +0 -43
- package/.medusa/server/src/api/admin/subscription-plans/middlewares.d.ts +0 -2
- package/.medusa/server/src/api/admin/subscription-plans/middlewares.js +0 -81
- package/.medusa/server/src/api/admin/subscription-plans/query-config.d.ts +0 -17
- package/.medusa/server/src/api/admin/subscription-plans/query-config.js +0 -43
- package/.medusa/server/src/api/admin/subscription-plans/route.d.ts +0 -5
- package/.medusa/server/src/api/admin/subscription-plans/route.js +0 -35
- package/.medusa/server/src/api/admin/subscription-plans/validators.d.ts +0 -117
- package/.medusa/server/src/api/admin/subscription-plans/validators.js +0 -42
- package/.medusa/server/src/api/store/product-brands/[id]/route.d.ts +0 -2
- package/.medusa/server/src/api/store/product-brands/[id]/route.js +0 -18
- package/.medusa/server/src/api/store/product-brands/middlewares.d.ts +0 -2
- package/.medusa/server/src/api/store/product-brands/middlewares.js +0 -23
- package/.medusa/server/src/api/store/product-brands/query-config.d.ts +0 -12
- package/.medusa/server/src/api/store/product-brands/query-config.js +0 -23
- package/.medusa/server/src/api/store/product-brands/route.d.ts +0 -2
- package/.medusa/server/src/api/store/product-brands/route.js +0 -21
- package/.medusa/server/src/api/store/product-brands/validators.d.ts +0 -215
- package/.medusa/server/src/api/store/product-brands/validators.js +0 -21
- package/.medusa/server/src/api/utils/wrap-variants-with-offers-inventory.d.ts +0 -12
- package/.medusa/server/src/api/utils/wrap-variants-with-offers-inventory.js +0 -165
- package/.medusa/server/src/api/utils/wrap-variants-with-offers-prices.d.ts +0 -12
- package/.medusa/server/src/api/utils/wrap-variants-with-offers-prices.js +0 -64
- package/.medusa/server/src/api/vendor/product-brands/[id]/route.d.ts +0 -3
- package/.medusa/server/src/api/vendor/product-brands/[id]/route.js +0 -18
- package/.medusa/server/src/api/vendor/product-brands/middlewares.d.ts +0 -2
- package/.medusa/server/src/api/vendor/product-brands/middlewares.js +0 -23
- package/.medusa/server/src/api/vendor/product-brands/query-config.d.ts +0 -12
- package/.medusa/server/src/api/vendor/product-brands/query-config.js +0 -24
- package/.medusa/server/src/api/vendor/product-brands/route.d.ts +0 -3
- package/.medusa/server/src/api/vendor/product-brands/route.js +0 -21
- package/.medusa/server/src/api/vendor/product-brands/validators.d.ts +0 -221
- package/.medusa/server/src/api/vendor/product-brands/validators.js +0 -22
- package/.medusa/server/src/api/vendor/subscription/middlewares.d.ts +0 -2
- package/.medusa/server/src/api/vendor/subscription/middlewares.js +0 -28
- package/.medusa/server/src/api/vendor/subscription/route.d.ts +0 -3
- package/.medusa/server/src/api/vendor/subscription/route.js +0 -31
- package/.medusa/server/src/links/brand-seller-link.js +0 -16
- package/.medusa/server/src/links/offer-price-set-link.js +0 -15
- package/.medusa/server/src/modules/product/index.d.ts +0 -7
- package/.medusa/server/src/modules/product/index.js +0 -14
- package/.medusa/server/src/modules/product/migrations/Migration20260414141012.js +0 -169
- package/.medusa/server/src/modules/product/migrations/Migration20260415151424.js +0 -14
- package/.medusa/server/src/modules/product/migrations/Migration20260416104248.js +0 -14
- package/.medusa/server/src/modules/product/migrations/Migration20260416105443.d.ts +0 -5
- package/.medusa/server/src/modules/product/migrations/Migration20260416105443.js +0 -16
- package/.medusa/server/src/modules/product/migrations/Migration20260421093258.d.ts +0 -5
- package/.medusa/server/src/modules/product/migrations/Migration20260421093258.js +0 -22
- package/.medusa/server/src/modules/product/migrations/Migration20260422105949.d.ts +0 -5
- package/.medusa/server/src/modules/product/migrations/Migration20260422105949.js +0 -32
- package/.medusa/server/src/modules/product/migrations/Migration20260422112250.d.ts +0 -5
- package/.medusa/server/src/modules/product/migrations/Migration20260422112250.js +0 -16
- package/.medusa/server/src/modules/product/migrations/Migration20260424120000.d.ts +0 -5
- package/.medusa/server/src/modules/product/migrations/Migration20260424120000.js +0 -16
- package/.medusa/server/src/modules/product/migrations/Migration20260427140959.d.ts +0 -5
- package/.medusa/server/src/modules/product/migrations/Migration20260427140959.js +0 -20
- package/.medusa/server/src/modules/product/migrations/Migration20260427141021.d.ts +0 -5
- package/.medusa/server/src/modules/product/migrations/Migration20260427141021.js +0 -16
- package/.medusa/server/src/modules/product/migrations/Migration20260428115720.d.ts +0 -5
- package/.medusa/server/src/modules/product/migrations/Migration20260428115720.js +0 -16
- package/.medusa/server/src/modules/product/migrations/Migration20260430143600.d.ts +0 -5
- package/.medusa/server/src/modules/product/migrations/Migration20260430143600.js +0 -15
- package/.medusa/server/src/modules/product/migrations/Migration20260430144500.d.ts +0 -5
- package/.medusa/server/src/modules/product/migrations/Migration20260430144500.js +0 -23
- package/.medusa/server/src/modules/product/migrations/Migration20260430150000.d.ts +0 -5
- package/.medusa/server/src/modules/product/migrations/Migration20260430150000.js +0 -14
- package/.medusa/server/src/modules/product/migrations/Migration20260520120000.d.ts +0 -5
- package/.medusa/server/src/modules/product/migrations/Migration20260520120000.js +0 -16
- package/.medusa/server/src/modules/product/models/index.d.ts +0 -13
- package/.medusa/server/src/modules/product/models/index.js +0 -33
- package/.medusa/server/src/modules/product/models/product-attribute-value.d.ts +0 -1698
- package/.medusa/server/src/modules/product/models/product-attribute-value.js +0 -38
- package/.medusa/server/src/modules/product/models/product-attribute.d.ts +0 -1627
- package/.medusa/server/src/modules/product/models/product-attribute.js +0 -57
- package/.medusa/server/src/modules/product/models/product-brand.d.ts +0 -551
- package/.medusa/server/src/modules/product/models/product-brand.js +0 -34
- package/.medusa/server/src/modules/product/models/product-category.d.ts +0 -1692
- package/.medusa/server/src/modules/product/models/product-category.js +0 -55
- package/.medusa/server/src/modules/product/models/product-change-action.d.ts +0 -1105
- package/.medusa/server/src/modules/product/models/product-change.d.ts +0 -559
- package/.medusa/server/src/modules/product/models/product-change.js +0 -50
- package/.medusa/server/src/modules/product/models/product-collection.d.ts +0 -552
- package/.medusa/server/src/modules/product/models/product-collection.js +0 -27
- package/.medusa/server/src/modules/product/models/product-image.d.ts +0 -1745
- package/.medusa/server/src/modules/product/models/product-image.js +0 -51
- package/.medusa/server/src/modules/product/models/product-tag.d.ts +0 -561
- package/.medusa/server/src/modules/product/models/product-tag.js +0 -26
- package/.medusa/server/src/modules/product/models/product-type.d.ts +0 -553
- package/.medusa/server/src/modules/product/models/product-type.js +0 -26
- package/.medusa/server/src/modules/product/models/product-variant-product-image.d.ts +0 -3366
- package/.medusa/server/src/modules/product/models/product-variant-product-image.js +0 -19
- package/.medusa/server/src/modules/product/models/product-variant.d.ts +0 -1619
- package/.medusa/server/src/modules/product/models/product-variant.js +0 -87
- package/.medusa/server/src/modules/product/models/product.d.ts +0 -559
- package/.medusa/server/src/modules/product/models/product.js +0 -137
- package/.medusa/server/src/modules/product/repositories/product-category.d.ts +0 -53
- package/.medusa/server/src/modules/product/repositories/product-category.js +0 -381
- package/.medusa/server/src/modules/product/service.d.ts +0 -11209
- package/.medusa/server/src/modules/product/service.js +0 -1471
- package/.medusa/server/src/modules/product/services/product-category.d.ts +0 -37
- package/.medusa/server/src/modules/product/services/product-category.js +0 -166
- package/.medusa/server/src/modules/subscription/index.d.ts +0 -35
- package/.medusa/server/src/modules/subscription/migrations/Migration20260324135903.d.ts +0 -5
- package/.medusa/server/src/modules/subscription/migrations/Migration20260324135903.js +0 -24
- package/.medusa/server/src/modules/subscription/models/index.d.ts +0 -2
- package/.medusa/server/src/modules/subscription/models/index.js +0 -11
- package/.medusa/server/src/modules/subscription/models/subscription-override.d.ts +0 -20
- package/.medusa/server/src/modules/subscription/models/subscription-override.js +0 -36
- package/.medusa/server/src/modules/subscription/models/subscription-plan.d.ts +0 -20
- package/.medusa/server/src/modules/subscription/models/subscription-plan.js +0 -32
- package/.medusa/server/src/modules/subscription/service.d.ts +0 -49
- package/.medusa/server/src/modules/subscription/service.js +0 -17
- package/.medusa/server/src/workflows/cart/hooks/validate-add-to-cart-stock.js +0 -52
- package/.medusa/server/src/workflows/cart/hooks/validate-update-line-item-stock.js +0 -60
- package/.medusa/server/src/workflows/cart/steps/calculate-offer-prices.d.ts +0 -19
- package/.medusa/server/src/workflows/cart/steps/calculate-offer-prices.js +0 -39
- package/.medusa/server/src/workflows/cart/steps/decorate-line-item-with-offer.d.ts +0 -8
- package/.medusa/server/src/workflows/cart/steps/decorate-line-item-with-offer.js +0 -45
- package/.medusa/server/src/workflows/cart/steps/get-line-item-actions.d.ts +0 -21
- package/.medusa/server/src/workflows/cart/steps/get-line-item-actions.js +0 -85
- package/.medusa/server/src/workflows/cart/workflows/add-to-cart.d.ts +0 -12
- package/.medusa/server/src/workflows/cart/workflows/add-to-cart.js +0 -235
- package/.medusa/server/src/workflows/cart/workflows/update-line-item-in-cart.d.ts +0 -16
- package/.medusa/server/src/workflows/cart/workflows/update-line-item-in-cart.js +0 -87
- package/.medusa/server/src/workflows/product/steps/associate-sellers-with-product-brand.d.ts +0 -8
- package/.medusa/server/src/workflows/product/steps/associate-sellers-with-product-brand.js +0 -26
- package/.medusa/server/src/workflows/product/steps/batch-link-products-in-category.d.ts +0 -7
- package/.medusa/server/src/workflows/product/steps/batch-link-products-in-category.js +0 -61
- package/.medusa/server/src/workflows/product/steps/batch-product-attributes.d.ts +0 -11
- package/.medusa/server/src/workflows/product/steps/batch-product-attributes.js +0 -16
- package/.medusa/server/src/workflows/product/steps/create-product-attribute-values.d.ts +0 -6
- package/.medusa/server/src/workflows/product/steps/create-product-attribute-values.js +0 -17
- package/.medusa/server/src/workflows/product/steps/create-product-attributes.d.ts +0 -2
- package/.medusa/server/src/workflows/product/steps/create-product-attributes.js +0 -17
- package/.medusa/server/src/workflows/product/steps/create-product-brands.d.ts +0 -2
- package/.medusa/server/src/workflows/product/steps/create-product-brands.js +0 -17
- package/.medusa/server/src/workflows/product/steps/create-product-categories.d.ts +0 -1576
- package/.medusa/server/src/workflows/product/steps/create-product-categories.js +0 -18
- package/.medusa/server/src/workflows/product/steps/create-product-variants.d.ts +0 -2
- package/.medusa/server/src/workflows/product/steps/create-product-variants.js +0 -18
- package/.medusa/server/src/workflows/product/steps/create-products.d.ts +0 -2
- package/.medusa/server/src/workflows/product/steps/create-products.js +0 -17
- package/.medusa/server/src/workflows/product/steps/delete-product-attribute-values.js +0 -17
- package/.medusa/server/src/workflows/product/steps/delete-product-attributes.js +0 -17
- package/.medusa/server/src/workflows/product/steps/delete-product-brands.d.ts +0 -1
- package/.medusa/server/src/workflows/product/steps/delete-product-brands.js +0 -17
- package/.medusa/server/src/workflows/product/steps/delete-product-categories.d.ts +0 -1
- package/.medusa/server/src/workflows/product/steps/delete-product-categories.js +0 -17
- package/.medusa/server/src/workflows/product/steps/delete-product-variants.d.ts +0 -1
- package/.medusa/server/src/workflows/product/steps/delete-product-variants.js +0 -17
- package/.medusa/server/src/workflows/product/steps/delete-products.d.ts +0 -1
- package/.medusa/server/src/workflows/product/steps/delete-products.js +0 -17
- package/.medusa/server/src/workflows/product/steps/detach-sellers-from-product-brand.d.ts +0 -8
- package/.medusa/server/src/workflows/product/steps/detach-sellers-from-product-brand.js +0 -26
- package/.medusa/server/src/workflows/product/steps/remove-attribute-from-product.d.ts +0 -6
- package/.medusa/server/src/workflows/product/steps/remove-attribute-from-product.js +0 -11
- package/.medusa/server/src/workflows/product/steps/update-product-attribute-values.d.ts +0 -7
- package/.medusa/server/src/workflows/product/steps/update-product-attribute-values.js +0 -22
- package/.medusa/server/src/workflows/product/steps/update-product-attributes.d.ts +0 -7
- package/.medusa/server/src/workflows/product/steps/update-product-brands.d.ts +0 -7
- package/.medusa/server/src/workflows/product/steps/update-product-brands.js +0 -28
- package/.medusa/server/src/workflows/product/steps/update-product-categories.d.ts +0 -1580
- package/.medusa/server/src/workflows/product/steps/update-product-categories.js +0 -20
- package/.medusa/server/src/workflows/product/steps/update-product-variants.d.ts +0 -10
- package/.medusa/server/src/workflows/product/steps/update-product-variants.js +0 -32
- package/.medusa/server/src/workflows/product/steps/update-products.d.ts +0 -10
- package/.medusa/server/src/workflows/product/steps/update-products.js +0 -33
- package/.medusa/server/src/workflows/product/steps/upsert-product-attribute-values.d.ts +0 -5
- package/.medusa/server/src/workflows/product/steps/upsert-product-attribute-values.js +0 -30
- package/.medusa/server/src/workflows/product/steps/validate-attribute-accepts-values.d.ts +0 -5
- package/.medusa/server/src/workflows/product/steps/validate-attribute-accepts-values.js +0 -19
- package/.medusa/server/src/workflows/product/steps/validate-confirm-products.d.ts +0 -3
- package/.medusa/server/src/workflows/product/steps/validate-confirm-products.js +0 -14
- package/.medusa/server/src/workflows/product/steps/validate-delete-product-attribute-values.d.ts +0 -5
- package/.medusa/server/src/workflows/product/steps/validate-delete-product-attribute-values.js +0 -19
- package/.medusa/server/src/workflows/product/steps/validate-delete-product-attributes.d.ts +0 -5
- package/.medusa/server/src/workflows/product/steps/validate-delete-product-attributes.js +0 -30
- package/.medusa/server/src/workflows/product/steps/validate-reject-product.d.ts +0 -3
- package/.medusa/server/src/workflows/product/steps/validate-reject-product.js +0 -12
- package/.medusa/server/src/workflows/product/steps/validate-request-changes.d.ts +0 -3
- package/.medusa/server/src/workflows/product/steps/validate-request-changes.js +0 -12
- package/.medusa/server/src/workflows/product/steps/validate-resubmit-product.d.ts +0 -3
- package/.medusa/server/src/workflows/product/steps/validate-resubmit-product.js +0 -12
- package/.medusa/server/src/workflows/product/workflows/batch-link-products-in-category.d.ts +0 -8
- package/.medusa/server/src/workflows/product/workflows/batch-link-products-in-category.js +0 -10
- package/.medusa/server/src/workflows/product/workflows/batch-product-attributes.d.ts +0 -12
- package/.medusa/server/src/workflows/product/workflows/batch-product-attributes.js +0 -23
- package/.medusa/server/src/workflows/product/workflows/batch-products.d.ts +0 -3
- package/.medusa/server/src/workflows/product/workflows/batch-products.js +0 -86
- package/.medusa/server/src/workflows/product/workflows/create-product-attribute-values.d.ts +0 -8
- package/.medusa/server/src/workflows/product/workflows/create-product-attribute-values.js +0 -21
- package/.medusa/server/src/workflows/product/workflows/create-product-attributes.d.ts +0 -7
- package/.medusa/server/src/workflows/product/workflows/create-product-attributes.js +0 -18
- package/.medusa/server/src/workflows/product/workflows/create-product-brands.d.ts +0 -7
- package/.medusa/server/src/workflows/product/workflows/create-product-brands.js +0 -19
- package/.medusa/server/src/workflows/product/workflows/create-product-categories.d.ts +0 -1581
- package/.medusa/server/src/workflows/product/workflows/create-product-categories.js +0 -18
- package/.medusa/server/src/workflows/product/workflows/create-product-variants.d.ts +0 -3
- package/.medusa/server/src/workflows/product/workflows/create-product-variants.js +0 -25
- package/.medusa/server/src/workflows/product/workflows/delete-product-attribute-values.d.ts +0 -6
- package/.medusa/server/src/workflows/product/workflows/delete-product-attribute-values.js +0 -20
- package/.medusa/server/src/workflows/product/workflows/delete-product-attributes.d.ts +0 -6
- package/.medusa/server/src/workflows/product/workflows/delete-product-attributes.js +0 -20
- package/.medusa/server/src/workflows/product/workflows/delete-product-brands.d.ts +0 -6
- package/.medusa/server/src/workflows/product/workflows/delete-product-brands.js +0 -19
- package/.medusa/server/src/workflows/product/workflows/delete-product-categories.d.ts +0 -6
- package/.medusa/server/src/workflows/product/workflows/delete-product-categories.js +0 -18
- package/.medusa/server/src/workflows/product/workflows/delete-product-variants.d.ts +0 -8
- package/.medusa/server/src/workflows/product/workflows/delete-product-variants.js +0 -24
- package/.medusa/server/src/workflows/product/workflows/delete-products.d.ts +0 -6
- package/.medusa/server/src/workflows/product/workflows/delete-products.js +0 -19
- package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product-brand.d.ts +0 -14
- package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product-brand.js +0 -21
- package/.medusa/server/src/workflows/product/workflows/remove-attribute-from-product.d.ts +0 -7
- package/.medusa/server/src/workflows/product/workflows/remove-attribute-from-product.js +0 -20
- package/.medusa/server/src/workflows/product/workflows/request-product-changes.d.ts +0 -11
- package/.medusa/server/src/workflows/product/workflows/request-product-changes.js +0 -61
- package/.medusa/server/src/workflows/product/workflows/resubmit-product.d.ts +0 -8
- package/.medusa/server/src/workflows/product/workflows/resubmit-product.js +0 -48
- package/.medusa/server/src/workflows/product/workflows/submit-seller-products.d.ts +0 -3
- package/.medusa/server/src/workflows/product/workflows/submit-seller-products.js +0 -76
- package/.medusa/server/src/workflows/product/workflows/update-product-attribute-values.d.ts +0 -8
- package/.medusa/server/src/workflows/product/workflows/update-product-attribute-values.js +0 -18
- package/.medusa/server/src/workflows/product/workflows/update-product-attributes.d.ts +0 -8
- package/.medusa/server/src/workflows/product/workflows/update-product-attributes.js +0 -18
- package/.medusa/server/src/workflows/product/workflows/update-product-brands.d.ts +0 -8
- package/.medusa/server/src/workflows/product/workflows/update-product-brands.js +0 -19
- package/.medusa/server/src/workflows/product/workflows/update-product-categories.d.ts +0 -1583
- package/.medusa/server/src/workflows/product/workflows/update-product-categories.js +0 -18
- package/.medusa/server/src/workflows/product/workflows/update-product-variants.d.ts +0 -3
- package/.medusa/server/src/workflows/product/workflows/update-product-variants.js +0 -36
- package/.medusa/server/src/workflows/product/workflows/upsert-product-attribute-values.d.ts +0 -8
- package/.medusa/server/src/workflows/product/workflows/upsert-product-attribute-values.js +0 -21
- package/.medusa/server/src/workflows/product-edit/steps/retrieve-product-with-change.d.ts +0 -5
- package/.medusa/server/src/workflows/product-edit/steps/retrieve-product-with-change.js +0 -11
- package/.medusa/server/src/workflows/product-edit/steps/validate-product-change-pending.d.ts +0 -11
- package/.medusa/server/src/workflows/product-edit/steps/validate-product-change-pending.js +0 -21
- package/.medusa/server/src/workflows/product-edit/workflows/cancel-product-edit.d.ts +0 -19
- package/.medusa/server/src/workflows/product-edit/workflows/cancel-product-edit.js +0 -40
- package/.medusa/server/src/workflows/product-edit/workflows/confirm-product-edit.d.ts +0 -21
- package/.medusa/server/src/workflows/product-edit/workflows/confirm-product-edit.js +0 -44
- package/.medusa/server/src/workflows/product-edit/workflows/decline-product-edit.d.ts +0 -16
- package/.medusa/server/src/workflows/product-edit/workflows/decline-product-edit.js +0 -42
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-add-attribute.d.ts +0 -19
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-add-attribute.js +0 -66
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-add-variant.d.ts +0 -17
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-add-variant.js +0 -58
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-remove-attribute.d.ts +0 -17
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-remove-attribute.js +0 -62
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-remove-variant.d.ts +0 -16
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-remove-variant.js +0 -68
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-variant.d.ts +0 -21
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-variant.js +0 -89
- package/.medusa/server/src/workflows/subscription/steps/create-subscription-overrides.d.ts +0 -31
- package/.medusa/server/src/workflows/subscription/steps/create-subscription-overrides.js +0 -17
- package/.medusa/server/src/workflows/subscription/steps/create-subscription-plans.d.ts +0 -31
- package/.medusa/server/src/workflows/subscription/steps/create-subscription-plans.js +0 -17
- package/.medusa/server/src/workflows/subscription/steps/delete-subscription-overrides.d.ts +0 -2
- package/.medusa/server/src/workflows/subscription/steps/delete-subscription-overrides.js +0 -17
- package/.medusa/server/src/workflows/subscription/steps/delete-subscription-plans.d.ts +0 -2
- package/.medusa/server/src/workflows/subscription/steps/delete-subscription-plans.js +0 -17
- package/.medusa/server/src/workflows/subscription/steps/index.d.ts +0 -6
- package/.medusa/server/src/workflows/subscription/steps/index.js +0 -23
- package/.medusa/server/src/workflows/subscription/steps/update-subscription-overrides.d.ts +0 -31
- package/.medusa/server/src/workflows/subscription/steps/update-subscription-overrides.js +0 -17
- package/.medusa/server/src/workflows/subscription/steps/update-subscription-plans.d.ts +0 -31
- package/.medusa/server/src/workflows/subscription/steps/update-subscription-plans.js +0 -17
- package/.medusa/server/src/workflows/subscription/workflows/create-subscription-overrides.d.ts +0 -31
- package/.medusa/server/src/workflows/subscription/workflows/create-subscription-overrides.js +0 -11
- package/.medusa/server/src/workflows/subscription/workflows/create-subscription-plans.d.ts +0 -31
- package/.medusa/server/src/workflows/subscription/workflows/create-subscription-plans.js +0 -11
- package/.medusa/server/src/workflows/subscription/workflows/delete-subscription-overrides.d.ts +0 -5
- package/.medusa/server/src/workflows/subscription/workflows/delete-subscription-overrides.js +0 -11
- package/.medusa/server/src/workflows/subscription/workflows/delete-subscription-plans.d.ts +0 -5
- package/.medusa/server/src/workflows/subscription/workflows/delete-subscription-plans.js +0 -11
- package/.medusa/server/src/workflows/subscription/workflows/index.d.ts +0 -6
- package/.medusa/server/src/workflows/subscription/workflows/index.js +0 -23
- package/.medusa/server/src/workflows/subscription/workflows/update-subscription-overrides.d.ts +0 -31
- package/.medusa/server/src/workflows/subscription/workflows/update-subscription-overrides.js +0 -11
- package/.medusa/server/src/workflows/subscription/workflows/update-subscription-plans.d.ts +0 -31
- package/.medusa/server/src/workflows/subscription/workflows/update-subscription-plans.js +0 -11
- package/.medusa/server/src/workflows/utils/override-workflow.d.ts +0 -12
- package/.medusa/server/src/workflows/utils/override-workflow.js +0 -21
- /package/.medusa/server/src/links/{brand-seller-link.d.ts → offer-price-link.d.ts} +0 -0
- /package/.medusa/server/src/links/{offer-price-set-link.d.ts → product-variant-attribute-link.d.ts} +0 -0
- /package/.medusa/server/src/workflows/cart/hooks/{validate-add-to-cart-stock.d.ts → before-refreshing-payment-collection.d.ts} +0 -0
- /package/.medusa/server/src/workflows/cart/hooks/{validate-update-line-item-stock.d.ts → set-pricing-context.d.ts} +0 -0
|
@@ -1,561 +0,0 @@
|
|
|
1
|
-
declare const ProductTag: import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
2
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
3
|
-
value: import("@medusajs/framework/utils").TextProperty;
|
|
4
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
5
|
-
products: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
6
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
7
|
-
title: import("@medusajs/framework/utils").TextProperty;
|
|
8
|
-
handle: import("@medusajs/framework/utils").TextProperty;
|
|
9
|
-
subtitle: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
10
|
-
description: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
11
|
-
is_giftcard: import("@medusajs/framework/utils").BooleanProperty;
|
|
12
|
-
thumbnail: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
13
|
-
weight: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
14
|
-
length: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
15
|
-
height: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
16
|
-
width: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
17
|
-
origin_country: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
18
|
-
hs_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
19
|
-
mid_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
20
|
-
material: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
21
|
-
discountable: import("@medusajs/framework/utils").BooleanProperty;
|
|
22
|
-
external_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
23
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
24
|
-
status: import("@medusajs/framework/utils").EnumProperty<typeof import("@mercurjs/types").ProductStatus>;
|
|
25
|
-
is_restricted: import("@medusajs/framework/utils").BooleanProperty;
|
|
26
|
-
created_by: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
27
|
-
created_by_actor: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
28
|
-
variants: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
29
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
30
|
-
title: import("@medusajs/framework/utils").TextProperty;
|
|
31
|
-
barcode: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
32
|
-
sku: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
33
|
-
ean: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
34
|
-
upc: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
35
|
-
hs_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
36
|
-
origin_country: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
37
|
-
mid_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
38
|
-
material: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
39
|
-
weight: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
40
|
-
length: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
41
|
-
height: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
42
|
-
width: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
43
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
44
|
-
variant_rank: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
45
|
-
thumbnail: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
46
|
-
manage_inventory: import("@medusajs/framework/utils").ComputedProperty<boolean | null, import("@medusajs/framework/utils").BooleanProperty>;
|
|
47
|
-
allow_backorder: import("@medusajs/framework/utils").ComputedProperty<boolean | null, import("@medusajs/framework/utils").BooleanProperty>;
|
|
48
|
-
product: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, undefined>, true>;
|
|
49
|
-
images: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
50
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
51
|
-
url: import("@medusajs/framework/utils").TextProperty;
|
|
52
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
53
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
54
|
-
product: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, undefined>;
|
|
55
|
-
variants: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductVariant">>;
|
|
56
|
-
}>, {
|
|
57
|
-
readonly tableName: "image";
|
|
58
|
-
readonly name: "ProductImage";
|
|
59
|
-
}>>;
|
|
60
|
-
attribute_values: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
61
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
62
|
-
handle: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
63
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
64
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
65
|
-
is_active: import("@medusajs/framework/utils").BooleanProperty;
|
|
66
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
67
|
-
attribute: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
68
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
69
|
-
handle: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
70
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
71
|
-
description: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
72
|
-
type: import("@medusajs/framework/utils").EnumProperty<typeof import("@mercurjs/types").AttributeType>;
|
|
73
|
-
is_required: import("@medusajs/framework/utils").BooleanProperty;
|
|
74
|
-
is_filterable: import("@medusajs/framework/utils").BooleanProperty;
|
|
75
|
-
is_variant_axis: import("@medusajs/framework/utils").BooleanProperty;
|
|
76
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
77
|
-
is_active: import("@medusajs/framework/utils").BooleanProperty;
|
|
78
|
-
created_by: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
79
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
80
|
-
values: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductAttributeValue">>;
|
|
81
|
-
categories: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
82
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
83
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
84
|
-
description: import("@medusajs/framework/utils").TextProperty;
|
|
85
|
-
handle: import("@medusajs/framework/utils").TextProperty;
|
|
86
|
-
mpath: import("@medusajs/framework/utils").TextProperty;
|
|
87
|
-
is_active: import("@medusajs/framework/utils").BooleanProperty;
|
|
88
|
-
is_internal: import("@medusajs/framework/utils").BooleanProperty;
|
|
89
|
-
is_restricted: import("@medusajs/framework/utils").BooleanProperty;
|
|
90
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
91
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
92
|
-
parent_category: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductCategory">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductCategory">, undefined>, true>;
|
|
93
|
-
category_children: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductCategory">>;
|
|
94
|
-
products: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
95
|
-
attributes: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductAttribute">>;
|
|
96
|
-
}>, "ProductCategory">>;
|
|
97
|
-
product: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, undefined>, true>;
|
|
98
|
-
variant_products: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
99
|
-
}>, "ProductAttribute">, undefined>;
|
|
100
|
-
variants: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductVariant">>;
|
|
101
|
-
products: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
102
|
-
}>, "ProductAttributeValue">>;
|
|
103
|
-
}>, "ProductVariant">>;
|
|
104
|
-
type: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
105
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
106
|
-
value: import("@medusajs/framework/utils").TextProperty;
|
|
107
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
108
|
-
products: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
109
|
-
}>, "ProductType">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
110
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
111
|
-
value: import("@medusajs/framework/utils").TextProperty;
|
|
112
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
113
|
-
products: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
114
|
-
}>, "ProductType">, undefined>, true>;
|
|
115
|
-
brand: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
116
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
117
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
118
|
-
handle: import("@medusajs/framework/utils").TextProperty;
|
|
119
|
-
is_restricted: import("@medusajs/framework/utils").BooleanProperty;
|
|
120
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
121
|
-
products: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
122
|
-
}>, "ProductBrand">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
123
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
124
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
125
|
-
handle: import("@medusajs/framework/utils").TextProperty;
|
|
126
|
-
is_restricted: import("@medusajs/framework/utils").BooleanProperty;
|
|
127
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
128
|
-
products: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
129
|
-
}>, "ProductBrand">, undefined>, true>;
|
|
130
|
-
tags: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
131
|
-
readonly tableName: "product_tag";
|
|
132
|
-
readonly name: "ProductTag";
|
|
133
|
-
}>>;
|
|
134
|
-
images: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
135
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
136
|
-
url: import("@medusajs/framework/utils").TextProperty;
|
|
137
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
138
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
139
|
-
product: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, undefined>;
|
|
140
|
-
variants: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
141
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
142
|
-
title: import("@medusajs/framework/utils").TextProperty;
|
|
143
|
-
barcode: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
144
|
-
sku: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
145
|
-
ean: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
146
|
-
upc: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
147
|
-
hs_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
148
|
-
origin_country: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
149
|
-
mid_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
150
|
-
material: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
151
|
-
weight: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
152
|
-
length: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
153
|
-
height: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
154
|
-
width: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
155
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
156
|
-
variant_rank: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
157
|
-
thumbnail: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
158
|
-
manage_inventory: import("@medusajs/framework/utils").ComputedProperty<boolean | null, import("@medusajs/framework/utils").BooleanProperty>;
|
|
159
|
-
allow_backorder: import("@medusajs/framework/utils").ComputedProperty<boolean | null, import("@medusajs/framework/utils").BooleanProperty>;
|
|
160
|
-
product: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, undefined>, true>;
|
|
161
|
-
images: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
162
|
-
readonly tableName: "image";
|
|
163
|
-
readonly name: "ProductImage";
|
|
164
|
-
}>>;
|
|
165
|
-
attribute_values: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
166
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
167
|
-
handle: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
168
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
169
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
170
|
-
is_active: import("@medusajs/framework/utils").BooleanProperty;
|
|
171
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
172
|
-
attribute: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
173
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
174
|
-
handle: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
175
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
176
|
-
description: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
177
|
-
type: import("@medusajs/framework/utils").EnumProperty<typeof import("@mercurjs/types").AttributeType>;
|
|
178
|
-
is_required: import("@medusajs/framework/utils").BooleanProperty;
|
|
179
|
-
is_filterable: import("@medusajs/framework/utils").BooleanProperty;
|
|
180
|
-
is_variant_axis: import("@medusajs/framework/utils").BooleanProperty;
|
|
181
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
182
|
-
is_active: import("@medusajs/framework/utils").BooleanProperty;
|
|
183
|
-
created_by: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
184
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
185
|
-
values: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductAttributeValue">>;
|
|
186
|
-
categories: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
187
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
188
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
189
|
-
description: import("@medusajs/framework/utils").TextProperty;
|
|
190
|
-
handle: import("@medusajs/framework/utils").TextProperty;
|
|
191
|
-
mpath: import("@medusajs/framework/utils").TextProperty;
|
|
192
|
-
is_active: import("@medusajs/framework/utils").BooleanProperty;
|
|
193
|
-
is_internal: import("@medusajs/framework/utils").BooleanProperty;
|
|
194
|
-
is_restricted: import("@medusajs/framework/utils").BooleanProperty;
|
|
195
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
196
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
197
|
-
parent_category: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductCategory">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductCategory">, undefined>, true>;
|
|
198
|
-
category_children: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductCategory">>;
|
|
199
|
-
products: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
200
|
-
attributes: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductAttribute">>;
|
|
201
|
-
}>, "ProductCategory">>;
|
|
202
|
-
product: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, undefined>, true>;
|
|
203
|
-
variant_products: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
204
|
-
}>, "ProductAttribute">, undefined>;
|
|
205
|
-
variants: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductVariant">>;
|
|
206
|
-
products: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
207
|
-
}>, "ProductAttributeValue">>;
|
|
208
|
-
}>, "ProductVariant">>;
|
|
209
|
-
}>, {
|
|
210
|
-
readonly tableName: "image";
|
|
211
|
-
readonly name: "ProductImage";
|
|
212
|
-
}>>;
|
|
213
|
-
collection: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
214
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
215
|
-
title: import("@medusajs/framework/utils").TextProperty;
|
|
216
|
-
handle: import("@medusajs/framework/utils").TextProperty;
|
|
217
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
218
|
-
products: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
219
|
-
}>, "ProductCollection">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
220
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
221
|
-
title: import("@medusajs/framework/utils").TextProperty;
|
|
222
|
-
handle: import("@medusajs/framework/utils").TextProperty;
|
|
223
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
224
|
-
products: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
225
|
-
}>, "ProductCollection">, undefined>, true>;
|
|
226
|
-
categories: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
227
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
228
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
229
|
-
description: import("@medusajs/framework/utils").TextProperty;
|
|
230
|
-
handle: import("@medusajs/framework/utils").TextProperty;
|
|
231
|
-
mpath: import("@medusajs/framework/utils").TextProperty;
|
|
232
|
-
is_active: import("@medusajs/framework/utils").BooleanProperty;
|
|
233
|
-
is_internal: import("@medusajs/framework/utils").BooleanProperty;
|
|
234
|
-
is_restricted: import("@medusajs/framework/utils").BooleanProperty;
|
|
235
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
236
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
237
|
-
parent_category: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductCategory">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductCategory">, undefined>, true>;
|
|
238
|
-
category_children: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductCategory">>;
|
|
239
|
-
products: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
240
|
-
attributes: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
241
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
242
|
-
handle: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
243
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
244
|
-
description: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
245
|
-
type: import("@medusajs/framework/utils").EnumProperty<typeof import("@mercurjs/types").AttributeType>;
|
|
246
|
-
is_required: import("@medusajs/framework/utils").BooleanProperty;
|
|
247
|
-
is_filterable: import("@medusajs/framework/utils").BooleanProperty;
|
|
248
|
-
is_variant_axis: import("@medusajs/framework/utils").BooleanProperty;
|
|
249
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
250
|
-
is_active: import("@medusajs/framework/utils").BooleanProperty;
|
|
251
|
-
created_by: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
252
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
253
|
-
values: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
254
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
255
|
-
handle: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
256
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
257
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
258
|
-
is_active: import("@medusajs/framework/utils").BooleanProperty;
|
|
259
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
260
|
-
attribute: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductAttribute">, undefined>;
|
|
261
|
-
variants: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
262
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
263
|
-
title: import("@medusajs/framework/utils").TextProperty;
|
|
264
|
-
barcode: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
265
|
-
sku: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
266
|
-
ean: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
267
|
-
upc: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
268
|
-
hs_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
269
|
-
origin_country: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
270
|
-
mid_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
271
|
-
material: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
272
|
-
weight: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
273
|
-
length: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
274
|
-
height: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
275
|
-
width: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
276
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
277
|
-
variant_rank: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
278
|
-
thumbnail: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
279
|
-
manage_inventory: import("@medusajs/framework/utils").ComputedProperty<boolean | null, import("@medusajs/framework/utils").BooleanProperty>;
|
|
280
|
-
allow_backorder: import("@medusajs/framework/utils").ComputedProperty<boolean | null, import("@medusajs/framework/utils").BooleanProperty>;
|
|
281
|
-
product: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, undefined>, true>;
|
|
282
|
-
images: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
283
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
284
|
-
url: import("@medusajs/framework/utils").TextProperty;
|
|
285
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
286
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
287
|
-
product: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, undefined>;
|
|
288
|
-
variants: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductVariant">>;
|
|
289
|
-
}>, {
|
|
290
|
-
readonly tableName: "image";
|
|
291
|
-
readonly name: "ProductImage";
|
|
292
|
-
}>>;
|
|
293
|
-
attribute_values: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductAttributeValue">>;
|
|
294
|
-
}>, "ProductVariant">>;
|
|
295
|
-
products: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
296
|
-
}>, "ProductAttributeValue">>;
|
|
297
|
-
categories: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductCategory">>;
|
|
298
|
-
product: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, undefined>, true>;
|
|
299
|
-
variant_products: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
300
|
-
}>, "ProductAttribute">>;
|
|
301
|
-
}>, "ProductCategory">>;
|
|
302
|
-
variant_attributes: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
303
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
304
|
-
handle: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
305
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
306
|
-
description: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
307
|
-
type: import("@medusajs/framework/utils").EnumProperty<typeof import("@mercurjs/types").AttributeType>;
|
|
308
|
-
is_required: import("@medusajs/framework/utils").BooleanProperty;
|
|
309
|
-
is_filterable: import("@medusajs/framework/utils").BooleanProperty;
|
|
310
|
-
is_variant_axis: import("@medusajs/framework/utils").BooleanProperty;
|
|
311
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
312
|
-
is_active: import("@medusajs/framework/utils").BooleanProperty;
|
|
313
|
-
created_by: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
314
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
315
|
-
values: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
316
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
317
|
-
handle: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
318
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
319
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
320
|
-
is_active: import("@medusajs/framework/utils").BooleanProperty;
|
|
321
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
322
|
-
attribute: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductAttribute">, undefined>;
|
|
323
|
-
variants: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
324
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
325
|
-
title: import("@medusajs/framework/utils").TextProperty;
|
|
326
|
-
barcode: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
327
|
-
sku: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
328
|
-
ean: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
329
|
-
upc: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
330
|
-
hs_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
331
|
-
origin_country: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
332
|
-
mid_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
333
|
-
material: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
334
|
-
weight: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
335
|
-
length: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
336
|
-
height: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
337
|
-
width: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
338
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
339
|
-
variant_rank: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
340
|
-
thumbnail: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
341
|
-
manage_inventory: import("@medusajs/framework/utils").ComputedProperty<boolean | null, import("@medusajs/framework/utils").BooleanProperty>;
|
|
342
|
-
allow_backorder: import("@medusajs/framework/utils").ComputedProperty<boolean | null, import("@medusajs/framework/utils").BooleanProperty>;
|
|
343
|
-
product: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, undefined>, true>;
|
|
344
|
-
images: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
345
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
346
|
-
url: import("@medusajs/framework/utils").TextProperty;
|
|
347
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
348
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
349
|
-
product: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, undefined>;
|
|
350
|
-
variants: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductVariant">>;
|
|
351
|
-
}>, {
|
|
352
|
-
readonly tableName: "image";
|
|
353
|
-
readonly name: "ProductImage";
|
|
354
|
-
}>>;
|
|
355
|
-
attribute_values: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductAttributeValue">>;
|
|
356
|
-
}>, "ProductVariant">>;
|
|
357
|
-
products: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
358
|
-
}>, "ProductAttributeValue">>;
|
|
359
|
-
categories: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
360
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
361
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
362
|
-
description: import("@medusajs/framework/utils").TextProperty;
|
|
363
|
-
handle: import("@medusajs/framework/utils").TextProperty;
|
|
364
|
-
mpath: import("@medusajs/framework/utils").TextProperty;
|
|
365
|
-
is_active: import("@medusajs/framework/utils").BooleanProperty;
|
|
366
|
-
is_internal: import("@medusajs/framework/utils").BooleanProperty;
|
|
367
|
-
is_restricted: import("@medusajs/framework/utils").BooleanProperty;
|
|
368
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
369
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
370
|
-
parent_category: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductCategory">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductCategory">, undefined>, true>;
|
|
371
|
-
category_children: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductCategory">>;
|
|
372
|
-
products: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
373
|
-
attributes: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductAttribute">>;
|
|
374
|
-
}>, "ProductCategory">>;
|
|
375
|
-
product: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, undefined>, true>;
|
|
376
|
-
variant_products: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
377
|
-
}>, "ProductAttribute">>;
|
|
378
|
-
custom_attributes: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
379
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
380
|
-
handle: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
381
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
382
|
-
description: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
383
|
-
type: import("@medusajs/framework/utils").EnumProperty<typeof import("@mercurjs/types").AttributeType>;
|
|
384
|
-
is_required: import("@medusajs/framework/utils").BooleanProperty;
|
|
385
|
-
is_filterable: import("@medusajs/framework/utils").BooleanProperty;
|
|
386
|
-
is_variant_axis: import("@medusajs/framework/utils").BooleanProperty;
|
|
387
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
388
|
-
is_active: import("@medusajs/framework/utils").BooleanProperty;
|
|
389
|
-
created_by: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
390
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
391
|
-
values: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
392
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
393
|
-
handle: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
394
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
395
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
396
|
-
is_active: import("@medusajs/framework/utils").BooleanProperty;
|
|
397
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
398
|
-
attribute: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductAttribute">, undefined>;
|
|
399
|
-
variants: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
400
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
401
|
-
title: import("@medusajs/framework/utils").TextProperty;
|
|
402
|
-
barcode: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
403
|
-
sku: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
404
|
-
ean: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
405
|
-
upc: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
406
|
-
hs_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
407
|
-
origin_country: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
408
|
-
mid_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
409
|
-
material: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
410
|
-
weight: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
411
|
-
length: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
412
|
-
height: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
413
|
-
width: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
414
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
415
|
-
variant_rank: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
416
|
-
thumbnail: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
417
|
-
manage_inventory: import("@medusajs/framework/utils").ComputedProperty<boolean | null, import("@medusajs/framework/utils").BooleanProperty>;
|
|
418
|
-
allow_backorder: import("@medusajs/framework/utils").ComputedProperty<boolean | null, import("@medusajs/framework/utils").BooleanProperty>;
|
|
419
|
-
product: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, undefined>, true>;
|
|
420
|
-
images: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
421
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
422
|
-
url: import("@medusajs/framework/utils").TextProperty;
|
|
423
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
424
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
425
|
-
product: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, undefined>;
|
|
426
|
-
variants: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductVariant">>;
|
|
427
|
-
}>, {
|
|
428
|
-
readonly tableName: "image";
|
|
429
|
-
readonly name: "ProductImage";
|
|
430
|
-
}>>;
|
|
431
|
-
attribute_values: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductAttributeValue">>;
|
|
432
|
-
}>, "ProductVariant">>;
|
|
433
|
-
products: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
434
|
-
}>, "ProductAttributeValue">>;
|
|
435
|
-
categories: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
436
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
437
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
438
|
-
description: import("@medusajs/framework/utils").TextProperty;
|
|
439
|
-
handle: import("@medusajs/framework/utils").TextProperty;
|
|
440
|
-
mpath: import("@medusajs/framework/utils").TextProperty;
|
|
441
|
-
is_active: import("@medusajs/framework/utils").BooleanProperty;
|
|
442
|
-
is_internal: import("@medusajs/framework/utils").BooleanProperty;
|
|
443
|
-
is_restricted: import("@medusajs/framework/utils").BooleanProperty;
|
|
444
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
445
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
446
|
-
parent_category: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductCategory">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductCategory">, undefined>, true>;
|
|
447
|
-
category_children: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductCategory">>;
|
|
448
|
-
products: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
449
|
-
attributes: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductAttribute">>;
|
|
450
|
-
}>, "ProductCategory">>;
|
|
451
|
-
product: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, undefined>, true>;
|
|
452
|
-
variant_products: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
453
|
-
}>, "ProductAttribute">>;
|
|
454
|
-
attribute_values: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
455
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
456
|
-
handle: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
457
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
458
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
459
|
-
is_active: import("@medusajs/framework/utils").BooleanProperty;
|
|
460
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
461
|
-
attribute: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
462
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
463
|
-
handle: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
464
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
465
|
-
description: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
466
|
-
type: import("@medusajs/framework/utils").EnumProperty<typeof import("@mercurjs/types").AttributeType>;
|
|
467
|
-
is_required: import("@medusajs/framework/utils").BooleanProperty;
|
|
468
|
-
is_filterable: import("@medusajs/framework/utils").BooleanProperty;
|
|
469
|
-
is_variant_axis: import("@medusajs/framework/utils").BooleanProperty;
|
|
470
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
471
|
-
is_active: import("@medusajs/framework/utils").BooleanProperty;
|
|
472
|
-
created_by: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
473
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
474
|
-
values: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductAttributeValue">>;
|
|
475
|
-
categories: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
476
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
477
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
478
|
-
description: import("@medusajs/framework/utils").TextProperty;
|
|
479
|
-
handle: import("@medusajs/framework/utils").TextProperty;
|
|
480
|
-
mpath: import("@medusajs/framework/utils").TextProperty;
|
|
481
|
-
is_active: import("@medusajs/framework/utils").BooleanProperty;
|
|
482
|
-
is_internal: import("@medusajs/framework/utils").BooleanProperty;
|
|
483
|
-
is_restricted: import("@medusajs/framework/utils").BooleanProperty;
|
|
484
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
485
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
486
|
-
parent_category: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductCategory">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductCategory">, undefined>, true>;
|
|
487
|
-
category_children: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductCategory">>;
|
|
488
|
-
products: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
489
|
-
attributes: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductAttribute">>;
|
|
490
|
-
}>, "ProductCategory">>;
|
|
491
|
-
product: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, undefined>, true>;
|
|
492
|
-
variant_products: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
493
|
-
}>, "ProductAttribute">, undefined>;
|
|
494
|
-
variants: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
495
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
496
|
-
title: import("@medusajs/framework/utils").TextProperty;
|
|
497
|
-
barcode: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
498
|
-
sku: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
499
|
-
ean: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
500
|
-
upc: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
501
|
-
hs_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
502
|
-
origin_country: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
503
|
-
mid_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
504
|
-
material: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
505
|
-
weight: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
506
|
-
length: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
507
|
-
height: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
508
|
-
width: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
509
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
510
|
-
variant_rank: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
511
|
-
thumbnail: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
512
|
-
manage_inventory: import("@medusajs/framework/utils").ComputedProperty<boolean | null, import("@medusajs/framework/utils").BooleanProperty>;
|
|
513
|
-
allow_backorder: import("@medusajs/framework/utils").ComputedProperty<boolean | null, import("@medusajs/framework/utils").BooleanProperty>;
|
|
514
|
-
product: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, undefined>, true>;
|
|
515
|
-
images: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
516
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
517
|
-
url: import("@medusajs/framework/utils").TextProperty;
|
|
518
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
519
|
-
rank: import("@medusajs/framework/utils").NumberProperty;
|
|
520
|
-
product: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, undefined>;
|
|
521
|
-
variants: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductVariant">>;
|
|
522
|
-
}>, {
|
|
523
|
-
readonly tableName: "image";
|
|
524
|
-
readonly name: "ProductImage";
|
|
525
|
-
}>>;
|
|
526
|
-
attribute_values: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductAttributeValue">>;
|
|
527
|
-
}>, "ProductVariant">>;
|
|
528
|
-
products: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">>;
|
|
529
|
-
}>, "ProductAttributeValue">>;
|
|
530
|
-
changes: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
531
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
532
|
-
product: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Product">, undefined>;
|
|
533
|
-
status: import("@medusajs/framework/utils").EnumProperty<typeof import("@mercurjs/types").ProductChangeStatus>;
|
|
534
|
-
internal_note: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
535
|
-
external_note: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
536
|
-
created_by: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
537
|
-
confirmed_by: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
538
|
-
confirmed_at: import("@medusajs/framework/utils").NullableModifier<Date, import("@medusajs/framework/utils").DateTimeProperty>;
|
|
539
|
-
declined_by: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
540
|
-
declined_at: import("@medusajs/framework/utils").NullableModifier<Date, import("@medusajs/framework/utils").DateTimeProperty>;
|
|
541
|
-
declined_reason: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
542
|
-
canceled_by: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
543
|
-
canceled_at: import("@medusajs/framework/utils").NullableModifier<Date, import("@medusajs/framework/utils").DateTimeProperty>;
|
|
544
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
545
|
-
actions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
546
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
547
|
-
product_id: import("@medusajs/framework/utils").TextProperty;
|
|
548
|
-
ordering: import("@medusajs/framework/utils").AutoIncrementProperty;
|
|
549
|
-
action: import("@medusajs/framework/utils").TextProperty;
|
|
550
|
-
details: import("@medusajs/framework/utils").JSONProperty;
|
|
551
|
-
internal_note: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
552
|
-
applied: import("@medusajs/framework/utils").BooleanProperty;
|
|
553
|
-
product_change: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductChange">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "ProductChange">, undefined>, true>;
|
|
554
|
-
}>, "ProductChangeAction">>;
|
|
555
|
-
}>, "ProductChange">>;
|
|
556
|
-
}>, "Product">>;
|
|
557
|
-
}>, {
|
|
558
|
-
readonly tableName: "product_tag";
|
|
559
|
-
readonly name: "ProductTag";
|
|
560
|
-
}>;
|
|
561
|
-
export default ProductTag;
|