@mercurjs/core 2.2.0-canary.9 → 2.2.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.medusa/server/src/api/admin/claims/[id]/outbound/items/route.d.ts +13 -0
- package/.medusa/server/src/api/admin/claims/[id]/outbound/items/route.js +59 -0
- package/.medusa/server/src/api/admin/claims/[id]/request/route.d.ts +4 -0
- package/.medusa/server/src/api/admin/claims/[id]/request/route.js +74 -0
- package/.medusa/server/src/api/admin/collections/[id]/route.d.ts +7 -0
- package/.medusa/server/src/api/admin/collections/[id]/route.js +48 -0
- package/.medusa/server/src/api/admin/collections/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/admin/collections/middlewares.js +49 -0
- package/.medusa/server/src/api/admin/collections/query-config.d.ts +12 -0
- package/.medusa/server/src/api/admin/collections/query-config.js +29 -0
- package/.medusa/server/src/api/admin/collections/route.d.ts +6 -0
- package/.medusa/server/src/api/admin/collections/route.js +36 -0
- package/.medusa/server/src/api/admin/collections/validators.d.ts +262 -0
- package/.medusa/server/src/api/admin/collections/validators.js +42 -0
- package/.medusa/server/src/api/admin/commission-rates/query-config.js +6 -4
- package/.medusa/server/src/api/admin/commission-rates/route.js +4 -1
- package/.medusa/server/src/api/admin/commission-rates/validators.d.ts +89 -58
- package/.medusa/server/src/api/admin/commission-rates/validators.js +16 -9
- package/.medusa/server/src/api/admin/customer-groups/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/admin/customer-groups/middlewares.js +43 -0
- package/.medusa/server/src/api/admin/customer-groups/validators.d.ts +257 -0
- package/.medusa/server/src/api/admin/customer-groups/validators.js +12 -0
- package/.medusa/server/src/api/admin/exchanges/[id]/outbound/items/route.d.ts +14 -0
- package/.medusa/server/src/api/admin/exchanges/[id]/outbound/items/route.js +60 -0
- package/.medusa/server/src/api/admin/exchanges/[id]/request/route.d.ts +4 -0
- package/.medusa/server/src/api/admin/exchanges/[id]/request/route.js +75 -0
- package/.medusa/server/src/api/admin/members/validators.d.ts +14 -15
- package/.medusa/server/src/api/admin/middlewares.js +31 -36
- package/.medusa/server/src/api/admin/offers/middlewares.js +3 -1
- package/.medusa/server/src/api/admin/offers/query-config.js +3 -1
- package/.medusa/server/src/api/admin/offers/validators.d.ts +74 -55
- package/.medusa/server/src/api/admin/offers/validators.js +8 -1
- package/.medusa/server/src/api/admin/order-edits/[id]/confirm/route.d.ts +3 -0
- package/.medusa/server/src/api/admin/order-edits/[id]/confirm/route.js +18 -0
- package/.medusa/server/src/api/admin/order-edits/[id]/items/route.d.ts +15 -0
- package/.medusa/server/src/api/admin/order-edits/[id]/items/route.js +46 -0
- package/.medusa/server/src/api/admin/order-groups/helpers.d.ts +2 -0
- package/.medusa/server/src/api/admin/order-groups/helpers.js +53 -0
- package/.medusa/server/src/api/admin/order-groups/middlewares.js +3 -1
- package/.medusa/server/src/api/admin/order-groups/route.js +4 -2
- package/.medusa/server/src/api/admin/order-groups/validators.d.ts +20 -21
- package/.medusa/server/src/api/admin/orders/[id]/commission-lines/route.d.ts +7 -0
- package/.medusa/server/src/api/admin/orders/[id]/commission-lines/route.js +17 -0
- package/.medusa/server/src/api/admin/orders/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/admin/orders/middlewares.js +42 -0
- package/.medusa/server/src/api/admin/orders/resolve-order-seller-id.d.ts +2 -0
- package/.medusa/server/src/api/admin/orders/resolve-order-seller-id.js +15 -0
- package/.medusa/server/src/api/admin/orders/validators.d.ts +1 -287
- package/.medusa/server/src/api/admin/orders/validators.js +9 -29
- package/.medusa/server/src/api/admin/payouts/validators.d.ts +18 -19
- package/.medusa/server/src/api/admin/product-attributes/[id]/route.js +2 -2
- package/.medusa/server/src/api/admin/product-attributes/[id]/values/[value_id]/route.js +2 -2
- package/.medusa/server/src/api/admin/product-attributes/middlewares.js +1 -3
- package/.medusa/server/src/api/admin/product-attributes/query-config.js +4 -1
- package/.medusa/server/src/api/admin/product-attributes/route.d.ts +2 -2
- package/.medusa/server/src/api/admin/product-attributes/route.js +2 -5
- package/.medusa/server/src/api/admin/product-attributes/validators.d.ts +129 -140
- package/.medusa/server/src/api/admin/product-attributes/validators.js +1 -3
- package/.medusa/server/src/api/admin/product-categories/[id]/route.js +8 -11
- package/.medusa/server/src/api/admin/product-categories/query-config.js +7 -1
- package/.medusa/server/src/api/admin/product-categories/route.js +5 -8
- package/.medusa/server/src/api/admin/product-categories/validators.d.ts +153 -93
- package/.medusa/server/src/api/admin/product-categories/validators.js +11 -1
- package/.medusa/server/src/api/admin/product-changes/[id]/cancel/route.d.ts +0 -7
- package/.medusa/server/src/api/admin/product-changes/[id]/cancel/route.js +1 -8
- package/.medusa/server/src/api/admin/product-changes/[id]/confirm/route.d.ts +0 -7
- package/.medusa/server/src/api/admin/product-changes/[id]/confirm/route.js +1 -8
- package/.medusa/server/src/api/admin/products/[id]/attributes/batch/route.js +6 -9
- package/.medusa/server/src/api/admin/products/[id]/confirm/route.d.ts +0 -12
- package/.medusa/server/src/api/admin/products/[id]/confirm/route.js +1 -13
- package/.medusa/server/src/api/admin/products/[id]/preview/route.d.ts +0 -7
- package/.medusa/server/src/api/admin/products/[id]/preview/route.js +1 -8
- package/.medusa/server/src/api/admin/products/[id]/reject/route.d.ts +0 -8
- package/.medusa/server/src/api/admin/products/[id]/reject/route.js +1 -9
- package/.medusa/server/src/api/admin/products/[id]/request-changes/route.d.ts +0 -9
- package/.medusa/server/src/api/admin/products/[id]/request-changes/route.js +1 -10
- package/.medusa/server/src/api/admin/products/[id]/route.js +9 -3
- package/.medusa/server/src/api/admin/products/[id]/sellers/route.d.ts +3 -0
- package/.medusa/server/src/api/admin/products/[id]/sellers/route.js +13 -0
- package/.medusa/server/src/api/admin/products/middlewares.js +6 -42
- package/.medusa/server/src/api/admin/products/query-config.js +41 -16
- package/.medusa/server/src/api/admin/products/route.js +9 -1
- package/.medusa/server/src/api/admin/products/validators.d.ts +558 -1324
- package/.medusa/server/src/api/admin/products/validators.js +59 -93
- package/.medusa/server/src/api/admin/returns/[id]/receive/confirm/route.d.ts +3 -0
- package/.medusa/server/src/api/admin/returns/[id]/receive/confirm/route.js +29 -0
- package/.medusa/server/src/api/admin/sellers/middlewares.js +1 -20
- package/.medusa/server/src/api/admin/sellers/validators.d.ts +75 -96
- package/.medusa/server/src/api/admin/sellers/validators.js +3 -4
- package/.medusa/server/src/api/admin/shipping-options/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/admin/shipping-options/middlewares.js +46 -0
- package/.medusa/server/src/api/admin/shipping-profiles/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/admin/shipping-profiles/middlewares.js +46 -0
- package/.medusa/server/src/api/admin/stock-locations/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/admin/stock-locations/middlewares.js +46 -0
- package/.medusa/server/src/api/store/carts/[id]/complete/route.js +1 -5
- package/.medusa/server/src/api/store/carts/[id]/complete/validators.d.ts +1 -1
- package/.medusa/server/src/api/store/carts/[id]/line-items/route.js +13 -1
- package/.medusa/server/src/api/store/carts/[id]/line-items/validators.d.ts +0 -3
- package/.medusa/server/src/api/store/carts/[id]/line-items/validators.js +1 -2
- package/.medusa/server/src/api/store/carts/[id]/shipping-methods/route.js +6 -2
- package/.medusa/server/src/api/store/middlewares.js +15 -11
- package/.medusa/server/src/api/store/offers/[id]/route.d.ts +3 -0
- package/.medusa/server/src/api/store/offers/[id]/route.js +28 -0
- package/.medusa/server/src/api/store/offers/helpers.d.ts +43 -0
- package/.medusa/server/src/api/store/offers/helpers.js +191 -0
- package/.medusa/server/src/api/store/offers/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/store/offers/middlewares.js +64 -0
- package/.medusa/server/src/api/store/offers/query-config.d.ts +12 -0
- package/.medusa/server/src/api/store/offers/query-config.js +50 -0
- package/.medusa/server/src/api/store/offers/route.d.ts +3 -0
- package/.medusa/server/src/api/store/offers/route.js +30 -0
- package/.medusa/server/src/api/store/offers/validators.d.ts +158 -0
- package/.medusa/server/src/api/store/offers/validators.js +29 -0
- package/.medusa/server/src/api/store/order-groups/validators.d.ts +16 -17
- package/.medusa/server/src/api/store/product-attributes/validators.d.ts +50 -46
- package/.medusa/server/src/api/store/product-categories/validators.d.ts +59 -53
- package/.medusa/server/src/api/store/products/[id]/route.js +9 -5
- package/.medusa/server/src/api/store/products/helpers.d.ts +10 -0
- package/.medusa/server/src/api/store/products/helpers.js +20 -0
- package/.medusa/server/src/api/store/products/middlewares.js +37 -24
- package/.medusa/server/src/api/store/products/query-config.js +23 -7
- package/.medusa/server/src/api/store/products/route.js +9 -1
- package/.medusa/server/src/api/store/products/validators.d.ts +69 -65
- package/.medusa/server/src/api/store/search/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/store/search/middlewares.js +73 -0
- package/.medusa/server/src/api/store/search/route.d.ts +8 -0
- package/.medusa/server/src/api/store/search/route.js +25 -0
- package/.medusa/server/src/api/store/search/validators.d.ts +27 -0
- package/.medusa/server/src/api/store/search/validators.js +17 -0
- package/.medusa/server/src/api/store/sellers/validators.d.ts +35 -34
- package/.medusa/server/src/api/utils/filter-attributes-by-category-link.d.ts +0 -15
- package/.medusa/server/src/api/utils/filter-attributes-by-category-link.js +22 -26
- package/.medusa/server/src/api/utils/format-product-attributes.d.ts +5 -50
- package/.medusa/server/src/api/utils/format-product-attributes.js +90 -166
- package/.medusa/server/src/api/utils/index.d.ts +2 -0
- package/.medusa/server/src/api/utils/index.js +3 -1
- package/.medusa/server/src/api/utils/offers.d.ts +50 -0
- package/.medusa/server/src/api/utils/offers.js +286 -0
- package/.medusa/server/src/api/utils/order-commission-lines.d.ts +11 -0
- package/.medusa/server/src/api/utils/order-commission-lines.js +71 -0
- package/.medusa/server/src/api/utils/product-attribute-fields.d.ts +5 -0
- package/.medusa/server/src/api/utils/product-attribute-fields.js +35 -0
- package/.medusa/server/src/api/utils/sellers.d.ts +2 -0
- package/.medusa/server/src/api/utils/sellers.js +23 -0
- package/.medusa/server/src/api/vendor/campaigns/validators.d.ts +14 -15
- package/.medusa/server/src/api/vendor/claims/[id]/outbound/items/route.d.ts +0 -6
- package/.medusa/server/src/api/vendor/claims/[id]/outbound/items/route.js +1 -7
- package/.medusa/server/src/api/vendor/claims/[id]/request/route.js +1 -4
- package/.medusa/server/src/api/vendor/claims/validators.d.ts +32 -33
- package/.medusa/server/src/api/vendor/collections/query-config.js +7 -1
- package/.medusa/server/src/api/vendor/collections/validators.d.ts +22 -23
- package/.medusa/server/src/api/vendor/currencies/validators.d.ts +14 -15
- package/.medusa/server/src/api/vendor/customer-groups/[id]/customers/route.d.ts +4 -0
- package/.medusa/server/src/api/vendor/customer-groups/[id]/customers/route.js +20 -0
- package/.medusa/server/src/api/vendor/customer-groups/[id]/route.d.ts +6 -0
- package/.medusa/server/src/api/vendor/customer-groups/[id]/route.js +43 -0
- package/.medusa/server/src/api/vendor/customer-groups/helpers.d.ts +3 -0
- package/.medusa/server/src/api/vendor/customer-groups/helpers.js +38 -0
- package/.medusa/server/src/api/vendor/customer-groups/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/customer-groups/middlewares.js +62 -0
- package/.medusa/server/src/api/vendor/customer-groups/query-config.d.ts +11 -0
- package/.medusa/server/src/api/vendor/customer-groups/query-config.js +22 -0
- package/.medusa/server/src/api/vendor/customer-groups/route.d.ts +5 -0
- package/.medusa/server/src/api/vendor/customer-groups/route.js +35 -0
- package/.medusa/server/src/api/vendor/customer-groups/validators.d.ts +156 -0
- package/.medusa/server/src/api/vendor/customer-groups/validators.js +35 -0
- package/.medusa/server/src/api/vendor/customers/[id]/customer-groups/route.d.ts +4 -0
- package/.medusa/server/src/api/vendor/customers/[id]/customer-groups/route.js +27 -0
- package/.medusa/server/src/api/vendor/customers/[id]/route.js +13 -1
- package/.medusa/server/src/api/vendor/customers/middlewares.js +9 -1
- package/.medusa/server/src/api/vendor/customers/validators.d.ts +47 -32
- package/.medusa/server/src/api/vendor/customers/validators.js +9 -2
- package/.medusa/server/src/api/vendor/exchanges/[id]/outbound/items/route.d.ts +0 -6
- package/.medusa/server/src/api/vendor/exchanges/[id]/outbound/items/route.js +1 -7
- package/.medusa/server/src/api/vendor/exchanges/[id]/request/route.js +1 -4
- package/.medusa/server/src/api/vendor/exchanges/validators.d.ts +29 -30
- package/.medusa/server/src/api/vendor/fulfillment-providers/validators.d.ts +24 -23
- package/.medusa/server/src/api/vendor/fulfillment-sets/validators.d.ts +18 -18
- package/.medusa/server/src/api/vendor/inventory-items/validators.d.ts +104 -110
- package/.medusa/server/src/api/vendor/middlewares.js +17 -17
- package/.medusa/server/src/api/vendor/offers/query-config.js +2 -1
- package/.medusa/server/src/api/vendor/offers/validators.d.ts +54 -59
- package/.medusa/server/src/api/vendor/offers/validators.js +4 -8
- package/.medusa/server/src/api/vendor/order-edits/[id]/confirm/route.d.ts +0 -6
- package/.medusa/server/src/api/vendor/order-edits/[id]/confirm/route.js +3 -9
- package/.medusa/server/src/api/vendor/order-edits/[id]/items/[action_id]/route.d.ts +0 -9
- package/.medusa/server/src/api/vendor/order-edits/[id]/items/[action_id]/route.js +1 -10
- package/.medusa/server/src/api/vendor/order-edits/[id]/items/item/[item_id]/route.d.ts +0 -6
- package/.medusa/server/src/api/vendor/order-edits/[id]/items/item/[item_id]/route.js +1 -7
- package/.medusa/server/src/api/vendor/order-edits/[id]/items/route.d.ts +0 -12
- package/.medusa/server/src/api/vendor/order-edits/[id]/items/route.js +1 -13
- package/.medusa/server/src/api/vendor/order-edits/[id]/request/route.d.ts +0 -7
- package/.medusa/server/src/api/vendor/order-edits/[id]/request/route.js +1 -8
- package/.medusa/server/src/api/vendor/order-edits/[id]/route.d.ts +0 -7
- package/.medusa/server/src/api/vendor/order-edits/[id]/route.js +1 -8
- package/.medusa/server/src/api/vendor/order-edits/[id]/shipping-method/[action_id]/route.d.ts +0 -9
- package/.medusa/server/src/api/vendor/order-edits/[id]/shipping-method/[action_id]/route.js +1 -10
- package/.medusa/server/src/api/vendor/order-edits/[id]/shipping-method/route.d.ts +0 -5
- package/.medusa/server/src/api/vendor/order-edits/[id]/shipping-method/route.js +1 -6
- package/.medusa/server/src/api/vendor/order-edits/middlewares.js +1 -13
- package/.medusa/server/src/api/vendor/order-edits/route.d.ts +0 -6
- package/.medusa/server/src/api/vendor/order-edits/route.js +1 -7
- package/.medusa/server/src/api/vendor/order-edits/validators.d.ts +12 -18
- package/.medusa/server/src/api/vendor/order-edits/validators.js +1 -1
- package/.medusa/server/src/api/vendor/orders/[id]/commission-lines/route.d.ts +7 -0
- package/.medusa/server/src/api/vendor/orders/[id]/commission-lines/route.js +18 -0
- package/.medusa/server/src/api/vendor/orders/middlewares.js +1 -3
- package/.medusa/server/src/api/vendor/orders/resolve-offer-items.d.ts +2 -13
- package/.medusa/server/src/api/vendor/orders/resolve-offer-items.js +11 -2
- package/.medusa/server/src/api/vendor/orders/validators.d.ts +21 -25
- package/.medusa/server/src/api/vendor/orders/validators.js +1 -7
- package/.medusa/server/src/api/vendor/payments/helpers.d.ts +0 -9
- package/.medusa/server/src/api/vendor/payments/helpers.js +1 -10
- package/.medusa/server/src/api/vendor/payments/validators.d.ts +38 -38
- package/.medusa/server/src/api/vendor/payout-accounts/validators.d.ts +11 -12
- package/.medusa/server/src/api/vendor/payouts/validators.d.ts +18 -19
- package/.medusa/server/src/api/vendor/price-lists/validators.d.ts +38 -40
- package/.medusa/server/src/api/vendor/price-preferences/validators.d.ts +14 -15
- package/.medusa/server/src/api/vendor/product-attributes/query-config.js +4 -2
- package/.medusa/server/src/api/vendor/product-attributes/route.js +1 -3
- package/.medusa/server/src/api/vendor/product-attributes/validators.d.ts +92 -104
- package/.medusa/server/src/api/vendor/product-attributes/validators.js +1 -1
- package/.medusa/server/src/api/vendor/product-categories/[id]/products/route.js +2 -2
- package/.medusa/server/src/api/vendor/product-categories/query-config.js +7 -1
- package/.medusa/server/src/api/vendor/product-categories/validators.d.ts +89 -83
- package/.medusa/server/src/api/vendor/product-tags/validators.d.ts +2 -2
- package/.medusa/server/src/api/vendor/product-types/validators.d.ts +14 -15
- package/.medusa/server/src/api/vendor/product-variants/middlewares.js +11 -19
- package/.medusa/server/src/api/vendor/product-variants/query-config.js +1 -3
- package/.medusa/server/src/api/vendor/product-variants/validators.d.ts +103 -97
- package/.medusa/server/src/api/vendor/products/[id]/attributes/batch/route.d.ts +2 -9
- package/.medusa/server/src/api/vendor/products/[id]/attributes/batch/route.js +3 -27
- package/.medusa/server/src/api/vendor/products/[id]/cancel/route.d.ts +0 -6
- package/.medusa/server/src/api/vendor/products/[id]/cancel/route.js +1 -7
- package/.medusa/server/src/api/vendor/products/[id]/preview/route.d.ts +0 -9
- package/.medusa/server/src/api/vendor/products/[id]/preview/route.js +1 -10
- package/.medusa/server/src/api/vendor/products/[id]/route.d.ts +0 -14
- package/.medusa/server/src/api/vendor/products/[id]/route.js +10 -17
- package/.medusa/server/src/api/vendor/products/[id]/variants/[variant_id]/route.d.ts +0 -8
- package/.medusa/server/src/api/vendor/products/[id]/variants/[variant_id]/route.js +3 -11
- package/.medusa/server/src/api/vendor/products/[id]/variants/route.d.ts +0 -7
- package/.medusa/server/src/api/vendor/products/[id]/variants/route.js +2 -9
- package/.medusa/server/src/api/vendor/products/helpers.d.ts +6 -5
- package/.medusa/server/src/api/vendor/products/helpers.js +54 -10
- package/.medusa/server/src/api/vendor/products/middlewares.js +14 -63
- package/.medusa/server/src/api/vendor/products/query-config.js +52 -15
- package/.medusa/server/src/api/vendor/products/route.d.ts +0 -9
- package/.medusa/server/src/api/vendor/products/route.js +14 -17
- package/.medusa/server/src/api/vendor/products/validators.d.ts +436 -838
- package/.medusa/server/src/api/vendor/products/validators.js +65 -103
- package/.medusa/server/src/api/vendor/promotions/validators.d.ts +47 -49
- package/.medusa/server/src/api/vendor/refund-reasons/validators.d.ts +18 -19
- package/.medusa/server/src/api/vendor/regions/validators.d.ts +20 -21
- package/.medusa/server/src/api/vendor/reservations/[id]/route.js +1 -1
- package/.medusa/server/src/api/vendor/reservations/helpers.js +1 -4
- package/.medusa/server/src/api/vendor/reservations/middlewares.js +1 -18
- package/.medusa/server/src/api/vendor/reservations/query-config.js +1 -4
- package/.medusa/server/src/api/vendor/reservations/route.js +1 -1
- package/.medusa/server/src/api/vendor/reservations/validators.d.ts +24 -25
- package/.medusa/server/src/api/vendor/reservations/validators.js +1 -1
- package/.medusa/server/src/api/vendor/return-reasons/validators.d.ts +18 -19
- package/.medusa/server/src/api/vendor/returns/validators.d.ts +25 -26
- package/.medusa/server/src/api/vendor/sales-channels/[id]/products/route.js +2 -1
- package/.medusa/server/src/api/vendor/sales-channels/helpers.d.ts +1 -0
- package/.medusa/server/src/api/vendor/sales-channels/helpers.js +25 -2
- package/.medusa/server/src/api/vendor/sales-channels/validators.d.ts +25 -24
- package/.medusa/server/src/api/vendor/sellers/middlewares.js +1 -18
- package/.medusa/server/src/api/vendor/sellers/route.js +6 -2
- package/.medusa/server/src/api/vendor/sellers/validators.d.ts +25 -46
- package/.medusa/server/src/api/vendor/sellers/validators.js +2 -2
- package/.medusa/server/src/api/vendor/shipping-option-types/validators.d.ts +18 -19
- package/.medusa/server/src/api/vendor/shipping-options/validators.d.ts +97 -98
- package/.medusa/server/src/api/vendor/shipping-profiles/validators.d.ts +20 -21
- package/.medusa/server/src/api/vendor/stock-locations/validators.d.ts +18 -19
- package/.medusa/server/src/api/vendor/stores/validators.d.ts +14 -15
- package/.medusa/server/src/links/media-product-category-link.d.ts +20 -0
- package/.medusa/server/src/links/media-product-category-link.js +34 -0
- package/.medusa/server/src/links/media-product-collection-link.d.ts +18 -0
- package/.medusa/server/src/links/media-product-collection-link.js +32 -0
- package/.medusa/server/src/links/offer-product-link.js +15 -0
- package/.medusa/server/src/links/product-attribute-category-link.d.ts +0 -14
- package/.medusa/server/src/links/product-attribute-category-link.js +4 -21
- package/.medusa/server/src/links/product-attribute-option-mirror-link.d.ts +6 -0
- package/.medusa/server/src/links/product-attribute-option-mirror-link.js +24 -0
- package/.medusa/server/src/links/product-attribute-product-link.d.ts +0 -5
- package/.medusa/server/src/links/product-attribute-product-link.js +2 -7
- package/.medusa/server/src/links/product-attribute-value-option-value-mirror-link.d.ts +6 -0
- package/.medusa/server/src/links/product-attribute-value-option-value-mirror-link.js +24 -0
- package/.medusa/server/src/links/{product-variant-attribute-value-link.d.ts → product-attribute-value-pivot-link.d.ts} +3 -0
- package/.medusa/server/src/links/product-attribute-value-pivot-link.js +23 -0
- package/.medusa/server/src/links/seller-customer-group-link.js +15 -0
- package/.medusa/server/src/migration-scripts/drop-fulfillment-global-unique-indexes.js +6 -1
- package/.medusa/server/src/migration-scripts/rename-default-store.d.ts +2 -0
- package/.medusa/server/src/migration-scripts/rename-default-store.js +12 -0
- package/.medusa/server/src/modules/commission/index.d.ts +14 -0
- package/.medusa/server/src/modules/commission/index.js +3 -1
- package/.medusa/server/src/modules/commission/loaders/seed-default-commission-rate.d.ts +11 -0
- package/.medusa/server/src/modules/commission/loaders/seed-default-commission-rate.js +35 -0
- package/.medusa/server/src/modules/commission/migrations/Migration20260615120000.d.ts +5 -0
- package/.medusa/server/src/modules/commission/migrations/Migration20260615120000.js +46 -0
- package/.medusa/server/src/modules/commission/models/commission-line.d.ts +2 -1
- package/.medusa/server/src/modules/commission/models/commission-line.js +3 -2
- package/.medusa/server/src/modules/commission/models/commission-rate-value.d.ts +25 -0
- package/.medusa/server/src/modules/commission/models/commission-rate-value.js +17 -0
- package/.medusa/server/src/modules/commission/models/commission-rate.d.ts +9 -4
- package/.medusa/server/src/modules/commission/models/commission-rate.js +9 -6
- package/.medusa/server/src/modules/commission/models/commission-rule.d.ts +8 -3
- package/.medusa/server/src/modules/commission/models/index.d.ts +1 -0
- package/.medusa/server/src/modules/commission/models/index.js +4 -2
- package/.medusa/server/src/modules/commission/service.d.ts +170 -10
- package/.medusa/server/src/modules/commission/service.js +270 -114
- package/.medusa/server/src/modules/media/index.d.ts +21 -0
- package/.medusa/server/src/modules/media/index.js +12 -0
- package/.medusa/server/src/modules/media/migrations/Migration20260616000000.d.ts +5 -0
- package/.medusa/server/src/modules/media/migrations/Migration20260616000000.js +16 -0
- package/.medusa/server/src/modules/media/models/index.d.ts +1 -0
- package/.medusa/server/src/modules/media/models/index.js +9 -0
- package/.medusa/server/src/modules/media/models/media-image.d.ts +32 -0
- package/.medusa/server/src/modules/media/models/media-image.js +41 -0
- package/.medusa/server/src/modules/media/service.d.ts +17 -0
- package/.medusa/server/src/modules/media/service.js +10 -0
- package/.medusa/server/src/modules/offer/migrations/Migration20260622000000.d.ts +5 -0
- package/.medusa/server/src/modules/offer/migrations/Migration20260622000000.js +16 -0
- package/.medusa/server/src/modules/offer/models/offer.d.ts +2 -0
- package/.medusa/server/src/modules/offer/models/offer.js +8 -1
- package/.medusa/server/src/modules/offer/service.d.ts +10 -0
- package/.medusa/server/src/modules/offer/service.js +100 -1
- package/.medusa/server/src/modules/product-attribute/migrations/Migration20260601000002.d.ts +14 -0
- package/.medusa/server/src/modules/product-attribute/migrations/Migration20260601000002.js +31 -0
- package/.medusa/server/src/modules/product-attribute/models/product-attribute-value.d.ts +2 -0
- package/.medusa/server/src/modules/product-attribute/models/product-attribute-value.js +2 -1
- package/.medusa/server/src/modules/product-attribute/models/product-attribute.d.ts +2 -0
- package/.medusa/server/src/modules/product-attribute/models/product-attribute.js +2 -1
- package/.medusa/server/src/modules/product-attribute/service.d.ts +18 -3
- package/.medusa/server/src/modules/product-attribute/service.js +213 -1
- package/.medusa/server/src/modules/search/abstract-search-provider.d.ts +9 -0
- package/.medusa/server/src/modules/search/abstract-search-provider.js +20 -0
- package/.medusa/server/src/modules/search/index.d.ts +10 -0
- package/.medusa/server/src/modules/search/index.js +31 -0
- package/.medusa/server/src/modules/search/lib/build-docs.d.ts +84 -0
- package/.medusa/server/src/modules/search/lib/build-docs.js +207 -0
- package/.medusa/server/src/modules/search/lib/reindex.d.ts +7 -0
- package/.medusa/server/src/modules/search/lib/reindex.js +61 -0
- package/.medusa/server/src/modules/search/lib/sync.d.ts +9 -0
- package/.medusa/server/src/modules/search/lib/sync.js +73 -0
- package/.medusa/server/src/modules/search/loaders/providers.d.ts +5 -0
- package/.medusa/server/src/modules/search/loaders/providers.js +26 -0
- package/.medusa/server/src/modules/search/providers/index.d.ts +1 -0
- package/.medusa/server/src/modules/search/providers/index.js +6 -0
- package/.medusa/server/src/modules/search/providers/orama/index.d.ts +4 -0
- package/.medusa/server/src/modules/search/providers/orama/index.js +12 -0
- package/.medusa/server/src/modules/search/providers/orama/service.d.ts +19 -0
- package/.medusa/server/src/modules/search/providers/orama/service.js +148 -0
- package/.medusa/server/src/modules/search/providers/orama/types.d.ts +10 -0
- package/.medusa/server/src/modules/search/providers/orama/types.js +3 -0
- package/.medusa/server/src/modules/search/services/index.d.ts +2 -0
- package/.medusa/server/src/modules/search/services/index.js +24 -0
- package/.medusa/server/src/modules/search/services/search-module-service.d.ts +25 -0
- package/.medusa/server/src/modules/search/services/search-module-service.js +60 -0
- package/.medusa/server/src/modules/search/services/search-provider-service.d.ts +15 -0
- package/.medusa/server/src/modules/search/services/search-provider-service.js +30 -0
- package/.medusa/server/src/modules/seller/migrations/Migration20260616120000.d.ts +5 -0
- package/.medusa/server/src/modules/seller/migrations/Migration20260616120000.js +16 -0
- package/.medusa/server/src/modules/seller/models/address.d.ts +2 -2
- package/.medusa/server/src/modules/seller/models/member-invite.d.ts +2 -2
- package/.medusa/server/src/modules/seller/models/member.d.ts +2 -2
- package/.medusa/server/src/modules/seller/models/payment-details.d.ts +2 -2
- package/.medusa/server/src/modules/seller/models/payment-details.js +3 -3
- package/.medusa/server/src/modules/seller/models/professional-details.d.ts +2 -2
- package/.medusa/server/src/modules/seller/models/seller-member.d.ts +4 -4
- package/.medusa/server/src/modules/seller/models/seller.d.ts +2 -2
- package/.medusa/server/src/modules/seller/repositories/order-group.js +1 -11
- package/.medusa/server/src/modules/seller/service.d.ts +16 -16
- package/.medusa/server/src/modules/seller/service.js +1 -2
- package/.medusa/server/src/subscribers/order-edit-confirmed.d.ts +9 -2
- package/.medusa/server/src/subscribers/order-edit-confirmed.js +18 -6
- package/.medusa/server/src/subscribers/search-offer-changed.d.ts +6 -0
- package/.medusa/server/src/subscribers/search-offer-changed.js +34 -0
- package/.medusa/server/src/subscribers/search-product-changed.d.ts +5 -0
- package/.medusa/server/src/subscribers/search-product-changed.js +29 -0
- package/.medusa/server/src/subscribers/search-product-deleted.d.ts +5 -0
- package/.medusa/server/src/subscribers/search-product-deleted.js +23 -0
- package/.medusa/server/src/subscribers/search-reindex.d.ts +3 -0
- package/.medusa/server/src/subscribers/search-reindex.js +23 -0
- package/.medusa/server/src/subscribers/search-seller-changed.d.ts +5 -0
- package/.medusa/server/src/subscribers/search-seller-changed.js +44 -0
- package/.medusa/server/src/utils/dashboard/dashboard-base.js +6 -2
- package/.medusa/server/src/utils/disable-medusa-middlewares.js +7 -1
- package/.medusa/server/src/workflows/cart/hooks/validate.js +1 -12
- package/.medusa/server/src/workflows/cart/steps/prepare-adjustments-from-promotion-actions.js +3 -5
- package/.medusa/server/src/workflows/cart/utils/fields.js +1 -13
- package/.medusa/server/src/workflows/cart/utils/prepare-line-item-data.js +1 -3
- package/.medusa/server/src/workflows/cart/workflows/add-seller-shipping-method-to-cart.js +1 -2
- package/.medusa/server/src/workflows/cart/workflows/complete-cart-with-split-orders.js +1 -24
- package/.medusa/server/src/workflows/cart/workflows/list-seller-shipping-options-for-cart.d.ts +2 -2
- package/.medusa/server/src/workflows/cart/workflows/list-seller-shipping-options-for-cart.js +1 -2
- package/.medusa/server/src/workflows/commission/steps/create-commission-rates.d.ts +1 -28
- package/.medusa/server/src/workflows/commission/steps/create-commission-rules.d.ts +13 -4
- package/.medusa/server/src/workflows/commission/steps/index.d.ts +1 -0
- package/.medusa/server/src/workflows/commission/steps/index.js +2 -1
- package/.medusa/server/src/workflows/commission/steps/update-commission-rates.d.ts +13 -4
- package/.medusa/server/src/workflows/commission/steps/update-commission-rules.d.ts +13 -4
- package/.medusa/server/src/workflows/commission/steps/upsert-commission-lines.d.ts +2 -2
- package/.medusa/server/src/workflows/commission/steps/upsert-commission-lines.js +1 -1
- package/.medusa/server/src/workflows/commission/steps/validate-commission-rates-deletable.d.ts +2 -0
- package/.medusa/server/src/workflows/commission/steps/validate-commission-rates-deletable.js +19 -0
- package/.medusa/server/src/workflows/commission/workflows/create-commission-rates.d.ts +1 -28
- package/.medusa/server/src/workflows/commission/workflows/delete-commission-rates.d.ts +1 -2
- package/.medusa/server/src/workflows/commission/workflows/delete-commission-rates.js +3 -1
- package/.medusa/server/src/workflows/commission/workflows/refresh-order-commission-lines.js +2 -1
- package/.medusa/server/src/workflows/commission/workflows/update-commission-rates.d.ts +13 -4
- package/.medusa/server/src/workflows/customer-group/index.d.ts +2 -0
- package/.medusa/server/src/workflows/customer-group/index.js +19 -0
- package/.medusa/server/src/workflows/customer-group/steps/index.d.ts +1 -0
- package/.medusa/server/src/workflows/customer-group/steps/index.js +18 -0
- package/.medusa/server/src/workflows/customer-group/steps/link-seller-customer-group.d.ts +6 -0
- package/.medusa/server/src/workflows/customer-group/steps/link-seller-customer-group.js +38 -0
- package/.medusa/server/src/workflows/customer-group/workflows/create-seller-customer-groups.d.ts +7 -0
- package/.medusa/server/src/workflows/customer-group/workflows/create-seller-customer-groups.js +20 -0
- package/.medusa/server/src/workflows/customer-group/workflows/index.d.ts +1 -0
- package/.medusa/server/src/workflows/customer-group/workflows/index.js +18 -0
- package/.medusa/server/src/workflows/index.d.ts +2 -0
- package/.medusa/server/src/workflows/index.js +3 -1
- package/.medusa/server/src/workflows/media/index.d.ts +2 -0
- package/.medusa/server/src/workflows/media/index.js +19 -0
- package/.medusa/server/src/workflows/media/steps/create-images.d.ts +20 -0
- package/.medusa/server/src/workflows/media/steps/create-images.js +21 -0
- package/.medusa/server/src/workflows/media/steps/delete-images.d.ts +3 -0
- package/.medusa/server/src/workflows/media/steps/delete-images.js +21 -0
- package/.medusa/server/src/workflows/media/steps/index.d.ts +2 -0
- package/.medusa/server/src/workflows/media/steps/index.js +19 -0
- package/.medusa/server/src/workflows/media/workflows/create-product-category-with-images.d.ts +8 -0
- package/.medusa/server/src/workflows/media/workflows/create-product-category-with-images.js +23 -0
- package/.medusa/server/src/workflows/media/workflows/create-product-collection-with-images.d.ts +8 -0
- package/.medusa/server/src/workflows/media/workflows/create-product-collection-with-images.js +23 -0
- package/.medusa/server/src/workflows/media/workflows/delete-product-category-with-images.d.ts +5 -0
- package/.medusa/server/src/workflows/media/workflows/delete-product-category-with-images.js +21 -0
- package/.medusa/server/src/workflows/media/workflows/delete-product-collection-with-images.d.ts +5 -0
- package/.medusa/server/src/workflows/media/workflows/delete-product-collection-with-images.js +21 -0
- package/.medusa/server/src/workflows/media/workflows/index.d.ts +8 -0
- package/.medusa/server/src/workflows/media/workflows/index.js +25 -0
- package/.medusa/server/src/workflows/media/workflows/set-category-images.d.ts +13 -0
- package/.medusa/server/src/workflows/media/workflows/set-category-images.js +71 -0
- package/.medusa/server/src/workflows/media/workflows/set-collection-images.d.ts +13 -0
- package/.medusa/server/src/workflows/media/workflows/set-collection-images.js +71 -0
- package/.medusa/server/src/workflows/media/workflows/update-product-category-with-images.d.ts +9 -0
- package/.medusa/server/src/workflows/media/workflows/update-product-category-with-images.js +22 -0
- package/.medusa/server/src/workflows/media/workflows/update-product-collection-with-images.d.ts +9 -0
- package/.medusa/server/src/workflows/media/workflows/update-product-collection-with-images.js +22 -0
- package/.medusa/server/src/workflows/offer/steps/add-offer-prices.d.ts +0 -12
- package/.medusa/server/src/workflows/offer/steps/add-offer-prices.js +1 -16
- package/.medusa/server/src/workflows/offer/steps/create-offers.d.ts +2 -0
- package/.medusa/server/src/workflows/offer/steps/ensure-variant-price-sets.d.ts +0 -9
- package/.medusa/server/src/workflows/offer/steps/ensure-variant-price-sets.js +1 -10
- package/.medusa/server/src/workflows/offer/steps/update-offers.d.ts +2 -5
- package/.medusa/server/src/workflows/offer/steps/update-offers.js +1 -1
- package/.medusa/server/src/workflows/offer/utils/assert-offer-price-ownership.d.ts +0 -11
- package/.medusa/server/src/workflows/offer/utils/assert-offer-price-ownership.js +1 -12
- package/.medusa/server/src/workflows/offer/utils/prepare-offer-inventory-input.d.ts +0 -10
- package/.medusa/server/src/workflows/offer/utils/prepare-offer-inventory-input.js +1 -19
- package/.medusa/server/src/workflows/offer/workflows/create-offers.js +4 -16
- package/.medusa/server/src/workflows/offer/workflows/delete-offers.js +7 -2
- package/.medusa/server/src/workflows/offer/workflows/update-offers.d.ts +0 -11
- package/.medusa/server/src/workflows/offer/workflows/update-offers.js +2 -23
- package/.medusa/server/src/workflows/order/workflows/cancel-order-fulfillment.d.ts +1 -2
- package/.medusa/server/src/workflows/order/workflows/cancel-order-fulfillment.js +1 -2
- package/.medusa/server/src/workflows/order/workflows/confirm-claim-request.js +1 -3
- package/.medusa/server/src/workflows/order/workflows/confirm-exchange-request.js +1 -8
- package/.medusa/server/src/workflows/order/workflows/confirm-order-edit-request.d.ts +7 -0
- package/.medusa/server/src/workflows/order/workflows/confirm-order-edit-request.js +165 -0
- package/.medusa/server/src/workflows/order/workflows/confirm-return-receive.js +1 -9
- package/.medusa/server/src/workflows/order/workflows/create-order-fulfillment.js +2 -3
- package/.medusa/server/src/workflows/order/workflows/index.d.ts +1 -0
- package/.medusa/server/src/workflows/order/workflows/index.js +2 -1
- package/.medusa/server/src/workflows/order-group/utils/aggregate-status.js +1 -7
- package/.medusa/server/src/workflows/order-group/workflows/get-order-groups-list.d.ts +1 -0
- package/.medusa/server/src/workflows/order-group/workflows/get-order-groups-list.js +11 -2
- package/.medusa/server/src/workflows/payout/workflows/create-payout.js +34 -21
- package/.medusa/server/src/workflows/product/events.d.ts +0 -6
- package/.medusa/server/src/workflows/product/events.js +1 -7
- package/.medusa/server/src/workflows/product/steps/index.d.ts +0 -2
- package/.medusa/server/src/workflows/product/steps/index.js +1 -3
- package/.medusa/server/src/workflows/product/steps/validate-products-status.d.ts +0 -8
- package/.medusa/server/src/workflows/product/steps/validate-products-status.js +1 -9
- package/.medusa/server/src/workflows/product/steps/validate-seller-product-permissions.js +1 -3
- package/.medusa/server/src/workflows/product/workflows/confirm-products.d.ts +0 -16
- package/.medusa/server/src/workflows/product/workflows/confirm-products.js +1 -13
- package/.medusa/server/src/workflows/product/workflows/create-products.d.ts +4 -52
- package/.medusa/server/src/workflows/product/workflows/create-products.js +69 -158
- package/.medusa/server/src/workflows/product/workflows/index.d.ts +0 -1
- package/.medusa/server/src/workflows/product/workflows/index.js +1 -2
- package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product-category.d.ts +0 -7
- package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product-category.js +1 -1
- package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product.d.ts +0 -7
- package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product.js +1 -1
- package/.medusa/server/src/workflows/product/workflows/reject-product.d.ts +0 -7
- package/.medusa/server/src/workflows/product/workflows/reject-product.js +1 -8
- package/.medusa/server/src/workflows/product/workflows/request-product-change.d.ts +0 -14
- package/.medusa/server/src/workflows/product/workflows/request-product-change.js +1 -15
- package/.medusa/server/src/workflows/product-attribute/events.d.ts +0 -9
- package/.medusa/server/src/workflows/product-attribute/events.js +1 -10
- package/.medusa/server/src/workflows/product-attribute/steps/create-product-attribute-values.d.ts +1 -31
- package/.medusa/server/src/workflows/product-attribute/steps/create-product-attributes.d.ts +1 -41
- package/.medusa/server/src/workflows/product-attribute/steps/create-product-attributes.js +1 -1
- package/.medusa/server/src/workflows/product-attribute/steps/detach-product-option-values-from-product.d.ts +14 -0
- package/.medusa/server/src/workflows/product-attribute/steps/detach-product-option-values-from-product.js +40 -0
- package/.medusa/server/src/workflows/product-attribute/steps/index.d.ts +3 -4
- package/.medusa/server/src/workflows/product-attribute/steps/index.js +4 -5
- package/.medusa/server/src/workflows/product-attribute/steps/update-product-attribute-values.d.ts +6 -3
- package/.medusa/server/src/workflows/product-attribute/steps/update-product-attribute-values.js +17 -2
- package/.medusa/server/src/workflows/product-attribute/steps/update-product-attributes.d.ts +1 -31
- package/.medusa/server/src/workflows/product-attribute/steps/validate-product-attributes-not-linked.d.ts +2 -0
- package/.medusa/server/src/workflows/product-attribute/steps/validate-product-attributes-not-linked.js +28 -0
- package/.medusa/server/src/workflows/product-attribute/steps/validate-product-attributes-not-required.d.ts +7 -0
- package/.medusa/server/src/workflows/product-attribute/steps/validate-product-attributes-not-required.js +16 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/add-product-attributes-to-product.d.ts +9 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/add-product-attributes-to-product.js +242 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/create-and-link-product-attributes.d.ts +14 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/create-and-link-product-attributes.js +27 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/create-product-attribute-values.js +44 -3
- package/.medusa/server/src/workflows/product-attribute/workflows/create-product-attributes.js +41 -17
- package/.medusa/server/src/workflows/product-attribute/workflows/delete-product-attribute-values.js +36 -15
- package/.medusa/server/src/workflows/product-attribute/workflows/delete-product-attributes.d.ts +0 -7
- package/.medusa/server/src/workflows/product-attribute/workflows/delete-product-attributes.js +11 -8
- package/.medusa/server/src/workflows/product-attribute/workflows/index.d.ts +4 -6
- package/.medusa/server/src/workflows/product-attribute/workflows/index.js +5 -7
- package/.medusa/server/src/workflows/product-attribute/workflows/remove-product-attributes-from-product.d.ts +10 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/remove-product-attributes-from-product.js +83 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attribute-values.js +34 -1
- package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attributes-on-product.d.ts +11 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attributes-on-product.js +285 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attributes.js +15 -1
- package/.medusa/server/src/workflows/product-attribute/workflows/upsert-product-attribute-values.d.ts +4 -11
- package/.medusa/server/src/workflows/product-attribute/workflows/upsert-product-attribute-values.js +19 -19
- package/.medusa/server/src/workflows/product-edit/events.d.ts +0 -7
- package/.medusa/server/src/workflows/product-edit/events.js +1 -8
- package/.medusa/server/src/workflows/product-edit/steps/apply-variant-image-links.d.ts +16 -0
- package/.medusa/server/src/workflows/product-edit/steps/apply-variant-image-links.js +35 -0
- package/.medusa/server/src/workflows/product-edit/steps/confirm-product-change-validation.d.ts +0 -4
- package/.medusa/server/src/workflows/product-edit/steps/confirm-product-change-validation.js +1 -5
- package/.medusa/server/src/workflows/product-edit/steps/confirm-product-changes.d.ts +0 -6
- package/.medusa/server/src/workflows/product-edit/steps/confirm-product-changes.js +1 -7
- package/.medusa/server/src/workflows/product-edit/steps/create-product-change-actions.d.ts +0 -5
- package/.medusa/server/src/workflows/product-edit/steps/create-product-change-actions.js +1 -6
- package/.medusa/server/src/workflows/product-edit/steps/create-product-changes.d.ts +0 -6
- package/.medusa/server/src/workflows/product-edit/steps/create-product-changes.js +1 -1
- package/.medusa/server/src/workflows/product-edit/steps/decline-product-change.d.ts +0 -5
- package/.medusa/server/src/workflows/product-edit/steps/decline-product-change.js +1 -6
- package/.medusa/server/src/workflows/product-edit/steps/index.d.ts +1 -0
- package/.medusa/server/src/workflows/product-edit/steps/index.js +2 -1
- package/.medusa/server/src/workflows/product-edit/steps/update-product-change-actions.d.ts +0 -5
- package/.medusa/server/src/workflows/product-edit/steps/update-product-change-actions.js +1 -6
- package/.medusa/server/src/workflows/product-edit/steps/validate-no-pending-product-change.d.ts +0 -6
- package/.medusa/server/src/workflows/product-edit/steps/validate-no-pending-product-change.js +2 -8
- package/.medusa/server/src/workflows/product-edit/workflows/apply-product-attribute-change-actions.d.ts +5 -19
- package/.medusa/server/src/workflows/product-edit/workflows/apply-product-attribute-change-actions.js +11 -128
- package/.medusa/server/src/workflows/product-edit/workflows/apply-product-change-actions.d.ts +0 -31
- package/.medusa/server/src/workflows/product-edit/workflows/apply-product-change-actions.js +43 -50
- package/.medusa/server/src/workflows/product-edit/workflows/auto-confirm-product-change.d.ts +1 -9
- package/.medusa/server/src/workflows/product-edit/workflows/auto-confirm-product-change.js +3 -11
- package/.medusa/server/src/workflows/product-edit/workflows/confirm-product-change.d.ts +0 -11
- package/.medusa/server/src/workflows/product-edit/workflows/confirm-product-change.js +1 -12
- package/.medusa/server/src/workflows/product-edit/workflows/index.d.ts +1 -1
- package/.medusa/server/src/workflows/product-edit/workflows/index.js +2 -2
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-delete-product.d.ts +0 -7
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-delete-product.js +10 -9
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-attributes.d.ts +4 -46
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-attributes.js +11 -162
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-product.d.ts +11 -0
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-product.js +133 -0
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-variants.d.ts +0 -10
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-variants.js +71 -17
- package/.medusa/server/src/workflows/product-edit/workflows/record-product-audit-change.d.ts +0 -24
- package/.medusa/server/src/workflows/product-edit/workflows/record-product-audit-change.js +1 -15
- package/.medusa/server/src/workflows/product-edit/workflows/stage-product-change.d.ts +1 -25
- package/.medusa/server/src/workflows/product-edit/workflows/stage-product-change.js +2 -15
- package/.medusa/server/src/workflows/promotion/steps/register-usage.d.ts +0 -3
- package/.medusa/server/src/workflows/promotion/steps/register-usage.js +1 -4
- package/.medusa/server/src/workflows/seller/steps/create-seller-member.d.ts +4 -4
- package/.medusa/server/src/workflows/seller/steps/update-member.d.ts +2 -2
- package/.medusa/server/src/workflows/seller/steps/update-seller-member.d.ts +4 -4
- package/.medusa/server/src/workflows/seller/workflows/accept-member-invite.js +1 -2
- package/.medusa/server/src/workflows/seller/workflows/add-seller-member.d.ts +4 -4
- package/.medusa/server/src/workflows/seller/workflows/create-sellers.js +1 -2
- package/.medusa/server/src/workflows/seller/workflows/update-member.d.ts +2 -2
- package/package.json +19 -18
- package/.medusa/server/src/api/admin/products/[id]/attributes/[attribute_id]/route.d.ts +0 -13
- package/.medusa/server/src/api/admin/products/[id]/attributes/[attribute_id]/route.js +0 -90
- package/.medusa/server/src/api/admin/products/[id]/attributes/route.d.ts +0 -5
- package/.medusa/server/src/api/admin/products/[id]/attributes/route.js +0 -63
- package/.medusa/server/src/api/vendor/orders/apply-request-filter.d.ts +0 -2
- package/.medusa/server/src/api/vendor/orders/apply-request-filter.js +0 -99
- package/.medusa/server/src/api/vendor/payment-collections/[id]/mark-as-paid/route.d.ts +0 -3
- package/.medusa/server/src/api/vendor/payment-collections/[id]/mark-as-paid/route.js +0 -25
- package/.medusa/server/src/api/vendor/payment-collections/helpers.d.ts +0 -3
- package/.medusa/server/src/api/vendor/payment-collections/helpers.js +0 -30
- package/.medusa/server/src/api/vendor/payment-collections/middlewares.d.ts +0 -2
- package/.medusa/server/src/api/vendor/payment-collections/middlewares.js +0 -17
- package/.medusa/server/src/api/vendor/payment-collections/query-config.d.ts +0 -7
- package/.medusa/server/src/api/vendor/payment-collections/query-config.js +0 -26
- package/.medusa/server/src/api/vendor/payment-collections/validators.d.ts +0 -17
- package/.medusa/server/src/api/vendor/payment-collections/validators.js +0 -12
- package/.medusa/server/src/api/vendor/products/[id]/attributes/[attribute_id]/route.d.ts +0 -22
- package/.medusa/server/src/api/vendor/products/[id]/attributes/[attribute_id]/route.js +0 -97
- package/.medusa/server/src/api/vendor/products/[id]/attributes/route.d.ts +0 -15
- package/.medusa/server/src/api/vendor/products/[id]/attributes/route.js +0 -80
- package/.medusa/server/src/links/line-item-commission-line-link.js +0 -21
- package/.medusa/server/src/links/product-attribute-value-link.d.ts +0 -22
- package/.medusa/server/src/links/product-attribute-value-link.js +0 -46
- package/.medusa/server/src/links/product-variant-attribute-link.js +0 -21
- package/.medusa/server/src/links/product-variant-attribute-value-link.js +0 -21
- package/.medusa/server/src/workflows/product/steps/replace-product-attribute-value-links.d.ts +0 -28
- package/.medusa/server/src/workflows/product/steps/replace-product-attribute-value-links.js +0 -72
- package/.medusa/server/src/workflows/product/steps/resolve-attribute-refs.d.ts +0 -90
- package/.medusa/server/src/workflows/product/steps/resolve-attribute-refs.js +0 -185
- package/.medusa/server/src/workflows/product/workflows/update-products.d.ts +0 -39
- package/.medusa/server/src/workflows/product/workflows/update-products.js +0 -161
- package/.medusa/server/src/workflows/product-attribute/steps/upsert-product-attribute-values.d.ts +0 -43
- package/.medusa/server/src/workflows/product-attribute/steps/upsert-product-attribute-values.js +0 -51
- package/.medusa/server/src/workflows/product-attribute/steps/upsert-product-options-for-axis.d.ts +0 -7
- package/.medusa/server/src/workflows/product-attribute/steps/upsert-product-options-for-axis.js +0 -59
- package/.medusa/server/src/workflows/product-attribute/steps/validate-attribute-accepts-values.d.ts +0 -6
- package/.medusa/server/src/workflows/product-attribute/steps/validate-attribute-accepts-values.js +0 -20
- package/.medusa/server/src/workflows/product-attribute/steps/validate-product-attribute-input.d.ts +0 -7
- package/.medusa/server/src/workflows/product-attribute/steps/validate-product-attribute-input.js +0 -20
- package/.medusa/server/src/workflows/product-attribute/workflows/add-product-attribute.d.ts +0 -52
- package/.medusa/server/src/workflows/product-attribute/workflows/add-product-attribute.js +0 -120
- package/.medusa/server/src/workflows/product-attribute/workflows/batch-product-attribute-values.d.ts +0 -23
- package/.medusa/server/src/workflows/product-attribute/workflows/batch-product-attribute-values.js +0 -252
- package/.medusa/server/src/workflows/product-attribute/workflows/detach-product-attribute.d.ts +0 -17
- package/.medusa/server/src/workflows/product-attribute/workflows/detach-product-attribute.js +0 -62
- package/.medusa/server/src/workflows/product-attribute/workflows/materialize-product-attributes.d.ts +0 -135
- package/.medusa/server/src/workflows/product-attribute/workflows/materialize-product-attributes.js +0 -43
- package/.medusa/server/src/workflows/product-attribute/workflows/sync-product-attribute-options.d.ts +0 -24
- package/.medusa/server/src/workflows/product-attribute/workflows/sync-product-attribute-options.js +0 -27
- package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attribute.d.ts +0 -23
- package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attribute.js +0 -67
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-fields.d.ts +0 -25
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-fields.js +0 -148
- /package/.medusa/server/src/links/{line-item-commission-line-link.d.ts → offer-product-link.d.ts} +0 -0
- /package/.medusa/server/src/links/{product-variant-attribute-link.d.ts → seller-customer-group-link.d.ts} +0 -0
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export type StoreGetOfferParamsType = z.infer<typeof StoreGetOfferParams>;
|
|
3
|
+
export declare const StoreGetOfferParams: z.ZodObject<{
|
|
4
|
+
fields: z.ZodOptional<z.ZodString>;
|
|
5
|
+
} & {
|
|
6
|
+
region_id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
country_code: z.ZodOptional<z.ZodString>;
|
|
8
|
+
province: z.ZodOptional<z.ZodString>;
|
|
9
|
+
cart_id: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
fields?: string | undefined;
|
|
12
|
+
region_id?: string | undefined;
|
|
13
|
+
country_code?: string | undefined;
|
|
14
|
+
province?: string | undefined;
|
|
15
|
+
cart_id?: string | undefined;
|
|
16
|
+
}, {
|
|
17
|
+
fields?: string | undefined;
|
|
18
|
+
region_id?: string | undefined;
|
|
19
|
+
country_code?: string | undefined;
|
|
20
|
+
province?: string | undefined;
|
|
21
|
+
cart_id?: string | undefined;
|
|
22
|
+
}>;
|
|
23
|
+
export type StoreGetOffersParamsType = z.infer<typeof StoreGetOffersParams>;
|
|
24
|
+
export declare const StoreGetOffersParams: z.ZodObject<{
|
|
25
|
+
fields: z.ZodOptional<z.ZodString>;
|
|
26
|
+
offset: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
27
|
+
limit: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
28
|
+
order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
29
|
+
with_deleted: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
30
|
+
} & {
|
|
31
|
+
region_id: z.ZodOptional<z.ZodString>;
|
|
32
|
+
country_code: z.ZodOptional<z.ZodString>;
|
|
33
|
+
province: z.ZodOptional<z.ZodString>;
|
|
34
|
+
cart_id: z.ZodOptional<z.ZodString>;
|
|
35
|
+
} & {
|
|
36
|
+
q: z.ZodOptional<z.ZodString>;
|
|
37
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
38
|
+
product_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
39
|
+
variant_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
40
|
+
seller_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
41
|
+
sku: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
42
|
+
created_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
43
|
+
$eq: any;
|
|
44
|
+
$ne: any;
|
|
45
|
+
$in: any;
|
|
46
|
+
$nin: any;
|
|
47
|
+
$like: any;
|
|
48
|
+
$ilike: any;
|
|
49
|
+
$re: any;
|
|
50
|
+
$contains: any;
|
|
51
|
+
$gt: any;
|
|
52
|
+
$gte: any;
|
|
53
|
+
$lt: any;
|
|
54
|
+
$lte: any;
|
|
55
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
56
|
+
$eq?: any;
|
|
57
|
+
$ne?: any;
|
|
58
|
+
$in?: any;
|
|
59
|
+
$nin?: any;
|
|
60
|
+
$like?: any;
|
|
61
|
+
$ilike?: any;
|
|
62
|
+
$re?: any;
|
|
63
|
+
$contains?: any;
|
|
64
|
+
$gt?: any;
|
|
65
|
+
$gte?: any;
|
|
66
|
+
$lt?: any;
|
|
67
|
+
$lte?: any;
|
|
68
|
+
}, {
|
|
69
|
+
$eq?: any;
|
|
70
|
+
$ne?: any;
|
|
71
|
+
$in?: any;
|
|
72
|
+
$nin?: any;
|
|
73
|
+
$like?: any;
|
|
74
|
+
$ilike?: any;
|
|
75
|
+
$re?: any;
|
|
76
|
+
$contains?: any;
|
|
77
|
+
$gt?: any;
|
|
78
|
+
$gte?: any;
|
|
79
|
+
$lt?: any;
|
|
80
|
+
$lte?: any;
|
|
81
|
+
}>]>>;
|
|
82
|
+
updated_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
83
|
+
$eq: any;
|
|
84
|
+
$ne: any;
|
|
85
|
+
$in: any;
|
|
86
|
+
$nin: any;
|
|
87
|
+
$like: any;
|
|
88
|
+
$ilike: any;
|
|
89
|
+
$re: any;
|
|
90
|
+
$contains: any;
|
|
91
|
+
$gt: any;
|
|
92
|
+
$gte: any;
|
|
93
|
+
$lt: any;
|
|
94
|
+
$lte: any;
|
|
95
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
96
|
+
$eq?: any;
|
|
97
|
+
$ne?: any;
|
|
98
|
+
$in?: any;
|
|
99
|
+
$nin?: any;
|
|
100
|
+
$like?: any;
|
|
101
|
+
$ilike?: any;
|
|
102
|
+
$re?: any;
|
|
103
|
+
$contains?: any;
|
|
104
|
+
$gt?: any;
|
|
105
|
+
$gte?: any;
|
|
106
|
+
$lt?: any;
|
|
107
|
+
$lte?: any;
|
|
108
|
+
}, {
|
|
109
|
+
$eq?: any;
|
|
110
|
+
$ne?: any;
|
|
111
|
+
$in?: any;
|
|
112
|
+
$nin?: any;
|
|
113
|
+
$like?: any;
|
|
114
|
+
$ilike?: any;
|
|
115
|
+
$re?: any;
|
|
116
|
+
$contains?: any;
|
|
117
|
+
$gt?: any;
|
|
118
|
+
$gte?: any;
|
|
119
|
+
$lt?: any;
|
|
120
|
+
$lte?: any;
|
|
121
|
+
}>]>>;
|
|
122
|
+
}, "strip", z.ZodTypeAny, {
|
|
123
|
+
seller_id?: string | string[] | undefined;
|
|
124
|
+
order?: string | undefined;
|
|
125
|
+
id?: string | string[] | undefined;
|
|
126
|
+
created_at?: any;
|
|
127
|
+
updated_at?: any;
|
|
128
|
+
fields?: string | undefined;
|
|
129
|
+
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
130
|
+
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
131
|
+
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
132
|
+
q?: string | undefined;
|
|
133
|
+
region_id?: string | undefined;
|
|
134
|
+
variant_id?: string | string[] | undefined;
|
|
135
|
+
sku?: string | string[] | undefined;
|
|
136
|
+
product_id?: string | string[] | undefined;
|
|
137
|
+
country_code?: string | undefined;
|
|
138
|
+
province?: string | undefined;
|
|
139
|
+
cart_id?: string | undefined;
|
|
140
|
+
}, {
|
|
141
|
+
seller_id?: string | string[] | undefined;
|
|
142
|
+
order?: string | undefined;
|
|
143
|
+
id?: string | string[] | undefined;
|
|
144
|
+
created_at?: any;
|
|
145
|
+
updated_at?: any;
|
|
146
|
+
fields?: string | undefined;
|
|
147
|
+
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
148
|
+
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
149
|
+
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
150
|
+
q?: string | undefined;
|
|
151
|
+
region_id?: string | undefined;
|
|
152
|
+
variant_id?: string | string[] | undefined;
|
|
153
|
+
sku?: string | string[] | undefined;
|
|
154
|
+
product_id?: string | string[] | undefined;
|
|
155
|
+
country_code?: string | undefined;
|
|
156
|
+
province?: string | undefined;
|
|
157
|
+
cart_id?: string | undefined;
|
|
158
|
+
}>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StoreGetOffersParams = exports.StoreGetOfferParams = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const validators_1 = require("@medusajs/medusa/api/utils/validators");
|
|
6
|
+
const StoreOfferContextFields = zod_1.z.object({
|
|
7
|
+
region_id: zod_1.z.string().optional(),
|
|
8
|
+
country_code: zod_1.z.string().optional(),
|
|
9
|
+
province: zod_1.z.string().optional(),
|
|
10
|
+
cart_id: zod_1.z.string().optional(),
|
|
11
|
+
});
|
|
12
|
+
const StoreOfferFilterFields = zod_1.z.object({
|
|
13
|
+
q: zod_1.z.string().optional(),
|
|
14
|
+
id: zod_1.z.union([zod_1.z.string(), zod_1.z.array(zod_1.z.string())]).optional(),
|
|
15
|
+
product_id: zod_1.z.union([zod_1.z.string(), zod_1.z.array(zod_1.z.string())]).optional(),
|
|
16
|
+
variant_id: zod_1.z.union([zod_1.z.string(), zod_1.z.array(zod_1.z.string())]).optional(),
|
|
17
|
+
seller_id: zod_1.z.union([zod_1.z.string(), zod_1.z.array(zod_1.z.string())]).optional(),
|
|
18
|
+
sku: zod_1.z.union([zod_1.z.string(), zod_1.z.array(zod_1.z.string())]).optional(),
|
|
19
|
+
created_at: (0, validators_1.createOperatorMap)().optional(),
|
|
20
|
+
updated_at: (0, validators_1.createOperatorMap)().optional(),
|
|
21
|
+
});
|
|
22
|
+
exports.StoreGetOfferParams = (0, validators_1.createSelectParams)().merge(StoreOfferContextFields);
|
|
23
|
+
exports.StoreGetOffersParams = (0, validators_1.createFindParams)({
|
|
24
|
+
offset: 0,
|
|
25
|
+
limit: 50,
|
|
26
|
+
})
|
|
27
|
+
.merge(StoreOfferContextFields)
|
|
28
|
+
.merge(StoreOfferFilterFields);
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdG9ycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcGkvc3RvcmUvb2ZmZXJzL3ZhbGlkYXRvcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsNkJBQXVCO0FBQ3ZCLHNFQUk4QztBQUU5QyxNQUFNLHVCQUF1QixHQUFHLE9BQUMsQ0FBQyxNQUFNLENBQUM7SUFDdkMsU0FBUyxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxRQUFRLEVBQUU7SUFDaEMsWUFBWSxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxRQUFRLEVBQUU7SUFDbkMsUUFBUSxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxRQUFRLEVBQUU7SUFDL0IsT0FBTyxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxRQUFRLEVBQUU7Q0FDL0IsQ0FBQyxDQUFBO0FBRUYsTUFBTSxzQkFBc0IsR0FBRyxPQUFDLENBQUMsTUFBTSxDQUFDO0lBQ3RDLENBQUMsRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFLENBQUMsUUFBUSxFQUFFO0lBQ3hCLEVBQUUsRUFBRSxPQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsT0FBQyxDQUFDLE1BQU0sRUFBRSxFQUFFLE9BQUMsQ0FBQyxLQUFLLENBQUMsT0FBQyxDQUFDLE1BQU0sRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLFFBQVEsRUFBRTtJQUN6RCxVQUFVLEVBQUUsT0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLE9BQUMsQ0FBQyxNQUFNLEVBQUUsRUFBRSxPQUFDLENBQUMsS0FBSyxDQUFDLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxRQUFRLEVBQUU7SUFDakUsVUFBVSxFQUFFLE9BQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQyxPQUFDLENBQUMsTUFBTSxFQUFFLEVBQUUsT0FBQyxDQUFDLEtBQUssQ0FBQyxPQUFDLENBQUMsTUFBTSxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsUUFBUSxFQUFFO0lBQ2pFLFNBQVMsRUFBRSxPQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsT0FBQyxDQUFDLE1BQU0sRUFBRSxFQUFFLE9BQUMsQ0FBQyxLQUFLLENBQUMsT0FBQyxDQUFDLE1BQU0sRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLFFBQVEsRUFBRTtJQUNoRSxHQUFHLEVBQUUsT0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLE9BQUMsQ0FBQyxNQUFNLEVBQUUsRUFBRSxPQUFDLENBQUMsS0FBSyxDQUFDLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxRQUFRLEVBQUU7SUFDMUQsVUFBVSxFQUFFLElBQUEsOEJBQWlCLEdBQUUsQ0FBQyxRQUFRLEVBQUU7SUFDMUMsVUFBVSxFQUFFLElBQUEsOEJBQWlCLEdBQUUsQ0FBQyxRQUFRLEVBQUU7Q0FDM0MsQ0FBQyxDQUFBO0FBR1csUUFBQSxtQkFBbUIsR0FDOUIsSUFBQSwrQkFBa0IsR0FBRSxDQUFDLEtBQUssQ0FBQyx1QkFBdUIsQ0FBQyxDQUFBO0FBR3hDLFFBQUEsb0JBQW9CLEdBQUcsSUFBQSw2QkFBZ0IsRUFBQztJQUNuRCxNQUFNLEVBQUUsQ0FBQztJQUNULEtBQUssRUFBRSxFQUFFO0NBQ1YsQ0FBQztLQUNDLEtBQUssQ0FBQyx1QkFBdUIsQ0FBQztLQUM5QixLQUFLLENBQUMsc0JBQXNCLENBQUMsQ0FBQSJ9
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export type StoreGetOrderGroupParamsType = z.infer<typeof StoreGetOrderGroupParams>;
|
|
3
3
|
export declare const StoreGetOrderGroupParams: z.ZodObject<{
|
|
4
4
|
fields: z.ZodOptional<z.ZodString>;
|
|
5
|
-
},
|
|
5
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
6
6
|
fields?: string | undefined;
|
|
7
7
|
}, {
|
|
8
8
|
fields?: string | undefined;
|
|
@@ -10,14 +10,13 @@ export declare const StoreGetOrderGroupParams: z.ZodObject<{
|
|
|
10
10
|
export type StoreGetOrderGroupsParamsType = z.infer<typeof StoreGetOrderGroupsParams>;
|
|
11
11
|
export declare const StoreGetOrderGroupsParams: z.ZodObject<{
|
|
12
12
|
fields: z.ZodOptional<z.ZodString>;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
limit: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
13
|
+
offset: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
14
|
+
limit: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
16
15
|
order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
17
|
-
with_deleted: z.
|
|
16
|
+
with_deleted: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
18
17
|
} & {
|
|
19
18
|
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
20
|
-
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
19
|
+
created_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
21
20
|
$eq: any;
|
|
22
21
|
$ne: any;
|
|
23
22
|
$in: any;
|
|
@@ -30,7 +29,7 @@ export declare const StoreGetOrderGroupsParams: z.ZodObject<{
|
|
|
30
29
|
$gte: any;
|
|
31
30
|
$lt: any;
|
|
32
31
|
$lte: any;
|
|
33
|
-
},
|
|
32
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
34
33
|
$eq?: any;
|
|
35
34
|
$ne?: any;
|
|
36
35
|
$in?: any;
|
|
@@ -57,7 +56,7 @@ export declare const StoreGetOrderGroupsParams: z.ZodObject<{
|
|
|
57
56
|
$lt?: any;
|
|
58
57
|
$lte?: any;
|
|
59
58
|
}>]>>;
|
|
60
|
-
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
59
|
+
updated_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
61
60
|
$eq: any;
|
|
62
61
|
$ne: any;
|
|
63
62
|
$in: any;
|
|
@@ -70,7 +69,7 @@ export declare const StoreGetOrderGroupsParams: z.ZodObject<{
|
|
|
70
69
|
$gte: any;
|
|
71
70
|
$lt: any;
|
|
72
71
|
$lte: any;
|
|
73
|
-
},
|
|
72
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
74
73
|
$eq?: any;
|
|
75
74
|
$ne?: any;
|
|
76
75
|
$in?: any;
|
|
@@ -98,21 +97,21 @@ export declare const StoreGetOrderGroupsParams: z.ZodObject<{
|
|
|
98
97
|
$lte?: any;
|
|
99
98
|
}>]>>;
|
|
100
99
|
}, "strip", z.ZodTypeAny, {
|
|
101
|
-
|
|
102
|
-
limit: number;
|
|
100
|
+
order?: string | undefined;
|
|
103
101
|
id?: string | string[] | undefined;
|
|
104
102
|
created_at?: any;
|
|
105
103
|
updated_at?: any;
|
|
106
104
|
fields?: string | undefined;
|
|
107
|
-
|
|
108
|
-
|
|
105
|
+
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
106
|
+
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
107
|
+
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
109
108
|
}, {
|
|
109
|
+
order?: string | undefined;
|
|
110
110
|
id?: string | string[] | undefined;
|
|
111
111
|
created_at?: any;
|
|
112
112
|
updated_at?: any;
|
|
113
|
-
offset?: unknown;
|
|
114
|
-
limit?: unknown;
|
|
115
113
|
fields?: string | undefined;
|
|
116
|
-
|
|
117
|
-
|
|
114
|
+
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
115
|
+
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
116
|
+
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
118
117
|
}>;
|
|
@@ -3,7 +3,7 @@ import { AttributeType } from "@mercurjs/types";
|
|
|
3
3
|
export type StoreGetProductAttributeParamsType = z.infer<typeof StoreGetProductAttributeParams>;
|
|
4
4
|
export declare const StoreGetProductAttributeParams: z.ZodObject<{
|
|
5
5
|
fields: z.ZodOptional<z.ZodString>;
|
|
6
|
-
},
|
|
6
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
7
7
|
fields?: string | undefined;
|
|
8
8
|
}, {
|
|
9
9
|
fields?: string | undefined;
|
|
@@ -16,9 +16,9 @@ export declare const StoreGetProductAttributesParams: z.ZodObject<{} & {
|
|
|
16
16
|
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
17
17
|
handle: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
18
18
|
type: z.ZodOptional<z.ZodUnion<[z.ZodNativeEnum<typeof AttributeType>, z.ZodArray<z.ZodNativeEnum<typeof AttributeType>, "many">]>>;
|
|
19
|
-
is_variant_axis:
|
|
20
|
-
is_filterable:
|
|
21
|
-
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
19
|
+
is_variant_axis: any;
|
|
20
|
+
is_filterable: any;
|
|
21
|
+
created_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
22
22
|
$eq: any;
|
|
23
23
|
$ne: any;
|
|
24
24
|
$in: any;
|
|
@@ -31,7 +31,7 @@ export declare const StoreGetProductAttributesParams: z.ZodObject<{} & {
|
|
|
31
31
|
$gte: any;
|
|
32
32
|
$lt: any;
|
|
33
33
|
$lte: any;
|
|
34
|
-
},
|
|
34
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
35
35
|
$eq?: any;
|
|
36
36
|
$ne?: any;
|
|
37
37
|
$in?: any;
|
|
@@ -58,7 +58,7 @@ export declare const StoreGetProductAttributesParams: z.ZodObject<{} & {
|
|
|
58
58
|
$lt?: any;
|
|
59
59
|
$lte?: any;
|
|
60
60
|
}>]>>;
|
|
61
|
-
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
61
|
+
updated_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
62
62
|
$eq: any;
|
|
63
63
|
$ne: any;
|
|
64
64
|
$in: any;
|
|
@@ -71,7 +71,7 @@ export declare const StoreGetProductAttributesParams: z.ZodObject<{} & {
|
|
|
71
71
|
$gte: any;
|
|
72
72
|
$lt: any;
|
|
73
73
|
$lte: any;
|
|
74
|
-
},
|
|
74
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
75
75
|
$eq?: any;
|
|
76
76
|
$ne?: any;
|
|
77
77
|
$in?: any;
|
|
@@ -99,32 +99,34 @@ export declare const StoreGetProductAttributesParams: z.ZodObject<{} & {
|
|
|
99
99
|
$lte?: any;
|
|
100
100
|
}>]>>;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
is_filterable?:
|
|
109
|
-
|
|
102
|
+
[x: string]: any;
|
|
103
|
+
q?: unknown;
|
|
104
|
+
id?: unknown;
|
|
105
|
+
handle?: unknown;
|
|
106
|
+
type?: unknown;
|
|
107
|
+
is_variant_axis?: unknown;
|
|
108
|
+
is_filterable?: unknown;
|
|
109
|
+
created_at?: unknown;
|
|
110
|
+
updated_at?: unknown;
|
|
110
111
|
}, {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
is_filterable?:
|
|
118
|
-
|
|
112
|
+
[x: string]: any;
|
|
113
|
+
q?: unknown;
|
|
114
|
+
id?: unknown;
|
|
115
|
+
handle?: unknown;
|
|
116
|
+
type?: unknown;
|
|
117
|
+
is_variant_axis?: unknown;
|
|
118
|
+
is_filterable?: unknown;
|
|
119
|
+
created_at?: unknown;
|
|
120
|
+
updated_at?: unknown;
|
|
119
121
|
}>, "many">>>;
|
|
120
122
|
$or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
|
|
121
123
|
q: z.ZodOptional<z.ZodString>;
|
|
122
124
|
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
123
125
|
handle: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
124
126
|
type: z.ZodOptional<z.ZodUnion<[z.ZodNativeEnum<typeof AttributeType>, z.ZodArray<z.ZodNativeEnum<typeof AttributeType>, "many">]>>;
|
|
125
|
-
is_variant_axis:
|
|
126
|
-
is_filterable:
|
|
127
|
-
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
127
|
+
is_variant_axis: any;
|
|
128
|
+
is_filterable: any;
|
|
129
|
+
created_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
128
130
|
$eq: any;
|
|
129
131
|
$ne: any;
|
|
130
132
|
$in: any;
|
|
@@ -137,7 +139,7 @@ export declare const StoreGetProductAttributesParams: z.ZodObject<{} & {
|
|
|
137
139
|
$gte: any;
|
|
138
140
|
$lt: any;
|
|
139
141
|
$lte: any;
|
|
140
|
-
},
|
|
142
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
141
143
|
$eq?: any;
|
|
142
144
|
$ne?: any;
|
|
143
145
|
$in?: any;
|
|
@@ -164,7 +166,7 @@ export declare const StoreGetProductAttributesParams: z.ZodObject<{} & {
|
|
|
164
166
|
$lt?: any;
|
|
165
167
|
$lte?: any;
|
|
166
168
|
}>]>>;
|
|
167
|
-
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
169
|
+
updated_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
168
170
|
$eq: any;
|
|
169
171
|
$ne: any;
|
|
170
172
|
$in: any;
|
|
@@ -177,7 +179,7 @@ export declare const StoreGetProductAttributesParams: z.ZodObject<{} & {
|
|
|
177
179
|
$gte: any;
|
|
178
180
|
$lt: any;
|
|
179
181
|
$lte: any;
|
|
180
|
-
},
|
|
182
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
181
183
|
$eq?: any;
|
|
182
184
|
$ne?: any;
|
|
183
185
|
$in?: any;
|
|
@@ -205,25 +207,27 @@ export declare const StoreGetProductAttributesParams: z.ZodObject<{} & {
|
|
|
205
207
|
$lte?: any;
|
|
206
208
|
}>]>>;
|
|
207
209
|
}, "strip", z.ZodTypeAny, {
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
is_filterable?:
|
|
215
|
-
|
|
210
|
+
[x: string]: any;
|
|
211
|
+
q?: unknown;
|
|
212
|
+
id?: unknown;
|
|
213
|
+
handle?: unknown;
|
|
214
|
+
type?: unknown;
|
|
215
|
+
is_variant_axis?: unknown;
|
|
216
|
+
is_filterable?: unknown;
|
|
217
|
+
created_at?: unknown;
|
|
218
|
+
updated_at?: unknown;
|
|
216
219
|
}, {
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
is_filterable?:
|
|
224
|
-
|
|
220
|
+
[x: string]: any;
|
|
221
|
+
q?: unknown;
|
|
222
|
+
id?: unknown;
|
|
223
|
+
handle?: unknown;
|
|
224
|
+
type?: unknown;
|
|
225
|
+
is_variant_axis?: unknown;
|
|
226
|
+
is_filterable?: unknown;
|
|
227
|
+
created_at?: unknown;
|
|
228
|
+
updated_at?: unknown;
|
|
225
229
|
}>, "many">>>;
|
|
226
|
-
},
|
|
230
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
227
231
|
[x: string]: any;
|
|
228
232
|
$and?: unknown;
|
|
229
233
|
$or?: unknown;
|
|
@@ -3,16 +3,18 @@ export type StoreProductCategoryParamsType = z.infer<typeof StoreProductCategory
|
|
|
3
3
|
export declare const StoreProductCategoryParams: z.ZodObject<{
|
|
4
4
|
fields: z.ZodOptional<z.ZodString>;
|
|
5
5
|
} & {
|
|
6
|
-
include_ancestors_tree:
|
|
7
|
-
include_descendants_tree:
|
|
6
|
+
include_ancestors_tree: any;
|
|
7
|
+
include_descendants_tree: any;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
fields?: unknown;
|
|
11
|
+
include_ancestors_tree?: unknown;
|
|
12
|
+
include_descendants_tree?: unknown;
|
|
12
13
|
}, {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
[x: string]: any;
|
|
15
|
+
fields?: unknown;
|
|
16
|
+
include_ancestors_tree?: unknown;
|
|
17
|
+
include_descendants_tree?: unknown;
|
|
16
18
|
}>;
|
|
17
19
|
export type StoreGetProductCategoriesParamsType = z.infer<typeof StoreGetProductCategoriesParams>;
|
|
18
20
|
export declare const StoreGetProductCategoriesParams: z.ZodObject<{} & {
|
|
@@ -22,9 +24,9 @@ export declare const StoreGetProductCategoriesParams: z.ZodObject<{} & {
|
|
|
22
24
|
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
23
25
|
handle: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
24
26
|
parent_category_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
25
|
-
include_ancestors_tree:
|
|
26
|
-
include_descendants_tree:
|
|
27
|
-
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
27
|
+
include_ancestors_tree: any;
|
|
28
|
+
include_descendants_tree: any;
|
|
29
|
+
created_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
28
30
|
$eq: any;
|
|
29
31
|
$ne: any;
|
|
30
32
|
$in: any;
|
|
@@ -37,7 +39,7 @@ export declare const StoreGetProductCategoriesParams: z.ZodObject<{} & {
|
|
|
37
39
|
$gte: any;
|
|
38
40
|
$lt: any;
|
|
39
41
|
$lte: any;
|
|
40
|
-
},
|
|
42
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
41
43
|
$eq?: any;
|
|
42
44
|
$ne?: any;
|
|
43
45
|
$in?: any;
|
|
@@ -64,7 +66,7 @@ export declare const StoreGetProductCategoriesParams: z.ZodObject<{} & {
|
|
|
64
66
|
$lt?: any;
|
|
65
67
|
$lte?: any;
|
|
66
68
|
}>]>>;
|
|
67
|
-
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
69
|
+
updated_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
68
70
|
$eq: any;
|
|
69
71
|
$ne: any;
|
|
70
72
|
$in: any;
|
|
@@ -77,7 +79,7 @@ export declare const StoreGetProductCategoriesParams: z.ZodObject<{} & {
|
|
|
77
79
|
$gte: any;
|
|
78
80
|
$lt: any;
|
|
79
81
|
$lte: any;
|
|
80
|
-
},
|
|
82
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
81
83
|
$eq?: any;
|
|
82
84
|
$ne?: any;
|
|
83
85
|
$in?: any;
|
|
@@ -105,32 +107,34 @@ export declare const StoreGetProductCategoriesParams: z.ZodObject<{} & {
|
|
|
105
107
|
$lte?: any;
|
|
106
108
|
}>]>>;
|
|
107
109
|
}, "strip", z.ZodTypeAny, {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
110
|
+
[x: string]: any;
|
|
111
|
+
q?: unknown;
|
|
112
|
+
id?: unknown;
|
|
113
|
+
handle?: unknown;
|
|
114
|
+
parent_category_id?: unknown;
|
|
115
|
+
include_ancestors_tree?: unknown;
|
|
116
|
+
include_descendants_tree?: unknown;
|
|
117
|
+
created_at?: unknown;
|
|
118
|
+
updated_at?: unknown;
|
|
116
119
|
}, {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
120
|
+
[x: string]: any;
|
|
121
|
+
q?: unknown;
|
|
122
|
+
id?: unknown;
|
|
123
|
+
handle?: unknown;
|
|
124
|
+
parent_category_id?: unknown;
|
|
125
|
+
include_ancestors_tree?: unknown;
|
|
126
|
+
include_descendants_tree?: unknown;
|
|
127
|
+
created_at?: unknown;
|
|
128
|
+
updated_at?: unknown;
|
|
125
129
|
}>, "many">>>;
|
|
126
130
|
$or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
|
|
127
131
|
q: z.ZodOptional<z.ZodString>;
|
|
128
132
|
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
129
133
|
handle: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
130
134
|
parent_category_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
131
|
-
include_ancestors_tree:
|
|
132
|
-
include_descendants_tree:
|
|
133
|
-
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
135
|
+
include_ancestors_tree: any;
|
|
136
|
+
include_descendants_tree: any;
|
|
137
|
+
created_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
134
138
|
$eq: any;
|
|
135
139
|
$ne: any;
|
|
136
140
|
$in: any;
|
|
@@ -143,7 +147,7 @@ export declare const StoreGetProductCategoriesParams: z.ZodObject<{} & {
|
|
|
143
147
|
$gte: any;
|
|
144
148
|
$lt: any;
|
|
145
149
|
$lte: any;
|
|
146
|
-
},
|
|
150
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
147
151
|
$eq?: any;
|
|
148
152
|
$ne?: any;
|
|
149
153
|
$in?: any;
|
|
@@ -170,7 +174,7 @@ export declare const StoreGetProductCategoriesParams: z.ZodObject<{} & {
|
|
|
170
174
|
$lt?: any;
|
|
171
175
|
$lte?: any;
|
|
172
176
|
}>]>>;
|
|
173
|
-
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
177
|
+
updated_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
174
178
|
$eq: any;
|
|
175
179
|
$ne: any;
|
|
176
180
|
$in: any;
|
|
@@ -183,7 +187,7 @@ export declare const StoreGetProductCategoriesParams: z.ZodObject<{} & {
|
|
|
183
187
|
$gte: any;
|
|
184
188
|
$lt: any;
|
|
185
189
|
$lte: any;
|
|
186
|
-
},
|
|
190
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
187
191
|
$eq?: any;
|
|
188
192
|
$ne?: any;
|
|
189
193
|
$in?: any;
|
|
@@ -211,25 +215,27 @@ export declare const StoreGetProductCategoriesParams: z.ZodObject<{} & {
|
|
|
211
215
|
$lte?: any;
|
|
212
216
|
}>]>>;
|
|
213
217
|
}, "strip", z.ZodTypeAny, {
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
218
|
+
[x: string]: any;
|
|
219
|
+
q?: unknown;
|
|
220
|
+
id?: unknown;
|
|
221
|
+
handle?: unknown;
|
|
222
|
+
parent_category_id?: unknown;
|
|
223
|
+
include_ancestors_tree?: unknown;
|
|
224
|
+
include_descendants_tree?: unknown;
|
|
225
|
+
created_at?: unknown;
|
|
226
|
+
updated_at?: unknown;
|
|
222
227
|
}, {
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
228
|
+
[x: string]: any;
|
|
229
|
+
q?: unknown;
|
|
230
|
+
id?: unknown;
|
|
231
|
+
handle?: unknown;
|
|
232
|
+
parent_category_id?: unknown;
|
|
233
|
+
include_ancestors_tree?: unknown;
|
|
234
|
+
include_descendants_tree?: unknown;
|
|
235
|
+
created_at?: unknown;
|
|
236
|
+
updated_at?: unknown;
|
|
231
237
|
}>, "many">>>;
|
|
232
|
-
},
|
|
238
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
233
239
|
[x: string]: any;
|
|
234
240
|
$and?: unknown;
|
|
235
241
|
$or?: unknown;
|