ce-storefront 0.11.2 → 0.11.3
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/docs/sdks/auth/README.md +10 -10
- package/docs/sdks/carts/README.md +12 -12
- package/docs/sdks/catalog/README.md +11 -11
- package/docs/sdks/common/README.md +1 -1
- package/docs/sdks/customers/README.md +7 -7
- package/docs/sdks/orders/README.md +7 -7
- package/docs/sdks/shipping/README.md +2 -2
- package/esm/funcs/authGenerateOtp.d.ts +1 -1
- package/esm/funcs/authGenerateOtp.d.ts.map +1 -1
- package/esm/funcs/authGenerateOtp.js +6 -1
- package/esm/funcs/authGenerateOtp.js.map +1 -1
- package/esm/funcs/authGetAnonymousToken.d.ts +1 -1
- package/esm/funcs/authGetAnonymousToken.d.ts.map +1 -1
- package/esm/funcs/authGetAnonymousToken.js +6 -1
- package/esm/funcs/authGetAnonymousToken.js.map +1 -1
- package/esm/funcs/authGetUserDetail.d.ts +1 -1
- package/esm/funcs/authGetUserDetail.d.ts.map +1 -1
- package/esm/funcs/authGetUserDetail.js +6 -1
- package/esm/funcs/authGetUserDetail.js.map +1 -1
- package/esm/funcs/authLoginWithEmail.d.ts +1 -1
- package/esm/funcs/authLoginWithEmail.d.ts.map +1 -1
- package/esm/funcs/authLoginWithEmail.js +6 -1
- package/esm/funcs/authLoginWithEmail.js.map +1 -1
- package/esm/funcs/authLoginWithPhone.d.ts +1 -1
- package/esm/funcs/authLoginWithPhone.d.ts.map +1 -1
- package/esm/funcs/authLoginWithPhone.js +6 -1
- package/esm/funcs/authLoginWithPhone.js.map +1 -1
- package/esm/funcs/authLoginWithWhatsapp.d.ts +1 -1
- package/esm/funcs/authLoginWithWhatsapp.d.ts.map +1 -1
- package/esm/funcs/authLoginWithWhatsapp.js +6 -1
- package/esm/funcs/authLoginWithWhatsapp.js.map +1 -1
- package/esm/funcs/authLogout.d.ts +1 -1
- package/esm/funcs/authLogout.d.ts.map +1 -1
- package/esm/funcs/authLogout.js +4 -1
- package/esm/funcs/authLogout.js.map +1 -1
- package/esm/funcs/authRefreshToken.d.ts +1 -1
- package/esm/funcs/authRefreshToken.d.ts.map +1 -1
- package/esm/funcs/authRefreshToken.js +6 -1
- package/esm/funcs/authRefreshToken.js.map +1 -1
- package/esm/funcs/authUpdateUser.d.ts +1 -1
- package/esm/funcs/authUpdateUser.d.ts.map +1 -1
- package/esm/funcs/authUpdateUser.js +4 -1
- package/esm/funcs/authUpdateUser.js.map +1 -1
- package/esm/funcs/authVerifyOtp.d.ts +1 -1
- package/esm/funcs/authVerifyOtp.d.ts.map +1 -1
- package/esm/funcs/authVerifyOtp.js +4 -1
- package/esm/funcs/authVerifyOtp.js.map +1 -1
- package/esm/funcs/cartsAddShippingMethod.d.ts +1 -1
- package/esm/funcs/cartsAddShippingMethod.d.ts.map +1 -1
- package/esm/funcs/cartsAddShippingMethod.js +3 -1
- package/esm/funcs/cartsAddShippingMethod.js.map +1 -1
- package/esm/funcs/cartsApplyCoupon.d.ts +1 -1
- package/esm/funcs/cartsApplyCoupon.d.ts.map +1 -1
- package/esm/funcs/cartsApplyCoupon.js +3 -1
- package/esm/funcs/cartsApplyCoupon.js.map +1 -1
- package/esm/funcs/cartsCreateCart.d.ts +1 -1
- package/esm/funcs/cartsCreateCart.d.ts.map +1 -1
- package/esm/funcs/cartsCreateCart.js +4 -1
- package/esm/funcs/cartsCreateCart.js.map +1 -1
- package/esm/funcs/cartsCreateCartAddress.d.ts +1 -1
- package/esm/funcs/cartsCreateCartAddress.d.ts.map +1 -1
- package/esm/funcs/cartsCreateCartAddress.js +3 -1
- package/esm/funcs/cartsCreateCartAddress.js.map +1 -1
- package/esm/funcs/cartsDeleteCart.d.ts +1 -1
- package/esm/funcs/cartsDeleteCart.d.ts.map +1 -1
- package/esm/funcs/cartsDeleteCart.js +1 -1
- package/esm/funcs/cartsDeleteCart.js.map +1 -1
- package/esm/funcs/cartsGetCart.d.ts +1 -1
- package/esm/funcs/cartsGetCart.d.ts.map +1 -1
- package/esm/funcs/cartsGetCart.js +1 -1
- package/esm/funcs/cartsGetCart.js.map +1 -1
- package/esm/funcs/cartsGetUserCart.d.ts +1 -1
- package/esm/funcs/cartsGetUserCart.d.ts.map +1 -1
- package/esm/funcs/cartsGetUserCart.js +3 -1
- package/esm/funcs/cartsGetUserCart.js.map +1 -1
- package/esm/funcs/cartsRedeemLoyaltyPoints.d.ts +1 -1
- package/esm/funcs/cartsRedeemLoyaltyPoints.d.ts.map +1 -1
- package/esm/funcs/cartsRedeemLoyaltyPoints.js +3 -1
- package/esm/funcs/cartsRedeemLoyaltyPoints.js.map +1 -1
- package/esm/funcs/cartsRemoveCoupon.d.ts +1 -1
- package/esm/funcs/cartsRemoveCoupon.d.ts.map +1 -1
- package/esm/funcs/cartsRemoveCoupon.js +3 -1
- package/esm/funcs/cartsRemoveCoupon.js.map +1 -1
- package/esm/funcs/cartsRemoveLoyaltyPoints.d.ts +1 -1
- package/esm/funcs/cartsRemoveLoyaltyPoints.d.ts.map +1 -1
- package/esm/funcs/cartsRemoveLoyaltyPoints.js +3 -1
- package/esm/funcs/cartsRemoveLoyaltyPoints.js.map +1 -1
- package/esm/funcs/cartsRemoveUserCart.d.ts +1 -1
- package/esm/funcs/cartsRemoveUserCart.d.ts.map +1 -1
- package/esm/funcs/cartsRemoveUserCart.js +3 -1
- package/esm/funcs/cartsRemoveUserCart.js.map +1 -1
- package/esm/funcs/cartsUpdateCart.d.ts +1 -1
- package/esm/funcs/cartsUpdateCart.d.ts.map +1 -1
- package/esm/funcs/cartsUpdateCart.js +1 -1
- package/esm/funcs/cartsUpdateCart.js.map +1 -1
- package/esm/funcs/catalogGetProductDetail.d.ts +1 -1
- package/esm/funcs/catalogGetProductDetail.d.ts.map +1 -1
- package/esm/funcs/catalogGetProductDetail.js +3 -1
- package/esm/funcs/catalogGetProductDetail.js.map +1 -1
- package/esm/funcs/catalogGetVariantDetail.d.ts +1 -1
- package/esm/funcs/catalogGetVariantDetail.d.ts.map +1 -1
- package/esm/funcs/catalogGetVariantDetail.js +3 -1
- package/esm/funcs/catalogGetVariantDetail.js.map +1 -1
- package/esm/funcs/catalogListCategories.d.ts +1 -1
- package/esm/funcs/catalogListCategories.d.ts.map +1 -1
- package/esm/funcs/catalogListCategories.js +6 -1
- package/esm/funcs/catalogListCategories.js.map +1 -1
- package/esm/funcs/catalogListCrosssellProducts.d.ts +1 -1
- package/esm/funcs/catalogListCrosssellProducts.d.ts.map +1 -1
- package/esm/funcs/catalogListCrosssellProducts.js +3 -1
- package/esm/funcs/catalogListCrosssellProducts.js.map +1 -1
- package/esm/funcs/catalogListProductReviews.d.ts +1 -1
- package/esm/funcs/catalogListProductReviews.d.ts.map +1 -1
- package/esm/funcs/catalogListProductReviews.js +3 -1
- package/esm/funcs/catalogListProductReviews.js.map +1 -1
- package/esm/funcs/catalogListProductVariants.d.ts +1 -1
- package/esm/funcs/catalogListProductVariants.d.ts.map +1 -1
- package/esm/funcs/catalogListProductVariants.js +3 -1
- package/esm/funcs/catalogListProductVariants.js.map +1 -1
- package/esm/funcs/catalogListProducts.d.ts +1 -1
- package/esm/funcs/catalogListProducts.d.ts.map +1 -1
- package/esm/funcs/catalogListProducts.js +3 -1
- package/esm/funcs/catalogListProducts.js.map +1 -1
- package/esm/funcs/catalogListSimilarProducts.d.ts +1 -1
- package/esm/funcs/catalogListSimilarProducts.d.ts.map +1 -1
- package/esm/funcs/catalogListSimilarProducts.js +3 -1
- package/esm/funcs/catalogListSimilarProducts.js.map +1 -1
- package/esm/funcs/catalogListSkus.d.ts +1 -1
- package/esm/funcs/catalogListSkus.d.ts.map +1 -1
- package/esm/funcs/catalogListSkus.js +1 -1
- package/esm/funcs/catalogListSkus.js.map +1 -1
- package/esm/funcs/catalogListUpsellProducts.d.ts +1 -1
- package/esm/funcs/catalogListUpsellProducts.d.ts.map +1 -1
- package/esm/funcs/catalogListUpsellProducts.js +3 -1
- package/esm/funcs/catalogListUpsellProducts.js.map +1 -1
- package/esm/funcs/catalogSearchProducts.d.ts +1 -1
- package/esm/funcs/catalogSearchProducts.d.ts.map +1 -1
- package/esm/funcs/catalogSearchProducts.js +3 -1
- package/esm/funcs/catalogSearchProducts.js.map +1 -1
- package/esm/funcs/commonListCountryPincodes.d.ts +1 -1
- package/esm/funcs/commonListCountryPincodes.d.ts.map +1 -1
- package/esm/funcs/commonListCountryPincodes.js +6 -1
- package/esm/funcs/commonListCountryPincodes.js.map +1 -1
- package/esm/funcs/customersCreateAddress.d.ts +1 -1
- package/esm/funcs/customersCreateAddress.d.ts.map +1 -1
- package/esm/funcs/customersCreateAddress.js +3 -1
- package/esm/funcs/customersCreateAddress.js.map +1 -1
- package/esm/funcs/customersDeleteAddress.d.ts +1 -1
- package/esm/funcs/customersDeleteAddress.d.ts.map +1 -1
- package/esm/funcs/customersDeleteAddress.js +3 -1
- package/esm/funcs/customersDeleteAddress.js.map +1 -1
- package/esm/funcs/customersGetAddressDetail.d.ts +1 -1
- package/esm/funcs/customersGetAddressDetail.d.ts.map +1 -1
- package/esm/funcs/customersGetAddressDetail.js +3 -1
- package/esm/funcs/customersGetAddressDetail.js.map +1 -1
- package/esm/funcs/customersGetLoyaltyDetails.d.ts +1 -1
- package/esm/funcs/customersGetLoyaltyDetails.d.ts.map +1 -1
- package/esm/funcs/customersGetLoyaltyDetails.js +3 -1
- package/esm/funcs/customersGetLoyaltyDetails.js.map +1 -1
- package/esm/funcs/customersListAddresses.d.ts +1 -1
- package/esm/funcs/customersListAddresses.d.ts.map +1 -1
- package/esm/funcs/customersListAddresses.js +6 -1
- package/esm/funcs/customersListAddresses.js.map +1 -1
- package/esm/funcs/customersListUserReviews.d.ts +1 -1
- package/esm/funcs/customersListUserReviews.d.ts.map +1 -1
- package/esm/funcs/customersListUserReviews.js +6 -1
- package/esm/funcs/customersListUserReviews.js.map +1 -1
- package/esm/funcs/customersUpdateAddressDetail.d.ts +1 -1
- package/esm/funcs/customersUpdateAddressDetail.d.ts.map +1 -1
- package/esm/funcs/customersUpdateAddressDetail.js +3 -1
- package/esm/funcs/customersUpdateAddressDetail.js.map +1 -1
- package/esm/funcs/ordersCancelOrder.d.ts +1 -1
- package/esm/funcs/ordersCancelOrder.d.ts.map +1 -1
- package/esm/funcs/ordersCancelOrder.js +3 -1
- package/esm/funcs/ordersCancelOrder.js.map +1 -1
- package/esm/funcs/ordersCreateOrder.d.ts +1 -1
- package/esm/funcs/ordersCreateOrder.d.ts.map +1 -1
- package/esm/funcs/ordersCreateOrder.js +3 -1
- package/esm/funcs/ordersCreateOrder.js.map +1 -1
- package/esm/funcs/ordersGetOrderDetail.d.ts +1 -1
- package/esm/funcs/ordersGetOrderDetail.d.ts.map +1 -1
- package/esm/funcs/ordersGetOrderDetail.js +3 -1
- package/esm/funcs/ordersGetOrderDetail.js.map +1 -1
- package/esm/funcs/ordersGetPaymentStatus.d.ts +1 -1
- package/esm/funcs/ordersGetPaymentStatus.d.ts.map +1 -1
- package/esm/funcs/ordersGetPaymentStatus.js +6 -1
- package/esm/funcs/ordersGetPaymentStatus.js.map +1 -1
- package/esm/funcs/ordersListOrderShipments.d.ts +1 -1
- package/esm/funcs/ordersListOrderShipments.d.ts.map +1 -1
- package/esm/funcs/ordersListOrderShipments.js +3 -1
- package/esm/funcs/ordersListOrderShipments.js.map +1 -1
- package/esm/funcs/ordersListOrders.d.ts +1 -1
- package/esm/funcs/ordersListOrders.d.ts.map +1 -1
- package/esm/funcs/ordersListOrders.js +4 -1
- package/esm/funcs/ordersListOrders.js.map +1 -1
- package/esm/funcs/ordersRetryOrderPayment.d.ts +1 -1
- package/esm/funcs/ordersRetryOrderPayment.d.ts.map +1 -1
- package/esm/funcs/ordersRetryOrderPayment.js +3 -1
- package/esm/funcs/ordersRetryOrderPayment.js.map +1 -1
- package/esm/funcs/shippingCheckDeliveryAvailability.d.ts +1 -1
- package/esm/funcs/shippingCheckDeliveryAvailability.d.ts.map +1 -1
- package/esm/funcs/shippingCheckDeliveryAvailability.js +3 -1
- package/esm/funcs/shippingCheckDeliveryAvailability.js.map +1 -1
- package/esm/funcs/shippingCheckServiceability.d.ts +1 -1
- package/esm/funcs/shippingCheckServiceability.d.ts.map +1 -1
- package/esm/funcs/shippingCheckServiceability.js +6 -1
- package/esm/funcs/shippingCheckServiceability.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/matchers.d.ts +1 -1
- package/esm/lib/matchers.d.ts.map +1 -1
- package/esm/lib/matchers.js +10 -11
- package/esm/lib/matchers.js.map +1 -1
- package/esm/models/components/httpmetadata.d.ts +37 -0
- package/esm/models/components/httpmetadata.d.ts.map +1 -0
- package/esm/models/components/httpmetadata.js +48 -0
- package/esm/models/components/httpmetadata.js.map +1 -0
- package/esm/models/components/index.d.ts +1 -0
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +1 -0
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/errors/ceerror.d.ts +8 -5
- package/esm/models/errors/ceerror.d.ts.map +1 -1
- package/esm/models/errors/ceerror.js +3 -9
- package/esm/models/errors/ceerror.js.map +1 -1
- package/esm/models/operations/applycoupon.d.ts +30 -0
- package/esm/models/operations/applycoupon.d.ts.map +1 -1
- package/esm/models/operations/applycoupon.js +35 -0
- package/esm/models/operations/applycoupon.js.map +1 -1
- package/esm/models/operations/cancelorder.d.ts +30 -0
- package/esm/models/operations/cancelorder.d.ts.map +1 -1
- package/esm/models/operations/cancelorder.js +35 -0
- package/esm/models/operations/cancelorder.js.map +1 -1
- package/esm/models/operations/checkdeliveryavailability.d.ts +31 -0
- package/esm/models/operations/checkdeliveryavailability.d.ts.map +1 -1
- package/esm/models/operations/checkdeliveryavailability.js +39 -0
- package/esm/models/operations/checkdeliveryavailability.js.map +1 -1
- package/esm/models/operations/createaddress.d.ts +30 -0
- package/esm/models/operations/createaddress.d.ts.map +1 -1
- package/esm/models/operations/createaddress.js +35 -0
- package/esm/models/operations/createaddress.js.map +1 -1
- package/esm/models/operations/createcart.d.ts +30 -0
- package/esm/models/operations/createcart.d.ts.map +1 -1
- package/esm/models/operations/createcart.js +36 -0
- package/esm/models/operations/createcart.js.map +1 -1
- package/esm/models/operations/createcartaddress.d.ts +30 -0
- package/esm/models/operations/createcartaddress.d.ts.map +1 -1
- package/esm/models/operations/createcartaddress.js +35 -0
- package/esm/models/operations/createcartaddress.js.map +1 -1
- package/esm/models/operations/createorder.d.ts +30 -0
- package/esm/models/operations/createorder.d.ts.map +1 -1
- package/esm/models/operations/createorder.js +35 -0
- package/esm/models/operations/createorder.js.map +1 -1
- package/esm/models/operations/deleteaddress.d.ts +31 -0
- package/esm/models/operations/deleteaddress.d.ts.map +1 -1
- package/esm/models/operations/deleteaddress.js +36 -0
- package/esm/models/operations/deleteaddress.js.map +1 -1
- package/esm/models/operations/deletecart.d.ts +31 -0
- package/esm/models/operations/deletecart.d.ts.map +1 -1
- package/esm/models/operations/deletecart.js +37 -0
- package/esm/models/operations/deletecart.js.map +1 -1
- package/esm/models/operations/deleteusercart.d.ts +31 -0
- package/esm/models/operations/deleteusercart.d.ts.map +1 -1
- package/esm/models/operations/deleteusercart.js +36 -0
- package/esm/models/operations/deleteusercart.js.map +1 -1
- package/esm/models/operations/generateotp.d.ts +31 -0
- package/esm/models/operations/generateotp.d.ts.map +1 -1
- package/esm/models/operations/generateotp.js +36 -0
- package/esm/models/operations/generateotp.js.map +1 -1
- package/esm/models/operations/getaddressdetail.d.ts +31 -0
- package/esm/models/operations/getaddressdetail.d.ts.map +1 -1
- package/esm/models/operations/getaddressdetail.js +36 -0
- package/esm/models/operations/getaddressdetail.js.map +1 -1
- package/esm/models/operations/getanonymoustoken.d.ts +30 -0
- package/esm/models/operations/getanonymoustoken.d.ts.map +1 -1
- package/esm/models/operations/getanonymoustoken.js +35 -0
- package/esm/models/operations/getanonymoustoken.js.map +1 -1
- package/esm/models/operations/getcart.d.ts +30 -0
- package/esm/models/operations/getcart.d.ts.map +1 -1
- package/esm/models/operations/getcart.js +36 -0
- package/esm/models/operations/getcart.js.map +1 -1
- package/esm/models/operations/getloyaltydetails.d.ts +30 -0
- package/esm/models/operations/getloyaltydetails.d.ts.map +1 -1
- package/esm/models/operations/getloyaltydetails.js +35 -0
- package/esm/models/operations/getloyaltydetails.js.map +1 -1
- package/esm/models/operations/getorderdetail.d.ts +30 -0
- package/esm/models/operations/getorderdetail.d.ts.map +1 -1
- package/esm/models/operations/getorderdetail.js +35 -0
- package/esm/models/operations/getorderdetail.js.map +1 -1
- package/esm/models/operations/getpaymentstatus.d.ts +31 -0
- package/esm/models/operations/getpaymentstatus.d.ts.map +1 -1
- package/esm/models/operations/getpaymentstatus.js +36 -0
- package/esm/models/operations/getpaymentstatus.js.map +1 -1
- package/esm/models/operations/getproductdetail.d.ts +30 -0
- package/esm/models/operations/getproductdetail.d.ts.map +1 -1
- package/esm/models/operations/getproductdetail.js +35 -0
- package/esm/models/operations/getproductdetail.js.map +1 -1
- package/esm/models/operations/getusercart.d.ts +30 -0
- package/esm/models/operations/getusercart.d.ts.map +1 -1
- package/esm/models/operations/getusercart.js +35 -0
- package/esm/models/operations/getusercart.js.map +1 -1
- package/esm/models/operations/getuserdetail.d.ts +30 -0
- package/esm/models/operations/getuserdetail.d.ts.map +1 -1
- package/esm/models/operations/getuserdetail.js +36 -0
- package/esm/models/operations/getuserdetail.js.map +1 -1
- package/esm/models/operations/getvariantdetail.d.ts +30 -0
- package/esm/models/operations/getvariantdetail.d.ts.map +1 -1
- package/esm/models/operations/getvariantdetail.js +35 -0
- package/esm/models/operations/getvariantdetail.js.map +1 -1
- package/esm/models/operations/listaddresses.d.ts +30 -0
- package/esm/models/operations/listaddresses.d.ts.map +1 -1
- package/esm/models/operations/listaddresses.js +35 -0
- package/esm/models/operations/listaddresses.js.map +1 -1
- package/esm/models/operations/listcategories.d.ts +30 -0
- package/esm/models/operations/listcategories.d.ts.map +1 -1
- package/esm/models/operations/listcategories.js +35 -0
- package/esm/models/operations/listcategories.js.map +1 -1
- package/esm/models/operations/listcountrypincodes.d.ts +30 -0
- package/esm/models/operations/listcountrypincodes.d.ts.map +1 -1
- package/esm/models/operations/listcountrypincodes.js +37 -0
- package/esm/models/operations/listcountrypincodes.js.map +1 -1
- package/esm/models/operations/listcrosssellproducts.d.ts +30 -0
- package/esm/models/operations/listcrosssellproducts.d.ts.map +1 -1
- package/esm/models/operations/listcrosssellproducts.js +37 -0
- package/esm/models/operations/listcrosssellproducts.js.map +1 -1
- package/esm/models/operations/listorders.d.ts +30 -0
- package/esm/models/operations/listorders.d.ts.map +1 -1
- package/esm/models/operations/listorders.js +35 -0
- package/esm/models/operations/listorders.js.map +1 -1
- package/esm/models/operations/listordershipments.d.ts +30 -0
- package/esm/models/operations/listordershipments.d.ts.map +1 -1
- package/esm/models/operations/listordershipments.js +36 -0
- package/esm/models/operations/listordershipments.js.map +1 -1
- package/esm/models/operations/listproductreviews.d.ts +30 -0
- package/esm/models/operations/listproductreviews.d.ts.map +1 -1
- package/esm/models/operations/listproductreviews.js +36 -0
- package/esm/models/operations/listproductreviews.js.map +1 -1
- package/esm/models/operations/listproducts.d.ts +30 -0
- package/esm/models/operations/listproducts.d.ts.map +1 -1
- package/esm/models/operations/listproducts.js +35 -0
- package/esm/models/operations/listproducts.js.map +1 -1
- package/esm/models/operations/listproductvariants.d.ts +30 -0
- package/esm/models/operations/listproductvariants.d.ts.map +1 -1
- package/esm/models/operations/listproductvariants.js +37 -0
- package/esm/models/operations/listproductvariants.js.map +1 -1
- package/esm/models/operations/listsimilarproducts.d.ts +30 -0
- package/esm/models/operations/listsimilarproducts.d.ts.map +1 -1
- package/esm/models/operations/listsimilarproducts.js +37 -0
- package/esm/models/operations/listsimilarproducts.js.map +1 -1
- package/esm/models/operations/listskus.d.ts +30 -0
- package/esm/models/operations/listskus.d.ts.map +1 -1
- package/esm/models/operations/listskus.js +35 -0
- package/esm/models/operations/listskus.js.map +1 -1
- package/esm/models/operations/listupsellproducts.d.ts +30 -0
- package/esm/models/operations/listupsellproducts.d.ts.map +1 -1
- package/esm/models/operations/listupsellproducts.js +36 -0
- package/esm/models/operations/listupsellproducts.js.map +1 -1
- package/esm/models/operations/listuserreviews.d.ts +30 -0
- package/esm/models/operations/listuserreviews.d.ts.map +1 -1
- package/esm/models/operations/listuserreviews.js +35 -0
- package/esm/models/operations/listuserreviews.js.map +1 -1
- package/esm/models/operations/loginwithemail.d.ts +31 -0
- package/esm/models/operations/loginwithemail.d.ts.map +1 -1
- package/esm/models/operations/loginwithemail.js +36 -0
- package/esm/models/operations/loginwithemail.js.map +1 -1
- package/esm/models/operations/loginwithphone.d.ts +31 -0
- package/esm/models/operations/loginwithphone.d.ts.map +1 -1
- package/esm/models/operations/loginwithphone.js +36 -0
- package/esm/models/operations/loginwithphone.js.map +1 -1
- package/esm/models/operations/loginwithwhatsapp.d.ts +31 -0
- package/esm/models/operations/loginwithwhatsapp.d.ts.map +1 -1
- package/esm/models/operations/loginwithwhatsapp.js +36 -0
- package/esm/models/operations/loginwithwhatsapp.js.map +1 -1
- package/esm/models/operations/logout.d.ts +30 -0
- package/esm/models/operations/logout.d.ts.map +1 -1
- package/esm/models/operations/logout.js +35 -0
- package/esm/models/operations/logout.js.map +1 -1
- package/esm/models/operations/redeemloyaltypoints.d.ts +30 -0
- package/esm/models/operations/redeemloyaltypoints.d.ts.map +1 -1
- package/esm/models/operations/redeemloyaltypoints.js +37 -0
- package/esm/models/operations/redeemloyaltypoints.js.map +1 -1
- package/esm/models/operations/refreshtoken.d.ts +31 -0
- package/esm/models/operations/refreshtoken.d.ts.map +1 -1
- package/esm/models/operations/refreshtoken.js +36 -0
- package/esm/models/operations/refreshtoken.js.map +1 -1
- package/esm/models/operations/removecoupon.d.ts +30 -0
- package/esm/models/operations/removecoupon.d.ts.map +1 -1
- package/esm/models/operations/removecoupon.js +36 -0
- package/esm/models/operations/removecoupon.js.map +1 -1
- package/esm/models/operations/removeloyaltypoints.d.ts +30 -0
- package/esm/models/operations/removeloyaltypoints.d.ts.map +1 -1
- package/esm/models/operations/removeloyaltypoints.js +38 -0
- package/esm/models/operations/removeloyaltypoints.js.map +1 -1
- package/esm/models/operations/retryorderpayment.d.ts +30 -0
- package/esm/models/operations/retryorderpayment.d.ts.map +1 -1
- package/esm/models/operations/retryorderpayment.js +35 -0
- package/esm/models/operations/retryorderpayment.js.map +1 -1
- package/esm/models/operations/searchproducts.d.ts +30 -0
- package/esm/models/operations/searchproducts.d.ts.map +1 -1
- package/esm/models/operations/searchproducts.js +35 -0
- package/esm/models/operations/searchproducts.js.map +1 -1
- package/esm/models/operations/shippingmethods.d.ts +30 -0
- package/esm/models/operations/shippingmethods.d.ts.map +1 -1
- package/esm/models/operations/shippingmethods.js +35 -0
- package/esm/models/operations/shippingmethods.js.map +1 -1
- package/esm/models/operations/updateaddressdetail.d.ts +30 -0
- package/esm/models/operations/updateaddressdetail.d.ts.map +1 -1
- package/esm/models/operations/updateaddressdetail.js +37 -0
- package/esm/models/operations/updateaddressdetail.js.map +1 -1
- package/esm/models/operations/updatecart.d.ts +30 -0
- package/esm/models/operations/updatecart.d.ts.map +1 -1
- package/esm/models/operations/updatecart.js +35 -0
- package/esm/models/operations/updatecart.js.map +1 -1
- package/esm/models/operations/updateshippingmethod.d.ts +30 -0
- package/esm/models/operations/updateshippingmethod.d.ts.map +1 -1
- package/esm/models/operations/updateshippingmethod.js +37 -0
- package/esm/models/operations/updateshippingmethod.js.map +1 -1
- package/esm/models/operations/updateuser.d.ts +30 -0
- package/esm/models/operations/updateuser.d.ts.map +1 -1
- package/esm/models/operations/updateuser.js +35 -0
- package/esm/models/operations/updateuser.js.map +1 -1
- package/esm/models/operations/verifyotp.d.ts +30 -0
- package/esm/models/operations/verifyotp.d.ts.map +1 -1
- package/esm/models/operations/verifyotp.js +35 -0
- package/esm/models/operations/verifyotp.js.map +1 -1
- package/esm/sdk/auth.d.ts +10 -10
- package/esm/sdk/auth.d.ts.map +1 -1
- package/esm/sdk/carts.d.ts +12 -12
- package/esm/sdk/carts.d.ts.map +1 -1
- package/esm/sdk/catalog.d.ts +11 -11
- package/esm/sdk/catalog.d.ts.map +1 -1
- package/esm/sdk/common.d.ts +1 -1
- package/esm/sdk/common.d.ts.map +1 -1
- package/esm/sdk/customers.d.ts +7 -7
- package/esm/sdk/customers.d.ts.map +1 -1
- package/esm/sdk/orders.d.ts +7 -7
- package/esm/sdk/orders.d.ts.map +1 -1
- package/esm/sdk/shipping.d.ts +2 -2
- package/esm/sdk/shipping.d.ts.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/authGenerateOtp.ts +11 -5
- package/src/funcs/authGetAnonymousToken.ts +11 -5
- package/src/funcs/authGetUserDetail.ts +11 -5
- package/src/funcs/authLoginWithEmail.ts +11 -5
- package/src/funcs/authLoginWithPhone.ts +11 -5
- package/src/funcs/authLoginWithWhatsapp.ts +11 -5
- package/src/funcs/authLogout.ts +9 -5
- package/src/funcs/authRefreshToken.ts +11 -5
- package/src/funcs/authUpdateUser.ts +9 -5
- package/src/funcs/authVerifyOtp.ts +9 -5
- package/src/funcs/cartsAddShippingMethod.ts +7 -5
- package/src/funcs/cartsApplyCoupon.ts +7 -5
- package/src/funcs/cartsCreateCart.ts +9 -5
- package/src/funcs/cartsCreateCartAddress.ts +7 -5
- package/src/funcs/cartsDeleteCart.ts +5 -5
- package/src/funcs/cartsGetCart.ts +5 -5
- package/src/funcs/cartsGetUserCart.ts +7 -5
- package/src/funcs/cartsRedeemLoyaltyPoints.ts +7 -5
- package/src/funcs/cartsRemoveCoupon.ts +7 -5
- package/src/funcs/cartsRemoveLoyaltyPoints.ts +7 -5
- package/src/funcs/cartsRemoveUserCart.ts +7 -5
- package/src/funcs/cartsUpdateCart.ts +5 -5
- package/src/funcs/catalogGetProductDetail.ts +7 -5
- package/src/funcs/catalogGetVariantDetail.ts +7 -5
- package/src/funcs/catalogListCategories.ts +11 -5
- package/src/funcs/catalogListCrosssellProducts.ts +7 -5
- package/src/funcs/catalogListProductReviews.ts +7 -5
- package/src/funcs/catalogListProductVariants.ts +7 -5
- package/src/funcs/catalogListProducts.ts +7 -5
- package/src/funcs/catalogListSimilarProducts.ts +7 -5
- package/src/funcs/catalogListSkus.ts +5 -5
- package/src/funcs/catalogListUpsellProducts.ts +7 -5
- package/src/funcs/catalogSearchProducts.ts +7 -5
- package/src/funcs/commonListCountryPincodes.ts +11 -5
- package/src/funcs/customersCreateAddress.ts +7 -5
- package/src/funcs/customersDeleteAddress.ts +7 -5
- package/src/funcs/customersGetAddressDetail.ts +7 -5
- package/src/funcs/customersGetLoyaltyDetails.ts +7 -5
- package/src/funcs/customersListAddresses.ts +11 -5
- package/src/funcs/customersListUserReviews.ts +11 -5
- package/src/funcs/customersUpdateAddressDetail.ts +7 -5
- package/src/funcs/ordersCancelOrder.ts +7 -5
- package/src/funcs/ordersCreateOrder.ts +7 -5
- package/src/funcs/ordersGetOrderDetail.ts +7 -5
- package/src/funcs/ordersGetPaymentStatus.ts +11 -5
- package/src/funcs/ordersListOrderShipments.ts +7 -5
- package/src/funcs/ordersListOrders.ts +9 -5
- package/src/funcs/ordersRetryOrderPayment.ts +7 -5
- package/src/funcs/shippingCheckDeliveryAvailability.ts +7 -5
- package/src/funcs/shippingCheckServiceability.ts +11 -5
- package/src/lib/config.ts +3 -3
- package/src/lib/matchers.ts +10 -16
- package/src/models/components/httpmetadata.ts +87 -0
- package/src/models/components/index.ts +1 -0
- package/src/models/errors/ceerror.ts +7 -13
- package/src/models/operations/applycoupon.ts +73 -0
- package/src/models/operations/cancelorder.ts +73 -0
- package/src/models/operations/checkdeliveryavailability.ts +80 -0
- package/src/models/operations/createaddress.ts +73 -0
- package/src/models/operations/createcart.ts +74 -0
- package/src/models/operations/createcartaddress.ts +73 -0
- package/src/models/operations/createorder.ts +73 -0
- package/src/models/operations/deleteaddress.ts +74 -0
- package/src/models/operations/deletecart.ts +75 -0
- package/src/models/operations/deleteusercart.ts +74 -0
- package/src/models/operations/generateotp.ts +74 -0
- package/src/models/operations/getaddressdetail.ts +74 -0
- package/src/models/operations/getanonymoustoken.ts +73 -0
- package/src/models/operations/getcart.ts +72 -0
- package/src/models/operations/getloyaltydetails.ts +73 -0
- package/src/models/operations/getorderdetail.ts +73 -0
- package/src/models/operations/getpaymentstatus.ts +74 -0
- package/src/models/operations/getproductdetail.ts +73 -0
- package/src/models/operations/getusercart.ts +73 -0
- package/src/models/operations/getuserdetail.ts +74 -0
- package/src/models/operations/getvariantdetail.ts +73 -0
- package/src/models/operations/listaddresses.ts +73 -0
- package/src/models/operations/listcategories.ts +73 -0
- package/src/models/operations/listcountrypincodes.ts +77 -0
- package/src/models/operations/listcrosssellproducts.ts +77 -0
- package/src/models/operations/listorders.ts +73 -0
- package/src/models/operations/listordershipments.ts +74 -0
- package/src/models/operations/listproductreviews.ts +74 -0
- package/src/models/operations/listproducts.ts +73 -0
- package/src/models/operations/listproductvariants.ts +77 -0
- package/src/models/operations/listsimilarproducts.ts +77 -0
- package/src/models/operations/listskus.ts +73 -0
- package/src/models/operations/listupsellproducts.ts +74 -0
- package/src/models/operations/listuserreviews.ts +73 -0
- package/src/models/operations/loginwithemail.ts +74 -0
- package/src/models/operations/loginwithphone.ts +74 -0
- package/src/models/operations/loginwithwhatsapp.ts +74 -0
- package/src/models/operations/logout.ts +69 -0
- package/src/models/operations/redeemloyaltypoints.ts +77 -0
- package/src/models/operations/refreshtoken.ts +74 -0
- package/src/models/operations/removecoupon.ts +74 -0
- package/src/models/operations/removeloyaltypoints.ts +78 -0
- package/src/models/operations/retryorderpayment.ts +73 -0
- package/src/models/operations/searchproducts.ts +73 -0
- package/src/models/operations/shippingmethods.ts +73 -0
- package/src/models/operations/updateaddressdetail.ts +77 -0
- package/src/models/operations/updatecart.ts +73 -0
- package/src/models/operations/updateshippingmethod.ts +77 -0
- package/src/models/operations/updateuser.ts +73 -0
- package/src/models/operations/verifyotp.ts +73 -0
- package/src/sdk/auth.ts +10 -10
- package/src/sdk/carts.ts +12 -12
- package/src/sdk/catalog.ts +11 -11
- package/src/sdk/common.ts +1 -1
- package/src/sdk/customers.ts +7 -7
- package/src/sdk/orders.ts +7 -7
- package/src/sdk/shipping.ts +2 -2
|
@@ -41,6 +41,14 @@ export type ListCountryPincodesResponseBody = {
|
|
|
41
41
|
content?: ListCountryPincodesContent | undefined;
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
+
export type ListCountryPincodesResponse = {
|
|
45
|
+
httpMeta: components.HTTPMetadata;
|
|
46
|
+
/**
|
|
47
|
+
* OK
|
|
48
|
+
*/
|
|
49
|
+
object?: ListCountryPincodesResponseBody | undefined;
|
|
50
|
+
};
|
|
51
|
+
|
|
44
52
|
/** @internal */
|
|
45
53
|
export const ListCountryPincodesRequest$inboundSchema: z.ZodType<
|
|
46
54
|
ListCountryPincodesRequest,
|
|
@@ -227,3 +235,72 @@ export function listCountryPincodesResponseBodyFromJSON(
|
|
|
227
235
|
`Failed to parse 'ListCountryPincodesResponseBody' from JSON`,
|
|
228
236
|
);
|
|
229
237
|
}
|
|
238
|
+
|
|
239
|
+
/** @internal */
|
|
240
|
+
export const ListCountryPincodesResponse$inboundSchema: z.ZodType<
|
|
241
|
+
ListCountryPincodesResponse,
|
|
242
|
+
z.ZodTypeDef,
|
|
243
|
+
unknown
|
|
244
|
+
> = z.object({
|
|
245
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
246
|
+
object: z.lazy(() => ListCountryPincodesResponseBody$inboundSchema)
|
|
247
|
+
.optional(),
|
|
248
|
+
}).transform((v) => {
|
|
249
|
+
return remap$(v, {
|
|
250
|
+
"HttpMeta": "httpMeta",
|
|
251
|
+
});
|
|
252
|
+
});
|
|
253
|
+
|
|
254
|
+
/** @internal */
|
|
255
|
+
export type ListCountryPincodesResponse$Outbound = {
|
|
256
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
257
|
+
object?: ListCountryPincodesResponseBody$Outbound | undefined;
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
/** @internal */
|
|
261
|
+
export const ListCountryPincodesResponse$outboundSchema: z.ZodType<
|
|
262
|
+
ListCountryPincodesResponse$Outbound,
|
|
263
|
+
z.ZodTypeDef,
|
|
264
|
+
ListCountryPincodesResponse
|
|
265
|
+
> = z.object({
|
|
266
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
267
|
+
object: z.lazy(() => ListCountryPincodesResponseBody$outboundSchema)
|
|
268
|
+
.optional(),
|
|
269
|
+
}).transform((v) => {
|
|
270
|
+
return remap$(v, {
|
|
271
|
+
httpMeta: "HttpMeta",
|
|
272
|
+
});
|
|
273
|
+
});
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* @internal
|
|
277
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
278
|
+
*/
|
|
279
|
+
export namespace ListCountryPincodesResponse$ {
|
|
280
|
+
/** @deprecated use `ListCountryPincodesResponse$inboundSchema` instead. */
|
|
281
|
+
export const inboundSchema = ListCountryPincodesResponse$inboundSchema;
|
|
282
|
+
/** @deprecated use `ListCountryPincodesResponse$outboundSchema` instead. */
|
|
283
|
+
export const outboundSchema = ListCountryPincodesResponse$outboundSchema;
|
|
284
|
+
/** @deprecated use `ListCountryPincodesResponse$Outbound` instead. */
|
|
285
|
+
export type Outbound = ListCountryPincodesResponse$Outbound;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
export function listCountryPincodesResponseToJSON(
|
|
289
|
+
listCountryPincodesResponse: ListCountryPincodesResponse,
|
|
290
|
+
): string {
|
|
291
|
+
return JSON.stringify(
|
|
292
|
+
ListCountryPincodesResponse$outboundSchema.parse(
|
|
293
|
+
listCountryPincodesResponse,
|
|
294
|
+
),
|
|
295
|
+
);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export function listCountryPincodesResponseFromJSON(
|
|
299
|
+
jsonString: string,
|
|
300
|
+
): SafeParseResult<ListCountryPincodesResponse, SDKValidationError> {
|
|
301
|
+
return safeParse(
|
|
302
|
+
jsonString,
|
|
303
|
+
(x) => ListCountryPincodesResponse$inboundSchema.parse(JSON.parse(x)),
|
|
304
|
+
`Failed to parse 'ListCountryPincodesResponse' from JSON`,
|
|
305
|
+
);
|
|
306
|
+
}
|
|
@@ -45,6 +45,14 @@ export type ListCrosssellProductsResponseBody = {
|
|
|
45
45
|
content: ListCrosssellProductsContent;
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
+
export type ListCrosssellProductsResponse = {
|
|
49
|
+
httpMeta: components.HTTPMetadata;
|
|
50
|
+
/**
|
|
51
|
+
* Success response
|
|
52
|
+
*/
|
|
53
|
+
object?: ListCrosssellProductsResponseBody | undefined;
|
|
54
|
+
};
|
|
55
|
+
|
|
48
56
|
/** @internal */
|
|
49
57
|
export const ListCrosssellProductsRequest$inboundSchema: z.ZodType<
|
|
50
58
|
ListCrosssellProductsRequest,
|
|
@@ -241,3 +249,72 @@ export function listCrosssellProductsResponseBodyFromJSON(
|
|
|
241
249
|
`Failed to parse 'ListCrosssellProductsResponseBody' from JSON`,
|
|
242
250
|
);
|
|
243
251
|
}
|
|
252
|
+
|
|
253
|
+
/** @internal */
|
|
254
|
+
export const ListCrosssellProductsResponse$inboundSchema: z.ZodType<
|
|
255
|
+
ListCrosssellProductsResponse,
|
|
256
|
+
z.ZodTypeDef,
|
|
257
|
+
unknown
|
|
258
|
+
> = z.object({
|
|
259
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
260
|
+
object: z.lazy(() => ListCrosssellProductsResponseBody$inboundSchema)
|
|
261
|
+
.optional(),
|
|
262
|
+
}).transform((v) => {
|
|
263
|
+
return remap$(v, {
|
|
264
|
+
"HttpMeta": "httpMeta",
|
|
265
|
+
});
|
|
266
|
+
});
|
|
267
|
+
|
|
268
|
+
/** @internal */
|
|
269
|
+
export type ListCrosssellProductsResponse$Outbound = {
|
|
270
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
271
|
+
object?: ListCrosssellProductsResponseBody$Outbound | undefined;
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
/** @internal */
|
|
275
|
+
export const ListCrosssellProductsResponse$outboundSchema: z.ZodType<
|
|
276
|
+
ListCrosssellProductsResponse$Outbound,
|
|
277
|
+
z.ZodTypeDef,
|
|
278
|
+
ListCrosssellProductsResponse
|
|
279
|
+
> = z.object({
|
|
280
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
281
|
+
object: z.lazy(() => ListCrosssellProductsResponseBody$outboundSchema)
|
|
282
|
+
.optional(),
|
|
283
|
+
}).transform((v) => {
|
|
284
|
+
return remap$(v, {
|
|
285
|
+
httpMeta: "HttpMeta",
|
|
286
|
+
});
|
|
287
|
+
});
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* @internal
|
|
291
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
292
|
+
*/
|
|
293
|
+
export namespace ListCrosssellProductsResponse$ {
|
|
294
|
+
/** @deprecated use `ListCrosssellProductsResponse$inboundSchema` instead. */
|
|
295
|
+
export const inboundSchema = ListCrosssellProductsResponse$inboundSchema;
|
|
296
|
+
/** @deprecated use `ListCrosssellProductsResponse$outboundSchema` instead. */
|
|
297
|
+
export const outboundSchema = ListCrosssellProductsResponse$outboundSchema;
|
|
298
|
+
/** @deprecated use `ListCrosssellProductsResponse$Outbound` instead. */
|
|
299
|
+
export type Outbound = ListCrosssellProductsResponse$Outbound;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
export function listCrosssellProductsResponseToJSON(
|
|
303
|
+
listCrosssellProductsResponse: ListCrosssellProductsResponse,
|
|
304
|
+
): string {
|
|
305
|
+
return JSON.stringify(
|
|
306
|
+
ListCrosssellProductsResponse$outboundSchema.parse(
|
|
307
|
+
listCrosssellProductsResponse,
|
|
308
|
+
),
|
|
309
|
+
);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export function listCrosssellProductsResponseFromJSON(
|
|
313
|
+
jsonString: string,
|
|
314
|
+
): SafeParseResult<ListCrosssellProductsResponse, SDKValidationError> {
|
|
315
|
+
return safeParse(
|
|
316
|
+
jsonString,
|
|
317
|
+
(x) => ListCrosssellProductsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
318
|
+
`Failed to parse 'ListCrosssellProductsResponse' from JSON`,
|
|
319
|
+
);
|
|
320
|
+
}
|
|
@@ -49,6 +49,14 @@ export type ListOrdersResponseBody = {
|
|
|
49
49
|
content?: ListOrdersContent | undefined;
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
+
export type ListOrdersResponse = {
|
|
53
|
+
httpMeta: components.HTTPMetadata;
|
|
54
|
+
/**
|
|
55
|
+
* OK
|
|
56
|
+
*/
|
|
57
|
+
object?: ListOrdersResponseBody | undefined;
|
|
58
|
+
};
|
|
59
|
+
|
|
52
60
|
/** @internal */
|
|
53
61
|
export const ListOrdersRequest$inboundSchema: z.ZodType<
|
|
54
62
|
ListOrdersRequest,
|
|
@@ -241,3 +249,68 @@ export function listOrdersResponseBodyFromJSON(
|
|
|
241
249
|
`Failed to parse 'ListOrdersResponseBody' from JSON`,
|
|
242
250
|
);
|
|
243
251
|
}
|
|
252
|
+
|
|
253
|
+
/** @internal */
|
|
254
|
+
export const ListOrdersResponse$inboundSchema: z.ZodType<
|
|
255
|
+
ListOrdersResponse,
|
|
256
|
+
z.ZodTypeDef,
|
|
257
|
+
unknown
|
|
258
|
+
> = z.object({
|
|
259
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
260
|
+
object: z.lazy(() => ListOrdersResponseBody$inboundSchema).optional(),
|
|
261
|
+
}).transform((v) => {
|
|
262
|
+
return remap$(v, {
|
|
263
|
+
"HttpMeta": "httpMeta",
|
|
264
|
+
});
|
|
265
|
+
});
|
|
266
|
+
|
|
267
|
+
/** @internal */
|
|
268
|
+
export type ListOrdersResponse$Outbound = {
|
|
269
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
270
|
+
object?: ListOrdersResponseBody$Outbound | undefined;
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
/** @internal */
|
|
274
|
+
export const ListOrdersResponse$outboundSchema: z.ZodType<
|
|
275
|
+
ListOrdersResponse$Outbound,
|
|
276
|
+
z.ZodTypeDef,
|
|
277
|
+
ListOrdersResponse
|
|
278
|
+
> = z.object({
|
|
279
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
280
|
+
object: z.lazy(() => ListOrdersResponseBody$outboundSchema).optional(),
|
|
281
|
+
}).transform((v) => {
|
|
282
|
+
return remap$(v, {
|
|
283
|
+
httpMeta: "HttpMeta",
|
|
284
|
+
});
|
|
285
|
+
});
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* @internal
|
|
289
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
290
|
+
*/
|
|
291
|
+
export namespace ListOrdersResponse$ {
|
|
292
|
+
/** @deprecated use `ListOrdersResponse$inboundSchema` instead. */
|
|
293
|
+
export const inboundSchema = ListOrdersResponse$inboundSchema;
|
|
294
|
+
/** @deprecated use `ListOrdersResponse$outboundSchema` instead. */
|
|
295
|
+
export const outboundSchema = ListOrdersResponse$outboundSchema;
|
|
296
|
+
/** @deprecated use `ListOrdersResponse$Outbound` instead. */
|
|
297
|
+
export type Outbound = ListOrdersResponse$Outbound;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export function listOrdersResponseToJSON(
|
|
301
|
+
listOrdersResponse: ListOrdersResponse,
|
|
302
|
+
): string {
|
|
303
|
+
return JSON.stringify(
|
|
304
|
+
ListOrdersResponse$outboundSchema.parse(listOrdersResponse),
|
|
305
|
+
);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export function listOrdersResponseFromJSON(
|
|
309
|
+
jsonString: string,
|
|
310
|
+
): SafeParseResult<ListOrdersResponse, SDKValidationError> {
|
|
311
|
+
return safeParse(
|
|
312
|
+
jsonString,
|
|
313
|
+
(x) => ListOrdersResponse$inboundSchema.parse(JSON.parse(x)),
|
|
314
|
+
`Failed to parse 'ListOrdersResponse' from JSON`,
|
|
315
|
+
);
|
|
316
|
+
}
|
|
@@ -29,6 +29,14 @@ export type ListOrderShipmentsResponseBody = {
|
|
|
29
29
|
content?: ListOrderShipmentsContent | undefined;
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
+
export type ListOrderShipmentsResponse = {
|
|
33
|
+
httpMeta: components.HTTPMetadata;
|
|
34
|
+
/**
|
|
35
|
+
* OK
|
|
36
|
+
*/
|
|
37
|
+
object?: ListOrderShipmentsResponseBody | undefined;
|
|
38
|
+
};
|
|
39
|
+
|
|
32
40
|
/** @internal */
|
|
33
41
|
export const ListOrderShipmentsRequest$inboundSchema: z.ZodType<
|
|
34
42
|
ListOrderShipmentsRequest,
|
|
@@ -206,3 +214,69 @@ export function listOrderShipmentsResponseBodyFromJSON(
|
|
|
206
214
|
`Failed to parse 'ListOrderShipmentsResponseBody' from JSON`,
|
|
207
215
|
);
|
|
208
216
|
}
|
|
217
|
+
|
|
218
|
+
/** @internal */
|
|
219
|
+
export const ListOrderShipmentsResponse$inboundSchema: z.ZodType<
|
|
220
|
+
ListOrderShipmentsResponse,
|
|
221
|
+
z.ZodTypeDef,
|
|
222
|
+
unknown
|
|
223
|
+
> = z.object({
|
|
224
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
225
|
+
object: z.lazy(() => ListOrderShipmentsResponseBody$inboundSchema).optional(),
|
|
226
|
+
}).transform((v) => {
|
|
227
|
+
return remap$(v, {
|
|
228
|
+
"HttpMeta": "httpMeta",
|
|
229
|
+
});
|
|
230
|
+
});
|
|
231
|
+
|
|
232
|
+
/** @internal */
|
|
233
|
+
export type ListOrderShipmentsResponse$Outbound = {
|
|
234
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
235
|
+
object?: ListOrderShipmentsResponseBody$Outbound | undefined;
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
/** @internal */
|
|
239
|
+
export const ListOrderShipmentsResponse$outboundSchema: z.ZodType<
|
|
240
|
+
ListOrderShipmentsResponse$Outbound,
|
|
241
|
+
z.ZodTypeDef,
|
|
242
|
+
ListOrderShipmentsResponse
|
|
243
|
+
> = z.object({
|
|
244
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
245
|
+
object: z.lazy(() => ListOrderShipmentsResponseBody$outboundSchema)
|
|
246
|
+
.optional(),
|
|
247
|
+
}).transform((v) => {
|
|
248
|
+
return remap$(v, {
|
|
249
|
+
httpMeta: "HttpMeta",
|
|
250
|
+
});
|
|
251
|
+
});
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* @internal
|
|
255
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
256
|
+
*/
|
|
257
|
+
export namespace ListOrderShipmentsResponse$ {
|
|
258
|
+
/** @deprecated use `ListOrderShipmentsResponse$inboundSchema` instead. */
|
|
259
|
+
export const inboundSchema = ListOrderShipmentsResponse$inboundSchema;
|
|
260
|
+
/** @deprecated use `ListOrderShipmentsResponse$outboundSchema` instead. */
|
|
261
|
+
export const outboundSchema = ListOrderShipmentsResponse$outboundSchema;
|
|
262
|
+
/** @deprecated use `ListOrderShipmentsResponse$Outbound` instead. */
|
|
263
|
+
export type Outbound = ListOrderShipmentsResponse$Outbound;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export function listOrderShipmentsResponseToJSON(
|
|
267
|
+
listOrderShipmentsResponse: ListOrderShipmentsResponse,
|
|
268
|
+
): string {
|
|
269
|
+
return JSON.stringify(
|
|
270
|
+
ListOrderShipmentsResponse$outboundSchema.parse(listOrderShipmentsResponse),
|
|
271
|
+
);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export function listOrderShipmentsResponseFromJSON(
|
|
275
|
+
jsonString: string,
|
|
276
|
+
): SafeParseResult<ListOrderShipmentsResponse, SDKValidationError> {
|
|
277
|
+
return safeParse(
|
|
278
|
+
jsonString,
|
|
279
|
+
(x) => ListOrderShipmentsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
280
|
+
`Failed to parse 'ListOrderShipmentsResponse' from JSON`,
|
|
281
|
+
);
|
|
282
|
+
}
|
|
@@ -54,6 +54,14 @@ export type ListProductReviewsResponseBody = {
|
|
|
54
54
|
content: ListProductReviewsContent;
|
|
55
55
|
};
|
|
56
56
|
|
|
57
|
+
export type ListProductReviewsResponse = {
|
|
58
|
+
httpMeta: components.HTTPMetadata;
|
|
59
|
+
/**
|
|
60
|
+
* Success response
|
|
61
|
+
*/
|
|
62
|
+
object?: ListProductReviewsResponseBody | undefined;
|
|
63
|
+
};
|
|
64
|
+
|
|
57
65
|
/** @internal */
|
|
58
66
|
export const ListProductReviewsRequest$inboundSchema: z.ZodType<
|
|
59
67
|
ListProductReviewsRequest,
|
|
@@ -264,3 +272,69 @@ export function listProductReviewsResponseBodyFromJSON(
|
|
|
264
272
|
`Failed to parse 'ListProductReviewsResponseBody' from JSON`,
|
|
265
273
|
);
|
|
266
274
|
}
|
|
275
|
+
|
|
276
|
+
/** @internal */
|
|
277
|
+
export const ListProductReviewsResponse$inboundSchema: z.ZodType<
|
|
278
|
+
ListProductReviewsResponse,
|
|
279
|
+
z.ZodTypeDef,
|
|
280
|
+
unknown
|
|
281
|
+
> = z.object({
|
|
282
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
283
|
+
object: z.lazy(() => ListProductReviewsResponseBody$inboundSchema).optional(),
|
|
284
|
+
}).transform((v) => {
|
|
285
|
+
return remap$(v, {
|
|
286
|
+
"HttpMeta": "httpMeta",
|
|
287
|
+
});
|
|
288
|
+
});
|
|
289
|
+
|
|
290
|
+
/** @internal */
|
|
291
|
+
export type ListProductReviewsResponse$Outbound = {
|
|
292
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
293
|
+
object?: ListProductReviewsResponseBody$Outbound | undefined;
|
|
294
|
+
};
|
|
295
|
+
|
|
296
|
+
/** @internal */
|
|
297
|
+
export const ListProductReviewsResponse$outboundSchema: z.ZodType<
|
|
298
|
+
ListProductReviewsResponse$Outbound,
|
|
299
|
+
z.ZodTypeDef,
|
|
300
|
+
ListProductReviewsResponse
|
|
301
|
+
> = z.object({
|
|
302
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
303
|
+
object: z.lazy(() => ListProductReviewsResponseBody$outboundSchema)
|
|
304
|
+
.optional(),
|
|
305
|
+
}).transform((v) => {
|
|
306
|
+
return remap$(v, {
|
|
307
|
+
httpMeta: "HttpMeta",
|
|
308
|
+
});
|
|
309
|
+
});
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* @internal
|
|
313
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
314
|
+
*/
|
|
315
|
+
export namespace ListProductReviewsResponse$ {
|
|
316
|
+
/** @deprecated use `ListProductReviewsResponse$inboundSchema` instead. */
|
|
317
|
+
export const inboundSchema = ListProductReviewsResponse$inboundSchema;
|
|
318
|
+
/** @deprecated use `ListProductReviewsResponse$outboundSchema` instead. */
|
|
319
|
+
export const outboundSchema = ListProductReviewsResponse$outboundSchema;
|
|
320
|
+
/** @deprecated use `ListProductReviewsResponse$Outbound` instead. */
|
|
321
|
+
export type Outbound = ListProductReviewsResponse$Outbound;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
export function listProductReviewsResponseToJSON(
|
|
325
|
+
listProductReviewsResponse: ListProductReviewsResponse,
|
|
326
|
+
): string {
|
|
327
|
+
return JSON.stringify(
|
|
328
|
+
ListProductReviewsResponse$outboundSchema.parse(listProductReviewsResponse),
|
|
329
|
+
);
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
export function listProductReviewsResponseFromJSON(
|
|
333
|
+
jsonString: string,
|
|
334
|
+
): SafeParseResult<ListProductReviewsResponse, SDKValidationError> {
|
|
335
|
+
return safeParse(
|
|
336
|
+
jsonString,
|
|
337
|
+
(x) => ListProductReviewsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
338
|
+
`Failed to parse 'ListProductReviewsResponse' from JSON`,
|
|
339
|
+
);
|
|
340
|
+
}
|
|
@@ -49,6 +49,14 @@ export type ListProductsResponseBody = {
|
|
|
49
49
|
content: Content;
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
+
export type ListProductsResponse = {
|
|
53
|
+
httpMeta: components.HTTPMetadata;
|
|
54
|
+
/**
|
|
55
|
+
* Success response
|
|
56
|
+
*/
|
|
57
|
+
object?: ListProductsResponseBody | undefined;
|
|
58
|
+
};
|
|
59
|
+
|
|
52
60
|
/** @internal */
|
|
53
61
|
export const ListProductsRequest$inboundSchema: z.ZodType<
|
|
54
62
|
ListProductsRequest,
|
|
@@ -236,3 +244,68 @@ export function listProductsResponseBodyFromJSON(
|
|
|
236
244
|
`Failed to parse 'ListProductsResponseBody' from JSON`,
|
|
237
245
|
);
|
|
238
246
|
}
|
|
247
|
+
|
|
248
|
+
/** @internal */
|
|
249
|
+
export const ListProductsResponse$inboundSchema: z.ZodType<
|
|
250
|
+
ListProductsResponse,
|
|
251
|
+
z.ZodTypeDef,
|
|
252
|
+
unknown
|
|
253
|
+
> = z.object({
|
|
254
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
255
|
+
object: z.lazy(() => ListProductsResponseBody$inboundSchema).optional(),
|
|
256
|
+
}).transform((v) => {
|
|
257
|
+
return remap$(v, {
|
|
258
|
+
"HttpMeta": "httpMeta",
|
|
259
|
+
});
|
|
260
|
+
});
|
|
261
|
+
|
|
262
|
+
/** @internal */
|
|
263
|
+
export type ListProductsResponse$Outbound = {
|
|
264
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
265
|
+
object?: ListProductsResponseBody$Outbound | undefined;
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
/** @internal */
|
|
269
|
+
export const ListProductsResponse$outboundSchema: z.ZodType<
|
|
270
|
+
ListProductsResponse$Outbound,
|
|
271
|
+
z.ZodTypeDef,
|
|
272
|
+
ListProductsResponse
|
|
273
|
+
> = z.object({
|
|
274
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
275
|
+
object: z.lazy(() => ListProductsResponseBody$outboundSchema).optional(),
|
|
276
|
+
}).transform((v) => {
|
|
277
|
+
return remap$(v, {
|
|
278
|
+
httpMeta: "HttpMeta",
|
|
279
|
+
});
|
|
280
|
+
});
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* @internal
|
|
284
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
285
|
+
*/
|
|
286
|
+
export namespace ListProductsResponse$ {
|
|
287
|
+
/** @deprecated use `ListProductsResponse$inboundSchema` instead. */
|
|
288
|
+
export const inboundSchema = ListProductsResponse$inboundSchema;
|
|
289
|
+
/** @deprecated use `ListProductsResponse$outboundSchema` instead. */
|
|
290
|
+
export const outboundSchema = ListProductsResponse$outboundSchema;
|
|
291
|
+
/** @deprecated use `ListProductsResponse$Outbound` instead. */
|
|
292
|
+
export type Outbound = ListProductsResponse$Outbound;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export function listProductsResponseToJSON(
|
|
296
|
+
listProductsResponse: ListProductsResponse,
|
|
297
|
+
): string {
|
|
298
|
+
return JSON.stringify(
|
|
299
|
+
ListProductsResponse$outboundSchema.parse(listProductsResponse),
|
|
300
|
+
);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
export function listProductsResponseFromJSON(
|
|
304
|
+
jsonString: string,
|
|
305
|
+
): SafeParseResult<ListProductsResponse, SDKValidationError> {
|
|
306
|
+
return safeParse(
|
|
307
|
+
jsonString,
|
|
308
|
+
(x) => ListProductsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
309
|
+
`Failed to parse 'ListProductsResponse' from JSON`,
|
|
310
|
+
);
|
|
311
|
+
}
|
|
@@ -33,6 +33,14 @@ export type ListProductVariantsResponseBody = {
|
|
|
33
33
|
content: ListProductVariantsContent;
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
+
export type ListProductVariantsResponse = {
|
|
37
|
+
httpMeta: components.HTTPMetadata;
|
|
38
|
+
/**
|
|
39
|
+
* Success response
|
|
40
|
+
*/
|
|
41
|
+
object?: ListProductVariantsResponseBody | undefined;
|
|
42
|
+
};
|
|
43
|
+
|
|
36
44
|
/** @internal */
|
|
37
45
|
export const ListProductVariantsRequest$inboundSchema: z.ZodType<
|
|
38
46
|
ListProductVariantsRequest,
|
|
@@ -215,3 +223,72 @@ export function listProductVariantsResponseBodyFromJSON(
|
|
|
215
223
|
`Failed to parse 'ListProductVariantsResponseBody' from JSON`,
|
|
216
224
|
);
|
|
217
225
|
}
|
|
226
|
+
|
|
227
|
+
/** @internal */
|
|
228
|
+
export const ListProductVariantsResponse$inboundSchema: z.ZodType<
|
|
229
|
+
ListProductVariantsResponse,
|
|
230
|
+
z.ZodTypeDef,
|
|
231
|
+
unknown
|
|
232
|
+
> = z.object({
|
|
233
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
234
|
+
object: z.lazy(() => ListProductVariantsResponseBody$inboundSchema)
|
|
235
|
+
.optional(),
|
|
236
|
+
}).transform((v) => {
|
|
237
|
+
return remap$(v, {
|
|
238
|
+
"HttpMeta": "httpMeta",
|
|
239
|
+
});
|
|
240
|
+
});
|
|
241
|
+
|
|
242
|
+
/** @internal */
|
|
243
|
+
export type ListProductVariantsResponse$Outbound = {
|
|
244
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
245
|
+
object?: ListProductVariantsResponseBody$Outbound | undefined;
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
/** @internal */
|
|
249
|
+
export const ListProductVariantsResponse$outboundSchema: z.ZodType<
|
|
250
|
+
ListProductVariantsResponse$Outbound,
|
|
251
|
+
z.ZodTypeDef,
|
|
252
|
+
ListProductVariantsResponse
|
|
253
|
+
> = z.object({
|
|
254
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
255
|
+
object: z.lazy(() => ListProductVariantsResponseBody$outboundSchema)
|
|
256
|
+
.optional(),
|
|
257
|
+
}).transform((v) => {
|
|
258
|
+
return remap$(v, {
|
|
259
|
+
httpMeta: "HttpMeta",
|
|
260
|
+
});
|
|
261
|
+
});
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* @internal
|
|
265
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
266
|
+
*/
|
|
267
|
+
export namespace ListProductVariantsResponse$ {
|
|
268
|
+
/** @deprecated use `ListProductVariantsResponse$inboundSchema` instead. */
|
|
269
|
+
export const inboundSchema = ListProductVariantsResponse$inboundSchema;
|
|
270
|
+
/** @deprecated use `ListProductVariantsResponse$outboundSchema` instead. */
|
|
271
|
+
export const outboundSchema = ListProductVariantsResponse$outboundSchema;
|
|
272
|
+
/** @deprecated use `ListProductVariantsResponse$Outbound` instead. */
|
|
273
|
+
export type Outbound = ListProductVariantsResponse$Outbound;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export function listProductVariantsResponseToJSON(
|
|
277
|
+
listProductVariantsResponse: ListProductVariantsResponse,
|
|
278
|
+
): string {
|
|
279
|
+
return JSON.stringify(
|
|
280
|
+
ListProductVariantsResponse$outboundSchema.parse(
|
|
281
|
+
listProductVariantsResponse,
|
|
282
|
+
),
|
|
283
|
+
);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export function listProductVariantsResponseFromJSON(
|
|
287
|
+
jsonString: string,
|
|
288
|
+
): SafeParseResult<ListProductVariantsResponse, SDKValidationError> {
|
|
289
|
+
return safeParse(
|
|
290
|
+
jsonString,
|
|
291
|
+
(x) => ListProductVariantsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
292
|
+
`Failed to parse 'ListProductVariantsResponse' from JSON`,
|
|
293
|
+
);
|
|
294
|
+
}
|
|
@@ -45,6 +45,14 @@ export type ListSimilarProductsResponseBody = {
|
|
|
45
45
|
content: ListSimilarProductsContent;
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
+
export type ListSimilarProductsResponse = {
|
|
49
|
+
httpMeta: components.HTTPMetadata;
|
|
50
|
+
/**
|
|
51
|
+
* Success response
|
|
52
|
+
*/
|
|
53
|
+
object?: ListSimilarProductsResponseBody | undefined;
|
|
54
|
+
};
|
|
55
|
+
|
|
48
56
|
/** @internal */
|
|
49
57
|
export const ListSimilarProductsRequest$inboundSchema: z.ZodType<
|
|
50
58
|
ListSimilarProductsRequest,
|
|
@@ -236,3 +244,72 @@ export function listSimilarProductsResponseBodyFromJSON(
|
|
|
236
244
|
`Failed to parse 'ListSimilarProductsResponseBody' from JSON`,
|
|
237
245
|
);
|
|
238
246
|
}
|
|
247
|
+
|
|
248
|
+
/** @internal */
|
|
249
|
+
export const ListSimilarProductsResponse$inboundSchema: z.ZodType<
|
|
250
|
+
ListSimilarProductsResponse,
|
|
251
|
+
z.ZodTypeDef,
|
|
252
|
+
unknown
|
|
253
|
+
> = z.object({
|
|
254
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
255
|
+
object: z.lazy(() => ListSimilarProductsResponseBody$inboundSchema)
|
|
256
|
+
.optional(),
|
|
257
|
+
}).transform((v) => {
|
|
258
|
+
return remap$(v, {
|
|
259
|
+
"HttpMeta": "httpMeta",
|
|
260
|
+
});
|
|
261
|
+
});
|
|
262
|
+
|
|
263
|
+
/** @internal */
|
|
264
|
+
export type ListSimilarProductsResponse$Outbound = {
|
|
265
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
266
|
+
object?: ListSimilarProductsResponseBody$Outbound | undefined;
|
|
267
|
+
};
|
|
268
|
+
|
|
269
|
+
/** @internal */
|
|
270
|
+
export const ListSimilarProductsResponse$outboundSchema: z.ZodType<
|
|
271
|
+
ListSimilarProductsResponse$Outbound,
|
|
272
|
+
z.ZodTypeDef,
|
|
273
|
+
ListSimilarProductsResponse
|
|
274
|
+
> = z.object({
|
|
275
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
276
|
+
object: z.lazy(() => ListSimilarProductsResponseBody$outboundSchema)
|
|
277
|
+
.optional(),
|
|
278
|
+
}).transform((v) => {
|
|
279
|
+
return remap$(v, {
|
|
280
|
+
httpMeta: "HttpMeta",
|
|
281
|
+
});
|
|
282
|
+
});
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* @internal
|
|
286
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
287
|
+
*/
|
|
288
|
+
export namespace ListSimilarProductsResponse$ {
|
|
289
|
+
/** @deprecated use `ListSimilarProductsResponse$inboundSchema` instead. */
|
|
290
|
+
export const inboundSchema = ListSimilarProductsResponse$inboundSchema;
|
|
291
|
+
/** @deprecated use `ListSimilarProductsResponse$outboundSchema` instead. */
|
|
292
|
+
export const outboundSchema = ListSimilarProductsResponse$outboundSchema;
|
|
293
|
+
/** @deprecated use `ListSimilarProductsResponse$Outbound` instead. */
|
|
294
|
+
export type Outbound = ListSimilarProductsResponse$Outbound;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export function listSimilarProductsResponseToJSON(
|
|
298
|
+
listSimilarProductsResponse: ListSimilarProductsResponse,
|
|
299
|
+
): string {
|
|
300
|
+
return JSON.stringify(
|
|
301
|
+
ListSimilarProductsResponse$outboundSchema.parse(
|
|
302
|
+
listSimilarProductsResponse,
|
|
303
|
+
),
|
|
304
|
+
);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export function listSimilarProductsResponseFromJSON(
|
|
308
|
+
jsonString: string,
|
|
309
|
+
): SafeParseResult<ListSimilarProductsResponse, SDKValidationError> {
|
|
310
|
+
return safeParse(
|
|
311
|
+
jsonString,
|
|
312
|
+
(x) => ListSimilarProductsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
313
|
+
`Failed to parse 'ListSimilarProductsResponse' from JSON`,
|
|
314
|
+
);
|
|
315
|
+
}
|