@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,3052 +0,0 @@
1
- /** DraftOrder is the main entity of DraftOrders service. It represents a single edit order. */
2
- export interface DraftOrder {
3
- /** Order's edit ID */
4
- id?: string | null;
5
- /** Order ID which this order's edit is related to */
6
- orderId?: string | null;
7
- /** Line items edit details */
8
- lineItems?: ItemDetails[];
9
- /** Shipping edit details */
10
- shippingInfo?: ShippingDetails;
11
- /** Buyer information. */
12
- buyerInfo?: BuyerInfo;
13
- /** Billing address and contact details. */
14
- billingInfo?: AddressWithContact;
15
- /** Additional fees edit details */
16
- additionalFees?: AdditionalFeeDetails[];
17
- /** Discounts edit details */
18
- discounts?: DiscountDetails[];
19
- /** Date and time the draft order was created. in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
20
- createdDate?: Date;
21
- /** Date and time the edit order was last updated. in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
22
- updatedDate?: Date;
23
- /** ID of the edit order's initiator. */
24
- createdBy?: CreatedBy;
25
- /** Draft order status. */
26
- status?: EditingStatus;
27
- /** Weight measurement unit - defaults to site's weight unit. */
28
- weightUnit?: WeightUnit;
29
- /** Currency used for the pricing of this order in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format. */
30
- currency?: string | null;
31
- /**
32
- * --------------------------------------------------
33
- * Order price summary.
34
- */
35
- priceSummary?: PriceSummary;
36
- /** Tax summary. */
37
- taxSummary?: TaxSummary;
38
- /** Order balance summary. */
39
- balanceSummary?: BalanceSummary;
40
- /** Side effects requested on commit. */
41
- commitSettings?: DraftOrderCommitSettings;
42
- /** Member ID (if order created by a member). */
43
- memberId?: string | null;
44
- /** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
45
- purchaseFlowId?: string | null;
46
- }
47
- export interface ItemDetails extends ItemDetailsChangeTypeOneOf {
48
- /** The line item was added. */
49
- added?: boolean;
50
- /** The line item was modified. */
51
- changedDetails?: ItemChangedDetails;
52
- /** The line item was added. */
53
- removed?: boolean;
54
- /** Updated line item */
55
- lineItem?: OrderLineItem;
56
- }
57
- /** @oneof */
58
- export interface ItemDetailsChangeTypeOneOf {
59
- /** The line item was added. */
60
- added?: boolean;
61
- /** The line item was modified. */
62
- changedDetails?: ItemChangedDetails;
63
- /** The line item was added. */
64
- removed?: boolean;
65
- }
66
- export interface Price {
67
- /** Amount. */
68
- amount?: string;
69
- /**
70
- * Amount formatted with currency symbol.
71
- * @readonly
72
- */
73
- formattedAmount?: string;
74
- }
75
- export interface PriceDescription {
76
- /** *Required.** Original price description in site's default language. */
77
- original?: string;
78
- /** Translated price description according to buyer language. Defaults to `original` when not provided. */
79
- translated?: string | null;
80
- }
81
- export interface OrderLineItem {
82
- /** Line item ID. */
83
- id?: string;
84
- /**
85
- * Item name.
86
- * + Stores - `product.name`
87
- * + Bookings - `service.info.name`
88
- * + Events - `ticket.name`
89
- */
90
- productName?: ProductName;
91
- /**
92
- * References to the line item's origin catalog.
93
- * This field is empty in the case of a custom line item.
94
- */
95
- catalogReference?: CatalogReference;
96
- /** Line item quantity. */
97
- quantity?: number;
98
- /**
99
- * Total discount for this line item's entire quantity.
100
- * @readonly
101
- */
102
- totalDiscount?: Price;
103
- /** Line item description lines. Used for display purposes for the cart, checkout and order. */
104
- descriptionLines?: DescriptionLine[];
105
- /** Line item image. */
106
- image?: Image;
107
- /** Physical properties of the item. When relevant, contains information such as SKU and item weight. */
108
- physicalProperties?: PhysicalProperties;
109
- /** Item type. Either a preset type or custom. */
110
- itemType?: ItemType;
111
- /**
112
- * Fulfiller ID. Field is empty when the line item is self-fulfilled.
113
- * To get fulfillment information, pass the order ID to [List Fulfillments For Single Order](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/order-fulfillments/list-fulfillments-for-single-order).
114
- */
115
- fulfillerId?: string | null;
116
- /**
117
- * quantity of inventory requested to be returned. Whether to restock or ignore the request is up the vertical.
118
- * @readonly
119
- */
120
- restockQuantity?: number | null;
121
- /** Line item price after line item discounts for display purposes. */
122
- price?: Price;
123
- /**
124
- * Line item price before line item discounts for display purposes. Defaults to `price` when not provided.
125
- * @readonly
126
- */
127
- priceBeforeDiscounts?: Price;
128
- /**
129
- * Deprecated - use `total_price_after_tax` minus `tax_details.total_tax` instead.
130
- * @readonly
131
- */
132
- totalPriceBeforeTax?: Price;
133
- /**
134
- * Total price after all discounts and tax.
135
- * @readonly
136
- */
137
- totalPriceAfterTax?: Price;
138
- /**
139
- * Type of selected payment option for current item. Defaults to `FULL_PAYMENT_ONLINE`.
140
- * + `FULL_PAYMENT_ONLINE` - The entire payment for this item happens as part of the checkout.
141
- * + `FULL_PAYMENT_OFFLINE` - The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
142
- * + `MEMBERSHIP` - Payment for this item is done by charging a membership. When this option is used, `lineItem.price.amount` is 0.
143
- * + `DEPOSIT_ONLINE` - Partial payment for the given item to be paid upfront during the checkout. Eligible for catalog items with type `DEPOSIT_ONLINE` only.
144
- */
145
- paymentOption?: PaymentOptionType;
146
- /** Tax details for this line item. */
147
- taxDetails?: ItemTaxFullDetails;
148
- /** Subscription info. */
149
- subscriptionInfo?: SubscriptionInfo;
150
- /** Additional description for the price. For example, when price is 0 but additional details about the actual price are needed - "Starts at $67". */
151
- priceDescription?: PriceDescription;
152
- /**
153
- * Item's price amount to be charged during checkout, relevant for items with payment option DEPOSIT_ONLINE
154
- * @readonly
155
- */
156
- depositAmount?: Price;
157
- }
158
- export interface ProductName {
159
- /**
160
- * __Required.__ Original item name in site's default language.
161
- * Min: 1 character
162
- * Max: 200 characters
163
- */
164
- original?: string;
165
- /**
166
- * Optional. Translated item name according to buyer language. Defaults to `original` when not provided.
167
- * Min: 1 character
168
- * Max: 400 characters
169
- */
170
- translated?: string | null;
171
- }
172
- /** Used for grouping line items and is sent on add to cart */
173
- export interface CatalogReference {
174
- /** ID of the item within its Wix or 3rd-party catalog. For example, `productId` for Wix Stores or `bookingId` for Wix Bookings. */
175
- catalogItemId?: string;
176
- /**
177
- * ID of the app providing the catalog. For items from Wix apps, the following values always apply:
178
- * + Wix Stores: `"215238eb-22a5-4c36-9e7b-e7c08025e04e"`
179
- * + Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`
180
- */
181
- appId?: string;
182
- /**
183
- * Additional info in key:value pairs. For example, to specify Wix Stores product options or variants:
184
- * + `{"options": {"options": {"Size": "M", "Color": "Red"}}}`
185
- * + `{"options": {"variantId": "<VARIANT_ID>"}}`
186
- */
187
- options?: Record<string, any> | null;
188
- }
189
- export interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDescriptionLineValueOneOf {
190
- /** Description line plain text value. */
191
- plainText?: PlainTextValue;
192
- /** Description line color value. */
193
- colorInfo?: Color;
194
- /** Description line name. */
195
- name?: DescriptionLineName;
196
- }
197
- /** @oneof */
198
- export interface DescriptionLineValueOneOf {
199
- /** Description line plain text value. */
200
- plainText?: PlainTextValue;
201
- /** Description line color value. */
202
- colorInfo?: Color;
203
- }
204
- /** @oneof */
205
- export interface DescriptionLineDescriptionLineValueOneOf {
206
- }
207
- export interface DescriptionLineName {
208
- /** Description line name in site's default language. */
209
- original?: string;
210
- /** Translated description line item according to buyer language. Defaults to `original` when not provided. */
211
- translated?: string | null;
212
- }
213
- export interface PlainTextValue {
214
- /** Description line plain text value in site's default language. */
215
- original?: string;
216
- /** Translated description line plain text value according to buyer language. Defaults to `original` when not provided. */
217
- translated?: string | null;
218
- }
219
- export interface Color {
220
- /** Description line color name in site's default language. */
221
- original?: string;
222
- /** Translated description line color name according to buyer language. Defaults to `original` when not provided. */
223
- translated?: string | null;
224
- /** HEX or RGB color code for display. */
225
- code?: string | null;
226
- }
227
- export declare enum DescriptionLineType {
228
- UNRECOGNISED = "UNRECOGNISED",
229
- PLAIN_TEXT = "PLAIN_TEXT",
230
- COLOR = "COLOR"
231
- }
232
- export interface Image {
233
- /** WixMedia image ID. */
234
- id?: string;
235
- /** Image URL. */
236
- url?: string;
237
- /**
238
- * Original image height.
239
- * @readonly
240
- */
241
- height?: number;
242
- /**
243
- * Original image width.
244
- * @readonly
245
- */
246
- width?: number;
247
- /** Image alt text. */
248
- altText?: string | null;
249
- /**
250
- * Image filename.
251
- * @readonly
252
- */
253
- filename?: string | null;
254
- }
255
- export interface PhysicalProperties {
256
- /** Line item weight. Measurement unit (KG or LB) is taken from `order.weightUnit`. */
257
- weight?: number | null;
258
- /** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
259
- sku?: string | null;
260
- /** Whether this line item is shippable. */
261
- shippable?: boolean;
262
- }
263
- export interface ItemType extends ItemTypeItemTypeDataOneOf {
264
- /** Preset item type. */
265
- preset?: ItemTypeItemType;
266
- /** Custom item type. */
267
- custom?: string;
268
- }
269
- /** @oneof */
270
- export interface ItemTypeItemTypeDataOneOf {
271
- /** Preset item type. */
272
- preset?: ItemTypeItemType;
273
- /** Custom item type. */
274
- custom?: string;
275
- }
276
- export declare enum ItemTypeItemType {
277
- UNRECOGNISED = "UNRECOGNISED",
278
- PHYSICAL = "PHYSICAL",
279
- DIGITAL = "DIGITAL",
280
- GIFT_CARD = "GIFT_CARD",
281
- SERVICE = "SERVICE"
282
- }
283
- /** Type of selected payment option for catalog item */
284
- export declare enum PaymentOptionType {
285
- /** The entire payment for given item will happen as part of the checkout. */
286
- FULL_PAYMENT_ONLINE = "FULL_PAYMENT_ONLINE",
287
- /** The entire payment for given item will happen after the checkout. */
288
- FULL_PAYMENT_OFFLINE = "FULL_PAYMENT_OFFLINE",
289
- /** Given item cannot be paid via monetary payment options, only via membership. When this option is used, price will always be 0. */
290
- MEMBERSHIP = "MEMBERSHIP",
291
- /**
292
- * Partial payment for the given item to be paid upfront during the checkout.
293
- * Amount to be paid is defined by `deposit_amount` field on per-item basis.
294
- */
295
- DEPOSIT_ONLINE = "DEPOSIT_ONLINE",
296
- /**
297
- * Payment for this item can only be done using a membership and must be manually redeemed in the dashboard by the site owner.
298
- * Note: when this option is used, price will be 0.
299
- */
300
- MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
301
- }
302
- export interface ItemTaxFullDetails {
303
- /** Taxable amount of this line item. */
304
- taxableAmount?: Price;
305
- /** Tax rate percentage, as a decimal numeral between 0 and 1. For example, `"0.13"`. */
306
- taxRate?: string;
307
- /** The calculated tax, based on the `taxableAmount` and `taxRate`. */
308
- totalTax?: Price;
309
- }
310
- export interface DigitalFile {
311
- /** ID of the secure file in media. */
312
- fileId?: string;
313
- /** Link will exist after the digital links have been generated on the order. */
314
- link?: string | null;
315
- /**
316
- * Link expiration time and date.
317
- * @readonly
318
- */
319
- expirationDate?: Date;
320
- }
321
- export interface SubscriptionInfo {
322
- /** Subscription ID. */
323
- id?: string | null;
324
- /** Subscription cycle. For example, if this order is for the 3rd cycle of a subscription, value will be `3`. */
325
- cycleNumber?: number;
326
- /** Subscription option title. For example, `"Monthly coffee Subscription"`. */
327
- subscriptionOptionTitle?: string;
328
- /** Subscription option description. For example, `"1kg of selected coffee, once a month"`. */
329
- subscriptionOptionDescription?: string | null;
330
- /** Subscription detailed information. */
331
- subscriptionSettings?: SubscriptionSettings;
332
- }
333
- export interface SubscriptionSettings {
334
- /** Frequency of recurring payment. */
335
- frequency?: SubscriptionFrequency;
336
- /** Whether subscription is renewed automatically at the end of each period. */
337
- autoRenewal?: boolean;
338
- /** Number of billing cycles before subscription ends. Ignored if `autoRenewal: true`. */
339
- billingCycles?: number | null;
340
- }
341
- /** Frequency unit of recurring payment */
342
- export declare enum SubscriptionFrequency {
343
- UNDEFINED = "UNDEFINED",
344
- DAY = "DAY",
345
- WEEK = "WEEK",
346
- MONTH = "MONTH",
347
- YEAR = "YEAR"
348
- }
349
- export interface LocationAndQuantity {
350
- /** Location id in the associated owner app. */
351
- id?: string;
352
- /** Location owner app, if not provided then the site business info locations will be used. */
353
- appId?: string | null;
354
- /** Quantity for specific location. */
355
- quantity?: number;
356
- }
357
- export interface ItemChangedDetails {
358
- /** The quantity before the change. */
359
- quantityBeforeChange?: number | null;
360
- /** The price before the change. */
361
- priceBeforeChange?: Price;
362
- /** The price description before the change */
363
- priceDescriptionBeforeChange?: PriceDescription;
364
- }
365
- export interface ShippingDetails extends ShippingDetailsChangeTypeOneOf {
366
- /** Was the shipping information added. */
367
- added?: boolean;
368
- /** Shipping details before the edit */
369
- changedDetails?: ShippingChangedDetails;
370
- /** Was the shipping information removed. */
371
- removed?: boolean;
372
- /** Selected Shipping details. */
373
- shippingInfo?: ShippingInformation;
374
- }
375
- /** @oneof */
376
- export interface ShippingDetailsChangeTypeOneOf {
377
- /** Was the shipping information added. */
378
- added?: boolean;
379
- /** Shipping details before the edit */
380
- changedDetails?: ShippingChangedDetails;
381
- /** Was the shipping information removed. */
382
- removed?: boolean;
383
- }
384
- export interface ShippingInformation {
385
- /** App Def Id of external provider which was a source of shipping info */
386
- carrierId?: string | null;
387
- /** Unique code (or ID) of selected shipping option. For example, `"usps_std_overnight"``. */
388
- code?: string | null;
389
- /**
390
- * Shipping option title.
391
- * For example, `"USPS Standard Overnight Delivery"`, `"Standard"` or `"First-Class Package International"`.
392
- */
393
- title?: string;
394
- /** Shipping logistics. */
395
- logistics?: V1DeliveryLogistics;
396
- /** Shipping costs. */
397
- cost?: V1ShippingPrice;
398
- /** Shipping region. */
399
- region?: ShippingRegion;
400
- }
401
- export interface V1DeliveryLogistics extends V1DeliveryLogisticsAddressOneOf {
402
- /** Shipping address and contact details. */
403
- shippingDestination?: AddressWithContact;
404
- /** Pickup details. */
405
- pickupDetails?: V1PickupDetails;
406
- /** Expected delivery time in free text. For example, `"3-5 business days"`. */
407
- deliveryTime?: string | null;
408
- /** Instructions for carrier. For example, `"Please knock on the door. If unanswered, please call contact number. Thanks."`. */
409
- instructions?: string | null;
410
- /** Deprecated - Latest expected delivery date and time in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
411
- deliverByDate?: Date;
412
- /** Expected delivery time. */
413
- deliveryTimeSlot?: V1DeliveryTimeSlot;
414
- }
415
- /** @oneof */
416
- export interface V1DeliveryLogisticsAddressOneOf {
417
- /** Shipping address and contact details. */
418
- shippingDestination?: AddressWithContact;
419
- /** Pickup details. */
420
- pickupDetails?: V1PickupDetails;
421
- }
422
- /** Billing Info and shipping details */
423
- export interface AddressWithContact {
424
- /** Address. */
425
- address?: Address;
426
- /** Contact details. */
427
- contactDetails?: FullAddressContactDetails;
428
- }
429
- /** Physical address */
430
- export interface Address {
431
- /** Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format. */
432
- country?: string | null;
433
- /** Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format. */
434
- subdivision?: string | null;
435
- /** City name. */
436
- city?: string | null;
437
- /** Postal or zip code. */
438
- postalCode?: string | null;
439
- /** Street address. */
440
- streetAddress?: StreetAddress;
441
- /** Main address line (usually street name and number). */
442
- addressLine?: string | null;
443
- /** Free text providing more detailed address info. Usually contains apt, suite, floor. */
444
- addressLine2?: string | null;
445
- /**
446
- * Country's full name.
447
- * @readonly
448
- */
449
- countryFullname?: string | null;
450
- /**
451
- * Subdivision full-name.
452
- * @readonly
453
- */
454
- subdivisionFullname?: string | null;
455
- }
456
- export interface StreetAddress {
457
- /** Street number. */
458
- number?: string;
459
- /** Street name. */
460
- name?: string;
461
- }
462
- export interface AddressLocation {
463
- /** Address latitude. */
464
- latitude?: number | null;
465
- /** Address longitude. */
466
- longitude?: number | null;
467
- }
468
- /** Full contact details for an address */
469
- export interface FullAddressContactDetails {
470
- /** First name. */
471
- firstName?: string | null;
472
- /** Last name. */
473
- lastName?: string | null;
474
- /** Phone number. */
475
- phone?: string | null;
476
- /** Company name. */
477
- company?: string | null;
478
- /** Tax information (for Brazil only). If ID is provided, `vatId.type` must also be set, `UNSPECIFIED` is not allowed. */
479
- vatId?: VatId;
480
- }
481
- export interface VatId {
482
- /** Customer's tax ID. */
483
- id?: string;
484
- /**
485
- * Tax type.
486
- *
487
- * Supported values:
488
- * + `CPF`: for individual tax payers
489
- * + `CNPJ`: for corporations
490
- */
491
- type?: VatType;
492
- }
493
- /** tax info types */
494
- export declare enum VatType {
495
- UNSPECIFIED = "UNSPECIFIED",
496
- /** CPF - for individual tax payers. */
497
- CPF = "CPF",
498
- /** CNPJ - for corporations */
499
- CNPJ = "CNPJ"
500
- }
501
- export interface V1PickupDetails {
502
- /** Pickup address. */
503
- address?: PickupAddress;
504
- /** Pickup method */
505
- pickupMethod?: PickupDetailsPickupMethod;
506
- }
507
- /** Physical address */
508
- export interface PickupAddress {
509
- /** Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format. */
510
- country?: string | null;
511
- /** Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format. */
512
- subdivision?: string | null;
513
- /** City name. */
514
- city?: string | null;
515
- /** Postal or zip code. */
516
- postalCode?: string | null;
517
- /** Street address object, with number, name, and apartment number in separate fields. */
518
- streetAddress?: StreetAddress;
519
- /** Main address line (usually street name and number). */
520
- addressLine?: string | null;
521
- /** Free text providing more detailed address info. Usually contains apt, suite, floor. */
522
- addressLine2?: string | null;
523
- /**
524
- * Country's full name.
525
- * @readonly
526
- */
527
- countryFullname?: string | null;
528
- /**
529
- * Subdivision full-name.
530
- * @readonly
531
- */
532
- subdivisionFullname?: string | null;
533
- }
534
- export declare enum PickupDetailsPickupMethod {
535
- UNKNOWN_METHOD = "UNKNOWN_METHOD",
536
- STORE_PICKUP = "STORE_PICKUP",
537
- PICKUP_POINT = "PICKUP_POINT"
538
- }
539
- export interface V1DeliveryTimeSlot {
540
- /** Delivery slot starting time. */
541
- from?: Date;
542
- /** Delivery slot ending time. */
543
- to?: Date;
544
- }
545
- export interface V1ShippingPrice {
546
- /** Shipping price for display purposes. */
547
- price?: Price;
548
- /**
549
- * Deprecated - use `total_price_after_tax` minus `tax_details.total_tax` instead.
550
- * @readonly
551
- */
552
- totalPriceBeforeTax?: Price;
553
- /**
554
- * Shipping price after all discounts (if any exist), and after tax.
555
- * @readonly
556
- */
557
- totalPriceAfterTax?: Price;
558
- /** Tax details. */
559
- taxDetails?: ItemTaxFullDetails;
560
- /**
561
- * Shipping discount before tax.
562
- * @readonly
563
- */
564
- discount?: Price;
565
- }
566
- export interface ShippingRegion {
567
- /** Name of shipping region. For example, `"Metropolitan London"`, or `"Outer Melbourne suburbs"`. */
568
- name?: string | null;
569
- }
570
- export interface ShippingChangedDetails {
571
- /** The shipping details before the change. */
572
- shippingInfoBeforeChange?: ShippingInformation;
573
- }
574
- /** Buyer Info */
575
- export interface BuyerInfo extends BuyerInfoIdOneOf {
576
- /** Visitor ID (if site visitor is not a member). */
577
- visitorId?: string;
578
- /** Member ID (if site visitor is a site member). */
579
- memberId?: string;
580
- /** Contact ID. Auto-created if one does not yet exist. For more information, see [Contacts API](https://dev.wix.com/api/rest/contacts/contacts/introduction). */
581
- contactId?: string | null;
582
- /** Buyer email address. */
583
- email?: string | null;
584
- }
585
- /** @oneof */
586
- export interface BuyerInfoIdOneOf {
587
- /** Visitor ID (if site visitor is not a member). */
588
- visitorId?: string;
589
- /** Member ID (if site visitor is a site member). */
590
- memberId?: string;
591
- }
592
- export interface AdditionalFeeDetails {
593
- /** An additional fee which can be applied to the order. */
594
- additionalFee?: AdditionalFee;
595
- /** Tax details for the additional fee */
596
- taxDetails?: TaxDetails;
597
- /** What is the source of this fee. */
598
- source?: SourceType;
599
- /** Was the fee applied to the order. */
600
- applied?: boolean;
601
- }
602
- export interface AdditionalFee {
603
- /** Additional fee's unique code for future processing. */
604
- code?: string | null;
605
- /** Name of additional fee. */
606
- name?: string;
607
- /** Additional fee's price. */
608
- price?: Price;
609
- /** Tax details. */
610
- taxDetails?: ItemTaxFullDetails;
611
- /** SPI implementer's `appId`. */
612
- providerAppId?: string | null;
613
- /** Additional fee's price before tax. */
614
- priceBeforeTax?: Price;
615
- /** Additional fee's id. */
616
- id?: string;
617
- /**
618
- * Optional - Line items associated with this additional fee.
619
- * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
620
- */
621
- lineItemIds?: string[];
622
- }
623
- export interface TaxDetails {
624
- /** Indication if additional fee is taxable or not */
625
- taxable?: boolean;
626
- /** Optional tax group ID to use when calculating tax for this additional fee */
627
- taxGroupId?: string | null;
628
- }
629
- export declare enum SourceType {
630
- /** Part of the original order */
631
- ORIGINAL_ORDER = "ORIGINAL_ORDER",
632
- /** Added by estimate */
633
- AUTOMATIC = "AUTOMATIC",
634
- /** Added manually to current draft order */
635
- CUSTOM = "CUSTOM"
636
- }
637
- export interface DiscountDetails {
638
- /** A discount which can be applied to the order. */
639
- discount?: AppliedDiscount;
640
- /** What is the source of this discount. */
641
- source?: SourceType;
642
- /** Was the discount applied to the order. */
643
- applied?: boolean;
644
- }
645
- export interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
646
- /** Applied coupon info. */
647
- coupon?: Coupon;
648
- /** Merchant discount. */
649
- merchantDiscount?: MerchantDiscount;
650
- /** Automatic Discount */
651
- discountRule?: DiscountRule;
652
- /**
653
- * Discount type.
654
- * * `"GLOBAL"` - discount applies to entire order.
655
- * * `"SPECIFIC-ITEMS"` - discount applies to specific items.
656
- * * `"SHIPPING"` - discount applies to shipping. For example, free shipping.
657
- */
658
- discountType?: AppliedDiscountDiscountType;
659
- /** IDs of line items discount applies to. */
660
- lineItemIds?: string[];
661
- /** Discount id. */
662
- id?: string | null;
663
- }
664
- /** @oneof */
665
- export interface AppliedDiscountDiscountSourceOneOf {
666
- /** Applied coupon info. */
667
- coupon?: Coupon;
668
- /** Merchant discount. */
669
- merchantDiscount?: MerchantDiscount;
670
- /** Automatic Discount */
671
- discountRule?: DiscountRule;
672
- }
673
- export declare enum AppliedDiscountDiscountType {
674
- GLOBAL = "GLOBAL",
675
- SPECIFIC_ITEMS = "SPECIFIC_ITEMS",
676
- SHIPPING = "SHIPPING"
677
- }
678
- /** Coupon */
679
- export interface Coupon {
680
- /** Coupon ID. */
681
- id?: string;
682
- /** Coupon code. */
683
- code?: string;
684
- /** Coupon name. */
685
- name?: string;
686
- /** Coupon value. */
687
- amount?: Price;
688
- }
689
- export interface MerchantDiscount extends MerchantDiscountMerchantDiscountReasonOneOf {
690
- /**
691
- * Pre-defined discount reason (optional).
692
- * * `"ITEMS_EXCHANGE"` - exchange balance acquired as a result of items exchange.
693
- */
694
- discountReason?: DiscountReason;
695
- /** Discount description as free text (optional). */
696
- description?: string | null;
697
- /** Discount amount. */
698
- amount?: Price;
699
- }
700
- /** @oneof */
701
- export interface MerchantDiscountMerchantDiscountReasonOneOf {
702
- /**
703
- * Pre-defined discount reason (optional).
704
- * * `"ITEMS_EXCHANGE"` - exchange balance acquired as a result of items exchange.
705
- */
706
- discountReason?: DiscountReason;
707
- /** Discount description as free text (optional). */
708
- description?: string | null;
709
- }
710
- export declare enum DiscountReason {
711
- UNSPECIFIED = "UNSPECIFIED",
712
- EXCHANGED_ITEMS = "EXCHANGED_ITEMS"
713
- }
714
- export interface DiscountRule {
715
- /** Discount rule ID */
716
- id?: string;
717
- /** Discount rule name */
718
- name?: DiscountRuleName;
719
- /** Discount value. */
720
- amount?: Price;
721
- }
722
- export interface DiscountRuleName {
723
- /** Original discount rule name (in site's default language). */
724
- original?: string;
725
- /** Translated discount rule name according to buyer language. Defaults to `original` when not provided. */
726
- translated?: string | null;
727
- }
728
- export interface CreatedBy extends CreatedByStringOneOf {
729
- /** User ID - when the edit order was created by a Wix user */
730
- userId?: string;
731
- /** App ID - when the edit order was created by an external application. */
732
- appId?: string;
733
- }
734
- /** @oneof */
735
- export interface CreatedByStringOneOf {
736
- /** User ID - when the edit order was created by a Wix user */
737
- userId?: string;
738
- /** App ID - when the edit order was created by an external application. */
739
- appId?: string;
740
- }
741
- export declare enum EditingStatus {
742
- /** DraftOrder is in draft state. */
743
- DRAFT = "DRAFT",
744
- /** DraftOrder is in committed state. */
745
- COMMITTED = "COMMITTED"
746
- }
747
- export declare enum WeightUnit {
748
- /** Weight unit can't be classified, due to an error */
749
- UNSPECIFIED_WEIGHT_UNIT = "UNSPECIFIED_WEIGHT_UNIT",
750
- /** Kilograms */
751
- KG = "KG",
752
- /** Pounds */
753
- LB = "LB"
754
- }
755
- export interface PriceSummary {
756
- /** Subtotal of all the line items, before discounts and before tax. */
757
- subtotal?: Price;
758
- /** Total shipping price, before discounts and before tax. */
759
- shipping?: Price;
760
- /** Total tax on this order. */
761
- tax?: Price;
762
- /** Total calculated discount value. */
763
- discount?: Price;
764
- /** Deprecated - use `total` instead. */
765
- totalPrice?: Price;
766
- /** Order’s total price after discounts and tax. */
767
- total?: Price;
768
- /** Total price of additional fees before tax. */
769
- totalAdditionalFees?: Price;
770
- }
771
- export interface TaxSummary {
772
- /**
773
- * Total tax.
774
- * @readonly
775
- */
776
- totalTax?: Price;
777
- }
778
- export interface BalanceSummary {
779
- /**
780
- * collectible amount to pay. Part of order’s price_summary excluding all approved payments amount
781
- * @readonly
782
- */
783
- balance?: Balance;
784
- }
785
- /**
786
- * Order balance. Reflects amount left to be paid on order and is calculated dynamically. Can be negative per balance definition.
787
- * `amount` field depends on order payment status:
788
- * + UNSPECIFIED, NOT_PAID: price_summary.total_price
789
- * + PARTIALLY_PAID : price_summary.total_price - pay_now.total_price
790
- * + PENDING, REFUNDED, PARTIALLY_REFUNDED, PAID : 0
791
- */
792
- export interface Balance {
793
- /**
794
- * Balance amount, can be negative. Negative value signifies amount to be refunded
795
- * and can happen due to possible overcharge or modified manual order.
796
- * @readonly
797
- */
798
- amount?: string;
799
- /**
800
- * Amount formatted with currency symbol.
801
- * @readonly
802
- */
803
- formattedAmount?: string;
804
- }
805
- /** Side-effects upon committing a draft order. */
806
- export interface DraftOrderCommitSettings {
807
- /** If false, do not send notifications to buyer. Default is true. */
808
- sendNotificationsToBuyer?: boolean | null;
809
- /** If false, do not send notifications to business. Default is true. */
810
- sendNotificationsToBusiness?: boolean | null;
811
- /** If false,do not add activities to the order. Default is true. */
812
- addActivitiesToOrder?: boolean | null;
813
- /** If false, do not send mails to custom fulfillers in case of a change of shippable items fulfilled by custom fulfillers. Default is true. */
814
- sendNotificationsToCustomFulfillers?: boolean | null;
815
- /** Item ids to perform inventory change for. If not provided, inventory change will not be performed. */
816
- updateInventory?: InventoryUpdate[];
817
- }
818
- export interface InventoryUpdate {
819
- /** Line item ID. */
820
- lineItemId?: string;
821
- }
822
- export interface CreateDraftOrderRequest {
823
- /** To create a draft from existing order, provide its id. Otherwise, an empty draft will be created. */
824
- orderId?: string | null;
825
- }
826
- export interface CreateDraftOrderResponse {
827
- /** The draft order details calculated with latest content */
828
- calculatedDraftOrder?: CalculatedDraftOrder;
829
- }
830
- export interface CalculatedDraftOrder {
831
- /**
832
- * The draft order full details with calculations based on it's content.
833
- * Discount and additional fee options are also included.
834
- */
835
- draftOrder?: DraftOrder;
836
- /** Shipping options for the order. */
837
- shippingOptions?: ShippingOption[];
838
- /** Errors that occurred during calculation. */
839
- calculationErrors?: CalculationErrors;
840
- }
841
- export interface ShippingOption {
842
- /** This carrier's unique ID */
843
- carrierId?: string | null;
844
- /** Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`. */
845
- code?: string;
846
- /** Shipping rate title. For example, `"USPS Standard Overnight Delivery"`, `"Standard"`, or `"First-Class Package International"`. */
847
- title?: string;
848
- /** Shipping logistics. */
849
- logistics?: DeliveryLogistics;
850
- /** Shipping cost. */
851
- cost?: ShippingPrice;
852
- }
853
- export interface DeliveryLogistics {
854
- /** When the item is expected to be delivered in free text, e.g "3-5 business days" */
855
- deliveryTime?: string | null;
856
- /** Instructions for caller, e.g for pickup: "Ensure to come during Opening Hours, and please don't park in disabled-spot" */
857
- instructions?: string | null;
858
- /** Additional pickup details if it's a pickup */
859
- pickupDetails?: PickupDetails;
860
- /** Expected delivery time slot (from and to time stamps representation) */
861
- deliveryTimeSlot?: DeliveryTimeSlot;
862
- }
863
- export interface PickupDetails {
864
- /** Pickup address */
865
- address?: Address;
866
- /**
867
- * Pickup method.
868
- *
869
- * Supported values:
870
- * + `"STORE_PICKUP"`
871
- * + `"PICKUP_POINT"`
872
- */
873
- pickupMethod?: PickupMethod;
874
- }
875
- export declare enum PickupMethod {
876
- UNKNOWN_METHOD = "UNKNOWN_METHOD",
877
- STORE_PICKUP = "STORE_PICKUP",
878
- PICKUP_POINT = "PICKUP_POINT"
879
- }
880
- export interface DeliveryTimeSlot {
881
- /** starting time of the delivery time slot */
882
- from?: Date;
883
- /** ending time of the delivery time slot */
884
- to?: Date;
885
- }
886
- export interface ShippingPrice {
887
- /** The shipping rate's price. Must align with the [currency's decimal separator](https://en.wikipedia.org/wiki/ISO_4217#Active_codes). */
888
- price?: Price;
889
- /** Currency of the shipping rate price as a 3-letter [ISO-4217 currency code](https://en.wikipedia.org/wiki/ISO_4217). Must align with the `currency` passed to the function. */
890
- currency?: string;
891
- }
892
- export interface CalculationErrors extends CalculationErrorsShippingCalculationErrorOneOf {
893
- /** General shipping calculation error. */
894
- generalShippingCalculationError?: Details;
895
- /** Carrier errors. */
896
- carrierErrors?: CarrierErrors;
897
- /** Tax calculation error. */
898
- taxCalculationError?: Details;
899
- /** Order validation errors. */
900
- orderValidationErrors?: ApplicationError[];
901
- }
902
- /** @oneof */
903
- export interface CalculationErrorsShippingCalculationErrorOneOf {
904
- /** General shipping calculation error. */
905
- generalShippingCalculationError?: Details;
906
- /** Carrier errors. */
907
- carrierErrors?: CarrierErrors;
908
- }
909
- export interface Details extends DetailsKindOneOf {
910
- applicationError?: ApplicationError;
911
- validationError?: ValidationError;
912
- /** deprecated in API's - to enable migration from rendering arbitrary tracing to rest response */
913
- tracing?: Record<string, string>;
914
- }
915
- /** @oneof */
916
- export interface DetailsKindOneOf {
917
- applicationError?: ApplicationError;
918
- validationError?: ValidationError;
919
- }
920
- export interface ApplicationError {
921
- /** Error code. */
922
- code?: string;
923
- /** Description of the error. */
924
- description?: string;
925
- /** Data related to the error. */
926
- data?: Record<string, any> | null;
927
- }
928
- /**
929
- * example result:
930
- * {
931
- * "fieldViolations": [
932
- * {
933
- * "field": "fieldA",
934
- * "description": "invalid music note. supported notes: [do,re,mi,fa,sol,la,ti]",
935
- * "violatedRule": "OTHER",
936
- * "ruleName": "INVALID_NOTE",
937
- * "data": {
938
- * "value": "FI"
939
- * }
940
- * },
941
- * {
942
- * "field": "fieldB",
943
- * "description": "field value out of range. supported range: [0-20]",
944
- * "violatedRule": "MAX",
945
- * "data": {
946
- * "threshold": 20
947
- * }
948
- * },
949
- * {
950
- * "field": "fieldC",
951
- * "description": "invalid phone number. provide a valid phone number of size: [7-12], supported characters: [0-9, +, -, (, )]",
952
- * "violatedRule": "FORMAT",
953
- * "data": {
954
- * "type": "PHONE"
955
- * }
956
- * }
957
- * ]
958
- * }
959
- */
960
- export interface ValidationError {
961
- fieldViolations?: FieldViolation[];
962
- }
963
- export declare enum RuleType {
964
- VALIDATION = "VALIDATION",
965
- OTHER = "OTHER",
966
- MAX = "MAX",
967
- MIN = "MIN",
968
- MAX_LENGTH = "MAX_LENGTH",
969
- MIN_LENGTH = "MIN_LENGTH",
970
- MAX_SIZE = "MAX_SIZE",
971
- MIN_SIZE = "MIN_SIZE",
972
- FORMAT = "FORMAT",
973
- DECIMAL_LTE = "DECIMAL_LTE",
974
- DECIMAL_GTE = "DECIMAL_GTE",
975
- DECIMAL_LT = "DECIMAL_LT",
976
- DECIMAL_GT = "DECIMAL_GT",
977
- DECIMAL_MAX_SCALE = "DECIMAL_MAX_SCALE",
978
- INVALID_ENUM_VALUE = "INVALID_ENUM_VALUE",
979
- REQUIRED_FIELD = "REQUIRED_FIELD",
980
- FIELD_NOT_ALLOWED = "FIELD_NOT_ALLOWED",
981
- ONE_OF_ALIGNMENT = "ONE_OF_ALIGNMENT"
982
- }
983
- export interface FieldViolation {
984
- field?: string;
985
- description?: string;
986
- violatedRule?: RuleType;
987
- /** applicable when violated_rule=OTHER */
988
- ruleName?: string | null;
989
- data?: Record<string, any> | null;
990
- }
991
- export interface CarrierErrors {
992
- /** Carrier errors. */
993
- errors?: CarrierError[];
994
- }
995
- export interface CarrierError {
996
- /** Carrier ID. */
997
- carrierId?: string;
998
- /** Error details. */
999
- error?: Details;
1000
- }
1001
- export interface AddLineItemsToDraftOrderRequest {
1002
- /** The draft order id */
1003
- draftOrderId?: string;
1004
- /** Catalog Line items ref to be added. */
1005
- catalogLineItems?: CatalogReferenceLineItem[];
1006
- /** Custom line items to be added. */
1007
- customLineItems?: CustomLineItem[];
1008
- }
1009
- export interface CatalogReferenceLineItem {
1010
- /** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. */
1011
- catalogReference?: CatalogReference;
1012
- /** Item quantity. */
1013
- quantity?: number;
1014
- /** Item price override. */
1015
- price?: Price;
1016
- }
1017
- export interface CustomLineItem {
1018
- /** Line item ID. */
1019
- id?: string | null;
1020
- /**
1021
- * Item quantity.
1022
- *
1023
- * Min: `"1"`
1024
- * Max: `"100000"`
1025
- */
1026
- quantity?: number;
1027
- /** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. */
1028
- catalogReference?: CatalogReference;
1029
- /**
1030
- * Item name.
1031
- * + Stores - `product.name`
1032
- * + Bookings - `service.info.name`
1033
- * + Events - `ticket.name`
1034
- */
1035
- productName?: ProductName;
1036
- /** URL to the item's page on the site. */
1037
- url?: PageUrlV2;
1038
- /** Item price **after** catalog-defined discount and line item discounts. */
1039
- price?: Price;
1040
- /** Total line item price **after** catalog-defined discount and line item discounts. */
1041
- lineItemPrice?: Price;
1042
- /** Item price **before** catalog-defined discount. Defaults to `price` when not provided. */
1043
- fullPrice?: Price;
1044
- /** Item price **before** line item discounts and **after** catalog-defined discount. Defaults to `price` when not provided. */
1045
- priceBeforeDiscounts?: Price;
1046
- /** Line item description lines. Used for display purposes for order. */
1047
- descriptionLines?: DescriptionLine[];
1048
- /** Line item image details. */
1049
- media?: Image;
1050
- /** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
1051
- physicalProperties?: PhysicalProperties;
1052
- /** Item type. Either a preset type or custom. */
1053
- itemType?: ItemType;
1054
- /** Additional description for the price. For example, when price is 0 but additional details about the actual price are needed - "Starts at $67". */
1055
- priceDescription?: PriceDescription;
1056
- /** Delivery Profile Id for the product */
1057
- deliveryProfileId?: string | null;
1058
- }
1059
- export interface PageUrlV2 {
1060
- /** The path to that page - e.g /product-page/a-product */
1061
- relativePath?: string;
1062
- /** The URL of that page. e.g https://mysite.com/product-page/a-product */
1063
- url?: string | null;
1064
- }
1065
- export interface SecuredMedia {
1066
- /** Media ID in media manager. */
1067
- id?: string;
1068
- /** Original file name. */
1069
- fileName?: string;
1070
- /** File type. */
1071
- fileType?: FileType;
1072
- }
1073
- export declare enum FileType {
1074
- UNSPECIFIED = "UNSPECIFIED",
1075
- SECURE_PICTURE = "SECURE_PICTURE",
1076
- SECURE_VIDEO = "SECURE_VIDEO",
1077
- SECURE_DOCUMENT = "SECURE_DOCUMENT",
1078
- SECURE_MUSIC = "SECURE_MUSIC",
1079
- SECURE_ARCHIVE = "SECURE_ARCHIVE"
1080
- }
1081
- export interface AddLineItemsToDraftOrderResponse {
1082
- /** The draft order details calculated with latest content */
1083
- calculatedDraftOrder?: CalculatedDraftOrder;
1084
- }
1085
- export interface UpdateLineItemsRequest {
1086
- /** The draft order id */
1087
- draftOrderId?: string;
1088
- /** Details of changes to apply per line item */
1089
- lineItemChanges?: LineItemChangeDetails[];
1090
- }
1091
- export interface LineItemChangeDetails {
1092
- /** The line item id to change */
1093
- lineItemId?: string;
1094
- /** The new quantity for the line item. quantity zero means to remove the line item. */
1095
- newQuantity?: number | null;
1096
- /** The new price for 1 unit of the line item */
1097
- newPrice?: string | null;
1098
- /** Additional description for the price. For example, when price is 0 but additional details about the actual price are needed - "Starts at $67". */
1099
- newPriceDescription?: PriceDescription;
1100
- }
1101
- export interface UpdateLineItemsResponse {
1102
- /** The draft order details calculated with latest content */
1103
- calculatedDraftOrder?: CalculatedDraftOrder;
1104
- }
1105
- export interface SetDiscountsRequest {
1106
- /** The draft order id */
1107
- draftOrderId?: string;
1108
- /** The discount ids to opt-in. all existing discounts not listed are to be opted-out. */
1109
- discounts?: IdAndApplied[];
1110
- }
1111
- export interface IdAndApplied {
1112
- id?: string;
1113
- applied?: boolean;
1114
- }
1115
- export interface SetDiscountsResponse {
1116
- /** The draft order details calculated with latest content */
1117
- calculatedDraftOrder?: CalculatedDraftOrder;
1118
- }
1119
- export interface CreateCustomDiscountsRequest {
1120
- /** The draft order id */
1121
- draftOrderId?: string;
1122
- /** The discounts to add. */
1123
- discounts?: DiscountOption[];
1124
- }
1125
- export interface DiscountOption {
1126
- /**
1127
- * Discount type.
1128
- * * `"GLOBAL"` - discount applies to entire order.
1129
- * * `"SPECIFIC-ITEMS"` - discount applies to a specific item.
1130
- * * `"SHIPPING"` - discount applies to shipping. For example, free shipping.
1131
- */
1132
- discountType?: DiscountType;
1133
- /** ID of line item discount applies to. */
1134
- lineItemId?: string | null;
1135
- /** Discount amount. */
1136
- amount?: Price;
1137
- /** Discount description as free text (optional). */
1138
- description?: string | null;
1139
- /**
1140
- * Should opt-in the added discount. default = false.
1141
- * if not set or false, then to opt-in them, please call SetDiscounts with the added discounts ids
1142
- */
1143
- applyToDraftOrder?: boolean | null;
1144
- }
1145
- export declare enum DiscountType {
1146
- UNKNOWN_TYPE = "UNKNOWN_TYPE",
1147
- GLOBAL = "GLOBAL",
1148
- SPECIFIC_ITEMS = "SPECIFIC_ITEMS",
1149
- SHIPPING = "SHIPPING"
1150
- }
1151
- export interface CreateCustomDiscountsResponse {
1152
- /** The draft order details with the added discounts */
1153
- calculatedDraftOrder?: CalculatedDraftOrder;
1154
- }
1155
- export interface DeleteCustomDiscountsRequest {
1156
- /** The draft order id */
1157
- draftOrderId?: string;
1158
- /** The discounts to remove */
1159
- discountIds?: string[];
1160
- }
1161
- export interface DeleteCustomDiscountsResponse {
1162
- /** The draft order details calculated with latest content */
1163
- calculatedDraftOrder?: CalculatedDraftOrder;
1164
- }
1165
- export interface SetAdditionalFeesRequest {
1166
- /** The draft order id */
1167
- draftOrderId?: string;
1168
- /** The additional fees ids to opt-in. all existing additional fees not listed are to be opted-out */
1169
- additionalFees?: IdAndApplied[];
1170
- }
1171
- export interface SetAdditionalFeesResponse {
1172
- /** The draft order details calculated with modified additional fees */
1173
- calculatedDraftOrder?: CalculatedDraftOrder;
1174
- }
1175
- export interface CreateCustomAdditionalFeesRequest {
1176
- /** The draft order id */
1177
- draftOrderId?: string;
1178
- /** The additional fees to add. added with opted-out setting */
1179
- customAdditionalFees?: AdditionalFeeOption[];
1180
- }
1181
- export interface AdditionalFeeOption {
1182
- /** Translated additional fee's name */
1183
- name?: string;
1184
- /** Additional fee's price */
1185
- price?: Price;
1186
- /** Tax calculation details */
1187
- taxDetails?: TaxDetails;
1188
- /**
1189
- * Should apply the additional fee. default = false.
1190
- * if not set or false, then to apply them, please call ApplyAdditionalFees with the added additional fee ids
1191
- */
1192
- applyToDraftOrder?: boolean | null;
1193
- /** Additional fee's unique code (or ID) for future processing */
1194
- code?: string | null;
1195
- }
1196
- export interface CreateCustomAdditionalFeesResponse {
1197
- /** The draft order details with added custom additional fees */
1198
- calculatedDraftOrder?: CalculatedDraftOrder;
1199
- }
1200
- export interface DeleteCustomAdditionalFeesRequest {
1201
- /** The draft order id */
1202
- draftOrderId?: string;
1203
- /** The additional fees to remove */
1204
- customAdditionalFees?: string[];
1205
- }
1206
- export interface DeleteCustomAdditionalFeesResponse {
1207
- /** The draft order details calculated with latest content */
1208
- calculatedDraftOrder?: CalculatedDraftOrder;
1209
- }
1210
- export interface UpdateShippingInfoRequest {
1211
- /** The draft order id */
1212
- draftOrderId?: string;
1213
- /** update the shipping option on the order. if not set then the selected shipping is removed */
1214
- shippingOption?: ShippingOption;
1215
- }
1216
- export interface UpdateShippingInfoResponse {
1217
- /** The draft order details calculated with de/selected shipping info */
1218
- calculatedDraftOrder?: CalculatedDraftOrder;
1219
- }
1220
- export interface GetDraftOrderRequest {
1221
- /** The draft order id */
1222
- draftOrderId?: string;
1223
- }
1224
- export interface GetDraftOrderResponse {
1225
- /** The draft order details calculated with latest content */
1226
- calculatedDraftOrder?: CalculatedDraftOrder;
1227
- }
1228
- export interface GetOrderDraftabilityStatusRequest {
1229
- /** Order ID. */
1230
- orderId?: string;
1231
- }
1232
- export interface GetOrderDraftabilityStatusResponse {
1233
- /** Order ID. */
1234
- orderId?: string;
1235
- /** Whether a draft can be created from this order */
1236
- orderDraftable?: boolean;
1237
- /** Reasons why the order is not draftable */
1238
- nonDraftableReasons?: NonDraftableReason[];
1239
- }
1240
- export declare enum NonDraftableReason {
1241
- UNSPECIFIED = "UNSPECIFIED",
1242
- PARTIALLY_OR_FULLY_REFUNDED = "PARTIALLY_OR_FULLY_REFUNDED",
1243
- UNSUPPORTED_CHANNEL_TYPE = "UNSUPPORTED_CHANNEL_TYPE",
1244
- ORDER_STATUS_IS_NOT_SUPPORTED = "ORDER_STATUS_IS_NOT_SUPPORTED",
1245
- ORDER_AND_SITE_CURRENCIES_ARE_INCONSISTENT = "ORDER_AND_SITE_CURRENCIES_ARE_INCONSISTENT",
1246
- ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT = "ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT",
1247
- AMOUNTS_DO_NOT_ADD_UP = "AMOUNTS_DO_NOT_ADD_UP",
1248
- ORDER_NOT_FOUND = "ORDER_NOT_FOUND",
1249
- SUBSCRIPTION_LINE_ITEM_EXISTS = "SUBSCRIPTION_LINE_ITEM_EXISTS",
1250
- UNSUPPORTED_CATALOG_ITEM = "UNSUPPORTED_CATALOG_ITEM"
1251
- }
1252
- export interface CommitDraftOrderRequest {
1253
- /** The draft order id */
1254
- draftOrderId: string;
1255
- /** Optional side effects to trigger */
1256
- commitSettings?: DraftOrderCommitSettings;
1257
- /** Reason for edit, given by user (optional). */
1258
- reason?: string | null;
1259
- }
1260
- export interface CommitDraftOrderResponse {
1261
- /** The draft order after commit. */
1262
- committedDraftOrder?: DraftOrder;
1263
- /** The updated order after commit. */
1264
- orderAfterCommit?: Order;
1265
- }
1266
- export interface Order {
1267
- /**
1268
- * Order ID.
1269
- * @readonly
1270
- */
1271
- id?: string | null;
1272
- /**
1273
- * Order number displayed in the site owner's dashboard (auto-generated).
1274
- * @readonly
1275
- */
1276
- number?: string;
1277
- /** Date and time the order was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
1278
- createdDate?: Date;
1279
- /**
1280
- * Date and time the order was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
1281
- * @readonly
1282
- */
1283
- updatedDate?: Date;
1284
- /** Order line items. */
1285
- lineItems?: OrderLineItem[];
1286
- /** Buyer information. */
1287
- buyerInfo?: BuyerInfo;
1288
- /**
1289
- * Order payment status.
1290
- * + `NOT_PAID` - This can be an order made online, but not yet paid. In such cases `order.status` will be `INITIALIZED`.
1291
- * + This status also applies when an offline order needs to be manually marked as paid. In such cases `order.status` will be `APPROVED`.
1292
- * + `PAID` - All payments associated with this order are paid. For online payments: [`payment.regularPaymentDetails.status: APPROVED`](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/order-transactions/order-transactions-object). For gift cards: [`payment.giftCardPaymentDetails.voided: false`](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/order-transactions/order-transactions-object).
1293
- * + `PARTIALLY_REFUNDED` - Order was refunded, but refund amount is less than order total price.
1294
- * + `FULLY_REFUNDED` - Order fully refunded. Refund amount equals total price.
1295
- * + `PENDING` - Payments received but not yet confirmed by the payment provider.
1296
- * + `PARTIALLY_PAID` - At least one payment was received and approved, covering less than total price amount.
1297
- */
1298
- paymentStatus?: PaymentStatus;
1299
- /**
1300
- * Order fulfillment status.
1301
- * @readonly
1302
- */
1303
- fulfillmentStatus?: FulfillmentStatus;
1304
- /**
1305
- * Language for communication with the buyer. Defaults to the site language.
1306
- * For a site that supports multiple languages, this is the language the buyer selected.
1307
- */
1308
- buyerLanguage?: string | null;
1309
- /** Weight measurement unit - defaults to site's weight unit. */
1310
- weightUnit?: WeightUnit;
1311
- /** Currency used for the pricing of this order in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format. */
1312
- currency?: string | null;
1313
- /** Whether tax is included in line item prices. */
1314
- taxIncludedInPrices?: boolean;
1315
- /**
1316
- * Site language in which original values are shown.
1317
- * @readonly
1318
- */
1319
- siteLanguage?: string | null;
1320
- /**
1321
- * Order price summary.
1322
- * @readonly
1323
- */
1324
- priceSummary?: PriceSummary;
1325
- /** Billing address and contact details. */
1326
- billingInfo?: AddressWithContact;
1327
- /** Shipping info and selected shipping option details. */
1328
- shippingInfo?: ShippingInformation;
1329
- /** [Buyer note](https://support.wix.com/en/article/wix-stores-viewing-buyer-notes) left by the customer. */
1330
- buyerNote?: string | null;
1331
- /**
1332
- * Order status.
1333
- * + `INITIALIZED` - Order was created, but not yet approved or declined.
1334
- * + `APPROVED` - Order was approved. This happens when either the online payment succeeded or the order is an offline order. Once an order is approved, many side effects are triggered. For example, holding of stock in the inventory and sending of notification emails.
1335
- * + `CANCELED` - Order was canceled by the user.
1336
- */
1337
- status?: OrderStatus;
1338
- /**
1339
- * Whether order is archived.
1340
- * @readonly
1341
- */
1342
- archived?: boolean | null;
1343
- /** Tax summary. */
1344
- taxSummary?: TaxSummary;
1345
- /** Applied discounts. */
1346
- appliedDiscounts?: AppliedDiscount[];
1347
- /**
1348
- * Order activities.
1349
- * @readonly
1350
- */
1351
- activities?: Activity[];
1352
- /** Order attribution source. */
1353
- attributionSource?: AttributionSource;
1354
- /**
1355
- * ID of the order's initiator.
1356
- * @readonly
1357
- */
1358
- createdBy?: V1CreatedBy;
1359
- /** Information about the sales channel that submitted this order. */
1360
- channelInfo?: ChannelInfo;
1361
- /**
1362
- * Whether a human has seen the order. Set when an order is clicked on in the dashboard.
1363
- * @readonly
1364
- */
1365
- seenByAHuman?: boolean | null;
1366
- /** Checkout ID. */
1367
- checkoutId?: string | null;
1368
- /** Custom fields. */
1369
- customFields?: CustomField[];
1370
- /** Additional fees applied to the order. */
1371
- additionalFees?: AdditionalFee[];
1372
- /** Extensions enabling users to save custom data related to the order. See details here https://dev.wix.com/docs/rest/articles/getting-started/extended-fields */
1373
- extendedFields?: ExtendedFields;
1374
- /** Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order. */
1375
- purchaseFlowId?: string | null;
1376
- }
1377
- export declare enum PaymentStatus {
1378
- UNSPECIFIED = "UNSPECIFIED",
1379
- /** Order is not paid */
1380
- NOT_PAID = "NOT_PAID",
1381
- /** Order is paid */
1382
- PAID = "PAID",
1383
- /** Order was refunded, refund amount less than order total price */
1384
- PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
1385
- /** Full order total price was refunded */
1386
- FULLY_REFUNDED = "FULLY_REFUNDED",
1387
- /** Payments received but not yet confirmed by the payment provider */
1388
- PENDING = "PENDING",
1389
- /** At least one payment was received and approved, covering less than total price amount */
1390
- PARTIALLY_PAID = "PARTIALLY_PAID"
1391
- }
1392
- export declare enum FulfillmentStatus {
1393
- /** none of the order items are fulfilled or order was manually marked as unfulfilled */
1394
- NOT_FULFILLED = "NOT_FULFILLED",
1395
- /**
1396
- * All of the order items are fulfilled or order was manually marked as fulfilled
1397
- * Orders without shipping info are fulfilled automatically
1398
- */
1399
- FULFILLED = "FULFILLED",
1400
- /** Some, but not all of the order items are fulfilled */
1401
- PARTIALLY_FULFILLED = "PARTIALLY_FULFILLED"
1402
- }
1403
- export declare enum OrderStatus {
1404
- INITIALIZED = "INITIALIZED",
1405
- APPROVED = "APPROVED",
1406
- CANCELED = "CANCELED"
1407
- }
1408
- export interface Activity extends ActivityContentOneOf {
1409
- /** Custom activity details (optional). `activity.type` must be `CUSTOM_ACTIVITY`. */
1410
- customActivity?: CustomActivity;
1411
- /** Merchant comment details (optional). `activity.type` must be `MERCHANT_COMMENT`. */
1412
- merchantComment?: MerchantComment;
1413
- /** Additional info about order refunded activity (optional). `activity.type` must be `ORDER_REFUNDED`. */
1414
- orderRefunded?: OrderRefunded;
1415
- draftOrderChangesApplied?: DraftOrderChangesApplied;
1416
- /**
1417
- * Activity ID.
1418
- * @readonly
1419
- */
1420
- id?: string | null;
1421
- /**
1422
- * Activity author's email.
1423
- * @readonly
1424
- */
1425
- authorEmail?: string | null;
1426
- /**
1427
- * Activity creation date and time.
1428
- * @readonly
1429
- */
1430
- createdDate?: Date;
1431
- /** Activity type. */
1432
- type?: ActivityType;
1433
- }
1434
- /** @oneof */
1435
- export interface ActivityContentOneOf {
1436
- /** Custom activity details (optional). `activity.type` must be `CUSTOM_ACTIVITY`. */
1437
- customActivity?: CustomActivity;
1438
- /** Merchant comment details (optional). `activity.type` must be `MERCHANT_COMMENT`. */
1439
- merchantComment?: MerchantComment;
1440
- /** Additional info about order refunded activity (optional). `activity.type` must be `ORDER_REFUNDED`. */
1441
- orderRefunded?: OrderRefunded;
1442
- draftOrderChangesApplied?: DraftOrderChangesApplied;
1443
- }
1444
- export interface CustomActivity {
1445
- /** ID of the app that created the custom activity. */
1446
- appId?: string;
1447
- /** Custom activity type. For example, `"Ticket number set"`. */
1448
- type?: string;
1449
- /** Additional data in key-value form. For example, `{ "Ticket number": "123456" }`. */
1450
- additionalData?: Record<string, string>;
1451
- }
1452
- /** Store owner added a comment */
1453
- export interface MerchantComment {
1454
- /** Merchant comment message. */
1455
- message?: string;
1456
- }
1457
- export interface OrderRefunded {
1458
- /** Whether order was refunded manually. For example, via payment provider or using cash. */
1459
- manual?: boolean;
1460
- /** Refund amount. */
1461
- amount?: Price;
1462
- /** Reason for refund. */
1463
- reason?: string;
1464
- }
1465
- export interface OrderCreatedFromExchange {
1466
- /** ID of the original order for which the exchange happened. */
1467
- originalOrderId?: string;
1468
- }
1469
- export interface NewExchangeOrderCreated {
1470
- /** ID of the new order created as a result of an exchange of items. */
1471
- exchangeOrderId?: string;
1472
- /** IDs of the items that were exchanged. */
1473
- lineItems?: LineItemExchangeData[];
1474
- }
1475
- export interface LineItemExchangeData {
1476
- /** ID of the exchanged line item. */
1477
- lineItemId?: string;
1478
- /** Line item quantity being exchanged. */
1479
- quantity?: number;
1480
- }
1481
- export interface DraftOrderChangesApplied {
1482
- /** Draft order id. */
1483
- draftOrderId?: string;
1484
- /** Reason for edit, given by user (optional). */
1485
- reason?: string | null;
1486
- /** Changes applied to order. */
1487
- changes?: OrderChange[];
1488
- }
1489
- export interface OrderChange extends OrderChangeValueOneOf {
1490
- lineItemChanged?: LineItemChanges;
1491
- lineItemAdded?: ManagedLineItem;
1492
- lineItemRemoved?: ManagedLineItem;
1493
- discountAdded?: ManagedDiscount;
1494
- discountRemoved?: ManagedDiscount;
1495
- additionalFeeAdded?: ManagedAdditionalFee;
1496
- additionalFeeRemoved?: ManagedAdditionalFee;
1497
- totalPriceChanged?: TotalPriceChange;
1498
- }
1499
- /** @oneof */
1500
- export interface OrderChangeValueOneOf {
1501
- lineItemChanged?: LineItemChanges;
1502
- lineItemAdded?: ManagedLineItem;
1503
- lineItemRemoved?: ManagedLineItem;
1504
- discountAdded?: ManagedDiscount;
1505
- discountRemoved?: ManagedDiscount;
1506
- additionalFeeAdded?: ManagedAdditionalFee;
1507
- additionalFeeRemoved?: ManagedAdditionalFee;
1508
- totalPriceChanged?: TotalPriceChange;
1509
- }
1510
- export interface LineItemChanges {
1511
- /** Line item ID. */
1512
- id?: string;
1513
- /** Item name. */
1514
- name?: ProductName;
1515
- /** Item quantity change. */
1516
- quantity?: LineItemQuantityChange;
1517
- /** Item price change. */
1518
- price?: LineItemPriceChange;
1519
- }
1520
- export interface LineItemQuantityChange {
1521
- /** Item quantity before update. */
1522
- originalQuantity?: number;
1523
- /** Item quantity after update. */
1524
- newQuantity?: number;
1525
- /** Difference between original and new quantity. Absolute value. */
1526
- diff?: number;
1527
- /** Type of quantity change: increase or decrease. */
1528
- deltaType?: LineItemQuantityChangeType;
1529
- }
1530
- export declare enum LineItemQuantityChangeType {
1531
- QUANTITY_INCREASED = "QUANTITY_INCREASED",
1532
- QUANTITY_DECREASED = "QUANTITY_DECREASED"
1533
- }
1534
- export interface LineItemPriceChange {
1535
- /** Item price before update. */
1536
- originalPrice?: Price;
1537
- /** Item price after update. */
1538
- newPrice?: Price;
1539
- }
1540
- export interface ManagedLineItem {
1541
- /** Line item ID. */
1542
- id?: string;
1543
- /** Item name. */
1544
- name?: ProductName;
1545
- /** Added or removed item quantity. */
1546
- quantity?: number;
1547
- }
1548
- export interface ManagedDiscount {
1549
- /** Discount id. */
1550
- id?: string;
1551
- /** Discount name: coupon name / discount rule name / merchant discount description. */
1552
- name?: TranslatedValue;
1553
- /** Line items discount applies to. */
1554
- affectedLineItems?: LineItemAmount[];
1555
- /** Discount amount. */
1556
- totalAmount?: Price;
1557
- }
1558
- export interface TranslatedValue {
1559
- /** Value in site default language. */
1560
- original?: string;
1561
- /** Translated value. */
1562
- translated?: string | null;
1563
- }
1564
- export interface LineItemAmount {
1565
- /** Order line item id */
1566
- id?: string;
1567
- /** Item name. */
1568
- name?: ProductName;
1569
- /** Amount associated with this item. (Discount amount for item / additional fee amount for item) */
1570
- amount?: Price;
1571
- }
1572
- export interface ManagedAdditionalFee {
1573
- /** Additional fee id. */
1574
- id?: string;
1575
- /** Additional fee name. */
1576
- name?: TranslatedValue;
1577
- /** Line items additional fee applies to. */
1578
- affectedLineItems?: LineItemAmount[];
1579
- /** Additional fee amount. */
1580
- totalAmount?: Price;
1581
- }
1582
- export interface TotalPriceChange {
1583
- /** Order’s total price after discounts and tax. Before update */
1584
- originalTotal?: Price;
1585
- /** Order’s total price after discounts and tax. After update */
1586
- newTotal?: Price;
1587
- }
1588
- export declare enum ActivityType {
1589
- ORDER_REFUNDED = "ORDER_REFUNDED",
1590
- ORDER_PLACED = "ORDER_PLACED",
1591
- ORDER_PAID = "ORDER_PAID",
1592
- ORDER_FULFILLED = "ORDER_FULFILLED",
1593
- ORDER_NOT_FULFILLED = "ORDER_NOT_FULFILLED",
1594
- ORDER_CANCELED = "ORDER_CANCELED",
1595
- DOWNLOAD_LINK_SENT = "DOWNLOAD_LINK_SENT",
1596
- TRACKING_NUMBER_ADDED = "TRACKING_NUMBER_ADDED",
1597
- TRACKING_NUMBER_EDITED = "TRACKING_NUMBER_EDITED",
1598
- TRACKING_LINK_ADDED = "TRACKING_LINK_ADDED",
1599
- SHIPPING_CONFIRMATION_EMAIL_SENT = "SHIPPING_CONFIRMATION_EMAIL_SENT",
1600
- INVOICE_ADDED = "INVOICE_ADDED",
1601
- INVOICE_REMOVED = "INVOICE_REMOVED",
1602
- INVOICE_SENT = "INVOICE_SENT",
1603
- FULFILLER_EMAIL_SENT = "FULFILLER_EMAIL_SENT",
1604
- SHIPPING_ADDRESS_EDITED = "SHIPPING_ADDRESS_EDITED",
1605
- EMAIL_EDITED = "EMAIL_EDITED",
1606
- PICKUP_READY_EMAIL_SENT = "PICKUP_READY_EMAIL_SENT",
1607
- CUSTOM_ACTIVITY = "CUSTOM_ACTIVITY",
1608
- MERCHANT_COMMENT = "MERCHANT_COMMENT",
1609
- ORDER_CREATED_FROM_EXCHANGE = "ORDER_CREATED_FROM_EXCHANGE",
1610
- NEW_EXCHANGE_ORDER_CREATED = "NEW_EXCHANGE_ORDER_CREATED",
1611
- ORDER_PARTIALLY_PAID = "ORDER_PARTIALLY_PAID",
1612
- DRAFT_ORDER_CHANGES_APPLIED = "DRAFT_ORDER_CHANGES_APPLIED"
1613
- }
1614
- export declare enum AttributionSource {
1615
- UNSPECIFIED = "UNSPECIFIED",
1616
- FACEBOOK_ADS = "FACEBOOK_ADS"
1617
- }
1618
- export interface V1CreatedBy extends V1CreatedByStringOneOf {
1619
- /**
1620
- * User ID - when the order was created by a Wix user on behalf of a buyer.
1621
- * For example, via POS (point of service).
1622
- */
1623
- userId?: string;
1624
- /** Member ID - when the order was created by a **logged in** site visitor. */
1625
- memberId?: string;
1626
- /** Visitor ID - when the order was created by a site visitor that was **not** logged in. */
1627
- visitorId?: string;
1628
- /** App ID - when the order was created by an external application. */
1629
- appId?: string;
1630
- }
1631
- /** @oneof */
1632
- export interface V1CreatedByStringOneOf {
1633
- /**
1634
- * User ID - when the order was created by a Wix user on behalf of a buyer.
1635
- * For example, via POS (point of service).
1636
- */
1637
- userId?: string;
1638
- /** Member ID - when the order was created by a **logged in** site visitor. */
1639
- memberId?: string;
1640
- /** Visitor ID - when the order was created by a site visitor that was **not** logged in. */
1641
- visitorId?: string;
1642
- /** App ID - when the order was created by an external application. */
1643
- appId?: string;
1644
- }
1645
- export interface ChannelInfo {
1646
- /** Sales channel that submitted the order. */
1647
- type?: ChannelType;
1648
- /** Reference to an order ID from an external system. */
1649
- externalOrderId?: string | null;
1650
- /** URL to the order in the external system. */
1651
- externalOrderUrl?: string | null;
1652
- }
1653
- export declare enum ChannelType {
1654
- UNSPECIFIED = "UNSPECIFIED",
1655
- WEB = "WEB",
1656
- POS = "POS",
1657
- EBAY = "EBAY",
1658
- AMAZON = "AMAZON",
1659
- OTHER_PLATFORM = "OTHER_PLATFORM",
1660
- WIX_APP_STORE = "WIX_APP_STORE",
1661
- WIX_INVOICES = "WIX_INVOICES",
1662
- BACKOFFICE_MERCHANT = "BACKOFFICE_MERCHANT",
1663
- WISH = "WISH",
1664
- CLASS_PASS = "CLASS_PASS",
1665
- GLOBAL_E = "GLOBAL_E"
1666
- }
1667
- export interface CustomField {
1668
- /** Custom field value. */
1669
- value?: any;
1670
- /** Custom field title. */
1671
- title?: string;
1672
- /** Translated custom field title. */
1673
- translatedTitle?: string | null;
1674
- }
1675
- export interface V1BalanceSummary {
1676
- /**
1677
- * collectible amount to pay. Part of order’s price_summary excluding all approved payments amount
1678
- * @readonly
1679
- */
1680
- balance?: Balance;
1681
- }
1682
- export interface FulfillmentStatusesAggregate {
1683
- /** Unique string values based on Fulfillment entities statuses */
1684
- statuses?: string[] | null;
1685
- }
1686
- export interface ExtendedFields {
1687
- /**
1688
- * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
1689
- * The value of each key is structured according to the schema defined when the extended fields were configured.
1690
- *
1691
- * You can only access fields for which you have the appropriate permissions.
1692
- */
1693
- namespaces?: Record<string, Record<string, any>>;
1694
- }
1695
- export interface DeleteDraftOrderRequest {
1696
- /** The draft order id */
1697
- draftOrderId: string;
1698
- }
1699
- export interface DeleteDraftOrderResponse {
1700
- }
1701
- export interface QueryDraftOrdersRequest {
1702
- /** WQL expression */
1703
- query: CursorQuery;
1704
- }
1705
- export interface CursorQuery extends CursorQueryPagingMethodOneOf {
1706
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
1707
- cursorPaging?: CursorPaging;
1708
- /**
1709
- * Filter object in the following format:
1710
- * `"filter" : {
1711
- * "fieldName1": "value1",
1712
- * "fieldName2":{"$operator":"value2"}
1713
- * }`
1714
- * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
1715
- */
1716
- filter?: Record<string, any> | null;
1717
- /**
1718
- * Sort object in the following format:
1719
- * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
1720
- */
1721
- sort?: Sorting[];
1722
- }
1723
- /** @oneof */
1724
- export interface CursorQueryPagingMethodOneOf {
1725
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
1726
- cursorPaging?: CursorPaging;
1727
- }
1728
- export interface Sorting {
1729
- /** Name of the field to sort by. */
1730
- fieldName?: string;
1731
- /** Sort order. */
1732
- order?: SortOrder;
1733
- }
1734
- export declare enum SortOrder {
1735
- ASC = "ASC",
1736
- DESC = "DESC"
1737
- }
1738
- export interface CursorPaging {
1739
- /** Number of items to load. */
1740
- limit?: number | null;
1741
- /**
1742
- * Pointer to the next or previous page in the list of results.
1743
- *
1744
- * You can get the relevant cursor token
1745
- * from the `pagingMetadata` object in the previous call's response.
1746
- * Not relevant for the first request.
1747
- */
1748
- cursor?: string | null;
1749
- }
1750
- export interface QueryDraftOrdersResponse {
1751
- /** list of edits per order */
1752
- draftOrders?: DraftOrder[];
1753
- /** Paging metadata. */
1754
- pagingMetadata?: CursorPagingMetadata;
1755
- }
1756
- export interface CursorPagingMetadata {
1757
- /** Number of items returned in the response. */
1758
- count?: number | null;
1759
- /** Offset that was requested. */
1760
- cursors?: Cursors;
1761
- /**
1762
- * Indicates if there are more results after the current page.
1763
- * If `true`, another page of results can be retrieved.
1764
- * If `false`, this is the last page.
1765
- */
1766
- hasNext?: boolean | null;
1767
- }
1768
- export interface Cursors {
1769
- /** Cursor pointing to next page in the list of results. */
1770
- next?: string | null;
1771
- /** Cursor pointing to previous page in the list of results. */
1772
- prev?: string | null;
1773
- }
1774
- export interface CommitDraftOrderResponseNonNullableFields {
1775
- committedDraftOrder?: {
1776
- lineItems: {
1777
- added: boolean;
1778
- changedDetails?: {
1779
- priceBeforeChange?: {
1780
- amount: string;
1781
- formattedAmount: string;
1782
- };
1783
- priceDescriptionBeforeChange?: {
1784
- original: string;
1785
- };
1786
- };
1787
- removed: boolean;
1788
- lineItem?: {
1789
- id: string;
1790
- productName?: {
1791
- original: string;
1792
- };
1793
- catalogReference?: {
1794
- catalogItemId: string;
1795
- appId: string;
1796
- };
1797
- quantity: number;
1798
- totalDiscount?: {
1799
- amount: string;
1800
- formattedAmount: string;
1801
- };
1802
- descriptionLines: {
1803
- plainText?: {
1804
- original: string;
1805
- };
1806
- colorInfo?: {
1807
- original: string;
1808
- };
1809
- plainTextValue?: {
1810
- original: string;
1811
- };
1812
- color: string;
1813
- name?: {
1814
- original: string;
1815
- };
1816
- lineType: DescriptionLineType;
1817
- }[];
1818
- image?: {
1819
- id: string;
1820
- url: string;
1821
- height: number;
1822
- width: number;
1823
- };
1824
- physicalProperties?: {
1825
- shippable: boolean;
1826
- };
1827
- itemType?: {
1828
- preset: ItemTypeItemType;
1829
- custom: string;
1830
- };
1831
- price?: {
1832
- amount: string;
1833
- formattedAmount: string;
1834
- };
1835
- priceBeforeDiscounts?: {
1836
- amount: string;
1837
- formattedAmount: string;
1838
- };
1839
- totalPriceBeforeTax?: {
1840
- amount: string;
1841
- formattedAmount: string;
1842
- };
1843
- totalPriceAfterTax?: {
1844
- amount: string;
1845
- formattedAmount: string;
1846
- };
1847
- paymentOption: PaymentOptionType;
1848
- taxDetails?: {
1849
- taxableAmount?: {
1850
- amount: string;
1851
- formattedAmount: string;
1852
- };
1853
- taxRate: string;
1854
- totalTax?: {
1855
- amount: string;
1856
- formattedAmount: string;
1857
- };
1858
- };
1859
- digitalFile?: {
1860
- fileId: string;
1861
- };
1862
- subscriptionInfo?: {
1863
- cycleNumber: number;
1864
- subscriptionOptionTitle: string;
1865
- subscriptionSettings?: {
1866
- frequency: SubscriptionFrequency;
1867
- autoRenewal: boolean;
1868
- };
1869
- };
1870
- priceDescription?: {
1871
- original: string;
1872
- };
1873
- depositAmount?: {
1874
- amount: string;
1875
- formattedAmount: string;
1876
- };
1877
- locations: {
1878
- id: string;
1879
- quantity: number;
1880
- }[];
1881
- };
1882
- }[];
1883
- shippingInfo?: {
1884
- added: boolean;
1885
- changedDetails?: {
1886
- shippingInfoBeforeChange?: {
1887
- title: string;
1888
- logistics?: {
1889
- shippingDestination?: {
1890
- address?: {
1891
- streetAddress?: {
1892
- number: string;
1893
- name: string;
1894
- apt: string;
1895
- };
1896
- };
1897
- contactDetails?: {
1898
- vatId?: {
1899
- id: string;
1900
- type: VatType;
1901
- };
1902
- };
1903
- };
1904
- pickupDetails?: {
1905
- address?: {
1906
- streetAddress?: {
1907
- number: string;
1908
- name: string;
1909
- apt: string;
1910
- };
1911
- };
1912
- pickupMethod: PickupDetailsPickupMethod;
1913
- };
1914
- };
1915
- cost?: {
1916
- price?: {
1917
- amount: string;
1918
- formattedAmount: string;
1919
- };
1920
- totalPriceBeforeTax?: {
1921
- amount: string;
1922
- formattedAmount: string;
1923
- };
1924
- totalPriceAfterTax?: {
1925
- amount: string;
1926
- formattedAmount: string;
1927
- };
1928
- taxDetails?: {
1929
- taxableAmount?: {
1930
- amount: string;
1931
- formattedAmount: string;
1932
- };
1933
- taxRate: string;
1934
- totalTax?: {
1935
- amount: string;
1936
- formattedAmount: string;
1937
- };
1938
- };
1939
- discount?: {
1940
- amount: string;
1941
- formattedAmount: string;
1942
- };
1943
- };
1944
- };
1945
- };
1946
- removed: boolean;
1947
- shippingInfo?: {
1948
- title: string;
1949
- logistics?: {
1950
- shippingDestination?: {
1951
- address?: {
1952
- streetAddress?: {
1953
- number: string;
1954
- name: string;
1955
- apt: string;
1956
- };
1957
- };
1958
- contactDetails?: {
1959
- vatId?: {
1960
- id: string;
1961
- type: VatType;
1962
- };
1963
- };
1964
- };
1965
- pickupDetails?: {
1966
- address?: {
1967
- streetAddress?: {
1968
- number: string;
1969
- name: string;
1970
- apt: string;
1971
- };
1972
- };
1973
- pickupMethod: PickupDetailsPickupMethod;
1974
- };
1975
- };
1976
- cost?: {
1977
- price?: {
1978
- amount: string;
1979
- formattedAmount: string;
1980
- };
1981
- totalPriceBeforeTax?: {
1982
- amount: string;
1983
- formattedAmount: string;
1984
- };
1985
- totalPriceAfterTax?: {
1986
- amount: string;
1987
- formattedAmount: string;
1988
- };
1989
- taxDetails?: {
1990
- taxableAmount?: {
1991
- amount: string;
1992
- formattedAmount: string;
1993
- };
1994
- taxRate: string;
1995
- totalTax?: {
1996
- amount: string;
1997
- formattedAmount: string;
1998
- };
1999
- };
2000
- discount?: {
2001
- amount: string;
2002
- formattedAmount: string;
2003
- };
2004
- };
2005
- };
2006
- };
2007
- buyerInfo?: {
2008
- visitorId: string;
2009
- memberId: string;
2010
- };
2011
- billingInfo?: {
2012
- address?: {
2013
- streetAddress?: {
2014
- number: string;
2015
- name: string;
2016
- apt: string;
2017
- };
2018
- };
2019
- contactDetails?: {
2020
- vatId?: {
2021
- id: string;
2022
- type: VatType;
2023
- };
2024
- };
2025
- };
2026
- additionalFees: {
2027
- additionalFee?: {
2028
- name: string;
2029
- price?: {
2030
- amount: string;
2031
- formattedAmount: string;
2032
- };
2033
- taxDetails?: {
2034
- taxableAmount?: {
2035
- amount: string;
2036
- formattedAmount: string;
2037
- };
2038
- taxRate: string;
2039
- totalTax?: {
2040
- amount: string;
2041
- formattedAmount: string;
2042
- };
2043
- };
2044
- priceBeforeTax?: {
2045
- amount: string;
2046
- formattedAmount: string;
2047
- };
2048
- id: string;
2049
- lineItemIds: string[];
2050
- };
2051
- taxDetails?: {
2052
- taxable: boolean;
2053
- };
2054
- source: SourceType;
2055
- applied: boolean;
2056
- }[];
2057
- discounts: {
2058
- discount?: {
2059
- coupon?: {
2060
- id: string;
2061
- code: string;
2062
- name: string;
2063
- amount?: {
2064
- amount: string;
2065
- formattedAmount: string;
2066
- };
2067
- };
2068
- merchantDiscount?: {
2069
- discountReason: DiscountReason;
2070
- amount?: {
2071
- amount: string;
2072
- formattedAmount: string;
2073
- };
2074
- };
2075
- discountRule?: {
2076
- id: string;
2077
- name?: {
2078
- original: string;
2079
- };
2080
- amount?: {
2081
- amount: string;
2082
- formattedAmount: string;
2083
- };
2084
- };
2085
- discountType: AppliedDiscountDiscountType;
2086
- lineItemIds: string[];
2087
- };
2088
- source: SourceType;
2089
- applied: boolean;
2090
- }[];
2091
- createdBy?: {
2092
- userId: string;
2093
- appId: string;
2094
- };
2095
- status: EditingStatus;
2096
- weightUnit: WeightUnit;
2097
- priceSummary?: {
2098
- subtotal?: {
2099
- amount: string;
2100
- formattedAmount: string;
2101
- };
2102
- shipping?: {
2103
- amount: string;
2104
- formattedAmount: string;
2105
- };
2106
- tax?: {
2107
- amount: string;
2108
- formattedAmount: string;
2109
- };
2110
- discount?: {
2111
- amount: string;
2112
- formattedAmount: string;
2113
- };
2114
- totalPrice?: {
2115
- amount: string;
2116
- formattedAmount: string;
2117
- };
2118
- total?: {
2119
- amount: string;
2120
- formattedAmount: string;
2121
- };
2122
- totalWithGiftCard?: {
2123
- amount: string;
2124
- formattedAmount: string;
2125
- };
2126
- totalWithoutGiftCard?: {
2127
- amount: string;
2128
- formattedAmount: string;
2129
- };
2130
- totalAdditionalFees?: {
2131
- amount: string;
2132
- formattedAmount: string;
2133
- };
2134
- };
2135
- taxSummary?: {
2136
- totalTax?: {
2137
- amount: string;
2138
- formattedAmount: string;
2139
- };
2140
- };
2141
- balanceSummary?: {
2142
- balance?: {
2143
- amount: string;
2144
- formattedAmount: string;
2145
- };
2146
- paid?: {
2147
- amount: string;
2148
- formattedAmount: string;
2149
- };
2150
- refunded?: {
2151
- amount: string;
2152
- formattedAmount: string;
2153
- };
2154
- };
2155
- commitSettings?: {
2156
- updateInventory: {
2157
- lineItemId: string;
2158
- }[];
2159
- };
2160
- };
2161
- orderAfterCommit?: {
2162
- number: string;
2163
- lineItems: {
2164
- id: string;
2165
- productName?: {
2166
- original: string;
2167
- };
2168
- catalogReference?: {
2169
- catalogItemId: string;
2170
- appId: string;
2171
- };
2172
- quantity: number;
2173
- totalDiscount?: {
2174
- amount: string;
2175
- formattedAmount: string;
2176
- };
2177
- descriptionLines: {
2178
- plainText?: {
2179
- original: string;
2180
- };
2181
- colorInfo?: {
2182
- original: string;
2183
- };
2184
- plainTextValue?: {
2185
- original: string;
2186
- };
2187
- color: string;
2188
- name?: {
2189
- original: string;
2190
- };
2191
- lineType: DescriptionLineType;
2192
- }[];
2193
- image?: {
2194
- id: string;
2195
- url: string;
2196
- height: number;
2197
- width: number;
2198
- };
2199
- physicalProperties?: {
2200
- shippable: boolean;
2201
- };
2202
- itemType?: {
2203
- preset: ItemTypeItemType;
2204
- custom: string;
2205
- };
2206
- price?: {
2207
- amount: string;
2208
- formattedAmount: string;
2209
- };
2210
- priceBeforeDiscounts?: {
2211
- amount: string;
2212
- formattedAmount: string;
2213
- };
2214
- totalPriceBeforeTax?: {
2215
- amount: string;
2216
- formattedAmount: string;
2217
- };
2218
- totalPriceAfterTax?: {
2219
- amount: string;
2220
- formattedAmount: string;
2221
- };
2222
- paymentOption: PaymentOptionType;
2223
- taxDetails?: {
2224
- taxableAmount?: {
2225
- amount: string;
2226
- formattedAmount: string;
2227
- };
2228
- taxRate: string;
2229
- totalTax?: {
2230
- amount: string;
2231
- formattedAmount: string;
2232
- };
2233
- };
2234
- digitalFile?: {
2235
- fileId: string;
2236
- };
2237
- subscriptionInfo?: {
2238
- cycleNumber: number;
2239
- subscriptionOptionTitle: string;
2240
- subscriptionSettings?: {
2241
- frequency: SubscriptionFrequency;
2242
- autoRenewal: boolean;
2243
- };
2244
- };
2245
- priceDescription?: {
2246
- original: string;
2247
- };
2248
- depositAmount?: {
2249
- amount: string;
2250
- formattedAmount: string;
2251
- };
2252
- locations: {
2253
- id: string;
2254
- quantity: number;
2255
- }[];
2256
- }[];
2257
- buyerInfo?: {
2258
- visitorId: string;
2259
- memberId: string;
2260
- };
2261
- paymentStatus: PaymentStatus;
2262
- fulfillmentStatus: FulfillmentStatus;
2263
- weightUnit: WeightUnit;
2264
- taxIncludedInPrices: boolean;
2265
- priceSummary?: {
2266
- subtotal?: {
2267
- amount: string;
2268
- formattedAmount: string;
2269
- };
2270
- shipping?: {
2271
- amount: string;
2272
- formattedAmount: string;
2273
- };
2274
- tax?: {
2275
- amount: string;
2276
- formattedAmount: string;
2277
- };
2278
- discount?: {
2279
- amount: string;
2280
- formattedAmount: string;
2281
- };
2282
- totalPrice?: {
2283
- amount: string;
2284
- formattedAmount: string;
2285
- };
2286
- total?: {
2287
- amount: string;
2288
- formattedAmount: string;
2289
- };
2290
- totalWithGiftCard?: {
2291
- amount: string;
2292
- formattedAmount: string;
2293
- };
2294
- totalWithoutGiftCard?: {
2295
- amount: string;
2296
- formattedAmount: string;
2297
- };
2298
- totalAdditionalFees?: {
2299
- amount: string;
2300
- formattedAmount: string;
2301
- };
2302
- };
2303
- billingInfo?: {
2304
- address?: {
2305
- streetAddress?: {
2306
- number: string;
2307
- name: string;
2308
- apt: string;
2309
- };
2310
- };
2311
- contactDetails?: {
2312
- vatId?: {
2313
- id: string;
2314
- type: VatType;
2315
- };
2316
- };
2317
- };
2318
- shippingInfo?: {
2319
- title: string;
2320
- logistics?: {
2321
- shippingDestination?: {
2322
- address?: {
2323
- streetAddress?: {
2324
- number: string;
2325
- name: string;
2326
- apt: string;
2327
- };
2328
- };
2329
- contactDetails?: {
2330
- vatId?: {
2331
- id: string;
2332
- type: VatType;
2333
- };
2334
- };
2335
- };
2336
- pickupDetails?: {
2337
- address?: {
2338
- streetAddress?: {
2339
- number: string;
2340
- name: string;
2341
- apt: string;
2342
- };
2343
- };
2344
- pickupMethod: PickupDetailsPickupMethod;
2345
- };
2346
- };
2347
- cost?: {
2348
- price?: {
2349
- amount: string;
2350
- formattedAmount: string;
2351
- };
2352
- totalPriceBeforeTax?: {
2353
- amount: string;
2354
- formattedAmount: string;
2355
- };
2356
- totalPriceAfterTax?: {
2357
- amount: string;
2358
- formattedAmount: string;
2359
- };
2360
- taxDetails?: {
2361
- taxableAmount?: {
2362
- amount: string;
2363
- formattedAmount: string;
2364
- };
2365
- taxRate: string;
2366
- totalTax?: {
2367
- amount: string;
2368
- formattedAmount: string;
2369
- };
2370
- };
2371
- discount?: {
2372
- amount: string;
2373
- formattedAmount: string;
2374
- };
2375
- };
2376
- };
2377
- status: OrderStatus;
2378
- taxSummary?: {
2379
- totalTax?: {
2380
- amount: string;
2381
- formattedAmount: string;
2382
- };
2383
- };
2384
- appliedDiscounts: {
2385
- coupon?: {
2386
- id: string;
2387
- code: string;
2388
- name: string;
2389
- amount?: {
2390
- amount: string;
2391
- formattedAmount: string;
2392
- };
2393
- };
2394
- merchantDiscount?: {
2395
- discountReason: DiscountReason;
2396
- amount?: {
2397
- amount: string;
2398
- formattedAmount: string;
2399
- };
2400
- };
2401
- discountRule?: {
2402
- id: string;
2403
- name?: {
2404
- original: string;
2405
- };
2406
- amount?: {
2407
- amount: string;
2408
- formattedAmount: string;
2409
- };
2410
- };
2411
- discountType: AppliedDiscountDiscountType;
2412
- lineItemIds: string[];
2413
- }[];
2414
- activities: {
2415
- customActivity?: {
2416
- appId: string;
2417
- type: string;
2418
- };
2419
- merchantComment?: {
2420
- message: string;
2421
- };
2422
- orderRefunded?: {
2423
- manual: boolean;
2424
- amount?: {
2425
- amount: string;
2426
- formattedAmount: string;
2427
- };
2428
- reason: string;
2429
- };
2430
- orderCreatedFromExchange?: {
2431
- originalOrderId: string;
2432
- };
2433
- newExchangeOrderCreated?: {
2434
- exchangeOrderId: string;
2435
- lineItems: {
2436
- lineItemId: string;
2437
- quantity: number;
2438
- }[];
2439
- };
2440
- draftOrderChangesApplied?: {
2441
- draftOrderId: string;
2442
- changes: {
2443
- lineItemChanged?: {
2444
- id: string;
2445
- name?: {
2446
- original: string;
2447
- };
2448
- quantity?: {
2449
- originalQuantity: number;
2450
- newQuantity: number;
2451
- diff: number;
2452
- deltaType: LineItemQuantityChangeType;
2453
- };
2454
- price?: {
2455
- originalPrice?: {
2456
- amount: string;
2457
- formattedAmount: string;
2458
- };
2459
- newPrice?: {
2460
- amount: string;
2461
- formattedAmount: string;
2462
- };
2463
- };
2464
- };
2465
- lineItemAdded?: {
2466
- id: string;
2467
- name?: {
2468
- original: string;
2469
- };
2470
- quantity: number;
2471
- };
2472
- lineItemRemoved?: {
2473
- id: string;
2474
- name?: {
2475
- original: string;
2476
- };
2477
- quantity: number;
2478
- };
2479
- discountAdded?: {
2480
- id: string;
2481
- name?: {
2482
- original: string;
2483
- };
2484
- affectedLineItems: {
2485
- id: string;
2486
- name?: {
2487
- original: string;
2488
- };
2489
- amount?: {
2490
- amount: string;
2491
- formattedAmount: string;
2492
- };
2493
- }[];
2494
- totalAmount?: {
2495
- amount: string;
2496
- formattedAmount: string;
2497
- };
2498
- };
2499
- discountRemoved?: {
2500
- id: string;
2501
- name?: {
2502
- original: string;
2503
- };
2504
- affectedLineItems: {
2505
- id: string;
2506
- name?: {
2507
- original: string;
2508
- };
2509
- amount?: {
2510
- amount: string;
2511
- formattedAmount: string;
2512
- };
2513
- }[];
2514
- totalAmount?: {
2515
- amount: string;
2516
- formattedAmount: string;
2517
- };
2518
- };
2519
- additionalFeeAdded?: {
2520
- id: string;
2521
- name?: {
2522
- original: string;
2523
- };
2524
- affectedLineItems: {
2525
- id: string;
2526
- name?: {
2527
- original: string;
2528
- };
2529
- amount?: {
2530
- amount: string;
2531
- formattedAmount: string;
2532
- };
2533
- }[];
2534
- totalAmount?: {
2535
- amount: string;
2536
- formattedAmount: string;
2537
- };
2538
- };
2539
- additionalFeeRemoved?: {
2540
- id: string;
2541
- name?: {
2542
- original: string;
2543
- };
2544
- affectedLineItems: {
2545
- id: string;
2546
- name?: {
2547
- original: string;
2548
- };
2549
- amount?: {
2550
- amount: string;
2551
- formattedAmount: string;
2552
- };
2553
- }[];
2554
- totalAmount?: {
2555
- amount: string;
2556
- formattedAmount: string;
2557
- };
2558
- };
2559
- totalPriceChanged?: {
2560
- originalTotal?: {
2561
- amount: string;
2562
- formattedAmount: string;
2563
- };
2564
- newTotal?: {
2565
- amount: string;
2566
- formattedAmount: string;
2567
- };
2568
- };
2569
- }[];
2570
- };
2571
- type: ActivityType;
2572
- }[];
2573
- attributionSource: AttributionSource;
2574
- createdBy?: {
2575
- userId: string;
2576
- memberId: string;
2577
- visitorId: string;
2578
- appId: string;
2579
- };
2580
- channelInfo?: {
2581
- type: ChannelType;
2582
- };
2583
- customFields: {
2584
- title: string;
2585
- }[];
2586
- isInternalOrderCreate: boolean;
2587
- payNow?: {
2588
- subtotal?: {
2589
- amount: string;
2590
- formattedAmount: string;
2591
- };
2592
- shipping?: {
2593
- amount: string;
2594
- formattedAmount: string;
2595
- };
2596
- tax?: {
2597
- amount: string;
2598
- formattedAmount: string;
2599
- };
2600
- discount?: {
2601
- amount: string;
2602
- formattedAmount: string;
2603
- };
2604
- totalPrice?: {
2605
- amount: string;
2606
- formattedAmount: string;
2607
- };
2608
- total?: {
2609
- amount: string;
2610
- formattedAmount: string;
2611
- };
2612
- totalWithGiftCard?: {
2613
- amount: string;
2614
- formattedAmount: string;
2615
- };
2616
- totalWithoutGiftCard?: {
2617
- amount: string;
2618
- formattedAmount: string;
2619
- };
2620
- totalAdditionalFees?: {
2621
- amount: string;
2622
- formattedAmount: string;
2623
- };
2624
- };
2625
- balanceSummary?: {
2626
- balance?: {
2627
- amount: string;
2628
- formattedAmount: string;
2629
- };
2630
- paid?: {
2631
- amount: string;
2632
- formattedAmount: string;
2633
- };
2634
- refunded?: {
2635
- amount: string;
2636
- formattedAmount: string;
2637
- };
2638
- };
2639
- additionalFees: {
2640
- name: string;
2641
- price?: {
2642
- amount: string;
2643
- formattedAmount: string;
2644
- };
2645
- taxDetails?: {
2646
- taxableAmount?: {
2647
- amount: string;
2648
- formattedAmount: string;
2649
- };
2650
- taxRate: string;
2651
- totalTax?: {
2652
- amount: string;
2653
- formattedAmount: string;
2654
- };
2655
- };
2656
- priceBeforeTax?: {
2657
- amount: string;
2658
- formattedAmount: string;
2659
- };
2660
- id: string;
2661
- lineItemIds: string[];
2662
- }[];
2663
- };
2664
- }
2665
- export interface QueryDraftOrdersResponseNonNullableFields {
2666
- draftOrders: {
2667
- lineItems: {
2668
- added: boolean;
2669
- changedDetails?: {
2670
- priceBeforeChange?: {
2671
- amount: string;
2672
- formattedAmount: string;
2673
- };
2674
- priceDescriptionBeforeChange?: {
2675
- original: string;
2676
- };
2677
- };
2678
- removed: boolean;
2679
- lineItem?: {
2680
- id: string;
2681
- productName?: {
2682
- original: string;
2683
- };
2684
- catalogReference?: {
2685
- catalogItemId: string;
2686
- appId: string;
2687
- };
2688
- quantity: number;
2689
- totalDiscount?: {
2690
- amount: string;
2691
- formattedAmount: string;
2692
- };
2693
- descriptionLines: {
2694
- plainText?: {
2695
- original: string;
2696
- };
2697
- colorInfo?: {
2698
- original: string;
2699
- };
2700
- plainTextValue?: {
2701
- original: string;
2702
- };
2703
- color: string;
2704
- name?: {
2705
- original: string;
2706
- };
2707
- lineType: DescriptionLineType;
2708
- }[];
2709
- image?: {
2710
- id: string;
2711
- url: string;
2712
- height: number;
2713
- width: number;
2714
- };
2715
- physicalProperties?: {
2716
- shippable: boolean;
2717
- };
2718
- itemType?: {
2719
- preset: ItemTypeItemType;
2720
- custom: string;
2721
- };
2722
- price?: {
2723
- amount: string;
2724
- formattedAmount: string;
2725
- };
2726
- priceBeforeDiscounts?: {
2727
- amount: string;
2728
- formattedAmount: string;
2729
- };
2730
- totalPriceBeforeTax?: {
2731
- amount: string;
2732
- formattedAmount: string;
2733
- };
2734
- totalPriceAfterTax?: {
2735
- amount: string;
2736
- formattedAmount: string;
2737
- };
2738
- paymentOption: PaymentOptionType;
2739
- taxDetails?: {
2740
- taxableAmount?: {
2741
- amount: string;
2742
- formattedAmount: string;
2743
- };
2744
- taxRate: string;
2745
- totalTax?: {
2746
- amount: string;
2747
- formattedAmount: string;
2748
- };
2749
- };
2750
- digitalFile?: {
2751
- fileId: string;
2752
- };
2753
- subscriptionInfo?: {
2754
- cycleNumber: number;
2755
- subscriptionOptionTitle: string;
2756
- subscriptionSettings?: {
2757
- frequency: SubscriptionFrequency;
2758
- autoRenewal: boolean;
2759
- };
2760
- };
2761
- priceDescription?: {
2762
- original: string;
2763
- };
2764
- depositAmount?: {
2765
- amount: string;
2766
- formattedAmount: string;
2767
- };
2768
- locations: {
2769
- id: string;
2770
- quantity: number;
2771
- }[];
2772
- };
2773
- }[];
2774
- shippingInfo?: {
2775
- added: boolean;
2776
- changedDetails?: {
2777
- shippingInfoBeforeChange?: {
2778
- title: string;
2779
- logistics?: {
2780
- shippingDestination?: {
2781
- address?: {
2782
- streetAddress?: {
2783
- number: string;
2784
- name: string;
2785
- apt: string;
2786
- };
2787
- };
2788
- contactDetails?: {
2789
- vatId?: {
2790
- id: string;
2791
- type: VatType;
2792
- };
2793
- };
2794
- };
2795
- pickupDetails?: {
2796
- address?: {
2797
- streetAddress?: {
2798
- number: string;
2799
- name: string;
2800
- apt: string;
2801
- };
2802
- };
2803
- pickupMethod: PickupDetailsPickupMethod;
2804
- };
2805
- };
2806
- cost?: {
2807
- price?: {
2808
- amount: string;
2809
- formattedAmount: string;
2810
- };
2811
- totalPriceBeforeTax?: {
2812
- amount: string;
2813
- formattedAmount: string;
2814
- };
2815
- totalPriceAfterTax?: {
2816
- amount: string;
2817
- formattedAmount: string;
2818
- };
2819
- taxDetails?: {
2820
- taxableAmount?: {
2821
- amount: string;
2822
- formattedAmount: string;
2823
- };
2824
- taxRate: string;
2825
- totalTax?: {
2826
- amount: string;
2827
- formattedAmount: string;
2828
- };
2829
- };
2830
- discount?: {
2831
- amount: string;
2832
- formattedAmount: string;
2833
- };
2834
- };
2835
- };
2836
- };
2837
- removed: boolean;
2838
- shippingInfo?: {
2839
- title: string;
2840
- logistics?: {
2841
- shippingDestination?: {
2842
- address?: {
2843
- streetAddress?: {
2844
- number: string;
2845
- name: string;
2846
- apt: string;
2847
- };
2848
- };
2849
- contactDetails?: {
2850
- vatId?: {
2851
- id: string;
2852
- type: VatType;
2853
- };
2854
- };
2855
- };
2856
- pickupDetails?: {
2857
- address?: {
2858
- streetAddress?: {
2859
- number: string;
2860
- name: string;
2861
- apt: string;
2862
- };
2863
- };
2864
- pickupMethod: PickupDetailsPickupMethod;
2865
- };
2866
- };
2867
- cost?: {
2868
- price?: {
2869
- amount: string;
2870
- formattedAmount: string;
2871
- };
2872
- totalPriceBeforeTax?: {
2873
- amount: string;
2874
- formattedAmount: string;
2875
- };
2876
- totalPriceAfterTax?: {
2877
- amount: string;
2878
- formattedAmount: string;
2879
- };
2880
- taxDetails?: {
2881
- taxableAmount?: {
2882
- amount: string;
2883
- formattedAmount: string;
2884
- };
2885
- taxRate: string;
2886
- totalTax?: {
2887
- amount: string;
2888
- formattedAmount: string;
2889
- };
2890
- };
2891
- discount?: {
2892
- amount: string;
2893
- formattedAmount: string;
2894
- };
2895
- };
2896
- };
2897
- };
2898
- buyerInfo?: {
2899
- visitorId: string;
2900
- memberId: string;
2901
- };
2902
- billingInfo?: {
2903
- address?: {
2904
- streetAddress?: {
2905
- number: string;
2906
- name: string;
2907
- apt: string;
2908
- };
2909
- };
2910
- contactDetails?: {
2911
- vatId?: {
2912
- id: string;
2913
- type: VatType;
2914
- };
2915
- };
2916
- };
2917
- additionalFees: {
2918
- additionalFee?: {
2919
- name: string;
2920
- price?: {
2921
- amount: string;
2922
- formattedAmount: string;
2923
- };
2924
- taxDetails?: {
2925
- taxableAmount?: {
2926
- amount: string;
2927
- formattedAmount: string;
2928
- };
2929
- taxRate: string;
2930
- totalTax?: {
2931
- amount: string;
2932
- formattedAmount: string;
2933
- };
2934
- };
2935
- priceBeforeTax?: {
2936
- amount: string;
2937
- formattedAmount: string;
2938
- };
2939
- id: string;
2940
- lineItemIds: string[];
2941
- };
2942
- taxDetails?: {
2943
- taxable: boolean;
2944
- };
2945
- source: SourceType;
2946
- applied: boolean;
2947
- }[];
2948
- discounts: {
2949
- discount?: {
2950
- coupon?: {
2951
- id: string;
2952
- code: string;
2953
- name: string;
2954
- amount?: {
2955
- amount: string;
2956
- formattedAmount: string;
2957
- };
2958
- };
2959
- merchantDiscount?: {
2960
- discountReason: DiscountReason;
2961
- amount?: {
2962
- amount: string;
2963
- formattedAmount: string;
2964
- };
2965
- };
2966
- discountRule?: {
2967
- id: string;
2968
- name?: {
2969
- original: string;
2970
- };
2971
- amount?: {
2972
- amount: string;
2973
- formattedAmount: string;
2974
- };
2975
- };
2976
- discountType: AppliedDiscountDiscountType;
2977
- lineItemIds: string[];
2978
- };
2979
- source: SourceType;
2980
- applied: boolean;
2981
- }[];
2982
- createdBy?: {
2983
- userId: string;
2984
- appId: string;
2985
- };
2986
- status: EditingStatus;
2987
- weightUnit: WeightUnit;
2988
- priceSummary?: {
2989
- subtotal?: {
2990
- amount: string;
2991
- formattedAmount: string;
2992
- };
2993
- shipping?: {
2994
- amount: string;
2995
- formattedAmount: string;
2996
- };
2997
- tax?: {
2998
- amount: string;
2999
- formattedAmount: string;
3000
- };
3001
- discount?: {
3002
- amount: string;
3003
- formattedAmount: string;
3004
- };
3005
- totalPrice?: {
3006
- amount: string;
3007
- formattedAmount: string;
3008
- };
3009
- total?: {
3010
- amount: string;
3011
- formattedAmount: string;
3012
- };
3013
- totalWithGiftCard?: {
3014
- amount: string;
3015
- formattedAmount: string;
3016
- };
3017
- totalWithoutGiftCard?: {
3018
- amount: string;
3019
- formattedAmount: string;
3020
- };
3021
- totalAdditionalFees?: {
3022
- amount: string;
3023
- formattedAmount: string;
3024
- };
3025
- };
3026
- taxSummary?: {
3027
- totalTax?: {
3028
- amount: string;
3029
- formattedAmount: string;
3030
- };
3031
- };
3032
- balanceSummary?: {
3033
- balance?: {
3034
- amount: string;
3035
- formattedAmount: string;
3036
- };
3037
- paid?: {
3038
- amount: string;
3039
- formattedAmount: string;
3040
- };
3041
- refunded?: {
3042
- amount: string;
3043
- formattedAmount: string;
3044
- };
3045
- };
3046
- commitSettings?: {
3047
- updateInventory: {
3048
- lineItemId: string;
3049
- }[];
3050
- };
3051
- }[];
3052
- }