ce-storefront 0.18.3 → 0.20.0

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 (760) hide show
  1. package/README.md +2 -2
  2. package/esm/lib/config.d.ts +3 -3
  3. package/esm/lib/config.js +3 -3
  4. package/esm/models/components/anonymoususer.d.ts +0 -30
  5. package/esm/models/components/anonymoususer.d.ts.map +1 -1
  6. package/esm/models/components/anonymoususer.js +0 -41
  7. package/esm/models/components/anonymoususer.js.map +1 -1
  8. package/esm/models/components/appliedcoupon.d.ts +0 -53
  9. package/esm/models/components/appliedcoupon.d.ts.map +1 -1
  10. package/esm/models/components/appliedcoupon.js +0 -46
  11. package/esm/models/components/appliedcoupon.js.map +1 -1
  12. package/esm/models/components/appliedpromotion.d.ts +0 -51
  13. package/esm/models/components/appliedpromotion.d.ts.map +1 -1
  14. package/esm/models/components/appliedpromotion.js +0 -49
  15. package/esm/models/components/appliedpromotion.js.map +1 -1
  16. package/esm/models/components/associatedoption.d.ts +2 -19
  17. package/esm/models/components/associatedoption.d.ts.map +1 -1
  18. package/esm/models/components/associatedoption.js +2 -18
  19. package/esm/models/components/associatedoption.js.map +1 -1
  20. package/esm/models/components/banktransfer.d.ts +0 -70
  21. package/esm/models/components/banktransfer.d.ts.map +1 -1
  22. package/esm/models/components/banktransfer.js +0 -65
  23. package/esm/models/components/banktransfer.js.map +1 -1
  24. package/esm/models/components/booleanattribute.d.ts +0 -23
  25. package/esm/models/components/booleanattribute.d.ts.map +1 -1
  26. package/esm/models/components/booleanattribute.js +0 -22
  27. package/esm/models/components/booleanattribute.js.map +1 -1
  28. package/esm/models/components/cardpayment.d.ts +0 -92
  29. package/esm/models/components/cardpayment.d.ts.map +1 -1
  30. package/esm/models/components/cardpayment.js +0 -78
  31. package/esm/models/components/cardpayment.js.map +1 -1
  32. package/esm/models/components/cart.d.ts +6 -69
  33. package/esm/models/components/cart.d.ts.map +1 -1
  34. package/esm/models/components/cart.js +6 -107
  35. package/esm/models/components/cart.js.map +1 -1
  36. package/esm/models/components/cartbasedserviceabilitycheck.d.ts +0 -17
  37. package/esm/models/components/cartbasedserviceabilitycheck.d.ts.map +1 -1
  38. package/esm/models/components/cartbasedserviceabilitycheck.js +0 -25
  39. package/esm/models/components/cartbasedserviceabilitycheck.js.map +1 -1
  40. package/esm/models/components/cartitem.d.ts +3 -76
  41. package/esm/models/components/cartitem.d.ts.map +1 -1
  42. package/esm/models/components/cartitem.js +3 -96
  43. package/esm/models/components/cartitem.js.map +1 -1
  44. package/esm/models/components/category.d.ts +0 -25
  45. package/esm/models/components/category.d.ts.map +1 -1
  46. package/esm/models/components/category.js +0 -29
  47. package/esm/models/components/category.js.map +1 -1
  48. package/esm/models/components/collectinstore.d.ts +0 -23
  49. package/esm/models/components/collectinstore.d.ts.map +1 -1
  50. package/esm/models/components/collectinstore.js +0 -28
  51. package/esm/models/components/collectinstore.js.map +1 -1
  52. package/esm/models/components/collectinstorefulfillment.d.ts +0 -40
  53. package/esm/models/components/collectinstorefulfillment.d.ts.map +1 -1
  54. package/esm/models/components/collectinstorefulfillment.js +0 -41
  55. package/esm/models/components/collectinstorefulfillment.js.map +1 -1
  56. package/esm/models/components/collectinstorefulfillmentinput.d.ts +0 -17
  57. package/esm/models/components/collectinstorefulfillmentinput.d.ts.map +1 -1
  58. package/esm/models/components/collectinstorefulfillmentinput.js +0 -26
  59. package/esm/models/components/collectinstorefulfillmentinput.js.map +1 -1
  60. package/esm/models/components/colorattribute.d.ts +0 -43
  61. package/esm/models/components/colorattribute.d.ts.map +1 -1
  62. package/esm/models/components/colorattribute.js +0 -41
  63. package/esm/models/components/colorattribute.js.map +1 -1
  64. package/esm/models/components/coloroption.d.ts +0 -41
  65. package/esm/models/components/coloroption.d.ts.map +1 -1
  66. package/esm/models/components/coloroption.js +0 -39
  67. package/esm/models/components/coloroption.js.map +1 -1
  68. package/esm/models/components/currency.d.ts +0 -21
  69. package/esm/models/components/currency.d.ts.map +1 -1
  70. package/esm/models/components/currency.js +0 -20
  71. package/esm/models/components/currency.js.map +1 -1
  72. package/esm/models/components/customeraddress.d.ts +0 -35
  73. package/esm/models/components/customeraddress.d.ts.map +1 -1
  74. package/esm/models/components/customeraddress.js +0 -46
  75. package/esm/models/components/customeraddress.js.map +1 -1
  76. package/esm/models/components/customeraddressinput.d.ts +0 -17
  77. package/esm/models/components/customeraddressinput.d.ts.map +1 -1
  78. package/esm/models/components/customeraddressinput.js +0 -43
  79. package/esm/models/components/customeraddressinput.js.map +1 -1
  80. package/esm/models/components/customerloyalty.d.ts +0 -27
  81. package/esm/models/components/customerloyalty.d.ts.map +1 -1
  82. package/esm/models/components/customerloyalty.js +0 -38
  83. package/esm/models/components/customerloyalty.js.map +1 -1
  84. package/esm/models/components/customerreadyforreview.d.ts +0 -24
  85. package/esm/models/components/customerreadyforreview.d.ts.map +1 -1
  86. package/esm/models/components/customerreadyforreview.js +0 -32
  87. package/esm/models/components/customerreadyforreview.js.map +1 -1
  88. package/esm/models/components/customerreview.d.ts +0 -99
  89. package/esm/models/components/customerreview.d.ts.map +1 -1
  90. package/esm/models/components/customerreview.js +0 -121
  91. package/esm/models/components/customerreview.js.map +1 -1
  92. package/esm/models/components/dateattribute.d.ts +0 -23
  93. package/esm/models/components/dateattribute.d.ts.map +1 -1
  94. package/esm/models/components/dateattribute.js +0 -22
  95. package/esm/models/components/dateattribute.js.map +1 -1
  96. package/esm/models/components/deliveryfulfillment.d.ts +0 -42
  97. package/esm/models/components/deliveryfulfillment.d.ts.map +1 -1
  98. package/esm/models/components/deliveryfulfillment.js +0 -45
  99. package/esm/models/components/deliveryfulfillment.js.map +1 -1
  100. package/esm/models/components/deliveryfulfillmentinput.d.ts +0 -17
  101. package/esm/models/components/deliveryfulfillmentinput.d.ts.map +1 -1
  102. package/esm/models/components/deliveryfulfillmentinput.js +0 -27
  103. package/esm/models/components/deliveryfulfillmentinput.js.map +1 -1
  104. package/esm/models/components/discountbasedpromotion.d.ts +0 -62
  105. package/esm/models/components/discountbasedpromotion.d.ts.map +1 -1
  106. package/esm/models/components/discountbasedpromotion.js +0 -54
  107. package/esm/models/components/discountbasedpromotion.js.map +1 -1
  108. package/esm/models/components/fixedpricepromotion.d.ts +0 -42
  109. package/esm/models/components/fixedpricepromotion.d.ts.map +1 -1
  110. package/esm/models/components/fixedpricepromotion.js +0 -37
  111. package/esm/models/components/fixedpricepromotion.js.map +1 -1
  112. package/esm/models/components/freegoodspromotion.d.ts +0 -43
  113. package/esm/models/components/freegoodspromotion.d.ts.map +1 -1
  114. package/esm/models/components/freegoodspromotion.js +0 -39
  115. package/esm/models/components/freegoodspromotion.js.map +1 -1
  116. package/esm/models/components/fulfillmentitem.d.ts +0 -23
  117. package/esm/models/components/fulfillmentitem.d.ts.map +1 -1
  118. package/esm/models/components/fulfillmentitem.js +0 -29
  119. package/esm/models/components/fulfillmentitem.js.map +1 -1
  120. package/esm/models/components/fulfillmentiteminput.d.ts +0 -17
  121. package/esm/models/components/fulfillmentiteminput.d.ts.map +1 -1
  122. package/esm/models/components/fulfillmentiteminput.js +0 -26
  123. package/esm/models/components/fulfillmentiteminput.js.map +1 -1
  124. package/esm/models/components/fulfillmentpreference.d.ts +3 -26
  125. package/esm/models/components/fulfillmentpreference.d.ts.map +1 -1
  126. package/esm/models/components/fulfillmentpreference.js +3 -26
  127. package/esm/models/components/fulfillmentpreference.js.map +1 -1
  128. package/esm/models/components/fulfillmentpreferenceinput.d.ts +0 -17
  129. package/esm/models/components/fulfillmentpreferenceinput.d.ts.map +1 -1
  130. package/esm/models/components/fulfillmentpreferenceinput.js +3 -27
  131. package/esm/models/components/fulfillmentpreferenceinput.js.map +1 -1
  132. package/esm/models/components/generateotpwithemail.d.ts +0 -39
  133. package/esm/models/components/generateotpwithemail.d.ts.map +1 -1
  134. package/esm/models/components/generateotpwithemail.js +1 -39
  135. package/esm/models/components/generateotpwithemail.js.map +1 -1
  136. package/esm/models/components/generateotpwithphone.d.ts +0 -57
  137. package/esm/models/components/generateotpwithphone.d.ts.map +1 -1
  138. package/esm/models/components/generateotpwithphone.js +2 -55
  139. package/esm/models/components/generateotpwithphone.js.map +1 -1
  140. package/esm/models/components/index.d.ts +0 -3
  141. package/esm/models/components/index.d.ts.map +1 -1
  142. package/esm/models/components/index.js +0 -3
  143. package/esm/models/components/index.js.map +1 -1
  144. package/esm/models/components/item.d.ts +8 -73
  145. package/esm/models/components/item.d.ts.map +1 -1
  146. package/esm/models/components/item.js +8 -79
  147. package/esm/models/components/item.js.map +1 -1
  148. package/esm/models/components/juspayexpresscheckout.d.ts +0 -17
  149. package/esm/models/components/juspayexpresscheckout.d.ts.map +1 -1
  150. package/esm/models/components/juspayexpresscheckout.js +5 -28
  151. package/esm/models/components/juspayexpresscheckout.js.map +1 -1
  152. package/esm/models/components/juspayexpresscheckoutresponse.d.ts +0 -129
  153. package/esm/models/components/juspayexpresscheckoutresponse.d.ts.map +1 -1
  154. package/esm/models/components/juspayexpresscheckoutresponse.js +0 -147
  155. package/esm/models/components/juspayexpresscheckoutresponse.js.map +1 -1
  156. package/esm/models/components/juspayhypercheckout.d.ts +0 -33
  157. package/esm/models/components/juspayhypercheckout.d.ts.map +1 -1
  158. package/esm/models/components/juspayhypercheckout.js +1 -45
  159. package/esm/models/components/juspayhypercheckout.js.map +1 -1
  160. package/esm/models/components/juspayhypercheckoutresponse.d.ts +0 -125
  161. package/esm/models/components/juspayhypercheckoutresponse.d.ts.map +1 -1
  162. package/esm/models/components/juspayhypercheckoutresponse.js +0 -130
  163. package/esm/models/components/juspayhypercheckoutresponse.js.map +1 -1
  164. package/esm/models/components/juspaynetbanking.d.ts +2 -19
  165. package/esm/models/components/juspaynetbanking.d.ts.map +1 -1
  166. package/esm/models/components/juspaynetbanking.js +1 -39
  167. package/esm/models/components/juspaynetbanking.js.map +1 -1
  168. package/esm/models/components/juspaynewcard.d.ts +2 -39
  169. package/esm/models/components/juspaynewcard.d.ts.map +1 -1
  170. package/esm/models/components/juspaynewcard.js +2 -69
  171. package/esm/models/components/juspaynewcard.js.map +1 -1
  172. package/esm/models/components/juspaysavedcardtoken.d.ts +2 -39
  173. package/esm/models/components/juspaysavedcardtoken.d.ts.map +1 -1
  174. package/esm/models/components/juspaysavedcardtoken.js +2 -63
  175. package/esm/models/components/juspaysavedcardtoken.js.map +1 -1
  176. package/esm/models/components/juspayupicollect.d.ts +2 -19
  177. package/esm/models/components/juspayupicollect.d.ts.map +1 -1
  178. package/esm/models/components/juspayupicollect.js +1 -41
  179. package/esm/models/components/juspayupicollect.js.map +1 -1
  180. package/esm/models/components/juspayupiintent.d.ts +2 -19
  181. package/esm/models/components/juspayupiintent.d.ts.map +1 -1
  182. package/esm/models/components/juspayupiintent.js +1 -43
  183. package/esm/models/components/juspayupiintent.js.map +1 -1
  184. package/esm/models/components/lotbatchdetail.d.ts +0 -23
  185. package/esm/models/components/lotbatchdetail.d.ts.map +1 -1
  186. package/esm/models/components/lotbatchdetail.js +0 -29
  187. package/esm/models/components/lotbatchdetail.js.map +1 -1
  188. package/esm/models/components/multiselectattribute.d.ts +0 -23
  189. package/esm/models/components/multiselectattribute.d.ts.map +1 -1
  190. package/esm/models/components/multiselectattribute.js +0 -22
  191. package/esm/models/components/multiselectattribute.js.map +1 -1
  192. package/esm/models/components/netbankingpayment.d.ts +0 -69
  193. package/esm/models/components/netbankingpayment.d.ts.map +1 -1
  194. package/esm/models/components/netbankingpayment.js +0 -63
  195. package/esm/models/components/netbankingpayment.js.map +1 -1
  196. package/esm/models/components/notificationchannelpreferences.d.ts +0 -12
  197. package/esm/models/components/notificationchannelpreferences.d.ts.map +1 -1
  198. package/esm/models/components/notificationchannelpreferences.js +0 -11
  199. package/esm/models/components/notificationchannelpreferences.js.map +1 -1
  200. package/esm/models/components/notificationpreferences.d.ts +0 -12
  201. package/esm/models/components/notificationpreferences.d.ts.map +1 -1
  202. package/esm/models/components/notificationpreferences.js +0 -11
  203. package/esm/models/components/notificationpreferences.js.map +1 -1
  204. package/esm/models/components/numberattribute.d.ts +0 -23
  205. package/esm/models/components/numberattribute.d.ts.map +1 -1
  206. package/esm/models/components/numberattribute.js +0 -22
  207. package/esm/models/components/numberattribute.js.map +1 -1
  208. package/esm/models/components/order.d.ts +5 -202
  209. package/esm/models/components/order.d.ts.map +1 -1
  210. package/esm/models/components/order.js +5 -207
  211. package/esm/models/components/order.js.map +1 -1
  212. package/esm/models/components/orderdetail.d.ts +6 -204
  213. package/esm/models/components/orderdetail.d.ts.map +1 -1
  214. package/esm/models/components/orderdetail.js +6 -209
  215. package/esm/models/components/orderdetail.js.map +1 -1
  216. package/esm/models/components/orderitem.d.ts +2 -73
  217. package/esm/models/components/orderitem.d.ts.map +1 -1
  218. package/esm/models/components/orderitem.js +2 -93
  219. package/esm/models/components/orderitem.js.map +1 -1
  220. package/esm/models/components/orderlist.d.ts +1 -122
  221. package/esm/models/components/orderlist.d.ts.map +1 -1
  222. package/esm/models/components/orderlist.js +1 -101
  223. package/esm/models/components/orderlist.js.map +1 -1
  224. package/esm/models/components/orderpayment.d.ts +5 -22
  225. package/esm/models/components/orderpayment.d.ts.map +1 -1
  226. package/esm/models/components/orderpayment.js +5 -27
  227. package/esm/models/components/orderpayment.js.map +1 -1
  228. package/esm/models/components/ordershipment.d.ts +1 -76
  229. package/esm/models/components/ordershipment.d.ts.map +1 -1
  230. package/esm/models/components/ordershipment.js +1 -71
  231. package/esm/models/components/ordershipment.js.map +1 -1
  232. package/esm/models/components/pagination.d.ts +0 -23
  233. package/esm/models/components/pagination.d.ts.map +1 -1
  234. package/esm/models/components/pagination.js +0 -29
  235. package/esm/models/components/pagination.js.map +1 -1
  236. package/esm/models/components/partialcollectanddelivery.d.ts +1 -85
  237. package/esm/models/components/partialcollectanddelivery.d.ts.map +1 -1
  238. package/esm/models/components/partialcollectanddelivery.js +1 -96
  239. package/esm/models/components/partialcollectanddelivery.js.map +1 -1
  240. package/esm/models/components/partialcollectanddeliveryinput.d.ts +0 -47
  241. package/esm/models/components/partialcollectanddeliveryinput.d.ts.map +1 -1
  242. package/esm/models/components/partialcollectanddeliveryinput.js +1 -75
  243. package/esm/models/components/partialcollectanddeliveryinput.js.map +1 -1
  244. package/esm/models/components/paymentmethodpayload.d.ts +0 -17
  245. package/esm/models/components/paymentmethodpayload.d.ts.map +1 -1
  246. package/esm/models/components/paymentmethodpayload.js +2 -22
  247. package/esm/models/components/paymentmethodpayload.js.map +1 -1
  248. package/esm/models/components/payupaymentinfo.d.ts +0 -55
  249. package/esm/models/components/payupaymentinfo.d.ts.map +1 -1
  250. package/esm/models/components/payupaymentinfo.js +0 -58
  251. package/esm/models/components/payupaymentinfo.js.map +1 -1
  252. package/esm/models/components/pincode.d.ts +0 -23
  253. package/esm/models/components/pincode.d.ts.map +1 -1
  254. package/esm/models/components/pincode.js +0 -28
  255. package/esm/models/components/pincode.js.map +1 -1
  256. package/esm/models/components/pincodeserviceability.d.ts +0 -123
  257. package/esm/models/components/pincodeserviceability.d.ts.map +1 -1
  258. package/esm/models/components/pincodeserviceability.js +0 -130
  259. package/esm/models/components/pincodeserviceability.js.map +1 -1
  260. package/esm/models/components/product.d.ts +10 -74
  261. package/esm/models/components/product.d.ts.map +1 -1
  262. package/esm/models/components/product.js +10 -80
  263. package/esm/models/components/product.js.map +1 -1
  264. package/esm/models/components/productattribute.d.ts +7 -38
  265. package/esm/models/components/productattribute.d.ts.map +1 -1
  266. package/esm/models/components/productattribute.js +7 -39
  267. package/esm/models/components/productattribute.js.map +1 -1
  268. package/esm/models/components/productbundleitem.d.ts +8 -74
  269. package/esm/models/components/productbundleitem.d.ts.map +1 -1
  270. package/esm/models/components/productbundleitem.js +8 -80
  271. package/esm/models/components/productbundleitem.js.map +1 -1
  272. package/esm/models/components/productcategory.d.ts +1 -27
  273. package/esm/models/components/productcategory.d.ts.map +1 -1
  274. package/esm/models/components/productcategory.js +1 -32
  275. package/esm/models/components/productcategory.js.map +1 -1
  276. package/esm/models/components/productdetail.d.ts +13 -87
  277. package/esm/models/components/productdetail.d.ts.map +1 -1
  278. package/esm/models/components/productdetail.js +13 -94
  279. package/esm/models/components/productdetail.js.map +1 -1
  280. package/esm/models/components/productimage.d.ts +0 -26
  281. package/esm/models/components/productimage.d.ts.map +1 -1
  282. package/esm/models/components/productimage.js +0 -34
  283. package/esm/models/components/productimage.js.map +1 -1
  284. package/esm/models/components/productpricing.d.ts +0 -28
  285. package/esm/models/components/productpricing.d.ts.map +1 -1
  286. package/esm/models/components/productpricing.js +0 -39
  287. package/esm/models/components/productpricing.js.map +1 -1
  288. package/esm/models/components/productpromotion.d.ts +4 -59
  289. package/esm/models/components/productpromotion.d.ts.map +1 -1
  290. package/esm/models/components/productpromotion.js +4 -72
  291. package/esm/models/components/productpromotion.js.map +1 -1
  292. package/esm/models/components/productreview.d.ts +0 -110
  293. package/esm/models/components/productreview.d.ts.map +1 -1
  294. package/esm/models/components/productreview.js +0 -122
  295. package/esm/models/components/productreview.js.map +1 -1
  296. package/esm/models/components/productshipping.d.ts +0 -22
  297. package/esm/models/components/productshipping.d.ts.map +1 -1
  298. package/esm/models/components/productshipping.js +0 -28
  299. package/esm/models/components/productshipping.js.map +1 -1
  300. package/esm/models/components/productsubscription.d.ts +0 -70
  301. package/esm/models/components/productsubscription.d.ts.map +1 -1
  302. package/esm/models/components/productsubscription.js +0 -69
  303. package/esm/models/components/productsubscription.js.map +1 -1
  304. package/esm/models/components/productvideo.d.ts +0 -26
  305. package/esm/models/components/productvideo.d.ts.map +1 -1
  306. package/esm/models/components/productvideo.js +0 -35
  307. package/esm/models/components/productvideo.js.map +1 -1
  308. package/esm/models/components/savedpaymentmethod.d.ts +0 -172
  309. package/esm/models/components/savedpaymentmethod.d.ts.map +1 -1
  310. package/esm/models/components/savedpaymentmethod.js +0 -227
  311. package/esm/models/components/savedpaymentmethod.js.map +1 -1
  312. package/esm/models/components/searchproduct.d.ts +0 -17
  313. package/esm/models/components/searchproduct.d.ts.map +1 -1
  314. package/esm/models/components/searchproduct.js +0 -22
  315. package/esm/models/components/searchproduct.js.map +1 -1
  316. package/esm/models/components/security.d.ts +0 -17
  317. package/esm/models/components/security.d.ts.map +1 -1
  318. package/esm/models/components/security.js +0 -23
  319. package/esm/models/components/security.js.map +1 -1
  320. package/esm/models/components/seo.d.ts +0 -22
  321. package/esm/models/components/seo.d.ts.map +1 -1
  322. package/esm/models/components/seo.js +0 -22
  323. package/esm/models/components/seo.js.map +1 -1
  324. package/esm/models/components/shipmentitem.d.ts +0 -25
  325. package/esm/models/components/shipmentitem.d.ts.map +1 -1
  326. package/esm/models/components/shipmentitem.js +0 -32
  327. package/esm/models/components/shipmentitem.js.map +1 -1
  328. package/esm/models/components/singleselectattribute.d.ts +0 -23
  329. package/esm/models/components/singleselectattribute.d.ts.map +1 -1
  330. package/esm/models/components/singleselectattribute.js +0 -22
  331. package/esm/models/components/singleselectattribute.js.map +1 -1
  332. package/esm/models/components/singleselectoption.d.ts +0 -21
  333. package/esm/models/components/singleselectoption.d.ts.map +1 -1
  334. package/esm/models/components/singleselectoption.js +0 -20
  335. package/esm/models/components/singleselectoption.js.map +1 -1
  336. package/esm/models/components/textattribute.d.ts +0 -23
  337. package/esm/models/components/textattribute.d.ts.map +1 -1
  338. package/esm/models/components/textattribute.js +0 -22
  339. package/esm/models/components/textattribute.js.map +1 -1
  340. package/esm/models/components/updatecartitem.d.ts +0 -17
  341. package/esm/models/components/updatecartitem.d.ts.map +1 -1
  342. package/esm/models/components/updatecartitem.js +0 -26
  343. package/esm/models/components/updatecartitem.js.map +1 -1
  344. package/esm/models/components/upipayment.d.ts +0 -69
  345. package/esm/models/components/upipayment.d.ts.map +1 -1
  346. package/esm/models/components/upipayment.js +0 -63
  347. package/esm/models/components/upipayment.js.map +1 -1
  348. package/esm/models/components/user.d.ts +0 -68
  349. package/esm/models/components/user.d.ts.map +1 -1
  350. package/esm/models/components/user.js +0 -92
  351. package/esm/models/components/user.js.map +1 -1
  352. package/esm/models/components/variant.d.ts +6 -45
  353. package/esm/models/components/variant.d.ts.map +1 -1
  354. package/esm/models/components/variant.js +6 -53
  355. package/esm/models/components/variant.js.map +1 -1
  356. package/esm/models/components/variantdetail.d.ts +11 -86
  357. package/esm/models/components/variantdetail.d.ts.map +1 -1
  358. package/esm/models/components/variantdetail.js +11 -93
  359. package/esm/models/components/variantdetail.js.map +1 -1
  360. package/esm/models/components/variantoption.d.ts +0 -74
  361. package/esm/models/components/variantoption.d.ts.map +1 -1
  362. package/esm/models/components/variantoption.js +0 -67
  363. package/esm/models/components/variantoption.js.map +1 -1
  364. package/esm/models/components/volumebasedpromotion.d.ts +0 -62
  365. package/esm/models/components/volumebasedpromotion.d.ts.map +1 -1
  366. package/esm/models/components/volumebasedpromotion.js +0 -60
  367. package/esm/models/components/volumebasedpromotion.js.map +1 -1
  368. package/esm/models/components/walletpayment.d.ts +0 -69
  369. package/esm/models/components/walletpayment.d.ts.map +1 -1
  370. package/esm/models/components/walletpayment.js +0 -63
  371. package/esm/models/components/walletpayment.js.map +1 -1
  372. package/esm/models/errors/badrequest.d.ts +0 -38
  373. package/esm/models/errors/badrequest.d.ts.map +1 -1
  374. package/esm/models/errors/badrequest.js +0 -36
  375. package/esm/models/errors/badrequest.js.map +1 -1
  376. package/esm/models/errors/notfound.d.ts +0 -20
  377. package/esm/models/errors/notfound.d.ts.map +1 -1
  378. package/esm/models/errors/notfound.js +0 -19
  379. package/esm/models/errors/notfound.js.map +1 -1
  380. package/esm/models/errors/unauthorized.d.ts +0 -20
  381. package/esm/models/errors/unauthorized.d.ts.map +1 -1
  382. package/esm/models/errors/unauthorized.js +0 -19
  383. package/esm/models/errors/unauthorized.js.map +1 -1
  384. package/esm/models/operations/applycoupon.d.ts +0 -70
  385. package/esm/models/operations/applycoupon.d.ts.map +1 -1
  386. package/esm/models/operations/applycoupon.js +0 -83
  387. package/esm/models/operations/applycoupon.js.map +1 -1
  388. package/esm/models/operations/cancelorder.d.ts +0 -88
  389. package/esm/models/operations/cancelorder.d.ts.map +1 -1
  390. package/esm/models/operations/cancelorder.js +1 -103
  391. package/esm/models/operations/cancelorder.js.map +1 -1
  392. package/esm/models/operations/checkpincodeserviceability.d.ts +0 -55
  393. package/esm/models/operations/checkpincodeserviceability.d.ts.map +1 -1
  394. package/esm/models/operations/checkpincodeserviceability.js +0 -60
  395. package/esm/models/operations/checkpincodeserviceability.js.map +1 -1
  396. package/esm/models/operations/createaddress.d.ts +0 -70
  397. package/esm/models/operations/createaddress.d.ts.map +1 -1
  398. package/esm/models/operations/createaddress.js +0 -108
  399. package/esm/models/operations/createaddress.js.map +1 -1
  400. package/esm/models/operations/createcart.d.ts +0 -55
  401. package/esm/models/operations/createcart.d.ts.map +1 -1
  402. package/esm/models/operations/createcart.js +0 -57
  403. package/esm/models/operations/createcart.js.map +1 -1
  404. package/esm/models/operations/createcartaddress.d.ts +0 -100
  405. package/esm/models/operations/createcartaddress.d.ts.map +1 -1
  406. package/esm/models/operations/createcartaddress.js +0 -131
  407. package/esm/models/operations/createcartaddress.js.map +1 -1
  408. package/esm/models/operations/createorder.d.ts +0 -74
  409. package/esm/models/operations/createorder.d.ts.map +1 -1
  410. package/esm/models/operations/createorder.js +0 -93
  411. package/esm/models/operations/createorder.js.map +1 -1
  412. package/esm/models/operations/deleteaddress.d.ts +0 -35
  413. package/esm/models/operations/deleteaddress.d.ts.map +1 -1
  414. package/esm/models/operations/deleteaddress.js +0 -43
  415. package/esm/models/operations/deleteaddress.js.map +1 -1
  416. package/esm/models/operations/deletecart.d.ts +0 -35
  417. package/esm/models/operations/deletecart.d.ts.map +1 -1
  418. package/esm/models/operations/deletecart.js +0 -37
  419. package/esm/models/operations/deletecart.js.map +1 -1
  420. package/esm/models/operations/deleteusercart.d.ts +0 -35
  421. package/esm/models/operations/deleteusercart.d.ts.map +1 -1
  422. package/esm/models/operations/deleteusercart.js +0 -41
  423. package/esm/models/operations/deleteusercart.js.map +1 -1
  424. package/esm/models/operations/generateotp.d.ts +0 -71
  425. package/esm/models/operations/generateotp.d.ts.map +1 -1
  426. package/esm/models/operations/generateotp.js +0 -90
  427. package/esm/models/operations/generateotp.js.map +1 -1
  428. package/esm/models/operations/getaddressdetail.d.ts +0 -92
  429. package/esm/models/operations/getaddressdetail.d.ts.map +1 -1
  430. package/esm/models/operations/getaddressdetail.js +0 -112
  431. package/esm/models/operations/getaddressdetail.js.map +1 -1
  432. package/esm/models/operations/getanonymoustoken.d.ts +0 -57
  433. package/esm/models/operations/getanonymoustoken.d.ts.map +1 -1
  434. package/esm/models/operations/getanonymoustoken.js +0 -67
  435. package/esm/models/operations/getanonymoustoken.js.map +1 -1
  436. package/esm/models/operations/getcart.d.ts +0 -55
  437. package/esm/models/operations/getcart.d.ts.map +1 -1
  438. package/esm/models/operations/getcart.js +0 -56
  439. package/esm/models/operations/getcart.js.map +1 -1
  440. package/esm/models/operations/getfulfillmentoptions.d.ts +0 -82
  441. package/esm/models/operations/getfulfillmentoptions.d.ts.map +1 -1
  442. package/esm/models/operations/getfulfillmentoptions.js +0 -81
  443. package/esm/models/operations/getfulfillmentoptions.js.map +1 -1
  444. package/esm/models/operations/getloyaltydetails.d.ts +0 -56
  445. package/esm/models/operations/getloyaltydetails.d.ts.map +1 -1
  446. package/esm/models/operations/getloyaltydetails.js +0 -65
  447. package/esm/models/operations/getloyaltydetails.js.map +1 -1
  448. package/esm/models/operations/getorderdetail.d.ts +0 -55
  449. package/esm/models/operations/getorderdetail.d.ts.map +1 -1
  450. package/esm/models/operations/getorderdetail.js +0 -60
  451. package/esm/models/operations/getorderdetail.js.map +1 -1
  452. package/esm/models/operations/getpaymentstatus.d.ts +0 -80
  453. package/esm/models/operations/getpaymentstatus.d.ts.map +1 -1
  454. package/esm/models/operations/getpaymentstatus.js +0 -82
  455. package/esm/models/operations/getpaymentstatus.js.map +1 -1
  456. package/esm/models/operations/getproductdetail.d.ts +0 -55
  457. package/esm/models/operations/getproductdetail.d.ts.map +1 -1
  458. package/esm/models/operations/getproductdetail.js +0 -63
  459. package/esm/models/operations/getproductdetail.js.map +1 -1
  460. package/esm/models/operations/getusercart.d.ts +0 -55
  461. package/esm/models/operations/getusercart.d.ts.map +1 -1
  462. package/esm/models/operations/getusercart.js +0 -60
  463. package/esm/models/operations/getusercart.js.map +1 -1
  464. package/esm/models/operations/getuserdetail.d.ts +0 -55
  465. package/esm/models/operations/getuserdetail.d.ts.map +1 -1
  466. package/esm/models/operations/getuserdetail.js +0 -56
  467. package/esm/models/operations/getuserdetail.js.map +1 -1
  468. package/esm/models/operations/getvariantdetail.d.ts +0 -55
  469. package/esm/models/operations/getvariantdetail.d.ts.map +1 -1
  470. package/esm/models/operations/getvariantdetail.js +0 -65
  471. package/esm/models/operations/getvariantdetail.js.map +1 -1
  472. package/esm/models/operations/listaddresses.d.ts +0 -93
  473. package/esm/models/operations/listaddresses.d.ts.map +1 -1
  474. package/esm/models/operations/listaddresses.js +0 -114
  475. package/esm/models/operations/listaddresses.js.map +1 -1
  476. package/esm/models/operations/listcategories.d.ts +0 -56
  477. package/esm/models/operations/listcategories.d.ts.map +1 -1
  478. package/esm/models/operations/listcategories.js +0 -68
  479. package/esm/models/operations/listcategories.js.map +1 -1
  480. package/esm/models/operations/listcountrypincodes.d.ts +0 -55
  481. package/esm/models/operations/listcountrypincodes.d.ts.map +1 -1
  482. package/esm/models/operations/listcountrypincodes.js +0 -63
  483. package/esm/models/operations/listcountrypincodes.js.map +1 -1
  484. package/esm/models/operations/listcrosssellproducts.d.ts +0 -56
  485. package/esm/models/operations/listcrosssellproducts.d.ts.map +1 -1
  486. package/esm/models/operations/listcrosssellproducts.js +0 -67
  487. package/esm/models/operations/listcrosssellproducts.js.map +1 -1
  488. package/esm/models/operations/listorders.d.ts +0 -56
  489. package/esm/models/operations/listorders.d.ts.map +1 -1
  490. package/esm/models/operations/listorders.js +0 -66
  491. package/esm/models/operations/listorders.js.map +1 -1
  492. package/esm/models/operations/listordershipments.d.ts +0 -55
  493. package/esm/models/operations/listordershipments.d.ts.map +1 -1
  494. package/esm/models/operations/listordershipments.js +0 -60
  495. package/esm/models/operations/listordershipments.js.map +1 -1
  496. package/esm/models/operations/listproductreviews.d.ts +0 -57
  497. package/esm/models/operations/listproductreviews.d.ts.map +1 -1
  498. package/esm/models/operations/listproductreviews.js +0 -73
  499. package/esm/models/operations/listproductreviews.js.map +1 -1
  500. package/esm/models/operations/listproducts.d.ts +0 -56
  501. package/esm/models/operations/listproducts.d.ts.map +1 -1
  502. package/esm/models/operations/listproducts.js +0 -70
  503. package/esm/models/operations/listproducts.js.map +1 -1
  504. package/esm/models/operations/listproductvariants.d.ts +0 -55
  505. package/esm/models/operations/listproductvariants.d.ts.map +1 -1
  506. package/esm/models/operations/listproductvariants.js +0 -63
  507. package/esm/models/operations/listproductvariants.js.map +1 -1
  508. package/esm/models/operations/listsavedpaymentmethods.d.ts +0 -55
  509. package/esm/models/operations/listsavedpaymentmethods.d.ts.map +1 -1
  510. package/esm/models/operations/listsavedpaymentmethods.js +0 -65
  511. package/esm/models/operations/listsavedpaymentmethods.js.map +1 -1
  512. package/esm/models/operations/listsimilarproducts.d.ts +0 -56
  513. package/esm/models/operations/listsimilarproducts.d.ts.map +1 -1
  514. package/esm/models/operations/listsimilarproducts.js +0 -67
  515. package/esm/models/operations/listsimilarproducts.js.map +1 -1
  516. package/esm/models/operations/listskus.d.ts +0 -56
  517. package/esm/models/operations/listskus.d.ts.map +1 -1
  518. package/esm/models/operations/listskus.js +0 -69
  519. package/esm/models/operations/listskus.js.map +1 -1
  520. package/esm/models/operations/listupsellproducts.d.ts +0 -56
  521. package/esm/models/operations/listupsellproducts.d.ts.map +1 -1
  522. package/esm/models/operations/listupsellproducts.js +0 -67
  523. package/esm/models/operations/listupsellproducts.js.map +1 -1
  524. package/esm/models/operations/listuserreviews.d.ts +0 -56
  525. package/esm/models/operations/listuserreviews.d.ts.map +1 -1
  526. package/esm/models/operations/listuserreviews.js +0 -66
  527. package/esm/models/operations/listuserreviews.js.map +1 -1
  528. package/esm/models/operations/loginwithemail.d.ts +0 -71
  529. package/esm/models/operations/loginwithemail.d.ts.map +1 -1
  530. package/esm/models/operations/loginwithemail.js +0 -91
  531. package/esm/models/operations/loginwithemail.js.map +1 -1
  532. package/esm/models/operations/loginwithphone.d.ts +0 -71
  533. package/esm/models/operations/loginwithphone.d.ts.map +1 -1
  534. package/esm/models/operations/loginwithphone.js +0 -93
  535. package/esm/models/operations/loginwithphone.js.map +1 -1
  536. package/esm/models/operations/loginwithwhatsapp.d.ts +0 -71
  537. package/esm/models/operations/loginwithwhatsapp.d.ts.map +1 -1
  538. package/esm/models/operations/loginwithwhatsapp.js +0 -93
  539. package/esm/models/operations/loginwithwhatsapp.js.map +1 -1
  540. package/esm/models/operations/logout.d.ts +0 -42
  541. package/esm/models/operations/logout.d.ts.map +1 -1
  542. package/esm/models/operations/logout.js +0 -45
  543. package/esm/models/operations/logout.js.map +1 -1
  544. package/esm/models/operations/redeemloyaltypoints.d.ts +0 -70
  545. package/esm/models/operations/redeemloyaltypoints.d.ts.map +1 -1
  546. package/esm/models/operations/redeemloyaltypoints.js +0 -83
  547. package/esm/models/operations/redeemloyaltypoints.js.map +1 -1
  548. package/esm/models/operations/refreshtoken.d.ts +0 -56
  549. package/esm/models/operations/refreshtoken.d.ts.map +1 -1
  550. package/esm/models/operations/refreshtoken.js +0 -66
  551. package/esm/models/operations/refreshtoken.js.map +1 -1
  552. package/esm/models/operations/removecoupon.d.ts +0 -55
  553. package/esm/models/operations/removecoupon.d.ts.map +1 -1
  554. package/esm/models/operations/removecoupon.js +0 -56
  555. package/esm/models/operations/removecoupon.js.map +1 -1
  556. package/esm/models/operations/removeloyaltypoints.d.ts +0 -55
  557. package/esm/models/operations/removeloyaltypoints.d.ts.map +1 -1
  558. package/esm/models/operations/removeloyaltypoints.js +0 -56
  559. package/esm/models/operations/removeloyaltypoints.js.map +1 -1
  560. package/esm/models/operations/retryorderpayment.d.ts +2 -89
  561. package/esm/models/operations/retryorderpayment.d.ts.map +1 -1
  562. package/esm/models/operations/retryorderpayment.js +2 -114
  563. package/esm/models/operations/retryorderpayment.js.map +1 -1
  564. package/esm/models/operations/searchproducts.d.ts +0 -84
  565. package/esm/models/operations/searchproducts.d.ts.map +1 -1
  566. package/esm/models/operations/searchproducts.js +0 -89
  567. package/esm/models/operations/searchproducts.js.map +1 -1
  568. package/esm/models/operations/updateaddressdetail.d.ts +0 -70
  569. package/esm/models/operations/updateaddressdetail.d.ts.map +1 -1
  570. package/esm/models/operations/updateaddressdetail.js +0 -110
  571. package/esm/models/operations/updateaddressdetail.js.map +1 -1
  572. package/esm/models/operations/updatecart.d.ts +0 -55
  573. package/esm/models/operations/updatecart.d.ts.map +1 -1
  574. package/esm/models/operations/updatecart.js +0 -61
  575. package/esm/models/operations/updatecart.js.map +1 -1
  576. package/esm/models/operations/updatefulfillmentpreference.d.ts +0 -55
  577. package/esm/models/operations/updatefulfillmentpreference.d.ts.map +1 -1
  578. package/esm/models/operations/updatefulfillmentpreference.js +0 -61
  579. package/esm/models/operations/updatefulfillmentpreference.js.map +1 -1
  580. package/esm/models/operations/updateuser.d.ts +0 -55
  581. package/esm/models/operations/updateuser.d.ts.map +1 -1
  582. package/esm/models/operations/updateuser.js +0 -61
  583. package/esm/models/operations/updateuser.js.map +1 -1
  584. package/esm/models/operations/verifyotp.d.ts +0 -85
  585. package/esm/models/operations/verifyotp.d.ts.map +1 -1
  586. package/esm/models/operations/verifyotp.js +1 -84
  587. package/esm/models/operations/verifyotp.js.map +1 -1
  588. package/examples/package-lock.json +1 -1
  589. package/jsr.json +1 -1
  590. package/package.json +1 -1
  591. package/src/lib/config.ts +3 -3
  592. package/src/models/components/anonymoususer.ts +0 -65
  593. package/src/models/components/appliedcoupon.ts +0 -67
  594. package/src/models/components/appliedpromotion.ts +0 -77
  595. package/src/models/components/associatedoption.ts +1 -41
  596. package/src/models/components/banktransfer.ts +0 -93
  597. package/src/models/components/booleanattribute.ts +0 -43
  598. package/src/models/components/cardpayment.ts +0 -108
  599. package/src/models/components/cart.ts +3 -177
  600. package/src/models/components/cartbasedserviceabilitycheck.ts +0 -41
  601. package/src/models/components/cartitem.ts +0 -146
  602. package/src/models/components/category.ts +0 -48
  603. package/src/models/components/collectinstore.ts +0 -45
  604. package/src/models/components/collectinstorefulfillment.ts +0 -64
  605. package/src/models/components/collectinstorefulfillmentinput.ts +0 -42
  606. package/src/models/components/colorattribute.ts +0 -76
  607. package/src/models/components/coloroption.ts +0 -68
  608. package/src/models/components/currency.ts +0 -35
  609. package/src/models/components/customeraddress.ts +0 -77
  610. package/src/models/components/customeraddressinput.ts +0 -59
  611. package/src/models/components/customerloyalty.ts +0 -61
  612. package/src/models/components/customerreadyforreview.ts +0 -54
  613. package/src/models/components/customerreview.ts +0 -208
  614. package/src/models/components/dateattribute.ts +0 -39
  615. package/src/models/components/deliveryfulfillment.ts +0 -71
  616. package/src/models/components/deliveryfulfillmentinput.ts +0 -43
  617. package/src/models/components/discountbasedpromotion.ts +0 -81
  618. package/src/models/components/fixedpricepromotion.ts +0 -58
  619. package/src/models/components/freegoodspromotion.ts +0 -61
  620. package/src/models/components/fulfillmentitem.ts +0 -48
  621. package/src/models/components/fulfillmentiteminput.ts +0 -42
  622. package/src/models/components/fulfillmentpreference.ts +0 -59
  623. package/src/models/components/fulfillmentpreferenceinput.ts +0 -51
  624. package/src/models/components/generateotpwithemail.ts +1 -58
  625. package/src/models/components/generateotpwithphone.ts +2 -75
  626. package/src/models/components/index.ts +0 -3
  627. package/src/models/components/item.ts +1 -128
  628. package/src/models/components/juspayexpresscheckout.ts +0 -44
  629. package/src/models/components/juspayexpresscheckoutresponse.ts +0 -246
  630. package/src/models/components/juspayhypercheckout.ts +1 -63
  631. package/src/models/components/juspayhypercheckoutresponse.ts +0 -220
  632. package/src/models/components/juspaynetbanking.ts +3 -57
  633. package/src/models/components/juspaynewcard.ts +4 -92
  634. package/src/models/components/juspaysavedcardtoken.ts +4 -87
  635. package/src/models/components/juspayupicollect.ts +3 -59
  636. package/src/models/components/juspayupiintent.ts +3 -61
  637. package/src/models/components/lotbatchdetail.ts +0 -46
  638. package/src/models/components/multiselectattribute.ts +0 -43
  639. package/src/models/components/netbankingpayment.ts +0 -94
  640. package/src/models/components/notificationchannelpreferences.ts +0 -15
  641. package/src/models/components/notificationpreferences.ts +0 -15
  642. package/src/models/components/numberattribute.ts +0 -41
  643. package/src/models/components/order.ts +2 -327
  644. package/src/models/components/orderdetail.ts +3 -346
  645. package/src/models/components/orderitem.ts +0 -144
  646. package/src/models/components/orderlist.ts +1 -161
  647. package/src/models/components/orderpayment.ts +4 -64
  648. package/src/models/components/ordershipment.ts +1 -110
  649. package/src/models/components/pagination.ts +0 -46
  650. package/src/models/components/partialcollectanddelivery.ts +0 -165
  651. package/src/models/components/partialcollectanddeliveryinput.ts +0 -133
  652. package/src/models/components/paymentmethodpayload.ts +0 -38
  653. package/src/models/components/payupaymentinfo.ts +0 -103
  654. package/src/models/components/pincode.ts +0 -45
  655. package/src/models/components/pincodeserviceability.ts +0 -203
  656. package/src/models/components/product.ts +4 -147
  657. package/src/models/components/productattribute.ts +2 -90
  658. package/src/models/components/productbundleitem.ts +1 -137
  659. package/src/models/components/productcategory.ts +1 -59
  660. package/src/models/components/productdetail.ts +6 -180
  661. package/src/models/components/productimage.ts +0 -54
  662. package/src/models/components/productpricing.ts +0 -61
  663. package/src/models/components/productpromotion.ts +0 -131
  664. package/src/models/components/productreview.ts +0 -194
  665. package/src/models/components/productshipping.ts +0 -46
  666. package/src/models/components/productsubscription.ts +0 -103
  667. package/src/models/components/productvideo.ts +0 -55
  668. package/src/models/components/savedpaymentmethod.ts +0 -362
  669. package/src/models/components/searchproduct.ts +0 -38
  670. package/src/models/components/security.ts +0 -39
  671. package/src/models/components/seo.ts +0 -34
  672. package/src/models/components/shipmentitem.ts +0 -51
  673. package/src/models/components/singleselectattribute.ts +0 -43
  674. package/src/models/components/singleselectoption.ts +0 -39
  675. package/src/models/components/textattribute.ts +0 -39
  676. package/src/models/components/updatecartitem.ts +0 -42
  677. package/src/models/components/upipayment.ts +0 -90
  678. package/src/models/components/user.ts +0 -131
  679. package/src/models/components/variant.ts +1 -94
  680. package/src/models/components/variantdetail.ts +4 -168
  681. package/src/models/components/variantoption.ts +0 -107
  682. package/src/models/components/volumebasedpromotion.ts +0 -96
  683. package/src/models/components/walletpayment.ts +0 -90
  684. package/src/models/errors/badrequest.ts +0 -62
  685. package/src/models/errors/notfound.ts +0 -33
  686. package/src/models/errors/unauthorized.ts +0 -33
  687. package/src/models/operations/applycoupon.ts +0 -147
  688. package/src/models/operations/cancelorder.ts +1 -169
  689. package/src/models/operations/checkpincodeserviceability.ts +0 -119
  690. package/src/models/operations/createaddress.ts +0 -172
  691. package/src/models/operations/createcart.ts +0 -107
  692. package/src/models/operations/createcartaddress.ts +0 -225
  693. package/src/models/operations/createorder.ts +0 -162
  694. package/src/models/operations/deleteaddress.ts +0 -75
  695. package/src/models/operations/deletecart.ts +0 -69
  696. package/src/models/operations/deleteusercart.ts +0 -73
  697. package/src/models/operations/generateotp.ts +0 -155
  698. package/src/models/operations/getaddressdetail.ts +0 -195
  699. package/src/models/operations/getanonymoustoken.ts +0 -117
  700. package/src/models/operations/getcart.ts +0 -102
  701. package/src/models/operations/getfulfillmentoptions.ts +0 -143
  702. package/src/models/operations/getloyaltydetails.ts +0 -118
  703. package/src/models/operations/getorderdetail.ts +0 -110
  704. package/src/models/operations/getpaymentstatus.ts +0 -139
  705. package/src/models/operations/getproductdetail.ts +0 -115
  706. package/src/models/operations/getusercart.ts +0 -110
  707. package/src/models/operations/getuserdetail.ts +0 -106
  708. package/src/models/operations/getvariantdetail.ts +0 -117
  709. package/src/models/operations/listaddresses.ts +0 -196
  710. package/src/models/operations/listcategories.ts +0 -119
  711. package/src/models/operations/listcountrypincodes.ts +0 -115
  712. package/src/models/operations/listcrosssellproducts.ts +0 -123
  713. package/src/models/operations/listorders.ts +0 -117
  714. package/src/models/operations/listordershipments.ts +0 -112
  715. package/src/models/operations/listproductreviews.ts +0 -127
  716. package/src/models/operations/listproducts.ts +0 -121
  717. package/src/models/operations/listproductvariants.ts +0 -115
  718. package/src/models/operations/listsavedpaymentmethods.ts +0 -121
  719. package/src/models/operations/listsimilarproducts.ts +0 -120
  720. package/src/models/operations/listskus.ts +0 -118
  721. package/src/models/operations/listupsellproducts.ts +0 -120
  722. package/src/models/operations/listuserreviews.ts +0 -121
  723. package/src/models/operations/loginwithemail.ts +0 -156
  724. package/src/models/operations/loginwithphone.ts +0 -158
  725. package/src/models/operations/loginwithwhatsapp.ts +0 -160
  726. package/src/models/operations/logout.ts +0 -79
  727. package/src/models/operations/redeemloyaltypoints.ts +0 -149
  728. package/src/models/operations/refreshtoken.ts +0 -117
  729. package/src/models/operations/removecoupon.ts +0 -106
  730. package/src/models/operations/removeloyaltypoints.ts +0 -108
  731. package/src/models/operations/retryorderpayment.ts +4 -205
  732. package/src/models/operations/searchproducts.ts +0 -156
  733. package/src/models/operations/updateaddressdetail.ts +0 -178
  734. package/src/models/operations/updatecart.ts +0 -111
  735. package/src/models/operations/updatefulfillmentpreference.ts +0 -121
  736. package/src/models/operations/updateuser.ts +0 -111
  737. package/src/models/operations/verifyotp.ts +1 -138
  738. package/docs/sdks/auth/README.md +0 -874
  739. package/docs/sdks/carts/README.md +0 -1030
  740. package/docs/sdks/catalog/README.md +0 -876
  741. package/docs/sdks/common/README.md +0 -87
  742. package/docs/sdks/customers/README.md +0 -714
  743. package/docs/sdks/orders/README.md +0 -583
  744. package/docs/sdks/shipping/README.md +0 -169
  745. package/esm/models/components/juspaypaymentgatewayparams.d.ts +0 -115
  746. package/esm/models/components/juspaypaymentgatewayparams.d.ts.map +0 -1
  747. package/esm/models/components/juspaypaymentgatewayparams.js +0 -98
  748. package/esm/models/components/juspaypaymentgatewayparams.js.map +0 -1
  749. package/esm/models/components/paymentgatewayparams.d.ts +0 -38
  750. package/esm/models/components/paymentgatewayparams.d.ts.map +0 -1
  751. package/esm/models/components/paymentgatewayparams.js +0 -43
  752. package/esm/models/components/paymentgatewayparams.js.map +0 -1
  753. package/esm/models/components/payupaymentgatewayparams.d.ts +0 -36
  754. package/esm/models/components/payupaymentgatewayparams.d.ts.map +0 -1
  755. package/esm/models/components/payupaymentgatewayparams.js +0 -44
  756. package/esm/models/components/payupaymentgatewayparams.js.map +0 -1
  757. package/examples/README.md +0 -31
  758. package/src/models/components/juspaypaymentgatewayparams.ts +0 -181
  759. package/src/models/components/paymentgatewayparams.ts +0 -99
  760. package/src/models/components/payupaymentgatewayparams.ts +0 -86
