ce-storefront 0.19.0 → 0.20.1

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 (749) hide show
  1. package/esm/lib/config.d.ts +3 -3
  2. package/esm/lib/config.js +3 -3
  3. package/esm/models/components/anonymoususer.d.ts +0 -30
  4. package/esm/models/components/anonymoususer.d.ts.map +1 -1
  5. package/esm/models/components/anonymoususer.js +0 -41
  6. package/esm/models/components/anonymoususer.js.map +1 -1
  7. package/esm/models/components/appliedcoupon.d.ts +0 -53
  8. package/esm/models/components/appliedcoupon.d.ts.map +1 -1
  9. package/esm/models/components/appliedcoupon.js +0 -46
  10. package/esm/models/components/appliedcoupon.js.map +1 -1
  11. package/esm/models/components/appliedpromotion.d.ts +0 -51
  12. package/esm/models/components/appliedpromotion.d.ts.map +1 -1
  13. package/esm/models/components/appliedpromotion.js +0 -49
  14. package/esm/models/components/appliedpromotion.js.map +1 -1
  15. package/esm/models/components/associatedoption.d.ts +2 -19
  16. package/esm/models/components/associatedoption.d.ts.map +1 -1
  17. package/esm/models/components/associatedoption.js +2 -18
  18. package/esm/models/components/associatedoption.js.map +1 -1
  19. package/esm/models/components/banktransfer.d.ts +0 -70
  20. package/esm/models/components/banktransfer.d.ts.map +1 -1
  21. package/esm/models/components/banktransfer.js +0 -65
  22. package/esm/models/components/banktransfer.js.map +1 -1
  23. package/esm/models/components/booleanattribute.d.ts +0 -23
  24. package/esm/models/components/booleanattribute.d.ts.map +1 -1
  25. package/esm/models/components/booleanattribute.js +0 -22
  26. package/esm/models/components/booleanattribute.js.map +1 -1
  27. package/esm/models/components/cardpayment.d.ts +0 -92
  28. package/esm/models/components/cardpayment.d.ts.map +1 -1
  29. package/esm/models/components/cardpayment.js +0 -78
  30. package/esm/models/components/cardpayment.js.map +1 -1
  31. package/esm/models/components/cart.d.ts +6 -69
  32. package/esm/models/components/cart.d.ts.map +1 -1
  33. package/esm/models/components/cart.js +6 -107
  34. package/esm/models/components/cart.js.map +1 -1
  35. package/esm/models/components/cartbasedserviceabilitycheck.d.ts +0 -17
  36. package/esm/models/components/cartbasedserviceabilitycheck.d.ts.map +1 -1
  37. package/esm/models/components/cartbasedserviceabilitycheck.js +0 -25
  38. package/esm/models/components/cartbasedserviceabilitycheck.js.map +1 -1
  39. package/esm/models/components/cartitem.d.ts +3 -76
  40. package/esm/models/components/cartitem.d.ts.map +1 -1
  41. package/esm/models/components/cartitem.js +3 -96
  42. package/esm/models/components/cartitem.js.map +1 -1
  43. package/esm/models/components/category.d.ts +0 -25
  44. package/esm/models/components/category.d.ts.map +1 -1
  45. package/esm/models/components/category.js +0 -29
  46. package/esm/models/components/category.js.map +1 -1
  47. package/esm/models/components/collectinstore.d.ts +0 -23
  48. package/esm/models/components/collectinstore.d.ts.map +1 -1
  49. package/esm/models/components/collectinstore.js +0 -28
  50. package/esm/models/components/collectinstore.js.map +1 -1
  51. package/esm/models/components/collectinstorefulfillment.d.ts +0 -40
  52. package/esm/models/components/collectinstorefulfillment.d.ts.map +1 -1
  53. package/esm/models/components/collectinstorefulfillment.js +0 -41
  54. package/esm/models/components/collectinstorefulfillment.js.map +1 -1
  55. package/esm/models/components/collectinstorefulfillmentinput.d.ts +0 -17
  56. package/esm/models/components/collectinstorefulfillmentinput.d.ts.map +1 -1
  57. package/esm/models/components/collectinstorefulfillmentinput.js +0 -26
  58. package/esm/models/components/collectinstorefulfillmentinput.js.map +1 -1
  59. package/esm/models/components/colorattribute.d.ts +0 -43
  60. package/esm/models/components/colorattribute.d.ts.map +1 -1
  61. package/esm/models/components/colorattribute.js +0 -41
  62. package/esm/models/components/colorattribute.js.map +1 -1
  63. package/esm/models/components/coloroption.d.ts +0 -41
  64. package/esm/models/components/coloroption.d.ts.map +1 -1
  65. package/esm/models/components/coloroption.js +0 -39
  66. package/esm/models/components/coloroption.js.map +1 -1
  67. package/esm/models/components/currency.d.ts +0 -21
  68. package/esm/models/components/currency.d.ts.map +1 -1
  69. package/esm/models/components/currency.js +0 -20
  70. package/esm/models/components/currency.js.map +1 -1
  71. package/esm/models/components/customeraddress.d.ts +0 -35
  72. package/esm/models/components/customeraddress.d.ts.map +1 -1
  73. package/esm/models/components/customeraddress.js +0 -46
  74. package/esm/models/components/customeraddress.js.map +1 -1
  75. package/esm/models/components/customeraddressinput.d.ts +0 -17
  76. package/esm/models/components/customeraddressinput.d.ts.map +1 -1
  77. package/esm/models/components/customeraddressinput.js +0 -43
  78. package/esm/models/components/customeraddressinput.js.map +1 -1
  79. package/esm/models/components/customerloyalty.d.ts +0 -27
  80. package/esm/models/components/customerloyalty.d.ts.map +1 -1
  81. package/esm/models/components/customerloyalty.js +0 -38
  82. package/esm/models/components/customerloyalty.js.map +1 -1
  83. package/esm/models/components/customerreadyforreview.d.ts +0 -24
  84. package/esm/models/components/customerreadyforreview.d.ts.map +1 -1
  85. package/esm/models/components/customerreadyforreview.js +0 -32
  86. package/esm/models/components/customerreadyforreview.js.map +1 -1
  87. package/esm/models/components/customerreview.d.ts +0 -99
  88. package/esm/models/components/customerreview.d.ts.map +1 -1
  89. package/esm/models/components/customerreview.js +0 -121
  90. package/esm/models/components/customerreview.js.map +1 -1
  91. package/esm/models/components/dateattribute.d.ts +0 -23
  92. package/esm/models/components/dateattribute.d.ts.map +1 -1
  93. package/esm/models/components/dateattribute.js +0 -22
  94. package/esm/models/components/dateattribute.js.map +1 -1
  95. package/esm/models/components/deliveryfulfillment.d.ts +0 -42
  96. package/esm/models/components/deliveryfulfillment.d.ts.map +1 -1
  97. package/esm/models/components/deliveryfulfillment.js +0 -45
  98. package/esm/models/components/deliveryfulfillment.js.map +1 -1
  99. package/esm/models/components/deliveryfulfillmentinput.d.ts +0 -17
  100. package/esm/models/components/deliveryfulfillmentinput.d.ts.map +1 -1
  101. package/esm/models/components/deliveryfulfillmentinput.js +0 -27
  102. package/esm/models/components/deliveryfulfillmentinput.js.map +1 -1
  103. package/esm/models/components/discountbasedpromotion.d.ts +0 -62
  104. package/esm/models/components/discountbasedpromotion.d.ts.map +1 -1
  105. package/esm/models/components/discountbasedpromotion.js +0 -54
  106. package/esm/models/components/discountbasedpromotion.js.map +1 -1
  107. package/esm/models/components/fixedpricepromotion.d.ts +0 -42
  108. package/esm/models/components/fixedpricepromotion.d.ts.map +1 -1
  109. package/esm/models/components/fixedpricepromotion.js +0 -37
  110. package/esm/models/components/fixedpricepromotion.js.map +1 -1
  111. package/esm/models/components/freegoodspromotion.d.ts +0 -43
  112. package/esm/models/components/freegoodspromotion.d.ts.map +1 -1
  113. package/esm/models/components/freegoodspromotion.js +0 -39
  114. package/esm/models/components/freegoodspromotion.js.map +1 -1
  115. package/esm/models/components/fulfillmentitem.d.ts +0 -23
  116. package/esm/models/components/fulfillmentitem.d.ts.map +1 -1
  117. package/esm/models/components/fulfillmentitem.js +0 -29
  118. package/esm/models/components/fulfillmentitem.js.map +1 -1
  119. package/esm/models/components/fulfillmentiteminput.d.ts +0 -17
  120. package/esm/models/components/fulfillmentiteminput.d.ts.map +1 -1
  121. package/esm/models/components/fulfillmentiteminput.js +0 -26
  122. package/esm/models/components/fulfillmentiteminput.js.map +1 -1
  123. package/esm/models/components/fulfillmentpreference.d.ts +3 -26
  124. package/esm/models/components/fulfillmentpreference.d.ts.map +1 -1
  125. package/esm/models/components/fulfillmentpreference.js +3 -26
  126. package/esm/models/components/fulfillmentpreference.js.map +1 -1
  127. package/esm/models/components/fulfillmentpreferenceinput.d.ts +0 -17
  128. package/esm/models/components/fulfillmentpreferenceinput.d.ts.map +1 -1
  129. package/esm/models/components/fulfillmentpreferenceinput.js +3 -27
  130. package/esm/models/components/fulfillmentpreferenceinput.js.map +1 -1
  131. package/esm/models/components/generateotpwithemail.d.ts +0 -39
  132. package/esm/models/components/generateotpwithemail.d.ts.map +1 -1
  133. package/esm/models/components/generateotpwithemail.js +1 -39
  134. package/esm/models/components/generateotpwithemail.js.map +1 -1
  135. package/esm/models/components/generateotpwithphone.d.ts +0 -57
  136. package/esm/models/components/generateotpwithphone.d.ts.map +1 -1
  137. package/esm/models/components/generateotpwithphone.js +2 -55
  138. package/esm/models/components/generateotpwithphone.js.map +1 -1
  139. package/esm/models/components/index.d.ts +1 -0
  140. package/esm/models/components/index.d.ts.map +1 -1
  141. package/esm/models/components/index.js +1 -0
  142. package/esm/models/components/index.js.map +1 -1
  143. package/esm/models/components/item.d.ts +8 -73
  144. package/esm/models/components/item.d.ts.map +1 -1
  145. package/esm/models/components/item.js +8 -79
  146. package/esm/models/components/item.js.map +1 -1
  147. package/esm/models/components/juspayexpresscheckout.d.ts +0 -17
  148. package/esm/models/components/juspayexpresscheckout.d.ts.map +1 -1
  149. package/esm/models/components/juspayexpresscheckout.js +5 -28
  150. package/esm/models/components/juspayexpresscheckout.js.map +1 -1
  151. package/esm/models/components/juspayexpresscheckoutresponse.d.ts +0 -129
  152. package/esm/models/components/juspayexpresscheckoutresponse.d.ts.map +1 -1
  153. package/esm/models/components/juspayexpresscheckoutresponse.js +0 -147
  154. package/esm/models/components/juspayexpresscheckoutresponse.js.map +1 -1
  155. package/esm/models/components/juspayhypercheckout.d.ts +0 -33
  156. package/esm/models/components/juspayhypercheckout.d.ts.map +1 -1
  157. package/esm/models/components/juspayhypercheckout.js +1 -45
  158. package/esm/models/components/juspayhypercheckout.js.map +1 -1
  159. package/esm/models/components/juspayhypercheckoutresponse.d.ts +0 -125
  160. package/esm/models/components/juspayhypercheckoutresponse.d.ts.map +1 -1
  161. package/esm/models/components/juspayhypercheckoutresponse.js +0 -130
  162. package/esm/models/components/juspayhypercheckoutresponse.js.map +1 -1
  163. package/esm/models/components/juspaynetbanking.d.ts +2 -19
  164. package/esm/models/components/juspaynetbanking.d.ts.map +1 -1
  165. package/esm/models/components/juspaynetbanking.js +1 -39
  166. package/esm/models/components/juspaynetbanking.js.map +1 -1
  167. package/esm/models/components/juspaynewcard.d.ts +2 -39
  168. package/esm/models/components/juspaynewcard.d.ts.map +1 -1
  169. package/esm/models/components/juspaynewcard.js +2 -69
  170. package/esm/models/components/juspaynewcard.js.map +1 -1
  171. package/esm/models/components/juspaysavedcardtoken.d.ts +2 -39
  172. package/esm/models/components/juspaysavedcardtoken.d.ts.map +1 -1
  173. package/esm/models/components/juspaysavedcardtoken.js +2 -63
  174. package/esm/models/components/juspaysavedcardtoken.js.map +1 -1
  175. package/esm/models/components/juspayupicollect.d.ts +2 -19
  176. package/esm/models/components/juspayupicollect.d.ts.map +1 -1
  177. package/esm/models/components/juspayupicollect.js +1 -41
  178. package/esm/models/components/juspayupicollect.js.map +1 -1
  179. package/esm/models/components/juspayupiintent.d.ts +2 -19
  180. package/esm/models/components/juspayupiintent.d.ts.map +1 -1
  181. package/esm/models/components/juspayupiintent.js +1 -43
  182. package/esm/models/components/juspayupiintent.js.map +1 -1
  183. package/esm/models/components/lotbatchdetail.d.ts +0 -23
  184. package/esm/models/components/lotbatchdetail.d.ts.map +1 -1
  185. package/esm/models/components/lotbatchdetail.js +0 -29
  186. package/esm/models/components/lotbatchdetail.js.map +1 -1
  187. package/esm/models/components/multiselectattribute.d.ts +0 -23
  188. package/esm/models/components/multiselectattribute.d.ts.map +1 -1
  189. package/esm/models/components/multiselectattribute.js +0 -22
  190. package/esm/models/components/multiselectattribute.js.map +1 -1
  191. package/esm/models/components/netbankingpayment.d.ts +0 -69
  192. package/esm/models/components/netbankingpayment.d.ts.map +1 -1
  193. package/esm/models/components/netbankingpayment.js +0 -63
  194. package/esm/models/components/netbankingpayment.js.map +1 -1
  195. package/esm/models/components/notificationchannelpreferences.d.ts +0 -12
  196. package/esm/models/components/notificationchannelpreferences.d.ts.map +1 -1
  197. package/esm/models/components/notificationchannelpreferences.js +0 -11
  198. package/esm/models/components/notificationchannelpreferences.js.map +1 -1
  199. package/esm/models/components/notificationpreferences.d.ts +0 -12
  200. package/esm/models/components/notificationpreferences.d.ts.map +1 -1
  201. package/esm/models/components/notificationpreferences.js +0 -11
  202. package/esm/models/components/notificationpreferences.js.map +1 -1
  203. package/esm/models/components/numberattribute.d.ts +0 -23
  204. package/esm/models/components/numberattribute.d.ts.map +1 -1
  205. package/esm/models/components/numberattribute.js +0 -22
  206. package/esm/models/components/numberattribute.js.map +1 -1
  207. package/esm/models/components/order.d.ts +5 -202
  208. package/esm/models/components/order.d.ts.map +1 -1
  209. package/esm/models/components/order.js +5 -207
  210. package/esm/models/components/order.js.map +1 -1
  211. package/esm/models/components/orderdetail.d.ts +6 -204
  212. package/esm/models/components/orderdetail.d.ts.map +1 -1
  213. package/esm/models/components/orderdetail.js +6 -209
  214. package/esm/models/components/orderdetail.js.map +1 -1
  215. package/esm/models/components/orderitem.d.ts +2 -73
  216. package/esm/models/components/orderitem.d.ts.map +1 -1
  217. package/esm/models/components/orderitem.js +2 -93
  218. package/esm/models/components/orderitem.js.map +1 -1
  219. package/esm/models/components/orderlist.d.ts +1 -122
  220. package/esm/models/components/orderlist.d.ts.map +1 -1
  221. package/esm/models/components/orderlist.js +1 -101
  222. package/esm/models/components/orderlist.js.map +1 -1
  223. package/esm/models/components/orderpayment.d.ts +5 -22
  224. package/esm/models/components/orderpayment.d.ts.map +1 -1
  225. package/esm/models/components/orderpayment.js +5 -27
  226. package/esm/models/components/orderpayment.js.map +1 -1
  227. package/esm/models/components/ordershipment.d.ts +3 -95
  228. package/esm/models/components/ordershipment.d.ts.map +1 -1
  229. package/esm/models/components/ordershipment.js +3 -88
  230. package/esm/models/components/ordershipment.js.map +1 -1
  231. package/esm/models/components/pagination.d.ts +0 -23
  232. package/esm/models/components/pagination.d.ts.map +1 -1
  233. package/esm/models/components/pagination.js +0 -29
  234. package/esm/models/components/pagination.js.map +1 -1
  235. package/esm/models/components/partialcollectanddelivery.d.ts +1 -85
  236. package/esm/models/components/partialcollectanddelivery.d.ts.map +1 -1
  237. package/esm/models/components/partialcollectanddelivery.js +1 -96
  238. package/esm/models/components/partialcollectanddelivery.js.map +1 -1
  239. package/esm/models/components/partialcollectanddeliveryinput.d.ts +0 -47
  240. package/esm/models/components/partialcollectanddeliveryinput.d.ts.map +1 -1
  241. package/esm/models/components/partialcollectanddeliveryinput.js +1 -75
  242. package/esm/models/components/partialcollectanddeliveryinput.js.map +1 -1
  243. package/esm/models/components/paymentmethodpayload.d.ts +0 -17
  244. package/esm/models/components/paymentmethodpayload.d.ts.map +1 -1
  245. package/esm/models/components/paymentmethodpayload.js +2 -22
  246. package/esm/models/components/paymentmethodpayload.js.map +1 -1
  247. package/esm/models/components/payupaymentinfo.d.ts +0 -55
  248. package/esm/models/components/payupaymentinfo.d.ts.map +1 -1
  249. package/esm/models/components/payupaymentinfo.js +0 -58
  250. package/esm/models/components/payupaymentinfo.js.map +1 -1
  251. package/esm/models/components/pincode.d.ts +0 -23
  252. package/esm/models/components/pincode.d.ts.map +1 -1
  253. package/esm/models/components/pincode.js +0 -28
  254. package/esm/models/components/pincode.js.map +1 -1
  255. package/esm/models/components/pincodeserviceability.d.ts +0 -123
  256. package/esm/models/components/pincodeserviceability.d.ts.map +1 -1
  257. package/esm/models/components/pincodeserviceability.js +0 -130
  258. package/esm/models/components/pincodeserviceability.js.map +1 -1
  259. package/esm/models/components/product.d.ts +10 -74
  260. package/esm/models/components/product.d.ts.map +1 -1
  261. package/esm/models/components/product.js +10 -80
  262. package/esm/models/components/product.js.map +1 -1
  263. package/esm/models/components/productattribute.d.ts +7 -38
  264. package/esm/models/components/productattribute.d.ts.map +1 -1
  265. package/esm/models/components/productattribute.js +7 -39
  266. package/esm/models/components/productattribute.js.map +1 -1
  267. package/esm/models/components/productbundleitem.d.ts +8 -74
  268. package/esm/models/components/productbundleitem.d.ts.map +1 -1
  269. package/esm/models/components/productbundleitem.js +8 -80
  270. package/esm/models/components/productbundleitem.js.map +1 -1
  271. package/esm/models/components/productcategory.d.ts +1 -27
  272. package/esm/models/components/productcategory.d.ts.map +1 -1
  273. package/esm/models/components/productcategory.js +1 -32
  274. package/esm/models/components/productcategory.js.map +1 -1
  275. package/esm/models/components/productdetail.d.ts +13 -87
  276. package/esm/models/components/productdetail.d.ts.map +1 -1
  277. package/esm/models/components/productdetail.js +13 -94
  278. package/esm/models/components/productdetail.js.map +1 -1
  279. package/esm/models/components/productimage.d.ts +0 -26
  280. package/esm/models/components/productimage.d.ts.map +1 -1
  281. package/esm/models/components/productimage.js +0 -34
  282. package/esm/models/components/productimage.js.map +1 -1
  283. package/esm/models/components/productpricing.d.ts +0 -28
  284. package/esm/models/components/productpricing.d.ts.map +1 -1
  285. package/esm/models/components/productpricing.js +0 -39
  286. package/esm/models/components/productpricing.js.map +1 -1
  287. package/esm/models/components/productpromotion.d.ts +4 -59
  288. package/esm/models/components/productpromotion.d.ts.map +1 -1
  289. package/esm/models/components/productpromotion.js +4 -72
  290. package/esm/models/components/productpromotion.js.map +1 -1
  291. package/esm/models/components/productreview.d.ts +0 -110
  292. package/esm/models/components/productreview.d.ts.map +1 -1
  293. package/esm/models/components/productreview.js +0 -122
  294. package/esm/models/components/productreview.js.map +1 -1
  295. package/esm/models/components/productshipping.d.ts +0 -22
  296. package/esm/models/components/productshipping.d.ts.map +1 -1
  297. package/esm/models/components/productshipping.js +0 -28
  298. package/esm/models/components/productshipping.js.map +1 -1
  299. package/esm/models/components/productsubscription.d.ts +0 -70
  300. package/esm/models/components/productsubscription.d.ts.map +1 -1
  301. package/esm/models/components/productsubscription.js +0 -69
  302. package/esm/models/components/productsubscription.js.map +1 -1
  303. package/esm/models/components/productvideo.d.ts +0 -26
  304. package/esm/models/components/productvideo.d.ts.map +1 -1
  305. package/esm/models/components/productvideo.js +0 -35
  306. package/esm/models/components/productvideo.js.map +1 -1
  307. package/esm/models/components/savedpaymentmethod.d.ts +0 -172
  308. package/esm/models/components/savedpaymentmethod.d.ts.map +1 -1
  309. package/esm/models/components/savedpaymentmethod.js +0 -227
  310. package/esm/models/components/savedpaymentmethod.js.map +1 -1
  311. package/esm/models/components/searchproduct.d.ts +0 -17
  312. package/esm/models/components/searchproduct.d.ts.map +1 -1
  313. package/esm/models/components/searchproduct.js +0 -22
  314. package/esm/models/components/searchproduct.js.map +1 -1
  315. package/esm/models/components/security.d.ts +0 -17
  316. package/esm/models/components/security.d.ts.map +1 -1
  317. package/esm/models/components/security.js +0 -23
  318. package/esm/models/components/security.js.map +1 -1
  319. package/esm/models/components/seo.d.ts +0 -22
  320. package/esm/models/components/seo.d.ts.map +1 -1
  321. package/esm/models/components/seo.js +0 -22
  322. package/esm/models/components/seo.js.map +1 -1
  323. package/esm/models/components/shipmentitem.d.ts +0 -25
  324. package/esm/models/components/shipmentitem.d.ts.map +1 -1
  325. package/esm/models/components/shipmentitem.js +0 -32
  326. package/esm/models/components/shipmentitem.js.map +1 -1
  327. package/esm/models/components/shipmentstatus.d.ts +27 -0
  328. package/esm/models/components/shipmentstatus.d.ts.map +1 -0
  329. package/esm/models/components/shipmentstatus.js +25 -0
  330. package/esm/models/components/shipmentstatus.js.map +1 -0
  331. package/esm/models/components/singleselectattribute.d.ts +0 -23
  332. package/esm/models/components/singleselectattribute.d.ts.map +1 -1
  333. package/esm/models/components/singleselectattribute.js +0 -22
  334. package/esm/models/components/singleselectattribute.js.map +1 -1
  335. package/esm/models/components/singleselectoption.d.ts +0 -21
  336. package/esm/models/components/singleselectoption.d.ts.map +1 -1
  337. package/esm/models/components/singleselectoption.js +0 -20
  338. package/esm/models/components/singleselectoption.js.map +1 -1
  339. package/esm/models/components/textattribute.d.ts +0 -23
  340. package/esm/models/components/textattribute.d.ts.map +1 -1
  341. package/esm/models/components/textattribute.js +0 -22
  342. package/esm/models/components/textattribute.js.map +1 -1
  343. package/esm/models/components/updatecartitem.d.ts +0 -17
  344. package/esm/models/components/updatecartitem.d.ts.map +1 -1
  345. package/esm/models/components/updatecartitem.js +0 -26
  346. package/esm/models/components/updatecartitem.js.map +1 -1
  347. package/esm/models/components/upipayment.d.ts +0 -69
  348. package/esm/models/components/upipayment.d.ts.map +1 -1
  349. package/esm/models/components/upipayment.js +0 -63
  350. package/esm/models/components/upipayment.js.map +1 -1
  351. package/esm/models/components/user.d.ts +0 -68
  352. package/esm/models/components/user.d.ts.map +1 -1
  353. package/esm/models/components/user.js +0 -92
  354. package/esm/models/components/user.js.map +1 -1
  355. package/esm/models/components/variant.d.ts +6 -45
  356. package/esm/models/components/variant.d.ts.map +1 -1
  357. package/esm/models/components/variant.js +6 -53
  358. package/esm/models/components/variant.js.map +1 -1
  359. package/esm/models/components/variantdetail.d.ts +11 -86
  360. package/esm/models/components/variantdetail.d.ts.map +1 -1
  361. package/esm/models/components/variantdetail.js +11 -93
  362. package/esm/models/components/variantdetail.js.map +1 -1
  363. package/esm/models/components/variantoption.d.ts +0 -74
  364. package/esm/models/components/variantoption.d.ts.map +1 -1
  365. package/esm/models/components/variantoption.js +0 -67
  366. package/esm/models/components/variantoption.js.map +1 -1
  367. package/esm/models/components/volumebasedpromotion.d.ts +0 -62
  368. package/esm/models/components/volumebasedpromotion.d.ts.map +1 -1
  369. package/esm/models/components/volumebasedpromotion.js +0 -60
  370. package/esm/models/components/volumebasedpromotion.js.map +1 -1
  371. package/esm/models/components/walletpayment.d.ts +0 -69
  372. package/esm/models/components/walletpayment.d.ts.map +1 -1
  373. package/esm/models/components/walletpayment.js +0 -63
  374. package/esm/models/components/walletpayment.js.map +1 -1
  375. package/esm/models/errors/badrequest.d.ts +0 -38
  376. package/esm/models/errors/badrequest.d.ts.map +1 -1
  377. package/esm/models/errors/badrequest.js +0 -36
  378. package/esm/models/errors/badrequest.js.map +1 -1
  379. package/esm/models/errors/notfound.d.ts +0 -20
  380. package/esm/models/errors/notfound.d.ts.map +1 -1
  381. package/esm/models/errors/notfound.js +0 -19
  382. package/esm/models/errors/notfound.js.map +1 -1
  383. package/esm/models/errors/unauthorized.d.ts +0 -20
  384. package/esm/models/errors/unauthorized.d.ts.map +1 -1
  385. package/esm/models/errors/unauthorized.js +0 -19
  386. package/esm/models/errors/unauthorized.js.map +1 -1
  387. package/esm/models/operations/applycoupon.d.ts +0 -70
  388. package/esm/models/operations/applycoupon.d.ts.map +1 -1
  389. package/esm/models/operations/applycoupon.js +0 -83
  390. package/esm/models/operations/applycoupon.js.map +1 -1
  391. package/esm/models/operations/cancelorder.d.ts +0 -88
  392. package/esm/models/operations/cancelorder.d.ts.map +1 -1
  393. package/esm/models/operations/cancelorder.js +1 -103
  394. package/esm/models/operations/cancelorder.js.map +1 -1
  395. package/esm/models/operations/checkpincodeserviceability.d.ts +0 -55
  396. package/esm/models/operations/checkpincodeserviceability.d.ts.map +1 -1
  397. package/esm/models/operations/checkpincodeserviceability.js +0 -60
  398. package/esm/models/operations/checkpincodeserviceability.js.map +1 -1
  399. package/esm/models/operations/createaddress.d.ts +0 -70
  400. package/esm/models/operations/createaddress.d.ts.map +1 -1
  401. package/esm/models/operations/createaddress.js +0 -108
  402. package/esm/models/operations/createaddress.js.map +1 -1
  403. package/esm/models/operations/createcart.d.ts +0 -55
  404. package/esm/models/operations/createcart.d.ts.map +1 -1
  405. package/esm/models/operations/createcart.js +0 -57
  406. package/esm/models/operations/createcart.js.map +1 -1
  407. package/esm/models/operations/createcartaddress.d.ts +0 -100
  408. package/esm/models/operations/createcartaddress.d.ts.map +1 -1
  409. package/esm/models/operations/createcartaddress.js +0 -131
  410. package/esm/models/operations/createcartaddress.js.map +1 -1
  411. package/esm/models/operations/createorder.d.ts +0 -74
  412. package/esm/models/operations/createorder.d.ts.map +1 -1
  413. package/esm/models/operations/createorder.js +0 -93
  414. package/esm/models/operations/createorder.js.map +1 -1
  415. package/esm/models/operations/deleteaddress.d.ts +0 -35
  416. package/esm/models/operations/deleteaddress.d.ts.map +1 -1
  417. package/esm/models/operations/deleteaddress.js +0 -43
  418. package/esm/models/operations/deleteaddress.js.map +1 -1
  419. package/esm/models/operations/deletecart.d.ts +0 -35
  420. package/esm/models/operations/deletecart.d.ts.map +1 -1
  421. package/esm/models/operations/deletecart.js +0 -37
  422. package/esm/models/operations/deletecart.js.map +1 -1
  423. package/esm/models/operations/deleteusercart.d.ts +0 -35
  424. package/esm/models/operations/deleteusercart.d.ts.map +1 -1
  425. package/esm/models/operations/deleteusercart.js +0 -41
  426. package/esm/models/operations/deleteusercart.js.map +1 -1
  427. package/esm/models/operations/generateotp.d.ts +0 -71
  428. package/esm/models/operations/generateotp.d.ts.map +1 -1
  429. package/esm/models/operations/generateotp.js +0 -90
  430. package/esm/models/operations/generateotp.js.map +1 -1
  431. package/esm/models/operations/getaddressdetail.d.ts +0 -92
  432. package/esm/models/operations/getaddressdetail.d.ts.map +1 -1
  433. package/esm/models/operations/getaddressdetail.js +0 -112
  434. package/esm/models/operations/getaddressdetail.js.map +1 -1
  435. package/esm/models/operations/getanonymoustoken.d.ts +0 -57
  436. package/esm/models/operations/getanonymoustoken.d.ts.map +1 -1
  437. package/esm/models/operations/getanonymoustoken.js +0 -67
  438. package/esm/models/operations/getanonymoustoken.js.map +1 -1
  439. package/esm/models/operations/getcart.d.ts +0 -55
  440. package/esm/models/operations/getcart.d.ts.map +1 -1
  441. package/esm/models/operations/getcart.js +0 -56
  442. package/esm/models/operations/getcart.js.map +1 -1
  443. package/esm/models/operations/getfulfillmentoptions.d.ts +0 -82
  444. package/esm/models/operations/getfulfillmentoptions.d.ts.map +1 -1
  445. package/esm/models/operations/getfulfillmentoptions.js +0 -81
  446. package/esm/models/operations/getfulfillmentoptions.js.map +1 -1
  447. package/esm/models/operations/getloyaltydetails.d.ts +0 -56
  448. package/esm/models/operations/getloyaltydetails.d.ts.map +1 -1
  449. package/esm/models/operations/getloyaltydetails.js +0 -65
  450. package/esm/models/operations/getloyaltydetails.js.map +1 -1
  451. package/esm/models/operations/getorderdetail.d.ts +0 -55
  452. package/esm/models/operations/getorderdetail.d.ts.map +1 -1
  453. package/esm/models/operations/getorderdetail.js +0 -60
  454. package/esm/models/operations/getorderdetail.js.map +1 -1
  455. package/esm/models/operations/getpaymentstatus.d.ts +0 -80
  456. package/esm/models/operations/getpaymentstatus.d.ts.map +1 -1
  457. package/esm/models/operations/getpaymentstatus.js +0 -82
  458. package/esm/models/operations/getpaymentstatus.js.map +1 -1
  459. package/esm/models/operations/getproductdetail.d.ts +0 -55
  460. package/esm/models/operations/getproductdetail.d.ts.map +1 -1
  461. package/esm/models/operations/getproductdetail.js +0 -63
  462. package/esm/models/operations/getproductdetail.js.map +1 -1
  463. package/esm/models/operations/getusercart.d.ts +0 -55
  464. package/esm/models/operations/getusercart.d.ts.map +1 -1
  465. package/esm/models/operations/getusercart.js +0 -60
  466. package/esm/models/operations/getusercart.js.map +1 -1
  467. package/esm/models/operations/getuserdetail.d.ts +0 -55
  468. package/esm/models/operations/getuserdetail.d.ts.map +1 -1
  469. package/esm/models/operations/getuserdetail.js +0 -56
  470. package/esm/models/operations/getuserdetail.js.map +1 -1
  471. package/esm/models/operations/getvariantdetail.d.ts +0 -55
  472. package/esm/models/operations/getvariantdetail.d.ts.map +1 -1
  473. package/esm/models/operations/getvariantdetail.js +0 -65
  474. package/esm/models/operations/getvariantdetail.js.map +1 -1
  475. package/esm/models/operations/listaddresses.d.ts +0 -93
  476. package/esm/models/operations/listaddresses.d.ts.map +1 -1
  477. package/esm/models/operations/listaddresses.js +0 -114
  478. package/esm/models/operations/listaddresses.js.map +1 -1
  479. package/esm/models/operations/listcategories.d.ts +0 -56
  480. package/esm/models/operations/listcategories.d.ts.map +1 -1
  481. package/esm/models/operations/listcategories.js +0 -68
  482. package/esm/models/operations/listcategories.js.map +1 -1
  483. package/esm/models/operations/listcountrypincodes.d.ts +0 -55
  484. package/esm/models/operations/listcountrypincodes.d.ts.map +1 -1
  485. package/esm/models/operations/listcountrypincodes.js +0 -63
  486. package/esm/models/operations/listcountrypincodes.js.map +1 -1
  487. package/esm/models/operations/listcrosssellproducts.d.ts +0 -56
  488. package/esm/models/operations/listcrosssellproducts.d.ts.map +1 -1
  489. package/esm/models/operations/listcrosssellproducts.js +0 -67
  490. package/esm/models/operations/listcrosssellproducts.js.map +1 -1
  491. package/esm/models/operations/listorders.d.ts +0 -56
  492. package/esm/models/operations/listorders.d.ts.map +1 -1
  493. package/esm/models/operations/listorders.js +0 -66
  494. package/esm/models/operations/listorders.js.map +1 -1
  495. package/esm/models/operations/listordershipments.d.ts +0 -55
  496. package/esm/models/operations/listordershipments.d.ts.map +1 -1
  497. package/esm/models/operations/listordershipments.js +0 -60
  498. package/esm/models/operations/listordershipments.js.map +1 -1
  499. package/esm/models/operations/listproductreviews.d.ts +0 -57
  500. package/esm/models/operations/listproductreviews.d.ts.map +1 -1
  501. package/esm/models/operations/listproductreviews.js +0 -73
  502. package/esm/models/operations/listproductreviews.js.map +1 -1
  503. package/esm/models/operations/listproducts.d.ts +0 -56
  504. package/esm/models/operations/listproducts.d.ts.map +1 -1
  505. package/esm/models/operations/listproducts.js +0 -70
  506. package/esm/models/operations/listproducts.js.map +1 -1
  507. package/esm/models/operations/listproductvariants.d.ts +0 -55
  508. package/esm/models/operations/listproductvariants.d.ts.map +1 -1
  509. package/esm/models/operations/listproductvariants.js +0 -63
  510. package/esm/models/operations/listproductvariants.js.map +1 -1
  511. package/esm/models/operations/listsavedpaymentmethods.d.ts +0 -55
  512. package/esm/models/operations/listsavedpaymentmethods.d.ts.map +1 -1
  513. package/esm/models/operations/listsavedpaymentmethods.js +0 -65
  514. package/esm/models/operations/listsavedpaymentmethods.js.map +1 -1
  515. package/esm/models/operations/listsimilarproducts.d.ts +0 -56
  516. package/esm/models/operations/listsimilarproducts.d.ts.map +1 -1
  517. package/esm/models/operations/listsimilarproducts.js +0 -67
  518. package/esm/models/operations/listsimilarproducts.js.map +1 -1
  519. package/esm/models/operations/listskus.d.ts +0 -56
  520. package/esm/models/operations/listskus.d.ts.map +1 -1
  521. package/esm/models/operations/listskus.js +0 -69
  522. package/esm/models/operations/listskus.js.map +1 -1
  523. package/esm/models/operations/listupsellproducts.d.ts +0 -56
  524. package/esm/models/operations/listupsellproducts.d.ts.map +1 -1
  525. package/esm/models/operations/listupsellproducts.js +0 -67
  526. package/esm/models/operations/listupsellproducts.js.map +1 -1
  527. package/esm/models/operations/listuserreviews.d.ts +0 -56
  528. package/esm/models/operations/listuserreviews.d.ts.map +1 -1
  529. package/esm/models/operations/listuserreviews.js +0 -66
  530. package/esm/models/operations/listuserreviews.js.map +1 -1
  531. package/esm/models/operations/loginwithemail.d.ts +0 -71
  532. package/esm/models/operations/loginwithemail.d.ts.map +1 -1
  533. package/esm/models/operations/loginwithemail.js +0 -91
  534. package/esm/models/operations/loginwithemail.js.map +1 -1
  535. package/esm/models/operations/loginwithphone.d.ts +0 -71
  536. package/esm/models/operations/loginwithphone.d.ts.map +1 -1
  537. package/esm/models/operations/loginwithphone.js +0 -93
  538. package/esm/models/operations/loginwithphone.js.map +1 -1
  539. package/esm/models/operations/loginwithwhatsapp.d.ts +0 -71
  540. package/esm/models/operations/loginwithwhatsapp.d.ts.map +1 -1
  541. package/esm/models/operations/loginwithwhatsapp.js +0 -93
  542. package/esm/models/operations/loginwithwhatsapp.js.map +1 -1
  543. package/esm/models/operations/logout.d.ts +0 -42
  544. package/esm/models/operations/logout.d.ts.map +1 -1
  545. package/esm/models/operations/logout.js +0 -45
  546. package/esm/models/operations/logout.js.map +1 -1
  547. package/esm/models/operations/redeemloyaltypoints.d.ts +0 -70
  548. package/esm/models/operations/redeemloyaltypoints.d.ts.map +1 -1
  549. package/esm/models/operations/redeemloyaltypoints.js +0 -83
  550. package/esm/models/operations/redeemloyaltypoints.js.map +1 -1
  551. package/esm/models/operations/refreshtoken.d.ts +0 -56
  552. package/esm/models/operations/refreshtoken.d.ts.map +1 -1
  553. package/esm/models/operations/refreshtoken.js +0 -66
  554. package/esm/models/operations/refreshtoken.js.map +1 -1
  555. package/esm/models/operations/removecoupon.d.ts +0 -55
  556. package/esm/models/operations/removecoupon.d.ts.map +1 -1
  557. package/esm/models/operations/removecoupon.js +0 -56
  558. package/esm/models/operations/removecoupon.js.map +1 -1
  559. package/esm/models/operations/removeloyaltypoints.d.ts +0 -55
  560. package/esm/models/operations/removeloyaltypoints.d.ts.map +1 -1
  561. package/esm/models/operations/removeloyaltypoints.js +0 -56
  562. package/esm/models/operations/removeloyaltypoints.js.map +1 -1
  563. package/esm/models/operations/retryorderpayment.d.ts +0 -87
  564. package/esm/models/operations/retryorderpayment.d.ts.map +1 -1
  565. package/esm/models/operations/retryorderpayment.js +0 -112
  566. package/esm/models/operations/retryorderpayment.js.map +1 -1
  567. package/esm/models/operations/searchproducts.d.ts +0 -84
  568. package/esm/models/operations/searchproducts.d.ts.map +1 -1
  569. package/esm/models/operations/searchproducts.js +0 -89
  570. package/esm/models/operations/searchproducts.js.map +1 -1
  571. package/esm/models/operations/updateaddressdetail.d.ts +0 -70
  572. package/esm/models/operations/updateaddressdetail.d.ts.map +1 -1
  573. package/esm/models/operations/updateaddressdetail.js +0 -110
  574. package/esm/models/operations/updateaddressdetail.js.map +1 -1
  575. package/esm/models/operations/updatecart.d.ts +0 -55
  576. package/esm/models/operations/updatecart.d.ts.map +1 -1
  577. package/esm/models/operations/updatecart.js +0 -61
  578. package/esm/models/operations/updatecart.js.map +1 -1
  579. package/esm/models/operations/updatefulfillmentpreference.d.ts +0 -55
  580. package/esm/models/operations/updatefulfillmentpreference.d.ts.map +1 -1
  581. package/esm/models/operations/updatefulfillmentpreference.js +0 -61
  582. package/esm/models/operations/updatefulfillmentpreference.js.map +1 -1
  583. package/esm/models/operations/updateuser.d.ts +0 -55
  584. package/esm/models/operations/updateuser.d.ts.map +1 -1
  585. package/esm/models/operations/updateuser.js +0 -61
  586. package/esm/models/operations/updateuser.js.map +1 -1
  587. package/esm/models/operations/verifyotp.d.ts +0 -85
  588. package/esm/models/operations/verifyotp.d.ts.map +1 -1
  589. package/esm/models/operations/verifyotp.js +1 -84
  590. package/esm/models/operations/verifyotp.js.map +1 -1
  591. package/examples/package-lock.json +1 -1
  592. package/jsr.json +1 -1
  593. package/package.json +1 -1
  594. package/src/lib/config.ts +3 -3
  595. package/src/models/components/anonymoususer.ts +0 -65
  596. package/src/models/components/appliedcoupon.ts +0 -67
  597. package/src/models/components/appliedpromotion.ts +0 -77
  598. package/src/models/components/associatedoption.ts +1 -41
  599. package/src/models/components/banktransfer.ts +0 -93
  600. package/src/models/components/booleanattribute.ts +0 -43
  601. package/src/models/components/cardpayment.ts +0 -108
  602. package/src/models/components/cart.ts +3 -177
  603. package/src/models/components/cartbasedserviceabilitycheck.ts +0 -41
  604. package/src/models/components/cartitem.ts +0 -146
  605. package/src/models/components/category.ts +0 -48
  606. package/src/models/components/collectinstore.ts +0 -45
  607. package/src/models/components/collectinstorefulfillment.ts +0 -64
  608. package/src/models/components/collectinstorefulfillmentinput.ts +0 -42
  609. package/src/models/components/colorattribute.ts +0 -76
  610. package/src/models/components/coloroption.ts +0 -68
  611. package/src/models/components/currency.ts +0 -35
  612. package/src/models/components/customeraddress.ts +0 -77
  613. package/src/models/components/customeraddressinput.ts +0 -59
  614. package/src/models/components/customerloyalty.ts +0 -61
  615. package/src/models/components/customerreadyforreview.ts +0 -54
  616. package/src/models/components/customerreview.ts +0 -208
  617. package/src/models/components/dateattribute.ts +0 -39
  618. package/src/models/components/deliveryfulfillment.ts +0 -71
  619. package/src/models/components/deliveryfulfillmentinput.ts +0 -43
  620. package/src/models/components/discountbasedpromotion.ts +0 -81
  621. package/src/models/components/fixedpricepromotion.ts +0 -58
  622. package/src/models/components/freegoodspromotion.ts +0 -61
  623. package/src/models/components/fulfillmentitem.ts +0 -48
  624. package/src/models/components/fulfillmentiteminput.ts +0 -42
  625. package/src/models/components/fulfillmentpreference.ts +0 -59
  626. package/src/models/components/fulfillmentpreferenceinput.ts +0 -51
  627. package/src/models/components/generateotpwithemail.ts +1 -58
  628. package/src/models/components/generateotpwithphone.ts +2 -75
  629. package/src/models/components/index.ts +1 -0
  630. package/src/models/components/item.ts +1 -128
  631. package/src/models/components/juspayexpresscheckout.ts +0 -44
  632. package/src/models/components/juspayexpresscheckoutresponse.ts +0 -246
  633. package/src/models/components/juspayhypercheckout.ts +1 -63
  634. package/src/models/components/juspayhypercheckoutresponse.ts +0 -220
  635. package/src/models/components/juspaynetbanking.ts +3 -57
  636. package/src/models/components/juspaynewcard.ts +4 -92
  637. package/src/models/components/juspaysavedcardtoken.ts +4 -87
  638. package/src/models/components/juspayupicollect.ts +3 -59
  639. package/src/models/components/juspayupiintent.ts +3 -61
  640. package/src/models/components/lotbatchdetail.ts +0 -46
  641. package/src/models/components/multiselectattribute.ts +0 -43
  642. package/src/models/components/netbankingpayment.ts +0 -94
  643. package/src/models/components/notificationchannelpreferences.ts +0 -15
  644. package/src/models/components/notificationpreferences.ts +0 -15
  645. package/src/models/components/numberattribute.ts +0 -41
  646. package/src/models/components/order.ts +2 -327
  647. package/src/models/components/orderdetail.ts +3 -346
  648. package/src/models/components/orderitem.ts +0 -144
  649. package/src/models/components/orderlist.ts +1 -161
  650. package/src/models/components/orderpayment.ts +4 -64
  651. package/src/models/components/ordershipment.ts +6 -133
  652. package/src/models/components/pagination.ts +0 -46
  653. package/src/models/components/partialcollectanddelivery.ts +0 -165
  654. package/src/models/components/partialcollectanddeliveryinput.ts +0 -133
  655. package/src/models/components/paymentmethodpayload.ts +0 -38
  656. package/src/models/components/payupaymentinfo.ts +0 -103
  657. package/src/models/components/pincode.ts +0 -45
  658. package/src/models/components/pincodeserviceability.ts +0 -203
  659. package/src/models/components/product.ts +4 -147
  660. package/src/models/components/productattribute.ts +2 -90
  661. package/src/models/components/productbundleitem.ts +1 -137
  662. package/src/models/components/productcategory.ts +1 -59
  663. package/src/models/components/productdetail.ts +6 -180
  664. package/src/models/components/productimage.ts +0 -54
  665. package/src/models/components/productpricing.ts +0 -61
  666. package/src/models/components/productpromotion.ts +0 -131
  667. package/src/models/components/productreview.ts +0 -194
  668. package/src/models/components/productshipping.ts +0 -46
  669. package/src/models/components/productsubscription.ts +0 -103
  670. package/src/models/components/productvideo.ts +0 -55
  671. package/src/models/components/savedpaymentmethod.ts +0 -362
  672. package/src/models/components/searchproduct.ts +0 -38
  673. package/src/models/components/security.ts +0 -39
  674. package/src/models/components/seo.ts +0 -34
  675. package/src/models/components/shipmentitem.ts +0 -51
  676. package/src/models/components/shipmentstatus.ts +34 -0
  677. package/src/models/components/singleselectattribute.ts +0 -43
  678. package/src/models/components/singleselectoption.ts +0 -39
  679. package/src/models/components/textattribute.ts +0 -39
  680. package/src/models/components/updatecartitem.ts +0 -42
  681. package/src/models/components/upipayment.ts +0 -90
  682. package/src/models/components/user.ts +0 -131
  683. package/src/models/components/variant.ts +1 -94
  684. package/src/models/components/variantdetail.ts +4 -168
  685. package/src/models/components/variantoption.ts +0 -107
  686. package/src/models/components/volumebasedpromotion.ts +0 -96
  687. package/src/models/components/walletpayment.ts +0 -90
  688. package/src/models/errors/badrequest.ts +0 -62
  689. package/src/models/errors/notfound.ts +0 -33
  690. package/src/models/errors/unauthorized.ts +0 -33
  691. package/src/models/operations/applycoupon.ts +0 -147
  692. package/src/models/operations/cancelorder.ts +1 -169
  693. package/src/models/operations/checkpincodeserviceability.ts +0 -119
  694. package/src/models/operations/createaddress.ts +0 -172
  695. package/src/models/operations/createcart.ts +0 -107
  696. package/src/models/operations/createcartaddress.ts +0 -225
  697. package/src/models/operations/createorder.ts +0 -162
  698. package/src/models/operations/deleteaddress.ts +0 -75
  699. package/src/models/operations/deletecart.ts +0 -69
  700. package/src/models/operations/deleteusercart.ts +0 -73
  701. package/src/models/operations/generateotp.ts +0 -155
  702. package/src/models/operations/getaddressdetail.ts +0 -195
  703. package/src/models/operations/getanonymoustoken.ts +0 -117
  704. package/src/models/operations/getcart.ts +0 -102
  705. package/src/models/operations/getfulfillmentoptions.ts +0 -143
  706. package/src/models/operations/getloyaltydetails.ts +0 -118
  707. package/src/models/operations/getorderdetail.ts +0 -110
  708. package/src/models/operations/getpaymentstatus.ts +0 -139
  709. package/src/models/operations/getproductdetail.ts +0 -115
  710. package/src/models/operations/getusercart.ts +0 -110
  711. package/src/models/operations/getuserdetail.ts +0 -106
  712. package/src/models/operations/getvariantdetail.ts +0 -117
  713. package/src/models/operations/listaddresses.ts +0 -196
  714. package/src/models/operations/listcategories.ts +0 -119
  715. package/src/models/operations/listcountrypincodes.ts +0 -115
  716. package/src/models/operations/listcrosssellproducts.ts +0 -123
  717. package/src/models/operations/listorders.ts +0 -117
  718. package/src/models/operations/listordershipments.ts +0 -112
  719. package/src/models/operations/listproductreviews.ts +0 -127
  720. package/src/models/operations/listproducts.ts +0 -121
  721. package/src/models/operations/listproductvariants.ts +0 -115
  722. package/src/models/operations/listsavedpaymentmethods.ts +0 -121
  723. package/src/models/operations/listsimilarproducts.ts +0 -120
  724. package/src/models/operations/listskus.ts +0 -118
  725. package/src/models/operations/listupsellproducts.ts +0 -120
  726. package/src/models/operations/listuserreviews.ts +0 -121
  727. package/src/models/operations/loginwithemail.ts +0 -156
  728. package/src/models/operations/loginwithphone.ts +0 -158
  729. package/src/models/operations/loginwithwhatsapp.ts +0 -160
  730. package/src/models/operations/logout.ts +0 -79
  731. package/src/models/operations/redeemloyaltypoints.ts +0 -149
  732. package/src/models/operations/refreshtoken.ts +0 -117
  733. package/src/models/operations/removecoupon.ts +0 -106
  734. package/src/models/operations/removeloyaltypoints.ts +0 -108
  735. package/src/models/operations/retryorderpayment.ts +0 -201
  736. package/src/models/operations/searchproducts.ts +0 -156
  737. package/src/models/operations/updateaddressdetail.ts +0 -178
  738. package/src/models/operations/updatecart.ts +0 -111
  739. package/src/models/operations/updatefulfillmentpreference.ts +0 -121
  740. package/src/models/operations/updateuser.ts +0 -111
  741. package/src/models/operations/verifyotp.ts +1 -138
  742. package/docs/sdks/auth/README.md +0 -874
  743. package/docs/sdks/carts/README.md +0 -1030
  744. package/docs/sdks/catalog/README.md +0 -876
  745. package/docs/sdks/common/README.md +0 -87
  746. package/docs/sdks/customers/README.md +0 -714
  747. package/docs/sdks/orders/README.md +0 -571
  748. package/docs/sdks/shipping/README.md +0 -169
  749. package/examples/README.md +0 -31
