@wix/ecom 1.0.521 → 1.0.523

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 (691) hide show
  1. package/build/cjs/context.d.ts +16 -16
  2. package/build/cjs/context.js +17 -17
  3. package/build/cjs/context.js.map +1 -1
  4. package/build/cjs/index.d.ts +16 -19
  5. package/build/cjs/index.js +17 -20
  6. package/build/cjs/index.js.map +1 -1
  7. package/build/cjs/meta.d.ts +16 -19
  8. package/build/cjs/meta.js +17 -20
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/context.d.ts +16 -16
  11. package/build/es/context.js +16 -16
  12. package/build/es/context.js.map +1 -1
  13. package/build/es/index.d.ts +16 -19
  14. package/build/es/index.js +16 -19
  15. package/build/es/index.js.map +1 -1
  16. package/build/es/meta.d.ts +16 -19
  17. package/build/es/meta.js +16 -19
  18. package/build/es/meta.js.map +1 -1
  19. package/package.json +28 -11
  20. package/build/cjs/index.typings.d.ts +0 -19
  21. package/build/cjs/index.typings.js +0 -46
  22. package/build/cjs/index.typings.js.map +0 -1
  23. package/build/cjs/src/ecom-discounts-v1-discount-rule.context.d.ts +0 -7
  24. package/build/cjs/src/ecom-discounts-v1-discount-rule.context.js +0 -90
  25. package/build/cjs/src/ecom-discounts-v1-discount-rule.context.js.map +0 -1
  26. package/build/cjs/src/ecom-discounts-v1-discount-rule.http.d.ts +0 -48
  27. package/build/cjs/src/ecom-discounts-v1-discount-rule.http.js +0 -265
  28. package/build/cjs/src/ecom-discounts-v1-discount-rule.http.js.map +0 -1
  29. package/build/cjs/src/ecom-discounts-v1-discount-rule.meta.d.ts +0 -23
  30. package/build/cjs/src/ecom-discounts-v1-discount-rule.meta.js +0 -123
  31. package/build/cjs/src/ecom-discounts-v1-discount-rule.meta.js.map +0 -1
  32. package/build/cjs/src/ecom-discounts-v1-discount-rule.public.d.ts +0 -205
  33. package/build/cjs/src/ecom-discounts-v1-discount-rule.public.js +0 -48
  34. package/build/cjs/src/ecom-discounts-v1-discount-rule.public.js.map +0 -1
  35. package/build/cjs/src/ecom-discounts-v1-discount-rule.types.d.ts +0 -990
  36. package/build/cjs/src/ecom-discounts-v1-discount-rule.types.js +0 -70
  37. package/build/cjs/src/ecom-discounts-v1-discount-rule.types.js.map +0 -1
  38. package/build/cjs/src/ecom-discounts-v1-discount-rule.universal.d.ts +0 -1086
  39. package/build/cjs/src/ecom-discounts-v1-discount-rule.universal.js +0 -491
  40. package/build/cjs/src/ecom-discounts-v1-discount-rule.universal.js.map +0 -1
  41. package/build/cjs/src/ecom-orders-v1-invoice.context.d.ts +0 -3
  42. package/build/cjs/src/ecom-orders-v1-invoice.context.js +0 -22
  43. package/build/cjs/src/ecom-orders-v1-invoice.context.js.map +0 -1
  44. package/build/cjs/src/ecom-orders-v1-invoice.http.d.ts +0 -8
  45. package/build/cjs/src/ecom-orders-v1-invoice.http.js +0 -46
  46. package/build/cjs/src/ecom-orders-v1-invoice.http.js.map +0 -1
  47. package/build/cjs/src/ecom-orders-v1-invoice.meta.d.ts +0 -13
  48. package/build/cjs/src/ecom-orders-v1-invoice.meta.js +0 -47
  49. package/build/cjs/src/ecom-orders-v1-invoice.meta.js.map +0 -1
  50. package/build/cjs/src/ecom-orders-v1-invoice.public.d.ts +0 -6
  51. package/build/cjs/src/ecom-orders-v1-invoice.public.js +0 -12
  52. package/build/cjs/src/ecom-orders-v1-invoice.public.js.map +0 -1
  53. package/build/cjs/src/ecom-orders-v1-invoice.types.d.ts +0 -172
  54. package/build/cjs/src/ecom-orders-v1-invoice.types.js +0 -3
  55. package/build/cjs/src/ecom-orders-v1-invoice.types.js.map +0 -1
  56. package/build/cjs/src/ecom-orders-v1-invoice.universal.d.ts +0 -201
  57. package/build/cjs/src/ecom-orders-v1-invoice.universal.js +0 -117
  58. package/build/cjs/src/ecom-orders-v1-invoice.universal.js.map +0 -1
  59. package/build/cjs/src/ecom-recommendations-v1-recommendation.context.d.ts +0 -4
  60. package/build/cjs/src/ecom-recommendations-v1-recommendation.context.js +0 -39
  61. package/build/cjs/src/ecom-recommendations-v1-recommendation.context.js.map +0 -1
  62. package/build/cjs/src/ecom-recommendations-v1-recommendation.http.d.ts +0 -37
  63. package/build/cjs/src/ecom-recommendations-v1-recommendation.http.js +0 -91
  64. package/build/cjs/src/ecom-recommendations-v1-recommendation.http.js.map +0 -1
  65. package/build/cjs/src/ecom-recommendations-v1-recommendation.meta.d.ts +0 -14
  66. package/build/cjs/src/ecom-recommendations-v1-recommendation.meta.js +0 -66
  67. package/build/cjs/src/ecom-recommendations-v1-recommendation.meta.js.map +0 -1
  68. package/build/cjs/src/ecom-recommendations-v1-recommendation.public.d.ts +0 -9
  69. package/build/cjs/src/ecom-recommendations-v1-recommendation.public.js +0 -20
  70. package/build/cjs/src/ecom-recommendations-v1-recommendation.public.js.map +0 -1
  71. package/build/cjs/src/ecom-recommendations-v1-recommendation.types.d.ts +0 -136
  72. package/build/cjs/src/ecom-recommendations-v1-recommendation.types.js +0 -10
  73. package/build/cjs/src/ecom-recommendations-v1-recommendation.types.js.map +0 -1
  74. package/build/cjs/src/ecom-recommendations-v1-recommendation.universal.d.ts +0 -206
  75. package/build/cjs/src/ecom-recommendations-v1-recommendation.universal.js +0 -207
  76. package/build/cjs/src/ecom-recommendations-v1-recommendation.universal.js.map +0 -1
  77. package/build/cjs/src/ecom-v1-abandoned-checkout.context.d.ts +0 -3
  78. package/build/cjs/src/ecom-v1-abandoned-checkout.context.js +0 -22
  79. package/build/cjs/src/ecom-v1-abandoned-checkout.context.js.map +0 -1
  80. package/build/cjs/src/ecom-v1-abandoned-checkout.http.d.ts +0 -3
  81. package/build/cjs/src/ecom-v1-abandoned-checkout.http.js +0 -55
  82. package/build/cjs/src/ecom-v1-abandoned-checkout.http.js.map +0 -1
  83. package/build/cjs/src/ecom-v1-abandoned-checkout.meta.d.ts +0 -15
  84. package/build/cjs/src/ecom-v1-abandoned-checkout.meta.js +0 -47
  85. package/build/cjs/src/ecom-v1-abandoned-checkout.meta.js.map +0 -1
  86. package/build/cjs/src/ecom-v1-abandoned-checkout.public.d.ts +0 -39
  87. package/build/cjs/src/ecom-v1-abandoned-checkout.public.js +0 -23
  88. package/build/cjs/src/ecom-v1-abandoned-checkout.public.js.map +0 -1
  89. package/build/cjs/src/ecom-v1-abandoned-checkout.types.d.ts +0 -562
  90. package/build/cjs/src/ecom-v1-abandoned-checkout.types.js +0 -56
  91. package/build/cjs/src/ecom-v1-abandoned-checkout.types.js.map +0 -1
  92. package/build/cjs/src/ecom-v1-abandoned-checkout.universal.d.ts +0 -609
  93. package/build/cjs/src/ecom-v1-abandoned-checkout.universal.js +0 -177
  94. package/build/cjs/src/ecom-v1-abandoned-checkout.universal.js.map +0 -1
  95. package/build/cjs/src/ecom-v1-back-in-stock-notification-request.context.d.ts +0 -9
  96. package/build/cjs/src/ecom-v1-back-in-stock-notification-request.context.js +0 -124
  97. package/build/cjs/src/ecom-v1-back-in-stock-notification-request.context.js.map +0 -1
  98. package/build/cjs/src/ecom-v1-back-in-stock-notification-request.http.d.ts +0 -54
  99. package/build/cjs/src/ecom-v1-back-in-stock-notification-request.http.js +0 -243
  100. package/build/cjs/src/ecom-v1-back-in-stock-notification-request.http.js.map +0 -1
  101. package/build/cjs/src/ecom-v1-back-in-stock-notification-request.meta.d.ts +0 -25
  102. package/build/cjs/src/ecom-v1-back-in-stock-notification-request.meta.js +0 -161
  103. package/build/cjs/src/ecom-v1-back-in-stock-notification-request.meta.js.map +0 -1
  104. package/build/cjs/src/ecom-v1-back-in-stock-notification-request.public.d.ts +0 -29
  105. package/build/cjs/src/ecom-v1-back-in-stock-notification-request.public.js +0 -55
  106. package/build/cjs/src/ecom-v1-back-in-stock-notification-request.public.js.map +0 -1
  107. package/build/cjs/src/ecom-v1-back-in-stock-notification-request.types.d.ts +0 -438
  108. package/build/cjs/src/ecom-v1-back-in-stock-notification-request.types.js +0 -18
  109. package/build/cjs/src/ecom-v1-back-in-stock-notification-request.types.js.map +0 -1
  110. package/build/cjs/src/ecom-v1-back-in-stock-notification-request.universal.d.ts +0 -648
  111. package/build/cjs/src/ecom-v1-back-in-stock-notification-request.universal.js +0 -546
  112. package/build/cjs/src/ecom-v1-back-in-stock-notification-request.universal.js.map +0 -1
  113. package/build/cjs/src/ecom-v1-back-in-stock-settings.context.d.ts +0 -5
  114. package/build/cjs/src/ecom-v1-back-in-stock-settings.context.js +0 -56
  115. package/build/cjs/src/ecom-v1-back-in-stock-settings.context.js.map +0 -1
  116. package/build/cjs/src/ecom-v1-back-in-stock-settings.http.d.ts +0 -18
  117. package/build/cjs/src/ecom-v1-back-in-stock-settings.http.js +0 -90
  118. package/build/cjs/src/ecom-v1-back-in-stock-settings.http.js.map +0 -1
  119. package/build/cjs/src/ecom-v1-back-in-stock-settings.meta.d.ts +0 -15
  120. package/build/cjs/src/ecom-v1-back-in-stock-settings.meta.js +0 -85
  121. package/build/cjs/src/ecom-v1-back-in-stock-settings.meta.js.map +0 -1
  122. package/build/cjs/src/ecom-v1-back-in-stock-settings.public.d.ts +0 -8
  123. package/build/cjs/src/ecom-v1-back-in-stock-settings.public.js +0 -24
  124. package/build/cjs/src/ecom-v1-back-in-stock-settings.public.js.map +0 -1
  125. package/build/cjs/src/ecom-v1-back-in-stock-settings.types.d.ts +0 -63
  126. package/build/cjs/src/ecom-v1-back-in-stock-settings.types.js +0 -3
  127. package/build/cjs/src/ecom-v1-back-in-stock-settings.types.js.map +0 -1
  128. package/build/cjs/src/ecom-v1-back-in-stock-settings.universal.d.ts +0 -94
  129. package/build/cjs/src/ecom-v1-back-in-stock-settings.universal.js +0 -210
  130. package/build/cjs/src/ecom-v1-back-in-stock-settings.universal.js.map +0 -1
  131. package/build/cjs/src/ecom-v1-cart-cart.context.d.ts +0 -12
  132. package/build/cjs/src/ecom-v1-cart-cart.context.js +0 -175
  133. package/build/cjs/src/ecom-v1-cart-cart.context.js.map +0 -1
  134. package/build/cjs/src/ecom-v1-cart-cart.http.d.ts +0 -116
  135. package/build/cjs/src/ecom-v1-cart-cart.http.js +0 -1119
  136. package/build/cjs/src/ecom-v1-cart-cart.http.js.map +0 -1
  137. package/build/cjs/src/ecom-v1-cart-cart.meta.d.ts +0 -40
  138. package/build/cjs/src/ecom-v1-cart-cart.meta.js +0 -218
  139. package/build/cjs/src/ecom-v1-cart-cart.meta.js.map +0 -1
  140. package/build/cjs/src/ecom-v1-cart-cart.public.d.ts +0 -315
  141. package/build/cjs/src/ecom-v1-cart-cart.public.js +0 -91
  142. package/build/cjs/src/ecom-v1-cart-cart.public.js.map +0 -1
  143. package/build/cjs/src/ecom-v1-cart-cart.types.d.ts +0 -3845
  144. package/build/cjs/src/ecom-v1-cart-cart.types.js +0 -187
  145. package/build/cjs/src/ecom-v1-cart-cart.types.js.map +0 -1
  146. package/build/cjs/src/ecom-v1-cart-cart.universal.d.ts +0 -3539
  147. package/build/cjs/src/ecom-v1-cart-cart.universal.js +0 -1025
  148. package/build/cjs/src/ecom-v1-cart-cart.universal.js.map +0 -1
  149. package/build/cjs/src/ecom-v1-cart-current-cart.context.d.ts +0 -11
  150. package/build/cjs/src/ecom-v1-cart-current-cart.context.js +0 -158
  151. package/build/cjs/src/ecom-v1-cart-current-cart.context.js.map +0 -1
  152. package/build/cjs/src/ecom-v1-cart-current-cart.http.d.ts +0 -164
  153. package/build/cjs/src/ecom-v1-cart-current-cart.http.js +0 -1167
  154. package/build/cjs/src/ecom-v1-cart-current-cart.http.js.map +0 -1
  155. package/build/cjs/src/ecom-v1-cart-current-cart.meta.d.ts +0 -21
  156. package/build/cjs/src/ecom-v1-cart-current-cart.meta.js +0 -199
  157. package/build/cjs/src/ecom-v1-cart-current-cart.meta.js.map +0 -1
  158. package/build/cjs/src/ecom-v1-cart-current-cart.public.d.ts +0 -215
  159. package/build/cjs/src/ecom-v1-cart-current-cart.public.js +0 -85
  160. package/build/cjs/src/ecom-v1-cart-current-cart.public.js.map +0 -1
  161. package/build/cjs/src/ecom-v1-cart-current-cart.types.d.ts +0 -3845
  162. package/build/cjs/src/ecom-v1-cart-current-cart.types.js +0 -187
  163. package/build/cjs/src/ecom-v1-cart-current-cart.types.js.map +0 -1
  164. package/build/cjs/src/ecom-v1-cart-current-cart.universal.d.ts +0 -3403
  165. package/build/cjs/src/ecom-v1-cart-current-cart.universal.js +0 -916
  166. package/build/cjs/src/ecom-v1-cart-current-cart.universal.js.map +0 -1
  167. package/build/cjs/src/ecom-v1-checkout-checkout.context.d.ts +0 -14
  168. package/build/cjs/src/ecom-v1-checkout-checkout.context.js +0 -209
  169. package/build/cjs/src/ecom-v1-checkout-checkout.context.js.map +0 -1
  170. package/build/cjs/src/ecom-v1-checkout-checkout.http.d.ts +0 -113
  171. package/build/cjs/src/ecom-v1-checkout-checkout.http.js +0 -1011
  172. package/build/cjs/src/ecom-v1-checkout-checkout.http.js.map +0 -1
  173. package/build/cjs/src/ecom-v1-checkout-checkout.meta.d.ts +0 -46
  174. package/build/cjs/src/ecom-v1-checkout-checkout.meta.js +0 -256
  175. package/build/cjs/src/ecom-v1-checkout-checkout.meta.js.map +0 -1
  176. package/build/cjs/src/ecom-v1-checkout-checkout.public.d.ts +0 -2057
  177. package/build/cjs/src/ecom-v1-checkout-checkout.public.js +0 -109
  178. package/build/cjs/src/ecom-v1-checkout-checkout.public.js.map +0 -1
  179. package/build/cjs/src/ecom-v1-checkout-checkout.types.d.ts +0 -10784
  180. package/build/cjs/src/ecom-v1-checkout-checkout.types.js +0 -237
  181. package/build/cjs/src/ecom-v1-checkout-checkout.types.js.map +0 -1
  182. package/build/cjs/src/ecom-v1-checkout-checkout.universal.d.ts +0 -8780
  183. package/build/cjs/src/ecom-v1-checkout-checkout.universal.js +0 -1366
  184. package/build/cjs/src/ecom-v1-checkout-checkout.universal.js.map +0 -1
  185. package/build/cjs/src/ecom-v1-checkout-settings.context.d.ts +0 -4
  186. package/build/cjs/src/ecom-v1-checkout-settings.context.js +0 -39
  187. package/build/cjs/src/ecom-v1-checkout-settings.context.js.map +0 -1
  188. package/build/cjs/src/ecom-v1-checkout-settings.http.d.ts +0 -15
  189. package/build/cjs/src/ecom-v1-checkout-settings.http.js +0 -85
  190. package/build/cjs/src/ecom-v1-checkout-settings.http.js.map +0 -1
  191. package/build/cjs/src/ecom-v1-checkout-settings.meta.d.ts +0 -14
  192. package/build/cjs/src/ecom-v1-checkout-settings.meta.js +0 -66
  193. package/build/cjs/src/ecom-v1-checkout-settings.meta.js.map +0 -1
  194. package/build/cjs/src/ecom-v1-checkout-settings.public.d.ts +0 -9
  195. package/build/cjs/src/ecom-v1-checkout-settings.public.js +0 -20
  196. package/build/cjs/src/ecom-v1-checkout-settings.public.js.map +0 -1
  197. package/build/cjs/src/ecom-v1-checkout-settings.types.d.ts +0 -210
  198. package/build/cjs/src/ecom-v1-checkout-settings.types.js +0 -3
  199. package/build/cjs/src/ecom-v1-checkout-settings.types.js.map +0 -1
  200. package/build/cjs/src/ecom-v1-checkout-settings.universal.d.ts +0 -259
  201. package/build/cjs/src/ecom-v1-checkout-settings.universal.js +0 -183
  202. package/build/cjs/src/ecom-v1-checkout-settings.universal.js.map +0 -1
  203. package/build/cjs/src/ecom-v1-checkout-template.context.d.ts +0 -8
  204. package/build/cjs/src/ecom-v1-checkout-template.context.js +0 -107
  205. package/build/cjs/src/ecom-v1-checkout-template.context.js.map +0 -1
  206. package/build/cjs/src/ecom-v1-checkout-template.http.d.ts +0 -56
  207. package/build/cjs/src/ecom-v1-checkout-template.http.js +0 -298
  208. package/build/cjs/src/ecom-v1-checkout-template.http.js.map +0 -1
  209. package/build/cjs/src/ecom-v1-checkout-template.meta.d.ts +0 -26
  210. package/build/cjs/src/ecom-v1-checkout-template.meta.js +0 -142
  211. package/build/cjs/src/ecom-v1-checkout-template.meta.js.map +0 -1
  212. package/build/cjs/src/ecom-v1-checkout-template.public.d.ts +0 -41
  213. package/build/cjs/src/ecom-v1-checkout-template.public.js +0 -70
  214. package/build/cjs/src/ecom-v1-checkout-template.public.js.map +0 -1
  215. package/build/cjs/src/ecom-v1-checkout-template.types.d.ts +0 -2087
  216. package/build/cjs/src/ecom-v1-checkout-template.types.js +0 -198
  217. package/build/cjs/src/ecom-v1-checkout-template.types.js.map +0 -1
  218. package/build/cjs/src/ecom-v1-checkout-template.universal.d.ts +0 -1983
  219. package/build/cjs/src/ecom-v1-checkout-template.universal.js +0 -729
  220. package/build/cjs/src/ecom-v1-checkout-template.universal.js.map +0 -1
  221. package/build/cjs/src/ecom-v1-draft-order.http.d.ts +0 -15
  222. package/build/cjs/src/ecom-v1-draft-order.http.js +0 -194
  223. package/build/cjs/src/ecom-v1-draft-order.http.js.map +0 -1
  224. package/build/cjs/src/ecom-v1-draft-order.meta.d.ts +0 -19
  225. package/build/cjs/src/ecom-v1-draft-order.meta.js +0 -85
  226. package/build/cjs/src/ecom-v1-draft-order.meta.js.map +0 -1
  227. package/build/cjs/src/ecom-v1-draft-order.public.d.ts +0 -10
  228. package/build/cjs/src/ecom-v1-draft-order.public.js +0 -49
  229. package/build/cjs/src/ecom-v1-draft-order.public.js.map +0 -1
  230. package/build/cjs/src/ecom-v1-draft-order.types.d.ts +0 -3052
  231. package/build/cjs/src/ecom-v1-draft-order.types.js +0 -245
  232. package/build/cjs/src/ecom-v1-draft-order.types.js.map +0 -1
  233. package/build/cjs/src/ecom-v1-draft-order.universal.d.ts +0 -2879
  234. package/build/cjs/src/ecom-v1-draft-order.universal.js +0 -525
  235. package/build/cjs/src/ecom-v1-draft-order.universal.js.map +0 -1
  236. package/build/cjs/src/ecom-v1-fulfillments.context.d.ts +0 -8
  237. package/build/cjs/src/ecom-v1-fulfillments.context.js +0 -107
  238. package/build/cjs/src/ecom-v1-fulfillments.context.js.map +0 -1
  239. package/build/cjs/src/ecom-v1-fulfillments.http.d.ts +0 -47
  240. package/build/cjs/src/ecom-v1-fulfillments.http.js +0 -249
  241. package/build/cjs/src/ecom-v1-fulfillments.http.js.map +0 -1
  242. package/build/cjs/src/ecom-v1-fulfillments.meta.d.ts +0 -28
  243. package/build/cjs/src/ecom-v1-fulfillments.meta.js +0 -148
  244. package/build/cjs/src/ecom-v1-fulfillments.meta.js.map +0 -1
  245. package/build/cjs/src/ecom-v1-fulfillments.public.d.ts +0 -21
  246. package/build/cjs/src/ecom-v1-fulfillments.public.js +0 -47
  247. package/build/cjs/src/ecom-v1-fulfillments.public.js.map +0 -1
  248. package/build/cjs/src/ecom-v1-fulfillments.types.d.ts +0 -412
  249. package/build/cjs/src/ecom-v1-fulfillments.types.js +0 -26
  250. package/build/cjs/src/ecom-v1-fulfillments.types.js.map +0 -1
  251. package/build/cjs/src/ecom-v1-fulfillments.universal.d.ts +0 -606
  252. package/build/cjs/src/ecom-v1-fulfillments.universal.js +0 -492
  253. package/build/cjs/src/ecom-v1-fulfillments.universal.js.map +0 -1
  254. package/build/cjs/src/ecom-v1-order-transactions.context.d.ts +0 -7
  255. package/build/cjs/src/ecom-v1-order-transactions.context.js +0 -90
  256. package/build/cjs/src/ecom-v1-order-transactions.context.js.map +0 -1
  257. package/build/cjs/src/ecom-v1-order-transactions.http.d.ts +0 -38
  258. package/build/cjs/src/ecom-v1-order-transactions.http.js +0 -240
  259. package/build/cjs/src/ecom-v1-order-transactions.http.js.map +0 -1
  260. package/build/cjs/src/ecom-v1-order-transactions.meta.d.ts +0 -24
  261. package/build/cjs/src/ecom-v1-order-transactions.meta.js +0 -123
  262. package/build/cjs/src/ecom-v1-order-transactions.meta.js.map +0 -1
  263. package/build/cjs/src/ecom-v1-order-transactions.public.d.ts +0 -13
  264. package/build/cjs/src/ecom-v1-order-transactions.public.js +0 -58
  265. package/build/cjs/src/ecom-v1-order-transactions.public.js.map +0 -1
  266. package/build/cjs/src/ecom-v1-order-transactions.types.d.ts +0 -1621
  267. package/build/cjs/src/ecom-v1-order-transactions.types.js +0 -220
  268. package/build/cjs/src/ecom-v1-order-transactions.types.js.map +0 -1
  269. package/build/cjs/src/ecom-v1-order-transactions.universal.d.ts +0 -1696
  270. package/build/cjs/src/ecom-v1-order-transactions.universal.js +0 -624
  271. package/build/cjs/src/ecom-v1-order-transactions.universal.js.map +0 -1
  272. package/build/cjs/src/ecom-v1-order.context.d.ts +0 -7
  273. package/build/cjs/src/ecom-v1-order.context.js +0 -90
  274. package/build/cjs/src/ecom-v1-order.context.js.map +0 -1
  275. package/build/cjs/src/ecom-v1-order.http.d.ts +0 -66
  276. package/build/cjs/src/ecom-v1-order.http.js +0 -414
  277. package/build/cjs/src/ecom-v1-order.http.js.map +0 -1
  278. package/build/cjs/src/ecom-v1-order.meta.d.ts +0 -23
  279. package/build/cjs/src/ecom-v1-order.meta.js +0 -123
  280. package/build/cjs/src/ecom-v1-order.meta.js.map +0 -1
  281. package/build/cjs/src/ecom-v1-order.public.d.ts +0 -853
  282. package/build/cjs/src/ecom-v1-order.public.js +0 -82
  283. package/build/cjs/src/ecom-v1-order.public.js.map +0 -1
  284. package/build/cjs/src/ecom-v1-order.types.d.ts +0 -6678
  285. package/build/cjs/src/ecom-v1-order.types.js +0 -432
  286. package/build/cjs/src/ecom-v1-order.types.js.map +0 -1
  287. package/build/cjs/src/ecom-v1-order.universal.d.ts +0 -5481
  288. package/build/cjs/src/ecom-v1-order.universal.js +0 -1001
  289. package/build/cjs/src/ecom-v1-order.universal.js.map +0 -1
  290. package/build/cjs/src/ecom-v1-orders-settings.context.d.ts +0 -4
  291. package/build/cjs/src/ecom-v1-orders-settings.context.js +0 -39
  292. package/build/cjs/src/ecom-v1-orders-settings.context.js.map +0 -1
  293. package/build/cjs/src/ecom-v1-orders-settings.http.d.ts +0 -15
  294. package/build/cjs/src/ecom-v1-orders-settings.http.js +0 -85
  295. package/build/cjs/src/ecom-v1-orders-settings.http.js.map +0 -1
  296. package/build/cjs/src/ecom-v1-orders-settings.meta.d.ts +0 -14
  297. package/build/cjs/src/ecom-v1-orders-settings.meta.js +0 -66
  298. package/build/cjs/src/ecom-v1-orders-settings.meta.js.map +0 -1
  299. package/build/cjs/src/ecom-v1-orders-settings.public.d.ts +0 -10
  300. package/build/cjs/src/ecom-v1-orders-settings.public.js +0 -22
  301. package/build/cjs/src/ecom-v1-orders-settings.public.js.map +0 -1
  302. package/build/cjs/src/ecom-v1-orders-settings.types.d.ts +0 -119
  303. package/build/cjs/src/ecom-v1-orders-settings.types.js +0 -10
  304. package/build/cjs/src/ecom-v1-orders-settings.types.js.map +0 -1
  305. package/build/cjs/src/ecom-v1-orders-settings.universal.d.ts +0 -170
  306. package/build/cjs/src/ecom-v1-orders-settings.universal.js +0 -189
  307. package/build/cjs/src/ecom-v1-orders-settings.universal.js.map +0 -1
  308. package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.context.d.ts +0 -5
  309. package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.context.js +0 -38
  310. package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.context.js.map +0 -1
  311. package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.http.d.ts +0 -16
  312. package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.http.js +0 -156
  313. package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.http.js.map +0 -1
  314. package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.meta.d.ts +0 -21
  315. package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.meta.js +0 -85
  316. package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.meta.js.map +0 -1
  317. package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.public.d.ts +0 -9
  318. package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.public.js +0 -24
  319. package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.public.js.map +0 -1
  320. package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.types.d.ts +0 -64
  321. package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.types.js +0 -3
  322. package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.types.js.map +0 -1
  323. package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.universal.d.ts +0 -123
  324. package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.universal.js +0 -234
  325. package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.universal.js.map +0 -1
  326. package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.http.d.ts +0 -12
  327. package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.http.js +0 -90
  328. package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.http.js.map +0 -1
  329. package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.meta.d.ts +0 -13
  330. package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.meta.js +0 -47
  331. package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.meta.js.map +0 -1
  332. package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.public.d.ts +0 -8
  333. package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.public.js +0 -30
  334. package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.public.js.map +0 -1
  335. package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.types.d.ts +0 -1164
  336. package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.types.js +0 -176
  337. package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.types.js.map +0 -1
  338. package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.universal.d.ts +0 -1144
  339. package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.universal.js +0 -303
  340. package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.universal.js.map +0 -1
  341. package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.http.d.ts +0 -13
  342. package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.http.js +0 -65
  343. package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.http.js.map +0 -1
  344. package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.meta.d.ts +0 -13
  345. package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.meta.js +0 -47
  346. package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.meta.js.map +0 -1
  347. package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.public.d.ts +0 -8
  348. package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.public.js +0 -23
  349. package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.public.js.map +0 -1
  350. package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.types.d.ts +0 -520
  351. package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.types.js +0 -84
  352. package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.types.js.map +0 -1
  353. package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.universal.d.ts +0 -535
  354. package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.universal.js +0 -199
  355. package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.universal.js.map +0 -1
  356. package/build/es/index.typings.d.ts +0 -19
  357. package/build/es/index.typings.js +0 -20
  358. package/build/es/index.typings.js.map +0 -1
  359. package/build/es/src/ecom-discounts-v1-discount-rule.context.d.ts +0 -7
  360. package/build/es/src/ecom-discounts-v1-discount-rule.context.js +0 -82
  361. package/build/es/src/ecom-discounts-v1-discount-rule.context.js.map +0 -1
  362. package/build/es/src/ecom-discounts-v1-discount-rule.http.d.ts +0 -48
  363. package/build/es/src/ecom-discounts-v1-discount-rule.http.js +0 -257
  364. package/build/es/src/ecom-discounts-v1-discount-rule.http.js.map +0 -1
  365. package/build/es/src/ecom-discounts-v1-discount-rule.meta.d.ts +0 -23
  366. package/build/es/src/ecom-discounts-v1-discount-rule.meta.js +0 -92
  367. package/build/es/src/ecom-discounts-v1-discount-rule.meta.js.map +0 -1
  368. package/build/es/src/ecom-discounts-v1-discount-rule.public.d.ts +0 -205
  369. package/build/es/src/ecom-discounts-v1-discount-rule.public.js +0 -30
  370. package/build/es/src/ecom-discounts-v1-discount-rule.public.js.map +0 -1
  371. package/build/es/src/ecom-discounts-v1-discount-rule.types.d.ts +0 -990
  372. package/build/es/src/ecom-discounts-v1-discount-rule.types.js +0 -67
  373. package/build/es/src/ecom-discounts-v1-discount-rule.types.js.map +0 -1
  374. package/build/es/src/ecom-discounts-v1-discount-rule.universal.d.ts +0 -1086
  375. package/build/es/src/ecom-discounts-v1-discount-rule.universal.js +0 -460
  376. package/build/es/src/ecom-discounts-v1-discount-rule.universal.js.map +0 -1
  377. package/build/es/src/ecom-orders-v1-invoice.context.d.ts +0 -3
  378. package/build/es/src/ecom-orders-v1-invoice.context.js +0 -18
  379. package/build/es/src/ecom-orders-v1-invoice.context.js.map +0 -1
  380. package/build/es/src/ecom-orders-v1-invoice.http.d.ts +0 -8
  381. package/build/es/src/ecom-orders-v1-invoice.http.js +0 -42
  382. package/build/es/src/ecom-orders-v1-invoice.http.js.map +0 -1
  383. package/build/es/src/ecom-orders-v1-invoice.meta.d.ts +0 -13
  384. package/build/es/src/ecom-orders-v1-invoice.meta.js +0 -20
  385. package/build/es/src/ecom-orders-v1-invoice.meta.js.map +0 -1
  386. package/build/es/src/ecom-orders-v1-invoice.public.d.ts +0 -6
  387. package/build/es/src/ecom-orders-v1-invoice.public.js +0 -8
  388. package/build/es/src/ecom-orders-v1-invoice.public.js.map +0 -1
  389. package/build/es/src/ecom-orders-v1-invoice.types.d.ts +0 -172
  390. package/build/es/src/ecom-orders-v1-invoice.types.js +0 -2
  391. package/build/es/src/ecom-orders-v1-invoice.types.js.map +0 -1
  392. package/build/es/src/ecom-orders-v1-invoice.universal.d.ts +0 -201
  393. package/build/es/src/ecom-orders-v1-invoice.universal.js +0 -90
  394. package/build/es/src/ecom-orders-v1-invoice.universal.js.map +0 -1
  395. package/build/es/src/ecom-recommendations-v1-recommendation.context.d.ts +0 -4
  396. package/build/es/src/ecom-recommendations-v1-recommendation.context.js +0 -34
  397. package/build/es/src/ecom-recommendations-v1-recommendation.context.js.map +0 -1
  398. package/build/es/src/ecom-recommendations-v1-recommendation.http.d.ts +0 -37
  399. package/build/es/src/ecom-recommendations-v1-recommendation.http.js +0 -86
  400. package/build/es/src/ecom-recommendations-v1-recommendation.http.js.map +0 -1
  401. package/build/es/src/ecom-recommendations-v1-recommendation.meta.d.ts +0 -14
  402. package/build/es/src/ecom-recommendations-v1-recommendation.meta.js +0 -38
  403. package/build/es/src/ecom-recommendations-v1-recommendation.meta.js.map +0 -1
  404. package/build/es/src/ecom-recommendations-v1-recommendation.public.d.ts +0 -9
  405. package/build/es/src/ecom-recommendations-v1-recommendation.public.js +0 -14
  406. package/build/es/src/ecom-recommendations-v1-recommendation.public.js.map +0 -1
  407. package/build/es/src/ecom-recommendations-v1-recommendation.types.d.ts +0 -136
  408. package/build/es/src/ecom-recommendations-v1-recommendation.types.js +0 -7
  409. package/build/es/src/ecom-recommendations-v1-recommendation.types.js.map +0 -1
  410. package/build/es/src/ecom-recommendations-v1-recommendation.universal.d.ts +0 -206
  411. package/build/es/src/ecom-recommendations-v1-recommendation.universal.js +0 -179
  412. package/build/es/src/ecom-recommendations-v1-recommendation.universal.js.map +0 -1
  413. package/build/es/src/ecom-v1-abandoned-checkout.context.d.ts +0 -3
  414. package/build/es/src/ecom-v1-abandoned-checkout.context.js +0 -18
  415. package/build/es/src/ecom-v1-abandoned-checkout.context.js.map +0 -1
  416. package/build/es/src/ecom-v1-abandoned-checkout.http.d.ts +0 -3
  417. package/build/es/src/ecom-v1-abandoned-checkout.http.js +0 -51
  418. package/build/es/src/ecom-v1-abandoned-checkout.http.js.map +0 -1
  419. package/build/es/src/ecom-v1-abandoned-checkout.meta.d.ts +0 -15
  420. package/build/es/src/ecom-v1-abandoned-checkout.meta.js +0 -20
  421. package/build/es/src/ecom-v1-abandoned-checkout.meta.js.map +0 -1
  422. package/build/es/src/ecom-v1-abandoned-checkout.public.d.ts +0 -39
  423. package/build/es/src/ecom-v1-abandoned-checkout.public.js +0 -10
  424. package/build/es/src/ecom-v1-abandoned-checkout.public.js.map +0 -1
  425. package/build/es/src/ecom-v1-abandoned-checkout.types.d.ts +0 -562
  426. package/build/es/src/ecom-v1-abandoned-checkout.types.js +0 -53
  427. package/build/es/src/ecom-v1-abandoned-checkout.types.js.map +0 -1
  428. package/build/es/src/ecom-v1-abandoned-checkout.universal.d.ts +0 -609
  429. package/build/es/src/ecom-v1-abandoned-checkout.universal.js +0 -150
  430. package/build/es/src/ecom-v1-abandoned-checkout.universal.js.map +0 -1
  431. package/build/es/src/ecom-v1-back-in-stock-notification-request.context.d.ts +0 -9
  432. package/build/es/src/ecom-v1-back-in-stock-notification-request.context.js +0 -114
  433. package/build/es/src/ecom-v1-back-in-stock-notification-request.context.js.map +0 -1
  434. package/build/es/src/ecom-v1-back-in-stock-notification-request.http.d.ts +0 -54
  435. package/build/es/src/ecom-v1-back-in-stock-notification-request.http.js +0 -233
  436. package/build/es/src/ecom-v1-back-in-stock-notification-request.http.js.map +0 -1
  437. package/build/es/src/ecom-v1-back-in-stock-notification-request.meta.d.ts +0 -25
  438. package/build/es/src/ecom-v1-back-in-stock-notification-request.meta.js +0 -128
  439. package/build/es/src/ecom-v1-back-in-stock-notification-request.meta.js.map +0 -1
  440. package/build/es/src/ecom-v1-back-in-stock-notification-request.public.d.ts +0 -29
  441. package/build/es/src/ecom-v1-back-in-stock-notification-request.public.js +0 -40
  442. package/build/es/src/ecom-v1-back-in-stock-notification-request.public.js.map +0 -1
  443. package/build/es/src/ecom-v1-back-in-stock-notification-request.types.d.ts +0 -438
  444. package/build/es/src/ecom-v1-back-in-stock-notification-request.types.js +0 -15
  445. package/build/es/src/ecom-v1-back-in-stock-notification-request.types.js.map +0 -1
  446. package/build/es/src/ecom-v1-back-in-stock-notification-request.universal.d.ts +0 -648
  447. package/build/es/src/ecom-v1-back-in-stock-notification-request.universal.js +0 -513
  448. package/build/es/src/ecom-v1-back-in-stock-notification-request.universal.js.map +0 -1
  449. package/build/es/src/ecom-v1-back-in-stock-settings.context.d.ts +0 -5
  450. package/build/es/src/ecom-v1-back-in-stock-settings.context.js +0 -50
  451. package/build/es/src/ecom-v1-back-in-stock-settings.context.js.map +0 -1
  452. package/build/es/src/ecom-v1-back-in-stock-settings.http.d.ts +0 -18
  453. package/build/es/src/ecom-v1-back-in-stock-settings.http.js +0 -84
  454. package/build/es/src/ecom-v1-back-in-stock-settings.http.js.map +0 -1
  455. package/build/es/src/ecom-v1-back-in-stock-settings.meta.d.ts +0 -15
  456. package/build/es/src/ecom-v1-back-in-stock-settings.meta.js +0 -56
  457. package/build/es/src/ecom-v1-back-in-stock-settings.meta.js.map +0 -1
  458. package/build/es/src/ecom-v1-back-in-stock-settings.public.d.ts +0 -8
  459. package/build/es/src/ecom-v1-back-in-stock-settings.public.js +0 -18
  460. package/build/es/src/ecom-v1-back-in-stock-settings.public.js.map +0 -1
  461. package/build/es/src/ecom-v1-back-in-stock-settings.types.d.ts +0 -63
  462. package/build/es/src/ecom-v1-back-in-stock-settings.types.js +0 -2
  463. package/build/es/src/ecom-v1-back-in-stock-settings.types.js.map +0 -1
  464. package/build/es/src/ecom-v1-back-in-stock-settings.universal.d.ts +0 -94
  465. package/build/es/src/ecom-v1-back-in-stock-settings.universal.js +0 -181
  466. package/build/es/src/ecom-v1-back-in-stock-settings.universal.js.map +0 -1
  467. package/build/es/src/ecom-v1-cart-cart.context.d.ts +0 -12
  468. package/build/es/src/ecom-v1-cart-cart.context.js +0 -162
  469. package/build/es/src/ecom-v1-cart-cart.context.js.map +0 -1
  470. package/build/es/src/ecom-v1-cart-cart.http.d.ts +0 -116
  471. package/build/es/src/ecom-v1-cart-cart.http.js +0 -1097
  472. package/build/es/src/ecom-v1-cart-cart.http.js.map +0 -1
  473. package/build/es/src/ecom-v1-cart-cart.meta.d.ts +0 -40
  474. package/build/es/src/ecom-v1-cart-cart.meta.js +0 -182
  475. package/build/es/src/ecom-v1-cart-cart.meta.js.map +0 -1
  476. package/build/es/src/ecom-v1-cart-cart.public.d.ts +0 -315
  477. package/build/es/src/ecom-v1-cart-cart.public.js +0 -55
  478. package/build/es/src/ecom-v1-cart-cart.public.js.map +0 -1
  479. package/build/es/src/ecom-v1-cart-cart.types.d.ts +0 -3845
  480. package/build/es/src/ecom-v1-cart-cart.types.js +0 -184
  481. package/build/es/src/ecom-v1-cart-cart.types.js.map +0 -1
  482. package/build/es/src/ecom-v1-cart-cart.universal.d.ts +0 -3539
  483. package/build/es/src/ecom-v1-cart-cart.universal.js +0 -989
  484. package/build/es/src/ecom-v1-cart-cart.universal.js.map +0 -1
  485. package/build/es/src/ecom-v1-cart-current-cart.context.d.ts +0 -11
  486. package/build/es/src/ecom-v1-cart-current-cart.context.js +0 -146
  487. package/build/es/src/ecom-v1-cart-current-cart.context.js.map +0 -1
  488. package/build/es/src/ecom-v1-cart-current-cart.http.d.ts +0 -164
  489. package/build/es/src/ecom-v1-cart-current-cart.http.js +0 -1145
  490. package/build/es/src/ecom-v1-cart-current-cart.http.js.map +0 -1
  491. package/build/es/src/ecom-v1-cart-current-cart.meta.d.ts +0 -21
  492. package/build/es/src/ecom-v1-cart-current-cart.meta.js +0 -164
  493. package/build/es/src/ecom-v1-cart-current-cart.meta.js.map +0 -1
  494. package/build/es/src/ecom-v1-cart-current-cart.public.d.ts +0 -215
  495. package/build/es/src/ecom-v1-cart-current-cart.public.js +0 -50
  496. package/build/es/src/ecom-v1-cart-current-cart.public.js.map +0 -1
  497. package/build/es/src/ecom-v1-cart-current-cart.types.d.ts +0 -3845
  498. package/build/es/src/ecom-v1-cart-current-cart.types.js +0 -184
  499. package/build/es/src/ecom-v1-cart-current-cart.types.js.map +0 -1
  500. package/build/es/src/ecom-v1-cart-current-cart.universal.d.ts +0 -3403
  501. package/build/es/src/ecom-v1-cart-current-cart.universal.js +0 -881
  502. package/build/es/src/ecom-v1-cart-current-cart.universal.js.map +0 -1
  503. package/build/es/src/ecom-v1-checkout-checkout.context.d.ts +0 -14
  504. package/build/es/src/ecom-v1-checkout-checkout.context.js +0 -194
  505. package/build/es/src/ecom-v1-checkout-checkout.context.js.map +0 -1
  506. package/build/es/src/ecom-v1-checkout-checkout.http.d.ts +0 -113
  507. package/build/es/src/ecom-v1-checkout-checkout.http.js +0 -996
  508. package/build/es/src/ecom-v1-checkout-checkout.http.js.map +0 -1
  509. package/build/es/src/ecom-v1-checkout-checkout.meta.d.ts +0 -46
  510. package/build/es/src/ecom-v1-checkout-checkout.meta.js +0 -218
  511. package/build/es/src/ecom-v1-checkout-checkout.meta.js.map +0 -1
  512. package/build/es/src/ecom-v1-checkout-checkout.public.d.ts +0 -2057
  513. package/build/es/src/ecom-v1-checkout-checkout.public.js +0 -65
  514. package/build/es/src/ecom-v1-checkout-checkout.public.js.map +0 -1
  515. package/build/es/src/ecom-v1-checkout-checkout.types.d.ts +0 -10784
  516. package/build/es/src/ecom-v1-checkout-checkout.types.js +0 -234
  517. package/build/es/src/ecom-v1-checkout-checkout.types.js.map +0 -1
  518. package/build/es/src/ecom-v1-checkout-checkout.universal.d.ts +0 -8780
  519. package/build/es/src/ecom-v1-checkout-checkout.universal.js +0 -1328
  520. package/build/es/src/ecom-v1-checkout-checkout.universal.js.map +0 -1
  521. package/build/es/src/ecom-v1-checkout-settings.context.d.ts +0 -4
  522. package/build/es/src/ecom-v1-checkout-settings.context.js +0 -34
  523. package/build/es/src/ecom-v1-checkout-settings.context.js.map +0 -1
  524. package/build/es/src/ecom-v1-checkout-settings.http.d.ts +0 -15
  525. package/build/es/src/ecom-v1-checkout-settings.http.js +0 -80
  526. package/build/es/src/ecom-v1-checkout-settings.http.js.map +0 -1
  527. package/build/es/src/ecom-v1-checkout-settings.meta.d.ts +0 -14
  528. package/build/es/src/ecom-v1-checkout-settings.meta.js +0 -38
  529. package/build/es/src/ecom-v1-checkout-settings.meta.js.map +0 -1
  530. package/build/es/src/ecom-v1-checkout-settings.public.d.ts +0 -9
  531. package/build/es/src/ecom-v1-checkout-settings.public.js +0 -14
  532. package/build/es/src/ecom-v1-checkout-settings.public.js.map +0 -1
  533. package/build/es/src/ecom-v1-checkout-settings.types.d.ts +0 -210
  534. package/build/es/src/ecom-v1-checkout-settings.types.js +0 -2
  535. package/build/es/src/ecom-v1-checkout-settings.types.js.map +0 -1
  536. package/build/es/src/ecom-v1-checkout-settings.universal.d.ts +0 -259
  537. package/build/es/src/ecom-v1-checkout-settings.universal.js +0 -155
  538. package/build/es/src/ecom-v1-checkout-settings.universal.js.map +0 -1
  539. package/build/es/src/ecom-v1-checkout-template.context.d.ts +0 -8
  540. package/build/es/src/ecom-v1-checkout-template.context.js +0 -98
  541. package/build/es/src/ecom-v1-checkout-template.context.js.map +0 -1
  542. package/build/es/src/ecom-v1-checkout-template.http.d.ts +0 -56
  543. package/build/es/src/ecom-v1-checkout-template.http.js +0 -289
  544. package/build/es/src/ecom-v1-checkout-template.http.js.map +0 -1
  545. package/build/es/src/ecom-v1-checkout-template.meta.d.ts +0 -26
  546. package/build/es/src/ecom-v1-checkout-template.meta.js +0 -110
  547. package/build/es/src/ecom-v1-checkout-template.meta.js.map +0 -1
  548. package/build/es/src/ecom-v1-checkout-template.public.d.ts +0 -41
  549. package/build/es/src/ecom-v1-checkout-template.public.js +0 -35
  550. package/build/es/src/ecom-v1-checkout-template.public.js.map +0 -1
  551. package/build/es/src/ecom-v1-checkout-template.types.d.ts +0 -2087
  552. package/build/es/src/ecom-v1-checkout-template.types.js +0 -195
  553. package/build/es/src/ecom-v1-checkout-template.types.js.map +0 -1
  554. package/build/es/src/ecom-v1-checkout-template.universal.d.ts +0 -1983
  555. package/build/es/src/ecom-v1-checkout-template.universal.js +0 -697
  556. package/build/es/src/ecom-v1-checkout-template.universal.js.map +0 -1
  557. package/build/es/src/ecom-v1-draft-order.http.d.ts +0 -15
  558. package/build/es/src/ecom-v1-draft-order.http.js +0 -188
  559. package/build/es/src/ecom-v1-draft-order.http.js.map +0 -1
  560. package/build/es/src/ecom-v1-draft-order.meta.d.ts +0 -19
  561. package/build/es/src/ecom-v1-draft-order.meta.js +0 -56
  562. package/build/es/src/ecom-v1-draft-order.meta.js.map +0 -1
  563. package/build/es/src/ecom-v1-draft-order.public.d.ts +0 -10
  564. package/build/es/src/ecom-v1-draft-order.public.js +0 -19
  565. package/build/es/src/ecom-v1-draft-order.public.js.map +0 -1
  566. package/build/es/src/ecom-v1-draft-order.types.d.ts +0 -3052
  567. package/build/es/src/ecom-v1-draft-order.types.js +0 -242
  568. package/build/es/src/ecom-v1-draft-order.types.js.map +0 -1
  569. package/build/es/src/ecom-v1-draft-order.universal.d.ts +0 -2879
  570. package/build/es/src/ecom-v1-draft-order.universal.js +0 -496
  571. package/build/es/src/ecom-v1-draft-order.universal.js.map +0 -1
  572. package/build/es/src/ecom-v1-fulfillments.context.d.ts +0 -8
  573. package/build/es/src/ecom-v1-fulfillments.context.js +0 -98
  574. package/build/es/src/ecom-v1-fulfillments.context.js.map +0 -1
  575. package/build/es/src/ecom-v1-fulfillments.http.d.ts +0 -47
  576. package/build/es/src/ecom-v1-fulfillments.http.js +0 -240
  577. package/build/es/src/ecom-v1-fulfillments.http.js.map +0 -1
  578. package/build/es/src/ecom-v1-fulfillments.meta.d.ts +0 -28
  579. package/build/es/src/ecom-v1-fulfillments.meta.js +0 -116
  580. package/build/es/src/ecom-v1-fulfillments.meta.js.map +0 -1
  581. package/build/es/src/ecom-v1-fulfillments.public.d.ts +0 -21
  582. package/build/es/src/ecom-v1-fulfillments.public.js +0 -35
  583. package/build/es/src/ecom-v1-fulfillments.public.js.map +0 -1
  584. package/build/es/src/ecom-v1-fulfillments.types.d.ts +0 -412
  585. package/build/es/src/ecom-v1-fulfillments.types.js +0 -23
  586. package/build/es/src/ecom-v1-fulfillments.types.js.map +0 -1
  587. package/build/es/src/ecom-v1-fulfillments.universal.d.ts +0 -606
  588. package/build/es/src/ecom-v1-fulfillments.universal.js +0 -460
  589. package/build/es/src/ecom-v1-fulfillments.universal.js.map +0 -1
  590. package/build/es/src/ecom-v1-order-transactions.context.d.ts +0 -7
  591. package/build/es/src/ecom-v1-order-transactions.context.js +0 -82
  592. package/build/es/src/ecom-v1-order-transactions.context.js.map +0 -1
  593. package/build/es/src/ecom-v1-order-transactions.http.d.ts +0 -38
  594. package/build/es/src/ecom-v1-order-transactions.http.js +0 -232
  595. package/build/es/src/ecom-v1-order-transactions.http.js.map +0 -1
  596. package/build/es/src/ecom-v1-order-transactions.meta.d.ts +0 -24
  597. package/build/es/src/ecom-v1-order-transactions.meta.js +0 -92
  598. package/build/es/src/ecom-v1-order-transactions.meta.js.map +0 -1
  599. package/build/es/src/ecom-v1-order-transactions.public.d.ts +0 -13
  600. package/build/es/src/ecom-v1-order-transactions.public.js +0 -30
  601. package/build/es/src/ecom-v1-order-transactions.public.js.map +0 -1
  602. package/build/es/src/ecom-v1-order-transactions.types.d.ts +0 -1621
  603. package/build/es/src/ecom-v1-order-transactions.types.js +0 -217
  604. package/build/es/src/ecom-v1-order-transactions.types.js.map +0 -1
  605. package/build/es/src/ecom-v1-order-transactions.universal.d.ts +0 -1696
  606. package/build/es/src/ecom-v1-order-transactions.universal.js +0 -593
  607. package/build/es/src/ecom-v1-order-transactions.universal.js.map +0 -1
  608. package/build/es/src/ecom-v1-order.context.d.ts +0 -7
  609. package/build/es/src/ecom-v1-order.context.js +0 -82
  610. package/build/es/src/ecom-v1-order.context.js.map +0 -1
  611. package/build/es/src/ecom-v1-order.http.d.ts +0 -66
  612. package/build/es/src/ecom-v1-order.http.js +0 -406
  613. package/build/es/src/ecom-v1-order.http.js.map +0 -1
  614. package/build/es/src/ecom-v1-order.meta.d.ts +0 -23
  615. package/build/es/src/ecom-v1-order.meta.js +0 -92
  616. package/build/es/src/ecom-v1-order.meta.js.map +0 -1
  617. package/build/es/src/ecom-v1-order.public.d.ts +0 -853
  618. package/build/es/src/ecom-v1-order.public.js +0 -30
  619. package/build/es/src/ecom-v1-order.public.js.map +0 -1
  620. package/build/es/src/ecom-v1-order.types.d.ts +0 -6678
  621. package/build/es/src/ecom-v1-order.types.js +0 -429
  622. package/build/es/src/ecom-v1-order.types.js.map +0 -1
  623. package/build/es/src/ecom-v1-order.universal.d.ts +0 -5481
  624. package/build/es/src/ecom-v1-order.universal.js +0 -970
  625. package/build/es/src/ecom-v1-order.universal.js.map +0 -1
  626. package/build/es/src/ecom-v1-orders-settings.context.d.ts +0 -4
  627. package/build/es/src/ecom-v1-orders-settings.context.js +0 -34
  628. package/build/es/src/ecom-v1-orders-settings.context.js.map +0 -1
  629. package/build/es/src/ecom-v1-orders-settings.http.d.ts +0 -15
  630. package/build/es/src/ecom-v1-orders-settings.http.js +0 -80
  631. package/build/es/src/ecom-v1-orders-settings.http.js.map +0 -1
  632. package/build/es/src/ecom-v1-orders-settings.meta.d.ts +0 -14
  633. package/build/es/src/ecom-v1-orders-settings.meta.js +0 -38
  634. package/build/es/src/ecom-v1-orders-settings.meta.js.map +0 -1
  635. package/build/es/src/ecom-v1-orders-settings.public.d.ts +0 -10
  636. package/build/es/src/ecom-v1-orders-settings.public.js +0 -15
  637. package/build/es/src/ecom-v1-orders-settings.public.js.map +0 -1
  638. package/build/es/src/ecom-v1-orders-settings.types.d.ts +0 -119
  639. package/build/es/src/ecom-v1-orders-settings.types.js +0 -7
  640. package/build/es/src/ecom-v1-orders-settings.types.js.map +0 -1
  641. package/build/es/src/ecom-v1-orders-settings.universal.d.ts +0 -170
  642. package/build/es/src/ecom-v1-orders-settings.universal.js +0 -161
  643. package/build/es/src/ecom-v1-orders-settings.universal.js.map +0 -1
  644. package/build/es/src/ecommerce-currency-converter-v1-currency-rate.context.d.ts +0 -5
  645. package/build/es/src/ecommerce-currency-converter-v1-currency-rate.context.js +0 -32
  646. package/build/es/src/ecommerce-currency-converter-v1-currency-rate.context.js.map +0 -1
  647. package/build/es/src/ecommerce-currency-converter-v1-currency-rate.http.d.ts +0 -16
  648. package/build/es/src/ecommerce-currency-converter-v1-currency-rate.http.js +0 -150
  649. package/build/es/src/ecommerce-currency-converter-v1-currency-rate.http.js.map +0 -1
  650. package/build/es/src/ecommerce-currency-converter-v1-currency-rate.meta.d.ts +0 -21
  651. package/build/es/src/ecommerce-currency-converter-v1-currency-rate.meta.js +0 -56
  652. package/build/es/src/ecommerce-currency-converter-v1-currency-rate.meta.js.map +0 -1
  653. package/build/es/src/ecommerce-currency-converter-v1-currency-rate.public.d.ts +0 -9
  654. package/build/es/src/ecommerce-currency-converter-v1-currency-rate.public.js +0 -18
  655. package/build/es/src/ecommerce-currency-converter-v1-currency-rate.public.js.map +0 -1
  656. package/build/es/src/ecommerce-currency-converter-v1-currency-rate.types.d.ts +0 -64
  657. package/build/es/src/ecommerce-currency-converter-v1-currency-rate.types.js +0 -2
  658. package/build/es/src/ecommerce-currency-converter-v1-currency-rate.types.js.map +0 -1
  659. package/build/es/src/ecommerce-currency-converter-v1-currency-rate.universal.d.ts +0 -123
  660. package/build/es/src/ecommerce-currency-converter-v1-currency-rate.universal.js +0 -205
  661. package/build/es/src/ecommerce-currency-converter-v1-currency-rate.universal.js.map +0 -1
  662. package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.http.d.ts +0 -12
  663. package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.http.js +0 -86
  664. package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.http.js.map +0 -1
  665. package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.meta.d.ts +0 -13
  666. package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.meta.js +0 -20
  667. package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.meta.js.map +0 -1
  668. package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.public.d.ts +0 -8
  669. package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.public.js +0 -9
  670. package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.public.js.map +0 -1
  671. package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.types.d.ts +0 -1164
  672. package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.types.js +0 -173
  673. package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.types.js.map +0 -1
  674. package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.universal.d.ts +0 -1144
  675. package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.universal.js +0 -276
  676. package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.universal.js.map +0 -1
  677. package/build/es/src/interfaces-ecommerce-v1-validations-provider.http.d.ts +0 -13
  678. package/build/es/src/interfaces-ecommerce-v1-validations-provider.http.js +0 -61
  679. package/build/es/src/interfaces-ecommerce-v1-validations-provider.http.js.map +0 -1
  680. package/build/es/src/interfaces-ecommerce-v1-validations-provider.meta.d.ts +0 -13
  681. package/build/es/src/interfaces-ecommerce-v1-validations-provider.meta.js +0 -20
  682. package/build/es/src/interfaces-ecommerce-v1-validations-provider.meta.js.map +0 -1
  683. package/build/es/src/interfaces-ecommerce-v1-validations-provider.public.d.ts +0 -8
  684. package/build/es/src/interfaces-ecommerce-v1-validations-provider.public.js +0 -9
  685. package/build/es/src/interfaces-ecommerce-v1-validations-provider.public.js.map +0 -1
  686. package/build/es/src/interfaces-ecommerce-v1-validations-provider.types.d.ts +0 -520
  687. package/build/es/src/interfaces-ecommerce-v1-validations-provider.types.js +0 -81
  688. package/build/es/src/interfaces-ecommerce-v1-validations-provider.types.js.map +0 -1
  689. package/build/es/src/interfaces-ecommerce-v1-validations-provider.universal.d.ts +0 -535
  690. package/build/es/src/interfaces-ecommerce-v1-validations-provider.universal.js +0 -172
  691. package/build/es/src/interfaces-ecommerce-v1-validations-provider.universal.js.map +0 -1
