@gradientedge/commercetools-utils 5.30.0 → 5.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (307) hide show
  1. package/dist/cjs/api/CommercetoolsApi.d.ts +3 -4
  2. package/dist/cjs/api/CommercetoolsApi.d.ts.map +1 -1
  3. package/dist/cjs/api/CommercetoolsApi.js +2 -7
  4. package/dist/cjs/api/CommercetoolsApi.js.map +1 -1
  5. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  6. package/dist/cjs/types/models/approval-flow.d.ts +15 -4
  7. package/dist/cjs/types/models/approval-flow.d.ts.map +1 -1
  8. package/dist/cjs/types/models/approval-flow.js +11 -0
  9. package/dist/cjs/types/models/approval-flow.js.map +1 -1
  10. package/dist/cjs/types/models/approval-rule.d.ts +19 -9
  11. package/dist/cjs/types/models/approval-rule.d.ts.map +1 -1
  12. package/dist/cjs/types/models/approval-rule.js +10 -0
  13. package/dist/cjs/types/models/approval-rule.js.map +1 -1
  14. package/dist/cjs/types/models/associate-role.d.ts +58 -11
  15. package/dist/cjs/types/models/associate-role.d.ts.map +1 -1
  16. package/dist/cjs/types/models/associate-role.js +47 -0
  17. package/dist/cjs/types/models/associate-role.js.map +1 -1
  18. package/dist/cjs/types/models/attribute-group.d.ts +15 -9
  19. package/dist/cjs/types/models/attribute-group.d.ts.map +1 -1
  20. package/dist/cjs/types/models/business-unit-search.d.ts +114 -0
  21. package/dist/cjs/types/models/business-unit-search.d.ts.map +1 -0
  22. package/dist/cjs/types/models/business-unit-search.js +8 -0
  23. package/dist/cjs/types/models/business-unit-search.js.map +1 -0
  24. package/dist/cjs/types/models/business-unit.d.ts +349 -35
  25. package/dist/cjs/types/models/business-unit.d.ts.map +1 -1
  26. package/dist/cjs/types/models/business-unit.js +55 -0
  27. package/dist/cjs/types/models/business-unit.js.map +1 -1
  28. package/dist/cjs/types/models/cart-discount.d.ts +218 -36
  29. package/dist/cjs/types/models/cart-discount.d.ts.map +1 -1
  30. package/dist/cjs/types/models/cart-discount.js +29 -0
  31. package/dist/cjs/types/models/cart-discount.js.map +1 -1
  32. package/dist/cjs/types/models/cart.d.ts +178 -88
  33. package/dist/cjs/types/models/cart.d.ts.map +1 -1
  34. package/dist/cjs/types/models/cart.js +127 -0
  35. package/dist/cjs/types/models/cart.js.map +1 -1
  36. package/dist/cjs/types/models/category.d.ts +32 -26
  37. package/dist/cjs/types/models/category.d.ts.map +1 -1
  38. package/dist/cjs/types/models/channel.d.ts +28 -15
  39. package/dist/cjs/types/models/channel.d.ts.map +1 -1
  40. package/dist/cjs/types/models/channel.js +13 -0
  41. package/dist/cjs/types/models/channel.js.map +1 -1
  42. package/dist/cjs/types/models/common.d.ts +167 -5
  43. package/dist/cjs/types/models/common.d.ts.map +1 -1
  44. package/dist/cjs/types/models/common.js +61 -0
  45. package/dist/cjs/types/models/common.js.map +1 -1
  46. package/dist/cjs/types/models/custom-object.d.ts +2 -2
  47. package/dist/cjs/types/models/custom-object.d.ts.map +1 -1
  48. package/dist/cjs/types/models/customer-group.d.ts +13 -7
  49. package/dist/cjs/types/models/customer-group.d.ts.map +1 -1
  50. package/dist/cjs/types/models/customer.d.ts +53 -39
  51. package/dist/cjs/types/models/customer.d.ts.map +1 -1
  52. package/dist/cjs/types/models/customer.js +11 -0
  53. package/dist/cjs/types/models/customer.js.map +1 -1
  54. package/dist/cjs/types/models/discount-code.d.ts +24 -18
  55. package/dist/cjs/types/models/discount-code.d.ts.map +1 -1
  56. package/dist/cjs/types/models/error.d.ts +193 -167
  57. package/dist/cjs/types/models/error.d.ts.map +1 -1
  58. package/dist/cjs/types/models/extension.d.ts +43 -9
  59. package/dist/cjs/types/models/extension.d.ts.map +1 -1
  60. package/dist/cjs/types/models/extension.js +27 -0
  61. package/dist/cjs/types/models/extension.js.map +1 -1
  62. package/dist/cjs/types/models/index.d.ts +1 -0
  63. package/dist/cjs/types/models/index.d.ts.map +1 -1
  64. package/dist/cjs/types/models/index.js +1 -0
  65. package/dist/cjs/types/models/index.js.map +1 -1
  66. package/dist/cjs/types/models/inventory.d.ts +19 -13
  67. package/dist/cjs/types/models/inventory.d.ts.map +1 -1
  68. package/dist/cjs/types/models/me.d.ts +210 -100
  69. package/dist/cjs/types/models/me.d.ts.map +1 -1
  70. package/dist/cjs/types/models/me.js +10 -0
  71. package/dist/cjs/types/models/me.js.map +1 -1
  72. package/dist/cjs/types/models/message.d.ts +871 -489
  73. package/dist/cjs/types/models/message.d.ts.map +1 -1
  74. package/dist/cjs/types/models/order-edit.d.ts +131 -108
  75. package/dist/cjs/types/models/order-edit.d.ts.map +1 -1
  76. package/dist/cjs/types/models/order.d.ts +211 -69
  77. package/dist/cjs/types/models/order.d.ts.map +1 -1
  78. package/dist/cjs/types/models/order.js +93 -0
  79. package/dist/cjs/types/models/order.js.map +1 -1
  80. package/dist/cjs/types/models/payment.d.ts +42 -23
  81. package/dist/cjs/types/models/payment.d.ts.map +1 -1
  82. package/dist/cjs/types/models/payment.js +20 -0
  83. package/dist/cjs/types/models/payment.js.map +1 -1
  84. package/dist/cjs/types/models/product-discount.d.ts +37 -19
  85. package/dist/cjs/types/models/product-discount.d.ts.map +1 -1
  86. package/dist/cjs/types/models/product-search.d.ts +43 -14
  87. package/dist/cjs/types/models/product-search.d.ts.map +1 -1
  88. package/dist/cjs/types/models/product-search.js +16 -0
  89. package/dist/cjs/types/models/product-search.js.map +1 -1
  90. package/dist/cjs/types/models/product-selection.d.ts +42 -16
  91. package/dist/cjs/types/models/product-selection.d.ts.map +1 -1
  92. package/dist/cjs/types/models/product-selection.js +17 -0
  93. package/dist/cjs/types/models/product-selection.js.map +1 -1
  94. package/dist/cjs/types/models/product-tailoring.d.ts +42 -33
  95. package/dist/cjs/types/models/product-tailoring.d.ts.map +1 -1
  96. package/dist/cjs/types/models/product-type.d.ts +83 -40
  97. package/dist/cjs/types/models/product-type.d.ts.map +1 -1
  98. package/dist/cjs/types/models/product-type.js +48 -0
  99. package/dist/cjs/types/models/product-type.js.map +1 -1
  100. package/dist/cjs/types/models/product.d.ts +97 -59
  101. package/dist/cjs/types/models/product.d.ts.map +1 -1
  102. package/dist/cjs/types/models/product.js +26 -0
  103. package/dist/cjs/types/models/product.js.map +1 -1
  104. package/dist/cjs/types/models/project.d.ts +94 -20
  105. package/dist/cjs/types/models/project.d.ts.map +1 -1
  106. package/dist/cjs/types/models/project.js +73 -0
  107. package/dist/cjs/types/models/project.js.map +1 -1
  108. package/dist/cjs/types/models/quote-request.d.ts +21 -8
  109. package/dist/cjs/types/models/quote-request.d.ts.map +1 -1
  110. package/dist/cjs/types/models/quote-request.js +13 -0
  111. package/dist/cjs/types/models/quote-request.js.map +1 -1
  112. package/dist/cjs/types/models/quote.d.ts +25 -11
  113. package/dist/cjs/types/models/quote.d.ts.map +1 -1
  114. package/dist/cjs/types/models/quote.js +14 -0
  115. package/dist/cjs/types/models/quote.js.map +1 -1
  116. package/dist/cjs/types/models/review.d.ts +20 -14
  117. package/dist/cjs/types/models/review.d.ts.map +1 -1
  118. package/dist/cjs/types/models/search.d.ts +62 -4
  119. package/dist/cjs/types/models/search.d.ts.map +1 -1
  120. package/dist/cjs/types/models/search.js +51 -0
  121. package/dist/cjs/types/models/search.js.map +1 -1
  122. package/dist/cjs/types/models/shipping-method.d.ts +38 -21
  123. package/dist/cjs/types/models/shipping-method.d.ts.map +1 -1
  124. package/dist/cjs/types/models/shipping-method.js +7 -0
  125. package/dist/cjs/types/models/shipping-method.js.map +1 -1
  126. package/dist/cjs/types/models/shopping-list.d.ts +66 -28
  127. package/dist/cjs/types/models/shopping-list.d.ts.map +1 -1
  128. package/dist/cjs/types/models/staged-quote.d.ts +21 -10
  129. package/dist/cjs/types/models/staged-quote.d.ts.map +1 -1
  130. package/dist/cjs/types/models/staged-quote.js +11 -0
  131. package/dist/cjs/types/models/staged-quote.js.map +1 -1
  132. package/dist/cjs/types/models/standalone-price.d.ts +23 -17
  133. package/dist/cjs/types/models/standalone-price.d.ts.map +1 -1
  134. package/dist/cjs/types/models/state.d.ts +33 -13
  135. package/dist/cjs/types/models/state.d.ts.map +1 -1
  136. package/dist/cjs/types/models/state.js +25 -0
  137. package/dist/cjs/types/models/state.js.map +1 -1
  138. package/dist/cjs/types/models/store.d.ts +29 -23
  139. package/dist/cjs/types/models/store.d.ts.map +1 -1
  140. package/dist/cjs/types/models/subscription.d.ts +138 -18
  141. package/dist/cjs/types/models/subscription.d.ts.map +1 -1
  142. package/dist/cjs/types/models/subscription.js +95 -0
  143. package/dist/cjs/types/models/subscription.js.map +1 -1
  144. package/dist/cjs/types/models/tax-category.d.ts +15 -9
  145. package/dist/cjs/types/models/tax-category.d.ts.map +1 -1
  146. package/dist/cjs/types/models/type.d.ts +101 -29
  147. package/dist/cjs/types/models/type.d.ts.map +1 -1
  148. package/dist/cjs/types/models/type.js +76 -0
  149. package/dist/cjs/types/models/type.js.map +1 -1
  150. package/dist/cjs/types/models/warning.d.ts +15 -1
  151. package/dist/cjs/types/models/warning.d.ts.map +1 -1
  152. package/dist/cjs/types/models/zone.d.ts +14 -8
  153. package/dist/cjs/types/models/zone.d.ts.map +1 -1
  154. package/dist/mjs/api/CommercetoolsApi.d.ts +3 -4
  155. package/dist/mjs/api/CommercetoolsApi.d.ts.map +1 -1
  156. package/dist/mjs/api/CommercetoolsApi.js +2 -7
  157. package/dist/mjs/api/CommercetoolsApi.js.map +1 -1
  158. package/dist/mjs/tsconfig.tsbuildinfo +1 -1
  159. package/dist/mjs/types/models/approval-flow.d.ts +15 -4
  160. package/dist/mjs/types/models/approval-flow.d.ts.map +1 -1
  161. package/dist/mjs/types/models/approval-flow.js +10 -1
  162. package/dist/mjs/types/models/approval-flow.js.map +1 -1
  163. package/dist/mjs/types/models/approval-rule.d.ts +19 -9
  164. package/dist/mjs/types/models/approval-rule.d.ts.map +1 -1
  165. package/dist/mjs/types/models/approval-rule.js +9 -1
  166. package/dist/mjs/types/models/approval-rule.js.map +1 -1
  167. package/dist/mjs/types/models/associate-role.d.ts +58 -11
  168. package/dist/mjs/types/models/associate-role.d.ts.map +1 -1
  169. package/dist/mjs/types/models/associate-role.js +46 -1
  170. package/dist/mjs/types/models/associate-role.js.map +1 -1
  171. package/dist/mjs/types/models/attribute-group.d.ts +15 -9
  172. package/dist/mjs/types/models/attribute-group.d.ts.map +1 -1
  173. package/dist/mjs/types/models/business-unit-search.d.ts +114 -0
  174. package/dist/mjs/types/models/business-unit-search.d.ts.map +1 -0
  175. package/dist/mjs/types/models/business-unit-search.js +7 -0
  176. package/dist/mjs/types/models/business-unit-search.js.map +1 -0
  177. package/dist/mjs/types/models/business-unit.d.ts +349 -35
  178. package/dist/mjs/types/models/business-unit.d.ts.map +1 -1
  179. package/dist/mjs/types/models/business-unit.js +54 -1
  180. package/dist/mjs/types/models/business-unit.js.map +1 -1
  181. package/dist/mjs/types/models/cart-discount.d.ts +218 -36
  182. package/dist/mjs/types/models/cart-discount.d.ts.map +1 -1
  183. package/dist/mjs/types/models/cart-discount.js +28 -1
  184. package/dist/mjs/types/models/cart-discount.js.map +1 -1
  185. package/dist/mjs/types/models/cart.d.ts +178 -88
  186. package/dist/mjs/types/models/cart.d.ts.map +1 -1
  187. package/dist/mjs/types/models/cart.js +126 -1
  188. package/dist/mjs/types/models/cart.js.map +1 -1
  189. package/dist/mjs/types/models/category.d.ts +32 -26
  190. package/dist/mjs/types/models/category.d.ts.map +1 -1
  191. package/dist/mjs/types/models/channel.d.ts +28 -15
  192. package/dist/mjs/types/models/channel.d.ts.map +1 -1
  193. package/dist/mjs/types/models/channel.js +12 -1
  194. package/dist/mjs/types/models/channel.js.map +1 -1
  195. package/dist/mjs/types/models/common.d.ts +167 -5
  196. package/dist/mjs/types/models/common.d.ts.map +1 -1
  197. package/dist/mjs/types/models/common.js +60 -1
  198. package/dist/mjs/types/models/common.js.map +1 -1
  199. package/dist/mjs/types/models/custom-object.d.ts +2 -2
  200. package/dist/mjs/types/models/custom-object.d.ts.map +1 -1
  201. package/dist/mjs/types/models/customer-group.d.ts +13 -7
  202. package/dist/mjs/types/models/customer-group.d.ts.map +1 -1
  203. package/dist/mjs/types/models/customer.d.ts +53 -39
  204. package/dist/mjs/types/models/customer.d.ts.map +1 -1
  205. package/dist/mjs/types/models/customer.js +10 -1
  206. package/dist/mjs/types/models/customer.js.map +1 -1
  207. package/dist/mjs/types/models/discount-code.d.ts +24 -18
  208. package/dist/mjs/types/models/discount-code.d.ts.map +1 -1
  209. package/dist/mjs/types/models/error.d.ts +193 -167
  210. package/dist/mjs/types/models/error.d.ts.map +1 -1
  211. package/dist/mjs/types/models/extension.d.ts +43 -9
  212. package/dist/mjs/types/models/extension.d.ts.map +1 -1
  213. package/dist/mjs/types/models/extension.js +26 -1
  214. package/dist/mjs/types/models/extension.js.map +1 -1
  215. package/dist/mjs/types/models/index.d.ts +1 -0
  216. package/dist/mjs/types/models/index.d.ts.map +1 -1
  217. package/dist/mjs/types/models/index.js +1 -0
  218. package/dist/mjs/types/models/index.js.map +1 -1
  219. package/dist/mjs/types/models/inventory.d.ts +19 -13
  220. package/dist/mjs/types/models/inventory.d.ts.map +1 -1
  221. package/dist/mjs/types/models/me.d.ts +210 -100
  222. package/dist/mjs/types/models/me.d.ts.map +1 -1
  223. package/dist/mjs/types/models/me.js +9 -1
  224. package/dist/mjs/types/models/me.js.map +1 -1
  225. package/dist/mjs/types/models/message.d.ts +871 -489
  226. package/dist/mjs/types/models/message.d.ts.map +1 -1
  227. package/dist/mjs/types/models/order-edit.d.ts +131 -108
  228. package/dist/mjs/types/models/order-edit.d.ts.map +1 -1
  229. package/dist/mjs/types/models/order.d.ts +211 -69
  230. package/dist/mjs/types/models/order.d.ts.map +1 -1
  231. package/dist/mjs/types/models/order.js +92 -1
  232. package/dist/mjs/types/models/order.js.map +1 -1
  233. package/dist/mjs/types/models/payment.d.ts +42 -23
  234. package/dist/mjs/types/models/payment.d.ts.map +1 -1
  235. package/dist/mjs/types/models/payment.js +19 -1
  236. package/dist/mjs/types/models/payment.js.map +1 -1
  237. package/dist/mjs/types/models/product-discount.d.ts +37 -19
  238. package/dist/mjs/types/models/product-discount.d.ts.map +1 -1
  239. package/dist/mjs/types/models/product-search.d.ts +43 -14
  240. package/dist/mjs/types/models/product-search.d.ts.map +1 -1
  241. package/dist/mjs/types/models/product-search.js +15 -1
  242. package/dist/mjs/types/models/product-search.js.map +1 -1
  243. package/dist/mjs/types/models/product-selection.d.ts +42 -16
  244. package/dist/mjs/types/models/product-selection.d.ts.map +1 -1
  245. package/dist/mjs/types/models/product-selection.js +16 -1
  246. package/dist/mjs/types/models/product-selection.js.map +1 -1
  247. package/dist/mjs/types/models/product-tailoring.d.ts +42 -33
  248. package/dist/mjs/types/models/product-tailoring.d.ts.map +1 -1
  249. package/dist/mjs/types/models/product-type.d.ts +83 -40
  250. package/dist/mjs/types/models/product-type.d.ts.map +1 -1
  251. package/dist/mjs/types/models/product-type.js +47 -1
  252. package/dist/mjs/types/models/product-type.js.map +1 -1
  253. package/dist/mjs/types/models/product.d.ts +97 -59
  254. package/dist/mjs/types/models/product.d.ts.map +1 -1
  255. package/dist/mjs/types/models/product.js +25 -1
  256. package/dist/mjs/types/models/product.js.map +1 -1
  257. package/dist/mjs/types/models/project.d.ts +94 -20
  258. package/dist/mjs/types/models/project.d.ts.map +1 -1
  259. package/dist/mjs/types/models/project.js +72 -1
  260. package/dist/mjs/types/models/project.js.map +1 -1
  261. package/dist/mjs/types/models/quote-request.d.ts +21 -8
  262. package/dist/mjs/types/models/quote-request.d.ts.map +1 -1
  263. package/dist/mjs/types/models/quote-request.js +12 -1
  264. package/dist/mjs/types/models/quote-request.js.map +1 -1
  265. package/dist/mjs/types/models/quote.d.ts +25 -11
  266. package/dist/mjs/types/models/quote.d.ts.map +1 -1
  267. package/dist/mjs/types/models/quote.js +13 -1
  268. package/dist/mjs/types/models/quote.js.map +1 -1
  269. package/dist/mjs/types/models/review.d.ts +20 -14
  270. package/dist/mjs/types/models/review.d.ts.map +1 -1
  271. package/dist/mjs/types/models/search.d.ts +62 -4
  272. package/dist/mjs/types/models/search.d.ts.map +1 -1
  273. package/dist/mjs/types/models/search.js +50 -1
  274. package/dist/mjs/types/models/search.js.map +1 -1
  275. package/dist/mjs/types/models/shipping-method.d.ts +38 -21
  276. package/dist/mjs/types/models/shipping-method.d.ts.map +1 -1
  277. package/dist/mjs/types/models/shipping-method.js +6 -1
  278. package/dist/mjs/types/models/shipping-method.js.map +1 -1
  279. package/dist/mjs/types/models/shopping-list.d.ts +66 -28
  280. package/dist/mjs/types/models/shopping-list.d.ts.map +1 -1
  281. package/dist/mjs/types/models/staged-quote.d.ts +21 -10
  282. package/dist/mjs/types/models/staged-quote.d.ts.map +1 -1
  283. package/dist/mjs/types/models/staged-quote.js +10 -1
  284. package/dist/mjs/types/models/staged-quote.js.map +1 -1
  285. package/dist/mjs/types/models/standalone-price.d.ts +23 -17
  286. package/dist/mjs/types/models/standalone-price.d.ts.map +1 -1
  287. package/dist/mjs/types/models/state.d.ts +33 -13
  288. package/dist/mjs/types/models/state.d.ts.map +1 -1
  289. package/dist/mjs/types/models/state.js +24 -1
  290. package/dist/mjs/types/models/state.js.map +1 -1
  291. package/dist/mjs/types/models/store.d.ts +29 -23
  292. package/dist/mjs/types/models/store.d.ts.map +1 -1
  293. package/dist/mjs/types/models/subscription.d.ts +138 -18
  294. package/dist/mjs/types/models/subscription.d.ts.map +1 -1
  295. package/dist/mjs/types/models/subscription.js +94 -1
  296. package/dist/mjs/types/models/subscription.js.map +1 -1
  297. package/dist/mjs/types/models/tax-category.d.ts +15 -9
  298. package/dist/mjs/types/models/tax-category.d.ts.map +1 -1
  299. package/dist/mjs/types/models/type.d.ts +101 -29
  300. package/dist/mjs/types/models/type.d.ts.map +1 -1
  301. package/dist/mjs/types/models/type.js +75 -1
  302. package/dist/mjs/types/models/type.js.map +1 -1
  303. package/dist/mjs/types/models/warning.d.ts +15 -1
  304. package/dist/mjs/types/models/warning.d.ts.map +1 -1
  305. package/dist/mjs/types/models/zone.d.ts +14 -8
  306. package/dist/mjs/types/models/zone.d.ts.map +1 -1
  307. package/package.json +2 -2