@@ -10,26 +10,18 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
  import {
11
11
  DiscountBasedPromotion,
12
12
  DiscountBasedPromotion$inboundSchema,
13
- DiscountBasedPromotion$Outbound,
14
- DiscountBasedPromotion$outboundSchema,
15
13
  } from "./discountbasedpromotion.js";
16
14
  import {
17
15
  FixedPricePromotion,
18
16
  FixedPricePromotion$inboundSchema,
19
- FixedPricePromotion$Outbound,
20
- FixedPricePromotion$outboundSchema,
21
17
  } from "./fixedpricepromotion.js";
22
18
  import {
23
19
  FreeGoodsPromotion,
24
20
  FreeGoodsPromotion$inboundSchema,
25
- FreeGoodsPromotion$Outbound,
26
- FreeGoodsPromotion$outboundSchema,
27
21
  } from "./freegoodspromotion.js";
28
22
  import {
29
23
  VolumeBasedPromotion,
30
24
  VolumeBasedPromotion$inboundSchema,
31
- VolumeBasedPromotion$Outbound,
32
- VolumeBasedPromotion$outboundSchema,
33
25
  } from "./volumebasedpromotion.js";
34
26
 
35
27
  export type Details =
@@ -77,58 +69,6 @@ export const Details$inboundSchema: z.ZodType<Details, z.ZodTypeDef, unknown> =
77
69
  ),
