@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,1696 +0,0 @@
1
- import { EventDefinition } from '@wix/sdk-types';
2
- export interface OrderTransactions {
3
- /** Order ID. */
4
- orderId?: string;
5
- /** Record of payments made to the merchant. */
6
- payments?: Payment[];
7
- /** Record of refunds made to the buyer. */
8
- refunds?: Refund[];
9
- }
10
- export interface Payment extends PaymentPaymentDetailsOneOf {
11
- /** Regular payment details. */
12
- regularPaymentDetails?: RegularPaymentDetails;
13
- /** Gift card payment details. */
14
- giftcardPaymentDetails?: GiftCardPaymentDetails;
15
- /**
16
- * Payment ID.
17
- * @readonly
18
- */
19
- _id?: string | null;
20
- /** Date and time the payment was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. Defaults to current time when not provided. */
21
- _createdDate?: Date;
22
- /**
23
- * Date and time the payment was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
24
- * @readonly
25
- */
26
- _updatedDate?: Date;
27
- /** Payment amount. */
28
- amount?: Price;
29
- /**
30
- * Whether refunds for this payment are disabled.
31
- * + `true`: This payment is not refundable.
32
- * + `false`: This payment may be refunded. However, this ultimately depends on the payment provider.
33
- */
34
- refundDisabled?: boolean;
35
- }
36
- /** @oneof */
37
- export interface PaymentPaymentDetailsOneOf {
38
- /** Regular payment details. */
39
- regularPaymentDetails?: RegularPaymentDetails;
40
- /** Gift card payment details. */
41
- giftcardPaymentDetails?: GiftCardPaymentDetails;
42
- }
43
- export interface RegularPaymentDetails {
44
- /** Wix Payments order ID. */
45
- paymentOrderId?: string | null;
46
- /**
47
- * Payment gateway's transaction ID. This ID can be used with the Wix Payments [Transactions API](https://dev.wix.com/docs/rest/api-reference/wix-payments/transactions/introduction).
48
- * This field is only returned when the value of `offline_payment` is `false`.
49
- */
50
- gatewayTransactionId?: string | null;
51
- /**
52
- * Payment method. Non-exhaustive list of supported values:
53
- * + `CreditCard`, `Alipay`, `AstropayCash`, `AstropayDBT`, `AstropayMBT`, `Bitcoin`, `BitPay`, `Cash`, `ConvenienceStore`, `EPay`, `Fake`, `Giropay`, `IDeal`, `InPerson`, `Klarna`, `MercadoPago`, `Netpay`, `NordeaSolo`, `Offline`, `PagSeguro`, `PayEasy`, `PayPal`, `Paysafecard`, `Paysafecash`, `PointOfSale`, `Poli`, `Privat24`, `Przelewy24`, `RapidTransfer`, `Sepa`, `Skrill`, `Sofort`, `Trustly`, `Neteller`, `Unionpay`, `UniPay`, `Yandex`
54
- */
55
- paymentMethod?: string | null;
56
- /** Transaction ID in the payment provider's system. For example, at PayPal, Square, Stripe, etc. Not returned for offline payments. */
57
- providerTransactionId?: string | null;
58
- /** Whether the payment was made offline. For example, when using cash or when marked as paid in the Business Manager. */
59
- offlinePayment?: boolean;
60
- /** Payment status. */
61
- status?: TransactionStatus;
62
- }
63
- export declare enum TransactionStatus {
64
- UNDEFINED = "UNDEFINED",
65
- APPROVED = "APPROVED",
66
- PENDING = "PENDING",
67
- PENDING_MERCHANT = "PENDING_MERCHANT",
68
- CANCELED = "CANCELED",
69
- DECLINED = "DECLINED",
70
- REFUNDED = "REFUNDED",
71
- PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
72
- AUTHORIZED = "AUTHORIZED",
73
- VOIDED = "VOIDED"
74
- }
75
- export interface GiftCardPaymentDetails {
76
- /** Gift card payment ID. */
77
- giftCardPaymentId?: string;
78
- /** ID of the app that created the gift card. */
79
- appId?: string;
80
- /**
81
- * Whether the gift card is voided.
82
- * @readonly
83
- */
84
- voided?: boolean;
85
- }
86
- export interface MembershipPaymentDetails {
87
- /** Membership ID. */
88
- membershipId?: string;
89
- /** ID of the line item this membership applies to. */
90
- lineItemId?: string;
91
- /** Payment status. */
92
- status?: MembershipPaymentStatus;
93
- /** Membership name. */
94
- name?: MembershipName;
95
- /** The transaction ID in the membership system. Can be used to void the transaction. */
96
- externalTransactionId?: string | null;
97
- /**
98
- * Whether the membership is voided.
99
- * @readonly
100
- */
101
- voided?: boolean;
102
- /** ID of the application providing this payment option. */
103
- providerAppId?: string;
104
- }
105
- export declare enum MembershipPaymentStatus {
106
- /** CHARGED - Payment was charged */
107
- CHARGED = "CHARGED",
108
- /** CHARGE_FAILED - The attempt to charge that payment have failed, for example due to lack of credits */
109
- CHARGE_FAILED = "CHARGE_FAILED"
110
- }
111
- export interface MembershipName {
112
- /** The name of this membership */
113
- original?: string;
114
- /** Optional - Translated name of this membership. Defaults to `original` when not provided. */
115
- translated?: string | null;
116
- }
117
- export interface Price {
118
- /** Amount. */
119
- amount?: string;
120
- /**
121
- * Amount formatted with currency symbol.
122
- * @readonly
123
- */
124
- formattedAmount?: string;
125
- }
126
- export interface Refund {
127
- /**
128
- * Refund ID.
129
- * @readonly
130
- */
131
- _id?: string;
132
- /** List of transactions. */
133
- transactions?: RefundTransaction[];
134
- /** Refund business details. */
135
- details?: RefundDetails;
136
- /** Date and time the refund was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. Defaults to current time when not provided. */
137
- _createdDate?: Date;
138
- }
139
- export interface RefundTransaction {
140
- /** ID of the payment associated with this refund. */
141
- paymentId?: string;
142
- /** Refund amount. */
143
- amount?: Price;
144
- /** Refund status. */
145
- refundStatus?: RefundStatus;
146
- /**
147
- * Payment gateway's refund ID. This ID can be used with the Wix Payments [Transactions API](https://dev.wix.com/docs/rest/api-reference/wix-payments/transactions/introduction).
148
- * This field is only returned when the value of `external_refund` is `false`.
149
- */
150
- gatewayRefundId?: string | null;
151
- /** ID of the refund in the payment provider's system. For example, at PayPal, Square, Stripe, etc. Not returned for external refunds. */
152
- providerRefundId?: string | null;
153
- /** Whether refund was made externally and manually on the payment provider's side. */
154
- externalRefund?: boolean;
155
- }
156
- export declare enum RefundStatus {
157
- PENDING = "PENDING",
158
- SUCCEEDED = "SUCCEEDED",
159
- FAILED = "FAILED"
160
- }
161
- /** Business model of a refund request */
162
- export interface RefundDetails {
163
- /** Order line item IDs and quantities that were refunded. */
164
- items?: RefundItem[];
165
- /** Whether the shipping fee was also refunded. */
166
- shippingIncluded?: boolean;
167
- /** Reason for the refund, provided by customer (optional). */
168
- reason?: string | null;
169
- }
170
- export interface RefundItem {
171
- /** Line item ID the refunded line item. */
172
- lineItemId?: string;
173
- /** Line item quantity refunded. */
174
- quantity?: number;
175
- }
176
- export interface SnapshotMessage {
177
- _id?: string;
178
- opType?: number;
179
- }
180
- export interface IndexingMessage {
181
- _id?: string;
182
- opType?: number;
183
- requiredVersions?: string[];
184
- }
185
- export interface DiffmatokyPayload {
186
- left?: string;
187
- right?: string;
188
- compareChannel?: string;
189
- entityId?: string;
190
- errorInformation?: ErrorInformation;
191
- tags?: string[];
192
- }
193
- export interface ErrorInformation {
194
- stackTrace?: string;
195
- }
196
- export interface OrderRefunded {
197
- /**
198
- * Refund ID.
199
- * @readonly
200
- */
201
- refundId?: string;
202
- /**
203
- * Refunded order data.
204
- * @readonly
205
- */
206
- order?: Order;
207
- }
208
- export interface Order {
209
- /**
210
- * Order ID (auto-generated upon order creation).
211
- * @readonly
212
- */
213
- _id?: string | null;
214
- /**
215
- * Order number displayed in the owner's store (auto-generated).
216
- * @readonly
217
- */
218
- number?: number;
219
- /**
220
- * Order creation date and time.
221
- * @readonly
222
- */
223
- dateCreated?: Date;
224
- /** Buyer information. */
225
- buyerInfo?: BuyerInfo;
226
- /** 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. */
227
- currency?: string | null;
228
- /** Weight unit used in this store. */
229
- weightUnit?: WeightUnit;
230
- /** Totals for order's line items. */
231
- totals?: Totals;
232
- /** Billing information. */
233
- billingInfo?: BillingInfo;
234
- /** Shipping information. */
235
- shippingInfo?: ShippingInfo;
236
- /** A note added by the buyer. */
237
- buyerNote?: string | null;
238
- /**
239
- * Deprecated.
240
- * @readonly
241
- */
242
- read?: boolean;
243
- /**
244
- * Whether or not the order was archived.
245
- * @readonly
246
- */
247
- archived?: boolean;
248
- /** Current status of the payment. */
249
- paymentStatus?: PaymentStatus;
250
- /**
251
- * Order's current fulfillment status (whether the order received a tracking number or was delivered/picked up).
252
- * @readonly
253
- */
254
- fulfillmentStatus?: FulfillmentStatus;
255
- /** Line items ordered. */
256
- lineItems?: LineItem[];
257
- /**
258
- * Log of updates related to the order.
259
- * @readonly
260
- */
261
- activities?: Activity[];
262
- /** Invoice information. */
263
- invoiceInfo?: V2InvoiceInfo;
264
- /**
265
- * Order fulfillment information.
266
- * @readonly
267
- */
268
- fulfillments?: Fulfillment[];
269
- /** Discount information. */
270
- discount?: Discount;
271
- /** Custom field information. */
272
- customField?: CustomField;
273
- /** Shopping cart ID. */
274
- cartId?: string | null;
275
- /**
276
- * Language for communication with the buyer. Defaults to the site language.
277
- * For a site that supports multiple languages, this is the language the buyer selected.
278
- */
279
- buyerLanguage?: string | null;
280
- /** Information about the sales channel that submitted this order. */
281
- channelInfo?: ChannelInfo;
282
- /**
283
- * Identity of the order's initiator.
284
- * @readonly
285
- */
286
- enteredBy?: EnteredBy;
287
- /**
288
- * Date and time of latest update.
289
- * @readonly
290
- */
291
- lastUpdated?: Date;
292
- /** Subscription information. */
293
- subscriptionInfo?: SubscriptionInfo;
294
- /**
295
- * Order’s unique numeric ID.
296
- * Primarily used for sorting and filtering when crawling all orders.
297
- * @readonly
298
- */
299
- numericId?: string;
300
- /**
301
- * Refund information.
302
- * @readonly
303
- */
304
- refunds?: V2Refund[];
305
- }
306
- /** Buyer Info */
307
- export interface BuyerInfo {
308
- /** Wix customer ID */
309
- _id?: string | null;
310
- /**
311
- * Deprecated (use identityType instead)
312
- * @readonly
313
- */
314
- type?: IdentityType;
315
- /** Customer type */
316
- identityType?: IdentityType;
317
- /**
318
- * Customer's first name
319
- * @readonly
320
- */
321
- firstName?: string;
322
- /**
323
- * Customer's last name
324
- * @readonly
325
- */
326
- lastName?: string;
327
- /**
328
- * Customer's phone number
329
- * @readonly
330
- */
331
- phone?: string | null;
332
- /**
333
- * Customer's email address
334
- * @readonly
335
- */
336
- email?: string;
337
- }
338
- export declare enum IdentityType {
339
- UNSPECIFIED_IDENTITY_TYPE = "UNSPECIFIED_IDENTITY_TYPE",
340
- /** Site member */
341
- MEMBER = "MEMBER",
342
- /** Contact */
343
- CONTACT = "CONTACT"
344
- }
345
- export declare enum WeightUnit {
346
- /** Weight unit can't be classified, due to an error */
347
- UNSPECIFIED_WEIGHT_UNIT = "UNSPECIFIED_WEIGHT_UNIT",
348
- /** Kilograms */
349
- KG = "KG",
350
- /** Pounds */
351
- LB = "LB"
352
- }
353
- export interface Totals {
354
- /** Subtotal of all the line items, before tax. */
355
- subtotal?: string;
356
- /** Total shipping price, before tax. */
357
- shipping?: string | null;
358
- /** Total tax. */
359
- tax?: string | null;
360
- /** Total calculated discount value. */
361
- discount?: string | null;
362
- /** Total price charged. */
363
- total?: string;
364
- /**
365
- * Total items weight.
366
- * @readonly
367
- */
368
- weight?: string;
369
- /**
370
- * Total number of line items.
371
- * @readonly
372
- */
373
- quantity?: number;
374
- /**
375
- * Total refund.
376
- * @readonly
377
- */
378
- refund?: string | null;
379
- /** Total calculated gift card value. */
380
- giftCard?: string | null;
381
- }
382
- export interface BillingInfo {
383
- /** Payment method used for this order */
384
- paymentMethod?: string | null;
385
- /**
386
- * Deprecated (use paymentProviderTransactionId instead)
387
- * @readonly
388
- */
389
- externalTransactionId?: string | null;
390
- /** Transaction ID from payment provider (e.g., PayPal, Square, Stripe) transaction ID */
391
- paymentProviderTransactionId?: string | null;
392
- /** Transaction ID from payment gateway (e.g., Wix Payments) */
393
- paymentGatewayTransactionId?: string | null;
394
- /** Full billing address */
395
- address?: Address;
396
- /**
397
- * Payment date
398
- * @readonly
399
- */
400
- paidDate?: Date;
401
- /** Whether order can be refunded by payment provider (manually or automatic) */
402
- refundableByPaymentProvider?: boolean | null;
403
- }
404
- export interface Address extends AddressAddressLine1OptionsOneOf {
405
- /** Address line 1 (free text) */
406
- addressLine1?: string;
407
- /** Address line 1 (street) */
408
- street?: Street;
409
- /** Addressee name */
410
- fullName?: FullName;
411
- /** Country code (2 letters) */
412
- country?: string | null;
413
- /** State or district */
414
- subdivision?: string | null;
415
- /** City name */
416
- city?: string | null;
417
- /** ZIP/postal code */
418
- zipCode?: string | null;
419
- /** Phone number */
420
- phone?: string | null;
421
- /** Company name */
422
- company?: string | null;
423
- /** Email address */
424
- email?: string | null;
425
- /** address line */
426
- addressLine2?: string | null;
427
- /** Tax information (for Brazil only) */
428
- vatId?: VatId;
429
- }
430
- /** @oneof */
431
- export interface AddressAddressLine1OptionsOneOf {
432
- /** Address line 1 (free text) */
433
- addressLine1?: string;
434
- /** Address line 1 (street) */
435
- street?: Street;
436
- }
437
- export interface FullName {
438
- /** Customer's first name */
439
- firstName?: string;
440
- /** Customer's last name */
441
- lastName?: string;
442
- }
443
- export interface Street {
444
- /** Street number */
445
- number?: string;
446
- /** Street name */
447
- name?: string;
448
- }
449
- export interface VatId {
450
- /** Customer's tax ID. */
451
- number?: string;
452
- /**
453
- * Tax type.
454
- * + `CPF`: For individual tax payers.
455
- * + `CNPJ`: For corporations.
456
- */
457
- type?: VatType;
458
- }
459
- /** Brazilian tax info types */
460
- export declare enum VatType {
461
- /** When the tax info type can't be classified, due to an error */
462
- UNSPECIFIED_TAX_TYPE = "UNSPECIFIED_TAX_TYPE",
463
- /** CPF - for individual tax payers */
464
- CPF = "CPF",
465
- /** CNPJ - for corporations */
466
- CNPJ = "CNPJ"
467
- }
468
- export interface ShippingInfo extends ShippingInfoDetailsOneOf {
469
- /** Shipment details (when this object describes shipment). */
470
- shipmentDetails?: ShipmentDetails;
471
- /** Pickup details (when this object describes pickup). */
472
- pickupDetails?: PickupDetails;
473
- /** Shipping option name. */
474
- deliveryOption?: string;
475
- /** Shipping option delivery time. */
476
- estimatedDeliveryTime?: string | null;
477
- /** Deprecated - Latest expected delivery date. */
478
- deliverByDate?: Date;
479
- /** Shipping region. */
480
- shippingRegion?: string | null;
481
- /**
482
- * Unique code of provided shipping option. For example, `"usps_std_overnight"`.
483
- * @readonly
484
- */
485
- code?: string | null;
486
- }
487
- /** @oneof */
488
- export interface ShippingInfoDetailsOneOf {
489
- /** Shipment details (when this object describes shipment). */
490
- shipmentDetails?: ShipmentDetails;
491
- /** Pickup details (when this object describes pickup). */
492
- pickupDetails?: PickupDetails;
493
- }
494
- export interface ShipmentDetails {
495
- /** Shipping destination address. */
496
- address?: Address;
497
- /**
498
- * Deprecated (use fulfillments instead).
499
- * @readonly
500
- */
501
- trackingInfo?: TrackingInfo;
502
- /** Discount applied for shipping. */
503
- discount?: string | null;
504
- /** Tax applied for shipping. */
505
- tax?: string | null;
506
- /** Price data. */
507
- priceData?: ShippingPriceData;
508
- }
509
- export interface TrackingInfo {
510
- /**
511
- * Tracking number
512
- * @readonly
513
- */
514
- trackingNumber?: string | null;
515
- /**
516
- * Shipping provider
517
- * @readonly
518
- */
519
- shippingProvider?: string | null;
520
- /**
521
- * Tracking link
522
- * @readonly
523
- */
524
- trackingLink?: string | null;
525
- }
526
- export interface ShippingPriceData {
527
- /** Whether tax is included in the price. */
528
- taxIncludedInPrice?: boolean;
529
- /** Shipping price. */
530
- price?: string | null;
531
- }
532
- export interface PickupDetails {
533
- /** Pickup address. */
534
- pickupAddress?: PickupAddress;
535
- /**
536
- * Deprecated (use billingInfo instead).
537
- * @readonly
538
- */
539
- buyerDetails?: BuyerDetails;
540
- /** Store owner's pickup instructions. */
541
- pickupInstructions?: string | null;
542
- }
543
- export interface PickupAddress {
544
- /** Country code (3 letters) */
545
- country?: string;
546
- /** State/District */
547
- subdivision?: string | null;
548
- /** Address */
549
- addressLine1?: string;
550
- /** City */
551
- city?: string;
552
- /** ZIP/postal code */
553
- zipCode?: string;
554
- }
555
- export interface BuyerDetails {
556
- /** Addressee name */
557
- fullName?: FullName;
558
- /** Email address */
559
- email?: string;
560
- /** Phone number */
561
- phone?: string;
562
- }
563
- /** This might be extended in the future with pending orders statuses */
564
- export declare enum PaymentStatus {
565
- /** Payment status can't be classified, due to an error */
566
- UNSPECIFIED_PAYMENT_STATUS = "UNSPECIFIED_PAYMENT_STATUS",
567
- /** Order is pending response from the payment provider */
568
- PENDING = "PENDING",
569
- /** Order is marked as not paid, and can be marked as paid later on. This is relevant for POS and offline orders */
570
- NOT_PAID = "NOT_PAID",
571
- /** The order is marked as paid */
572
- PAID = "PAID",
573
- /** Order was refunded, refund amount less than order total price */
574
- PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
575
- /** Full order total price was refunded */
576
- FULLY_REFUNDED = "FULLY_REFUNDED",
577
- /** At least one payment was received and approved, covering less than total price amount */
578
- PARTIALLY_PAID = "PARTIALLY_PAID"
579
- }
580
- export declare enum FulfillmentStatus {
581
- /** None of the order items are fulfilled */
582
- NOT_FULFILLED = "NOT_FULFILLED",
583
- /**
584
- * All of the order items are fulfilled
585
- * Orders without shipping info are fulfilled automatically
586
- */
587
- FULFILLED = "FULFILLED",
588
- /** Order is canceled */
589
- CANCELED = "CANCELED",
590
- /** Some, but not all of the order items are fulfilled */
591
- PARTIALLY_FULFILLED = "PARTIALLY_FULFILLED"
592
- }
593
- export interface LineItem {
594
- /**
595
- * Line item ID (auto-generated, stable within this order only)
596
- * @readonly
597
- */
598
- index?: number | null;
599
- /** Line item quantity */
600
- quantity?: number;
601
- /**
602
- * Deprecated (use priceData instead)
603
- * @readonly
604
- */
605
- price?: string | null;
606
- /** Line item name */
607
- name?: string | null;
608
- /** Product name, translated into the customer's language */
609
- translatedName?: string | null;
610
- /** Line item product ID (optional for POS orders) */
611
- productId?: string | null;
612
- /**
613
- * Deprecated (use priceData instead)
614
- * @readonly
615
- */
616
- totalPrice?: string | null;
617
- /** Line item type (may be extended) */
618
- lineItemType?: LineItemType;
619
- /** Line item options ordered */
620
- options?: OptionSelection[];
621
- /** Line item custom text field entry */
622
- customTextFields?: CustomTextFieldSelection[];
623
- /** Line item weight */
624
- weight?: string | null;
625
- /** Primary media for preview of the line item */
626
- mediaItem?: MediaItem;
627
- /** Line item SKU */
628
- sku?: string | null;
629
- /** Line item notes */
630
- notes?: string | null;
631
- /** Line item variantId (from Stores Catalog) */
632
- variantId?: string | null;
633
- /** Line item fulfillerId from stores fulfillers. No value equals self fulfilled */
634
- fulfillerId?: string | null;
635
- /** Discount applied for this line item */
636
- discount?: string | null;
637
- /** Tax applied for this line item */
638
- tax?: string | null;
639
- /**
640
- * Deprecated (use priceData instead)
641
- * @readonly
642
- */
643
- taxIncludedInPrice?: boolean;
644
- /** Tax group ID */
645
- taxGroupId?: string | null;
646
- /** Price data */
647
- priceData?: LineItemPriceData;
648
- }
649
- export declare enum LineItemType {
650
- /** Line item type can't be classified, due to an error */
651
- UNSPECIFIED_LINE_ITEM_TYPE = "UNSPECIFIED_LINE_ITEM_TYPE",
652
- /** Physical item type */
653
- PHYSICAL = "PHYSICAL",
654
- /** Digital item type */
655
- DIGITAL = "DIGITAL",
656
- /** Custom item price */
657
- CUSTOM_AMOUNT_ITEM = "CUSTOM_AMOUNT_ITEM"
658
- }
659
- export interface OptionSelection {
660
- /** Option name */
661
- option?: string;
662
- /** Selected choice for this option */
663
- selection?: string;
664
- }
665
- export interface CustomTextFieldSelection {
666
- /** Custom text field name */
667
- title?: string;
668
- /** Custom text field value */
669
- value?: string;
670
- }
671
- export interface MediaItem {
672
- /**
673
- * Media type
674
- * @readonly
675
- */
676
- mediaType?: MediaItemType;
677
- /**
678
- * Media URL
679
- * @readonly
680
- */
681
- url?: string;
682
- /**
683
- * Media item width
684
- * @readonly
685
- */
686
- width?: number;
687
- /**
688
- * Media item height
689
- * @readonly
690
- */
691
- height?: number;
692
- /** Deprecated */
693
- mediaId?: string | null;
694
- /** Media ID (for media items previously saved in Wix Media) */
695
- _id?: string | null;
696
- /** Media external URL */
697
- externalImageUrl?: string | null;
698
- /** Alternative text for presentation when media cannot be displayed */
699
- altText?: string | null;
700
- }
701
- export declare enum MediaItemType {
702
- /** Media item type can't be classified, due to an error */
703
- UNSPECIFIED_MEDIA_TYPE_ITEM = "UNSPECIFIED_MEDIA_TYPE_ITEM",
704
- /** Image item type */
705
- IMAGE = "IMAGE"
706
- }
707
- export interface LineItemPriceData {
708
- /** Whether tax is included in the price set for this line item */
709
- taxIncludedInPrice?: boolean;
710
- /** Line item price */
711
- price?: string;
712
- /**
713
- * Total price charged to the customer (per line item) after computation of quantity and discount
714
- * @readonly
715
- */
716
- totalPrice?: string | null;
717
- }
718
- export interface DigitalFile {
719
- /** id of the secure file in media */
720
- fileId?: string;
721
- }
722
- export interface Activity {
723
- /**
724
- * Activity item type
725
- * @readonly
726
- */
727
- type?: ActivityType;
728
- /**
729
- * Activity item author
730
- * @readonly
731
- */
732
- author?: string | null;
733
- /**
734
- * Comment added to activity item
735
- * @readonly
736
- */
737
- message?: string | null;
738
- /**
739
- * Activity item timestamp
740
- * @readonly
741
- */
742
- timestamp?: Date;
743
- }
744
- export declare enum ActivityType {
745
- /** Activity item type can't be classified, due to an error */
746
- UNSPECIFIED_ORDER_HISTORY_ITEM_TYPE = "UNSPECIFIED_ORDER_HISTORY_ITEM_TYPE",
747
- /** Store owner added a comment */
748
- MERCHANT_COMMENT = "MERCHANT_COMMENT",
749
- /** Order placed */
750
- ORDER_PLACED = "ORDER_PLACED",
751
- /** Order marked as paid, either by the store owner (for offline orders), or when an online transaction was confirmed */
752
- ORDER_PAID = "ORDER_PAID",
753
- /** Order shipping status set as fulfilled */
754
- ORDER_FULFILLED = "ORDER_FULFILLED",
755
- /** Order shipping status set as not fulfilled */
756
- ORDER_NOT_FULFILLED = "ORDER_NOT_FULFILLED",
757
- /** A download link was sent (relevant for orders with digital line items) */
758
- DOWNLOAD_LINK_SENT = "DOWNLOAD_LINK_SENT",
759
- /** An email notification for pickup was sent */
760
- PICKUP_READY_EMAIL_SENT = "PICKUP_READY_EMAIL_SENT",
761
- /** Shipping tracking number was set */
762
- TRACKING_NUMBER_ADDED = "TRACKING_NUMBER_ADDED",
763
- /** Shipping tracking number was edited */
764
- TRACKING_NUMBER_EDITED = "TRACKING_NUMBER_EDITED",
765
- /** Shipping tracking link was set */
766
- TRACKING_LINK_WAS_SET = "TRACKING_LINK_WAS_SET",
767
- /** An email confirmation of order shipment was sent */
768
- SHIPPING_CONFIRMATION_EMAIL_SENT = "SHIPPING_CONFIRMATION_EMAIL_SENT",
769
- /** Invoice was set in the order */
770
- INVOICE_WAS_SET = "INVOICE_WAS_SET",
771
- /** Invoice was removed from the order */
772
- INVOICE_WAS_REMOVED = "INVOICE_WAS_REMOVED",
773
- /** Invoice was sent to customer via email */
774
- INVOICE_WAS_SENT = "INVOICE_WAS_SENT",
775
- /** Email was sent to fulfiller */
776
- FULFILLER_EMAIL_SENT = "FULFILLER_EMAIL_SENT",
777
- /** Shipping address was updated */
778
- SHIPPING_ADDRESS_EDITED = "SHIPPING_ADDRESS_EDITED",
779
- /** Order email was updated */
780
- EMAIL_EDITED = "EMAIL_EDITED",
781
- /** Order partially paid. During the checkout for orders with deposit items. */
782
- ORDER_PARTIALLY_PAID = "ORDER_PARTIALLY_PAID"
783
- }
784
- export interface V2InvoiceInfo {
785
- /** Invoice ID */
786
- _id?: string;
787
- /** Invoice source */
788
- source?: InvoiceSource;
789
- }
790
- export declare enum InvoiceSource {
791
- /** Invoice source can't be classified, due to an error */
792
- UNSPECIFIED_INVOICE_SOURCE = "UNSPECIFIED_INVOICE_SOURCE",
793
- /** Invoice created using the Invoices API */
794
- WIX = "WIX"
795
- }
796
- export interface Fulfillment {
797
- /**
798
- * Fulfillment ID (auto generated upon fulfillment creation).
799
- * @readonly
800
- */
801
- _id?: string | null;
802
- /**
803
- * Fulfillment creation date and time.
804
- * @readonly
805
- */
806
- dateCreated?: Date;
807
- /** Information about the line items in the fulfilled order. */
808
- lineItems?: FulfillmentLineItem[];
809
- /** Tracking information. */
810
- trackingInfo?: FulfillmentTrackingInfo;
811
- }
812
- export interface FulfillmentLineItem {
813
- /** Line item ID (mirrors the line item index of the order). */
814
- index?: number;
815
- /**
816
- * Line item quantity.
817
- * On creation, if this parameter isn't passed, the new fulfillment will automatically include all items of this line item that have not already been linked to a fulfillment.
818
- * If the order does not have the requested quantity of line items available to add to this fulfillment, the fulfillment will not be created and an error will be returned.
819
- * This property will always have a value when returned.
820
- */
821
- quantity?: number | null;
822
- }
823
- export interface FulfillmentTrackingInfo {
824
- /** Tracking number. */
825
- trackingNumber?: string;
826
- /**
827
- * Shipping provider. Using the following shipping providers will allow for autofilling the tracking link:
828
- * * `fedex`
829
- * * `ups`
830
- * * `usps`
831
- * * `dhl`
832
- * * `canadaPost`
833
- */
834
- shippingProvider?: string;
835
- /** Tracking link - autofilled if using a predefined shipping provider, otherwise provided on creation. */
836
- trackingLink?: string | null;
837
- }
838
- export interface Discount {
839
- /**
840
- * Deprecated (use Totals.discount instead)
841
- * @readonly
842
- */
843
- value?: string;
844
- /** Applied coupon */
845
- appliedCoupon?: AppliedCoupon;
846
- }
847
- export interface AppliedCoupon {
848
- /** Coupon ID */
849
- couponId?: string;
850
- /** Coupon name */
851
- name?: string;
852
- /** Coupon code */
853
- code?: string;
854
- }
855
- /** Custom field */
856
- export interface CustomField {
857
- /** Free text that the customer entered in the custom field during the checkout process */
858
- value?: string;
859
- /** Title for the custom field */
860
- title?: string;
861
- /** The title translated according to the buyer language */
862
- translatedTitle?: string;
863
- }
864
- export interface ChannelInfo {
865
- /** Sales channel that submitted the order */
866
- type?: ChannelType;
867
- /** Reference to an order ID from an external system, as defined in channelInfo (e.g., eBay or Amazon) */
868
- externalOrderId?: string | null;
869
- /** URL to the order in the external system, as defined in channelInfo (e.g., eBay or Amazon) */
870
- externalOrderUrl?: string | null;
871
- }
872
- export declare enum ChannelType {
873
- UNSPECIFIED = "UNSPECIFIED",
874
- WEB = "WEB",
875
- POS = "POS",
876
- EBAY = "EBAY",
877
- AMAZON = "AMAZON",
878
- OTHER_PLATFORM = "OTHER_PLATFORM",
879
- WIX_APP_STORE = "WIX_APP_STORE",
880
- WIX_INVOICES = "WIX_INVOICES",
881
- BACKOFFICE_MERCHANT = "BACKOFFICE_MERCHANT",
882
- WISH = "WISH",
883
- CLASS_PASS = "CLASS_PASS",
884
- GLOBAL_E = "GLOBAL_E"
885
- }
886
- export interface EnteredBy {
887
- _id?: string;
888
- identityType?: EnteredByIdentityType;
889
- }
890
- export declare enum EnteredByIdentityType {
891
- USER = "USER",
892
- MEMBER = "MEMBER",
893
- CONTACT = "CONTACT",
894
- APP = "APP"
895
- }
896
- export interface SubscriptionInfo {
897
- /** Subscription ID. */
898
- _id?: string | null;
899
- /** Current cycle number. For example, if the subscription is in the 3rd month of a 4-month subscription, the value will be `3`. */
900
- cycleNumber?: number;
901
- /** Subscription settings. */
902
- subscriptionSettings?: SubscriptionSettings;
903
- /** Subscription options info. */
904
- subscriptionOptionInfo?: SubscriptionOptionInfo;
905
- }
906
- export interface SubscriptionSettings {
907
- /** Frequency of recurring payment. */
908
- frequency?: SubscriptionFrequency;
909
- /** Whether subscription is renewed automatically at the end of each period. */
910
- autoRenewal?: boolean;
911
- /** Number of billing cycles before subscription ends. Ignored if `autoRenewal: true`. */
912
- billingCycles?: number | null;
913
- }
914
- /** Frequency unit of recurring payment */
915
- export declare enum SubscriptionFrequency {
916
- UNDEFINED = "UNDEFINED",
917
- DAY = "DAY",
918
- WEEK = "WEEK",
919
- MONTH = "MONTH",
920
- YEAR = "YEAR"
921
- }
922
- export interface SubscriptionOptionInfo {
923
- /** Subscription option title. */
924
- title?: string;
925
- /** Subscription option description. */
926
- description?: string | null;
927
- }
928
- export interface V2Refund {
929
- /** Refund created timestamp. */
930
- dateCreated?: Date;
931
- /** Refund amount. */
932
- amount?: string;
933
- /** Reason for refund, given by user (optional). */
934
- reason?: string | null;
935
- /** Payment provider transaction ID. Used to find refund transaction info on the payment provider's side. */
936
- paymentProviderTransactionId?: string | null;
937
- /** Refund ID. */
938
- _id?: string;
939
- /** Whether refund was made externally (on the payment provider's side). */
940
- externalRefund?: boolean;
941
- }
942
- export interface GiftCard {
943
- transactionId?: string;
944
- /** giftcard internal ID */
945
- _id?: string;
946
- /** giftcard provider appid */
947
- providerId?: string;
948
- /** giftcard amount */
949
- amount?: string;
950
- }
951
- export interface ListTransactionsForSingleOrderRequest {
952
- /** Order ID. */
953
- orderId: string;
954
- }
955
- export interface ListTransactionsForSingleOrderResponse {
956
- /** Order ID and its associated transactions. */
957
- orderTransactions?: OrderTransactions;
958
- }
959
- export interface ListTransactionsForMultipleOrdersRequest {
960
- /** Order IDs for which to retrieve transactions. */
961
- orderIds: string[];
962
- }
963
- export interface ListTransactionsForMultipleOrdersResponse {
964
- /** List of order IDs and their associated transactions. */
965
- orderTransactions?: OrderTransactions[];
966
- }
967
- export interface AddPaymentsRequest {
968
- /** Order ID. */
969
- orderId: string;
970
- /** Payments to be added to order. */
971
- payments: Payment[];
972
- }
973
- export interface AddPaymentsResponse {
974
- /** Order ID and its associated transactions. */
975
- orderTransactions?: OrderTransactions;
976
- /** IDs of added order payments. */
977
- paymentsIds?: string[];
978
- }
979
- /** Triggered when a payment is updated. */
980
- export interface PaymentsUpdated {
981
- /** Updated order transactions. */
982
- orderTransactions?: OrderTransactions;
983
- /** List of IDs of the updated payments. */
984
- paymentIds?: string[];
985
- /** List of IDs of the updated refunds. */
986
- refundIds?: string[];
987
- }
988
- export interface AddRefundRequest {
989
- /** Order ID this refunds related to */
990
- orderId?: string;
991
- /** Refund with refund transactions to be added to order. */
992
- refund?: Refund;
993
- /** Side effect details related to refund */
994
- sideEffects?: RefundSideEffects;
995
- }
996
- export interface RefundSideEffects {
997
- /** Inventory restock details as part of this refund. */
998
- restockInfo?: RestockInfo;
999
- /** Whether to send a refund confirmation email to the customer. */
1000
- sendOrderRefundedEmail?: boolean;
1001
- /** Custom message added to the refund confirmation email. */
1002
- customMessage?: string | null;
1003
- }
1004
- export interface RestockInfo {
1005
- /** Restock type. */
1006
- type?: RestockType;
1007
- /** Restocked line items and quantities. Only relevant for `{"type": "SOME_ITEMS"}`. */
1008
- items?: RestockItem[];
1009
- }
1010
- export declare enum RestockType {
1011
- NO_ITEMS = "NO_ITEMS",
1012
- ALL_ITEMS = "ALL_ITEMS",
1013
- SOME_ITEMS = "SOME_ITEMS"
1014
- }
1015
- export interface RestockItem {
1016
- /** ID of the line item being restocked. */
1017
- lineItemId?: string;
1018
- /** Line item quantity being restocked. */
1019
- quantity?: number;
1020
- }
1021
- export interface AddRefundResponse {
1022
- /** Order ID and its associated transactions. */
1023
- orderTransactions?: OrderTransactions;
1024
- /** Created refund ID */
1025
- refundId?: string;
1026
- }
1027
- /** Triggered when a refund is created. */
1028
- export interface RefundCreated {
1029
- /** Updated order transactions. */
1030
- orderTransactions?: OrderTransactions;
1031
- /** ID of the created refund. */
1032
- refundId?: string;
1033
- /** Inventory restock details as part of this refund.. */
1034
- restockInfo?: RestockInfo;
1035
- /** Whether to send a refund confirmation email to the customer. */
1036
- sendOrderRefundedEmail?: boolean;
1037
- /** Custom message added to the refund confirmation email. */
1038
- customMessage?: string | null;
1039
- /** Refunded line items and quantities that are part of the created refund. */
1040
- refundItems?: RefundItem[];
1041
- }
1042
- export interface UpdatePaymentStatusRequest {
1043
- /** Order ID. */
1044
- orderId: string;
1045
- /** Payment ID. */
1046
- paymentId: string;
1047
- /** Payment status. */
1048
- status?: TransactionStatus;
1049
- }
1050
- export interface UpdatePaymentStatusResponse {
1051
- /** Order ID and its associated transactions after update. */
1052
- orderTransactions?: OrderTransactions;
1053
- }
1054
- export interface BulkUpdatePaymentStatusesRequest {
1055
- /** Order and payment IDs for which to update payment status. */
1056
- paymentAndOrderIds: PaymentAndOrderId[];
1057
- /** Whether to return the full payment entity (`results.item`) in the response. */
1058
- returnFullEntity?: boolean;
1059
- /** Payment status. */
1060
- status?: TransactionStatus;
1061
- }
1062
- export interface PaymentAndOrderId {
1063
- /** Order ID. */
1064
- orderId?: string;
1065
- /**
1066
- * Payment ID.
1067
- * todo: remove comment once UI will use BulkMarkOrderAsPaid
1068
- */
1069
- paymentId?: string;
1070
- }
1071
- export interface BulkUpdatePaymentStatusesResponse {
1072
- /** Bulk operation results. */
1073
- results?: BulkPaymentResult[];
1074
- /** Bulk operation metadata. */
1075
- bulkActionMetadata?: BulkActionMetadata;
1076
- }
1077
- export interface BulkPaymentResult {
1078
- /** Item metadata. */
1079
- itemMetadata?: ItemMetadata;
1080
- /** Updated payment. Returned if `return_full_entity` set to `true`. */
1081
- item?: Payment;
1082
- }
1083
- export interface ItemMetadata {
1084
- /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
1085
- _id?: string | null;
1086
- /** Index of the item within the request array. Allows for correlation between request and response items. */
1087
- originalIndex?: number;
1088
- /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
1089
- success?: boolean;
1090
- /** Details about the error in case of failure. */
1091
- error?: ApplicationError;
1092
- }
1093
- export interface ApplicationError {
1094
- /** Error code. */
1095
- code?: string;
1096
- /** Description of the error. */
1097
- description?: string;
1098
- /** Data related to the error. */
1099
- data?: Record<string, any> | null;
1100
- }
1101
- export interface BulkActionMetadata {
1102
- /** Number of items that were successfully processed. */
1103
- totalSuccesses?: number;
1104
- /** Number of items that couldn't be processed. */
1105
- totalFailures?: number;
1106
- /** Number of failures without details because detailed failure threshold was exceeded. */
1107
- undetailedFailures?: number;
1108
- }
1109
- export interface TriggerRefundRequest {
1110
- /** The order this refund related to */
1111
- orderId?: string;
1112
- /**
1113
- * Refund operations information
1114
- * Currently, only *one* payment refund is supported per request
1115
- */
1116
- payments?: PaymentRefund[];
1117
- /** Business model of a refund */
1118
- details?: RefundDetails;
1119
- /** How to restock items as part of this refund */
1120
- restockInfo?: RestockInfo;
1121
- /** Should send a confirmation mail to the customer */
1122
- sendOrderRefundedEmail?: boolean;
1123
- /** Personal note added to the email */
1124
- customMessage?: string | null;
1125
- }
1126
- export interface PaymentRefund {
1127
- /** Specific payment within the order to refund */
1128
- paymentId?: string;
1129
- /** Refund amount. Not relevant for membership refunds. */
1130
- amount?: Price;
1131
- /**
1132
- * Whether refund is made externally and manually (on the payment provider's side)
1133
- * When false (default), the payment gateway will be called in order to make an actual refund, and then the payment will be marked as refunded.
1134
- * When true, the payment will only be *marked* as refunded, and no actual refund will be performed.
1135
- */
1136
- externalRefund?: boolean;
1137
- }
1138
- export interface TriggerRefundResponse {
1139
- /** All order's transactions after the refunds were added */
1140
- orderTransactions?: OrderTransactions;
1141
- /** Created refund ID */
1142
- refundId?: string;
1143
- }
1144
- export interface CalculateRefundRequest {
1145
- /** Order ID */
1146
- orderId?: string;
1147
- /** Refunded line items and quantity */
1148
- refundItems?: CalculateRefundItemRequest[];
1149
- /** Should include shipping in refund calculation */
1150
- refundShipping?: boolean;
1151
- }
1152
- export interface CalculateRefundItemRequest {
1153
- /** ID of the line item being refunded */
1154
- lineItemId?: string;
1155
- /** How much of that line item is being refunded */
1156
- quantity?: number;
1157
- /** Should this item be restocked (used for validation purposes) */
1158
- restock?: boolean;
1159
- }
1160
- export interface CalculateRefundResponse {
1161
- /** Total refundable amount */
1162
- total?: string;
1163
- /** Tax cost of the order */
1164
- tax?: string;
1165
- /** Discount given for this order */
1166
- discount?: string;
1167
- /** Total cost of the order (without tax) */
1168
- subtotal?: string;
1169
- /** Previous refund given on that order */
1170
- previouslyRefundedAmount?: string | null;
1171
- /** The refundable items of that order */
1172
- items?: CalculateRefundItemResponse[];
1173
- }
1174
- export interface CalculateRefundItemResponse {
1175
- /** Line item ID */
1176
- lineItemId?: string;
1177
- /** The line item's price */
1178
- lineItemPrice?: number;
1179
- }
1180
- export interface GetRefundabilityStatusRequest {
1181
- /** Order ID. */
1182
- orderId?: string;
1183
- }
1184
- export interface GetRefundabilityStatusResponse {
1185
- /** Refundability details. */
1186
- refundabilities?: Refundability[];
1187
- /** Whether the order supports refunding per item. */
1188
- refundablePerItem?: boolean;
1189
- }
1190
- export interface Refundability extends RefundabilityAdditionalRefundabilityInfoOneOf {
1191
- /** Reason why payment is not refundable. */
1192
- nonRefundableReason?: NonRefundableReason;
1193
- /** Reason why payment is only refundable manually. */
1194
- manuallyRefundableReason?: ManuallyRefundableReason;
1195
- /** Payment ID. */
1196
- paymentId?: string;
1197
- /** Payment refundability status. */
1198
- refundabilityStatus?: RefundableStatus;
1199
- /** Link to payment provider dashboard. */
1200
- providerLink?: string | null;
1201
- }
1202
- /** @oneof */
1203
- export interface RefundabilityAdditionalRefundabilityInfoOneOf {
1204
- /** Reason why payment is not refundable. */
1205
- nonRefundableReason?: NonRefundableReason;
1206
- /** Reason why payment is only refundable manually. */
1207
- manuallyRefundableReason?: ManuallyRefundableReason;
1208
- }
1209
- export declare enum RefundableStatus {
1210
- NOT_REFUNDABLE = "NOT_REFUNDABLE",
1211
- MANUAL = "MANUAL",
1212
- REFUNDABLE = "REFUNDABLE"
1213
- }
1214
- export declare enum NonRefundableReason {
1215
- NONE = "NONE",
1216
- ALREADY_REFUNDED = "ALREADY_REFUNDED",
1217
- PROVIDER_IS_DOWN = "PROVIDER_IS_DOWN",
1218
- INTERNAL_ERROR = "INTERNAL_ERROR",
1219
- NOT_PAID = "NOT_PAID",
1220
- ACCESS_DENIED = "ACCESS_DENIED",
1221
- ZERO_PRICE = "ZERO_PRICE",
1222
- DISABLED_BY_PROVIDER = "DISABLED_BY_PROVIDER",
1223
- PARTIALLY_PAID = "PARTIALLY_PAID",
1224
- DEPOSIT_ONLINE_ITEM = "DEPOSIT_ONLINE_ITEM",
1225
- PENDING_REFUND = "PENDING_REFUND",
1226
- FORBIDDEN = "FORBIDDEN"
1227
- }
1228
- export declare enum ManuallyRefundableReason {
1229
- EXPIRED = "EXPIRED",
1230
- NOT_SUPPORTED = "NOT_SUPPORTED",
1231
- NOT_FOUND = "NOT_FOUND",
1232
- OFFLINE = "OFFLINE"
1233
- }
1234
- export interface ListInvoicesForSingleOrderRequest {
1235
- /** Order ID. */
1236
- orderId?: string;
1237
- }
1238
- export interface ListInvoicesForSingleOrderResponse {
1239
- /** List of invoices. */
1240
- invoices?: InvoiceInfo[];
1241
- }
1242
- export interface InvoiceInfo {
1243
- /** Invoice ID. */
1244
- _id?: string;
1245
- /** ID of the app that set the invoice. */
1246
- appId?: string;
1247
- /** Invoice URL. */
1248
- url?: string | null;
1249
- /** Invoice creation date and time. */
1250
- _createdDate?: Date;
1251
- }
1252
- export interface ListInvoicesForMultipleOrdersRequest {
1253
- /** Order IDs for which to retrieve invoices. */
1254
- orderIds?: string[];
1255
- }
1256
- export interface ListInvoicesForMultipleOrdersResponse {
1257
- /** List of order IDs and their associated invoices. */
1258
- invoicesForOrder?: InvoicesForOrder[];
1259
- }
1260
- export interface InvoicesForOrder {
1261
- /** Order ID. */
1262
- orderId?: string;
1263
- /** Invoices info. */
1264
- invoicesInfo?: InvoiceInfo[];
1265
- }
1266
- export interface GenerateInvoiceRequest {
1267
- /** Order ID. */
1268
- orderId?: string;
1269
- }
1270
- export interface GenerateInvoiceResponse {
1271
- /** Invoice ID. */
1272
- invoiceId?: string;
1273
- }
1274
- export interface BulkGenerateInvoicesRequest {
1275
- /** Order IDs. */
1276
- orderIds?: string[];
1277
- }
1278
- export interface BulkGenerateInvoicesResponse {
1279
- results?: BulkInvoiceResult[];
1280
- bulkActionMetadata?: BulkActionMetadata;
1281
- }
1282
- export interface BulkInvoiceResult {
1283
- itemMetadata?: ItemMetadata;
1284
- item?: InvoiceForOrder;
1285
- }
1286
- export interface InvoiceForOrder {
1287
- /** Order ID. */
1288
- orderId?: string;
1289
- /** Invoice ID. */
1290
- invoiceId?: string;
1291
- }
1292
- export interface AddInvoiceToOrderRequest {
1293
- /** Order ID. */
1294
- orderId?: string;
1295
- /** Invoice info. */
1296
- invoiceInfo?: InvoiceInfo;
1297
- }
1298
- export interface AddInvoiceToOrderResponse {
1299
- /** List of order invoices. */
1300
- orderInvoices?: InvoiceInfo[];
1301
- }
1302
- export interface DomainEvent<T = string> extends DomainEventBodyOneOf<T> {
1303
- createdEvent?: EntityCreatedEvent<T>;
1304
- updatedEvent?: EntityUpdatedEvent<T>;
1305
- deletedEvent?: EntityDeletedEvent<T>;
1306
- actionEvent?: ActionEvent<T>;
1307
- /**
1308
- * Unique event ID.
1309
- * Allows clients to ignore duplicate webhooks.
1310
- */
1311
- _id?: string;
1312
- /**
1313
- * Assumes actions are also always typed to an entity_type
1314
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1315
- */
1316
- entityFqdn?: string;
1317
- /**
1318
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1319
- * This is although the created/updated/deleted notion is duplication of the oneof types
1320
- * Example: created/updated/deleted/started/completed/email_opened
1321
- */
1322
- slug?: string;
1323
- /** ID of the entity associated with the event. */
1324
- entityId?: string;
1325
- /** Event timestamp. */
1326
- eventTime?: Date;
1327
- /**
1328
- * Whether the event was triggered as a result of a privacy regulation application
1329
- * (for example, GDPR).
1330
- */
1331
- triggeredByAnonymizeRequest?: boolean | null;
1332
- /** If present, indicates the action that triggered the event. */
1333
- originatedFrom?: string | null;
1334
- /**
1335
- * A sequence number defining the order of updates to the underlying entity.
1336
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1337
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1338
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1339
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1340
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1341
- */
1342
- entityEventSequence?: string | null;
1343
- }
1344
- export interface DomainCreatedEvent<T> extends Omit<DomainEvent<T>, 'deletedEvent' | 'updatedEvent' | 'actionEvent'> {
1345
- }
1346
- export interface DomainDeletedEvent<T> extends Omit<DomainEvent<T>, 'createdEvent' | 'updatedEvent' | 'actionEvent'> {
1347
- }
1348
- export interface DomainUpdatedEvent<T> extends Omit<DomainEvent<T>, 'createdEvent' | 'deletedEvent' | 'actionEvent'> {
1349
- }
1350
- export interface DomainActionEvent<T> extends Omit<DomainEvent<T>, 'createdEvent' | 'deletedEvent' | 'updatedEvent'> {
1351
- }
1352
- /** @oneof */
1353
- export interface DomainEventBodyOneOf<T> {
1354
- createdEvent?: EntityCreatedEvent<T>;
1355
- updatedEvent?: EntityUpdatedEvent<T>;
1356
- deletedEvent?: EntityDeletedEvent<T>;
1357
- actionEvent?: ActionEvent<T>;
1358
- }
1359
- export interface EntityCreatedEvent<T> {
1360
- entity?: T;
1361
- }
1362
- export interface EntityUpdatedEvent<T> {
1363
- /**
1364
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1365
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1366
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1367
- */
1368
- currentEntity?: T;
1369
- }
1370
- export interface EntityDeletedEvent<T> {
1371
- /** Entity that was deleted */
1372
- deletedEntity?: T | null;
1373
- }
1374
- export interface ActionEvent<T> {
1375
- body?: T;
1376
- }
1377
- export interface ListTransactionsForSingleOrderResponseNonNullableFields {
1378
- orderTransactions?: {
1379
- orderId: string;
1380
- payments: {
1381
- regularPaymentDetails?: {
1382
- offlinePayment: boolean;
1383
- status: TransactionStatus;
1384
- };
1385
- giftcardPaymentDetails?: {
1386
- giftCardPaymentId: string;
1387
- appId: string;
1388
- voided: boolean;
1389
- };
1390
- amount?: {
1391
- amount: string;
1392
- formattedAmount: string;
1393
- };
1394
- refundDisabled: boolean;
1395
- }[];
1396
- refunds: {
1397
- _id: string;
1398
- transactions: {
1399
- paymentId: string;
1400
- amount?: {
1401
- amount: string;
1402
- formattedAmount: string;
1403
- };
1404
- refundStatus: RefundStatus;
1405
- externalRefund: boolean;
1406
- }[];
1407
- details?: {
1408
- items: {
1409
- lineItemId: string;
1410
- quantity: number;
1411
- }[];
1412
- shippingIncluded: boolean;
1413
- };
1414
- }[];
1415
- };
1416
- }
1417
- export interface ListTransactionsForMultipleOrdersResponseNonNullableFields {
1418
- orderTransactions: {
1419
- orderId: string;
1420
- payments: {
1421
- regularPaymentDetails?: {
1422
- offlinePayment: boolean;
1423
- status: TransactionStatus;
1424
- };
1425
- giftcardPaymentDetails?: {
1426
- giftCardPaymentId: string;
1427
- appId: string;
1428
- voided: boolean;
1429
- };
1430
- amount?: {
1431
- amount: string;
1432
- formattedAmount: string;
1433
- };
1434
- refundDisabled: boolean;
1435
- }[];
1436
- refunds: {
1437
- _id: string;
1438
- transactions: {
1439
- paymentId: string;
1440
- amount?: {
1441
- amount: string;
1442
- formattedAmount: string;
1443
- };
1444
- refundStatus: RefundStatus;
1445
- externalRefund: boolean;
1446
- }[];
1447
- details?: {
1448
- items: {
1449
- lineItemId: string;
1450
- quantity: number;
1451
- }[];
1452
- shippingIncluded: boolean;
1453
- };
1454
- }[];
1455
- }[];
1456
- }
1457
- export interface AddPaymentsResponseNonNullableFields {
1458
- orderTransactions?: {
1459
- orderId: string;
1460
- payments: {
1461
- regularPaymentDetails?: {
1462
- offlinePayment: boolean;
1463
- status: TransactionStatus;
1464
- };
1465
- giftcardPaymentDetails?: {
1466
- giftCardPaymentId: string;
1467
- appId: string;
1468
- voided: boolean;
1469
- };
1470
- amount?: {
1471
- amount: string;
1472
- formattedAmount: string;
1473
- };
1474
- refundDisabled: boolean;
1475
- }[];
1476
- refunds: {
1477
- _id: string;
1478
- transactions: {
1479
- paymentId: string;
1480
- amount?: {
1481
- amount: string;
1482
- formattedAmount: string;
1483
- };
1484
- refundStatus: RefundStatus;
1485
- externalRefund: boolean;
1486
- }[];
1487
- details?: {
1488
- items: {
1489
- lineItemId: string;
1490
- quantity: number;
1491
- }[];
1492
- shippingIncluded: boolean;
1493
- };
1494
- }[];
1495
- };
1496
- paymentsIds: string[];
1497
- }
1498
- export interface UpdatePaymentStatusResponseNonNullableFields {
1499
- orderTransactions?: {
1500
- orderId: string;
1501
- payments: {
1502
- regularPaymentDetails?: {
1503
- offlinePayment: boolean;
1504
- status: TransactionStatus;
1505
- };
1506
- giftcardPaymentDetails?: {
1507
- giftCardPaymentId: string;
1508
- appId: string;
1509
- voided: boolean;
1510
- };
1511
- amount?: {
1512
- amount: string;
1513
- formattedAmount: string;
1514
- };
1515
- refundDisabled: boolean;
1516
- }[];
1517
- refunds: {
1518
- _id: string;
1519
- transactions: {
1520
- paymentId: string;
1521
- amount?: {
1522
- amount: string;
1523
- formattedAmount: string;
1524
- };
1525
- refundStatus: RefundStatus;
1526
- externalRefund: boolean;
1527
- }[];
1528
- details?: {
1529
- items: {
1530
- lineItemId: string;
1531
- quantity: number;
1532
- }[];
1533
- shippingIncluded: boolean;
1534
- };
1535
- }[];
1536
- };
1537
- }
1538
- export interface BulkUpdatePaymentStatusesResponseNonNullableFields {
1539
- results: {
1540
- itemMetadata?: {
1541
- originalIndex: number;
1542
- success: boolean;
1543
- error?: {
1544
- code: string;
1545
- description: string;
1546
- };
1547
- };
1548
- item?: {
1549
- regularPaymentDetails?: {
1550
- offlinePayment: boolean;
1551
- status: TransactionStatus;
1552
- };
1553
- giftcardPaymentDetails?: {
1554
- giftCardPaymentId: string;
1555
- appId: string;
1556
- voided: boolean;
1557
- };
1558
- amount?: {
1559
- amount: string;
1560
- formattedAmount: string;
1561
- };
1562
- refundDisabled: boolean;
1563
- };
1564
- }[];
1565
- bulkActionMetadata?: {
1566
- totalSuccesses: number;
1567
- totalFailures: number;
1568
- undetailedFailures: number;
1569
- };
1570
- }
1571
- export declare const onOrderTransactionsUpdated: EventDefinition<DomainActionEvent<PaymentsUpdated>, "wix.ecom.v1.order_transactions_updated">;
1572
- /**
1573
- * Retrieves information about payments and refunds associated with a specified order.
1574
- *
1575
- *
1576
- * The `listTransactionsForSingleOrder()` function returns a Promise that resolves when the specified order's transaction records are retrieved.
1577
- * @param orderId - Order ID.
1578
- * @public
1579
- * @documentationMaturity preview
1580
- * @requiredField orderId
1581
- * @permissionScope Manage Stores - all permissions
1582
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1583
- * @permissionScope Read eCommerce - all read permissions
1584
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1585
- * @permissionScope Read Orders
1586
- * @permissionScopeId SCOPE.DC-STORES.READ-ORDERS
1587
- * @permissionScope Read Stores - all read permissions
1588
- * @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
1589
- * @permissionScope Manage eCommerce - all permissions
1590
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1591
- * @permissionScope Manage Orders
1592
- * @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
1593
- * @applicableIdentity APP
1594
- */
1595
- export declare function listTransactionsForSingleOrder(orderId: string): Promise<ListTransactionsForSingleOrderResponse & ListTransactionsForSingleOrderResponseNonNullableFields>;
1596
- /**
1597
- * Retrieves information about payments and refunds associated with all specified orders.
1598
- *
1599
- *
1600
- * The `listTransactionsForMultipleOrders()` function returns a Promise that resolves when the specified orders' transaction records are retrieved.
1601
- * @param orderIds - Order IDs for which to retrieve transactions.
1602
- * @public
1603
- * @documentationMaturity preview
1604
- * @requiredField orderIds
1605
- * @permissionScope Manage Stores - all permissions
1606
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1607
- * @permissionScope Read eCommerce - all read permissions
1608
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1609
- * @permissionScope Read Orders
1610
- * @permissionScopeId SCOPE.DC-STORES.READ-ORDERS
1611
- * @permissionScope Read Stores - all read permissions
1612
- * @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
1613
- * @permissionScope Manage eCommerce - all permissions
1614
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1615
- * @permissionScope Manage Orders
1616
- * @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
1617
- * @applicableIdentity APP
1618
- */
1619
- export declare function listTransactionsForMultipleOrders(orderIds: string[]): Promise<ListTransactionsForMultipleOrdersResponse & ListTransactionsForMultipleOrdersResponseNonNullableFields>;
1620
- /**
1621
- * Adds up to 50 payment records to an order.
1622
- *
1623
- *
1624
- * The `addPayments()` function returns a Promise that resolves when the payment records are added to an order.
1625
- *
1626
- * > **Note:** This does **NOT** perform the actual charging - the order is only updated with records of the payments.
1627
- * @param orderId - Order ID.
1628
- * @param payments - Payments to be added to order.
1629
- * @public
1630
- * @documentationMaturity preview
1631
- * @requiredField orderId
1632
- * @requiredField payments
1633
- * @requiredField payments.amount
1634
- * @requiredField payments.giftcardPaymentDetails.giftCardPaymentId
1635
- * @permissionScope Manage Stores - all permissions
1636
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1637
- * @permissionScope Manage eCommerce - all permissions
1638
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1639
- * @permissionScope Manage Orders
1640
- * @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
1641
- * @applicableIdentity APP
1642
- */
1643
- export declare function addPayments(orderId: string, payments: Payment[]): Promise<AddPaymentsResponse & AddPaymentsResponseNonNullableFields>;
1644
- /**
1645
- * Updates the status of an order's payment.
1646
- *
1647
- *
1648
- * The `updatePaymentStatus()` function returns a Promise that resolves when the payment status is updated.
1649
- * @public
1650
- * @documentationMaturity preview
1651
- * @requiredField identifiers
1652
- * @requiredField identifiers.orderId
1653
- * @requiredField identifiers.paymentId
1654
- * @permissionScope Manage Stores - all permissions
1655
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1656
- * @permissionScope Manage eCommerce - all permissions
1657
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1658
- * @permissionScope Manage Orders
1659
- * @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
1660
- * @applicableIdentity APP
1661
- */
1662
- export declare function updatePaymentStatus(identifiers: UpdatePaymentStatusIdentifiers, options?: UpdatePaymentStatusOptions): Promise<UpdatePaymentStatusResponse & UpdatePaymentStatusResponseNonNullableFields>;
1663
- export interface UpdatePaymentStatusIdentifiers {
1664
- /** Payment ID. */
1665
- paymentId: string;
1666
- /** Order ID. */
1667
- orderId: string;
1668
- }
1669
- export interface UpdatePaymentStatusOptions {
1670
- /** Payment status. */
1671
- status?: TransactionStatus;
1672
- }
1673
- /**
1674
- * Updates multiple order payments with a specified status.
1675
- *
1676
- *
1677
- * The `bulkUpdatePaymentStatus()` function returns a Promise that resolves when the payment statuses are updated.
1678
- * @param paymentAndOrderIds - Order and payment IDs for which to update payment status.
1679
- * @public
1680
- * @documentationMaturity preview
1681
- * @requiredField paymentAndOrderIds
1682
- * @permissionScope Manage Stores - all permissions
1683
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1684
- * @permissionScope Manage eCommerce - all permissions
1685
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1686
- * @permissionScope Manage Orders
1687
- * @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
1688
- * @applicableIdentity APP
1689
- */
1690
- export declare function bulkUpdatePaymentStatuses(paymentAndOrderIds: PaymentAndOrderId[], options?: BulkUpdatePaymentStatusesOptions): Promise<BulkUpdatePaymentStatusesResponse & BulkUpdatePaymentStatusesResponseNonNullableFields>;
1691
- export interface BulkUpdatePaymentStatusesOptions {
1692
- /** Whether to return the full payment entity (`results.item`) in the response. */
1693
- returnFullEntity?: boolean;
1694
- /** Payment status. */
1695
- status?: TransactionStatus;
1696
- }