@commercelayer/sdk 8.0.3 → 8.0.4

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 (1637) hide show
  1. package/lib/addresses-BDxOCc8M.d.cts +23330 -0
  2. package/lib/addresses-BDxOCc8M.d.ts +23330 -0
  3. package/lib/api-CaxrMD1A.d.cts +1 -0
  4. package/lib/api-CaxrMD1A.d.ts +1 -0
  5. package/lib/api.cjs +305 -771
  6. package/lib/api.d.cts +3 -1
  7. package/lib/api.d.ts +3 -1
  8. package/lib/api.js +154 -159
  9. package/lib/binding.cjs +18 -12
  10. package/lib/binding.d.cts +2 -20
  11. package/lib/binding.d.ts +2 -20
  12. package/lib/binding.js +19 -5
  13. package/lib/bundle-compat.cjs +9 -168
  14. package/lib/bundle-compat.d.cts +2 -10
  15. package/lib/bundle-compat.d.ts +2 -8
  16. package/lib/bundle-compat.js +8 -164
  17. package/lib/bundle.cjs +784 -174
  18. package/lib/bundle.d.cts +159 -165
  19. package/lib/bundle.d.ts +159 -163
  20. package/lib/bundle.js +784 -161
  21. package/lib/commercelayer-BlTm8XHu.d.cts +52 -0
  22. package/lib/commercelayer-DkhJ6Zfv.d.ts +52 -0
  23. package/lib/commercelayer.cjs +110 -36
  24. package/lib/commercelayer.d.cts +3 -57
  25. package/lib/commercelayer.d.ts +3 -55
  26. package/lib/commercelayer.js +106 -7
  27. package/lib/enum.cjs +603 -59
  28. package/lib/enum.d.cts +2 -1
  29. package/lib/enum.d.ts +2 -1
  30. package/lib/enum.js +591 -3
  31. package/lib/error-DryElXEG.d.cts +32 -0
  32. package/lib/error-DryElXEG.d.ts +32 -0
  33. package/lib/index.cjs +16 -189
  34. package/lib/index.d.cts +7 -12
  35. package/lib/index.d.ts +7 -10
  36. package/lib/index.js +10 -166
  37. package/lib/model.cjs +1 -4
  38. package/lib/model.d.cts +2 -1
  39. package/lib/model.d.ts +2 -1
  40. package/lib/model.js +1 -3
  41. package/lib/resource-CbxQRWvD.js +856 -0
  42. package/lib/resource-DBb7ztgQ.cjs +897 -0
  43. package/lib/resources/addresses.cjs +68 -13
  44. package/lib/resources/addresses.d.cts +2 -4
  45. package/lib/resources/addresses.d.ts +2 -1
  46. package/lib/resources/addresses.js +69 -7
  47. package/lib/resources/adjustments.cjs +42 -13
  48. package/lib/resources/adjustments.d.cts +2 -4
  49. package/lib/resources/adjustments.d.ts +2 -1
  50. package/lib/resources/adjustments.js +43 -7
  51. package/lib/resources/adyen_gateways.cjs +86 -13
  52. package/lib/resources/adyen_gateways.d.cts +2 -4
  53. package/lib/resources/adyen_gateways.d.ts +2 -1
  54. package/lib/resources/adyen_gateways.js +87 -7
  55. package/lib/resources/adyen_payments.cjs +72 -13
  56. package/lib/resources/adyen_payments.d.cts +2 -4
  57. package/lib/resources/adyen_payments.d.ts +2 -1
  58. package/lib/resources/adyen_payments.js +73 -7
  59. package/lib/resources/applications.cjs +23 -13
  60. package/lib/resources/applications.d.cts +2 -4
  61. package/lib/resources/applications.d.ts +2 -1
  62. package/lib/resources/applications.js +24 -7
  63. package/lib/resources/attachments.cjs +42 -13
  64. package/lib/resources/attachments.d.cts +2 -4
  65. package/lib/resources/attachments.d.ts +2 -1
  66. package/lib/resources/attachments.js +43 -7
  67. package/lib/resources/authorizations.cjs +86 -13
  68. package/lib/resources/authorizations.d.cts +2 -4
  69. package/lib/resources/authorizations.d.ts +2 -1
  70. package/lib/resources/authorizations.js +87 -7
  71. package/lib/resources/avalara_accounts.cjs +58 -13
  72. package/lib/resources/avalara_accounts.d.cts +2 -4
  73. package/lib/resources/avalara_accounts.d.ts +2 -1
  74. package/lib/resources/avalara_accounts.js +59 -7
  75. package/lib/resources/axerve_gateways.cjs +65 -13
  76. package/lib/resources/axerve_gateways.d.cts +2 -4
  77. package/lib/resources/axerve_gateways.d.ts +2 -1
  78. package/lib/resources/axerve_gateways.js +66 -7
  79. package/lib/resources/axerve_payments.cjs +58 -13
  80. package/lib/resources/axerve_payments.d.cts +2 -4
  81. package/lib/resources/axerve_payments.d.ts +2 -1
  82. package/lib/resources/axerve_payments.js +59 -7
  83. package/lib/resources/billing_info_validation_rules.cjs +51 -13
  84. package/lib/resources/billing_info_validation_rules.d.cts +2 -4
  85. package/lib/resources/billing_info_validation_rules.d.ts +2 -1
  86. package/lib/resources/billing_info_validation_rules.js +52 -7
  87. package/lib/resources/bing_geocoders.cjs +54 -13
  88. package/lib/resources/bing_geocoders.d.cts +2 -4
  89. package/lib/resources/bing_geocoders.d.ts +2 -1
  90. package/lib/resources/bing_geocoders.js +55 -7
  91. package/lib/resources/braintree_gateways.cjs +72 -13
  92. package/lib/resources/braintree_gateways.d.cts +2 -4
  93. package/lib/resources/braintree_gateways.d.ts +2 -1
  94. package/lib/resources/braintree_gateways.js +73 -7
  95. package/lib/resources/braintree_payments.cjs +51 -13
  96. package/lib/resources/braintree_payments.d.cts +2 -4
  97. package/lib/resources/braintree_payments.d.ts +2 -1
  98. package/lib/resources/braintree_payments.js +52 -7
  99. package/lib/resources/bundles.cjs +94 -13
  100. package/lib/resources/bundles.d.cts +2 -4
  101. package/lib/resources/bundles.d.ts +2 -1
  102. package/lib/resources/bundles.js +95 -7
  103. package/lib/resources/buy_x_pay_y_promotions.cjs +114 -13
  104. package/lib/resources/buy_x_pay_y_promotions.d.cts +2 -4
  105. package/lib/resources/buy_x_pay_y_promotions.d.ts +2 -1
  106. package/lib/resources/buy_x_pay_y_promotions.js +115 -7
  107. package/lib/resources/captures.cjs +83 -13
  108. package/lib/resources/captures.d.cts +2 -4
  109. package/lib/resources/captures.d.ts +2 -1
  110. package/lib/resources/captures.js +84 -7
  111. package/lib/resources/carrier_accounts.cjs +50 -13
  112. package/lib/resources/carrier_accounts.d.cts +2 -4
  113. package/lib/resources/carrier_accounts.d.ts +2 -1
  114. package/lib/resources/carrier_accounts.js +51 -7
  115. package/lib/resources/checkout_com_gateways.cjs +86 -13
  116. package/lib/resources/checkout_com_gateways.d.cts +2 -4
  117. package/lib/resources/checkout_com_gateways.d.ts +2 -1
  118. package/lib/resources/checkout_com_gateways.js +87 -7
  119. package/lib/resources/checkout_com_payments.cjs +72 -13
  120. package/lib/resources/checkout_com_payments.d.cts +2 -4
  121. package/lib/resources/checkout_com_payments.d.ts +2 -1
  122. package/lib/resources/checkout_com_payments.js +73 -7
  123. package/lib/resources/cleanups.cjs +53 -13
  124. package/lib/resources/cleanups.d.cts +2 -4
  125. package/lib/resources/cleanups.d.ts +2 -1
  126. package/lib/resources/cleanups.js +54 -7
  127. package/lib/resources/coupon_codes_promotion_rules.cjs +46 -13
  128. package/lib/resources/coupon_codes_promotion_rules.d.cts +2 -4
  129. package/lib/resources/coupon_codes_promotion_rules.d.ts +2 -1
  130. package/lib/resources/coupon_codes_promotion_rules.js +47 -7
  131. package/lib/resources/coupon_recipients.cjs +50 -13
  132. package/lib/resources/coupon_recipients.d.cts +2 -4
  133. package/lib/resources/coupon_recipients.d.ts +2 -1
  134. package/lib/resources/coupon_recipients.js +51 -7
  135. package/lib/resources/coupons.cjs +72 -13
  136. package/lib/resources/coupons.d.cts +2 -4
  137. package/lib/resources/coupons.d.ts +2 -1
  138. package/lib/resources/coupons.js +73 -7
  139. package/lib/resources/custom_promotion_rules.cjs +42 -13
  140. package/lib/resources/custom_promotion_rules.d.cts +2 -4
  141. package/lib/resources/custom_promotion_rules.d.ts +2 -1
  142. package/lib/resources/custom_promotion_rules.js +43 -7
  143. package/lib/resources/customer_addresses.cjs +54 -13
  144. package/lib/resources/customer_addresses.d.cts +2 -4
  145. package/lib/resources/customer_addresses.d.ts +2 -1
  146. package/lib/resources/customer_addresses.js +55 -7
  147. package/lib/resources/customer_groups.cjs +54 -13
  148. package/lib/resources/customer_groups.d.cts +2 -4
  149. package/lib/resources/customer_groups.d.ts +2 -1
  150. package/lib/resources/customer_groups.js +55 -7
  151. package/lib/resources/customer_password_resets.cjs +57 -13
  152. package/lib/resources/customer_password_resets.d.cts +2 -4
  153. package/lib/resources/customer_password_resets.d.ts +2 -1
  154. package/lib/resources/customer_password_resets.js +58 -7
  155. package/lib/resources/customer_payment_sources.cjs +51 -13
  156. package/lib/resources/customer_payment_sources.d.cts +2 -4
  157. package/lib/resources/customer_payment_sources.d.ts +2 -1
  158. package/lib/resources/customer_payment_sources.js +52 -7
  159. package/lib/resources/customer_subscriptions.cjs +50 -13
  160. package/lib/resources/customer_subscriptions.d.cts +2 -4
  161. package/lib/resources/customer_subscriptions.d.ts +2 -1
  162. package/lib/resources/customer_subscriptions.js +51 -7
  163. package/lib/resources/customers.cjs +146 -13
  164. package/lib/resources/customers.d.cts +2 -4
  165. package/lib/resources/customers.d.ts +2 -1
  166. package/lib/resources/customers.js +147 -7
  167. package/lib/resources/delivery_lead_times.cjs +54 -13
  168. package/lib/resources/delivery_lead_times.d.cts +2 -4
  169. package/lib/resources/delivery_lead_times.d.ts +2 -1
  170. package/lib/resources/delivery_lead_times.js +55 -7
  171. package/lib/resources/discount_engine_items.cjs +32 -13
  172. package/lib/resources/discount_engine_items.d.cts +2 -4
  173. package/lib/resources/discount_engine_items.d.ts +2 -1
  174. package/lib/resources/discount_engine_items.js +33 -7
  175. package/lib/resources/discount_engines.cjs +36 -13
  176. package/lib/resources/discount_engines.d.cts +2 -4
  177. package/lib/resources/discount_engines.d.ts +2 -1
  178. package/lib/resources/discount_engines.js +37 -7
  179. package/lib/resources/easypost_pickups.cjs +61 -13
  180. package/lib/resources/easypost_pickups.d.cts +2 -4
  181. package/lib/resources/easypost_pickups.d.ts +2 -1
  182. package/lib/resources/easypost_pickups.js +62 -7
  183. package/lib/resources/event_callbacks.cjs +28 -13
  184. package/lib/resources/event_callbacks.d.cts +2 -4
  185. package/lib/resources/event_callbacks.d.ts +2 -1
  186. package/lib/resources/event_callbacks.js +29 -7
  187. package/lib/resources/event_stores.cjs +20 -13
  188. package/lib/resources/event_stores.d.cts +2 -4
  189. package/lib/resources/event_stores.d.ts +2 -1
  190. package/lib/resources/event_stores.js +21 -7
  191. package/lib/resources/events.cjs +45 -13
  192. package/lib/resources/events.d.cts +2 -4
  193. package/lib/resources/events.d.ts +2 -1
  194. package/lib/resources/events.js +46 -7
  195. package/lib/resources/exports.cjs +60 -13
  196. package/lib/resources/exports.d.cts +2 -4
  197. package/lib/resources/exports.d.ts +2 -1
  198. package/lib/resources/exports.js +61 -7
  199. package/lib/resources/external_gateways.cjs +79 -13
  200. package/lib/resources/external_gateways.d.cts +2 -4
  201. package/lib/resources/external_gateways.d.ts +2 -1
  202. package/lib/resources/external_gateways.js +80 -7
  203. package/lib/resources/external_payments.cjs +55 -13
  204. package/lib/resources/external_payments.d.cts +2 -4
  205. package/lib/resources/external_payments.d.ts +2 -1
  206. package/lib/resources/external_payments.js +56 -7
  207. package/lib/resources/external_promotions.cjs +128 -13
  208. package/lib/resources/external_promotions.d.cts +2 -4
  209. package/lib/resources/external_promotions.d.ts +2 -1
  210. package/lib/resources/external_promotions.js +129 -7
  211. package/lib/resources/external_tax_calculators.cjs +68 -13
  212. package/lib/resources/external_tax_calculators.d.cts +2 -4
  213. package/lib/resources/external_tax_calculators.d.ts +2 -1
  214. package/lib/resources/external_tax_calculators.js +69 -7
  215. package/lib/resources/fixed_amount_promotions.cjs +114 -13
  216. package/lib/resources/fixed_amount_promotions.d.cts +2 -4
  217. package/lib/resources/fixed_amount_promotions.d.ts +2 -1
  218. package/lib/resources/fixed_amount_promotions.js +115 -7
  219. package/lib/resources/fixed_price_promotions.cjs +114 -13
  220. package/lib/resources/fixed_price_promotions.d.cts +2 -4
  221. package/lib/resources/fixed_price_promotions.d.ts +2 -1
  222. package/lib/resources/fixed_price_promotions.js +115 -7
  223. package/lib/resources/flex_promotions.cjs +90 -13
  224. package/lib/resources/flex_promotions.d.cts +2 -4
  225. package/lib/resources/flex_promotions.d.ts +2 -1
  226. package/lib/resources/flex_promotions.js +91 -7
  227. package/lib/resources/free_gift_promotions.cjs +114 -13
  228. package/lib/resources/free_gift_promotions.d.cts +2 -4
  229. package/lib/resources/free_gift_promotions.d.ts +2 -1
  230. package/lib/resources/free_gift_promotions.js +115 -7
  231. package/lib/resources/free_shipping_promotions.cjs +110 -13
  232. package/lib/resources/free_shipping_promotions.d.cts +2 -4
  233. package/lib/resources/free_shipping_promotions.d.ts +2 -1
  234. package/lib/resources/free_shipping_promotions.js +111 -7
  235. package/lib/resources/geocoders.cjs +36 -13
  236. package/lib/resources/geocoders.d.cts +2 -4
  237. package/lib/resources/geocoders.d.ts +2 -1
  238. package/lib/resources/geocoders.js +37 -7
  239. package/lib/resources/gift_card_recipients.cjs +50 -13
  240. package/lib/resources/gift_card_recipients.d.cts +2 -4
  241. package/lib/resources/gift_card_recipients.d.ts +2 -1
  242. package/lib/resources/gift_card_recipients.js +51 -7
  243. package/lib/resources/gift_cards.cjs +104 -13
  244. package/lib/resources/gift_cards.d.cts +2 -4
  245. package/lib/resources/gift_cards.d.ts +2 -1
  246. package/lib/resources/gift_cards.js +105 -7
  247. package/lib/resources/google_geocoders.cjs +54 -13
  248. package/lib/resources/google_geocoders.d.cts +2 -4
  249. package/lib/resources/google_geocoders.d.ts +2 -1
  250. package/lib/resources/google_geocoders.js +55 -7
  251. package/lib/resources/imports.cjs +53 -13
  252. package/lib/resources/imports.d.cts +2 -4
  253. package/lib/resources/imports.d.ts +2 -1
  254. package/lib/resources/imports.js +54 -7
  255. package/lib/resources/in_stock_subscriptions.cjs +72 -13
  256. package/lib/resources/in_stock_subscriptions.d.cts +2 -4
  257. package/lib/resources/in_stock_subscriptions.d.ts +2 -1
  258. package/lib/resources/in_stock_subscriptions.js +73 -7
  259. package/lib/resources/inventory_models.cjs +54 -13
  260. package/lib/resources/inventory_models.d.cts +2 -4
  261. package/lib/resources/inventory_models.d.ts +2 -1
  262. package/lib/resources/inventory_models.js +55 -7
  263. package/lib/resources/inventory_return_locations.cjs +50 -13
  264. package/lib/resources/inventory_return_locations.d.cts +2 -4
  265. package/lib/resources/inventory_return_locations.d.ts +2 -1
  266. package/lib/resources/inventory_return_locations.js +51 -7
  267. package/lib/resources/inventory_stock_locations.cjs +50 -13
  268. package/lib/resources/inventory_stock_locations.d.cts +2 -4
  269. package/lib/resources/inventory_stock_locations.d.ts +2 -1
  270. package/lib/resources/inventory_stock_locations.js +51 -7
  271. package/lib/resources/klarna_gateways.cjs +65 -13
  272. package/lib/resources/klarna_gateways.d.cts +2 -4
  273. package/lib/resources/klarna_gateways.d.ts +2 -1
  274. package/lib/resources/klarna_gateways.js +66 -7
  275. package/lib/resources/klarna_payments.cjs +58 -13
  276. package/lib/resources/klarna_payments.d.cts +2 -4
  277. package/lib/resources/klarna_payments.d.ts +2 -1
  278. package/lib/resources/klarna_payments.js +59 -7
  279. package/lib/resources/line_item_options.cjs +72 -13
  280. package/lib/resources/line_item_options.d.cts +2 -4
  281. package/lib/resources/line_item_options.d.ts +2 -1
  282. package/lib/resources/line_item_options.js +73 -7
  283. package/lib/resources/line_items.cjs +134 -13
  284. package/lib/resources/line_items.d.cts +2 -4
  285. package/lib/resources/line_items.d.ts +2 -1
  286. package/lib/resources/line_items.js +135 -7
  287. package/lib/resources/links.cjs +60 -13
  288. package/lib/resources/links.d.cts +2 -4
  289. package/lib/resources/links.d.ts +2 -1
  290. package/lib/resources/links.js +61 -7
  291. package/lib/resources/manual_gateways.cjs +61 -13
  292. package/lib/resources/manual_gateways.d.cts +2 -4
  293. package/lib/resources/manual_gateways.d.ts +2 -1
  294. package/lib/resources/manual_gateways.js +62 -7
  295. package/lib/resources/manual_tax_calculators.cjs +58 -13
  296. package/lib/resources/manual_tax_calculators.d.cts +2 -4
  297. package/lib/resources/manual_tax_calculators.d.ts +2 -1
  298. package/lib/resources/manual_tax_calculators.js +59 -7
  299. package/lib/resources/markets.cjs +128 -13
  300. package/lib/resources/markets.d.cts +2 -4
  301. package/lib/resources/markets.d.ts +2 -1
  302. package/lib/resources/markets.js +129 -7
  303. package/lib/resources/merchants.cjs +50 -13
  304. package/lib/resources/merchants.d.cts +2 -4
  305. package/lib/resources/merchants.d.ts +2 -1
  306. package/lib/resources/merchants.js +51 -7
  307. package/lib/resources/notifications.cjs +42 -13
  308. package/lib/resources/notifications.d.cts +2 -4
  309. package/lib/resources/notifications.d.ts +2 -1
  310. package/lib/resources/notifications.js +43 -7
  311. package/lib/resources/order_amount_promotion_rules.cjs +42 -13
  312. package/lib/resources/order_amount_promotion_rules.d.cts +2 -4
  313. package/lib/resources/order_amount_promotion_rules.d.ts +2 -1
  314. package/lib/resources/order_amount_promotion_rules.js +43 -7
  315. package/lib/resources/order_copies.cjs +61 -13
  316. package/lib/resources/order_copies.d.cts +2 -4
  317. package/lib/resources/order_copies.d.ts +2 -1
  318. package/lib/resources/order_copies.js +62 -7
  319. package/lib/resources/order_factories.cjs +36 -13
  320. package/lib/resources/order_factories.d.cts +2 -4
  321. package/lib/resources/order_factories.d.ts +2 -1
  322. package/lib/resources/order_factories.js +37 -7
  323. package/lib/resources/order_subscription_items.cjs +50 -13
  324. package/lib/resources/order_subscription_items.d.cts +2 -4
  325. package/lib/resources/order_subscription_items.d.ts +2 -1
  326. package/lib/resources/order_subscription_items.js +51 -7
  327. package/lib/resources/order_subscriptions.cjs +153 -13
  328. package/lib/resources/order_subscriptions.d.cts +2 -4
  329. package/lib/resources/order_subscriptions.d.ts +2 -1
  330. package/lib/resources/order_subscriptions.js +154 -7
  331. package/lib/resources/order_validation_rules.cjs +33 -13
  332. package/lib/resources/order_validation_rules.d.cts +2 -4
  333. package/lib/resources/order_validation_rules.d.ts +2 -1
  334. package/lib/resources/order_validation_rules.js +34 -7
  335. package/lib/resources/orders.cjs +496 -13
  336. package/lib/resources/orders.d.cts +2 -4
  337. package/lib/resources/orders.d.ts +2 -1
  338. package/lib/resources/orders.js +497 -7
  339. package/lib/resources/organizations.cjs +27 -13
  340. package/lib/resources/organizations.d.cts +2 -4
  341. package/lib/resources/organizations.d.ts +2 -1
  342. package/lib/resources/organizations.js +28 -7
  343. package/lib/resources/packages.cjs +54 -13
  344. package/lib/resources/packages.d.cts +2 -4
  345. package/lib/resources/packages.d.ts +2 -1
  346. package/lib/resources/packages.js +55 -7
  347. package/lib/resources/parcel_line_items.cjs +57 -13
  348. package/lib/resources/parcel_line_items.d.cts +2 -4
  349. package/lib/resources/parcel_line_items.d.ts +2 -1
  350. package/lib/resources/parcel_line_items.js +58 -7
  351. package/lib/resources/parcels.cjs +62 -13
  352. package/lib/resources/parcels.d.cts +2 -4
  353. package/lib/resources/parcels.d.ts +2 -1
  354. package/lib/resources/parcels.js +63 -7
  355. package/lib/resources/payment_authorizations.cjs +74 -13
  356. package/lib/resources/payment_authorizations.d.cts +2 -4
  357. package/lib/resources/payment_authorizations.d.ts +2 -1
  358. package/lib/resources/payment_authorizations.js +75 -7
  359. package/lib/resources/payment_captures.cjs +67 -13
  360. package/lib/resources/payment_captures.d.cts +2 -4
  361. package/lib/resources/payment_captures.d.ts +2 -1
  362. package/lib/resources/payment_captures.js +68 -7
  363. package/lib/resources/payment_gateways.cjs +40 -13
  364. package/lib/resources/payment_gateways.d.cts +2 -4
  365. package/lib/resources/payment_gateways.d.ts +2 -1
  366. package/lib/resources/payment_gateways.js +41 -7
  367. package/lib/resources/payment_links.cjs +81 -13
  368. package/lib/resources/payment_links.d.cts +2 -4
  369. package/lib/resources/payment_links.d.ts +2 -1
  370. package/lib/resources/payment_links.js +82 -7
  371. package/lib/resources/payment_methods.cjs +73 -13
  372. package/lib/resources/payment_methods.d.cts +2 -4
  373. package/lib/resources/payment_methods.d.ts +2 -1
  374. package/lib/resources/payment_methods.js +74 -7
  375. package/lib/resources/payment_options.cjs +51 -13
  376. package/lib/resources/payment_options.d.cts +2 -4
  377. package/lib/resources/payment_options.d.ts +2 -1
  378. package/lib/resources/payment_options.js +52 -7
  379. package/lib/resources/payment_refunds.cjs +67 -13
  380. package/lib/resources/payment_refunds.d.cts +2 -4
  381. package/lib/resources/payment_refunds.d.ts +2 -1
  382. package/lib/resources/payment_refunds.js +68 -7
  383. package/lib/resources/payment_rules.cjs +57 -13
  384. package/lib/resources/payment_rules.d.cts +2 -4
  385. package/lib/resources/payment_rules.d.ts +2 -1
  386. package/lib/resources/payment_rules.js +58 -7
  387. package/lib/resources/payment_sessions.cjs +93 -13
  388. package/lib/resources/payment_sessions.d.cts +2 -4
  389. package/lib/resources/payment_sessions.d.ts +2 -1
  390. package/lib/resources/payment_sessions.js +94 -7
  391. package/lib/resources/payment_setting_adyens.cjs +95 -13
  392. package/lib/resources/payment_setting_adyens.d.cts +2 -4
  393. package/lib/resources/payment_setting_adyens.d.ts +2 -1
  394. package/lib/resources/payment_setting_adyens.js +96 -7
  395. package/lib/resources/payment_setting_braintrees.cjs +88 -13
  396. package/lib/resources/payment_setting_braintrees.d.cts +2 -4
  397. package/lib/resources/payment_setting_braintrees.d.ts +2 -1
  398. package/lib/resources/payment_setting_braintrees.js +89 -7
  399. package/lib/resources/payment_setting_checkout_coms.cjs +95 -13
  400. package/lib/resources/payment_setting_checkout_coms.d.cts +2 -4
  401. package/lib/resources/payment_setting_checkout_coms.d.ts +2 -1
  402. package/lib/resources/payment_setting_checkout_coms.js +96 -7
  403. package/lib/resources/payment_setting_externals.cjs +95 -13
  404. package/lib/resources/payment_setting_externals.d.cts +2 -4
  405. package/lib/resources/payment_setting_externals.d.ts +2 -1
  406. package/lib/resources/payment_setting_externals.js +96 -7
  407. package/lib/resources/payment_setting_gift_cards.cjs +81 -13
  408. package/lib/resources/payment_setting_gift_cards.d.cts +2 -4
  409. package/lib/resources/payment_setting_gift_cards.d.ts +2 -1
  410. package/lib/resources/payment_setting_gift_cards.js +82 -7
  411. package/lib/resources/payment_setting_manuals.cjs +81 -13
  412. package/lib/resources/payment_setting_manuals.d.cts +2 -4
  413. package/lib/resources/payment_setting_manuals.d.ts +2 -1
  414. package/lib/resources/payment_setting_manuals.js +82 -7
  415. package/lib/resources/payment_setting_paypals.cjs +95 -13
  416. package/lib/resources/payment_setting_paypals.d.cts +2 -4
  417. package/lib/resources/payment_setting_paypals.d.ts +2 -1
  418. package/lib/resources/payment_setting_paypals.js +96 -7
  419. package/lib/resources/payment_setting_stripes.cjs +95 -13
  420. package/lib/resources/payment_setting_stripes.d.cts +2 -4
  421. package/lib/resources/payment_setting_stripes.d.ts +2 -1
  422. package/lib/resources/payment_setting_stripes.js +96 -7
  423. package/lib/resources/payment_settings.cjs +58 -13
  424. package/lib/resources/payment_settings.d.cts +2 -4
  425. package/lib/resources/payment_settings.d.ts +2 -1
  426. package/lib/resources/payment_settings.js +59 -7
  427. package/lib/resources/payment_transactions.cjs +46 -13
  428. package/lib/resources/payment_transactions.d.cts +2 -4
  429. package/lib/resources/payment_transactions.d.ts +2 -1
  430. package/lib/resources/payment_transactions.js +47 -7
  431. package/lib/resources/payment_voids.cjs +63 -13
  432. package/lib/resources/payment_voids.d.cts +2 -4
  433. package/lib/resources/payment_voids.d.ts +2 -1
  434. package/lib/resources/payment_voids.js +64 -7
  435. package/lib/resources/payment_wallets.cjs +81 -13
  436. package/lib/resources/payment_wallets.d.cts +2 -4
  437. package/lib/resources/payment_wallets.d.ts +2 -1
  438. package/lib/resources/payment_wallets.js +82 -7
  439. package/lib/resources/paypal_gateways.cjs +72 -13
  440. package/lib/resources/paypal_gateways.d.cts +2 -4
  441. package/lib/resources/paypal_gateways.d.ts +2 -1
  442. package/lib/resources/paypal_gateways.js +73 -7
  443. package/lib/resources/paypal_payments.cjs +58 -13
  444. package/lib/resources/paypal_payments.d.cts +2 -4
  445. package/lib/resources/paypal_payments.d.ts +2 -1
  446. package/lib/resources/paypal_payments.js +59 -7
  447. package/lib/resources/percentage_discount_promotions.cjs +114 -13
  448. package/lib/resources/percentage_discount_promotions.d.cts +2 -4
  449. package/lib/resources/percentage_discount_promotions.d.ts +2 -1
  450. package/lib/resources/percentage_discount_promotions.js +115 -7
  451. package/lib/resources/pickups.cjs +36 -13
  452. package/lib/resources/pickups.d.cts +2 -4
  453. package/lib/resources/pickups.d.ts +2 -1
  454. package/lib/resources/pickups.js +37 -7
  455. package/lib/resources/price_frequency_tiers.cjs +54 -13
  456. package/lib/resources/price_frequency_tiers.d.cts +2 -4
  457. package/lib/resources/price_frequency_tiers.d.ts +2 -1
  458. package/lib/resources/price_frequency_tiers.js +55 -7
  459. package/lib/resources/price_list_schedulers.cjs +68 -13
  460. package/lib/resources/price_list_schedulers.d.cts +2 -4
  461. package/lib/resources/price_list_schedulers.d.ts +2 -1
  462. package/lib/resources/price_list_schedulers.js +69 -7
  463. package/lib/resources/price_lists.cjs +54 -13
  464. package/lib/resources/price_lists.d.cts +2 -4
  465. package/lib/resources/price_lists.d.ts +2 -1
  466. package/lib/resources/price_lists.js +55 -7
  467. package/lib/resources/price_tiers.cjs +32 -13
  468. package/lib/resources/price_tiers.d.cts +2 -4
  469. package/lib/resources/price_tiers.d.ts +2 -1
  470. package/lib/resources/price_tiers.js +33 -7
  471. package/lib/resources/price_volume_tiers.cjs +54 -13
  472. package/lib/resources/price_volume_tiers.d.cts +2 -4
  473. package/lib/resources/price_volume_tiers.d.ts +2 -1
  474. package/lib/resources/price_volume_tiers.js +55 -7
  475. package/lib/resources/prices.cjs +78 -13
  476. package/lib/resources/prices.d.cts +2 -4
  477. package/lib/resources/prices.d.ts +2 -1
  478. package/lib/resources/prices.js +79 -7
  479. package/lib/resources/promotion_rules.cjs +29 -13
  480. package/lib/resources/promotion_rules.d.cts +2 -4
  481. package/lib/resources/promotion_rules.d.ts +2 -1
  482. package/lib/resources/promotion_rules.js +30 -7
  483. package/lib/resources/promotions.cjs +73 -13
  484. package/lib/resources/promotions.d.cts +2 -4
  485. package/lib/resources/promotions.d.ts +2 -1
  486. package/lib/resources/promotions.js +74 -7
  487. package/lib/resources/recurring_order_copies.cjs +58 -13
  488. package/lib/resources/recurring_order_copies.d.cts +2 -4
  489. package/lib/resources/recurring_order_copies.d.ts +2 -1
  490. package/lib/resources/recurring_order_copies.js +59 -7
  491. package/lib/resources/refunds.cjs +58 -13
  492. package/lib/resources/refunds.d.cts +2 -4
  493. package/lib/resources/refunds.d.ts +2 -1
  494. package/lib/resources/refunds.js +59 -7
  495. package/lib/resources/reserved_stocks.cjs +36 -13
  496. package/lib/resources/reserved_stocks.d.cts +2 -4
  497. package/lib/resources/reserved_stocks.d.ts +2 -1
  498. package/lib/resources/reserved_stocks.js +37 -7
  499. package/lib/resources/resource_errors.cjs +24 -13
  500. package/lib/resources/resource_errors.d.cts +2 -4
  501. package/lib/resources/resource_errors.d.ts +2 -1
  502. package/lib/resources/resource_errors.js +25 -7
  503. package/lib/resources/return_line_items.cjs +57 -13
  504. package/lib/resources/return_line_items.d.cts +2 -4
  505. package/lib/resources/return_line_items.d.ts +2 -1
  506. package/lib/resources/return_line_items.js +58 -7
  507. package/lib/resources/returns.cjs +194 -13
  508. package/lib/resources/returns.d.cts +2 -4
  509. package/lib/resources/returns.d.ts +2 -1
  510. package/lib/resources/returns.js +195 -7
  511. package/lib/resources/satispay_gateways.cjs +65 -13
  512. package/lib/resources/satispay_gateways.d.cts +2 -4
  513. package/lib/resources/satispay_gateways.d.ts +2 -1
  514. package/lib/resources/satispay_gateways.js +66 -7
  515. package/lib/resources/satispay_payments.cjs +58 -13
  516. package/lib/resources/satispay_payments.d.cts +2 -4
  517. package/lib/resources/satispay_payments.d.ts +2 -1
  518. package/lib/resources/satispay_payments.js +59 -7
  519. package/lib/resources/shipment_line_items.cjs +45 -13
  520. package/lib/resources/shipment_line_items.d.cts +2 -4
  521. package/lib/resources/shipment_line_items.d.ts +2 -1
  522. package/lib/resources/shipment_line_items.js +46 -7
  523. package/lib/resources/shipments.cjs +226 -13
  524. package/lib/resources/shipments.d.cts +2 -4
  525. package/lib/resources/shipments.d.ts +2 -1
  526. package/lib/resources/shipments.js +227 -7
  527. package/lib/resources/shipping_categories.cjs +50 -13
  528. package/lib/resources/shipping_categories.d.cts +2 -4
  529. package/lib/resources/shipping_categories.d.ts +2 -1
  530. package/lib/resources/shipping_categories.js +51 -7
  531. package/lib/resources/shipping_method_tiers.cjs +32 -13
  532. package/lib/resources/shipping_method_tiers.d.cts +2 -4
  533. package/lib/resources/shipping_method_tiers.d.ts +2 -1
  534. package/lib/resources/shipping_method_tiers.js +33 -7
  535. package/lib/resources/shipping_methods.cjs +128 -13
  536. package/lib/resources/shipping_methods.d.cts +2 -4
  537. package/lib/resources/shipping_methods.d.ts +2 -1
  538. package/lib/resources/shipping_methods.js +129 -7
  539. package/lib/resources/shipping_weight_tiers.cjs +54 -13
  540. package/lib/resources/shipping_weight_tiers.d.cts +2 -4
  541. package/lib/resources/shipping_weight_tiers.d.ts +2 -1
  542. package/lib/resources/shipping_weight_tiers.js +55 -7
  543. package/lib/resources/shipping_zones.cjs +46 -13
  544. package/lib/resources/shipping_zones.d.cts +2 -4
  545. package/lib/resources/shipping_zones.d.ts +2 -1
  546. package/lib/resources/shipping_zones.js +47 -7
  547. package/lib/resources/sku_list_items.cjs +50 -13
  548. package/lib/resources/sku_list_items.d.cts +2 -4
  549. package/lib/resources/sku_list_items.d.ts +2 -1
  550. package/lib/resources/sku_list_items.js +51 -7
  551. package/lib/resources/sku_list_promotion_rules.cjs +50 -13
  552. package/lib/resources/sku_list_promotion_rules.d.cts +2 -4
  553. package/lib/resources/sku_list_promotion_rules.d.ts +2 -1
  554. package/lib/resources/sku_list_promotion_rules.js +51 -7
  555. package/lib/resources/sku_lists.cjs +66 -13
  556. package/lib/resources/sku_lists.d.cts +2 -4
  557. package/lib/resources/sku_lists.d.ts +2 -1
  558. package/lib/resources/sku_lists.js +67 -7
  559. package/lib/resources/sku_options.cjs +72 -13
  560. package/lib/resources/sku_options.d.cts +2 -4
  561. package/lib/resources/sku_options.d.ts +2 -1
  562. package/lib/resources/sku_options.js +73 -7
  563. package/lib/resources/skus.cjs +116 -13
  564. package/lib/resources/skus.d.cts +2 -4
  565. package/lib/resources/skus.d.ts +2 -1
  566. package/lib/resources/skus.js +117 -7
  567. package/lib/resources/stock_items.cjs +69 -13
  568. package/lib/resources/stock_items.d.cts +2 -4
  569. package/lib/resources/stock_items.d.ts +2 -1
  570. package/lib/resources/stock_items.js +70 -7
  571. package/lib/resources/stock_line_items.cjs +83 -13
  572. package/lib/resources/stock_line_items.d.cts +2 -4
  573. package/lib/resources/stock_line_items.d.ts +2 -1
  574. package/lib/resources/stock_line_items.js +84 -7
  575. package/lib/resources/stock_locations.cjs +70 -13
  576. package/lib/resources/stock_locations.d.cts +2 -4
  577. package/lib/resources/stock_locations.d.ts +2 -1
  578. package/lib/resources/stock_locations.js +71 -7
  579. package/lib/resources/stock_reservations.cjs +77 -13
  580. package/lib/resources/stock_reservations.d.cts +2 -4
  581. package/lib/resources/stock_reservations.d.ts +2 -1
  582. package/lib/resources/stock_reservations.js +78 -7
  583. package/lib/resources/stock_transfers.cjs +116 -13
  584. package/lib/resources/stock_transfers.d.cts +2 -4
  585. package/lib/resources/stock_transfers.d.ts +2 -1
  586. package/lib/resources/stock_transfers.js +117 -7
  587. package/lib/resources/stores.cjs +69 -13
  588. package/lib/resources/stores.d.cts +2 -4
  589. package/lib/resources/stores.d.ts +2 -1
  590. package/lib/resources/stores.js +70 -7
  591. package/lib/resources/stripe_gateways.cjs +86 -13
  592. package/lib/resources/stripe_gateways.d.cts +2 -4
  593. package/lib/resources/stripe_gateways.d.ts +2 -1
  594. package/lib/resources/stripe_gateways.js +87 -7
  595. package/lib/resources/stripe_payments.cjs +65 -13
  596. package/lib/resources/stripe_payments.d.cts +2 -4
  597. package/lib/resources/stripe_payments.d.ts +2 -1
  598. package/lib/resources/stripe_payments.js +66 -7
  599. package/lib/resources/stripe_tax_accounts.cjs +58 -13
  600. package/lib/resources/stripe_tax_accounts.d.cts +2 -4
  601. package/lib/resources/stripe_tax_accounts.d.ts +2 -1
  602. package/lib/resources/stripe_tax_accounts.js +59 -7
  603. package/lib/resources/subscription_models.cjs +54 -13
  604. package/lib/resources/subscription_models.d.cts +2 -4
  605. package/lib/resources/subscription_models.d.ts +2 -1
  606. package/lib/resources/subscription_models.js +55 -7
  607. package/lib/resources/tags.cjs +42 -13
  608. package/lib/resources/tags.d.cts +2 -4
  609. package/lib/resources/tags.d.ts +2 -1
  610. package/lib/resources/tags.js +43 -7
  611. package/lib/resources/talon_one_accounts.cjs +54 -13
  612. package/lib/resources/talon_one_accounts.d.cts +2 -4
  613. package/lib/resources/talon_one_accounts.d.ts +2 -1
  614. package/lib/resources/talon_one_accounts.js +55 -7
  615. package/lib/resources/tax_calculators.cjs +43 -13
  616. package/lib/resources/tax_calculators.d.cts +2 -4
  617. package/lib/resources/tax_calculators.d.ts +2 -1
  618. package/lib/resources/tax_calculators.js +44 -7
  619. package/lib/resources/tax_categories.cjs +50 -13
  620. package/lib/resources/tax_categories.d.cts +2 -4
  621. package/lib/resources/tax_categories.d.ts +2 -1
  622. package/lib/resources/tax_categories.js +51 -7
  623. package/lib/resources/tax_rules.cjs +46 -13
  624. package/lib/resources/tax_rules.d.cts +2 -4
  625. package/lib/resources/tax_rules.d.ts +2 -1
  626. package/lib/resources/tax_rules.js +47 -7
  627. package/lib/resources/taxjar_accounts.cjs +58 -13
  628. package/lib/resources/taxjar_accounts.d.cts +2 -4
  629. package/lib/resources/taxjar_accounts.d.ts +2 -1
  630. package/lib/resources/taxjar_accounts.js +59 -7
  631. package/lib/resources/transactions.cjs +42 -13
  632. package/lib/resources/transactions.d.cts +2 -4
  633. package/lib/resources/transactions.d.ts +2 -1
  634. package/lib/resources/transactions.js +43 -7
  635. package/lib/resources/vertex_accounts.cjs +61 -13
  636. package/lib/resources/vertex_accounts.d.cts +2 -4
  637. package/lib/resources/vertex_accounts.d.ts +2 -1
  638. package/lib/resources/vertex_accounts.js +62 -7
  639. package/lib/resources/voids.cjs +54 -13
  640. package/lib/resources/voids.d.cts +2 -4
  641. package/lib/resources/voids.d.ts +2 -1
  642. package/lib/resources/voids.js +55 -7
  643. package/lib/resources/webhooks.cjs +74 -13
  644. package/lib/resources/webhooks.d.cts +2 -4
  645. package/lib/resources/webhooks.d.ts +2 -1
  646. package/lib/resources/webhooks.js +75 -7
  647. package/lib/resources/wire_transfers.cjs +47 -13
  648. package/lib/resources/wire_transfers.d.cts +2 -4
  649. package/lib/resources/wire_transfers.d.ts +2 -1
  650. package/lib/resources/wire_transfers.js +48 -7
  651. package/lib/single-client.cjs +321 -796
  652. package/lib/single-client.d.cts +6 -11
  653. package/lib/single-client.d.ts +6 -9
  654. package/lib/single-client.js +163 -165
  655. package/lib/static.cjs +41 -15
  656. package/lib/static.d.cts +15 -18
  657. package/lib/static.d.ts +15 -18
  658. package/lib/static.js +42 -8
  659. package/lib/version-7Bd9DFJm.d.cts +11 -0
  660. package/lib/version-7Bd9DFJm.d.ts +11 -0
  661. package/lib/version-D-6-8S5e.js +9 -0
  662. package/lib/version-wfjQaNTG.cjs +26 -0
  663. package/lib/version.cjs +5 -19
  664. package/lib/version.d.cts +2 -12
  665. package/lib/version.d.ts +2 -12
  666. package/lib/version.js +3 -3
  667. package/package.json +16 -13
  668. package/lib/api-oWE8X33X.d.cts +0 -23482
  669. package/lib/api-oWE8X33X.d.ts +0 -23482
  670. package/lib/api.cjs.map +0 -1
  671. package/lib/api.js.map +0 -1
  672. package/lib/binding.cjs.map +0 -1
  673. package/lib/binding.js.map +0 -1
  674. package/lib/bundle-compat.cjs.map +0 -1
  675. package/lib/bundle-compat.js.map +0 -1
  676. package/lib/bundle.cjs.map +0 -1
  677. package/lib/bundle.js.map +0 -1
  678. package/lib/chunk-22WTZEKY.js +0 -36
  679. package/lib/chunk-22WTZEKY.js.map +0 -1
  680. package/lib/chunk-24BRSXPS.js +0 -77
  681. package/lib/chunk-24BRSXPS.js.map +0 -1
  682. package/lib/chunk-25NYS3PJ.js +0 -89
  683. package/lib/chunk-25NYS3PJ.js.map +0 -1
  684. package/lib/chunk-26Y2B66M.cjs +0 -261
  685. package/lib/chunk-26Y2B66M.cjs.map +0 -1
  686. package/lib/chunk-2BHOT4PE.js +0 -77
  687. package/lib/chunk-2BHOT4PE.js.map +0 -1
  688. package/lib/chunk-2CKCINRG.js +0 -92
  689. package/lib/chunk-2CKCINRG.js.map +0 -1
  690. package/lib/chunk-2E6ZWEXB.cjs +0 -105
  691. package/lib/chunk-2E6ZWEXB.cjs.map +0 -1
  692. package/lib/chunk-2KMYXXEM.cjs +0 -44
  693. package/lib/chunk-2KMYXXEM.cjs.map +0 -1
  694. package/lib/chunk-2NFTZQSU.js +0 -42
  695. package/lib/chunk-2NFTZQSU.js.map +0 -1
  696. package/lib/chunk-2WQORYBI.cjs +0 -843
  697. package/lib/chunk-2WQORYBI.cjs.map +0 -1
  698. package/lib/chunk-2ZQ4ZLAF.cjs +0 -122
  699. package/lib/chunk-2ZQ4ZLAF.cjs.map +0 -1
  700. package/lib/chunk-36TWQ3MP.js +0 -51
  701. package/lib/chunk-36TWQ3MP.js.map +0 -1
  702. package/lib/chunk-37OLTOSK.cjs +0 -79
  703. package/lib/chunk-37OLTOSK.cjs.map +0 -1
  704. package/lib/chunk-3DPPEWZY.js +0 -94
  705. package/lib/chunk-3DPPEWZY.js.map +0 -1
  706. package/lib/chunk-3FMTM4RI.cjs +0 -120
  707. package/lib/chunk-3FMTM4RI.cjs.map +0 -1
  708. package/lib/chunk-3FQNYTDD.js +0 -79
  709. package/lib/chunk-3FQNYTDD.js.map +0 -1
  710. package/lib/chunk-3HM544FT.cjs +0 -134
  711. package/lib/chunk-3HM544FT.cjs.map +0 -1
  712. package/lib/chunk-3HMMZD2J.cjs +0 -70
  713. package/lib/chunk-3HMMZD2J.cjs.map +0 -1
  714. package/lib/chunk-3IIZST2R.cjs +0 -19
  715. package/lib/chunk-3IIZST2R.cjs.map +0 -1
  716. package/lib/chunk-3JYKY2IT.cjs +0 -98
  717. package/lib/chunk-3JYKY2IT.cjs.map +0 -1
  718. package/lib/chunk-3OYVKANP.js +0 -96
  719. package/lib/chunk-3OYVKANP.js.map +0 -1
  720. package/lib/chunk-3QVXUVE4.js +0 -50
  721. package/lib/chunk-3QVXUVE4.js.map +0 -1
  722. package/lib/chunk-3UNL4UIL.cjs +0 -179
  723. package/lib/chunk-3UNL4UIL.cjs.map +0 -1
  724. package/lib/chunk-3YUCLSNM.cjs +0 -91
  725. package/lib/chunk-3YUCLSNM.cjs.map +0 -1
  726. package/lib/chunk-42U7VMA4.cjs +0 -106
  727. package/lib/chunk-42U7VMA4.cjs.map +0 -1
  728. package/lib/chunk-44RSNAGD.cjs +0 -122
  729. package/lib/chunk-44RSNAGD.cjs.map +0 -1
  730. package/lib/chunk-45NH73QN.cjs +0 -66
  731. package/lib/chunk-45NH73QN.cjs.map +0 -1
  732. package/lib/chunk-45YMQCVM.js +0 -68
  733. package/lib/chunk-45YMQCVM.js.map +0 -1
  734. package/lib/chunk-4HBSO74M.js +0 -59
  735. package/lib/chunk-4HBSO74M.js.map +0 -1
  736. package/lib/chunk-4IEFFFIL.cjs +0 -79
  737. package/lib/chunk-4IEFFFIL.cjs.map +0 -1
  738. package/lib/chunk-4KXCXRS2.js +0 -132
  739. package/lib/chunk-4KXCXRS2.js.map +0 -1
  740. package/lib/chunk-4P4JRYIZ.cjs +0 -126
  741. package/lib/chunk-4P4JRYIZ.cjs.map +0 -1
  742. package/lib/chunk-4ZO45PK3.js +0 -3
  743. package/lib/chunk-4ZO45PK3.js.map +0 -1
  744. package/lib/chunk-56HSJRSD.js +0 -86
  745. package/lib/chunk-56HSJRSD.js.map +0 -1
  746. package/lib/chunk-57QTWJRF.js +0 -191
  747. package/lib/chunk-57QTWJRF.js.map +0 -1
  748. package/lib/chunk-5BHB5FW6.cjs +0 -81
  749. package/lib/chunk-5BHB5FW6.cjs.map +0 -1
  750. package/lib/chunk-5BNC5NQJ.cjs +0 -52
  751. package/lib/chunk-5BNC5NQJ.cjs.map +0 -1
  752. package/lib/chunk-5BQMCV4T.js +0 -50
  753. package/lib/chunk-5BQMCV4T.js.map +0 -1
  754. package/lib/chunk-5EPLBDUN.cjs +0 -91
  755. package/lib/chunk-5EPLBDUN.cjs.map +0 -1
  756. package/lib/chunk-5JUBE6TF.cjs +0 -200
  757. package/lib/chunk-5JUBE6TF.cjs.map +0 -1
  758. package/lib/chunk-5U34MNKZ.js +0 -226
  759. package/lib/chunk-5U34MNKZ.js.map +0 -1
  760. package/lib/chunk-5U36XDUW.cjs +0 -44
  761. package/lib/chunk-5U36XDUW.cjs.map +0 -1
  762. package/lib/chunk-5UQ6DAC2.js +0 -118
  763. package/lib/chunk-5UQ6DAC2.js.map +0 -1
  764. package/lib/chunk-5YV67PRF.js +0 -68
  765. package/lib/chunk-5YV67PRF.js.map +0 -1
  766. package/lib/chunk-65TD34O5.cjs +0 -117
  767. package/lib/chunk-65TD34O5.cjs.map +0 -1
  768. package/lib/chunk-66MS6UXW.js +0 -69
  769. package/lib/chunk-66MS6UXW.js.map +0 -1
  770. package/lib/chunk-67WXB4SV.js +0 -80
  771. package/lib/chunk-67WXB4SV.js.map +0 -1
  772. package/lib/chunk-6GTZODQZ.js +0 -69
  773. package/lib/chunk-6GTZODQZ.js.map +0 -1
  774. package/lib/chunk-6HBNIK3D.cjs +0 -90
  775. package/lib/chunk-6HBNIK3D.cjs.map +0 -1
  776. package/lib/chunk-6LR2MPQR.cjs +0 -179
  777. package/lib/chunk-6LR2MPQR.cjs.map +0 -1
  778. package/lib/chunk-6NE3DKE7.cjs +0 -63
  779. package/lib/chunk-6NE3DKE7.cjs.map +0 -1
  780. package/lib/chunk-6PCLGJDC.cjs +0 -193
  781. package/lib/chunk-6PCLGJDC.cjs.map +0 -1
  782. package/lib/chunk-6SI7KAK3.cjs +0 -120
  783. package/lib/chunk-6SI7KAK3.cjs.map +0 -1
  784. package/lib/chunk-6XME7EQ4.cjs +0 -79
  785. package/lib/chunk-6XME7EQ4.cjs.map +0 -1
  786. package/lib/chunk-734XZ2KS.js +0 -87
  787. package/lib/chunk-734XZ2KS.js.map +0 -1
  788. package/lib/chunk-742UF23S.cjs +0 -86
  789. package/lib/chunk-742UF23S.cjs.map +0 -1
  790. package/lib/chunk-74AVMYXI.cjs +0 -61
  791. package/lib/chunk-74AVMYXI.cjs.map +0 -1
  792. package/lib/chunk-7EG2QN5N.js +0 -60
  793. package/lib/chunk-7EG2QN5N.js.map +0 -1
  794. package/lib/chunk-7GRZNDQL.cjs +0 -77
  795. package/lib/chunk-7GRZNDQL.cjs.map +0 -1
  796. package/lib/chunk-7JZOWQ6K.cjs +0 -62
  797. package/lib/chunk-7JZOWQ6K.cjs.map +0 -1
  798. package/lib/chunk-7LHMQPFO.cjs +0 -193
  799. package/lib/chunk-7LHMQPFO.cjs.map +0 -1
  800. package/lib/chunk-7MKIV7NA.js +0 -77
  801. package/lib/chunk-7MKIV7NA.js.map +0 -1
  802. package/lib/chunk-7QDU56S3.cjs +0 -323
  803. package/lib/chunk-7QDU56S3.cjs.map +0 -1
  804. package/lib/chunk-7QT42UJQ.cjs +0 -228
  805. package/lib/chunk-7QT42UJQ.cjs.map +0 -1
  806. package/lib/chunk-7XJMKVVA.cjs +0 -193
  807. package/lib/chunk-7XJMKVVA.cjs.map +0 -1
  808. package/lib/chunk-AE3Q7LHC.cjs +0 -62
  809. package/lib/chunk-AE3Q7LHC.cjs.map +0 -1
  810. package/lib/chunk-AEEWE5BS.cjs +0 -622
  811. package/lib/chunk-AEEWE5BS.cjs.map +0 -1
  812. package/lib/chunk-AKEMAQJ6.js +0 -96
  813. package/lib/chunk-AKEMAQJ6.js.map +0 -1
  814. package/lib/chunk-AMFEBGRE.cjs +0 -93
  815. package/lib/chunk-AMFEBGRE.cjs.map +0 -1
  816. package/lib/chunk-AO42HFJW.cjs +0 -70
  817. package/lib/chunk-AO42HFJW.cjs.map +0 -1
  818. package/lib/chunk-AS6RCNEN.cjs +0 -60
  819. package/lib/chunk-AS6RCNEN.cjs.map +0 -1
  820. package/lib/chunk-ASAYW3YW.cjs +0 -4
  821. package/lib/chunk-ASAYW3YW.cjs.map +0 -1
  822. package/lib/chunk-AZ3NP2GE.js +0 -24
  823. package/lib/chunk-AZ3NP2GE.js.map +0 -1
  824. package/lib/chunk-B5KLSIZ7.js +0 -799
  825. package/lib/chunk-B5KLSIZ7.js.map +0 -1
  826. package/lib/chunk-B6DTTD34.cjs +0 -88
  827. package/lib/chunk-B6DTTD34.cjs.map +0 -1
  828. package/lib/chunk-B7EE6XWM.js +0 -82
  829. package/lib/chunk-B7EE6XWM.js.map +0 -1
  830. package/lib/chunk-BGJ3OMEB.js +0 -77
  831. package/lib/chunk-BGJ3OMEB.js.map +0 -1
  832. package/lib/chunk-BGPJOVUL.js +0 -68
  833. package/lib/chunk-BGPJOVUL.js.map +0 -1
  834. package/lib/chunk-BOY72KYY.cjs +0 -53
  835. package/lib/chunk-BOY72KYY.cjs.map +0 -1
  836. package/lib/chunk-BXLXNIK7.cjs +0 -120
  837. package/lib/chunk-BXLXNIK7.cjs.map +0 -1
  838. package/lib/chunk-BYJGXXSB.js +0 -68
  839. package/lib/chunk-BYJGXXSB.js.map +0 -1
  840. package/lib/chunk-C3KZVNVL.cjs +0 -711
  841. package/lib/chunk-C3KZVNVL.cjs.map +0 -1
  842. package/lib/chunk-C5RND4FF.js +0 -60
  843. package/lib/chunk-C5RND4FF.js.map +0 -1
  844. package/lib/chunk-C5UUHYYN.cjs +0 -77
  845. package/lib/chunk-C5UUHYYN.cjs.map +0 -1
  846. package/lib/chunk-CIPF3ZBB.js +0 -73
  847. package/lib/chunk-CIPF3ZBB.js.map +0 -1
  848. package/lib/chunk-CMUOOFHL.cjs +0 -94
  849. package/lib/chunk-CMUOOFHL.cjs.map +0 -1
  850. package/lib/chunk-CO4UV2ZJ.cjs +0 -79
  851. package/lib/chunk-CO4UV2ZJ.cjs.map +0 -1
  852. package/lib/chunk-CQBIBKUO.cjs +0 -70
  853. package/lib/chunk-CQBIBKUO.cjs.map +0 -1
  854. package/lib/chunk-CQIUA5UK.cjs +0 -70
  855. package/lib/chunk-CQIUA5UK.cjs.map +0 -1
  856. package/lib/chunk-CRHXGO5R.js +0 -79
  857. package/lib/chunk-CRHXGO5R.js.map +0 -1
  858. package/lib/chunk-D5B6UZOV.js +0 -78
  859. package/lib/chunk-D5B6UZOV.js.map +0 -1
  860. package/lib/chunk-D63KNYYX.js +0 -60
  861. package/lib/chunk-D63KNYYX.js.map +0 -1
  862. package/lib/chunk-D7CYZWAS.js +0 -75
  863. package/lib/chunk-D7CYZWAS.js.map +0 -1
  864. package/lib/chunk-DA6WN75S.js +0 -86
  865. package/lib/chunk-DA6WN75S.js.map +0 -1
  866. package/lib/chunk-DH4KLILM.cjs +0 -84
  867. package/lib/chunk-DH4KLILM.cjs.map +0 -1
  868. package/lib/chunk-DLOIEKEU.js +0 -125
  869. package/lib/chunk-DLOIEKEU.js.map +0 -1
  870. package/lib/chunk-DMTEG4NK.cjs +0 -191
  871. package/lib/chunk-DMTEG4NK.cjs.map +0 -1
  872. package/lib/chunk-DN3T4YMM.cjs +0 -84
  873. package/lib/chunk-DN3T4YMM.cjs.map +0 -1
  874. package/lib/chunk-DQ5MRGAQ.cjs +0 -82
  875. package/lib/chunk-DQ5MRGAQ.cjs.map +0 -1
  876. package/lib/chunk-DSGHTJNP.cjs +0 -134
  877. package/lib/chunk-DSGHTJNP.cjs.map +0 -1
  878. package/lib/chunk-DUXG4S5U.js +0 -103
  879. package/lib/chunk-DUXG4S5U.js.map +0 -1
  880. package/lib/chunk-DXPFEFLQ.js +0 -111
  881. package/lib/chunk-DXPFEFLQ.js.map +0 -1
  882. package/lib/chunk-E4GXAHJ4.js +0 -100
  883. package/lib/chunk-E4GXAHJ4.js.map +0 -1
  884. package/lib/chunk-EBRAV7UF.js +0 -177
  885. package/lib/chunk-EBRAV7UF.js.map +0 -1
  886. package/lib/chunk-EC2O3QY7.js +0 -86
  887. package/lib/chunk-EC2O3QY7.js.map +0 -1
  888. package/lib/chunk-EDEWZHXF.js +0 -118
  889. package/lib/chunk-EDEWZHXF.js.map +0 -1
  890. package/lib/chunk-EDZ3QFNA.js +0 -132
  891. package/lib/chunk-EDZ3QFNA.js.map +0 -1
  892. package/lib/chunk-EENDZN6M.cjs +0 -81
  893. package/lib/chunk-EENDZN6M.cjs.map +0 -1
  894. package/lib/chunk-EFYMVJJ3.cjs +0 -84
  895. package/lib/chunk-EFYMVJJ3.cjs.map +0 -1
  896. package/lib/chunk-EHIU625T.js +0 -68
  897. package/lib/chunk-EHIU625T.js.map +0 -1
  898. package/lib/chunk-EIWEVKSY.cjs +0 -127
  899. package/lib/chunk-EIWEVKSY.cjs.map +0 -1
  900. package/lib/chunk-EJVTH5M2.js +0 -124
  901. package/lib/chunk-EJVTH5M2.js.map +0 -1
  902. package/lib/chunk-EMKPX4RW.cjs +0 -134
  903. package/lib/chunk-EMKPX4RW.cjs.map +0 -1
  904. package/lib/chunk-EOBX5SFW.js +0 -60
  905. package/lib/chunk-EOBX5SFW.js.map +0 -1
  906. package/lib/chunk-EUR7JBLB.cjs +0 -77
  907. package/lib/chunk-EUR7JBLB.cjs.map +0 -1
  908. package/lib/chunk-EVK4AISA.js +0 -42
  909. package/lib/chunk-EVK4AISA.js.map +0 -1
  910. package/lib/chunk-EXCTCSHJ.cjs +0 -131
  911. package/lib/chunk-EXCTCSHJ.cjs.map +0 -1
  912. package/lib/chunk-F4IK677G.cjs +0 -70
  913. package/lib/chunk-F4IK677G.cjs.map +0 -1
  914. package/lib/chunk-F74A5VIA.cjs +0 -105
  915. package/lib/chunk-F74A5VIA.cjs.map +0 -1
  916. package/lib/chunk-FACLFLVZ.js +0 -77
  917. package/lib/chunk-FACLFLVZ.js.map +0 -1
  918. package/lib/chunk-FCICHXMF.js +0 -88
  919. package/lib/chunk-FCICHXMF.js.map +0 -1
  920. package/lib/chunk-FDN6KKPD.cjs +0 -84
  921. package/lib/chunk-FDN6KKPD.cjs.map +0 -1
  922. package/lib/chunk-FF3FDGGY.cjs +0 -70
  923. package/lib/chunk-FF3FDGGY.cjs.map +0 -1
  924. package/lib/chunk-FLHAE3VK.cjs +0 -55
  925. package/lib/chunk-FLHAE3VK.cjs.map +0 -1
  926. package/lib/chunk-FLZOPTO7.js +0 -51
  927. package/lib/chunk-FLZOPTO7.js.map +0 -1
  928. package/lib/chunk-FQ4QWFCL.cjs +0 -94
  929. package/lib/chunk-FQ4QWFCL.cjs.map +0 -1
  930. package/lib/chunk-FTDKLX5V.cjs +0 -40
  931. package/lib/chunk-FTDKLX5V.cjs.map +0 -1
  932. package/lib/chunk-FXLKGBOS.cjs +0 -802
  933. package/lib/chunk-FXLKGBOS.cjs.map +0 -1
  934. package/lib/chunk-FYHCMZGM.cjs +0 -60
  935. package/lib/chunk-FYHCMZGM.cjs.map +0 -1
  936. package/lib/chunk-G24B3JF4.js +0 -77
  937. package/lib/chunk-G24B3JF4.js.map +0 -1
  938. package/lib/chunk-GDW5AYT7.js +0 -84
  939. package/lib/chunk-GDW5AYT7.js.map +0 -1
  940. package/lib/chunk-GFZW3JG6.cjs +0 -70
  941. package/lib/chunk-GFZW3JG6.cjs.map +0 -1
  942. package/lib/chunk-GIP7DQ7N.cjs +0 -115
  943. package/lib/chunk-GIP7DQ7N.cjs.map +0 -1
  944. package/lib/chunk-GOYTSKMO.js +0 -835
  945. package/lib/chunk-GOYTSKMO.js.map +0 -1
  946. package/lib/chunk-GR6GU63H.cjs +0 -102
  947. package/lib/chunk-GR6GU63H.cjs.map +0 -1
  948. package/lib/chunk-GSH3LUQ6.cjs +0 -80
  949. package/lib/chunk-GSH3LUQ6.cjs.map +0 -1
  950. package/lib/chunk-GXZ7CPJZ.cjs +0 -79
  951. package/lib/chunk-GXZ7CPJZ.cjs.map +0 -1
  952. package/lib/chunk-H47WULTZ.js +0 -81
  953. package/lib/chunk-H47WULTZ.js.map +0 -1
  954. package/lib/chunk-H66ZWYXA.cjs +0 -93
  955. package/lib/chunk-H66ZWYXA.cjs.map +0 -1
  956. package/lib/chunk-HAZYVB4F.js +0 -99
  957. package/lib/chunk-HAZYVB4F.js.map +0 -1
  958. package/lib/chunk-HC3MGDGT.cjs +0 -91
  959. package/lib/chunk-HC3MGDGT.cjs.map +0 -1
  960. package/lib/chunk-HCAVRQ2U.cjs +0 -77
  961. package/lib/chunk-HCAVRQ2U.cjs.map +0 -1
  962. package/lib/chunk-HFO4G45O.js +0 -69
  963. package/lib/chunk-HFO4G45O.js.map +0 -1
  964. package/lib/chunk-HFSPKGSB.js +0 -123
  965. package/lib/chunk-HFSPKGSB.js.map +0 -1
  966. package/lib/chunk-HG7MEM2X.js +0 -68
  967. package/lib/chunk-HG7MEM2X.js.map +0 -1
  968. package/lib/chunk-HJ2JV62Q.js +0 -42
  969. package/lib/chunk-HJ2JV62Q.js.map +0 -1
  970. package/lib/chunk-HQ3AOB7V.js +0 -92
  971. package/lib/chunk-HQ3AOB7V.js.map +0 -1
  972. package/lib/chunk-HQT2IGX6.js +0 -191
  973. package/lib/chunk-HQT2IGX6.js.map +0 -1
  974. package/lib/chunk-HQX2IZ3S.cjs +0 -53
  975. package/lib/chunk-HQX2IZ3S.cjs.map +0 -1
  976. package/lib/chunk-HRR2M5BN.cjs +0 -118
  977. package/lib/chunk-HRR2M5BN.cjs.map +0 -1
  978. package/lib/chunk-HV2B43XE.js +0 -103
  979. package/lib/chunk-HV2B43XE.js.map +0 -1
  980. package/lib/chunk-HXTIVTB6.js +0 -68
  981. package/lib/chunk-HXTIVTB6.js.map +0 -1
  982. package/lib/chunk-I4BBXUCZ.cjs +0 -70
  983. package/lib/chunk-I4BBXUCZ.cjs.map +0 -1
  984. package/lib/chunk-I6LI4OXW.cjs +0 -52
  985. package/lib/chunk-I6LI4OXW.cjs.map +0 -1
  986. package/lib/chunk-IASGDRWS.js +0 -104
  987. package/lib/chunk-IASGDRWS.js.map +0 -1
  988. package/lib/chunk-IB65JHZW.cjs +0 -53
  989. package/lib/chunk-IB65JHZW.cjs.map +0 -1
  990. package/lib/chunk-ICXFY42F.js +0 -145
  991. package/lib/chunk-ICXFY42F.js.map +0 -1
  992. package/lib/chunk-IG7A2H5E.cjs +0 -61
  993. package/lib/chunk-IG7A2H5E.cjs.map +0 -1
  994. package/lib/chunk-IMROD6DZ.cjs +0 -53
  995. package/lib/chunk-IMROD6DZ.cjs.map +0 -1
  996. package/lib/chunk-INTJFLAT.cjs +0 -83
  997. package/lib/chunk-INTJFLAT.cjs.map +0 -1
  998. package/lib/chunk-IOBKEYUD.js +0 -118
  999. package/lib/chunk-IOBKEYUD.js.map +0 -1
  1000. package/lib/chunk-ITNKMVF3.cjs +0 -134
  1001. package/lib/chunk-ITNKMVF3.cjs.map +0 -1
  1002. package/lib/chunk-JFMAOZVU.cjs +0 -69
  1003. package/lib/chunk-JFMAOZVU.cjs.map +0 -1
  1004. package/lib/chunk-JG5Q7VNI.js +0 -177
  1005. package/lib/chunk-JG5Q7VNI.js.map +0 -1
  1006. package/lib/chunk-JHXUVYYI.js +0 -58
  1007. package/lib/chunk-JHXUVYYI.js.map +0 -1
  1008. package/lib/chunk-JQVMGQWL.cjs +0 -85
  1009. package/lib/chunk-JQVMGQWL.cjs.map +0 -1
  1010. package/lib/chunk-KB6GWMPD.js +0 -77
  1011. package/lib/chunk-KB6GWMPD.js.map +0 -1
  1012. package/lib/chunk-KBFDUA7Q.js +0 -132
  1013. package/lib/chunk-KBFDUA7Q.js.map +0 -1
  1014. package/lib/chunk-KC6XSA2Y.cjs +0 -70
  1015. package/lib/chunk-KC6XSA2Y.cjs.map +0 -1
  1016. package/lib/chunk-KHDDHZL4.cjs +0 -70
  1017. package/lib/chunk-KHDDHZL4.cjs.map +0 -1
  1018. package/lib/chunk-KJN2FEX3.cjs +0 -238
  1019. package/lib/chunk-KJN2FEX3.cjs.map +0 -1
  1020. package/lib/chunk-KQO4XOKP.cjs +0 -62
  1021. package/lib/chunk-KQO4XOKP.cjs.map +0 -1
  1022. package/lib/chunk-KRF3UDFN.js +0 -118
  1023. package/lib/chunk-KRF3UDFN.js.map +0 -1
  1024. package/lib/chunk-KSAF3PC5.js +0 -68
  1025. package/lib/chunk-KSAF3PC5.js.map +0 -1
  1026. package/lib/chunk-L26KZ5DF.cjs +0 -81
  1027. package/lib/chunk-L26KZ5DF.cjs.map +0 -1
  1028. package/lib/chunk-L3PLRYFO.js +0 -89
  1029. package/lib/chunk-L3PLRYFO.js.map +0 -1
  1030. package/lib/chunk-L65BQE4Y.js +0 -100
  1031. package/lib/chunk-L65BQE4Y.js.map +0 -1
  1032. package/lib/chunk-LBB5IP7H.js +0 -68
  1033. package/lib/chunk-LBB5IP7H.js.map +0 -1
  1034. package/lib/chunk-LLKCNKKT.js +0 -68
  1035. package/lib/chunk-LLKCNKKT.js.map +0 -1
  1036. package/lib/chunk-LP66B7DP.cjs +0 -62
  1037. package/lib/chunk-LP66B7DP.cjs.map +0 -1
  1038. package/lib/chunk-M46H45DO.cjs +0 -71
  1039. package/lib/chunk-M46H45DO.cjs.map +0 -1
  1040. package/lib/chunk-M6TOX3HY.cjs +0 -35
  1041. package/lib/chunk-M6TOX3HY.cjs.map +0 -1
  1042. package/lib/chunk-MCMUX5BL.cjs +0 -86
  1043. package/lib/chunk-MCMUX5BL.cjs.map +0 -1
  1044. package/lib/chunk-MD3AZP5R.js +0 -77
  1045. package/lib/chunk-MD3AZP5R.js.map +0 -1
  1046. package/lib/chunk-MDQ2SCTW.js +0 -95
  1047. package/lib/chunk-MDQ2SCTW.js.map +0 -1
  1048. package/lib/chunk-MHZPK2A2.cjs +0 -147
  1049. package/lib/chunk-MHZPK2A2.cjs.map +0 -1
  1050. package/lib/chunk-MIUY6UJ3.cjs +0 -125
  1051. package/lib/chunk-MIUY6UJ3.cjs.map +0 -1
  1052. package/lib/chunk-MJXPVF77.cjs +0 -67
  1053. package/lib/chunk-MJXPVF77.cjs.map +0 -1
  1054. package/lib/chunk-MM2FOP73.cjs +0 -46
  1055. package/lib/chunk-MM2FOP73.cjs.map +0 -1
  1056. package/lib/chunk-MN2343YT.cjs +0 -77
  1057. package/lib/chunk-MN2343YT.cjs.map +0 -1
  1058. package/lib/chunk-MPAISLWD.cjs +0 -52
  1059. package/lib/chunk-MPAISLWD.cjs.map +0 -1
  1060. package/lib/chunk-MPGDLUGE.js +0 -75
  1061. package/lib/chunk-MPGDLUGE.js.map +0 -1
  1062. package/lib/chunk-MQRM6WNV.js +0 -75
  1063. package/lib/chunk-MQRM6WNV.js.map +0 -1
  1064. package/lib/chunk-MWPBG7FV.js +0 -59
  1065. package/lib/chunk-MWPBG7FV.js.map +0 -1
  1066. package/lib/chunk-MXLBRYWM.js +0 -84
  1067. package/lib/chunk-MXLBRYWM.js.map +0 -1
  1068. package/lib/chunk-N2Q4U63L.js +0 -51
  1069. package/lib/chunk-N2Q4U63L.js.map +0 -1
  1070. package/lib/chunk-N7GLKVK3.js +0 -68
  1071. package/lib/chunk-N7GLKVK3.js.map +0 -1
  1072. package/lib/chunk-NE6TY6OY.cjs +0 -16
  1073. package/lib/chunk-NE6TY6OY.cjs.map +0 -1
  1074. package/lib/chunk-NI2G6B2T.js +0 -116
  1075. package/lib/chunk-NI2G6B2T.js.map +0 -1
  1076. package/lib/chunk-NMCVJWHH.cjs +0 -67
  1077. package/lib/chunk-NMCVJWHH.cjs.map +0 -1
  1078. package/lib/chunk-NMZJWZK4.js +0 -608
  1079. package/lib/chunk-NMZJWZK4.js.map +0 -1
  1080. package/lib/chunk-NP64KHRD.cjs +0 -105
  1081. package/lib/chunk-NP64KHRD.cjs.map +0 -1
  1082. package/lib/chunk-NWSJ7AQX.js +0 -177
  1083. package/lib/chunk-NWSJ7AQX.js.map +0 -1
  1084. package/lib/chunk-NWT56B3X.js +0 -189
  1085. package/lib/chunk-NWT56B3X.js.map +0 -1
  1086. package/lib/chunk-NYMOYXJ5.js +0 -68
  1087. package/lib/chunk-NYMOYXJ5.js.map +0 -1
  1088. package/lib/chunk-NZPX7LLM.js +0 -65
  1089. package/lib/chunk-NZPX7LLM.js.map +0 -1
  1090. package/lib/chunk-O2T4EBPE.js +0 -91
  1091. package/lib/chunk-O2T4EBPE.js.map +0 -1
  1092. package/lib/chunk-OA3HIGQL.js +0 -132
  1093. package/lib/chunk-OA3HIGQL.js.map +0 -1
  1094. package/lib/chunk-OANKTTIW.cjs +0 -79
  1095. package/lib/chunk-OANKTTIW.cjs.map +0 -1
  1096. package/lib/chunk-OCWNCSCB.cjs +0 -179
  1097. package/lib/chunk-OCWNCSCB.cjs.map +0 -1
  1098. package/lib/chunk-OEWJPZKV.js +0 -104
  1099. package/lib/chunk-OEWJPZKV.js.map +0 -1
  1100. package/lib/chunk-OHEOKPC5.cjs +0 -179
  1101. package/lib/chunk-OHEOKPC5.cjs.map +0 -1
  1102. package/lib/chunk-OPJUK6LE.cjs +0 -120
  1103. package/lib/chunk-OPJUK6LE.cjs.map +0 -1
  1104. package/lib/chunk-OT77NWA7.js +0 -132
  1105. package/lib/chunk-OT77NWA7.js.map +0 -1
  1106. package/lib/chunk-OUAFZIJD.js +0 -118
  1107. package/lib/chunk-OUAFZIJD.js.map +0 -1
  1108. package/lib/chunk-OZAFGL3U.cjs +0 -62
  1109. package/lib/chunk-OZAFGL3U.cjs.map +0 -1
  1110. package/lib/chunk-P277H6EJ.js +0 -89
  1111. package/lib/chunk-P277H6EJ.js.map +0 -1
  1112. package/lib/chunk-P3VF425V.cjs +0 -71
  1113. package/lib/chunk-P3VF425V.cjs.map +0 -1
  1114. package/lib/chunk-P5ED6GBA.js +0 -86
  1115. package/lib/chunk-P5ED6GBA.js.map +0 -1
  1116. package/lib/chunk-PCWIIV3N.js +0 -82
  1117. package/lib/chunk-PCWIIV3N.js.map +0 -1
  1118. package/lib/chunk-PO3WRZWK.js +0 -709
  1119. package/lib/chunk-PO3WRZWK.js.map +0 -1
  1120. package/lib/chunk-PPUATSQF.cjs +0 -91
  1121. package/lib/chunk-PPUATSQF.cjs.map +0 -1
  1122. package/lib/chunk-PSGSQNMC.cjs +0 -170
  1123. package/lib/chunk-PSGSQNMC.cjs.map +0 -1
  1124. package/lib/chunk-PVJA7JLG.js +0 -164
  1125. package/lib/chunk-PVJA7JLG.js.map +0 -1
  1126. package/lib/chunk-PXSKGMYF.js +0 -100
  1127. package/lib/chunk-PXSKGMYF.js.map +0 -1
  1128. package/lib/chunk-Q3EYJPL3.js +0 -236
  1129. package/lib/chunk-Q3EYJPL3.js.map +0 -1
  1130. package/lib/chunk-QLA6YXS3.js +0 -118
  1131. package/lib/chunk-QLA6YXS3.js.map +0 -1
  1132. package/lib/chunk-QLKQAMB2.cjs +0 -29
  1133. package/lib/chunk-QLKQAMB2.cjs.map +0 -1
  1134. package/lib/chunk-QO72XYVP.js +0 -177
  1135. package/lib/chunk-QO72XYVP.js.map +0 -1
  1136. package/lib/chunk-QP7MCTKW.cjs +0 -75
  1137. package/lib/chunk-QP7MCTKW.cjs.map +0 -1
  1138. package/lib/chunk-QPFJ35FP.js +0 -75
  1139. package/lib/chunk-QPFJ35FP.js.map +0 -1
  1140. package/lib/chunk-QV5KSHJI.js +0 -33
  1141. package/lib/chunk-QV5KSHJI.js.map +0 -1
  1142. package/lib/chunk-QX5UIOSB.js +0 -60
  1143. package/lib/chunk-QX5UIOSB.js.map +0 -1
  1144. package/lib/chunk-QZGXSVF3.js +0 -259
  1145. package/lib/chunk-QZGXSVF3.js.map +0 -1
  1146. package/lib/chunk-QZNXJKH7.js +0 -103
  1147. package/lib/chunk-QZNXJKH7.js.map +0 -1
  1148. package/lib/chunk-R3XCUCTJ.js +0 -51
  1149. package/lib/chunk-R3XCUCTJ.js.map +0 -1
  1150. package/lib/chunk-R4Q7FZH3.js +0 -83
  1151. package/lib/chunk-R4Q7FZH3.js.map +0 -1
  1152. package/lib/chunk-RABOVOV5.js +0 -96
  1153. package/lib/chunk-RABOVOV5.js.map +0 -1
  1154. package/lib/chunk-RBFZHZ2E.js +0 -17
  1155. package/lib/chunk-RBFZHZ2E.js.map +0 -1
  1156. package/lib/chunk-RFVVZOXP.js +0 -67
  1157. package/lib/chunk-RFVVZOXP.js.map +0 -1
  1158. package/lib/chunk-RS7CIMU2.cjs +0 -79
  1159. package/lib/chunk-RS7CIMU2.cjs.map +0 -1
  1160. package/lib/chunk-RY52HUAM.js +0 -129
  1161. package/lib/chunk-RY52HUAM.js.map +0 -1
  1162. package/lib/chunk-S743NLTT.cjs +0 -44
  1163. package/lib/chunk-S743NLTT.cjs.map +0 -1
  1164. package/lib/chunk-S7TQNVMN.cjs +0 -88
  1165. package/lib/chunk-S7TQNVMN.cjs.map +0 -1
  1166. package/lib/chunk-SBAG3XP7.cjs +0 -70
  1167. package/lib/chunk-SBAG3XP7.cjs.map +0 -1
  1168. package/lib/chunk-SC5RATUY.js +0 -321
  1169. package/lib/chunk-SC5RATUY.js.map +0 -1
  1170. package/lib/chunk-SDXVTZB6.cjs +0 -98
  1171. package/lib/chunk-SDXVTZB6.cjs.map +0 -1
  1172. package/lib/chunk-SIZAHCYJ.cjs +0 -26
  1173. package/lib/chunk-SIZAHCYJ.cjs.map +0 -1
  1174. package/lib/chunk-SPG3RMDG.cjs +0 -79
  1175. package/lib/chunk-SPG3RMDG.cjs.map +0 -1
  1176. package/lib/chunk-SSWYGS6W.cjs +0 -70
  1177. package/lib/chunk-SSWYGS6W.cjs.map +0 -1
  1178. package/lib/chunk-SU6KEA6H.js +0 -198
  1179. package/lib/chunk-SU6KEA6H.js.map +0 -1
  1180. package/lib/chunk-SVKT6T6V.js +0 -86
  1181. package/lib/chunk-SVKT6T6V.js.map +0 -1
  1182. package/lib/chunk-SX7X67DZ.cjs +0 -106
  1183. package/lib/chunk-SX7X67DZ.cjs.map +0 -1
  1184. package/lib/chunk-SXP4ATGP.js +0 -132
  1185. package/lib/chunk-SXP4ATGP.js.map +0 -1
  1186. package/lib/chunk-SXWCNDKE.js +0 -12
  1187. package/lib/chunk-SXWCNDKE.js.map +0 -1
  1188. package/lib/chunk-SZW3PGDI.cjs +0 -120
  1189. package/lib/chunk-SZW3PGDI.cjs.map +0 -1
  1190. package/lib/chunk-T7BHYIJF.cjs +0 -70
  1191. package/lib/chunk-T7BHYIJF.cjs.map +0 -1
  1192. package/lib/chunk-TEN3HNHT.js +0 -60
  1193. package/lib/chunk-TEN3HNHT.js.map +0 -1
  1194. package/lib/chunk-TJK4HDQZ.js +0 -38
  1195. package/lib/chunk-TJK4HDQZ.js.map +0 -1
  1196. package/lib/chunk-TKNG2SD4.js +0 -59
  1197. package/lib/chunk-TKNG2SD4.js.map +0 -1
  1198. package/lib/chunk-TPKZB234.js +0 -68
  1199. package/lib/chunk-TPKZB234.js.map +0 -1
  1200. package/lib/chunk-TPP6DASP.cjs +0 -97
  1201. package/lib/chunk-TPP6DASP.cjs.map +0 -1
  1202. package/lib/chunk-TQUYU2CZ.cjs +0 -53
  1203. package/lib/chunk-TQUYU2CZ.cjs.map +0 -1
  1204. package/lib/chunk-TUG3XFAG.cjs +0 -44
  1205. package/lib/chunk-TUG3XFAG.cjs.map +0 -1
  1206. package/lib/chunk-U7FFLDRF.cjs +0 -166
  1207. package/lib/chunk-U7FFLDRF.cjs.map +0 -1
  1208. package/lib/chunk-UARXH2HB.js +0 -120
  1209. package/lib/chunk-UARXH2HB.js.map +0 -1
  1210. package/lib/chunk-UBPMIUT4.cjs +0 -88
  1211. package/lib/chunk-UBPMIUT4.cjs.map +0 -1
  1212. package/lib/chunk-UBRIGSJK.js +0 -64
  1213. package/lib/chunk-UBRIGSJK.js.map +0 -1
  1214. package/lib/chunk-UFVXRH5B.cjs +0 -70
  1215. package/lib/chunk-UFVXRH5B.cjs.map +0 -1
  1216. package/lib/chunk-UJCELX56.cjs +0 -102
  1217. package/lib/chunk-UJCELX56.cjs.map +0 -1
  1218. package/lib/chunk-UJS32MCU.cjs +0 -79
  1219. package/lib/chunk-UJS32MCU.cjs.map +0 -1
  1220. package/lib/chunk-UMLGNHVS.js +0 -75
  1221. package/lib/chunk-UMLGNHVS.js.map +0 -1
  1222. package/lib/chunk-UUQ4L5XM.js +0 -60
  1223. package/lib/chunk-UUQ4L5XM.js.map +0 -1
  1224. package/lib/chunk-UYXNMUIY.js +0 -177
  1225. package/lib/chunk-UYXNMUIY.js.map +0 -1
  1226. package/lib/chunk-V6TUJ2L5.js +0 -77
  1227. package/lib/chunk-V6TUJ2L5.js.map +0 -1
  1228. package/lib/chunk-VA6N634I.js +0 -82
  1229. package/lib/chunk-VA6N634I.js.map +0 -1
  1230. package/lib/chunk-VBHJKT66.js +0 -77
  1231. package/lib/chunk-VBHJKT66.js.map +0 -1
  1232. package/lib/chunk-VDFAACFV.cjs +0 -134
  1233. package/lib/chunk-VDFAACFV.cjs.map +0 -1
  1234. package/lib/chunk-VLEBVZOF.js +0 -53
  1235. package/lib/chunk-VLEBVZOF.js.map +0 -1
  1236. package/lib/chunk-VUGDLJE5.js +0 -113
  1237. package/lib/chunk-VUGDLJE5.js.map +0 -1
  1238. package/lib/chunk-VUHOXVJ3.js +0 -79
  1239. package/lib/chunk-VUHOXVJ3.js.map +0 -1
  1240. package/lib/chunk-VVV2BCF3.cjs +0 -62
  1241. package/lib/chunk-VVV2BCF3.cjs.map +0 -1
  1242. package/lib/chunk-W2SIUQ56.cjs +0 -71
  1243. package/lib/chunk-W2SIUQ56.cjs.map +0 -1
  1244. package/lib/chunk-W4HIMHE4.cjs +0 -79
  1245. package/lib/chunk-W4HIMHE4.cjs.map +0 -1
  1246. package/lib/chunk-W6EPQFA2.cjs +0 -102
  1247. package/lib/chunk-W6EPQFA2.cjs.map +0 -1
  1248. package/lib/chunk-W6WGFIZL.js +0 -91
  1249. package/lib/chunk-W6WGFIZL.js.map +0 -1
  1250. package/lib/chunk-WATUJTKW.js +0 -191
  1251. package/lib/chunk-WATUJTKW.js.map +0 -1
  1252. package/lib/chunk-WE3PBZFU.js +0 -42
  1253. package/lib/chunk-WE3PBZFU.js.map +0 -1
  1254. package/lib/chunk-WJTYPOT5.js +0 -82
  1255. package/lib/chunk-WJTYPOT5.js.map +0 -1
  1256. package/lib/chunk-WKML4XNE.js +0 -77
  1257. package/lib/chunk-WKML4XNE.js.map +0 -1
  1258. package/lib/chunk-WNM32SCA.cjs +0 -70
  1259. package/lib/chunk-WNM32SCA.cjs.map +0 -1
  1260. package/lib/chunk-WOCKZ7CJ.js +0 -58
  1261. package/lib/chunk-WOCKZ7CJ.js.map +0 -1
  1262. package/lib/chunk-WOP6L43D.js +0 -120
  1263. package/lib/chunk-WOP6L43D.js.map +0 -1
  1264. package/lib/chunk-WR2GG3FR.cjs +0 -96
  1265. package/lib/chunk-WR2GG3FR.cjs.map +0 -1
  1266. package/lib/chunk-WTDD7L2I.cjs +0 -62
  1267. package/lib/chunk-WTDD7L2I.cjs.map +0 -1
  1268. package/lib/chunk-WTLMZUTR.cjs +0 -88
  1269. package/lib/chunk-WTLMZUTR.cjs.map +0 -1
  1270. package/lib/chunk-WVMZFVEE.js +0 -61
  1271. package/lib/chunk-WVMZFVEE.js.map +0 -1
  1272. package/lib/chunk-WWXJDNZF.cjs +0 -101
  1273. package/lib/chunk-WWXJDNZF.cjs.map +0 -1
  1274. package/lib/chunk-X22YEQ4O.cjs +0 -89
  1275. package/lib/chunk-X22YEQ4O.cjs.map +0 -1
  1276. package/lib/chunk-X2JHZLNF.cjs +0 -120
  1277. package/lib/chunk-X2JHZLNF.cjs.map +0 -1
  1278. package/lib/chunk-X3UY5JZ2.js +0 -27
  1279. package/lib/chunk-X3UY5JZ2.js.map +0 -1
  1280. package/lib/chunk-X5PN44AB.js +0 -77
  1281. package/lib/chunk-X5PN44AB.js.map +0 -1
  1282. package/lib/chunk-XCWV7LWV.cjs +0 -134
  1283. package/lib/chunk-XCWV7LWV.cjs.map +0 -1
  1284. package/lib/chunk-XD6FBQKK.js +0 -65
  1285. package/lib/chunk-XD6FBQKK.js.map +0 -1
  1286. package/lib/chunk-XNKFD2Z2.js +0 -168
  1287. package/lib/chunk-XNKFD2Z2.js.map +0 -1
  1288. package/lib/chunk-XOAXIDIX.js +0 -113
  1289. package/lib/chunk-XOAXIDIX.js.map +0 -1
  1290. package/lib/chunk-XQGSPNIE.js +0 -68
  1291. package/lib/chunk-XQGSPNIE.js.map +0 -1
  1292. package/lib/chunk-XSK3E4XN.js +0 -89
  1293. package/lib/chunk-XSK3E4XN.js.map +0 -1
  1294. package/lib/chunk-XWVAMY3V.js +0 -44
  1295. package/lib/chunk-XWVAMY3V.js.map +0 -1
  1296. package/lib/chunk-XYRDA4QZ.cjs +0 -79
  1297. package/lib/chunk-XYRDA4QZ.cjs.map +0 -1
  1298. package/lib/chunk-Y6HB4L7M.cjs +0 -113
  1299. package/lib/chunk-Y6HB4L7M.cjs.map +0 -1
  1300. package/lib/chunk-YBW7NZL4.cjs +0 -98
  1301. package/lib/chunk-YBW7NZL4.cjs.map +0 -1
  1302. package/lib/chunk-YJSEU63M.cjs +0 -88
  1303. package/lib/chunk-YJSEU63M.cjs.map +0 -1
  1304. package/lib/chunk-YQXPTR3T.cjs +0 -38
  1305. package/lib/chunk-YQXPTR3T.cjs.map +0 -1
  1306. package/lib/chunk-ZAFCXNLD.js +0 -68
  1307. package/lib/chunk-ZAFCXNLD.js.map +0 -1
  1308. package/lib/chunk-ZDVAZL6M.cjs +0 -179
  1309. package/lib/chunk-ZDVAZL6M.cjs.map +0 -1
  1310. package/lib/chunk-ZHTRFRSV.cjs +0 -61
  1311. package/lib/chunk-ZHTRFRSV.cjs.map +0 -1
  1312. package/lib/chunk-ZT4CE4WX.cjs +0 -79
  1313. package/lib/chunk-ZT4CE4WX.cjs.map +0 -1
  1314. package/lib/chunk-ZVNUNWZG.js +0 -50
  1315. package/lib/chunk-ZVNUNWZG.js.map +0 -1
  1316. package/lib/chunk-ZY7XJJU6.js +0 -51
  1317. package/lib/chunk-ZY7XJJU6.js.map +0 -1
  1318. package/lib/commercelayer.cjs.map +0 -1
  1319. package/lib/commercelayer.js.map +0 -1
  1320. package/lib/enum.cjs.map +0 -1
  1321. package/lib/enum.js.map +0 -1
  1322. package/lib/error-C0BYyTel.d.cts +0 -33
  1323. package/lib/error-C0BYyTel.d.ts +0 -33
  1324. package/lib/index.cjs.map +0 -1
  1325. package/lib/index.js.map +0 -1
  1326. package/lib/model.cjs.map +0 -1
  1327. package/lib/model.js.map +0 -1
  1328. package/lib/resources/addresses.cjs.map +0 -1
  1329. package/lib/resources/addresses.js.map +0 -1
  1330. package/lib/resources/adjustments.cjs.map +0 -1
  1331. package/lib/resources/adjustments.js.map +0 -1
  1332. package/lib/resources/adyen_gateways.cjs.map +0 -1
  1333. package/lib/resources/adyen_gateways.js.map +0 -1
  1334. package/lib/resources/adyen_payments.cjs.map +0 -1
  1335. package/lib/resources/adyen_payments.js.map +0 -1
  1336. package/lib/resources/applications.cjs.map +0 -1
  1337. package/lib/resources/applications.js.map +0 -1
  1338. package/lib/resources/attachments.cjs.map +0 -1
  1339. package/lib/resources/attachments.js.map +0 -1
  1340. package/lib/resources/authorizations.cjs.map +0 -1
  1341. package/lib/resources/authorizations.js.map +0 -1
  1342. package/lib/resources/avalara_accounts.cjs.map +0 -1
  1343. package/lib/resources/avalara_accounts.js.map +0 -1
  1344. package/lib/resources/axerve_gateways.cjs.map +0 -1
  1345. package/lib/resources/axerve_gateways.js.map +0 -1
  1346. package/lib/resources/axerve_payments.cjs.map +0 -1
  1347. package/lib/resources/axerve_payments.js.map +0 -1
  1348. package/lib/resources/billing_info_validation_rules.cjs.map +0 -1
  1349. package/lib/resources/billing_info_validation_rules.js.map +0 -1
  1350. package/lib/resources/bing_geocoders.cjs.map +0 -1
  1351. package/lib/resources/bing_geocoders.js.map +0 -1
  1352. package/lib/resources/braintree_gateways.cjs.map +0 -1
  1353. package/lib/resources/braintree_gateways.js.map +0 -1
  1354. package/lib/resources/braintree_payments.cjs.map +0 -1
  1355. package/lib/resources/braintree_payments.js.map +0 -1
  1356. package/lib/resources/bundles.cjs.map +0 -1
  1357. package/lib/resources/bundles.js.map +0 -1
  1358. package/lib/resources/buy_x_pay_y_promotions.cjs.map +0 -1
  1359. package/lib/resources/buy_x_pay_y_promotions.js.map +0 -1
  1360. package/lib/resources/captures.cjs.map +0 -1
  1361. package/lib/resources/captures.js.map +0 -1
  1362. package/lib/resources/carrier_accounts.cjs.map +0 -1
  1363. package/lib/resources/carrier_accounts.js.map +0 -1
  1364. package/lib/resources/checkout_com_gateways.cjs.map +0 -1
  1365. package/lib/resources/checkout_com_gateways.js.map +0 -1
  1366. package/lib/resources/checkout_com_payments.cjs.map +0 -1
  1367. package/lib/resources/checkout_com_payments.js.map +0 -1
  1368. package/lib/resources/cleanups.cjs.map +0 -1
  1369. package/lib/resources/cleanups.js.map +0 -1
  1370. package/lib/resources/coupon_codes_promotion_rules.cjs.map +0 -1
  1371. package/lib/resources/coupon_codes_promotion_rules.js.map +0 -1
  1372. package/lib/resources/coupon_recipients.cjs.map +0 -1
  1373. package/lib/resources/coupon_recipients.js.map +0 -1
  1374. package/lib/resources/coupons.cjs.map +0 -1
  1375. package/lib/resources/coupons.js.map +0 -1
  1376. package/lib/resources/custom_promotion_rules.cjs.map +0 -1
  1377. package/lib/resources/custom_promotion_rules.js.map +0 -1
  1378. package/lib/resources/customer_addresses.cjs.map +0 -1
  1379. package/lib/resources/customer_addresses.js.map +0 -1
  1380. package/lib/resources/customer_groups.cjs.map +0 -1
  1381. package/lib/resources/customer_groups.js.map +0 -1
  1382. package/lib/resources/customer_password_resets.cjs.map +0 -1
  1383. package/lib/resources/customer_password_resets.js.map +0 -1
  1384. package/lib/resources/customer_payment_sources.cjs.map +0 -1
  1385. package/lib/resources/customer_payment_sources.js.map +0 -1
  1386. package/lib/resources/customer_subscriptions.cjs.map +0 -1
  1387. package/lib/resources/customer_subscriptions.js.map +0 -1
  1388. package/lib/resources/customers.cjs.map +0 -1
  1389. package/lib/resources/customers.js.map +0 -1
  1390. package/lib/resources/delivery_lead_times.cjs.map +0 -1
  1391. package/lib/resources/delivery_lead_times.js.map +0 -1
  1392. package/lib/resources/discount_engine_items.cjs.map +0 -1
  1393. package/lib/resources/discount_engine_items.js.map +0 -1
  1394. package/lib/resources/discount_engines.cjs.map +0 -1
  1395. package/lib/resources/discount_engines.js.map +0 -1
  1396. package/lib/resources/easypost_pickups.cjs.map +0 -1
  1397. package/lib/resources/easypost_pickups.js.map +0 -1
  1398. package/lib/resources/event_callbacks.cjs.map +0 -1
  1399. package/lib/resources/event_callbacks.js.map +0 -1
  1400. package/lib/resources/event_stores.cjs.map +0 -1
  1401. package/lib/resources/event_stores.js.map +0 -1
  1402. package/lib/resources/events.cjs.map +0 -1
  1403. package/lib/resources/events.js.map +0 -1
  1404. package/lib/resources/exports.cjs.map +0 -1
  1405. package/lib/resources/exports.js.map +0 -1
  1406. package/lib/resources/external_gateways.cjs.map +0 -1
  1407. package/lib/resources/external_gateways.js.map +0 -1
  1408. package/lib/resources/external_payments.cjs.map +0 -1
  1409. package/lib/resources/external_payments.js.map +0 -1
  1410. package/lib/resources/external_promotions.cjs.map +0 -1
  1411. package/lib/resources/external_promotions.js.map +0 -1
  1412. package/lib/resources/external_tax_calculators.cjs.map +0 -1
  1413. package/lib/resources/external_tax_calculators.js.map +0 -1
  1414. package/lib/resources/fixed_amount_promotions.cjs.map +0 -1
  1415. package/lib/resources/fixed_amount_promotions.js.map +0 -1
  1416. package/lib/resources/fixed_price_promotions.cjs.map +0 -1
  1417. package/lib/resources/fixed_price_promotions.js.map +0 -1
  1418. package/lib/resources/flex_promotions.cjs.map +0 -1
  1419. package/lib/resources/flex_promotions.js.map +0 -1
  1420. package/lib/resources/free_gift_promotions.cjs.map +0 -1
  1421. package/lib/resources/free_gift_promotions.js.map +0 -1
  1422. package/lib/resources/free_shipping_promotions.cjs.map +0 -1
  1423. package/lib/resources/free_shipping_promotions.js.map +0 -1
  1424. package/lib/resources/geocoders.cjs.map +0 -1
  1425. package/lib/resources/geocoders.js.map +0 -1
  1426. package/lib/resources/gift_card_recipients.cjs.map +0 -1
  1427. package/lib/resources/gift_card_recipients.js.map +0 -1
  1428. package/lib/resources/gift_cards.cjs.map +0 -1
  1429. package/lib/resources/gift_cards.js.map +0 -1
  1430. package/lib/resources/google_geocoders.cjs.map +0 -1
  1431. package/lib/resources/google_geocoders.js.map +0 -1
  1432. package/lib/resources/imports.cjs.map +0 -1
  1433. package/lib/resources/imports.js.map +0 -1
  1434. package/lib/resources/in_stock_subscriptions.cjs.map +0 -1
  1435. package/lib/resources/in_stock_subscriptions.js.map +0 -1
  1436. package/lib/resources/inventory_models.cjs.map +0 -1
  1437. package/lib/resources/inventory_models.js.map +0 -1
  1438. package/lib/resources/inventory_return_locations.cjs.map +0 -1
  1439. package/lib/resources/inventory_return_locations.js.map +0 -1
  1440. package/lib/resources/inventory_stock_locations.cjs.map +0 -1
  1441. package/lib/resources/inventory_stock_locations.js.map +0 -1
  1442. package/lib/resources/klarna_gateways.cjs.map +0 -1
  1443. package/lib/resources/klarna_gateways.js.map +0 -1
  1444. package/lib/resources/klarna_payments.cjs.map +0 -1
  1445. package/lib/resources/klarna_payments.js.map +0 -1
  1446. package/lib/resources/line_item_options.cjs.map +0 -1
  1447. package/lib/resources/line_item_options.js.map +0 -1
  1448. package/lib/resources/line_items.cjs.map +0 -1
  1449. package/lib/resources/line_items.js.map +0 -1
  1450. package/lib/resources/links.cjs.map +0 -1
  1451. package/lib/resources/links.js.map +0 -1
  1452. package/lib/resources/manual_gateways.cjs.map +0 -1
  1453. package/lib/resources/manual_gateways.js.map +0 -1
  1454. package/lib/resources/manual_tax_calculators.cjs.map +0 -1
  1455. package/lib/resources/manual_tax_calculators.js.map +0 -1
  1456. package/lib/resources/markets.cjs.map +0 -1
  1457. package/lib/resources/markets.js.map +0 -1
  1458. package/lib/resources/merchants.cjs.map +0 -1
  1459. package/lib/resources/merchants.js.map +0 -1
  1460. package/lib/resources/notifications.cjs.map +0 -1
  1461. package/lib/resources/notifications.js.map +0 -1
  1462. package/lib/resources/order_amount_promotion_rules.cjs.map +0 -1
  1463. package/lib/resources/order_amount_promotion_rules.js.map +0 -1
  1464. package/lib/resources/order_copies.cjs.map +0 -1
  1465. package/lib/resources/order_copies.js.map +0 -1
  1466. package/lib/resources/order_factories.cjs.map +0 -1
  1467. package/lib/resources/order_factories.js.map +0 -1
  1468. package/lib/resources/order_subscription_items.cjs.map +0 -1
  1469. package/lib/resources/order_subscription_items.js.map +0 -1
  1470. package/lib/resources/order_subscriptions.cjs.map +0 -1
  1471. package/lib/resources/order_subscriptions.js.map +0 -1
  1472. package/lib/resources/order_validation_rules.cjs.map +0 -1
  1473. package/lib/resources/order_validation_rules.js.map +0 -1
  1474. package/lib/resources/orders.cjs.map +0 -1
  1475. package/lib/resources/orders.js.map +0 -1
  1476. package/lib/resources/organizations.cjs.map +0 -1
  1477. package/lib/resources/organizations.js.map +0 -1
  1478. package/lib/resources/packages.cjs.map +0 -1
  1479. package/lib/resources/packages.js.map +0 -1
  1480. package/lib/resources/parcel_line_items.cjs.map +0 -1
  1481. package/lib/resources/parcel_line_items.js.map +0 -1
  1482. package/lib/resources/parcels.cjs.map +0 -1
  1483. package/lib/resources/parcels.js.map +0 -1
  1484. package/lib/resources/payment_authorizations.cjs.map +0 -1
  1485. package/lib/resources/payment_authorizations.js.map +0 -1
  1486. package/lib/resources/payment_captures.cjs.map +0 -1
  1487. package/lib/resources/payment_captures.js.map +0 -1
  1488. package/lib/resources/payment_gateways.cjs.map +0 -1
  1489. package/lib/resources/payment_gateways.js.map +0 -1
  1490. package/lib/resources/payment_links.cjs.map +0 -1
  1491. package/lib/resources/payment_links.js.map +0 -1
  1492. package/lib/resources/payment_methods.cjs.map +0 -1
  1493. package/lib/resources/payment_methods.js.map +0 -1
  1494. package/lib/resources/payment_options.cjs.map +0 -1
  1495. package/lib/resources/payment_options.js.map +0 -1
  1496. package/lib/resources/payment_refunds.cjs.map +0 -1
  1497. package/lib/resources/payment_refunds.js.map +0 -1
  1498. package/lib/resources/payment_rules.cjs.map +0 -1
  1499. package/lib/resources/payment_rules.js.map +0 -1
  1500. package/lib/resources/payment_sessions.cjs.map +0 -1
  1501. package/lib/resources/payment_sessions.js.map +0 -1
  1502. package/lib/resources/payment_setting_adyens.cjs.map +0 -1
  1503. package/lib/resources/payment_setting_adyens.js.map +0 -1
  1504. package/lib/resources/payment_setting_braintrees.cjs.map +0 -1
  1505. package/lib/resources/payment_setting_braintrees.js.map +0 -1
  1506. package/lib/resources/payment_setting_checkout_coms.cjs.map +0 -1
  1507. package/lib/resources/payment_setting_checkout_coms.js.map +0 -1
  1508. package/lib/resources/payment_setting_externals.cjs.map +0 -1
  1509. package/lib/resources/payment_setting_externals.js.map +0 -1
  1510. package/lib/resources/payment_setting_gift_cards.cjs.map +0 -1
  1511. package/lib/resources/payment_setting_gift_cards.js.map +0 -1
  1512. package/lib/resources/payment_setting_manuals.cjs.map +0 -1
  1513. package/lib/resources/payment_setting_manuals.js.map +0 -1
  1514. package/lib/resources/payment_setting_paypals.cjs.map +0 -1
  1515. package/lib/resources/payment_setting_paypals.js.map +0 -1
  1516. package/lib/resources/payment_setting_stripes.cjs.map +0 -1
  1517. package/lib/resources/payment_setting_stripes.js.map +0 -1
  1518. package/lib/resources/payment_settings.cjs.map +0 -1
  1519. package/lib/resources/payment_settings.js.map +0 -1
  1520. package/lib/resources/payment_transactions.cjs.map +0 -1
  1521. package/lib/resources/payment_transactions.js.map +0 -1
  1522. package/lib/resources/payment_voids.cjs.map +0 -1
  1523. package/lib/resources/payment_voids.js.map +0 -1
  1524. package/lib/resources/payment_wallets.cjs.map +0 -1
  1525. package/lib/resources/payment_wallets.js.map +0 -1
  1526. package/lib/resources/paypal_gateways.cjs.map +0 -1
  1527. package/lib/resources/paypal_gateways.js.map +0 -1
  1528. package/lib/resources/paypal_payments.cjs.map +0 -1
  1529. package/lib/resources/paypal_payments.js.map +0 -1
  1530. package/lib/resources/percentage_discount_promotions.cjs.map +0 -1
  1531. package/lib/resources/percentage_discount_promotions.js.map +0 -1
  1532. package/lib/resources/pickups.cjs.map +0 -1
  1533. package/lib/resources/pickups.js.map +0 -1
  1534. package/lib/resources/price_frequency_tiers.cjs.map +0 -1
  1535. package/lib/resources/price_frequency_tiers.js.map +0 -1
  1536. package/lib/resources/price_list_schedulers.cjs.map +0 -1
  1537. package/lib/resources/price_list_schedulers.js.map +0 -1
  1538. package/lib/resources/price_lists.cjs.map +0 -1
  1539. package/lib/resources/price_lists.js.map +0 -1
  1540. package/lib/resources/price_tiers.cjs.map +0 -1
  1541. package/lib/resources/price_tiers.js.map +0 -1
  1542. package/lib/resources/price_volume_tiers.cjs.map +0 -1
  1543. package/lib/resources/price_volume_tiers.js.map +0 -1
  1544. package/lib/resources/prices.cjs.map +0 -1
  1545. package/lib/resources/prices.js.map +0 -1
  1546. package/lib/resources/promotion_rules.cjs.map +0 -1
  1547. package/lib/resources/promotion_rules.js.map +0 -1
  1548. package/lib/resources/promotions.cjs.map +0 -1
  1549. package/lib/resources/promotions.js.map +0 -1
  1550. package/lib/resources/recurring_order_copies.cjs.map +0 -1
  1551. package/lib/resources/recurring_order_copies.js.map +0 -1
  1552. package/lib/resources/refunds.cjs.map +0 -1
  1553. package/lib/resources/refunds.js.map +0 -1
  1554. package/lib/resources/reserved_stocks.cjs.map +0 -1
  1555. package/lib/resources/reserved_stocks.js.map +0 -1
  1556. package/lib/resources/resource_errors.cjs.map +0 -1
  1557. package/lib/resources/resource_errors.js.map +0 -1
  1558. package/lib/resources/return_line_items.cjs.map +0 -1
  1559. package/lib/resources/return_line_items.js.map +0 -1
  1560. package/lib/resources/returns.cjs.map +0 -1
  1561. package/lib/resources/returns.js.map +0 -1
  1562. package/lib/resources/satispay_gateways.cjs.map +0 -1
  1563. package/lib/resources/satispay_gateways.js.map +0 -1
  1564. package/lib/resources/satispay_payments.cjs.map +0 -1
  1565. package/lib/resources/satispay_payments.js.map +0 -1
  1566. package/lib/resources/shipment_line_items.cjs.map +0 -1
  1567. package/lib/resources/shipment_line_items.js.map +0 -1
  1568. package/lib/resources/shipments.cjs.map +0 -1
  1569. package/lib/resources/shipments.js.map +0 -1
  1570. package/lib/resources/shipping_categories.cjs.map +0 -1
  1571. package/lib/resources/shipping_categories.js.map +0 -1
  1572. package/lib/resources/shipping_method_tiers.cjs.map +0 -1
  1573. package/lib/resources/shipping_method_tiers.js.map +0 -1
  1574. package/lib/resources/shipping_methods.cjs.map +0 -1
  1575. package/lib/resources/shipping_methods.js.map +0 -1
  1576. package/lib/resources/shipping_weight_tiers.cjs.map +0 -1
  1577. package/lib/resources/shipping_weight_tiers.js.map +0 -1
  1578. package/lib/resources/shipping_zones.cjs.map +0 -1
  1579. package/lib/resources/shipping_zones.js.map +0 -1
  1580. package/lib/resources/sku_list_items.cjs.map +0 -1
  1581. package/lib/resources/sku_list_items.js.map +0 -1
  1582. package/lib/resources/sku_list_promotion_rules.cjs.map +0 -1
  1583. package/lib/resources/sku_list_promotion_rules.js.map +0 -1
  1584. package/lib/resources/sku_lists.cjs.map +0 -1
  1585. package/lib/resources/sku_lists.js.map +0 -1
  1586. package/lib/resources/sku_options.cjs.map +0 -1
  1587. package/lib/resources/sku_options.js.map +0 -1
  1588. package/lib/resources/skus.cjs.map +0 -1
  1589. package/lib/resources/skus.js.map +0 -1
  1590. package/lib/resources/stock_items.cjs.map +0 -1
  1591. package/lib/resources/stock_items.js.map +0 -1
  1592. package/lib/resources/stock_line_items.cjs.map +0 -1
  1593. package/lib/resources/stock_line_items.js.map +0 -1
  1594. package/lib/resources/stock_locations.cjs.map +0 -1
  1595. package/lib/resources/stock_locations.js.map +0 -1
  1596. package/lib/resources/stock_reservations.cjs.map +0 -1
  1597. package/lib/resources/stock_reservations.js.map +0 -1
  1598. package/lib/resources/stock_transfers.cjs.map +0 -1
  1599. package/lib/resources/stock_transfers.js.map +0 -1
  1600. package/lib/resources/stores.cjs.map +0 -1
  1601. package/lib/resources/stores.js.map +0 -1
  1602. package/lib/resources/stripe_gateways.cjs.map +0 -1
  1603. package/lib/resources/stripe_gateways.js.map +0 -1
  1604. package/lib/resources/stripe_payments.cjs.map +0 -1
  1605. package/lib/resources/stripe_payments.js.map +0 -1
  1606. package/lib/resources/stripe_tax_accounts.cjs.map +0 -1
  1607. package/lib/resources/stripe_tax_accounts.js.map +0 -1
  1608. package/lib/resources/subscription_models.cjs.map +0 -1
  1609. package/lib/resources/subscription_models.js.map +0 -1
  1610. package/lib/resources/tags.cjs.map +0 -1
  1611. package/lib/resources/tags.js.map +0 -1
  1612. package/lib/resources/talon_one_accounts.cjs.map +0 -1
  1613. package/lib/resources/talon_one_accounts.js.map +0 -1
  1614. package/lib/resources/tax_calculators.cjs.map +0 -1
  1615. package/lib/resources/tax_calculators.js.map +0 -1
  1616. package/lib/resources/tax_categories.cjs.map +0 -1
  1617. package/lib/resources/tax_categories.js.map +0 -1
  1618. package/lib/resources/tax_rules.cjs.map +0 -1
  1619. package/lib/resources/tax_rules.js.map +0 -1
  1620. package/lib/resources/taxjar_accounts.cjs.map +0 -1
  1621. package/lib/resources/taxjar_accounts.js.map +0 -1
  1622. package/lib/resources/transactions.cjs.map +0 -1
  1623. package/lib/resources/transactions.js.map +0 -1
  1624. package/lib/resources/vertex_accounts.cjs.map +0 -1
  1625. package/lib/resources/vertex_accounts.js.map +0 -1
  1626. package/lib/resources/voids.cjs.map +0 -1
  1627. package/lib/resources/voids.js.map +0 -1
  1628. package/lib/resources/webhooks.cjs.map +0 -1
  1629. package/lib/resources/webhooks.js.map +0 -1
  1630. package/lib/resources/wire_transfers.cjs.map +0 -1
  1631. package/lib/resources/wire_transfers.js.map +0 -1
  1632. package/lib/single-client.cjs.map +0 -1
  1633. package/lib/single-client.js.map +0 -1
  1634. package/lib/static.cjs.map +0 -1
  1635. package/lib/static.js.map +0 -1
  1636. package/lib/version.cjs.map +0 -1
  1637. package/lib/version.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../gen/resources/attachments.ts"],"names":["ApiResource"],"mappings":";;;;;AAsTA,IAAM,WAAA,GAAN,MAAM,YAAA,SAAoBA,6BAAA,CAAwB;AAAA,EAChD,OAAgB,IAAA,GAAuB,aAAA;AAAA,EAEvC,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACqB;AACrB,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAqC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,YAAA,CAAY,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACrH;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACqB;AACrB,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAqC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,YAAA,CAAY,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACrH;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC9E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAO,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,YAAA,CAAY,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACnG;AAAA,EAEA,MAAM,YAAA,CACJ,YAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,aAAA,GAAiB,aAA4B,EAAA,IAAO,YAAA;AAC1D,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,eAAe,aAAa,CAAA,aAAA,CAAA;AAAA,MAC5B,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,aAAa,QAAA,EAAuC;AAClD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,YAAA,CAAY,IAAA;AAAA,EACxD;AAAA,EAEA,aAAa,EAAA,EAA+C;AAC1D,IAAA,OAAO,KAAA,CAAM,qBAAoC,EAAE,CAAA;AAAA,EACrD;AAAA,EAEA,sBAAsB,GAAA,EAAgC;AACpD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAqC,GAAG,GAAG,CAAA;AAAA,EAC1D;AAAA,EAEA,IAAA,GAAuB;AACrB,IAAA,OAAO,YAAA,CAAY,IAAA;AAAA,EACrB;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,WAAA,EAAY;AACjC,IAAO,mBAAA,GAAQ","file":"chunk-5U36XDUW.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { Bundle, BundleType } from './bundles'\nimport type { CarrierAccount, CarrierAccountType } from './carrier_accounts'\nimport type { CouponRecipient, CouponRecipientType } from './coupon_recipients'\nimport type { CustomerGroup, CustomerGroupType } from './customer_groups'\nimport type { Customer, CustomerType } from './customers'\nimport type { DeliveryLeadTime, DeliveryLeadTimeType } from './delivery_lead_times'\nimport type { DiscountEngine, DiscountEngineType } from './discount_engines'\nimport type { EventStore } from './event_stores'\nimport type { Geocoder, GeocoderType } from './geocoders'\nimport type { GiftCardRecipient, GiftCardRecipientType } from './gift_card_recipients'\nimport type { GiftCard, GiftCardType } from './gift_cards'\nimport type { InventoryModel, InventoryModelType } from './inventory_models'\nimport type { LineItem, LineItemType } from './line_items'\nimport type { Market, MarketType } from './markets'\nimport type { Merchant, MerchantType } from './merchants'\nimport type { OrderValidationRule, OrderValidationRuleType } from './order_validation_rules'\nimport type { Order, OrderType } from './orders'\nimport type { Package, PackageType } from './packages'\nimport type { Parcel, ParcelType } from './parcels'\nimport type { PaymentLink, PaymentLinkType } from './payment_links'\nimport type { PaymentMethod, PaymentMethodType } from './payment_methods'\nimport type { PaymentOption, PaymentOptionType } from './payment_options'\nimport type { PaymentSession, PaymentSessionType } from './payment_sessions'\nimport type { PaymentTransaction, PaymentTransactionType } from './payment_transactions'\nimport type { PaymentWallet, PaymentWalletType } from './payment_wallets'\nimport type { PriceList, PriceListType } from './price_lists'\nimport type { PriceTier, PriceTierType } from './price_tiers'\nimport type { Price, PriceType } from './prices'\nimport type { Promotion, PromotionType } from './promotions'\nimport type { Return, ReturnType } from './returns'\nimport type { Shipment, ShipmentType } from './shipments'\nimport type { ShippingCategory, ShippingCategoryType } from './shipping_categories'\nimport type { ShippingMethodTier, ShippingMethodTierType } from './shipping_method_tiers'\nimport type { ShippingMethod, ShippingMethodType } from './shipping_methods'\nimport type { ShippingZone, ShippingZoneType } from './shipping_zones'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { SkuOption, SkuOptionType } from './sku_options'\nimport type { Sku, SkuType } from './skus'\nimport type { StockItem, StockItemType } from './stock_items'\nimport type { StockLocation, StockLocationType } from './stock_locations'\nimport type { StockTransfer, StockTransferType } from './stock_transfers'\nimport type { SubscriptionModel, SubscriptionModelType } from './subscription_models'\nimport type { TaxCalculator, TaxCalculatorType } from './tax_calculators'\nimport type { TaxCategory, TaxCategoryType } from './tax_categories'\nimport type { Transaction, TransactionType } from './transactions'\n\ntype AttachmentType = 'attachments'\ntype AttachmentRel = ResourceRel & { type: AttachmentType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype PriceListRel = ResourceRel & { type: PriceListType }\ntype CustomerGroupRel = ResourceRel & { type: CustomerGroupType }\ntype LineItemRel = ResourceRel & { type: LineItemType }\ntype PromotionRel = ResourceRel & { type: PromotionType }\ntype GeocoderRel = ResourceRel & { type: GeocoderType }\ntype PaymentMethodRel = ResourceRel & { type: PaymentMethodType }\ntype OrderRel = ResourceRel & { type: OrderType }\ntype TransactionRel = ResourceRel & { type: TransactionType }\ntype PaymentSessionRel = ResourceRel & { type: PaymentSessionType }\ntype TaxCalculatorRel = ResourceRel & { type: TaxCalculatorType }\ntype TaxCategoryRel = ResourceRel & { type: TaxCategoryType }\ntype SkuRel = ResourceRel & { type: SkuType }\ntype ShippingCategoryRel = ResourceRel & { type: ShippingCategoryType }\ntype OrderValidationRuleRel = ResourceRel & { type: OrderValidationRuleType }\ntype BundleRel = ResourceRel & { type: BundleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype StockItemRel = ResourceRel & { type: StockItemType }\ntype StockLocationRel = ResourceRel & { type: StockLocationType }\ntype ReturnRel = ResourceRel & { type: ReturnType }\ntype CarrierAccountRel = ResourceRel & { type: CarrierAccountType }\ntype CouponRecipientRel = ResourceRel & { type: CouponRecipientType }\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype PaymentWalletRel = ResourceRel & { type: PaymentWalletType }\ntype DeliveryLeadTimeRel = ResourceRel & { type: DeliveryLeadTimeType }\ntype ShippingMethodRel = ResourceRel & { type: ShippingMethodType }\ntype ShipmentRel = ResourceRel & { type: ShipmentType }\ntype DiscountEngineRel = ResourceRel & { type: DiscountEngineType }\ntype ParcelRel = ResourceRel & { type: ParcelType }\ntype GiftCardRecipientRel = ResourceRel & { type: GiftCardRecipientType }\ntype GiftCardRel = ResourceRel & { type: GiftCardType }\ntype InventoryModelRel = ResourceRel & { type: InventoryModelType }\ntype StockTransferRel = ResourceRel & { type: StockTransferType }\ntype SkuOptionRel = ResourceRel & { type: SkuOptionType }\ntype MerchantRel = ResourceRel & { type: MerchantType }\ntype SubscriptionModelRel = ResourceRel & { type: SubscriptionModelType }\ntype PaymentOptionRel = ResourceRel & { type: PaymentOptionType }\ntype PaymentTransactionRel = ResourceRel & { type: PaymentTransactionType }\ntype PaymentLinkRel = ResourceRel & { type: PaymentLinkType }\ntype PackageRel = ResourceRel & { type: PackageType }\ntype PriceRel = ResourceRel & { type: PriceType }\ntype PriceTierRel = ResourceRel & { type: PriceTierType }\ntype ShippingMethodTierRel = ResourceRel & { type: ShippingMethodTierType }\ntype ShippingZoneRel = ResourceRel & { type: ShippingZoneType }\n\nexport type AttachmentSort = Pick<Attachment, 'id' | 'name'> & ResourceSort\n// export type AttachmentFilter = Pick<Attachment, 'id' | 'name' | 'description'> & ResourceFilter\n\n/**\n * The Attachment object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/attachments endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/attachments/object\n */\ninterface Attachment extends Resource {\n readonly type: AttachmentType\n\n /**\n * The internal name of the attachment.\n * @example ```\"DDT transport document\"```\n */\n name: string\n /**\n * An internal description of the attachment.\n * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n */\n description?: string | null\n /**\n * The attachment URL.\n * @example ```\"https://s3.yourdomain.com/attachment.pdf\"```\n */\n url?: string | null\n\n attachable?:\n | Market\n | PriceList\n | CustomerGroup\n | LineItem\n | Promotion\n | Geocoder\n | PaymentMethod\n | Order\n | Transaction\n | PaymentSession\n | TaxCalculator\n | TaxCategory\n | Sku\n | ShippingCategory\n | OrderValidationRule\n | Bundle\n | SkuList\n | StockItem\n | StockLocation\n | Return\n | CarrierAccount\n | CouponRecipient\n | Customer\n | PaymentWallet\n | DeliveryLeadTime\n | ShippingMethod\n | Shipment\n | DiscountEngine\n | Parcel\n | GiftCardRecipient\n | GiftCard\n | InventoryModel\n | StockTransfer\n | SkuOption\n | Merchant\n | SubscriptionModel\n | PaymentOption\n | PaymentTransaction\n | PaymentLink\n | Package\n | Price\n | PriceTier\n | ShippingMethodTier\n | ShippingZone\n | null\n event_stores?: EventStore[] | null\n}\n\ninterface AttachmentCreate extends ResourceCreate {\n /**\n * The internal name of the attachment.\n * @example ```\"DDT transport document\"```\n */\n name: string\n /**\n * An internal description of the attachment.\n * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n */\n description?: string | null\n /**\n * The attachment URL.\n * @example ```\"https://s3.yourdomain.com/attachment.pdf\"```\n */\n url?: string | null\n\n attachable:\n | MarketRel\n | PriceListRel\n | CustomerGroupRel\n | LineItemRel\n | PromotionRel\n | GeocoderRel\n | PaymentMethodRel\n | OrderRel\n | TransactionRel\n | PaymentSessionRel\n | TaxCalculatorRel\n | TaxCategoryRel\n | SkuRel\n | ShippingCategoryRel\n | OrderValidationRuleRel\n | BundleRel\n | SkuListRel\n | StockItemRel\n | StockLocationRel\n | ReturnRel\n | CarrierAccountRel\n | CouponRecipientRel\n | CustomerRel\n | PaymentWalletRel\n | DeliveryLeadTimeRel\n | ShippingMethodRel\n | ShipmentRel\n | DiscountEngineRel\n | ParcelRel\n | GiftCardRecipientRel\n | GiftCardRel\n | InventoryModelRel\n | StockTransferRel\n | SkuOptionRel\n | MerchantRel\n | SubscriptionModelRel\n | PaymentOptionRel\n | PaymentTransactionRel\n | PaymentLinkRel\n | PackageRel\n | PriceRel\n | PriceTierRel\n | ShippingMethodTierRel\n | ShippingZoneRel\n}\n\ninterface AttachmentUpdate extends ResourceUpdate {\n /**\n * The internal name of the attachment.\n * @example ```\"DDT transport document\"```\n */\n name?: string | null\n /**\n * An internal description of the attachment.\n * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n */\n description?: string | null\n /**\n * The attachment URL.\n * @example ```\"https://s3.yourdomain.com/attachment.pdf\"```\n */\n url?: string | null\n\n attachable?:\n | MarketRel\n | PriceListRel\n | CustomerGroupRel\n | LineItemRel\n | PromotionRel\n | GeocoderRel\n | PaymentMethodRel\n | OrderRel\n | TransactionRel\n | PaymentSessionRel\n | TaxCalculatorRel\n | TaxCategoryRel\n | SkuRel\n | ShippingCategoryRel\n | OrderValidationRuleRel\n | BundleRel\n | SkuListRel\n | StockItemRel\n | StockLocationRel\n | ReturnRel\n | CarrierAccountRel\n | CouponRecipientRel\n | CustomerRel\n | PaymentWalletRel\n | DeliveryLeadTimeRel\n | ShippingMethodRel\n | ShipmentRel\n | DiscountEngineRel\n | ParcelRel\n | GiftCardRecipientRel\n | GiftCardRel\n | InventoryModelRel\n | StockTransferRel\n | SkuOptionRel\n | MerchantRel\n | SubscriptionModelRel\n | PaymentOptionRel\n | PaymentTransactionRel\n | PaymentLinkRel\n | PackageRel\n | PriceRel\n | PriceTierRel\n | ShippingMethodTierRel\n | ShippingZoneRel\n | null\n}\n\nclass Attachments extends ApiResource<Attachment> {\n static readonly TYPE: AttachmentType = 'attachments' as const\n\n async create(\n resource: AttachmentCreate,\n params?: QueryParamsRetrieve<Attachment>,\n options?: ResourcesConfig,\n ): Promise<Attachment> {\n return this.resources.create<AttachmentCreate, Attachment>({ ...resource, type: Attachments.TYPE }, params, options)\n }\n\n async update(\n resource: AttachmentUpdate,\n params?: QueryParamsRetrieve<Attachment>,\n options?: ResourcesConfig,\n ): Promise<Attachment> {\n return this.resources.update<AttachmentUpdate, Attachment>({ ...resource, type: Attachments.TYPE }, params, options)\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: Attachments.TYPE } : id, options)\n }\n\n async event_stores(\n attachmentId: string | Attachment,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _attachmentId = (attachmentId as Attachment).id || (attachmentId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `attachments/${_attachmentId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isAttachment(resource: any): resource is Attachment {\n return resource.type && resource.type === Attachments.TYPE\n }\n\n relationship(id: string | ResourceId | null): AttachmentRel {\n return super.relationshipOneToOne<AttachmentRel>(id)\n }\n\n relationshipToMany(...ids: string[]): AttachmentRel[] {\n return super.relationshipOneToMany<AttachmentRel>(...ids)\n }\n\n type(): AttachmentType {\n return Attachments.TYPE\n }\n}\n\nconst instance = new Attachments()\nexport default instance\n\nexport type { Attachment, AttachmentCreate, Attachments, AttachmentType, AttachmentUpdate }\n"]}
@@ -1,118 +0,0 @@
1
- import { ApiResource } from './chunk-GOYTSKMO.js';
2
-
3
- // gen/resources/payment_setting_gift_cards.ts
4
- var PaymentSettingGiftCards = class _PaymentSettingGiftCards extends ApiResource {
5
- static TYPE = "payment_setting_gift_cards";
6
- async create(resource, params, options) {
7
- return this.resources.create(
8
- { ...resource, type: _PaymentSettingGiftCards.TYPE },
9
- params,
10
- options
11
- );
12
- }
13
- async update(resource, params, options) {
14
- return this.resources.update(
15
- { ...resource, type: _PaymentSettingGiftCards.TYPE },
16
- params,
17
- options
18
- );
19
- }
20
- async delete(id, options) {
21
- await this.resources.delete(typeof id === "string" ? { id, type: _PaymentSettingGiftCards.TYPE } : id, options);
22
- }
23
- async payment_links(paymentSettingGiftCardId, params, options) {
24
- const _paymentSettingGiftCardId = paymentSettingGiftCardId.id || paymentSettingGiftCardId;
25
- return this.resources.fetch(
26
- { type: "payment_links" },
27
- `payment_setting_gift_cards/${_paymentSettingGiftCardId}/payment_links`,
28
- params,
29
- options
30
- );
31
- }
32
- async payment_sessions(paymentSettingGiftCardId, params, options) {
33
- const _paymentSettingGiftCardId = paymentSettingGiftCardId.id || paymentSettingGiftCardId;
34
- return this.resources.fetch(
35
- { type: "payment_sessions" },
36
- `payment_setting_gift_cards/${_paymentSettingGiftCardId}/payment_sessions`,
37
- params,
38
- options
39
- );
40
- }
41
- async payment_transactions(paymentSettingGiftCardId, params, options) {
42
- const _paymentSettingGiftCardId = paymentSettingGiftCardId.id || paymentSettingGiftCardId;
43
- return this.resources.fetch(
44
- { type: "payment_transactions" },
45
- `payment_setting_gift_cards/${_paymentSettingGiftCardId}/payment_transactions`,
46
- params,
47
- options
48
- );
49
- }
50
- async payment_wallets(paymentSettingGiftCardId, params, options) {
51
- const _paymentSettingGiftCardId = paymentSettingGiftCardId.id || paymentSettingGiftCardId;
52
- return this.resources.fetch(
53
- { type: "payment_wallets" },
54
- `payment_setting_gift_cards/${_paymentSettingGiftCardId}/payment_wallets`,
55
- params,
56
- options
57
- );
58
- }
59
- async order_subscriptions(paymentSettingGiftCardId, params, options) {
60
- const _paymentSettingGiftCardId = paymentSettingGiftCardId.id || paymentSettingGiftCardId;
61
- return this.resources.fetch(
62
- { type: "order_subscriptions" },
63
- `payment_setting_gift_cards/${_paymentSettingGiftCardId}/order_subscriptions`,
64
- params,
65
- options
66
- );
67
- }
68
- async events(paymentSettingGiftCardId, params, options) {
69
- const _paymentSettingGiftCardId = paymentSettingGiftCardId.id || paymentSettingGiftCardId;
70
- return this.resources.fetch(
71
- { type: "events" },
72
- `payment_setting_gift_cards/${_paymentSettingGiftCardId}/events`,
73
- params,
74
- options
75
- );
76
- }
77
- async event_stores(paymentSettingGiftCardId, params, options) {
78
- const _paymentSettingGiftCardId = paymentSettingGiftCardId.id || paymentSettingGiftCardId;
79
- return this.resources.fetch(
80
- { type: "event_stores" },
81
- `payment_setting_gift_cards/${_paymentSettingGiftCardId}/event_stores`,
82
- params,
83
- options
84
- );
85
- }
86
- async _disable(id, params, options) {
87
- return this.resources.update(
88
- { id: typeof id === "string" ? id : id.id, type: _PaymentSettingGiftCards.TYPE, _disable: true },
89
- params,
90
- options
91
- );
92
- }
93
- async _enable(id, params, options) {
94
- return this.resources.update(
95
- { id: typeof id === "string" ? id : id.id, type: _PaymentSettingGiftCards.TYPE, _enable: true },
96
- params,
97
- options
98
- );
99
- }
100
- isPaymentSettingGiftCard(resource) {
101
- return resource.type && resource.type === _PaymentSettingGiftCards.TYPE;
102
- }
103
- relationship(id) {
104
- return super.relationshipOneToOne(id);
105
- }
106
- relationshipToMany(...ids) {
107
- return super.relationshipOneToMany(...ids);
108
- }
109
- type() {
110
- return _PaymentSettingGiftCards.TYPE;
111
- }
112
- };
113
- var instance = new PaymentSettingGiftCards();
114
- var payment_setting_gift_cards_default = instance;
115
-
116
- export { payment_setting_gift_cards_default };
117
- //# sourceMappingURL=chunk-5UQ6DAC2.js.map
118
- //# sourceMappingURL=chunk-5UQ6DAC2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../gen/resources/payment_setting_gift_cards.ts"],"names":[],"mappings":";;;AAkKA,IAAM,uBAAA,GAAN,MAAM,wBAAA,SAAgC,WAAA,CAAoC;AAAA,EACxE,OAAgB,IAAA,GAAmC,4BAAA;AAAA,EAEnD,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACiC;AACjC,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,yBAAwB,IAAA,EAAK;AAAA,MAClD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACiC;AACjC,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,yBAAwB,IAAA,EAAK;AAAA,MAClD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC9E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAO,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,wBAAA,CAAwB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC/G;AAAA,EAEA,MAAM,aAAA,CACJ,wBAAA,EACA,MAAA,EACA,OAAA,EACoC;AACpC,IAAA,MAAM,yBAAA,GACH,yBAAoD,EAAA,IAAO,wBAAA;AAC9D,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,eAAA,EAAgB;AAAA,MACxB,8BAA8B,yBAAyB,CAAA,cAAA,CAAA;AAAA,MACvD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,gBAAA,CACJ,wBAAA,EACA,MAAA,EACA,OAAA,EACuC;AACvC,IAAA,MAAM,yBAAA,GACH,yBAAoD,EAAA,IAAO,wBAAA;AAC9D,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,kBAAA,EAAmB;AAAA,MAC3B,8BAA8B,yBAAyB,CAAA,iBAAA,CAAA;AAAA,MACvD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,oBAAA,CACJ,wBAAA,EACA,MAAA,EACA,OAAA,EAC2C;AAC3C,IAAA,MAAM,yBAAA,GACH,yBAAoD,EAAA,IAAO,wBAAA;AAC9D,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,sBAAA,EAAuB;AAAA,MAC/B,8BAA8B,yBAAyB,CAAA,qBAAA,CAAA;AAAA,MACvD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,eAAA,CACJ,wBAAA,EACA,MAAA,EACA,OAAA,EACsC;AACtC,IAAA,MAAM,yBAAA,GACH,yBAAoD,EAAA,IAAO,wBAAA;AAC9D,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,iBAAA,EAAkB;AAAA,MAC1B,8BAA8B,yBAAyB,CAAA,gBAAA,CAAA;AAAA,MACvD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,mBAAA,CACJ,wBAAA,EACA,MAAA,EACA,OAAA,EAC0C;AAC1C,IAAA,MAAM,yBAAA,GACH,yBAAoD,EAAA,IAAO,wBAAA;AAC9D,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,qBAAA,EAAsB;AAAA,MAC9B,8BAA8B,yBAAyB,CAAA,oBAAA,CAAA;AAAA,MACvD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,wBAAA,EACA,MAAA,EACA,OAAA,EAC8B;AAC9B,IAAA,MAAM,yBAAA,GACH,yBAAoD,EAAA,IAAO,wBAAA;AAC9D,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,QAAA,EAAS;AAAA,MACjB,8BAA8B,yBAAyB,CAAA,OAAA,CAAA;AAAA,MACvD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,YAAA,CACJ,wBAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,yBAAA,GACH,yBAAoD,EAAA,IAAO,wBAAA;AAC9D,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,8BAA8B,yBAAyB,CAAA,aAAA,CAAA;AAAA,MACvD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,QAAA,CACJ,EAAA,EACA,MAAA,EACA,OAAA,EACiC;AACjC,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,EAAA,EAAI,OAAO,EAAA,KAAO,QAAA,GAAW,EAAA,GAAK,EAAA,CAAG,EAAA,EAAI,IAAA,EAAM,wBAAA,CAAwB,IAAA,EAAM,QAAA,EAAU,IAAA,EAAK;AAAA,MAC9F,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,OAAA,CACJ,EAAA,EACA,MAAA,EACA,OAAA,EACiC;AACjC,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,EAAA,EAAI,OAAO,EAAA,KAAO,QAAA,GAAW,EAAA,GAAK,EAAA,CAAG,EAAA,EAAI,IAAA,EAAM,wBAAA,CAAwB,IAAA,EAAM,OAAA,EAAS,IAAA,EAAK;AAAA,MAC7F,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,yBAAyB,QAAA,EAAmD;AAC1E,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,wBAAA,CAAwB,IAAA;AAAA,EACpE;AAAA,EAEA,aAAa,EAAA,EAA2D;AACtE,IAAA,OAAO,KAAA,CAAM,qBAAgD,EAAE,CAAA;AAAA,EACjE;AAAA,EAEA,sBAAsB,GAAA,EAA4C;AAChE,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAiD,GAAG,GAAG,CAAA;AAAA,EACtE;AAAA,EAEA,IAAA,GAAmC;AACjC,IAAA,OAAO,wBAAA,CAAwB,IAAA;AAAA,EACjC;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,uBAAA,EAAwB;AAC7C,IAAO,kCAAA,GAAQ","file":"chunk-5UQ6DAC2.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { OrderSubscription } from './order_subscriptions'\nimport type { PaymentLink } from './payment_links'\nimport type { PaymentSession } from './payment_sessions'\nimport type { PaymentTransaction } from './payment_transactions'\nimport type { PaymentWallet } from './payment_wallets'\n\ntype PaymentSettingGiftCardType = 'payment_setting_gift_cards'\ntype PaymentSettingGiftCardRel = ResourceRel & { type: PaymentSettingGiftCardType }\n\nexport type PaymentSettingGiftCardSort = Pick<PaymentSettingGiftCard, 'id' | 'status' | 'name' | 'disabled_at'> &\n ResourceSort\n// export type PaymentSettingGiftCardFilter = Pick<PaymentSettingGiftCard, 'id' | 'gateway_version' | 'internal_versionable' | 'auto_capture' | 'auto_place' | 'status' | 'name' | 'disabled_at'> & ResourceFilter\n\n/**\n * The Payment setting gift card object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/payment_setting_gift_cards endpoint.\n * @since 2026-05\n *\n * @link https://docs.commercelayer.io/core-api-reference/2026-05/payment_setting_gift_cards/object\n */\ninterface PaymentSettingGiftCard extends Resource {\n readonly type: PaymentSettingGiftCardType\n\n /**\n * The gateway version of the payment setting (external API version).\n * @example ```\"2025-09-30.clover\"```\n */\n gateway_version?: string | null\n /**\n * The minutes within which a repeated payment operation is deduplicated by the gateway idempotency key. Later attempts get a fresh key.\n * @example ```60```\n */\n idempotency_window_mins?: number | null\n /**\n * The internal versions of the payment setting for payload changes.\n * @example ```{\"payment_intent\":\"V1\",\"setup_intent\":\"V3\"}```\n */\n internal_versions?: Record<string, any> | null\n /**\n * Indicates whether this payment setting's gateway supports internal payload versioning (see internal_versions).\n * @example ```true```\n */\n internal_versionable?: boolean | null\n /**\n * Send this attribute if you want the payment to be automatically captured when authorized.\n */\n auto_capture?: boolean | null\n /**\n * Send this attribute if you want the order to be automatically placed when a payment session using this payment setting is authorized.\n */\n auto_place?: boolean | null\n /**\n * The payment setting status. It is pending until the gateway webhook is configured, either automatically or by providing its secret.\n * @example ```\"active\"```\n */\n status: string\n /**\n * The name of the payment setting.\n * @example ```\"Stripe\"```\n */\n name?: string | null\n /**\n * Time at which this resource was disabled.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n disabled_at?: string | null\n\n payment_links?: PaymentLink[] | null\n payment_sessions?: PaymentSession[] | null\n payment_transactions?: PaymentTransaction[] | null\n payment_wallets?: PaymentWallet[] | null\n order_subscriptions?: OrderSubscription[] | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface PaymentSettingGiftCardCreate extends ResourceCreate {\n /**\n * The gateway version of the payment setting (external API version).\n * @example ```\"2025-09-30.clover\"```\n */\n gateway_version?: string | null\n /**\n * The minutes within which a repeated payment operation is deduplicated by the gateway idempotency key. Later attempts get a fresh key.\n * @example ```60```\n */\n idempotency_window_mins?: number | null\n /**\n * Send this attribute if you want the payment to be automatically captured when authorized.\n */\n auto_capture?: boolean | null\n /**\n * Send this attribute if you want the order to be automatically placed when a payment session using this payment setting is authorized.\n */\n auto_place?: boolean | null\n /**\n * The name of the payment setting.\n * @example ```\"Stripe\"```\n */\n name?: string | null\n /**\n * Send this attribute if you want to mark this resource as disabled.\n * @example ```true```\n */\n _disable?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as enabled.\n * @example ```true```\n */\n _enable?: boolean | null\n}\n\ninterface PaymentSettingGiftCardUpdate extends ResourceUpdate {\n /**\n * The gateway version of the payment setting (external API version).\n * @example ```\"2025-09-30.clover\"```\n */\n gateway_version?: string | null\n /**\n * The minutes within which a repeated payment operation is deduplicated by the gateway idempotency key. Later attempts get a fresh key.\n * @example ```60```\n */\n idempotency_window_mins?: number | null\n /**\n * Send this attribute if you want the payment to be automatically captured when authorized.\n */\n auto_capture?: boolean | null\n /**\n * Send this attribute if you want the order to be automatically placed when a payment session using this payment setting is authorized.\n */\n auto_place?: boolean | null\n /**\n * The name of the payment setting.\n * @example ```\"Stripe\"```\n */\n name?: string | null\n /**\n * Send this attribute if you want to mark this resource as disabled.\n * @example ```true```\n */\n _disable?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as enabled.\n * @example ```true```\n */\n _enable?: boolean | null\n}\n\n/** @since 2026-05 */\nclass PaymentSettingGiftCards extends ApiResource<PaymentSettingGiftCard> {\n static readonly TYPE: PaymentSettingGiftCardType = 'payment_setting_gift_cards' as const\n\n async create(\n resource: PaymentSettingGiftCardCreate,\n params?: QueryParamsRetrieve<PaymentSettingGiftCard>,\n options?: ResourcesConfig,\n ): Promise<PaymentSettingGiftCard> {\n return this.resources.create<PaymentSettingGiftCardCreate, PaymentSettingGiftCard>(\n { ...resource, type: PaymentSettingGiftCards.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: PaymentSettingGiftCardUpdate,\n params?: QueryParamsRetrieve<PaymentSettingGiftCard>,\n options?: ResourcesConfig,\n ): Promise<PaymentSettingGiftCard> {\n return this.resources.update<PaymentSettingGiftCardUpdate, PaymentSettingGiftCard>(\n { ...resource, type: PaymentSettingGiftCards.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: PaymentSettingGiftCards.TYPE } : id, options)\n }\n\n async payment_links(\n paymentSettingGiftCardId: string | PaymentSettingGiftCard,\n params?: QueryParamsList<PaymentLink>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<PaymentLink>> {\n const _paymentSettingGiftCardId =\n (paymentSettingGiftCardId as PaymentSettingGiftCard).id || (paymentSettingGiftCardId as string)\n return this.resources.fetch<PaymentLink>(\n { type: 'payment_links' },\n `payment_setting_gift_cards/${_paymentSettingGiftCardId}/payment_links`,\n params,\n options,\n ) as unknown as ListResponse<PaymentLink>\n }\n\n async payment_sessions(\n paymentSettingGiftCardId: string | PaymentSettingGiftCard,\n params?: QueryParamsList<PaymentSession>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<PaymentSession>> {\n const _paymentSettingGiftCardId =\n (paymentSettingGiftCardId as PaymentSettingGiftCard).id || (paymentSettingGiftCardId as string)\n return this.resources.fetch<PaymentSession>(\n { type: 'payment_sessions' },\n `payment_setting_gift_cards/${_paymentSettingGiftCardId}/payment_sessions`,\n params,\n options,\n ) as unknown as ListResponse<PaymentSession>\n }\n\n async payment_transactions(\n paymentSettingGiftCardId: string | PaymentSettingGiftCard,\n params?: QueryParamsList<PaymentTransaction>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<PaymentTransaction>> {\n const _paymentSettingGiftCardId =\n (paymentSettingGiftCardId as PaymentSettingGiftCard).id || (paymentSettingGiftCardId as string)\n return this.resources.fetch<PaymentTransaction>(\n { type: 'payment_transactions' },\n `payment_setting_gift_cards/${_paymentSettingGiftCardId}/payment_transactions`,\n params,\n options,\n ) as unknown as ListResponse<PaymentTransaction>\n }\n\n async payment_wallets(\n paymentSettingGiftCardId: string | PaymentSettingGiftCard,\n params?: QueryParamsList<PaymentWallet>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<PaymentWallet>> {\n const _paymentSettingGiftCardId =\n (paymentSettingGiftCardId as PaymentSettingGiftCard).id || (paymentSettingGiftCardId as string)\n return this.resources.fetch<PaymentWallet>(\n { type: 'payment_wallets' },\n `payment_setting_gift_cards/${_paymentSettingGiftCardId}/payment_wallets`,\n params,\n options,\n ) as unknown as ListResponse<PaymentWallet>\n }\n\n async order_subscriptions(\n paymentSettingGiftCardId: string | PaymentSettingGiftCard,\n params?: QueryParamsList<OrderSubscription>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<OrderSubscription>> {\n const _paymentSettingGiftCardId =\n (paymentSettingGiftCardId as PaymentSettingGiftCard).id || (paymentSettingGiftCardId as string)\n return this.resources.fetch<OrderSubscription>(\n { type: 'order_subscriptions' },\n `payment_setting_gift_cards/${_paymentSettingGiftCardId}/order_subscriptions`,\n params,\n options,\n ) as unknown as ListResponse<OrderSubscription>\n }\n\n async events(\n paymentSettingGiftCardId: string | PaymentSettingGiftCard,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _paymentSettingGiftCardId =\n (paymentSettingGiftCardId as PaymentSettingGiftCard).id || (paymentSettingGiftCardId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `payment_setting_gift_cards/${_paymentSettingGiftCardId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n paymentSettingGiftCardId: string | PaymentSettingGiftCard,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _paymentSettingGiftCardId =\n (paymentSettingGiftCardId as PaymentSettingGiftCard).id || (paymentSettingGiftCardId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `payment_setting_gift_cards/${_paymentSettingGiftCardId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _disable(\n id: string | PaymentSettingGiftCard,\n params?: QueryParamsRetrieve<PaymentSettingGiftCard>,\n options?: ResourcesConfig,\n ): Promise<PaymentSettingGiftCard> {\n return this.resources.update<PaymentSettingGiftCardUpdate, PaymentSettingGiftCard>(\n { id: typeof id === 'string' ? id : id.id, type: PaymentSettingGiftCards.TYPE, _disable: true },\n params,\n options,\n )\n }\n\n async _enable(\n id: string | PaymentSettingGiftCard,\n params?: QueryParamsRetrieve<PaymentSettingGiftCard>,\n options?: ResourcesConfig,\n ): Promise<PaymentSettingGiftCard> {\n return this.resources.update<PaymentSettingGiftCardUpdate, PaymentSettingGiftCard>(\n { id: typeof id === 'string' ? id : id.id, type: PaymentSettingGiftCards.TYPE, _enable: true },\n params,\n options,\n )\n }\n\n isPaymentSettingGiftCard(resource: any): resource is PaymentSettingGiftCard {\n return resource.type && resource.type === PaymentSettingGiftCards.TYPE\n }\n\n relationship(id: string | ResourceId | null): PaymentSettingGiftCardRel {\n return super.relationshipOneToOne<PaymentSettingGiftCardRel>(id)\n }\n\n relationshipToMany(...ids: string[]): PaymentSettingGiftCardRel[] {\n return super.relationshipOneToMany<PaymentSettingGiftCardRel>(...ids)\n }\n\n type(): PaymentSettingGiftCardType {\n return PaymentSettingGiftCards.TYPE\n }\n}\n\nconst instance = new PaymentSettingGiftCards()\nexport default instance\n\nexport type {\n PaymentSettingGiftCard,\n PaymentSettingGiftCardCreate,\n PaymentSettingGiftCards,\n PaymentSettingGiftCardType,\n PaymentSettingGiftCardUpdate,\n}\n"]}
@@ -1,68 +0,0 @@
1
- import { ApiResource } from './chunk-GOYTSKMO.js';
2
-
3
- // gen/resources/payment_options.ts
4
- var PaymentOptions = class _PaymentOptions extends ApiResource {
5
- static TYPE = "payment_options";
6
- async create(resource, params, options) {
7
- return this.resources.create(
8
- { ...resource, type: _PaymentOptions.TYPE },
9
- params,
10
- options
11
- );
12
- }
13
- async update(resource, params, options) {
14
- return this.resources.update(
15
- { ...resource, type: _PaymentOptions.TYPE },
16
- params,
17
- options
18
- );
19
- }
20
- async delete(id, options) {
21
- await this.resources.delete(typeof id === "string" ? { id, type: _PaymentOptions.TYPE } : id, options);
22
- }
23
- async order(paymentOptionId, params, options) {
24
- const _paymentOptionId = paymentOptionId.id || paymentOptionId;
25
- return this.resources.fetch(
26
- { type: "orders" },
27
- `payment_options/${_paymentOptionId}/order`,
28
- params,
29
- options
30
- );
31
- }
32
- async attachments(paymentOptionId, params, options) {
33
- const _paymentOptionId = paymentOptionId.id || paymentOptionId;
34
- return this.resources.fetch(
35
- { type: "attachments" },
36
- `payment_options/${_paymentOptionId}/attachments`,
37
- params,
38
- options
39
- );
40
- }
41
- async event_stores(paymentOptionId, params, options) {
42
- const _paymentOptionId = paymentOptionId.id || paymentOptionId;
43
- return this.resources.fetch(
44
- { type: "event_stores" },
45
- `payment_options/${_paymentOptionId}/event_stores`,
46
- params,
47
- options
48
- );
49
- }
50
- isPaymentOption(resource) {
51
- return resource.type && resource.type === _PaymentOptions.TYPE;
52
- }
53
- relationship(id) {
54
- return super.relationshipOneToOne(id);
55
- }
56
- relationshipToMany(...ids) {
57
- return super.relationshipOneToMany(...ids);
58
- }
59
- type() {
60
- return _PaymentOptions.TYPE;
61
- }
62
- };
63
- var instance = new PaymentOptions();
64
- var payment_options_default = instance;
65
-
66
- export { payment_options_default };
67
- //# sourceMappingURL=chunk-5YV67PRF.js.map
68
- //# sourceMappingURL=chunk-5YV67PRF.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../gen/resources/payment_options.ts"],"names":[],"mappings":";;;AA6GA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuB,WAAA,CAA2B;AAAA,EACtD,OAAgB,IAAA,GAA0B,iBAAA;AAAA,EAE1C,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACwB;AACxB,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,gBAAe,IAAA,EAAK;AAAA,MACzC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACwB;AACxB,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,gBAAe,IAAA,EAAK;AAAA,MACzC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC9E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAO,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,eAAA,CAAe,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACtG;AAAA,EAEA,MAAM,KAAA,CACJ,eAAA,EACA,MAAA,EACA,OAAA,EACgB;AAChB,IAAA,MAAM,gBAAA,GAAoB,gBAAkC,EAAA,IAAO,eAAA;AACnE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,QAAA,EAAS;AAAA,MACjB,mBAAmB,gBAAgB,CAAA,MAAA,CAAA;AAAA,MACnC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,WAAA,CACJ,eAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,gBAAA,GAAoB,gBAAkC,EAAA,IAAO,eAAA;AACnE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,aAAA,EAAc;AAAA,MACtB,mBAAmB,gBAAgB,CAAA,YAAA,CAAA;AAAA,MACnC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,YAAA,CACJ,eAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,gBAAA,GAAoB,gBAAkC,EAAA,IAAO,eAAA;AACnE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,mBAAmB,gBAAgB,CAAA,aAAA,CAAA;AAAA,MACnC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,gBAAgB,QAAA,EAA0C;AACxD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,eAAA,CAAe,IAAA;AAAA,EAC3D;AAAA,EAEA,aAAa,EAAA,EAAkD;AAC7D,IAAA,OAAO,KAAA,CAAM,qBAAuC,EAAE,CAAA;AAAA,EACxD;AAAA,EAEA,sBAAsB,GAAA,EAAmC;AACvD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAwC,GAAG,GAAG,CAAA;AAAA,EAC7D;AAAA,EAEA,IAAA,GAA0B;AACxB,IAAA,OAAO,eAAA,CAAe,IAAA;AAAA,EACxB;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,cAAA,EAAe;AACpC,IAAO,uBAAA,GAAQ","file":"chunk-5YV67PRF.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Order, OrderType } from './orders'\n\ntype PaymentOptionType = 'payment_options'\ntype PaymentOptionRel = ResourceRel & { type: PaymentOptionType }\ntype OrderRel = ResourceRel & { type: OrderType }\n\nexport type PaymentOptionSort = Pick<PaymentOption, 'id' | 'name' | 'payment_source_type'> & ResourceSort\n// export type PaymentOptionFilter = Pick<PaymentOption, 'id' | 'name' | 'payment_source_type' | 'data'> & ResourceFilter\n\n/**\n * The Payment option object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/payment_options endpoint.\n *\n * @deprecated Deprecated in API version 2026-05.\n * @link https://docs.commercelayer.io/core-api-reference/payment_options/object\n */\ninterface PaymentOption extends Resource {\n readonly type: PaymentOptionType\n\n /**\n * The payment option's name. Wehn blank is inherited by payment source type.\n * @example ```\"Stripe Payment Option\"```\n */\n name?: string | null\n /**\n * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.\n * @example ```\"stripe_payments\"```\n */\n payment_source_type:\n | 'adyen_payments'\n | 'axerve_payments'\n | 'braintree_payments'\n | 'checkout_com_payments'\n | 'external_payments'\n | 'klarna_payments'\n | 'paypal_payments'\n | 'satispay_payments'\n | 'stripe_payments'\n | 'wire_transfers'\n /**\n * The payment options data to be added to the payment source payload. Check payment specific API for more details.\n * @example ```{\"application_fee_amount\":1000,\"on_behalf_of\":\"pm_xxx\"}```\n */\n data: Record<string, any>\n\n order?: Order | null\n attachments?: Attachment[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface PaymentOptionCreate extends ResourceCreate {\n /**\n * The payment option's name. Wehn blank is inherited by payment source type.\n * @example ```\"Stripe Payment Option\"```\n */\n name?: string | null\n /**\n * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.\n * @example ```\"stripe_payments\"```\n */\n payment_source_type:\n | 'adyen_payments'\n | 'axerve_payments'\n | 'braintree_payments'\n | 'checkout_com_payments'\n | 'external_payments'\n | 'klarna_payments'\n | 'paypal_payments'\n | 'satispay_payments'\n | 'stripe_payments'\n | 'wire_transfers'\n /**\n * The payment options data to be added to the payment source payload. Check payment specific API for more details.\n * @example ```{\"application_fee_amount\":1000,\"on_behalf_of\":\"pm_xxx\"}```\n */\n data: Record<string, any>\n\n order: OrderRel\n}\n\ninterface PaymentOptionUpdate extends ResourceUpdate {\n /**\n * The payment option's name. Wehn blank is inherited by payment source type.\n * @example ```\"Stripe Payment Option\"```\n */\n name?: string | null\n /**\n * The payment options data to be added to the payment source payload. Check payment specific API for more details.\n * @example ```{\"application_fee_amount\":1000,\"on_behalf_of\":\"pm_xxx\"}```\n */\n data?: Record<string, any> | null\n\n order?: OrderRel | null\n}\n\n/** @deprecated Deprecated in API version 2026-05. */\nclass PaymentOptions extends ApiResource<PaymentOption> {\n static readonly TYPE: PaymentOptionType = 'payment_options' as const\n\n async create(\n resource: PaymentOptionCreate,\n params?: QueryParamsRetrieve<PaymentOption>,\n options?: ResourcesConfig,\n ): Promise<PaymentOption> {\n return this.resources.create<PaymentOptionCreate, PaymentOption>(\n { ...resource, type: PaymentOptions.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: PaymentOptionUpdate,\n params?: QueryParamsRetrieve<PaymentOption>,\n options?: ResourcesConfig,\n ): Promise<PaymentOption> {\n return this.resources.update<PaymentOptionUpdate, PaymentOption>(\n { ...resource, type: PaymentOptions.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: PaymentOptions.TYPE } : id, options)\n }\n\n async order(\n paymentOptionId: string | PaymentOption,\n params?: QueryParamsRetrieve<Order>,\n options?: ResourcesConfig,\n ): Promise<Order> {\n const _paymentOptionId = (paymentOptionId as PaymentOption).id || (paymentOptionId as string)\n return this.resources.fetch<Order>(\n { type: 'orders' },\n `payment_options/${_paymentOptionId}/order`,\n params,\n options,\n ) as unknown as Order\n }\n\n async attachments(\n paymentOptionId: string | PaymentOption,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _paymentOptionId = (paymentOptionId as PaymentOption).id || (paymentOptionId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `payment_options/${_paymentOptionId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async event_stores(\n paymentOptionId: string | PaymentOption,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _paymentOptionId = (paymentOptionId as PaymentOption).id || (paymentOptionId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `payment_options/${_paymentOptionId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isPaymentOption(resource: any): resource is PaymentOption {\n return resource.type && resource.type === PaymentOptions.TYPE\n }\n\n relationship(id: string | ResourceId | null): PaymentOptionRel {\n return super.relationshipOneToOne<PaymentOptionRel>(id)\n }\n\n relationshipToMany(...ids: string[]): PaymentOptionRel[] {\n return super.relationshipOneToMany<PaymentOptionRel>(...ids)\n }\n\n type(): PaymentOptionType {\n return PaymentOptions.TYPE\n }\n}\n\nconst instance = new PaymentOptions()\nexport default instance\n\nexport type { PaymentOption, PaymentOptionCreate, PaymentOptions, PaymentOptionType, PaymentOptionUpdate }\n"]}
@@ -1,117 +0,0 @@
1
- 'use strict';
2
-
3
- var chunk2WQORYBI_cjs = require('./chunk-2WQORYBI.cjs');
4
- var chunkAEEWE5BS_cjs = require('./chunk-AEEWE5BS.cjs');
5
- var chunkNE6TY6OY_cjs = require('./chunk-NE6TY6OY.cjs');
6
-
7
- // src/commercelayer.ts
8
- var debug = chunk2WQORYBI_cjs.debug_default("commercelayer");
9
- var CommerceLayerSingleClient = class _CommerceLayerSingleClient {
10
- apiSchemaVersion = chunkNE6TY6OY_cjs.API_SCHEMA_VERSION;
11
- apiSupportedVersions = chunkNE6TY6OY_cjs.API_SUPPORTED_VERSIONS;
12
- static cl;
13
- static get(config) {
14
- if (config) return _CommerceLayerSingleClient.cl = new _CommerceLayerSingleClient(config);
15
- else if (!_CommerceLayerSingleClient.cl) throw new Error("CommerceLayer client not initialized");
16
- return _CommerceLayerSingleClient.cl;
17
- }
18
- // The ResourceAdapter created for this specific client instance. Every
19
- // `CommerceLayer(config)` call builds a fresh adapter (its own ApiClient
20
- // with its own access token). The bundle client reads this so two clients
21
- // stay isolated; see the `adapter` seam below.
22
- instanceAdapter;
23
- constructor(config) {
24
- debug("new commercelayer instance %O", config);
25
- this.instanceAdapter = chunk2WQORYBI_cjs.ApiResourceAdapter.init(config);
26
- }
27
- // Adapter seam. The base (plain SDK) reports the process-global static
28
- // adapter so `config()` and the getters below stay in sync with the
29
- // directly-imported resource singletons — unchanged behaviour. The bundle
30
- // overrides this to return its own `instanceAdapter`, isolating clients.
31
- get adapter() {
32
- return chunk2WQORYBI_cjs.ApiResourceAdapter.get();
33
- }
34
- get currentOrganization() {
35
- return this.adapter.client?.currentOrganization;
36
- }
37
- get currentAccessToken() {
38
- return this.adapter.client?.currentAccessToken;
39
- }
40
- /** The API version pinned via `apiVersion`, or `undefined` when requests are unversioned. */
41
- get currentApiVersion() {
42
- return this.adapter.client?.currentApiVersion;
43
- }
44
- get interceptors() {
45
- return this.adapter.client?.interceptors;
46
- }
47
- localConfig(_config) {
48
- }
49
- config(config) {
50
- debug("config %o", config);
51
- this.localConfig(config);
52
- this.adapter.config(config);
53
- return this;
54
- }
55
- resources(sort) {
56
- return chunkAEEWE5BS_cjs.getResources(sort);
57
- }
58
- isApiError(error) {
59
- return chunk2WQORYBI_cjs.isApiError(error);
60
- }
61
- addRequestInterceptor(onSuccess, onFailure) {
62
- this.interceptors.request = { onSuccess, onFailure };
63
- return 1;
64
- }
65
- addResponseInterceptor(onSuccess, onFailure) {
66
- this.interceptors.response = { onSuccess, onFailure };
67
- return 1;
68
- }
69
- removeInterceptor(type, _id = 1) {
70
- this.interceptors[type] = void 0;
71
- }
72
- removeInterceptors() {
73
- this.removeInterceptor("request");
74
- this.removeInterceptor("response");
75
- this.removeRawResponseReader();
76
- }
77
- addRawResponseReader(options) {
78
- const reader = {
79
- id: 0,
80
- rawResponse: void 0,
81
- headers: void 0,
82
- ok: true
83
- };
84
- async function rawResponseInterceptor(response) {
85
- reader.rawResponse = await response?.clone().json().catch(() => {
86
- });
87
- reader.ok = response.ok;
88
- if (options?.headers) {
89
- const ho = {};
90
- response.headers.forEach((value, key) => {
91
- ho[key] = value;
92
- });
93
- reader.headers = ho;
94
- }
95
- return response;
96
- }
97
- this.interceptors.rawReader = {
98
- onSuccess: rawResponseInterceptor,
99
- onFailure: rawResponseInterceptor
100
- };
101
- reader.id = 1;
102
- return reader;
103
- }
104
- removeRawResponseReader() {
105
- this.interceptors.rawReader = void 0;
106
- }
107
- };
108
- var CommerceLayer = (config) => {
109
- return CommerceLayerSingleClient.get(config);
110
- };
111
- var commercelayer_default = CommerceLayer;
112
-
113
- exports.CommerceLayer = CommerceLayer;
114
- exports.CommerceLayerSingleClient = CommerceLayerSingleClient;
115
- exports.commercelayer_default = commercelayer_default;
116
- //# sourceMappingURL=chunk-65TD34O5.cjs.map
117
- //# sourceMappingURL=chunk-65TD34O5.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/commercelayer.ts"],"names":["debug_default","API_SCHEMA_VERSION","API_SUPPORTED_VERSIONS","ApiResourceAdapter","getResources","isApiError"],"mappings":"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","file":"chunk-65TD34O5.cjs","sourcesContent":["import Debug from '@runtime/debug'\nimport { type ApiError, isApiError } from '@runtime/error'\nimport type {\n ErrorInterceptor,\n HeadersObj,\n InterceptorManager,\n InterceptorType,\n RawResponseReader,\n RequestInterceptor,\n ResponseInterceptor,\n ResponseObj,\n} from '@runtime/interceptor'\nimport { ApiResourceAdapter, type ResourceAdapter, type ResourcesInitConfig } from '@runtime/resource'\n// import * as api from '../gen/api'\nimport { getResources } from '../gen/enum'\nimport { API_SCHEMA_VERSION, API_SUPPORTED_VERSIONS, type ApiVersion, SDK_VERSION } from '../gen/version'\n\nconst debug = Debug('commercelayer')\n\nexport { API_SCHEMA_VERSION, API_SUPPORTED_VERSIONS, type ApiVersion, SDK_VERSION }\n\n// SDK local configuration\ntype SdkConfig = {\n /** Set to `false` to omit the `X-CL-SDK` request header that identifies the SDK and its version. Defaults to `true`. */\n telemetry?: boolean\n}\n\n/**\n * The `apiVersion` init option, conditioned on how the SDK was generated:\n * - **Version-aware (unified) builds** — {@link API_SUPPORTED_VERSIONS} is\n * non-empty — **require** `apiVersion`. The chosen value becomes a URL path\n * segment (`/api/2026-05/orders`), keeping requests aligned with the version\n * the types were generated for.\n * - **Legacy builds** — empty {@link API_SUPPORTED_VERSIONS}, so {@link ApiVersion}\n * is `never` — take **no** `apiVersion` argument. The API is unversioned\n * (`/api/orders`).\n */\ntype ApiVersionConfig = [ApiVersion] extends [never] ? { apiVersion?: never } : { apiVersion: ApiVersion }\n\ntype CommerceLayerInitConfig = SdkConfig & ApiVersionConfig & ResourcesInitConfig\ntype CommerceLayerConfig = Partial<CommerceLayerInitConfig>\n\nclass CommerceLayerSingleClient {\n readonly apiSchemaVersion = API_SCHEMA_VERSION\n readonly apiSupportedVersions = API_SUPPORTED_VERSIONS\n\n protected static cl: CommerceLayerSingleClient\n\n static get(config?: CommerceLayerInitConfig): CommerceLayerSingleClient {\n if (config) return (CommerceLayerSingleClient.cl = new CommerceLayerSingleClient(config))\n else if (!CommerceLayerSingleClient.cl) throw new Error('CommerceLayer client not initialized')\n return CommerceLayerSingleClient.cl\n }\n\n // The ResourceAdapter created for this specific client instance. Every\n // `CommerceLayer(config)` call builds a fresh adapter (its own ApiClient\n // with its own access token). The bundle client reads this so two clients\n // stay isolated; see the `adapter` seam below.\n protected readonly instanceAdapter: ResourceAdapter\n\n protected constructor(config: CommerceLayerInitConfig) {\n debug('new commercelayer instance %O', config)\n\n // `init` builds a new adapter AND sets the process-global static one.\n // We keep the return value so the bundle can bind resources to this\n // exact adapter; the static assignment stays for the plain SDK, whose\n // directly-imported resource singletons resolve through it.\n this.instanceAdapter = ApiResourceAdapter.init(config)\n }\n\n // Adapter seam. The base (plain SDK) reports the process-global static\n // adapter so `config()` and the getters below stay in sync with the\n // directly-imported resource singletons — unchanged behaviour. The bundle\n // overrides this to return its own `instanceAdapter`, isolating clients.\n protected get adapter(): ResourceAdapter {\n return ApiResourceAdapter.get()\n }\n\n get currentOrganization(): string {\n return this.adapter.client?.currentOrganization\n }\n get currentAccessToken(): string {\n return this.adapter.client?.currentAccessToken\n }\n /** The API version pinned via `apiVersion`, or `undefined` when requests are unversioned. */\n get currentApiVersion(): string | undefined {\n return this.adapter.client?.currentApiVersion\n }\n private get interceptors(): InterceptorManager {\n return this.adapter.client?.interceptors\n }\n\n private localConfig(_config: Partial<SdkConfig>): void {\n // if (config.abc) this.abc = config.abc\n }\n\n config(config: CommerceLayerConfig): this {\n debug('config %o', config)\n\n // CommerceLayer config\n this.localConfig(config)\n // ResourceAdapter config\n this.adapter.config(config)\n\n return this\n }\n\n resources(sort?: boolean): readonly string[] {\n return getResources(sort)\n }\n\n isApiError(error: any): error is ApiError {\n return isApiError(error)\n }\n\n addRequestInterceptor(onSuccess?: RequestInterceptor, onFailure?: ErrorInterceptor): number {\n this.interceptors.request = { onSuccess, onFailure }\n return 1\n }\n\n addResponseInterceptor(onSuccess?: ResponseInterceptor, onFailure?: ErrorInterceptor): number {\n this.interceptors.response = { onSuccess, onFailure }\n return 1\n }\n\n removeInterceptor(type: InterceptorType, _id: number = 1): void {\n this.interceptors[type] = undefined\n }\n\n removeInterceptors(): void {\n this.removeInterceptor('request')\n this.removeInterceptor('response')\n this.removeRawResponseReader()\n }\n\n addRawResponseReader(options?: { headers: boolean }): RawResponseReader {\n const reader: RawResponseReader = {\n id: 0,\n rawResponse: undefined,\n headers: undefined,\n ok: true,\n }\n\n async function rawResponseInterceptor(response: ResponseObj): Promise<ResponseObj> {\n reader.rawResponse = await response\n ?.clone()\n .json()\n .catch(() => {})\n reader.ok = response.ok\n if (options?.headers) {\n const ho: HeadersObj = {}\n response.headers.forEach((value, key) => {\n ho[key] = value\n })\n reader.headers = ho\n }\n return response\n }\n\n /* const interceptor = */ this.interceptors.rawReader = {\n onSuccess: rawResponseInterceptor,\n onFailure: rawResponseInterceptor,\n }\n reader.id = 1 // interceptor\n\n return reader\n }\n\n removeRawResponseReader(/* reader: number | RawResponseReader */): void {\n /*\n\t\tconst id = (typeof reader === 'number') ? reader : reader?.id\n\t\tif (id && (id >= 0)) this.removeInterceptor('response', id)\n\t\t*/\n this.interceptors.rawReader = undefined\n }\n}\n\nconst CommerceLayer = (config: CommerceLayerInitConfig): CommerceLayerSingleClient => {\n return CommerceLayerSingleClient.get(config)\n}\n\nexport default CommerceLayer\nexport type { CommerceLayerConfig, CommerceLayerInitConfig }\nexport { CommerceLayer, CommerceLayerSingleClient }\n"]}
@@ -1,69 +0,0 @@
1
- import { ApiResource } from './chunk-GOYTSKMO.js';
2
-
3
- // gen/resources/packages.ts
4
- var Packages = class _Packages extends ApiResource {
5
- static TYPE = "packages";
6
- async create(resource, params, options) {
7
- return this.resources.create({ ...resource, type: _Packages.TYPE }, params, options);
8
- }
9
- async update(resource, params, options) {
10
- return this.resources.update({ ...resource, type: _Packages.TYPE }, params, options);
11
- }
12
- async delete(id, options) {
13
- await this.resources.delete(typeof id === "string" ? { id, type: _Packages.TYPE } : id, options);
14
- }
15
- async stock_location(packageId, params, options) {
16
- const _packageId = packageId.id || packageId;
17
- return this.resources.fetch(
18
- { type: "stock_locations" },
19
- `packages/${_packageId}/stock_location`,
20
- params,
21
- options
22
- );
23
- }
24
- async parcels(packageId, params, options) {
25
- const _packageId = packageId.id || packageId;
26
- return this.resources.fetch(
27
- { type: "parcels" },
28
- `packages/${_packageId}/parcels`,
29
- params,
30
- options
31
- );
32
- }
33
- async attachments(packageId, params, options) {
34
- const _packageId = packageId.id || packageId;
35
- return this.resources.fetch(
36
- { type: "attachments" },
37
- `packages/${_packageId}/attachments`,
38
- params,
39
- options
40
- );
41
- }
42
- async event_stores(packageId, params, options) {
43
- const _packageId = packageId.id || packageId;
44
- return this.resources.fetch(
45
- { type: "event_stores" },
46
- `packages/${_packageId}/event_stores`,
47
- params,
48
- options
49
- );
50
- }
51
- isPackage(resource) {
52
- return resource.type && resource.type === _Packages.TYPE;
53
- }
54
- relationship(id) {
55
- return super.relationshipOneToOne(id);
56
- }
57
- relationshipToMany(...ids) {
58
- return super.relationshipOneToMany(...ids);
59
- }
60
- type() {
61
- return _Packages.TYPE;
62
- }
63
- };
64
- var instance = new Packages();
65
- var packages_default = instance;
66
-
67
- export { packages_default };
68
- //# sourceMappingURL=chunk-66MS6UXW.js.map
69
- //# sourceMappingURL=chunk-66MS6UXW.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../gen/resources/packages.ts"],"names":[],"mappings":"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","file":"chunk-66MS6UXW.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Parcel } from './parcels'\nimport type { StockLocation, StockLocationType } from './stock_locations'\n\ntype PackageType = 'packages'\ntype PackageRel = ResourceRel & { type: PackageType }\ntype StockLocationRel = ResourceRel & { type: StockLocationType }\n\nexport type PackageSort = Pick<Package, 'id' | 'name' | 'code' | 'length' | 'width' | 'height' | 'unit_of_length'> &\n ResourceSort\n// export type PackageFilter = Pick<Package, 'id' | 'name' | 'code' | 'length' | 'width' | 'height' | 'unit_of_length'> & ResourceFilter\n\n/**\n * The Package object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/packages endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/packages/object\n */\ninterface Package extends Resource {\n readonly type: PackageType\n\n /**\n * Unique name for the package.\n * @example ```\"Large (60x40x30)\"```\n */\n name: string\n /**\n * The package identifying code.\n * @example ```\"YYYY 2000\"```\n */\n code?: string | null\n /**\n * The package length, used to automatically calculate the tax rates from the available carrier accounts.\n * @example ```40```\n */\n length: number\n /**\n * The package width, used to automatically calculate the tax rates from the available carrier accounts.\n * @example ```40```\n */\n width: number\n /**\n * The package height, used to automatically calculate the tax rates from the available carrier accounts.\n * @example ```25```\n */\n height: number\n /**\n * The unit of length. Can be one of 'cm', or 'in'.\n * @example ```\"gr\"```\n */\n unit_of_length: string\n\n stock_location?: StockLocation | null\n parcels?: Parcel[] | null\n attachments?: Attachment[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface PackageCreate extends ResourceCreate {\n /**\n * Unique name for the package.\n * @example ```\"Large (60x40x30)\"```\n */\n name: string\n /**\n * The package identifying code.\n * @example ```\"YYYY 2000\"```\n */\n code?: string | null\n /**\n * The package length, used to automatically calculate the tax rates from the available carrier accounts.\n * @example ```40```\n */\n length: number\n /**\n * The package width, used to automatically calculate the tax rates from the available carrier accounts.\n * @example ```40```\n */\n width: number\n /**\n * The package height, used to automatically calculate the tax rates from the available carrier accounts.\n * @example ```25```\n */\n height: number\n /**\n * The unit of length. Can be one of 'cm', or 'in'.\n * @example ```\"gr\"```\n */\n unit_of_length: string\n\n stock_location: StockLocationRel\n}\n\ninterface PackageUpdate extends ResourceUpdate {\n /**\n * Unique name for the package.\n * @example ```\"Large (60x40x30)\"```\n */\n name?: string | null\n /**\n * The package identifying code.\n * @example ```\"YYYY 2000\"```\n */\n code?: string | null\n /**\n * The package length, used to automatically calculate the tax rates from the available carrier accounts.\n * @example ```40```\n */\n length?: number | null\n /**\n * The package width, used to automatically calculate the tax rates from the available carrier accounts.\n * @example ```40```\n */\n width?: number | null\n /**\n * The package height, used to automatically calculate the tax rates from the available carrier accounts.\n * @example ```25```\n */\n height?: number | null\n /**\n * The unit of length. Can be one of 'cm', or 'in'.\n * @example ```\"gr\"```\n */\n unit_of_length?: string | null\n\n stock_location?: StockLocationRel | null\n}\n\nclass Packages extends ApiResource<Package> {\n static readonly TYPE: PackageType = 'packages' as const\n\n async create(\n resource: PackageCreate,\n params?: QueryParamsRetrieve<Package>,\n options?: ResourcesConfig,\n ): Promise<Package> {\n return this.resources.create<PackageCreate, Package>({ ...resource, type: Packages.TYPE }, params, options)\n }\n\n async update(\n resource: PackageUpdate,\n params?: QueryParamsRetrieve<Package>,\n options?: ResourcesConfig,\n ): Promise<Package> {\n return this.resources.update<PackageUpdate, Package>({ ...resource, type: Packages.TYPE }, params, options)\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: Packages.TYPE } : id, options)\n }\n\n async stock_location(\n packageId: string | Package,\n params?: QueryParamsRetrieve<StockLocation>,\n options?: ResourcesConfig,\n ): Promise<StockLocation> {\n const _packageId = (packageId as Package).id || (packageId as string)\n return this.resources.fetch<StockLocation>(\n { type: 'stock_locations' },\n `packages/${_packageId}/stock_location`,\n params,\n options,\n ) as unknown as StockLocation\n }\n\n async parcels(\n packageId: string | Package,\n params?: QueryParamsList<Parcel>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Parcel>> {\n const _packageId = (packageId as Package).id || (packageId as string)\n return this.resources.fetch<Parcel>(\n { type: 'parcels' },\n `packages/${_packageId}/parcels`,\n params,\n options,\n ) as unknown as ListResponse<Parcel>\n }\n\n async attachments(\n packageId: string | Package,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _packageId = (packageId as Package).id || (packageId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `packages/${_packageId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async event_stores(\n packageId: string | Package,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _packageId = (packageId as Package).id || (packageId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `packages/${_packageId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isPackage(resource: any): resource is Package {\n return resource.type && resource.type === Packages.TYPE\n }\n\n relationship(id: string | ResourceId | null): PackageRel {\n return super.relationshipOneToOne<PackageRel>(id)\n }\n\n relationshipToMany(...ids: string[]): PackageRel[] {\n return super.relationshipOneToMany<PackageRel>(...ids)\n }\n\n type(): PackageType {\n return Packages.TYPE\n }\n}\n\nconst instance = new Packages()\nexport default instance\n\nexport type { Package, PackageCreate, Packages, PackageType, PackageUpdate }\n"]}
@@ -1,80 +0,0 @@
1
- import { ApiResource } from './chunk-GOYTSKMO.js';
2
-
3
- // gen/resources/parcel_line_items.ts
4
- var ParcelLineItems = class _ParcelLineItems extends ApiResource {
5
- static TYPE = "parcel_line_items";
6
- async create(resource, params, options) {
7
- return this.resources.create(
8
- { ...resource, type: _ParcelLineItems.TYPE },
9
- params,
10
- options
11
- );
12
- }
13
- async update(resource, params, options) {
14
- return this.resources.update(
15
- { ...resource, type: _ParcelLineItems.TYPE },
16
- params,
17
- options
18
- );
19
- }
20
- async delete(id, options) {
21
- await this.resources.delete(typeof id === "string" ? { id, type: _ParcelLineItems.TYPE } : id, options);
22
- }
23
- async parcel(parcelLineItemId, params, options) {
24
- const _parcelLineItemId = parcelLineItemId.id || parcelLineItemId;
25
- return this.resources.fetch(
26
- { type: "parcels" },
27
- `parcel_line_items/${_parcelLineItemId}/parcel`,
28
- params,
29
- options
30
- );
31
- }
32
- async stock_line_item(parcelLineItemId, params, options) {
33
- const _parcelLineItemId = parcelLineItemId.id || parcelLineItemId;
34
- return this.resources.fetch(
35
- { type: "stock_line_items" },
36
- `parcel_line_items/${_parcelLineItemId}/stock_line_item`,
37
- params,
38
- options
39
- );
40
- }
41
- /**
42
- * @deprecated Deprecated in API version 2026-05.
43
- */
44
- async shipment_line_item(parcelLineItemId, params, options) {
45
- const _parcelLineItemId = parcelLineItemId.id || parcelLineItemId;
46
- return this.resources.fetch(
47
- { type: "shipment_line_items" },
48
- `parcel_line_items/${_parcelLineItemId}/shipment_line_item`,
49
- params,
50
- options
51
- );
52
- }
53
- async event_stores(parcelLineItemId, params, options) {
54
- const _parcelLineItemId = parcelLineItemId.id || parcelLineItemId;
55
- return this.resources.fetch(
56
- { type: "event_stores" },
57
- `parcel_line_items/${_parcelLineItemId}/event_stores`,
58
- params,
59
- options
60
- );
61
- }
62
- isParcelLineItem(resource) {
63
- return resource.type && resource.type === _ParcelLineItems.TYPE;
64
- }
65
- relationship(id) {
66
- return super.relationshipOneToOne(id);
67
- }
68
- relationshipToMany(...ids) {
69
- return super.relationshipOneToMany(...ids);
70
- }
71
- type() {
72
- return _ParcelLineItems.TYPE;
73
- }
74
- };
75
- var instance = new ParcelLineItems();
76
- var parcel_line_items_default = instance;
77
-
78
- export { parcel_line_items_default };
79
- //# sourceMappingURL=chunk-67WXB4SV.js.map
80
- //# sourceMappingURL=chunk-67WXB4SV.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../gen/resources/parcel_line_items.ts"],"names":[],"mappings":"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","file":"chunk-67WXB4SV.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { EventStore } from './event_stores'\nimport type { Parcel, ParcelType } from './parcels'\nimport type { ShipmentLineItem, ShipmentLineItemType } from './shipment_line_items'\nimport type { StockLineItem, StockLineItemType } from './stock_line_items'\n\ntype ParcelLineItemType = 'parcel_line_items'\ntype ParcelLineItemRel = ResourceRel & { type: ParcelLineItemType }\ntype ParcelRel = ResourceRel & { type: ParcelType }\ntype StockLineItemRel = ResourceRel & { type: StockLineItemType }\ntype ShipmentLineItemRel = ResourceRel & { type: ShipmentLineItemType }\n\nexport type ParcelLineItemSort = Pick<ParcelLineItem, 'id' | 'quantity'> & ResourceSort\n// export type ParcelLineItemFilter = Pick<ParcelLineItem, 'id' | 'quantity'> & ResourceFilter\n\n/**\n * The Parcel line item object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/parcel_line_items endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/parcel_line_items/object\n */\ninterface ParcelLineItem extends Resource {\n readonly type: ParcelLineItemType\n\n /**\n * The code of the associated SKU.\n * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n */\n sku_code?: string | null\n /**\n * The code of the associated bundle.\n * @example ```\"BUNDLEMM000000FFFFFFXLXX\"```\n */\n bundle_code?: string | null\n /**\n * The parcel line item quantity.\n * @example ```4```\n */\n quantity: number\n /**\n * The internal name of the associated line item.\n * @example ```\"Men's Black T-shirt with White Logo (XL)\"```\n */\n name?: string | null\n /**\n * The image_url of the associated line item.\n * @example ```\"https://img.yourdomain.com/skus/xYZkjABcde.png\"```\n */\n image_url?: string | null\n\n parcel?: Parcel | null\n stock_line_item?: StockLineItem | null\n /**\n * @deprecated Deprecated in API version 2026-05.\n */\n shipment_line_item?: ShipmentLineItem | null\n event_stores?: EventStore[] | null\n}\n\ninterface ParcelLineItemCreate extends ResourceCreate {\n /**\n * The parcel line item quantity.\n * @example ```4```\n */\n quantity: number\n\n parcel: ParcelRel\n stock_line_item: StockLineItemRel\n /**\n * @deprecated Deprecated in API version 2026-05.\n */\n shipment_line_item?: ShipmentLineItemRel | null\n}\n\ntype ParcelLineItemUpdate = ResourceUpdate\n\nclass ParcelLineItems extends ApiResource<ParcelLineItem> {\n static readonly TYPE: ParcelLineItemType = 'parcel_line_items' as const\n\n async create(\n resource: ParcelLineItemCreate,\n params?: QueryParamsRetrieve<ParcelLineItem>,\n options?: ResourcesConfig,\n ): Promise<ParcelLineItem> {\n return this.resources.create<ParcelLineItemCreate, ParcelLineItem>(\n { ...resource, type: ParcelLineItems.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: ParcelLineItemUpdate,\n params?: QueryParamsRetrieve<ParcelLineItem>,\n options?: ResourcesConfig,\n ): Promise<ParcelLineItem> {\n return this.resources.update<ParcelLineItemUpdate, ParcelLineItem>(\n { ...resource, type: ParcelLineItems.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: ParcelLineItems.TYPE } : id, options)\n }\n\n async parcel(\n parcelLineItemId: string | ParcelLineItem,\n params?: QueryParamsRetrieve<Parcel>,\n options?: ResourcesConfig,\n ): Promise<Parcel> {\n const _parcelLineItemId = (parcelLineItemId as ParcelLineItem).id || (parcelLineItemId as string)\n return this.resources.fetch<Parcel>(\n { type: 'parcels' },\n `parcel_line_items/${_parcelLineItemId}/parcel`,\n params,\n options,\n ) as unknown as Parcel\n }\n\n async stock_line_item(\n parcelLineItemId: string | ParcelLineItem,\n params?: QueryParamsRetrieve<StockLineItem>,\n options?: ResourcesConfig,\n ): Promise<StockLineItem> {\n const _parcelLineItemId = (parcelLineItemId as ParcelLineItem).id || (parcelLineItemId as string)\n return this.resources.fetch<StockLineItem>(\n { type: 'stock_line_items' },\n `parcel_line_items/${_parcelLineItemId}/stock_line_item`,\n params,\n options,\n ) as unknown as StockLineItem\n }\n\n /**\n * @deprecated Deprecated in API version 2026-05.\n */\n async shipment_line_item(\n parcelLineItemId: string | ParcelLineItem,\n params?: QueryParamsRetrieve<ShipmentLineItem>,\n options?: ResourcesConfig,\n ): Promise<ShipmentLineItem> {\n const _parcelLineItemId = (parcelLineItemId as ParcelLineItem).id || (parcelLineItemId as string)\n return this.resources.fetch<ShipmentLineItem>(\n { type: 'shipment_line_items' },\n `parcel_line_items/${_parcelLineItemId}/shipment_line_item`,\n params,\n options,\n ) as unknown as ShipmentLineItem\n }\n\n async event_stores(\n parcelLineItemId: string | ParcelLineItem,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _parcelLineItemId = (parcelLineItemId as ParcelLineItem).id || (parcelLineItemId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `parcel_line_items/${_parcelLineItemId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isParcelLineItem(resource: any): resource is ParcelLineItem {\n return resource.type && resource.type === ParcelLineItems.TYPE\n }\n\n relationship(id: string | ResourceId | null): ParcelLineItemRel {\n return super.relationshipOneToOne<ParcelLineItemRel>(id)\n }\n\n relationshipToMany(...ids: string[]): ParcelLineItemRel[] {\n return super.relationshipOneToMany<ParcelLineItemRel>(...ids)\n }\n\n type(): ParcelLineItemType {\n return ParcelLineItems.TYPE\n }\n}\n\nconst instance = new ParcelLineItems()\nexport default instance\n\nexport type { ParcelLineItem, ParcelLineItemCreate, ParcelLineItems, ParcelLineItemType, ParcelLineItemUpdate }\n"]}