78
70
  ]);
79
71
 
80
- /** @internal */
81
- export type Details$Outbound =
82
- | (FreeGoodsPromotion$Outbound & { promotion_type: "free-goods" })
83
- | (DiscountBasedPromotion$Outbound & { promotion_type: "discount" })
84
- | (FixedPricePromotion$Outbound & { promotion_type: "fixed-price" })
85
- | (VolumeBasedPromotion$Outbound & { promotion_type: "volume-based" });
86
-
87
- /** @internal */
88
- export const Details$outboundSchema: z.ZodType<
89
- Details$Outbound,
90
- z.ZodTypeDef,
91
- Details
92
- > = z.union([
93
- FreeGoodsPromotion$outboundSchema.and(
94
- z.object({ promotionType: z.literal("free-goods") }).transform((v) => ({
95
- promotion_type: v.promotionType,
96
- })),
97
- ),
98
- DiscountBasedPromotion$outboundSchema.and(
99
- z.object({ promotionType: z.literal("discount") }).transform((v) => ({
100
- promotion_type: v.promotionType,
101
- })),
102
- ),
103
- FixedPricePromotion$outboundSchema.and(
104
- z.object({ promotionType: z.literal("fixed-price") }).transform((v) => ({
105
- promotion_type: v.promotionType,
106
- })),
107
- ),
108
- VolumeBasedPromotion$outboundSchema.and(
109
- z.object({ promotionType: z.literal("volume-based") }).transform((v) => ({
110
- promotion_type: v.promotionType,
111
- })),
112
- ),
113
- ]);
114
-
115
- /**
116
- * @internal
117
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
118
- */
119
- export namespace Details$ {
120
- /** @deprecated use `Details$inboundSchema` instead. */
121
- export const inboundSchema = Details$inboundSchema;
122
- /** @deprecated use `Details$outboundSchema` instead. */
123
- export const outboundSchema = Details$outboundSchema;
124
- /** @deprecated use `Details$Outbound` instead. */
125
- export type Outbound = Details$Outbound;
126
- }
127
-
128
- export function detailsToJSON(details: Details): string {
129
- return JSON.stringify(Details$outboundSchema.parse(details));
130
- }
131
-
132
72
  export function detailsFromJSON(
133
73
  jsonString: string,
134
74
  ): SafeParseResult<Details, SDKValidationError> {
@@ -179,77 +119,6 @@ export const ProductPromotion$inboundSchema: z.ZodType<
179
119
  });
