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.
Files changed (553) hide show
  1. package/docs/sdks/auth/README.md +10 -10
  2. package/docs/sdks/carts/README.md +12 -12
  3. package/docs/sdks/catalog/README.md +11 -11
  4. package/docs/sdks/common/README.md +1 -1
  5. package/docs/sdks/customers/README.md +7 -7
  6. package/docs/sdks/orders/README.md +7 -7
  7. package/docs/sdks/shipping/README.md +2 -2
  8. package/esm/funcs/authGenerateOtp.d.ts +1 -1
  9. package/esm/funcs/authGenerateOtp.d.ts.map +1 -1
  10. package/esm/funcs/authGenerateOtp.js +6 -1
  11. package/esm/funcs/authGenerateOtp.js.map +1 -1
  12. package/esm/funcs/authGetAnonymousToken.d.ts +1 -1
  13. package/esm/funcs/authGetAnonymousToken.d.ts.map +1 -1
  14. package/esm/funcs/authGetAnonymousToken.js +6 -1
  15. package/esm/funcs/authGetAnonymousToken.js.map +1 -1
  16. package/esm/funcs/authGetUserDetail.d.ts +1 -1
  17. package/esm/funcs/authGetUserDetail.d.ts.map +1 -1
  18. package/esm/funcs/authGetUserDetail.js +6 -1
  19. package/esm/funcs/authGetUserDetail.js.map +1 -1
  20. package/esm/funcs/authLoginWithEmail.d.ts +1 -1
  21. package/esm/funcs/authLoginWithEmail.d.ts.map +1 -1
  22. package/esm/funcs/authLoginWithEmail.js +6 -1
  23. package/esm/funcs/authLoginWithEmail.js.map +1 -1
  24. package/esm/funcs/authLoginWithPhone.d.ts +1 -1
  25. package/esm/funcs/authLoginWithPhone.d.ts.map +1 -1
  26. package/esm/funcs/authLoginWithPhone.js +6 -1
  27. package/esm/funcs/authLoginWithPhone.js.map +1 -1
  28. package/esm/funcs/authLoginWithWhatsapp.d.ts +1 -1
  29. package/esm/funcs/authLoginWithWhatsapp.d.ts.map +1 -1
  30. package/esm/funcs/authLoginWithWhatsapp.js +6 -1
  31. package/esm/funcs/authLoginWithWhatsapp.js.map +1 -1
  32. package/esm/funcs/authLogout.d.ts +1 -1
  33. package/esm/funcs/authLogout.d.ts.map +1 -1
  34. package/esm/funcs/authLogout.js +4 -1
  35. package/esm/funcs/authLogout.js.map +1 -1
  36. package/esm/funcs/authRefreshToken.d.ts +1 -1
  37. package/esm/funcs/authRefreshToken.d.ts.map +1 -1
  38. package/esm/funcs/authRefreshToken.js +6 -1
  39. package/esm/funcs/authRefreshToken.js.map +1 -1
  40. package/esm/funcs/authUpdateUser.d.ts +1 -1
  41. package/esm/funcs/authUpdateUser.d.ts.map +1 -1
  42. package/esm/funcs/authUpdateUser.js +4 -1
  43. package/esm/funcs/authUpdateUser.js.map +1 -1
  44. package/esm/funcs/authVerifyOtp.d.ts +1 -1
  45. package/esm/funcs/authVerifyOtp.d.ts.map +1 -1
  46. package/esm/funcs/authVerifyOtp.js +4 -1
  47. package/esm/funcs/authVerifyOtp.js.map +1 -1
  48. package/esm/funcs/cartsAddShippingMethod.d.ts +1 -1
  49. package/esm/funcs/cartsAddShippingMethod.d.ts.map +1 -1
  50. package/esm/funcs/cartsAddShippingMethod.js +3 -1
  51. package/esm/funcs/cartsAddShippingMethod.js.map +1 -1
  52. package/esm/funcs/cartsApplyCoupon.d.ts +1 -1
  53. package/esm/funcs/cartsApplyCoupon.d.ts.map +1 -1
  54. package/esm/funcs/cartsApplyCoupon.js +3 -1
  55. package/esm/funcs/cartsApplyCoupon.js.map +1 -1
  56. package/esm/funcs/cartsCreateCart.d.ts +1 -1
  57. package/esm/funcs/cartsCreateCart.d.ts.map +1 -1
  58. package/esm/funcs/cartsCreateCart.js +4 -1
  59. package/esm/funcs/cartsCreateCart.js.map +1 -1
  60. package/esm/funcs/cartsCreateCartAddress.d.ts +1 -1
  61. package/esm/funcs/cartsCreateCartAddress.d.ts.map +1 -1
  62. package/esm/funcs/cartsCreateCartAddress.js +3 -1
  63. package/esm/funcs/cartsCreateCartAddress.js.map +1 -1
  64. package/esm/funcs/cartsDeleteCart.d.ts +1 -1
  65. package/esm/funcs/cartsDeleteCart.d.ts.map +1 -1
  66. package/esm/funcs/cartsDeleteCart.js +1 -1
  67. package/esm/funcs/cartsDeleteCart.js.map +1 -1
  68. package/esm/funcs/cartsGetCart.d.ts +1 -1
  69. package/esm/funcs/cartsGetCart.d.ts.map +1 -1
  70. package/esm/funcs/cartsGetCart.js +1 -1
  71. package/esm/funcs/cartsGetCart.js.map +1 -1
  72. package/esm/funcs/cartsGetUserCart.d.ts +1 -1
  73. package/esm/funcs/cartsGetUserCart.d.ts.map +1 -1
  74. package/esm/funcs/cartsGetUserCart.js +3 -1
  75. package/esm/funcs/cartsGetUserCart.js.map +1 -1
  76. package/esm/funcs/cartsRedeemLoyaltyPoints.d.ts +1 -1
  77. package/esm/funcs/cartsRedeemLoyaltyPoints.d.ts.map +1 -1
  78. package/esm/funcs/cartsRedeemLoyaltyPoints.js +3 -1
  79. package/esm/funcs/cartsRedeemLoyaltyPoints.js.map +1 -1
  80. package/esm/funcs/cartsRemoveCoupon.d.ts +1 -1
  81. package/esm/funcs/cartsRemoveCoupon.d.ts.map +1 -1
  82. package/esm/funcs/cartsRemoveCoupon.js +3 -1
  83. package/esm/funcs/cartsRemoveCoupon.js.map +1 -1
  84. package/esm/funcs/cartsRemoveLoyaltyPoints.d.ts +1 -1
  85. package/esm/funcs/cartsRemoveLoyaltyPoints.d.ts.map +1 -1
  86. package/esm/funcs/cartsRemoveLoyaltyPoints.js +3 -1
  87. package/esm/funcs/cartsRemoveLoyaltyPoints.js.map +1 -1
  88. package/esm/funcs/cartsRemoveUserCart.d.ts +1 -1
  89. package/esm/funcs/cartsRemoveUserCart.d.ts.map +1 -1
  90. package/esm/funcs/cartsRemoveUserCart.js +3 -1
  91. package/esm/funcs/cartsRemoveUserCart.js.map +1 -1
  92. package/esm/funcs/cartsUpdateCart.d.ts +1 -1
  93. package/esm/funcs/cartsUpdateCart.d.ts.map +1 -1
  94. package/esm/funcs/cartsUpdateCart.js +1 -1
  95. package/esm/funcs/cartsUpdateCart.js.map +1 -1
  96. package/esm/funcs/catalogGetProductDetail.d.ts +1 -1
  97. package/esm/funcs/catalogGetProductDetail.d.ts.map +1 -1
  98. package/esm/funcs/catalogGetProductDetail.js +3 -1
  99. package/esm/funcs/catalogGetProductDetail.js.map +1 -1
  100. package/esm/funcs/catalogGetVariantDetail.d.ts +1 -1
  101. package/esm/funcs/catalogGetVariantDetail.d.ts.map +1 -1
  102. package/esm/funcs/catalogGetVariantDetail.js +3 -1
  103. package/esm/funcs/catalogGetVariantDetail.js.map +1 -1
  104. package/esm/funcs/catalogListCategories.d.ts +1 -1
  105. package/esm/funcs/catalogListCategories.d.ts.map +1 -1
  106. package/esm/funcs/catalogListCategories.js +6 -1
  107. package/esm/funcs/catalogListCategories.js.map +1 -1
  108. package/esm/funcs/catalogListCrosssellProducts.d.ts +1 -1
  109. package/esm/funcs/catalogListCrosssellProducts.d.ts.map +1 -1
  110. package/esm/funcs/catalogListCrosssellProducts.js +3 -1
  111. package/esm/funcs/catalogListCrosssellProducts.js.map +1 -1
  112. package/esm/funcs/catalogListProductReviews.d.ts +1 -1
  113. package/esm/funcs/catalogListProductReviews.d.ts.map +1 -1
  114. package/esm/funcs/catalogListProductReviews.js +3 -1
  115. package/esm/funcs/catalogListProductReviews.js.map +1 -1
  116. package/esm/funcs/catalogListProductVariants.d.ts +1 -1
  117. package/esm/funcs/catalogListProductVariants.d.ts.map +1 -1
  118. package/esm/funcs/catalogListProductVariants.js +3 -1
  119. package/esm/funcs/catalogListProductVariants.js.map +1 -1
  120. package/esm/funcs/catalogListProducts.d.ts +1 -1
  121. package/esm/funcs/catalogListProducts.d.ts.map +1 -1
  122. package/esm/funcs/catalogListProducts.js +3 -1
  123. package/esm/funcs/catalogListProducts.js.map +1 -1
  124. package/esm/funcs/catalogListSimilarProducts.d.ts +1 -1
  125. package/esm/funcs/catalogListSimilarProducts.d.ts.map +1 -1
  126. package/esm/funcs/catalogListSimilarProducts.js +3 -1
  127. package/esm/funcs/catalogListSimilarProducts.js.map +1 -1
  128. package/esm/funcs/catalogListSkus.d.ts +1 -1
  129. package/esm/funcs/catalogListSkus.d.ts.map +1 -1
  130. package/esm/funcs/catalogListSkus.js +1 -1
  131. package/esm/funcs/catalogListSkus.js.map +1 -1
  132. package/esm/funcs/catalogListUpsellProducts.d.ts +1 -1
  133. package/esm/funcs/catalogListUpsellProducts.d.ts.map +1 -1
  134. package/esm/funcs/catalogListUpsellProducts.js +3 -1
  135. package/esm/funcs/catalogListUpsellProducts.js.map +1 -1
  136. package/esm/funcs/catalogSearchProducts.d.ts +1 -1
  137. package/esm/funcs/catalogSearchProducts.d.ts.map +1 -1
  138. package/esm/funcs/catalogSearchProducts.js +3 -1
  139. package/esm/funcs/catalogSearchProducts.js.map +1 -1
  140. package/esm/funcs/commonListCountryPincodes.d.ts +1 -1
  141. package/esm/funcs/commonListCountryPincodes.d.ts.map +1 -1
  142. package/esm/funcs/commonListCountryPincodes.js +6 -1
  143. package/esm/funcs/commonListCountryPincodes.js.map +1 -1
  144. package/esm/funcs/customersCreateAddress.d.ts +1 -1
  145. package/esm/funcs/customersCreateAddress.d.ts.map +1 -1
  146. package/esm/funcs/customersCreateAddress.js +3 -1
  147. package/esm/funcs/customersCreateAddress.js.map +1 -1
  148. package/esm/funcs/customersDeleteAddress.d.ts +1 -1
  149. package/esm/funcs/customersDeleteAddress.d.ts.map +1 -1
  150. package/esm/funcs/customersDeleteAddress.js +3 -1
  151. package/esm/funcs/customersDeleteAddress.js.map +1 -1
  152. package/esm/funcs/customersGetAddressDetail.d.ts +1 -1
  153. package/esm/funcs/customersGetAddressDetail.d.ts.map +1 -1
  154. package/esm/funcs/customersGetAddressDetail.js +3 -1
  155. package/esm/funcs/customersGetAddressDetail.js.map +1 -1
  156. package/esm/funcs/customersGetLoyaltyDetails.d.ts +1 -1
  157. package/esm/funcs/customersGetLoyaltyDetails.d.ts.map +1 -1
  158. package/esm/funcs/customersGetLoyaltyDetails.js +3 -1
  159. package/esm/funcs/customersGetLoyaltyDetails.js.map +1 -1
  160. package/esm/funcs/customersListAddresses.d.ts +1 -1
  161. package/esm/funcs/customersListAddresses.d.ts.map +1 -1
  162. package/esm/funcs/customersListAddresses.js +6 -1
  163. package/esm/funcs/customersListAddresses.js.map +1 -1
  164. package/esm/funcs/customersListUserReviews.d.ts +1 -1
  165. package/esm/funcs/customersListUserReviews.d.ts.map +1 -1
  166. package/esm/funcs/customersListUserReviews.js +6 -1
  167. package/esm/funcs/customersListUserReviews.js.map +1 -1
  168. package/esm/funcs/customersUpdateAddressDetail.d.ts +1 -1
  169. package/esm/funcs/customersUpdateAddressDetail.d.ts.map +1 -1
  170. package/esm/funcs/customersUpdateAddressDetail.js +3 -1
  171. package/esm/funcs/customersUpdateAddressDetail.js.map +1 -1
  172. package/esm/funcs/ordersCancelOrder.d.ts +1 -1
  173. package/esm/funcs/ordersCancelOrder.d.ts.map +1 -1
  174. package/esm/funcs/ordersCancelOrder.js +3 -1
  175. package/esm/funcs/ordersCancelOrder.js.map +1 -1
  176. package/esm/funcs/ordersCreateOrder.d.ts +1 -1
  177. package/esm/funcs/ordersCreateOrder.d.ts.map +1 -1
  178. package/esm/funcs/ordersCreateOrder.js +3 -1
  179. package/esm/funcs/ordersCreateOrder.js.map +1 -1
  180. package/esm/funcs/ordersGetOrderDetail.d.ts +1 -1
  181. package/esm/funcs/ordersGetOrderDetail.d.ts.map +1 -1
  182. package/esm/funcs/ordersGetOrderDetail.js +3 -1
  183. package/esm/funcs/ordersGetOrderDetail.js.map +1 -1
  184. package/esm/funcs/ordersGetPaymentStatus.d.ts +1 -1
  185. package/esm/funcs/ordersGetPaymentStatus.d.ts.map +1 -1
  186. package/esm/funcs/ordersGetPaymentStatus.js +6 -1
  187. package/esm/funcs/ordersGetPaymentStatus.js.map +1 -1
  188. package/esm/funcs/ordersListOrderShipments.d.ts +1 -1
  189. package/esm/funcs/ordersListOrderShipments.d.ts.map +1 -1
  190. package/esm/funcs/ordersListOrderShipments.js +3 -1
  191. package/esm/funcs/ordersListOrderShipments.js.map +1 -1
  192. package/esm/funcs/ordersListOrders.d.ts +1 -1
  193. package/esm/funcs/ordersListOrders.d.ts.map +1 -1
  194. package/esm/funcs/ordersListOrders.js +4 -1
  195. package/esm/funcs/ordersListOrders.js.map +1 -1
  196. package/esm/funcs/ordersRetryOrderPayment.d.ts +1 -1
  197. package/esm/funcs/ordersRetryOrderPayment.d.ts.map +1 -1
  198. package/esm/funcs/ordersRetryOrderPayment.js +3 -1
  199. package/esm/funcs/ordersRetryOrderPayment.js.map +1 -1
  200. package/esm/funcs/shippingCheckDeliveryAvailability.d.ts +1 -1
  201. package/esm/funcs/shippingCheckDeliveryAvailability.d.ts.map +1 -1
  202. package/esm/funcs/shippingCheckDeliveryAvailability.js +3 -1
  203. package/esm/funcs/shippingCheckDeliveryAvailability.js.map +1 -1
  204. package/esm/funcs/shippingCheckServiceability.d.ts +1 -1
  205. package/esm/funcs/shippingCheckServiceability.d.ts.map +1 -1
  206. package/esm/funcs/shippingCheckServiceability.js +6 -1
  207. package/esm/funcs/shippingCheckServiceability.js.map +1 -1
  208. package/esm/lib/config.d.ts +3 -3
  209. package/esm/lib/config.js +3 -3
  210. package/esm/lib/matchers.d.ts +1 -1
  211. package/esm/lib/matchers.d.ts.map +1 -1
  212. package/esm/lib/matchers.js +10 -11
  213. package/esm/lib/matchers.js.map +1 -1
  214. package/esm/models/components/httpmetadata.d.ts +37 -0
  215. package/esm/models/components/httpmetadata.d.ts.map +1 -0
  216. package/esm/models/components/httpmetadata.js +48 -0
  217. package/esm/models/components/httpmetadata.js.map +1 -0
  218. package/esm/models/components/index.d.ts +1 -0
  219. package/esm/models/components/index.d.ts.map +1 -1
  220. package/esm/models/components/index.js +1 -0
  221. package/esm/models/components/index.js.map +1 -1
  222. package/esm/models/errors/ceerror.d.ts +8 -5
  223. package/esm/models/errors/ceerror.d.ts.map +1 -1
  224. package/esm/models/errors/ceerror.js +3 -9
  225. package/esm/models/errors/ceerror.js.map +1 -1
  226. package/esm/models/operations/applycoupon.d.ts +30 -0
  227. package/esm/models/operations/applycoupon.d.ts.map +1 -1
  228. package/esm/models/operations/applycoupon.js +35 -0
  229. package/esm/models/operations/applycoupon.js.map +1 -1
  230. package/esm/models/operations/cancelorder.d.ts +30 -0
  231. package/esm/models/operations/cancelorder.d.ts.map +1 -1
  232. package/esm/models/operations/cancelorder.js +35 -0
  233. package/esm/models/operations/cancelorder.js.map +1 -1
  234. package/esm/models/operations/checkdeliveryavailability.d.ts +31 -0
  235. package/esm/models/operations/checkdeliveryavailability.d.ts.map +1 -1
  236. package/esm/models/operations/checkdeliveryavailability.js +39 -0
  237. package/esm/models/operations/checkdeliveryavailability.js.map +1 -1
  238. package/esm/models/operations/createaddress.d.ts +30 -0
  239. package/esm/models/operations/createaddress.d.ts.map +1 -1
  240. package/esm/models/operations/createaddress.js +35 -0
  241. package/esm/models/operations/createaddress.js.map +1 -1
  242. package/esm/models/operations/createcart.d.ts +30 -0
  243. package/esm/models/operations/createcart.d.ts.map +1 -1
  244. package/esm/models/operations/createcart.js +36 -0
  245. package/esm/models/operations/createcart.js.map +1 -1
  246. package/esm/models/operations/createcartaddress.d.ts +30 -0
  247. package/esm/models/operations/createcartaddress.d.ts.map +1 -1
  248. package/esm/models/operations/createcartaddress.js +35 -0
  249. package/esm/models/operations/createcartaddress.js.map +1 -1
  250. package/esm/models/operations/createorder.d.ts +30 -0
  251. package/esm/models/operations/createorder.d.ts.map +1 -1
  252. package/esm/models/operations/createorder.js +35 -0
  253. package/esm/models/operations/createorder.js.map +1 -1
  254. package/esm/models/operations/deleteaddress.d.ts +31 -0
  255. package/esm/models/operations/deleteaddress.d.ts.map +1 -1
  256. package/esm/models/operations/deleteaddress.js +36 -0
  257. package/esm/models/operations/deleteaddress.js.map +1 -1
  258. package/esm/models/operations/deletecart.d.ts +31 -0
  259. package/esm/models/operations/deletecart.d.ts.map +1 -1
  260. package/esm/models/operations/deletecart.js +37 -0
  261. package/esm/models/operations/deletecart.js.map +1 -1
  262. package/esm/models/operations/deleteusercart.d.ts +31 -0
  263. package/esm/models/operations/deleteusercart.d.ts.map +1 -1
  264. package/esm/models/operations/deleteusercart.js +36 -0
  265. package/esm/models/operations/deleteusercart.js.map +1 -1
  266. package/esm/models/operations/generateotp.d.ts +31 -0
  267. package/esm/models/operations/generateotp.d.ts.map +1 -1
  268. package/esm/models/operations/generateotp.js +36 -0
  269. package/esm/models/operations/generateotp.js.map +1 -1
  270. package/esm/models/operations/getaddressdetail.d.ts +31 -0
  271. package/esm/models/operations/getaddressdetail.d.ts.map +1 -1
  272. package/esm/models/operations/getaddressdetail.js +36 -0
  273. package/esm/models/operations/getaddressdetail.js.map +1 -1
  274. package/esm/models/operations/getanonymoustoken.d.ts +30 -0
  275. package/esm/models/operations/getanonymoustoken.d.ts.map +1 -1
  276. package/esm/models/operations/getanonymoustoken.js +35 -0
  277. package/esm/models/operations/getanonymoustoken.js.map +1 -1
  278. package/esm/models/operations/getcart.d.ts +30 -0
  279. package/esm/models/operations/getcart.d.ts.map +1 -1
  280. package/esm/models/operations/getcart.js +36 -0
  281. package/esm/models/operations/getcart.js.map +1 -1
  282. package/esm/models/operations/getloyaltydetails.d.ts +30 -0
  283. package/esm/models/operations/getloyaltydetails.d.ts.map +1 -1
  284. package/esm/models/operations/getloyaltydetails.js +35 -0
  285. package/esm/models/operations/getloyaltydetails.js.map +1 -1
  286. package/esm/models/operations/getorderdetail.d.ts +30 -0
  287. package/esm/models/operations/getorderdetail.d.ts.map +1 -1
  288. package/esm/models/operations/getorderdetail.js +35 -0
  289. package/esm/models/operations/getorderdetail.js.map +1 -1
  290. package/esm/models/operations/getpaymentstatus.d.ts +31 -0
  291. package/esm/models/operations/getpaymentstatus.d.ts.map +1 -1
  292. package/esm/models/operations/getpaymentstatus.js +36 -0
  293. package/esm/models/operations/getpaymentstatus.js.map +1 -1
  294. package/esm/models/operations/getproductdetail.d.ts +30 -0
  295. package/esm/models/operations/getproductdetail.d.ts.map +1 -1
  296. package/esm/models/operations/getproductdetail.js +35 -0
  297. package/esm/models/operations/getproductdetail.js.map +1 -1
  298. package/esm/models/operations/getusercart.d.ts +30 -0
  299. package/esm/models/operations/getusercart.d.ts.map +1 -1
  300. package/esm/models/operations/getusercart.js +35 -0
  301. package/esm/models/operations/getusercart.js.map +1 -1
  302. package/esm/models/operations/getuserdetail.d.ts +30 -0
  303. package/esm/models/operations/getuserdetail.d.ts.map +1 -1
  304. package/esm/models/operations/getuserdetail.js +36 -0
  305. package/esm/models/operations/getuserdetail.js.map +1 -1
  306. package/esm/models/operations/getvariantdetail.d.ts +30 -0
  307. package/esm/models/operations/getvariantdetail.d.ts.map +1 -1
  308. package/esm/models/operations/getvariantdetail.js +35 -0
  309. package/esm/models/operations/getvariantdetail.js.map +1 -1
  310. package/esm/models/operations/listaddresses.d.ts +30 -0
  311. package/esm/models/operations/listaddresses.d.ts.map +1 -1
  312. package/esm/models/operations/listaddresses.js +35 -0
  313. package/esm/models/operations/listaddresses.js.map +1 -1
  314. package/esm/models/operations/listcategories.d.ts +30 -0
  315. package/esm/models/operations/listcategories.d.ts.map +1 -1
  316. package/esm/models/operations/listcategories.js +35 -0
  317. package/esm/models/operations/listcategories.js.map +1 -1
  318. package/esm/models/operations/listcountrypincodes.d.ts +30 -0
  319. package/esm/models/operations/listcountrypincodes.d.ts.map +1 -1
  320. package/esm/models/operations/listcountrypincodes.js +37 -0
  321. package/esm/models/operations/listcountrypincodes.js.map +1 -1
  322. package/esm/models/operations/listcrosssellproducts.d.ts +30 -0
  323. package/esm/models/operations/listcrosssellproducts.d.ts.map +1 -1
  324. package/esm/models/operations/listcrosssellproducts.js +37 -0
  325. package/esm/models/operations/listcrosssellproducts.js.map +1 -1
  326. package/esm/models/operations/listorders.d.ts +30 -0
  327. package/esm/models/operations/listorders.d.ts.map +1 -1
  328. package/esm/models/operations/listorders.js +35 -0
  329. package/esm/models/operations/listorders.js.map +1 -1
  330. package/esm/models/operations/listordershipments.d.ts +30 -0
  331. package/esm/models/operations/listordershipments.d.ts.map +1 -1
  332. package/esm/models/operations/listordershipments.js +36 -0
  333. package/esm/models/operations/listordershipments.js.map +1 -1
  334. package/esm/models/operations/listproductreviews.d.ts +30 -0
  335. package/esm/models/operations/listproductreviews.d.ts.map +1 -1
  336. package/esm/models/operations/listproductreviews.js +36 -0
  337. package/esm/models/operations/listproductreviews.js.map +1 -1
  338. package/esm/models/operations/listproducts.d.ts +30 -0
  339. package/esm/models/operations/listproducts.d.ts.map +1 -1
  340. package/esm/models/operations/listproducts.js +35 -0
  341. package/esm/models/operations/listproducts.js.map +1 -1
  342. package/esm/models/operations/listproductvariants.d.ts +30 -0
  343. package/esm/models/operations/listproductvariants.d.ts.map +1 -1
  344. package/esm/models/operations/listproductvariants.js +37 -0
  345. package/esm/models/operations/listproductvariants.js.map +1 -1
  346. package/esm/models/operations/listsimilarproducts.d.ts +30 -0
  347. package/esm/models/operations/listsimilarproducts.d.ts.map +1 -1
  348. package/esm/models/operations/listsimilarproducts.js +37 -0
  349. package/esm/models/operations/listsimilarproducts.js.map +1 -1
  350. package/esm/models/operations/listskus.d.ts +30 -0
  351. package/esm/models/operations/listskus.d.ts.map +1 -1
  352. package/esm/models/operations/listskus.js +35 -0
  353. package/esm/models/operations/listskus.js.map +1 -1
  354. package/esm/models/operations/listupsellproducts.d.ts +30 -0
  355. package/esm/models/operations/listupsellproducts.d.ts.map +1 -1
  356. package/esm/models/operations/listupsellproducts.js +36 -0
  357. package/esm/models/operations/listupsellproducts.js.map +1 -1
  358. package/esm/models/operations/listuserreviews.d.ts +30 -0
  359. package/esm/models/operations/listuserreviews.d.ts.map +1 -1
  360. package/esm/models/operations/listuserreviews.js +35 -0
  361. package/esm/models/operations/listuserreviews.js.map +1 -1
  362. package/esm/models/operations/loginwithemail.d.ts +31 -0
  363. package/esm/models/operations/loginwithemail.d.ts.map +1 -1
  364. package/esm/models/operations/loginwithemail.js +36 -0
  365. package/esm/models/operations/loginwithemail.js.map +1 -1
  366. package/esm/models/operations/loginwithphone.d.ts +31 -0
  367. package/esm/models/operations/loginwithphone.d.ts.map +1 -1
  368. package/esm/models/operations/loginwithphone.js +36 -0
  369. package/esm/models/operations/loginwithphone.js.map +1 -1
  370. package/esm/models/operations/loginwithwhatsapp.d.ts +31 -0
  371. package/esm/models/operations/loginwithwhatsapp.d.ts.map +1 -1
  372. package/esm/models/operations/loginwithwhatsapp.js +36 -0
  373. package/esm/models/operations/loginwithwhatsapp.js.map +1 -1
  374. package/esm/models/operations/logout.d.ts +30 -0
  375. package/esm/models/operations/logout.d.ts.map +1 -1
  376. package/esm/models/operations/logout.js +35 -0
  377. package/esm/models/operations/logout.js.map +1 -1
  378. package/esm/models/operations/redeemloyaltypoints.d.ts +30 -0
  379. package/esm/models/operations/redeemloyaltypoints.d.ts.map +1 -1
  380. package/esm/models/operations/redeemloyaltypoints.js +37 -0
  381. package/esm/models/operations/redeemloyaltypoints.js.map +1 -1
  382. package/esm/models/operations/refreshtoken.d.ts +31 -0
  383. package/esm/models/operations/refreshtoken.d.ts.map +1 -1
  384. package/esm/models/operations/refreshtoken.js +36 -0
  385. package/esm/models/operations/refreshtoken.js.map +1 -1
  386. package/esm/models/operations/removecoupon.d.ts +30 -0
  387. package/esm/models/operations/removecoupon.d.ts.map +1 -1
  388. package/esm/models/operations/removecoupon.js +36 -0
  389. package/esm/models/operations/removecoupon.js.map +1 -1
  390. package/esm/models/operations/removeloyaltypoints.d.ts +30 -0
  391. package/esm/models/operations/removeloyaltypoints.d.ts.map +1 -1
  392. package/esm/models/operations/removeloyaltypoints.js +38 -0
  393. package/esm/models/operations/removeloyaltypoints.js.map +1 -1
  394. package/esm/models/operations/retryorderpayment.d.ts +30 -0
  395. package/esm/models/operations/retryorderpayment.d.ts.map +1 -1
  396. package/esm/models/operations/retryorderpayment.js +35 -0
  397. package/esm/models/operations/retryorderpayment.js.map +1 -1
  398. package/esm/models/operations/searchproducts.d.ts +30 -0
  399. package/esm/models/operations/searchproducts.d.ts.map +1 -1
  400. package/esm/models/operations/searchproducts.js +35 -0
  401. package/esm/models/operations/searchproducts.js.map +1 -1
  402. package/esm/models/operations/shippingmethods.d.ts +30 -0
  403. package/esm/models/operations/shippingmethods.d.ts.map +1 -1
  404. package/esm/models/operations/shippingmethods.js +35 -0
  405. package/esm/models/operations/shippingmethods.js.map +1 -1
  406. package/esm/models/operations/updateaddressdetail.d.ts +30 -0
  407. package/esm/models/operations/updateaddressdetail.d.ts.map +1 -1
  408. package/esm/models/operations/updateaddressdetail.js +37 -0
  409. package/esm/models/operations/updateaddressdetail.js.map +1 -1
  410. package/esm/models/operations/updatecart.d.ts +30 -0
  411. package/esm/models/operations/updatecart.d.ts.map +1 -1
  412. package/esm/models/operations/updatecart.js +35 -0
  413. package/esm/models/operations/updatecart.js.map +1 -1
  414. package/esm/models/operations/updateshippingmethod.d.ts +30 -0
  415. package/esm/models/operations/updateshippingmethod.d.ts.map +1 -1
  416. package/esm/models/operations/updateshippingmethod.js +37 -0
  417. package/esm/models/operations/updateshippingmethod.js.map +1 -1
  418. package/esm/models/operations/updateuser.d.ts +30 -0
  419. package/esm/models/operations/updateuser.d.ts.map +1 -1
  420. package/esm/models/operations/updateuser.js +35 -0
  421. package/esm/models/operations/updateuser.js.map +1 -1
  422. package/esm/models/operations/verifyotp.d.ts +30 -0
  423. package/esm/models/operations/verifyotp.d.ts.map +1 -1
  424. package/esm/models/operations/verifyotp.js +35 -0
  425. package/esm/models/operations/verifyotp.js.map +1 -1
  426. package/esm/sdk/auth.d.ts +10 -10
  427. package/esm/sdk/auth.d.ts.map +1 -1
  428. package/esm/sdk/carts.d.ts +12 -12
  429. package/esm/sdk/carts.d.ts.map +1 -1
  430. package/esm/sdk/catalog.d.ts +11 -11
  431. package/esm/sdk/catalog.d.ts.map +1 -1
  432. package/esm/sdk/common.d.ts +1 -1
  433. package/esm/sdk/common.d.ts.map +1 -1
  434. package/esm/sdk/customers.d.ts +7 -7
  435. package/esm/sdk/customers.d.ts.map +1 -1
  436. package/esm/sdk/orders.d.ts +7 -7
  437. package/esm/sdk/orders.d.ts.map +1 -1
  438. package/esm/sdk/shipping.d.ts +2 -2
  439. package/esm/sdk/shipping.d.ts.map +1 -1
  440. package/jsr.json +1 -1
  441. package/package.json +1 -1
  442. package/src/funcs/authGenerateOtp.ts +11 -5
  443. package/src/funcs/authGetAnonymousToken.ts +11 -5
  444. package/src/funcs/authGetUserDetail.ts +11 -5
  445. package/src/funcs/authLoginWithEmail.ts +11 -5
  446. package/src/funcs/authLoginWithPhone.ts +11 -5
  447. package/src/funcs/authLoginWithWhatsapp.ts +11 -5
  448. package/src/funcs/authLogout.ts +9 -5
  449. package/src/funcs/authRefreshToken.ts +11 -5
  450. package/src/funcs/authUpdateUser.ts +9 -5
  451. package/src/funcs/authVerifyOtp.ts +9 -5
  452. package/src/funcs/cartsAddShippingMethod.ts +7 -5
  453. package/src/funcs/cartsApplyCoupon.ts +7 -5
  454. package/src/funcs/cartsCreateCart.ts +9 -5
  455. package/src/funcs/cartsCreateCartAddress.ts +7 -5
  456. package/src/funcs/cartsDeleteCart.ts +5 -5
  457. package/src/funcs/cartsGetCart.ts +5 -5
  458. package/src/funcs/cartsGetUserCart.ts +7 -5
  459. package/src/funcs/cartsRedeemLoyaltyPoints.ts +7 -5
  460. package/src/funcs/cartsRemoveCoupon.ts +7 -5
  461. package/src/funcs/cartsRemoveLoyaltyPoints.ts +7 -5
  462. package/src/funcs/cartsRemoveUserCart.ts +7 -5
  463. package/src/funcs/cartsUpdateCart.ts +5 -5
  464. package/src/funcs/catalogGetProductDetail.ts +7 -5
  465. package/src/funcs/catalogGetVariantDetail.ts +7 -5
  466. package/src/funcs/catalogListCategories.ts +11 -5
  467. package/src/funcs/catalogListCrosssellProducts.ts +7 -5
  468. package/src/funcs/catalogListProductReviews.ts +7 -5
  469. package/src/funcs/catalogListProductVariants.ts +7 -5
  470. package/src/funcs/catalogListProducts.ts +7 -5
  471. package/src/funcs/catalogListSimilarProducts.ts +7 -5
  472. package/src/funcs/catalogListSkus.ts +5 -5
  473. package/src/funcs/catalogListUpsellProducts.ts +7 -5
  474. package/src/funcs/catalogSearchProducts.ts +7 -5
  475. package/src/funcs/commonListCountryPincodes.ts +11 -5
  476. package/src/funcs/customersCreateAddress.ts +7 -5
  477. package/src/funcs/customersDeleteAddress.ts +7 -5
  478. package/src/funcs/customersGetAddressDetail.ts +7 -5
  479. package/src/funcs/customersGetLoyaltyDetails.ts +7 -5
  480. package/src/funcs/customersListAddresses.ts +11 -5
  481. package/src/funcs/customersListUserReviews.ts +11 -5
  482. package/src/funcs/customersUpdateAddressDetail.ts +7 -5
  483. package/src/funcs/ordersCancelOrder.ts +7 -5
  484. package/src/funcs/ordersCreateOrder.ts +7 -5
  485. package/src/funcs/ordersGetOrderDetail.ts +7 -5
  486. package/src/funcs/ordersGetPaymentStatus.ts +11 -5
  487. package/src/funcs/ordersListOrderShipments.ts +7 -5
  488. package/src/funcs/ordersListOrders.ts +9 -5
  489. package/src/funcs/ordersRetryOrderPayment.ts +7 -5
  490. package/src/funcs/shippingCheckDeliveryAvailability.ts +7 -5
  491. package/src/funcs/shippingCheckServiceability.ts +11 -5
  492. package/src/lib/config.ts +3 -3
  493. package/src/lib/matchers.ts +10 -16
  494. package/src/models/components/httpmetadata.ts +87 -0
  495. package/src/models/components/index.ts +1 -0
  496. package/src/models/errors/ceerror.ts +7 -13
  497. package/src/models/operations/applycoupon.ts +73 -0
  498. package/src/models/operations/cancelorder.ts +73 -0
  499. package/src/models/operations/checkdeliveryavailability.ts +80 -0
  500. package/src/models/operations/createaddress.ts +73 -0
  501. package/src/models/operations/createcart.ts +74 -0
  502. package/src/models/operations/createcartaddress.ts +73 -0
  503. package/src/models/operations/createorder.ts +73 -0
  504. package/src/models/operations/deleteaddress.ts +74 -0
  505. package/src/models/operations/deletecart.ts +75 -0
  506. package/src/models/operations/deleteusercart.ts +74 -0
  507. package/src/models/operations/generateotp.ts +74 -0
  508. package/src/models/operations/getaddressdetail.ts +74 -0
  509. package/src/models/operations/getanonymoustoken.ts +73 -0
  510. package/src/models/operations/getcart.ts +72 -0
  511. package/src/models/operations/getloyaltydetails.ts +73 -0
  512. package/src/models/operations/getorderdetail.ts +73 -0
  513. package/src/models/operations/getpaymentstatus.ts +74 -0
  514. package/src/models/operations/getproductdetail.ts +73 -0
  515. package/src/models/operations/getusercart.ts +73 -0
  516. package/src/models/operations/getuserdetail.ts +74 -0
  517. package/src/models/operations/getvariantdetail.ts +73 -0
  518. package/src/models/operations/listaddresses.ts +73 -0
  519. package/src/models/operations/listcategories.ts +73 -0
  520. package/src/models/operations/listcountrypincodes.ts +77 -0
  521. package/src/models/operations/listcrosssellproducts.ts +77 -0
  522. package/src/models/operations/listorders.ts +73 -0
  523. package/src/models/operations/listordershipments.ts +74 -0
  524. package/src/models/operations/listproductreviews.ts +74 -0
  525. package/src/models/operations/listproducts.ts +73 -0
  526. package/src/models/operations/listproductvariants.ts +77 -0
  527. package/src/models/operations/listsimilarproducts.ts +77 -0
  528. package/src/models/operations/listskus.ts +73 -0
  529. package/src/models/operations/listupsellproducts.ts +74 -0
  530. package/src/models/operations/listuserreviews.ts +73 -0
  531. package/src/models/operations/loginwithemail.ts +74 -0
  532. package/src/models/operations/loginwithphone.ts +74 -0
  533. package/src/models/operations/loginwithwhatsapp.ts +74 -0
  534. package/src/models/operations/logout.ts +69 -0
  535. package/src/models/operations/redeemloyaltypoints.ts +77 -0
  536. package/src/models/operations/refreshtoken.ts +74 -0
  537. package/src/models/operations/removecoupon.ts +74 -0
  538. package/src/models/operations/removeloyaltypoints.ts +78 -0
  539. package/src/models/operations/retryorderpayment.ts +73 -0
  540. package/src/models/operations/searchproducts.ts +73 -0
  541. package/src/models/operations/shippingmethods.ts +73 -0
  542. package/src/models/operations/updateaddressdetail.ts +77 -0
  543. package/src/models/operations/updatecart.ts +73 -0
  544. package/src/models/operations/updateshippingmethod.ts +77 -0
  545. package/src/models/operations/updateuser.ts +73 -0
  546. package/src/models/operations/verifyotp.ts +73 -0
  547. package/src/sdk/auth.ts +10 -10
  548. package/src/sdk/carts.ts +12 -12
  549. package/src/sdk/catalog.ts +11 -11
  550. package/src/sdk/common.ts +1 -1
  551. package/src/sdk/customers.ts +7 -7
  552. package/src/sdk/orders.ts +7 -7
  553. package/src/sdk/shipping.ts +2 -2
