@commercelayer/sdk 7.0.0-beta.11 → 7.0.0-beta.12

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 (589) hide show
  1. package/lib/{api-Cknm0QL_.d.ts → api-C0JL7qFH.d.ts} +414 -39
  2. package/lib/{api-BYcswOJ0.d.cts → api-CB5Dy3ZC.d.cts} +414 -39
  3. package/lib/api.cjs +132 -131
  4. package/lib/api.d.cts +2 -2
  5. package/lib/api.d.ts +2 -2
  6. package/lib/api.js +132 -131
  7. package/lib/chunk-AQ5VUG5P.js +12 -0
  8. package/lib/chunk-JE77HYXB.cjs +17 -0
  9. package/lib/client.cjs +33 -39
  10. package/lib/client.d.cts +1 -1
  11. package/lib/client.d.ts +1 -1
  12. package/lib/client.js +1 -7
  13. package/lib/commercelayer.cjs +17 -700
  14. package/lib/commercelayer.d.cts +5 -135
  15. package/lib/commercelayer.d.ts +5 -135
  16. package/lib/commercelayer.js +11 -674
  17. package/lib/common.cjs +1 -0
  18. package/lib/common.d.cts +2 -2
  19. package/lib/common.d.ts +2 -2
  20. package/lib/common.js +1 -0
  21. package/lib/config.cjs +2 -0
  22. package/lib/config.d.cts +1 -1
  23. package/lib/config.d.ts +1 -1
  24. package/lib/config.js +2 -0
  25. package/lib/debug.cjs +2 -0
  26. package/lib/debug.js +2 -0
  27. package/lib/error.cjs +9 -11
  28. package/lib/error.js +1 -3
  29. package/lib/fetch.cjs +14 -23
  30. package/lib/fetch.d.cts +1 -1
  31. package/lib/fetch.d.ts +1 -1
  32. package/lib/fetch.js +1 -10
  33. package/lib/index.cjs +4 -3
  34. package/lib/index.d.cts +2 -3
  35. package/lib/index.d.ts +2 -3
  36. package/lib/index.js +2 -1
  37. package/lib/{interceptor-5MISI1yn.d.cts → interceptor-D65i25Y7.d.cts} +1 -1
  38. package/lib/{interceptor-5MISI1yn.d.ts → interceptor-D65i25Y7.d.ts} +1 -1
  39. package/lib/interceptor.d.cts +1 -1
  40. package/lib/interceptor.d.ts +1 -1
  41. package/lib/jsonapi.cjs +1 -0
  42. package/lib/jsonapi.d.cts +2 -2
  43. package/lib/jsonapi.d.ts +2 -2
  44. package/lib/jsonapi.js +1 -0
  45. package/lib/model.d.cts +2 -2
  46. package/lib/model.d.ts +2 -2
  47. package/lib/query.cjs +1 -0
  48. package/lib/query.d.cts +2 -2
  49. package/lib/query.d.ts +2 -2
  50. package/lib/query.js +1 -0
  51. package/lib/resource.cjs +22 -29
  52. package/lib/resource.d.cts +2 -2
  53. package/lib/resource.d.ts +2 -2
  54. package/lib/resource.js +4 -11
  55. package/lib/resources/addresses.cjs +10 -5
  56. package/lib/resources/addresses.d.cts +2 -2
  57. package/lib/resources/addresses.d.ts +2 -2
  58. package/lib/resources/addresses.js +9 -4
  59. package/lib/resources/adjustments.cjs +4 -5
  60. package/lib/resources/adjustments.d.cts +2 -2
  61. package/lib/resources/adjustments.d.ts +2 -2
  62. package/lib/resources/adjustments.js +3 -4
  63. package/lib/resources/adyen_gateways.cjs +4 -5
  64. package/lib/resources/adyen_gateways.d.cts +2 -2
  65. package/lib/resources/adyen_gateways.d.ts +2 -2
  66. package/lib/resources/adyen_gateways.js +3 -4
  67. package/lib/resources/adyen_payments.cjs +4 -5
  68. package/lib/resources/adyen_payments.d.cts +2 -2
  69. package/lib/resources/adyen_payments.d.ts +2 -2
  70. package/lib/resources/adyen_payments.js +3 -4
  71. package/lib/resources/applications.cjs +4 -5
  72. package/lib/resources/applications.d.cts +2 -2
  73. package/lib/resources/applications.d.ts +2 -2
  74. package/lib/resources/applications.js +3 -4
  75. package/lib/resources/attachments.cjs +4 -5
  76. package/lib/resources/attachments.d.cts +2 -2
  77. package/lib/resources/attachments.d.ts +2 -2
  78. package/lib/resources/attachments.js +3 -4
  79. package/lib/resources/authorizations.cjs +4 -5
  80. package/lib/resources/authorizations.d.cts +2 -2
  81. package/lib/resources/authorizations.d.ts +2 -2
  82. package/lib/resources/authorizations.js +3 -4
  83. package/lib/resources/avalara_accounts.cjs +4 -5
  84. package/lib/resources/avalara_accounts.d.cts +2 -2
  85. package/lib/resources/avalara_accounts.d.ts +2 -2
  86. package/lib/resources/avalara_accounts.js +3 -4
  87. package/lib/resources/axerve_gateways.cjs +4 -5
  88. package/lib/resources/axerve_gateways.d.cts +2 -2
  89. package/lib/resources/axerve_gateways.d.ts +2 -2
  90. package/lib/resources/axerve_gateways.js +3 -4
  91. package/lib/resources/axerve_payments.cjs +4 -5
  92. package/lib/resources/axerve_payments.d.cts +2 -2
  93. package/lib/resources/axerve_payments.d.ts +2 -2
  94. package/lib/resources/axerve_payments.js +3 -4
  95. package/lib/resources/bing_geocoders.cjs +4 -5
  96. package/lib/resources/bing_geocoders.d.cts +2 -2
  97. package/lib/resources/bing_geocoders.d.ts +2 -2
  98. package/lib/resources/bing_geocoders.js +3 -4
  99. package/lib/resources/braintree_gateways.cjs +4 -5
  100. package/lib/resources/braintree_gateways.d.cts +2 -2
  101. package/lib/resources/braintree_gateways.d.ts +2 -2
  102. package/lib/resources/braintree_gateways.js +3 -4
  103. package/lib/resources/braintree_payments.cjs +4 -5
  104. package/lib/resources/braintree_payments.d.cts +2 -2
  105. package/lib/resources/braintree_payments.d.ts +2 -2
  106. package/lib/resources/braintree_payments.js +3 -4
  107. package/lib/resources/bundles.cjs +10 -5
  108. package/lib/resources/bundles.d.cts +2 -2
  109. package/lib/resources/bundles.d.ts +2 -2
  110. package/lib/resources/bundles.js +9 -4
  111. package/lib/resources/buy_x_pay_y_promotions.cjs +10 -5
  112. package/lib/resources/buy_x_pay_y_promotions.d.cts +2 -2
  113. package/lib/resources/buy_x_pay_y_promotions.d.ts +2 -2
  114. package/lib/resources/buy_x_pay_y_promotions.js +9 -4
  115. package/lib/resources/captures.cjs +4 -5
  116. package/lib/resources/captures.d.cts +2 -2
  117. package/lib/resources/captures.d.ts +2 -2
  118. package/lib/resources/captures.js +3 -4
  119. package/lib/resources/carrier_accounts.cjs +4 -5
  120. package/lib/resources/carrier_accounts.d.cts +2 -2
  121. package/lib/resources/carrier_accounts.d.ts +2 -2
  122. package/lib/resources/carrier_accounts.js +3 -4
  123. package/lib/resources/checkout_com_gateways.cjs +4 -5
  124. package/lib/resources/checkout_com_gateways.d.cts +2 -2
  125. package/lib/resources/checkout_com_gateways.d.ts +2 -2
  126. package/lib/resources/checkout_com_gateways.js +3 -4
  127. package/lib/resources/checkout_com_payments.cjs +4 -5
  128. package/lib/resources/checkout_com_payments.d.cts +2 -2
  129. package/lib/resources/checkout_com_payments.d.ts +2 -2
  130. package/lib/resources/checkout_com_payments.js +3 -4
  131. package/lib/resources/cleanups.cjs +4 -5
  132. package/lib/resources/cleanups.d.cts +2 -2
  133. package/lib/resources/cleanups.d.ts +2 -2
  134. package/lib/resources/cleanups.js +3 -4
  135. package/lib/resources/coupon_codes_promotion_rules.cjs +4 -5
  136. package/lib/resources/coupon_codes_promotion_rules.d.cts +2 -2
  137. package/lib/resources/coupon_codes_promotion_rules.d.ts +2 -2
  138. package/lib/resources/coupon_codes_promotion_rules.js +3 -4
  139. package/lib/resources/coupon_recipients.cjs +4 -5
  140. package/lib/resources/coupon_recipients.d.cts +2 -2
  141. package/lib/resources/coupon_recipients.d.ts +2 -2
  142. package/lib/resources/coupon_recipients.js +3 -4
  143. package/lib/resources/coupons.cjs +10 -5
  144. package/lib/resources/coupons.d.cts +2 -2
  145. package/lib/resources/coupons.d.ts +2 -2
  146. package/lib/resources/coupons.js +9 -4
  147. package/lib/resources/custom_promotion_rules.cjs +4 -5
  148. package/lib/resources/custom_promotion_rules.d.cts +2 -2
  149. package/lib/resources/custom_promotion_rules.d.ts +2 -2
  150. package/lib/resources/custom_promotion_rules.js +3 -4
  151. package/lib/resources/customer_addresses.cjs +4 -5
  152. package/lib/resources/customer_addresses.d.cts +2 -2
  153. package/lib/resources/customer_addresses.d.ts +2 -2
  154. package/lib/resources/customer_addresses.js +3 -4
  155. package/lib/resources/customer_groups.cjs +4 -5
  156. package/lib/resources/customer_groups.d.cts +2 -2
  157. package/lib/resources/customer_groups.d.ts +2 -2
  158. package/lib/resources/customer_groups.js +3 -4
  159. package/lib/resources/customer_password_resets.cjs +4 -5
  160. package/lib/resources/customer_password_resets.d.cts +2 -2
  161. package/lib/resources/customer_password_resets.d.ts +2 -2
  162. package/lib/resources/customer_password_resets.js +3 -4
  163. package/lib/resources/customer_payment_sources.cjs +4 -5
  164. package/lib/resources/customer_payment_sources.d.cts +2 -2
  165. package/lib/resources/customer_payment_sources.d.ts +2 -2
  166. package/lib/resources/customer_payment_sources.js +3 -4
  167. package/lib/resources/customer_subscriptions.cjs +4 -5
  168. package/lib/resources/customer_subscriptions.d.cts +2 -2
  169. package/lib/resources/customer_subscriptions.d.ts +2 -2
  170. package/lib/resources/customer_subscriptions.js +3 -4
  171. package/lib/resources/customers.cjs +10 -5
  172. package/lib/resources/customers.d.cts +2 -2
  173. package/lib/resources/customers.d.ts +2 -2
  174. package/lib/resources/customers.js +9 -4
  175. package/lib/resources/delivery_lead_times.cjs +4 -5
  176. package/lib/resources/delivery_lead_times.d.cts +2 -2
  177. package/lib/resources/delivery_lead_times.d.ts +2 -2
  178. package/lib/resources/delivery_lead_times.js +3 -4
  179. package/lib/resources/discount_engine_items.cjs +4 -5
  180. package/lib/resources/discount_engine_items.d.cts +2 -2
  181. package/lib/resources/discount_engine_items.d.ts +2 -2
  182. package/lib/resources/discount_engine_items.js +3 -4
  183. package/lib/resources/discount_engines.cjs +4 -5
  184. package/lib/resources/discount_engines.d.cts +2 -2
  185. package/lib/resources/discount_engines.d.ts +2 -2
  186. package/lib/resources/discount_engines.js +3 -4
  187. package/lib/resources/easypost_pickups.cjs +4 -5
  188. package/lib/resources/easypost_pickups.d.cts +2 -2
  189. package/lib/resources/easypost_pickups.d.ts +2 -2
  190. package/lib/resources/easypost_pickups.js +3 -4
  191. package/lib/resources/event_callbacks.cjs +4 -5
  192. package/lib/resources/event_callbacks.d.cts +2 -2
  193. package/lib/resources/event_callbacks.d.ts +2 -2
  194. package/lib/resources/event_callbacks.js +3 -4
  195. package/lib/resources/events.cjs +4 -5
  196. package/lib/resources/events.d.cts +2 -2
  197. package/lib/resources/events.d.ts +2 -2
  198. package/lib/resources/events.js +3 -4
  199. package/lib/resources/exports.cjs +4 -5
  200. package/lib/resources/exports.d.cts +2 -2
  201. package/lib/resources/exports.d.ts +2 -2
  202. package/lib/resources/exports.js +3 -4
  203. package/lib/resources/external_gateways.cjs +4 -5
  204. package/lib/resources/external_gateways.d.cts +2 -2
  205. package/lib/resources/external_gateways.d.ts +2 -2
  206. package/lib/resources/external_gateways.js +3 -4
  207. package/lib/resources/external_payments.cjs +4 -5
  208. package/lib/resources/external_payments.d.cts +2 -2
  209. package/lib/resources/external_payments.d.ts +2 -2
  210. package/lib/resources/external_payments.js +3 -4
  211. package/lib/resources/external_promotions.cjs +10 -5
  212. package/lib/resources/external_promotions.d.cts +2 -2
  213. package/lib/resources/external_promotions.d.ts +2 -2
  214. package/lib/resources/external_promotions.js +9 -4
  215. package/lib/resources/external_tax_calculators.cjs +4 -5
  216. package/lib/resources/external_tax_calculators.d.cts +2 -2
  217. package/lib/resources/external_tax_calculators.d.ts +2 -2
  218. package/lib/resources/external_tax_calculators.js +3 -4
  219. package/lib/resources/fixed_amount_promotions.cjs +10 -5
  220. package/lib/resources/fixed_amount_promotions.d.cts +2 -2
  221. package/lib/resources/fixed_amount_promotions.d.ts +2 -2
  222. package/lib/resources/fixed_amount_promotions.js +9 -4
  223. package/lib/resources/fixed_price_promotions.cjs +10 -5
  224. package/lib/resources/fixed_price_promotions.d.cts +2 -2
  225. package/lib/resources/fixed_price_promotions.d.ts +2 -2
  226. package/lib/resources/fixed_price_promotions.js +9 -4
  227. package/lib/resources/flex_promotions.cjs +10 -5
  228. package/lib/resources/flex_promotions.d.cts +2 -2
  229. package/lib/resources/flex_promotions.d.ts +2 -2
  230. package/lib/resources/flex_promotions.js +9 -4
  231. package/lib/resources/free_gift_promotions.cjs +10 -5
  232. package/lib/resources/free_gift_promotions.d.cts +2 -2
  233. package/lib/resources/free_gift_promotions.d.ts +2 -2
  234. package/lib/resources/free_gift_promotions.js +9 -4
  235. package/lib/resources/free_shipping_promotions.cjs +10 -5
  236. package/lib/resources/free_shipping_promotions.d.cts +2 -2
  237. package/lib/resources/free_shipping_promotions.d.ts +2 -2
  238. package/lib/resources/free_shipping_promotions.js +9 -4
  239. package/lib/resources/geocoders.cjs +4 -5
  240. package/lib/resources/geocoders.d.cts +2 -2
  241. package/lib/resources/geocoders.d.ts +2 -2
  242. package/lib/resources/geocoders.js +3 -4
  243. package/lib/resources/gift_card_recipients.cjs +4 -5
  244. package/lib/resources/gift_card_recipients.d.cts +2 -2
  245. package/lib/resources/gift_card_recipients.d.ts +2 -2
  246. package/lib/resources/gift_card_recipients.js +3 -4
  247. package/lib/resources/gift_cards.cjs +10 -5
  248. package/lib/resources/gift_cards.d.cts +2 -2
  249. package/lib/resources/gift_cards.d.ts +2 -2
  250. package/lib/resources/gift_cards.js +9 -4
  251. package/lib/resources/google_geocoders.cjs +4 -5
  252. package/lib/resources/google_geocoders.d.cts +2 -2
  253. package/lib/resources/google_geocoders.d.ts +2 -2
  254. package/lib/resources/google_geocoders.js +3 -4
  255. package/lib/resources/imports.cjs +4 -5
  256. package/lib/resources/imports.d.cts +2 -2
  257. package/lib/resources/imports.d.ts +2 -2
  258. package/lib/resources/imports.js +3 -4
  259. package/lib/resources/in_stock_subscriptions.cjs +4 -5
  260. package/lib/resources/in_stock_subscriptions.d.cts +2 -2
  261. package/lib/resources/in_stock_subscriptions.d.ts +2 -2
  262. package/lib/resources/in_stock_subscriptions.js +3 -4
  263. package/lib/resources/inventory_models.cjs +4 -5
  264. package/lib/resources/inventory_models.d.cts +2 -2
  265. package/lib/resources/inventory_models.d.ts +2 -2
  266. package/lib/resources/inventory_models.js +3 -4
  267. package/lib/resources/inventory_return_locations.cjs +4 -5
  268. package/lib/resources/inventory_return_locations.d.cts +2 -2
  269. package/lib/resources/inventory_return_locations.d.ts +2 -2
  270. package/lib/resources/inventory_return_locations.js +3 -4
  271. package/lib/resources/inventory_stock_locations.cjs +4 -5
  272. package/lib/resources/inventory_stock_locations.d.cts +2 -2
  273. package/lib/resources/inventory_stock_locations.d.ts +2 -2
  274. package/lib/resources/inventory_stock_locations.js +3 -4
  275. package/lib/resources/klarna_gateways.cjs +4 -5
  276. package/lib/resources/klarna_gateways.d.cts +2 -2
  277. package/lib/resources/klarna_gateways.d.ts +2 -2
  278. package/lib/resources/klarna_gateways.js +3 -4
  279. package/lib/resources/klarna_payments.cjs +4 -5
  280. package/lib/resources/klarna_payments.d.cts +2 -2
  281. package/lib/resources/klarna_payments.d.ts +2 -2
  282. package/lib/resources/klarna_payments.js +3 -4
  283. package/lib/resources/line_item_options.cjs +10 -5
  284. package/lib/resources/line_item_options.d.cts +2 -2
  285. package/lib/resources/line_item_options.d.ts +2 -2
  286. package/lib/resources/line_item_options.js +9 -4
  287. package/lib/resources/line_items.cjs +10 -5
  288. package/lib/resources/line_items.d.cts +2 -2
  289. package/lib/resources/line_items.d.ts +2 -2
  290. package/lib/resources/line_items.js +9 -4
  291. package/lib/resources/links.cjs +4 -5
  292. package/lib/resources/links.d.cts +2 -2
  293. package/lib/resources/links.d.ts +2 -2
  294. package/lib/resources/links.js +3 -4
  295. package/lib/resources/manual_gateways.cjs +4 -5
  296. package/lib/resources/manual_gateways.d.cts +2 -2
  297. package/lib/resources/manual_gateways.d.ts +2 -2
  298. package/lib/resources/manual_gateways.js +3 -4
  299. package/lib/resources/manual_tax_calculators.cjs +4 -5
  300. package/lib/resources/manual_tax_calculators.d.cts +2 -2
  301. package/lib/resources/manual_tax_calculators.d.ts +2 -2
  302. package/lib/resources/manual_tax_calculators.js +3 -4
  303. package/lib/resources/markets.cjs +12 -5
  304. package/lib/resources/markets.d.cts +2 -2
  305. package/lib/resources/markets.d.ts +2 -2
  306. package/lib/resources/markets.js +11 -4
  307. package/lib/resources/merchants.cjs +4 -5
  308. package/lib/resources/merchants.d.cts +2 -2
  309. package/lib/resources/merchants.d.ts +2 -2
  310. package/lib/resources/merchants.js +3 -4
  311. package/lib/resources/notifications.cjs +4 -5
  312. package/lib/resources/notifications.d.cts +2 -2
  313. package/lib/resources/notifications.d.ts +2 -2
  314. package/lib/resources/notifications.js +3 -4
  315. package/lib/resources/order_amount_promotion_rules.cjs +4 -5
  316. package/lib/resources/order_amount_promotion_rules.d.cts +2 -2
  317. package/lib/resources/order_amount_promotion_rules.d.ts +2 -2
  318. package/lib/resources/order_amount_promotion_rules.js +3 -4
  319. package/lib/resources/order_copies.cjs +4 -5
  320. package/lib/resources/order_copies.d.cts +2 -2
  321. package/lib/resources/order_copies.d.ts +2 -2
  322. package/lib/resources/order_copies.js +3 -4
  323. package/lib/resources/order_factories.cjs +4 -5
  324. package/lib/resources/order_factories.d.cts +2 -2
  325. package/lib/resources/order_factories.d.ts +2 -2
  326. package/lib/resources/order_factories.js +3 -4
  327. package/lib/resources/order_subscription_items.cjs +4 -5
  328. package/lib/resources/order_subscription_items.d.cts +2 -2
  329. package/lib/resources/order_subscription_items.d.ts +2 -2
  330. package/lib/resources/order_subscription_items.js +3 -4
  331. package/lib/resources/order_subscriptions.cjs +10 -5
  332. package/lib/resources/order_subscriptions.d.cts +2 -2
  333. package/lib/resources/order_subscriptions.d.ts +2 -2
  334. package/lib/resources/order_subscriptions.js +9 -4
  335. package/lib/resources/orders.cjs +18 -5
  336. package/lib/resources/orders.d.cts +2 -2
  337. package/lib/resources/orders.d.ts +2 -2
  338. package/lib/resources/orders.js +17 -4
  339. package/lib/resources/organizations.cjs +4 -5
  340. package/lib/resources/organizations.d.cts +2 -2
  341. package/lib/resources/organizations.d.ts +2 -2
  342. package/lib/resources/organizations.js +3 -4
  343. package/lib/resources/packages.cjs +4 -5
  344. package/lib/resources/packages.d.cts +2 -2
  345. package/lib/resources/packages.d.ts +2 -2
  346. package/lib/resources/packages.js +3 -4
  347. package/lib/resources/parcel_line_items.cjs +4 -5
  348. package/lib/resources/parcel_line_items.d.cts +2 -2
  349. package/lib/resources/parcel_line_items.d.ts +2 -2
  350. package/lib/resources/parcel_line_items.js +3 -4
  351. package/lib/resources/parcels.cjs +4 -5
  352. package/lib/resources/parcels.d.cts +2 -2
  353. package/lib/resources/parcels.d.ts +2 -2
  354. package/lib/resources/parcels.js +3 -4
  355. package/lib/resources/payment_gateways.cjs +4 -5
  356. package/lib/resources/payment_gateways.d.cts +2 -2
  357. package/lib/resources/payment_gateways.d.ts +2 -2
  358. package/lib/resources/payment_gateways.js +3 -4
  359. package/lib/resources/payment_methods.cjs +4 -5
  360. package/lib/resources/payment_methods.d.cts +2 -2
  361. package/lib/resources/payment_methods.d.ts +2 -2
  362. package/lib/resources/payment_methods.js +3 -4
  363. package/lib/resources/payment_options.cjs +4 -5
  364. package/lib/resources/payment_options.d.cts +2 -2
  365. package/lib/resources/payment_options.d.ts +2 -2
  366. package/lib/resources/payment_options.js +3 -4
  367. package/lib/resources/paypal_gateways.cjs +4 -5
  368. package/lib/resources/paypal_gateways.d.cts +2 -2
  369. package/lib/resources/paypal_gateways.d.ts +2 -2
  370. package/lib/resources/paypal_gateways.js +3 -4
  371. package/lib/resources/paypal_payments.cjs +4 -5
  372. package/lib/resources/paypal_payments.d.cts +2 -2
  373. package/lib/resources/paypal_payments.d.ts +2 -2
  374. package/lib/resources/paypal_payments.js +3 -4
  375. package/lib/resources/percentage_discount_promotions.cjs +10 -5
  376. package/lib/resources/percentage_discount_promotions.d.cts +2 -2
  377. package/lib/resources/percentage_discount_promotions.d.ts +2 -2
  378. package/lib/resources/percentage_discount_promotions.js +9 -4
  379. package/lib/resources/pickups.cjs +4 -5
  380. package/lib/resources/pickups.d.cts +2 -2
  381. package/lib/resources/pickups.d.ts +2 -2
  382. package/lib/resources/pickups.js +3 -4
  383. package/lib/resources/price_frequency_tiers.cjs +4 -5
  384. package/lib/resources/price_frequency_tiers.d.cts +2 -2
  385. package/lib/resources/price_frequency_tiers.d.ts +2 -2
  386. package/lib/resources/price_frequency_tiers.js +3 -4
  387. package/lib/resources/price_list_schedulers.cjs +4 -5
  388. package/lib/resources/price_list_schedulers.d.cts +2 -2
  389. package/lib/resources/price_list_schedulers.d.ts +2 -2
  390. package/lib/resources/price_list_schedulers.js +3 -4
  391. package/lib/resources/price_lists.cjs +4 -5
  392. package/lib/resources/price_lists.d.cts +2 -2
  393. package/lib/resources/price_lists.d.ts +2 -2
  394. package/lib/resources/price_lists.js +3 -4
  395. package/lib/resources/price_tiers.cjs +4 -5
  396. package/lib/resources/price_tiers.d.cts +2 -2
  397. package/lib/resources/price_tiers.d.ts +2 -2
  398. package/lib/resources/price_tiers.js +3 -4
  399. package/lib/resources/price_volume_tiers.cjs +4 -5
  400. package/lib/resources/price_volume_tiers.d.cts +2 -2
  401. package/lib/resources/price_volume_tiers.d.ts +2 -2
  402. package/lib/resources/price_volume_tiers.js +3 -4
  403. package/lib/resources/prices.cjs +4 -5
  404. package/lib/resources/prices.d.cts +2 -2
  405. package/lib/resources/prices.d.ts +2 -2
  406. package/lib/resources/prices.js +3 -4
  407. package/lib/resources/promotion_rules.cjs +4 -5
  408. package/lib/resources/promotion_rules.d.cts +2 -2
  409. package/lib/resources/promotion_rules.d.ts +2 -2
  410. package/lib/resources/promotion_rules.js +3 -4
  411. package/lib/resources/promotions.cjs +4 -5
  412. package/lib/resources/promotions.d.cts +2 -2
  413. package/lib/resources/promotions.d.ts +2 -2
  414. package/lib/resources/promotions.js +3 -4
  415. package/lib/resources/recurring_order_copies.cjs +4 -5
  416. package/lib/resources/recurring_order_copies.d.cts +2 -2
  417. package/lib/resources/recurring_order_copies.d.ts +2 -2
  418. package/lib/resources/recurring_order_copies.js +3 -4
  419. package/lib/resources/refunds.cjs +4 -5
  420. package/lib/resources/refunds.d.cts +2 -2
  421. package/lib/resources/refunds.d.ts +2 -2
  422. package/lib/resources/refunds.js +3 -4
  423. package/lib/resources/reserved_stocks.cjs +4 -5
  424. package/lib/resources/reserved_stocks.d.cts +2 -2
  425. package/lib/resources/reserved_stocks.d.ts +2 -2
  426. package/lib/resources/reserved_stocks.js +3 -4
  427. package/lib/resources/resource_errors.cjs +4 -5
  428. package/lib/resources/resource_errors.d.cts +2 -2
  429. package/lib/resources/resource_errors.d.ts +2 -2
  430. package/lib/resources/resource_errors.js +3 -4
  431. package/lib/resources/return_line_items.cjs +4 -5
  432. package/lib/resources/return_line_items.d.cts +2 -2
  433. package/lib/resources/return_line_items.d.ts +2 -2
  434. package/lib/resources/return_line_items.js +3 -4
  435. package/lib/resources/returns.cjs +10 -5
  436. package/lib/resources/returns.d.cts +2 -2
  437. package/lib/resources/returns.d.ts +2 -2
  438. package/lib/resources/returns.js +9 -4
  439. package/lib/resources/satispay_gateways.cjs +4 -5
  440. package/lib/resources/satispay_gateways.d.cts +2 -2
  441. package/lib/resources/satispay_gateways.d.ts +2 -2
  442. package/lib/resources/satispay_gateways.js +3 -4
  443. package/lib/resources/satispay_payments.cjs +4 -5
  444. package/lib/resources/satispay_payments.d.cts +2 -2
  445. package/lib/resources/satispay_payments.d.ts +2 -2
  446. package/lib/resources/satispay_payments.js +3 -4
  447. package/lib/resources/shipments.cjs +10 -5
  448. package/lib/resources/shipments.d.cts +2 -2
  449. package/lib/resources/shipments.d.ts +2 -2
  450. package/lib/resources/shipments.js +9 -4
  451. package/lib/resources/shipping_categories.cjs +4 -5
  452. package/lib/resources/shipping_categories.d.cts +2 -2
  453. package/lib/resources/shipping_categories.d.ts +2 -2
  454. package/lib/resources/shipping_categories.js +3 -4
  455. package/lib/resources/shipping_method_tiers.cjs +4 -5
  456. package/lib/resources/shipping_method_tiers.d.cts +2 -2
  457. package/lib/resources/shipping_method_tiers.d.ts +2 -2
  458. package/lib/resources/shipping_method_tiers.js +3 -4
  459. package/lib/resources/shipping_methods.cjs +4 -5
  460. package/lib/resources/shipping_methods.d.cts +2 -2
  461. package/lib/resources/shipping_methods.d.ts +2 -2
  462. package/lib/resources/shipping_methods.js +3 -4
  463. package/lib/resources/shipping_weight_tiers.cjs +4 -5
  464. package/lib/resources/shipping_weight_tiers.d.cts +2 -2
  465. package/lib/resources/shipping_weight_tiers.d.ts +2 -2
  466. package/lib/resources/shipping_weight_tiers.js +3 -4
  467. package/lib/resources/shipping_zones.cjs +4 -5
  468. package/lib/resources/shipping_zones.d.cts +2 -2
  469. package/lib/resources/shipping_zones.d.ts +2 -2
  470. package/lib/resources/shipping_zones.js +3 -4
  471. package/lib/resources/sku_list_items.cjs +4 -5
  472. package/lib/resources/sku_list_items.d.cts +2 -2
  473. package/lib/resources/sku_list_items.d.ts +2 -2
  474. package/lib/resources/sku_list_items.js +3 -4
  475. package/lib/resources/sku_list_promotion_rules.cjs +4 -5
  476. package/lib/resources/sku_list_promotion_rules.d.cts +2 -2
  477. package/lib/resources/sku_list_promotion_rules.d.ts +2 -2
  478. package/lib/resources/sku_list_promotion_rules.js +3 -4
  479. package/lib/resources/sku_lists.cjs +4 -5
  480. package/lib/resources/sku_lists.d.cts +2 -2
  481. package/lib/resources/sku_lists.d.ts +2 -2
  482. package/lib/resources/sku_lists.js +3 -4
  483. package/lib/resources/sku_options.cjs +10 -5
  484. package/lib/resources/sku_options.d.cts +2 -2
  485. package/lib/resources/sku_options.d.ts +2 -2
  486. package/lib/resources/sku_options.js +9 -4
  487. package/lib/resources/skus.cjs +10 -5
  488. package/lib/resources/skus.d.cts +2 -2
  489. package/lib/resources/skus.d.ts +2 -2
  490. package/lib/resources/skus.js +9 -4
  491. package/lib/resources/stock_items.cjs +4 -5
  492. package/lib/resources/stock_items.d.cts +2 -2
  493. package/lib/resources/stock_items.d.ts +2 -2
  494. package/lib/resources/stock_items.js +3 -4
  495. package/lib/resources/stock_line_items.cjs +4 -5
  496. package/lib/resources/stock_line_items.d.cts +2 -2
  497. package/lib/resources/stock_line_items.d.ts +2 -2
  498. package/lib/resources/stock_line_items.js +3 -4
  499. package/lib/resources/stock_locations.cjs +4 -5
  500. package/lib/resources/stock_locations.d.cts +2 -2
  501. package/lib/resources/stock_locations.d.ts +2 -2
  502. package/lib/resources/stock_locations.js +3 -4
  503. package/lib/resources/stock_reservations.cjs +4 -5
  504. package/lib/resources/stock_reservations.d.cts +2 -2
  505. package/lib/resources/stock_reservations.d.ts +2 -2
  506. package/lib/resources/stock_reservations.js +3 -4
  507. package/lib/resources/stock_transfers.cjs +4 -5
  508. package/lib/resources/stock_transfers.d.cts +2 -2
  509. package/lib/resources/stock_transfers.d.ts +2 -2
  510. package/lib/resources/stock_transfers.js +3 -4
  511. package/lib/resources/stores.cjs +4 -5
  512. package/lib/resources/stores.d.cts +2 -2
  513. package/lib/resources/stores.d.ts +2 -2
  514. package/lib/resources/stores.js +3 -4
  515. package/lib/resources/stripe_gateways.cjs +4 -5
  516. package/lib/resources/stripe_gateways.d.cts +2 -2
  517. package/lib/resources/stripe_gateways.d.ts +2 -2
  518. package/lib/resources/stripe_gateways.js +3 -4
  519. package/lib/resources/stripe_payments.cjs +4 -5
  520. package/lib/resources/stripe_payments.d.cts +2 -2
  521. package/lib/resources/stripe_payments.d.ts +2 -2
  522. package/lib/resources/stripe_payments.js +3 -4
  523. package/lib/resources/stripe_tax_accounts.cjs +4 -5
  524. package/lib/resources/stripe_tax_accounts.d.cts +2 -2
  525. package/lib/resources/stripe_tax_accounts.d.ts +2 -2
  526. package/lib/resources/stripe_tax_accounts.js +3 -4
  527. package/lib/resources/subscription_models.cjs +4 -5
  528. package/lib/resources/subscription_models.d.cts +2 -2
  529. package/lib/resources/subscription_models.d.ts +2 -2
  530. package/lib/resources/subscription_models.js +3 -4
  531. package/lib/resources/tags.cjs +4 -5
  532. package/lib/resources/tags.d.cts +2 -2
  533. package/lib/resources/tags.d.ts +2 -2
  534. package/lib/resources/tags.js +3 -4
  535. package/lib/resources/talon_one_accounts.cjs +4 -5
  536. package/lib/resources/talon_one_accounts.d.cts +2 -2
  537. package/lib/resources/talon_one_accounts.d.ts +2 -2
  538. package/lib/resources/talon_one_accounts.js +3 -4
  539. package/lib/resources/tax_calculators.cjs +4 -5
  540. package/lib/resources/tax_calculators.d.cts +2 -2
  541. package/lib/resources/tax_calculators.d.ts +2 -2
  542. package/lib/resources/tax_calculators.js +3 -4
  543. package/lib/resources/tax_categories.cjs +4 -5
  544. package/lib/resources/tax_categories.d.cts +2 -2
  545. package/lib/resources/tax_categories.d.ts +2 -2
  546. package/lib/resources/tax_categories.js +3 -4
  547. package/lib/resources/tax_rules.cjs +4 -5
  548. package/lib/resources/tax_rules.d.cts +2 -2
  549. package/lib/resources/tax_rules.d.ts +2 -2
  550. package/lib/resources/tax_rules.js +3 -4
  551. package/lib/resources/taxjar_accounts.cjs +4 -5
  552. package/lib/resources/taxjar_accounts.d.cts +2 -2
  553. package/lib/resources/taxjar_accounts.d.ts +2 -2
  554. package/lib/resources/taxjar_accounts.js +3 -4
  555. package/lib/resources/transactions.cjs +4 -5
  556. package/lib/resources/transactions.d.cts +2 -2
  557. package/lib/resources/transactions.d.ts +2 -2
  558. package/lib/resources/transactions.js +3 -4
  559. package/lib/resources/versions.cjs +4 -5
  560. package/lib/resources/versions.d.cts +2 -2
  561. package/lib/resources/versions.d.ts +2 -2
  562. package/lib/resources/versions.js +3 -4
  563. package/lib/resources/vertex_accounts.cjs +4 -5
  564. package/lib/resources/vertex_accounts.d.cts +2 -2
  565. package/lib/resources/vertex_accounts.d.ts +2 -2
  566. package/lib/resources/vertex_accounts.js +3 -4
  567. package/lib/resources/voids.cjs +4 -5
  568. package/lib/resources/voids.d.cts +2 -2
  569. package/lib/resources/voids.d.ts +2 -2
  570. package/lib/resources/voids.js +3 -4
  571. package/lib/resources/webhooks.cjs +4 -5
  572. package/lib/resources/webhooks.d.cts +2 -2
  573. package/lib/resources/webhooks.d.ts +2 -2
  574. package/lib/resources/webhooks.js +3 -4
  575. package/lib/resources/wire_transfers.cjs +4 -5
  576. package/lib/resources/wire_transfers.d.cts +2 -2
  577. package/lib/resources/wire_transfers.d.ts +2 -2
  578. package/lib/resources/wire_transfers.js +3 -4
  579. package/lib/static.cjs +1 -0
  580. package/lib/static.d.cts +3 -3
  581. package/lib/static.d.ts +3 -3
  582. package/lib/static.js +1 -0
  583. package/lib/util.cjs +2 -0
  584. package/lib/util.js +2 -0
  585. package/package.json +6 -6
  586. package/lib/instance.cjs +0 -272
  587. package/lib/instance.d.cts +0 -141
  588. package/lib/instance.d.ts +0 -141
  589. package/lib/instance.js +0 -139