180
120
  });
181
121
 
182
- /** @internal */
183
- export type ProductPromotion$Outbound = {
184
- id: string;
185
- starts_at: string;
186
- expires_at: string | null;
187
- details:
188
- | (FreeGoodsPromotion$Outbound & { promotion_type: "free-goods" })
189
- | (DiscountBasedPromotion$Outbound & { promotion_type: "discount" })
190
- | (FixedPricePromotion$Outbound & { promotion_type: "fixed-price" })
191
- | (VolumeBasedPromotion$Outbound & { promotion_type: "volume-based" });
192
- };
193
-
194
- /** @internal */
195
- export const ProductPromotion$outboundSchema: z.ZodType<
196
- ProductPromotion$Outbound,
197
- z.ZodTypeDef,
198
- ProductPromotion
199
- > = z.object({
200
- id: z.string(),
201
- startsAt: z.date().transform(v => v.toISOString()),
202
- expiresAt: z.nullable(z.date().transform(v => v.toISOString())),
203
- details: z.union([
204
- FreeGoodsPromotion$outboundSchema.and(
205
- z.object({ promotionType: z.literal("free-goods") }).transform((v) => ({
206
- promotion_type: v.promotionType,
207
- })),
208
- ),
209
- DiscountBasedPromotion$outboundSchema.and(
210
- z.object({ promotionType: z.literal("discount") }).transform((v) => ({
211
- promotion_type: v.promotionType,
212
- })),
213
- ),
214
- FixedPricePromotion$outboundSchema.and(
215
- z.object({ promotionType: z.literal("fixed-price") }).transform((v) => ({
216
- promotion_type: v.promotionType,
217
- })),
218
- ),
219
- VolumeBasedPromotion$outboundSchema.and(
220
- z.object({ promotionType: z.literal("volume-based") }).transform((v) => ({
221
- promotion_type: v.promotionType,
222
- })),
223
- ),
224
- ]),
225
- }).transform((v) => {
226
- return remap$(v, {
227
- startsAt: "starts_at",
228
- expiresAt: "expires_at",
229
- });
230
- });
231
-
232
- /**
233
- * @internal
234
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
235
- */
236
- export namespace ProductPromotion$ {
237
- /** @deprecated use `ProductPromotion$inboundSchema` instead. */
238
- export const inboundSchema = ProductPromotion$inboundSchema;
239
- /** @deprecated use `ProductPromotion$outboundSchema` instead. */
240
- export const outboundSchema = ProductPromotion$outboundSchema;
241
- /** @deprecated use `ProductPromotion$Outbound` instead. */
242
- export type Outbound = ProductPromotion$Outbound;
243
- }
244
-
245
- export function productPromotionToJSON(
246
- productPromotion: ProductPromotion,
247
- ): string {
248
- return JSON.stringify(
249
- ProductPromotion$outboundSchema.parse(productPromotion),
250
- );
251
- }
252
-
253
122
  export function productPromotionFromJSON(
254
123
  jsonString: string,
255
124
  ): SafeParseResult<ProductPromotion, SDKValidationError> {
@@ -91,21 +91,6 @@ export type ProductReview = {
91
91
  export const Status$inboundSchema: z.ZodNativeEnum<typeof Status> = z
92
92
  .nativeEnum(Status);
93
93
 
94
- /** @internal */
95
- export const Status$outboundSchema: z.ZodNativeEnum<typeof Status> =
96
- Status$inboundSchema;
97
-
98
- /**
99
- * @internal
100
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
101
- */
102
- export namespace Status$ {
103
- /** @deprecated use `Status$inboundSchema` instead. */
104
- export const inboundSchema = Status$inboundSchema;
105
- /** @deprecated use `Status$outboundSchema` instead. */
106
- export const outboundSchema = Status$outboundSchema;
107
- }
108
-
109
94
  /** @internal */
110
95
  export const Images$inboundSchema: z.ZodType<Images, z.ZodTypeDef, unknown> = z
111
96
  .object({
@@ -120,47 +105,6 @@ export const Images$inboundSchema: z.ZodType<Images, z.ZodTypeDef, unknown> = z
120
105
  });
121
106
  });