@@ -3,8 +3,10 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
6
7
  import { safeParse } from "../../lib/schemas.js";
7
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import * as components from "../components/index.js";
8
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
11
 
10
12
  export type DeleteCartRequest = {
@@ -22,6 +24,14 @@ export type DeleteCartResponseBody = {
22
24
  success: boolean;
23
25
  };
24
26
 
27
+ export type DeleteCartResponse = {
28
+ httpMeta: components.HTTPMetadata;
29
+ /**
30
+ * OK
31
+ */
32
+ object?: DeleteCartResponseBody | undefined;
33
+ };
34
+
25
35
  /** @internal */
26
36
  export const DeleteCartRequest$inboundSchema: z.ZodType<
27
37
  DeleteCartRequest,
@@ -132,3 +142,68 @@ export function deleteCartResponseBodyFromJSON(
132
142
  `Failed to parse 'DeleteCartResponseBody' from JSON`,
133
143
  );
134
144
  }
145
+
146
+ /** @internal */
147
+ export const DeleteCartResponse$inboundSchema: z.ZodType<
148
+ DeleteCartResponse,
149
+ z.ZodTypeDef,
150
+ unknown
151
+ > = z.object({
152
+ HttpMeta: components.HTTPMetadata$inboundSchema,
153
+ object: z.lazy(() => DeleteCartResponseBody$inboundSchema).optional(),
154
+ }).transform((v) => {
155
+ return remap$(v, {
156
+ "HttpMeta": "httpMeta",
157
+ });
158
+ });
159
+
160
+ /** @internal */
161
+ export type DeleteCartResponse$Outbound = {
162
+ HttpMeta: components.HTTPMetadata$Outbound;
163
+ object?: DeleteCartResponseBody$Outbound | undefined;
164
+ };
165
+
166
+ /** @internal */
167
+ export const DeleteCartResponse$outboundSchema: z.ZodType<
168
+ DeleteCartResponse$Outbound,
169
+ z.ZodTypeDef,
170
+ DeleteCartResponse
171
+ > = z.object({
172
+ httpMeta: components.HTTPMetadata$outboundSchema,
173
+ object: z.lazy(() => DeleteCartResponseBody$outboundSchema).optional(),
174
+ }).transform((v) => {
175
+ return remap$(v, {
176
+ httpMeta: "HttpMeta",
177
+ });
178
+ });
179
+
180
+ /**
181
+ * @internal
182
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
183
+ */
184
+ export namespace DeleteCartResponse$ {
185
+ /** @deprecated use `DeleteCartResponse$inboundSchema` instead. */
186
+ export const inboundSchema = DeleteCartResponse$inboundSchema;
187
+ /** @deprecated use `DeleteCartResponse$outboundSchema` instead. */
188
+ export const outboundSchema = DeleteCartResponse$outboundSchema;
189
+ /** @deprecated use `DeleteCartResponse$Outbound` instead. */
190
+ export type Outbound = DeleteCartResponse$Outbound;
191
+ }
192
+
193
+ export function deleteCartResponseToJSON(
194
+ deleteCartResponse: DeleteCartResponse,
195
+ ): string {
196
+ return JSON.stringify(
197
+ DeleteCartResponse$outboundSchema.parse(deleteCartResponse),
198
+ );
199
+ }
200
+
201
+ export function deleteCartResponseFromJSON(
202
+ jsonString: string,
203
+ ): SafeParseResult<DeleteCartResponse, SDKValidationError> {
204
+ return safeParse(
205
+ jsonString,
206
+ (x) => DeleteCartResponse$inboundSchema.parse(JSON.parse(x)),
207
+ `Failed to parse 'DeleteCartResponse' from JSON`,
208
+ );
209
+ }
@@ -6,6 +6,7 @@ import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { safeParse } from "../../lib/schemas.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import * as components from "../components/index.js";
9
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
11
 
