@mercurjs/core 2.2.0-canary.29 → 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 +0 -7
- package/.medusa/server/src/api/admin/claims/[id]/outbound/items/route.js +1 -8
- package/.medusa/server/src/api/admin/claims/[id]/request/route.d.ts +0 -6
- package/.medusa/server/src/api/admin/claims/[id]/request/route.js +1 -7
- package/.medusa/server/src/api/admin/collections/middlewares.js +1 -7
- package/.medusa/server/src/api/admin/collections/validators.d.ts +20 -29
- package/.medusa/server/src/api/admin/commission-rates/validators.d.ts +40 -39
- package/.medusa/server/src/api/admin/customer-groups/middlewares.js +1 -6
- package/.medusa/server/src/api/admin/customer-groups/validators.d.ts +55 -551
- package/.medusa/server/src/api/admin/customer-groups/validators.js +2 -3
- package/.medusa/server/src/api/admin/exchanges/[id]/outbound/items/route.d.ts +0 -8
- package/.medusa/server/src/api/admin/exchanges/[id]/outbound/items/route.js +1 -9
- package/.medusa/server/src/api/admin/exchanges/[id]/request/route.d.ts +0 -6
- package/.medusa/server/src/api/admin/exchanges/[id]/request/route.js +1 -7
- package/.medusa/server/src/api/admin/members/validators.d.ts +12 -13
- package/.medusa/server/src/api/admin/offers/validators.d.ts +16 -17
- package/.medusa/server/src/api/admin/order-edits/[id]/confirm/route.d.ts +0 -9
- package/.medusa/server/src/api/admin/order-edits/[id]/confirm/route.js +1 -10
- package/.medusa/server/src/api/admin/order-edits/[id]/items/route.d.ts +0 -11
- package/.medusa/server/src/api/admin/order-edits/[id]/items/route.js +1 -12
- package/.medusa/server/src/api/admin/order-groups/apply-request-filter.js +4 -10
- package/.medusa/server/src/api/admin/order-groups/validators.d.ts +16 -17
- package/.medusa/server/src/api/admin/order-groups/validators.js +1 -6
- package/.medusa/server/src/api/admin/orders/resolve-order-seller-id.d.ts +0 -9
- package/.medusa/server/src/api/admin/orders/resolve-order-seller-id.js +1 -10
- package/.medusa/server/src/api/admin/orders/validators.d.ts +1 -333
- package/.medusa/server/src/api/admin/payouts/validators.d.ts +16 -17
- package/.medusa/server/src/api/admin/product-attributes/middlewares.js +1 -3
- package/.medusa/server/src/api/admin/product-attributes/route.js +1 -4
- package/.medusa/server/src/api/admin/product-attributes/validators.d.ts +99 -110
- package/.medusa/server/src/api/admin/product-attributes/validators.js +1 -3
- package/.medusa/server/src/api/admin/product-categories/validators.d.ts +87 -89
- package/.medusa/server/src/api/admin/product-changes/[id]/cancel/route.d.ts +0 -7
- package/.medusa/server/src/api/admin/product-changes/[id]/cancel/route.js +1 -8
- package/.medusa/server/src/api/admin/product-changes/[id]/confirm/route.d.ts +0 -7
- package/.medusa/server/src/api/admin/product-changes/[id]/confirm/route.js +1 -8
- package/.medusa/server/src/api/admin/products/[id]/attributes/batch/route.js +6 -9
- package/.medusa/server/src/api/admin/products/[id]/confirm/route.d.ts +0 -12
- package/.medusa/server/src/api/admin/products/[id]/confirm/route.js +1 -13
- package/.medusa/server/src/api/admin/products/[id]/preview/route.d.ts +0 -7
- package/.medusa/server/src/api/admin/products/[id]/preview/route.js +1 -8
- package/.medusa/server/src/api/admin/products/[id]/reject/route.d.ts +0 -8
- package/.medusa/server/src/api/admin/products/[id]/reject/route.js +1 -9
- package/.medusa/server/src/api/admin/products/[id]/request-changes/route.d.ts +0 -9
- package/.medusa/server/src/api/admin/products/[id]/request-changes/route.js +1 -10
- package/.medusa/server/src/api/admin/products/[id]/route.js +2 -6
- package/.medusa/server/src/api/admin/products/[id]/sellers/route.d.ts +3 -0
- package/.medusa/server/src/api/admin/products/[id]/sellers/route.js +13 -0
- package/.medusa/server/src/api/admin/products/middlewares.js +4 -42
- package/.medusa/server/src/api/admin/products/query-config.js +41 -16
- package/.medusa/server/src/api/admin/products/route.js +2 -5
- package/.medusa/server/src/api/admin/products/validators.d.ts +512 -1288
- package/.medusa/server/src/api/admin/products/validators.js +55 -96
- package/.medusa/server/src/api/admin/returns/[id]/receive/confirm/route.d.ts +0 -6
- package/.medusa/server/src/api/admin/returns/[id]/receive/confirm/route.js +1 -7
- package/.medusa/server/src/api/admin/sellers/middlewares.js +1 -20
- package/.medusa/server/src/api/admin/sellers/validators.d.ts +59 -79
- 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/offers/validators.d.ts +19 -20
- package/.medusa/server/src/api/store/order-groups/validators.d.ts +14 -15
- 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 +1 -5
- package/.medusa/server/src/api/store/products/middlewares.js +1 -7
- package/.medusa/server/src/api/store/products/query-config.js +23 -7
- package/.medusa/server/src/api/store/products/validators.d.ts +69 -65
- package/.medusa/server/src/api/store/sellers/validators.d.ts +35 -34
- package/.medusa/server/src/api/utils/filter-attributes-by-category-link.d.ts +0 -15
- package/.medusa/server/src/api/utils/filter-attributes-by-category-link.js +22 -26
- package/.medusa/server/src/api/utils/format-product-attributes.d.ts +5 -50
- package/.medusa/server/src/api/utils/format-product-attributes.js +90 -166
- package/.medusa/server/src/api/utils/index.d.ts +1 -0
- package/.medusa/server/src/api/utils/index.js +2 -1
- package/.medusa/server/src/api/utils/offers.d.ts +2 -29
- package/.medusa/server/src/api/utils/offers.js +3 -40
- package/.medusa/server/src/api/utils/order-commission-lines.d.ts +0 -7
- package/.medusa/server/src/api/utils/order-commission-lines.js +1 -8
- 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/vendor/campaigns/validators.d.ts +12 -13
- package/.medusa/server/src/api/vendor/claims/[id]/outbound/items/route.d.ts +0 -6
- package/.medusa/server/src/api/vendor/claims/[id]/outbound/items/route.js +1 -7
- package/.medusa/server/src/api/vendor/claims/[id]/request/route.js +1 -4
- package/.medusa/server/src/api/vendor/claims/validators.d.ts +14 -15
- package/.medusa/server/src/api/vendor/collections/validators.d.ts +18 -19
- package/.medusa/server/src/api/vendor/currencies/validators.d.ts +12 -13
- package/.medusa/server/src/api/vendor/customer-groups/validators.d.ts +16 -17
- package/.medusa/server/src/api/vendor/customers/[id]/customer-groups/route.js +1 -2
- package/.medusa/server/src/api/vendor/customers/[id]/route.js +1 -3
- package/.medusa/server/src/api/vendor/customers/validators.d.ts +35 -34
- package/.medusa/server/src/api/vendor/exchanges/[id]/outbound/items/route.d.ts +0 -6
- package/.medusa/server/src/api/vendor/exchanges/[id]/outbound/items/route.js +1 -7
- package/.medusa/server/src/api/vendor/exchanges/[id]/request/route.js +1 -4
- package/.medusa/server/src/api/vendor/exchanges/validators.d.ts +13 -14
- package/.medusa/server/src/api/vendor/fulfillment-providers/validators.d.ts +24 -23
- package/.medusa/server/src/api/vendor/fulfillment-sets/validators.d.ts +2 -2
- package/.medusa/server/src/api/vendor/inventory-items/validators.d.ts +98 -104
- package/.medusa/server/src/api/vendor/offers/validators.d.ts +20 -25
- package/.medusa/server/src/api/vendor/offers/validators.js +1 -5
- package/.medusa/server/src/api/vendor/order-edits/[id]/confirm/route.d.ts +0 -11
- package/.medusa/server/src/api/vendor/order-edits/[id]/confirm/route.js +1 -12
- package/.medusa/server/src/api/vendor/order-edits/[id]/items/[action_id]/route.d.ts +0 -9
- package/.medusa/server/src/api/vendor/order-edits/[id]/items/[action_id]/route.js +1 -10
- package/.medusa/server/src/api/vendor/order-edits/[id]/items/item/[item_id]/route.d.ts +0 -6
- package/.medusa/server/src/api/vendor/order-edits/[id]/items/item/[item_id]/route.js +1 -7
- package/.medusa/server/src/api/vendor/order-edits/[id]/items/route.d.ts +0 -12
- package/.medusa/server/src/api/vendor/order-edits/[id]/items/route.js +1 -13
- package/.medusa/server/src/api/vendor/order-edits/[id]/request/route.d.ts +0 -7
- package/.medusa/server/src/api/vendor/order-edits/[id]/request/route.js +1 -8
- package/.medusa/server/src/api/vendor/order-edits/[id]/route.d.ts +0 -7
- package/.medusa/server/src/api/vendor/order-edits/[id]/route.js +1 -8
- package/.medusa/server/src/api/vendor/order-edits/[id]/shipping-method/[action_id]/route.d.ts +0 -9
- package/.medusa/server/src/api/vendor/order-edits/[id]/shipping-method/[action_id]/route.js +1 -10
- package/.medusa/server/src/api/vendor/order-edits/[id]/shipping-method/route.d.ts +0 -5
- package/.medusa/server/src/api/vendor/order-edits/[id]/shipping-method/route.js +1 -6
- package/.medusa/server/src/api/vendor/order-edits/middlewares.js +1 -13
- package/.medusa/server/src/api/vendor/order-edits/route.d.ts +0 -6
- package/.medusa/server/src/api/vendor/order-edits/route.js +1 -7
- package/.medusa/server/src/api/vendor/order-edits/validators.d.ts +0 -6
- package/.medusa/server/src/api/vendor/order-edits/validators.js +1 -1
- package/.medusa/server/src/api/vendor/orders/apply-request-filter.js +1 -4
- package/.medusa/server/src/api/vendor/orders/resolve-offer-items.d.ts +0 -18
- package/.medusa/server/src/api/vendor/orders/resolve-offer-items.js +1 -1
- package/.medusa/server/src/api/vendor/orders/validators.d.ts +19 -20
- package/.medusa/server/src/api/vendor/payment-collections/validators.d.ts +1 -1
- package/.medusa/server/src/api/vendor/payments/helpers.d.ts +0 -9
- package/.medusa/server/src/api/vendor/payments/helpers.js +1 -10
- package/.medusa/server/src/api/vendor/payments/validators.d.ts +36 -36
- package/.medusa/server/src/api/vendor/payout-accounts/validators.d.ts +11 -12
- package/.medusa/server/src/api/vendor/payouts/validators.d.ts +16 -17
- package/.medusa/server/src/api/vendor/price-lists/validators.d.ts +26 -28
- package/.medusa/server/src/api/vendor/price-preferences/validators.d.ts +12 -13
- package/.medusa/server/src/api/vendor/product-attributes/route.js +1 -3
- package/.medusa/server/src/api/vendor/product-attributes/validators.d.ts +74 -86
- package/.medusa/server/src/api/vendor/product-attributes/validators.js +1 -1
- package/.medusa/server/src/api/vendor/product-categories/[id]/products/route.js +2 -2
- package/.medusa/server/src/api/vendor/product-categories/validators.d.ts +89 -83
- package/.medusa/server/src/api/vendor/product-tags/validators.d.ts +2 -2
- package/.medusa/server/src/api/vendor/product-types/validators.d.ts +12 -13
- package/.medusa/server/src/api/vendor/product-variants/middlewares.js +11 -19
- package/.medusa/server/src/api/vendor/product-variants/query-config.js +1 -3
- package/.medusa/server/src/api/vendor/product-variants/validators.d.ts +103 -97
- package/.medusa/server/src/api/vendor/products/[id]/attributes/batch/route.d.ts +2 -9
- package/.medusa/server/src/api/vendor/products/[id]/attributes/batch/route.js +3 -27
- package/.medusa/server/src/api/vendor/products/[id]/cancel/route.d.ts +0 -6
- package/.medusa/server/src/api/vendor/products/[id]/cancel/route.js +1 -7
- package/.medusa/server/src/api/vendor/products/[id]/preview/route.d.ts +0 -9
- package/.medusa/server/src/api/vendor/products/[id]/preview/route.js +1 -10
- package/.medusa/server/src/api/vendor/products/[id]/route.d.ts +0 -14
- package/.medusa/server/src/api/vendor/products/[id]/route.js +3 -21
- package/.medusa/server/src/api/vendor/products/[id]/variants/[variant_id]/route.d.ts +0 -8
- package/.medusa/server/src/api/vendor/products/[id]/variants/[variant_id]/route.js +2 -16
- package/.medusa/server/src/api/vendor/products/[id]/variants/route.d.ts +0 -7
- package/.medusa/server/src/api/vendor/products/[id]/variants/route.js +2 -9
- package/.medusa/server/src/api/vendor/products/helpers.d.ts +6 -5
- package/.medusa/server/src/api/vendor/products/helpers.js +54 -10
- package/.medusa/server/src/api/vendor/products/middlewares.js +14 -65
- package/.medusa/server/src/api/vendor/products/query-config.js +44 -15
- package/.medusa/server/src/api/vendor/products/route.d.ts +0 -9
- package/.medusa/server/src/api/vendor/products/route.js +7 -21
- package/.medusa/server/src/api/vendor/products/validators.d.ts +404 -830
- package/.medusa/server/src/api/vendor/products/validators.js +59 -112
- package/.medusa/server/src/api/vendor/promotions/validators.d.ts +43 -45
- package/.medusa/server/src/api/vendor/refund-reasons/validators.d.ts +16 -17
- package/.medusa/server/src/api/vendor/regions/validators.d.ts +16 -17
- package/.medusa/server/src/api/vendor/reservations/[id]/route.js +1 -1
- package/.medusa/server/src/api/vendor/reservations/helpers.js +1 -4
- package/.medusa/server/src/api/vendor/reservations/query-config.js +1 -4
- package/.medusa/server/src/api/vendor/reservations/route.js +1 -1
- package/.medusa/server/src/api/vendor/reservations/validators.d.ts +22 -23
- package/.medusa/server/src/api/vendor/reservations/validators.js +1 -1
- package/.medusa/server/src/api/vendor/return-reasons/validators.d.ts +16 -17
- package/.medusa/server/src/api/vendor/returns/validators.d.ts +22 -23
- package/.medusa/server/src/api/vendor/sales-channels/helpers.js +6 -1
- 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 +1 -4
- package/.medusa/server/src/api/vendor/sellers/validators.d.ts +16 -37
- package/.medusa/server/src/api/vendor/sellers/validators.js +1 -4
- package/.medusa/server/src/api/vendor/shipping-option-types/validators.d.ts +16 -17
- package/.medusa/server/src/api/vendor/shipping-options/validators.d.ts +33 -34
- package/.medusa/server/src/api/vendor/shipping-profiles/validators.d.ts +16 -17
- package/.medusa/server/src/api/vendor/stock-locations/validators.d.ts +16 -17
- package/.medusa/server/src/api/vendor/stores/validators.d.ts +12 -13
- package/.medusa/server/src/links/product-attribute-category-link.d.ts +6 -11
- package/.medusa/server/src/links/product-attribute-category-link.js +10 -20
- package/.medusa/server/src/links/product-attribute-option-mirror-link.d.ts +6 -0
- package/.medusa/server/src/links/product-attribute-option-mirror-link.js +24 -0
- package/.medusa/server/src/links/product-attribute-product-link.d.ts +0 -5
- package/.medusa/server/src/links/product-attribute-product-link.js +2 -7
- package/.medusa/server/src/links/product-attribute-value-option-value-mirror-link.d.ts +6 -0
- package/.medusa/server/src/links/product-attribute-value-option-value-mirror-link.js +24 -0
- package/.medusa/server/src/links/{product-variant-attribute-link.d.ts → product-attribute-value-pivot-link.d.ts} +3 -0
- package/.medusa/server/src/links/product-attribute-value-pivot-link.js +23 -0
- package/.medusa/server/src/modules/product-attribute/migrations/Migration20260601000002.d.ts +14 -0
- package/.medusa/server/src/modules/product-attribute/migrations/Migration20260601000002.js +31 -0
- package/.medusa/server/src/modules/product-attribute/models/product-attribute-value.d.ts +2 -0
- package/.medusa/server/src/modules/product-attribute/models/product-attribute-value.js +2 -1
- package/.medusa/server/src/modules/product-attribute/models/product-attribute.d.ts +2 -0
- package/.medusa/server/src/modules/product-attribute/models/product-attribute.js +2 -1
- package/.medusa/server/src/modules/product-attribute/service.d.ts +18 -3
- package/.medusa/server/src/modules/product-attribute/service.js +213 -1
- package/.medusa/server/src/modules/seller/repositories/order-group.js +1 -11
- package/.medusa/server/src/modules/seller/service.js +1 -2
- package/.medusa/server/src/workflows/cart/hooks/validate.js +1 -12
- package/.medusa/server/src/workflows/cart/steps/prepare-adjustments-from-promotion-actions.js +3 -5
- package/.medusa/server/src/workflows/cart/utils/fields.js +1 -13
- package/.medusa/server/src/workflows/cart/utils/prepare-line-item-data.js +1 -3
- package/.medusa/server/src/workflows/cart/workflows/add-seller-shipping-method-to-cart.js +1 -2
- package/.medusa/server/src/workflows/cart/workflows/complete-cart-with-split-orders.js +1 -24
- package/.medusa/server/src/workflows/cart/workflows/list-seller-shipping-options-for-cart.d.ts +2 -2
- package/.medusa/server/src/workflows/cart/workflows/list-seller-shipping-options-for-cart.js +1 -2
- package/.medusa/server/src/workflows/commission/steps/upsert-commission-lines.d.ts +0 -4
- package/.medusa/server/src/workflows/commission/steps/upsert-commission-lines.js +1 -5
- package/.medusa/server/src/workflows/commission/steps/validate-commission-rates-deletable.d.ts +0 -3
- package/.medusa/server/src/workflows/commission/steps/validate-commission-rates-deletable.js +1 -4
- package/.medusa/server/src/workflows/commission/workflows/delete-commission-rates.d.ts +1 -2
- package/.medusa/server/src/workflows/media/steps/create-images.d.ts +0 -3
- package/.medusa/server/src/workflows/media/steps/create-images.js +1 -4
- package/.medusa/server/src/workflows/media/steps/delete-images.d.ts +0 -3
- package/.medusa/server/src/workflows/media/steps/delete-images.js +1 -4
- package/.medusa/server/src/workflows/media/workflows/create-product-category-with-images.d.ts +0 -8
- package/.medusa/server/src/workflows/media/workflows/create-product-category-with-images.js +1 -6
- package/.medusa/server/src/workflows/media/workflows/create-product-collection-with-images.d.ts +0 -8
- package/.medusa/server/src/workflows/media/workflows/create-product-collection-with-images.js +1 -6
- package/.medusa/server/src/workflows/media/workflows/delete-product-category-with-images.d.ts +0 -4
- package/.medusa/server/src/workflows/media/workflows/delete-product-category-with-images.js +1 -6
- package/.medusa/server/src/workflows/media/workflows/delete-product-collection-with-images.d.ts +0 -5
- package/.medusa/server/src/workflows/media/workflows/delete-product-collection-with-images.js +1 -7
- package/.medusa/server/src/workflows/media/workflows/set-category-images.d.ts +0 -11
- package/.medusa/server/src/workflows/media/workflows/set-category-images.js +1 -10
- package/.medusa/server/src/workflows/media/workflows/set-collection-images.d.ts +0 -12
- package/.medusa/server/src/workflows/media/workflows/set-collection-images.js +1 -11
- package/.medusa/server/src/workflows/media/workflows/update-product-category-with-images.d.ts +0 -7
- package/.medusa/server/src/workflows/media/workflows/update-product-category-with-images.js +1 -5
- package/.medusa/server/src/workflows/media/workflows/update-product-collection-with-images.d.ts +0 -7
- package/.medusa/server/src/workflows/media/workflows/update-product-collection-with-images.js +1 -5
- package/.medusa/server/src/workflows/offer/steps/add-offer-prices.d.ts +0 -12
- package/.medusa/server/src/workflows/offer/steps/add-offer-prices.js +1 -16
- package/.medusa/server/src/workflows/offer/steps/ensure-variant-price-sets.d.ts +0 -9
- package/.medusa/server/src/workflows/offer/steps/ensure-variant-price-sets.js +1 -10
- package/.medusa/server/src/workflows/offer/steps/update-offers.d.ts +0 -5
- package/.medusa/server/src/workflows/offer/steps/update-offers.js +1 -1
- package/.medusa/server/src/workflows/offer/utils/assert-offer-price-ownership.d.ts +0 -11
- package/.medusa/server/src/workflows/offer/utils/assert-offer-price-ownership.js +1 -12
- package/.medusa/server/src/workflows/offer/utils/prepare-offer-inventory-input.d.ts +0 -10
- package/.medusa/server/src/workflows/offer/utils/prepare-offer-inventory-input.js +1 -19
- package/.medusa/server/src/workflows/offer/workflows/create-offers.js +1 -14
- package/.medusa/server/src/workflows/offer/workflows/update-offers.d.ts +0 -11
- package/.medusa/server/src/workflows/offer/workflows/update-offers.js +1 -22
- package/.medusa/server/src/workflows/order/workflows/cancel-order-fulfillment.d.ts +1 -2
- package/.medusa/server/src/workflows/order/workflows/cancel-order-fulfillment.js +1 -2
- package/.medusa/server/src/workflows/order/workflows/confirm-claim-request.js +1 -3
- package/.medusa/server/src/workflows/order/workflows/confirm-exchange-request.js +1 -8
- package/.medusa/server/src/workflows/order/workflows/confirm-order-edit-request.js +1 -1
- package/.medusa/server/src/workflows/order/workflows/confirm-return-receive.js +1 -9
- package/.medusa/server/src/workflows/order/workflows/create-order-fulfillment.js +2 -3
- package/.medusa/server/src/workflows/order-group/utils/aggregate-status.js +1 -7
- package/.medusa/server/src/workflows/product/events.d.ts +0 -6
- package/.medusa/server/src/workflows/product/events.js +1 -7
- package/.medusa/server/src/workflows/product/steps/index.d.ts +0 -2
- package/.medusa/server/src/workflows/product/steps/index.js +1 -3
- package/.medusa/server/src/workflows/product/steps/validate-products-status.d.ts +0 -8
- package/.medusa/server/src/workflows/product/steps/validate-products-status.js +1 -9
- package/.medusa/server/src/workflows/product/steps/validate-seller-product-permissions.js +1 -3
- package/.medusa/server/src/workflows/product/workflows/confirm-products.d.ts +0 -16
- package/.medusa/server/src/workflows/product/workflows/confirm-products.js +1 -13
- package/.medusa/server/src/workflows/product/workflows/create-products.d.ts +4 -74
- package/.medusa/server/src/workflows/product/workflows/create-products.js +70 -209
- package/.medusa/server/src/workflows/product/workflows/index.d.ts +0 -1
- package/.medusa/server/src/workflows/product/workflows/index.js +1 -2
- package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product-category.d.ts +0 -7
- package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product-category.js +1 -1
- package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product.d.ts +0 -7
- package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product.js +1 -1
- package/.medusa/server/src/workflows/product/workflows/reject-product.d.ts +0 -7
- package/.medusa/server/src/workflows/product/workflows/reject-product.js +1 -8
- package/.medusa/server/src/workflows/product/workflows/request-product-change.d.ts +0 -14
- package/.medusa/server/src/workflows/product/workflows/request-product-change.js +1 -15
- package/.medusa/server/src/workflows/product-attribute/events.d.ts +0 -9
- package/.medusa/server/src/workflows/product-attribute/events.js +1 -10
- package/.medusa/server/src/workflows/product-attribute/steps/create-product-attribute-values.d.ts +1 -31
- package/.medusa/server/src/workflows/product-attribute/steps/create-product-attributes.d.ts +1 -41
- package/.medusa/server/src/workflows/product-attribute/steps/create-product-attributes.js +1 -1
- package/.medusa/server/src/workflows/product-attribute/steps/detach-product-option-values-from-product.d.ts +14 -0
- package/.medusa/server/src/workflows/product-attribute/steps/detach-product-option-values-from-product.js +40 -0
- package/.medusa/server/src/workflows/product-attribute/steps/index.d.ts +3 -4
- package/.medusa/server/src/workflows/product-attribute/steps/index.js +4 -5
- package/.medusa/server/src/workflows/product-attribute/steps/update-product-attribute-values.d.ts +6 -3
- package/.medusa/server/src/workflows/product-attribute/steps/update-product-attribute-values.js +17 -2
- package/.medusa/server/src/workflows/product-attribute/steps/update-product-attributes.d.ts +1 -31
- package/.medusa/server/src/workflows/product-attribute/steps/validate-product-attributes-not-linked.d.ts +2 -0
- package/.medusa/server/src/workflows/product-attribute/steps/validate-product-attributes-not-linked.js +28 -0
- package/.medusa/server/src/workflows/product-attribute/steps/validate-product-attributes-not-required.d.ts +7 -0
- package/.medusa/server/src/workflows/product-attribute/steps/validate-product-attributes-not-required.js +16 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/add-product-attributes-to-product.d.ts +9 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/add-product-attributes-to-product.js +242 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/create-and-link-product-attributes.d.ts +14 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/create-and-link-product-attributes.js +27 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/create-product-attribute-values.js +44 -3
- package/.medusa/server/src/workflows/product-attribute/workflows/create-product-attributes.js +41 -17
- package/.medusa/server/src/workflows/product-attribute/workflows/delete-product-attribute-values.js +36 -15
- package/.medusa/server/src/workflows/product-attribute/workflows/delete-product-attributes.d.ts +0 -7
- package/.medusa/server/src/workflows/product-attribute/workflows/delete-product-attributes.js +11 -8
- package/.medusa/server/src/workflows/product-attribute/workflows/index.d.ts +4 -6
- package/.medusa/server/src/workflows/product-attribute/workflows/index.js +5 -7
- package/.medusa/server/src/workflows/product-attribute/workflows/remove-product-attributes-from-product.d.ts +10 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/remove-product-attributes-from-product.js +83 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attribute-values.js +34 -1
- package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attributes-on-product.d.ts +11 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attributes-on-product.js +285 -0
- package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attributes.js +15 -1
- package/.medusa/server/src/workflows/product-attribute/workflows/upsert-product-attribute-values.d.ts +4 -11
- package/.medusa/server/src/workflows/product-attribute/workflows/upsert-product-attribute-values.js +19 -19
- package/.medusa/server/src/workflows/product-edit/events.d.ts +0 -7
- package/.medusa/server/src/workflows/product-edit/events.js +1 -8
- package/.medusa/server/src/workflows/product-edit/steps/apply-variant-image-links.d.ts +2 -10
- package/.medusa/server/src/workflows/product-edit/steps/apply-variant-image-links.js +3 -9
- package/.medusa/server/src/workflows/product-edit/steps/confirm-product-change-validation.d.ts +0 -4
- package/.medusa/server/src/workflows/product-edit/steps/confirm-product-change-validation.js +1 -5
- package/.medusa/server/src/workflows/product-edit/steps/confirm-product-changes.d.ts +0 -6
- package/.medusa/server/src/workflows/product-edit/steps/confirm-product-changes.js +1 -7
- package/.medusa/server/src/workflows/product-edit/steps/create-product-change-actions.d.ts +0 -5
- package/.medusa/server/src/workflows/product-edit/steps/create-product-change-actions.js +1 -6
- package/.medusa/server/src/workflows/product-edit/steps/create-product-changes.d.ts +0 -6
- package/.medusa/server/src/workflows/product-edit/steps/create-product-changes.js +1 -1
- package/.medusa/server/src/workflows/product-edit/steps/decline-product-change.d.ts +0 -5
- package/.medusa/server/src/workflows/product-edit/steps/decline-product-change.js +1 -6
- package/.medusa/server/src/workflows/product-edit/steps/update-product-change-actions.d.ts +0 -5
- package/.medusa/server/src/workflows/product-edit/steps/update-product-change-actions.js +1 -6
- package/.medusa/server/src/workflows/product-edit/steps/validate-no-pending-product-change.d.ts +0 -6
- package/.medusa/server/src/workflows/product-edit/steps/validate-no-pending-product-change.js +2 -8
- package/.medusa/server/src/workflows/product-edit/workflows/apply-product-attribute-change-actions.d.ts +5 -19
- package/.medusa/server/src/workflows/product-edit/workflows/apply-product-attribute-change-actions.js +11 -128
- package/.medusa/server/src/workflows/product-edit/workflows/apply-product-change-actions.d.ts +0 -31
- package/.medusa/server/src/workflows/product-edit/workflows/apply-product-change-actions.js +27 -56
- package/.medusa/server/src/workflows/product-edit/workflows/auto-confirm-product-change.d.ts +0 -14
- package/.medusa/server/src/workflows/product-edit/workflows/auto-confirm-product-change.js +1 -10
- package/.medusa/server/src/workflows/product-edit/workflows/confirm-product-change.d.ts +0 -11
- package/.medusa/server/src/workflows/product-edit/workflows/confirm-product-change.js +1 -12
- package/.medusa/server/src/workflows/product-edit/workflows/index.d.ts +1 -1
- package/.medusa/server/src/workflows/product-edit/workflows/index.js +2 -2
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-delete-product.d.ts +0 -12
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-delete-product.js +1 -13
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-attributes.d.ts +4 -46
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-attributes.js +11 -162
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-product.d.ts +11 -0
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-product.js +133 -0
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-variants.d.ts +0 -10
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-variants.js +1 -45
- package/.medusa/server/src/workflows/product-edit/workflows/record-product-audit-change.d.ts +0 -24
- package/.medusa/server/src/workflows/product-edit/workflows/record-product-audit-change.js +1 -15
- package/.medusa/server/src/workflows/product-edit/workflows/stage-product-change.d.ts +0 -30
- package/.medusa/server/src/workflows/product-edit/workflows/stage-product-change.js +1 -15
- package/.medusa/server/src/workflows/promotion/steps/register-usage.d.ts +0 -3
- package/.medusa/server/src/workflows/promotion/steps/register-usage.js +1 -4
- package/.medusa/server/src/workflows/seller/workflows/accept-member-invite.js +1 -2
- package/.medusa/server/src/workflows/seller/workflows/create-sellers.js +1 -2
- package/package.json +15 -15
- package/.medusa/server/src/api/admin/products/[id]/attributes/[attribute_id]/route.d.ts +0 -13
- package/.medusa/server/src/api/admin/products/[id]/attributes/[attribute_id]/route.js +0 -90
- package/.medusa/server/src/api/admin/products/[id]/attributes/route.d.ts +0 -5
- package/.medusa/server/src/api/admin/products/[id]/attributes/route.js +0 -63
- package/.medusa/server/src/api/vendor/products/[id]/attributes/[attribute_id]/route.d.ts +0 -22
- package/.medusa/server/src/api/vendor/products/[id]/attributes/[attribute_id]/route.js +0 -97
- package/.medusa/server/src/api/vendor/products/[id]/attributes/route.d.ts +0 -15
- package/.medusa/server/src/api/vendor/products/[id]/attributes/route.js +0 -80
- package/.medusa/server/src/links/product-attribute-value-link.d.ts +0 -22
- package/.medusa/server/src/links/product-attribute-value-link.js +0 -46
- package/.medusa/server/src/links/product-variant-attribute-link.js +0 -21
- package/.medusa/server/src/links/product-variant-attribute-value-link.d.ts +0 -2
- package/.medusa/server/src/links/product-variant-attribute-value-link.js +0 -21
- package/.medusa/server/src/workflows/product/steps/replace-product-attribute-value-links.d.ts +0 -28
- package/.medusa/server/src/workflows/product/steps/replace-product-attribute-value-links.js +0 -72
- package/.medusa/server/src/workflows/product/steps/resolve-attribute-refs.d.ts +0 -90
- package/.medusa/server/src/workflows/product/steps/resolve-attribute-refs.js +0 -185
- package/.medusa/server/src/workflows/product/workflows/update-products.d.ts +0 -39
- package/.medusa/server/src/workflows/product/workflows/update-products.js +0 -161
- package/.medusa/server/src/workflows/product-attribute/steps/upsert-product-attribute-values.d.ts +0 -43
- package/.medusa/server/src/workflows/product-attribute/steps/upsert-product-attribute-values.js +0 -51
- package/.medusa/server/src/workflows/product-attribute/steps/upsert-product-options-for-axis.d.ts +0 -7
- package/.medusa/server/src/workflows/product-attribute/steps/upsert-product-options-for-axis.js +0 -59
- package/.medusa/server/src/workflows/product-attribute/steps/validate-attribute-accepts-values.d.ts +0 -6
- package/.medusa/server/src/workflows/product-attribute/steps/validate-attribute-accepts-values.js +0 -20
- package/.medusa/server/src/workflows/product-attribute/steps/validate-product-attribute-input.d.ts +0 -7
- package/.medusa/server/src/workflows/product-attribute/steps/validate-product-attribute-input.js +0 -20
- package/.medusa/server/src/workflows/product-attribute/workflows/add-product-attribute.d.ts +0 -52
- package/.medusa/server/src/workflows/product-attribute/workflows/add-product-attribute.js +0 -120
- package/.medusa/server/src/workflows/product-attribute/workflows/batch-product-attribute-values.d.ts +0 -23
- package/.medusa/server/src/workflows/product-attribute/workflows/batch-product-attribute-values.js +0 -252
- package/.medusa/server/src/workflows/product-attribute/workflows/detach-product-attribute.d.ts +0 -17
- package/.medusa/server/src/workflows/product-attribute/workflows/detach-product-attribute.js +0 -62
- package/.medusa/server/src/workflows/product-attribute/workflows/materialize-product-attributes.d.ts +0 -135
- package/.medusa/server/src/workflows/product-attribute/workflows/materialize-product-attributes.js +0 -43
- package/.medusa/server/src/workflows/product-attribute/workflows/sync-product-attribute-options.d.ts +0 -24
- package/.medusa/server/src/workflows/product-attribute/workflows/sync-product-attribute-options.js +0 -27
- package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attribute.d.ts +0 -23
- package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attribute.js +0 -67
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-fields.d.ts +0 -25
- package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-fields.js +0 -148
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export type VendorGetRefundReasonParamsType = z.infer<typeof VendorGetRefundReasonParams>;
|
|
3
3
|
export declare const VendorGetRefundReasonParams: 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,15 +10,14 @@ export declare const VendorGetRefundReasonParams: z.ZodObject<{
|
|
|
10
10
|
export type VendorGetRefundReasonsParamsType = z.infer<typeof VendorGetRefundReasonsParams>;
|
|
11
11
|
export declare const VendorGetRefundReasonsParams: 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
|
-
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
20
|
+
created_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
22
21
|
$eq: any;
|
|
23
22
|
$ne: any;
|
|
24
23
|
$in: any;
|
|
@@ -31,7 +30,7 @@ export declare const VendorGetRefundReasonsParams: z.ZodObject<{
|
|
|
31
30
|
$gte: any;
|
|
32
31
|
$lt: any;
|
|
33
32
|
$lte: any;
|
|
34
|
-
},
|
|
33
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
35
34
|
$eq?: any;
|
|
36
35
|
$ne?: any;
|
|
37
36
|
$in?: any;
|
|
@@ -58,7 +57,7 @@ export declare const VendorGetRefundReasonsParams: z.ZodObject<{
|
|
|
58
57
|
$lt?: any;
|
|
59
58
|
$lte?: any;
|
|
60
59
|
}>]>>;
|
|
61
|
-
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
60
|
+
updated_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
62
61
|
$eq: any;
|
|
63
62
|
$ne: any;
|
|
64
63
|
$in: any;
|
|
@@ -71,7 +70,7 @@ export declare const VendorGetRefundReasonsParams: z.ZodObject<{
|
|
|
71
70
|
$gte: any;
|
|
72
71
|
$lt: any;
|
|
73
72
|
$lte: any;
|
|
74
|
-
},
|
|
73
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
75
74
|
$eq?: any;
|
|
76
75
|
$ne?: any;
|
|
77
76
|
$in?: any;
|
|
@@ -99,23 +98,23 @@ export declare const VendorGetRefundReasonsParams: z.ZodObject<{
|
|
|
99
98
|
$lte?: any;
|
|
100
99
|
}>]>>;
|
|
101
100
|
}, "strip", z.ZodTypeAny, {
|
|
102
|
-
offset: number;
|
|
103
|
-
limit: number;
|
|
104
101
|
order?: string | undefined;
|
|
105
102
|
id?: string | string[] | undefined;
|
|
106
103
|
created_at?: any;
|
|
107
104
|
updated_at?: any;
|
|
108
|
-
q?: string | undefined;
|
|
109
105
|
fields?: string | undefined;
|
|
110
|
-
|
|
106
|
+
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
107
|
+
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
108
|
+
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
109
|
+
q?: string | undefined;
|
|
111
110
|
}, {
|
|
112
111
|
order?: string | undefined;
|
|
113
112
|
id?: string | string[] | undefined;
|
|
114
113
|
created_at?: any;
|
|
115
114
|
updated_at?: any;
|
|
116
|
-
offset?: unknown;
|
|
117
|
-
limit?: unknown;
|
|
118
|
-
q?: string | undefined;
|
|
119
115
|
fields?: string | undefined;
|
|
120
|
-
|
|
116
|
+
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
117
|
+
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
118
|
+
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
119
|
+
q?: string | undefined;
|
|
121
120
|
}>;
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export type VendorGetRegionParamsType = z.infer<typeof VendorGetRegionParams>;
|
|
3
3
|
export declare const VendorGetRegionParams: 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 VendorGetRegionParams: z.ZodObject<{
|
|
|
10
10
|
export type VendorGetRegionsParamsType = z.infer<typeof VendorGetRegionsParams>;
|
|
11
11
|
export declare const VendorGetRegionsParams: 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
|
q: z.ZodOptional<z.ZodString>;
|
|
20
19
|
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
21
20
|
currency_code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
22
21
|
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
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 VendorGetRegionsParams: 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 VendorGetRegionsParams: 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 VendorGetRegionsParams: 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,15 +100,15 @@ export declare const VendorGetRegionsParams: z.ZodObject<{
|
|
|
101
100
|
$lte?: any;
|
|
102
101
|
}>]>>;
|
|
103
102
|
}, "strip", z.ZodTypeAny, {
|
|
104
|
-
offset: number;
|
|
105
|
-
limit: number;
|
|
106
103
|
order?: string | undefined;
|
|
107
104
|
id?: string | string[] | undefined;
|
|
108
105
|
created_at?: any;
|
|
109
106
|
updated_at?: any;
|
|
110
|
-
q?: string | undefined;
|
|
111
107
|
fields?: string | undefined;
|
|
112
|
-
|
|
108
|
+
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
109
|
+
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
110
|
+
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
111
|
+
q?: string | undefined;
|
|
113
112
|
name?: string | string[] | undefined;
|
|
114
113
|
currency_code?: string | string[] | undefined;
|
|
115
114
|
}, {
|
|
@@ -117,11 +116,11 @@ export declare const VendorGetRegionsParams: z.ZodObject<{
|
|
|
117
116
|
id?: string | string[] | undefined;
|
|
118
117
|
created_at?: any;
|
|
119
118
|
updated_at?: any;
|
|
120
|
-
offset?: unknown;
|
|
121
|
-
limit?: unknown;
|
|
122
|
-
q?: string | undefined;
|
|
123
119
|
fields?: string | undefined;
|
|
124
|
-
|
|
120
|
+
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
121
|
+
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
122
|
+
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
123
|
+
q?: string | undefined;
|
|
125
124
|
name?: string | string[] | undefined;
|
|
126
125
|
currency_code?: string | string[] | undefined;
|
|
127
126
|
}>;
|
|
@@ -36,4 +36,4 @@ const DELETE = async (req, res) => {
|
|
|
36
36
|
});
|
|
37
37
|
};
|
|
38
38
|
exports.DELETE = DELETE;
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBpL3ZlbmRvci9yZXNlcnZhdGlvbnMvW2lkXS9yb3V0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFJQSxxREFBdUQ7QUFDdkQscURBRzZCO0FBRzdCLHdDQUErQztBQUV4QyxNQUFNLEdBQUcsR0FBRyxLQUFLLEVBQ3RCLEdBQWlFLEVBQ2pFLEdBQXVELEVBQ3ZELEVBQUU7SUFDRixNQUFNLEVBQUUsRUFBRSxFQUFFLEdBQUcsR0FBRyxDQUFDLE1BQU0sQ0FBQTtJQUV6QixNQUFNLFdBQVcsR0FBRyxNQUFNLElBQUEsNEJBQWtCLEVBQzFDLEVBQUUsRUFDRixHQUFHLENBQUMsS0FBSyxFQUNULEdBQUcsQ0FBQyxXQUFXLENBQUMsTUFBTSxDQUN2QixDQUFBO0lBRUQsSUFBSSxDQUFDLFdBQVcsRUFBRSxDQUFDO1FBQ2pCLE1BQU0sSUFBSSxtQkFBVyxDQUNuQixtQkFBVyxDQUFDLEtBQUssQ0FBQyxTQUFTLEVBQzNCLHdCQUF3QixFQUFFLGdCQUFnQixDQUMzQyxDQUFBO0lBQ0gsQ0FBQztJQUVELEdBQUcsQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMsSUFBSSxDQUFDLEVBQUUsV0FBVyxFQUFFLENBQUMsQ0FBQTtBQUN2QyxDQUFDLENBQUE7QUFwQlksUUFBQSxHQUFHLE9Bb0JmO0FBRU0sTUFBTSxJQUFJLEdBQUcsS0FBSyxFQUN2QixHQUdDLEVBQ0QsR0FBdUQsRUFDdkQsRUFBRTtJQUNGLE1BQU0sRUFBRSxFQUFFLEVBQUUsR0FBRyxHQUFHLENBQUMsTUFBTSxDQUFBO0lBQ3pCLE1BQU0sSUFBQSx1Q0FBMEIsRUFBQyxHQUFHLENBQUMsS0FBSyxDQUFDLENBQUMsR0FBRyxDQUFDO1FBQzlDLEtBQUssRUFBRTtZQUNMLE9BQU8sRUFBRSxDQUFDLEVBQUUsR0FBRyxHQUFHLENBQUMsYUFBYSxFQUFFLEVBQUUsRUFBRSxDQUFDO1NBQ3hDO0tBQ0YsQ0FBQyxDQUFBO0lBRUYsTUFBTSxXQUFXLEdBQUcsTUFBTSxJQUFBLDRCQUFrQixFQUMxQyxFQUFFLEVBQ0YsR0FBRyxDQUFDLEtBQUssRUFDVCxHQUFHLENBQUMsV0FBVyxDQUFDLE1BQU0sQ0FDdkIsQ0FBQTtJQUNELEdBQUcsQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMsSUFBSSxDQUFDLEVBQUUsV0FBVyxFQUFFLENBQUMsQ0FBQTtBQUN2QyxDQUFDLENBQUE7QUFwQlksUUFBQSxJQUFJLFFBb0JoQjtBQUVNLE1BQU0sTUFBTSxHQUFHLEtBQUssRUFDekIsR0FBK0IsRUFDL0IsR0FBNkQsRUFDN0QsRUFBRTtJQUNGLE1BQU0sRUFBRSxHQUFHLEdBQUcsQ0FBQyxNQUFNLENBQUMsRUFBRSxDQUFBO0lBRXhCLE1BQU0sSUFBQSx1Q0FBMEIsRUFBQyxHQUFHLENBQUMsS0FBSyxDQUFDLENBQUMsR0FBRyxDQUFDO1FBQzlDLEtBQUssRUFBRSxFQUFFLEdBQUcsRUFBRSxDQUFDLEVBQUUsQ0FBQyxFQUFFO0tBQ3JCLENBQUMsQ0FBQTtJQUVGLEdBQUcsQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMsSUFBSSxDQUFDO1FBQ25CLEVBQUU7UUFDRixNQUFNLEVBQUUsYUFBYTtRQUNyQixPQUFPLEVBQUUsSUFBSTtLQUNkLENBQUMsQ0FBQTtBQUNKLENBQUMsQ0FBQTtBQWZZLFFBQUEsTUFBTSxVQWVsQiJ9
|
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.refetchReservation = void 0;
|
|
4
4
|
const utils_1 = require("@medusajs/framework/utils");
|
|
5
|
-
// Mirrors admin's `refetchReservation` — re-queries the just-created /
|
|
6
|
-
// just-updated reservation by id so the response shape matches what the
|
|
7
|
-
// caller asked for via `fields=`.
|
|
8
5
|
const refetchReservation = async (reservationId, scope, fields) => {
|
|
9
6
|
const remoteQuery = scope.resolve(utils_1.ContainerRegistrationKeys.REMOTE_QUERY);
|
|
10
7
|
const queryObject = (0, utils_1.remoteQueryObjectFromString)({
|
|
@@ -18,4 +15,4 @@ const refetchReservation = async (reservationId, scope, fields) => {
|
|
|
18
15
|
return reservations[0];
|
|
19
16
|
};
|
|
20
17
|
exports.refetchReservation = refetchReservation;
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVscGVycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcGkvdmVuZG9yL3Jlc2VydmF0aW9ucy9oZWxwZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLHFEQUdrQztBQUUzQixNQUFNLGtCQUFrQixHQUFHLEtBQUssRUFDckMsYUFBcUIsRUFDckIsS0FBc0IsRUFDdEIsTUFBZ0IsRUFDaEIsRUFBRTtJQUNGLE1BQU0sV0FBVyxHQUFHLEtBQUssQ0FBQyxPQUFPLENBQUMsaUNBQXlCLENBQUMsWUFBWSxDQUFDLENBQUE7SUFDekUsTUFBTSxXQUFXLEdBQUcsSUFBQSxtQ0FBMkIsRUFBQztRQUM5QyxVQUFVLEVBQUUsYUFBYTtRQUN6QixTQUFTLEVBQUU7WUFDVCxPQUFPLEVBQUUsRUFBRSxFQUFFLEVBQUUsYUFBYSxFQUFFO1NBQy9CO1FBQ0QsTUFBTSxFQUFFLE1BQU07S0FDZixDQUFDLENBQUE7SUFFRixNQUFNLFlBQVksR0FBRyxNQUFNLFdBQVcsQ0FBQyxXQUFXLENBQUMsQ0FBQTtJQUNuRCxPQUFPLFlBQVksQ0FBQyxDQUFDLENBQUMsQ0FBQTtBQUN4QixDQUFDLENBQUE7QUFoQlksUUFBQSxrQkFBa0Isc0JBZ0I5QiJ9
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.vendorReservationQueryConfig = exports.listTransformQueryConfig = exports.retrieveTransformQueryConfig = exports.defaultVendorReservationFields = void 0;
|
|
4
|
-
// Mirrors admin's `query-config.ts` — same default field set so the
|
|
5
|
-
// generated SDK route map (which types vendor.reservations against
|
|
6
|
-
// admin's route module) sees the same shape coming back.
|
|
7
4
|
const defaultVendorInventoryItemFields = [
|
|
8
5
|
"id",
|
|
9
6
|
"sku",
|
|
@@ -45,4 +42,4 @@ exports.vendorReservationQueryConfig = {
|
|
|
45
42
|
list: exports.listTransformQueryConfig,
|
|
46
43
|
retrieve: exports.retrieveTransformQueryConfig,
|
|
47
44
|
};
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVlcnktY29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwaS92ZW5kb3IvcmVzZXJ2YXRpb25zL3F1ZXJ5LWNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxNQUFNLGdDQUFnQyxHQUFHO0lBQ3ZDLElBQUk7SUFDSixLQUFLO0lBQ0wsZ0JBQWdCO0lBQ2hCLFNBQVM7SUFDVCxtQkFBbUI7SUFDbkIsVUFBVTtJQUNWLFVBQVU7SUFDVixRQUFRO0lBQ1IsUUFBUTtJQUNSLFFBQVE7SUFDUixPQUFPO0lBQ1AsT0FBTztJQUNQLGFBQWE7SUFDYixXQUFXO0lBQ1gsVUFBVTtDQUNYLENBQUE7QUFFWSxRQUFBLDhCQUE4QixHQUFHO0lBQzVDLElBQUk7SUFDSixhQUFhO0lBQ2IsbUJBQW1CO0lBQ25CLFVBQVU7SUFDVixjQUFjO0lBQ2QsYUFBYTtJQUNiLFVBQVU7SUFDVixZQUFZO0lBQ1osWUFBWTtJQUNaLEdBQUcsZ0NBQWdDLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxrQkFBa0IsQ0FBQyxFQUFFLENBQUM7Q0FDdEUsQ0FBQTtBQUVZLFFBQUEsNEJBQTRCLEdBQUc7SUFDMUMsUUFBUSxFQUFFLHNDQUE4QjtJQUN4QyxNQUFNLEVBQUUsS0FBSztDQUNkLENBQUE7QUFFWSxRQUFBLHdCQUF3QixHQUFHO0lBQ3RDLEdBQUcsb0NBQTRCO0lBQy9CLE1BQU0sRUFBRSxJQUFJO0NBQ2IsQ0FBQTtBQUVZLFFBQUEsNEJBQTRCLEdBQUc7SUFDMUMsSUFBSSxFQUFFLGdDQUF3QjtJQUM5QixRQUFRLEVBQUUsb0NBQTRCO0NBQ3ZDLENBQUEifQ==
|
|
@@ -32,4 +32,4 @@ const POST = async (req, res) => {
|
|
|
32
32
|
res.status(200).json({ reservation });
|
|
33
33
|
};
|
|
34
34
|
exports.POST = POST;
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBpL3ZlbmRvci9yZXNlcnZhdGlvbnMvcm91dGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBSUEscURBR2tDO0FBRWxDLHFEQUFpRTtBQUdqRSx1Q0FBOEM7QUFFdkMsTUFBTSxHQUFHLEdBQUcsS0FBSyxFQUN0QixHQUFxRSxFQUNyRSxHQUEyRCxFQUMzRCxFQUFFO0lBQ0YsTUFBTSxXQUFXLEdBQUcsR0FBRyxDQUFDLEtBQUssQ0FBQyxPQUFPLENBQUMsaUNBQXlCLENBQUMsWUFBWSxDQUFDLENBQUE7SUFFN0UsTUFBTSxXQUFXLEdBQUcsSUFBQSxtQ0FBMkIsRUFBQztRQUM5QyxVQUFVLEVBQUUsYUFBYTtRQUN6QixTQUFTLEVBQUU7WUFDVCxPQUFPLEVBQUUsR0FBRyxDQUFDLGdCQUFnQjtZQUM3QixHQUFHLEdBQUcsQ0FBQyxXQUFXLENBQUMsVUFBVTtTQUM5QjtRQUNELE1BQU0sRUFBRSxHQUFHLENBQUMsV0FBVyxDQUFDLE1BQU07S0FDL0IsQ0FBQyxDQUFBO0lBRUYsTUFBTSxFQUFFLElBQUksRUFBRSxZQUFZLEVBQUUsUUFBUSxFQUFFLEdBQUcsTUFBTSxXQUFXLENBQUMsV0FBVyxDQUFDLENBQUE7SUFFdkUsR0FBRyxDQUFDLElBQUksQ0FBQztRQUNQLFlBQVk7UUFDWixLQUFLLEVBQUUsUUFBUSxDQUFDLEtBQUs7UUFDckIsTUFBTSxFQUFFLFFBQVEsQ0FBQyxJQUFJO1FBQ3JCLEtBQUssRUFBRSxRQUFRLENBQUMsSUFBSTtLQUNyQixDQUFDLENBQUE7QUFDSixDQUFDLENBQUE7QUF2QlksUUFBQSxHQUFHLE9BdUJmO0FBRU0sTUFBTSxJQUFJLEdBQUcsS0FBSyxFQUN2QixHQUdDLEVBQ0QsR0FBdUQsRUFDdkQsRUFBRTtJQUNGLE1BQU0sS0FBSyxHQUFHLENBQUMsR0FBRyxDQUFDLGFBQWEsQ0FBQyxDQUFBO0lBRWpDLE1BQU0sRUFBRSxNQUFNLEVBQUUsR0FBRyxNQUFNLElBQUEsdUNBQTBCLEVBQUMsR0FBRyxDQUFDLEtBQUssQ0FBQyxDQUFDLEdBQUcsQ0FBQztRQUNqRSxLQUFLLEVBQUUsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFO0tBQy9CLENBQUMsQ0FBQTtJQUVGLE1BQU0sV0FBVyxHQUFHLE1BQU0sSUFBQSw0QkFBa0IsRUFDMUMsTUFBTSxDQUFDLENBQUMsQ0FBQyxDQUFDLEVBQUUsRUFDWixHQUFHLENBQUMsS0FBSyxFQUNULEdBQUcsQ0FBQyxXQUFXLENBQUMsTUFBTSxDQUN2QixDQUFBO0lBQ0QsR0FBRyxDQUFDLE1BQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQyxJQUFJLENBQUMsRUFBRSxXQUFXLEVBQUUsQ0FBQyxDQUFBO0FBQ3ZDLENBQUMsQ0FBQTtBQW5CWSxRQUFBLElBQUksUUFtQmhCIn0=
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export type VendorGetReservationParamsType = z.infer<typeof VendorGetReservationParams>;
|
|
3
3
|
export declare const VendorGetReservationParams: 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,18 +10,17 @@ export declare const VendorGetReservationParams: z.ZodObject<{
|
|
|
10
10
|
export type VendorGetReservationsParamsType = z.infer<typeof VendorGetReservationsParams>;
|
|
11
11
|
export declare const VendorGetReservationsParams: 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
|
q: z.ZodOptional<z.ZodString>;
|
|
20
19
|
location_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
21
20
|
inventory_item_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
22
21
|
line_item_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
23
22
|
created_by: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
24
|
-
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodUnion<[any, z.ZodObject<{
|
|
23
|
+
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodUnion<readonly [any, z.ZodObject<{
|
|
25
24
|
$eq: any;
|
|
26
25
|
$ne: any;
|
|
27
26
|
$in: any;
|
|
@@ -34,7 +33,7 @@ export declare const VendorGetReservationsParams: z.ZodObject<{
|
|
|
34
33
|
$gte: any;
|
|
35
34
|
$lt: any;
|
|
36
35
|
$lte: any;
|
|
37
|
-
},
|
|
36
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
38
37
|
$eq?: any;
|
|
39
38
|
$ne?: any;
|
|
40
39
|
$in?: any;
|
|
@@ -61,7 +60,7 @@ export declare const VendorGetReservationsParams: z.ZodObject<{
|
|
|
61
60
|
$lt?: any;
|
|
62
61
|
$lte?: any;
|
|
63
62
|
}>]>]>>;
|
|
64
|
-
quantity: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
63
|
+
quantity: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
65
64
|
$eq: any;
|
|
66
65
|
$ne: any;
|
|
67
66
|
$in: any;
|
|
@@ -74,7 +73,7 @@ export declare const VendorGetReservationsParams: z.ZodObject<{
|
|
|
74
73
|
$gte: any;
|
|
75
74
|
$lt: any;
|
|
76
75
|
$lte: any;
|
|
77
|
-
},
|
|
76
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
78
77
|
$eq?: any;
|
|
79
78
|
$ne?: any;
|
|
80
79
|
$in?: any;
|
|
@@ -101,7 +100,7 @@ export declare const VendorGetReservationsParams: z.ZodObject<{
|
|
|
101
100
|
$lt?: any;
|
|
102
101
|
$lte?: any;
|
|
103
102
|
}>]>>;
|
|
104
|
-
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
103
|
+
created_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
105
104
|
$eq: any;
|
|
106
105
|
$ne: any;
|
|
107
106
|
$in: any;
|
|
@@ -114,7 +113,7 @@ export declare const VendorGetReservationsParams: z.ZodObject<{
|
|
|
114
113
|
$gte: any;
|
|
115
114
|
$lt: any;
|
|
116
115
|
$lte: any;
|
|
117
|
-
},
|
|
116
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
118
117
|
$eq?: any;
|
|
119
118
|
$ne?: any;
|
|
120
119
|
$in?: any;
|
|
@@ -141,7 +140,7 @@ export declare const VendorGetReservationsParams: z.ZodObject<{
|
|
|
141
140
|
$lt?: any;
|
|
142
141
|
$lte?: any;
|
|
143
142
|
}>]>>;
|
|
144
|
-
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
143
|
+
updated_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
145
144
|
$eq: any;
|
|
146
145
|
$ne: any;
|
|
147
146
|
$in: any;
|
|
@@ -154,7 +153,7 @@ export declare const VendorGetReservationsParams: z.ZodObject<{
|
|
|
154
153
|
$gte: any;
|
|
155
154
|
$lt: any;
|
|
156
155
|
$lte: any;
|
|
157
|
-
},
|
|
156
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
158
157
|
$eq?: any;
|
|
159
158
|
$ne?: any;
|
|
160
159
|
$in?: any;
|
|
@@ -181,7 +180,7 @@ export declare const VendorGetReservationsParams: z.ZodObject<{
|
|
|
181
180
|
$lt?: any;
|
|
182
181
|
$lte?: any;
|
|
183
182
|
}>]>>;
|
|
184
|
-
deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
183
|
+
deleted_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
185
184
|
$eq: any;
|
|
186
185
|
$ne: any;
|
|
187
186
|
$in: any;
|
|
@@ -194,7 +193,7 @@ export declare const VendorGetReservationsParams: z.ZodObject<{
|
|
|
194
193
|
$gte: any;
|
|
195
194
|
$lt: any;
|
|
196
195
|
$lte: any;
|
|
197
|
-
},
|
|
196
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
198
197
|
$eq?: any;
|
|
199
198
|
$ne?: any;
|
|
200
199
|
$in?: any;
|
|
@@ -222,14 +221,14 @@ export declare const VendorGetReservationsParams: z.ZodObject<{
|
|
|
222
221
|
$lte?: any;
|
|
223
222
|
}>]>>;
|
|
224
223
|
}, "strip", z.ZodTypeAny, {
|
|
225
|
-
offset: number;
|
|
226
|
-
limit: number;
|
|
227
224
|
order?: string | undefined;
|
|
228
225
|
created_at?: any;
|
|
229
226
|
updated_at?: any;
|
|
230
|
-
q?: string | undefined;
|
|
231
227
|
fields?: string | undefined;
|
|
232
|
-
|
|
228
|
+
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
229
|
+
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
230
|
+
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
231
|
+
q?: string | undefined;
|
|
233
232
|
created_by?: string | string[] | undefined;
|
|
234
233
|
deleted_at?: any;
|
|
235
234
|
location_id?: string | string[] | undefined;
|
|
@@ -241,11 +240,11 @@ export declare const VendorGetReservationsParams: z.ZodObject<{
|
|
|
241
240
|
order?: string | undefined;
|
|
242
241
|
created_at?: any;
|
|
243
242
|
updated_at?: any;
|
|
244
|
-
offset?: unknown;
|
|
245
|
-
limit?: unknown;
|
|
246
|
-
q?: string | undefined;
|
|
247
243
|
fields?: string | undefined;
|
|
248
|
-
|
|
244
|
+
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
245
|
+
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
246
|
+
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
247
|
+
q?: string | undefined;
|
|
249
248
|
created_by?: string | string[] | undefined;
|
|
250
249
|
deleted_at?: any;
|
|
251
250
|
location_id?: string | string[] | undefined;
|
|
@@ -37,4 +37,4 @@ exports.VendorUpdateReservation = zod_1.z
|
|
|
37
37
|
metadata: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).nullish(),
|
|
38
38
|
})
|
|
39
39
|
.strict();
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdG9ycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcGkvdmVuZG9yL3Jlc2VydmF0aW9ucy92YWxpZGF0b3JzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDZCQUF1QjtBQUN2QixzRUFJOEM7QUFLakMsUUFBQSwwQkFBMEIsR0FBRyxJQUFBLCtCQUFrQixHQUFFLENBQUE7QUFLakQsUUFBQSwyQkFBMkIsR0FBRyxJQUFBLDZCQUFnQixFQUFDO0lBQzFELEtBQUssRUFBRSxFQUFFO0lBQ1QsTUFBTSxFQUFFLENBQUM7Q0FDVixDQUFDLENBQUMsS0FBSyxDQUNOLE9BQUMsQ0FBQyxNQUFNLENBQUM7SUFDUCxDQUFDLEVBQUUsT0FBQyxDQUFDLE1BQU0sRUFBRSxDQUFDLFFBQVEsRUFBRTtJQUN4QixXQUFXLEVBQUUsT0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLE9BQUMsQ0FBQyxNQUFNLEVBQUUsRUFBRSxPQUFDLENBQUMsS0FBSyxDQUFDLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxRQUFRLEVBQUU7SUFDbEUsaUJBQWlCLEVBQUUsT0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLE9BQUMsQ0FBQyxNQUFNLEVBQUUsRUFBRSxPQUFDLENBQUMsS0FBSyxDQUFDLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxRQUFRLEVBQUU7SUFDeEUsWUFBWSxFQUFFLE9BQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQyxPQUFDLENBQUMsTUFBTSxFQUFFLEVBQUUsT0FBQyxDQUFDLEtBQUssQ0FBQyxPQUFDLENBQUMsTUFBTSxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsUUFBUSxFQUFFO0lBQ25FLFVBQVUsRUFBRSxPQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsT0FBQyxDQUFDLE1BQU0sRUFBRSxFQUFFLE9BQUMsQ0FBQyxLQUFLLENBQUMsT0FBQyxDQUFDLE1BQU0sRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLFFBQVEsRUFBRTtJQUNqRSxXQUFXLEVBQUUsT0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLE9BQUMsQ0FBQyxNQUFNLEVBQUUsRUFBRSxJQUFBLDhCQUFpQixHQUFFLENBQUMsQ0FBQyxDQUFDLFFBQVEsRUFBRTtJQUNsRSxRQUFRLEVBQUUsSUFBQSw4QkFBaUIsRUFBQyxPQUFDLENBQUMsTUFBTSxFQUFFLEVBQUUsVUFBVSxDQUFDLENBQUMsUUFBUSxFQUFFO0lBQzlELFVBQVUsRUFBRSxJQUFBLDhCQUFpQixHQUFFLENBQUMsUUFBUSxFQUFFO0lBQzFDLFVBQVUsRUFBRSxJQUFBLDhCQUFpQixHQUFFLENBQUMsUUFBUSxFQUFFO0lBQzFDLFVBQVUsRUFBRSxJQUFBLDhCQUFpQixHQUFFLENBQUMsUUFBUSxFQUFFO0NBQzNDLENBQUMsQ0FDSCxDQUFBO0FBR1ksUUFBQSx1QkFBdUIsR0FBRyxPQUFDO0tBQ3JDLE1BQU0sQ0FBQztJQUNOLFlBQVksRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFLENBQUMsT0FBTyxFQUFFO0lBQ2xDLFdBQVcsRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFO0lBQ3ZCLGlCQUFpQixFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUU7SUFDN0IsUUFBUSxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUU7SUFDcEIsV0FBVyxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxPQUFPLEVBQUU7SUFDakMsUUFBUSxFQUFFLE9BQUMsQ0FBQyxNQUFNLENBQUMsT0FBQyxDQUFDLE1BQU0sRUFBRSxFQUFFLE9BQUMsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxDQUFDLE9BQU8sRUFBRTtDQUN0RCxDQUFDO0tBQ0QsTUFBTSxFQUFFLENBQUE7QUFHRSxRQUFBLHVCQUF1QixHQUFHLE9BQUM7S0FDckMsTUFBTSxDQUFDO0lBQ04sV0FBVyxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxRQUFRLEVBQUU7SUFDbEMsUUFBUSxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxRQUFRLEVBQUU7SUFDL0IsV0FBVyxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxPQUFPLEVBQUU7SUFDakMsUUFBUSxFQUFFLE9BQUMsQ0FBQyxNQUFNLENBQUMsT0FBQyxDQUFDLE1BQU0sRUFBRSxFQUFFLE9BQUMsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxDQUFDLE9BQU8sRUFBRTtDQUN0RCxDQUFDO0tBQ0QsTUFBTSxFQUFFLENBQUEifQ==
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export type VendorGetReturnReasonParamsType = z.infer<typeof VendorGetReturnReasonParams>;
|
|
3
3
|
export declare const VendorGetReturnReasonParams: 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,11 +10,10 @@ export declare const VendorGetReturnReasonParams: z.ZodObject<{
|
|
|
10
10
|
export type VendorGetReturnReasonsParamsType = z.infer<typeof VendorGetReturnReasonsParams>;
|
|
11
11
|
export declare const VendorGetReturnReasonsParams: 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
|
q: z.ZodOptional<z.ZodString>;
|
|
20
19
|
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -22,7 +21,7 @@ export declare const VendorGetReturnReasonsParams: z.ZodObject<{
|
|
|
22
21
|
label: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
23
22
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
24
23
|
parent_return_reason_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
25
|
-
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
24
|
+
created_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
26
25
|
$eq: any;
|
|
27
26
|
$ne: any;
|
|
28
27
|
$in: any;
|
|
@@ -35,7 +34,7 @@ export declare const VendorGetReturnReasonsParams: z.ZodObject<{
|
|
|
35
34
|
$gte: any;
|
|
36
35
|
$lt: any;
|
|
37
36
|
$lte: any;
|
|
38
|
-
},
|
|
37
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
39
38
|
$eq?: any;
|
|
40
39
|
$ne?: any;
|
|
41
40
|
$in?: any;
|
|
@@ -62,7 +61,7 @@ export declare const VendorGetReturnReasonsParams: z.ZodObject<{
|
|
|
62
61
|
$lt?: any;
|
|
63
62
|
$lte?: any;
|
|
64
63
|
}>]>>;
|
|
65
|
-
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
64
|
+
updated_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
66
65
|
$eq: any;
|
|
67
66
|
$ne: any;
|
|
68
67
|
$in: any;
|
|
@@ -75,7 +74,7 @@ export declare const VendorGetReturnReasonsParams: z.ZodObject<{
|
|
|
75
74
|
$gte: any;
|
|
76
75
|
$lt: any;
|
|
77
76
|
$lte: any;
|
|
78
|
-
},
|
|
77
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
79
78
|
$eq?: any;
|
|
80
79
|
$ne?: any;
|
|
81
80
|
$in?: any;
|
|
@@ -103,16 +102,16 @@ export declare const VendorGetReturnReasonsParams: z.ZodObject<{
|
|
|
103
102
|
$lte?: any;
|
|
104
103
|
}>]>>;
|
|
105
104
|
}, "strip", z.ZodTypeAny, {
|
|
106
|
-
offset: number;
|
|
107
|
-
limit: number;
|
|
108
105
|
order?: string | undefined;
|
|
109
106
|
id?: string | string[] | undefined;
|
|
110
107
|
created_at?: any;
|
|
111
108
|
updated_at?: any;
|
|
109
|
+
fields?: string | undefined;
|
|
112
110
|
value?: string | string[] | undefined;
|
|
111
|
+
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
112
|
+
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
113
|
+
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
113
114
|
q?: string | undefined;
|
|
114
|
-
fields?: string | undefined;
|
|
115
|
-
with_deleted?: boolean | undefined;
|
|
116
115
|
description?: string | string[] | undefined;
|
|
117
116
|
label?: string | string[] | undefined;
|
|
118
117
|
parent_return_reason_id?: string | string[] | undefined;
|
|
@@ -121,12 +120,12 @@ export declare const VendorGetReturnReasonsParams: z.ZodObject<{
|
|
|
121
120
|
id?: string | string[] | undefined;
|
|
122
121
|
created_at?: any;
|
|
123
122
|
updated_at?: any;
|
|
123
|
+
fields?: string | undefined;
|
|
124
124
|
value?: string | string[] | undefined;
|
|
125
|
-
offset?: unknown
|
|
126
|
-
limit?: unknown
|
|
125
|
+
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
126
|
+
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
127
|
+
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
127
128
|
q?: string | undefined;
|
|
128
|
-
fields?: string | undefined;
|
|
129
|
-
with_deleted?: unknown;
|
|
130
129
|
description?: string | string[] | undefined;
|
|
131
130
|
label?: string | string[] | undefined;
|
|
132
131
|
parent_return_reason_id?: string | string[] | undefined;
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export type VendorGetReturnParamsType = z.infer<typeof VendorGetReturnParams>;
|
|
3
3
|
export declare const VendorGetReturnParams: 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,16 +10,15 @@ export declare const VendorGetReturnParams: z.ZodObject<{
|
|
|
10
10
|
export type VendorGetReturnsParamsType = z.infer<typeof VendorGetReturnsParams>;
|
|
11
11
|
export declare const VendorGetReturnsParams: 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
|
order_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
21
20
|
status: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
22
|
-
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
21
|
+
created_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
23
22
|
$eq: any;
|
|
24
23
|
$ne: any;
|
|
25
24
|
$in: any;
|
|
@@ -32,7 +31,7 @@ export declare const VendorGetReturnsParams: z.ZodObject<{
|
|
|
32
31
|
$gte: any;
|
|
33
32
|
$lt: any;
|
|
34
33
|
$lte: any;
|
|
35
|
-
},
|
|
34
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
36
35
|
$eq?: any;
|
|
37
36
|
$ne?: any;
|
|
38
37
|
$in?: any;
|
|
@@ -59,7 +58,7 @@ export declare const VendorGetReturnsParams: z.ZodObject<{
|
|
|
59
58
|
$lt?: any;
|
|
60
59
|
$lte?: any;
|
|
61
60
|
}>]>>;
|
|
62
|
-
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
61
|
+
updated_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
63
62
|
$eq: any;
|
|
64
63
|
$ne: any;
|
|
65
64
|
$in: any;
|
|
@@ -72,7 +71,7 @@ export declare const VendorGetReturnsParams: z.ZodObject<{
|
|
|
72
71
|
$gte: any;
|
|
73
72
|
$lt: any;
|
|
74
73
|
$lte: any;
|
|
75
|
-
},
|
|
74
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
76
75
|
$eq?: any;
|
|
77
76
|
$ne?: any;
|
|
78
77
|
$in?: any;
|
|
@@ -100,34 +99,34 @@ export declare const VendorGetReturnsParams: z.ZodObject<{
|
|
|
100
99
|
$lte?: any;
|
|
101
100
|
}>]>>;
|
|
102
101
|
}, "strip", z.ZodTypeAny, {
|
|
103
|
-
offset: number;
|
|
104
|
-
limit: number;
|
|
105
102
|
order?: string | undefined;
|
|
106
103
|
order_id?: string | string[] | undefined;
|
|
107
104
|
id?: string | string[] | undefined;
|
|
108
105
|
created_at?: any;
|
|
109
106
|
updated_at?: any;
|
|
110
|
-
status?: string | string[] | undefined;
|
|
111
107
|
fields?: string | undefined;
|
|
112
|
-
|
|
108
|
+
status?: string | 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>>;
|
|
113
112
|
}, {
|
|
114
113
|
order?: string | undefined;
|
|
115
114
|
order_id?: string | string[] | undefined;
|
|
116
115
|
id?: string | string[] | undefined;
|
|
117
116
|
created_at?: any;
|
|
118
117
|
updated_at?: any;
|
|
119
|
-
status?: string | string[] | undefined;
|
|
120
|
-
offset?: unknown;
|
|
121
|
-
limit?: unknown;
|
|
122
118
|
fields?: string | undefined;
|
|
123
|
-
|
|
119
|
+
status?: string | string[] | undefined;
|
|
120
|
+
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
121
|
+
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
122
|
+
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
124
123
|
}>;
|
|
125
124
|
export declare const VendorGetReturnsOrderParams: z.ZodObject<{
|
|
126
125
|
fields: z.ZodOptional<z.ZodString>;
|
|
127
126
|
} & {
|
|
128
127
|
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
129
128
|
status: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
130
|
-
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
129
|
+
created_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
131
130
|
$eq: any;
|
|
132
131
|
$ne: any;
|
|
133
132
|
$in: any;
|
|
@@ -140,7 +139,7 @@ export declare const VendorGetReturnsOrderParams: z.ZodObject<{
|
|
|
140
139
|
$gte: any;
|
|
141
140
|
$lt: any;
|
|
142
141
|
$lte: any;
|
|
143
|
-
},
|
|
142
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
144
143
|
$eq?: any;
|
|
145
144
|
$ne?: any;
|
|
146
145
|
$in?: any;
|
|
@@ -167,7 +166,7 @@ export declare const VendorGetReturnsOrderParams: z.ZodObject<{
|
|
|
167
166
|
$lt?: any;
|
|
168
167
|
$lte?: any;
|
|
169
168
|
}>]>>;
|
|
170
|
-
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
169
|
+
updated_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
171
170
|
$eq: any;
|
|
172
171
|
$ne: any;
|
|
173
172
|
$in: any;
|
|
@@ -180,7 +179,7 @@ export declare const VendorGetReturnsOrderParams: z.ZodObject<{
|
|
|
180
179
|
$gte: any;
|
|
181
180
|
$lt: any;
|
|
182
181
|
$lte: any;
|
|
183
|
-
},
|
|
182
|
+
}, z.core.$strip, z.ZodTypeAny, {
|
|
184
183
|
$eq?: any;
|
|
185
184
|
$ne?: any;
|
|
186
185
|
$in?: any;
|
|
@@ -211,14 +210,14 @@ export declare const VendorGetReturnsOrderParams: z.ZodObject<{
|
|
|
211
210
|
id?: string | string[] | undefined;
|
|
212
211
|
created_at?: any;
|
|
213
212
|
updated_at?: any;
|
|
214
|
-
status?: string | string[] | undefined;
|
|
215
213
|
fields?: string | undefined;
|
|
214
|
+
status?: string | string[] | undefined;
|
|
216
215
|
}, {
|
|
217
216
|
id?: string | string[] | undefined;
|
|
218
217
|
created_at?: any;
|
|
219
218
|
updated_at?: any;
|
|
220
|
-
status?: string | string[] | undefined;
|
|
221
219
|
fields?: string | undefined;
|
|
220
|
+
status?: string | string[] | undefined;
|
|
222
221
|
}>;
|
|
223
222
|
export type VendorGetReturnsOrderParamsType = z.infer<typeof VendorGetReturnsOrderParams>;
|
|
224
223
|
export type VendorPostReturnsReqType = z.infer<typeof VendorPostReturnsReq>;
|