122
107
 
123
- /** @internal */
124
- export type Images$Outbound = {
125
- blur_url?: string | undefined;
126
- thumbnail_url?: string | undefined;
127
- standard_url?: string | undefined;
128
- };
129
-
130
- /** @internal */
131
- export const Images$outboundSchema: z.ZodType<
132
- Images$Outbound,
133
- z.ZodTypeDef,
134
- Images
135
- > = z.object({
136
- blurUrl: z.string().optional(),
137
- thumbnailUrl: z.string().optional(),
138
- standardUrl: z.string().optional(),
139
- }).transform((v) => {
140
- return remap$(v, {
141
- blurUrl: "blur_url",
142
- thumbnailUrl: "thumbnail_url",
143
- standardUrl: "standard_url",
144
- });
145
- });
146
-
147
- /**
148
- * @internal
149
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
150
- */
151
- export namespace Images$ {
152
- /** @deprecated use `Images$inboundSchema` instead. */
153
- export const inboundSchema = Images$inboundSchema;
154
- /** @deprecated use `Images$outboundSchema` instead. */
155
- export const outboundSchema = Images$outboundSchema;
156
- /** @deprecated use `Images$Outbound` instead. */
157
- export type Outbound = Images$Outbound;
158
- }
159
-
160
- export function imagesToJSON(images: Images): string {
161
- return JSON.stringify(Images$outboundSchema.parse(images));
162
- }
163
-
164
108
  export function imagesFromJSON(
165
109
  jsonString: string,
166
110
  ): SafeParseResult<Images, SDKValidationError> {
@@ -181,39 +125,6 @@ export const Playback$inboundSchema: z.ZodType<
181
125
  dash: z.string().optional(),
182
126
  });