11
12
  export type DeleteUserCartRequest = {
@@ -23,6 +24,14 @@ export type DeleteUserCartResponseBody = {
23
24
  success: boolean;
24
25
  };
25
26
 
27
+ export type DeleteUserCartResponse = {
28
+ httpMeta: components.HTTPMetadata;
29
+ /**
30
+ * OK
31
+ */
32
+ object?: DeleteUserCartResponseBody | undefined;
33
+ };
34
+
26
35
  /** @internal */
27
36
  export const DeleteUserCartRequest$inboundSchema: z.ZodType<
28
37
  DeleteUserCartRequest,
@@ -141,3 +150,68 @@ export function deleteUserCartResponseBodyFromJSON(
141
150
  `Failed to parse 'DeleteUserCartResponseBody' from JSON`,
142
151
  );
143
152
  }
153
+
154
+ /** @internal */
155
+ export const DeleteUserCartResponse$inboundSchema: z.ZodType<
156
+ DeleteUserCartResponse,
157
+ z.ZodTypeDef,
158
+ unknown
159
+ > = z.object({
160
+ HttpMeta: components.HTTPMetadata$inboundSchema,
161
+ object: z.lazy(() => DeleteUserCartResponseBody$inboundSchema).optional(),
162
+ }).transform((v) => {
163
+ return remap$(v, {
164
+ "HttpMeta": "httpMeta",
165
+ });
166
+ });
167
+
168
+ /** @internal */
169
+ export type DeleteUserCartResponse$Outbound = {
170
+ HttpMeta: components.HTTPMetadata$Outbound;
171
+ object?: DeleteUserCartResponseBody$Outbound | undefined;
172
+ };
173
+
174
+ /** @internal */
175
+ export const DeleteUserCartResponse$outboundSchema: z.ZodType<
176
+ DeleteUserCartResponse$Outbound,
177
+ z.ZodTypeDef,
178
+ DeleteUserCartResponse
179
+ > = z.object({
180
+ httpMeta: components.HTTPMetadata$outboundSchema,
181
+ object: z.lazy(() => DeleteUserCartResponseBody$outboundSchema).optional(),
182
+ }).transform((v) => {
183
+ return remap$(v, {
184
+ httpMeta: "HttpMeta",
185
+ });
186
+ });
187
+
188
+ /**
189
+ * @internal
190
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
191
+ */
192
+ export namespace DeleteUserCartResponse$ {
193
+ /** @deprecated use `DeleteUserCartResponse$inboundSchema` instead. */
194
+ export const inboundSchema = DeleteUserCartResponse$inboundSchema;
195
+ /** @deprecated use `DeleteUserCartResponse$outboundSchema` instead. */
196
+ export const outboundSchema = DeleteUserCartResponse$outboundSchema;
197
+ /** @deprecated use `DeleteUserCartResponse$Outbound` instead. */
198
+ export type Outbound = DeleteUserCartResponse$Outbound;
199
+ }
200
+
201
+ export function deleteUserCartResponseToJSON(
202
+ deleteUserCartResponse: DeleteUserCartResponse,
203
+ ): string {
204
+ return JSON.stringify(
205
+ DeleteUserCartResponse$outboundSchema.parse(deleteUserCartResponse),
206
+ );
207
+ }
208
+
209
+ export function deleteUserCartResponseFromJSON(
210
+ jsonString: string,
211
+ ): SafeParseResult<DeleteUserCartResponse, SDKValidationError> {
212
+ return safeParse(
213
+ jsonString,
214
+ (x) => DeleteUserCartResponse$inboundSchema.parse(JSON.parse(x)),
215
+ `Failed to parse 'DeleteUserCartResponse' from JSON`,
216
+ );
217
+ }
@@ -7,6 +7,7 @@ import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { safeParse } from "../../lib/schemas.js";
8
8
  import { ClosedEnum } from "../../types/enums.js";
