@mercurjs/core 2.2.0-canary.3 → 2.2.0-canary.30
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/{product-brands → collections}/query-config.d.ts +2 -2
- 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/{vendor/product-brands → admin/customer-groups}/middlewares.d.ts +1 -1
- 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 -40
- package/.medusa/server/src/api/admin/offers/query-config.js +9 -8
- package/.medusa/server/src/api/admin/offers/validators.d.ts +24 -25
- 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/apply-request-filter.d.ts +2 -0
- package/.medusa/server/src/api/admin/order-groups/apply-request-filter.js +134 -0
- package/.medusa/server/src/api/admin/order-groups/middlewares.js +3 -1
- package/.medusa/server/src/api/admin/order-groups/validators.d.ts +23 -21
- package/.medusa/server/src/api/admin/order-groups/validators.js +2 -1
- 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 +4 -4
- package/.medusa/server/src/api/admin/product-attributes/[id]/values/[value_id]/route.js +4 -4
- 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 -3
- package/.medusa/server/src/api/admin/product-attributes/query-config.js +4 -2
- package/.medusa/server/src/api/admin/product-attributes/route.d.ts +2 -2
- package/.medusa/server/src/api/admin/product-attributes/route.js +4 -4
- package/.medusa/server/src/api/admin/product-attributes/validators.d.ts +110 -125
- package/.medusa/server/src/api/admin/product-attributes/validators.js +2 -17
- 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 -10
- package/.medusa/server/src/api/admin/product-categories/query-config.js +7 -2
- 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 +5 -13
- 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 +5 -12
- 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 -25
- package/.medusa/server/src/api/admin/products/[id]/confirm/route.js +4 -6
- package/.medusa/server/src/api/admin/products/[id]/preview/route.d.ts +1 -1
- package/.medusa/server/src/api/admin/products/[id]/preview/route.js +13 -7
- package/.medusa/server/src/api/admin/products/[id]/reject/route.js +5 -8
- package/.medusa/server/src/api/admin/products/[id]/request-changes/route.js +7 -10
- package/.medusa/server/src/api/admin/products/[id]/route.js +14 -8
- 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/[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 +7 -39
- package/.medusa/server/src/api/admin/products/query-config.js +45 -26
- package/.medusa/server/src/api/admin/products/route.js +11 -8
- package/.medusa/server/src/api/admin/products/validators.d.ts +1223 -1149
- package/.medusa/server/src/api/admin/products/validators.js +110 -48
- 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 +23 -5
- 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/middlewares.js +7 -7
- 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/{product-brands → offers}/query-config.d.ts +2 -2
- 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 -20
- 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 -30
- package/.medusa/server/src/api/store/products/query-config.d.ts +1 -3
- package/.medusa/server/src/api/store/products/query-config.js +30 -17
- package/.medusa/server/src/api/store/products/route.js +9 -17
- package/.medusa/server/src/api/store/products/validators.d.ts +69 -71
- package/.medusa/server/src/api/store/products/validators.js +1 -2
- 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 +2 -0
- package/.medusa/server/src/api/utils/filter-attributes-by-category-link.js +54 -0
- package/.medusa/server/src/api/utils/format-product-attributes.d.ts +7 -6
- package/.medusa/server/src/api/utils/format-product-attributes.js +104 -35
- package/.medusa/server/src/api/utils/index.d.ts +3 -0
- package/.medusa/server/src/api/utils/index.js +4 -1
- package/.medusa/server/src/api/utils/offers.d.ts +49 -0
- package/.medusa/server/src/api/utils/offers.js +238 -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]/cancel/route.d.ts +4 -0
- package/.medusa/server/src/api/vendor/claims/[id]/cancel/route.js +17 -0
- package/.medusa/server/src/api/vendor/claims/[id]/claim-items/[action_id]/route.d.ts +9 -0
- package/.medusa/server/src/api/vendor/claims/[id]/claim-items/[action_id]/route.js +32 -0
- package/.medusa/server/src/api/vendor/claims/[id]/claim-items/route.d.ts +6 -0
- package/.medusa/server/src/api/vendor/claims/[id]/claim-items/route.js +15 -0
- package/.medusa/server/src/api/vendor/claims/[id]/inbound/items/[action_id]/route.d.ts +9 -0
- package/.medusa/server/src/api/vendor/claims/[id]/inbound/items/[action_id]/route.js +46 -0
- package/.medusa/server/src/api/vendor/claims/[id]/inbound/items/route.d.ts +6 -0
- package/.medusa/server/src/api/vendor/claims/[id]/inbound/items/route.js +26 -0
- package/.medusa/server/src/api/vendor/claims/[id]/inbound/shipping-method/[action_id]/route.d.ts +9 -0
- package/.medusa/server/src/api/vendor/claims/[id]/inbound/shipping-method/[action_id]/route.js +39 -0
- package/.medusa/server/src/api/vendor/claims/[id]/inbound/shipping-method/route.d.ts +6 -0
- package/.medusa/server/src/api/vendor/claims/[id]/inbound/shipping-method/route.js +26 -0
- package/.medusa/server/src/api/vendor/claims/[id]/outbound/items/[action_id]/route.d.ts +9 -0
- package/.medusa/server/src/api/vendor/claims/[id]/outbound/items/[action_id]/route.js +32 -0
- package/.medusa/server/src/api/vendor/claims/[id]/outbound/items/route.d.ts +6 -0
- package/.medusa/server/src/api/vendor/claims/[id]/outbound/items/route.js +41 -0
- package/.medusa/server/src/api/vendor/claims/[id]/outbound/shipping-method/[action_id]/route.d.ts +9 -0
- package/.medusa/server/src/api/vendor/claims/[id]/outbound/shipping-method/[action_id]/route.js +32 -0
- package/.medusa/server/src/api/vendor/claims/[id]/outbound/shipping-method/route.d.ts +6 -0
- package/.medusa/server/src/api/vendor/claims/[id]/outbound/shipping-method/route.js +15 -0
- package/.medusa/server/src/api/vendor/claims/[id]/request/route.d.ts +6 -0
- package/.medusa/server/src/api/vendor/claims/[id]/request/route.js +31 -0
- package/.medusa/server/src/api/vendor/claims/[id]/route.d.ts +3 -0
- package/.medusa/server/src/api/vendor/claims/[id]/route.js +19 -0
- package/.medusa/server/src/api/vendor/claims/helpers.d.ts +2 -0
- package/.medusa/server/src/api/vendor/claims/helpers.js +19 -0
- package/.medusa/server/src/api/vendor/claims/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/claims/middlewares.js +184 -0
- package/.medusa/server/src/api/vendor/claims/query-config.d.ts +12 -0
- package/.medusa/server/src/api/vendor/claims/query-config.js +31 -0
- package/.medusa/server/src/api/vendor/claims/route.d.ts +5 -0
- package/.medusa/server/src/api/vendor/claims/route.js +35 -0
- package/.medusa/server/src/api/vendor/claims/validators.d.ts +377 -0
- package/.medusa/server/src/api/vendor/claims/validators.js +89 -0
- package/.medusa/server/src/api/vendor/collections/query-config.js +7 -1
- package/.medusa/server/src/api/vendor/collections/validators.d.ts +20 -21
- 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/{product-brands → customer-groups}/query-config.d.ts +2 -3
- 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]/cancel/route.d.ts +4 -0
- package/.medusa/server/src/api/vendor/exchanges/[id]/cancel/route.js +17 -0
- package/.medusa/server/src/api/vendor/exchanges/[id]/inbound/items/[action_id]/route.d.ts +9 -0
- package/.medusa/server/src/api/vendor/exchanges/[id]/inbound/items/[action_id]/route.js +46 -0
- package/.medusa/server/src/api/vendor/exchanges/[id]/inbound/items/route.d.ts +6 -0
- package/.medusa/server/src/api/vendor/exchanges/[id]/inbound/items/route.js +26 -0
- package/.medusa/server/src/api/vendor/exchanges/[id]/inbound/shipping-method/[action_id]/route.d.ts +9 -0
- package/.medusa/server/src/api/vendor/exchanges/[id]/inbound/shipping-method/[action_id]/route.js +45 -0
- package/.medusa/server/src/api/vendor/exchanges/[id]/inbound/shipping-method/route.d.ts +6 -0
- package/.medusa/server/src/api/vendor/exchanges/[id]/inbound/shipping-method/route.js +26 -0
- package/.medusa/server/src/api/vendor/exchanges/[id]/outbound/items/[action_id]/route.d.ts +9 -0
- package/.medusa/server/src/api/vendor/exchanges/[id]/outbound/items/[action_id]/route.js +32 -0
- package/.medusa/server/src/api/vendor/exchanges/[id]/outbound/items/route.d.ts +6 -0
- package/.medusa/server/src/api/vendor/exchanges/[id]/outbound/items/route.js +41 -0
- package/.medusa/server/src/api/vendor/exchanges/[id]/outbound/shipping-method/[action_id]/route.d.ts +9 -0
- package/.medusa/server/src/api/vendor/exchanges/[id]/outbound/shipping-method/[action_id]/route.js +32 -0
- package/.medusa/server/src/api/vendor/exchanges/[id]/outbound/shipping-method/route.d.ts +6 -0
- package/.medusa/server/src/api/vendor/exchanges/[id]/outbound/shipping-method/route.js +15 -0
- package/.medusa/server/src/api/vendor/exchanges/[id]/request/route.d.ts +6 -0
- package/.medusa/server/src/api/vendor/exchanges/[id]/request/route.js +31 -0
- package/.medusa/server/src/api/vendor/exchanges/helpers.d.ts +2 -0
- package/.medusa/server/src/api/vendor/exchanges/helpers.js +19 -0
- package/.medusa/server/src/api/vendor/exchanges/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/exchanges/middlewares.js +155 -0
- package/.medusa/server/src/api/vendor/exchanges/query-config.d.ts +7 -0
- package/.medusa/server/src/api/vendor/exchanges/query-config.js +23 -0
- package/.medusa/server/src/api/vendor/exchanges/route.d.ts +5 -0
- package/.medusa/server/src/api/vendor/exchanges/route.js +35 -0
- package/.medusa/server/src/api/vendor/exchanges/validators.d.ts +312 -0
- package/.medusa/server/src/api/vendor/exchanges/validators.js +71 -0
- 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 +79 -71
- package/.medusa/server/src/api/vendor/offers/query-config.js +9 -8
- package/.medusa/server/src/api/vendor/offers/validators.d.ts +30 -35
- package/.medusa/server/src/api/vendor/offers/validators.js +4 -8
- package/.medusa/server/src/api/vendor/order-edits/[id]/confirm/route.d.ts +3 -0
- package/.medusa/server/src/api/vendor/order-edits/[id]/confirm/route.js +18 -0
- package/.medusa/server/src/api/vendor/order-edits/[id]/items/[action_id]/route.d.ts +5 -0
- package/.medusa/server/src/api/vendor/order-edits/[id]/items/[action_id]/route.js +32 -0
- package/.medusa/server/src/api/vendor/order-edits/[id]/items/item/[item_id]/route.d.ts +4 -0
- package/.medusa/server/src/api/vendor/order-edits/[id]/items/item/[item_id]/route.js +24 -0
- package/.medusa/server/src/api/vendor/order-edits/[id]/items/route.d.ts +4 -0
- package/.medusa/server/src/api/vendor/order-edits/[id]/items/route.js +33 -0
- package/.medusa/server/src/api/vendor/order-edits/[id]/request/route.d.ts +3 -0
- package/.medusa/server/src/api/vendor/order-edits/[id]/request/route.js +18 -0
- package/.medusa/server/src/api/vendor/order-edits/[id]/route.d.ts +3 -0
- package/.medusa/server/src/api/vendor/order-edits/[id]/route.js +19 -0
- package/.medusa/server/src/api/vendor/order-edits/[id]/shipping-method/[action_id]/route.d.ts +5 -0
- package/.medusa/server/src/api/vendor/order-edits/[id]/shipping-method/[action_id]/route.js +32 -0
- package/.medusa/server/src/api/vendor/order-edits/[id]/shipping-method/route.d.ts +4 -0
- package/.medusa/server/src/api/vendor/order-edits/[id]/shipping-method/route.js +15 -0
- package/.medusa/server/src/api/vendor/order-edits/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/order-edits/middlewares.js +94 -0
- package/.medusa/server/src/api/vendor/order-edits/route.d.ts +4 -0
- package/.medusa/server/src/api/vendor/order-edits/route.js +15 -0
- package/.medusa/server/src/api/vendor/order-edits/validators.d.ts +160 -0
- package/.medusa/server/src/api/vendor/order-edits/validators.js +50 -0
- 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/[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/orders/apply-request-filter.d.ts +2 -0
- package/.medusa/server/src/api/vendor/orders/apply-request-filter.js +109 -0
- package/.medusa/server/src/api/vendor/orders/middlewares.js +3 -1
- package/.medusa/server/src/api/vendor/orders/query-config.js +34 -11
- package/.medusa/server/src/api/vendor/orders/resolve-offer-items.d.ts +23 -0
- package/.medusa/server/src/api/vendor/orders/resolve-offer-items.js +75 -0
- package/.medusa/server/src/api/vendor/orders/validators.d.ts +26 -24
- package/.medusa/server/src/api/vendor/orders/validators.js +7 -1
- package/.medusa/server/src/api/vendor/payment-collections/[id]/mark-as-paid/route.d.ts +3 -0
- package/.medusa/server/src/api/vendor/payment-collections/[id]/mark-as-paid/route.js +25 -0
- package/.medusa/server/src/api/vendor/payment-collections/helpers.d.ts +3 -0
- package/.medusa/server/src/api/vendor/payment-collections/helpers.js +30 -0
- package/.medusa/server/src/api/vendor/payment-collections/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/payment-collections/middlewares.js +17 -0
- package/.medusa/server/src/api/vendor/payment-collections/query-config.d.ts +7 -0
- package/.medusa/server/src/api/vendor/payment-collections/query-config.js +26 -0
- package/.medusa/server/src/api/vendor/payment-collections/validators.d.ts +17 -0
- package/.medusa/server/src/api/vendor/payment-collections/validators.js +12 -0
- package/.medusa/server/src/api/vendor/payments/helpers.js +14 -8
- 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 +28 -30
- package/.medusa/server/src/api/vendor/price-preferences/validators.d.ts +14 -15
- package/.medusa/server/src/api/vendor/product-attributes/middlewares.js +15 -1
- package/.medusa/server/src/api/vendor/product-attributes/query-config.js +4 -2
- package/.medusa/server/src/api/vendor/product-attributes/route.js +2 -1
- package/.medusa/server/src/api/vendor/product-attributes/validators.d.ts +85 -101
- package/.medusa/server/src/api/vendor/product-attributes/validators.js +2 -15
- package/.medusa/server/src/api/vendor/product-categories/[id]/products/route.d.ts +4 -0
- package/.medusa/server/src/api/vendor/product-categories/[id]/products/route.js +36 -0
- package/.medusa/server/src/api/vendor/product-categories/middlewares.js +9 -1
- package/.medusa/server/src/api/vendor/product-categories/query-config.js +7 -2
- package/.medusa/server/src/api/vendor/product-categories/validators.d.ts +102 -79
- package/.medusa/server/src/api/vendor/product-categories/validators.js +7 -2
- 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 +5 -0
- package/.medusa/server/src/api/vendor/products/[id]/attributes/batch/route.js +22 -0
- package/.medusa/server/src/api/vendor/products/[id]/cancel/route.d.ts +1 -9
- package/.medusa/server/src/api/vendor/products/[id]/cancel/route.js +8 -17
- 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 +8 -13
- package/.medusa/server/src/api/vendor/products/[id]/route.js +30 -21
- package/.medusa/server/src/api/vendor/products/[id]/variants/[variant_id]/route.d.ts +7 -13
- package/.medusa/server/src/api/vendor/products/[id]/variants/[variant_id]/route.js +36 -25
- package/.medusa/server/src/api/vendor/products/[id]/variants/route.d.ts +4 -7
- package/.medusa/server/src/api/vendor/products/[id]/variants/route.js +23 -12
- package/.medusa/server/src/api/vendor/products/helpers.d.ts +9 -0
- package/.medusa/server/src/api/vendor/products/helpers.js +70 -0
- package/.medusa/server/src/api/vendor/products/middlewares.js +29 -49
- package/.medusa/server/src/api/vendor/products/query-config.js +52 -23
- package/.medusa/server/src/api/vendor/products/route.d.ts +2 -1
- package/.medusa/server/src/api/vendor/products/route.js +21 -11
- package/.medusa/server/src/api/vendor/products/validators.d.ts +499 -582
- package/.medusa/server/src/api/vendor/products/validators.js +114 -51
- 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.d.ts +5 -0
- package/.medusa/server/src/api/vendor/reservations/[id]/route.js +39 -0
- package/.medusa/server/src/api/vendor/reservations/helpers.d.ts +2 -0
- package/.medusa/server/src/api/vendor/reservations/helpers.js +18 -0
- package/.medusa/server/src/api/{admin/product-brands → vendor/reservations}/middlewares.d.ts +1 -1
- package/.medusa/server/src/api/vendor/reservations/middlewares.js +44 -0
- package/.medusa/server/src/api/vendor/reservations/query-config.d.ts +19 -0
- package/.medusa/server/src/api/vendor/reservations/query-config.js +45 -0
- package/.medusa/server/src/api/vendor/reservations/route.d.ts +4 -0
- package/.medusa/server/src/api/vendor/reservations/route.js +35 -0
- package/.medusa/server/src/api/vendor/reservations/validators.d.ts +295 -0
- package/.medusa/server/src/api/vendor/reservations/validators.js +40 -0
- package/.medusa/server/src/api/vendor/return-reasons/validators.d.ts +18 -19
- package/.medusa/server/src/api/vendor/returns/[id]/receive/confirm/route.js +3 -3
- 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 +23 -44
- 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/middlewares.js +13 -1
- package/.medusa/server/src/api/vendor/shipping-options/validators.d.ts +76 -74
- package/.medusa/server/src/api/vendor/shipping-options/validators.js +2 -1
- 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/cart-line-item-offer-link.js +9 -2
- package/.medusa/server/src/links/category-seller-link.js +2 -2
- 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-price-link.js +13 -0
- package/.medusa/server/src/links/offer-product-link.js +15 -0
- package/.medusa/server/src/links/offer-variant-link.js +2 -2
- package/.medusa/server/src/links/order-line-item-offer-link.js +10 -2
- package/.medusa/server/src/links/product-attribute-category-link.d.ts +11 -0
- package/.medusa/server/src/links/product-attribute-category-link.js +30 -0
- 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 +5 -0
- package/.medusa/server/src/links/product-attribute-product-link.js +24 -0
- 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-attribute-value-pivot-link.d.ts +5 -0
- package/.medusa/server/src/links/product-attribute-value-pivot-link.js +23 -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/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/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/{product/migrations/Migration20260414141012.d.ts → commission/migrations/Migration20260615120000.d.ts} +1 -1
- 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/{subscription → media}/index.js +2 -2
- package/.medusa/server/src/modules/{product/migrations/Migration20260415151424.d.ts → media/migrations/Migration20260616000000.d.ts} +1 -1
- 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/{product/migrations/Migration20260416104248.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/{product/migrations/Migration20260416105443.d.ts → offer/migrations/Migration20260622000000.d.ts} +1 -1
- package/.medusa/server/src/modules/offer/migrations/Migration20260622000000.js +16 -0
- package/.medusa/server/src/modules/offer/models/offer.d.ts +1 -1
- package/.medusa/server/src/modules/offer/models/offer.js +7 -7
- package/.medusa/server/src/modules/offer/service.d.ts +1 -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-attribute/migrations/Migration20260601000000.d.ts +5 -0
- 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/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/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 +27 -0
- package/.medusa/server/src/modules/product-attribute/models/product-attribute-value.js +30 -0
- package/.medusa/server/src/modules/product-attribute/models/product-attribute.d.ts +28 -0
- package/.medusa/server/src/modules/product-attribute/models/product-attribute.js +54 -0
- package/.medusa/server/src/modules/product-attribute/service.d.ts +70 -0
- package/.medusa/server/src/modules/product-attribute/service.js +227 -0
- package/.medusa/server/src/modules/product-edit/index.d.ts +36 -0
- package/.medusa/server/src/modules/product-edit/index.js +14 -0
- 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-edit/migrations/Migration20260601130000.d.ts +5 -0
- 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/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/link-order-line-items-to-offers.d.ts +6 -0
- package/.medusa/server/src/subscribers/link-order-line-items-to-offers.js +94 -0
- package/.medusa/server/src/subscribers/order-edit-confirmed.d.ts +12 -0
- package/.medusa/server/src/subscribers/order-edit-confirmed.js +34 -0
- package/.medusa/server/src/types/cart-line-item.d.ts +0 -9
- 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/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 +96 -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/steps/prepare-adjustments-from-promotion-actions.js +3 -5
- package/.medusa/server/src/workflows/cart/utils/fields.js +25 -10
- 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 +19 -16
- 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/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/{subscription/workflows → customer-group}/index.js +3 -7
- 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/{subscription/steps → customer-group/workflows}/index.js +2 -7
- package/.medusa/server/src/workflows/index.d.ts +3 -1
- package/.medusa/server/src/workflows/index.js +4 -2
- package/.medusa/server/src/workflows/media/index.d.ts +2 -0
- package/.medusa/server/src/workflows/{subscription → media}/index.js +1 -1
- 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 +10 -0
- package/.medusa/server/src/workflows/offer/steps/add-offer-prices.js +49 -0
- package/.medusa/server/src/workflows/offer/steps/create-offers.d.ts +1 -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 +6 -0
- package/.medusa/server/src/workflows/offer/steps/ensure-variant-price-sets.js +52 -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 +1 -6
- 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 +6 -0
- package/.medusa/server/src/workflows/offer/utils/assert-offer-price-ownership.js +16 -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/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/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 +86 -45
- package/.medusa/server/src/workflows/offer/workflows/delete-offers.js +2 -2
- package/.medusa/server/src/workflows/offer/workflows/update-offers.d.ts +12 -118
- package/.medusa/server/src/workflows/offer/workflows/update-offers.js +115 -20
- package/.medusa/server/src/workflows/order/workflows/cancel-order-fulfillment.d.ts +2 -3
- package/.medusa/server/src/workflows/order/workflows/cancel-order-fulfillment.js +3 -5
- package/.medusa/server/src/workflows/order/workflows/confirm-claim-request.d.ts +7 -0
- package/.medusa/server/src/workflows/order/workflows/confirm-claim-request.js +149 -0
- package/.medusa/server/src/workflows/order/workflows/confirm-exchange-request.d.ts +7 -0
- package/.medusa/server/src/workflows/order/workflows/confirm-exchange-request.js +152 -0
- 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.d.ts +1 -1
- package/.medusa/server/src/workflows/order/workflows/confirm-return-receive.js +3 -12
- 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 +4 -6
- package/.medusa/server/src/workflows/order/workflows/index.d.ts +3 -0
- package/.medusa/server/src/workflows/order/workflows/index.js +4 -1
- package/.medusa/server/src/workflows/order-group/utils/aggregate-status.js +1 -7
- package/.medusa/server/src/workflows/payout/workflows/create-payout.js +34 -21
- package/.medusa/server/src/workflows/product/events.d.ts +1 -49
- package/.medusa/server/src/workflows/product/events.js +3 -51
- 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 +1 -28
- package/.medusa/server/src/workflows/product/steps/index.js +2 -29
- package/.medusa/server/src/workflows/product/steps/validate-products-status.d.ts +11 -0
- package/.medusa/server/src/workflows/product/steps/validate-products-status.js +20 -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 -23
- package/.medusa/server/src/workflows/product/workflows/confirm-products.d.ts +1 -5
- package/.medusa/server/src/workflows/product/workflows/confirm-products.js +29 -30
- package/.medusa/server/src/workflows/product/workflows/create-products.d.ts +11 -3
- package/.medusa/server/src/workflows/product/workflows/create-products.js +113 -16
- package/.medusa/server/src/workflows/product/workflows/index.d.ts +3 -27
- package/.medusa/server/src/workflows/product/workflows/index.js +4 -28
- package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product-category.d.ts +1 -8
- 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 -8
- 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 +1 -1
- package/.medusa/server/src/workflows/product/workflows/reject-product.js +35 -38
- package/.medusa/server/src/workflows/product/workflows/request-product-change.d.ts +11 -0
- package/.medusa/server/src/workflows/product/workflows/request-product-change.js +55 -0
- package/.medusa/server/src/workflows/product-attribute/events.d.ts +10 -0
- package/.medusa/server/src/workflows/product-attribute/events.js +14 -0
- package/.medusa/server/src/workflows/product-attribute/index.d.ts +3 -0
- package/.medusa/server/src/workflows/product-attribute/index.js +20 -0
- package/.medusa/server/src/workflows/{product → product-attribute}/steps/create-product-attribute-values.d.ts +1 -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 +4 -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/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 +9 -0
- package/.medusa/server/src/workflows/product-attribute/steps/index.js +26 -0
- package/.medusa/server/src/workflows/product-attribute/steps/update-product-attribute-values.d.ts +41 -0
- package/.medusa/server/src/workflows/product-attribute/steps/update-product-attribute-values.js +38 -0
- package/.medusa/server/src/workflows/{product → product-attribute}/steps/update-product-attributes.d.ts +2 -1
- package/.medusa/server/src/workflows/{product → product-attribute}/steps/update-product-attributes.js +7 -6
- 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.d.ts +18 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/create-product-attribute-values.js +67 -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 +88 -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 +61 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/delete-product-attributes.d.ts +16 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/delete-product-attributes.js +34 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/index.d.ts +11 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/index.js +28 -0
- 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.d.ts +18 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attribute-values.js +60 -0
- 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.d.ts +18 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attributes.js +41 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/upsert-product-attribute-values.d.ts +11 -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 +6 -0
- package/.medusa/server/src/workflows/product-edit/events.js +10 -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/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/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 +11 -0
- package/.medusa/server/src/workflows/product-edit/steps/confirm-product-change-validation.js +21 -0
- package/.medusa/server/src/workflows/product-edit/steps/confirm-product-changes.d.ts +40 -3
- package/.medusa/server/src/workflows/product-edit/steps/confirm-product-changes.js +38 -7
- package/.medusa/server/src/workflows/product-edit/steps/create-product-change-actions.d.ts +36 -14
- package/.medusa/server/src/workflows/product-edit/steps/create-product-change-actions.js +15 -11
- package/.medusa/server/src/workflows/product-edit/steps/create-product-changes.d.ts +40 -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 +39 -3
- package/.medusa/server/src/workflows/product-edit/steps/decline-product-change.js +32 -10
- package/.medusa/server/src/workflows/product-edit/steps/index.d.ts +6 -3
- package/.medusa/server/src/workflows/product-edit/steps/index.js +7 -4
- package/.medusa/server/src/workflows/product-edit/steps/update-product-change-actions.d.ts +44 -0
- package/.medusa/server/src/workflows/product-edit/steps/update-product-change-actions.js +29 -0
- package/.medusa/server/src/workflows/product-edit/steps/validate-no-pending-product-change.d.ts +3 -9
- package/.medusa/server/src/workflows/product-edit/steps/validate-no-pending-product-change.js +25 -15
- 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 +9 -0
- package/.medusa/server/src/workflows/product-edit/workflows/apply-product-attribute-change-actions.js +22 -0
- package/.medusa/server/src/workflows/product-edit/workflows/apply-product-change-actions.d.ts +7 -0
- package/.medusa/server/src/workflows/product-edit/workflows/apply-product-change-actions.js +184 -0
- package/.medusa/server/src/workflows/product-edit/workflows/auto-confirm-product-change.d.ts +8 -15
- package/.medusa/server/src/workflows/product-edit/workflows/auto-confirm-product-change.js +9 -25
- 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 +19 -0
- package/.medusa/server/src/workflows/product-edit/workflows/confirm-product-change.js +44 -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 +11 -9
- package/.medusa/server/src/workflows/product-edit/workflows/index.js +12 -10
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-delete-product.d.ts +9 -19
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-delete-product.js +23 -47
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-attributes.d.ts +13 -0
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-attributes.js +47 -0
- 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 +25 -0
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-variants.js +162 -0
- package/.medusa/server/src/workflows/product-edit/workflows/record-product-audit-change.d.ts +12 -0
- package/.medusa/server/src/workflows/product-edit/workflows/record-product-audit-change.js +39 -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 +11 -0
- package/.medusa/server/src/workflows/product-edit/workflows/stage-product-change.js +44 -0
- 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.d.ts +20 -2
- 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/.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 +17 -17
- 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.js +0 -49
- 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/[id]/attributes/[attribute_id]/route.d.ts +0 -7
- package/.medusa/server/src/api/admin/products/[id]/attributes/[attribute_id]/route.js +0 -53
- package/.medusa/server/src/api/admin/products/[id]/attributes/route.d.ts +0 -6
- package/.medusa/server/src/api/admin/products/[id]/attributes/route.js +0 -48
- 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.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.js +0 -23
- 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/products/[id]/attributes/[attribute_id]/route.d.ts +0 -9
- package/.medusa/server/src/api/vendor/products/[id]/attributes/[attribute_id]/route.js +0 -37
- package/.medusa/server/src/api/vendor/products/[id]/attributes/route.d.ts +0 -11
- package/.medusa/server/src/api/vendor/products/[id]/attributes/route.js +0 -47
- 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/line-item-commission-line-link.js +0 -21
- 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.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.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-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/update-products.d.ts +0 -3
- package/.medusa/server/src/workflows/product/workflows/update-products.js +0 -23
- 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-fields.d.ts +0 -18
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-fields.js +0 -72
- 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/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/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/{line-item-commission-line-link.d.ts → offer-product-link.d.ts} +0 -0
- /package/.medusa/server/src/links/{offer-price-set-link.d.ts → seller-customer-group-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
- /package/.medusa/server/src/workflows/{subscription → customer-group}/index.d.ts +0 -0
|
@@ -3,7 +3,7 @@ import { z } from "zod";
|
|
|
3
3
|
export type VendorGetShippingOptionParamsType = z.infer<typeof VendorGetShippingOptionParams>;
|
|
4
4
|
export declare const VendorGetShippingOptionParams: 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;
|
|
@@ -11,19 +11,19 @@ export declare const VendorGetShippingOptionParams: z.ZodObject<{
|
|
|
11
11
|
export type VendorGetShippingOptionsParamsType = z.infer<typeof VendorGetShippingOptionsParams>;
|
|
12
12
|
export declare const VendorGetShippingOptionsParams: z.ZodObject<{
|
|
13
13
|
fields: z.ZodOptional<z.ZodString>;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
limit: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
14
|
+
offset: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
15
|
+
limit: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
17
16
|
order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
18
|
-
with_deleted: z.
|
|
17
|
+
with_deleted: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
19
18
|
} & {
|
|
20
19
|
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
21
20
|
q: z.ZodOptional<z.ZodString>;
|
|
22
21
|
service_zone_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
23
22
|
shipping_profile_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
24
23
|
provider_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
24
|
+
stock_location_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
25
25
|
shipping_option_type_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
26
|
-
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
26
|
+
created_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
27
27
|
$eq: any;
|
|
28
28
|
$ne: any;
|
|
29
29
|
$in: any;
|
|
@@ -36,7 +36,7 @@ export declare const VendorGetShippingOptionsParams: z.ZodObject<{
|
|
|
36
36
|
$gte: any;
|
|
37
37
|
$lt: any;
|
|
38
38
|
$lte: any;
|
|
39
|
-
},
|
|
39
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
40
40
|
$eq?: any;
|
|
41
41
|
$ne?: any;
|
|
42
42
|
$in?: any;
|
|
@@ -63,7 +63,7 @@ export declare const VendorGetShippingOptionsParams: z.ZodObject<{
|
|
|
63
63
|
$lt?: any;
|
|
64
64
|
$lte?: any;
|
|
65
65
|
}>]>>;
|
|
66
|
-
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
66
|
+
updated_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
67
67
|
$eq: any;
|
|
68
68
|
$ne: any;
|
|
69
69
|
$in: any;
|
|
@@ -76,7 +76,7 @@ export declare const VendorGetShippingOptionsParams: z.ZodObject<{
|
|
|
76
76
|
$gte: any;
|
|
77
77
|
$lt: any;
|
|
78
78
|
$lte: any;
|
|
79
|
-
},
|
|
79
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
80
80
|
$eq?: any;
|
|
81
81
|
$ne?: any;
|
|
82
82
|
$in?: any;
|
|
@@ -104,38 +104,40 @@ export declare const VendorGetShippingOptionsParams: z.ZodObject<{
|
|
|
104
104
|
$lte?: any;
|
|
105
105
|
}>]>>;
|
|
106
106
|
}, "strip", z.ZodTypeAny, {
|
|
107
|
-
|
|
108
|
-
limit: number;
|
|
107
|
+
order?: string | undefined;
|
|
109
108
|
id?: string | string[] | undefined;
|
|
110
109
|
created_at?: any;
|
|
111
110
|
updated_at?: any;
|
|
112
|
-
q?: string | undefined;
|
|
113
111
|
fields?: string | undefined;
|
|
114
|
-
|
|
115
|
-
|
|
112
|
+
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
113
|
+
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
114
|
+
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
115
|
+
q?: string | undefined;
|
|
116
116
|
shipping_profile_id?: string | string[] | undefined;
|
|
117
|
-
|
|
117
|
+
stock_location_id?: string | string[] | undefined;
|
|
118
118
|
service_zone_id?: string | string[] | undefined;
|
|
119
|
+
provider_id?: string | string[] | undefined;
|
|
119
120
|
shipping_option_type_id?: string | string[] | undefined;
|
|
120
121
|
}, {
|
|
122
|
+
order?: string | undefined;
|
|
121
123
|
id?: string | string[] | undefined;
|
|
122
124
|
created_at?: any;
|
|
123
125
|
updated_at?: any;
|
|
124
|
-
offset?: unknown;
|
|
125
|
-
limit?: unknown;
|
|
126
|
-
q?: string | undefined;
|
|
127
126
|
fields?: string | undefined;
|
|
128
|
-
|
|
129
|
-
|
|
127
|
+
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
128
|
+
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
129
|
+
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
130
|
+
q?: string | undefined;
|
|
130
131
|
shipping_profile_id?: string | string[] | undefined;
|
|
131
|
-
|
|
132
|
+
stock_location_id?: string | string[] | undefined;
|
|
132
133
|
service_zone_id?: string | string[] | undefined;
|
|
134
|
+
provider_id?: string | string[] | undefined;
|
|
133
135
|
shipping_option_type_id?: string | string[] | undefined;
|
|
134
136
|
}>;
|
|
135
137
|
export type VendorGetShippingOptionRuleParamsType = z.infer<typeof VendorGetShippingOptionRuleParams>;
|
|
136
138
|
export declare const VendorGetShippingOptionRuleParams: z.ZodObject<{
|
|
137
139
|
fields: z.ZodOptional<z.ZodString>;
|
|
138
|
-
},
|
|
140
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
139
141
|
fields?: string | undefined;
|
|
140
142
|
}, {
|
|
141
143
|
fields?: string | undefined;
|
|
@@ -234,16 +236,16 @@ export declare const VendorCreateShippingOptionPriceWithRegion: z.ZodObject<{
|
|
|
234
236
|
operator: PricingRuleOperator;
|
|
235
237
|
}>, "many">>;
|
|
236
238
|
}, "strict", z.ZodTypeAny, {
|
|
237
|
-
amount: number;
|
|
238
239
|
region_id: string;
|
|
240
|
+
amount: number;
|
|
239
241
|
rules?: {
|
|
240
242
|
value: number;
|
|
241
243
|
attribute: "item_total";
|
|
242
244
|
operator: PricingRuleOperator;
|
|
243
245
|
}[] | undefined;
|
|
244
246
|
}, {
|
|
245
|
-
amount: number;
|
|
246
247
|
region_id: string;
|
|
248
|
+
amount: number;
|
|
247
249
|
rules?: {
|
|
248
250
|
value: number;
|
|
249
251
|
attribute: "item_total";
|
|
@@ -305,22 +307,22 @@ export declare const VendorUpdateShippingOptionPriceWithRegion: z.ZodObject<{
|
|
|
305
307
|
}>, "many">>;
|
|
306
308
|
}, "strict", z.ZodTypeAny, {
|
|
307
309
|
id?: string | undefined;
|
|
310
|
+
region_id?: string | undefined;
|
|
308
311
|
amount?: number | undefined;
|
|
309
312
|
rules?: {
|
|
310
313
|
value: number;
|
|
311
314
|
attribute: "item_total";
|
|
312
315
|
operator: PricingRuleOperator;
|
|
313
316
|
}[] | undefined;
|
|
314
|
-
region_id?: string | undefined;
|
|
315
317
|
}, {
|
|
316
318
|
id?: string | undefined;
|
|
319
|
+
region_id?: string | undefined;
|
|
317
320
|
amount?: number | undefined;
|
|
318
321
|
rules?: {
|
|
319
322
|
value: number;
|
|
320
323
|
attribute: "item_total";
|
|
321
324
|
operator: PricingRuleOperator;
|
|
322
325
|
}[] | undefined;
|
|
323
|
-
region_id?: string | undefined;
|
|
324
326
|
}>;
|
|
325
327
|
export type VendorCreateShippingOptionType = z.infer<typeof VendorCreateShippingOption>;
|
|
326
328
|
export declare const VendorCreateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
@@ -393,16 +395,16 @@ export declare const VendorCreateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
393
395
|
operator: PricingRuleOperator;
|
|
394
396
|
}>, "many">>;
|
|
395
397
|
}, "strict", z.ZodTypeAny, {
|
|
396
|
-
amount: number;
|
|
397
398
|
region_id: string;
|
|
399
|
+
amount: number;
|
|
398
400
|
rules?: {
|
|
399
401
|
value: number;
|
|
400
402
|
attribute: "item_total";
|
|
401
403
|
operator: PricingRuleOperator;
|
|
402
404
|
}[] | undefined;
|
|
403
405
|
}, {
|
|
404
|
-
amount: number;
|
|
405
406
|
region_id: string;
|
|
407
|
+
amount: number;
|
|
406
408
|
rules?: {
|
|
407
409
|
value: number;
|
|
408
410
|
attribute: "item_total";
|
|
@@ -424,6 +426,7 @@ export declare const VendorCreateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
424
426
|
}>, "many">>;
|
|
425
427
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
426
428
|
}, "strict", z.ZodTypeAny, {
|
|
429
|
+
name: string;
|
|
427
430
|
shipping_profile_id: string;
|
|
428
431
|
prices: ({
|
|
429
432
|
amount: number;
|
|
@@ -434,32 +437,32 @@ export declare const VendorCreateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
434
437
|
operator: PricingRuleOperator;
|
|
435
438
|
}[] | undefined;
|
|
436
439
|
} | {
|
|
437
|
-
amount: number;
|
|
438
440
|
region_id: string;
|
|
441
|
+
amount: number;
|
|
439
442
|
rules?: {
|
|
440
443
|
value: number;
|
|
441
444
|
attribute: "item_total";
|
|
442
445
|
operator: PricingRuleOperator;
|
|
443
446
|
}[] | undefined;
|
|
444
447
|
})[];
|
|
445
|
-
name: string;
|
|
446
|
-
price_type: ShippingOptionPriceTypeEnum;
|
|
447
|
-
provider_id: string;
|
|
448
448
|
service_zone_id: string;
|
|
449
|
+
provider_id: string;
|
|
450
|
+
price_type: ShippingOptionPriceTypeEnum;
|
|
451
|
+
data?: Record<string, unknown> | undefined;
|
|
452
|
+
metadata?: Record<string, unknown> | undefined;
|
|
449
453
|
type?: {
|
|
450
454
|
code: string;
|
|
451
455
|
label: string;
|
|
452
456
|
description?: string | undefined;
|
|
453
457
|
} | undefined;
|
|
454
|
-
metadata?: Record<string, unknown> | undefined;
|
|
455
458
|
rules?: {
|
|
456
459
|
value: string | string[];
|
|
457
460
|
attribute: string;
|
|
458
461
|
operator: RuleOperator;
|
|
459
462
|
}[] | undefined;
|
|
460
|
-
data?: Record<string, unknown> | undefined;
|
|
461
463
|
type_id?: string | undefined;
|
|
462
464
|
}, {
|
|
465
|
+
name: string;
|
|
463
466
|
shipping_profile_id: string;
|
|
464
467
|
prices: ({
|
|
465
468
|
amount: number;
|
|
@@ -470,32 +473,32 @@ export declare const VendorCreateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
470
473
|
operator: PricingRuleOperator;
|
|
471
474
|
}[] | undefined;
|
|
472
475
|
} | {
|
|
473
|
-
amount: number;
|
|
474
476
|
region_id: string;
|
|
477
|
+
amount: number;
|
|
475
478
|
rules?: {
|
|
476
479
|
value: number;
|
|
477
480
|
attribute: "item_total";
|
|
478
481
|
operator: PricingRuleOperator;
|
|
479
482
|
}[] | undefined;
|
|
480
483
|
})[];
|
|
481
|
-
name: string;
|
|
482
|
-
price_type: ShippingOptionPriceTypeEnum;
|
|
483
|
-
provider_id: string;
|
|
484
484
|
service_zone_id: string;
|
|
485
|
+
provider_id: string;
|
|
486
|
+
price_type: ShippingOptionPriceTypeEnum;
|
|
487
|
+
data?: Record<string, unknown> | undefined;
|
|
488
|
+
metadata?: Record<string, unknown> | undefined;
|
|
485
489
|
type?: {
|
|
486
490
|
code: string;
|
|
487
491
|
label: string;
|
|
488
492
|
description?: string | undefined;
|
|
489
493
|
} | undefined;
|
|
490
|
-
metadata?: Record<string, unknown> | undefined;
|
|
491
494
|
rules?: {
|
|
492
495
|
value: string | string[];
|
|
493
496
|
attribute: string;
|
|
494
497
|
operator: RuleOperator;
|
|
495
498
|
}[] | undefined;
|
|
496
|
-
data?: Record<string, unknown> | undefined;
|
|
497
499
|
type_id?: string | undefined;
|
|
498
500
|
}>, {
|
|
501
|
+
name: string;
|
|
499
502
|
shipping_profile_id: string;
|
|
500
503
|
prices: ({
|
|
501
504
|
amount: number;
|
|
@@ -506,32 +509,32 @@ export declare const VendorCreateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
506
509
|
operator: PricingRuleOperator;
|
|
507
510
|
}[] | undefined;
|
|
508
511
|
} | {
|
|
509
|
-
amount: number;
|
|
510
512
|
region_id: string;
|
|
513
|
+
amount: number;
|
|
511
514
|
rules?: {
|
|
512
515
|
value: number;
|
|
513
516
|
attribute: "item_total";
|
|
514
517
|
operator: PricingRuleOperator;
|
|
515
518
|
}[] | undefined;
|
|
516
519
|
})[];
|
|
517
|
-
name: string;
|
|
518
|
-
price_type: ShippingOptionPriceTypeEnum;
|
|
519
|
-
provider_id: string;
|
|
520
520
|
service_zone_id: string;
|
|
521
|
+
provider_id: string;
|
|
522
|
+
price_type: ShippingOptionPriceTypeEnum;
|
|
523
|
+
data?: Record<string, unknown> | undefined;
|
|
524
|
+
metadata?: Record<string, unknown> | undefined;
|
|
521
525
|
type?: {
|
|
522
526
|
code: string;
|
|
523
527
|
label: string;
|
|
524
528
|
description?: string | undefined;
|
|
525
529
|
} | undefined;
|
|
526
|
-
metadata?: Record<string, unknown> | undefined;
|
|
527
530
|
rules?: {
|
|
528
531
|
value: string | string[];
|
|
529
532
|
attribute: string;
|
|
530
533
|
operator: RuleOperator;
|
|
531
534
|
}[] | undefined;
|
|
532
|
-
data?: Record<string, unknown> | undefined;
|
|
533
535
|
type_id?: string | undefined;
|
|
534
536
|
}, {
|
|
537
|
+
name: string;
|
|
535
538
|
shipping_profile_id: string;
|
|
536
539
|
prices: ({
|
|
537
540
|
amount: number;
|
|
@@ -542,30 +545,29 @@ export declare const VendorCreateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
542
545
|
operator: PricingRuleOperator;
|
|
543
546
|
}[] | undefined;
|
|
544
547
|
} | {
|
|
545
|
-
amount: number;
|
|
546
548
|
region_id: string;
|
|
549
|
+
amount: number;
|
|
547
550
|
rules?: {
|
|
548
551
|
value: number;
|
|
549
552
|
attribute: "item_total";
|
|
550
553
|
operator: PricingRuleOperator;
|
|
551
554
|
}[] | undefined;
|
|
552
555
|
})[];
|
|
553
|
-
name: string;
|
|
554
|
-
price_type: ShippingOptionPriceTypeEnum;
|
|
555
|
-
provider_id: string;
|
|
556
556
|
service_zone_id: string;
|
|
557
|
+
provider_id: string;
|
|
558
|
+
price_type: ShippingOptionPriceTypeEnum;
|
|
559
|
+
data?: Record<string, unknown> | undefined;
|
|
560
|
+
metadata?: Record<string, unknown> | undefined;
|
|
557
561
|
type?: {
|
|
558
562
|
code: string;
|
|
559
563
|
label: string;
|
|
560
564
|
description?: string | undefined;
|
|
561
565
|
} | undefined;
|
|
562
|
-
metadata?: Record<string, unknown> | undefined;
|
|
563
566
|
rules?: {
|
|
564
567
|
value: string | string[];
|
|
565
568
|
attribute: string;
|
|
566
569
|
operator: RuleOperator;
|
|
567
570
|
}[] | undefined;
|
|
568
|
-
data?: Record<string, unknown> | undefined;
|
|
569
571
|
type_id?: string | undefined;
|
|
570
572
|
}>;
|
|
571
573
|
export type VendorUpdateShippingOptionType = z.infer<typeof VendorUpdateShippingOption>;
|
|
@@ -643,22 +645,22 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
643
645
|
}>, "many">>;
|
|
644
646
|
}, "strict", z.ZodTypeAny, {
|
|
645
647
|
id?: string | undefined;
|
|
648
|
+
region_id?: string | undefined;
|
|
646
649
|
amount?: number | undefined;
|
|
647
650
|
rules?: {
|
|
648
651
|
value: number;
|
|
649
652
|
attribute: "item_total";
|
|
650
653
|
operator: PricingRuleOperator;
|
|
651
654
|
}[] | undefined;
|
|
652
|
-
region_id?: string | undefined;
|
|
653
655
|
}, {
|
|
654
656
|
id?: string | undefined;
|
|
657
|
+
region_id?: string | undefined;
|
|
655
658
|
amount?: number | undefined;
|
|
656
659
|
rules?: {
|
|
657
660
|
value: number;
|
|
658
661
|
attribute: "item_total";
|
|
659
662
|
operator: PricingRuleOperator;
|
|
660
663
|
}[] | undefined;
|
|
661
|
-
region_id?: string | undefined;
|
|
662
664
|
}>]>, "many">>;
|
|
663
665
|
rules: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
664
666
|
id: z.ZodString;
|
|
@@ -690,13 +692,15 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
690
692
|
}>]>, "many">>;
|
|
691
693
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
692
694
|
}, "strict", z.ZodTypeAny, {
|
|
695
|
+
data?: Record<string, unknown> | undefined;
|
|
696
|
+
metadata?: Record<string, unknown> | undefined;
|
|
693
697
|
type?: {
|
|
694
698
|
code: string;
|
|
695
699
|
label: string;
|
|
696
700
|
description?: string | undefined;
|
|
697
701
|
} | undefined;
|
|
702
|
+
name?: string | undefined;
|
|
698
703
|
shipping_profile_id?: string | undefined;
|
|
699
|
-
metadata?: Record<string, unknown> | undefined;
|
|
700
704
|
rules?: ({
|
|
701
705
|
value: string | string[];
|
|
702
706
|
attribute: string;
|
|
@@ -718,27 +722,27 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
718
722
|
}[] | undefined;
|
|
719
723
|
} | {
|
|
720
724
|
id?: string | undefined;
|
|
725
|
+
region_id?: string | undefined;
|
|
721
726
|
amount?: number | undefined;
|
|
722
727
|
rules?: {
|
|
723
728
|
value: number;
|
|
724
729
|
attribute: "item_total";
|
|
725
730
|
operator: PricingRuleOperator;
|
|
726
731
|
}[] | undefined;
|
|
727
|
-
region_id?: string | undefined;
|
|
728
732
|
})[] | undefined;
|
|
729
|
-
data?: Record<string, unknown> | undefined;
|
|
730
|
-
name?: string | undefined;
|
|
731
733
|
type_id?: string | undefined;
|
|
732
|
-
price_type?: ShippingOptionPriceTypeEnum | undefined;
|
|
733
734
|
provider_id?: string | undefined;
|
|
735
|
+
price_type?: ShippingOptionPriceTypeEnum | undefined;
|
|
734
736
|
}, {
|
|
737
|
+
data?: Record<string, unknown> | undefined;
|
|
738
|
+
metadata?: Record<string, unknown> | undefined;
|
|
735
739
|
type?: {
|
|
736
740
|
code: string;
|
|
737
741
|
label: string;
|
|
738
742
|
description?: string | undefined;
|
|
739
743
|
} | undefined;
|
|
744
|
+
name?: string | undefined;
|
|
740
745
|
shipping_profile_id?: string | undefined;
|
|
741
|
-
metadata?: Record<string, unknown> | undefined;
|
|
742
746
|
rules?: ({
|
|
743
747
|
value: string | string[];
|
|
744
748
|
attribute: string;
|
|
@@ -760,27 +764,27 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
760
764
|
}[] | undefined;
|
|
761
765
|
} | {
|
|
762
766
|
id?: string | undefined;
|
|
767
|
+
region_id?: string | undefined;
|
|
763
768
|
amount?: number | undefined;
|
|
764
769
|
rules?: {
|
|
765
770
|
value: number;
|
|
766
771
|
attribute: "item_total";
|
|
767
772
|
operator: PricingRuleOperator;
|
|
768
773
|
}[] | undefined;
|
|
769
|
-
region_id?: string | undefined;
|
|
770
774
|
})[] | undefined;
|
|
771
|
-
data?: Record<string, unknown> | undefined;
|
|
772
|
-
name?: string | undefined;
|
|
773
775
|
type_id?: string | undefined;
|
|
774
|
-
price_type?: ShippingOptionPriceTypeEnum | undefined;
|
|
775
776
|
provider_id?: string | undefined;
|
|
777
|
+
price_type?: ShippingOptionPriceTypeEnum | undefined;
|
|
776
778
|
}>, {
|
|
779
|
+
data?: Record<string, unknown> | undefined;
|
|
780
|
+
metadata?: Record<string, unknown> | undefined;
|
|
777
781
|
type?: {
|
|
778
782
|
code: string;
|
|
779
783
|
label: string;
|
|
780
784
|
description?: string | undefined;
|
|
781
785
|
} | undefined;
|
|
786
|
+
name?: string | undefined;
|
|
782
787
|
shipping_profile_id?: string | undefined;
|
|
783
|
-
metadata?: Record<string, unknown> | undefined;
|
|
784
788
|
rules?: ({
|
|
785
789
|
value: string | string[];
|
|
786
790
|
attribute: string;
|
|
@@ -802,27 +806,27 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
802
806
|
}[] | undefined;
|
|
803
807
|
} | {
|
|
804
808
|
id?: string | undefined;
|
|
809
|
+
region_id?: string | undefined;
|
|
805
810
|
amount?: number | undefined;
|
|
806
811
|
rules?: {
|
|
807
812
|
value: number;
|
|
808
813
|
attribute: "item_total";
|
|
809
814
|
operator: PricingRuleOperator;
|
|
810
815
|
}[] | undefined;
|
|
811
|
-
region_id?: string | undefined;
|
|
812
816
|
})[] | undefined;
|
|
813
|
-
data?: Record<string, unknown> | undefined;
|
|
814
|
-
name?: string | undefined;
|
|
815
817
|
type_id?: string | undefined;
|
|
816
|
-
price_type?: ShippingOptionPriceTypeEnum | undefined;
|
|
817
818
|
provider_id?: string | undefined;
|
|
819
|
+
price_type?: ShippingOptionPriceTypeEnum | undefined;
|
|
818
820
|
}, {
|
|
821
|
+
data?: Record<string, unknown> | undefined;
|
|
822
|
+
metadata?: Record<string, unknown> | undefined;
|
|
819
823
|
type?: {
|
|
820
824
|
code: string;
|
|
821
825
|
label: string;
|
|
822
826
|
description?: string | undefined;
|
|
823
827
|
} | undefined;
|
|
828
|
+
name?: string | undefined;
|
|
824
829
|
shipping_profile_id?: string | undefined;
|
|
825
|
-
metadata?: Record<string, unknown> | undefined;
|
|
826
830
|
rules?: ({
|
|
827
831
|
value: string | string[];
|
|
828
832
|
attribute: string;
|
|
@@ -844,17 +848,15 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
844
848
|
}[] | undefined;
|
|
845
849
|
} | {
|
|
846
850
|
id?: string | undefined;
|
|
851
|
+
region_id?: string | undefined;
|
|
847
852
|
amount?: number | undefined;
|
|
848
853
|
rules?: {
|
|
849
854
|
value: number;
|
|
850
855
|
attribute: "item_total";
|
|
851
856
|
operator: PricingRuleOperator;
|
|
852
857
|
}[] | undefined;
|
|
853
|
-
region_id?: string | undefined;
|
|
854
858
|
})[] | undefined;
|
|
855
|
-
data?: Record<string, unknown> | undefined;
|
|
856
|
-
name?: string | undefined;
|
|
857
859
|
type_id?: string | undefined;
|
|
858
|
-
price_type?: ShippingOptionPriceTypeEnum | undefined;
|
|
859
860
|
provider_id?: string | undefined;
|
|
861
|
+
price_type?: ShippingOptionPriceTypeEnum | undefined;
|
|
860
862
|
}>;
|
|
@@ -15,6 +15,7 @@ exports.VendorGetShippingOptionsParams = (0, validators_1.createFindParams)({
|
|
|
15
15
|
service_zone_id: zod_1.z.union([zod_1.z.string(), zod_1.z.array(zod_1.z.string())]).optional(),
|
|
16
16
|
shipping_profile_id: zod_1.z.union([zod_1.z.string(), zod_1.z.array(zod_1.z.string())]).optional(),
|
|
17
17
|
provider_id: zod_1.z.union([zod_1.z.string(), zod_1.z.array(zod_1.z.string())]).optional(),
|
|
18
|
+
stock_location_id: zod_1.z.union([zod_1.z.string(), zod_1.z.array(zod_1.z.string())]).optional(),
|
|
18
19
|
shipping_option_type_id: zod_1.z
|
|
19
20
|
.union([zod_1.z.string(), zod_1.z.array(zod_1.z.string())])
|
|
20
21
|
.optional(),
|
|
@@ -127,4 +128,4 @@ exports.VendorUpdateShippingOption = zod_1.z
|
|
|
127
128
|
message: "Only one of 'type' or 'type_id' can be provided",
|
|
128
129
|
path: ["type_id", "type"],
|
|
129
130
|
});
|
|
130
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
131
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdG9ycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcGkvdmVuZG9yL3NoaXBwaW5nLW9wdGlvbnMvdmFsaWRhdG9ycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxxREFJa0M7QUFDbEMsNkJBQXVCO0FBQ3ZCLHNFQUk4QztBQUM5QyxxREFBcUQ7QUFLeEMsUUFBQSw2QkFBNkIsR0FBRyxJQUFBLCtCQUFrQixHQUFFLENBQUE7QUFLcEQsUUFBQSw4QkFBOEIsR0FBRyxJQUFBLDZCQUFnQixFQUFDO0lBQzdELE1BQU0sRUFBRSxDQUFDO0lBQ1QsS0FBSyxFQUFFLEVBQUU7Q0FDVixDQUFDLENBQUMsS0FBSyxDQUNOLE9BQUMsQ0FBQyxNQUFNLENBQUM7SUFDUCxFQUFFLEVBQUUsT0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLE9BQUMsQ0FBQyxNQUFNLEVBQUUsRUFBRSxPQUFDLENBQUMsS0FBSyxDQUFDLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxRQUFRLEVBQUU7SUFDekQsQ0FBQyxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxRQUFRLEVBQUU7SUFDeEIsZUFBZSxFQUFFLE9BQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQyxPQUFDLENBQUMsTUFBTSxFQUFFLEVBQUUsT0FBQyxDQUFDLEtBQUssQ0FBQyxPQUFDLENBQUMsTUFBTSxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsUUFBUSxFQUFFO0lBQ3RFLG1CQUFtQixFQUFFLE9BQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQyxPQUFDLENBQUMsTUFBTSxFQUFFLEVBQUUsT0FBQyxDQUFDLEtBQUssQ0FBQyxPQUFDLENBQUMsTUFBTSxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsUUFBUSxFQUFFO0lBQzFFLFdBQVcsRUFBRSxPQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsT0FBQyxDQUFDLE1BQU0sRUFBRSxFQUFFLE9BQUMsQ0FBQyxLQUFLLENBQUMsT0FBQyxDQUFDLE1BQU0sRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLFFBQVEsRUFBRTtJQUNsRSxpQkFBaUIsRUFBRSxPQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsT0FBQyxDQUFDLE1BQU0sRUFBRSxFQUFFLE9BQUMsQ0FBQyxLQUFLLENBQUMsT0FBQyxDQUFDLE1BQU0sRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLFFBQVEsRUFBRTtJQUN4RSx1QkFBdUIsRUFBRSxPQUFDO1NBQ3ZCLEtBQUssQ0FBQyxDQUFDLE9BQUMsQ0FBQyxNQUFNLEVBQUUsRUFBRSxPQUFDLENBQUMsS0FBSyxDQUFDLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxDQUFDLENBQUM7U0FDeEMsUUFBUSxFQUFFO0lBQ2IsVUFBVSxFQUFFLElBQUEsOEJBQWlCLEdBQUUsQ0FBQyxRQUFRLEVBQUU7SUFDMUMsVUFBVSxFQUFFLElBQUEsOEJBQWlCLEdBQUUsQ0FBQyxRQUFRLEVBQUU7Q0FDM0MsQ0FBQyxDQUNILENBQUE7QUFLWSxRQUFBLGlDQUFpQyxHQUFHLElBQUEsK0JBQWtCLEdBQUUsQ0FBQTtBQUt4RCxRQUFBLDhCQUE4QixHQUFHLE9BQUM7S0FDNUMsTUFBTSxDQUFDO0lBQ04sUUFBUSxFQUFFLE9BQUMsQ0FBQyxVQUFVLENBQUMsb0JBQVksQ0FBQztJQUNwQyxTQUFTLEVBQUUsT0FBQyxDQUFDLE1BQU0sRUFBRTtJQUNyQixLQUFLLEVBQUUsT0FBQyxDQUFDLE1BQU0sRUFBRSxDQUFDLEVBQUUsQ0FBQyxPQUFDLENBQUMsS0FBSyxDQUFDLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxDQUFDO0NBQzFDLENBQUM7S0FDRCxNQUFNLEVBQUUsQ0FBQTtBQUtFLFFBQUEsOEJBQThCLEdBQUcsT0FBQztLQUM1QyxNQUFNLENBQUM7SUFDTixFQUFFLEVBQUUsT0FBQyxDQUFDLE1BQU0sRUFBRTtJQUNkLFFBQVEsRUFBRSxPQUFDLENBQUMsVUFBVSxDQUFDLG9CQUFZLENBQUM7SUFDcEMsU0FBUyxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUU7SUFDckIsS0FBSyxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxFQUFFLENBQUMsT0FBQyxDQUFDLEtBQUssQ0FBQyxPQUFDLENBQUMsTUFBTSxFQUFFLENBQUMsQ0FBQztDQUMxQyxDQUFDO0tBQ0QsTUFBTSxFQUFFLENBQUE7QUFFRSxRQUFBLG9DQUFvQyxHQUFHLE9BQUM7S0FDbEQsTUFBTSxDQUFDO0lBQ04sS0FBSyxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUU7SUFDakIsV0FBVyxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxRQUFRLEVBQUU7SUFDbEMsSUFBSSxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUU7Q0FDakIsQ0FBQztLQUNELE1BQU0sRUFBRSxDQUFBO0FBRVgsTUFBTSxnQkFBZ0IsR0FBRyxPQUFDLENBQUMsS0FBSyxDQUM5QixPQUFDLENBQUMsTUFBTSxDQUFDO0lBQ1AsU0FBUyxFQUFFLE9BQUMsQ0FBQyxPQUFPLENBQUMsWUFBWSxDQUFDO0lBQ2xDLFFBQVEsRUFBRSxPQUFDLENBQUMsVUFBVSxDQUFDLDJCQUFtQixDQUFDO0lBQzNDLEtBQUssRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFO0NBQ2xCLENBQUMsQ0FDSCxDQUFBO0FBRVksUUFBQSwyQ0FBMkMsR0FBRyxPQUFDO0tBQ3pELE1BQU0sQ0FBQztJQUNOLGFBQWEsRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFO0lBQ3pCLE1BQU0sRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFO0lBQ2xCLEtBQUssRUFBRSxnQkFBZ0IsQ0FBQyxRQUFRLEVBQUU7Q0FDbkMsQ0FBQztLQUNELE1BQU0sRUFBRSxDQUFBO0FBRUUsUUFBQSx5Q0FBeUMsR0FBRyxPQUFDO0tBQ3ZELE1BQU0sQ0FBQztJQUNOLFNBQVMsRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFO0lBQ3JCLE1BQU0sRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFO0lBQ2xCLEtBQUssRUFBRSxnQkFBZ0IsQ0FBQyxRQUFRLEVBQUU7Q0FDbkMsQ0FBQztLQUNELE1BQU0sRUFBRSxDQUFBO0FBRUUsUUFBQSwyQ0FBMkMsR0FBRyxPQUFDO0tBQ3pELE1BQU0sQ0FBQztJQUNOLEVBQUUsRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFLENBQUMsUUFBUSxFQUFFO0lBQ3pCLGFBQWEsRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFLENBQUMsUUFBUSxFQUFFO0lBQ3BDLE1BQU0sRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFLENBQUMsUUFBUSxFQUFFO0lBQzdCLEtBQUssRUFBRSxnQkFBZ0IsQ0FBQyxRQUFRLEVBQUU7Q0FDbkMsQ0FBQztLQUNELE1BQU0sRUFBRSxDQUFBO0FBRUUsUUFBQSx5Q0FBeUMsR0FBRyxPQUFDO0tBQ3ZELE1BQU0sQ0FBQztJQUNOLEVBQUUsRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFLENBQUMsUUFBUSxFQUFFO0lBQ3pCLFNBQVMsRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFLENBQUMsUUFBUSxFQUFFO0lBQ2hDLE1BQU0sRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFLENBQUMsUUFBUSxFQUFFO0lBQzdCLEtBQUssRUFBRSxnQkFBZ0IsQ0FBQyxRQUFRLEVBQUU7Q0FDbkMsQ0FBQztLQUNELE1BQU0sRUFBRSxDQUFBO0FBS0UsUUFBQSwwQkFBMEIsR0FBRyxPQUFDO0tBQ3hDLE1BQU0sQ0FBQztJQUNOLElBQUksRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFO0lBQ2hCLGVBQWUsRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFO0lBQzNCLG1CQUFtQixFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUU7SUFDL0IsSUFBSSxFQUFFLE9BQUMsQ0FBQyxNQUFNLENBQUMsT0FBQyxDQUFDLE9BQU8sRUFBRSxDQUFDLENBQUMsUUFBUSxFQUFFO0lBQ3RDLFVBQVUsRUFBRSxPQUFDLENBQUMsVUFBVSxDQUFDLCtCQUEyQixDQUFDO0lBQ3JELFdBQVcsRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFO0lBQ3ZCLElBQUksRUFBRSw0Q0FBb0MsQ0FBQyxRQUFRLEVBQUU7SUFDckQsT0FBTyxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxRQUFRLEVBQUU7SUFDOUIsTUFBTSxFQUFFLG1EQUEyQyxDQUFDLEVBQUUsQ0FDcEQsaURBQXlDLENBQzFDLENBQUMsS0FBSyxFQUFFO0lBQ1QsS0FBSyxFQUFFLHNDQUE4QixDQUFDLEtBQUssRUFBRSxDQUFDLFFBQVEsRUFBRTtJQUN4RCxRQUFRLEVBQUUsT0FBQyxDQUFDLE1BQU0sQ0FBQyxPQUFDLENBQUMsT0FBTyxFQUFFLENBQUMsQ0FBQyxRQUFRLEVBQUU7Q0FDM0MsQ0FBQztLQUNELE1BQU0sRUFBRTtLQUNSLE1BQU0sQ0FBQyxDQUFDLElBQUksRUFBRSxFQUFFLENBQUMsSUFBQSxpQkFBUyxFQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsS0FBSyxJQUFBLGlCQUFTLEVBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxFQUFFO0lBQ2xFLE9BQU8sRUFDTCxtRUFBbUU7SUFDckUsSUFBSSxFQUFFLENBQUMsU0FBUyxFQUFFLE1BQU0sQ0FBQztDQUMxQixDQUFDLENBQUE7QUFLUyxRQUFBLDBCQUEwQixHQUFHLE9BQUM7S0FDeEMsTUFBTSxDQUFDO0lBQ04sSUFBSSxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxRQUFRLEVBQUU7SUFDM0IsSUFBSSxFQUFFLE9BQUMsQ0FBQyxNQUFNLENBQUMsT0FBQyxDQUFDLE9BQU8sRUFBRSxDQUFDLENBQUMsUUFBUSxFQUFFO0lBQ3RDLFVBQVUsRUFBRSxPQUFDLENBQUMsVUFBVSxDQUFDLCtCQUEyQixDQUFDLENBQUMsUUFBUSxFQUFFO0lBQ2hFLFdBQVcsRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFLENBQUMsUUFBUSxFQUFFO0lBQ2xDLG1CQUFtQixFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxRQUFRLEVBQUU7SUFDMUMsSUFBSSxFQUFFLDRDQUFvQyxDQUFDLFFBQVEsRUFBRTtJQUNyRCxPQUFPLEVBQUUsT0FBQyxDQUFDLE1BQU0sRUFBRSxDQUFDLFFBQVEsRUFBRTtJQUM5QixNQUFNLEVBQUUsbURBQTJDLENBQUMsRUFBRSxDQUNwRCxpREFBeUMsQ0FDMUM7U0FDRSxLQUFLLEVBQUU7U0FDUCxRQUFRLEVBQUU7SUFDYixLQUFLLEVBQUUsc0NBQThCLENBQUMsRUFBRSxDQUFDLHNDQUE4QixDQUFDO1NBQ3JFLEtBQUssRUFBRTtTQUNQLFFBQVEsRUFBRTtJQUNiLFFBQVEsRUFBRSxPQUFDLENBQUMsTUFBTSxDQUFDLE9BQUMsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxDQUFDLFFBQVEsRUFBRTtDQUMzQyxDQUFDO0tBQ0QsTUFBTSxFQUFFO0tBQ1IsTUFBTSxDQUNMLENBQUMsSUFBSSxFQUFFLEVBQUU7SUFDUCxNQUFNLE9BQU8sR0FBRyxJQUFBLGlCQUFTLEVBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFBO0lBQ3BDLE1BQU0sU0FBUyxHQUFHLElBQUEsaUJBQVMsRUFBQyxJQUFJLENBQUMsT0FBTyxDQUFDLENBQUE7SUFFekMsSUFBSSxDQUFDLE9BQU8sSUFBSSxDQUFDLFNBQVMsRUFBRSxDQUFDO1FBQzNCLE9BQU8sSUFBSSxDQUFBO0lBQ2IsQ0FBQztJQUVELE9BQU8sT0FBTyxLQUFLLFNBQVMsQ0FBQTtBQUM5QixDQUFDLEVBQ0Q7SUFDRSxPQUFPLEVBQUUsaURBQWlEO0lBQzFELElBQUksRUFBRSxDQUFDLFNBQVMsRUFBRSxNQUFNLENBQUM7Q0FDMUIsQ0FDRixDQUFBIn0=
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export type VendorGetShippingProfileParamsType = z.infer<typeof VendorGetShippingProfileParams>;
|
|
3
3
|
export declare const VendorGetShippingProfileParams: 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,17 +10,16 @@ export declare const VendorGetShippingProfileParams: z.ZodObject<{
|
|
|
10
10
|
export type VendorGetShippingProfilesParamsType = z.infer<typeof VendorGetShippingProfilesParams>;
|
|
11
11
|
export declare const VendorGetShippingProfilesParams: 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
19
|
q: z.ZodOptional<z.ZodString>;
|
|
21
20
|
type: z.ZodOptional<z.ZodString>;
|
|
22
21
|
name: z.ZodOptional<z.ZodString>;
|
|
23
|
-
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
22
|
+
created_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
24
23
|
$eq: any;
|
|
25
24
|
$ne: any;
|
|
26
25
|
$in: any;
|
|
@@ -33,7 +32,7 @@ export declare const VendorGetShippingProfilesParams: z.ZodObject<{
|
|
|
33
32
|
$gte: any;
|
|
34
33
|
$lt: any;
|
|
35
34
|
$lte: any;
|
|
36
|
-
},
|
|
35
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
37
36
|
$eq?: any;
|
|
38
37
|
$ne?: any;
|
|
39
38
|
$in?: any;
|
|
@@ -60,7 +59,7 @@ export declare const VendorGetShippingProfilesParams: z.ZodObject<{
|
|
|
60
59
|
$lt?: any;
|
|
61
60
|
$lte?: any;
|
|
62
61
|
}>]>>;
|
|
63
|
-
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
62
|
+
updated_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
64
63
|
$eq: any;
|
|
65
64
|
$ne: any;
|
|
66
65
|
$in: any;
|
|
@@ -73,7 +72,7 @@ export declare const VendorGetShippingProfilesParams: z.ZodObject<{
|
|
|
73
72
|
$gte: any;
|
|
74
73
|
$lt: any;
|
|
75
74
|
$lte: any;
|
|
76
|
-
},
|
|
75
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
77
76
|
$eq?: any;
|
|
78
77
|
$ne?: any;
|
|
79
78
|
$in?: any;
|
|
@@ -101,28 +100,28 @@ export declare const VendorGetShippingProfilesParams: z.ZodObject<{
|
|
|
101
100
|
$lte?: any;
|
|
102
101
|
}>]>>;
|
|
103
102
|
}, "strip", z.ZodTypeAny, {
|
|
104
|
-
|
|
105
|
-
limit: number;
|
|
103
|
+
order?: string | undefined;
|
|
106
104
|
id?: string | string[] | undefined;
|
|
107
105
|
created_at?: any;
|
|
108
106
|
updated_at?: any;
|
|
107
|
+
fields?: string | undefined;
|
|
109
108
|
type?: string | undefined;
|
|
109
|
+
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
110
|
+
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
111
|
+
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
110
112
|
q?: string | undefined;
|
|
111
|
-
fields?: string | undefined;
|
|
112
|
-
order?: string | undefined;
|
|
113
|
-
with_deleted?: boolean | undefined;
|
|
114
113
|
name?: string | undefined;
|
|
115
114
|
}, {
|
|
115
|
+
order?: string | undefined;
|
|
116
116
|
id?: string | string[] | undefined;
|
|
117
117
|
created_at?: any;
|
|
118
118
|
updated_at?: any;
|
|
119
|
+
fields?: string | undefined;
|
|
119
120
|
type?: string | undefined;
|
|
120
|
-
offset?: unknown
|
|
121
|
-
limit?: unknown
|
|
121
|
+
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
122
|
+
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
123
|
+
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
122
124
|
q?: string | undefined;
|
|
123
|
-
fields?: string | undefined;
|
|
124
|
-
order?: string | undefined;
|
|
125
|
-
with_deleted?: unknown;
|
|
126
125
|
name?: string | undefined;
|
|
127
126
|
}>;
|
|
128
127
|
export type VendorCreateShippingProfileType = z.infer<typeof VendorCreateShippingProfile>;
|
|
@@ -145,11 +144,11 @@ export declare const VendorUpdateShippingProfile: z.ZodObject<{
|
|
|
145
144
|
type: z.ZodOptional<z.ZodString>;
|
|
146
145
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
147
146
|
}, "strict", z.ZodTypeAny, {
|
|
148
|
-
type?: string | undefined;
|
|
149
147
|
metadata?: Record<string, unknown> | null | undefined;
|
|
148
|
+
type?: string | undefined;
|
|
150
149
|
name?: string | undefined;
|
|
151
150
|
}, {
|
|
152
|
-
type?: string | undefined;
|
|
153
151
|
metadata?: Record<string, unknown> | null | undefined;
|
|
152
|
+
type?: string | undefined;
|
|
154
153
|
name?: string | undefined;
|
|
155
154
|
}>;
|