183
127
 
184
- /** @internal */
185
- export type Playback$Outbound = {
186
- hls?: string | undefined;
187
- dash?: string | undefined;
188
- };
189
-
190
- /** @internal */
191
- export const Playback$outboundSchema: z.ZodType<
192
- Playback$Outbound,
193
- z.ZodTypeDef,
194
- Playback
195
- > = z.object({
196
- hls: z.string().optional(),
197
- dash: z.string().optional(),
198
- });
199
-
200
- /**
201
- * @internal
202
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
203
- */
204
- export namespace Playback$ {
205
- /** @deprecated use `Playback$inboundSchema` instead. */
206
- export const inboundSchema = Playback$inboundSchema;
207
- /** @deprecated use `Playback$outboundSchema` instead. */
208
- export const outboundSchema = Playback$outboundSchema;
209
- /** @deprecated use `Playback$Outbound` instead. */
210
- export type Outbound = Playback$Outbound;
211
- }
212
-
213
- export function playbackToJSON(playback: Playback): string {
214
- return JSON.stringify(Playback$outboundSchema.parse(playback));
215
- }
216
-
217
128
  export function playbackFromJSON(
218
129
  jsonString: string,
219
130
  ): SafeParseResult<Playback, SDKValidationError> {
@@ -239,50 +150,6 @@ export const Videos$inboundSchema: z.ZodType<Videos, z.ZodTypeDef, unknown> = z
239
150
  });