@@ -31,13 +31,28 @@ export interface ErrorByExtension {
31
31
  * Represents a single error. Multiple errors may be included in an [ErrorResponse](ctp:api:type:ErrorResponse).
32
32
  */
33
33
  export type ErrorObject = AnonymousIdAlreadyInUseError | AssociateMissingPermissionError | AttributeDefinitionAlreadyExistsError | AttributeDefinitionTypeConflictError | AttributeNameDoesNotExistError | BadGatewayError | ConcurrentModificationError | ContentTooLargeError | CountryNotConfiguredInStoreError | DiscountCodeNonApplicableError | DuplicateAttributeValueError | DuplicateAttributeValuesError | DuplicateEnumValuesError | DuplicateFieldError | DuplicateFieldWithConflictingResourceError | DuplicatePriceKeyError | DuplicatePriceScopeError | DuplicateStandalonePriceScopeError | DuplicateVariantValuesError | EditPreviewFailedError | EnumKeyAlreadyExistsError | EnumKeyDoesNotExistError | EnumValueIsUsedError | EnumValuesMustMatchError | ExtensionBadResponseError | ExtensionNoResponseError | ExtensionPredicateEvaluationFailedError | ExtensionUpdateActionsFailedError | ExternalOAuthFailedError | FeatureRemovedError | GeneralError | InsufficientScopeError | InternalConstraintViolatedError | InvalidCredentialsError | InvalidCurrentPasswordError | InvalidFieldError | InvalidInputError | InvalidItemShippingDetailsError | InvalidJsonInputError | InvalidOperationError | InvalidSubjectError | InvalidTokenError | LanguageUsedInStoresError | LockedFieldError | MatchingPriceNotFoundError | MaxCartDiscountsReachedError | MaxResourceLimitExceededError | MaxStoreReferencesReachedError | MissingRoleOnChannelError | MissingTaxRateForCountryError | MoneyOverflowError | NoMatchingProductDiscountFoundError | ObjectNotFoundError | OutOfStockError | OverCapacityError | OverlappingStandalonePriceValidityError | PendingOperationError | PriceChangedError | ProductAssignmentMissingError | ProductPresentWithDifferentVariantSelectionError | ProjectNotConfiguredForLanguagesError | QueryComplexityLimitExceededError | QueryTimedOutError | ReferenceExistsError | ReferencedResourceNotFoundError | RequiredFieldError | ResourceNotFoundError | ResourceSizeLimitExceededError | SearchDeactivatedError | SearchExecutionFailureError | SearchFacetPathNotFoundError | SearchIndexingInProgressError | SearchNotReadyError | SemanticErrorError | ShippingMethodDoesNotMatchCartError | StoreCartDiscountsLimitReachedError | SyntaxErrorError;
34
+ export interface IErrorObject {
35
+ [key: string]: any;
36
+ /**
37
+ * Error identifier.
38
+ *
39
+ *
40
+ */
41
+ readonly code: string;
42
+ /**
43
+ * Plain text description of the cause of the error.
44
+ *
45
+ *
46
+ */
47
+ readonly message: string;
48
+ }
34
49
  /**
35
50
  * Returned when the anonymous ID is being used by another resource.
36
51
  *
37
52
  * The client application should choose another anonymous ID or retrieve an automatically generated one.
38
53
  *
39
54
  */
40
- export interface AnonymousIdAlreadyInUseError {
55
+ export interface AnonymousIdAlreadyInUseError extends IErrorObject {
41
56
  readonly code: 'AnonymousIdAlreadyInUse';
42
57
  [key: string]: any;
43
58
  /**
@@ -51,7 +66,7 @@ export interface AnonymousIdAlreadyInUseError {
51
66
  * Returned when an [Associate](/projects/business-units#associate) is missing a [Permission](/projects/associate-roles#ctp:api:type:Permission) on a [B2B resource](/associates-overview#b2b-resources).
52
67
  *
53
68
  */
54
- export interface AssociateMissingPermissionError {
69
+ export interface AssociateMissingPermissionError extends IErrorObject {
55
70
  readonly code: 'AssociateMissingPermission';
56
71
  [key: string]: any;
57
72
  /**
@@ -93,7 +108,7 @@ export interface AssociateMissingPermissionError {
93
108
  * The error is returned as a failed response to the [Create ProductType](ctp:api:endpoint:/{projectKey}/product-types:POST) request or [Change AttributeDefinition Name](ctp:api:type:ProductTypeChangeAttributeNameAction) update action.
94
109
  *
95
110
  */
96
- export interface AttributeDefinitionAlreadyExistsError {
111
+ export interface AttributeDefinitionAlreadyExistsError extends IErrorObject {
97
112
  readonly code: 'AttributeDefinitionAlreadyExists';
98
113
  [key: string]: any;
99
114
  /**
@@ -127,7 +142,7 @@ export interface AttributeDefinitionAlreadyExistsError {
127
142
  * The error is returned as a failed response to the [Create ProductType](ctp:api:endpoint:/{projectKey}/product-types:POST) request.
128
143
  *
129
144
  */
130
- export interface AttributeDefinitionTypeConflictError {
145
+ export interface AttributeDefinitionTypeConflictError extends IErrorObject {
131
146
  readonly code: 'AttributeDefinitionTypeConflict';
132
147
  [key: string]: any;
133
148
  /**
@@ -161,7 +176,7 @@ export interface AttributeDefinitionTypeConflictError {
161
176
  * The error is returned as a failed response to the [Change AttributeDefinition Name](ctp:api:type:ProductTypeChangeAttributeNameAction) update action.
162
177
  *
163
178
  */
164
- export interface AttributeNameDoesNotExistError {
179
+ export interface AttributeNameDoesNotExistError extends IErrorObject {
165
180
  readonly code: 'AttributeNameDoesNotExist';
166
181
  [key: string]: any;
167
182
  /**
@@ -183,7 +198,7 @@ export interface AttributeNameDoesNotExistError {
183
198
  * The client application should retry the request with exponential backoff up to a point where further delay is unacceptable.
184
199
  *
185
200
  */
186
- export interface BadGatewayError {
201
+ export interface BadGatewayError extends IErrorObject {
187
202
  readonly code: 'BadGateway';
188
203
  [key: string]: any;
189
204
  /**
@@ -197,7 +212,7 @@ export interface BadGatewayError {
197
212
  * The client application should resolve the conflict (with or without involving the end user) before retrying the request.
198
213
  *
199
214
  */
200
- export interface ConcurrentModificationError {
215
+ export interface ConcurrentModificationError extends IErrorObject {
201
216
  readonly code: 'ConcurrentModification';
202
217
  [key: string]: any;
203
218
  /**
@@ -217,7 +232,7 @@ export interface ConcurrentModificationError {
217
232
  * Returned when the request results in too much data being returned from the API. Adjust the request query to reduce the size of the data returned.
218
233
  *
219
234
  */
220
- export interface ContentTooLargeError {
235
+ export interface ContentTooLargeError extends IErrorObject {
221
236
  readonly code: 'ContentTooLarge';
222
237
  [key: string]: any;
223
238
  /**
@@ -240,7 +255,7 @@ export interface ContentTooLargeError {
240
255
  * - [Set Country](ctp:api:type:StagedOrderSetCountryAction) update action on Order Edits.
241
256
  *
242
257
  */
243
- export interface CountryNotConfiguredInStoreError {
258
+ export interface CountryNotConfiguredInStoreError extends IErrorObject {
244
259
  readonly code: 'CountryNotConfiguredInStore';
245
260
  [key: string]: any;
246
261
  /**
@@ -276,7 +291,7 @@ export interface CountryNotConfiguredInStoreError {
276
291
  * - [Create Order from Cart in BusinessUnit](ctp:api:endpoint:/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders:POST) request on Associate Orders.
277
292
  *
278
293
  */
279
- export interface DiscountCodeNonApplicableError {
294
+ export interface DiscountCodeNonApplicableError extends IErrorObject {
280
295
  readonly code: 'DiscountCodeNonApplicable';
281
296
  [key: string]: any;
282
297
  /**
@@ -326,7 +341,7 @@ export interface DiscountCodeNonApplicableError {
326
341
  * Returned when the `Unique` [AttributeConstraint](ctp:api:type:AttributeConstraintEnum) criteria are not met during an [Update Product](/../api/projects/products#update-product) request.
327
342
  *
328
343
  */
329
- export interface DuplicateAttributeValueError {
344
+ export interface DuplicateAttributeValueError extends IErrorObject {
330
345
  readonly code: 'DuplicateAttributeValue';
331
346
  [key: string]: any;
332
347
  /**
@@ -346,7 +361,7 @@ export interface DuplicateAttributeValueError {
346
361
  * Returned when the `CombinationUnique` [AttributeConstraint](ctp:api:type:AttributeConstraintEnum) criteria are not met during an [Update Product](/../api/projects/products#update-product) request.
347
362
  *
348
363
  */
349
- export interface DuplicateAttributeValuesError {
364
+ export interface DuplicateAttributeValuesError extends IErrorObject {
350
365
  readonly code: 'DuplicateAttributeValues';
351
366
  [key: string]: any;
352
367
  /**
@@ -366,7 +381,7 @@ export interface DuplicateAttributeValuesError {
366
381
  * Returned when an [AttributeEnumType](ctp:api:type:AttributeEnumType) or [AttributeLocalizedEnumType](ctp:api:type:AttributeLocalizedEnumType) contains duplicate keys.
367
382
  *
368
383
  */
369
- export interface DuplicateEnumValuesError {
384
+ export interface DuplicateEnumValuesError extends IErrorObject {
370
385
  readonly code: 'DuplicateEnumValues';
371
386
  [key: string]: any;
372
387
  /**
@@ -386,7 +401,7 @@ export interface DuplicateEnumValuesError {
386
401
  * Returned when a field value conflicts with an existing value causing a duplicate.
387
402
  *
388
403
  */
389
- export interface DuplicateFieldError {
404
+ export interface DuplicateFieldError extends IErrorObject {
390
405
  readonly code: 'DuplicateField';
391
406
  [key: string]: any;
392
407
  /**
@@ -412,7 +427,7 @@ export interface DuplicateFieldError {
412
427
  * Returned when a field value conflicts with an existing value stored in a particular resource causing a duplicate.
413
428
  *
414
429
  */
415
- export interface DuplicateFieldWithConflictingResourceError {
430
+ export interface DuplicateFieldWithConflictingResourceError extends IErrorObject {
416
431
  readonly code: 'DuplicateFieldWithConflictingResource';
417
432
  [key: string]: any;
418
433
  /**
@@ -446,7 +461,7 @@ export interface DuplicateFieldWithConflictingResourceError {
446
461
  * Keys of Embedded Prices must be unique per ProductVariant.
447
462
  *
448
463
  */
449
- export interface DuplicatePriceKeyError {
464
+ export interface DuplicatePriceKeyError extends IErrorObject {
450
465
  readonly code: 'DuplicatePriceKey';
451
466
  [key: string]: any;
452
467
  /**
@@ -468,7 +483,7 @@ export interface DuplicatePriceKeyError {
468
483
  * Every Price of a Product Variant must have a distinct combination of currency, Customer Group, country, and Channel that constitute the scope of a Price.
469
484
  *
470
485
  */
471
- export interface DuplicatePriceScopeError {
486
+ export interface DuplicatePriceScopeError extends IErrorObject {
472
487
  readonly code: 'DuplicatePriceScope';
473
488
  [key: string]: any;
474
489
  /**
@@ -491,7 +506,7 @@ export interface DuplicatePriceScopeError {
491
506
  * The error is returned as a failed response to the [Create StandalonePrice](ctp:api:endpoint:/{projectKey}/standalone-prices:POST) request.
492
507
  *
493
508
  */
494
- export interface DuplicateStandalonePriceScopeError {
509
+ export interface DuplicateStandalonePriceScopeError extends IErrorObject {
495
510
  readonly code: 'DuplicateStandalonePriceScope';
496
511
  [key: string]: any;
497
512
  /**
@@ -553,7 +568,7 @@ export interface DuplicateStandalonePriceScopeError {
553
568
  * Returned when a [Product Variant](ctp:api:type:ProductVariant) value conflicts with an existing one during an [Update Product](/../api/projects/products#update-product) request.
554
569
  *
555
570
  */
556
- export interface DuplicateVariantValuesError {
571
+ export interface DuplicateVariantValuesError extends IErrorObject {
557
572
  readonly code: 'DuplicateVariantValues';
558
573
  [key: string]: any;
559
574
  /**
@@ -575,7 +590,7 @@ export interface DuplicateVariantValuesError {
575
590
  * The error is returned as a failed response to the [Get Shipping Methods for an OrderEdit](ctp:api:endpoint:/{projectKey}/shipping-methods/matching-orderedit:GET) request.
576
591
  *
577
592
  */
578
- export interface EditPreviewFailedError {
593
+ export interface EditPreviewFailedError extends IErrorObject {
579
594
  readonly code: 'EditPreviewFailed';
580
595
  [key: string]: any;
581
596
  /**
@@ -595,7 +610,7 @@ export interface EditPreviewFailedError {
595
610
  * Returned when an [AttributeEnumType](ctp:api:type:AttributeEnumType) or [AttributeLocalizedEnumType](ctp:api:type:AttributeLocalizedEnumType) contains a key that already exists.
596
611
  *
597
612
  */
598
- export interface EnumKeyAlreadyExistsError {
613
+ export interface EnumKeyAlreadyExistsError extends IErrorObject {
599
614
  readonly code: 'EnumKeyAlreadyExists';
600
615
  [key: string]: any;
601
616
  /**
@@ -623,7 +638,7 @@ export interface EnumKeyAlreadyExistsError {
623
638
  * The error is returned as a failed response to the [Change the key of an EnumValue](ctp:api:type:ProductTypeChangeEnumKeyAction) update action.
624
639
  *
625
640
  */
626
- export interface EnumKeyDoesNotExistError {
641
+ export interface EnumKeyDoesNotExistError extends IErrorObject {
627
642
  readonly code: 'EnumKeyDoesNotExist';
628
643
  [key: string]: any;
629
644
  /**
@@ -651,7 +666,7 @@ export interface EnumKeyDoesNotExistError {
651
666
  * The error is returned as a failed response to the [Remove EnumValues from AttributeDefinition](ctp:api:type:ProductTypeRemoveEnumValuesAction) update action.
652
667
  *
653
668
  */
654
- export interface EnumValueIsUsedError {
669
+ export interface EnumValueIsUsedError extends IErrorObject {
655
670
  readonly code: 'EnumValueIsUsed';
656
671
  [key: string]: any;
657
672
  /**
@@ -667,7 +682,7 @@ export interface EnumValueIsUsedError {
667
682
  * The error is returned as a failed response to the [Change the order of EnumValues](ctp:api:type:ProductTypeChangePlainEnumValueOrderAction) and [Change the order of LocalizedEnumValues](ctp:api:type:ProductTypeChangeLocalizedEnumValueOrderAction) update actions.
668
683
  *
669
684
  */
670
- export interface EnumValuesMustMatchError {
685
+ export interface EnumValuesMustMatchError extends IErrorObject {
671
686
  readonly code: 'EnumValuesMustMatch';
672
687
  [key: string]: any;
673
688
  /**
@@ -731,7 +746,7 @@ export interface AuthErrorResponse extends ErrorResponse {
731
746
  * Returned when the response from the API Extension could not be parsed successfully (such as a `500` HTTP status code, or an invalid JSON response).
732
747
  *
733
748
  */
734
- export interface ExtensionBadResponseError {
749
+ export interface ExtensionBadResponseError extends IErrorObject {
735
750
  readonly code: 'ExtensionBadResponse';
736
751
  [key: string]: any;
737
752
  /**
@@ -808,7 +823,7 @@ export interface ExtensionError {
808
823
  * Returned when the API Extension does not respond within the [time limit](/../api/projects/api-extensions#time-limits), or could not be reached.
809
824
  *
810
825
  */
811
- export interface ExtensionNoResponseError {
826
+ export interface ExtensionNoResponseError extends IErrorObject {
812
827
  readonly code: 'ExtensionNoResponse';
813
828
  [key: string]: any;
814
829
  /**
@@ -834,7 +849,7 @@ export interface ExtensionNoResponseError {
834
849
  * Returned when the predicate defined in the [ExtensionTrigger](ctp:api:type:ExtensionTrigger) could not be evaluated due to a missing field.
835
850
  *
836
851
  */
837
- export interface ExtensionPredicateEvaluationFailedError {
852
+ export interface ExtensionPredicateEvaluationFailedError extends IErrorObject {
838
853
  readonly code: 'ExtensionPredicateEvaluationFailed';
839
854
  [key: string]: any;
840
855
  /**
@@ -855,7 +870,7 @@ export interface ExtensionPredicateEvaluationFailedError {
855
870
  * This would result in a [400 Bad Request](#400-bad-request) response if the same update action was sent from a regular client.
856
871
  *
857
872
  */
858
- export interface ExtensionUpdateActionsFailedError {
873
+ export interface ExtensionUpdateActionsFailedError extends IErrorObject {
859
874
  readonly code: 'ExtensionUpdateActionsFailed';
860
875
  [key: string]: any;
861
876
  /**
@@ -884,10 +899,10 @@ export interface ExtensionUpdateActionsFailedError {
884
899
  readonly extensionErrors: ExtensionError[];
885
900
  }
886
901
  /**
887
- * Returned when an [external OAuth Introspection endpoint](/../api/authorization#requesting-an-access-token-using-an-external-oauth-server) does not return a response within the [time limit](/../api/authorization#time-limits), or the response isn't compliant with [RFC 7662](https://www.rfc-editor.org/rfc/rfc7662.html) (for example, an HTTP status code like `500`).
902
+ * Returned when an [external OAuth Introspection endpoint](/../api/authorization#request-an-access-token-using-an-external-oauth-server) does not return a response within the [time limit](/../api/authorization#time-limits), or the response isn't compliant with [RFC 7662](https://www.rfc-editor.org/rfc/rfc7662.html) (for example, an HTTP status code like `500`).
888
903
  *
889
904
  */
890
- export interface ExternalOAuthFailedError {
905
+ export interface ExternalOAuthFailedError extends IErrorObject {
891
906
  readonly code: 'ExternalOAuthFailed';
892
907
  [key: string]: any;
893
908
  /**
@@ -901,7 +916,7 @@ export interface ExternalOAuthFailedError {
901
916
  * Returned when the requested feature was removed.
902
917
  *
903
918
  */
904
- export interface FeatureRemovedError {
919
+ export interface FeatureRemovedError extends IErrorObject {
905
920
  readonly code: 'FeatureRemoved';
906
921
  [key: string]: any;
907
922
  /**
@@ -917,7 +932,7 @@ export interface FeatureRemovedError {
917
932
  * If you encounter this error, report it to the [Composable Commerce support team](https://support.commercetools.com).
918
933
  *
919
934
  */
920
- export interface GeneralError {
935
+ export interface GeneralError extends IErrorObject {
921
936
  readonly code: 'General';
922
937
  [key: string]: any;
923
938
  /**
@@ -927,7 +942,7 @@ export interface GeneralError {
927
942
  */
928
943
  readonly message: string;
929
944
  }
930
- export interface InsufficientScopeError {
945
+ export interface InsufficientScopeError extends IErrorObject {
931
946
  readonly code: 'insufficient_scope';
932
947
  [key: string]: any;
933
948
  /**
@@ -941,7 +956,7 @@ export interface InsufficientScopeError {
941
956
  * Returned when certain API-specific constraints were not met. For example, the specified [Discount Code](ctp:api:type:DiscountCode) was never applied and cannot be updated.
942
957
  *
943
958
  */
944
- export interface InternalConstraintViolatedError {
959
+ export interface InternalConstraintViolatedError extends IErrorObject {
945
960
  readonly code: 'InternalConstraintViolated';
946
961
  [key: string]: any;
947
962
  /**
@@ -959,7 +974,7 @@ export interface InternalConstraintViolatedError {
959
974
  * - [Authenticate (sign in) Customer](ctp:api:endpoint:/{projectKey}/me/login:POST) and [Authenticate (sign in) Customer in Store](ctp:api:endpoint:/{projectKey}/in-store/key={storeKey}/me/login:POST) requests on My Customer Profile.
960
975
  *
961
976
  */
962
- export interface InvalidCredentialsError {
977
+ export interface InvalidCredentialsError extends IErrorObject {
963
978
  readonly code: 'InvalidCredentials';
964
979
  [key: string]: any;
965
980
  /**
@@ -978,7 +993,7 @@ export interface InvalidCredentialsError {
978
993
  * - [Change Customer Password](ctp:api:endpoint:/{projectKey}/me/password:POST) and [Change Customer Password in a Store](ctp:api:endpoint:/{projectKey}/in-store/key={storeKey}/me/password:POST) requests on My Customer Profile.
979
994
  *
980
995
  */
981
- export interface InvalidCurrentPasswordError {
996
+ export interface InvalidCurrentPasswordError extends IErrorObject {
982
997
  readonly code: 'InvalidCurrentPassword';
983
998
  [key: string]: any;
984
999
  /**
@@ -992,7 +1007,7 @@ export interface InvalidCurrentPasswordError {
992
1007
  * Returned when a field has an invalid value.
993
1008
  *
994
1009
  */
995
- export interface InvalidFieldError {
1010
+ export interface InvalidFieldError extends IErrorObject {
996
1011
  readonly code: 'InvalidField';
997
1012
  [key: string]: any;
998
1013
  /**
@@ -1024,7 +1039,7 @@ export interface InvalidFieldError {
1024
1039
  * Returned when an invalid input has been sent.
1025
1040
  *
1026
1041
  */
1027
- export interface InvalidInputError {
1042
+ export interface InvalidInputError extends IErrorObject {
1028
1043
  readonly code: 'InvalidInput';
1029
1044
  [key: string]: any;
1030
1045
  /**
@@ -1050,7 +1065,7 @@ export interface InvalidInputError {
1050
1065
  * - [Create Order from Cart in BusinessUnit](ctp:api:endpoint:/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders:POST) and [Create Order from Quote in BusinessUnit](ctp:api:endpoint:/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/quotes:POST) requests on Associate Orders.
1051
1066
  *
1052
1067
  */
1053
- export interface InvalidItemShippingDetailsError {
1068
+ export interface InvalidItemShippingDetailsError extends IErrorObject {
1054
1069
  readonly code: 'InvalidItemShippingDetails';
1055
1070
  [key: string]: any;
1056
1071
  /**
@@ -1079,7 +1094,7 @@ export interface InvalidItemShippingDetailsError {
1079
1094
  * The client application should validate the input according to the constraints described in the error message before sending the request.
1080
1095
  *
1081
1096
  */
1082
- export interface InvalidJsonInputError {
1097
+ export interface InvalidJsonInputError extends IErrorObject {
1083
1098
  readonly code: 'InvalidJsonInput';
1084
1099
  [key: string]: any;
1085
1100
  /**
@@ -1100,7 +1115,7 @@ export interface InvalidJsonInputError {
1100
1115
  * The client application should validate the constraints described in the error message before sending the request.
1101
1116
  *
1102
1117
  */
1103
- export interface InvalidOperationError {
1118
+ export interface InvalidOperationError extends IErrorObject {
1104
1119
  readonly code: 'InvalidOperation';
1105
1120
  [key: string]: any;
1106
1121
  /**
@@ -1110,7 +1125,7 @@ export interface InvalidOperationError {
1110
1125
  */
1111
1126
  readonly message: string;
1112
1127
  }
1113
- export interface InvalidSubjectError {
1128
+ export interface InvalidSubjectError extends IErrorObject {
1114
1129
  readonly code: 'InvalidSubject';
1115
1130
  [key: string]: any;
1116
1131
  /**
@@ -1120,7 +1135,7 @@ export interface InvalidSubjectError {
1120
1135
  */
1121
1136
  readonly message: string;
1122
1137
  }
1123
- export interface InvalidTokenError {
1138
+ export interface InvalidTokenError extends IErrorObject {
1124
1139
  readonly code: 'invalid_token';
1125
1140
  [key: string]: any;
1126
1141
  /**
@@ -1136,7 +1151,7 @@ export interface InvalidTokenError {
1136
1151
  * The error is returned as a failed response to the [Change Languages](ctp:api:type:ProjectChangeLanguagesAction) update action.
1137
1152
  *
1138
1153
  */
1139
- export interface LanguageUsedInStoresError {
1154
+ export interface LanguageUsedInStoresError extends IErrorObject {
1140
1155
  readonly code: 'LanguageUsedInStores';
1141
1156
  [key: string]: any;
1142
1157
  /**
@@ -1152,7 +1167,7 @@ export interface LanguageUsedInStoresError {
1152
1167
  * To confirm if the operation was successful, repeat the request.
1153
1168
  *
1154
1169
  */
1155
- export interface LockedFieldError {
1170
+ export interface LockedFieldError extends IErrorObject {
1156
1171
  readonly code: 'LockedField';
1157
1172
  [key: string]: any;
1158
1173
  /**
@@ -1185,7 +1200,7 @@ export interface LockedFieldError {
1185
1200
  * - [Create Order from Cart in BusinessUnit](ctp:api:endpoint:/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders:POST) request on Associate Orders.
1186
1201
  *
1187
1202
  */
1188
- export interface MatchingPriceNotFoundError {
1203
+ export interface MatchingPriceNotFoundError extends IErrorObject {
1189
1204
  readonly code: 'MatchingPriceNotFound';
1190
1205
  [key: string]: any;
1191
1206
  /**
@@ -1240,7 +1255,7 @@ export interface MatchingPriceNotFoundError {
1240
1255
  * - [Change IsActive](ctp:api:type:CartDiscountChangeIsActiveAction) update action
1241
1256
  *
1242
1257
  */
1243
- export interface MaxCartDiscountsReachedError {
1258
+ export interface MaxCartDiscountsReachedError extends IErrorObject {
1244
1259
  readonly code: 'MaxCartDiscountsReached';
1245
1260
  [key: string]: any;
1246
1261
  /**
@@ -1256,7 +1271,7 @@ export interface MaxCartDiscountsReachedError {
1256
1271
  * The limits must be adjusted for this resource before sending the request again.
1257
1272
  *
1258
1273
  */
1259
- export interface MaxResourceLimitExceededError {
1274
+ export interface MaxResourceLimitExceededError extends IErrorObject {
1260
1275
  readonly code: 'MaxResourceLimitExceeded';
1261
1276
  [key: string]: any;
1262
1277
  /**
@@ -1281,7 +1296,7 @@ export interface MaxResourceLimitExceededError {
1281
1296
  * - [Add Store](ctp:api:type:CartDiscountAddStoreAction) and [Set Store](ctp:api:type:CartDiscountSetStoresAction) update actions
1282
1297
  *
1283
1298
  */
1284
- export interface MaxStoreReferencesReachedError {
1299
+ export interface MaxStoreReferencesReachedError extends IErrorObject {
1285
1300
  readonly code: 'MaxStoreReferencesReached';
1286
1301
  [key: string]: any;
1287
1302
  /**
@@ -1303,7 +1318,7 @@ export interface MaxStoreReferencesReachedError {
1303
1318
  * - [Create StandalonePrice](ctp:api:endpoint:/{projectKey}/standalone-prices:POST) request.
1304
1319
  *
1305
1320
  */
1306
- export interface MissingRoleOnChannelError {
1321
+ export interface MissingRoleOnChannelError extends IErrorObject {
1307
1322
  readonly code: 'MissingRoleOnChannel';
1308
1323
  [key: string]: any;
1309
1324
  /**
@@ -1343,7 +1358,7 @@ export interface MissingRoleOnChannelError {
1343
1358
  * - [Create Order from Cart in BusinessUnit](ctp:api:endpoint:/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders:POST) requests on Associate Orders.
1344
1359
  *
1345
1360
  */
1346
- export interface MissingTaxRateForCountryError {
1361
+ export interface MissingTaxRateForCountryError extends IErrorObject {
1347
1362
  readonly code: 'MissingTaxRateForCountry';
1348
1363
  [key: string]: any;
1349
1364
  /**
@@ -1376,7 +1391,7 @@ export interface MissingTaxRateForCountryError {
1376
1391
  * See [Money usage](/types#usage) for more information.
1377
1392
  *
1378
1393
  */
1379
- export interface MoneyOverflowError {
1394
+ export interface MoneyOverflowError extends IErrorObject {
1380
1395
  readonly code: 'MoneyOverflow';
1381
1396
  [key: string]: any;
1382
1397
  /**
@@ -1392,7 +1407,7 @@ export interface MoneyOverflowError {
1392
1407
  * The error is returned as a failed response to the [Get Matching ProductDiscount](ctp:api:endpoint:/{projectKey}/product-discounts/matching:POST) request.
1393
1408
  *
1394
1409
  */
1395
- export interface NoMatchingProductDiscountFoundError {
1410
+ export interface NoMatchingProductDiscountFoundError extends IErrorObject {
1396
1411
  readonly code: 'NoMatchingProductDiscountFound';
1397
1412
  [key: string]: any;
1398
1413
  /**
@@ -1403,14 +1418,16 @@ export interface NoMatchingProductDiscountFoundError {
1403
1418
  readonly message: string;
1404
1419
  }
1405
1420
  /**
1406
- * Returned when the requested resource was not found.
1421
+ * Returned if the requested resource was not found or the Product Search index is [inactive](/../api/projects/product-search#activation-of-the-feature).
1407
1422
  *
1408
1423
  */
1409
- export interface ObjectNotFoundError {
1424
+ export interface ObjectNotFoundError extends IErrorObject {
1410
1425
  readonly code: 'ObjectNotFound';
1411
1426
  [key: string]: any;
1412
1427
  /**
1413
- * `"A $resourceType with identifier $id was unexpectedly not found."`
1428
+ * `"A $resourceType with identifier $id was unexpectedly not found."` or
1429
+ *
1430
+ * `"No index found for project"`
1414
1431
  *
1415
1432
  *
1416
1433
  */
@@ -1426,7 +1443,7 @@ export interface ObjectNotFoundError {
1426
1443
  * - [Create Order from Cart in BusinessUnit](ctp:api:endpoint:/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders:POST) and [Create Order from Quote in BusinessUnit](ctp:api:endpoint:/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/quotes:POST) requests on Associate Orders.
1427
1444
  *
1428
1445
  */
1429
- export interface OutOfStockError {
1446
+ export interface OutOfStockError extends IErrorObject {
1430
1447
  readonly code: 'OutOfStock';
1431
1448
  [key: string]: any;
1432
1449
  /**
@@ -1454,7 +1471,7 @@ export interface OutOfStockError {
1454
1471
  * The client application should retry the request with exponential backoff up to a point where further delay is unacceptable.
1455
1472
  *
1456
1473
  */
1457
- export interface OverCapacityError {
1474
+ export interface OverCapacityError extends IErrorObject {
1458
1475
  readonly code: 'OverCapacity';
1459
1476
  [key: string]: any;
1460
1477
  /**
@@ -1470,7 +1487,7 @@ export interface OverCapacityError {
1470
1487
  * The error is returned as a failed response to the [Create StandalonePrice](ctp:api:endpoint:/{projectKey}/standalone-prices:POST) request.
1471
1488
  *
1472
1489
  */
1473
- export interface OverlappingStandalonePriceValidityError {
1490
+ export interface OverlappingStandalonePriceValidityError extends IErrorObject {
1474
1491
  readonly code: 'OverlappingStandalonePriceValidity';
1475
1492
  [key: string]: any;
1476
1493
  /**
@@ -1547,7 +1564,7 @@ export interface OverlappingStandalonePriceValidityError {
1547
1564
  * If the error persists, report it to the [Composable Commerce support team](https://support.commercetools.com).
1548
1565
  *
1549
1566
  */
1550
- export interface PendingOperationError {
1567
+ export interface PendingOperationError extends IErrorObject {
1551
1568
  readonly code: 'PendingOperation';
1552
1569
  [key: string]: any;
1553
1570
  /**
@@ -1563,12 +1580,12 @@ export interface PendingOperationError {
1563
1580
  *
1564
1581
  * The error is also returned as a failed response to:
1565
1582
  *
1566
- * - [Create Order from Cart](ctp:api:endpoint:/{projectKey}/orders:POST), [Create Order in Store from Cart](ctp:api:endpoint:/{projectKey}/in-store/orders:POST), and [Create Order from Quote](ctp:api:endpoint:/{projectKey}/orders/quotes:POST) requests on Orders.
1567
- * - [Create Order from Cart](ctp:api:endpoint:/{projectKey}/me/orders:POST), [Create Order in Store from Cart](ctp:api:endpoint:/{projectKey}/in-store/me/orders:POST), and [Create Order from Quote](ctp:api:endpoint:/{projectKey}/me/orders/quotes:POST) requests on My Orders.
1583
+ * - [Create Order from Cart](ctp:api:endpoint:/{projectKey}/orders:POST) and [Create Order in Store from Cart](ctp:api:endpoint:/{projectKey}/in-store/orders:POST) requests on Orders.
1584
+ * - [Create Order from Cart](ctp:api:endpoint:/{projectKey}/me/orders:POST) and [Create Order in Store from Cart](ctp:api:endpoint:/{projectKey}/in-store/me/orders:POST) requests on My Orders.
1568
1585
  * - [Create Order from Cart in BusinessUnit](ctp:api:endpoint:/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders:POST) request on Associate Orders.
1569
1586
  *
1570
1587
  */
1571
- export interface PriceChangedError {
1588
+ export interface PriceChangedError extends IErrorObject {
1572
1589
  readonly code: 'PriceChanged';
1573
1590
  [key: string]: any;
1574
1591
  /**
@@ -1595,7 +1612,7 @@ export interface PriceChangedError {
1595
1612
  * The error is returned as a failed response either to the [Set Variant Selection](ctp:api:type:ProductSelectionSetVariantSelectionAction) or to the [Set Variant Exclusion](ctp:api:type:ProductSelectionSetVariantExclusionAction) update action.
1596
1613
  *
1597
1614
  */
1598
- export interface ProductAssignmentMissingError {
1615
+ export interface ProductAssignmentMissingError extends IErrorObject {
1599
1616
  readonly code: 'ProductAssignmentMissing';
1600
1617
  [key: string]: any;
1601
1618
  /**
@@ -1620,7 +1637,7 @@ export interface ProductAssignmentMissingError {
1620
1637
  * The error is returned as a failed response either to the [Add Product](ctp:api:type:ProductSelectionAddProductAction) or to the [Exclude Product](ctp:api:type:ProductSelectionExcludeProductAction) update action.
1621
1638
  *
1622
1639
  */
1623
- export interface ProductPresentWithDifferentVariantSelectionError {
1640
+ export interface ProductPresentWithDifferentVariantSelectionError extends IErrorObject {
1624
1641
  readonly code: 'ProductPresentWithDifferentVariantSelection';
1625
1642
  [key: string]: any;
1626
1643
  /**
@@ -1648,7 +1665,7 @@ export interface ProductPresentWithDifferentVariantSelectionError {
1648
1665
  * The error is returned as a failed response to the [Set Languages](ctp:api:type:StoreSetLanguagesAction) update action.
1649
1666
  *
1650
1667
  */
1651
- export interface ProjectNotConfiguredForLanguagesError {
1668
+ export interface ProjectNotConfiguredForLanguagesError extends IErrorObject {
1652
1669
  readonly code: 'ProjectNotConfiguredForLanguages';
1653
1670
  [key: string]: any;
1654
1671
  /**
@@ -1664,7 +1681,7 @@ export interface ProjectNotConfiguredForLanguagesError {
1664
1681
  */
1665
1682
  readonly languages?: string[];
1666
1683
  }
1667
- export interface QueryComplexityLimitExceededError {
1684
+ export interface QueryComplexityLimitExceededError extends IErrorObject {
1668
1685
  readonly code: 'QueryComplexityLimitExceeded';
1669
1686
  [key: string]: any;
1670
1687
  /**
@@ -1678,7 +1695,7 @@ export interface QueryComplexityLimitExceededError {
1678
1695
  * If a query constantly times out, please check if it follows the [performance best practices](/../api/predicates/query#performance-considerations).
1679
1696
  *
1680
1697
  */
1681
- export interface QueryTimedOutError {
1698
+ export interface QueryTimedOutError extends IErrorObject {
1682
1699
  readonly code: 'QueryTimedOut';
1683
1700
  [key: string]: any;
1684
1701
  /**
@@ -1692,7 +1709,7 @@ export interface QueryTimedOutError {
1692
1709
  * Returned when a resource cannot be deleted because it is being referenced by another resource.
1693
1710
  *
1694
1711
  */
1695
- export interface ReferenceExistsError {
1712
+ export interface ReferenceExistsError extends IErrorObject {
1696
1713
  readonly code: 'ReferenceExists';
1697
1714
  [key: string]: any;
1698
1715
  /**
@@ -1712,7 +1729,7 @@ export interface ReferenceExistsError {
1712
1729
  * Returned when a resource referenced by a [Reference](ctp:api:type:Reference) or a [ResourceIdentifier](ctp:api:type:ResourceIdentifier) could not be found.
1713
1730
  *
1714
1731
  */
1715
- export interface ReferencedResourceNotFoundError {
1732
+ export interface ReferencedResourceNotFoundError extends IErrorObject {
1716
1733
  readonly code: 'ReferencedResourceNotFound';
1717
1734
  [key: string]: any;
1718
1735
  /**
@@ -1744,7 +1761,7 @@ export interface ReferencedResourceNotFoundError {
1744
1761
  * Returned when a value is not defined for a required field.
1745
1762
  *
1746
1763
  */
1747
- export interface RequiredFieldError {
1764
+ export interface RequiredFieldError extends IErrorObject {
1748
1765
  readonly code: 'RequiredField';
1749
1766
  [key: string]: any;
1750
1767
  /**
@@ -1764,7 +1781,7 @@ export interface RequiredFieldError {
1764
1781
  * Returned when the resource addressed by the request URL does not exist.
1765
1782
  *
1766
1783
  */
1767
- export interface ResourceNotFoundError {
1784
+ export interface ResourceNotFoundError extends IErrorObject {
1768
1785
  readonly code: 'ResourceNotFound';
1769
1786
  [key: string]: any;
1770
1787
  /**
@@ -1778,7 +1795,7 @@ export interface ResourceNotFoundError {
1778
1795
  * Returned when the resource exceeds the maximum allowed size of 16 MB.
1779
1796
  *
1780
1797
  */
1781
- export interface ResourceSizeLimitExceededError {
1798
+ export interface ResourceSizeLimitExceededError extends IErrorObject {
1782
1799
  readonly code: 'ResourceSizeLimitExceeded';
1783
1800
  [key: string]: any;
1784
1801
  /**
@@ -1794,7 +1811,7 @@ export interface ResourceSizeLimitExceededError {
1794
1811
  * To activate indexing, call [Change Product Search Indexing Enabled](ctp:api:type:ProjectChangeProductSearchIndexingEnabledAction) and set `enabled` to `true`.
1795
1812
  *
1796
1813
  */
1797
- export interface SearchDeactivatedError {
1814
+ export interface SearchDeactivatedError extends IErrorObject {
1798
1815
  readonly code: 'SearchDeactivated';
1799
1816
  [key: string]: any;
1800
1817
  /**
@@ -1808,7 +1825,7 @@ export interface SearchDeactivatedError {
1808
1825
  * Returned when a search query could not be completed due to an unexpected failure.
1809
1826
  *
1810
1827
  */
1811
- export interface SearchExecutionFailureError {
1828
+ export interface SearchExecutionFailureError extends IErrorObject {
1812
1829
  readonly code: 'SearchExecutionFailure';
1813
1830
  [key: string]: any;
1814
1831
  /**
@@ -1822,7 +1839,7 @@ export interface SearchExecutionFailureError {
1822
1839
  * Returned when a search facet path could not be found.
1823
1840
  *
1824
1841
  */
1825
- export interface SearchFacetPathNotFoundError {
1842
+ export interface SearchFacetPathNotFoundError extends IErrorObject {
1826
1843
  readonly code: 'SearchFacetPathNotFound';
1827
1844
  [key: string]: any;
1828
1845
  /**
@@ -1836,7 +1853,7 @@ export interface SearchFacetPathNotFoundError {
1836
1853
  * Returned when the indexing of Product information is still in progress for Projects that have indexing activated.
1837
1854
  *
1838
1855
  */
1839
- export interface SearchIndexingInProgressError {
1856
+ export interface SearchIndexingInProgressError extends IErrorObject {
1840
1857
  readonly code: 'SearchIndexingInProgress';
1841
1858
  [key: string]: any;
1842
1859
  /**
@@ -1850,7 +1867,7 @@ export interface SearchIndexingInProgressError {
1850
1867
  * Returned if the requested search service is not ready. The search might be deactivated or indexing is in progress.
1851
1868
  *
1852
1869
  */
1853
- export interface SearchNotReadyError {
1870
+ export interface SearchNotReadyError extends IErrorObject {
1854
1871
  readonly code: 'SearchNotReady';
1855
1872
  [key: string]: any;
1856
1873
  /**
@@ -1861,10 +1878,10 @@ export interface SearchNotReadyError {
1861
1878
  readonly message: string;
1862
1879
  }
1863
1880
  /**
1864
- * Returned when a [Discount predicate](/../api/predicates/predicate-operators) or [API Extension predicate](/../api/predicates/query#using-predicates-in-conditional-api-extensions) is not semantically correct.
1881
+ * Returned when a [Discount predicate](/../api/predicates/predicate-operators) or [API Extension predicate](/../api/predicates/query#use-predicates-in-conditional-api-extensions) is not semantically correct.
1865
1882
  *
1866
1883
  */
1867
- export interface SemanticErrorError {
1884
+ export interface SemanticErrorError extends IErrorObject {
1868
1885
  readonly code: 'SemanticError';
1869
1886
  [key: string]: any;
1870
1887
  /**
@@ -1886,7 +1903,7 @@ export interface SemanticErrorError {
1886
1903
  * - [Create Order from Cart in BusinessUnit](ctp:api:endpoint:/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders:POST) request on Associate Orders.
1887
1904
  *
1888
1905
  */
1889
- export interface ShippingMethodDoesNotMatchCartError {
1906
+ export interface ShippingMethodDoesNotMatchCartError extends IErrorObject {
1890
1907
  readonly code: 'ShippingMethodDoesNotMatchCart';
1891
1908
  [key: string]: any;
1892
1909
  /**
@@ -1905,7 +1922,7 @@ export interface ShippingMethodDoesNotMatchCartError {
1905
1922
  * - [Add Store](ctp:api:type:CartDiscountAddStoreAction) and [Set Store](ctp:api:type:CartDiscountSetStoresAction) update actions
1906
1923
  *
1907
1924
  */
1908
- export interface StoreCartDiscountsLimitReachedError {
1925
+ export interface StoreCartDiscountsLimitReachedError extends IErrorObject {
1909
1926
  readonly code: 'StoreCartDiscountsLimitReached';
1910
1927
  [key: string]: any;
1911
1928
  /**
@@ -1922,10 +1939,10 @@ export interface StoreCartDiscountsLimitReachedError {
1922
1939
  readonly stores: StoreKeyReference[];
1923
1940
  }
1924
1941
  /**
1925
- * Returned when a [Discount predicate](/../api/predicates/predicate-operators), [API Extension predicate](/../api/predicates/query#using-predicates-in-conditional-api-extensions), or [search query](/../api/projects/products-search) does not have the correct syntax.
1942
+ * Returned when a [Discount predicate](/../api/predicates/predicate-operators), [API Extension predicate](/../api/predicates/query#use-predicates-in-conditional-api-extensions), or [search query](/../api/projects/products-search) does not have the correct syntax.
1926
1943
  *
1927
1944
  */
1928
- export interface SyntaxErrorError {
1945
+ export interface SyntaxErrorError extends IErrorObject {
1929
1946
  readonly code: 'SyntaxError';
1930
1947
  [key: string]: any;
1931
1948
  /**
@@ -1959,13 +1976,22 @@ export interface VariantValues {
1959
1976
  * Represents a single error.
1960
1977
  */
1961
1978
  export type GraphQLErrorObject = GraphQLAnonymousIdAlreadyInUseError | GraphQLAssociateMissingPermissionError | GraphQLAttributeDefinitionAlreadyExistsError | GraphQLAttributeDefinitionTypeConflictError | GraphQLAttributeNameDoesNotExistError | GraphQLBadGatewayError | GraphQLConcurrentModificationError | GraphQLContentTooLargeError | GraphQLCountryNotConfiguredInStoreError | GraphQLDiscountCodeNonApplicableError | GraphQLDuplicateAttributeValueError | GraphQLDuplicateAttributeValuesError | GraphQLDuplicateEnumValuesError | GraphQLDuplicateFieldError | GraphQLDuplicateFieldWithConflictingResourceError | GraphQLDuplicatePriceKeyError | GraphQLDuplicatePriceScopeError | GraphQLDuplicateStandalonePriceScopeError | GraphQLDuplicateVariantValuesError | GraphQLEditPreviewFailedError | GraphQLEnumKeyAlreadyExistsError | GraphQLEnumKeyDoesNotExistError | GraphQLEnumValueIsUsedError | GraphQLEnumValuesMustMatchError | GraphQLExtensionBadResponseError | GraphQLExtensionNoResponseError | GraphQLExtensionPredicateEvaluationFailedError | GraphQLExtensionUpdateActionsFailedError | GraphQLExternalOAuthFailedError | GraphQLFeatureRemovedError | GraphQLGeneralError | GraphQLInsufficientScopeError | GraphQLInternalConstraintViolatedError | GraphQLInvalidCredentialsError | GraphQLInvalidCurrentPasswordError | GraphQLInvalidFieldError | GraphQLInvalidInputError | GraphQLInvalidItemShippingDetailsError | GraphQLInvalidJsonInputError | GraphQLInvalidOperationError | GraphQLInvalidSubjectError | GraphQLInvalidTokenError | GraphQLLanguageUsedInStoresError | GraphQLLockedFieldError | GraphQLMatchingPriceNotFoundError | GraphQLMaxCartDiscountsReachedError | GraphQLMaxResourceLimitExceededError | GraphQLMaxStoreReferencesReachedError | GraphQLMissingRoleOnChannelError | GraphQLMissingTaxRateForCountryError | GraphQLMoneyOverflowError | GraphQLNoMatchingProductDiscountFoundError | GraphQLObjectNotFoundError | GraphQLOutOfStockError | GraphQLOverCapacityError | GraphQLOverlappingStandalonePriceValidityError | GraphQLPendingOperationError | GraphQLPriceChangedError | GraphQLProductAssignmentMissingError | GraphQLProductPresentWithDifferentVariantSelectionError | GraphQLProjectNotConfiguredForLanguagesError | GraphQLQueryComplexityLimitExceededError | GraphQLQueryTimedOutError | GraphQLReferenceExistsError | GraphQLReferencedResourceNotFoundError | GraphQLRequiredFieldError | GraphQLResourceNotFoundError | GraphQLResourceSizeLimitExceededError | GraphQLSearchDeactivatedError | GraphQLSearchExecutionFailureError | GraphQLSearchFacetPathNotFoundError | GraphQLSearchIndexingInProgressError | GraphQLSearchNotReadyError | GraphQLSemanticErrorError | GraphQLShippingMethodDoesNotMatchCartError | GraphQLStoreCartDiscountsLimitReachedError | GraphQLSyntaxErrorError;
1979
+ export interface IGraphQLErrorObject {
1980
+ [key: string]: any;
1981
+ /**
1982
+ * One of the error codes that is listed on the [Errors](/errors) page.
1983
+ *
1984
+ *
1985
+ */
1986
+ readonly code: string;
1987
+ }
1962
1988
  /**
1963
1989
  * Returned when the anonymous ID is being used by another resource.
1964
1990
  *
1965
1991
  * The client application should choose another anonymous ID or retrieve an automatically generated one.
1966
1992
  *
1967
1993
  */
1968
- export interface GraphQLAnonymousIdAlreadyInUseError {
1994
+ export interface GraphQLAnonymousIdAlreadyInUseError extends IGraphQLErrorObject {
1969
1995
  readonly code: 'AnonymousIdAlreadyInUse';
1970
1996
  [key: string]: any;
1971
1997
  }
@@ -1973,7 +1999,7 @@ export interface GraphQLAnonymousIdAlreadyInUseError {
1973
1999
  * Returned when an [Associate](/projects/business-units#associate) is missing a [Permission](/projects/associate-roles#ctp:api:type:Permission) on a [B2B resource](/associates-overview#b2b-resources).
1974
2000
  *
1975
2001
  */
1976
- export interface GraphQLAssociateMissingPermissionError {
2002
+ export interface GraphQLAssociateMissingPermissionError extends IGraphQLErrorObject {
1977
2003
  readonly code: 'AssociateMissingPermission';
1978
2004
  [key: string]: any;
1979
2005
  /**
@@ -2007,7 +2033,7 @@ export interface GraphQLAssociateMissingPermissionError {
2007
2033
  * The error is returned as a failed response to the [Create ProductType](ctp:api:endpoint:/{projectKey}/product-types:POST) request or [Change AttributeDefinition Name](ctp:api:type:ProductTypeChangeAttributeNameAction) update action.
2008
2034
  *
2009
2035
  */
2010
- export interface GraphQLAttributeDefinitionAlreadyExistsError {
2036
+ export interface GraphQLAttributeDefinitionAlreadyExistsError extends IGraphQLErrorObject {
2011
2037
  readonly code: 'AttributeDefinitionAlreadyExists';
2012
2038
  [key: string]: any;
2013
2039
  /**
@@ -2035,7 +2061,7 @@ export interface GraphQLAttributeDefinitionAlreadyExistsError {
2035
2061
  * The error is returned as a failed response to the [Create ProductType](ctp:api:endpoint:/{projectKey}/product-types:POST) request.
2036
2062
  *
2037
2063
  */
2038
- export interface GraphQLAttributeDefinitionTypeConflictError {
2064
+ export interface GraphQLAttributeDefinitionTypeConflictError extends IGraphQLErrorObject {
2039
2065
  readonly code: 'AttributeDefinitionTypeConflict';
2040
2066
  [key: string]: any;
2041
2067
  /**
@@ -2063,7 +2089,7 @@ export interface GraphQLAttributeDefinitionTypeConflictError {
2063
2089
  * The error is returned as a failed response to the [Change AttributeDefinition Name](ctp:api:type:ProductTypeChangeAttributeNameAction) update action.
2064
2090
  *
2065
2091
  */
2066
- export interface GraphQLAttributeNameDoesNotExistError {
2092
+ export interface GraphQLAttributeNameDoesNotExistError extends IGraphQLErrorObject {
2067
2093
  readonly code: 'AttributeNameDoesNotExist';
2068
2094
  [key: string]: any;
2069
2095
  /**
@@ -2079,7 +2105,7 @@ export interface GraphQLAttributeNameDoesNotExistError {
2079
2105
  * The client application should retry the request with exponential backoff up to a point where further delay is unacceptable.
2080
2106
  *
2081
2107
  */
2082
- export interface GraphQLBadGatewayError {
2108
+ export interface GraphQLBadGatewayError extends IGraphQLErrorObject {
2083
2109
  readonly code: 'BadGateway';
2084
2110
  [key: string]: any;
2085
2111
  }
@@ -2088,7 +2114,7 @@ export interface GraphQLBadGatewayError {
2088
2114
  * The client application should resolve the conflict (with or without involving the end user) before retrying the request.
2089
2115
  *
2090
2116
  */
2091
- export interface GraphQLConcurrentModificationError {
2117
+ export interface GraphQLConcurrentModificationError extends IGraphQLErrorObject {
2092
2118
  readonly code: 'ConcurrentModification';
2093
2119
  [key: string]: any;
2094
2120
  /**
@@ -2102,7 +2128,7 @@ export interface GraphQLConcurrentModificationError {
2102
2128
  * Returned when the request results in too much data being returned from the API. Adjust the request query to reduce the size of the data returned.
2103
2129
  *
2104
2130
  */
2105
- export interface GraphQLContentTooLargeError {
2131
+ export interface GraphQLContentTooLargeError extends IGraphQLErrorObject {
2106
2132
  readonly code: 'ContentTooLarge';
2107
2133
  [key: string]: any;
2108
2134
  }
@@ -2119,7 +2145,7 @@ export interface GraphQLContentTooLargeError {
2119
2145
  * - [Set Country](ctp:api:type:StagedOrderSetCountryAction) update action on Order Edits.
2120
2146
  *
2121
2147
  */
2122
- export interface GraphQLCountryNotConfiguredInStoreError {
2148
+ export interface GraphQLCountryNotConfiguredInStoreError extends IGraphQLErrorObject {
2123
2149
  readonly code: 'CountryNotConfiguredInStore';
2124
2150
  [key: string]: any;
2125
2151
  /**
@@ -2149,7 +2175,7 @@ export interface GraphQLCountryNotConfiguredInStoreError {
2149
2175
  * - [Create Order from Cart in BusinessUnit](ctp:api:endpoint:/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders:POST) request on Associate Orders.
2150
2176
  *
2151
2177
  */
2152
- export interface GraphQLDiscountCodeNonApplicableError {
2178
+ export interface GraphQLDiscountCodeNonApplicableError extends IGraphQLErrorObject {
2153
2179
  readonly code: 'DiscountCodeNonApplicable';
2154
2180
  [key: string]: any;
2155
2181
  /**
@@ -2193,7 +2219,7 @@ export interface GraphQLDiscountCodeNonApplicableError {
2193
2219
  * Returned when the `Unique` [AttributeConstraint](ctp:api:type:AttributeConstraintEnum) criteria are not met during an [Update Product](/../api/projects/products#update-product) request.
2194
2220
  *
2195
2221
  */
2196
- export interface GraphQLDuplicateAttributeValueError {
2222
+ export interface GraphQLDuplicateAttributeValueError extends IGraphQLErrorObject {
2197
2223
  readonly code: 'DuplicateAttributeValue';
2198
2224
  [key: string]: any;
2199
2225
  /**
@@ -2207,7 +2233,7 @@ export interface GraphQLDuplicateAttributeValueError {
2207
2233
  * Returned when the `CombinationUnique` [AttributeConstraint](ctp:api:type:AttributeConstraintEnum) criteria are not met during an [Update Product](/../api/projects/products#update-product) request.
2208
2234
  *
2209
2235
  */
2210
- export interface GraphQLDuplicateAttributeValuesError {
2236
+ export interface GraphQLDuplicateAttributeValuesError extends IGraphQLErrorObject {
2211
2237
  readonly code: 'DuplicateAttributeValues';
2212
2238
  [key: string]: any;
2213
2239
  /**
@@ -2221,7 +2247,7 @@ export interface GraphQLDuplicateAttributeValuesError {
2221
2247
  * Returned when an [AttributeEnumType](ctp:api:type:AttributeEnumType) or [AttributeLocalizedEnumType](ctp:api:type:AttributeLocalizedEnumType) contains duplicate keys.
2222
2248
  *
2223
2249
  */
2224
- export interface GraphQLDuplicateEnumValuesError {
2250
+ export interface GraphQLDuplicateEnumValuesError extends IGraphQLErrorObject {
2225
2251
  readonly code: 'DuplicateEnumValues';
2226
2252
  [key: string]: any;
2227
2253
  /**
@@ -2235,7 +2261,7 @@ export interface GraphQLDuplicateEnumValuesError {
2235
2261
  * Returned when a field value conflicts with an existing value causing a duplicate.
2236
2262
  *
2237
2263
  */
2238
- export interface GraphQLDuplicateFieldError {
2264
+ export interface GraphQLDuplicateFieldError extends IGraphQLErrorObject {
2239
2265
  readonly code: 'DuplicateField';
2240
2266
  [key: string]: any;
2241
2267
  /**
@@ -2255,7 +2281,7 @@ export interface GraphQLDuplicateFieldError {
2255
2281
  * Returned when a field value conflicts with an existing value stored in a particular resource causing a duplicate.
2256
2282
  *
2257
2283
  */
2258
- export interface GraphQLDuplicateFieldWithConflictingResourceError {
2284
+ export interface GraphQLDuplicateFieldWithConflictingResourceError extends IGraphQLErrorObject {
2259
2285
  readonly code: 'DuplicateFieldWithConflictingResource';
2260
2286
  [key: string]: any;
2261
2287
  /**
@@ -2283,7 +2309,7 @@ export interface GraphQLDuplicateFieldWithConflictingResourceError {
2283
2309
  * Keys of Embedded Prices must be unique per ProductVariant.
2284
2310
  *
2285
2311
  */
2286
- export interface GraphQLDuplicatePriceKeyError {
2312
+ export interface GraphQLDuplicatePriceKeyError extends IGraphQLErrorObject {
2287
2313
  readonly code: 'DuplicatePriceKey';
2288
2314
  [key: string]: any;
2289
2315
  /**
@@ -2299,7 +2325,7 @@ export interface GraphQLDuplicatePriceKeyError {
2299
2325
  * Every Price of a Product Variant must have a distinct combination of currency, Customer Group, country, and Channel that constitute the scope of a Price.
2300
2326
  *
2301
2327
  */
2302
- export interface GraphQLDuplicatePriceScopeError {
2328
+ export interface GraphQLDuplicatePriceScopeError extends IGraphQLErrorObject {
2303
2329
  readonly code: 'DuplicatePriceScope';
2304
2330
  [key: string]: any;
2305
2331
  /**
@@ -2316,7 +2342,7 @@ export interface GraphQLDuplicatePriceScopeError {
2316
2342
  * The error is returned as a failed response to the [Create StandalonePrice](ctp:api:endpoint:/{projectKey}/standalone-prices:POST) request.
2317
2343
  *
2318
2344
  */
2319
- export interface GraphQLDuplicateStandalonePriceScopeError {
2345
+ export interface GraphQLDuplicateStandalonePriceScopeError extends IGraphQLErrorObject {
2320
2346
  readonly code: 'DuplicateStandalonePriceScope';
2321
2347
  [key: string]: any;
2322
2348
  /**
@@ -2372,7 +2398,7 @@ export interface GraphQLDuplicateStandalonePriceScopeError {
2372
2398
  * Returned when a [Product Variant](ctp:api:type:ProductVariant) value conflicts with an existing one during an [Update Product](/../api/projects/products#update-product) request.
2373
2399
  *
2374
2400
  */
2375
- export interface GraphQLDuplicateVariantValuesError {
2401
+ export interface GraphQLDuplicateVariantValuesError extends IGraphQLErrorObject {
2376
2402
  readonly code: 'DuplicateVariantValues';
2377
2403
  [key: string]: any;
2378
2404
  /**
@@ -2388,7 +2414,7 @@ export interface GraphQLDuplicateVariantValuesError {
2388
2414
  * The error is returned as a failed response to the [Get Shipping Methods for an OrderEdit](ctp:api:endpoint:/{projectKey}/shipping-methods/matching-orderedit:GET) request.
2389
2415
  *
2390
2416
  */
2391
- export interface GraphQLEditPreviewFailedError {
2417
+ export interface GraphQLEditPreviewFailedError extends IGraphQLErrorObject {
2392
2418
  readonly code: 'EditPreviewFailed';
2393
2419
  [key: string]: any;
2394
2420
  /**
@@ -2402,7 +2428,7 @@ export interface GraphQLEditPreviewFailedError {
2402
2428
  * Returned when an [AttributeEnumType](ctp:api:type:AttributeEnumType) or [AttributeLocalizedEnumType](ctp:api:type:AttributeLocalizedEnumType) contains a key that already exists.
2403
2429
  *
2404
2430
  */
2405
- export interface GraphQLEnumKeyAlreadyExistsError {
2431
+ export interface GraphQLEnumKeyAlreadyExistsError extends IGraphQLErrorObject {
2406
2432
  readonly code: 'EnumKeyAlreadyExists';
2407
2433
  [key: string]: any;
2408
2434
  /**
@@ -2424,7 +2450,7 @@ export interface GraphQLEnumKeyAlreadyExistsError {
2424
2450
  * The error is returned as a failed response to the [Change the key of an EnumValue](ctp:api:type:ProductTypeChangeEnumKeyAction) update action.
2425
2451
  *
2426
2452
  */
2427
- export interface GraphQLEnumKeyDoesNotExistError {
2453
+ export interface GraphQLEnumKeyDoesNotExistError extends IGraphQLErrorObject {
2428
2454
  readonly code: 'EnumKeyDoesNotExist';
2429
2455
  [key: string]: any;
2430
2456
  /**
@@ -2446,7 +2472,7 @@ export interface GraphQLEnumKeyDoesNotExistError {
2446
2472
  * The error is returned as a failed response to the [Remove EnumValues from AttributeDefinition](ctp:api:type:ProductTypeRemoveEnumValuesAction) update action.
2447
2473
  *
2448
2474
  */
2449
- export interface GraphQLEnumValueIsUsedError {
2475
+ export interface GraphQLEnumValueIsUsedError extends IGraphQLErrorObject {
2450
2476
  readonly code: 'EnumValueIsUsed';
2451
2477
  [key: string]: any;
2452
2478
  }
@@ -2456,7 +2482,7 @@ export interface GraphQLEnumValueIsUsedError {
2456
2482
  * The error is returned as a failed response to the [Change the order of EnumValues](ctp:api:type:ProductTypeChangePlainEnumValueOrderAction) and [Change the order of LocalizedEnumValues](ctp:api:type:ProductTypeChangeLocalizedEnumValueOrderAction) update actions.
2457
2483
  *
2458
2484
  */
2459
- export interface GraphQLEnumValuesMustMatchError {
2485
+ export interface GraphQLEnumValuesMustMatchError extends IGraphQLErrorObject {
2460
2486
  readonly code: 'EnumValuesMustMatch';
2461
2487
  [key: string]: any;
2462
2488
  }
@@ -2464,7 +2490,7 @@ export interface GraphQLEnumValuesMustMatchError {
2464
2490
  * Returned when the response from the API Extension could not be parsed successfully (such as a `500` HTTP status code, or an invalid JSON response).
2465
2491
  *
2466
2492
  */
2467
- export interface GraphQLExtensionBadResponseError {
2493
+ export interface GraphQLExtensionBadResponseError extends IGraphQLErrorObject {
2468
2494
  readonly code: 'ExtensionBadResponse';
2469
2495
  [key: string]: any;
2470
2496
  /**
@@ -2510,7 +2536,7 @@ export interface GraphQLExtensionBadResponseError {
2510
2536
  * Returned when the API Extension does not respond within the [time limit](/../api/projects/api-extensions#time-limits), or could not be reached.
2511
2537
  *
2512
2538
  */
2513
- export interface GraphQLExtensionNoResponseError {
2539
+ export interface GraphQLExtensionNoResponseError extends IGraphQLErrorObject {
2514
2540
  readonly code: 'ExtensionNoResponse';
2515
2541
  [key: string]: any;
2516
2542
  /**
@@ -2530,7 +2556,7 @@ export interface GraphQLExtensionNoResponseError {
2530
2556
  * Returned when the predicate defined in the [ExtensionTrigger](ctp:api:type:ExtensionTrigger) could not be evaluated due to a missing field.
2531
2557
  *
2532
2558
  */
2533
- export interface GraphQLExtensionPredicateEvaluationFailedError {
2559
+ export interface GraphQLExtensionPredicateEvaluationFailedError extends IGraphQLErrorObject {
2534
2560
  readonly code: 'ExtensionPredicateEvaluationFailed';
2535
2561
  [key: string]: any;
2536
2562
  /**
@@ -2545,7 +2571,7 @@ export interface GraphQLExtensionPredicateEvaluationFailedError {
2545
2571
  * This would result in a [400 Bad Request](#400-bad-request) response if the same update action was sent from a regular client.
2546
2572
  *
2547
2573
  */
2548
- export interface GraphQLExtensionUpdateActionsFailedError {
2574
+ export interface GraphQLExtensionUpdateActionsFailedError extends IGraphQLErrorObject {
2549
2575
  readonly code: 'ExtensionUpdateActionsFailed';
2550
2576
  [key: string]: any;
2551
2577
  /**
@@ -2568,10 +2594,10 @@ export interface GraphQLExtensionUpdateActionsFailedError {
2568
2594
  readonly extensionErrors: ExtensionError[];
2569
2595
  }
2570
2596
  /**
2571
- * Returned when an [external OAuth Introspection endpoint](/../api/authorization#requesting-an-access-token-using-an-external-oauth-server) does not return a response within the [time limit](/../api/authorization#time-limits), or the response isn't compliant with [RFC 7662](https://www.rfc-editor.org/rfc/rfc7662.html) (for example, an HTTP status code like `500`).
2597
+ * Returned when an [external OAuth Introspection endpoint](/../api/authorization#request-an-access-token-using-an-external-oauth-server) does not return a response within the [time limit](/../api/authorization#time-limits), or the response isn't compliant with [RFC 7662](https://www.rfc-editor.org/rfc/rfc7662.html) (for example, an HTTP status code like `500`).
2572
2598
  *
2573
2599
  */
2574
- export interface GraphQLExternalOAuthFailedError {
2600
+ export interface GraphQLExternalOAuthFailedError extends IGraphQLErrorObject {
2575
2601
  readonly code: 'ExternalOAuthFailed';
2576
2602
  [key: string]: any;
2577
2603
  }
@@ -2579,7 +2605,7 @@ export interface GraphQLExternalOAuthFailedError {
2579
2605
  * Returned when the requested feature was removed.
2580
2606
  *
2581
2607
  */
2582
- export interface GraphQLFeatureRemovedError {
2608
+ export interface GraphQLFeatureRemovedError extends IGraphQLErrorObject {
2583
2609
  readonly code: 'FeatureRemoved';
2584
2610
  [key: string]: any;
2585
2611
  }
@@ -2589,11 +2615,11 @@ export interface GraphQLFeatureRemovedError {
2589
2615
  * If you encounter this error, report it to the [Composable Commerce support team](https://support.commercetools.com).
2590
2616
  *
2591
2617
  */
2592
- export interface GraphQLGeneralError {
2618
+ export interface GraphQLGeneralError extends IGraphQLErrorObject {
2593
2619
  readonly code: 'General';
2594
2620
  [key: string]: any;
2595
2621
  }
2596
- export interface GraphQLInsufficientScopeError {
2622
+ export interface GraphQLInsufficientScopeError extends IGraphQLErrorObject {
2597
2623
  readonly code: 'insufficient_scope';
2598
2624
  [key: string]: any;
2599
2625
  }
@@ -2601,7 +2627,7 @@ export interface GraphQLInsufficientScopeError {
2601
2627
  * Returned when certain API-specific constraints were not met. For example, the specified [Discount Code](ctp:api:type:DiscountCode) was never applied and cannot be updated.
2602
2628
  *
2603
2629
  */
2604
- export interface GraphQLInternalConstraintViolatedError {
2630
+ export interface GraphQLInternalConstraintViolatedError extends IGraphQLErrorObject {
2605
2631
  readonly code: 'InternalConstraintViolated';
2606
2632
  [key: string]: any;
2607
2633
  }
@@ -2614,7 +2640,7 @@ export interface GraphQLInternalConstraintViolatedError {
2614
2640
  * - [Authenticate (sign in) Customer](ctp:api:endpoint:/{projectKey}/me/login:POST) and [Authenticate (sign in) Customer in Store](ctp:api:endpoint:/{projectKey}/in-store/key={storeKey}/me/login:POST) requests on My Customer Profile.
2615
2641
  *
2616
2642
  */
2617
- export interface GraphQLInvalidCredentialsError {
2643
+ export interface GraphQLInvalidCredentialsError extends IGraphQLErrorObject {
2618
2644
  readonly code: 'InvalidCredentials';
2619
2645
  [key: string]: any;
2620
2646
  }
@@ -2627,7 +2653,7 @@ export interface GraphQLInvalidCredentialsError {
2627
2653
  * - [Change Customer Password](ctp:api:endpoint:/{projectKey}/me/password:POST) and [Change Customer Password in a Store](ctp:api:endpoint:/{projectKey}/in-store/key={storeKey}/me/password:POST) requests on My Customer Profile.
2628
2654
  *
2629
2655
  */
2630
- export interface GraphQLInvalidCurrentPasswordError {
2656
+ export interface GraphQLInvalidCurrentPasswordError extends IGraphQLErrorObject {
2631
2657
  readonly code: 'InvalidCurrentPassword';
2632
2658
  [key: string]: any;
2633
2659
  }
@@ -2635,7 +2661,7 @@ export interface GraphQLInvalidCurrentPasswordError {
2635
2661
  * Returned when a field has an invalid value.
2636
2662
  *
2637
2663
  */
2638
- export interface GraphQLInvalidFieldError {
2664
+ export interface GraphQLInvalidFieldError extends IGraphQLErrorObject {
2639
2665
  readonly code: 'InvalidField';
2640
2666
  [key: string]: any;
2641
2667
  /**
@@ -2661,7 +2687,7 @@ export interface GraphQLInvalidFieldError {
2661
2687
  * Returned when an invalid input has been sent.
2662
2688
  *
2663
2689
  */
2664
- export interface GraphQLInvalidInputError {
2690
+ export interface GraphQLInvalidInputError extends IGraphQLErrorObject {
2665
2691
  readonly code: 'InvalidInput';
2666
2692
  [key: string]: any;
2667
2693
  }
@@ -2681,7 +2707,7 @@ export interface GraphQLInvalidInputError {
2681
2707
  * - [Create Order from Cart in BusinessUnit](ctp:api:endpoint:/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders:POST) and [Create Order from Quote in BusinessUnit](ctp:api:endpoint:/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/quotes:POST) requests on Associate Orders.
2682
2708
  *
2683
2709
  */
2684
- export interface GraphQLInvalidItemShippingDetailsError {
2710
+ export interface GraphQLInvalidItemShippingDetailsError extends IGraphQLErrorObject {
2685
2711
  readonly code: 'InvalidItemShippingDetails';
2686
2712
  [key: string]: any;
2687
2713
  /**
@@ -2704,7 +2730,7 @@ export interface GraphQLInvalidItemShippingDetailsError {
2704
2730
  * The client application should validate the input according to the constraints described in the error message before sending the request.
2705
2731
  *
2706
2732
  */
2707
- export interface GraphQLInvalidJsonInputError {
2733
+ export interface GraphQLInvalidJsonInputError extends IGraphQLErrorObject {
2708
2734
  readonly code: 'InvalidJsonInput';
2709
2735
  [key: string]: any;
2710
2736
  /**
@@ -2719,15 +2745,15 @@ export interface GraphQLInvalidJsonInputError {
2719
2745
  * The client application should validate the constraints described in the error message before sending the request.
2720
2746
  *
2721
2747
  */
2722
- export interface GraphQLInvalidOperationError {
2748
+ export interface GraphQLInvalidOperationError extends IGraphQLErrorObject {
2723
2749
  readonly code: 'InvalidOperation';
2724
2750
  [key: string]: any;
2725
2751
  }
2726
- export interface GraphQLInvalidSubjectError {
2752
+ export interface GraphQLInvalidSubjectError extends IGraphQLErrorObject {
2727
2753
  readonly code: 'InvalidSubject';
2728
2754
  [key: string]: any;
2729
2755
  }
2730
- export interface GraphQLInvalidTokenError {
2756
+ export interface GraphQLInvalidTokenError extends IGraphQLErrorObject {
2731
2757
  readonly code: 'invalid_token';
2732
2758
  [key: string]: any;
2733
2759
  }
@@ -2737,7 +2763,7 @@ export interface GraphQLInvalidTokenError {
2737
2763
  * The error is returned as a failed response to the [Change Languages](ctp:api:type:ProjectChangeLanguagesAction) update action.
2738
2764
  *
2739
2765
  */
2740
- export interface GraphQLLanguageUsedInStoresError {
2766
+ export interface GraphQLLanguageUsedInStoresError extends IGraphQLErrorObject {
2741
2767
  readonly code: 'LanguageUsedInStores';
2742
2768
  [key: string]: any;
2743
2769
  }
@@ -2747,7 +2773,7 @@ export interface GraphQLLanguageUsedInStoresError {
2747
2773
  * To confirm if the operation was successful, repeat the request.
2748
2774
  *
2749
2775
  */
2750
- export interface GraphQLLockedFieldError {
2776
+ export interface GraphQLLockedFieldError extends IGraphQLErrorObject {
2751
2777
  readonly code: 'LockedField';
2752
2778
  [key: string]: any;
2753
2779
  /**
@@ -2774,7 +2800,7 @@ export interface GraphQLLockedFieldError {
2774
2800
  * - [Create Order from Cart in BusinessUnit](ctp:api:endpoint:/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders:POST) request on Associate Orders.
2775
2801
  *
2776
2802
  */
2777
- export interface GraphQLMatchingPriceNotFoundError {
2803
+ export interface GraphQLMatchingPriceNotFoundError extends IGraphQLErrorObject {
2778
2804
  readonly code: 'MatchingPriceNotFound';
2779
2805
  [key: string]: any;
2780
2806
  /**
@@ -2823,7 +2849,7 @@ export interface GraphQLMatchingPriceNotFoundError {
2823
2849
  * - [Change IsActive](ctp:api:type:CartDiscountChangeIsActiveAction) update action
2824
2850
  *
2825
2851
  */
2826
- export interface GraphQLMaxCartDiscountsReachedError {
2852
+ export interface GraphQLMaxCartDiscountsReachedError extends IGraphQLErrorObject {
2827
2853
  readonly code: 'MaxCartDiscountsReached';
2828
2854
  [key: string]: any;
2829
2855
  }
@@ -2833,7 +2859,7 @@ export interface GraphQLMaxCartDiscountsReachedError {
2833
2859
  * The limits must be adjusted for this resource before sending the request again.
2834
2860
  *
2835
2861
  */
2836
- export interface GraphQLMaxResourceLimitExceededError {
2862
+ export interface GraphQLMaxResourceLimitExceededError extends IGraphQLErrorObject {
2837
2863
  readonly code: 'MaxResourceLimitExceeded';
2838
2864
  [key: string]: any;
2839
2865
  /**
@@ -2852,7 +2878,7 @@ export interface GraphQLMaxResourceLimitExceededError {
2852
2878
  * - [Add Store](ctp:api:type:CartDiscountAddStoreAction) and [Set Store](ctp:api:type:CartDiscountSetStoresAction) update actions
2853
2879
  *
2854
2880
  */
2855
- export interface GraphQLMaxStoreReferencesReachedError {
2881
+ export interface GraphQLMaxStoreReferencesReachedError extends IGraphQLErrorObject {
2856
2882
  readonly code: 'MaxStoreReferencesReached';
2857
2883
  [key: string]: any;
2858
2884
  }
@@ -2868,7 +2894,7 @@ export interface GraphQLMaxStoreReferencesReachedError {
2868
2894
  * - [Create StandalonePrice](ctp:api:endpoint:/{projectKey}/standalone-prices:POST) request.
2869
2895
  *
2870
2896
  */
2871
- export interface GraphQLMissingRoleOnChannelError {
2897
+ export interface GraphQLMissingRoleOnChannelError extends IGraphQLErrorObject {
2872
2898
  readonly code: 'MissingRoleOnChannel';
2873
2899
  [key: string]: any;
2874
2900
  /**
@@ -2902,7 +2928,7 @@ export interface GraphQLMissingRoleOnChannelError {
2902
2928
  * - [Create Order from Cart in BusinessUnit](ctp:api:endpoint:/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders:POST) requests on Associate Orders.
2903
2929
  *
2904
2930
  */
2905
- export interface GraphQLMissingTaxRateForCountryError {
2931
+ export interface GraphQLMissingTaxRateForCountryError extends IGraphQLErrorObject {
2906
2932
  readonly code: 'MissingTaxRateForCountry';
2907
2933
  [key: string]: any;
2908
2934
  /**
@@ -2929,7 +2955,7 @@ export interface GraphQLMissingTaxRateForCountryError {
2929
2955
  * See [Money usage](/types#usage) for more information.
2930
2956
  *
2931
2957
  */
2932
- export interface GraphQLMoneyOverflowError {
2958
+ export interface GraphQLMoneyOverflowError extends IGraphQLErrorObject {
2933
2959
  readonly code: 'MoneyOverflow';
2934
2960
  [key: string]: any;
2935
2961
  }
@@ -2939,15 +2965,15 @@ export interface GraphQLMoneyOverflowError {
2939
2965
  * The error is returned as a failed response to the [Get Matching ProductDiscount](ctp:api:endpoint:/{projectKey}/product-discounts/matching:POST) request.
2940
2966
  *
2941
2967
  */
2942
- export interface GraphQLNoMatchingProductDiscountFoundError {
2968
+ export interface GraphQLNoMatchingProductDiscountFoundError extends IGraphQLErrorObject {
2943
2969
  readonly code: 'NoMatchingProductDiscountFound';
2944
2970
  [key: string]: any;
2945
2971
  }
2946
2972
  /**
2947
- * Returned when the requested resource was not found.
2973
+ * Returned if the requested resource was not found or the Product Search index is [inactive](/../api/projects/product-search#activation-of-the-feature).
2948
2974
  *
2949
2975
  */
2950
- export interface GraphQLObjectNotFoundError {
2976
+ export interface GraphQLObjectNotFoundError extends IGraphQLErrorObject {
2951
2977
  readonly code: 'ObjectNotFound';
2952
2978
  [key: string]: any;
2953
2979
  }
@@ -2961,7 +2987,7 @@ export interface GraphQLObjectNotFoundError {
2961
2987
  * - [Create Order from Cart in BusinessUnit](ctp:api:endpoint:/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders:POST) and [Create Order from Quote in BusinessUnit](ctp:api:endpoint:/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/quotes:POST) requests on Associate Orders.
2962
2988
  *
2963
2989
  */
2964
- export interface GraphQLOutOfStockError {
2990
+ export interface GraphQLOutOfStockError extends IGraphQLErrorObject {
2965
2991
  readonly code: 'OutOfStock';
2966
2992
  [key: string]: any;
2967
2993
  /**
@@ -2983,7 +3009,7 @@ export interface GraphQLOutOfStockError {
2983
3009
  * The client application should retry the request with exponential backoff up to a point where further delay is unacceptable.
2984
3010
  *
2985
3011
  */
2986
- export interface GraphQLOverCapacityError {
3012
+ export interface GraphQLOverCapacityError extends IGraphQLErrorObject {
2987
3013
  readonly code: 'OverCapacity';
2988
3014
  [key: string]: any;
2989
3015
  }
@@ -2994,7 +3020,7 @@ export interface GraphQLOverCapacityError {
2994
3020
  * The error is returned as a failed response to the [Create StandalonePrice](ctp:api:endpoint:/{projectKey}/standalone-prices:POST) request.
2995
3021
  *
2996
3022
  */
2997
- export interface GraphQLOverlappingStandalonePriceValidityError {
3023
+ export interface GraphQLOverlappingStandalonePriceValidityError extends IGraphQLErrorObject {
2998
3024
  readonly code: 'OverlappingStandalonePriceValidity';
2999
3025
  [key: string]: any;
3000
3026
  /**
@@ -3065,7 +3091,7 @@ export interface GraphQLOverlappingStandalonePriceValidityError {
3065
3091
  * If the error persists, report it to the [Composable Commerce support team](https://support.commercetools.com).
3066
3092
  *
3067
3093
  */
3068
- export interface GraphQLPendingOperationError {
3094
+ export interface GraphQLPendingOperationError extends IGraphQLErrorObject {
3069
3095
  readonly code: 'PendingOperation';
3070
3096
  [key: string]: any;
3071
3097
  }
@@ -3076,12 +3102,12 @@ export interface GraphQLPendingOperationError {
3076
3102
  *
3077
3103
  * The error is also returned as a failed response to:
3078
3104
  *
3079
- * - [Create Order from Cart](ctp:api:endpoint:/{projectKey}/orders:POST), [Create Order in Store from Cart](ctp:api:endpoint:/{projectKey}/in-store/orders:POST), and [Create Order from Quote](ctp:api:endpoint:/{projectKey}/orders/quotes:POST) requests on Orders.
3080
- * - [Create Order from Cart](ctp:api:endpoint:/{projectKey}/me/orders:POST), [Create Order in Store from Cart](ctp:api:endpoint:/{projectKey}/in-store/me/orders:POST), and [Create Order from Quote](ctp:api:endpoint:/{projectKey}/me/orders/quotes:POST) requests on My Orders.
3105
+ * - [Create Order from Cart](ctp:api:endpoint:/{projectKey}/orders:POST) and [Create Order in Store from Cart](ctp:api:endpoint:/{projectKey}/in-store/orders:POST) requests on Orders.
3106
+ * - [Create Order from Cart](ctp:api:endpoint:/{projectKey}/me/orders:POST) and [Create Order in Store from Cart](ctp:api:endpoint:/{projectKey}/in-store/me/orders:POST) requests on My Orders.
3081
3107
  * - [Create Order from Cart in BusinessUnit](ctp:api:endpoint:/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders:POST) request on Associate Orders.
3082
3108
  *
3083
3109
  */
3084
- export interface GraphQLPriceChangedError {
3110
+ export interface GraphQLPriceChangedError extends IGraphQLErrorObject {
3085
3111
  readonly code: 'PriceChanged';
3086
3112
  [key: string]: any;
3087
3113
  /**
@@ -3102,7 +3128,7 @@ export interface GraphQLPriceChangedError {
3102
3128
  * The error is returned as a failed response either to the [Set Variant Selection](ctp:api:type:ProductSelectionSetVariantSelectionAction) or to the [Set Variant Exclusion](ctp:api:type:ProductSelectionSetVariantExclusionAction) update action.
3103
3129
  *
3104
3130
  */
3105
- export interface GraphQLProductAssignmentMissingError {
3131
+ export interface GraphQLProductAssignmentMissingError extends IGraphQLErrorObject {
3106
3132
  readonly code: 'ProductAssignmentMissing';
3107
3133
  [key: string]: any;
3108
3134
  /**
@@ -3118,7 +3144,7 @@ export interface GraphQLProductAssignmentMissingError {
3118
3144
  * The error is returned as a failed response either to the [Add Product](ctp:api:type:ProductSelectionAddProductAction) or to the [Exclude Product](ctp:api:type:ProductSelectionExcludeProductAction) update action.
3119
3145
  *
3120
3146
  */
3121
- export interface GraphQLProductPresentWithDifferentVariantSelectionError {
3147
+ export interface GraphQLProductPresentWithDifferentVariantSelectionError extends IGraphQLErrorObject {
3122
3148
  readonly code: 'ProductPresentWithDifferentVariantSelection';
3123
3149
  [key: string]: any;
3124
3150
  /**
@@ -3140,7 +3166,7 @@ export interface GraphQLProductPresentWithDifferentVariantSelectionError {
3140
3166
  * The error is returned as a failed response to the [Set Languages](ctp:api:type:StoreSetLanguagesAction) update action.
3141
3167
  *
3142
3168
  */
3143
- export interface GraphQLProjectNotConfiguredForLanguagesError {
3169
+ export interface GraphQLProjectNotConfiguredForLanguagesError extends IGraphQLErrorObject {
3144
3170
  readonly code: 'ProjectNotConfiguredForLanguages';
3145
3171
  [key: string]: any;
3146
3172
  /**
@@ -3150,7 +3176,7 @@ export interface GraphQLProjectNotConfiguredForLanguagesError {
3150
3176
  */
3151
3177
  readonly languages?: string[];
3152
3178
  }
3153
- export interface GraphQLQueryComplexityLimitExceededError {
3179
+ export interface GraphQLQueryComplexityLimitExceededError extends IGraphQLErrorObject {
3154
3180
  readonly code: 'QueryComplexityLimitExceeded';
3155
3181
  [key: string]: any;
3156
3182
  }
@@ -3160,7 +3186,7 @@ export interface GraphQLQueryComplexityLimitExceededError {
3160
3186
  * If a query constantly times out, please check if it follows the [performance best practices](/../api/predicates/query#performance-considerations).
3161
3187
  *
3162
3188
  */
3163
- export interface GraphQLQueryTimedOutError {
3189
+ export interface GraphQLQueryTimedOutError extends IGraphQLErrorObject {
3164
3190
  readonly code: 'QueryTimedOut';
3165
3191
  [key: string]: any;
3166
3192
  }
@@ -3168,7 +3194,7 @@ export interface GraphQLQueryTimedOutError {
3168
3194
  * Returned when a resource cannot be deleted because it is being referenced by another resource.
3169
3195
  *
3170
3196
  */
3171
- export interface GraphQLReferenceExistsError {
3197
+ export interface GraphQLReferenceExistsError extends IGraphQLErrorObject {
3172
3198
  readonly code: 'ReferenceExists';
3173
3199
  [key: string]: any;
3174
3200
  /**
@@ -3182,7 +3208,7 @@ export interface GraphQLReferenceExistsError {
3182
3208
  * Returned when a resource referenced by a [Reference](ctp:api:type:Reference) or a [ResourceIdentifier](ctp:api:type:ResourceIdentifier) could not be found.
3183
3209
  *
3184
3210
  */
3185
- export interface GraphQLReferencedResourceNotFoundError {
3211
+ export interface GraphQLReferencedResourceNotFoundError extends IGraphQLErrorObject {
3186
3212
  readonly code: 'ReferencedResourceNotFound';
3187
3213
  [key: string]: any;
3188
3214
  /**
@@ -3208,7 +3234,7 @@ export interface GraphQLReferencedResourceNotFoundError {
3208
3234
  * Returned when a value is not defined for a required field.
3209
3235
  *
3210
3236
  */
3211
- export interface GraphQLRequiredFieldError {
3237
+ export interface GraphQLRequiredFieldError extends IGraphQLErrorObject {
3212
3238
  readonly code: 'RequiredField';
3213
3239
  [key: string]: any;
3214
3240
  /**
@@ -3222,7 +3248,7 @@ export interface GraphQLRequiredFieldError {
3222
3248
  * Returned when the resource addressed by the request URL does not exist.
3223
3249
  *
3224
3250
  */
3225
- export interface GraphQLResourceNotFoundError {
3251
+ export interface GraphQLResourceNotFoundError extends IGraphQLErrorObject {
3226
3252
  readonly code: 'ResourceNotFound';
3227
3253
  [key: string]: any;
3228
3254
  }
@@ -3230,7 +3256,7 @@ export interface GraphQLResourceNotFoundError {
3230
3256
  * Returned when the resource exceeds the maximum allowed size of 16 MB.
3231
3257
  *
3232
3258
  */
3233
- export interface GraphQLResourceSizeLimitExceededError {
3259
+ export interface GraphQLResourceSizeLimitExceededError extends IGraphQLErrorObject {
3234
3260
  readonly code: 'ResourceSizeLimitExceeded';
3235
3261
  [key: string]: any;
3236
3262
  }
@@ -3240,7 +3266,7 @@ export interface GraphQLResourceSizeLimitExceededError {
3240
3266
  * To activate indexing, call [Change Product Search Indexing Enabled](ctp:api:type:ProjectChangeProductSearchIndexingEnabledAction) and set `enabled` to `true`.
3241
3267
  *
3242
3268
  */
3243
- export interface GraphQLSearchDeactivatedError {
3269
+ export interface GraphQLSearchDeactivatedError extends IGraphQLErrorObject {
3244
3270
  readonly code: 'SearchDeactivated';
3245
3271
  [key: string]: any;
3246
3272
  }
@@ -3248,7 +3274,7 @@ export interface GraphQLSearchDeactivatedError {
3248
3274
  * Returned when a search query could not be completed due to an unexpected failure.
3249
3275
  *
3250
3276
  */
3251
- export interface GraphQLSearchExecutionFailureError {
3277
+ export interface GraphQLSearchExecutionFailureError extends IGraphQLErrorObject {
3252
3278
  readonly code: 'SearchExecutionFailure';
3253
3279
  [key: string]: any;
3254
3280
  }
@@ -3256,7 +3282,7 @@ export interface GraphQLSearchExecutionFailureError {
3256
3282
  * Returned when a search facet path could not be found.
3257
3283
  *
3258
3284
  */
3259
- export interface GraphQLSearchFacetPathNotFoundError {
3285
+ export interface GraphQLSearchFacetPathNotFoundError extends IGraphQLErrorObject {
3260
3286
  readonly code: 'SearchFacetPathNotFound';
3261
3287
  [key: string]: any;
3262
3288
  }
@@ -3264,7 +3290,7 @@ export interface GraphQLSearchFacetPathNotFoundError {
3264
3290
  * Returned when the indexing of Product information is still in progress for Projects that have indexing activated.
3265
3291
  *
3266
3292
  */
3267
- export interface GraphQLSearchIndexingInProgressError {
3293
+ export interface GraphQLSearchIndexingInProgressError extends IGraphQLErrorObject {
3268
3294
  readonly code: 'SearchIndexingInProgress';
3269
3295
  [key: string]: any;
3270
3296
  }
@@ -3272,15 +3298,15 @@ export interface GraphQLSearchIndexingInProgressError {
3272
3298
  * Returned if the requested search service is not ready. The search might be deactivated or indexing is in progress.
3273
3299
  *
3274
3300
  */
3275
- export interface GraphQLSearchNotReadyError {
3301
+ export interface GraphQLSearchNotReadyError extends IGraphQLErrorObject {
3276
3302
  readonly code: 'SearchNotReady';
3277
3303
  [key: string]: any;
3278
3304
  }
3279
3305
  /**
3280
- * Returned when a [Discount predicate](/../api/predicates/predicate-operators) or [API Extension predicate](/../api/predicates/query#using-predicates-in-conditional-api-extensions) is not semantically correct.
3306
+ * Returned when a [Discount predicate](/../api/predicates/predicate-operators) or [API Extension predicate](/../api/predicates/query#use-predicates-in-conditional-api-extensions) is not semantically correct.
3281
3307
  *
3282
3308
  */
3283
- export interface GraphQLSemanticErrorError {
3309
+ export interface GraphQLSemanticErrorError extends IGraphQLErrorObject {
3284
3310
  readonly code: 'SemanticError';
3285
3311
  [key: string]: any;
3286
3312
  }
@@ -3296,7 +3322,7 @@ export interface GraphQLSemanticErrorError {
3296
3322
  * - [Create Order from Cart in BusinessUnit](ctp:api:endpoint:/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders:POST) request on Associate Orders.
3297
3323
  *
3298
3324
  */
3299
- export interface GraphQLShippingMethodDoesNotMatchCartError {
3325
+ export interface GraphQLShippingMethodDoesNotMatchCartError extends IGraphQLErrorObject {
3300
3326
  readonly code: 'ShippingMethodDoesNotMatchCart';
3301
3327
  [key: string]: any;
3302
3328
  }
@@ -3309,7 +3335,7 @@ export interface GraphQLShippingMethodDoesNotMatchCartError {
3309
3335
  * - [Add Store](ctp:api:type:CartDiscountAddStoreAction) and [Set Store](ctp:api:type:CartDiscountSetStoresAction) update actions
3310
3336
  *
3311
3337
  */
3312
- export interface GraphQLStoreCartDiscountsLimitReachedError {
3338
+ export interface GraphQLStoreCartDiscountsLimitReachedError extends IGraphQLErrorObject {
3313
3339
  readonly code: 'StoreCartDiscountsLimitReached';
3314
3340
  [key: string]: any;
3315
3341
  /**
@@ -3320,10 +3346,10 @@ export interface GraphQLStoreCartDiscountsLimitReachedError {
3320
3346
  readonly stores: StoreKeyReference[];
3321
3347
  }
3322
3348
  /**
3323
- * Returned when a [Discount predicate](/../api/predicates/predicate-operators), [API Extension predicate](/../api/predicates/query#using-predicates-in-conditional-api-extensions), or [search query](/../api/projects/products-search) does not have the correct syntax.
3349
+ * Returned when a [Discount predicate](/../api/predicates/predicate-operators), [API Extension predicate](/../api/predicates/query#use-predicates-in-conditional-api-extensions), or [search query](/../api/projects/products-search) does not have the correct syntax.
3324
3350
  *
3325
3351
  */
3326
- export interface GraphQLSyntaxErrorError {
3352
+ export interface GraphQLSyntaxErrorError extends IGraphQLErrorObject {
3327
3353
  readonly code: 'SyntaxError';
3328
3354
  [key: string]: any;
3329
3355
  }