9
9
  import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import * as components from "../components/index.js";
10
11
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
12
 
12
13
  /**
@@ -88,6 +89,14 @@ export type GenerateOtpResponseBody = {
88
89
  content?: GenerateOtpContent | undefined;
89
90
  };
90
91
 
92
+ export type GenerateOtpResponse = {
93
+ httpMeta: components.HTTPMetadata;
94
+ /**
95
+ * OK
96
+ */
97
+ object?: GenerateOtpResponseBody | undefined;
98
+ };
99
+
91
100
  /** @internal */
92
101
  export const Channel$inboundSchema: z.ZodNativeEnum<typeof Channel> = z
93
102
  .nativeEnum(Channel);
@@ -330,3 +339,68 @@ export function generateOtpResponseBodyFromJSON(
330
339
  `Failed to parse 'GenerateOtpResponseBody' from JSON`,
331
340
  );
332
341
  }
342
+
343
+ /** @internal */
344
+ export const GenerateOtpResponse$inboundSchema: z.ZodType<
345
+ GenerateOtpResponse,
346
+ z.ZodTypeDef,
347
+ unknown
348
+ > = z.object({
349
+ HttpMeta: components.HTTPMetadata$inboundSchema,
350
+ object: z.lazy(() => GenerateOtpResponseBody$inboundSchema).optional(),
351
+ }).transform((v) => {
352
+ return remap$(v, {
353
+ "HttpMeta": "httpMeta",
354
+ });
355
+ });
356
+
357
+ /** @internal */
358
+ export type GenerateOtpResponse$Outbound = {
359
+ HttpMeta: components.HTTPMetadata$Outbound;
360
+ object?: GenerateOtpResponseBody$Outbound | undefined;
361
+ };
362
+
363
+ /** @internal */
364
+ export const GenerateOtpResponse$outboundSchema: z.ZodType<
365
+ GenerateOtpResponse$Outbound,
366
+ z.ZodTypeDef,
367
+ GenerateOtpResponse
368
+ > = z.object({
369
+ httpMeta: components.HTTPMetadata$outboundSchema,
370
+ object: z.lazy(() => GenerateOtpResponseBody$outboundSchema).optional(),
371
+ }).transform((v) => {
372
+ return remap$(v, {
373
+ httpMeta: "HttpMeta",
374
+ });
375
+ });
376
+
377
+ /**
378
+ * @internal
379
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
380
+ */
381
+ export namespace GenerateOtpResponse$ {
382
+ /** @deprecated use `GenerateOtpResponse$inboundSchema` instead. */
383
+ export const inboundSchema = GenerateOtpResponse$inboundSchema;
384
+ /** @deprecated use `GenerateOtpResponse$outboundSchema` instead. */
385
+ export const outboundSchema = GenerateOtpResponse$outboundSchema;
386
+ /** @deprecated use `GenerateOtpResponse$Outbound` instead. */
387
+ export type Outbound = GenerateOtpResponse$Outbound;
388
+ }
389
+
390
+ export function generateOtpResponseToJSON(
391
+ generateOtpResponse: GenerateOtpResponse,
392
+ ): string {
393
+ return JSON.stringify(
394
+ GenerateOtpResponse$outboundSchema.parse(generateOtpResponse),
395
+ );
396
+ }
397
+
398
+ export function generateOtpResponseFromJSON(
399
+ jsonString: string,
400
+ ): SafeParseResult<GenerateOtpResponse, SDKValidationError> {
401
+ return safeParse(
402
+ jsonString,
403
+ (x) => GenerateOtpResponse$inboundSchema.parse(JSON.parse(x)),
404
+ `Failed to parse 'GenerateOtpResponse' from JSON`,
405
+ );
406
+ }
@@ -6,6 +6,7 @@ import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { safeParse } from "../../lib/schemas.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import * as components from "../components/index.js";
9
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
11
 