240
151
  });
241
152
 
242
- /** @internal */
243
- export type Videos$Outbound = {
244
- cover_image_url?: string | undefined;
245
- video_preview_url?: string | undefined;
246
- playback?: Playback$Outbound | undefined;
247
- duration?: string | undefined;
248
- size?: string | undefined;
249
- };
250
-
251
- /** @internal */
252
- export const Videos$outboundSchema: z.ZodType<
253
- Videos$Outbound,
254
- z.ZodTypeDef,
255
- Videos
256
- > = z.object({
257
- coverImageUrl: z.string().optional(),
258
- videoPreviewUrl: z.string().optional(),
259
- playback: z.lazy(() => Playback$outboundSchema).optional(),
260
- duration: z.string().optional(),
261
- size: z.string().optional(),
262
- }).transform((v) => {
263
- return remap$(v, {
264
- coverImageUrl: "cover_image_url",
265
- videoPreviewUrl: "video_preview_url",
266
- });
267
- });
268
-
269
- /**
270
- * @internal
271
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
272
- */
273
- export namespace Videos$ {
274
- /** @deprecated use `Videos$inboundSchema` instead. */
275
- export const inboundSchema = Videos$inboundSchema;
276
- /** @deprecated use `Videos$outboundSchema` instead. */
277
- export const outboundSchema = Videos$outboundSchema;
278
- /** @deprecated use `Videos$Outbound` instead. */
279
- export type Outbound = Videos$Outbound;
280
- }
281
-
282
- export function videosToJSON(videos: Videos): string {
283
- return JSON.stringify(Videos$outboundSchema.parse(videos));
284
- }
285
-
286
153
  export function videosFromJSON(
287
154
  jsonString: string,
288
155
  ): SafeParseResult<Videos, SDKValidationError> {
@@ -324,67 +191,6 @@ export const ProductReview$inboundSchema: z.ZodType<
324
191
  });
325
192
  });
326
193
 
327
- /** @internal */
328
- export type ProductReview$Outbound = {
329
- rating?: number | undefined;
330
- review_text?: string | undefined;
331
- name?: string | undefined;
332
- email?: string | undefined;
333
- status?: string | undefined;
334
- is_featured: boolean;
335
- tags?: Array<string> | undefined;
336
- review_date?: string | undefined;
337
- images?: Array<Images$Outbound> | undefined;
338
- videos?: Array<Videos$Outbound> | undefined;
339
- created_at?: string | undefined;
340
- modified_at?: string | undefined;
341
- };
342
-
343
- /** @internal */
344
- export const ProductReview$outboundSchema: z.ZodType<
345
- ProductReview$Outbound,
346
- z.ZodTypeDef,
347
- ProductReview
348
- > = z.object({
349
- rating: z.number().optional(),
350
- reviewText: z.string().optional(),
351
- name: z.string().optional(),
352
- email: z.string().optional(),
353
- status: Status$outboundSchema.optional(),
354
- isFeatured: z.boolean().default(false),
355
- tags: z.array(z.string()).optional(),
356
- reviewDate: z.date().transform(v => v.toISOString()).optional(),
357
- images: z.array(z.lazy(() => Images$outboundSchema)).optional(),
358
- videos: z.array(z.lazy(() => Videos$outboundSchema)).optional(),
359
- createdAt: z.date().transform(v => v.toISOString()).optional(),
360
- modifiedAt: z.date().transform(v => v.toISOString()).optional(),
361
- }).transform((v) => {
362
- return remap$(v, {
363
- reviewText: "review_text",
364
- isFeatured: "is_featured",
365
- reviewDate: "review_date",
366
- createdAt: "created_at",
367
- modifiedAt: "modified_at",
368
- });
369
- });
370
-
371
- /**
372
- * @internal
373
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
374
- */
375
- export namespace ProductReview$ {
376
- /** @deprecated use `ProductReview$inboundSchema` instead. */
377
- export const inboundSchema = ProductReview$inboundSchema;
378
- /** @deprecated use `ProductReview$outboundSchema` instead. */
379
- export const outboundSchema = ProductReview$outboundSchema;
380
- /** @deprecated use `ProductReview$Outbound` instead. */
381
- export type Outbound = ProductReview$Outbound;
382
- }
383
-
384
- export function productReviewToJSON(productReview: ProductReview): string {
385
- return JSON.stringify(ProductReview$outboundSchema.parse(productReview));
386
- }
387
-
388
194
  export function productReviewFromJSON(
389
195
  jsonString: string,
390
196
  ): SafeParseResult<ProductReview, SDKValidationError> {
@@ -37,52 +37,6 @@ export const ProductShipping$inboundSchema: z.ZodType<
37
37
  });