@@ -1,583 +0,0 @@
1
- # Orders
2
- (*orders*)
3
-
4
- ## Overview
5
-
6
- ### Available Operations
7
-
8
- * [createOrder](#createorder) - Create order
9
- * [listOrders](#listorders) - Retrieve all orders
10
- * [getOrderDetail](#getorderdetail) - Retrieve order detail
11
- * [cancelOrder](#cancelorder) - Cancel order
12
- * [getPaymentStatus](#getpaymentstatus) - Retrieve payment status
13
- * [retryOrderPayment](#retryorderpayment) - Retry payment
14
- * [listOrderShipments](#listordershipments) - Retrieve order shipments
15
-
16
- ## createOrder
17
-
18
- Create new order
19
-
20
- API reference for the create-order operation
21
- <https://llm-docs.commercengine.io/storefront/operations/create-order>
22
-
23
- ### Example Usage
24
-
25
- <!-- UsageSnippet language="typescript" operationID="create-order" method="post" path="/orders" -->
26
- ```typescript
27
- import { CeStorefront } from "ce-storefront";
28
-
29
- const ceStorefront = new CeStorefront({
30
- authorization: "<YOUR_BEARER_TOKEN_HERE>",
31
- });
32
-
33
- async function run() {
34
- const result = await ceStorefront.orders.createOrder({
35
- cartId: "<id>",
36
- });
37
-
38
- console.log(result);
39
- }
40
-
41
- run();
42
- ```
43
-
44
- ### Standalone function
45
-
46
- The standalone function version of this method:
47
-
48
- ```typescript
49
- import { CeStorefrontCore } from "ce-storefront/core.js";
50
- import { ordersCreateOrder } from "ce-storefront/funcs/ordersCreateOrder.js";
51
-
52
- // Use `CeStorefrontCore` for best tree-shaking performance.
53
- // You can create one instance of it to use across an application.
54
- const ceStorefront = new CeStorefrontCore({
55
- authorization: "<YOUR_BEARER_TOKEN_HERE>",
56
- });
57
-
58
- async function run() {
59
- const res = await ordersCreateOrder(ceStorefront, {
60
- cartId: "<id>",
61
- });
62
- if (res.ok) {
63
- const { value: result } = res;
64
- console.log(result);
65
- } else {
66
- console.log("ordersCreateOrder failed:", res.error);
67
- }
68
- }
69
-
70
- run();
71
- ```
72
-
73
- ### Parameters
74
-
75
- | Parameter | Type | Required | Description |
76
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
77
- | `request` | [operations.CreateOrderRequestBody](../../models/operations/createorderrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
78
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
79
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
80
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
81
-
82
- ### Response
83
-
84
- **Promise\<[operations.CreateOrderResponseBody](../../models/operations/createorderresponsebody.md)\>**
85
-
86
- ### Errors
87
-
88
- | Error Type | Status Code | Content Type |
89
- | ------------------- | ------------------- | ------------------- |
90
- | errors.BadRequest | 400 | application/json |
91
- | errors.Unauthorized | 401 | application/json |
92
- | errors.CeError | 4XX, 5XX | \*/\* |
93
-
94
- ## listOrders
95
-
96
- list customers all orders
97
-
98
- API reference for the list-orders operation
99
- <https://llm-docs.commercengine.io/storefront/operations/list-orders>
100
-
101
- ### Example Usage
102
-
103
- <!-- UsageSnippet language="typescript" operationID="list-orders" method="get" path="/orders" -->
104
- ```typescript
105
- import { CeStorefront } from "ce-storefront";
106
-
107
- const ceStorefront = new CeStorefront({
108
- authorization: "<YOUR_BEARER_TOKEN_HERE>",
109
- });
110
-
111
- async function run() {
112
- const result = await ceStorefront.orders.listOrders({
113
- sortBy: "{\"country\":\"asc\",\"city\":\"asc\",\"population\":\"desc\"}",
114
- userId: "<id>",
115
- });
116
-
117
- console.log(result);
118
- }
119
-
120
- run();
121
- ```
122
-
123
- ### Standalone function
124
-
125
- The standalone function version of this method:
126
-
127
- ```typescript
128
- import { CeStorefrontCore } from "ce-storefront/core.js";
129
- import { ordersListOrders } from "ce-storefront/funcs/ordersListOrders.js";
130
-
131
- // Use `CeStorefrontCore` for best tree-shaking performance.
132
- // You can create one instance of it to use across an application.
133
- const ceStorefront = new CeStorefrontCore({
134
- authorization: "<YOUR_BEARER_TOKEN_HERE>",
135
- });
136
-
137
- async function run() {
138
- const res = await ordersListOrders(ceStorefront, {
139
- sortBy: "{\"country\":\"asc\",\"city\":\"asc\",\"population\":\"desc\"}",
140
- userId: "<id>",
141
- });
142
- if (res.ok) {
143
- const { value: result } = res;
144
- console.log(result);
145
- } else {
146
- console.log("ordersListOrders failed:", res.error);
147
- }
148
- }
149
-
150
- run();
151
- ```
152
-
153
- ### Parameters
154
-
155
- | Parameter | Type | Required | Description |
156
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
157
- | `request` | [operations.ListOrdersRequest](../../models/operations/listordersrequest.md) | :heavy_check_mark: | The request object to use for the request. |
158
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
159
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
160
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
161
-
162
- ### Response
163
-
164
- **Promise\<[operations.ListOrdersResponseBody](../../models/operations/listordersresponsebody.md)\>**
165
-
166
- ### Errors
167
-
168
- | Error Type | Status Code | Content Type |
169
- | -------------- | -------------- | -------------- |
170
- | errors.CeError | 4XX, 5XX | \*/\* |
171
-
172
- ## getOrderDetail
173
-
174
- view particular order details
175
-
176
- API reference for the get-order-detail operation
177
- <https://llm-docs.commercengine.io/storefront/operations/get-order-detail>
178
-
179
- ### Example Usage
180
-
181
- <!-- UsageSnippet language="typescript" operationID="get-order-detail" method="get" path="/orders/{order_number}" -->
182
- ```typescript
183
- import { CeStorefront } from "ce-storefront";
184
-
185
- const ceStorefront = new CeStorefront({
186
- authorization: "<YOUR_BEARER_TOKEN_HERE>",
187
- });
188
-
189
- async function run() {
190
- const result = await ceStorefront.orders.getOrderDetail({
191
- orderNumber: "<value>",
192
- });
193
-
194
- console.log(result);
195
- }
196
-
197
- run();
198
- ```
199
-
200
- ### Standalone function
201
-
202
- The standalone function version of this method:
203
-
204
- ```typescript
205
- import { CeStorefrontCore } from "ce-storefront/core.js";
206
- import { ordersGetOrderDetail } from "ce-storefront/funcs/ordersGetOrderDetail.js";
207
-
208
- // Use `CeStorefrontCore` for best tree-shaking performance.
209
- // You can create one instance of it to use across an application.
210
- const ceStorefront = new CeStorefrontCore({
211
- authorization: "<YOUR_BEARER_TOKEN_HERE>",
212
- });
213
-
214
- async function run() {
215
- const res = await ordersGetOrderDetail(ceStorefront, {
216
- orderNumber: "<value>",
217
- });
218
- if (res.ok) {
219
- const { value: result } = res;
220
- console.log(result);
221
- } else {
222
- console.log("ordersGetOrderDetail failed:", res.error);
223
- }
224
- }
225
-
226
- run();
227
- ```
228
-
229
- ### Parameters
230
-
231
- | Parameter | Type | Required | Description |
232
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
233
- | `request` | [operations.GetOrderDetailRequest](../../models/operations/getorderdetailrequest.md) | :heavy_check_mark: | The request object to use for the request. |
234
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
235
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
236
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
237
-
238
- ### Response
239
-
240
- **Promise\<[operations.GetOrderDetailResponseBody](../../models/operations/getorderdetailresponsebody.md)\>**
241
-
242
- ### Errors
243
-
244
- | Error Type | Status Code | Content Type |
245
- | ------------------- | ------------------- | ------------------- |
246
- | errors.Unauthorized | 401 | application/json |
247
- | errors.NotFound | 404 | application/json |
248
- | errors.CeError | 4XX, 5XX | \*/\* |
249
-
250
- ## cancelOrder
251
-
252
- Order cancellation
253
-
254
- API reference for the cancel-order operation
255
- <https://llm-docs.commercengine.io/storefront/operations/cancel-order>
256
-
257
- ### Example Usage
258
-
259
- <!-- UsageSnippet language="typescript" operationID="cancel-order" method="post" path="/orders/{order_number}/cancel" -->
260
- ```typescript
261
- import { CeStorefront } from "ce-storefront";
262
-
263
- const ceStorefront = new CeStorefront({
264
- authorization: "<YOUR_BEARER_TOKEN_HERE>",
265
- });
266
-
267
- async function run() {
268
- const result = await ceStorefront.orders.cancelOrder({
269
- orderNumber: "<value>",
270
- requestBody: {
271
- cancellationReason: "<value>",
272
- refundMode: "original_payment_mode",
273
- },
274
- });
275
-
276
- console.log(result);
277
- }
278
-
279
- run();
280
- ```
281
-
282
- ### Standalone function
283
-
284
- The standalone function version of this method:
285
-
286
- ```typescript
287
- import { CeStorefrontCore } from "ce-storefront/core.js";
288
- import { ordersCancelOrder } from "ce-storefront/funcs/ordersCancelOrder.js";
289
-
290
- // Use `CeStorefrontCore` for best tree-shaking performance.
291
- // You can create one instance of it to use across an application.
292
- const ceStorefront = new CeStorefrontCore({
293
- authorization: "<YOUR_BEARER_TOKEN_HERE>",
294
- });
295
-
296
- async function run() {
297
- const res = await ordersCancelOrder(ceStorefront, {
298
- orderNumber: "<value>",
299
- requestBody: {
300
- cancellationReason: "<value>",
301
- refundMode: "original_payment_mode",
302
- },
303
- });
304
- if (res.ok) {
305
- const { value: result } = res;
306
- console.log(result);
307
- } else {
308
- console.log("ordersCancelOrder failed:", res.error);
309
- }
310
- }
311
-
312
- run();
313
- ```
314
-
315
- ### Parameters
316
-
317
- | Parameter | Type | Required | Description |
318
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
319
- | `request` | [operations.CancelOrderRequest](../../models/operations/cancelorderrequest.md) | :heavy_check_mark: | The request object to use for the request. |
320
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
321
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
322
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
323
-
324
- ### Response
325
-
326
- **Promise\<[operations.CancelOrderResponseBody](../../models/operations/cancelorderresponsebody.md)\>**
327
-
328
- ### Errors
329
-
330
- | Error Type | Status Code | Content Type |
331
- | ------------------- | ------------------- | ------------------- |
332
- | errors.Unauthorized | 401 | application/json |
333
- | errors.NotFound | 404 | application/json |
334
- | errors.CeError | 4XX, 5XX | \*/\* |
335
-
336
- ## getPaymentStatus
337
-
338
- Retrieve payment status of a paricular order.
339
-
340
- API reference for the get-payment-status operation
341
- <https://llm-docs.commercengine.io/storefront/operations/get-payment-status>
342
-
343
- ### Example Usage
344
-
345
- <!-- UsageSnippet language="typescript" operationID="get-payment-status" method="get" path="/orders/{order_number}/payment-status" -->
346
- ```typescript
347
- import { CeStorefront } from "ce-storefront";
348
-
349
- const ceStorefront = new CeStorefront({
350
- authorization: "<YOUR_BEARER_TOKEN_HERE>",
351
- });
352
-
353
- async function run() {
354
- const result = await ceStorefront.orders.getPaymentStatus({
355
- orderNumber: "<value>",
356
- });
357
-
358
- console.log(result);
359
- }
360
-
361
- run();
362
- ```
363
-
364
- ### Standalone function
365
-
366
- The standalone function version of this method:
367
-
368
- ```typescript
369
- import { CeStorefrontCore } from "ce-storefront/core.js";
370
- import { ordersGetPaymentStatus } from "ce-storefront/funcs/ordersGetPaymentStatus.js";
371
-
372
- // Use `CeStorefrontCore` for best tree-shaking performance.
373
- // You can create one instance of it to use across an application.
374
- const ceStorefront = new CeStorefrontCore({
375
- authorization: "<YOUR_BEARER_TOKEN_HERE>",
376
- });
377
-
378
- async function run() {
379
- const res = await ordersGetPaymentStatus(ceStorefront, {
380
- orderNumber: "<value>",
381
- });
382
- if (res.ok) {
383
- const { value: result } = res;
384
- console.log(result);
385
- } else {
386
- console.log("ordersGetPaymentStatus failed:", res.error);
387
- }
388
- }
389
-
390
- run();
391
- ```
392
-
393
- ### Parameters
394
-
395
- | Parameter | Type | Required | Description |
396
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
397
- | `request` | [operations.GetPaymentStatusRequest](../../models/operations/getpaymentstatusrequest.md) | :heavy_check_mark: | The request object to use for the request. |
398
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
399
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
400
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
401
-
402
- ### Response
403
-
404
- **Promise\<[operations.GetPaymentStatusResponseBody](../../models/operations/getpaymentstatusresponsebody.md)\>**
405
-
406
- ### Errors
407
-
408
- | Error Type | Status Code | Content Type |
409
- | ------------------- | ------------------- | ------------------- |
410
- | errors.Unauthorized | 401 | application/json |
411
- | errors.NotFound | 404 | application/json |
412
- | errors.CeError | 4XX, 5XX | \*/\* |
413
-
414
- ## retryOrderPayment
415
-
416
- To generate new payment request if first payment request is failed or expired. Retry payment request can be made after 15 mins of last request or immediately after last payment request is marked as failed.
417
-
418
- API reference for the retry-order-payment operation
419
- <https://llm-docs.commercengine.io/storefront/operations/retry-order-payment>
420
-
421
- ### Example Usage
422
-
423
- <!-- UsageSnippet language="typescript" operationID="retry-order-payment" method="post" path="/orders/{order_number}/retry-payment" -->
424
- ```typescript
425
- import { CeStorefront } from "ce-storefront";
426
-
427
- const ceStorefront = new CeStorefront({
428
- authorization: "<YOUR_BEARER_TOKEN_HERE>",
429
- });
430
-
431
- async function run() {
432
- const result = await ceStorefront.orders.retryOrderPayment({
433
- orderNumber: "<value>",
434
- requestBody: {
435
- paymentGatewayParams: {
436
- paymentGateway: "PAYU",
437
- furl: "https://runny-epic.net",
438
- surl: "https://worst-climb.com",
439
- },
440
- },
441
- });
442
-
443
- console.log(result);
444
- }
445
-
446
- run();
447
- ```
448
-
449
- ### Standalone function
450
-
451
- The standalone function version of this method:
452
-
453
- ```typescript
454
- import { CeStorefrontCore } from "ce-storefront/core.js";
455
- import { ordersRetryOrderPayment } from "ce-storefront/funcs/ordersRetryOrderPayment.js";
456
-
457
- // Use `CeStorefrontCore` for best tree-shaking performance.
458
- // You can create one instance of it to use across an application.
459
- const ceStorefront = new CeStorefrontCore({
460
- authorization: "<YOUR_BEARER_TOKEN_HERE>",
461
- });
462
-
463
- async function run() {
464
- const res = await ordersRetryOrderPayment(ceStorefront, {
465
- orderNumber: "<value>",
466
- requestBody: {
467
- paymentGatewayParams: {
468
- paymentGateway: "PAYU",
469
- furl: "https://runny-epic.net",
470
- surl: "https://worst-climb.com",
471
- },
472
- },
473
- });
474
- if (res.ok) {
475
- const { value: result } = res;
476
- console.log(result);
477
- } else {
478
- console.log("ordersRetryOrderPayment failed:", res.error);
479
- }
480
- }
481
-
482
- run();
483
- ```
484
-
485
- ### Parameters
486
-
487
- | Parameter | Type | Required | Description |
488
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
489
- | `request` | [operations.RetryOrderPaymentRequest](../../models/operations/retryorderpaymentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
490
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
491
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
492
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
493
-
494
- ### Response
495
-
496
- **Promise\<[operations.RetryOrderPaymentResponseBody](../../models/operations/retryorderpaymentresponsebody.md)\>**
497
-
498
- ### Errors
499
-
500
- | Error Type | Status Code | Content Type |
501
- | ------------------- | ------------------- | ------------------- |
502
- | errors.BadRequest | 400 | application/json |
503
- | errors.Unauthorized | 401 | application/json |
504
- | errors.NotFound | 404 | application/json |
505
- | errors.CeError | 4XX, 5XX | \*/\* |
506
-
507
- ## listOrderShipments
508
-
509
- Retrieve order shipments
510
-
511
- API reference for the list-order-shipments operation
512
- <https://llm-docs.commercengine.io/storefront/operations/list-order-shipments>
513
-
514
- ### Example Usage
515
-
516
- <!-- UsageSnippet language="typescript" operationID="list-order-shipments" method="get" path="/orders/{order_number}/shipments" -->
517
- ```typescript
518
- import { CeStorefront } from "ce-storefront";
519
-
520
- const ceStorefront = new CeStorefront({
521
- authorization: "<YOUR_BEARER_TOKEN_HERE>",
522
- });
523
-
524
- async function run() {
525
- const result = await ceStorefront.orders.listOrderShipments({
526
- orderNumber: "<value>",
527
- });
528
-
529
- console.log(result);
530
- }
531
-
532
- run();
533
- ```
534
-
535
- ### Standalone function
536
-
537
- The standalone function version of this method:
538
-
539
- ```typescript
540
- import { CeStorefrontCore } from "ce-storefront/core.js";
541
- import { ordersListOrderShipments } from "ce-storefront/funcs/ordersListOrderShipments.js";
542
-
543
- // Use `CeStorefrontCore` for best tree-shaking performance.
544
- // You can create one instance of it to use across an application.
545
- const ceStorefront = new CeStorefrontCore({
546
- authorization: "<YOUR_BEARER_TOKEN_HERE>",
547
- });
548
-
549
- async function run() {
550
- const res = await ordersListOrderShipments(ceStorefront, {
551
- orderNumber: "<value>",
552
- });
553
- if (res.ok) {
554
- const { value: result } = res;
555
- console.log(result);
556
- } else {
557
- console.log("ordersListOrderShipments failed:", res.error);
558
- }
559
- }
560
-
561
- run();
562
- ```
563
-
564
- ### Parameters
565
-
566
- | Parameter | Type | Required | Description |
567
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
568
- | `request` | [operations.ListOrderShipmentsRequest](../../models/operations/listordershipmentsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
569
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
570
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
571
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
572
-
573
- ### Response
574
-
575
- **Promise\<[operations.ListOrderShipmentsResponseBody](../../models/operations/listordershipmentsresponsebody.md)\>**
576
-
577
- ### Errors
578
-
579
- | Error Type | Status Code | Content Type |
580
- | ------------------- | ------------------- | ------------------- |
581
- | errors.Unauthorized | 401 | application/json |
582
- | errors.NotFound | 404 | application/json |
583
- | errors.CeError | 4XX, 5XX | \*/\* |