@@ -86,6 +86,7 @@ type ResourcesInitConfig = ResourceAdapterConfig & ApiClientInitConfig;
86
86
  type ResourcesConfig = Partial<ResourcesInitConfig>;
87
87
  declare class ApiResourceAdapter {
88
88
  private static adapter;
89
+ private constructor();
89
90
  static init(config: ResourcesInitConfig): ResourceAdapter;
90
91
  static get(config?: ResourcesInitConfig): ResourceAdapter;
91
92
  static config(config: ResourcesConfig): void;
@@ -162,6 +163,7 @@ declare class Tags extends ApiResource<Tag> {
162
163
  relationshipToMany(...ids: string[]): TagRel$l[];
163
164
  type(): TagType;
164
165
  }
166
+ declare const instance$22: Tags;
165
167
 
166
168
  type VersionType = 'versions';
167
169
  type VersionRel = ResourceRel & {
@@ -203,6 +205,7 @@ declare class Versions extends ApiResource<Version> {
203
205
  relationshipToMany(...ids: string[]): VersionRel[];
204
206
  type(): VersionType;
205
207
  }
208
+ declare const instance$21: Versions;
206
209
 
207
210
  type ShippingCategoryType = 'shipping_categories';
208
211
  type ShippingCategoryRel$4 = ResourceRel & {
@@ -262,6 +265,7 @@ declare class ShippingCategories extends ApiResource<ShippingCategory> {
262
265
  relationshipToMany(...ids: string[]): ShippingCategoryRel$4[];
263
266
  type(): ShippingCategoryType;
264
267
  }
268
+ declare const instance$20: ShippingCategories;
265
269
 
266
270
  type InventoryReturnLocationType = 'inventory_return_locations';
267
271
  type InventoryReturnLocationRel = ResourceRel & {
@@ -316,6 +320,7 @@ declare class InventoryReturnLocations extends ApiResource<InventoryReturnLocati
316
320
  relationshipToMany(...ids: string[]): InventoryReturnLocationRel[];
317
321
  type(): InventoryReturnLocationType;
318
322
  }
323
+ declare const instance$1$: InventoryReturnLocations;
319
324
 
320
325
  type InventoryModelType = 'inventory_models';
321
326
  type InventoryModelRel$3 = ResourceRel & {
@@ -437,6 +442,7 @@ declare class InventoryModels extends ApiResource<InventoryModel> {
437
442
  relationshipToMany(...ids: string[]): InventoryModelRel$3[];
438
443
  type(): InventoryModelType;
439
444
  }
445
+ declare const instance$1_: InventoryModels;
440
446
 
441
447
  type InventoryStockLocationType = 'inventory_stock_locations';
442
448
  type InventoryStockLocationRel$1 = ResourceRel & {
@@ -503,6 +509,7 @@ declare class InventoryStockLocations extends ApiResource<InventoryStockLocation
503
509
  relationshipToMany(...ids: string[]): InventoryStockLocationRel$1[];
504
510
  type(): InventoryStockLocationType;
505
511
  }
512
+ declare const instance$1Z: InventoryStockLocations;
506
513
 
507
514
  type CustomerGroupType = 'customer_groups';
508
515
  type CustomerGroupRel$3 = ResourceRel & {
@@ -564,6 +571,7 @@ declare class CustomerGroups extends ApiResource<CustomerGroup> {
564
571
  relationshipToMany(...ids: string[]): CustomerGroupRel$3[];
565
572
  type(): CustomerGroupType;
566
573
  }
574
+ declare const instance$1Y: CustomerGroups;
567
575
 
568
576
  type EventCallbackType = 'event_callbacks';
569
577
  type EventCallbackRel = ResourceRel & {
@@ -602,6 +610,7 @@ declare class EventCallbacks extends ApiResource<EventCallback> {
602
610
  relationshipToMany(...ids: string[]): EventCallbackRel[];
603
611
  type(): EventCallbackType;
604
612
  }
613
+ declare const instance$1X: EventCallbacks;
605
614
 
606
615
  type WebhookType = 'webhooks';
607
616
  type WebhookRel = ResourceRel & {
@@ -737,6 +746,7 @@ declare class Webhooks extends ApiResource<Webhook> {
737
746
  relationshipToMany(...ids: string[]): WebhookRel[];
738
747
  type(): WebhookType;
739
748
  }
749
+ declare const instance$1W: Webhooks;
740
750
 
741
751
  type EventType = 'events';
742
752
  type EventRel = ResourceRel & {
@@ -771,6 +781,7 @@ declare class Events extends ApiResource<Event> {
771
781
  relationshipToMany(...ids: string[]): EventRel[];
772
782
  type(): EventType;
773
783
  }
784
+ declare const instance$1V: Events;
774
785
 
775
786
  type CustomerAddressType = 'customer_addresses';
776
787
  type CustomerAddressRel = ResourceRel & {
@@ -827,6 +838,7 @@ declare class CustomerAddresses extends ApiResource<CustomerAddress> {
827
838
  relationshipToMany(...ids: string[]): CustomerAddressRel[];
828
839
  type(): CustomerAddressType;
829
840
  }
841
+ declare const instance$1U: CustomerAddresses;
830
842
 
831
843
  type PaymentGatewayType = 'payment_gateways';
832
844
  type PaymentGatewayRel$1 = ResourceRel & {
@@ -852,6 +864,7 @@ declare class PaymentGateways extends ApiResource<PaymentGateway> {
852
864
  relationshipToMany(...ids: string[]): PaymentGatewayRel$1[];
853
865
  type(): PaymentGatewayType;
854
866
  }
867
+ declare const instance$1T: PaymentGateways;
855
868
 
856
869
  type StoreType = 'stores';
857
870
  type StoreRel$2 = ResourceRel & {
@@ -934,9 +947,10 @@ declare class Stores extends ApiResource<Store> {
934
947
  relationshipToMany(...ids: string[]): StoreRel$2[];
935
948
  type(): StoreType;
936
949
  }
950
+ declare const instance$1S: Stores;
937
951
 
938
952
  type PaymentMethodType = 'payment_methods';
939
- type PaymentMethodRel$4 = ResourceRel & {
953
+ type PaymentMethodRel$5 = ResourceRel & {
940
954
  type: PaymentMethodType;
941
955
  };
942
956
  type MarketRel$i = ResourceRel & {
@@ -1148,10 +1162,11 @@ declare class PaymentMethods extends ApiResource<PaymentMethod> {
1148
1162
  _disable(id: string | PaymentMethod, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod>;
1149
1163
  _enable(id: string | PaymentMethod, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod>;
1150
1164
  isPaymentMethod(resource: any): resource is PaymentMethod;
1151
- relationship(id: string | ResourceId | null): PaymentMethodRel$4;
1152
- relationshipToMany(...ids: string[]): PaymentMethodRel$4[];
1165
+ relationship(id: string | ResourceId | null): PaymentMethodRel$5;
1166
+ relationshipToMany(...ids: string[]): PaymentMethodRel$5[];
1153
1167
  type(): PaymentMethodType;
1154
1168
  }
1169
+ declare const instance$1R: PaymentMethods;
1155
1170
 
1156
1171
  type AdyenPaymentType = 'adyen_payments';
1157
1172
  type AdyenPaymentRel$3 = ResourceRel & {
@@ -1242,6 +1257,7 @@ declare class AdyenPayments extends ApiResource<AdyenPayment> {
1242
1257
  relationshipToMany(...ids: string[]): AdyenPaymentRel$3[];
1243
1258
  type(): AdyenPaymentType;
1244
1259
  }
1260
+ declare const instance$1Q: AdyenPayments;
1245
1261
 
1246
1262
  type AxervePaymentType = 'axerve_payments';
1247
1263
  type AxervePaymentRel$3 = ResourceRel & {
@@ -1346,6 +1362,7 @@ declare class AxervePayments extends ApiResource<AxervePayment> {
1346
1362
  relationshipToMany(...ids: string[]): AxervePaymentRel$3[];
1347
1363
  type(): AxervePaymentType;
1348
1364
  }
1365
+ declare const instance$1P: AxervePayments;
1349
1366
 
1350
1367
  type BraintreePaymentType = 'braintree_payments';
1351
1368
  type BraintreePaymentRel$3 = ResourceRel & {
@@ -1445,6 +1462,7 @@ declare class BraintreePayments extends ApiResource<BraintreePayment> {
1445
1462
  relationshipToMany(...ids: string[]): BraintreePaymentRel$3[];
1446
1463
  type(): BraintreePaymentType;
1447
1464
  }
1465
+ declare const instance$1O: BraintreePayments;
1448
1466
 
1449
1467
  type CheckoutComPaymentType = 'checkout_com_payments';
1450
1468
  type CheckoutComPaymentRel$3 = ResourceRel & {
@@ -1600,6 +1618,7 @@ declare class CheckoutComPayments extends ApiResource<CheckoutComPayment> {
1600
1618
  relationshipToMany(...ids: string[]): CheckoutComPaymentRel$3[];
1601
1619
  type(): CheckoutComPaymentType;
1602
1620
  }
1621
+ declare const instance$1N: CheckoutComPayments;
1603
1622
 
1604
1623
  type ExternalPaymentType = 'external_payments';
1605
1624
  type ExternalPaymentRel$2 = ResourceRel & {
@@ -1666,6 +1685,7 @@ declare class ExternalPayments extends ApiResource<ExternalPayment> {
1666
1685
  relationshipToMany(...ids: string[]): ExternalPaymentRel$2[];
1667
1686
  type(): ExternalPaymentType;
1668
1687
  }
1688
+ declare const instance$1M: ExternalPayments;
1669
1689
 
1670
1690
  type KlarnaPaymentType = 'klarna_payments';
1671
1691
  type KlarnaPaymentRel$3 = ResourceRel & {
@@ -1740,6 +1760,7 @@ declare class KlarnaPayments extends ApiResource<KlarnaPayment> {
1740
1760
  relationshipToMany(...ids: string[]): KlarnaPaymentRel$3[];
1741
1761
  type(): KlarnaPaymentType;
1742
1762
  }
1763
+ declare const instance$1L: KlarnaPayments;
1743
1764
 
1744
1765
  type PaypalPaymentType = 'paypal_payments';
1745
1766
  type PaypalPaymentRel$2 = ResourceRel & {
@@ -1843,6 +1864,7 @@ declare class PaypalPayments extends ApiResource<PaypalPayment> {
1843
1864
  relationshipToMany(...ids: string[]): PaypalPaymentRel$2[];
1844
1865
  type(): PaypalPaymentType;
1845
1866
  }
1867
+ declare const instance$1K: PaypalPayments;
1846
1868
 
1847
1869
  type SatispayPaymentType = 'satispay_payments';
1848
1870
  type SatispayPaymentRel$3 = ResourceRel & {
@@ -1933,6 +1955,7 @@ declare class SatispayPayments extends ApiResource<SatispayPayment> {
1933
1955
  relationshipToMany(...ids: string[]): SatispayPaymentRel$3[];
1934
1956
  type(): SatispayPaymentType;
1935
1957
  }
1958
+ declare const instance$1J: SatispayPayments;
1936
1959
 
1937
1960
  type StripePaymentType = 'stripe_payments';
1938
1961
  type StripePaymentRel$2 = ResourceRel & {
@@ -2073,6 +2096,7 @@ declare class StripePayments extends ApiResource<StripePayment> {
2073
2096
  relationshipToMany(...ids: string[]): StripePaymentRel$2[];
2074
2097
  type(): StripePaymentType;
2075
2098
  }
2099
+ declare const instance$1I: StripePayments;
2076
2100
 
2077
2101
  type WireTransferType = 'wire_transfers';
2078
2102
  type WireTransferRel$2 = ResourceRel & {
@@ -2110,6 +2134,7 @@ declare class WireTransfers extends ApiResource<WireTransfer> {
2110
2134
  relationshipToMany(...ids: string[]): WireTransferRel$2[];
2111
2135
  type(): WireTransferType;
2112
2136
  }
2137
+ declare const instance$1H: WireTransfers;
2113
2138
 
2114
2139
  type CustomerPaymentSourceType = 'customer_payment_sources';
2115
2140
  type CustomerPaymentSourceRel$1 = ResourceRel & {
@@ -2118,7 +2143,7 @@ type CustomerPaymentSourceRel$1 = ResourceRel & {
2118
2143
  type CustomerRel$7 = ResourceRel & {
2119
2144
  type: CustomerType;
2120
2145
  };
2121
- type PaymentMethodRel$3 = ResourceRel & {
2146
+ type PaymentMethodRel$4 = ResourceRel & {
2122
2147
  type: PaymentMethodType;
2123
2148
  };
2124
2149
  type AdyenPaymentRel$2 = ResourceRel & {
@@ -2186,7 +2211,7 @@ interface CustomerPaymentSourceCreate extends ResourceCreate {
2186
2211
  */
2187
2212
  payment_source_token?: string | null;
2188
2213
  customer: CustomerRel$7;
2189
- payment_method?: PaymentMethodRel$3 | null;
2214
+ payment_method?: PaymentMethodRel$4 | null;
2190
2215
  payment_source?: AdyenPaymentRel$2 | AxervePaymentRel$2 | BraintreePaymentRel$2 | CheckoutComPaymentRel$2 | ExternalPaymentRel$1 | KlarnaPaymentRel$2 | PaypalPaymentRel$1 | SatispayPaymentRel$2 | StripePaymentRel$1 | WireTransferRel$1 | null;
2191
2216
  }
2192
2217
  interface CustomerPaymentSourceUpdate extends ResourceUpdate {
@@ -2201,7 +2226,7 @@ interface CustomerPaymentSourceUpdate extends ResourceUpdate {
2201
2226
  */
2202
2227
  payment_source_token?: string | null;
2203
2228
  customer?: CustomerRel$7 | null;
2204
- payment_method?: PaymentMethodRel$3 | null;
2229
+ payment_method?: PaymentMethodRel$4 | null;
2205
2230
  payment_source?: AdyenPaymentRel$2 | AxervePaymentRel$2 | BraintreePaymentRel$2 | CheckoutComPaymentRel$2 | ExternalPaymentRel$1 | KlarnaPaymentRel$2 | PaypalPaymentRel$1 | SatispayPaymentRel$2 | StripePaymentRel$1 | WireTransferRel$1 | null;
2206
2231
  }
2207
2232
  declare class CustomerPaymentSources extends ApiResource<CustomerPaymentSource> {
@@ -2217,6 +2242,7 @@ declare class CustomerPaymentSources extends ApiResource<CustomerPaymentSource>
2217
2242
  relationshipToMany(...ids: string[]): CustomerPaymentSourceRel$1[];
2218
2243
  type(): CustomerPaymentSourceType;
2219
2244
  }
2245
+ declare const instance$1G: CustomerPaymentSources;
2220
2246
 
2221
2247
  type CustomerSubscriptionType = 'customer_subscriptions';
2222
2248
  type CustomerSubscriptionRel = ResourceRel & {
@@ -2255,6 +2281,7 @@ declare class CustomerSubscriptions extends ApiResource<CustomerSubscription> {
2255
2281
  relationshipToMany(...ids: string[]): CustomerSubscriptionRel[];
2256
2282
  type(): CustomerSubscriptionType;
2257
2283
  }
2284
+ declare const instance$1F: CustomerSubscriptions;
2258
2285
 
2259
2286
  type SubscriptionModelType = 'subscription_models';
2260
2287
  type SubscriptionModelRel$2 = ResourceRel & {
@@ -2356,6 +2383,7 @@ declare class SubscriptionModels extends ApiResource<SubscriptionModel> {
2356
2383
  relationshipToMany(...ids: string[]): SubscriptionModelRel$2[];
2357
2384
  type(): SubscriptionModelType;
2358
2385
  }
2386
+ declare const instance$1E: SubscriptionModels;
2359
2387
 
2360
2388
  type SkuOptionType = 'sku_options';
2361
2389
  type SkuOptionRel$2 = ResourceRel & {
@@ -2486,6 +2514,14 @@ interface SkuOptionUpdate extends ResourceUpdate {
2486
2514
  * @example ```"^(A|B).*$"```
2487
2515
  */
2488
2516
  sku_code_regex?: string | null;
2517
+ /**
2518
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
2519
+ */
2520
+ _add_tags?: string | null;
2521
+ /**
2522
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
2523
+ */
2524
+ _remove_tags?: string | null;
2489
2525
  market?: MarketRel$h | null;
2490
2526
  tags?: TagRel$k[] | null;
2491
2527
  }
@@ -2499,11 +2535,14 @@ declare class SkuOptions extends ApiResource<SkuOption> {
2499
2535
  events(skuOptionId: string | SkuOption, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
2500
2536
  tags(skuOptionId: string | SkuOption, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
2501
2537
  versions(skuOptionId: string | SkuOption, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
2538
+ _add_tags(id: string | SkuOption, triggerValue: string, params?: QueryParamsRetrieve<SkuOption>, options?: ResourcesConfig): Promise<SkuOption>;
2539
+ _remove_tags(id: string | SkuOption, triggerValue: string, params?: QueryParamsRetrieve<SkuOption>, options?: ResourcesConfig): Promise<SkuOption>;
2502
2540
  isSkuOption(resource: any): resource is SkuOption;
2503
2541
  relationship(id: string | ResourceId | null): SkuOptionRel$2;
2504
2542
  relationshipToMany(...ids: string[]): SkuOptionRel$2[];
2505
2543
  type(): SkuOptionType;
2506
2544
  }
2545
+ declare const instance$1D: SkuOptions;
2507
2546
 
2508
2547
  type LineItemOptionType = 'line_item_options';
2509
2548
  type LineItemOptionRel = ResourceRel & {
@@ -2632,6 +2671,14 @@ interface LineItemOptionUpdate extends ResourceUpdate {
2632
2671
  * @example ```{"embossing_text":"Happy Birthday!"}```
2633
2672
  */
2634
2673
  options?: Record<string, any> | null;
2674
+ /**
2675
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
2676
+ */
2677
+ _add_tags?: string | null;
2678
+ /**
2679
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
2680
+ */
2681
+ _remove_tags?: string | null;
2635
2682
  sku_option?: SkuOptionRel$1 | null;
2636
2683
  tags?: TagRel$j[] | null;
2637
2684
  }
@@ -2644,11 +2691,14 @@ declare class LineItemOptions extends ApiResource<LineItemOption> {
2644
2691
  sku_option(lineItemOptionId: string | LineItemOption, params?: QueryParamsRetrieve<SkuOption>, options?: ResourcesConfig): Promise<SkuOption>;
2645
2692
  events(lineItemOptionId: string | LineItemOption, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
2646
2693
  tags(lineItemOptionId: string | LineItemOption, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
2694
+ _add_tags(id: string | LineItemOption, triggerValue: string, params?: QueryParamsRetrieve<LineItemOption>, options?: ResourcesConfig): Promise<LineItemOption>;
2695
+ _remove_tags(id: string | LineItemOption, triggerValue: string, params?: QueryParamsRetrieve<LineItemOption>, options?: ResourcesConfig): Promise<LineItemOption>;
2647
2696
  isLineItemOption(resource: any): resource is LineItemOption;
2648
2697
  relationship(id: string | ResourceId | null): LineItemOptionRel;
2649
2698
  relationshipToMany(...ids: string[]): LineItemOptionRel[];
2650
2699
  type(): LineItemOptionType;
2651
2700
  }
2701
+ declare const instance$1C: LineItemOptions;
2652
2702
 
2653
2703
  type VoidType = 'voids';
2654
2704
  type VoidRel = ResourceRel & {
@@ -2743,6 +2793,7 @@ declare class Voids extends ApiResource<Void> {
2743
2793
  relationshipToMany(...ids: string[]): VoidRel[];
2744
2794
  type(): VoidType;
2745
2795
  }
2796
+ declare const instance$1B: Voids;
2746
2797
 
2747
2798
  type AuthorizationType = 'authorizations';
2748
2799
  type AuthorizationRel = ResourceRel & {
@@ -2933,6 +2984,7 @@ declare class Authorizations extends ApiResource<Authorization> {
2933
2984
  relationshipToMany(...ids: string[]): AuthorizationRel[];
2934
2985
  type(): AuthorizationType;
2935
2986
  }
2987
+ declare const instance$1A: Authorizations;
2936
2988
 
2937
2989
  type RefundType = 'refunds';
2938
2990
  type RefundRel = ResourceRel & {
@@ -3029,6 +3081,7 @@ declare class Refunds extends ApiResource<Refund> {
3029
3081
  relationshipToMany(...ids: string[]): RefundRel[];
3030
3082
  type(): RefundType;
3031
3083
  }
3084
+ declare const instance$1z: Refunds;
3032
3085
 
3033
3086
  type CaptureType = 'captures';
3034
3087
  type CaptureRel$1 = ResourceRel & {
@@ -3175,6 +3228,7 @@ declare class Captures extends ApiResource<Capture> {
3175
3228
  relationshipToMany(...ids: string[]): CaptureRel$1[];
3176
3229
  type(): CaptureType;
3177
3230
  }
3231
+ declare const instance$1y: Captures;
3178
3232
 
3179
3233
  type ResourceErrorType = 'resource_errors';
3180
3234
  type ResourceErrorRel = ResourceRel & {
@@ -3207,6 +3261,7 @@ declare class ResourceErrors extends ApiResource<ResourceError> {
3207
3261
  relationshipToMany(...ids: string[]): ResourceErrorRel[];
3208
3262
  type(): ResourceErrorType;
3209
3263
  }
3264
+ declare const instance$1x: ResourceErrors;
3210
3265
 
3211
3266
  type ReturnType = 'returns';
3212
3267
  type ReturnRel$2 = ResourceRel & {
@@ -3373,6 +3428,14 @@ interface ReturnUpdate extends ResourceUpdate {
3373
3428
  * @example ```500```
3374
3429
  */
3375
3430
  _refund_amount_cents?: number | null;
3431
+ /**
3432
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
3433
+ */
3434
+ _add_tags?: string | null;
3435
+ /**
3436
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
3437
+ */
3438
+ _remove_tags?: string | null;
3376
3439
  stock_location?: StockLocationRel$7 | null;
3377
3440
  reference_capture?: CaptureRel | null;
3378
3441
  tags?: TagRel$i[] | null;
@@ -3406,11 +3469,14 @@ declare class Returns extends ApiResource<Return> {
3406
3469
  _unarchive(id: string | Return, params?: QueryParamsRetrieve<Return>, options?: ResourcesConfig): Promise<Return>;
3407
3470
  _refund(id: string | Return, params?: QueryParamsRetrieve<Return>, options?: ResourcesConfig): Promise<Return>;
3408
3471
  _refund_amount_cents(id: string | Return, triggerValue: number, params?: QueryParamsRetrieve<Return>, options?: ResourcesConfig): Promise<Return>;
3472
+ _add_tags(id: string | Return, triggerValue: string, params?: QueryParamsRetrieve<Return>, options?: ResourcesConfig): Promise<Return>;
3473
+ _remove_tags(id: string | Return, triggerValue: string, params?: QueryParamsRetrieve<Return>, options?: ResourcesConfig): Promise<Return>;
3409
3474
  isReturn(resource: any): resource is Return;
3410
3475
  relationship(id: string | ResourceId | null): ReturnRel$2;
3411
3476
  relationshipToMany(...ids: string[]): ReturnRel$2[];
3412
3477
  type(): ReturnType;
3413
3478
  }
3479
+ declare const instance$1w: Returns;
3414
3480
 
3415
3481
  type ReturnLineItemType = 'return_line_items';
3416
3482
  type ReturnLineItemRel = ResourceRel & {
@@ -3522,6 +3588,7 @@ declare class ReturnLineItems extends ApiResource<ReturnLineItem> {
3522
3588
  relationshipToMany(...ids: string[]): ReturnLineItemRel[];
3523
3589
  type(): ReturnLineItemType;
3524
3590
  }
3591
+ declare const instance$1v: ReturnLineItems;
3525
3592
 
3526
3593
  type StockLineItemType = 'stock_line_items';
3527
3594
  type StockLineItemRel$1 = ResourceRel & {
@@ -3640,6 +3707,7 @@ declare class StockLineItems extends ApiResource<StockLineItem> {
3640
3707
  relationshipToMany(...ids: string[]): StockLineItemRel$1[];
3641
3708
  type(): StockLineItemType;
3642
3709
  }
3710
+ declare const instance$1u: StockLineItems;
3643
3711
 
3644
3712
  type ReservedStockType = 'reserved_stocks';
3645
3713
  type ReservedStockRel = ResourceRel & {
@@ -3669,6 +3737,7 @@ declare class ReservedStocks extends ApiResource<ReservedStock> {
3669
3737
  relationshipToMany(...ids: string[]): ReservedStockRel[];
3670
3738
  type(): ReservedStockType;
3671
3739
  }
3740
+ declare const instance$1t: ReservedStocks;
3672
3741
 
3673
3742
  type StockReservationType = 'stock_reservations';
3674
3743
  type StockReservationRel = ResourceRel & {
@@ -3741,6 +3810,7 @@ declare class StockReservations extends ApiResource<StockReservation> {
3741
3810
  relationshipToMany(...ids: string[]): StockReservationRel[];
3742
3811
  type(): StockReservationType;
3743
3812
  }
3813
+ declare const instance$1s: StockReservations;
3744
3814
 
3745
3815
  type ShippingZoneType = 'shipping_zones';
3746
3816
  type ShippingZoneRel$2 = ResourceRel & {
@@ -3873,6 +3943,7 @@ declare class ShippingZones extends ApiResource<ShippingZone> {
3873
3943
  relationshipToMany(...ids: string[]): ShippingZoneRel$2[];
3874
3944
  type(): ShippingZoneType;
3875
3945
  }
3946
+ declare const instance$1r: ShippingZones;
3876
3947
 
3877
3948
  type DeliveryLeadTimeType = 'delivery_lead_times';
3878
3949
  type DeliveryLeadTimeRel$1 = ResourceRel & {
@@ -3881,7 +3952,7 @@ type DeliveryLeadTimeRel$1 = ResourceRel & {
3881
3952
  type StockLocationRel$6 = ResourceRel & {
3882
3953
  type: StockLocationType;
3883
3954
  };
3884
- type ShippingMethodRel$5 = ResourceRel & {
3955
+ type ShippingMethodRel$6 = ResourceRel & {
3885
3956
  type: ShippingMethodType;
3886
3957
  };
3887
3958
  type DeliveryLeadTimeSort = Pick<DeliveryLeadTime, 'id' | 'min_hours' | 'max_hours' | 'min_days'> & ResourceSort;
@@ -3924,7 +3995,7 @@ interface DeliveryLeadTimeCreate extends ResourceCreate {
3924
3995
  */
3925
3996
  max_hours: number;
3926
3997
  stock_location: StockLocationRel$6;
3927
- shipping_method: ShippingMethodRel$5;
3998
+ shipping_method: ShippingMethodRel$6;
3928
3999
  }
3929
4000
  interface DeliveryLeadTimeUpdate extends ResourceUpdate {
3930
4001
  /**
@@ -3938,7 +4009,7 @@ interface DeliveryLeadTimeUpdate extends ResourceUpdate {
3938
4009
  */
3939
4010
  max_hours?: number | null;
3940
4011
  stock_location?: StockLocationRel$6 | null;
3941
- shipping_method?: ShippingMethodRel$5 | null;
4012
+ shipping_method?: ShippingMethodRel$6 | null;
3942
4013
  }
3943
4014
  declare class DeliveryLeadTimes extends ApiResource<DeliveryLeadTime> {
3944
4015
  static readonly TYPE: DeliveryLeadTimeType;
@@ -3954,6 +4025,7 @@ declare class DeliveryLeadTimes extends ApiResource<DeliveryLeadTime> {
3954
4025
  relationshipToMany(...ids: string[]): DeliveryLeadTimeRel$1[];
3955
4026
  type(): DeliveryLeadTimeType;
3956
4027
  }
4028
+ declare const instance$1q: DeliveryLeadTimes;
3957
4029
 
3958
4030
  type ShippingMethodTierType = 'shipping_method_tiers';
3959
4031
  type ShippingMethodTierRel$2 = ResourceRel & {
@@ -4001,12 +4073,13 @@ declare class ShippingMethodTiers extends ApiResource<ShippingMethodTier> {
4001
4073
  relationshipToMany(...ids: string[]): ShippingMethodTierRel$2[];
4002
4074
  type(): ShippingMethodTierType;
4003
4075
  }
4076
+ declare const instance$1p: ShippingMethodTiers;
4004
4077
 
4005
4078
  type ShippingWeightTierType = 'shipping_weight_tiers';
4006
4079
  type ShippingWeightTierRel = ResourceRel & {
4007
4080
  type: ShippingWeightTierType;
4008
4081
  };
4009
- type ShippingMethodRel$4 = ResourceRel & {
4082
+ type ShippingMethodRel$5 = ResourceRel & {
4010
4083
  type: ShippingMethodType;
4011
4084
  };
4012
4085
  type ShippingWeightTierSort = Pick<ShippingWeightTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceSort;
@@ -4057,7 +4130,7 @@ interface ShippingWeightTierCreate extends ResourceCreate {
4057
4130
  * @example ```1000```
4058
4131
  */
4059
4132
  price_amount_cents: number;
4060
- shipping_method: ShippingMethodRel$4;
4133
+ shipping_method: ShippingMethodRel$5;
4061
4134
  }
4062
4135
  interface ShippingWeightTierUpdate extends ResourceUpdate {
4063
4136
  /**
@@ -4075,7 +4148,7 @@ interface ShippingWeightTierUpdate extends ResourceUpdate {
4075
4148
  * @example ```1000```
4076
4149
  */
4077
4150
  price_amount_cents?: number | null;
4078
- shipping_method?: ShippingMethodRel$4 | null;
4151
+ shipping_method?: ShippingMethodRel$5 | null;
4079
4152
  }
4080
4153
  declare class ShippingWeightTiers extends ApiResource<ShippingWeightTier> {
4081
4154
  static readonly TYPE: ShippingWeightTierType;
@@ -4090,9 +4163,10 @@ declare class ShippingWeightTiers extends ApiResource<ShippingWeightTier> {
4090
4163
  relationshipToMany(...ids: string[]): ShippingWeightTierRel[];
4091
4164
  type(): ShippingWeightTierType;
4092
4165
  }
4166
+ declare const instance$1o: ShippingWeightTiers;
4093
4167
 
4094
4168
  type ShippingMethodType = 'shipping_methods';
4095
- type ShippingMethodRel$3 = ResourceRel & {
4169
+ type ShippingMethodRel$4 = ResourceRel & {
4096
4170
  type: ShippingMethodType;
4097
4171
  };
4098
4172
  type MarketRel$g = ResourceRel & {
@@ -4395,10 +4469,11 @@ declare class ShippingMethods extends ApiResource<ShippingMethod> {
4395
4469
  _enable(id: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
4396
4470
  _reset_circuit(id: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
4397
4471
  isShippingMethod(resource: any): resource is ShippingMethod;
4398
- relationship(id: string | ResourceId | null): ShippingMethodRel$3;
4399
- relationshipToMany(...ids: string[]): ShippingMethodRel$3[];
4472
+ relationship(id: string | ResourceId | null): ShippingMethodRel$4;
4473
+ relationshipToMany(...ids: string[]): ShippingMethodRel$4[];
4400
4474
  type(): ShippingMethodType;
4401
4475
  }
4476
+ declare const instance$1n: ShippingMethods;
4402
4477
 
4403
4478
  type NotificationType = 'notifications';
4404
4479
  type NotificationRel = ResourceRel & {
@@ -4410,7 +4485,7 @@ type OrderRel$9 = ResourceRel & {
4410
4485
  type LineItemRel$2 = ResourceRel & {
4411
4486
  type: LineItemType;
4412
4487
  };
4413
- type ShippingMethodRel$2 = ResourceRel & {
4488
+ type ShippingMethodRel$3 = ResourceRel & {
4414
4489
  type: ShippingMethodType;
4415
4490
  };
4416
4491
  type NotificationSort = Pick<Notification, 'id' | 'name' | 'flash'> & ResourceSort;
@@ -4447,7 +4522,7 @@ interface NotificationCreate extends ResourceCreate {
4447
4522
  * @example ```{"sku":"REDHANDBAG","name":"Enjoy your free item"}```
4448
4523
  */
4449
4524
  body?: Record<string, any> | null;
4450
- notifiable: OrderRel$9 | LineItemRel$2 | ShippingMethodRel$2;
4525
+ notifiable: OrderRel$9 | LineItemRel$2 | ShippingMethodRel$3;
4451
4526
  }
4452
4527
  interface NotificationUpdate extends ResourceUpdate {
4453
4528
  /**
@@ -4464,7 +4539,7 @@ interface NotificationUpdate extends ResourceUpdate {
4464
4539
  * @example ```{"sku":"REDHANDBAG","name":"Enjoy your free item"}```
4465
4540
  */
4466
4541
  body?: Record<string, any> | null;
4467
- notifiable?: OrderRel$9 | LineItemRel$2 | ShippingMethodRel$2 | null;
4542
+ notifiable?: OrderRel$9 | LineItemRel$2 | ShippingMethodRel$3 | null;
4468
4543
  }
4469
4544
  declare class Notifications extends ApiResource<Notification> {
4470
4545
  static readonly TYPE: NotificationType;
@@ -4476,6 +4551,7 @@ declare class Notifications extends ApiResource<Notification> {
4476
4551
  relationshipToMany(...ids: string[]): NotificationRel[];
4477
4552
  type(): NotificationType;
4478
4553
  }
4554
+ declare const instance$1m: Notifications;
4479
4555
 
4480
4556
  type SkuListItemType = 'sku_list_items';
4481
4557
  type SkuListItemRel = ResourceRel & {
@@ -4558,6 +4634,7 @@ declare class SkuListItems extends ApiResource<SkuListItem> {
4558
4634
  relationshipToMany(...ids: string[]): SkuListItemRel[];
4559
4635
  type(): SkuListItemType;
4560
4636
  }
4637
+ declare const instance$1l: SkuListItems;
4561
4638
 
4562
4639
  type LinkType = 'links';
4563
4640
  type LinkRel = ResourceRel & {
@@ -4752,6 +4829,7 @@ declare class Links extends ApiResource<Link> {
4752
4829
  relationshipToMany(...ids: string[]): LinkRel[];
4753
4830
  type(): LinkType;
4754
4831
  }
4832
+ declare const instance$1k: Links;
4755
4833
 
4756
4834
  type SkuListType = 'sku_lists';
4757
4835
  type SkuListRel$a = ResourceRel & {
@@ -4871,6 +4949,7 @@ declare class SkuLists extends ApiResource<SkuList> {
4871
4949
  relationshipToMany(...ids: string[]): SkuListRel$a[];
4872
4950
  type(): SkuListType;
4873
4951
  }
4952
+ declare const instance$1j: SkuLists;
4874
4953
 
4875
4954
  type BundleType = 'bundles';
4876
4955
  type BundleRel$3 = ResourceRel & {
@@ -5060,6 +5139,14 @@ interface BundleUpdate extends ResourceUpdate {
5060
5139
  * @example ```true```
5061
5140
  */
5062
5141
  _compute_compare_at_amount?: boolean | null;
5142
+ /**
5143
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
5144
+ */
5145
+ _add_tags?: string | null;
5146
+ /**
5147
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
5148
+ */
5149
+ _remove_tags?: string | null;
5063
5150
  tags?: TagRel$h[] | null;
5064
5151
  }
5065
5152
  declare class Bundles extends ApiResource<Bundle> {
@@ -5076,11 +5163,14 @@ declare class Bundles extends ApiResource<Bundle> {
5076
5163
  versions(bundleId: string | Bundle, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
5077
5164
  _compute_price_amount(id: string | Bundle, params?: QueryParamsRetrieve<Bundle>, options?: ResourcesConfig): Promise<Bundle>;
5078
5165
  _compute_compare_at_amount(id: string | Bundle, params?: QueryParamsRetrieve<Bundle>, options?: ResourcesConfig): Promise<Bundle>;
5166
+ _add_tags(id: string | Bundle, triggerValue: string, params?: QueryParamsRetrieve<Bundle>, options?: ResourcesConfig): Promise<Bundle>;
5167
+ _remove_tags(id: string | Bundle, triggerValue: string, params?: QueryParamsRetrieve<Bundle>, options?: ResourcesConfig): Promise<Bundle>;
5079
5168
  isBundle(resource: any): resource is Bundle;
5080
5169
  relationship(id: string | ResourceId | null): BundleRel$3;
5081
5170
  relationshipToMany(...ids: string[]): BundleRel$3[];
5082
5171
  type(): BundleType;
5083
5172
  }
5173
+ declare const instance$1i: Bundles;
5084
5174
 
5085
5175
  type GiftCardRecipientType = 'gift_card_recipients';
5086
5176
  type GiftCardRecipientRel$2 = ResourceRel & {
@@ -5160,6 +5250,7 @@ declare class GiftCardRecipients extends ApiResource<GiftCardRecipient> {
5160
5250
  relationshipToMany(...ids: string[]): GiftCardRecipientRel$2[];
5161
5251
  type(): GiftCardRecipientType;
5162
5252
  }
5253
+ declare const instance$1h: GiftCardRecipients;
5163
5254
 
5164
5255
  type GiftCardType = 'gift_cards';
5165
5256
  type GiftCardRel$2 = ResourceRel & {
@@ -5402,6 +5493,14 @@ interface GiftCardUpdate extends ResourceUpdate {
5402
5493
  * @example ```-5000```
5403
5494
  */
5404
5495
  _balance_change_cents?: number | null;
5496
+ /**
5497
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
5498
+ */
5499
+ _add_tags?: string | null;
5500
+ /**
5501
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
5502
+ */
5503
+ _remove_tags?: string | null;
5405
5504
  market?: MarketRel$e | null;
5406
5505
  gift_card_recipient?: GiftCardRecipientRel$1 | null;
5407
5506
  tags?: TagRel$g[] | null;
@@ -5421,11 +5520,14 @@ declare class GiftCards extends ApiResource<GiftCard> {
5421
5520
  _activate(id: string | GiftCard, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard>;
5422
5521
  _deactivate(id: string | GiftCard, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard>;
5423
5522
  _balance_change_cents(id: string | GiftCard, triggerValue: number, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard>;
5523
+ _add_tags(id: string | GiftCard, triggerValue: string, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard>;
5524
+ _remove_tags(id: string | GiftCard, triggerValue: string, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard>;
5424
5525
  isGiftCard(resource: any): resource is GiftCard;
5425
5526
  relationship(id: string | ResourceId | null): GiftCardRel$2;
5426
5527
  relationshipToMany(...ids: string[]): GiftCardRel$2[];
5427
5528
  type(): GiftCardType;
5428
5529
  }
5530
+ declare const instance$1g: GiftCards;
5429
5531
 
5430
5532
  type AdjustmentType = 'adjustments';
5431
5533
  type AdjustmentRel$2 = ResourceRel & {
@@ -5521,6 +5623,7 @@ declare class Adjustments extends ApiResource<Adjustment> {
5521
5623
  relationshipToMany(...ids: string[]): AdjustmentRel$2[];
5522
5624
  type(): AdjustmentType;
5523
5625
  }
5626
+ declare const instance$1f: Adjustments;
5524
5627
 
5525
5628
  type DiscountEngineType = 'discount_engines';
5526
5629
  type DiscountEngineRel$1 = ResourceRel & {
@@ -5554,6 +5657,7 @@ declare class DiscountEngines extends ApiResource<DiscountEngine> {
5554
5657
  relationshipToMany(...ids: string[]): DiscountEngineRel$1[];
5555
5658
  type(): DiscountEngineType;
5556
5659
  }
5660
+ declare const instance$1e: DiscountEngines;
5557
5661
 
5558
5662
  type DiscountEngineItemType = 'discount_engine_items';
5559
5663
  type DiscountEngineItemRel$1 = ResourceRel & {
@@ -5579,6 +5683,7 @@ declare class DiscountEngineItems extends ApiResource<DiscountEngineItem> {
5579
5683
  relationshipToMany(...ids: string[]): DiscountEngineItemRel$1[];
5580
5684
  type(): DiscountEngineItemType;
5581
5685
  }
5686
+ declare const instance$1d: DiscountEngineItems;
5582
5687
 
5583
5688
  type CouponRecipientType = 'coupon_recipients';
5584
5689
  type CouponRecipientRel$2 = ResourceRel & {
@@ -5658,6 +5763,7 @@ declare class CouponRecipients extends ApiResource<CouponRecipient> {
5658
5763
  relationshipToMany(...ids: string[]): CouponRecipientRel$2[];
5659
5764
  type(): CouponRecipientType;
5660
5765
  }
5766
+ declare const instance$1c: CouponRecipients;
5661
5767
 
5662
5768
  type CouponType = 'coupons';
5663
5769
  type CouponRel$1 = ResourceRel & {
@@ -5764,6 +5870,14 @@ interface CouponUpdate extends ResourceUpdate {
5764
5870
  * @example ```"2018-01-01T12:00:00.000Z"```
5765
5871
  */
5766
5872
  expires_at?: string | null;
5873
+ /**
5874
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
5875
+ */
5876
+ _add_tags?: string | null;
5877
+ /**
5878
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
5879
+ */
5880
+ _remove_tags?: string | null;
5767
5881
  promotion_rule?: CouponCodesPromotionRuleRel$9 | null;
5768
5882
  coupon_recipient?: CouponRecipientRel$1 | null;
5769
5883
  tags?: TagRel$f[] | null;
@@ -5778,11 +5892,14 @@ declare class Coupons extends ApiResource<Coupon> {
5778
5892
  events(couponId: string | Coupon, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
5779
5893
  tags(couponId: string | Coupon, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
5780
5894
  versions(couponId: string | Coupon, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
5895
+ _add_tags(id: string | Coupon, triggerValue: string, params?: QueryParamsRetrieve<Coupon>, options?: ResourcesConfig): Promise<Coupon>;
5896
+ _remove_tags(id: string | Coupon, triggerValue: string, params?: QueryParamsRetrieve<Coupon>, options?: ResourcesConfig): Promise<Coupon>;
5781
5897
  isCoupon(resource: any): resource is Coupon;
5782
5898
  relationship(id: string | ResourceId | null): CouponRel$1;
5783
5899
  relationshipToMany(...ids: string[]): CouponRel$1[];
5784
5900
  type(): CouponType;
5785
5901
  }
5902
+ declare const instance$1b: Coupons;
5786
5903
 
5787
5904
  type ExternalPromotionType = 'external_promotions';
5788
5905
  type ExternalPromotionRel$5 = ResourceRel & {
@@ -6006,6 +6123,14 @@ interface ExternalPromotionUpdate extends ResourceUpdate {
6006
6123
  * @example ```true```
6007
6124
  */
6008
6125
  _enable?: boolean | null;
6126
+ /**
6127
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
6128
+ */
6129
+ _add_tags?: string | null;
6130
+ /**
6131
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
6132
+ */
6133
+ _remove_tags?: string | null;
6009
6134
  /**
6010
6135
  * The URL to the service that will compute the discount.
6011
6136
  * @example ```"https://external_promotion.yourbrand.com"```
@@ -6043,12 +6168,15 @@ declare class ExternalPromotions extends ApiResource<ExternalPromotion> {
6043
6168
  skus(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
6044
6169
  _disable(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion>;
6045
6170
  _enable(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion>;
6171
+ _add_tags(id: string | ExternalPromotion, triggerValue: string, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion>;
6172
+ _remove_tags(id: string | ExternalPromotion, triggerValue: string, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion>;
6046
6173
  _reset_circuit(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion>;
6047
6174
  isExternalPromotion(resource: any): resource is ExternalPromotion;
6048
6175
  relationship(id: string | ResourceId | null): ExternalPromotionRel$5;
6049
6176
  relationshipToMany(...ids: string[]): ExternalPromotionRel$5[];
6050
6177
  type(): ExternalPromotionType;
6051
6178
  }
6179
+ declare const instance$1a: ExternalPromotions;
6052
6180
 
6053
6181
  type FixedAmountPromotionType = 'fixed_amount_promotions';
6054
6182
  type FixedAmountPromotionRel$5 = ResourceRel & {
@@ -6267,6 +6395,14 @@ interface FixedAmountPromotionUpdate extends ResourceUpdate {
6267
6395
  * @example ```true```
6268
6396
  */
6269
6397
  _enable?: boolean | null;
6398
+ /**
6399
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
6400
+ */
6401
+ _add_tags?: string | null;
6402
+ /**
6403
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
6404
+ */
6405
+ _remove_tags?: string | null;
6270
6406
  /**
6271
6407
  * The discount fixed amount to be applied, in cents.
6272
6408
  * @example ```1000```
@@ -6299,11 +6435,14 @@ declare class FixedAmountPromotions extends ApiResource<FixedAmountPromotion> {
6299
6435
  skus(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
6300
6436
  _disable(id: string | FixedAmountPromotion, params?: QueryParamsRetrieve<FixedAmountPromotion>, options?: ResourcesConfig): Promise<FixedAmountPromotion>;
6301
6437
  _enable(id: string | FixedAmountPromotion, params?: QueryParamsRetrieve<FixedAmountPromotion>, options?: ResourcesConfig): Promise<FixedAmountPromotion>;
6438
+ _add_tags(id: string | FixedAmountPromotion, triggerValue: string, params?: QueryParamsRetrieve<FixedAmountPromotion>, options?: ResourcesConfig): Promise<FixedAmountPromotion>;
6439
+ _remove_tags(id: string | FixedAmountPromotion, triggerValue: string, params?: QueryParamsRetrieve<FixedAmountPromotion>, options?: ResourcesConfig): Promise<FixedAmountPromotion>;
6302
6440
  isFixedAmountPromotion(resource: any): resource is FixedAmountPromotion;
6303
6441
  relationship(id: string | ResourceId | null): FixedAmountPromotionRel$5;
6304
6442
  relationshipToMany(...ids: string[]): FixedAmountPromotionRel$5[];
6305
6443
  type(): FixedAmountPromotionType;
6306
6444
  }
6445
+ declare const instance$19: FixedAmountPromotions;
6307
6446
 
6308
6447
  type FlexPromotionType = 'flex_promotions';
6309
6448
  type FlexPromotionRel$5 = ResourceRel & {
@@ -6485,6 +6624,14 @@ interface FlexPromotionUpdate extends ResourceUpdate {
6485
6624
  * @example ```true```
6486
6625
  */
6487
6626
  _enable?: boolean | null;
6627
+ /**
6628
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
6629
+ */
6630
+ _add_tags?: string | null;
6631
+ /**
6632
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
6633
+ */
6634
+ _remove_tags?: string | null;
6488
6635
  coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$6 | null;
6489
6636
  tags?: TagRel$c[] | null;
6490
6637
  }
@@ -6501,11 +6648,14 @@ declare class FlexPromotions extends ApiResource<FlexPromotion> {
6501
6648
  versions(flexPromotionId: string | FlexPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
6502
6649
  _disable(id: string | FlexPromotion, params?: QueryParamsRetrieve<FlexPromotion>, options?: ResourcesConfig): Promise<FlexPromotion>;
6503
6650
  _enable(id: string | FlexPromotion, params?: QueryParamsRetrieve<FlexPromotion>, options?: ResourcesConfig): Promise<FlexPromotion>;
6651
+ _add_tags(id: string | FlexPromotion, triggerValue: string, params?: QueryParamsRetrieve<FlexPromotion>, options?: ResourcesConfig): Promise<FlexPromotion>;
6652
+ _remove_tags(id: string | FlexPromotion, triggerValue: string, params?: QueryParamsRetrieve<FlexPromotion>, options?: ResourcesConfig): Promise<FlexPromotion>;
6504
6653
  isFlexPromotion(resource: any): resource is FlexPromotion;
6505
6654
  relationship(id: string | ResourceId | null): FlexPromotionRel$5;
6506
6655
  relationshipToMany(...ids: string[]): FlexPromotionRel$5[];
6507
6656
  type(): FlexPromotionType;
6508
6657
  }
6658
+ declare const instance$18: FlexPromotions;
6509
6659
 
6510
6660
  type PromotionRuleType = 'promotion_rules';
6511
6661
  type PromotionRuleRel = ResourceRel & {
@@ -6525,6 +6675,7 @@ declare class PromotionRules extends ApiResource<PromotionRule> {
6525
6675
  relationshipToMany(...ids: string[]): PromotionRuleRel[];
6526
6676
  type(): PromotionRuleType;
6527
6677
  }
6678
+ declare const instance$17: PromotionRules;
6528
6679
 
6529
6680
  type FixedPricePromotionType = 'fixed_price_promotions';
6530
6681
  type FixedPricePromotionRel$5 = ResourceRel & {
@@ -6743,6 +6894,14 @@ interface FixedPricePromotionUpdate extends ResourceUpdate {
6743
6894
  * @example ```true```
6744
6895
  */
6745
6896
  _enable?: boolean | null;
6897
+ /**
6898
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
6899
+ */
6900
+ _add_tags?: string | null;
6901
+ /**
6902
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
6903
+ */
6904
+ _remove_tags?: string | null;
6746
6905
  /**
6747
6906
  * The price fixed amount to be applied on matching SKUs, in cents.
6748
6907
  * @example ```1000```
@@ -6775,11 +6934,14 @@ declare class FixedPricePromotions extends ApiResource<FixedPricePromotion> {
6775
6934
  skus(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
6776
6935
  _disable(id: string | FixedPricePromotion, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion>;
6777
6936
  _enable(id: string | FixedPricePromotion, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion>;
6937
+ _add_tags(id: string | FixedPricePromotion, triggerValue: string, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion>;
6938
+ _remove_tags(id: string | FixedPricePromotion, triggerValue: string, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion>;
6778
6939
  isFixedPricePromotion(resource: any): resource is FixedPricePromotion;
6779
6940
  relationship(id: string | ResourceId | null): FixedPricePromotionRel$5;
6780
6941
  relationshipToMany(...ids: string[]): FixedPricePromotionRel$5[];
6781
6942
  type(): FixedPricePromotionType;
6782
6943
  }
6944
+ declare const instance$16: FixedPricePromotions;
6783
6945
 
6784
6946
  type CustomPromotionRuleType = 'custom_promotion_rules';
6785
6947
  type CustomPromotionRuleRel$4 = ResourceRel & {
@@ -6847,6 +7009,7 @@ declare class CustomPromotionRules extends ApiResource<CustomPromotionRule> {
6847
7009
  relationshipToMany(...ids: string[]): CustomPromotionRuleRel$4[];
6848
7010
  type(): CustomPromotionRuleType;
6849
7011
  }
7012
+ declare const instance$15: CustomPromotionRules;
6850
7013
 
6851
7014
  type FreeGiftPromotionType = 'free_gift_promotions';
6852
7015
  type FreeGiftPromotionRel$4 = ResourceRel & {
@@ -7055,6 +7218,14 @@ interface FreeGiftPromotionUpdate extends ResourceUpdate {
7055
7218
  * @example ```true```
7056
7219
  */
7057
7220
  _enable?: boolean | null;
7221
+ /**
7222
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
7223
+ */
7224
+ _add_tags?: string | null;
7225
+ /**
7226
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
7227
+ */
7228
+ _remove_tags?: string | null;
7058
7229
  /**
7059
7230
  * The max quantity of free gifts globally applicable by the promotion.
7060
7231
  * @example ```3```
@@ -7087,11 +7258,14 @@ declare class FreeGiftPromotions extends ApiResource<FreeGiftPromotion> {
7087
7258
  skus(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
7088
7259
  _disable(id: string | FreeGiftPromotion, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion>;
7089
7260
  _enable(id: string | FreeGiftPromotion, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion>;
7261
+ _add_tags(id: string | FreeGiftPromotion, triggerValue: string, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion>;
7262
+ _remove_tags(id: string | FreeGiftPromotion, triggerValue: string, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion>;
7090
7263
  isFreeGiftPromotion(resource: any): resource is FreeGiftPromotion;
7091
7264
  relationship(id: string | ResourceId | null): FreeGiftPromotionRel$4;
7092
7265
  relationshipToMany(...ids: string[]): FreeGiftPromotionRel$4[];
7093
7266
  type(): FreeGiftPromotionType;
7094
7267
  }
7268
+ declare const instance$14: FreeGiftPromotions;
7095
7269
 
7096
7270
  type CouponCodesPromotionRuleType = 'coupon_codes_promotion_rules';
7097
7271
  type CouponCodesPromotionRuleRel$3 = ResourceRel & {
@@ -7151,6 +7325,7 @@ declare class CouponCodesPromotionRules extends ApiResource<CouponCodesPromotion
7151
7325
  relationshipToMany(...ids: string[]): CouponCodesPromotionRuleRel$3[];
7152
7326
  type(): CouponCodesPromotionRuleType;
7153
7327
  }
7328
+ declare const instance$13: CouponCodesPromotionRules;
7154
7329
 
7155
7330
  type BuyXPayYPromotionType = 'buy_x_pay_y_promotions';
7156
7331
  type BuyXPayYPromotionRel$3 = ResourceRel & {
@@ -7379,6 +7554,14 @@ interface BuyXPayYPromotionUpdate extends ResourceUpdate {
7379
7554
  * @example ```true```
7380
7555
  */
7381
7556
  _enable?: boolean | null;
7557
+ /**
7558
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
7559
+ */
7560
+ _add_tags?: string | null;
7561
+ /**
7562
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
7563
+ */
7564
+ _remove_tags?: string | null;
7382
7565
  /**
7383
7566
  * The quantity which defines the threshold for free items (works by multiple of x).
7384
7567
  * @example ```3```
@@ -7421,11 +7604,14 @@ declare class BuyXPayYPromotions extends ApiResource<BuyXPayYPromotion> {
7421
7604
  skus(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
7422
7605
  _disable(id: string | BuyXPayYPromotion, params?: QueryParamsRetrieve<BuyXPayYPromotion>, options?: ResourcesConfig): Promise<BuyXPayYPromotion>;
7423
7606
  _enable(id: string | BuyXPayYPromotion, params?: QueryParamsRetrieve<BuyXPayYPromotion>, options?: ResourcesConfig): Promise<BuyXPayYPromotion>;
7607
+ _add_tags(id: string | BuyXPayYPromotion, triggerValue: string, params?: QueryParamsRetrieve<BuyXPayYPromotion>, options?: ResourcesConfig): Promise<BuyXPayYPromotion>;
7608
+ _remove_tags(id: string | BuyXPayYPromotion, triggerValue: string, params?: QueryParamsRetrieve<BuyXPayYPromotion>, options?: ResourcesConfig): Promise<BuyXPayYPromotion>;
7424
7609
  isBuyXPayYPromotion(resource: any): resource is BuyXPayYPromotion;
7425
7610
  relationship(id: string | ResourceId | null): BuyXPayYPromotionRel$3;
7426
7611
  relationshipToMany(...ids: string[]): BuyXPayYPromotionRel$3[];
7427
7612
  type(): BuyXPayYPromotionType;
7428
7613
  }
7614
+ declare const instance$12: BuyXPayYPromotions;
7429
7615
 
7430
7616
  type SkuListPromotionRuleType = 'sku_list_promotion_rules';
7431
7617
  type SkuListPromotionRuleRel$2 = ResourceRel & {
@@ -7517,6 +7703,7 @@ declare class SkuListPromotionRules extends ApiResource<SkuListPromotionRule> {
7517
7703
  relationshipToMany(...ids: string[]): SkuListPromotionRuleRel$2[];
7518
7704
  type(): SkuListPromotionRuleType;
7519
7705
  }
7706
+ declare const instance$11: SkuListPromotionRules;
7520
7707
 
7521
7708
  type FreeShippingPromotionType = 'free_shipping_promotions';
7522
7709
  type FreeShippingPromotionRel$2 = ResourceRel & {
@@ -7714,6 +7901,14 @@ interface FreeShippingPromotionUpdate extends ResourceUpdate {
7714
7901
  * @example ```true```
7715
7902
  */
7716
7903
  _enable?: boolean | null;
7904
+ /**
7905
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
7906
+ */
7907
+ _add_tags?: string | null;
7908
+ /**
7909
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
7910
+ */
7911
+ _remove_tags?: string | null;
7717
7912
  market?: MarketRel$8 | null;
7718
7913
  order_amount_promotion_rule?: OrderAmountPromotionRuleRel$2 | null;
7719
7914
  sku_list_promotion_rule?: SkuListPromotionRuleRel$1 | null;
@@ -7740,11 +7935,14 @@ declare class FreeShippingPromotions extends ApiResource<FreeShippingPromotion>
7740
7935
  versions(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
7741
7936
  _disable(id: string | FreeShippingPromotion, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion>;
7742
7937
  _enable(id: string | FreeShippingPromotion, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion>;
7938
+ _add_tags(id: string | FreeShippingPromotion, triggerValue: string, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion>;
7939
+ _remove_tags(id: string | FreeShippingPromotion, triggerValue: string, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion>;
7743
7940
  isFreeShippingPromotion(resource: any): resource is FreeShippingPromotion;
7744
7941
  relationship(id: string | ResourceId | null): FreeShippingPromotionRel$2;
7745
7942
  relationshipToMany(...ids: string[]): FreeShippingPromotionRel$2[];
7746
7943
  type(): FreeShippingPromotionType;
7747
7944
  }
7945
+ declare const instance$10: FreeShippingPromotions;
7748
7946
 
7749
7947
  type OrderAmountPromotionRuleType = 'order_amount_promotion_rules';
7750
7948
  type OrderAmountPromotionRuleRel$1 = ResourceRel & {
@@ -7837,6 +8035,7 @@ declare class OrderAmountPromotionRules extends ApiResource<OrderAmountPromotion
7837
8035
  relationshipToMany(...ids: string[]): OrderAmountPromotionRuleRel$1[];
7838
8036
  type(): OrderAmountPromotionRuleType;
7839
8037
  }
8038
+ declare const instance$$: OrderAmountPromotionRules;
7840
8039
 
7841
8040
  type PercentageDiscountPromotionType = 'percentage_discount_promotions';
7842
8041
  type PercentageDiscountPromotionRel$1 = ResourceRel & {
@@ -8045,6 +8244,14 @@ interface PercentageDiscountPromotionUpdate extends ResourceUpdate {
8045
8244
  * @example ```true```
8046
8245
  */
8047
8246
  _enable?: boolean | null;
8247
+ /**
8248
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
8249
+ */
8250
+ _add_tags?: string | null;
8251
+ /**
8252
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
8253
+ */
8254
+ _remove_tags?: string | null;
8048
8255
  /**
8049
8256
  * The discount percentage to be applied.
8050
8257
  * @example ```10```
@@ -8077,11 +8284,14 @@ declare class PercentageDiscountPromotions extends ApiResource<PercentageDiscoun
8077
8284
  skus(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
8078
8285
  _disable(id: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion>;
8079
8286
  _enable(id: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion>;
8287
+ _add_tags(id: string | PercentageDiscountPromotion, triggerValue: string, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion>;
8288
+ _remove_tags(id: string | PercentageDiscountPromotion, triggerValue: string, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion>;
8080
8289
  isPercentageDiscountPromotion(resource: any): resource is PercentageDiscountPromotion;
8081
8290
  relationship(id: string | ResourceId | null): PercentageDiscountPromotionRel$1;
8082
8291
  relationshipToMany(...ids: string[]): PercentageDiscountPromotionRel$1[];
8083
8292
  type(): PercentageDiscountPromotionType;
8084
8293
  }
8294
+ declare const instance$_: PercentageDiscountPromotions;
8085
8295
 
8086
8296
  type LineItemType = 'line_items';
8087
8297
  type LineItemRel$1 = ResourceRel & {
@@ -8102,7 +8312,7 @@ type GiftCardRel$1 = ResourceRel & {
8102
8312
  type ShipmentRel$5 = ResourceRel & {
8103
8313
  type: ShipmentType;
8104
8314
  };
8105
- type PaymentMethodRel$2 = ResourceRel & {
8315
+ type PaymentMethodRel$3 = ResourceRel & {
8106
8316
  type: PaymentMethodType;
8107
8317
  };
8108
8318
  type AdjustmentRel$1 = ResourceRel & {
@@ -8385,7 +8595,7 @@ interface LineItemCreate extends ResourceCreate {
8385
8595
  */
8386
8596
  frequency?: string | null;
8387
8597
  order: OrderRel$7;
8388
- item?: SkuRel$8 | BundleRel$2 | GiftCardRel$1 | ShipmentRel$5 | PaymentMethodRel$2 | AdjustmentRel$1 | DiscountEngineItemRel | PercentageDiscountPromotionRel | FreeShippingPromotionRel | BuyXPayYPromotionRel | FreeGiftPromotionRel | FixedPricePromotionRel | ExternalPromotionRel | FixedAmountPromotionRel | FlexPromotionRel | null;
8598
+ item?: SkuRel$8 | BundleRel$2 | GiftCardRel$1 | ShipmentRel$5 | PaymentMethodRel$3 | AdjustmentRel$1 | DiscountEngineItemRel | PercentageDiscountPromotionRel | FreeShippingPromotionRel | BuyXPayYPromotionRel | FreeGiftPromotionRel | FixedPricePromotionRel | ExternalPromotionRel | FixedAmountPromotionRel | FlexPromotionRel | null;
8389
8599
  tags?: TagRel$6[] | null;
8390
8600
  }
8391
8601
  interface LineItemUpdate extends ResourceUpdate {
@@ -8449,6 +8659,14 @@ interface LineItemUpdate extends ResourceUpdate {
8449
8659
  * @example ```true```
8450
8660
  */
8451
8661
  _reset_circuit?: boolean | null;
8662
+ /**
8663
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
8664
+ */
8665
+ _add_tags?: string | null;
8666
+ /**
8667
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
8668
+ */
8669
+ _remove_tags?: string | null;
8452
8670
  tags?: TagRel$6[] | null;
8453
8671
  }
8454
8672
  declare class LineItems extends ApiResource<LineItem> {
@@ -8468,11 +8686,14 @@ declare class LineItems extends ApiResource<LineItem> {
8468
8686
  _external_price(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
8469
8687
  _reserve_stock(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
8470
8688
  _reset_circuit(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
8689
+ _add_tags(id: string | LineItem, triggerValue: string, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
8690
+ _remove_tags(id: string | LineItem, triggerValue: string, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
8471
8691
  isLineItem(resource: any): resource is LineItem;
8472
8692
  relationship(id: string | ResourceId | null): LineItemRel$1;
8473
8693
  relationshipToMany(...ids: string[]): LineItemRel$1[];
8474
8694
  type(): LineItemType;
8475
8695
  }
8696
+ declare const instance$Z: LineItems;
8476
8697
 
8477
8698
  type OrderSubscriptionItemType = 'order_subscription_items';
8478
8699
  type OrderSubscriptionItemRel = ResourceRel & {
@@ -8606,6 +8827,7 @@ declare class OrderSubscriptionItems extends ApiResource<OrderSubscriptionItem>
8606
8827
  relationshipToMany(...ids: string[]): OrderSubscriptionItemRel[];
8607
8828
  type(): OrderSubscriptionItemType;
8608
8829
  }
8830
+ declare const instance$Y: OrderSubscriptionItems;
8609
8831
 
8610
8832
  type OrderFactoryType = 'order_factories';
8611
8833
  type OrderFactoryRel = ResourceRel & {
@@ -8668,6 +8890,7 @@ declare class OrderFactories extends ApiResource<OrderFactory> {
8668
8890
  relationshipToMany(...ids: string[]): OrderFactoryRel[];
8669
8891
  type(): OrderFactoryType;
8670
8892
  }
8893
+ declare const instance$X: OrderFactories;
8671
8894
 
8672
8895
  type RecurringOrderCopyType = 'recurring_order_copies';
8673
8896
  type RecurringOrderCopyRel = ResourceRel & {
@@ -8756,6 +8979,7 @@ declare class RecurringOrderCopies extends ApiResource<RecurringOrderCopy> {
8756
8979
  relationshipToMany(...ids: string[]): RecurringOrderCopyRel[];
8757
8980
  type(): RecurringOrderCopyType;
8758
8981
  }
8982
+ declare const instance$W: RecurringOrderCopies;
8759
8983
 
8760
8984
  type OrderSubscriptionType = 'order_subscriptions';
8761
8985
  type OrderSubscriptionRel = ResourceRel & {
@@ -8782,10 +9006,10 @@ interface OrderSubscription extends Resource {
8782
9006
  */
8783
9007
  number?: string | null;
8784
9008
  /**
8785
- * The subscription status. One of 'draft' (default), 'inactive', 'active', or 'cancelled'.
9009
+ * The subscription status. One of 'draft' (default), 'inactive', 'active', 'running', or 'cancelled'.
8786
9010
  * @example ```"draft"```
8787
9011
  */
8788
- status: 'draft' | 'inactive' | 'active' | 'cancelled';
9012
+ status: 'draft' | 'inactive' | 'active' | 'running' | 'cancelled';
8789
9013
  /**
8790
9014
  * The frequency of the subscription. Use one of the supported within 'hourly', 'daily', 'weekly', 'monthly', 'two-month', 'three-month', 'four-month', 'six-month', 'yearly', or provide your custom crontab expression (min unit is hour). Must be supported by existing associated subscription_model.
8791
9015
  * @example ```"monthly"```
@@ -8945,6 +9169,14 @@ interface OrderSubscriptionUpdate extends ResourceUpdate {
8945
9169
  * @example ```true```
8946
9170
  */
8947
9171
  _convert?: boolean | null;
9172
+ /**
9173
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
9174
+ */
9175
+ _add_tags?: string | null;
9176
+ /**
9177
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
9178
+ */
9179
+ _remove_tags?: string | null;
8948
9180
  customer_payment_source?: CustomerPaymentSourceRel | null;
8949
9181
  tags?: TagRel$5[] | null;
8950
9182
  }
@@ -8969,11 +9201,14 @@ declare class OrderSubscriptions extends ApiResource<OrderSubscription> {
8969
9201
  _deactivate(id: string | OrderSubscription, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
8970
9202
  _cancel(id: string | OrderSubscription, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
8971
9203
  _convert(id: string | OrderSubscription, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
9204
+ _add_tags(id: string | OrderSubscription, triggerValue: string, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
9205
+ _remove_tags(id: string | OrderSubscription, triggerValue: string, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
8972
9206
  isOrderSubscription(resource: any): resource is OrderSubscription;
8973
9207
  relationship(id: string | ResourceId | null): OrderSubscriptionRel;
8974
9208
  relationshipToMany(...ids: string[]): OrderSubscriptionRel[];
8975
9209
  type(): OrderSubscriptionType;
8976
9210
  }
9211
+ declare const instance$V: OrderSubscriptions;
8977
9212
 
8978
9213
  type CustomerType = 'customers';
8979
9214
  type CustomerRel$3 = ResourceRel & {
@@ -9089,6 +9324,14 @@ interface CustomerUpdate extends ResourceUpdate {
9089
9324
  * @example ```"xxx-yyy-zzz"```
9090
9325
  */
9091
9326
  tax_exemption_code?: string | null;
9327
+ /**
9328
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
9329
+ */
9330
+ _add_tags?: string | null;
9331
+ /**
9332
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
9333
+ */
9334
+ _remove_tags?: string | null;
9092
9335
  customer_group?: CustomerGroupRel$2 | null;
9093
9336
  tags?: TagRel$4[] | null;
9094
9337
  }
@@ -9108,11 +9351,14 @@ declare class Customers extends ApiResource<Customer> {
9108
9351
  attachments(customerId: string | Customer, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
9109
9352
  events(customerId: string | Customer, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
9110
9353
  tags(customerId: string | Customer, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
9354
+ _add_tags(id: string | Customer, triggerValue: string, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
9355
+ _remove_tags(id: string | Customer, triggerValue: string, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
9111
9356
  isCustomer(resource: any): resource is Customer;
9112
9357
  relationship(id: string | ResourceId | null): CustomerRel$3;
9113
9358
  relationshipToMany(...ids: string[]): CustomerRel$3[];
9114
9359
  type(): CustomerType;
9115
9360
  }
9361
+ declare const instance$U: Customers;
9116
9362
 
9117
9363
  type PaymentOptionType = 'payment_options';
9118
9364
  type PaymentOptionRel$1 = ResourceRel & {
@@ -9185,6 +9431,7 @@ declare class PaymentOptions extends ApiResource<PaymentOption> {
9185
9431
  relationshipToMany(...ids: string[]): PaymentOptionRel$1[];
9186
9432
  type(): PaymentOptionType;
9187
9433
  }
9434
+ declare const instance$T: PaymentOptions;
9188
9435
 
9189
9436
  type OrderCopyType = 'order_copies';
9190
9437
  type OrderCopyRel = ResourceRel & {
@@ -9309,6 +9556,7 @@ declare class OrderCopies extends ApiResource<OrderCopy> {
9309
9556
  relationshipToMany(...ids: string[]): OrderCopyRel[];
9310
9557
  type(): OrderCopyType;
9311
9558
  }
9559
+ declare const instance$S: OrderCopies;
9312
9560
 
9313
9561
  type OrderType = 'orders';
9314
9562
  type OrderRel$2 = ResourceRel & {
@@ -9326,7 +9574,7 @@ type AddressRel$4 = ResourceRel & {
9326
9574
  type StoreRel = ResourceRel & {
9327
9575
  type: StoreType;
9328
9576
  };
9329
- type PaymentMethodRel$1 = ResourceRel & {
9577
+ type PaymentMethodRel$2 = ResourceRel & {
9330
9578
  type: PaymentMethodType;
9331
9579
  };
9332
9580
  type AdyenPaymentRel$1 = ResourceRel & {
@@ -9901,6 +10149,8 @@ interface Order extends Resource {
9901
10149
  shipping_address?: Address | null;
9902
10150
  billing_address?: Address | null;
9903
10151
  store?: Store | null;
10152
+ default_shipping_method?: ShippingMethod | null;
10153
+ default_payment_method?: PaymentMethod | null;
9904
10154
  available_payment_methods?: PaymentMethod[] | null;
9905
10155
  available_customer_payment_sources?: CustomerPaymentSource[] | null;
9906
10156
  available_free_skus?: Sku[] | null;
@@ -10033,7 +10283,7 @@ interface OrderCreate extends ResourceCreate {
10033
10283
  shipping_address?: AddressRel$4 | null;
10034
10284
  billing_address?: AddressRel$4 | null;
10035
10285
  store?: StoreRel | null;
10036
- payment_method?: PaymentMethodRel$1 | null;
10286
+ payment_method?: PaymentMethodRel$2 | null;
10037
10287
  payment_source?: AdyenPaymentRel$1 | AxervePaymentRel$1 | BraintreePaymentRel$1 | CheckoutComPaymentRel$1 | ExternalPaymentRel | KlarnaPaymentRel$1 | PaypalPaymentRel | SatispayPaymentRel$1 | StripePaymentRel | WireTransferRel | null;
10038
10288
  tags?: TagRel$3[] | null;
10039
10289
  }
@@ -10286,12 +10536,20 @@ interface OrderUpdate extends ResourceUpdate {
10286
10536
  * @example ```true```
10287
10537
  */
10288
10538
  _reset_circuit?: boolean | null;
10539
+ /**
10540
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
10541
+ */
10542
+ _add_tags?: string | null;
10543
+ /**
10544
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
10545
+ */
10546
+ _remove_tags?: string | null;
10289
10547
  market?: MarketRel$5 | null;
10290
10548
  customer?: CustomerRel$2 | null;
10291
10549
  shipping_address?: AddressRel$4 | null;
10292
10550
  billing_address?: AddressRel$4 | null;
10293
10551
  store?: StoreRel | null;
10294
- payment_method?: PaymentMethodRel$1 | null;
10552
+ payment_method?: PaymentMethodRel$2 | null;
10295
10553
  payment_source?: AdyenPaymentRel$1 | AxervePaymentRel$1 | BraintreePaymentRel$1 | CheckoutComPaymentRel$1 | ExternalPaymentRel | KlarnaPaymentRel$1 | PaypalPaymentRel | SatispayPaymentRel$1 | StripePaymentRel | WireTransferRel | null;
10296
10554
  tags?: TagRel$3[] | null;
10297
10555
  }
@@ -10305,6 +10563,8 @@ declare class Orders extends ApiResource<Order> {
10305
10563
  shipping_address(orderId: string | Order, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
10306
10564
  billing_address(orderId: string | Order, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
10307
10565
  store(orderId: string | Order, params?: QueryParamsRetrieve<Store>, options?: ResourcesConfig): Promise<Store>;
10566
+ default_shipping_method(orderId: string | Order, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
10567
+ default_payment_method(orderId: string | Order, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod>;
10308
10568
  available_payment_methods(orderId: string | Order, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
10309
10569
  available_customer_payment_sources(orderId: string | Order, params?: QueryParamsList<CustomerPaymentSource>, options?: ResourcesConfig): Promise<ListResponse<CustomerPaymentSource>>;
10310
10570
  available_free_skus(orderId: string | Order, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
@@ -10365,11 +10625,14 @@ declare class Orders extends ApiResource<Order> {
10365
10625
  _start_editing(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
10366
10626
  _stop_editing(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
10367
10627
  _reset_circuit(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
10628
+ _add_tags(id: string | Order, triggerValue: string, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
10629
+ _remove_tags(id: string | Order, triggerValue: string, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
10368
10630
  isOrder(resource: any): resource is Order;
10369
10631
  relationship(id: string | ResourceId | null): OrderRel$2;
10370
10632
  relationshipToMany(...ids: string[]): OrderRel$2[];
10371
10633
  type(): OrderType;
10372
10634
  }
10635
+ declare const instance$R: Orders;
10373
10636
 
10374
10637
  type PackageType = 'packages';
10375
10638
  type PackageRel$2 = ResourceRel & {
@@ -10496,6 +10759,7 @@ declare class Packages extends ApiResource<Package> {
10496
10759
  relationshipToMany(...ids: string[]): PackageRel$2[];
10497
10760
  type(): PackageType;
10498
10761
  }
10762
+ declare const instance$Q: Packages;
10499
10763
 
10500
10764
  type ParcelLineItemType = 'parcel_line_items';
10501
10765
  type ParcelLineItemRel = ResourceRel & {
@@ -10562,6 +10826,7 @@ declare class ParcelLineItems extends ApiResource<ParcelLineItem> {
10562
10826
  relationshipToMany(...ids: string[]): ParcelLineItemRel[];
10563
10827
  type(): ParcelLineItemType;
10564
10828
  }
10829
+ declare const instance$P: ParcelLineItems;
10565
10830
 
10566
10831
  type ParcelType = 'parcels';
10567
10832
  type ParcelRel$1 = ResourceRel & {
@@ -10676,7 +10941,7 @@ interface Parcel extends Resource {
10676
10941
  * The parcel's full tracking history, automatically updated in real time by the shipping carrier.
10677
10942
  * @example ```[{"object":"TrackingDetail","message":"Pre-Shipment information received","status":"pre_transit","datetime":"2018-02-27T16:02:17Z","source":"DHLExpress","tracking_location":{"object":"TrackingLocation"}}]```
10678
10943
  */
10679
- tracking_details?: Record<string, any> | null;
10944
+ tracking_details?: Array<Record<string, any>> | null;
10680
10945
  /**
10681
10946
  * The weight of the parcel as measured by the carrier in ounces (if available).
10682
10947
  * @example ```"42.32"```
@@ -10800,7 +11065,7 @@ interface ParcelCreate extends ResourceCreate {
10800
11065
  * The parcel's full tracking history, automatically updated in real time by the shipping carrier.
10801
11066
  * @example ```[{"object":"TrackingDetail","message":"Pre-Shipment information received","status":"pre_transit","datetime":"2018-02-27T16:02:17Z","source":"DHLExpress","tracking_location":{"object":"TrackingLocation"}}]```
10802
11067
  */
10803
- tracking_details?: Record<string, any> | null;
11068
+ tracking_details?: Array<Record<string, any>> | null;
10804
11069
  /**
10805
11070
  * The weight of the parcel as measured by the carrier in ounces (if available).
10806
11071
  * @example ```"42.32"```
@@ -10920,7 +11185,7 @@ interface ParcelUpdate extends ResourceUpdate {
10920
11185
  * The parcel's full tracking history, automatically updated in real time by the shipping carrier.
10921
11186
  * @example ```[{"object":"TrackingDetail","message":"Pre-Shipment information received","status":"pre_transit","datetime":"2018-02-27T16:02:17Z","source":"DHLExpress","tracking_location":{"object":"TrackingLocation"}}]```
10922
11187
  */
10923
- tracking_details?: Record<string, any> | null;
11188
+ tracking_details?: Array<Record<string, any>> | null;
10924
11189
  /**
10925
11190
  * The weight of the parcel as measured by the carrier in ounces (if available).
10926
11191
  * @example ```"42.32"```
@@ -10960,6 +11225,7 @@ declare class Parcels extends ApiResource<Parcel> {
10960
11225
  relationshipToMany(...ids: string[]): ParcelRel$1[];
10961
11226
  type(): ParcelType;
10962
11227
  }
11228
+ declare const instance$O: Parcels;
10963
11229
 
10964
11230
  type PickupType = 'pickups';
10965
11231
  type PickupRel = ResourceRel & {
@@ -10992,6 +11258,7 @@ declare class Pickups extends ApiResource<Pickup> {
10992
11258
  relationshipToMany(...ids: string[]): PickupRel[];
10993
11259
  type(): PickupType;
10994
11260
  }
11261
+ declare const instance$N: Pickups;
10995
11262
 
10996
11263
  type CarrierAccountType = 'carrier_accounts';
10997
11264
  type CarrierAccountRel$1 = ResourceRel & {
@@ -11076,6 +11343,7 @@ declare class CarrierAccounts extends ApiResource<CarrierAccount> {
11076
11343
  relationshipToMany(...ids: string[]): CarrierAccountRel$1[];
11077
11344
  type(): CarrierAccountType;
11078
11345
  }
11346
+ declare const instance$M: CarrierAccounts;
11079
11347
 
11080
11348
  type ShipmentType = 'shipments';
11081
11349
  type ShipmentRel$3 = ResourceRel & {
@@ -11093,7 +11361,7 @@ type InventoryStockLocationRel = ResourceRel & {
11093
11361
  type AddressRel$3 = ResourceRel & {
11094
11362
  type: AddressType;
11095
11363
  };
11096
- type ShippingMethodRel$1 = ResourceRel & {
11364
+ type ShippingMethodRel$2 = ResourceRel & {
11097
11365
  type: ShippingMethodType;
11098
11366
  };
11099
11367
  type TagRel$2 = ResourceRel & {
@@ -11237,7 +11505,7 @@ interface ShipmentCreate extends ResourceCreate {
11237
11505
  shipping_category?: ShippingCategoryRel$2 | null;
11238
11506
  inventory_stock_location: InventoryStockLocationRel;
11239
11507
  shipping_address?: AddressRel$3 | null;
11240
- shipping_method?: ShippingMethodRel$1 | null;
11508
+ shipping_method?: ShippingMethodRel$2 | null;
11241
11509
  tags?: TagRel$2[] | null;
11242
11510
  }
11243
11511
  interface ShipmentUpdate extends ResourceUpdate {
@@ -11316,10 +11584,18 @@ interface ShipmentUpdate extends ResourceUpdate {
11316
11584
  * @example ```true```
11317
11585
  */
11318
11586
  _purchase?: boolean | null;
11587
+ /**
11588
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
11589
+ */
11590
+ _add_tags?: string | null;
11591
+ /**
11592
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
11593
+ */
11594
+ _remove_tags?: string | null;
11319
11595
  shipping_category?: ShippingCategoryRel$2 | null;
11320
11596
  inventory_stock_location?: InventoryStockLocationRel | null;
11321
11597
  shipping_address?: AddressRel$3 | null;
11322
- shipping_method?: ShippingMethodRel$1 | null;
11598
+ shipping_method?: ShippingMethodRel$2 | null;
11323
11599
  tags?: TagRel$2[] | null;
11324
11600
  }
11325
11601
  declare class Shipments extends ApiResource<Shipment> {
@@ -11359,11 +11635,14 @@ declare class Shipments extends ApiResource<Shipment> {
11359
11635
  _decrement_stock(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
11360
11636
  _get_rates(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
11361
11637
  _purchase(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
11638
+ _add_tags(id: string | Shipment, triggerValue: string, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
11639
+ _remove_tags(id: string | Shipment, triggerValue: string, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
11362
11640
  isShipment(resource: any): resource is Shipment;
11363
11641
  relationship(id: string | ResourceId | null): ShipmentRel$3;
11364
11642
  relationshipToMany(...ids: string[]): ShipmentRel$3[];
11365
11643
  type(): ShipmentType;
11366
11644
  }
11645
+ declare const instance$L: Shipments;
11367
11646
 
11368
11647
  type StockTransferType = 'stock_transfers';
11369
11648
  type StockTransferRel$1 = ResourceRel & {
@@ -11538,6 +11817,7 @@ declare class StockTransfers extends ApiResource<StockTransfer> {
11538
11817
  relationshipToMany(...ids: string[]): StockTransferRel$1[];
11539
11818
  type(): StockTransferType;
11540
11819
  }
11820
+ declare const instance$K: StockTransfers;
11541
11821
 
11542
11822
  type StockLocationType = 'stock_locations';
11543
11823
  type StockLocationRel$2 = ResourceRel & {
@@ -11644,6 +11924,7 @@ declare class StockLocations extends ApiResource<StockLocation> {
11644
11924
  relationshipToMany(...ids: string[]): StockLocationRel$2[];
11645
11925
  type(): StockLocationType;
11646
11926
  }
11927
+ declare const instance$J: StockLocations;
11647
11928
 
11648
11929
  type StockItemType = 'stock_items';
11649
11930
  type StockItemRel$1 = ResourceRel & {
@@ -11725,6 +12006,7 @@ declare class StockItems extends ApiResource<StockItem> {
11725
12006
  relationshipToMany(...ids: string[]): StockItemRel$1[];
11726
12007
  type(): StockItemType;
11727
12008
  }
12009
+ declare const instance$I: StockItems;
11728
12010
 
11729
12011
  type SkuType = 'skus';
11730
12012
  type SkuRel$4 = ResourceRel & {
@@ -11915,6 +12197,14 @@ interface SkuUpdate extends ResourceUpdate {
11915
12197
  * Indicates if the SKU doesn't track the stock inventory.
11916
12198
  */
11917
12199
  do_not_track?: boolean | null;
12200
+ /**
12201
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
12202
+ */
12203
+ _add_tags?: string | null;
12204
+ /**
12205
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
12206
+ */
12207
+ _remove_tags?: string | null;
11918
12208
  shipping_category?: ShippingCategoryRel$1 | null;
11919
12209
  tags?: TagRel$1[] | null;
11920
12210
  }
@@ -11939,11 +12229,14 @@ declare class Skus extends ApiResource<Sku> {
11939
12229
  jwt_customer(skuId: string | Sku, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
11940
12230
  jwt_markets(skuId: string | Sku, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
11941
12231
  jwt_stock_locations(skuId: string | Sku, params?: QueryParamsList<StockLocation>, options?: ResourcesConfig): Promise<ListResponse<StockLocation>>;
12232
+ _add_tags(id: string | Sku, triggerValue: string, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
12233
+ _remove_tags(id: string | Sku, triggerValue: string, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
11942
12234
  isSku(resource: any): resource is Sku;
11943
12235
  relationship(id: string | ResourceId | null): SkuRel$4;
11944
12236
  relationshipToMany(...ids: string[]): SkuRel$4[];
11945
12237
  type(): SkuType;
11946
12238
  }
12239
+ declare const instance$H: Skus;
11947
12240
 
11948
12241
  type PriceTierType = 'price_tiers';
11949
12242
  type PriceTierRel$2 = ResourceRel & {
@@ -11991,6 +12284,7 @@ declare class PriceTiers extends ApiResource<PriceTier> {
11991
12284
  relationshipToMany(...ids: string[]): PriceTierRel$2[];
11992
12285
  type(): PriceTierType;
11993
12286
  }
12287
+ declare const instance$G: PriceTiers;
11994
12288
 
11995
12289
  type PriceVolumeTierType = 'price_volume_tiers';
11996
12290
  type PriceVolumeTierRel = ResourceRel & {
@@ -12082,6 +12376,7 @@ declare class PriceVolumeTiers extends ApiResource<PriceVolumeTier> {
12082
12376
  relationshipToMany(...ids: string[]): PriceVolumeTierRel[];
12083
12377
  type(): PriceVolumeTierType;
12084
12378
  }
12379
+ declare const instance$F: PriceVolumeTiers;
12085
12380
 
12086
12381
  type PriceFrequencyTierType = 'price_frequency_tiers';
12087
12382
  type PriceFrequencyTierRel = ResourceRel & {
@@ -12173,6 +12468,7 @@ declare class PriceFrequencyTiers extends ApiResource<PriceFrequencyTier> {
12173
12468
  relationshipToMany(...ids: string[]): PriceFrequencyTierRel[];
12174
12469
  type(): PriceFrequencyTierType;
12175
12470
  }
12471
+ declare const instance$E: PriceFrequencyTiers;
12176
12472
 
12177
12473
  type PriceType = 'prices';
12178
12474
  type PriceRel$1 = ResourceRel & {
@@ -12351,6 +12647,7 @@ declare class Prices extends ApiResource<Price> {
12351
12647
  relationshipToMany(...ids: string[]): PriceRel$1[];
12352
12648
  type(): PriceType;
12353
12649
  }
12650
+ declare const instance$D: Prices;
12354
12651
 
12355
12652
  type PriceListSchedulerType = 'price_list_schedulers';
12356
12653
  type PriceListSchedulerRel = ResourceRel & {
@@ -12474,6 +12771,7 @@ declare class PriceListSchedulers extends ApiResource<PriceListScheduler> {
12474
12771
  relationshipToMany(...ids: string[]): PriceListSchedulerRel[];
12475
12772
  type(): PriceListSchedulerType;
12476
12773
  }
12774
+ declare const instance$C: PriceListSchedulers;
12477
12775
 
12478
12776
  type PriceListType = 'price_lists';
12479
12777
  type PriceListRel$2 = ResourceRel & {
@@ -12590,6 +12888,7 @@ declare class PriceLists extends ApiResource<PriceList> {
12590
12888
  relationshipToMany(...ids: string[]): PriceListRel$2[];
12591
12889
  type(): PriceListType;
12592
12890
  }
12891
+ declare const instance$B: PriceLists;
12593
12892
 
12594
12893
  type TransactionType = 'transactions';
12595
12894
  type TransactionRel$1 = ResourceRel & {
@@ -12669,6 +12968,7 @@ declare class Transactions extends ApiResource<Transaction> {
12669
12968
  relationshipToMany(...ids: string[]): TransactionRel$1[];
12670
12969
  type(): TransactionType;
12671
12970
  }
12971
+ declare const instance$A: Transactions;
12672
12972
 
12673
12973
  type PromotionType = 'promotions';
12674
12974
  type PromotionRel$1 = ResourceRel & {
@@ -12763,6 +13063,7 @@ declare class Promotions extends ApiResource<Promotion> {
12763
13063
  relationshipToMany(...ids: string[]): PromotionRel$1[];
12764
13064
  type(): PromotionType;
12765
13065
  }
13066
+ declare const instance$z: Promotions;
12766
13067
 
12767
13068
  type TaxCalculatorType = 'tax_calculators';
12768
13069
  type TaxCalculatorRel$1 = ResourceRel & {
@@ -12792,6 +13093,7 @@ declare class TaxCalculators extends ApiResource<TaxCalculator> {
12792
13093
  relationshipToMany(...ids: string[]): TaxCalculatorRel$1[];
12793
13094
  type(): TaxCalculatorType;
12794
13095
  }
13096
+ declare const instance$y: TaxCalculators;
12795
13097
 
12796
13098
  type AvalaraAccountType = 'avalara_accounts';
12797
13099
  type AvalaraAccountRel$2 = ResourceRel & {
@@ -12915,6 +13217,7 @@ declare class AvalaraAccounts extends ApiResource<AvalaraAccount> {
12915
13217
  relationshipToMany(...ids: string[]): AvalaraAccountRel$2[];
12916
13218
  type(): AvalaraAccountType;
12917
13219
  }
13220
+ declare const instance$x: AvalaraAccounts;
12918
13221
 
12919
13222
  type StripeTaxAccountType = 'stripe_tax_accounts';
12920
13223
  type StripeTaxAccountRel$2 = ResourceRel & {
@@ -12993,6 +13296,7 @@ declare class StripeTaxAccounts extends ApiResource<StripeTaxAccount> {
12993
13296
  relationshipToMany(...ids: string[]): StripeTaxAccountRel$2[];
12994
13297
  type(): StripeTaxAccountType;
12995
13298
  }
13299
+ declare const instance$w: StripeTaxAccounts;
12996
13300
 
12997
13301
  type VertexAccountType = 'vertex_accounts';
12998
13302
  type VertexAccountRel$2 = ResourceRel & {
@@ -13120,6 +13424,7 @@ declare class VertexAccounts extends ApiResource<VertexAccount> {
13120
13424
  relationshipToMany(...ids: string[]): VertexAccountRel$2[];
13121
13425
  type(): VertexAccountType;
13122
13426
  }
13427
+ declare const instance$v: VertexAccounts;
13123
13428
 
13124
13429
  type TaxjarAccountType = 'taxjar_accounts';
13125
13430
  type TaxjarAccountRel$2 = ResourceRel & {
@@ -13183,6 +13488,7 @@ declare class TaxjarAccounts extends ApiResource<TaxjarAccount> {
13183
13488
  relationshipToMany(...ids: string[]): TaxjarAccountRel$2[];
13184
13489
  type(): TaxjarAccountType;
13185
13490
  }
13491
+ declare const instance$u: TaxjarAccounts;
13186
13492
 
13187
13493
  type TaxRuleType = 'tax_rules';
13188
13494
  type TaxRuleRel$1 = ResourceRel & {
@@ -13388,6 +13694,7 @@ declare class TaxRules extends ApiResource<TaxRule> {
13388
13694
  relationshipToMany(...ids: string[]): TaxRuleRel$1[];
13389
13695
  type(): TaxRuleType;
13390
13696
  }
13697
+ declare const instance$t: TaxRules;
13391
13698
 
13392
13699
  type ManualTaxCalculatorType = 'manual_tax_calculators';
13393
13700
  type ManualTaxCalculatorRel$2 = ResourceRel & {
@@ -13441,6 +13748,7 @@ declare class ManualTaxCalculators extends ApiResource<ManualTaxCalculator> {
13441
13748
  relationshipToMany(...ids: string[]): ManualTaxCalculatorRel$2[];
13442
13749
  type(): ManualTaxCalculatorType;
13443
13750
  }
13751
+ declare const instance$s: ManualTaxCalculators;
13444
13752
 
13445
13753
  type ExternalTaxCalculatorType = 'external_tax_calculators';
13446
13754
  type ExternalTaxCalculatorRel$2 = ResourceRel & {
@@ -13523,6 +13831,7 @@ declare class ExternalTaxCalculators extends ApiResource<ExternalTaxCalculator>
13523
13831
  relationshipToMany(...ids: string[]): ExternalTaxCalculatorRel$2[];
13524
13832
  type(): ExternalTaxCalculatorType;
13525
13833
  }
13834
+ declare const instance$r: ExternalTaxCalculators;
13526
13835
 
13527
13836
  type TaxCategoryType = 'tax_categories';
13528
13837
  type TaxCategoryRel$1 = ResourceRel & {
@@ -13607,6 +13916,7 @@ declare class TaxCategories extends ApiResource<TaxCategory> {
13607
13916
  relationshipToMany(...ids: string[]): TaxCategoryRel$1[];
13608
13917
  type(): TaxCategoryType;
13609
13918
  }
13919
+ declare const instance$q: TaxCategories;
13610
13920
 
13611
13921
  type AttachmentType = 'attachments';
13612
13922
  type AttachmentRel = ResourceRel & {
@@ -13618,7 +13928,7 @@ type GeocoderRel$3 = ResourceRel & {
13618
13928
  type PriceListRel$1 = ResourceRel & {
13619
13929
  type: PriceListType;
13620
13930
  };
13621
- type PaymentMethodRel = ResourceRel & {
13931
+ type PaymentMethodRel$1 = ResourceRel & {
13622
13932
  type: PaymentMethodType;
13623
13933
  };
13624
13934
  type MarketRel$2 = ResourceRel & {
@@ -13675,7 +13985,7 @@ type CustomerRel$1 = ResourceRel & {
13675
13985
  type DeliveryLeadTimeRel = ResourceRel & {
13676
13986
  type: DeliveryLeadTimeType;
13677
13987
  };
13678
- type ShippingMethodRel = ResourceRel & {
13988
+ type ShippingMethodRel$1 = ResourceRel & {
13679
13989
  type: ShippingMethodType;
13680
13990
  };
13681
13991
  type DiscountEngineRel = ResourceRel & {
@@ -13762,7 +14072,7 @@ interface AttachmentCreate extends ResourceCreate {
13762
14072
  * @example ```"https://s3.yourdomain.com/attachment.pdf"```
13763
14073
  */
13764
14074
  url?: string | null;
13765
- attachable: GeocoderRel$3 | PriceListRel$1 | PaymentMethodRel | MarketRel$2 | CustomerGroupRel$1 | OrderRel | TransactionRel | PromotionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel$1 | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel$1 | DeliveryLeadTimeRel | ShippingMethodRel | DiscountEngineRel | ShipmentRel$1 | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel$1 | StockTransferRel | SkuOptionRel | MerchantRel$2 | SubscriptionModelRel$1 | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel;
14075
+ attachable: GeocoderRel$3 | PriceListRel$1 | PaymentMethodRel$1 | MarketRel$2 | CustomerGroupRel$1 | OrderRel | TransactionRel | PromotionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel$1 | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel$1 | DeliveryLeadTimeRel | ShippingMethodRel$1 | DiscountEngineRel | ShipmentRel$1 | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel$1 | StockTransferRel | SkuOptionRel | MerchantRel$2 | SubscriptionModelRel$1 | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel;
13766
14076
  }
13767
14077
  interface AttachmentUpdate extends ResourceUpdate {
13768
14078
  /**
@@ -13780,7 +14090,7 @@ interface AttachmentUpdate extends ResourceUpdate {
13780
14090
  * @example ```"https://s3.yourdomain.com/attachment.pdf"```
13781
14091
  */
13782
14092
  url?: string | null;
13783
- attachable?: GeocoderRel$3 | PriceListRel$1 | PaymentMethodRel | MarketRel$2 | CustomerGroupRel$1 | OrderRel | TransactionRel | PromotionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel$1 | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel$1 | DeliveryLeadTimeRel | ShippingMethodRel | DiscountEngineRel | ShipmentRel$1 | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel$1 | StockTransferRel | SkuOptionRel | MerchantRel$2 | SubscriptionModelRel$1 | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel | null;
14093
+ attachable?: GeocoderRel$3 | PriceListRel$1 | PaymentMethodRel$1 | MarketRel$2 | CustomerGroupRel$1 | OrderRel | TransactionRel | PromotionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel$1 | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel$1 | DeliveryLeadTimeRel | ShippingMethodRel$1 | DiscountEngineRel | ShipmentRel$1 | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel$1 | StockTransferRel | SkuOptionRel | MerchantRel$2 | SubscriptionModelRel$1 | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel | null;
13784
14094
  }
13785
14095
  declare class Attachments extends ApiResource<Attachment> {
13786
14096
  static readonly TYPE: AttachmentType;
@@ -13792,6 +14102,7 @@ declare class Attachments extends ApiResource<Attachment> {
13792
14102
  relationshipToMany(...ids: string[]): AttachmentRel[];
13793
14103
  type(): AttachmentType;
13794
14104
  }
14105
+ declare const instance$p: Attachments;
13795
14106
 
13796
14107
  type MerchantType = 'merchants';
13797
14108
  type MerchantRel$1 = ResourceRel & {
@@ -13841,6 +14152,7 @@ declare class Merchants extends ApiResource<Merchant> {
13841
14152
  relationshipToMany(...ids: string[]): MerchantRel$1[];
13842
14153
  type(): MerchantType;
13843
14154
  }
14155
+ declare const instance$o: Merchants;
13844
14156
 
13845
14157
  type MarketType = 'markets';
13846
14158
  type MarketRel$1 = ResourceRel & {
@@ -13882,6 +14194,12 @@ type CustomerGroupRel = ResourceRel & {
13882
14194
  type GeocoderRel$2 = ResourceRel & {
13883
14195
  type: GeocoderType;
13884
14196
  };
14197
+ type ShippingMethodRel = ResourceRel & {
14198
+ type: ShippingMethodType;
14199
+ };
14200
+ type PaymentMethodRel = ResourceRel & {
14201
+ type: PaymentMethodType;
14202
+ };
13885
14203
  type MarketSort = Pick<Market, 'id' | 'name' | 'code' | 'disabled_at'> & ResourceSort;
13886
14204
  interface Market extends Resource {
13887
14205
  readonly type: MarketType;
@@ -13948,6 +14266,8 @@ interface Market extends Resource {
13948
14266
  tax_calculator?: AvalaraAccount | StripeTaxAccount | VertexAccount | TaxjarAccount | ManualTaxCalculator | ExternalTaxCalculator | null;
13949
14267
  customer_group?: CustomerGroup | null;
13950
14268
  geocoder?: Geocoder | null;
14269
+ default_shipping_method?: ShippingMethod | null;
14270
+ default_payment_method?: PaymentMethod | null;
13951
14271
  stores?: Store[] | null;
13952
14272
  price_list_schedulers?: PriceListScheduler[] | null;
13953
14273
  attachments?: Attachment[] | null;
@@ -14006,6 +14326,8 @@ interface MarketCreate extends ResourceCreate {
14006
14326
  tax_calculator?: AvalaraAccountRel | StripeTaxAccountRel | VertexAccountRel | TaxjarAccountRel | ManualTaxCalculatorRel | ExternalTaxCalculatorRel | null;
14007
14327
  customer_group?: CustomerGroupRel | null;
14008
14328
  geocoder?: GeocoderRel$2 | null;
14329
+ default_shipping_method?: ShippingMethodRel | null;
14330
+ default_payment_method?: PaymentMethodRel | null;
14009
14331
  }
14010
14332
  interface MarketUpdate extends ResourceUpdate {
14011
14333
  /**
@@ -14060,6 +14382,8 @@ interface MarketUpdate extends ResourceUpdate {
14060
14382
  tax_calculator?: AvalaraAccountRel | StripeTaxAccountRel | VertexAccountRel | TaxjarAccountRel | ManualTaxCalculatorRel | ExternalTaxCalculatorRel | null;
14061
14383
  customer_group?: CustomerGroupRel | null;
14062
14384
  geocoder?: GeocoderRel$2 | null;
14385
+ default_shipping_method?: ShippingMethodRel | null;
14386
+ default_payment_method?: PaymentMethodRel | null;
14063
14387
  }
14064
14388
  declare class Markets extends ApiResource<Market> {
14065
14389
  static readonly TYPE: MarketType;
@@ -14074,6 +14398,8 @@ declare class Markets extends ApiResource<Market> {
14074
14398
  tax_calculator(marketId: string | Market, params?: QueryParamsRetrieve<TaxCalculator>, options?: ResourcesConfig): Promise<TaxCalculator>;
14075
14399
  customer_group(marketId: string | Market, params?: QueryParamsRetrieve<CustomerGroup>, options?: ResourcesConfig): Promise<CustomerGroup>;
14076
14400
  geocoder(marketId: string | Market, params?: QueryParamsRetrieve<Geocoder>, options?: ResourcesConfig): Promise<Geocoder>;
14401
+ default_shipping_method(marketId: string | Market, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
14402
+ default_payment_method(marketId: string | Market, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod>;
14077
14403
  stores(marketId: string | Market, params?: QueryParamsList<Store>, options?: ResourcesConfig): Promise<ListResponse<Store>>;
14078
14404
  price_list_schedulers(marketId: string | Market, params?: QueryParamsList<PriceListScheduler>, options?: ResourcesConfig): Promise<ListResponse<PriceListScheduler>>;
14079
14405
  attachments(marketId: string | Market, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
@@ -14085,6 +14411,7 @@ declare class Markets extends ApiResource<Market> {
14085
14411
  relationshipToMany(...ids: string[]): MarketRel$1[];
14086
14412
  type(): MarketType;
14087
14413
  }
14414
+ declare const instance$n: Markets;
14088
14415
 
14089
14416
  type GeocoderType = 'geocoders';
14090
14417
  type GeocoderRel$1 = ResourceRel & {
@@ -14112,6 +14439,7 @@ declare class Geocoders extends ApiResource<Geocoder> {
14112
14439
  relationshipToMany(...ids: string[]): GeocoderRel$1[];
14113
14440
  type(): GeocoderType;
14114
14441
  }
14442
+ declare const instance$m: Geocoders;
14115
14443
 
14116
14444
  type AddressType = 'addresses';
14117
14445
  type AddressRel = ResourceRel & {
@@ -14413,6 +14741,14 @@ interface AddressUpdate extends ResourceUpdate {
14413
14741
  * @example ```"VAT ID IT02382940977"```
14414
14742
  */
14415
14743
  billing_info?: string | null;
14744
+ /**
14745
+ * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
14746
+ */
14747
+ _add_tags?: string | null;
14748
+ /**
14749
+ * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
14750
+ */
14751
+ _remove_tags?: string | null;
14416
14752
  geocoder?: GeocoderRel | null;
14417
14753
  tags?: TagRel[] | null;
14418
14754
  }
@@ -14425,11 +14761,14 @@ declare class Addresses extends ApiResource<Address> {
14425
14761
  events(addressId: string | Address, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
14426
14762
  tags(addressId: string | Address, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
14427
14763
  versions(addressId: string | Address, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
14764
+ _add_tags(id: string | Address, triggerValue: string, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
14765
+ _remove_tags(id: string | Address, triggerValue: string, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
14428
14766
  isAddress(resource: any): resource is Address;
14429
14767
  relationship(id: string | ResourceId | null): AddressRel;
14430
14768
  relationshipToMany(...ids: string[]): AddressRel[];
14431
14769
  type(): AddressType;
14432
14770
  }
14771
+ declare const instance$l: Addresses;
14433
14772
 
14434
14773
  type AdyenGatewayType = 'adyen_gateways';
14435
14774
  type AdyenGatewayRel = ResourceRel & {
@@ -14601,6 +14940,7 @@ declare class AdyenGateways extends ApiResource<AdyenGateway> {
14601
14940
  relationshipToMany(...ids: string[]): AdyenGatewayRel[];
14602
14941
  type(): AdyenGatewayType;
14603
14942
  }
14943
+ declare const instance$k: AdyenGateways;
14604
14944
 
14605
14945
  type ApplicationType = 'applications';
14606
14946
  type ApplicationRel = ResourceRel & {
@@ -14643,6 +14983,7 @@ declare class Applications extends ApiSingleton<Application> {
14643
14983
  type(): ApplicationType;
14644
14984
  path(): string;
14645
14985
  }
14986
+ declare const instance$j: Applications;
14646
14987
 
14647
14988
  type AxerveGatewayType = 'axerve_gateways';
14648
14989
  type AxerveGatewayRel = ResourceRel & {
@@ -14722,6 +15063,7 @@ declare class AxerveGateways extends ApiResource<AxerveGateway> {
14722
15063
  relationshipToMany(...ids: string[]): AxerveGatewayRel[];
14723
15064
  type(): AxerveGatewayType;
14724
15065
  }
15066
+ declare const instance$i: AxerveGateways;
14725
15067
 
14726
15068
  type BingGeocoderType = 'bing_geocoders';
14727
15069
  type BingGeocoderRel = ResourceRel & {
@@ -14776,6 +15118,7 @@ declare class BingGeocoders extends ApiResource<BingGeocoder> {
14776
15118
  relationshipToMany(...ids: string[]): BingGeocoderRel[];
14777
15119
  type(): BingGeocoderType;
14778
15120
  }
15121
+ declare const instance$h: BingGeocoders;
14779
15122
 
14780
15123
  type BraintreeGatewayType = 'braintree_gateways';
14781
15124
  type BraintreeGatewayRel = ResourceRel & {
@@ -14915,6 +15258,7 @@ declare class BraintreeGateways extends ApiResource<BraintreeGateway> {
14915
15258
  relationshipToMany(...ids: string[]): BraintreeGatewayRel[];
14916
15259
  type(): BraintreeGatewayType;
14917
15260
  }
15261
+ declare const instance$g: BraintreeGateways;
14918
15262
 
14919
15263
  type CheckoutComGatewayType = 'checkout_com_gateways';
14920
15264
  type CheckoutComGatewayRel = ResourceRel & {
@@ -14999,6 +15343,7 @@ declare class CheckoutComGateways extends ApiResource<CheckoutComGateway> {
14999
15343
  relationshipToMany(...ids: string[]): CheckoutComGatewayRel[];
15000
15344
  type(): CheckoutComGatewayType;
15001
15345
  }
15346
+ declare const instance$f: CheckoutComGateways;
15002
15347
 
15003
15348
  type CleanupType = 'cleanups';
15004
15349
  type CleanupRel = ResourceRel & {
@@ -15092,6 +15437,7 @@ declare class Cleanups extends ApiResource<Cleanup> {
15092
15437
  relationshipToMany(...ids: string[]): CleanupRel[];
15093
15438
  type(): CleanupType;
15094
15439
  }
15440
+ declare const instance$e: Cleanups;
15095
15441
 
15096
15442
  type CustomerPasswordResetType = 'customer_password_resets';
15097
15443
  type CustomerPasswordResetRel = ResourceRel & {
@@ -15150,6 +15496,7 @@ declare class CustomerPasswordResets extends ApiResource<CustomerPasswordReset>
15150
15496
  relationshipToMany(...ids: string[]): CustomerPasswordResetRel[];
15151
15497
  type(): CustomerPasswordResetType;
15152
15498
  }
15499
+ declare const instance$d: CustomerPasswordResets;
15153
15500
 
15154
15501
  type EasypostPickupType = 'easypost_pickups';
15155
15502
  type EasypostPickupRel = ResourceRel & {
@@ -15255,6 +15602,7 @@ declare class EasypostPickups extends ApiResource<EasypostPickup> {
15255
15602
  relationshipToMany(...ids: string[]): EasypostPickupRel[];
15256
15603
  type(): EasypostPickupType;
15257
15604
  }
15605
+ declare const instance$c: EasypostPickups;
15258
15606
 
15259
15607
  type ExportType = 'exports';
15260
15608
  type ExportRel = ResourceRel & {
@@ -15381,6 +15729,7 @@ declare class Exports extends ApiResource<Export> {
15381
15729
  relationshipToMany(...ids: string[]): ExportRel[];
15382
15730
  type(): ExportType;
15383
15731
  }
15732
+ declare const instance$b: Exports;
15384
15733
 
15385
15734
  type ExternalGatewayType = 'external_gateways';
15386
15735
  type ExternalGatewayRel = ResourceRel & {
@@ -15521,6 +15870,7 @@ declare class ExternalGateways extends ApiResource<ExternalGateway> {
15521
15870
  relationshipToMany(...ids: string[]): ExternalGatewayRel[];
15522
15871
  type(): ExternalGatewayType;
15523
15872
  }
15873
+ declare const instance$a: ExternalGateways;
15524
15874
 
15525
15875
  type GoogleGeocoderType = 'google_geocoders';
15526
15876
  type GoogleGeocoderRel = ResourceRel & {
@@ -15575,6 +15925,7 @@ declare class GoogleGeocoders extends ApiResource<GoogleGeocoder> {
15575
15925
  relationshipToMany(...ids: string[]): GoogleGeocoderRel[];
15576
15926
  type(): GoogleGeocoderType;
15577
15927
  }
15928
+ declare const instance$9: GoogleGeocoders;
15578
15929
 
15579
15930
  type ImportType = 'imports';
15580
15931
  type ImportRel = ResourceRel & {
@@ -15701,6 +16052,7 @@ declare class Imports extends ApiResource<Import> {
15701
16052
  relationshipToMany(...ids: string[]): ImportRel[];
15702
16053
  type(): ImportType;
15703
16054
  }
16055
+ declare const instance$8: Imports;
15704
16056
 
15705
16057
  type InStockSubscriptionType = 'in_stock_subscriptions';
15706
16058
  type InStockSubscriptionRel = ResourceRel & {
@@ -15806,6 +16158,7 @@ declare class InStockSubscriptions extends ApiResource<InStockSubscription> {
15806
16158
  relationshipToMany(...ids: string[]): InStockSubscriptionRel[];
15807
16159
  type(): InStockSubscriptionType;
15808
16160
  }
16161
+ declare const instance$7: InStockSubscriptions;
15809
16162
 
15810
16163
  type KlarnaGatewayType = 'klarna_gateways';
15811
16164
  type KlarnaGatewayRel = ResourceRel & {
@@ -15885,6 +16238,7 @@ declare class KlarnaGateways extends ApiResource<KlarnaGateway> {
15885
16238
  relationshipToMany(...ids: string[]): KlarnaGatewayRel[];
15886
16239
  type(): KlarnaGatewayType;
15887
16240
  }
16241
+ declare const instance$6: KlarnaGateways;
15888
16242
 
15889
16243
  type ManualGatewayType = 'manual_gateways';
15890
16244
  type ManualGatewayRel = ResourceRel & {
@@ -15927,6 +16281,7 @@ declare class ManualGateways extends ApiResource<ManualGateway> {
15927
16281
  relationshipToMany(...ids: string[]): ManualGatewayRel[];
15928
16282
  type(): ManualGatewayType;
15929
16283
  }
16284
+ declare const instance$5: ManualGateways;
15930
16285
 
15931
16286
  type OrganizationType = 'organizations';
15932
16287
  type OrganizationRel = ResourceRel & {
@@ -16169,6 +16524,7 @@ declare class Organizations extends ApiSingleton<Organization> {
16169
16524
  type(): OrganizationType;
16170
16525
  path(): string;
16171
16526
  }
16527
+ declare const instance$4: Organizations;
16172
16528
 
16173
16529
  type PaypalGatewayType = 'paypal_gateways';
16174
16530
  type PaypalGatewayRel = ResourceRel & {
@@ -16233,6 +16589,7 @@ declare class PaypalGateways extends ApiResource<PaypalGateway> {
16233
16589
  relationshipToMany(...ids: string[]): PaypalGatewayRel[];
16234
16590
  type(): PaypalGatewayType;
16235
16591
  }
16592
+ declare const instance$3: PaypalGateways;
16236
16593
 
16237
16594
  type SatispayGatewayType = 'satispay_gateways';
16238
16595
  type SatispayGatewayRel = ResourceRel & {
@@ -16302,6 +16659,7 @@ declare class SatispayGateways extends ApiResource<SatispayGateway> {
16302
16659
  relationshipToMany(...ids: string[]): SatispayGatewayRel[];
16303
16660
  type(): SatispayGatewayType;
16304
16661
  }
16662
+ declare const instance$2: SatispayGateways;
16305
16663
 
16306
16664
  type StripeGatewayType = 'stripe_gateways';
16307
16665
  type StripeGatewayRel = ResourceRel & {
@@ -16317,7 +16675,7 @@ interface StripeGateway extends Resource {
16317
16675
  name: string;
16318
16676
  /**
16319
16677
  * The account (if any) for which the funds of the PaymentIntent are intended.
16320
- * @example ```"xxxx-yyyy-zzzz"```
16678
+ * @example ```"acct_xxxx-yyyy-zzzz"```
16321
16679
  */
16322
16680
  connected_account?: string | null;
16323
16681
  /**
@@ -16325,6 +16683,11 @@ interface StripeGateway extends Resource {
16325
16683
  * @example ```true```
16326
16684
  */
16327
16685
  auto_payments?: boolean | null;
16686
+ /**
16687
+ * Indicates if the payment source is forced on the editable order upon receiving a successful event from Stripe.
16688
+ * @example ```true```
16689
+ */
16690
+ force_payments?: boolean | null;
16328
16691
  /**
16329
16692
  * The gateway webhook endpoint ID, generated automatically.
16330
16693
  * @example ```"xxxx-yyyy-zzzz"```
@@ -16362,7 +16725,7 @@ interface StripeGatewayCreate extends ResourceCreate {
16362
16725
  publishable_key?: string | null;
16363
16726
  /**
16364
16727
  * The account (if any) for which the funds of the PaymentIntent are intended.
16365
- * @example ```"xxxx-yyyy-zzzz"```
16728
+ * @example ```"acct_xxxx-yyyy-zzzz"```
16366
16729
  */
16367
16730
  connected_account?: string | null;
16368
16731
  /**
@@ -16370,6 +16733,11 @@ interface StripeGatewayCreate extends ResourceCreate {
16370
16733
  * @example ```true```
16371
16734
  */
16372
16735
  auto_payments?: boolean | null;
16736
+ /**
16737
+ * Indicates if the payment source is forced on the editable order upon receiving a successful event from Stripe.
16738
+ * @example ```true```
16739
+ */
16740
+ force_payments?: boolean | null;
16373
16741
  }
16374
16742
  interface StripeGatewayUpdate extends ResourceUpdate {
16375
16743
  /**
@@ -16379,7 +16747,7 @@ interface StripeGatewayUpdate extends ResourceUpdate {
16379
16747
  name?: string | null;
16380
16748
  /**
16381
16749
  * The account (if any) for which the funds of the PaymentIntent are intended.
16382
- * @example ```"xxxx-yyyy-zzzz"```
16750
+ * @example ```"acct_xxxx-yyyy-zzzz"```
16383
16751
  */
16384
16752
  connected_account?: string | null;
16385
16753
  /**
@@ -16387,6 +16755,11 @@ interface StripeGatewayUpdate extends ResourceUpdate {
16387
16755
  * @example ```true```
16388
16756
  */
16389
16757
  auto_payments?: boolean | null;
16758
+ /**
16759
+ * Indicates if the payment source is forced on the editable order upon receiving a successful event from Stripe.
16760
+ * @example ```true```
16761
+ */
16762
+ force_payments?: boolean | null;
16390
16763
  }
16391
16764
  declare class StripeGateways extends ApiResource<StripeGateway> {
16392
16765
  static readonly TYPE: StripeGatewayType;
@@ -16401,6 +16774,7 @@ declare class StripeGateways extends ApiResource<StripeGateway> {
16401
16774
  relationshipToMany(...ids: string[]): StripeGatewayRel[];
16402
16775
  type(): StripeGatewayType;
16403
16776
  }
16777
+ declare const instance$1: StripeGateways;
16404
16778
 
16405
16779
  type TalonOneAccountType = 'talon_one_accounts';
16406
16780
  type TalonOneAccountRel = ResourceRel & {
@@ -16476,6 +16850,7 @@ declare class TalonOneAccounts extends ApiResource<TalonOneAccount> {
16476
16850
  relationshipToMany(...ids: string[]): TalonOneAccountRel[];
16477
16851
  type(): TalonOneAccountType;
16478
16852
  }
16853
+ declare const instance: TalonOneAccounts;
16479
16854
 
16480
16855
  type ResourceTypeLock = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'applications' | 'attachments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'captures' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'discount_engine_items' | 'discount_engines' | 'easypost_pickups' | 'event_callbacks' | 'events' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'geocoders' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'imports' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'links' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'notifications' | 'order_amount_promotion_rules' | 'order_copies' | 'order_factories' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'organizations' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_gateways' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'pickups' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_tiers' | 'price_volume_tiers' | 'prices' | 'promotion_rules' | 'promotions' | 'recurring_order_copies' | 'refunds' | 'reserved_stocks' | 'resource_errors' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_method_tiers' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'stripe_tax_accounts' | 'subscription_models' | 'tags' | 'talon_one_accounts' | 'tax_calculators' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'transactions' | 'versions' | 'vertex_accounts' | 'voids' | 'webhooks' | 'wire_transfers';
16481
16856
  declare const resourceList: ResourceTypeLock[];
@@ -16781,4 +17156,4 @@ type ResourceSortFields = {
16781
17156
  wire_transfers: WireTransferSort;
16782
17157
  };
16783
17158
 
16784
- export { type AttachmentUpdate as $, ApiResource as A, type ResourceFilter as B, ApiResourceAdapter as C, type Address as D, type AddressCreate as E, type AddressUpdate as F, type AddressSort as G, type Adjustment as H, type AdjustmentCreate as I, type AdjustmentUpdate as J, type AdjustmentSort as K, ListResponse as L, type Metadata as M, type AdyenGateway as N, type AdyenGatewayCreate as O, type AdyenGatewayUpdate as P, type QueryInclude as Q, type ResourceType as R, type AdyenGatewaySort as S, type AdyenPayment as T, type AdyenPaymentCreate as U, type AdyenPaymentUpdate as V, type AdyenPaymentSort as W, type Application as X, type ApplicationSort as Y, type Attachment as Z, type AttachmentCreate as _, generateSearchString as a, type Coupon as a$, type AttachmentSort as a0, type Authorization as a1, type AuthorizationUpdate as a2, type AuthorizationSort as a3, type AvalaraAccount as a4, type AvalaraAccountCreate as a5, type AvalaraAccountUpdate as a6, type AvalaraAccountSort as a7, type AxerveGateway as a8, type AxerveGatewayCreate as a9, type Capture as aA, type CaptureUpdate as aB, type CaptureSort as aC, type CarrierAccount as aD, type CarrierAccountCreate as aE, type CarrierAccountUpdate as aF, type CarrierAccountSort as aG, type CheckoutComGateway as aH, type CheckoutComGatewayCreate as aI, type CheckoutComGatewayUpdate as aJ, type CheckoutComGatewaySort as aK, type CheckoutComPayment as aL, type CheckoutComPaymentCreate as aM, type CheckoutComPaymentUpdate as aN, type CheckoutComPaymentSort as aO, type Cleanup as aP, type CleanupCreate as aQ, type CleanupUpdate as aR, type CleanupSort as aS, type CouponCodesPromotionRule as aT, type CouponCodesPromotionRuleCreate as aU, type CouponCodesPromotionRuleUpdate as aV, type CouponCodesPromotionRuleSort as aW, type CouponRecipient as aX, type CouponRecipientCreate as aY, type CouponRecipientUpdate as aZ, type CouponRecipientSort as a_, type AxerveGatewayUpdate as aa, type AxerveGatewaySort as ab, type AxervePayment as ac, type AxervePaymentCreate as ad, type AxervePaymentUpdate as ae, type AxervePaymentSort as af, type BingGeocoder as ag, type BingGeocoderCreate as ah, type BingGeocoderUpdate as ai, type BingGeocoderSort as aj, type BraintreeGateway as ak, type BraintreeGatewayCreate as al, type BraintreeGatewayUpdate as am, type BraintreeGatewaySort as an, type BraintreePayment as ao, type BraintreePaymentCreate as ap, type BraintreePaymentUpdate as aq, type BraintreePaymentSort as ar, type Bundle as as, type BundleCreate as at, type BundleUpdate as au, type BundleSort as av, type BuyXPayYPromotion as aw, type BuyXPayYPromotionCreate as ax, type BuyXPayYPromotionUpdate as ay, type BuyXPayYPromotionSort as az, type QueryArrayFields as b, type ExternalPromotionSort as b$, type CouponCreate as b0, type CouponUpdate as b1, type CouponSort as b2, type CustomPromotionRule as b3, type CustomPromotionRuleCreate as b4, type CustomPromotionRuleUpdate as b5, type CustomPromotionRuleSort as b6, type CustomerAddress as b7, type CustomerAddressCreate as b8, type CustomerAddressUpdate as b9, type DiscountEngineItemSort as bA, type DiscountEngine as bB, type DiscountEngineSort as bC, type EasypostPickup as bD, type EasypostPickupCreate as bE, type EasypostPickupUpdate as bF, type EasypostPickupSort as bG, type EventCallback as bH, type EventCallbackSort as bI, type Event as bJ, type EventUpdate as bK, type EventSort as bL, type Export as bM, type ExportCreate as bN, type ExportUpdate as bO, type ExportSort as bP, type ExternalGateway as bQ, type ExternalGatewayCreate as bR, type ExternalGatewayUpdate as bS, type ExternalGatewaySort as bT, type ExternalPayment as bU, type ExternalPaymentCreate as bV, type ExternalPaymentUpdate as bW, type ExternalPaymentSort as bX, type ExternalPromotion as bY, type ExternalPromotionCreate as bZ, type ExternalPromotionUpdate as b_, type CustomerAddressSort as ba, type CustomerGroup as bb, type CustomerGroupCreate as bc, type CustomerGroupUpdate as bd, type CustomerGroupSort as be, type CustomerPasswordReset as bf, type CustomerPasswordResetCreate as bg, type CustomerPasswordResetUpdate as bh, type CustomerPasswordResetSort as bi, type CustomerPaymentSource as bj, type CustomerPaymentSourceCreate as bk, type CustomerPaymentSourceUpdate as bl, type CustomerPaymentSourceSort as bm, type CustomerSubscription as bn, type CustomerSubscriptionCreate as bo, type CustomerSubscriptionUpdate as bp, type CustomerSubscriptionSort as bq, type Customer as br, type CustomerCreate as bs, type CustomerUpdate as bt, type CustomerSort as bu, type DeliveryLeadTime as bv, type DeliveryLeadTimeCreate as bw, type DeliveryLeadTimeUpdate as bx, type DeliveryLeadTimeSort as by, type DiscountEngineItem as bz, type QueryRecordFields as c, type KlarnaPaymentCreate as c$, type ExternalTaxCalculator as c0, type ExternalTaxCalculatorCreate as c1, type ExternalTaxCalculatorUpdate as c2, type ExternalTaxCalculatorSort as c3, type FixedAmountPromotion as c4, type FixedAmountPromotionCreate as c5, type FixedAmountPromotionUpdate as c6, type FixedAmountPromotionSort as c7, type FixedPricePromotion as c8, type FixedPricePromotionCreate as c9, type GoogleGeocoderUpdate as cA, type GoogleGeocoderSort as cB, type Import as cC, type ImportCreate as cD, type ImportUpdate as cE, type ImportSort as cF, type InStockSubscription as cG, type InStockSubscriptionCreate as cH, type InStockSubscriptionUpdate as cI, type InStockSubscriptionSort as cJ, type InventoryModel as cK, type InventoryModelCreate as cL, type InventoryModelUpdate as cM, type InventoryModelSort as cN, type InventoryReturnLocation as cO, type InventoryReturnLocationCreate as cP, type InventoryReturnLocationUpdate as cQ, type InventoryReturnLocationSort as cR, type InventoryStockLocation as cS, type InventoryStockLocationCreate as cT, type InventoryStockLocationUpdate as cU, type InventoryStockLocationSort as cV, type KlarnaGateway as cW, type KlarnaGatewayCreate as cX, type KlarnaGatewayUpdate as cY, type KlarnaGatewaySort as cZ, type KlarnaPayment as c_, type FixedPricePromotionUpdate as ca, type FixedPricePromotionSort as cb, type FlexPromotion as cc, type FlexPromotionCreate as cd, type FlexPromotionUpdate as ce, type FlexPromotionSort as cf, type FreeGiftPromotion as cg, type FreeGiftPromotionCreate as ch, type FreeGiftPromotionUpdate as ci, type FreeGiftPromotionSort as cj, type FreeShippingPromotion as ck, type FreeShippingPromotionCreate as cl, type FreeShippingPromotionUpdate as cm, type FreeShippingPromotionSort as cn, type Geocoder as co, type GeocoderSort as cp, type GiftCardRecipient as cq, type GiftCardRecipientCreate as cr, type GiftCardRecipientUpdate as cs, type GiftCardRecipientSort as ct, type GiftCard as cu, type GiftCardCreate as cv, type GiftCardUpdate as cw, type GiftCardSort as cx, type GoogleGeocoder as cy, type GoogleGeocoderCreate as cz, type QueryFields as d, type ParcelLineItem as d$, type KlarnaPaymentUpdate as d0, type KlarnaPaymentSort as d1, type LineItemOption as d2, type LineItemOptionCreate as d3, type LineItemOptionUpdate as d4, type LineItemOptionSort as d5, type LineItem as d6, type LineItemCreate as d7, type LineItemUpdate as d8, type LineItemSort as d9, type OrderAmountPromotionRuleCreate as dA, type OrderAmountPromotionRuleUpdate as dB, type OrderAmountPromotionRuleSort as dC, type OrderCopy as dD, type OrderCopyCreate as dE, type OrderCopyUpdate as dF, type OrderCopySort as dG, type OrderFactory as dH, type OrderFactorySort as dI, type OrderSubscriptionItem as dJ, type OrderSubscriptionItemCreate as dK, type OrderSubscriptionItemUpdate as dL, type OrderSubscriptionItemSort as dM, type OrderSubscription as dN, type OrderSubscriptionCreate as dO, type OrderSubscriptionUpdate as dP, type OrderSubscriptionSort as dQ, type Order as dR, type OrderCreate as dS, type OrderUpdate as dT, type OrderSort as dU, type Organization as dV, type OrganizationSort as dW, type Package as dX, type PackageCreate as dY, type PackageUpdate as dZ, type PackageSort as d_, type Link as da, type LinkCreate as db, type LinkUpdate as dc, type LinkSort as dd, type ManualGateway as de, type ManualGatewayCreate as df, type ManualGatewayUpdate as dg, type ManualGatewaySort as dh, type ManualTaxCalculator as di, type ManualTaxCalculatorCreate as dj, type ManualTaxCalculatorUpdate as dk, type ManualTaxCalculatorSort as dl, type Market as dm, type MarketCreate as dn, type MarketUpdate as dp, type MarketSort as dq, type Merchant as dr, type MerchantCreate as ds, type MerchantUpdate as dt, type MerchantSort as du, type Notification as dv, type NotificationCreate as dw, type NotificationUpdate as dx, type NotificationSort as dy, type OrderAmountPromotionRule as dz, type QueryParamsRetrieve as e, type RefundSort as e$, type ParcelLineItemCreate as e0, type ParcelLineItemUpdate as e1, type ParcelLineItemSort as e2, type Parcel as e3, type ParcelCreate as e4, type ParcelUpdate as e5, type ParcelSort as e6, type PaymentGateway as e7, type PaymentGatewaySort as e8, type PaymentMethod as e9, type PriceListSchedulerCreate as eA, type PriceListSchedulerUpdate as eB, type PriceListSchedulerSort as eC, type PriceList as eD, type PriceListCreate as eE, type PriceListUpdate as eF, type PriceListSort as eG, type PriceTier as eH, type PriceTierSort as eI, type PriceVolumeTier as eJ, type PriceVolumeTierCreate as eK, type PriceVolumeTierUpdate as eL, type PriceVolumeTierSort as eM, type Price as eN, type PriceCreate as eO, type PriceUpdate as eP, type PriceSort as eQ, type PromotionRule as eR, type PromotionRuleSort as eS, type Promotion as eT, type PromotionSort as eU, type RecurringOrderCopy as eV, type RecurringOrderCopyCreate as eW, type RecurringOrderCopyUpdate as eX, type RecurringOrderCopySort as eY, type Refund as eZ, type RefundUpdate as e_, type PaymentMethodCreate as ea, type PaymentMethodUpdate as eb, type PaymentMethodSort as ec, type PaymentOption as ed, type PaymentOptionCreate as ee, type PaymentOptionUpdate as ef, type PaymentOptionSort as eg, type PaypalGateway as eh, type PaypalGatewayCreate as ei, type PaypalGatewayUpdate as ej, type PaypalGatewaySort as ek, type PaypalPayment as el, type PaypalPaymentCreate as em, type PaypalPaymentUpdate as en, type PaypalPaymentSort as eo, type PercentageDiscountPromotion as ep, type PercentageDiscountPromotionCreate as eq, type PercentageDiscountPromotionUpdate as er, type PercentageDiscountPromotionSort as es, type Pickup as et, type PickupSort as eu, type PriceFrequencyTier as ev, type PriceFrequencyTierCreate as ew, type PriceFrequencyTierUpdate as ex, type PriceFrequencyTierSort as ey, type PriceListScheduler as ez, type QueryArraySortable as f, type StockItemCreate as f$, type ReservedStock as f0, type ReservedStockSort as f1, type ResourceError as f2, type ResourceErrorSort as f3, type ReturnLineItem as f4, type ReturnLineItemCreate as f5, type ReturnLineItemUpdate as f6, type ReturnLineItemSort as f7, type Return as f8, type ReturnCreate as f9, type ShippingWeightTierUpdate as fA, type ShippingWeightTierSort as fB, type ShippingZone as fC, type ShippingZoneCreate as fD, type ShippingZoneUpdate as fE, type ShippingZoneSort as fF, type SkuListItem as fG, type SkuListItemCreate as fH, type SkuListItemUpdate as fI, type SkuListItemSort as fJ, type SkuListPromotionRule as fK, type SkuListPromotionRuleCreate as fL, type SkuListPromotionRuleUpdate as fM, type SkuListPromotionRuleSort as fN, type SkuList as fO, type SkuListCreate as fP, type SkuListUpdate as fQ, type SkuListSort as fR, type SkuOption as fS, type SkuOptionCreate as fT, type SkuOptionUpdate as fU, type SkuOptionSort as fV, type Sku as fW, type SkuCreate as fX, type SkuUpdate as fY, type SkuSort as fZ, type StockItem as f_, type ReturnUpdate as fa, type ReturnSort as fb, type SatispayGateway as fc, type SatispayGatewayCreate as fd, type SatispayGatewayUpdate as fe, type SatispayGatewaySort as ff, type SatispayPayment as fg, type SatispayPaymentCreate as fh, type SatispayPaymentUpdate as fi, type SatispayPaymentSort as fj, type Shipment as fk, type ShipmentCreate as fl, type ShipmentUpdate as fm, type ShipmentSort as fn, type ShippingCategory as fo, type ShippingCategoryCreate as fp, type ShippingCategoryUpdate as fq, type ShippingCategorySort as fr, type ShippingMethodTier as fs, type ShippingMethodTierSort as ft, type ShippingMethod as fu, type ShippingMethodCreate as fv, type ShippingMethodUpdate as fw, type ShippingMethodSort as fx, type ShippingWeightTier as fy, type ShippingWeightTierCreate as fz, generateQueryStringParams as g, type VersionSort as g$, type StockItemUpdate as g0, type StockItemSort as g1, type StockLineItem as g2, type StockLineItemCreate as g3, type StockLineItemUpdate as g4, type StockLineItemSort as g5, type StockLocation as g6, type StockLocationCreate as g7, type StockLocationUpdate as g8, type StockLocationSort as g9, type SubscriptionModelUpdate as gA, type SubscriptionModelSort as gB, type Tag as gC, type TagCreate as gD, type TagUpdate as gE, type TagSort as gF, type TalonOneAccount as gG, type TalonOneAccountCreate as gH, type TalonOneAccountUpdate as gI, type TalonOneAccountSort as gJ, type TaxCalculator as gK, type TaxCalculatorSort as gL, type TaxCategory as gM, type TaxCategoryCreate as gN, type TaxCategoryUpdate as gO, type TaxCategorySort as gP, type TaxRule as gQ, type TaxRuleCreate as gR, type TaxRuleUpdate as gS, type TaxRuleSort as gT, type TaxjarAccount as gU, type TaxjarAccountCreate as gV, type TaxjarAccountUpdate as gW, type TaxjarAccountSort as gX, type Transaction as gY, type TransactionSort as gZ, type Version as g_, type StockReservation as ga, type StockReservationCreate as gb, type StockReservationUpdate as gc, type StockReservationSort as gd, type StockTransfer as ge, type StockTransferCreate as gf, type StockTransferUpdate as gg, type StockTransferSort as gh, type Store as gi, type StoreCreate as gj, type StoreUpdate as gk, type StoreSort as gl, type StripeGateway as gm, type StripeGatewayCreate as gn, type StripeGatewayUpdate as go, type StripeGatewaySort as gp, type StripePayment as gq, type StripePaymentCreate as gr, type StripePaymentUpdate as gs, type StripePaymentSort as gt, type StripeTaxAccount as gu, type StripeTaxAccountCreate as gv, type StripeTaxAccountUpdate as gw, type StripeTaxAccountSort as gx, type SubscriptionModel as gy, type SubscriptionModelCreate as gz, type QueryRecordSortable as h, Customers as h$, type VertexAccount as h0, type VertexAccountCreate as h1, type VertexAccountUpdate as h2, type VertexAccountSort as h3, type Void as h4, type VoidUpdate as h5, type VoidSort as h6, type Webhook as h7, type WebhookCreate as h8, type WebhookUpdate as h9, AdyenGateways as hA, AdyenPayments as hB, Applications as hC, Attachments as hD, Authorizations as hE, AvalaraAccounts as hF, AxerveGateways as hG, AxervePayments as hH, BingGeocoders as hI, BraintreeGateways as hJ, BraintreePayments as hK, Bundles as hL, BuyXPayYPromotions as hM, Captures as hN, CarrierAccounts as hO, CheckoutComGateways as hP, CheckoutComPayments as hQ, Cleanups as hR, CouponCodesPromotionRules as hS, CouponRecipients as hT, Coupons as hU, CustomPromotionRules as hV, CustomerAddresses as hW, CustomerGroups as hX, CustomerPasswordResets as hY, CustomerPaymentSources as hZ, CustomerSubscriptions as h_, type WebhookSort as ha, type WireTransfer as hb, type WireTransferCreate as hc, type WireTransferUpdate as hd, type WireTransferSort as he, type ResourceTypeLock as hf, resourceList as hg, singletonList as hh, type RetrievableResourceType as hi, type RetrievableResource as hj, type ListableResourceType as hk, type ListableResource as hl, type CreatableResourceType as hm, type CreatableResource as hn, type UpdatableResourceType as ho, type UpdatableResource as hp, type DeletableResourceType as hq, type DeletableResource as hr, type TaggableResourceType as hs, type TaggableResource as ht, type VersionableResourceType as hu, type VersionableResource as hv, type ResourceFields as hw, type ResourceSortFields as hx, Addresses as hy, Adjustments as hz, isParamsList as i, Refunds as i$, DeliveryLeadTimes as i0, DiscountEngineItems as i1, DiscountEngines as i2, EasypostPickups as i3, EventCallbacks as i4, Events as i5, Exports as i6, ExternalGateways as i7, ExternalPayments as i8, ExternalPromotions as i9, Notifications as iA, OrderAmountPromotionRules as iB, OrderCopies as iC, OrderFactories as iD, OrderSubscriptionItems as iE, OrderSubscriptions as iF, Orders as iG, Organizations as iH, Packages as iI, ParcelLineItems as iJ, Parcels as iK, PaymentGateways as iL, PaymentMethods as iM, PaymentOptions as iN, PaypalGateways as iO, PaypalPayments as iP, PercentageDiscountPromotions as iQ, Pickups as iR, PriceFrequencyTiers as iS, PriceListSchedulers as iT, PriceLists as iU, PriceTiers as iV, PriceVolumeTiers as iW, Prices as iX, PromotionRules as iY, Promotions as iZ, RecurringOrderCopies as i_, ExternalTaxCalculators as ia, FixedAmountPromotions as ib, FixedPricePromotions as ic, FlexPromotions as id, FreeGiftPromotions as ie, FreeShippingPromotions as ig, Geocoders as ih, GiftCardRecipients as ii, GiftCards as ij, GoogleGeocoders as ik, Imports as il, InStockSubscriptions as im, InventoryModels as io, InventoryReturnLocations as ip, InventoryStockLocations as iq, KlarnaGateways as ir, KlarnaPayments as is, LineItemOptions as it, LineItems as iu, Links as iv, ManualGateways as iw, ManualTaxCalculators as ix, Markets as iy, Merchants as iz, type QuerySort as j, type CustomerPaymentSourceType as j$, ReservedStocks as j0, ResourceErrors as j1, ReturnLineItems as j2, Returns as j3, SatispayGateways as j4, SatispayPayments as j5, Shipments as j6, ShippingCategories as j7, ShippingMethodTiers as j8, ShippingMethods as j9, Voids as jA, Webhooks as jB, WireTransfers as jC, type TagType as jD, type VersionType as jE, type ShippingCategoryType as jF, type InventoryReturnLocationType as jG, type InventoryModelType as jH, type InventoryStockLocationType as jI, type CustomerGroupType as jJ, type EventCallbackType as jK, type WebhookType as jL, type EventType as jM, type CustomerAddressType as jN, type PaymentGatewayType as jO, type StoreType as jP, type PaymentMethodType as jQ, type AdyenPaymentType as jR, type AxervePaymentType as jS, type BraintreePaymentType as jT, type CheckoutComPaymentType as jU, type ExternalPaymentType as jV, type KlarnaPaymentType as jW, type PaypalPaymentType as jX, type SatispayPaymentType as jY, type StripePaymentType as jZ, type WireTransferType as j_, ShippingWeightTiers as ja, ShippingZones as jb, SkuListItems as jc, SkuListPromotionRules as jd, SkuLists as je, SkuOptions as jf, Skus as jg, StockItems as jh, StockLineItems as ji, StockLocations as jj, StockReservations as jk, StockTransfers as jl, Stores as jm, StripeGateways as jn, StripePayments as jo, StripeTaxAccounts as jp, SubscriptionModels as jq, Tags as jr, TalonOneAccounts as js, TaxCalculators as jt, TaxCategories as ju, TaxRules as jv, TaxjarAccounts as jw, Transactions as jx, Versions as jy, VertexAccounts as jz, type QueryFilter as k, type PriceTierType as k$, type CustomerSubscriptionType as k0, type SubscriptionModelType as k1, type SkuOptionType as k2, type LineItemOptionType as k3, type VoidType as k4, type AuthorizationType as k5, type RefundType as k6, type CaptureType as k7, type ResourceErrorType as k8, type ReturnType as k9, type CustomPromotionRuleType as kA, type FreeGiftPromotionType as kB, type CouponCodesPromotionRuleType as kC, type BuyXPayYPromotionType as kD, type SkuListPromotionRuleType as kE, type FreeShippingPromotionType as kF, type OrderAmountPromotionRuleType as kG, type PercentageDiscountPromotionType as kH, type LineItemType as kI, type OrderSubscriptionItemType as kJ, type OrderFactoryType as kK, type RecurringOrderCopyType as kL, type OrderSubscriptionType as kM, type CustomerType as kN, type PaymentOptionType as kO, type OrderCopyType as kP, type OrderType as kQ, type PackageType as kR, type ParcelLineItemType as kS, type ParcelType as kT, type PickupType as kU, type CarrierAccountType as kV, type ShipmentType as kW, type StockTransferType as kX, type StockLocationType as kY, type StockItemType as kZ, type SkuType as k_, type ReturnLineItemType as ka, type StockLineItemType as kb, type ReservedStockType as kc, type StockReservationType as kd, type ShippingZoneType as ke, type DeliveryLeadTimeType as kf, type ShippingMethodTierType as kg, type ShippingWeightTierType as kh, type ShippingMethodType as ki, type NotificationType as kj, type SkuListItemType as kk, type LinkType as kl, type SkuListType as km, type BundleType as kn, type GiftCardRecipientType as ko, type GiftCardType as kp, type AdjustmentType as kq, type DiscountEngineType as kr, type DiscountEngineItemType as ks, type CouponRecipientType as kt, type CouponType as ku, type ExternalPromotionType as kv, type FixedAmountPromotionType as kw, type FlexPromotionType as kx, type PromotionRuleType as ky, type FixedPricePromotionType as kz, type QueryPageNumber as l, type PriceVolumeTierType as l0, type PriceFrequencyTierType as l1, type PriceType as l2, type PriceListSchedulerType as l3, type PriceListType as l4, type TransactionType as l5, type PromotionType as l6, type TaxCalculatorType as l7, type AvalaraAccountType as l8, type StripeTaxAccountType as l9, type ManualGatewayType as lA, type OrganizationType as lB, type PaypalGatewayType as lC, type SatispayGatewayType as lD, type StripeGatewayType as lE, type TalonOneAccountType as lF, type VertexAccountType as la, type TaxjarAccountType as lb, type TaxRuleType as lc, type ManualTaxCalculatorType as ld, type ExternalTaxCalculatorType as le, type TaxCategoryType as lf, type AttachmentType as lg, type MerchantType as lh, type MarketType as li, type GeocoderType as lj, type AddressType as lk, type AdyenGatewayType as ll, type ApplicationType as lm, type AxerveGatewayType as ln, type BingGeocoderType as lo, type BraintreeGatewayType as lp, type CheckoutComGatewayType as lq, type CleanupType as lr, type CustomerPasswordResetType as ls, type EasypostPickupType as lt, type ExportType as lu, type ExternalGatewayType as lv, type GoogleGeocoderType as lw, type ImportType as lx, type InStockSubscriptionType as ly, type KlarnaGatewayType as lz, type QueryPageSize as m, type QueryParamsList as n, type QueryParams as o, type ResourceId as p, type Resource as q, type ResourceCreate as r, type ResourceUpdate as s, type ListMeta as t, type ResourceRel as u, ApiSingleton as v, type ResourcesConfig as w, type ResourcesInitConfig as x, ResourceAdapter as y, type ResourceSort as z };
17159
+ export { instance$1F as $, instance$i as A, instance$1P as B, type CreatableResourceType as C, type DeletableResourceType as D, instance$h as E, instance$g as F, instance$1O as G, instance$1i as H, instance$12 as I, instance$1y as J, instance$M as K, type ListableResourceType as L, instance$f as M, instance$1N as N, instance$e as O, instance$13 as P, instance$1c as Q, type ResourceId as R, instance$1b as S, type TaggableResourceType as T, type UpdatableResourceType as U, type VersionableResourceType as V, instance$15 as W, instance$1U as X, instance$1Y as Y, instance$d as Z, instance$1G as _, type ResourceType as a, instance$1t as a$, instance$U as a0, instance$1q as a1, instance$1d as a2, instance$1e as a3, instance$c as a4, instance$1X as a5, instance$1V as a6, instance$b as a7, instance$a as a8, instance$1M as a9, instance$$ as aA, instance$S as aB, instance$X as aC, instance$Y as aD, instance$V as aE, instance$R as aF, instance$4 as aG, instance$Q as aH, instance$P as aI, instance$O as aJ, instance$1T as aK, instance$1R as aL, instance$T as aM, instance$3 as aN, instance$1K as aO, instance$_ as aP, instance$N as aQ, instance$E as aR, instance$C as aS, instance$B as aT, instance$G as aU, instance$F as aV, instance$D as aW, instance$17 as aX, instance$z as aY, instance$W as aZ, instance$1z as a_, instance$1a as aa, instance$r as ab, instance$19 as ac, instance$16 as ad, instance$18 as ae, instance$14 as af, instance$10 as ag, instance$m as ah, instance$1h as ai, instance$1g as aj, instance$9 as ak, instance$8 as al, instance$7 as am, instance$1_ as an, instance$1$ as ao, instance$1Z as ap, instance$6 as aq, instance$1L as ar, instance$1C as as, instance$Z as at, instance$1k as au, instance$5 as av, instance$s as aw, instance$n as ax, instance$o as ay, instance$1m as az, type Resource as b, type ResourceFilter as b$, instance$1x as b0, instance$1v as b1, instance$1w as b2, instance$2 as b3, instance$1J as b4, instance$L as b5, instance$20 as b6, instance$1p as b7, instance$1n as b8, instance$1o as b9, instance$1W as bA, instance$1H as bB, generateQueryStringParams as bC, isParamsList as bD, generateSearchString as bE, type QueryInclude as bF, type QueryArrayFields as bG, type QueryRecordFields as bH, type QueryFields as bI, type QueryParamsRetrieve as bJ, type QueryArraySortable as bK, type QueryRecordSortable as bL, type QuerySort as bM, type QueryFilter as bN, type QueryPageNumber as bO, type QueryPageSize as bP, type QueryParamsList as bQ, type QueryParams as bR, type Metadata as bS, ListResponse as bT, type ListMeta as bU, type ResourceRel as bV, ApiResource as bW, ApiSingleton as bX, type ResourcesConfig as bY, ResourceAdapter as bZ, type ResourceSort as b_, instance$1r as ba, instance$1l as bb, instance$11 as bc, instance$1j as bd, instance$1D as be, instance$H as bf, instance$I as bg, instance$1u as bh, instance$J as bi, instance$1s as bj, instance$K as bk, instance$1S as bl, instance$1 as bm, instance$1I as bn, instance$w as bo, instance$1E as bp, instance$22 as bq, instance as br, instance$y as bs, instance$q as bt, instance$t as bu, instance$u as bv, instance$A as bw, instance$21 as bx, instance$v as by, instance$1B as bz, type ResourceCreate as c, type CarrierAccountUpdate as c$, ApiResourceAdapter as c0, type Address as c1, type AddressCreate as c2, type AddressUpdate as c3, type AddressSort as c4, type Adjustment as c5, type AdjustmentCreate as c6, type AdjustmentUpdate as c7, type AdjustmentSort as c8, type AdyenGateway as c9, type AxervePaymentUpdate as cA, type AxervePaymentSort as cB, type BingGeocoder as cC, type BingGeocoderCreate as cD, type BingGeocoderUpdate as cE, type BingGeocoderSort as cF, type BraintreeGateway as cG, type BraintreeGatewayCreate as cH, type BraintreeGatewayUpdate as cI, type BraintreeGatewaySort as cJ, type BraintreePayment as cK, type BraintreePaymentCreate as cL, type BraintreePaymentUpdate as cM, type BraintreePaymentSort as cN, type Bundle as cO, type BundleCreate as cP, type BundleUpdate as cQ, type BundleSort as cR, type BuyXPayYPromotion as cS, type BuyXPayYPromotionCreate as cT, type BuyXPayYPromotionUpdate as cU, type BuyXPayYPromotionSort as cV, type Capture as cW, type CaptureUpdate as cX, type CaptureSort as cY, type CarrierAccount as cZ, type CarrierAccountCreate as c_, type AdyenGatewayCreate as ca, type AdyenGatewayUpdate as cb, type AdyenGatewaySort as cc, type AdyenPayment as cd, type AdyenPaymentCreate as ce, type AdyenPaymentUpdate as cf, type AdyenPaymentSort as cg, type Application as ch, type ApplicationSort as ci, type Attachment as cj, type AttachmentCreate as ck, type AttachmentUpdate as cl, type AttachmentSort as cm, type Authorization as cn, type AuthorizationUpdate as co, type AuthorizationSort as cp, type AvalaraAccount as cq, type AvalaraAccountCreate as cr, type AvalaraAccountUpdate as cs, type AvalaraAccountSort as ct, type AxerveGateway as cu, type AxerveGatewayCreate as cv, type AxerveGatewayUpdate as cw, type AxerveGatewaySort as cx, type AxervePayment as cy, type AxervePaymentCreate as cz, type ResourceUpdate as d, type EasypostPickupCreate as d$, type CarrierAccountSort as d0, type CheckoutComGateway as d1, type CheckoutComGatewayCreate as d2, type CheckoutComGatewayUpdate as d3, type CheckoutComGatewaySort as d4, type CheckoutComPayment as d5, type CheckoutComPaymentCreate as d6, type CheckoutComPaymentUpdate as d7, type CheckoutComPaymentSort as d8, type Cleanup as d9, type CustomerGroupUpdate as dA, type CustomerGroupSort as dB, type CustomerPasswordReset as dC, type CustomerPasswordResetCreate as dD, type CustomerPasswordResetUpdate as dE, type CustomerPasswordResetSort as dF, type CustomerPaymentSource as dG, type CustomerPaymentSourceCreate as dH, type CustomerPaymentSourceUpdate as dI, type CustomerPaymentSourceSort as dJ, type CustomerSubscription as dK, type CustomerSubscriptionCreate as dL, type CustomerSubscriptionUpdate as dM, type CustomerSubscriptionSort as dN, type Customer as dO, type CustomerCreate as dP, type CustomerUpdate as dQ, type CustomerSort as dR, type DeliveryLeadTime as dS, type DeliveryLeadTimeCreate as dT, type DeliveryLeadTimeUpdate as dU, type DeliveryLeadTimeSort as dV, type DiscountEngineItem as dW, type DiscountEngineItemSort as dX, type DiscountEngine as dY, type DiscountEngineSort as dZ, type EasypostPickup as d_, type CleanupCreate as da, type CleanupUpdate as db, type CleanupSort as dc, type CouponCodesPromotionRule as dd, type CouponCodesPromotionRuleCreate as de, type CouponCodesPromotionRuleUpdate as df, type CouponCodesPromotionRuleSort as dg, type CouponRecipient as dh, type CouponRecipientCreate as di, type CouponRecipientUpdate as dj, type CouponRecipientSort as dk, type Coupon as dl, type CouponCreate as dm, type CouponUpdate as dn, type CouponSort as dp, type CustomPromotionRule as dq, type CustomPromotionRuleCreate as dr, type CustomPromotionRuleUpdate as ds, type CustomPromotionRuleSort as dt, type CustomerAddress as du, type CustomerAddressCreate as dv, type CustomerAddressUpdate as dw, type CustomerAddressSort as dx, type CustomerGroup as dy, type CustomerGroupCreate as dz, type ResourcesInitConfig as e, type ImportUpdate as e$, type EasypostPickupUpdate as e0, type EasypostPickupSort as e1, type EventCallback as e2, type EventCallbackSort as e3, type Event as e4, type EventUpdate as e5, type EventSort as e6, type Export as e7, type ExportCreate as e8, type ExportUpdate as e9, type FlexPromotionCreate as eA, type FlexPromotionUpdate as eB, type FlexPromotionSort as eC, type FreeGiftPromotion as eD, type FreeGiftPromotionCreate as eE, type FreeGiftPromotionUpdate as eF, type FreeGiftPromotionSort as eG, type FreeShippingPromotion as eH, type FreeShippingPromotionCreate as eI, type FreeShippingPromotionUpdate as eJ, type FreeShippingPromotionSort as eK, type Geocoder as eL, type GeocoderSort as eM, type GiftCardRecipient as eN, type GiftCardRecipientCreate as eO, type GiftCardRecipientUpdate as eP, type GiftCardRecipientSort as eQ, type GiftCard as eR, type GiftCardCreate as eS, type GiftCardUpdate as eT, type GiftCardSort as eU, type GoogleGeocoder as eV, type GoogleGeocoderCreate as eW, type GoogleGeocoderUpdate as eX, type GoogleGeocoderSort as eY, type Import as eZ, type ImportCreate as e_, type ExportSort as ea, type ExternalGateway as eb, type ExternalGatewayCreate as ec, type ExternalGatewayUpdate as ed, type ExternalGatewaySort as ee, type ExternalPayment as ef, type ExternalPaymentCreate as eg, type ExternalPaymentUpdate as eh, type ExternalPaymentSort as ei, type ExternalPromotion as ej, type ExternalPromotionCreate as ek, type ExternalPromotionUpdate as el, type ExternalPromotionSort as em, type ExternalTaxCalculator as en, type ExternalTaxCalculatorCreate as eo, type ExternalTaxCalculatorUpdate as ep, type ExternalTaxCalculatorSort as eq, type FixedAmountPromotion as er, type FixedAmountPromotionCreate as es, type FixedAmountPromotionUpdate as et, type FixedAmountPromotionSort as eu, type FixedPricePromotion as ev, type FixedPricePromotionCreate as ew, type FixedPricePromotionUpdate as ex, type FixedPricePromotionSort as ey, type FlexPromotion as ez, type ResourceTypeLock as f, type OrderCopyUpdate as f$, type ImportSort as f0, type InStockSubscription as f1, type InStockSubscriptionCreate as f2, type InStockSubscriptionUpdate as f3, type InStockSubscriptionSort as f4, type InventoryModel as f5, type InventoryModelCreate as f6, type InventoryModelUpdate as f7, type InventoryModelSort as f8, type InventoryReturnLocation as f9, type LinkSort as fA, type ManualGateway as fB, type ManualGatewayCreate as fC, type ManualGatewayUpdate as fD, type ManualGatewaySort as fE, type ManualTaxCalculator as fF, type ManualTaxCalculatorCreate as fG, type ManualTaxCalculatorUpdate as fH, type ManualTaxCalculatorSort as fI, type Market as fJ, type MarketCreate as fK, type MarketUpdate as fL, type MarketSort as fM, type Merchant as fN, type MerchantCreate as fO, type MerchantUpdate as fP, type MerchantSort as fQ, type Notification as fR, type NotificationCreate as fS, type NotificationUpdate as fT, type NotificationSort as fU, type OrderAmountPromotionRule as fV, type OrderAmountPromotionRuleCreate as fW, type OrderAmountPromotionRuleUpdate as fX, type OrderAmountPromotionRuleSort as fY, type OrderCopy as fZ, type OrderCopyCreate as f_, type InventoryReturnLocationCreate as fa, type InventoryReturnLocationUpdate as fb, type InventoryReturnLocationSort as fc, type InventoryStockLocation as fd, type InventoryStockLocationCreate as fe, type InventoryStockLocationUpdate as ff, type InventoryStockLocationSort as fg, type KlarnaGateway as fh, type KlarnaGatewayCreate as fi, type KlarnaGatewayUpdate as fj, type KlarnaGatewaySort as fk, type KlarnaPayment as fl, type KlarnaPaymentCreate as fm, type KlarnaPaymentUpdate as fn, type KlarnaPaymentSort as fo, type LineItemOption as fp, type LineItemOptionCreate as fq, type LineItemOptionUpdate as fr, type LineItemOptionSort as fs, type LineItem as ft, type LineItemCreate as fu, type LineItemUpdate as fv, type LineItemSort as fw, type Link as fx, type LinkCreate as fy, type LinkUpdate as fz, type RetrievableResourceType as g, type PriceListUpdate as g$, type OrderCopySort as g0, type OrderFactory as g1, type OrderFactorySort as g2, type OrderSubscriptionItem as g3, type OrderSubscriptionItemCreate as g4, type OrderSubscriptionItemUpdate as g5, type OrderSubscriptionItemSort as g6, type OrderSubscription as g7, type OrderSubscriptionCreate as g8, type OrderSubscriptionUpdate as g9, type PaymentOptionCreate as gA, type PaymentOptionUpdate as gB, type PaymentOptionSort as gC, type PaypalGateway as gD, type PaypalGatewayCreate as gE, type PaypalGatewayUpdate as gF, type PaypalGatewaySort as gG, type PaypalPayment as gH, type PaypalPaymentCreate as gI, type PaypalPaymentUpdate as gJ, type PaypalPaymentSort as gK, type PercentageDiscountPromotion as gL, type PercentageDiscountPromotionCreate as gM, type PercentageDiscountPromotionUpdate as gN, type PercentageDiscountPromotionSort as gO, type Pickup as gP, type PickupSort as gQ, type PriceFrequencyTier as gR, type PriceFrequencyTierCreate as gS, type PriceFrequencyTierUpdate as gT, type PriceFrequencyTierSort as gU, type PriceListScheduler as gV, type PriceListSchedulerCreate as gW, type PriceListSchedulerUpdate as gX, type PriceListSchedulerSort as gY, type PriceList as gZ, type PriceListCreate as g_, type OrderSubscriptionSort as ga, type Order as gb, type OrderCreate as gc, type OrderUpdate as gd, type OrderSort as ge, type Organization as gf, type OrganizationSort as gg, type Package as gh, type PackageCreate as gi, type PackageUpdate as gj, type PackageSort as gk, type ParcelLineItem as gl, type ParcelLineItemCreate as gm, type ParcelLineItemUpdate as gn, type ParcelLineItemSort as go, type Parcel as gp, type ParcelCreate as gq, type ParcelUpdate as gr, type ParcelSort as gs, type PaymentGateway as gt, type PaymentGatewaySort as gu, type PaymentMethod as gv, type PaymentMethodCreate as gw, type PaymentMethodUpdate as gx, type PaymentMethodSort as gy, type PaymentOption as gz, type RetrievableResource as h, type ShippingZoneSort as h$, type PriceListSort as h0, type PriceTier as h1, type PriceTierSort as h2, type PriceVolumeTier as h3, type PriceVolumeTierCreate as h4, type PriceVolumeTierUpdate as h5, type PriceVolumeTierSort as h6, type Price as h7, type PriceCreate as h8, type PriceUpdate as h9, type SatispayGatewayUpdate as hA, type SatispayGatewaySort as hB, type SatispayPayment as hC, type SatispayPaymentCreate as hD, type SatispayPaymentUpdate as hE, type SatispayPaymentSort as hF, type Shipment as hG, type ShipmentCreate as hH, type ShipmentUpdate as hI, type ShipmentSort as hJ, type ShippingCategory as hK, type ShippingCategoryCreate as hL, type ShippingCategoryUpdate as hM, type ShippingCategorySort as hN, type ShippingMethodTier as hO, type ShippingMethodTierSort as hP, type ShippingMethod as hQ, type ShippingMethodCreate as hR, type ShippingMethodUpdate as hS, type ShippingMethodSort as hT, type ShippingWeightTier as hU, type ShippingWeightTierCreate as hV, type ShippingWeightTierUpdate as hW, type ShippingWeightTierSort as hX, type ShippingZone as hY, type ShippingZoneCreate as hZ, type ShippingZoneUpdate as h_, type PriceSort as ha, type PromotionRule as hb, type PromotionRuleSort as hc, type Promotion as hd, type PromotionSort as he, type RecurringOrderCopy as hf, type RecurringOrderCopyCreate as hg, type RecurringOrderCopyUpdate as hh, type RecurringOrderCopySort as hi, type Refund as hj, type RefundUpdate as hk, type RefundSort as hl, type ReservedStock as hm, type ReservedStockSort as hn, type ResourceError as ho, type ResourceErrorSort as hp, type ReturnLineItem as hq, type ReturnLineItemCreate as hr, type ReturnLineItemUpdate as hs, type ReturnLineItemSort as ht, type Return as hu, type ReturnCreate as hv, type ReturnUpdate as hw, type ReturnSort as hx, type SatispayGateway as hy, type SatispayGatewayCreate as hz, type ListableResource as i, type TagCreate as i$, type SkuListItem as i0, type SkuListItemCreate as i1, type SkuListItemUpdate as i2, type SkuListItemSort as i3, type SkuListPromotionRule as i4, type SkuListPromotionRuleCreate as i5, type SkuListPromotionRuleUpdate as i6, type SkuListPromotionRuleSort as i7, type SkuList as i8, type SkuListCreate as i9, type StockReservationUpdate as iA, type StockReservationSort as iB, type StockTransfer as iC, type StockTransferCreate as iD, type StockTransferUpdate as iE, type StockTransferSort as iF, type Store as iG, type StoreCreate as iH, type StoreUpdate as iI, type StoreSort as iJ, type StripeGateway as iK, type StripeGatewayCreate as iL, type StripeGatewayUpdate as iM, type StripeGatewaySort as iN, type StripePayment as iO, type StripePaymentCreate as iP, type StripePaymentUpdate as iQ, type StripePaymentSort as iR, type StripeTaxAccount as iS, type StripeTaxAccountCreate as iT, type StripeTaxAccountUpdate as iU, type StripeTaxAccountSort as iV, type SubscriptionModel as iW, type SubscriptionModelCreate as iX, type SubscriptionModelUpdate as iY, type SubscriptionModelSort as iZ, type Tag as i_, type SkuListUpdate as ia, type SkuListSort as ib, type SkuOption as ic, type SkuOptionCreate as id, type SkuOptionUpdate as ie, type SkuOptionSort as ig, type Sku as ih, type SkuCreate as ii, type SkuUpdate as ij, type SkuSort as ik, type StockItem as il, type StockItemCreate as im, type StockItemUpdate as io, type StockItemSort as ip, type StockLineItem as iq, type StockLineItemCreate as ir, type StockLineItemUpdate as is, type StockLineItemSort as it, type StockLocation as iu, type StockLocationCreate as iv, type StockLocationUpdate as iw, type StockLocationSort as ix, type StockReservation as iy, type StockReservationCreate as iz, type CreatableResource as j, type CustomerPaymentSourceType as j$, type TagUpdate as j0, type TagSort as j1, type TalonOneAccount as j2, type TalonOneAccountCreate as j3, type TalonOneAccountUpdate as j4, type TalonOneAccountSort as j5, type TaxCalculator as j6, type TaxCalculatorSort as j7, type TaxCategory as j8, type TaxCategoryCreate as j9, type WireTransferCreate as jA, type WireTransferUpdate as jB, type WireTransferSort as jC, type TagType as jD, type VersionType as jE, type ShippingCategoryType as jF, type InventoryReturnLocationType as jG, type InventoryModelType as jH, type InventoryStockLocationType as jI, type CustomerGroupType as jJ, type EventCallbackType as jK, type WebhookType as jL, type EventType as jM, type CustomerAddressType as jN, type PaymentGatewayType as jO, type StoreType as jP, type PaymentMethodType as jQ, type AdyenPaymentType as jR, type AxervePaymentType as jS, type BraintreePaymentType as jT, type CheckoutComPaymentType as jU, type ExternalPaymentType as jV, type KlarnaPaymentType as jW, type PaypalPaymentType as jX, type SatispayPaymentType as jY, type StripePaymentType as jZ, type WireTransferType as j_, type TaxCategoryUpdate as ja, type TaxCategorySort as jb, type TaxRule as jc, type TaxRuleCreate as jd, type TaxRuleUpdate as je, type TaxRuleSort as jf, type TaxjarAccount as jg, type TaxjarAccountCreate as jh, type TaxjarAccountUpdate as ji, type TaxjarAccountSort as jj, type Transaction as jk, type TransactionSort as jl, type Version as jm, type VersionSort as jn, type VertexAccount as jo, type VertexAccountCreate as jp, type VertexAccountUpdate as jq, type VertexAccountSort as jr, type Void as js, type VoidUpdate as jt, type VoidSort as ju, type Webhook as jv, type WebhookCreate as jw, type WebhookUpdate as jx, type WebhookSort as jy, type WireTransfer as jz, type UpdatableResource as k, type PriceTierType as k$, type CustomerSubscriptionType as k0, type SubscriptionModelType as k1, type SkuOptionType as k2, type LineItemOptionType as k3, type VoidType as k4, type AuthorizationType as k5, type RefundType as k6, type CaptureType as k7, type ResourceErrorType as k8, type ReturnType as k9, type CustomPromotionRuleType as kA, type FreeGiftPromotionType as kB, type CouponCodesPromotionRuleType as kC, type BuyXPayYPromotionType as kD, type SkuListPromotionRuleType as kE, type FreeShippingPromotionType as kF, type OrderAmountPromotionRuleType as kG, type PercentageDiscountPromotionType as kH, type LineItemType as kI, type OrderSubscriptionItemType as kJ, type OrderFactoryType as kK, type RecurringOrderCopyType as kL, type OrderSubscriptionType as kM, type CustomerType as kN, type PaymentOptionType as kO, type OrderCopyType as kP, type OrderType as kQ, type PackageType as kR, type ParcelLineItemType as kS, type ParcelType as kT, type PickupType as kU, type CarrierAccountType as kV, type ShipmentType as kW, type StockTransferType as kX, type StockLocationType as kY, type StockItemType as kZ, type SkuType as k_, type ReturnLineItemType as ka, type StockLineItemType as kb, type ReservedStockType as kc, type StockReservationType as kd, type ShippingZoneType as ke, type DeliveryLeadTimeType as kf, type ShippingMethodTierType as kg, type ShippingWeightTierType as kh, type ShippingMethodType as ki, type NotificationType as kj, type SkuListItemType as kk, type LinkType as kl, type SkuListType as km, type BundleType as kn, type GiftCardRecipientType as ko, type GiftCardType as kp, type AdjustmentType as kq, type DiscountEngineType as kr, type DiscountEngineItemType as ks, type CouponRecipientType as kt, type CouponType as ku, type ExternalPromotionType as kv, type FixedAmountPromotionType as kw, type FlexPromotionType as kx, type PromotionRuleType as ky, type FixedPricePromotionType as kz, type DeletableResource as l, type PriceVolumeTierType as l0, type PriceFrequencyTierType as l1, type PriceType as l2, type PriceListSchedulerType as l3, type PriceListType as l4, type TransactionType as l5, type PromotionType as l6, type TaxCalculatorType as l7, type AvalaraAccountType as l8, type StripeTaxAccountType as l9, type ManualGatewayType as lA, type OrganizationType as lB, type PaypalGatewayType as lC, type SatispayGatewayType as lD, type StripeGatewayType as lE, type TalonOneAccountType as lF, type VertexAccountType as la, type TaxjarAccountType as lb, type TaxRuleType as lc, type ManualTaxCalculatorType as ld, type ExternalTaxCalculatorType as le, type TaxCategoryType as lf, type AttachmentType as lg, type MerchantType as lh, type MarketType as li, type GeocoderType as lj, type AddressType as lk, type AdyenGatewayType as ll, type ApplicationType as lm, type AxerveGatewayType as ln, type BingGeocoderType as lo, type BraintreeGatewayType as lp, type CheckoutComGatewayType as lq, type CleanupType as lr, type CustomerPasswordResetType as ls, type EasypostPickupType as lt, type ExportType as lu, type ExternalGatewayType as lv, type GoogleGeocoderType as lw, type ImportType as lx, type InStockSubscriptionType as ly, type KlarnaGatewayType as lz, type TaggableResource as m, type VersionableResource as n, type ResourceFields as o, type ResourceSortFields as p, instance$l as q, resourceList as r, singletonList as s, instance$1f as t, instance$k as u, instance$1Q as v, instance$j as w, instance$p as x, instance$1A as y, instance$x as z };