11
12
  export type GetAddressDetailRequest = {
@@ -71,6 +72,14 @@ export type GetAddressDetailResponseBody = {
71
72
  content?: GetAddressDetailContent | undefined;
72
73
  };
73
74
 
75
+ export type GetAddressDetailResponse = {
76
+ httpMeta: components.HTTPMetadata;
77
+ /**
78
+ * OK
79
+ */
80
+ object?: GetAddressDetailResponseBody | undefined;
81
+ };
82
+
74
83
  /** @internal */
75
84
  export const GetAddressDetailRequest$inboundSchema: z.ZodType<
76
85
  GetAddressDetailRequest,
@@ -382,3 +391,68 @@ export function getAddressDetailResponseBodyFromJSON(
382
391
  `Failed to parse 'GetAddressDetailResponseBody' from JSON`,
383
392
  );
384
393
  }
394
+
395
+ /** @internal */
396
+ export const GetAddressDetailResponse$inboundSchema: z.ZodType<
397
+ GetAddressDetailResponse,
398
+ z.ZodTypeDef,
399
+ unknown
400
+ > = z.object({
401
+ HttpMeta: components.HTTPMetadata$inboundSchema,
402
+ object: z.lazy(() => GetAddressDetailResponseBody$inboundSchema).optional(),
403
+ }).transform((v) => {
404
+ return remap$(v, {
405
+ "HttpMeta": "httpMeta",
406
+ });
407
+ });
408
+
409
+ /** @internal */
410
+ export type GetAddressDetailResponse$Outbound = {
411
+ HttpMeta: components.HTTPMetadata$Outbound;
412
+ object?: GetAddressDetailResponseBody$Outbound | undefined;
413
+ };
414
+
415
+ /** @internal */
416
+ export const GetAddressDetailResponse$outboundSchema: z.ZodType<
417
+ GetAddressDetailResponse$Outbound,
418
+ z.ZodTypeDef,
419
+ GetAddressDetailResponse
420
+ > = z.object({
421
+ httpMeta: components.HTTPMetadata$outboundSchema,
422
+ object: z.lazy(() => GetAddressDetailResponseBody$outboundSchema).optional(),
423
+ }).transform((v) => {
424
+ return remap$(v, {
425
+ httpMeta: "HttpMeta",
426
+ });
427
+ });
428
+
429
+ /**
430
+ * @internal
431
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
432
+ */
433
+ export namespace GetAddressDetailResponse$ {
434
+ /** @deprecated use `GetAddressDetailResponse$inboundSchema` instead. */
435
+ export const inboundSchema = GetAddressDetailResponse$inboundSchema;
436
+ /** @deprecated use `GetAddressDetailResponse$outboundSchema` instead. */
437
+ export const outboundSchema = GetAddressDetailResponse$outboundSchema;
438
+ /** @deprecated use `GetAddressDetailResponse$Outbound` instead. */
439
+ export type Outbound = GetAddressDetailResponse$Outbound;
440
+ }
441
+
442
+ export function getAddressDetailResponseToJSON(
443
+ getAddressDetailResponse: GetAddressDetailResponse,
444
+ ): string {
445
+ return JSON.stringify(
446
+ GetAddressDetailResponse$outboundSchema.parse(getAddressDetailResponse),
447
+ );
448
+ }
449
+
450
+ export function getAddressDetailResponseFromJSON(
451
+ jsonString: string,
452
+ ): SafeParseResult<GetAddressDetailResponse, SDKValidationError> {
453
+ return safeParse(
454
+ jsonString,
455
+ (x) => GetAddressDetailResponse$inboundSchema.parse(JSON.parse(x)),
456
+ `Failed to parse 'GetAddressDetailResponse' from JSON`,
457
+ );
458
+ }
@@ -46,6 +46,14 @@ export type GetAnonymousTokenResponseBody = {
46
46
  content: GetAnonymousTokenContent;
47
47
  };