@@ -1,3845 +0,0 @@
1
- export interface Cart {
2
- /** Cart ID. */
3
- id?: string | null;
4
- /**
5
- * Line items.
6
- * @readonly
7
- */
8
- lineItems?: LineItem[];
9
- /** Note left by the buyer/customer. */
10
- buyerNote?: string | null;
11
- /** Buyer information. */
12
- buyerInfo?: BuyerInfo;
13
- /**
14
- * Currency used for pricing.
15
- * @readonly
16
- */
17
- currency?: string;
18
- /**
19
- * Currency code used for all the converted prices that are returned.
20
- * For a site that supports multiple currencies, this is the currency the buyer selected.
21
- * @readonly
22
- */
23
- conversionCurrency?: string;
24
- /**
25
- * Language for communication with the buyer. Defaults to the site language.
26
- * For a site that supports multiple languages, this is the language the buyer selected.
27
- * @readonly
28
- */
29
- buyerLanguage?: string | null;
30
- /**
31
- * Site language in which original values are displayed.
32
- * @readonly
33
- */
34
- siteLanguage?: string | null;
35
- /**
36
- * Whether tax is included in line item prices.
37
- * @readonly
38
- */
39
- taxIncludedInPrices?: boolean | null;
40
- /**
41
- * Weight measurement unit - defaults to site's weight unit.
42
- * @readonly
43
- */
44
- weightUnit?: WeightUnit;
45
- /**
46
- * ID of the checkout that originated from this cart.
47
- * @readonly
48
- */
49
- checkoutId?: string | null;
50
- /**
51
- * Cart discounts.
52
- * @readonly
53
- */
54
- appliedDiscounts?: CartDiscount[];
55
- /**
56
- * Date and time the cart was created.
57
- * @readonly
58
- */
59
- createdDate?: Date;
60
- /**
61
- * Date and time the cart was updated.
62
- * @readonly
63
- */
64
- updatedDate?: Date;
65
- /** Contact info. */
66
- contactInfo?: AddressWithContact;
67
- /**
68
- * `overrideCheckoutUrl` allows the flexibility to redirect customers to a customized checkout page.
69
- *
70
- * This field overrides the `checkoutUrl` in a cart or checkout. `checkoutUrl` is used in the [Abandoned Checkout API](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/abandoned-checkout/introduction)
71
- * to send customers back to their checkouts. By default, a `checkoutUrl` generates for a checkout and directs to a
72
- * standard Wix checkout page. When `overrideCheckoutUrl` has a value, it will replace and set the value of `checkoutUrl`.
73
- */
74
- overrideCheckoutUrl?: string | null;
75
- /**
76
- * Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order.
77
- * @readonly
78
- */
79
- purchaseFlowId?: string | null;
80
- /** Selected shipping option. */
81
- selectedShippingOption?: SelectedShippingOption;
82
- }
83
- export interface LineItem {
84
- /**
85
- * Line item ID.
86
- * @readonly
87
- */
88
- id?: string | null;
89
- /** Item quantity. */
90
- quantity?: number;
91
- /** Catalog and item reference. Holds IDs for the item and the catalog it came from, as well as further optional info. */
92
- catalogReference?: CatalogReference;
93
- /**
94
- * Item name.
95
- * + Stores - `product.name`
96
- * + Bookings - `service.info.name`
97
- * + Events - `ticket.name`
98
- * @readonly
99
- */
100
- productName?: ProductName;
101
- /**
102
- * URL to the item's page on the site.
103
- * @readonly
104
- */
105
- url?: PageUrlV2;
106
- /**
107
- * Item price **after** catalog-defined discount and line item discounts.
108
- * @readonly
109
- */
110
- price?: MultiCurrencyPrice;
111
- /**
112
- * Item price **before** catalog-defined discount. Defaults to `price` when not provided.
113
- * @readonly
114
- */
115
- fullPrice?: MultiCurrencyPrice;
116
- /**
117
- * Item price **before** line item discounts and **after** catalog-defined discount. Defaults to `price` when not provided.
118
- * @readonly
119
- */
120
- priceBeforeDiscounts?: MultiCurrencyPrice;
121
- /**
122
- * Line item description lines. Used for displaying the cart, checkout and order.
123
- * @readonly
124
- */
125
- descriptionLines?: DescriptionLine[];
126
- /**
127
- * Line item image details.
128
- * @readonly
129
- */
130
- image?: CommonImage;
131
- /**
132
- * Item availability details.
133
- * @readonly
134
- */
135
- availability?: ItemAvailabilityInfo;
136
- /**
137
- * Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability.
138
- * @readonly
139
- */
140
- physicalProperties?: PhysicalProperties;
141
- /**
142
- * Item type. Either a preset type or custom.
143
- * @readonly
144
- */
145
- itemType?: ItemType;
146
- /**
147
- * Type of selected payment option for current item. Defaults to `FULL_PAYMENT_ONLINE`.
148
- * + `FULL_PAYMENT_ONLINE` - The entire payment for this item happens as part of the checkout.
149
- * + `FULL_PAYMENT_OFFLINE` - The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
150
- * + `MEMBERSHIP` - Payment for this item is done by charging a membership. When this option is used, `lineItem.price.amount` is 0.
151
- * + `DEPOSIT_ONLINE` - Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is defined by `lineItem.deposit`.
152
- * + `MEMBERSHIP_OFFLINE` - Payment for this item can only be performed by using a membership and must be manually redeemed in the dashboard by the site owner. When this option is used, `lineItem.price.amount` is 0.
153
- * @readonly
154
- */
155
- paymentOption?: PaymentOptionType;
156
- /**
157
- * Service properties. When relevant, this contains information such as date and number of participants.
158
- * @readonly
159
- */
160
- serviceProperties?: ServiceProperties;
161
- /**
162
- * In cases where `catalogReference.catalogItemId` is NOT the actual catalog item ID, this field will return the true item's ID.
163
- * + For example, for Wix Bookings, `catalogReference.catalogItemId` is the booking ID. Therefore this value is set to the service ID.
164
- * + in most cases, this field is the same as `catalogReference.catalogItemId`.
165
- * + Used in membership validation.
166
- * @readonly
167
- */
168
- rootCatalogItemId?: string | null;
169
- /**
170
- * Additional description for the price. For example, when price is 0 but additional details about the actual price are needed - "Starts at $67".
171
- * @readonly
172
- */
173
- priceDescription?: PriceDescription;
174
- /**
175
- * Partial payment to be paid upfront during the checkout. Eligible for catalog items with `lineItem.paymentOption` type `DEPOSIT_ONLINE` only.
176
- * @readonly
177
- */
178
- depositAmount?: MultiCurrencyPrice;
179
- /** Selected membership to be used as payment for this item. Must be used with `lineItem.paymentOption` set to `MEMBERSHIP` or `MEMBERSHIP_OFFLINE`. This field can be empty when `lineItem.paymentOption` is set to `MEMBERSHIP_OFFLINE`. */
180
- selectedMembership?: SelectedMembership;
181
- /**
182
- * Tax group ID for this line item.
183
- * @readonly
184
- */
185
- taxGroupId?: string | null;
186
- }
187
- /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
188
- export interface CatalogReference {
189
- /** ID of the item within the catalog it belongs to. */
190
- catalogItemId?: string;
191
- /**
192
- * ID of the app providing the catalog.
193
- *
194
- * You can get your app's ID from its page in the [Wix Dev Center](https://dev.wix.com/apps).
195
- *
196
- * For items from Wix catalogs, the following values always apply:
197
- * + Wix Stores: `"215238eb-22a5-4c36-9e7b-e7c08025e04e"`
198
- * + Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`
199
- * + Wix Restaurants: `"9a5d83fd-8570-482e-81ab-cfa88942ee60"`
200
- */
201
- appId?: string;
202
- /**
203
- * Additional item details in key:value pairs. Use this optional field to provide more specificity with item selection. The `options` field values differ depending on which catalog is providing the items.
204
- *
205
- * For products and variants from a Wix Stores catalog, learn more about [eCommerce integration](https://dev.wix.com/docs/rest/business-solutions/stores/catalog/e-commerce-integration).
206
- */
207
- options?: Record<string, any> | null;
208
- }
209
- export interface ProductName {
210
- /**
211
- * __Required.__ Item name in the site's default language.
212
- *
213
- * Min: 1 character.
214
- * Max: 200 characters.
215
- */
216
- original?: string;
217
- /**
218
- * Item name translated into the buyer's language.
219
- *
220
- * Min: 1 character.
221
- * Max: 400 characters.
222
- * Default: Same as `original`.
223
- */
224
- translated?: string | null;
225
- }
226
- export interface PageUrlV2 {
227
- /** The relative path for the page within the site. For example, `/product-page/a-product`. */
228
- relativePath?: string;
229
- /** The page's full URL. For example, `https://mysite.com/product-page/a-product`. */
230
- url?: string | null;
231
- }
232
- export interface MultiCurrencyPrice {
233
- /** Amount. */
234
- amount?: string;
235
- /**
236
- * Converted amount.
237
- * @readonly
238
- */
239
- convertedAmount?: string;
240
- /**
241
- * Amount formatted with currency symbol.
242
- * @readonly
243
- */
244
- formattedAmount?: string;
245
- /**
246
- * Converted amount formatted with currency symbol.
247
- * @readonly
248
- */
249
- formattedConvertedAmount?: string;
250
- }
251
- export interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDescriptionLineValueOneOf {
252
- /** Description line plain text value. */
253
- plainText?: PlainTextValue;
254
- /** Description line color value. */
255
- colorInfo?: Color;
256
- /** Description line name. */
257
- name?: DescriptionLineName;
258
- }
259
- /** @oneof */
260
- export interface DescriptionLineValueOneOf {
261
- /** Description line plain text value. */
262
- plainText?: PlainTextValue;
263
- /** Description line color value. */
264
- colorInfo?: Color;
265
- }
266
- /** @oneof */
267
- export interface DescriptionLineDescriptionLineValueOneOf {
268
- }
269
- export interface DescriptionLineName {
270
- /** Description line name in the site's default language. */
271
- original?: string;
272
- /**
273
- * Description line name translated into the buyer's language.
274
- *
275
- * Default: Same as `original`.
276
- */
277
- translated?: string | null;
278
- }
279
- export interface PlainTextValue {
280
- /** Description line plain text value in the site's default language. */
281
- original?: string;
282
- /**
283
- * Description line plain text value translated into the buyer's language.
284
- *
285
- * Default: Same as `original`.
286
- */
287
- translated?: string | null;
288
- }
289
- export interface Color {
290
- /** Description line color name in the site's default language. */
291
- original?: string;
292
- /**
293
- * Description line color name translated into the buyer's language.
294
- *
295
- * Default: Same as `original`.
296
- */
297
- translated?: string | null;
298
- /** HEX or RGB color code for display. */
299
- code?: string | null;
300
- }
301
- export declare enum DescriptionLineType {
302
- UNRECOGNISED = "UNRECOGNISED",
303
- PLAIN_TEXT = "PLAIN_TEXT",
304
- COLOR = "COLOR"
305
- }
306
- export interface CommonImage {
307
- /** WixMedia image ID. */
308
- id?: string;
309
- /** Image URL. */
310
- url?: string;
311
- /**
312
- * Original image height.
313
- * @readonly
314
- */
315
- height?: number;
316
- /**
317
- * Original image width.
318
- * @readonly
319
- */
320
- width?: number;
321
- /** Image alt text. */
322
- altText?: string | null;
323
- /**
324
- * Image filename.
325
- * @readonly
326
- */
327
- filename?: string | null;
328
- }
329
- export interface ItemAvailabilityInfo {
330
- /**
331
- * Item availability status.
332
- * + `"NOT_FOUND"`: Item does not exist
333
- * + `"NOT_AVAILABLE"`: Item not in stock
334
- * + `"PARTIALLY_AVAILABLE"`: Available quantity is less than requested
335
- */
336
- status?: ItemAvailabilityStatus;
337
- /** Quantity available. */
338
- quantityAvailable?: number | null;
339
- }
340
- export declare enum ItemAvailabilityStatus {
341
- AVAILABLE = "AVAILABLE",
342
- NOT_FOUND = "NOT_FOUND",
343
- /** Not in stock */
344
- NOT_AVAILABLE = "NOT_AVAILABLE",
345
- /** Available quantity is less than requested */
346
- PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
347
- }
348
- export interface PhysicalProperties {
349
- /** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
350
- weight?: number | null;
351
- /** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
352
- sku?: string | null;
353
- /** Whether this line item is shippable. */
354
- shippable?: boolean;
355
- }
356
- export interface Scope {
357
- /** Scope namespace (Wix Stores, Wix Bookings, Wix Events, Wix Pricing Plans) */
358
- namespace?: string;
359
- /** Coupon scope's applied group (e.g., event or ticket in Wix Events) */
360
- group?: Group;
361
- }
362
- export interface Group {
363
- /** Coupon scope's group (e.g., product or collection in Wix Stores). See [valid scope values](https://dev.wix.com/api/rest/coupons/coupons/valid-scope-values). */
364
- name?: string;
365
- /** Item ID (when the coupon scope is limited to just one item). */
366
- entityId?: string | null;
367
- }
368
- export interface ItemType extends ItemTypeItemTypeDataOneOf {
369
- /** Preset item type. */
370
- preset?: ItemTypeItemType;
371
- /** Custom item type. When none of the preset types are suitable, specifies the custom type. */
372
- custom?: string;
373
- }
374
- /** @oneof */
375
- export interface ItemTypeItemTypeDataOneOf {
376
- /** Preset item type. */
377
- preset?: ItemTypeItemType;
378
- /** Custom item type. When none of the preset types are suitable, specifies the custom type. */
379
- custom?: string;
380
- }
381
- export declare enum ItemTypeItemType {
382
- UNRECOGNISED = "UNRECOGNISED",
383
- PHYSICAL = "PHYSICAL",
384
- DIGITAL = "DIGITAL",
385
- GIFT_CARD = "GIFT_CARD",
386
- SERVICE = "SERVICE"
387
- }
388
- export interface SubscriptionOptionInfo {
389
- /** Subscription option settings. */
390
- subscriptionSettings?: SubscriptionSettings;
391
- /** Subscription option title. */
392
- title?: Title;
393
- /** Subscription option description. */
394
- description?: Description;
395
- }
396
- export interface SubscriptionSettings {
397
- /** Frequency of recurring payment. */
398
- frequency?: SubscriptionFrequency;
399
- /** Whether subscription is renewed automatically at the end of each period. */
400
- autoRenewal?: boolean;
401
- /** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
402
- billingCycles?: number | null;
403
- }
404
- /** Frequency unit of recurring payment */
405
- export declare enum SubscriptionFrequency {
406
- UNDEFINED = "UNDEFINED",
407
- DAY = "DAY",
408
- WEEK = "WEEK",
409
- MONTH = "MONTH",
410
- YEAR = "YEAR"
411
- }
412
- export interface Title {
413
- /** Subscription option name in the site's default language. */
414
- original?: string;
415
- /**
416
- * Subscription option name translated into the buyer's language.
417
- *
418
- * Default: Same as `original`.
419
- */
420
- translated?: string | null;
421
- }
422
- export interface Description {
423
- /** Subscription option description. */
424
- original?: string;
425
- /** Translated subscription option description. */
426
- translated?: string | null;
427
- }
428
- export interface SecuredMedia {
429
- /** Media ID in Wix Media Manager. */
430
- id?: string;
431
- /** Original filename. */
432
- fileName?: string;
433
- /** File type. */
434
- fileType?: FileType;
435
- }
436
- export declare enum FileType {
437
- UNSPECIFIED = "UNSPECIFIED",
438
- SECURE_PICTURE = "SECURE_PICTURE",
439
- SECURE_VIDEO = "SECURE_VIDEO",
440
- SECURE_DOCUMENT = "SECURE_DOCUMENT",
441
- SECURE_MUSIC = "SECURE_MUSIC",
442
- SECURE_ARCHIVE = "SECURE_ARCHIVE"
443
- }
444
- /** Type of selected payment option for catalog item */
445
- export declare enum PaymentOptionType {
446
- /** The entire payment for this item happens as part of the checkout. */
447
- FULL_PAYMENT_ONLINE = "FULL_PAYMENT_ONLINE",
448
- /** The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods. */
449
- FULL_PAYMENT_OFFLINE = "FULL_PAYMENT_OFFLINE",
450
- /** Payment for this item is done by charging a membership. When selected, `price` is `0`. */
451
- MEMBERSHIP = "MEMBERSHIP",
452
- /** Partial payment to be paid upfront during the checkout. Initial amount to be paid for each line item is specified in `depositAmount`. */
453
- DEPOSIT_ONLINE = "DEPOSIT_ONLINE",
454
- /** Payment for this item can only be done by charging a membership and must be manually redeemed in the dashboard by the site admin. When selected, `price` is `0`. */
455
- MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
456
- }
457
- export interface ServiceProperties {
458
- /**
459
- * Date and time the service is to be provided, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
460
- * For example, the start time of a class.
461
- */
462
- scheduledDate?: Date;
463
- /** The number of people participating in the service. For example, the number of people attending a class or the number of people per hotel room. */
464
- numberOfParticipants?: number | null;
465
- }
466
- export interface PriceDescription {
467
- /** __Required.__ Price description in the site's default language. */
468
- original?: string;
469
- /**
470
- * Price description translated into the buyer's language.
471
- *
472
- * Default: Same as `original`.
473
- */
474
- translated?: string | null;
475
- }
476
- /** Selected Membership */
477
- export interface SelectedMembership {
478
- /** Membership ID. */
479
- id?: string;
480
- /** ID of the app providing this payment option. */
481
- appId?: string;
482
- }
483
- /** Buyer Info */
484
- export interface BuyerInfo extends BuyerInfoIdOneOf {
485
- /**
486
- * Visitor ID - if the buyer is **not** a site member.
487
- * @readonly
488
- */
489
- visitorId?: string;
490
- /**
491
- * Member ID - if the buyer is a site member.
492
- * @readonly
493
- */
494
- memberId?: string;
495
- /**
496
- * User ID - if the buyer (or cart owner) is a Wix user.
497
- * @readonly
498
- */
499
- userId?: string;
500
- /** Contact ID. For more information, see [Contacts API](https://dev.wix.com/api/rest/contacts/contacts/introduction). */
501
- contactId?: string | null;
502
- /** Buyer email address. */
503
- email?: string | null;
504
- }
505
- /** @oneof */
506
- export interface BuyerInfoIdOneOf {
507
- /**
508
- * Visitor ID - if the buyer is **not** a site member.
509
- * @readonly
510
- */
511
- visitorId?: string;
512
- /**
513
- * Member ID - if the buyer is a site member.
514
- * @readonly
515
- */
516
- memberId?: string;
517
- /**
518
- * User ID - if the buyer (or cart owner) is a Wix user.
519
- * @readonly
520
- */
521
- userId?: string;
522
- }
523
- export declare enum WeightUnit {
524
- /** Weight unit can't be classified, due to an error */
525
- UNSPECIFIED_WEIGHT_UNIT = "UNSPECIFIED_WEIGHT_UNIT",
526
- /** Kilograms */
527
- KG = "KG",
528
- /** Pounds */
529
- LB = "LB"
530
- }
531
- export interface CartDiscount extends CartDiscountDiscountSourceOneOf {
532
- /** Coupon details. */
533
- coupon?: Coupon;
534
- /** Merchant discount. */
535
- merchantDiscount?: MerchantDiscount;
536
- }
537
- /** @oneof */
538
- export interface CartDiscountDiscountSourceOneOf {
539
- /** Coupon details. */
540
- coupon?: Coupon;
541
- /** Merchant discount. */
542
- merchantDiscount?: MerchantDiscount;
543
- }
544
- export interface Coupon {
545
- /** Coupon ID. */
546
- id?: string;
547
- /** Coupon code. */
548
- code?: string;
549
- }
550
- export interface MerchantDiscount {
551
- /** Discount value. */
552
- amount?: MultiCurrencyPrice;
553
- }
554
- /** Billing Info and shipping details */
555
- export interface AddressWithContact {
556
- /** Address. */
557
- address?: Address;
558
- /** Contact details. */
559
- contactDetails?: FullAddressContactDetails;
560
- }
561
- /** Physical address */
562
- export interface Address {
563
- /** Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format. */
564
- country?: string | null;
565
- /** Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format. */
566
- subdivision?: string | null;
567
- /** City name. */
568
- city?: string | null;
569
- /** Postal or zip code. */
570
- postalCode?: string | null;
571
- /** Street address. */
572
- streetAddress?: StreetAddress;
573
- /** Main address line (usually street name and number). */
574
- addressLine?: string | null;
575
- /** Free text providing more detailed address info. Usually contains apt, suite, floor. */
576
- addressLine2?: string | null;
577
- /**
578
- * Country's full name.
579
- * @readonly
580
- */
581
- countryFullname?: string | null;
582
- /**
583
- * Subdivision full-name.
584
- * @readonly
585
- */
586
- subdivisionFullname?: string | null;
587
- }
588
- export interface StreetAddress {
589
- /** Street number. */
590
- number?: string;
591
- /** Street name. */
592
- name?: string;
593
- }
594
- export interface AddressLocation {
595
- /** Address latitude. */
596
- latitude?: number | null;
597
- /** Address longitude. */
598
- longitude?: number | null;
599
- }
600
- /** Full contact details for an address */
601
- export interface FullAddressContactDetails {
602
- /** First name. */
603
- firstName?: string | null;
604
- /** Last name. */
605
- lastName?: string | null;
606
- /** Phone number. */
607
- phone?: string | null;
608
- /** Company name. */
609
- company?: string | null;
610
- /** Tax information (for Brazil only). If ID is provided, `vatId.type` must also be set, `UNSPECIFIED` is not allowed. */
611
- vatId?: VatId;
612
- }
613
- export interface VatId {
614
- /** Customer's tax ID. */
615
- id?: string;
616
- /**
617
- * Tax type.
618
- *
619
- * Supported values:
620
- * + `CPF`: for individual tax payers
621
- * + `CNPJ`: for corporations
622
- */
623
- type?: VatType;
624
- }
625
- /** tax info types */
626
- export declare enum VatType {
627
- UNSPECIFIED = "UNSPECIFIED",
628
- /** CPF - for individual tax payers. */
629
- CPF = "CPF",
630
- /** CNPJ - for corporations */
631
- CNPJ = "CNPJ"
632
- }
633
- export interface SelectedShippingOption {
634
- /** Carrier ID. */
635
- carrierId?: string | null;
636
- /** Selected shipping option code. For example, "usps_std_overnight". */
637
- code?: string;
638
- }
639
- export interface ExtendedFields {
640
- /**
641
- * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
642
- * The value of each key is structured according to the schema defined when the extended fields were configured.
643
- *
644
- * You can only access fields for which you have the appropriate permissions.
645
- *
646
- * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
647
- */
648
- namespaces?: Record<string, Record<string, any>>;
649
- }
650
- export interface GetCurrentCartRequest {
651
- }
652
- export interface GetCurrentCartResponse {
653
- /** Current session's active cart. */
654
- cart?: Cart;
655
- }
656
- export interface UpdateCartRequest {
657
- /** Cart info. */
658
- cartInfo?: Cart;
659
- /** Coupon code. For more information, see [Coupons API](https://dev.wix.com/api/rest/wix-coupons/coupons/introduction). */
660
- couponCode?: string | null;
661
- /** Merchant discounts to apply to specific line items. If no `lineItemIds` are passed, the discount will be applied to the whole cart. */
662
- merchantDiscounts?: MerchantDiscountInput[];
663
- /** Catalog line items. */
664
- lineItems?: LineItem[];
665
- }
666
- export interface MerchantDiscountInput {
667
- /** Discount amount. */
668
- amount?: string;
669
- /** IDs of line items the discount applies to. */
670
- lineItemIds?: string[];
671
- }
672
- export interface CustomLineItem {
673
- /**
674
- * Custom line item quantity.
675
- *
676
- * Min: `1`
677
- * Max: `100000`
678
- */
679
- quantity?: number;
680
- /**
681
- * Custom line item price.
682
- *
683
- * Must be a number or a decimal without symbols.
684
- */
685
- price?: string;
686
- /** Additional description for the price. For example, when price is 0 but additional details about the actual price are needed - "Starts at $67". */
687
- priceDescription?: PriceDescription;
688
- /** Custom line item description lines. Used for display purposes for the cart, checkout and order. */
689
- descriptionLines?: DescriptionLine[];
690
- /** Custom line item's media. */
691
- media?: Image;
692
- /**
693
- * Custom line item ID. If passed, `id` must be unique.
694
- * Default: auto-generated ID.
695
- */
696
- id?: string | null;
697
- /** Tax group ID for this custom line item. */
698
- taxGroupId?: string | null;
699
- /**
700
- * *Required** - Item name.
701
- * + Stores - `product.name`
702
- * + Bookings - `service.info.name`
703
- * + Events - `ticket.name`
704
- */
705
- productName?: ProductName;
706
- /**
707
- * Optional - URL to the item's page on the site. When not provided, the link back from the cart page to the relevant product page will not work.
708
- * The URL is optional and if not provided, the site URL will be used.
709
- */
710
- url?: PageUrlV2;
711
- /** *Required** - Item type. Either a preset type or custom. */
712
- itemType?: ItemType;
713
- /** Optional - Item price **before** catalog-defined discount. Defaults to `price` when not provided. */
714
- fullPrice?: string | null;
715
- /**
716
- * Optional - Item quantity available for purchase. Only return this if inventory is managed.
717
- * Not returning this field means that the buyer can "infinitely" tick up the number of items in the cart.
718
- */
719
- quantityAvailable?: number | null;
720
- /** Optional - Physical properties of the item. When relevant, contains information such as SKU and item weight. */
721
- physicalProperties?: PhysicalProperties;
722
- /**
723
- * Optional - Type of selected payment option for current item. Defaults to `FULL_PAYMENT_ONLINE`.
724
- * + `FULL_PAYMENT_ONLINE` - Entire payment for this item happens as part of the checkout.
725
- * + `FULL_PAYMENT_OFFLINE` - Entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
726
- * + `MEMBERSHIP` - Payment for this item is done by charging a membership. When this option is used, `lineItem.price.amount` is 0.
727
- * + `DEPOSIT_ONLINE` - Partial payment for the given item to be paid upfront during the checkout. Amount to be paid is defined by deposit_amount field.
728
- */
729
- paymentOption?: PaymentOptionType;
730
- /**
731
- * Optional - Service properties. When relevant, this contains information such as date and number of participants.
732
- * Used, among other things, when checking for valid memberships.
733
- */
734
- serviceProperties?: ServiceProperties;
735
- /**
736
- * Optional - In cases where `catalogReference.catalogItemId` is NOT the actual catalog item ID, this field will return the true item's ID.
737
- * + For example, for Wix Bookings, `catalogReference.catalogItemId` is the booking ID. Therefore this value is set to the service ID.
738
- * + in most cases, this field is the name as `catalogReference.catalogItemId`.
739
- * + Used in membership validation.
740
- */
741
- rootCatalogItemId?: string | null;
742
- /**
743
- * Optional - partial payment for the given item to be paid upfront during the checkout.
744
- * Eligible for catalog items with type `DEPOSIT_ONLINE`.
745
- * If omitted - item's price will not be split and is expected to be paid in single installment
746
- */
747
- depositAmount?: string | null;
748
- /** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. */
749
- catalogReference?: CatalogReference;
750
- }
751
- export interface Image {
752
- /** WixMedia image ID. */
753
- id?: string;
754
- /** Original image height. */
755
- height?: number;
756
- /** Original image width. */
757
- width?: number;
758
- /** Image alt text. Optional. */
759
- altText?: string | null;
760
- /** Image filename. Optional. */
761
- filename?: string | null;
762
- }
763
- export interface UpdateCartResponse {
764
- /** Updated Cart. */
765
- cart?: Cart;
766
- }
767
- export interface AddToCurrentCartRequest {
768
- /** Catalog line items. */
769
- lineItems?: LineItem[];
770
- }
771
- export interface AddToCartResponse {
772
- /** Updated cart. */
773
- cart?: Cart;
774
- }
775
- export interface AddToCurrentCartAndEstimateTotalsRequest {
776
- /** Catalog line items. */
777
- lineItems?: LineItem[];
778
- /** Selected shipping option. */
779
- selectedShippingOption?: SelectedShippingOption;
780
- /** Shipping address. Used for calculating tax and shipping (when applicable). */
781
- shippingAddress?: Address;
782
- /** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
783
- billingAddress?: Address;
784
- /** The selected membership payment options and which line items they apply to. */
785
- selectedMemberships?: SelectedMemberships;
786
- }
787
- export interface SelectedMemberships {
788
- /** Selected memberships. */
789
- memberships?: HostSelectedMembership[];
790
- }
791
- export interface HostSelectedMembership {
792
- /** Membership ID. */
793
- id?: string;
794
- /** ID of the app providing this payment option. */
795
- appId?: string;
796
- /** IDs of the line items this membership applies to. */
797
- lineItemIds?: string[];
798
- }
799
- export interface EstimateTotalsResponse {
800
- /** Cart. */
801
- cart?: Cart;
802
- /** Calculated line items. */
803
- calculatedLineItems?: CalculatedLineItem[];
804
- /** Price summary. */
805
- priceSummary?: PriceSummary;
806
- /** Applied gift card. */
807
- giftCard?: GiftCard;
808
- /** Tax summary. */
809
- taxSummary?: TaxSummary;
810
- /** Shipping information. */
811
- shippingInfo?: ShippingInformation;
812
- /** Applied discounts. */
813
- appliedDiscounts?: AppliedDiscount[];
814
- /** Calculation errors. */
815
- calculationErrors?: CalculationErrors;
816
- /** Weight measurement unit - defaults to site's weight unit. */
817
- weightUnit?: WeightUnit;
818
- /** Currency used for pricing in this store. */
819
- currency?: string;
820
- /**
821
- * Minimal amount to pay in order to place the order.
822
- * @readonly
823
- */
824
- payNow?: PriceSummary;
825
- /**
826
- * Remaining amount for the order to be fully paid.
827
- * @readonly
828
- */
829
- payLater?: PriceSummary;
830
- /** Information about valid and invalid memberships, and which ones are selected for usage. */
831
- membershipOptions?: MembershipOptions;
832
- /** Additional fees */
833
- additionalFees?: AdditionalFee[];
834
- /**
835
- * List of validation violations raised by the [Validations SPI](https://dev.wix.com/api/rest/wix-ecommerce/validations-integration-spi/introduction).
836
- * @readonly
837
- */
838
- violations?: Violation[];
839
- }
840
- export interface CalculatedLineItem {
841
- /** Line item ID. */
842
- lineItemId?: string;
843
- /** Price breakdown for this line item. */
844
- pricesBreakdown?: LineItemPricesData;
845
- /**
846
- * Type of selected payment option for current item. Supported values:
847
- * + `"FULL_PAYMENT_ONLINE"` - The entire payment for this item will happen as part of the checkout
848
- * + `"FULL_PAYMENT_OFFLINE"` - The entire payment for this item will happen after the checkout
849
- * + `"MEMBERSHIP"` - This item cannot be paid via monetary payment options, only via non monetary option such membership. When this option is used, price must be set to 0
850
- * + `"DEPOSIT_ONLINE"` - Partial payment of the given item will happen as part of the checkout. Amount to be paid is defined by deposit_amount field.
851
- */
852
- paymentOption?: PaymentOptionType;
853
- }
854
- export interface LineItemPricesData {
855
- /** Total price after discounts and after tax. */
856
- totalPriceAfterTax?: MultiCurrencyPrice;
857
- /** Total price after discounts, and before tax. */
858
- totalPriceBeforeTax?: MultiCurrencyPrice;
859
- /** Tax details. */
860
- taxDetails?: ItemTaxFullDetails;
861
- /** Total discount for all line items. */
862
- totalDiscount?: MultiCurrencyPrice;
863
- /** Catalog price after catalog discount and automatic discounts. */
864
- price?: MultiCurrencyPrice;
865
- /** Item price **before** line item discounts and **after** catalog-defined discount. Defaults to `price` when not provided. */
866
- priceBeforeDiscounts?: MultiCurrencyPrice;
867
- /** Total price **after** catalog-defined discount and line item discounts. */
868
- lineItemPrice?: MultiCurrencyPrice;
869
- /** Item price **before** line item discounts and **before** catalog-defined discount. Defaults to `price` when not provided. */
870
- fullPrice?: MultiCurrencyPrice;
871
- }
872
- export interface ItemTaxFullDetails {
873
- /** Amount for which tax is calculated. */
874
- taxableAmount?: MultiCurrencyPrice;
875
- /** Tax rate %, as a decimal point between 0 and 1. */
876
- taxRate?: string;
877
- /** Calculated tax, based on `taxable_amount` and `tax_rate`. */
878
- totalTax?: MultiCurrencyPrice;
879
- /**
880
- * If breakdown exists, the sum of rates in the breakdown must equal `tax_rate`. Deprecated - use 'tax_breakdown' instead.
881
- * @readonly
882
- */
883
- rateBreakdown?: TaxRateBreakdown[];
884
- }
885
- export interface TaxRateBreakdown {
886
- /** Name of tax against which the calculation was performed. */
887
- name?: string;
888
- /** Rate at which this tax detail was calculated. */
889
- rate?: string;
890
- /** Amount of tax for this tax detail. */
891
- tax?: MultiCurrencyPrice;
892
- }
893
- /**
894
- * TaxBreakdown represents tax information for a line item.
895
- * It holds the tax amount and the tax rate for each tax authority that apply on the line item.
896
- */
897
- export interface TaxBreakdown {
898
- /** The name of the jurisdiction to which this tax detail applies. For example, "New York" or "Quebec". */
899
- jurisdiction?: string | null;
900
- /** The amount of this line item price that was considered nontaxable. (Decimal value) */
901
- nonTaxableAmount?: MultiCurrencyPrice;
902
- /** The rate at which this tax detail was calculated, e.g 0.1000 signifies 10% tax and 2.0000 signifies 200% tax. (Decimal value) */
903
- rate?: string | null;
904
- /** The amount of tax estimated for this line item. (Decimal value) */
905
- taxAmount?: MultiCurrencyPrice;
906
- /** The taxable amount of this line item. */
907
- taxableAmount?: MultiCurrencyPrice;
908
- /** The type of tax that was calculated. Depends on the jurisdiction's tax laws. For example, "Sales Tax", "Income Tax", "Value Added Tax", etc. */
909
- taxType?: string | null;
910
- /**
911
- * The name of the tax against which this tax amount was calculated. For example, "NY State Sales Tax", "Quebec GST", etc.
912
- * This name should be explicit enough to allow the merchant to understand what tax was calculated.
913
- */
914
- taxName?: string | null;
915
- /** The type of the jurisdiction in which this tax detail applies. */
916
- jurisdictionType?: JurisdictionType;
917
- }
918
- /** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
919
- export declare enum JurisdictionType {
920
- UNDEFINED = "UNDEFINED",
921
- COUNTRY = "COUNTRY",
922
- STATE = "STATE",
923
- COUNTY = "COUNTY",
924
- CITY = "CITY",
925
- SPECIAL = "SPECIAL"
926
- }
927
- export interface PriceSummary {
928
- /** Subtotal of all line items, before discounts and before tax. */
929
- subtotal?: MultiCurrencyPrice;
930
- /** Total shipping price, before discounts and before tax. */
931
- shipping?: MultiCurrencyPrice;
932
- /** Total tax. */
933
- tax?: MultiCurrencyPrice;
934
- /** Total calculated discount value. */
935
- discount?: MultiCurrencyPrice;
936
- /** Total price after discounts, gift cards, and tax. */
937
- total?: MultiCurrencyPrice;
938
- /** Total additional fees price before tax. */
939
- additionalFees?: MultiCurrencyPrice;
940
- }
941
- export interface GiftCard {
942
- /** Gift Card ID. */
943
- id?: string;
944
- /** Gift card obfuscated code. */
945
- obfuscatedCode?: string;
946
- /** Gift card value. */
947
- amount?: MultiCurrencyPrice;
948
- /** App ID of the gift card provider. */
949
- appId?: string;
950
- }
951
- export interface TaxSummary {
952
- /**
953
- * Amount for which tax is calculated, added from line items.
954
- * @readonly
955
- */
956
- taxableAmount?: MultiCurrencyPrice;
957
- /**
958
- * Calculated tax, added from line items.
959
- * @readonly
960
- */
961
- totalTax?: MultiCurrencyPrice;
962
- /** Tax calculator that was active when the order was created. */
963
- calculationDetails?: TaxCalculationDetails;
964
- }
965
- export interface TaxCalculationDetails extends TaxCalculationDetailsCalculationDetailsOneOf {
966
- /** Reason the manual calculation was used. */
967
- manualRateReason?: ManualCalculationReason;
968
- /** Details of the fallback rate calculation. */
969
- autoTaxFallbackDetails?: AutoTaxFallbackCalculationDetails;
970
- /** Rate calculation type. */
971
- rateType?: RateType;
972
- }
973
- /** @oneof */
974
- export interface TaxCalculationDetailsCalculationDetailsOneOf {
975
- /** Reason the manual calculation was used. */
976
- manualRateReason?: ManualCalculationReason;
977
- /** Details of the fallback rate calculation. */
978
- autoTaxFallbackDetails?: AutoTaxFallbackCalculationDetails;
979
- }
980
- export declare enum RateType {
981
- /** no tax being collected for this request due to location of purchase */
982
- NO_TAX_COLLECTED = "NO_TAX_COLLECTED",
983
- /** manual rate used for calculation */
984
- MANUAL_RATE = "MANUAL_RATE",
985
- /** autotax rate used for calculation */
986
- AUTO_RATE = "AUTO_RATE",
987
- /** fallback rate used for calculation */
988
- FALLBACK_RATE = "FALLBACK_RATE"
989
- }
990
- export declare enum ManualCalculationReason {
991
- /** user set calculator in Business Manager to be Manual */
992
- GLOBAL_SETTING_TO_MANUAL = "GLOBAL_SETTING_TO_MANUAL",
993
- /** specific region is on manual even though Global setting is Auto-tax */
994
- REGION_SETTING_TO_MANUAL = "REGION_SETTING_TO_MANUAL"
995
- }
996
- export interface AutoTaxFallbackCalculationDetails {
997
- /** reason for fallback */
998
- fallbackReason?: FallbackReason;
999
- /** invalid request (i.e. address), timeout, internal error, license error, and others will be encoded here */
1000
- error?: ApplicationError;
1001
- }
1002
- export declare enum FallbackReason {
1003
- /** auto-tax failed to be calculated */
1004
- AUTO_TAX_FAILED = "AUTO_TAX_FAILED",
1005
- /** auto-tax was temporarily deactivated on a system-level */
1006
- AUTO_TAX_DEACTIVATED = "AUTO_TAX_DEACTIVATED"
1007
- }
1008
- export interface ApplicationError {
1009
- /** Error code. */
1010
- code?: string;
1011
- /** Description of the error. */
1012
- description?: string;
1013
- /** Data related to the error. */
1014
- data?: Record<string, any> | null;
1015
- }
1016
- /**
1017
- * The summary of the tax breakdown for all the line items. It will hold for each tax name, the aggregated tax amount paid for it and the tax rate.
1018
- * Tax breakdown is the tax amount split to the tax authorities that applied on the line item.
1019
- */
1020
- export interface AggregatedTaxBreakdown {
1021
- /** The name of the tax against which this tax amount was calculated. */
1022
- taxName?: string;
1023
- /** The type of tax that was calculated. Depends on the company's nexus settings as well as the jurisdiction's tax laws. */
1024
- taxType?: string;
1025
- /** The name of the jurisdiction in which this tax detail applies. */
1026
- jurisdiction?: string;
1027
- /** The type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
1028
- jurisdictionType?: string;
1029
- /** The rate at which this tax detail was calculated, e.g 0.1000 signifies 10% tax and 2.000 signifies 200% tax. (Decimal value) */
1030
- rate?: string;
1031
- /** The sum of all the tax from line items that calculated by the tax identifiers. */
1032
- aggregatedTaxAmount?: MultiCurrencyPrice;
1033
- }
1034
- export interface ShippingInformation {
1035
- /** Shipping region. */
1036
- region?: ShippingRegion;
1037
- /** Selected shipping option. */
1038
- selectedCarrierServiceOption?: SelectedCarrierServiceOption;
1039
- /** All shipping options. */
1040
- carrierServiceOptions?: CarrierServiceOption[];
1041
- }
1042
- export interface ShippingRegion {
1043
- /**
1044
- * Shipping region ID.
1045
- * @readonly
1046
- */
1047
- id?: string;
1048
- /** Shipping region name. */
1049
- name?: string;
1050
- }
1051
- export interface SelectedCarrierServiceOption {
1052
- /** Unique identifier of selected option. For example, "usps_std_overnight". */
1053
- code?: string;
1054
- /**
1055
- * Title of the option, such as USPS Standard Overnight Delivery (in the requested locale).
1056
- * For example, "Standard" or "First-Class Package International".
1057
- * @readonly
1058
- */
1059
- title?: string;
1060
- /**
1061
- * Delivery logistics.
1062
- * @readonly
1063
- */
1064
- logistics?: DeliveryLogistics;
1065
- /**
1066
- * Shipping costs.
1067
- * @readonly
1068
- */
1069
- cost?: SelectedCarrierServiceOptionPrices;
1070
- /**
1071
- * Were we able to find the requested shipping option, or otherwise we fallback to the default one (the first)
1072
- * @readonly
1073
- */
1074
- requestedShippingOption?: boolean;
1075
- /** Other charges */
1076
- otherCharges?: SelectedCarrierServiceOptionOtherCharge[];
1077
- /** This carrier's unique ID */
1078
- carrierId?: string | null;
1079
- }
1080
- export interface DeliveryLogistics {
1081
- /** Expected delivery time, in free text. For example, "3-5 business days". */
1082
- deliveryTime?: string | null;
1083
- /** Instructions for caller, e.g for pickup: "Please deliver during opening hours, and please don't park in disabled parking spot". */
1084
- instructions?: string | null;
1085
- /** Pickup details. */
1086
- pickupDetails?: PickupDetails;
1087
- }
1088
- export interface PickupDetails {
1089
- /** Pickup address. */
1090
- address?: Address;
1091
- /** Whether the pickup address is that of a business - this may effect tax calculation. */
1092
- businessLocation?: boolean;
1093
- /** Pickup method */
1094
- pickupMethod?: PickupMethod;
1095
- }
1096
- export declare enum PickupMethod {
1097
- UNKNOWN_METHOD = "UNKNOWN_METHOD",
1098
- STORE_PICKUP = "STORE_PICKUP",
1099
- PICKUP_POINT = "PICKUP_POINT"
1100
- }
1101
- export interface DeliveryTimeSlot {
1102
- /** starting time of the delivery time slot */
1103
- from?: Date;
1104
- /** ending time of the delivery time slot */
1105
- to?: Date;
1106
- }
1107
- export interface SelectedCarrierServiceOptionPrices {
1108
- /** Total shipping price, after discount and after tax. */
1109
- totalPriceAfterTax?: MultiCurrencyPrice;
1110
- /** Total price of shipping after discounts (when relevant), and before tax. */
1111
- totalPriceBeforeTax?: MultiCurrencyPrice;
1112
- /** Tax details. */
1113
- taxDetails?: ItemTaxFullDetails;
1114
- /** Shipping discount before tax. */
1115
- totalDiscount?: MultiCurrencyPrice;
1116
- /** Shipping price before discount and before tax. */
1117
- price?: MultiCurrencyPrice;
1118
- }
1119
- export interface SelectedCarrierServiceOptionOtherCharge {
1120
- /** Type of additional cost. */
1121
- type?: ChargeType;
1122
- /** Details of the charge, such as 'Full Coverage Insurance of up to 80% of value of shipment'. */
1123
- details?: string | null;
1124
- /** Price of added charge. */
1125
- cost?: SelectedCarrierServiceOptionPrices;
1126
- }
1127
- export declare enum ChargeType {
1128
- HANDLING_FEE = "HANDLING_FEE",
1129
- INSURANCE = "INSURANCE"
1130
- }
1131
- export interface CarrierServiceOption {
1132
- /** Carrier ID. */
1133
- carrierId?: string;
1134
- /** Shipping options offered by this carrier for this request. */
1135
- shippingOptions?: ShippingOption[];
1136
- }
1137
- export interface ShippingOption {
1138
- /**
1139
- * Unique code of provided shipping option like "usps_std_overnight".
1140
- * For legacy calculators this would be the UUID of the option.
1141
- */
1142
- code?: string;
1143
- /**
1144
- * Title of the option, such as USPS Standard Overnight Delivery (in the requested locale).
1145
- * For example, "Standard" or "First-Class Package International".
1146
- */
1147
- title?: string;
1148
- /** Delivery logistics. */
1149
- logistics?: DeliveryLogistics;
1150
- /** Sipping price information. */
1151
- cost?: ShippingPrice;
1152
- }
1153
- export interface ShippingPrice {
1154
- /** Shipping price. */
1155
- price?: MultiCurrencyPrice;
1156
- /** Other costs such as insurance, handling & packaging for fragile items, etc. */
1157
- otherCharges?: OtherCharge[];
1158
- }
1159
- export interface OtherCharge {
1160
- /** Type of additional cost. */
1161
- type?: ChargeType;
1162
- /** Price of added cost. */
1163
- price?: MultiCurrencyPrice;
1164
- }
1165
- export interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
1166
- /** Coupon details. */
1167
- coupon?: V1Coupon;
1168
- /** Merchant discount. */
1169
- merchantDiscount?: V1MerchantDiscount;
1170
- /** Discount rule */
1171
- discountRule?: DiscountRule;
1172
- /** Discount type. */
1173
- discountType?: DiscountType;
1174
- /** IDs of line items the discount applies to. */
1175
- lineItemIds?: string[];
1176
- }
1177
- /** @oneof */
1178
- export interface AppliedDiscountDiscountSourceOneOf {
1179
- /** Coupon details. */
1180
- coupon?: V1Coupon;
1181
- /** Merchant discount. */
1182
- merchantDiscount?: V1MerchantDiscount;
1183
- /** Discount rule */
1184
- discountRule?: DiscountRule;
1185
- }
1186
- export declare enum DiscountType {
1187
- GLOBAL = "GLOBAL",
1188
- SPECIFIC_ITEMS = "SPECIFIC_ITEMS",
1189
- SHIPPING = "SHIPPING"
1190
- }
1191
- /** Coupon */
1192
- export interface V1Coupon {
1193
- /** Coupon ID. */
1194
- id?: string;
1195
- /** Coupon code. */
1196
- code?: string;
1197
- /** Coupon value. */
1198
- amount?: MultiCurrencyPrice;
1199
- /** Coupon name. */
1200
- name?: string;
1201
- }
1202
- export interface V1MerchantDiscount {
1203
- /** Discount value. */
1204
- amount?: MultiCurrencyPrice;
1205
- }
1206
- export interface DiscountRule {
1207
- /** Discount rule ID */
1208
- id?: string;
1209
- /** Discount rule name */
1210
- name?: DiscountRuleName;
1211
- /** Discount value. */
1212
- amount?: MultiCurrencyPrice;
1213
- }
1214
- export interface DiscountRuleName {
1215
- /** Original discount rule name (in site's default language). */
1216
- original?: string;
1217
- /** Translated discount rule name according to buyer language. Defaults to `original` when not provided. */
1218
- translated?: string | null;
1219
- }
1220
- export interface LineItemDiscount {
1221
- /** ID of line item the discount applies to. */
1222
- id?: string;
1223
- /** Discount value. */
1224
- totalDiscountAmount?: MultiCurrencyPrice;
1225
- }
1226
- export interface CalculationErrors extends CalculationErrorsShippingCalculationErrorOneOf {
1227
- /** General shipping calculation error. */
1228
- generalShippingCalculationError?: Details;
1229
- /** Carrier errors. */
1230
- carrierErrors?: CarrierErrors;
1231
- /** Tax calculation error. */
1232
- taxCalculationError?: Details;
1233
- /** Coupon calculation error. */
1234
- couponCalculationError?: Details;
1235
- /** Gift card calculation error. */
1236
- giftCardCalculationError?: Details;
1237
- /** Order validation errors. */
1238
- orderValidationErrors?: ApplicationError[];
1239
- /**
1240
- * Membership payment methods calculation errors
1241
- * For example, will indicate that a line item that must be paid with membership payment doesn't have one or selected memberships are invalid
1242
- */
1243
- membershipError?: Details;
1244
- /** Discount Rule calculation error. */
1245
- discountsCalculationError?: Details;
1246
- }
1247
- /** @oneof */
1248
- export interface CalculationErrorsShippingCalculationErrorOneOf {
1249
- /** General shipping calculation error. */
1250
- generalShippingCalculationError?: Details;
1251
- /** Carrier errors. */
1252
- carrierErrors?: CarrierErrors;
1253
- }
1254
- export interface Details extends DetailsKindOneOf {
1255
- applicationError?: ApplicationError;
1256
- validationError?: ValidationError;
1257
- systemError?: SystemError;
1258
- /** deprecated in API's - to enable migration from rendering arbitrary tracing to rest response */
1259
- tracing?: Record<string, string>;
1260
- }
1261
- /** @oneof */
1262
- export interface DetailsKindOneOf {
1263
- applicationError?: ApplicationError;
1264
- validationError?: ValidationError;
1265
- systemError?: SystemError;
1266
- }
1267
- /**
1268
- * example result:
1269
- * {
1270
- * "fieldViolations": [
1271
- * {
1272
- * "field": "fieldA",
1273
- * "description": "invalid music note. supported notes: [do,re,mi,fa,sol,la,ti]",
1274
- * "violatedRule": "OTHER",
1275
- * "ruleName": "INVALID_NOTE",
1276
- * "data": {
1277
- * "value": "FI"
1278
- * }
1279
- * },
1280
- * {
1281
- * "field": "fieldB",
1282
- * "description": "field value out of range. supported range: [0-20]",
1283
- * "violatedRule": "MAX",
1284
- * "data": {
1285
- * "threshold": 20
1286
- * }
1287
- * },
1288
- * {
1289
- * "field": "fieldC",
1290
- * "description": "invalid phone number. provide a valid phone number of size: [7-12], supported characters: [0-9, +, -, (, )]",
1291
- * "violatedRule": "FORMAT",
1292
- * "data": {
1293
- * "type": "PHONE"
1294
- * }
1295
- * }
1296
- * ]
1297
- * }
1298
- */
1299
- export interface ValidationError {
1300
- fieldViolations?: FieldViolation[];
1301
- }
1302
- export declare enum RuleType {
1303
- VALIDATION = "VALIDATION",
1304
- OTHER = "OTHER",
1305
- MAX = "MAX",
1306
- MIN = "MIN",
1307
- MAX_LENGTH = "MAX_LENGTH",
1308
- MIN_LENGTH = "MIN_LENGTH",
1309
- MAX_SIZE = "MAX_SIZE",
1310
- MIN_SIZE = "MIN_SIZE",
1311
- FORMAT = "FORMAT",
1312
- DECIMAL_LTE = "DECIMAL_LTE",
1313
- DECIMAL_GTE = "DECIMAL_GTE",
1314
- DECIMAL_LT = "DECIMAL_LT",
1315
- DECIMAL_GT = "DECIMAL_GT",
1316
- DECIMAL_MAX_SCALE = "DECIMAL_MAX_SCALE",
1317
- INVALID_ENUM_VALUE = "INVALID_ENUM_VALUE",
1318
- REQUIRED_FIELD = "REQUIRED_FIELD",
1319
- FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
1320
- ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT"
1321
- }
1322
- export interface FieldViolation {
1323
- field?: string;
1324
- description?: string;
1325
- violatedRule?: RuleType;
1326
- /** applicable when violated_rule=OTHER */
1327
- ruleName?: string | null;
1328
- data?: Record<string, any> | null;
1329
- }
1330
- export interface SystemError {
1331
- /** Error code. */
1332
- errorCode?: string | null;
1333
- }
1334
- export interface CarrierErrors {
1335
- /** Carrier errors. */
1336
- errors?: CarrierError[];
1337
- }
1338
- export interface CarrierError {
1339
- /** Carrier ID. */
1340
- carrierId?: string;
1341
- /** Error details. */
1342
- error?: Details;
1343
- }
1344
- export interface MembershipOptions {
1345
- /** List of payment options that can be used. */
1346
- eligibleMemberships?: Membership[];
1347
- /** List of payment options that are owned by the member, but cannot be used due to reason provided. */
1348
- invalidMemberships?: InvalidMembership[];
1349
- /** The selected membership payment options and which line items they apply to. */
1350
- selectedMemberships?: HostSelectedMembership[];
1351
- }
1352
- export interface Membership {
1353
- /** Membership ID. */
1354
- id?: string;
1355
- /** ID of the application providing this payment option. */
1356
- appId?: string;
1357
- /** The name of this membership. */
1358
- name?: MembershipName;
1359
- /** Line item IDs which are "paid" for by this membership. */
1360
- lineItemIds?: string[];
1361
- /** Optional - For a membership that has limited credits, information about credit usage. */
1362
- credits?: MembershipPaymentCredits;
1363
- /** Optional - TMembership expiry date. */
1364
- expirationDate?: Date;
1365
- /** Additional data about this membership. */
1366
- additionalData?: Record<string, any> | null;
1367
- }
1368
- export interface MembershipName {
1369
- /** The name of this membership */
1370
- original?: string;
1371
- /** Optional - Translated name of this membership. Defaults to `original` when not provided. */
1372
- translated?: string | null;
1373
- }
1374
- export interface MembershipPaymentCredits {
1375
- /** How much credit this membership has in total */
1376
- total?: number;
1377
- /** How much credit remained for this membership */
1378
- remaining?: number;
1379
- }
1380
- export interface InvalidMembership {
1381
- /** Membership details. */
1382
- membership?: Membership;
1383
- /** Reason why this membership is invalid and cannot be used. */
1384
- reason?: string;
1385
- }
1386
- export interface AdditionalFee {
1387
- /** Additional fee's unique code (or ID) for future processing. */
1388
- code?: string | null;
1389
- /** Translated additional fee's name. */
1390
- name?: string;
1391
- /** Additional fee's price. */
1392
- price?: MultiCurrencyPrice;
1393
- /** Tax details. */
1394
- taxDetails?: ItemTaxFullDetails;
1395
- /** Provider's app id. */
1396
- providerAppId?: string | null;
1397
- /** Additional fee's price before tax. */
1398
- priceBeforeTax?: MultiCurrencyPrice;
1399
- /**
1400
- * Optional - Line items associated with this additional fee.
1401
- * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
1402
- */
1403
- lineItemIds?: string[];
1404
- }
1405
- export interface Violation {
1406
- /** Severity of the violation. The violations are shown on the cart and checkout pages. A warning is displayed as yellow, and allows a site visitor to proceed with caution. An error is displayed as red, and doesn't allow a site visitor to proceed with the eCommerce flow. */
1407
- severity?: Severity;
1408
- /** Target location on a checkout or cart page where the violation will be displayed. */
1409
- target?: Target;
1410
- /** Violation description. Can include rich text. Only HTTP or HTTPS links in the following format are allowed: `<a href="https://www.wix.com">Click me</a>`. */
1411
- description?: string | null;
1412
- }
1413
- export declare enum Severity {
1414
- /** The user is allowed to move forward in the flow. */
1415
- WARNING = "WARNING",
1416
- /**
1417
- * The user is blocked from moving forward in the flow.
1418
- * For example, if callerContext is CART - moving to checkout is blocked. if callerContext is CHECKOUT, placing an order is blocked.
1419
- */
1420
- ERROR = "ERROR"
1421
- }
1422
- export interface Target extends TargetTargetTypeOneOf {
1423
- /** General (other) violation. */
1424
- other?: Other;
1425
- /** Specific line item violation. */
1426
- lineItem?: TargetLineItem;
1427
- }
1428
- /** @oneof */
1429
- export interface TargetTargetTypeOneOf {
1430
- /** General (other) violation. */
1431
- other?: Other;
1432
- /** Specific line item violation. */
1433
- lineItem?: TargetLineItem;
1434
- }
1435
- /** Available locations on the webpage */
1436
- export declare enum NameInOther {
1437
- /** default location, in case no specific location is specified */
1438
- OTHER_DEFAULT = "OTHER_DEFAULT"
1439
- }
1440
- /** Available locations on the line item */
1441
- export declare enum NameInLineItem {
1442
- /** default location, in case no specific location is specified */
1443
- LINE_ITEM_DEFAULT = "LINE_ITEM_DEFAULT"
1444
- }
1445
- /** General (other) violation. */
1446
- export interface Other {
1447
- /** Location on a checkout or a cart page where a general (other) violation will be displayed. */
1448
- name?: NameInOther;
1449
- }
1450
- /** Specific line item violation. */
1451
- export interface TargetLineItem {
1452
- /** Location on a checkout or a cart page where the specific line item violation will be displayed. */
1453
- name?: NameInLineItem;
1454
- /** ID of the line item containing the violation. */
1455
- id?: string | null;
1456
- }
1457
- export interface RemoveLineItemsFromCurrentCartRequest {
1458
- /** Line item IDs to remove from cart. */
1459
- lineItemIds: string[];
1460
- }
1461
- export interface RemoveLineItemsResponse {
1462
- /** Updated cart. */
1463
- cart?: Cart;
1464
- }
1465
- export interface CreateCheckoutFromCurrentCartRequest {
1466
- /** __Required.__ Sales channel type. */
1467
- channelType?: ChannelType;
1468
- /** Shipping address. Used for calculating tax and shipping (when applicable). */
1469
- shippingAddress?: Address;
1470
- /** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
1471
- billingAddress?: Address;
1472
- /** Selected shipping option. */
1473
- selectedShippingOption?: SelectedShippingOption;
1474
- /** Mandatory when setting billing or shipping address and user is not logged in. */
1475
- email?: string | null;
1476
- }
1477
- export declare enum ChannelType {
1478
- UNSPECIFIED = "UNSPECIFIED",
1479
- WEB = "WEB",
1480
- POS = "POS",
1481
- EBAY = "EBAY",
1482
- AMAZON = "AMAZON",
1483
- OTHER_PLATFORM = "OTHER_PLATFORM",
1484
- WIX_APP_STORE = "WIX_APP_STORE",
1485
- WIX_INVOICES = "WIX_INVOICES",
1486
- BACKOFFICE_MERCHANT = "BACKOFFICE_MERCHANT",
1487
- WISH = "WISH",
1488
- CLASS_PASS = "CLASS_PASS",
1489
- GLOBAL_E = "GLOBAL_E"
1490
- }
1491
- export interface CreateCheckoutResponse {
1492
- /** The newly created checkout's ID. */
1493
- checkoutId?: string;
1494
- }
1495
- export interface RemoveCouponFromCurrentCartRequest {
1496
- }
1497
- export interface RemoveCouponResponse {
1498
- /** Updated cart. */
1499
- cart?: Cart;
1500
- }
1501
- export interface UpdateCurrentCartLineItemQuantityRequest {
1502
- /** Line item IDs and their new quantity. */
1503
- lineItems: LineItemQuantityUpdate[];
1504
- }
1505
- export interface LineItemQuantityUpdate {
1506
- /** Line item ID. Required. */
1507
- id?: string;
1508
- /** New quantity. Number must be 1 or higher. Required. */
1509
- quantity?: number;
1510
- }
1511
- export interface UpdateLineItemsQuantityResponse {
1512
- /** Updated cart. */
1513
- cart?: Cart;
1514
- }
1515
- export interface EstimateCurrentCartTotalsRequest {
1516
- /** Selected shipping option. */
1517
- selectedShippingOption?: SelectedShippingOption;
1518
- /** Shipping address. Used for calculating tax and shipping (when applicable). */
1519
- shippingAddress?: Address;
1520
- /** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
1521
- billingAddress?: Address;
1522
- /** The selected membership payment options and which line items they apply to. */
1523
- selectedMemberships?: SelectedMemberships;
1524
- }
1525
- export interface DeleteCurrentCartRequest {
1526
- }
1527
- export interface DeleteCartResponse {
1528
- }
1529
- export interface DomainEvent extends DomainEventBodyOneOf {
1530
- createdEvent?: EntityCreatedEvent;
1531
- updatedEvent?: EntityUpdatedEvent;
1532
- deletedEvent?: EntityDeletedEvent;
1533
- actionEvent?: ActionEvent;
1534
- /**
1535
- * Unique event ID.
1536
- * Allows clients to ignore duplicate webhooks.
1537
- */
1538
- id?: string;
1539
- /**
1540
- * Assumes actions are also always typed to an entity_type
1541
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1542
- */
1543
- entityFqdn?: string;
1544
- /**
1545
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1546
- * This is although the created/updated/deleted notion is duplication of the oneof types
1547
- * Example: created/updated/deleted/started/completed/email_opened
1548
- */
1549
- slug?: string;
1550
- /** ID of the entity associated with the event. */
1551
- entityId?: string;
1552
- /** Event timestamp. */
1553
- eventTime?: Date;
1554
- /**
1555
- * Whether the event was triggered as a result of a privacy regulation application
1556
- * (for example, GDPR).
1557
- */
1558
- triggeredByAnonymizeRequest?: boolean | null;
1559
- /** If present, indicates the action that triggered the event. */
1560
- originatedFrom?: string | null;
1561
- /**
1562
- * A sequence number defining the order of updates to the underlying entity.
1563
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1564
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1565
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1566
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1567
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1568
- */
1569
- entityEventSequence?: string | null;
1570
- }
1571
- /** @oneof */
1572
- export interface DomainEventBodyOneOf {
1573
- createdEvent?: EntityCreatedEvent;
1574
- updatedEvent?: EntityUpdatedEvent;
1575
- deletedEvent?: EntityDeletedEvent;
1576
- actionEvent?: ActionEvent;
1577
- }
1578
- export interface EntityCreatedEvent {
1579
- entityAsJson?: string;
1580
- }
1581
- export interface EntityUpdatedEvent {
1582
- /**
1583
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1584
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1585
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1586
- */
1587
- currentEntityAsJson?: string;
1588
- }
1589
- export interface EntityDeletedEvent {
1590
- /** Entity that was deleted */
1591
- deletedEntityAsJson?: string | null;
1592
- }
1593
- export interface ActionEvent {
1594
- bodyAsJson?: string;
1595
- }
1596
- export interface CreateCartRequest {
1597
- /** Cart info. */
1598
- cartInfo?: Cart;
1599
- /** Code of an existing coupon to apply to cart. For more information, see the [Coupons API](https://dev.wix.com/api/rest/coupons/coupons/introduction). */
1600
- couponCode?: string | null;
1601
- /** Merchant discounts to apply to specific line items. If no `lineItemIds` are passed, the discount will be applied to the whole cart. */
1602
- merchantDiscounts?: MerchantDiscountInput[];
1603
- /** Catalog line items. */
1604
- lineItems?: LineItem[];
1605
- }
1606
- export interface CreateCartResponse {
1607
- /** Cart. */
1608
- cart?: Cart;
1609
- }
1610
- export interface GetCartRequest {
1611
- /** Cart ID. */
1612
- id: string;
1613
- }
1614
- export interface GetCartResponse {
1615
- /** The requested cart. */
1616
- cart?: Cart;
1617
- }
1618
- export interface GetCartByCheckoutIdRequest {
1619
- /** Checkout ID. */
1620
- id?: string;
1621
- }
1622
- export interface GetCartByCheckoutIdResponse {
1623
- /** The requested cart. */
1624
- cart?: Cart;
1625
- }
1626
- export interface AddToCartRequest {
1627
- /** Cart ID. */
1628
- id: string;
1629
- /** Catalog line items. */
1630
- lineItems?: LineItem[];
1631
- }
1632
- export interface RemoveLineItemsRequest {
1633
- /** Cart ID. */
1634
- id: string;
1635
- /** Line item IDs to remove from cart. */
1636
- lineItemIds: string[];
1637
- }
1638
- export interface CreateCheckoutRequest {
1639
- /** Cart ID. */
1640
- id: string;
1641
- /** __Required.__ Sales channel type. */
1642
- channelType?: ChannelType;
1643
- /** Shipping address. Used for calculating tax and shipping (when applicable). */
1644
- shippingAddress?: Address;
1645
- /** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
1646
- billingAddress?: Address;
1647
- /** Selected shipping option. */
1648
- selectedShippingOption?: SelectedShippingOption;
1649
- /** Required when setting a billing or shipping address if the site visitor isn't logged in. */
1650
- email?: string | null;
1651
- }
1652
- export interface RemoveCouponRequest {
1653
- /** Cart ID. */
1654
- id: string;
1655
- }
1656
- export interface UpdateLineItemsQuantityRequest {
1657
- /** Cart ID. */
1658
- id: string;
1659
- /** Line item IDs and their new quantity. */
1660
- lineItems: LineItemQuantityUpdate[];
1661
- }
1662
- export interface EstimateTotalsRequest {
1663
- /** Cart ID. */
1664
- id: string;
1665
- /** Selected shipping option. */
1666
- selectedShippingOption?: SelectedShippingOption;
1667
- /** Shipping address. Used for calculating tax and shipping (when applicable). */
1668
- shippingAddress?: Address;
1669
- /** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
1670
- billingAddress?: Address;
1671
- /** The selected membership payment options and which line items they apply to. */
1672
- selectedMemberships?: SelectedMemberships;
1673
- }
1674
- export interface DeleteCartRequest {
1675
- /** ID of the cart to delete. */
1676
- id: string;
1677
- }
1678
- export interface Empty {
1679
- }
1680
- export interface GetCurrentCartResponseNonNullableFields {
1681
- cart?: {
1682
- lineItems: {
1683
- quantity: number;
1684
- catalogReference?: {
1685
- catalogItemId: string;
1686
- appId: string;
1687
- };
1688
- productName?: {
1689
- original: string;
1690
- };
1691
- url?: {
1692
- relativePath: string;
1693
- };
1694
- price?: {
1695
- amount: string;
1696
- convertedAmount: string;
1697
- formattedAmount: string;
1698
- formattedConvertedAmount: string;
1699
- };
1700
- fullPrice?: {
1701
- amount: string;
1702
- convertedAmount: string;
1703
- formattedAmount: string;
1704
- formattedConvertedAmount: string;
1705
- };
1706
- priceBeforeDiscounts?: {
1707
- amount: string;
1708
- convertedAmount: string;
1709
- formattedAmount: string;
1710
- formattedConvertedAmount: string;
1711
- };
1712
- descriptionLines: {
1713
- plainText?: {
1714
- original: string;
1715
- };
1716
- colorInfo?: {
1717
- original: string;
1718
- };
1719
- plainTextValue?: {
1720
- original: string;
1721
- };
1722
- color: string;
1723
- name?: {
1724
- original: string;
1725
- };
1726
- lineType: DescriptionLineType;
1727
- }[];
1728
- image?: {
1729
- id: string;
1730
- url: string;
1731
- height: number;
1732
- width: number;
1733
- };
1734
- availability?: {
1735
- status: ItemAvailabilityStatus;
1736
- };
1737
- physicalProperties?: {
1738
- shippable: boolean;
1739
- };
1740
- couponScopes: {
1741
- namespace: string;
1742
- group?: {
1743
- name: string;
1744
- };
1745
- }[];
1746
- itemType?: {
1747
- preset: ItemTypeItemType;
1748
- custom: string;
1749
- };
1750
- subscriptionOptionInfo?: {
1751
- subscriptionSettings?: {
1752
- frequency: SubscriptionFrequency;
1753
- autoRenewal: boolean;
1754
- };
1755
- title?: {
1756
- original: string;
1757
- };
1758
- description?: {
1759
- original: string;
1760
- };
1761
- };
1762
- digitalFile?: {
1763
- id: string;
1764
- fileName: string;
1765
- fileType: FileType;
1766
- };
1767
- paymentOption: PaymentOptionType;
1768
- priceDescription?: {
1769
- original: string;
1770
- };
1771
- depositAmount?: {
1772
- amount: string;
1773
- convertedAmount: string;
1774
- formattedAmount: string;
1775
- formattedConvertedAmount: string;
1776
- };
1777
- selectedMembership?: {
1778
- id: string;
1779
- appId: string;
1780
- };
1781
- customLineItem: boolean;
1782
- }[];
1783
- buyerInfo?: {
1784
- visitorId: string;
1785
- memberId: string;
1786
- userId: string;
1787
- };
1788
- currency: string;
1789
- conversionCurrency: string;
1790
- weightUnit: WeightUnit;
1791
- subtotal?: {
1792
- amount: string;
1793
- convertedAmount: string;
1794
- formattedAmount: string;
1795
- formattedConvertedAmount: string;
1796
- };
1797
- appliedDiscounts: {
1798
- coupon?: {
1799
- id: string;
1800
- code: string;
1801
- };
1802
- merchantDiscount?: {
1803
- amount?: {
1804
- amount: string;
1805
- convertedAmount: string;
1806
- formattedAmount: string;
1807
- formattedConvertedAmount: string;
1808
- };
1809
- };
1810
- }[];
1811
- contactInfo?: {
1812
- address?: {
1813
- streetAddress?: {
1814
- number: string;
1815
- name: string;
1816
- apt: string;
1817
- };
1818
- };
1819
- contactDetails?: {
1820
- vatId?: {
1821
- id: string;
1822
- type: VatType;
1823
- };
1824
- };
1825
- };
1826
- selectedShippingOption?: {
1827
- code: string;
1828
- };
1829
- };
1830
- }
1831
- export interface UpdateCartResponseNonNullableFields {
1832
- cart?: {
1833
- lineItems: {
1834
- quantity: number;
1835
- catalogReference?: {
1836
- catalogItemId: string;
1837
- appId: string;
1838
- };
1839
- productName?: {
1840
- original: string;
1841
- };
1842
- url?: {
1843
- relativePath: string;
1844
- };
1845
- price?: {
1846
- amount: string;
1847
- convertedAmount: string;
1848
- formattedAmount: string;
1849
- formattedConvertedAmount: string;
1850
- };
1851
- fullPrice?: {
1852
- amount: string;
1853
- convertedAmount: string;
1854
- formattedAmount: string;
1855
- formattedConvertedAmount: string;
1856
- };
1857
- priceBeforeDiscounts?: {
1858
- amount: string;
1859
- convertedAmount: string;
1860
- formattedAmount: string;
1861
- formattedConvertedAmount: string;
1862
- };
1863
- descriptionLines: {
1864
- plainText?: {
1865
- original: string;
1866
- };
1867
- colorInfo?: {
1868
- original: string;
1869
- };
1870
- plainTextValue?: {
1871
- original: string;
1872
- };
1873
- color: string;
1874
- name?: {
1875
- original: string;
1876
- };
1877
- lineType: DescriptionLineType;
1878
- }[];
1879
- image?: {
1880
- id: string;
1881
- url: string;
1882
- height: number;
1883
- width: number;
1884
- };
1885
- availability?: {
1886
- status: ItemAvailabilityStatus;
1887
- };
1888
- physicalProperties?: {
1889
- shippable: boolean;
1890
- };
1891
- couponScopes: {
1892
- namespace: string;
1893
- group?: {
1894
- name: string;
1895
- };
1896
- }[];
1897
- itemType?: {
1898
- preset: ItemTypeItemType;
1899
- custom: string;
1900
- };
1901
- subscriptionOptionInfo?: {
1902
- subscriptionSettings?: {
1903
- frequency: SubscriptionFrequency;
1904
- autoRenewal: boolean;
1905
- };
1906
- title?: {
1907
- original: string;
1908
- };
1909
- description?: {
1910
- original: string;
1911
- };
1912
- };
1913
- digitalFile?: {
1914
- id: string;
1915
- fileName: string;
1916
- fileType: FileType;
1917
- };
1918
- paymentOption: PaymentOptionType;
1919
- priceDescription?: {
1920
- original: string;
1921
- };
1922
- depositAmount?: {
1923
- amount: string;
1924
- convertedAmount: string;
1925
- formattedAmount: string;
1926
- formattedConvertedAmount: string;
1927
- };
1928
- selectedMembership?: {
1929
- id: string;
1930
- appId: string;
1931
- };
1932
- customLineItem: boolean;
1933
- }[];
1934
- buyerInfo?: {
1935
- visitorId: string;
1936
- memberId: string;
1937
- userId: string;
1938
- };
1939
- currency: string;
1940
- conversionCurrency: string;
1941
- weightUnit: WeightUnit;
1942
- subtotal?: {
1943
- amount: string;
1944
- convertedAmount: string;
1945
- formattedAmount: string;
1946
- formattedConvertedAmount: string;
1947
- };
1948
- appliedDiscounts: {
1949
- coupon?: {
1950
- id: string;
1951
- code: string;
1952
- };
1953
- merchantDiscount?: {
1954
- amount?: {
1955
- amount: string;
1956
- convertedAmount: string;
1957
- formattedAmount: string;
1958
- formattedConvertedAmount: string;
1959
- };
1960
- };
1961
- }[];
1962
- contactInfo?: {
1963
- address?: {
1964
- streetAddress?: {
1965
- number: string;
1966
- name: string;
1967
- apt: string;
1968
- };
1969
- };
1970
- contactDetails?: {
1971
- vatId?: {
1972
- id: string;
1973
- type: VatType;
1974
- };
1975
- };
1976
- };
1977
- selectedShippingOption?: {
1978
- code: string;
1979
- };
1980
- };
1981
- }
1982
- export interface AddToCartResponseNonNullableFields {
1983
- cart?: {
1984
- lineItems: {
1985
- quantity: number;
1986
- catalogReference?: {
1987
- catalogItemId: string;
1988
- appId: string;
1989
- };
1990
- productName?: {
1991
- original: string;
1992
- };
1993
- url?: {
1994
- relativePath: string;
1995
- };
1996
- price?: {
1997
- amount: string;
1998
- convertedAmount: string;
1999
- formattedAmount: string;
2000
- formattedConvertedAmount: string;
2001
- };
2002
- fullPrice?: {
2003
- amount: string;
2004
- convertedAmount: string;
2005
- formattedAmount: string;
2006
- formattedConvertedAmount: string;
2007
- };
2008
- priceBeforeDiscounts?: {
2009
- amount: string;
2010
- convertedAmount: string;
2011
- formattedAmount: string;
2012
- formattedConvertedAmount: string;
2013
- };
2014
- descriptionLines: {
2015
- plainText?: {
2016
- original: string;
2017
- };
2018
- colorInfo?: {
2019
- original: string;
2020
- };
2021
- plainTextValue?: {
2022
- original: string;
2023
- };
2024
- color: string;
2025
- name?: {
2026
- original: string;
2027
- };
2028
- lineType: DescriptionLineType;
2029
- }[];
2030
- image?: {
2031
- id: string;
2032
- url: string;
2033
- height: number;
2034
- width: number;
2035
- };
2036
- availability?: {
2037
- status: ItemAvailabilityStatus;
2038
- };
2039
- physicalProperties?: {
2040
- shippable: boolean;
2041
- };
2042
- couponScopes: {
2043
- namespace: string;
2044
- group?: {
2045
- name: string;
2046
- };
2047
- }[];
2048
- itemType?: {
2049
- preset: ItemTypeItemType;
2050
- custom: string;
2051
- };
2052
- subscriptionOptionInfo?: {
2053
- subscriptionSettings?: {
2054
- frequency: SubscriptionFrequency;
2055
- autoRenewal: boolean;
2056
- };
2057
- title?: {
2058
- original: string;
2059
- };
2060
- description?: {
2061
- original: string;
2062
- };
2063
- };
2064
- digitalFile?: {
2065
- id: string;
2066
- fileName: string;
2067
- fileType: FileType;
2068
- };
2069
- paymentOption: PaymentOptionType;
2070
- priceDescription?: {
2071
- original: string;
2072
- };
2073
- depositAmount?: {
2074
- amount: string;
2075
- convertedAmount: string;
2076
- formattedAmount: string;
2077
- formattedConvertedAmount: string;
2078
- };
2079
- selectedMembership?: {
2080
- id: string;
2081
- appId: string;
2082
- };
2083
- customLineItem: boolean;
2084
- }[];
2085
- buyerInfo?: {
2086
- visitorId: string;
2087
- memberId: string;
2088
- userId: string;
2089
- };
2090
- currency: string;
2091
- conversionCurrency: string;
2092
- weightUnit: WeightUnit;
2093
- subtotal?: {
2094
- amount: string;
2095
- convertedAmount: string;
2096
- formattedAmount: string;
2097
- formattedConvertedAmount: string;
2098
- };
2099
- appliedDiscounts: {
2100
- coupon?: {
2101
- id: string;
2102
- code: string;
2103
- };
2104
- merchantDiscount?: {
2105
- amount?: {
2106
- amount: string;
2107
- convertedAmount: string;
2108
- formattedAmount: string;
2109
- formattedConvertedAmount: string;
2110
- };
2111
- };
2112
- }[];
2113
- contactInfo?: {
2114
- address?: {
2115
- streetAddress?: {
2116
- number: string;
2117
- name: string;
2118
- apt: string;
2119
- };
2120
- };
2121
- contactDetails?: {
2122
- vatId?: {
2123
- id: string;
2124
- type: VatType;
2125
- };
2126
- };
2127
- };
2128
- selectedShippingOption?: {
2129
- code: string;
2130
- };
2131
- };
2132
- }
2133
- export interface RemoveLineItemsResponseNonNullableFields {
2134
- cart?: {
2135
- lineItems: {
2136
- quantity: number;
2137
- catalogReference?: {
2138
- catalogItemId: string;
2139
- appId: string;
2140
- };
2141
- productName?: {
2142
- original: string;
2143
- };
2144
- url?: {
2145
- relativePath: string;
2146
- };
2147
- price?: {
2148
- amount: string;
2149
- convertedAmount: string;
2150
- formattedAmount: string;
2151
- formattedConvertedAmount: string;
2152
- };
2153
- fullPrice?: {
2154
- amount: string;
2155
- convertedAmount: string;
2156
- formattedAmount: string;
2157
- formattedConvertedAmount: string;
2158
- };
2159
- priceBeforeDiscounts?: {
2160
- amount: string;
2161
- convertedAmount: string;
2162
- formattedAmount: string;
2163
- formattedConvertedAmount: string;
2164
- };
2165
- descriptionLines: {
2166
- plainText?: {
2167
- original: string;
2168
- };
2169
- colorInfo?: {
2170
- original: string;
2171
- };
2172
- plainTextValue?: {
2173
- original: string;
2174
- };
2175
- color: string;
2176
- name?: {
2177
- original: string;
2178
- };
2179
- lineType: DescriptionLineType;
2180
- }[];
2181
- image?: {
2182
- id: string;
2183
- url: string;
2184
- height: number;
2185
- width: number;
2186
- };
2187
- availability?: {
2188
- status: ItemAvailabilityStatus;
2189
- };
2190
- physicalProperties?: {
2191
- shippable: boolean;
2192
- };
2193
- couponScopes: {
2194
- namespace: string;
2195
- group?: {
2196
- name: string;
2197
- };
2198
- }[];
2199
- itemType?: {
2200
- preset: ItemTypeItemType;
2201
- custom: string;
2202
- };
2203
- subscriptionOptionInfo?: {
2204
- subscriptionSettings?: {
2205
- frequency: SubscriptionFrequency;
2206
- autoRenewal: boolean;
2207
- };
2208
- title?: {
2209
- original: string;
2210
- };
2211
- description?: {
2212
- original: string;
2213
- };
2214
- };
2215
- digitalFile?: {
2216
- id: string;
2217
- fileName: string;
2218
- fileType: FileType;
2219
- };
2220
- paymentOption: PaymentOptionType;
2221
- priceDescription?: {
2222
- original: string;
2223
- };
2224
- depositAmount?: {
2225
- amount: string;
2226
- convertedAmount: string;
2227
- formattedAmount: string;
2228
- formattedConvertedAmount: string;
2229
- };
2230
- selectedMembership?: {
2231
- id: string;
2232
- appId: string;
2233
- };
2234
- customLineItem: boolean;
2235
- }[];
2236
- buyerInfo?: {
2237
- visitorId: string;
2238
- memberId: string;
2239
- userId: string;
2240
- };
2241
- currency: string;
2242
- conversionCurrency: string;
2243
- weightUnit: WeightUnit;
2244
- subtotal?: {
2245
- amount: string;
2246
- convertedAmount: string;
2247
- formattedAmount: string;
2248
- formattedConvertedAmount: string;
2249
- };
2250
- appliedDiscounts: {
2251
- coupon?: {
2252
- id: string;
2253
- code: string;
2254
- };
2255
- merchantDiscount?: {
2256
- amount?: {
2257
- amount: string;
2258
- convertedAmount: string;
2259
- formattedAmount: string;
2260
- formattedConvertedAmount: string;
2261
- };
2262
- };
2263
- }[];
2264
- contactInfo?: {
2265
- address?: {
2266
- streetAddress?: {
2267
- number: string;
2268
- name: string;
2269
- apt: string;
2270
- };
2271
- };
2272
- contactDetails?: {
2273
- vatId?: {
2274
- id: string;
2275
- type: VatType;
2276
- };
2277
- };
2278
- };
2279
- selectedShippingOption?: {
2280
- code: string;
2281
- };
2282
- };
2283
- }
2284
- export interface CreateCheckoutResponseNonNullableFields {
2285
- checkoutId: string;
2286
- }
2287
- export interface RemoveCouponResponseNonNullableFields {
2288
- cart?: {
2289
- lineItems: {
2290
- quantity: number;
2291
- catalogReference?: {
2292
- catalogItemId: string;
2293
- appId: string;
2294
- };
2295
- productName?: {
2296
- original: string;
2297
- };
2298
- url?: {
2299
- relativePath: string;
2300
- };
2301
- price?: {
2302
- amount: string;
2303
- convertedAmount: string;
2304
- formattedAmount: string;
2305
- formattedConvertedAmount: string;
2306
- };
2307
- fullPrice?: {
2308
- amount: string;
2309
- convertedAmount: string;
2310
- formattedAmount: string;
2311
- formattedConvertedAmount: string;
2312
- };
2313
- priceBeforeDiscounts?: {
2314
- amount: string;
2315
- convertedAmount: string;
2316
- formattedAmount: string;
2317
- formattedConvertedAmount: string;
2318
- };
2319
- descriptionLines: {
2320
- plainText?: {
2321
- original: string;
2322
- };
2323
- colorInfo?: {
2324
- original: string;
2325
- };
2326
- plainTextValue?: {
2327
- original: string;
2328
- };
2329
- color: string;
2330
- name?: {
2331
- original: string;
2332
- };
2333
- lineType: DescriptionLineType;
2334
- }[];
2335
- image?: {
2336
- id: string;
2337
- url: string;
2338
- height: number;
2339
- width: number;
2340
- };
2341
- availability?: {
2342
- status: ItemAvailabilityStatus;
2343
- };
2344
- physicalProperties?: {
2345
- shippable: boolean;
2346
- };
2347
- couponScopes: {
2348
- namespace: string;
2349
- group?: {
2350
- name: string;
2351
- };
2352
- }[];
2353
- itemType?: {
2354
- preset: ItemTypeItemType;
2355
- custom: string;
2356
- };
2357
- subscriptionOptionInfo?: {
2358
- subscriptionSettings?: {
2359
- frequency: SubscriptionFrequency;
2360
- autoRenewal: boolean;
2361
- };
2362
- title?: {
2363
- original: string;
2364
- };
2365
- description?: {
2366
- original: string;
2367
- };
2368
- };
2369
- digitalFile?: {
2370
- id: string;
2371
- fileName: string;
2372
- fileType: FileType;
2373
- };
2374
- paymentOption: PaymentOptionType;
2375
- priceDescription?: {
2376
- original: string;
2377
- };
2378
- depositAmount?: {
2379
- amount: string;
2380
- convertedAmount: string;
2381
- formattedAmount: string;
2382
- formattedConvertedAmount: string;
2383
- };
2384
- selectedMembership?: {
2385
- id: string;
2386
- appId: string;
2387
- };
2388
- customLineItem: boolean;
2389
- }[];
2390
- buyerInfo?: {
2391
- visitorId: string;
2392
- memberId: string;
2393
- userId: string;
2394
- };
2395
- currency: string;
2396
- conversionCurrency: string;
2397
- weightUnit: WeightUnit;
2398
- subtotal?: {
2399
- amount: string;
2400
- convertedAmount: string;
2401
- formattedAmount: string;
2402
- formattedConvertedAmount: string;
2403
- };
2404
- appliedDiscounts: {
2405
- coupon?: {
2406
- id: string;
2407
- code: string;
2408
- };
2409
- merchantDiscount?: {
2410
- amount?: {
2411
- amount: string;
2412
- convertedAmount: string;
2413
- formattedAmount: string;
2414
- formattedConvertedAmount: string;
2415
- };
2416
- };
2417
- }[];
2418
- contactInfo?: {
2419
- address?: {
2420
- streetAddress?: {
2421
- number: string;
2422
- name: string;
2423
- apt: string;
2424
- };
2425
- };
2426
- contactDetails?: {
2427
- vatId?: {
2428
- id: string;
2429
- type: VatType;
2430
- };
2431
- };
2432
- };
2433
- selectedShippingOption?: {
2434
- code: string;
2435
- };
2436
- };
2437
- }
2438
- export interface UpdateLineItemsQuantityResponseNonNullableFields {
2439
- cart?: {
2440
- lineItems: {
2441
- quantity: number;
2442
- catalogReference?: {
2443
- catalogItemId: string;
2444
- appId: string;
2445
- };
2446
- productName?: {
2447
- original: string;
2448
- };
2449
- url?: {
2450
- relativePath: string;
2451
- };
2452
- price?: {
2453
- amount: string;
2454
- convertedAmount: string;
2455
- formattedAmount: string;
2456
- formattedConvertedAmount: string;
2457
- };
2458
- fullPrice?: {
2459
- amount: string;
2460
- convertedAmount: string;
2461
- formattedAmount: string;
2462
- formattedConvertedAmount: string;
2463
- };
2464
- priceBeforeDiscounts?: {
2465
- amount: string;
2466
- convertedAmount: string;
2467
- formattedAmount: string;
2468
- formattedConvertedAmount: string;
2469
- };
2470
- descriptionLines: {
2471
- plainText?: {
2472
- original: string;
2473
- };
2474
- colorInfo?: {
2475
- original: string;
2476
- };
2477
- plainTextValue?: {
2478
- original: string;
2479
- };
2480
- color: string;
2481
- name?: {
2482
- original: string;
2483
- };
2484
- lineType: DescriptionLineType;
2485
- }[];
2486
- image?: {
2487
- id: string;
2488
- url: string;
2489
- height: number;
2490
- width: number;
2491
- };
2492
- availability?: {
2493
- status: ItemAvailabilityStatus;
2494
- };
2495
- physicalProperties?: {
2496
- shippable: boolean;
2497
- };
2498
- couponScopes: {
2499
- namespace: string;
2500
- group?: {
2501
- name: string;
2502
- };
2503
- }[];
2504
- itemType?: {
2505
- preset: ItemTypeItemType;
2506
- custom: string;
2507
- };
2508
- subscriptionOptionInfo?: {
2509
- subscriptionSettings?: {
2510
- frequency: SubscriptionFrequency;
2511
- autoRenewal: boolean;
2512
- };
2513
- title?: {
2514
- original: string;
2515
- };
2516
- description?: {
2517
- original: string;
2518
- };
2519
- };
2520
- digitalFile?: {
2521
- id: string;
2522
- fileName: string;
2523
- fileType: FileType;
2524
- };
2525
- paymentOption: PaymentOptionType;
2526
- priceDescription?: {
2527
- original: string;
2528
- };
2529
- depositAmount?: {
2530
- amount: string;
2531
- convertedAmount: string;
2532
- formattedAmount: string;
2533
- formattedConvertedAmount: string;
2534
- };
2535
- selectedMembership?: {
2536
- id: string;
2537
- appId: string;
2538
- };
2539
- customLineItem: boolean;
2540
- }[];
2541
- buyerInfo?: {
2542
- visitorId: string;
2543
- memberId: string;
2544
- userId: string;
2545
- };
2546
- currency: string;
2547
- conversionCurrency: string;
2548
- weightUnit: WeightUnit;
2549
- subtotal?: {
2550
- amount: string;
2551
- convertedAmount: string;
2552
- formattedAmount: string;
2553
- formattedConvertedAmount: string;
2554
- };
2555
- appliedDiscounts: {
2556
- coupon?: {
2557
- id: string;
2558
- code: string;
2559
- };
2560
- merchantDiscount?: {
2561
- amount?: {
2562
- amount: string;
2563
- convertedAmount: string;
2564
- formattedAmount: string;
2565
- formattedConvertedAmount: string;
2566
- };
2567
- };
2568
- }[];
2569
- contactInfo?: {
2570
- address?: {
2571
- streetAddress?: {
2572
- number: string;
2573
- name: string;
2574
- apt: string;
2575
- };
2576
- };
2577
- contactDetails?: {
2578
- vatId?: {
2579
- id: string;
2580
- type: VatType;
2581
- };
2582
- };
2583
- };
2584
- selectedShippingOption?: {
2585
- code: string;
2586
- };
2587
- };
2588
- }
2589
- export interface EstimateTotalsResponseNonNullableFields {
2590
- cart?: {
2591
- lineItems: {
2592
- quantity: number;
2593
- catalogReference?: {
2594
- catalogItemId: string;
2595
- appId: string;
2596
- };
2597
- productName?: {
2598
- original: string;
2599
- };
2600
- url?: {
2601
- relativePath: string;
2602
- };
2603
- price?: {
2604
- amount: string;
2605
- convertedAmount: string;
2606
- formattedAmount: string;
2607
- formattedConvertedAmount: string;
2608
- };
2609
- fullPrice?: {
2610
- amount: string;
2611
- convertedAmount: string;
2612
- formattedAmount: string;
2613
- formattedConvertedAmount: string;
2614
- };
2615
- priceBeforeDiscounts?: {
2616
- amount: string;
2617
- convertedAmount: string;
2618
- formattedAmount: string;
2619
- formattedConvertedAmount: string;
2620
- };
2621
- descriptionLines: {
2622
- plainText?: {
2623
- original: string;
2624
- };
2625
- colorInfo?: {
2626
- original: string;
2627
- };
2628
- plainTextValue?: {
2629
- original: string;
2630
- };
2631
- color: string;
2632
- name?: {
2633
- original: string;
2634
- };
2635
- lineType: DescriptionLineType;
2636
- }[];
2637
- image?: {
2638
- id: string;
2639
- url: string;
2640
- height: number;
2641
- width: number;
2642
- };
2643
- availability?: {
2644
- status: ItemAvailabilityStatus;
2645
- };
2646
- physicalProperties?: {
2647
- shippable: boolean;
2648
- };
2649
- couponScopes: {
2650
- namespace: string;
2651
- group?: {
2652
- name: string;
2653
- };
2654
- }[];
2655
- itemType?: {
2656
- preset: ItemTypeItemType;
2657
- custom: string;
2658
- };
2659
- subscriptionOptionInfo?: {
2660
- subscriptionSettings?: {
2661
- frequency: SubscriptionFrequency;
2662
- autoRenewal: boolean;
2663
- };
2664
- title?: {
2665
- original: string;
2666
- };
2667
- description?: {
2668
- original: string;
2669
- };
2670
- };
2671
- digitalFile?: {
2672
- id: string;
2673
- fileName: string;
2674
- fileType: FileType;
2675
- };
2676
- paymentOption: PaymentOptionType;
2677
- priceDescription?: {
2678
- original: string;
2679
- };
2680
- depositAmount?: {
2681
- amount: string;
2682
- convertedAmount: string;
2683
- formattedAmount: string;
2684
- formattedConvertedAmount: string;
2685
- };
2686
- selectedMembership?: {
2687
- id: string;
2688
- appId: string;
2689
- };
2690
- customLineItem: boolean;
2691
- }[];
2692
- buyerInfo?: {
2693
- visitorId: string;
2694
- memberId: string;
2695
- userId: string;
2696
- };
2697
- currency: string;
2698
- conversionCurrency: string;
2699
- weightUnit: WeightUnit;
2700
- subtotal?: {
2701
- amount: string;
2702
- convertedAmount: string;
2703
- formattedAmount: string;
2704
- formattedConvertedAmount: string;
2705
- };
2706
- appliedDiscounts: {
2707
- coupon?: {
2708
- id: string;
2709
- code: string;
2710
- };
2711
- merchantDiscount?: {
2712
- amount?: {
2713
- amount: string;
2714
- convertedAmount: string;
2715
- formattedAmount: string;
2716
- formattedConvertedAmount: string;
2717
- };
2718
- };
2719
- }[];
2720
- contactInfo?: {
2721
- address?: {
2722
- streetAddress?: {
2723
- number: string;
2724
- name: string;
2725
- apt: string;
2726
- };
2727
- };
2728
- contactDetails?: {
2729
- vatId?: {
2730
- id: string;
2731
- type: VatType;
2732
- };
2733
- };
2734
- };
2735
- selectedShippingOption?: {
2736
- code: string;
2737
- };
2738
- };
2739
- calculatedLineItems: {
2740
- lineItemId: string;
2741
- pricesBreakdown?: {
2742
- totalPriceAfterTax?: {
2743
- amount: string;
2744
- convertedAmount: string;
2745
- formattedAmount: string;
2746
- formattedConvertedAmount: string;
2747
- };
2748
- totalPriceBeforeTax?: {
2749
- amount: string;
2750
- convertedAmount: string;
2751
- formattedAmount: string;
2752
- formattedConvertedAmount: string;
2753
- };
2754
- taxDetails?: {
2755
- taxableAmount?: {
2756
- amount: string;
2757
- convertedAmount: string;
2758
- formattedAmount: string;
2759
- formattedConvertedAmount: string;
2760
- };
2761
- taxRate: string;
2762
- totalTax?: {
2763
- amount: string;
2764
- convertedAmount: string;
2765
- formattedAmount: string;
2766
- formattedConvertedAmount: string;
2767
- };
2768
- rateBreakdown: {
2769
- name: string;
2770
- rate: string;
2771
- tax?: {
2772
- amount: string;
2773
- convertedAmount: string;
2774
- formattedAmount: string;
2775
- formattedConvertedAmount: string;
2776
- };
2777
- exemptAmount?: {
2778
- amount: string;
2779
- convertedAmount: string;
2780
- formattedAmount: string;
2781
- formattedConvertedAmount: string;
2782
- };
2783
- exemptionIds: number[];
2784
- taxableAmount?: {
2785
- amount: string;
2786
- convertedAmount: string;
2787
- formattedAmount: string;
2788
- formattedConvertedAmount: string;
2789
- };
2790
- }[];
2791
- exemptAmount?: {
2792
- amount: string;
2793
- convertedAmount: string;
2794
- formattedAmount: string;
2795
- formattedConvertedAmount: string;
2796
- };
2797
- taxBreakdown: {
2798
- nonTaxableAmount?: {
2799
- amount: string;
2800
- convertedAmount: string;
2801
- formattedAmount: string;
2802
- formattedConvertedAmount: string;
2803
- };
2804
- taxAmount?: {
2805
- amount: string;
2806
- convertedAmount: string;
2807
- formattedAmount: string;
2808
- formattedConvertedAmount: string;
2809
- };
2810
- taxableAmount?: {
2811
- amount: string;
2812
- convertedAmount: string;
2813
- formattedAmount: string;
2814
- formattedConvertedAmount: string;
2815
- };
2816
- jurisdictionType: JurisdictionType;
2817
- }[];
2818
- };
2819
- totalDiscount?: {
2820
- amount: string;
2821
- convertedAmount: string;
2822
- formattedAmount: string;
2823
- formattedConvertedAmount: string;
2824
- };
2825
- price?: {
2826
- amount: string;
2827
- convertedAmount: string;
2828
- formattedAmount: string;
2829
- formattedConvertedAmount: string;
2830
- };
2831
- priceBeforeDiscounts?: {
2832
- amount: string;
2833
- convertedAmount: string;
2834
- formattedAmount: string;
2835
- formattedConvertedAmount: string;
2836
- };
2837
- lineItemPrice?: {
2838
- amount: string;
2839
- convertedAmount: string;
2840
- formattedAmount: string;
2841
- formattedConvertedAmount: string;
2842
- };
2843
- fullPrice?: {
2844
- amount: string;
2845
- convertedAmount: string;
2846
- formattedAmount: string;
2847
- formattedConvertedAmount: string;
2848
- };
2849
- };
2850
- paymentOption: PaymentOptionType;
2851
- }[];
2852
- priceSummary?: {
2853
- subtotal?: {
2854
- amount: string;
2855
- convertedAmount: string;
2856
- formattedAmount: string;
2857
- formattedConvertedAmount: string;
2858
- };
2859
- shipping?: {
2860
- amount: string;
2861
- convertedAmount: string;
2862
- formattedAmount: string;
2863
- formattedConvertedAmount: string;
2864
- };
2865
- tax?: {
2866
- amount: string;
2867
- convertedAmount: string;
2868
- formattedAmount: string;
2869
- formattedConvertedAmount: string;
2870
- };
2871
- discount?: {
2872
- amount: string;
2873
- convertedAmount: string;
2874
- formattedAmount: string;
2875
- formattedConvertedAmount: string;
2876
- };
2877
- total?: {
2878
- amount: string;
2879
- convertedAmount: string;
2880
- formattedAmount: string;
2881
- formattedConvertedAmount: string;
2882
- };
2883
- additionalFees?: {
2884
- amount: string;
2885
- convertedAmount: string;
2886
- formattedAmount: string;
2887
- formattedConvertedAmount: string;
2888
- };
2889
- };
2890
- giftCard?: {
2891
- id: string;
2892
- obfuscatedCode: string;
2893
- amount?: {
2894
- amount: string;
2895
- convertedAmount: string;
2896
- formattedAmount: string;
2897
- formattedConvertedAmount: string;
2898
- };
2899
- appId: string;
2900
- };
2901
- taxSummary?: {
2902
- taxableAmount?: {
2903
- amount: string;
2904
- convertedAmount: string;
2905
- formattedAmount: string;
2906
- formattedConvertedAmount: string;
2907
- };
2908
- totalTax?: {
2909
- amount: string;
2910
- convertedAmount: string;
2911
- formattedAmount: string;
2912
- formattedConvertedAmount: string;
2913
- };
2914
- manualTaxRate: string;
2915
- calculationDetails?: {
2916
- manualRateReason: ManualCalculationReason;
2917
- autoTaxFallbackDetails?: {
2918
- fallbackReason: FallbackReason;
2919
- error?: {
2920
- code: string;
2921
- description: string;
2922
- };
2923
- };
2924
- rateType: RateType;
2925
- };
2926
- totalExempt?: {
2927
- amount: string;
2928
- convertedAmount: string;
2929
- formattedAmount: string;
2930
- formattedConvertedAmount: string;
2931
- };
2932
- aggregatedTaxBreakdown: {
2933
- taxName: string;
2934
- taxType: string;
2935
- jurisdiction: string;
2936
- jurisdictionType: string;
2937
- rate: string;
2938
- aggregatedTaxAmount?: {
2939
- amount: string;
2940
- convertedAmount: string;
2941
- formattedAmount: string;
2942
- formattedConvertedAmount: string;
2943
- };
2944
- }[];
2945
- };
2946
- shippingInfo?: {
2947
- region?: {
2948
- id: string;
2949
- name: string;
2950
- };
2951
- selectedCarrierServiceOption?: {
2952
- code: string;
2953
- title: string;
2954
- logistics?: {
2955
- pickupDetails?: {
2956
- address?: {
2957
- streetAddress?: {
2958
- number: string;
2959
- name: string;
2960
- apt: string;
2961
- };
2962
- };
2963
- businessLocation: boolean;
2964
- pickupMethod: PickupMethod;
2965
- };
2966
- };
2967
- cost?: {
2968
- totalPriceAfterTax?: {
2969
- amount: string;
2970
- convertedAmount: string;
2971
- formattedAmount: string;
2972
- formattedConvertedAmount: string;
2973
- };
2974
- totalPriceBeforeTax?: {
2975
- amount: string;
2976
- convertedAmount: string;
2977
- formattedAmount: string;
2978
- formattedConvertedAmount: string;
2979
- };
2980
- taxDetails?: {
2981
- taxableAmount?: {
2982
- amount: string;
2983
- convertedAmount: string;
2984
- formattedAmount: string;
2985
- formattedConvertedAmount: string;
2986
- };
2987
- taxRate: string;
2988
- totalTax?: {
2989
- amount: string;
2990
- convertedAmount: string;
2991
- formattedAmount: string;
2992
- formattedConvertedAmount: string;
2993
- };
2994
- rateBreakdown: {
2995
- name: string;
2996
- rate: string;
2997
- tax?: {
2998
- amount: string;
2999
- convertedAmount: string;
3000
- formattedAmount: string;
3001
- formattedConvertedAmount: string;
3002
- };
3003
- exemptAmount?: {
3004
- amount: string;
3005
- convertedAmount: string;
3006
- formattedAmount: string;
3007
- formattedConvertedAmount: string;
3008
- };
3009
- exemptionIds: number[];
3010
- taxableAmount?: {
3011
- amount: string;
3012
- convertedAmount: string;
3013
- formattedAmount: string;
3014
- formattedConvertedAmount: string;
3015
- };
3016
- }[];
3017
- exemptAmount?: {
3018
- amount: string;
3019
- convertedAmount: string;
3020
- formattedAmount: string;
3021
- formattedConvertedAmount: string;
3022
- };
3023
- taxBreakdown: {
3024
- nonTaxableAmount?: {
3025
- amount: string;
3026
- convertedAmount: string;
3027
- formattedAmount: string;
3028
- formattedConvertedAmount: string;
3029
- };
3030
- taxAmount?: {
3031
- amount: string;
3032
- convertedAmount: string;
3033
- formattedAmount: string;
3034
- formattedConvertedAmount: string;
3035
- };
3036
- taxableAmount?: {
3037
- amount: string;
3038
- convertedAmount: string;
3039
- formattedAmount: string;
3040
- formattedConvertedAmount: string;
3041
- };
3042
- jurisdictionType: JurisdictionType;
3043
- }[];
3044
- };
3045
- totalDiscount?: {
3046
- amount: string;
3047
- convertedAmount: string;
3048
- formattedAmount: string;
3049
- formattedConvertedAmount: string;
3050
- };
3051
- price?: {
3052
- amount: string;
3053
- convertedAmount: string;
3054
- formattedAmount: string;
3055
- formattedConvertedAmount: string;
3056
- };
3057
- };
3058
- requestedShippingOption: boolean;
3059
- otherCharges: {
3060
- type: ChargeType;
3061
- cost?: {
3062
- totalPriceAfterTax?: {
3063
- amount: string;
3064
- convertedAmount: string;
3065
- formattedAmount: string;
3066
- formattedConvertedAmount: string;
3067
- };
3068
- totalPriceBeforeTax?: {
3069
- amount: string;
3070
- convertedAmount: string;
3071
- formattedAmount: string;
3072
- formattedConvertedAmount: string;
3073
- };
3074
- taxDetails?: {
3075
- taxableAmount?: {
3076
- amount: string;
3077
- convertedAmount: string;
3078
- formattedAmount: string;
3079
- formattedConvertedAmount: string;
3080
- };
3081
- taxRate: string;
3082
- totalTax?: {
3083
- amount: string;
3084
- convertedAmount: string;
3085
- formattedAmount: string;
3086
- formattedConvertedAmount: string;
3087
- };
3088
- rateBreakdown: {
3089
- name: string;
3090
- rate: string;
3091
- tax?: {
3092
- amount: string;
3093
- convertedAmount: string;
3094
- formattedAmount: string;
3095
- formattedConvertedAmount: string;
3096
- };
3097
- exemptAmount?: {
3098
- amount: string;
3099
- convertedAmount: string;
3100
- formattedAmount: string;
3101
- formattedConvertedAmount: string;
3102
- };
3103
- exemptionIds: number[];
3104
- taxableAmount?: {
3105
- amount: string;
3106
- convertedAmount: string;
3107
- formattedAmount: string;
3108
- formattedConvertedAmount: string;
3109
- };
3110
- }[];
3111
- exemptAmount?: {
3112
- amount: string;
3113
- convertedAmount: string;
3114
- formattedAmount: string;
3115
- formattedConvertedAmount: string;
3116
- };
3117
- taxBreakdown: {
3118
- nonTaxableAmount?: {
3119
- amount: string;
3120
- convertedAmount: string;
3121
- formattedAmount: string;
3122
- formattedConvertedAmount: string;
3123
- };
3124
- taxAmount?: {
3125
- amount: string;
3126
- convertedAmount: string;
3127
- formattedAmount: string;
3128
- formattedConvertedAmount: string;
3129
- };
3130
- taxableAmount?: {
3131
- amount: string;
3132
- convertedAmount: string;
3133
- formattedAmount: string;
3134
- formattedConvertedAmount: string;
3135
- };
3136
- jurisdictionType: JurisdictionType;
3137
- }[];
3138
- };
3139
- totalDiscount?: {
3140
- amount: string;
3141
- convertedAmount: string;
3142
- formattedAmount: string;
3143
- formattedConvertedAmount: string;
3144
- };
3145
- price?: {
3146
- amount: string;
3147
- convertedAmount: string;
3148
- formattedAmount: string;
3149
- formattedConvertedAmount: string;
3150
- };
3151
- };
3152
- }[];
3153
- };
3154
- carrierServiceOptions: {
3155
- carrierId: string;
3156
- shippingOptions: {
3157
- code: string;
3158
- title: string;
3159
- logistics?: {
3160
- pickupDetails?: {
3161
- address?: {
3162
- streetAddress?: {
3163
- number: string;
3164
- name: string;
3165
- apt: string;
3166
- };
3167
- };
3168
- businessLocation: boolean;
3169
- pickupMethod: PickupMethod;
3170
- };
3171
- };
3172
- cost?: {
3173
- price?: {
3174
- amount: string;
3175
- convertedAmount: string;
3176
- formattedAmount: string;
3177
- formattedConvertedAmount: string;
3178
- };
3179
- otherCharges: {
3180
- type: ChargeType;
3181
- price?: {
3182
- amount: string;
3183
- convertedAmount: string;
3184
- formattedAmount: string;
3185
- formattedConvertedAmount: string;
3186
- };
3187
- }[];
3188
- };
3189
- }[];
3190
- }[];
3191
- };
3192
- appliedDiscounts: {
3193
- coupon?: {
3194
- id: string;
3195
- code: string;
3196
- amount?: {
3197
- amount: string;
3198
- convertedAmount: string;
3199
- formattedAmount: string;
3200
- formattedConvertedAmount: string;
3201
- };
3202
- name: string;
3203
- couponType: string;
3204
- };
3205
- merchantDiscount?: {
3206
- amount?: {
3207
- amount: string;
3208
- convertedAmount: string;
3209
- formattedAmount: string;
3210
- formattedConvertedAmount: string;
3211
- };
3212
- };
3213
- discountRule?: {
3214
- id: string;
3215
- name?: {
3216
- original: string;
3217
- };
3218
- amount?: {
3219
- amount: string;
3220
- convertedAmount: string;
3221
- formattedAmount: string;
3222
- formattedConvertedAmount: string;
3223
- };
3224
- };
3225
- discountType: DiscountType;
3226
- lineItemIds: string[];
3227
- lineItemDiscounts: {
3228
- id: string;
3229
- totalDiscountAmount?: {
3230
- amount: string;
3231
- convertedAmount: string;
3232
- formattedAmount: string;
3233
- formattedConvertedAmount: string;
3234
- };
3235
- }[];
3236
- }[];
3237
- calculationErrors?: {
3238
- generalShippingCalculationError?: {
3239
- applicationError?: {
3240
- code: string;
3241
- description: string;
3242
- };
3243
- validationError?: {
3244
- fieldViolations: {
3245
- field: string;
3246
- description: string;
3247
- violatedRule: RuleType;
3248
- }[];
3249
- };
3250
- };
3251
- carrierErrors?: {
3252
- errors: {
3253
- carrierId: string;
3254
- error?: {
3255
- applicationError?: {
3256
- code: string;
3257
- description: string;
3258
- };
3259
- validationError?: {
3260
- fieldViolations: {
3261
- field: string;
3262
- description: string;
3263
- violatedRule: RuleType;
3264
- }[];
3265
- };
3266
- };
3267
- }[];
3268
- };
3269
- taxCalculationError?: {
3270
- applicationError?: {
3271
- code: string;
3272
- description: string;
3273
- };
3274
- validationError?: {
3275
- fieldViolations: {
3276
- field: string;
3277
- description: string;
3278
- violatedRule: RuleType;
3279
- }[];
3280
- };
3281
- };
3282
- couponCalculationError?: {
3283
- applicationError?: {
3284
- code: string;
3285
- description: string;
3286
- };
3287
- validationError?: {
3288
- fieldViolations: {
3289
- field: string;
3290
- description: string;
3291
- violatedRule: RuleType;
3292
- }[];
3293
- };
3294
- };
3295
- giftCardCalculationError?: {
3296
- applicationError?: {
3297
- code: string;
3298
- description: string;
3299
- };
3300
- validationError?: {
3301
- fieldViolations: {
3302
- field: string;
3303
- description: string;
3304
- violatedRule: RuleType;
3305
- }[];
3306
- };
3307
- };
3308
- orderValidationErrors: {
3309
- code: string;
3310
- description: string;
3311
- }[];
3312
- membershipError?: {
3313
- applicationError?: {
3314
- code: string;
3315
- description: string;
3316
- };
3317
- validationError?: {
3318
- fieldViolations: {
3319
- field: string;
3320
- description: string;
3321
- violatedRule: RuleType;
3322
- }[];
3323
- };
3324
- };
3325
- discountsCalculationError?: {
3326
- applicationError?: {
3327
- code: string;
3328
- description: string;
3329
- };
3330
- validationError?: {
3331
- fieldViolations: {
3332
- field: string;
3333
- description: string;
3334
- violatedRule: RuleType;
3335
- }[];
3336
- };
3337
- };
3338
- };
3339
- weightUnit: WeightUnit;
3340
- currency: string;
3341
- payNow?: {
3342
- subtotal?: {
3343
- amount: string;
3344
- convertedAmount: string;
3345
- formattedAmount: string;
3346
- formattedConvertedAmount: string;
3347
- };
3348
- shipping?: {
3349
- amount: string;
3350
- convertedAmount: string;
3351
- formattedAmount: string;
3352
- formattedConvertedAmount: string;
3353
- };
3354
- tax?: {
3355
- amount: string;
3356
- convertedAmount: string;
3357
- formattedAmount: string;
3358
- formattedConvertedAmount: string;
3359
- };
3360
- discount?: {
3361
- amount: string;
3362
- convertedAmount: string;
3363
- formattedAmount: string;
3364
- formattedConvertedAmount: string;
3365
- };
3366
- total?: {
3367
- amount: string;
3368
- convertedAmount: string;
3369
- formattedAmount: string;
3370
- formattedConvertedAmount: string;
3371
- };
3372
- additionalFees?: {
3373
- amount: string;
3374
- convertedAmount: string;
3375
- formattedAmount: string;
3376
- formattedConvertedAmount: string;
3377
- };
3378
- };
3379
- payLater?: {
3380
- subtotal?: {
3381
- amount: string;
3382
- convertedAmount: string;
3383
- formattedAmount: string;
3384
- formattedConvertedAmount: string;
3385
- };
3386
- shipping?: {
3387
- amount: string;
3388
- convertedAmount: string;
3389
- formattedAmount: string;
3390
- formattedConvertedAmount: string;
3391
- };
3392
- tax?: {
3393
- amount: string;
3394
- convertedAmount: string;
3395
- formattedAmount: string;
3396
- formattedConvertedAmount: string;
3397
- };
3398
- discount?: {
3399
- amount: string;
3400
- convertedAmount: string;
3401
- formattedAmount: string;
3402
- formattedConvertedAmount: string;
3403
- };
3404
- total?: {
3405
- amount: string;
3406
- convertedAmount: string;
3407
- formattedAmount: string;
3408
- formattedConvertedAmount: string;
3409
- };
3410
- additionalFees?: {
3411
- amount: string;
3412
- convertedAmount: string;
3413
- formattedAmount: string;
3414
- formattedConvertedAmount: string;
3415
- };
3416
- };
3417
- membershipOptions?: {
3418
- eligibleMemberships: {
3419
- id: string;
3420
- appId: string;
3421
- name?: {
3422
- original: string;
3423
- };
3424
- lineItemIds: string[];
3425
- credits?: {
3426
- total: number;
3427
- remaining: number;
3428
- };
3429
- }[];
3430
- invalidMemberships: {
3431
- membership?: {
3432
- id: string;
3433
- appId: string;
3434
- name?: {
3435
- original: string;
3436
- };
3437
- lineItemIds: string[];
3438
- credits?: {
3439
- total: number;
3440
- remaining: number;
3441
- };
3442
- };
3443
- reason: string;
3444
- }[];
3445
- selectedMemberships: {
3446
- id: string;
3447
- appId: string;
3448
- lineItemIds: string[];
3449
- }[];
3450
- };
3451
- additionalFees: {
3452
- name: string;
3453
- price?: {
3454
- amount: string;
3455
- convertedAmount: string;
3456
- formattedAmount: string;
3457
- formattedConvertedAmount: string;
3458
- };
3459
- taxDetails?: {
3460
- taxableAmount?: {
3461
- amount: string;
3462
- convertedAmount: string;
3463
- formattedAmount: string;
3464
- formattedConvertedAmount: string;
3465
- };
3466
- taxRate: string;
3467
- totalTax?: {
3468
- amount: string;
3469
- convertedAmount: string;
3470
- formattedAmount: string;
3471
- formattedConvertedAmount: string;
3472
- };
3473
- rateBreakdown: {
3474
- name: string;
3475
- rate: string;
3476
- tax?: {
3477
- amount: string;
3478
- convertedAmount: string;
3479
- formattedAmount: string;
3480
- formattedConvertedAmount: string;
3481
- };
3482
- exemptAmount?: {
3483
- amount: string;
3484
- convertedAmount: string;
3485
- formattedAmount: string;
3486
- formattedConvertedAmount: string;
3487
- };
3488
- exemptionIds: number[];
3489
- taxableAmount?: {
3490
- amount: string;
3491
- convertedAmount: string;
3492
- formattedAmount: string;
3493
- formattedConvertedAmount: string;
3494
- };
3495
- }[];
3496
- exemptAmount?: {
3497
- amount: string;
3498
- convertedAmount: string;
3499
- formattedAmount: string;
3500
- formattedConvertedAmount: string;
3501
- };
3502
- taxBreakdown: {
3503
- nonTaxableAmount?: {
3504
- amount: string;
3505
- convertedAmount: string;
3506
- formattedAmount: string;
3507
- formattedConvertedAmount: string;
3508
- };
3509
- taxAmount?: {
3510
- amount: string;
3511
- convertedAmount: string;
3512
- formattedAmount: string;
3513
- formattedConvertedAmount: string;
3514
- };
3515
- taxableAmount?: {
3516
- amount: string;
3517
- convertedAmount: string;
3518
- formattedAmount: string;
3519
- formattedConvertedAmount: string;
3520
- };
3521
- jurisdictionType: JurisdictionType;
3522
- }[];
3523
- };
3524
- priceBeforeTax?: {
3525
- amount: string;
3526
- convertedAmount: string;
3527
- formattedAmount: string;
3528
- formattedConvertedAmount: string;
3529
- };
3530
- lineItemIds: string[];
3531
- }[];
3532
- violations: {
3533
- severity: Severity;
3534
- target?: {
3535
- other?: {
3536
- name: NameInOther;
3537
- };
3538
- lineItem?: {
3539
- name: NameInLineItem;
3540
- };
3541
- };
3542
- }[];
3543
- }
3544
- export interface CreateCartResponseNonNullableFields {
3545
- cart?: {
3546
- lineItems: {
3547
- quantity: number;
3548
- catalogReference?: {
3549
- catalogItemId: string;
3550
- appId: string;
3551
- };
3552
- productName?: {
3553
- original: string;
3554
- };
3555
- url?: {
3556
- relativePath: string;
3557
- };
3558
- price?: {
3559
- amount: string;
3560
- convertedAmount: string;
3561
- formattedAmount: string;
3562
- formattedConvertedAmount: string;
3563
- };
3564
- fullPrice?: {
3565
- amount: string;
3566
- convertedAmount: string;
3567
- formattedAmount: string;
3568
- formattedConvertedAmount: string;
3569
- };
3570
- priceBeforeDiscounts?: {
3571
- amount: string;
3572
- convertedAmount: string;
3573
- formattedAmount: string;
3574
- formattedConvertedAmount: string;
3575
- };
3576
- descriptionLines: {
3577
- plainText?: {
3578
- original: string;
3579
- };
3580
- colorInfo?: {
3581
- original: string;
3582
- };
3583
- plainTextValue?: {
3584
- original: string;
3585
- };
3586
- color: string;
3587
- name?: {
3588
- original: string;
3589
- };
3590
- lineType: DescriptionLineType;
3591
- }[];
3592
- image?: {
3593
- id: string;
3594
- url: string;
3595
- height: number;
3596
- width: number;
3597
- };
3598
- availability?: {
3599
- status: ItemAvailabilityStatus;
3600
- };
3601
- physicalProperties?: {
3602
- shippable: boolean;
3603
- };
3604
- couponScopes: {
3605
- namespace: string;
3606
- group?: {
3607
- name: string;
3608
- };
3609
- }[];
3610
- itemType?: {
3611
- preset: ItemTypeItemType;
3612
- custom: string;
3613
- };
3614
- subscriptionOptionInfo?: {
3615
- subscriptionSettings?: {
3616
- frequency: SubscriptionFrequency;
3617
- autoRenewal: boolean;
3618
- };
3619
- title?: {
3620
- original: string;
3621
- };
3622
- description?: {
3623
- original: string;
3624
- };
3625
- };
3626
- digitalFile?: {
3627
- id: string;
3628
- fileName: string;
3629
- fileType: FileType;
3630
- };
3631
- paymentOption: PaymentOptionType;
3632
- priceDescription?: {
3633
- original: string;
3634
- };
3635
- depositAmount?: {
3636
- amount: string;
3637
- convertedAmount: string;
3638
- formattedAmount: string;
3639
- formattedConvertedAmount: string;
3640
- };
3641
- selectedMembership?: {
3642
- id: string;
3643
- appId: string;
3644
- };
3645
- customLineItem: boolean;
3646
- }[];
3647
- buyerInfo?: {
3648
- visitorId: string;
3649
- memberId: string;
3650
- userId: string;
3651
- };
3652
- currency: string;
3653
- conversionCurrency: string;
3654
- weightUnit: WeightUnit;
3655
- subtotal?: {
3656
- amount: string;
3657
- convertedAmount: string;
3658
- formattedAmount: string;
3659
- formattedConvertedAmount: string;
3660
- };
3661
- appliedDiscounts: {
3662
- coupon?: {
3663
- id: string;
3664
- code: string;
3665
- };
3666
- merchantDiscount?: {
3667
- amount?: {
3668
- amount: string;
3669
- convertedAmount: string;
3670
- formattedAmount: string;
3671
- formattedConvertedAmount: string;
3672
- };
3673
- };
3674
- }[];
3675
- contactInfo?: {
3676
- address?: {
3677
- streetAddress?: {
3678
- number: string;
3679
- name: string;
3680
- apt: string;
3681
- };
3682
- };
3683
- contactDetails?: {
3684
- vatId?: {
3685
- id: string;
3686
- type: VatType;
3687
- };
3688
- };
3689
- };
3690
- selectedShippingOption?: {
3691
- code: string;
3692
- };
3693
- };
3694
- }
3695
- export interface GetCartResponseNonNullableFields {
3696
- cart?: {
3697
- lineItems: {
3698
- quantity: number;
3699
- catalogReference?: {
3700
- catalogItemId: string;
3701
- appId: string;
3702
- };
3703
- productName?: {
3704
- original: string;
3705
- };
3706
- url?: {
3707
- relativePath: string;
3708
- };
3709
- price?: {
3710
- amount: string;
3711
- convertedAmount: string;
3712
- formattedAmount: string;
3713
- formattedConvertedAmount: string;
3714
- };
3715
- fullPrice?: {
3716
- amount: string;
3717
- convertedAmount: string;
3718
- formattedAmount: string;
3719
- formattedConvertedAmount: string;
3720
- };
3721
- priceBeforeDiscounts?: {
3722
- amount: string;
3723
- convertedAmount: string;
3724
- formattedAmount: string;
3725
- formattedConvertedAmount: string;
3726
- };
3727
- descriptionLines: {
3728
- plainText?: {
3729
- original: string;
3730
- };
3731
- colorInfo?: {
3732
- original: string;
3733
- };
3734
- plainTextValue?: {
3735
- original: string;
3736
- };
3737
- color: string;
3738
- name?: {
3739
- original: string;
3740
- };
3741
- lineType: DescriptionLineType;
3742
- }[];
3743
- image?: {
3744
- id: string;
3745
- url: string;
3746
- height: number;
3747
- width: number;
3748
- };
3749
- availability?: {
3750
- status: ItemAvailabilityStatus;
3751
- };
3752
- physicalProperties?: {
3753
- shippable: boolean;
3754
- };
3755
- couponScopes: {
3756
- namespace: string;
3757
- group?: {
3758
- name: string;
3759
- };
3760
- }[];
3761
- itemType?: {
3762
- preset: ItemTypeItemType;
3763
- custom: string;
3764
- };
3765
- subscriptionOptionInfo?: {
3766
- subscriptionSettings?: {
3767
- frequency: SubscriptionFrequency;
3768
- autoRenewal: boolean;
3769
- };
3770
- title?: {
3771
- original: string;
3772
- };
3773
- description?: {
3774
- original: string;
3775
- };
3776
- };
3777
- digitalFile?: {
3778
- id: string;
3779
- fileName: string;
3780
- fileType: FileType;
3781
- };
3782
- paymentOption: PaymentOptionType;
3783
- priceDescription?: {
3784
- original: string;
3785
- };
3786
- depositAmount?: {
3787
- amount: string;
3788
- convertedAmount: string;
3789
- formattedAmount: string;
3790
- formattedConvertedAmount: string;
3791
- };
3792
- selectedMembership?: {
3793
- id: string;
3794
- appId: string;
3795
- };
3796
- customLineItem: boolean;
3797
- }[];
3798
- buyerInfo?: {
3799
- visitorId: string;
3800
- memberId: string;
3801
- userId: string;
3802
- };
3803
- currency: string;
3804
- conversionCurrency: string;
3805
- weightUnit: WeightUnit;
3806
- subtotal?: {
3807
- amount: string;
3808
- convertedAmount: string;
3809
- formattedAmount: string;
3810
- formattedConvertedAmount: string;
3811
- };
3812
- appliedDiscounts: {
3813
- coupon?: {
3814
- id: string;
3815
- code: string;
3816
- };
3817
- merchantDiscount?: {
3818
- amount?: {
3819
- amount: string;
3820
- convertedAmount: string;
3821
- formattedAmount: string;
3822
- formattedConvertedAmount: string;
3823
- };
3824
- };
3825
- }[];
3826
- contactInfo?: {
3827
- address?: {
3828
- streetAddress?: {
3829
- number: string;
3830
- name: string;
3831
- apt: string;
3832
- };
3833
- };
3834
- contactDetails?: {
3835
- vatId?: {
3836
- id: string;
3837
- type: VatType;
3838
- };
3839
- };
3840
- };
3841
- selectedShippingOption?: {
3842
- code: string;
3843
- };
3844
- };
3845
- }