38
38
  });
39
39
 
40
- /** @internal */
41
- export type ProductShipping$Outbound = {
42
- handling_charges_including_tax: number;
43
- handling_charges_excluding_tax: number;
44
- tax_type: string;
45
- tax_rate: number;
46
- };
47
-
48
- /** @internal */
49
- export const ProductShipping$outboundSchema: z.ZodType<
50
- ProductShipping$Outbound,
51
- z.ZodTypeDef,
52
- ProductShipping
53
- > = z.object({
54
- handlingChargesIncludingTax: z.number(),
55
- handlingChargesExcludingTax: z.number(),
56
- taxType: z.string(),
57
- taxRate: z.number(),
58
- }).transform((v) => {
59
- return remap$(v, {
60
- handlingChargesIncludingTax: "handling_charges_including_tax",
61
- handlingChargesExcludingTax: "handling_charges_excluding_tax",
62
- taxType: "tax_type",
63
- taxRate: "tax_rate",
64
- });
65
- });
66
-
67
- /**
68
- * @internal
69
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
70
- */
71
- export namespace ProductShipping$ {
72
- /** @deprecated use `ProductShipping$inboundSchema` instead. */
73
- export const inboundSchema = ProductShipping$inboundSchema;
74
- /** @deprecated use `ProductShipping$outboundSchema` instead. */
75
- export const outboundSchema = ProductShipping$outboundSchema;
76
- /** @deprecated use `ProductShipping$Outbound` instead. */
77
- export type Outbound = ProductShipping$Outbound;
78
- }
79
-
80
- export function productShippingToJSON(
81
- productShipping: ProductShipping,
82
- ): string {
83
- return JSON.stringify(ProductShipping$outboundSchema.parse(productShipping));
84
- }
85
-
86
40
  export function productShippingFromJSON(
87
41
  jsonString: string,
88
42
  ): SafeParseResult<ProductShipping, SDKValidationError> {
@@ -64,43 +64,11 @@ export const BillingFrequency$inboundSchema: z.ZodNativeEnum<
64
64
  typeof BillingFrequency
65
65
  > = z.nativeEnum(BillingFrequency);
66
66
 
67
- /** @internal */
68
- export const BillingFrequency$outboundSchema: z.ZodNativeEnum<
69
- typeof BillingFrequency
70
- > = BillingFrequency$inboundSchema;
71
-
72
- /**
73
- * @internal
74
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
75
- */
76
- export namespace BillingFrequency$ {
77
- /** @deprecated use `BillingFrequency$inboundSchema` instead. */
78
- export const inboundSchema = BillingFrequency$inboundSchema;
79
- /** @deprecated use `BillingFrequency$outboundSchema` instead. */
80
- export const outboundSchema = BillingFrequency$outboundSchema;
81
- }
82
-
83
67
  /** @internal */
84
68
  export const OrderFrequency$inboundSchema: z.ZodNativeEnum<
85
69
  typeof OrderFrequency
86
70
  > = z.nativeEnum(OrderFrequency);
87
71
 
88
- /** @internal */
89
- export const OrderFrequency$outboundSchema: z.ZodNativeEnum<
90
- typeof OrderFrequency
91
- > = OrderFrequency$inboundSchema;
92
-
93
- /**
94
- * @internal
95
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
96
- */
97
- export namespace OrderFrequency$ {
98
- /** @deprecated use `OrderFrequency$inboundSchema` instead. */
99
- export const inboundSchema = OrderFrequency$inboundSchema;
100
- /** @deprecated use `OrderFrequency$outboundSchema` instead. */
101
- export const outboundSchema = OrderFrequency$outboundSchema;
102
- }
103
-
104
72
  /** @internal */
105
73
  export const ProductSubscription$inboundSchema: z.ZodType<
106
74
  ProductSubscription,
@@ -135,77 +103,6 @@ export const ProductSubscription$inboundSchema: z.ZodType<
135
103
  });
136
104
  });
137
105
 
138
- /** @internal */
139
- export type ProductSubscription$Outbound = {
140
- id: string;
141
- subscription_plan: string;
142
- subscription_price: number;
143
- billing_interval: number;
144
- billing_frequency: string;
145
- billing_limit: number;
146
- fulfill_separately: boolean;
147
- order_interval: number;
148
- order_frequency: string;
149
- order_limit: number;
150
- minimum_quantity: number;
151
- billing_trial_days: number;
152
- };
153
-
154
- /** @internal */
155
- export const ProductSubscription$outboundSchema: z.ZodType<
156
- ProductSubscription$Outbound,
157
- z.ZodTypeDef,
158
- ProductSubscription
159
- > = z.object({
160
- id: z.string(),
161
- subscriptionPlan: z.string(),
162
- subscriptionPrice: z.number(),
163
- billingInterval: z.number().int(),
164
- billingFrequency: BillingFrequency$outboundSchema,
165
- billingLimit: z.number().int(),
166
- fulfillSeparately: z.boolean().default(false),
167
- orderInterval: z.number().int(),
168
- orderFrequency: OrderFrequency$outboundSchema,
169
- orderLimit: z.number().int(),
170
- minimumQuantity: z.number().int(),
171
- billingTrialDays: z.number().int(),
172
- }).transform((v) => {
173
- return remap$(v, {
174
- subscriptionPlan: "subscription_plan",
175
- subscriptionPrice: "subscription_price",
176
- billingInterval: "billing_interval",
177
- billingFrequency: "billing_frequency",
178
- billingLimit: "billing_limit",
179
- fulfillSeparately: "fulfill_separately",
180
- orderInterval: "order_interval",
181
- orderFrequency: "order_frequency",
182
- orderLimit: "order_limit",
183
- minimumQuantity: "minimum_quantity",
184
- billingTrialDays: "billing_trial_days",
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 ProductSubscription$ {
193
- /** @deprecated use `ProductSubscription$inboundSchema` instead. */
194
- export const inboundSchema = ProductSubscription$inboundSchema;
195
- /** @deprecated use `ProductSubscription$outboundSchema` instead. */
196
- export const outboundSchema = ProductSubscription$outboundSchema;
197
- /** @deprecated use `ProductSubscription$Outbound` instead. */
198
- export type Outbound = ProductSubscription$Outbound;
199
- }
200
-
201
- export function productSubscriptionToJSON(
202
- productSubscription: ProductSubscription,
203
- ): string {
204
- return JSON.stringify(
205
- ProductSubscription$outboundSchema.parse(productSubscription),
206
- );
207
- }
208
-
209
106
  export function productSubscriptionFromJSON(
210
107
  jsonString: string,
211
108
  ): SafeParseResult<ProductSubscription, SDKValidationError> {
@@ -51,61 +51,6 @@ export const ProductVideo$inboundSchema: z.ZodType<
51
51
  });
52
52
  });
53
53
 
54
- /** @internal */
55
- export type ProductVideo$Outbound = {
56
- title: string | null;
57
- alternate_text: string | null;
58
- sort_order: number;
59
- video_preview_url: string;
60
- video_stream_hls_url: string;
61
- video_stream_dash_url: string;
62
- image_thumbnail_url: string;
63
- video_duration: number;
64
- };
65
-
66
- /** @internal */
67
- export const ProductVideo$outboundSchema: z.ZodType<
68
- ProductVideo$Outbound,
69
- z.ZodTypeDef,
70
- ProductVideo
71
- > = z.object({
72
- title: z.nullable(z.string()),
73
- alternateText: z.nullable(z.string()),
74
- sortOrder: z.number().int(),
75
- videoPreviewUrl: z.string(),
76
- videoStreamHlsUrl: z.string(),
77
- videoStreamDashUrl: z.string(),
78
- imageThumbnailUrl: z.string(),
79
- videoDuration: z.number().int(),
80
- }).transform((v) => {
81
- return remap$(v, {
82
- alternateText: "alternate_text",
83
- sortOrder: "sort_order",
84
- videoPreviewUrl: "video_preview_url",
85
- videoStreamHlsUrl: "video_stream_hls_url",
86
- videoStreamDashUrl: "video_stream_dash_url",
87
- imageThumbnailUrl: "image_thumbnail_url",
88
- videoDuration: "video_duration",
89
- });
90
- });
91
-
92
- /**
93
- * @internal
94
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
95
- */
96
- export namespace ProductVideo$ {
97
- /** @deprecated use `ProductVideo$inboundSchema` instead. */
98
- export const inboundSchema = ProductVideo$inboundSchema;
99
- /** @deprecated use `ProductVideo$outboundSchema` instead. */
100
- export const outboundSchema = ProductVideo$outboundSchema;
101
- /** @deprecated use `ProductVideo$Outbound` instead. */
102
- export type Outbound = ProductVideo$Outbound;
103
- }
104
-
105
- export function productVideoToJSON(productVideo: ProductVideo): string {
106
- return JSON.stringify(ProductVideo$outboundSchema.parse(productVideo));
107
- }
108
-
109
54
  export function productVideoFromJSON(
110
55
  jsonString: string,
111
56
  ): SafeParseResult<ProductVideo, SDKValidationError> {