48
48
 
49
+ export type GetAnonymousTokenResponse = {
50
+ httpMeta: components.HTTPMetadata;
51
+ /**
52
+ * OK
53
+ */
54
+ object?: GetAnonymousTokenResponseBody | undefined;
55
+ };
56
+
49
57
  /** @internal */
50
58
  export const GetAnonymousTokenSecurity$inboundSchema: z.ZodType<
51
59
  GetAnonymousTokenSecurity,
@@ -239,3 +247,68 @@ export function getAnonymousTokenResponseBodyFromJSON(
239
247
  `Failed to parse 'GetAnonymousTokenResponseBody' from JSON`,
240
248
  );
241
249
  }
250
+
251
+ /** @internal */
252
+ export const GetAnonymousTokenResponse$inboundSchema: z.ZodType<
253
+ GetAnonymousTokenResponse,
254
+ z.ZodTypeDef,
255
+ unknown
256
+ > = z.object({
257
+ HttpMeta: components.HTTPMetadata$inboundSchema,
258
+ object: z.lazy(() => GetAnonymousTokenResponseBody$inboundSchema).optional(),
259
+ }).transform((v) => {
260
+ return remap$(v, {
261
+ "HttpMeta": "httpMeta",
262
+ });
263
+ });
264
+
265
+ /** @internal */
266
+ export type GetAnonymousTokenResponse$Outbound = {
267
+ HttpMeta: components.HTTPMetadata$Outbound;
268
+ object?: GetAnonymousTokenResponseBody$Outbound | undefined;
269
+ };
270
+
271
+ /** @internal */
272
+ export const GetAnonymousTokenResponse$outboundSchema: z.ZodType<
273
+ GetAnonymousTokenResponse$Outbound,
274
+ z.ZodTypeDef,
275
+ GetAnonymousTokenResponse
276
+ > = z.object({
277
+ httpMeta: components.HTTPMetadata$outboundSchema,
278
+ object: z.lazy(() => GetAnonymousTokenResponseBody$outboundSchema).optional(),
279
+ }).transform((v) => {
280
+ return remap$(v, {
281
+ httpMeta: "HttpMeta",
282
+ });
283
+ });
284
+
285
+ /**
286
+ * @internal
287
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
288
+ */
289
+ export namespace GetAnonymousTokenResponse$ {
290
+ /** @deprecated use `GetAnonymousTokenResponse$inboundSchema` instead. */
291
+ export const inboundSchema = GetAnonymousTokenResponse$inboundSchema;
292
+ /** @deprecated use `GetAnonymousTokenResponse$outboundSchema` instead. */
293
+ export const outboundSchema = GetAnonymousTokenResponse$outboundSchema;
294
+ /** @deprecated use `GetAnonymousTokenResponse$Outbound` instead. */
295
+ export type Outbound = GetAnonymousTokenResponse$Outbound;
296
+ }
297
+
298
+ export function getAnonymousTokenResponseToJSON(
299
+ getAnonymousTokenResponse: GetAnonymousTokenResponse,
300
+ ): string {
301
+ return JSON.stringify(
302
+ GetAnonymousTokenResponse$outboundSchema.parse(getAnonymousTokenResponse),
303
+ );
304
+ }
305
+
306
+ export function getAnonymousTokenResponseFromJSON(
307
+ jsonString: string,
308
+ ): SafeParseResult<GetAnonymousTokenResponse, SDKValidationError> {
309
+ return safeParse(
310
+ jsonString,
311
+ (x) => GetAnonymousTokenResponse$inboundSchema.parse(JSON.parse(x)),
312
+ `Failed to parse 'GetAnonymousTokenResponse' from JSON`,
313
+ );
314
+ }
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
6
7
  import { safeParse } from "../../lib/schemas.js";
