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
@@ -13,19 +13,6 @@ export const FreeGoodsPromotionPromotionType = {
13
13
  /** @internal */
14
14
  export const FreeGoodsPromotionPromotionType$inboundSchema = z.nativeEnum(FreeGoodsPromotionPromotionType);
15
15
  /** @internal */
16
- export const FreeGoodsPromotionPromotionType$outboundSchema = FreeGoodsPromotionPromotionType$inboundSchema;
17
- /**
18
- * @internal
19
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
20
- */
21
- export var FreeGoodsPromotionPromotionType$;
22
- (function (FreeGoodsPromotionPromotionType$) {
23
- /** @deprecated use `FreeGoodsPromotionPromotionType$inboundSchema` instead. */
24
- FreeGoodsPromotionPromotionType$.inboundSchema = FreeGoodsPromotionPromotionType$inboundSchema;
25
- /** @deprecated use `FreeGoodsPromotionPromotionType$outboundSchema` instead. */
26
- FreeGoodsPromotionPromotionType$.outboundSchema = FreeGoodsPromotionPromotionType$outboundSchema;
27
- })(FreeGoodsPromotionPromotionType$ || (FreeGoodsPromotionPromotionType$ = {}));
28
- /** @internal */
29
16
  export const FreeGoodsPromotion$inboundSchema = z.object({
30
17
  promotion_type: z.literal("free-goods").default("free-goods").optional(),
31
18
  buy_quantity: z.number().int(),
@@ -37,32 +24,6 @@ export const FreeGoodsPromotion$inboundSchema = z.object({
37
24
  "get_quantity": "getQuantity",
38
25
  });
39
26
  });
40
- /** @internal */
41
- export const FreeGoodsPromotion$outboundSchema = z.object({
42
- promotionType: z.literal("free-goods"),
43
- buyQuantity: z.number().int(),
44
- getQuantity: z.number().int(),
45
- }).transform((v) => {
46
- return remap$(v, {
47
- promotionType: "promotion_type",
48
- buyQuantity: "buy_quantity",
49
- getQuantity: "get_quantity",
50
- });
51
- });
52
- /**
53
- * @internal
54
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
55
- */
56
- export var FreeGoodsPromotion$;
57
- (function (FreeGoodsPromotion$) {
58
- /** @deprecated use `FreeGoodsPromotion$inboundSchema` instead. */
59
- FreeGoodsPromotion$.inboundSchema = FreeGoodsPromotion$inboundSchema;
60
- /** @deprecated use `FreeGoodsPromotion$outboundSchema` instead. */
61
- FreeGoodsPromotion$.outboundSchema = FreeGoodsPromotion$outboundSchema;
62
- })(FreeGoodsPromotion$ || (FreeGoodsPromotion$ = {}));
63
- export function freeGoodsPromotionToJSON(freeGoodsPromotion) {
64
- return JSON.stringify(FreeGoodsPromotion$outboundSchema.parse(freeGoodsPromotion));
65
- }
66
27
  export function freeGoodsPromotionFromJSON(jsonString) {
67
28
  return safeParse(jsonString, (x) => FreeGoodsPromotion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FreeGoodsPromotion' from JSON`);
68
29
  }
@@ -1 +1 @@
1
- {"version":3,"file":"freegoodspromotion.js","sourceRoot":"","sources":["../../../src/models/components/freegoodspromotion.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,cAAc;IAC3B,UAAU,EAAE,aAAa;IACzB,SAAS,EAAE,YAAY;CACf,CAAC;AAoBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C,GAEtD,CAAC,CAAC,UAAU,CAAC,+BAA+B,CAAC,CAAC;AAElD,gBAAgB;AAChB,MAAM,CAAC,MAAM,8CAA8C,GAEvD,6CAA6C,CAAC;AAElD;;;GAGG;AACH,MAAM,KAAW,gCAAgC,CAKhD;AALD,WAAiB,gCAAgC;IAC/C,+EAA+E;IAClE,8CAAa,GAAG,6CAA6C,CAAC;IAC3E,gFAAgF;IACnE,+CAAc,GAAG,8CAA8C,CAAC;AAC/E,CAAC,EALgB,gCAAgC,KAAhC,gCAAgC,QAKhD;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,QAAQ,EAAE;IACxE,YAAY,EA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,CAAC,gCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
@@ -13,28 +13,5 @@ export type FulfillmentItem = {
13
13
  };
14
14
  /** @internal */
15
15
  export declare const FulfillmentItem$inboundSchema: z.ZodType<FulfillmentItem, z.ZodTypeDef, unknown>;
16
- /** @internal */
17
- export type FulfillmentItem$Outbound = {
18
- product_id: string;
19
- product_name: string;
20
- variant_id: string | null;
21
- variant_name: string | null;
22
- quantity: number;
23
- };
24
- /** @internal */
25
- export declare const FulfillmentItem$outboundSchema: z.ZodType<FulfillmentItem$Outbound, z.ZodTypeDef, FulfillmentItem>;
26
- /**
27
- * @internal
28
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
29
- */
30
- export declare namespace FulfillmentItem$ {
31
- /** @deprecated use `FulfillmentItem$inboundSchema` instead. */
32
- const inboundSchema: z.ZodType<FulfillmentItem, z.ZodTypeDef, unknown>;
33
- /** @deprecated use `FulfillmentItem$outboundSchema` instead. */
34
- const outboundSchema: z.ZodType<FulfillmentItem$Outbound, z.ZodTypeDef, FulfillmentItem>;
35
- /** @deprecated use `FulfillmentItem$Outbound` instead. */
36
- type Outbound = FulfillmentItem$Outbound;
37
- }
38
- export declare function fulfillmentItemToJSON(fulfillmentItem: FulfillmentItem): string;
39
16
  export declare function fulfillmentItemFromJSON(jsonString: string): SafeParseResult<FulfillmentItem, SDKValidationError>;
40
17
  //# sourceMappingURL=fulfillmentitem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillmentitem.d.ts","sourceRoot":"","sources":["../../../src/models/components/fulfillmentitem.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC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AAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,OAAO,CAcP,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
@@ -19,35 +19,6 @@ export const FulfillmentItem$inboundSchema = z.object({
19
19
  "variant_name": "variantName",
20
20
  });
21
21
  });
22
- /** @internal */
23
- export const FulfillmentItem$outboundSchema = z.object({
24
- productId: z.string(),
25
- productName: z.string(),
26
- variantId: z.nullable(z.string()),
27
- variantName: z.nullable(z.string()),
28
- quantity: z.number().int(),
29
- }).transform((v) => {
30
- return remap$(v, {
31
- productId: "product_id",
32
- productName: "product_name",
33
- variantId: "variant_id",
34
- variantName: "variant_name",
35
- });
36
- });
37
- /**
38
- * @internal
39
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
40
- */
41
- export var FulfillmentItem$;
42
- (function (FulfillmentItem$) {
43
- /** @deprecated use `FulfillmentItem$inboundSchema` instead. */
44
- FulfillmentItem$.inboundSchema = FulfillmentItem$inboundSchema;
45
- /** @deprecated use `FulfillmentItem$outboundSchema` instead. */
46
- FulfillmentItem$.outboundSchema = FulfillmentItem$outboundSchema;
47
- })(FulfillmentItem$ || (FulfillmentItem$ = {}));
48
- export function fulfillmentItemToJSON(fulfillmentItem) {
49
- return JSON.stringify(FulfillmentItem$outboundSchema.parse(fulfillmentItem));
50
- }
51
22
  export function fulfillmentItemFromJSON(jsonString) {
52
23
  return safeParse(jsonString, (x) => FulfillmentItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FulfillmentItem' from JSON`);
53
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillmentitem.js","sourceRoot":"","sources":["../../../src/models/components/fulfillmentitem.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAejD,gBAAgB;AAChB,MAAM,CAAC,MAAM,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAClC,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACpC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CAC3B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;QACzB,cAAc,EAAE,aAAa;QAC7B,YAAY,EAAE,WAAW;QACzB,cAAc,EAAE,aAAa;KAC9B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAWH,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,SA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EAAE,MAAM,sBAAsB,CAAC;AAejD,gBAAgB;AAChB,MAAM,CAAC,MAAM,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAClC,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACpC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CAC3B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;QACzB,cAAc,EAAE,aAAa;QAC7B,YAAY,EAAE,WAAW;QACzB,cAAc,EAAE,aAAa;KAC9B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,uBAAuB,CACrC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6BAA6B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzD,6CAA6C,CAC9C,CAAC;AACJ,CAAC"}
@@ -1,6 +1,4 @@
1
1
  import * as z from "zod/v3";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
2
  /**
5
3
  * @see {@link https://llm-docs.commercengine.io/storefront/schemas/FulfillmentItem} - API reference for the FulfillmentItem schema
6
4
  */
@@ -10,8 +8,6 @@ export type FulfillmentItemInput = {
10
8
  quantity: number;
11
9
  };
12
10
  /** @internal */
13
- export declare const FulfillmentItemInput$inboundSchema: z.ZodType<FulfillmentItemInput, z.ZodTypeDef, unknown>;
14
- /** @internal */
15
11
  export type FulfillmentItemInput$Outbound = {
16
12
  product_id: string;
17
13
  variant_id: string | null;
@@ -19,18 +15,5 @@ export type FulfillmentItemInput$Outbound = {
19
15
  };
20
16
  /** @internal */
21
17
  export declare const FulfillmentItemInput$outboundSchema: z.ZodType<FulfillmentItemInput$Outbound, z.ZodTypeDef, FulfillmentItemInput>;
22
- /**
23
- * @internal
24
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
25
- */
26
- export declare namespace FulfillmentItemInput$ {
27
- /** @deprecated use `FulfillmentItemInput$inboundSchema` instead. */
28
- const inboundSchema: z.ZodType<FulfillmentItemInput, z.ZodTypeDef, unknown>;
29
- /** @deprecated use `FulfillmentItemInput$outboundSchema` instead. */
30
- const outboundSchema: z.ZodType<FulfillmentItemInput$Outbound, z.ZodTypeDef, FulfillmentItemInput>;
31
- /** @deprecated use `FulfillmentItemInput$Outbound` instead. */
32
- type Outbound = FulfillmentItemInput$Outbound;
33
- }
34
18
  export declare function fulfillmentItemInputToJSON(fulfillmentItemInput: FulfillmentItemInput): string;
35
- export declare function fulfillmentItemInputFromJSON(jsonString: string): SafeParseResult<FulfillmentItemInput, SDKValidationError>;
36
19
  //# sourceMappingURL=fulfillmentiteminput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillmentiteminput.d.ts","sourceRoot":"","sources":["../../../src/models/components/fulfillmentiteminput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CAUpB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,qBAAqB,CAAC;IACrC,oEAAoE;IAC7D,MAAM,aAAa,wDAAqC,CAAC;IAChE,qEAAqE;IAC9D,MAAM,cAAc,8EAAsC,CAAC;IAClE,+DAA+D;IAC/D,KAAY,QAAQ,GAAG,6BAA6B,CAAC;CACtD;AAED,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AAED,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
1
+ {"version":3,"file":"fulfillmentiteminput.d.ts","sourceRoot":"","sources":["../../../src/models/components/fulfillmentiteminput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CAUpB,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR"}
@@ -3,18 +3,6 @@
3
3
  */
4
4
  import * as z from "zod/v3";
5
5
  import { remap as remap$ } from "../../lib/primitives.js";
6
- import { safeParse } from "../../lib/schemas.js";
7
- /** @internal */
8
- export const FulfillmentItemInput$inboundSchema = z.object({
9
- product_id: z.string(),
10
- variant_id: z.nullable(z.string()),
11
- quantity: z.number().int(),
12
- }).transform((v) => {
13
- return remap$(v, {
14
- "product_id": "productId",
15
- "variant_id": "variantId",
16
- });
17
- });
18
6
  /** @internal */
19
7
  export const FulfillmentItemInput$outboundSchema = z.object({
20
8
  productId: z.string(),
@@ -26,21 +14,7 @@ export const FulfillmentItemInput$outboundSchema = z.object({
26
14
  variantId: "variant_id",
27
15
  });
28
16
  });
29
- /**
30
- * @internal
31
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
32
- */
33
- export var FulfillmentItemInput$;
34
- (function (FulfillmentItemInput$) {
35
- /** @deprecated use `FulfillmentItemInput$inboundSchema` instead. */
36
- FulfillmentItemInput$.inboundSchema = FulfillmentItemInput$inboundSchema;
37
- /** @deprecated use `FulfillmentItemInput$outboundSchema` instead. */
38
- FulfillmentItemInput$.outboundSchema = FulfillmentItemInput$outboundSchema;
39
- })(FulfillmentItemInput$ || (FulfillmentItemInput$ = {}));
40
17
  export function fulfillmentItemInputToJSON(fulfillmentItemInput) {
41
18
  return JSON.stringify(FulfillmentItemInput$outboundSchema.parse(fulfillmentItemInput));
42
19
  }
43
- export function fulfillmentItemInputFromJSON(jsonString) {
44
- return safeParse(jsonString, (x) => FulfillmentItemInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FulfillmentItemInput' from JSON`);
45
- }
46
20
  //# sourceMappingURL=fulfillmentiteminput.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillmentiteminput.js","sourceRoot":"","sources":["../../../src/models/components/fulfillmentiteminput.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAajD,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAClC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CAC3B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;QACzB,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AASH,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACjC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CAC3B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;QACvB,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IACpC,oEAAoE;IACvD,mCAAa,GAAG,kCAAkC,CAAC;IAChE,qEAAqE;IACxD,oCAAc,GAAG,mCAAmC,CAAC;AAGpE,CAAC,EAPgB,qBAAqB,KAArB,qBAAqB,QAOrC;AAED,MAAM,UAAU,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,mCAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"fulfillmentiteminput.js","sourceRoot":"","sources":["../../../src/models/components/fulfillmentiteminput.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAkB1D,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACjC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CAC3B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;QACvB,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,mCAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import * as z from "zod/v3";
2
2
  import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- import { CollectInStoreFulfillment, CollectInStoreFulfillment$Outbound } from "./collectinstorefulfillment.js";
5
- import { DeliveryFulfillment, DeliveryFulfillment$Outbound } from "./deliveryfulfillment.js";
6
- import { PartialCollectAndDelivery, PartialCollectAndDelivery$Outbound } from "./partialcollectanddelivery.js";
4
+ import { CollectInStoreFulfillment } from "./collectinstorefulfillment.js";
5
+ import { DeliveryFulfillment } from "./deliveryfulfillment.js";
6
+ import { PartialCollectAndDelivery } from "./partialcollectanddelivery.js";
7
7
  /**
8
8
  * @see {@link https://llm-docs.commercengine.io/storefront/schemas/FulfillmentPreference} - API reference for the FulfillmentPreference schema
9
9
  */
@@ -16,28 +16,5 @@ export type FulfillmentPreference = (PartialCollectAndDelivery & {
16
16
  });
17
17
  /** @internal */
18
18
  export declare const FulfillmentPreference$inboundSchema: z.ZodType<FulfillmentPreference, z.ZodTypeDef, unknown>;
19
- /** @internal */
20
- export type FulfillmentPreference$Outbound = (PartialCollectAndDelivery$Outbound & {
21
- fulfillment_type: "partial-collect-and-delivery";
22
- }) | (CollectInStoreFulfillment$Outbound & {
23
- fulfillment_type: "collect-in-store";
24
- }) | (DeliveryFulfillment$Outbound & {
25
- fulfillment_type: "delivery";
26
- });
27
- /** @internal */
28
- export declare const FulfillmentPreference$outboundSchema: z.ZodType<FulfillmentPreference$Outbound, z.ZodTypeDef, FulfillmentPreference>;
29
- /**
30
- * @internal
31
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
32
- */
33
- export declare namespace FulfillmentPreference$ {
34
- /** @deprecated use `FulfillmentPreference$inboundSchema` instead. */
35
- const inboundSchema: z.ZodType<FulfillmentPreference, z.ZodTypeDef, unknown>;
36
- /** @deprecated use `FulfillmentPreference$outboundSchema` instead. */
37
- const outboundSchema: z.ZodType<FulfillmentPreference$Outbound, z.ZodTypeDef, FulfillmentPreference>;
38
- /** @deprecated use `FulfillmentPreference$Outbound` instead. */
39
- type Outbound = FulfillmentPreference$Outbound;
40
- }
41
- export declare function fulfillmentPreferenceToJSON(fulfillmentPreference: FulfillmentPreference): string;
42
19
  export declare function fulfillmentPreferenceFromJSON(jsonString: string): SafeParseResult<FulfillmentPreference, SDKValidationError>;
43
20
  //# sourceMappingURL=fulfillmentpreference.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillmentpreference.d.ts","sourceRoot":"","sources":["../../../src/models/components/fulfillmentpreference.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,mBAAmB,EAEnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AAExC;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAC7B,CAAC,yBAAyB,GAAG;IAC7B,eAAe,EAAE,8BAA8B,CAAC;CACjD,CAAC,GACA,CAAC,yBAAyB,GAAG;IAAE,eAAe,EAAE,kBAAkB,CAAA;CAAE,CAAC,GACrE,CAAC,mBAAmB,GAAG;IAAE,eAAe,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC;AAE5D,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CAgBP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GACtC,CAAC,kCAAkC,GAAG;IACtC,gBAAgB,EAAE,8BAA8B,CAAC;CAClD,CAAC,GACA,CAAC,kCAAkC,GAAG;IACtC,gBAAgB,EAAE,kBAAkB,CAAC;CACtC,CAAC,GACA,CAAC,4BAA4B,GAAG;IAAE,gBAAgB,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC;AAEtE,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAgBrB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,sBAAsB,CAAC;IACtC,qEAAqE;IAC9D,MAAM,aAAa,yDAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc,gFAAuC,CAAC;IACnE,gEAAgE;IAChE,KAAY,QAAQ,GAAG,8BAA8B,CAAC;CACvD;AAED,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AAED,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
1
+ {"version":3,"file":"fulfillmentpreference.d.ts","sourceRoot":"","sources":["../../../src/models/components/fulfillmentpreference.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,yBAAyB,EAE1B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,yBAAyB,EAE1B,MAAM,gCAAgC,CAAC;AAExC;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAC7B,CAAC,yBAAyB,GAAG;IAC7B,eAAe,EAAE,8BAA8B,CAAC;CACjD,CAAC,GACA,CAAC,yBAAyB,GAAG;IAAE,eAAe,EAAE,kBAAkB,CAAA;CAAE,CAAC,GACrE,CAAC,mBAAmB,GAAG;IAAE,eAAe,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC;AAE5D,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CAgBP,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
@@ -3,9 +3,9 @@
3
3
  */
4
4
  import * as z from "zod/v3";
5
5
  import { safeParse } from "../../lib/schemas.js";
6
- import { CollectInStoreFulfillment$inboundSchema, CollectInStoreFulfillment$outboundSchema, } from "./collectinstorefulfillment.js";
7
- import { DeliveryFulfillment$inboundSchema, DeliveryFulfillment$outboundSchema, } from "./deliveryfulfillment.js";
8
- import { PartialCollectAndDelivery$inboundSchema, PartialCollectAndDelivery$outboundSchema, } from "./partialcollectanddelivery.js";
6
+ import { CollectInStoreFulfillment$inboundSchema, } from "./collectinstorefulfillment.js";
7
+ import { DeliveryFulfillment$inboundSchema, } from "./deliveryfulfillment.js";
8
+ import { PartialCollectAndDelivery$inboundSchema, } from "./partialcollectanddelivery.js";
9
9
  /** @internal */
10
10
  export const FulfillmentPreference$inboundSchema = z.union([
11
11
  PartialCollectAndDelivery$inboundSchema.and(z.object({ fulfillment_type: z.literal("partial-collect-and-delivery") })
@@ -15,29 +15,6 @@ export const FulfillmentPreference$inboundSchema = z.union([
15
15
  fulfillmentType: v.fulfillment_type,
16
16
  }))),
17
17
  ]);
18
- /** @internal */
19
- export const FulfillmentPreference$outboundSchema = z.union([
20
- PartialCollectAndDelivery$outboundSchema.and(z.object({ fulfillmentType: z.literal("partial-collect-and-delivery") })
21
- .transform((v) => ({ fulfillment_type: v.fulfillmentType }))),
22
- CollectInStoreFulfillment$outboundSchema.and(z.object({ fulfillmentType: z.literal("collect-in-store") }).transform((v) => ({ fulfillment_type: v.fulfillmentType }))),
23
- DeliveryFulfillment$outboundSchema.and(z.object({ fulfillmentType: z.literal("delivery") }).transform((v) => ({
24
- fulfillment_type: v.fulfillmentType,
25
- }))),
26
- ]);
27
- /**
28
- * @internal
29
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
30
- */
31
- export var FulfillmentPreference$;
32
- (function (FulfillmentPreference$) {
33
- /** @deprecated use `FulfillmentPreference$inboundSchema` instead. */
34
- FulfillmentPreference$.inboundSchema = FulfillmentPreference$inboundSchema;
35
- /** @deprecated use `FulfillmentPreference$outboundSchema` instead. */
36
- FulfillmentPreference$.outboundSchema = FulfillmentPreference$outboundSchema;
37
- })(FulfillmentPreference$ || (FulfillmentPreference$ = {}));
38
- export function fulfillmentPreferenceToJSON(fulfillmentPreference) {
39
- return JSON.stringify(FulfillmentPreference$outboundSchema.parse(fulfillmentPreference));
40
- }
41
18
  export function fulfillmentPreferenceFromJSON(jsonString) {
42
19
  return safeParse(jsonString, (x) => FulfillmentPreference$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FulfillmentPreference' from JSON`);
43
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillmentpreference.js","sourceRoot":"","sources":["../../../src/models/components/fulfillmentpreference.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,uCAAuC,EAEvC,wCAAwC,GACzC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAEL,iCAAiC,EAEjC,kCAAkC,GACnC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,uCAAuC,EAEvC,wCAAwC,GACzC,MAAM,gCAAgC,CAAC;AAYxC,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAI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AC,CACrE,CAAC,EACD,EAAE,CAAC,CAAC,EAAE,gBAAgB,EAAE,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,CAChD;IACD,kCAAkC,CAAC,GAAG,CACpC,CAAC,CAAC,MAAM,CAAC,EAAE,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACrE,gBAAgB,EAAE,CAAC,CAAC,eAAe;KACpC,CAAC,CAAC,CACJ;CACF,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,mCAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,oCAAoC,CAAC;AAGrE,CAAC,EAPgB,sBAAsB,KAAtB,sBAAsB,QAOtC;AAED,MAAM,UAAU,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,oCAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mCAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"fulfillmentpreference.js","sourceRoot":"","sources":["../../../src/models/components/fulfillmentpreference.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,uCAAuC,GACxC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAEL,iCAAiC,GAClC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,uCAAuC,GACxC,MAAM,gCAAgC,CAAC;AAYxC,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAI5C,CAAC,CAAC,KAAK,CAAC;IACV,uCAAuC,CAAC,GAAG,CACzC,CAAC,CAAC,MAAM,CAAC,EAAE,gBAAgB,EAAE,CAAC,CAAC,OAAO,CAAC,8BAA8B,CAAC,EAAE,CAAC;SACtE,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,eAAe,EAAE,CAAC,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAC/D;IACD,uCAAuC,CAAC,GAAG,CACzC,CAAC,CAAC,MAAM,CAAC,EAAE,gBAAgB,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CACtE,CAAC,EACD,EAAE,CAAC,CAAC,EAAE,eAAe,EAAE,CAAC,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAChD;IACD,iCAAiC,CAAC,GAAG,CACnC,CAAC,CAAC,MAAM,CAAC,EAAE,gBAAgB,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACtE,eAAe,EAAE,CAAC,CAAC,gBAAgB;KACpC,CAAC,CAAC,CACJ;CACF,CAAC,CAAC;AAEH,MAAM,UAAU,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mCAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
@@ -1,6 +1,4 @@
1
1
  import * as z from "zod/v3";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
2
  import { CollectInStoreFulfillmentInput, CollectInStoreFulfillmentInput$Outbound } from "./collectinstorefulfillmentinput.js";
5
3
  import { DeliveryFulfillmentInput, DeliveryFulfillmentInput$Outbound } from "./deliveryfulfillmentinput.js";
6
4
  import { PartialCollectAndDeliveryInput, PartialCollectAndDeliveryInput$Outbound } from "./partialcollectanddeliveryinput.js";
@@ -15,8 +13,6 @@ export type FulfillmentPreferenceInput = (PartialCollectAndDeliveryInput & {
15
13
  fulfillmentType: "delivery";
16
14
  });
17
15
  /** @internal */
18
- export declare const FulfillmentPreferenceInput$inboundSchema: z.ZodType<FulfillmentPreferenceInput, z.ZodTypeDef, unknown>;
19
- /** @internal */
20
16
  export type FulfillmentPreferenceInput$Outbound = (PartialCollectAndDeliveryInput$Outbound & {
21
17
  fulfillment_type: "partial-collect-and-delivery";
22
18
  }) | (CollectInStoreFulfillmentInput$Outbound & {
@@ -26,18 +22,5 @@ export type FulfillmentPreferenceInput$Outbound = (PartialCollectAndDeliveryInpu
26
22
  });
27
23
  /** @internal */
28
24
  export declare const FulfillmentPreferenceInput$outboundSchema: z.ZodType<FulfillmentPreferenceInput$Outbound, z.ZodTypeDef, FulfillmentPreferenceInput>;
29
- /**
30
- * @internal
31
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
32
- */
33
- export declare namespace FulfillmentPreferenceInput$ {
34
- /** @deprecated use `FulfillmentPreferenceInput$inboundSchema` instead. */
35
- const inboundSchema: z.ZodType<FulfillmentPreferenceInput, z.ZodTypeDef, unknown>;
36
- /** @deprecated use `FulfillmentPreferenceInput$outboundSchema` instead. */
37
- const outboundSchema: z.ZodType<FulfillmentPreferenceInput$Outbound, z.ZodTypeDef, FulfillmentPreferenceInput>;
38
- /** @deprecated use `FulfillmentPreferenceInput$Outbound` instead. */
39
- type Outbound = FulfillmentPreferenceInput$Outbound;
40
- }
41
25
  export declare function fulfillmentPreferenceInputToJSON(fulfillmentPreferenceInput: FulfillmentPreferenceInput): string;
42
- export declare function fulfillmentPreferenceInputFromJSON(jsonString: string): SafeParseResult<FulfillmentPreferenceInput, SDKValidationError>;
43
26
  //# sourceMappingURL=fulfillmentpreferenceinput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillmentpreferenceinput.d.ts","sourceRoot":"","sources":["../../../src/models/components/fulfillmentpreferenceinput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,8BAA8B,EAE9B,uCAAuC,EAExC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,wBAAwB,EAExB,iCAAiC,EAElC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,8BAA8B,EAE9B,uCAAuC,EAExC,MAAM,qCAAqC,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAClC,CAAC,8BAA8B,GAAG;IAClC,eAAe,EAAE,8BAA8B,CAAC;CACjD,CAAC,GACA,CAAC,8BAA8B,GAAG;IAAE,eAAe,EAAE,kBAAkB,CAAA;CAAE,CAAC,GAC1E,CAAC,wBAAwB,GAAG;IAAE,eAAe,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC;AAEjE,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAgBP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAC3C,CAAC,uCAAuC,GAAG;IAC3C,gBAAgB,EAAE,8BAA8B,CAAC;CAClD,CAAC,GACA,CAAC,uCAAuC,GAAG;IAC3C,gBAAgB,EAAE,kBAAkB,CAAC;CACtC,CAAC,GACA,CAAC,iCAAiC,GAAG;IAAE,gBAAgB,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC;AAE3E,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAgB1B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,2BAA2B,CAAC;IAC3C,0EAA0E;IACnE,MAAM,aAAa,8DAA2C,CAAC;IACtE,2EAA2E;IACpE,MAAM,cAAc,0FAA4C,CAAC;IACxE,qEAAqE;IACrE,KAAY,QAAQ,GAAG,mCAAmC,CAAC;CAC5D;AAED,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AAED,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
1
+ {"version":3,"file":"fulfillmentpreferenceinput.d.ts","sourceRoot":"","sources":["../../../src/models/components/fulfillmentpreferenceinput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACL,8BAA8B,EAC9B,uCAAuC,EAExC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,wBAAwB,EACxB,iCAAiC,EAElC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,8BAA8B,EAC9B,uCAAuC,EAExC,MAAM,qCAAqC,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAClC,CAAC,8BAA8B,GAAG;IAClC,eAAe,EAAE,8BAA8B,CAAC;CACjD,CAAC,GACA,CAAC,8BAA8B,GAAG;IAAE,eAAe,EAAE,kBAAkB,CAAA;CAAE,CAAC,GAC1E,CAAC,wBAAwB,GAAG;IAAE,eAAe,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC;AAEjE,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAC3C,CAAC,uCAAuC,GAAG;IAC3C,gBAAgB,EAAE,8BAA8B,CAAC;CAClD,CAAC,GACA,CAAC,uCAAuC,GAAG;IAC3C,gBAAgB,EAAE,kBAAkB,CAAC;CACtC,CAAC,GACA,CAAC,iCAAiC,GAAG;IAAE,gBAAgB,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC;AAE3E,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAgB1B,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR"}
@@ -2,19 +2,9 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
  import * as z from "zod/v3";
5
- import { safeParse } from "../../lib/schemas.js";
6
- import { CollectInStoreFulfillmentInput$inboundSchema, CollectInStoreFulfillmentInput$outboundSchema, } from "./collectinstorefulfillmentinput.js";
7
- import { DeliveryFulfillmentInput$inboundSchema, DeliveryFulfillmentInput$outboundSchema, } from "./deliveryfulfillmentinput.js";
8
- import { PartialCollectAndDeliveryInput$inboundSchema, PartialCollectAndDeliveryInput$outboundSchema, } from "./partialcollectanddeliveryinput.js";
9
- /** @internal */
10
- export const FulfillmentPreferenceInput$inboundSchema = z.union([
11
- PartialCollectAndDeliveryInput$inboundSchema.and(z.object({ fulfillment_type: z.literal("partial-collect-and-delivery") })
12
- .transform((v) => ({ fulfillmentType: v.fulfillment_type }))),
13
- CollectInStoreFulfillmentInput$inboundSchema.and(z.object({ fulfillment_type: z.literal("collect-in-store") }).transform((v) => ({ fulfillmentType: v.fulfillment_type }))),
14
- DeliveryFulfillmentInput$inboundSchema.and(z.object({ fulfillment_type: z.literal("delivery") }).transform((v) => ({
15
- fulfillmentType: v.fulfillment_type,
16
- }))),
17
- ]);
5
+ import { CollectInStoreFulfillmentInput$outboundSchema, } from "./collectinstorefulfillmentinput.js";
6
+ import { DeliveryFulfillmentInput$outboundSchema, } from "./deliveryfulfillmentinput.js";
7
+ import { PartialCollectAndDeliveryInput$outboundSchema, } from "./partialcollectanddeliveryinput.js";
18
8
  /** @internal */
19
9
  export const FulfillmentPreferenceInput$outboundSchema = z.union([
20
10
  PartialCollectAndDeliveryInput$outboundSchema.and(z.object({ fulfillmentType: z.literal("partial-collect-and-delivery") })
@@ -24,21 +14,7 @@ export const FulfillmentPreferenceInput$outboundSchema = z.union([
24
14
  fulfillment_type: v.fulfillmentType,
25
15
  }))),
26
16
  ]);
27
- /**
28
- * @internal
29
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
30
- */
31
- export var FulfillmentPreferenceInput$;
32
- (function (FulfillmentPreferenceInput$) {
33
- /** @deprecated use `FulfillmentPreferenceInput$inboundSchema` instead. */
34
- FulfillmentPreferenceInput$.inboundSchema = FulfillmentPreferenceInput$inboundSchema;
35
- /** @deprecated use `FulfillmentPreferenceInput$outboundSchema` instead. */
36
- FulfillmentPreferenceInput$.outboundSchema = FulfillmentPreferenceInput$outboundSchema;
37
- })(FulfillmentPreferenceInput$ || (FulfillmentPreferenceInput$ = {}));
38
17
  export function fulfillmentPreferenceInputToJSON(fulfillmentPreferenceInput) {
39
18
  return JSON.stringify(FulfillmentPreferenceInput$outboundSchema.parse(fulfillmentPreferenceInput));
40
19
  }
41
- export function fulfillmentPreferenceInputFromJSON(jsonString) {
42
- return safeParse(jsonString, (x) => FulfillmentPreferenceInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FulfillmentPreferenceInput' from JSON`);
43
- }
44
20
  //# sourceMappingURL=fulfillmentpreferenceinput.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillmentpreferenceinput.js","sourceRoot":"","sources":["../../../src/models/components/fulfillmentpreferenceinput.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,4CAA4C,EAE5C,6CAA6C,GAC9C,M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od/v3";
2
2
  import { ClosedEnum } from "../../types/enums.js";
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
3
  export declare const GenerateOtpWithEmailOtpAction: {
6
4
  readonly Register: "register";
7
5
  readonly ResetPassword: "reset-password";
@@ -18,31 +16,7 @@ export type GenerateOtpWithEmail = {
18
16
  otpAction: GenerateOtpWithEmailOtpAction;
19
17
  };
20
18
  /** @internal */
21
- export declare const GenerateOtpWithEmailOtpAction$inboundSchema: z.ZodNativeEnum<typeof GenerateOtpWithEmailOtpAction>;
22
- /** @internal */
23
19
  export declare const GenerateOtpWithEmailOtpAction$outboundSchema: z.ZodNativeEnum<typeof GenerateOtpWithEmailOtpAction>;
24
- /**
25
- * @internal
26
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
27
- */
28
- export declare namespace GenerateOtpWithEmailOtpAction$ {
29
- /** @deprecated use `GenerateOtpWithEmailOtpAction$inboundSchema` instead. */
30
- const inboundSchema: z.ZodNativeEnum<{
31
- readonly Register: "register";
32
- readonly ResetPassword: "reset-password";
33
- readonly VerifyEmail: "verify-email";
34
- readonly UpdateEmail: "update-email";
35
- }>;
36
- /** @deprecated use `GenerateOtpWithEmailOtpAction$outboundSchema` instead. */
37
- const outboundSchema: z.ZodNativeEnum<{
38
- readonly Register: "register";
39
- readonly ResetPassword: "reset-password";
40
- readonly VerifyEmail: "verify-email";
41
- readonly UpdateEmail: "update-email";
42
- }>;
43
- }
44
- /** @internal */
45
- export declare const GenerateOtpWithEmail$inboundSchema: z.ZodType<GenerateOtpWithEmail, z.ZodTypeDef, unknown>;
46
20
  /** @internal */
47
21
  export type GenerateOtpWithEmail$Outbound = {
48
22
  channel: "email";
@@ -51,18 +25,5 @@ export type GenerateOtpWithEmail$Outbound = {
51
25
  };
52
26
  /** @internal */
53
27
  export declare const GenerateOtpWithEmail$outboundSchema: z.ZodType<GenerateOtpWithEmail$Outbound, z.ZodTypeDef, GenerateOtpWithEmail>;
54
- /**
55
- * @internal
56
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
57
- */
58
- export declare namespace GenerateOtpWithEmail$ {
59
- /** @deprecated use `GenerateOtpWithEmail$inboundSchema` instead. */
60
- const inboundSchema: z.ZodType<GenerateOtpWithEmail, z.ZodTypeDef, unknown>;
61
- /** @deprecated use `GenerateOtpWithEmail$outboundSchema` instead. */
62
- const outboundSchema: z.ZodType<GenerateOtpWithEmail$Outbound, z.ZodTypeDef, GenerateOtpWithEmail>;
63
- /** @deprecated use `GenerateOtpWithEmail$Outbound` instead. */
64
- type Outbound = GenerateOtpWithEmail$Outbound;
65
- }
66
28
  export declare function generateOtpWithEmailToJSON(generateOtpWithEmail: GenerateOtpWithEmail): string;
67
- export declare function generateOtpWithEmailFromJSON(jsonString: string): SafeParseResult<GenerateOtpWithEmail, SDKValidationError>;
68
29
  //# sourceMappingURL=generateotpwithemail.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generateotpwithemail.d.ts","sourceRoot":"","sources":["../../../src/models/components/generateotpwithemail.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,6BAA6B;;;;;CAKhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,UAAU,CACpD,OAAO,6BAA6B,CACrC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,6BAA6B,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,aAAa,CACvE,OAAO,6BAA6B,CACS,CAAC;AAEhD,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,aAAa,CACxE,OAAO,6BAA6B,CACS,CAAC;AAEhD;;;GAGG;AACH,yBAAiB,8BAA8B,CAAC;IAC9C,6EAA6E;IACtE,MAAM,aAAa;;;;;MAA8C,CAAC;IACzE,8EAA8E;IACvE,MAAM,cAAc;;;;;MAA+C,CAAC;CAC5E;AAED,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CASpB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,qBAAqB,CAAC;IACrC,oEAAoE;IAC7D,MAAM,aAAa,wDAAqC,CAAC;IAChE,qEAAqE;IAC9D,MAAM,cAAc,8EAAsC,CAAC;IAClE,+DAA+D;IAC/D,KAAY,QAAQ,GAAG,6BAA6B,CAAC;CACtD;AAED,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AAED,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
1
+ {"version":3,"file":"generateotpwithemail.d.ts","sourceRoot":"","sources":["../../../src/models/components/generateotpwithemail.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,6BAA6B;;;;;CAKhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,UAAU,CACpD,OAAO,6BAA6B,CACrC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,6BAA6B,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,aAAa,CACxE,OAAO,6BAA6B,CACS,CAAC;AAEhD,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CASpB,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR"}
@@ -3,7 +3,6 @@
3
3
  */
4
4
  import * as z from "zod/v3";
5
5
  import { remap as remap$ } from "../../lib/primitives.js";
6
- import { safeParse } from "../../lib/schemas.js";
7
6
  export const GenerateOtpWithEmailOtpAction = {
8
7
  Register: "register",
9
8
  ResetPassword: "reset-password",
@@ -11,30 +10,7 @@ export const GenerateOtpWithEmailOtpAction = {
11
10
  UpdateEmail: "update-email",
12
11
  };
13
12
  /** @internal */
14
- export const GenerateOtpWithEmailOtpAction$inboundSchema = z.nativeEnum(GenerateOtpWithEmailOtpAction);
15
- /** @internal */
16
- export const GenerateOtpWithEmailOtpAction$outboundSchema = GenerateOtpWithEmailOtpAction$inboundSchema;
17
- /**
18
- * @internal
19
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
20
- */
21
- export var GenerateOtpWithEmailOtpAction$;
22
- (function (GenerateOtpWithEmailOtpAction$) {
23
- /** @deprecated use `GenerateOtpWithEmailOtpAction$inboundSchema` instead. */
24
- GenerateOtpWithEmailOtpAction$.inboundSchema = GenerateOtpWithEmailOtpAction$inboundSchema;
25
- /** @deprecated use `GenerateOtpWithEmailOtpAction$outboundSchema` instead. */
26
- GenerateOtpWithEmailOtpAction$.outboundSchema = GenerateOtpWithEmailOtpAction$outboundSchema;
27
- })(GenerateOtpWithEmailOtpAction$ || (GenerateOtpWithEmailOtpAction$ = {}));
28
- /** @internal */
29
- export const GenerateOtpWithEmail$inboundSchema = z.object({
30
- channel: z.literal("email").default("email").optional(),
31
- email: z.string(),
32
- otp_action: GenerateOtpWithEmailOtpAction$inboundSchema,
33
- }).transform((v) => {
34
- return remap$(v, {
35
- "otp_action": "otpAction",
36
- });
37
- });
13
+ export const GenerateOtpWithEmailOtpAction$outboundSchema = z.nativeEnum(GenerateOtpWithEmailOtpAction);
38
14
  /** @internal */
39
15
  export const GenerateOtpWithEmail$outboundSchema = z.object({
40
16
  channel: z.literal("email"),
@@ -45,21 +21,7 @@ export const GenerateOtpWithEmail$outboundSchema = z.object({
45
21
  otpAction: "otp_action",
46
22
  });
47
23
  });
48
- /**
49
- * @internal
50
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
51
- */
52
- export var GenerateOtpWithEmail$;
53
- (function (GenerateOtpWithEmail$) {
54
- /** @deprecated use `GenerateOtpWithEmail$inboundSchema` instead. */
55
- GenerateOtpWithEmail$.inboundSchema = GenerateOtpWithEmail$inboundSchema;
56
- /** @deprecated use `GenerateOtpWithEmail$outboundSchema` instead. */
57
- GenerateOtpWithEmail$.outboundSchema = GenerateOtpWithEmail$outboundSchema;
58
- })(GenerateOtpWithEmail$ || (GenerateOtpWithEmail$ = {}));
59
24
  export function generateOtpWithEmailToJSON(generateOtpWithEmail) {
60
25
  return JSON.stringify(GenerateOtpWithEmail$outboundSchema.parse(generateOtpWithEmail));
61
26
  }
62
- export function generateOtpWithEmailFromJSON(jsonString) {
63
- return safeParse(jsonString, (x) => GenerateOtpWithEmail$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GenerateOtpWithEmail' from JSON`);
64
- }
65
27
  //# sourceMappingURL=generateotpwithemail.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"generateotpwithemail.js","sourceRoot":"","sources":["../../../src/models/components/generateotpwithemail.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,QAAQ,EAAE,UAAU;IACpB,aAAa,EAAE,gBAAgB;IAC/B,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,cAAc;CACnB,CAAC;AAcX,gBAAgB;AAChB,MAAM,CAAC,MAAM,2CAA2C,GAEpD,CAAC,CAAC,UAAU,CAAC,6BAA6B,CAAC,CAAC;AAEhD,gBAAgB;AAChB,MAAM,CAAC,MAAM,4CAA4C,GAErD,2CAA2C,CAAC;AAEhD;;;GAGG;AACH,MAAM,KAAW,8BAA8B,CAK9C;AALD,WAAiB,8BAA8B;IAC7C,6EAA6E;IAChE,4CAAa,GAAG,2CAA2C,CAAC;IACzE,8EAA8E;IACjE,6CAAc,GAAG,4CAA4C,CAAC;AAC7E,CAAC,EALgB,8BAA8B,KAA9B,8BAA8B,QAK9C;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE;IACvD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,UAAU,EAAE,2CAA2C;CACxD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AASH,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IAC3B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,SAAS,EAAE,4CAA4C;CACxD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IACpC,oEAAoE;IACvD,mCAAa,GAAG,kCAAkC,CAAC;IAChE,qEAAqE;IACxD,oCAAc,GAAG,mCAAmC,CAAC;AAGpE,CAAC,EAPgB,qBAAqB,KAArB,qBAAqB,QAOrC;AAED,MAAM,UAAU,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,mCAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"generateotpwithemail.js","sourceRoot":"","sources":["../../../src/models/components/generateotpwithemail.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAG1D,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,QAAQ,EAAE,UAAU;IACpB,aAAa,EAAE,gBAAgB;IAC/B,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,cAAc;CACnB,CAAC;AAcX,gBAAgB;AAChB,MAAM,CAAC,MAAM,4CAA4C,GAErD,CAAC,CAAC,UAAU,CAAC,6BAA6B,CAAC,CAAC;AAShD,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IAC3B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,SAAS,EAAE,4CAA4C;CACxD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,mCAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC"}