7
8
  import { Result as SafeParseResult } from "../../types/fp.js";
8
9
  import * as components from "../components/index.js";
@@ -31,6 +32,14 @@ export type GetCartResponseBody = {
31
32
  content: GetCartContent;
32
33
  };
33
34
 
35
+ export type GetCartResponse = {
36
+ httpMeta: components.HTTPMetadata;
37
+ /**
38
+ * OK
39
+ */
40
+ object?: GetCartResponseBody | undefined;
41
+ };
42
+
34
43
  /** @internal */
35
44
  export const GetCartRequest$inboundSchema: z.ZodType<
36
45
  GetCartRequest,
@@ -190,3 +199,66 @@ export function getCartResponseBodyFromJSON(
190
199
  `Failed to parse 'GetCartResponseBody' from JSON`,
191
200
  );
192
201
  }
202
+
203
+ /** @internal */
204
+ export const GetCartResponse$inboundSchema: z.ZodType<
205
+ GetCartResponse,
206
+ z.ZodTypeDef,
207
+ unknown
208
+ > = z.object({
209
+ HttpMeta: components.HTTPMetadata$inboundSchema,
210
+ object: z.lazy(() => GetCartResponseBody$inboundSchema).optional(),
211
+ }).transform((v) => {
212
+ return remap$(v, {
213
+ "HttpMeta": "httpMeta",
214
+ });
215
+ });
216
+
217
+ /** @internal */
218
+ export type GetCartResponse$Outbound = {
219
+ HttpMeta: components.HTTPMetadata$Outbound;
220
+ object?: GetCartResponseBody$Outbound | undefined;
221
+ };
222
+
223
+ /** @internal */
224
+ export const GetCartResponse$outboundSchema: z.ZodType<
225
+ GetCartResponse$Outbound,
226
+ z.ZodTypeDef,
227
+ GetCartResponse
228
+ > = z.object({
229
+ httpMeta: components.HTTPMetadata$outboundSchema,
230
+ object: z.lazy(() => GetCartResponseBody$outboundSchema).optional(),
231
+ }).transform((v) => {
232
+ return remap$(v, {
233
+ httpMeta: "HttpMeta",
234
+ });
235
+ });
236
+
237
+ /**
238
+ * @internal
239
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
240
+ */
241
+ export namespace GetCartResponse$ {
242
+ /** @deprecated use `GetCartResponse$inboundSchema` instead. */
243
+ export const inboundSchema = GetCartResponse$inboundSchema;
244
+ /** @deprecated use `GetCartResponse$outboundSchema` instead. */
245
+ export const outboundSchema = GetCartResponse$outboundSchema;
246
+ /** @deprecated use `GetCartResponse$Outbound` instead. */
247
+ export type Outbound = GetCartResponse$Outbound;
248
+ }
249
+
250
+ export function getCartResponseToJSON(
251
+ getCartResponse: GetCartResponse,
252
+ ): string {
253
+ return JSON.stringify(GetCartResponse$outboundSchema.parse(getCartResponse));
254
+ }
255
+
256
+ export function getCartResponseFromJSON(
257
+ jsonString: string,
258
+ ): SafeParseResult<GetCartResponse, SDKValidationError> {
259
+ return safeParse(
260
+ jsonString,
261
+ (x) => GetCartResponse$inboundSchema.parse(JSON.parse(x)),
262
+ `Failed to parse 'GetCartResponse' from JSON`,
263
+ );
264
+ }
@@ -30,6 +30,14 @@ export type GetLoyaltyDetailsResponseBody = {
30
30
  content?: GetLoyaltyDetailsContent | undefined;
31
31
  };
32
32
 
33
+ export type GetLoyaltyDetailsResponse = {
34
+ httpMeta: components.HTTPMetadata;
35
+ /**
36
+ * OK
37
+ */
38
+ object?: GetLoyaltyDetailsResponseBody | undefined;
39
+ };
40
+
33
41
  /** @internal */
34
42
  export const GetLoyaltyDetailsRequest$inboundSchema: z.ZodType<
35
43
  GetLoyaltyDetailsRequest,
@@ -218,3 +226,68 @@ export function getLoyaltyDetailsResponseBodyFromJSON(
218
226
  `Failed to parse 'GetLoyaltyDetailsResponseBody' from JSON`,
219
227
  );
220
228
  }
229
+
230
+ /** @internal */
231
+ export const GetLoyaltyDetailsResponse$inboundSchema: z.ZodType<
232
+ GetLoyaltyDetailsResponse,
233
+ z.ZodTypeDef,
234
+ unknown
235
+ > = z.object({
236
+ HttpMeta: components.HTTPMetadata$inboundSchema,
237
+ object: z.lazy(() => GetLoyaltyDetailsResponseBody$inboundSchema).optional(),
238
+ }).transform((v) => {
239
+ return remap$(v, {
240
+ "HttpMeta": "httpMeta",
241
+ });
242
+ });
243
+
244
+ /** @internal */
245
+ export type GetLoyaltyDetailsResponse$Outbound = {
246
+ HttpMeta: components.HTTPMetadata$Outbound;
247
+ object?: GetLoyaltyDetailsResponseBody$Outbound | undefined;
248
+ };
249
+
250
+ /** @internal */
251
+ export const GetLoyaltyDetailsResponse$outboundSchema: z.ZodType<
252
+ GetLoyaltyDetailsResponse$Outbound,
253
+ z.ZodTypeDef,
254
+ GetLoyaltyDetailsResponse
255
+ > = z.object({
256
+ httpMeta: components.HTTPMetadata$outboundSchema,
257
+ object: z.lazy(() => GetLoyaltyDetailsResponseBody$outboundSchema).optional(),
258
+ }).transform((v) => {
259
+ return remap$(v, {
260
+ httpMeta: "HttpMeta",
261
+ });
262
+ });
263
+
264
+ /**
265
+ * @internal
266
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
267
+ */
268
+ export namespace GetLoyaltyDetailsResponse$ {
269
+ /** @deprecated use `GetLoyaltyDetailsResponse$inboundSchema` instead. */
270
+ export const inboundSchema = GetLoyaltyDetailsResponse$inboundSchema;
271
+ /** @deprecated use `GetLoyaltyDetailsResponse$outboundSchema` instead. */
272
+ export const outboundSchema = GetLoyaltyDetailsResponse$outboundSchema;
273
+ /** @deprecated use `GetLoyaltyDetailsResponse$Outbound` instead. */
274
+ export type Outbound = GetLoyaltyDetailsResponse$Outbound;
275
+ }
276
+
277
+ export function getLoyaltyDetailsResponseToJSON(
278
+ getLoyaltyDetailsResponse: GetLoyaltyDetailsResponse,
279
+ ): string {
280
+ return JSON.stringify(
281
+ GetLoyaltyDetailsResponse$outboundSchema.parse(getLoyaltyDetailsResponse),
282
+ );
283
+ }
284
+
285
+ export function getLoyaltyDetailsResponseFromJSON(
286
+ jsonString: string,
287
+ ): SafeParseResult<GetLoyaltyDetailsResponse, SDKValidationError> {
288
+ return safeParse(
289
+ jsonString,
290
+ (x) => GetLoyaltyDetailsResponse$inboundSchema.parse(JSON.parse(x)),
291
+ `Failed to parse 'GetLoyaltyDetailsResponse' from JSON`,
292
+ );
293
+ }