@commercelayer/sdk 8.0.2 → 8.0.4-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1637) hide show
  1. package/lib/addresses-DDsXuULZ.d.cts +23330 -0
  2. package/lib/addresses-DDsXuULZ.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-AlMJqW4S.d.ts +52 -0
  22. package/lib/commercelayer-CHXs5Z4y.d.cts +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-DlZXRoLx.js +9 -0
  662. package/lib/version-e4YpT404.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-DJWB1iL6.d.cts +0 -23388
  669. package/lib/api-DJWB1iL6.d.ts +0 -23388
  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-24EFXKUU.cjs +0 -52
  679. package/lib/chunk-24EFXKUU.cjs.map +0 -1
  680. package/lib/chunk-2AKGZ2GV.cjs +0 -113
  681. package/lib/chunk-2AKGZ2GV.cjs.map +0 -1
  682. package/lib/chunk-2B7QENRY.js +0 -60
  683. package/lib/chunk-2B7QENRY.js.map +0 -1
  684. package/lib/chunk-2DFZX4JD.cjs +0 -91
  685. package/lib/chunk-2DFZX4JD.cjs.map +0 -1
  686. package/lib/chunk-2ET3IGWF.js +0 -86
  687. package/lib/chunk-2ET3IGWF.js.map +0 -1
  688. package/lib/chunk-2M4NHYBA.js +0 -103
  689. package/lib/chunk-2M4NHYBA.js.map +0 -1
  690. package/lib/chunk-2SEVKNMR.js +0 -87
  691. package/lib/chunk-2SEVKNMR.js.map +0 -1
  692. package/lib/chunk-2TRUWACE.js +0 -42
  693. package/lib/chunk-2TRUWACE.js.map +0 -1
  694. package/lib/chunk-2UF5C3QN.js +0 -69
  695. package/lib/chunk-2UF5C3QN.js.map +0 -1
  696. package/lib/chunk-2V7RTQ63.js +0 -58
  697. package/lib/chunk-2V7RTQ63.js.map +0 -1
  698. package/lib/chunk-34ER7YPD.cjs +0 -120
  699. package/lib/chunk-34ER7YPD.cjs.map +0 -1
  700. package/lib/chunk-3AYXQYPS.js +0 -81
  701. package/lib/chunk-3AYXQYPS.js.map +0 -1
  702. package/lib/chunk-3DA27AX6.js +0 -92
  703. package/lib/chunk-3DA27AX6.js.map +0 -1
  704. package/lib/chunk-3O6OY5ZH.cjs +0 -70
  705. package/lib/chunk-3O6OY5ZH.cjs.map +0 -1
  706. package/lib/chunk-3QYBQ4WC.js +0 -60
  707. package/lib/chunk-3QYBQ4WC.js.map +0 -1
  708. package/lib/chunk-3TGO5VRV.js +0 -236
  709. package/lib/chunk-3TGO5VRV.js.map +0 -1
  710. package/lib/chunk-3TRLQW7A.cjs +0 -131
  711. package/lib/chunk-3TRLQW7A.cjs.map +0 -1
  712. package/lib/chunk-3Y7SJN5N.cjs +0 -134
  713. package/lib/chunk-3Y7SJN5N.cjs.map +0 -1
  714. package/lib/chunk-4373PQGU.js +0 -99
  715. package/lib/chunk-4373PQGU.js.map +0 -1
  716. package/lib/chunk-44KW42M5.cjs +0 -79
  717. package/lib/chunk-44KW42M5.cjs.map +0 -1
  718. package/lib/chunk-454EYOV2.cjs +0 -44
  719. package/lib/chunk-454EYOV2.cjs.map +0 -1
  720. package/lib/chunk-462XVGXP.cjs +0 -38
  721. package/lib/chunk-462XVGXP.cjs.map +0 -1
  722. package/lib/chunk-4DKGBKU6.cjs +0 -147
  723. package/lib/chunk-4DKGBKU6.cjs.map +0 -1
  724. package/lib/chunk-4EMKFKNK.js +0 -125
  725. package/lib/chunk-4EMKFKNK.js.map +0 -1
  726. package/lib/chunk-4IHKK5HU.js +0 -77
  727. package/lib/chunk-4IHKK5HU.js.map +0 -1
  728. package/lib/chunk-4KUZWXYD.cjs +0 -70
  729. package/lib/chunk-4KUZWXYD.cjs.map +0 -1
  730. package/lib/chunk-4LXCQL6I.js +0 -177
  731. package/lib/chunk-4LXCQL6I.js.map +0 -1
  732. package/lib/chunk-4W4NVNUT.cjs +0 -118
  733. package/lib/chunk-4W4NVNUT.cjs.map +0 -1
  734. package/lib/chunk-4Y56X47V.js +0 -118
  735. package/lib/chunk-4Y56X47V.js.map +0 -1
  736. package/lib/chunk-4ZO45PK3.js +0 -3
  737. package/lib/chunk-4ZO45PK3.js.map +0 -1
  738. package/lib/chunk-53NWJI5J.js +0 -80
  739. package/lib/chunk-53NWJI5J.js.map +0 -1
  740. package/lib/chunk-57I2U5W4.js +0 -120
  741. package/lib/chunk-57I2U5W4.js.map +0 -1
  742. package/lib/chunk-5AE2USHV.cjs +0 -77
  743. package/lib/chunk-5AE2USHV.cjs.map +0 -1
  744. package/lib/chunk-5AOWYXCM.cjs +0 -52
  745. package/lib/chunk-5AOWYXCM.cjs.map +0 -1
  746. package/lib/chunk-5BCLGVP4.js +0 -75
  747. package/lib/chunk-5BCLGVP4.js.map +0 -1
  748. package/lib/chunk-5BYJHX4K.js +0 -60
  749. package/lib/chunk-5BYJHX4K.js.map +0 -1
  750. package/lib/chunk-5FTWSREC.cjs +0 -98
  751. package/lib/chunk-5FTWSREC.cjs.map +0 -1
  752. package/lib/chunk-5GTJQWZC.js +0 -118
  753. package/lib/chunk-5GTJQWZC.js.map +0 -1
  754. package/lib/chunk-5LUUPCHG.cjs +0 -170
  755. package/lib/chunk-5LUUPCHG.cjs.map +0 -1
  756. package/lib/chunk-5NZLIYCF.js +0 -168
  757. package/lib/chunk-5NZLIYCF.js.map +0 -1
  758. package/lib/chunk-5OUIUXFQ.js +0 -118
  759. package/lib/chunk-5OUIUXFQ.js.map +0 -1
  760. package/lib/chunk-64WCBTUJ.cjs +0 -200
  761. package/lib/chunk-64WCBTUJ.cjs.map +0 -1
  762. package/lib/chunk-6DGDDVQH.js +0 -86
  763. package/lib/chunk-6DGDDVQH.js.map +0 -1
  764. package/lib/chunk-6I3CN5DF.js +0 -50
  765. package/lib/chunk-6I3CN5DF.js.map +0 -1
  766. package/lib/chunk-6IBFS2O2.cjs +0 -91
  767. package/lib/chunk-6IBFS2O2.cjs.map +0 -1
  768. package/lib/chunk-6LULFJ7J.js +0 -86
  769. package/lib/chunk-6LULFJ7J.js.map +0 -1
  770. package/lib/chunk-6O37CODJ.js +0 -118
  771. package/lib/chunk-6O37CODJ.js.map +0 -1
  772. package/lib/chunk-6Q32I4CH.js +0 -73
  773. package/lib/chunk-6Q32I4CH.js.map +0 -1
  774. package/lib/chunk-6R57WTQE.js +0 -191
  775. package/lib/chunk-6R57WTQE.js.map +0 -1
  776. package/lib/chunk-6S4HPUFK.cjs +0 -53
  777. package/lib/chunk-6S4HPUFK.cjs.map +0 -1
  778. package/lib/chunk-6YPVEKKD.cjs +0 -44
  779. package/lib/chunk-6YPVEKKD.cjs.map +0 -1
  780. package/lib/chunk-72QKYXC2.cjs +0 -77
  781. package/lib/chunk-72QKYXC2.cjs.map +0 -1
  782. package/lib/chunk-755SLNCY.js +0 -77
  783. package/lib/chunk-755SLNCY.js.map +0 -1
  784. package/lib/chunk-77HTHPOW.cjs +0 -79
  785. package/lib/chunk-77HTHPOW.cjs.map +0 -1
  786. package/lib/chunk-7J673P4R.js +0 -68
  787. package/lib/chunk-7J673P4R.js.map +0 -1
  788. package/lib/chunk-7MGHVLEG.js +0 -78
  789. package/lib/chunk-7MGHVLEG.js.map +0 -1
  790. package/lib/chunk-7N37XTKQ.cjs +0 -88
  791. package/lib/chunk-7N37XTKQ.cjs.map +0 -1
  792. package/lib/chunk-7PLQOEQC.cjs +0 -70
  793. package/lib/chunk-7PLQOEQC.cjs.map +0 -1
  794. package/lib/chunk-7UPDYNKV.cjs +0 -83
  795. package/lib/chunk-7UPDYNKV.cjs.map +0 -1
  796. package/lib/chunk-7VEVGF3S.js +0 -60
  797. package/lib/chunk-7VEVGF3S.js.map +0 -1
  798. package/lib/chunk-7WEDS5VW.js +0 -51
  799. package/lib/chunk-7WEDS5VW.js.map +0 -1
  800. package/lib/chunk-7WLVVDFY.cjs +0 -120
  801. package/lib/chunk-7WLVVDFY.cjs.map +0 -1
  802. package/lib/chunk-7XMO6IEI.cjs +0 -16
  803. package/lib/chunk-7XMO6IEI.cjs.map +0 -1
  804. package/lib/chunk-A33WZ46D.js +0 -177
  805. package/lib/chunk-A33WZ46D.js.map +0 -1
  806. package/lib/chunk-A5NK4NLP.js +0 -77
  807. package/lib/chunk-A5NK4NLP.js.map +0 -1
  808. package/lib/chunk-AD3B6JOQ.cjs +0 -71
  809. package/lib/chunk-AD3B6JOQ.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-AHGYPEG6.cjs +0 -97
  813. package/lib/chunk-AHGYPEG6.cjs.map +0 -1
  814. package/lib/chunk-AM6K24AY.cjs +0 -69
  815. package/lib/chunk-AM6K24AY.cjs.map +0 -1
  816. package/lib/chunk-ASAYW3YW.cjs +0 -4
  817. package/lib/chunk-ASAYW3YW.cjs.map +0 -1
  818. package/lib/chunk-AXW4SOCW.js +0 -111
  819. package/lib/chunk-AXW4SOCW.js.map +0 -1
  820. package/lib/chunk-BFR5INU6.cjs +0 -75
  821. package/lib/chunk-BFR5INU6.cjs.map +0 -1
  822. package/lib/chunk-BHMRF7IZ.cjs +0 -61
  823. package/lib/chunk-BHMRF7IZ.cjs.map +0 -1
  824. package/lib/chunk-BK5J45WM.cjs +0 -115
  825. package/lib/chunk-BK5J45WM.cjs.map +0 -1
  826. package/lib/chunk-BOHPBUOT.js +0 -17
  827. package/lib/chunk-BOHPBUOT.js.map +0 -1
  828. package/lib/chunk-BW2FKAUH.cjs +0 -70
  829. package/lib/chunk-BW2FKAUH.cjs.map +0 -1
  830. package/lib/chunk-BWKSCAXJ.js +0 -77
  831. package/lib/chunk-BWKSCAXJ.js.map +0 -1
  832. package/lib/chunk-BYIQBPZ7.js +0 -100
  833. package/lib/chunk-BYIQBPZ7.js.map +0 -1
  834. package/lib/chunk-BYVGBKM3.js +0 -68
  835. package/lib/chunk-BYVGBKM3.js.map +0 -1
  836. package/lib/chunk-BZNYNCWB.cjs +0 -81
  837. package/lib/chunk-BZNYNCWB.cjs.map +0 -1
  838. package/lib/chunk-C2WT7GM5.js +0 -27
  839. package/lib/chunk-C2WT7GM5.js.map +0 -1
  840. package/lib/chunk-C7VAWIP4.cjs +0 -53
  841. package/lib/chunk-C7VAWIP4.cjs.map +0 -1
  842. package/lib/chunk-CFFBUZME.js +0 -42
  843. package/lib/chunk-CFFBUZME.js.map +0 -1
  844. package/lib/chunk-CFOI26OK.cjs +0 -70
  845. package/lib/chunk-CFOI26OK.cjs.map +0 -1
  846. package/lib/chunk-CGY46DPU.js +0 -132
  847. package/lib/chunk-CGY46DPU.js.map +0 -1
  848. package/lib/chunk-CIMJYMOT.cjs +0 -94
  849. package/lib/chunk-CIMJYMOT.cjs.map +0 -1
  850. package/lib/chunk-CVJHHEIK.js +0 -75
  851. package/lib/chunk-CVJHHEIK.js.map +0 -1
  852. package/lib/chunk-CVRXPIJT.js +0 -92
  853. package/lib/chunk-CVRXPIJT.js.map +0 -1
  854. package/lib/chunk-CWK4DFQQ.js +0 -75
  855. package/lib/chunk-CWK4DFQQ.js.map +0 -1
  856. package/lib/chunk-CYW57T7T.cjs +0 -89
  857. package/lib/chunk-CYW57T7T.cjs.map +0 -1
  858. package/lib/chunk-DACJGPOO.cjs +0 -70
  859. package/lib/chunk-DACJGPOO.cjs.map +0 -1
  860. package/lib/chunk-DGTPLNXE.cjs +0 -120
  861. package/lib/chunk-DGTPLNXE.cjs.map +0 -1
  862. package/lib/chunk-DHULMF3P.cjs +0 -802
  863. package/lib/chunk-DHULMF3P.cjs.map +0 -1
  864. package/lib/chunk-DNO3T3G2.cjs +0 -91
  865. package/lib/chunk-DNO3T3G2.cjs.map +0 -1
  866. package/lib/chunk-DO7ZCJX2.js +0 -132
  867. package/lib/chunk-DO7ZCJX2.js.map +0 -1
  868. package/lib/chunk-DXVEK6XH.cjs +0 -117
  869. package/lib/chunk-DXVEK6XH.cjs.map +0 -1
  870. package/lib/chunk-E3EMSDCZ.cjs +0 -79
  871. package/lib/chunk-E3EMSDCZ.cjs.map +0 -1
  872. package/lib/chunk-EEC3UERL.cjs +0 -228
  873. package/lib/chunk-EEC3UERL.cjs.map +0 -1
  874. package/lib/chunk-EISK2REO.js +0 -321
  875. package/lib/chunk-EISK2REO.js.map +0 -1
  876. package/lib/chunk-ELGQTLBC.cjs +0 -134
  877. package/lib/chunk-ELGQTLBC.cjs.map +0 -1
  878. package/lib/chunk-ENBW2XZF.cjs +0 -79
  879. package/lib/chunk-ENBW2XZF.cjs.map +0 -1
  880. package/lib/chunk-EQZ5NX5T.js +0 -96
  881. package/lib/chunk-EQZ5NX5T.js.map +0 -1
  882. package/lib/chunk-ETT7H4U4.cjs +0 -134
  883. package/lib/chunk-ETT7H4U4.cjs.map +0 -1
  884. package/lib/chunk-EUGD5LD7.cjs +0 -46
  885. package/lib/chunk-EUGD5LD7.cjs.map +0 -1
  886. package/lib/chunk-EW2BHMUO.cjs +0 -66
  887. package/lib/chunk-EW2BHMUO.cjs.map +0 -1
  888. package/lib/chunk-EXIWOJ6O.js +0 -68
  889. package/lib/chunk-EXIWOJ6O.js.map +0 -1
  890. package/lib/chunk-F2JQRO7U.js +0 -42
  891. package/lib/chunk-F2JQRO7U.js.map +0 -1
  892. package/lib/chunk-F77YRAM6.cjs +0 -120
  893. package/lib/chunk-F77YRAM6.cjs.map +0 -1
  894. package/lib/chunk-F7QR7GMD.js +0 -68
  895. package/lib/chunk-F7QR7GMD.js.map +0 -1
  896. package/lib/chunk-FHXYIYQU.js +0 -835
  897. package/lib/chunk-FHXYIYQU.js.map +0 -1
  898. package/lib/chunk-FK4D5635.cjs +0 -179
  899. package/lib/chunk-FK4D5635.cjs.map +0 -1
  900. package/lib/chunk-FQLPZ2MU.js +0 -65
  901. package/lib/chunk-FQLPZ2MU.js.map +0 -1
  902. package/lib/chunk-FRIHL5LT.cjs +0 -70
  903. package/lib/chunk-FRIHL5LT.cjs.map +0 -1
  904. package/lib/chunk-FSBDTFKD.cjs +0 -102
  905. package/lib/chunk-FSBDTFKD.cjs.map +0 -1
  906. package/lib/chunk-G5VR5FSC.js +0 -33
  907. package/lib/chunk-G5VR5FSC.js.map +0 -1
  908. package/lib/chunk-GBY6CVPS.cjs +0 -84
  909. package/lib/chunk-GBY6CVPS.cjs.map +0 -1
  910. package/lib/chunk-GDRV6SHT.js +0 -177
  911. package/lib/chunk-GDRV6SHT.js.map +0 -1
  912. package/lib/chunk-GFWKE5JC.cjs +0 -79
  913. package/lib/chunk-GFWKE5JC.cjs.map +0 -1
  914. package/lib/chunk-GFZWPEWB.cjs +0 -88
  915. package/lib/chunk-GFZWPEWB.cjs.map +0 -1
  916. package/lib/chunk-GNAFDVJQ.js +0 -77
  917. package/lib/chunk-GNAFDVJQ.js.map +0 -1
  918. package/lib/chunk-GTUWWJ4E.js +0 -68
  919. package/lib/chunk-GTUWWJ4E.js.map +0 -1
  920. package/lib/chunk-GVGUWZRR.js +0 -709
  921. package/lib/chunk-GVGUWZRR.js.map +0 -1
  922. package/lib/chunk-GWLFFCIK.cjs +0 -63
  923. package/lib/chunk-GWLFFCIK.cjs.map +0 -1
  924. package/lib/chunk-GXO6FRD6.cjs +0 -55
  925. package/lib/chunk-GXO6FRD6.cjs.map +0 -1
  926. package/lib/chunk-GYXCFDBB.cjs +0 -261
  927. package/lib/chunk-GYXCFDBB.cjs.map +0 -1
  928. package/lib/chunk-H5HKQNKY.js +0 -132
  929. package/lib/chunk-H5HKQNKY.js.map +0 -1
  930. package/lib/chunk-H7VW2WWV.cjs +0 -193
  931. package/lib/chunk-H7VW2WWV.cjs.map +0 -1
  932. package/lib/chunk-HC4DYAR7.js +0 -51
  933. package/lib/chunk-HC4DYAR7.js.map +0 -1
  934. package/lib/chunk-HFKAHXRN.js +0 -79
  935. package/lib/chunk-HFKAHXRN.js.map +0 -1
  936. package/lib/chunk-HHKDE2EY.js +0 -113
  937. package/lib/chunk-HHKDE2EY.js.map +0 -1
  938. package/lib/chunk-HIRAXWND.cjs +0 -105
  939. package/lib/chunk-HIRAXWND.cjs.map +0 -1
  940. package/lib/chunk-HJX3F2IZ.cjs +0 -81
  941. package/lib/chunk-HJX3F2IZ.cjs.map +0 -1
  942. package/lib/chunk-HKFBBW64.cjs +0 -84
  943. package/lib/chunk-HKFBBW64.cjs.map +0 -1
  944. package/lib/chunk-HYFMKESH.cjs +0 -120
  945. package/lib/chunk-HYFMKESH.cjs.map +0 -1
  946. package/lib/chunk-HYZK4UHD.js +0 -95
  947. package/lib/chunk-HYZK4UHD.js.map +0 -1
  948. package/lib/chunk-HZC25RD6.js +0 -65
  949. package/lib/chunk-HZC25RD6.js.map +0 -1
  950. package/lib/chunk-I2HQEZIH.cjs +0 -70
  951. package/lib/chunk-I2HQEZIH.cjs.map +0 -1
  952. package/lib/chunk-I475S2D4.js +0 -118
  953. package/lib/chunk-I475S2D4.js.map +0 -1
  954. package/lib/chunk-IENRQR42.js +0 -104
  955. package/lib/chunk-IENRQR42.js.map +0 -1
  956. package/lib/chunk-IEYTJLOM.cjs +0 -179
  957. package/lib/chunk-IEYTJLOM.cjs.map +0 -1
  958. package/lib/chunk-IGDZ2PV7.js +0 -59
  959. package/lib/chunk-IGDZ2PV7.js.map +0 -1
  960. package/lib/chunk-ILVWWIOS.js +0 -89
  961. package/lib/chunk-ILVWWIOS.js.map +0 -1
  962. package/lib/chunk-IPWXHNCI.js +0 -116
  963. package/lib/chunk-IPWXHNCI.js.map +0 -1
  964. package/lib/chunk-IQERB5PH.js +0 -68
  965. package/lib/chunk-IQERB5PH.js.map +0 -1
  966. package/lib/chunk-IT57J5K6.js +0 -100
  967. package/lib/chunk-IT57J5K6.js.map +0 -1
  968. package/lib/chunk-IX4X722M.cjs +0 -29
  969. package/lib/chunk-IX4X722M.cjs.map +0 -1
  970. package/lib/chunk-IZWJDKFK.js +0 -132
  971. package/lib/chunk-IZWJDKFK.js.map +0 -1
  972. package/lib/chunk-JCUWRROD.cjs +0 -77
  973. package/lib/chunk-JCUWRROD.cjs.map +0 -1
  974. package/lib/chunk-JFLC4CGG.cjs +0 -84
  975. package/lib/chunk-JFLC4CGG.cjs.map +0 -1
  976. package/lib/chunk-JGOG5F32.js +0 -77
  977. package/lib/chunk-JGOG5F32.js.map +0 -1
  978. package/lib/chunk-JHHEHYUJ.cjs +0 -94
  979. package/lib/chunk-JHHEHYUJ.cjs.map +0 -1
  980. package/lib/chunk-JKBXKD2T.js +0 -96
  981. package/lib/chunk-JKBXKD2T.js.map +0 -1
  982. package/lib/chunk-JKIJH2TW.cjs +0 -90
  983. package/lib/chunk-JKIJH2TW.cjs.map +0 -1
  984. package/lib/chunk-JSISVEEX.js +0 -191
  985. package/lib/chunk-JSISVEEX.js.map +0 -1
  986. package/lib/chunk-JT2664UO.cjs +0 -79
  987. package/lib/chunk-JT2664UO.cjs.map +0 -1
  988. package/lib/chunk-JV6NESNL.cjs +0 -84
  989. package/lib/chunk-JV6NESNL.cjs.map +0 -1
  990. package/lib/chunk-JVQFNGEM.cjs +0 -843
  991. package/lib/chunk-JVQFNGEM.cjs.map +0 -1
  992. package/lib/chunk-JXOHI3GA.js +0 -38
  993. package/lib/chunk-JXOHI3GA.js.map +0 -1
  994. package/lib/chunk-KGZIYHUD.js +0 -132
  995. package/lib/chunk-KGZIYHUD.js.map +0 -1
  996. package/lib/chunk-KIH74TJU.js +0 -36
  997. package/lib/chunk-KIH74TJU.js.map +0 -1
  998. package/lib/chunk-KJ64VHNF.js +0 -84
  999. package/lib/chunk-KJ64VHNF.js.map +0 -1
  1000. package/lib/chunk-KN2P4VJO.cjs +0 -67
  1001. package/lib/chunk-KN2P4VJO.cjs.map +0 -1
  1002. package/lib/chunk-KNKB66E4.cjs +0 -79
  1003. package/lib/chunk-KNKB66E4.cjs.map +0 -1
  1004. package/lib/chunk-KOWTO2FB.cjs +0 -102
  1005. package/lib/chunk-KOWTO2FB.cjs.map +0 -1
  1006. package/lib/chunk-KRCSIJ36.js +0 -69
  1007. package/lib/chunk-KRCSIJ36.js.map +0 -1
  1008. package/lib/chunk-LCUX5N55.js +0 -189
  1009. package/lib/chunk-LCUX5N55.js.map +0 -1
  1010. package/lib/chunk-LDWUJ4NS.js +0 -120
  1011. package/lib/chunk-LDWUJ4NS.js.map +0 -1
  1012. package/lib/chunk-LEEDYITP.cjs +0 -62
  1013. package/lib/chunk-LEEDYITP.cjs.map +0 -1
  1014. package/lib/chunk-LQI6WNOM.js +0 -44
  1015. package/lib/chunk-LQI6WNOM.js.map +0 -1
  1016. package/lib/chunk-LSBIX6R6.cjs +0 -53
  1017. package/lib/chunk-LSBIX6R6.cjs.map +0 -1
  1018. package/lib/chunk-LSW4J3BM.js +0 -89
  1019. package/lib/chunk-LSW4J3BM.js.map +0 -1
  1020. package/lib/chunk-M27FPUOQ.cjs +0 -79
  1021. package/lib/chunk-M27FPUOQ.cjs.map +0 -1
  1022. package/lib/chunk-M6Y6AUOE.cjs +0 -122
  1023. package/lib/chunk-M6Y6AUOE.cjs.map +0 -1
  1024. package/lib/chunk-MBPL47PK.js +0 -60
  1025. package/lib/chunk-MBPL47PK.js.map +0 -1
  1026. package/lib/chunk-MFJ5YRC6.cjs +0 -19
  1027. package/lib/chunk-MFJ5YRC6.cjs.map +0 -1
  1028. package/lib/chunk-MG4TBZYZ.cjs +0 -88
  1029. package/lib/chunk-MG4TBZYZ.cjs.map +0 -1
  1030. package/lib/chunk-MMJTHP33.cjs +0 -134
  1031. package/lib/chunk-MMJTHP33.cjs.map +0 -1
  1032. package/lib/chunk-MRPP6PPF.js +0 -164
  1033. package/lib/chunk-MRPP6PPF.js.map +0 -1
  1034. package/lib/chunk-N2HI7V3J.cjs +0 -86
  1035. package/lib/chunk-N2HI7V3J.cjs.map +0 -1
  1036. package/lib/chunk-N4O4EQXB.js +0 -82
  1037. package/lib/chunk-N4O4EQXB.js.map +0 -1
  1038. package/lib/chunk-N7APCPEO.cjs +0 -62
  1039. package/lib/chunk-N7APCPEO.cjs.map +0 -1
  1040. package/lib/chunk-NDHBSNAN.cjs +0 -134
  1041. package/lib/chunk-NDHBSNAN.cjs.map +0 -1
  1042. package/lib/chunk-NEVA36Z3.js +0 -226
  1043. package/lib/chunk-NEVA36Z3.js.map +0 -1
  1044. package/lib/chunk-NG5SRNN6.cjs +0 -86
  1045. package/lib/chunk-NG5SRNN6.cjs.map +0 -1
  1046. package/lib/chunk-NMQIELV3.js +0 -177
  1047. package/lib/chunk-NMQIELV3.js.map +0 -1
  1048. package/lib/chunk-NMZJWZK4.js +0 -608
  1049. package/lib/chunk-NMZJWZK4.js.map +0 -1
  1050. package/lib/chunk-NN5JD5GJ.cjs +0 -60
  1051. package/lib/chunk-NN5JD5GJ.cjs.map +0 -1
  1052. package/lib/chunk-NNRCCVCT.cjs +0 -52
  1053. package/lib/chunk-NNRCCVCT.cjs.map +0 -1
  1054. package/lib/chunk-NPIT6XFY.cjs +0 -44
  1055. package/lib/chunk-NPIT6XFY.cjs.map +0 -1
  1056. package/lib/chunk-NRGDTLQX.cjs +0 -193
  1057. package/lib/chunk-NRGDTLQX.cjs.map +0 -1
  1058. package/lib/chunk-NRHM4X3A.cjs +0 -77
  1059. package/lib/chunk-NRHM4X3A.cjs.map +0 -1
  1060. package/lib/chunk-NSG3RZIS.js +0 -88
  1061. package/lib/chunk-NSG3RZIS.js.map +0 -1
  1062. package/lib/chunk-NTGLDICG.cjs +0 -711
  1063. package/lib/chunk-NTGLDICG.cjs.map +0 -1
  1064. package/lib/chunk-NVI2TOZ4.js +0 -68
  1065. package/lib/chunk-NVI2TOZ4.js.map +0 -1
  1066. package/lib/chunk-NXQVRFMR.js +0 -100
  1067. package/lib/chunk-NXQVRFMR.js.map +0 -1
  1068. package/lib/chunk-NYTAHIXQ.cjs +0 -323
  1069. package/lib/chunk-NYTAHIXQ.cjs.map +0 -1
  1070. package/lib/chunk-NZMJCJF5.cjs +0 -53
  1071. package/lib/chunk-NZMJCJF5.cjs.map +0 -1
  1072. package/lib/chunk-O4CXMMV3.js +0 -118
  1073. package/lib/chunk-O4CXMMV3.js.map +0 -1
  1074. package/lib/chunk-OC5YU4U2.cjs +0 -62
  1075. package/lib/chunk-OC5YU4U2.cjs.map +0 -1
  1076. package/lib/chunk-OGKAAQHC.js +0 -91
  1077. package/lib/chunk-OGKAAQHC.js.map +0 -1
  1078. package/lib/chunk-OI2Y6VVG.js +0 -68
  1079. package/lib/chunk-OI2Y6VVG.js.map +0 -1
  1080. package/lib/chunk-OIIBAIPX.js +0 -132
  1081. package/lib/chunk-OIIBAIPX.js.map +0 -1
  1082. package/lib/chunk-OKMDTNLO.js +0 -69
  1083. package/lib/chunk-OKMDTNLO.js.map +0 -1
  1084. package/lib/chunk-OO23WWU6.js +0 -191
  1085. package/lib/chunk-OO23WWU6.js.map +0 -1
  1086. package/lib/chunk-OO4D4T3N.js +0 -68
  1087. package/lib/chunk-OO4D4T3N.js.map +0 -1
  1088. package/lib/chunk-OPNMFVMK.js +0 -50
  1089. package/lib/chunk-OPNMFVMK.js.map +0 -1
  1090. package/lib/chunk-OQGM4YSR.cjs +0 -70
  1091. package/lib/chunk-OQGM4YSR.cjs.map +0 -1
  1092. package/lib/chunk-ORSKQZIY.js +0 -77
  1093. package/lib/chunk-ORSKQZIY.js.map +0 -1
  1094. package/lib/chunk-OWZDRZU7.js +0 -86
  1095. package/lib/chunk-OWZDRZU7.js.map +0 -1
  1096. package/lib/chunk-P7ODGUHE.cjs +0 -79
  1097. package/lib/chunk-P7ODGUHE.cjs.map +0 -1
  1098. package/lib/chunk-PFUT24AU.cjs +0 -71
  1099. package/lib/chunk-PFUT24AU.cjs.map +0 -1
  1100. package/lib/chunk-PI72ID5G.js +0 -94
  1101. package/lib/chunk-PI72ID5G.js.map +0 -1
  1102. package/lib/chunk-PJ4PFWJB.js +0 -51
  1103. package/lib/chunk-PJ4PFWJB.js.map +0 -1
  1104. package/lib/chunk-PKXLCN35.js +0 -259
  1105. package/lib/chunk-PKXLCN35.js.map +0 -1
  1106. package/lib/chunk-PLSBTAJI.cjs +0 -79
  1107. package/lib/chunk-PLSBTAJI.cjs.map +0 -1
  1108. package/lib/chunk-PM7MSROG.cjs +0 -35
  1109. package/lib/chunk-PM7MSROG.cjs.map +0 -1
  1110. package/lib/chunk-PNLEAMEV.js +0 -104
  1111. package/lib/chunk-PNLEAMEV.js.map +0 -1
  1112. package/lib/chunk-PPKBLGVE.js +0 -51
  1113. package/lib/chunk-PPKBLGVE.js.map +0 -1
  1114. package/lib/chunk-PPQ3XVQ4.cjs +0 -98
  1115. package/lib/chunk-PPQ3XVQ4.cjs.map +0 -1
  1116. package/lib/chunk-Q2F6TD2O.js +0 -59
  1117. package/lib/chunk-Q2F6TD2O.js.map +0 -1
  1118. package/lib/chunk-QB6PTSZK.cjs +0 -98
  1119. package/lib/chunk-QB6PTSZK.cjs.map +0 -1
  1120. package/lib/chunk-QE3DUG2X.cjs +0 -101
  1121. package/lib/chunk-QE3DUG2X.cjs.map +0 -1
  1122. package/lib/chunk-QGS4DTWF.js +0 -77
  1123. package/lib/chunk-QGS4DTWF.js.map +0 -1
  1124. package/lib/chunk-QGXRRYKZ.cjs +0 -62
  1125. package/lib/chunk-QGXRRYKZ.cjs.map +0 -1
  1126. package/lib/chunk-QSGVEIXT.cjs +0 -71
  1127. package/lib/chunk-QSGVEIXT.cjs.map +0 -1
  1128. package/lib/chunk-QWZ4EUFP.cjs +0 -93
  1129. package/lib/chunk-QWZ4EUFP.cjs.map +0 -1
  1130. package/lib/chunk-QY3MJ6RG.js +0 -77
  1131. package/lib/chunk-QY3MJ6RG.js.map +0 -1
  1132. package/lib/chunk-QYQIL7FR.js +0 -77
  1133. package/lib/chunk-QYQIL7FR.js.map +0 -1
  1134. package/lib/chunk-R26KUBCB.cjs +0 -79
  1135. package/lib/chunk-R26KUBCB.cjs.map +0 -1
  1136. package/lib/chunk-R4M67EQW.js +0 -103
  1137. package/lib/chunk-R4M67EQW.js.map +0 -1
  1138. package/lib/chunk-RAD66KYA.cjs +0 -120
  1139. package/lib/chunk-RAD66KYA.cjs.map +0 -1
  1140. package/lib/chunk-RIENQW5M.js +0 -86
  1141. package/lib/chunk-RIENQW5M.js.map +0 -1
  1142. package/lib/chunk-RKBO7PHN.js +0 -60
  1143. package/lib/chunk-RKBO7PHN.js.map +0 -1
  1144. package/lib/chunk-RKGRMLHM.js +0 -82
  1145. package/lib/chunk-RKGRMLHM.js.map +0 -1
  1146. package/lib/chunk-RVOOQWMD.js +0 -50
  1147. package/lib/chunk-RVOOQWMD.js.map +0 -1
  1148. package/lib/chunk-S4C3RSYR.js +0 -79
  1149. package/lib/chunk-S4C3RSYR.js.map +0 -1
  1150. package/lib/chunk-SHUY5DCZ.cjs +0 -105
  1151. package/lib/chunk-SHUY5DCZ.cjs.map +0 -1
  1152. package/lib/chunk-SKBUEHPZ.cjs +0 -62
  1153. package/lib/chunk-SKBUEHPZ.cjs.map +0 -1
  1154. package/lib/chunk-SNCJYGR5.cjs +0 -85
  1155. package/lib/chunk-SNCJYGR5.cjs.map +0 -1
  1156. package/lib/chunk-SPVAMV24.js +0 -113
  1157. package/lib/chunk-SPVAMV24.js.map +0 -1
  1158. package/lib/chunk-SSYDQUTT.js +0 -68
  1159. package/lib/chunk-SSYDQUTT.js.map +0 -1
  1160. package/lib/chunk-STLBEX5L.js +0 -58
  1161. package/lib/chunk-STLBEX5L.js.map +0 -1
  1162. package/lib/chunk-SV5PKCHJ.cjs +0 -44
  1163. package/lib/chunk-SV5PKCHJ.cjs.map +0 -1
  1164. package/lib/chunk-SVUKVUMA.js +0 -84
  1165. package/lib/chunk-SVUKVUMA.js.map +0 -1
  1166. package/lib/chunk-SWG67O4K.js +0 -64
  1167. package/lib/chunk-SWG67O4K.js.map +0 -1
  1168. package/lib/chunk-SWM5BIG4.js +0 -59
  1169. package/lib/chunk-SWM5BIG4.js.map +0 -1
  1170. package/lib/chunk-SYDP3IVC.js +0 -177
  1171. package/lib/chunk-SYDP3IVC.js.map +0 -1
  1172. package/lib/chunk-T3Z6T4BJ.js +0 -198
  1173. package/lib/chunk-T3Z6T4BJ.js.map +0 -1
  1174. package/lib/chunk-TJLTQICM.cjs +0 -238
  1175. package/lib/chunk-TJLTQICM.cjs.map +0 -1
  1176. package/lib/chunk-TKDRQZLV.cjs +0 -125
  1177. package/lib/chunk-TKDRQZLV.cjs.map +0 -1
  1178. package/lib/chunk-TWUWXMK3.cjs +0 -88
  1179. package/lib/chunk-TWUWXMK3.cjs.map +0 -1
  1180. package/lib/chunk-TXDU5YYO.js +0 -68
  1181. package/lib/chunk-TXDU5YYO.js.map +0 -1
  1182. package/lib/chunk-TYEPXXZA.js +0 -89
  1183. package/lib/chunk-TYEPXXZA.js.map +0 -1
  1184. package/lib/chunk-TYUJ5AKF.js +0 -24
  1185. package/lib/chunk-TYUJ5AKF.js.map +0 -1
  1186. package/lib/chunk-U3UGTHDM.js +0 -77
  1187. package/lib/chunk-U3UGTHDM.js.map +0 -1
  1188. package/lib/chunk-U5KL5QW3.cjs +0 -82
  1189. package/lib/chunk-U5KL5QW3.cjs.map +0 -1
  1190. package/lib/chunk-U726EZ77.js +0 -145
  1191. package/lib/chunk-U726EZ77.js.map +0 -1
  1192. package/lib/chunk-UED5GGIR.cjs +0 -70
  1193. package/lib/chunk-UED5GGIR.cjs.map +0 -1
  1194. package/lib/chunk-UEXESWTK.js +0 -77
  1195. package/lib/chunk-UEXESWTK.js.map +0 -1
  1196. package/lib/chunk-UFSDQ54M.cjs +0 -80
  1197. package/lib/chunk-UFSDQ54M.cjs.map +0 -1
  1198. package/lib/chunk-UN23KTJS.js +0 -68
  1199. package/lib/chunk-UN23KTJS.js.map +0 -1
  1200. package/lib/chunk-UUQ6CAYK.cjs +0 -70
  1201. package/lib/chunk-UUQ6CAYK.cjs.map +0 -1
  1202. package/lib/chunk-UVQYEDMG.cjs +0 -70
  1203. package/lib/chunk-UVQYEDMG.cjs.map +0 -1
  1204. package/lib/chunk-UX3U6BYO.cjs +0 -166
  1205. package/lib/chunk-UX3U6BYO.cjs.map +0 -1
  1206. package/lib/chunk-UYXA4LYZ.cjs +0 -53
  1207. package/lib/chunk-UYXA4LYZ.cjs.map +0 -1
  1208. package/lib/chunk-V2Z6Y3LL.js +0 -91
  1209. package/lib/chunk-V2Z6Y3LL.js.map +0 -1
  1210. package/lib/chunk-V6TVHDSP.cjs +0 -91
  1211. package/lib/chunk-V6TVHDSP.cjs.map +0 -1
  1212. package/lib/chunk-V7KOF5KH.js +0 -61
  1213. package/lib/chunk-V7KOF5KH.js.map +0 -1
  1214. package/lib/chunk-VAYNWR36.cjs +0 -26
  1215. package/lib/chunk-VAYNWR36.cjs.map +0 -1
  1216. package/lib/chunk-VDW2JLAL.js +0 -124
  1217. package/lib/chunk-VDW2JLAL.js.map +0 -1
  1218. package/lib/chunk-VE7YJYTH.cjs +0 -62
  1219. package/lib/chunk-VE7YJYTH.cjs.map +0 -1
  1220. package/lib/chunk-VGR74H45.js +0 -89
  1221. package/lib/chunk-VGR74H45.js.map +0 -1
  1222. package/lib/chunk-VIZSXWTI.js +0 -68
  1223. package/lib/chunk-VIZSXWTI.js.map +0 -1
  1224. package/lib/chunk-VLEQ5O2R.cjs +0 -61
  1225. package/lib/chunk-VLEQ5O2R.cjs.map +0 -1
  1226. package/lib/chunk-VOC2LFGB.js +0 -68
  1227. package/lib/chunk-VOC2LFGB.js.map +0 -1
  1228. package/lib/chunk-VPJBT7D7.cjs +0 -191
  1229. package/lib/chunk-VPJBT7D7.cjs.map +0 -1
  1230. package/lib/chunk-VQEFHONB.cjs +0 -134
  1231. package/lib/chunk-VQEFHONB.cjs.map +0 -1
  1232. package/lib/chunk-VT3RCBOL.cjs +0 -179
  1233. package/lib/chunk-VT3RCBOL.cjs.map +0 -1
  1234. package/lib/chunk-VUOWNYYA.cjs +0 -93
  1235. package/lib/chunk-VUOWNYYA.cjs.map +0 -1
  1236. package/lib/chunk-VW55S4XX.cjs +0 -40
  1237. package/lib/chunk-VW55S4XX.cjs.map +0 -1
  1238. package/lib/chunk-W6ZBWZ7Y.js +0 -82
  1239. package/lib/chunk-W6ZBWZ7Y.js.map +0 -1
  1240. package/lib/chunk-WCZUROJ7.js +0 -129
  1241. package/lib/chunk-WCZUROJ7.js.map +0 -1
  1242. package/lib/chunk-WGBVOKJJ.cjs +0 -102
  1243. package/lib/chunk-WGBVOKJJ.cjs.map +0 -1
  1244. package/lib/chunk-WKAR7DLK.js +0 -75
  1245. package/lib/chunk-WKAR7DLK.js.map +0 -1
  1246. package/lib/chunk-WR2X2NWF.cjs +0 -106
  1247. package/lib/chunk-WR2X2NWF.cjs.map +0 -1
  1248. package/lib/chunk-WRTYAF3H.cjs +0 -79
  1249. package/lib/chunk-WRTYAF3H.cjs.map +0 -1
  1250. package/lib/chunk-WXLQ4SQF.js +0 -51
  1251. package/lib/chunk-WXLQ4SQF.js.map +0 -1
  1252. package/lib/chunk-X3ZFBFDO.cjs +0 -106
  1253. package/lib/chunk-X3ZFBFDO.cjs.map +0 -1
  1254. package/lib/chunk-X5H5GKO4.js +0 -67
  1255. package/lib/chunk-X5H5GKO4.js.map +0 -1
  1256. package/lib/chunk-X5KZNL6C.js +0 -53
  1257. package/lib/chunk-X5KZNL6C.js.map +0 -1
  1258. package/lib/chunk-XACFYS2E.cjs +0 -179
  1259. package/lib/chunk-XACFYS2E.cjs.map +0 -1
  1260. package/lib/chunk-XDRL2OK4.cjs +0 -96
  1261. package/lib/chunk-XDRL2OK4.cjs.map +0 -1
  1262. package/lib/chunk-XGEZ32JO.cjs +0 -127
  1263. package/lib/chunk-XGEZ32JO.cjs.map +0 -1
  1264. package/lib/chunk-XNZFRGHF.cjs +0 -77
  1265. package/lib/chunk-XNZFRGHF.cjs.map +0 -1
  1266. package/lib/chunk-XOI5NHLE.cjs +0 -91
  1267. package/lib/chunk-XOI5NHLE.cjs.map +0 -1
  1268. package/lib/chunk-XQY6KEWS.cjs +0 -122
  1269. package/lib/chunk-XQY6KEWS.cjs.map +0 -1
  1270. package/lib/chunk-XS5DX2W6.cjs +0 -61
  1271. package/lib/chunk-XS5DX2W6.cjs.map +0 -1
  1272. package/lib/chunk-XSPYON35.cjs +0 -88
  1273. package/lib/chunk-XSPYON35.cjs.map +0 -1
  1274. package/lib/chunk-XSWBPETA.js +0 -89
  1275. package/lib/chunk-XSWBPETA.js.map +0 -1
  1276. package/lib/chunk-XU6ATKMP.cjs +0 -81
  1277. package/lib/chunk-XU6ATKMP.cjs.map +0 -1
  1278. package/lib/chunk-XUKXWQV6.cjs +0 -62
  1279. package/lib/chunk-XUKXWQV6.cjs.map +0 -1
  1280. package/lib/chunk-XVUIKQB3.js +0 -42
  1281. package/lib/chunk-XVUIKQB3.js.map +0 -1
  1282. package/lib/chunk-XWJHR6LH.js +0 -123
  1283. package/lib/chunk-XWJHR6LH.js.map +0 -1
  1284. package/lib/chunk-XYIVNXNH.js +0 -79
  1285. package/lib/chunk-XYIVNXNH.js.map +0 -1
  1286. package/lib/chunk-Y3JPY7ZE.cjs +0 -60
  1287. package/lib/chunk-Y3JPY7ZE.cjs.map +0 -1
  1288. package/lib/chunk-YCAE4OZV.js +0 -60
  1289. package/lib/chunk-YCAE4OZV.js.map +0 -1
  1290. package/lib/chunk-YFIXSVVI.cjs +0 -70
  1291. package/lib/chunk-YFIXSVVI.cjs.map +0 -1
  1292. package/lib/chunk-YIQI7PJS.js +0 -83
  1293. package/lib/chunk-YIQI7PJS.js.map +0 -1
  1294. package/lib/chunk-YL3FK2GQ.cjs +0 -126
  1295. package/lib/chunk-YL3FK2GQ.cjs.map +0 -1
  1296. package/lib/chunk-YNBXERSC.cjs +0 -193
  1297. package/lib/chunk-YNBXERSC.cjs.map +0 -1
  1298. package/lib/chunk-YRJDWWF4.cjs +0 -70
  1299. package/lib/chunk-YRJDWWF4.cjs.map +0 -1
  1300. package/lib/chunk-YXP6OLJF.cjs +0 -67
  1301. package/lib/chunk-YXP6OLJF.cjs.map +0 -1
  1302. package/lib/chunk-Z3LTJ3AM.js +0 -68
  1303. package/lib/chunk-Z3LTJ3AM.js.map +0 -1
  1304. package/lib/chunk-ZBHCZ2QG.js +0 -96
  1305. package/lib/chunk-ZBHCZ2QG.js.map +0 -1
  1306. package/lib/chunk-ZDBO3GYM.js +0 -75
  1307. package/lib/chunk-ZDBO3GYM.js.map +0 -1
  1308. package/lib/chunk-ZJTNBGKS.cjs +0 -70
  1309. package/lib/chunk-ZJTNBGKS.cjs.map +0 -1
  1310. package/lib/chunk-ZNVDFMX4.js +0 -12
  1311. package/lib/chunk-ZNVDFMX4.js.map +0 -1
  1312. package/lib/chunk-ZRKA6OTB.cjs +0 -179
  1313. package/lib/chunk-ZRKA6OTB.cjs.map +0 -1
  1314. package/lib/chunk-ZRLRYFPN.js +0 -799
  1315. package/lib/chunk-ZRLRYFPN.js.map +0 -1
  1316. package/lib/chunk-ZXTUDRVJ.js +0 -82
  1317. package/lib/chunk-ZXTUDRVJ.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/payment_setting_externals.ts"],"names":["ApiResource"],"mappings":";;;;;AA6SA,IAAM,uBAAA,GAAN,MAAM,wBAAA,SAAgCA,6BAAA,CAAoC;AAAA,EACxE,OAAgB,IAAA,GAAmC,2BAAA;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,CAA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,IAAA,EAAK;AAAA,MAC/G,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,iCAAA,GAAQ","file":"chunk-NDHBSNAN.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 { 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 PaymentSettingExternalType = 'payment_setting_externals'\ntype PaymentSettingExternalRel = ResourceRel & { type: PaymentSettingExternalType }\n\nexport type PaymentSettingExternalSort = Pick<\n PaymentSettingExternal,\n 'id' | 'status' | 'name' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'\n> &\n ResourceSort\n// export type PaymentSettingExternalFilter = Pick<PaymentSettingExternal, 'id' | 'gateway_version' | 'internal_versionable' | 'auto_capture' | 'auto_place' | 'status' | 'name' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceFilter\n\n/**\n * The Payment setting external 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_externals endpoint.\n * @since 2026-05\n *\n * @link https://docs.commercelayer.io/core-api-reference/2026-05/payment_setting_externals/object\n */\ninterface PaymentSettingExternal extends Resource {\n readonly type: PaymentSettingExternalType\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 * The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.\n * @example ```\"closed\"```\n */\n circuit_state?: string | null\n /**\n * The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.\n * @example ```5```\n */\n circuit_failure_count?: number | null\n /**\n * The shared secret used to sign the external request payload.\n * @example ```\"1c0994cc4e996e8c6ee56a2198f66f3c\"```\n */\n shared_secret: string\n /**\n * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n * @example ```[\"order.line_item_options\"]```\n */\n external_includes?: string[] | null\n /**\n * The endpoint used by the external gateway to create a payment session.\n * @example ```\"https://external_gateway.com/session\"```\n */\n session_url?: string | null\n /**\n * The endpoint used by the external gateway to authorize payments. The response data can include a payment_instrument object (issuer, issuer_type, card_type, card_last_digits, card_expiry_month, card_expiry_year, card_holder_name, card_fingerprint, account_id, account_email, account_status) to populate the payment session's payment instrument; other keys are ignored.\n * @example ```\"https://external_gateway.com/authorization\"```\n */\n authorization_url: string\n /**\n * The endpoint used by the external gateway to capture payments.\n * @example ```\"https://external_gateway.com/capture\"```\n */\n capture_url: string\n /**\n * The endpoint used by the external gateway to void payments.\n * @example ```\"https://external_gateway.com/void\"```\n */\n void_url: string\n /**\n * The endpoint used by the external gateway to refund payments.\n * @example ```\"https://external_gateway.com/refund\"```\n */\n refund_url: string\n /**\n * The endpoint used by the external gateway to create a customer payment token.\n * @example ```\"https://external_gateway.com/token\"```\n */\n token_url?: string | null\n /**\n * The gateway webhook URL, generated automatically.\n * @example ```\"https://core.commercelayer.io/webhook_callbacks/payment_setting_externals/xxxxx\"```\n */\n webhook_endpoint_url?: 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 PaymentSettingExternalCreate 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 * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n * @example ```[\"order.line_item_options\"]```\n */\n external_includes?: string[] | null\n /**\n * The endpoint used by the external gateway to create a payment session.\n * @example ```\"https://external_gateway.com/session\"```\n */\n session_url?: string | null\n /**\n * The endpoint used by the external gateway to authorize payments. The response data can include a payment_instrument object (issuer, issuer_type, card_type, card_last_digits, card_expiry_month, card_expiry_year, card_holder_name, card_fingerprint, account_id, account_email, account_status) to populate the payment session's payment instrument; other keys are ignored.\n * @example ```\"https://external_gateway.com/authorization\"```\n */\n authorization_url: string\n /**\n * The endpoint used by the external gateway to capture payments.\n * @example ```\"https://external_gateway.com/capture\"```\n */\n capture_url: string\n /**\n * The endpoint used by the external gateway to void payments.\n * @example ```\"https://external_gateway.com/void\"```\n */\n void_url: string\n /**\n * The endpoint used by the external gateway to refund payments.\n * @example ```\"https://external_gateway.com/refund\"```\n */\n refund_url: string\n /**\n * The endpoint used by the external gateway to create a customer payment token.\n * @example ```\"https://external_gateway.com/token\"```\n */\n token_url?: string | null\n}\n\ninterface PaymentSettingExternalUpdate 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 * Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.\n * @example ```true```\n */\n _reset_circuit?: boolean | null\n /**\n * Send this attribute if you want to regenerate the shared secret.\n * @deprecated Deprecated in API version 2026-05.\n * @example ```true```\n */\n _regenerate_shared_secret?: boolean | null\n /**\n * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n * @example ```[\"order.line_item_options\"]```\n */\n external_includes?: string[] | null\n /**\n * The endpoint used by the external gateway to create a payment session.\n * @example ```\"https://external_gateway.com/session\"```\n */\n session_url?: string | null\n /**\n * The endpoint used by the external gateway to authorize payments. The response data can include a payment_instrument object (issuer, issuer_type, card_type, card_last_digits, card_expiry_month, card_expiry_year, card_holder_name, card_fingerprint, account_id, account_email, account_status) to populate the payment session's payment instrument; other keys are ignored.\n * @example ```\"https://external_gateway.com/authorization\"```\n */\n authorization_url?: string | null\n /**\n * The endpoint used by the external gateway to capture payments.\n * @example ```\"https://external_gateway.com/capture\"```\n */\n capture_url?: string | null\n /**\n * The endpoint used by the external gateway to void payments.\n * @example ```\"https://external_gateway.com/void\"```\n */\n void_url?: string | null\n /**\n * The endpoint used by the external gateway to refund payments.\n * @example ```\"https://external_gateway.com/refund\"```\n */\n refund_url?: string | null\n /**\n * The endpoint used by the external gateway to create a customer payment token.\n * @example ```\"https://external_gateway.com/token\"```\n */\n token_url?: string | null\n}\n\n/** @since 2026-05 */\nclass PaymentSettingExternals extends ApiResource<PaymentSettingExternal> {\n static readonly TYPE: PaymentSettingExternalType = 'payment_setting_externals' as const\n\n async create(\n resource: PaymentSettingExternalCreate,\n params?: QueryParamsRetrieve<PaymentSettingExternal>,\n options?: ResourcesConfig,\n ): Promise<PaymentSettingExternal> {\n return this.resources.create<PaymentSettingExternalCreate, PaymentSettingExternal>(\n { ...resource, type: PaymentSettingExternals.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: PaymentSettingExternalUpdate,\n params?: QueryParamsRetrieve<PaymentSettingExternal>,\n options?: ResourcesConfig,\n ): Promise<PaymentSettingExternal> {\n return this.resources.update<PaymentSettingExternalUpdate, PaymentSettingExternal>(\n { ...resource, type: PaymentSettingExternals.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: PaymentSettingExternals.TYPE } : id, options)\n }\n\n async payment_links(\n paymentSettingExternalId: string | PaymentSettingExternal,\n params?: QueryParamsList<PaymentLink>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<PaymentLink>> {\n const _paymentSettingExternalId =\n (paymentSettingExternalId as PaymentSettingExternal).id || (paymentSettingExternalId as string)\n return this.resources.fetch<PaymentLink>(\n { type: 'payment_links' },\n `payment_setting_externals/${_paymentSettingExternalId}/payment_links`,\n params,\n options,\n ) as unknown as ListResponse<PaymentLink>\n }\n\n async payment_sessions(\n paymentSettingExternalId: string | PaymentSettingExternal,\n params?: QueryParamsList<PaymentSession>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<PaymentSession>> {\n const _paymentSettingExternalId =\n (paymentSettingExternalId as PaymentSettingExternal).id || (paymentSettingExternalId as string)\n return this.resources.fetch<PaymentSession>(\n { type: 'payment_sessions' },\n `payment_setting_externals/${_paymentSettingExternalId}/payment_sessions`,\n params,\n options,\n ) as unknown as ListResponse<PaymentSession>\n }\n\n async payment_transactions(\n paymentSettingExternalId: string | PaymentSettingExternal,\n params?: QueryParamsList<PaymentTransaction>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<PaymentTransaction>> {\n const _paymentSettingExternalId =\n (paymentSettingExternalId as PaymentSettingExternal).id || (paymentSettingExternalId as string)\n return this.resources.fetch<PaymentTransaction>(\n { type: 'payment_transactions' },\n `payment_setting_externals/${_paymentSettingExternalId}/payment_transactions`,\n params,\n options,\n ) as unknown as ListResponse<PaymentTransaction>\n }\n\n async payment_wallets(\n paymentSettingExternalId: string | PaymentSettingExternal,\n params?: QueryParamsList<PaymentWallet>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<PaymentWallet>> {\n const _paymentSettingExternalId =\n (paymentSettingExternalId as PaymentSettingExternal).id || (paymentSettingExternalId as string)\n return this.resources.fetch<PaymentWallet>(\n { type: 'payment_wallets' },\n `payment_setting_externals/${_paymentSettingExternalId}/payment_wallets`,\n params,\n options,\n ) as unknown as ListResponse<PaymentWallet>\n }\n\n async order_subscriptions(\n paymentSettingExternalId: string | PaymentSettingExternal,\n params?: QueryParamsList<OrderSubscription>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<OrderSubscription>> {\n const _paymentSettingExternalId =\n (paymentSettingExternalId as PaymentSettingExternal).id || (paymentSettingExternalId as string)\n return this.resources.fetch<OrderSubscription>(\n { type: 'order_subscriptions' },\n `payment_setting_externals/${_paymentSettingExternalId}/order_subscriptions`,\n params,\n options,\n ) as unknown as ListResponse<OrderSubscription>\n }\n\n async events(\n paymentSettingExternalId: string | PaymentSettingExternal,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _paymentSettingExternalId =\n (paymentSettingExternalId as PaymentSettingExternal).id || (paymentSettingExternalId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `payment_setting_externals/${_paymentSettingExternalId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n paymentSettingExternalId: string | PaymentSettingExternal,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _paymentSettingExternalId =\n (paymentSettingExternalId as PaymentSettingExternal).id || (paymentSettingExternalId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `payment_setting_externals/${_paymentSettingExternalId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _disable(\n id: string | PaymentSettingExternal,\n params?: QueryParamsRetrieve<PaymentSettingExternal>,\n options?: ResourcesConfig,\n ): Promise<PaymentSettingExternal> {\n return this.resources.update<PaymentSettingExternalUpdate, PaymentSettingExternal>(\n { id: typeof id === 'string' ? id : id.id, type: PaymentSettingExternals.TYPE, _disable: true },\n params,\n options,\n )\n }\n\n async _enable(\n id: string | PaymentSettingExternal,\n params?: QueryParamsRetrieve<PaymentSettingExternal>,\n options?: ResourcesConfig,\n ): Promise<PaymentSettingExternal> {\n return this.resources.update<PaymentSettingExternalUpdate, PaymentSettingExternal>(\n { id: typeof id === 'string' ? id : id.id, type: PaymentSettingExternals.TYPE, _enable: true },\n params,\n options,\n )\n }\n\n async _reset_circuit(\n id: string | PaymentSettingExternal,\n params?: QueryParamsRetrieve<PaymentSettingExternal>,\n options?: ResourcesConfig,\n ): Promise<PaymentSettingExternal> {\n return this.resources.update<PaymentSettingExternalUpdate, PaymentSettingExternal>(\n { id: typeof id === 'string' ? id : id.id, type: PaymentSettingExternals.TYPE, _reset_circuit: true },\n params,\n options,\n )\n }\n\n async _regenerate_shared_secret(\n id: string | PaymentSettingExternal,\n params?: QueryParamsRetrieve<PaymentSettingExternal>,\n options?: ResourcesConfig,\n ): Promise<PaymentSettingExternal> {\n return this.resources.update<PaymentSettingExternalUpdate, PaymentSettingExternal>(\n { id: typeof id === 'string' ? id : id.id, type: PaymentSettingExternals.TYPE, _regenerate_shared_secret: true },\n params,\n options,\n )\n }\n\n isPaymentSettingExternal(resource: any): resource is PaymentSettingExternal {\n return resource.type && resource.type === PaymentSettingExternals.TYPE\n }\n\n relationship(id: string | ResourceId | null): PaymentSettingExternalRel {\n return super.relationshipOneToOne<PaymentSettingExternalRel>(id)\n }\n\n relationshipToMany(...ids: string[]): PaymentSettingExternalRel[] {\n return super.relationshipOneToMany<PaymentSettingExternalRel>(...ids)\n }\n\n type(): PaymentSettingExternalType {\n return PaymentSettingExternals.TYPE\n }\n}\n\nconst instance = new PaymentSettingExternals()\nexport default instance\n\nexport type {\n PaymentSettingExternal,\n PaymentSettingExternalCreate,\n PaymentSettingExternals,\n PaymentSettingExternalType,\n PaymentSettingExternalUpdate,\n}\n"]}
@@ -1,226 +0,0 @@
1
- import { ApiResource } from './chunk-FHXYIYQU.js';
2
-
3
- // gen/resources/customers.ts
4
- var Customers = class _Customers extends ApiResource {
5
- static TYPE = "customers";
6
- async create(resource, params, options) {
7
- return this.resources.create({ ...resource, type: _Customers.TYPE }, params, options);
8
- }
9
- async update(resource, params, options) {
10
- return this.resources.update({ ...resource, type: _Customers.TYPE }, params, options);
11
- }
12
- async delete(id, options) {
13
- await this.resources.delete(typeof id === "string" ? { id, type: _Customers.TYPE } : id, options);
14
- }
15
- async customer_group(customerId, params, options) {
16
- const _customerId = customerId.id || customerId;
17
- return this.resources.fetch(
18
- { type: "customer_groups" },
19
- `customers/${_customerId}/customer_group`,
20
- params,
21
- options
22
- );
23
- }
24
- async customer_addresses(customerId, params, options) {
25
- const _customerId = customerId.id || customerId;
26
- return this.resources.fetch(
27
- { type: "customer_addresses" },
28
- `customers/${_customerId}/customer_addresses`,
29
- params,
30
- options
31
- );
32
- }
33
- /**
34
- * @deprecated Deprecated in API version 2026-05.
35
- */
36
- async customer_payment_sources(customerId, params, options) {
37
- const _customerId = customerId.id || customerId;
38
- return this.resources.fetch(
39
- { type: "customer_payment_sources" },
40
- `customers/${_customerId}/customer_payment_sources`,
41
- params,
42
- options
43
- );
44
- }
45
- async customer_subscriptions(customerId, params, options) {
46
- const _customerId = customerId.id || customerId;
47
- return this.resources.fetch(
48
- { type: "customer_subscriptions" },
49
- `customers/${_customerId}/customer_subscriptions`,
50
- params,
51
- options
52
- );
53
- }
54
- async orders(customerId, params, options) {
55
- const _customerId = customerId.id || customerId;
56
- return this.resources.fetch(
57
- { type: "orders" },
58
- `customers/${_customerId}/orders`,
59
- params,
60
- options
61
- );
62
- }
63
- async order_subscriptions(customerId, params, options) {
64
- const _customerId = customerId.id || customerId;
65
- return this.resources.fetch(
66
- { type: "order_subscriptions" },
67
- `customers/${_customerId}/order_subscriptions`,
68
- params,
69
- options
70
- );
71
- }
72
- /**
73
- * @deprecated Deprecated in API version 2026-05.
74
- */
75
- async returns(customerId, params, options) {
76
- const _customerId = customerId.id || customerId;
77
- return this.resources.fetch(
78
- { type: "returns" },
79
- `customers/${_customerId}/returns`,
80
- params,
81
- options
82
- );
83
- }
84
- async sku_lists(customerId, params, options) {
85
- const _customerId = customerId.id || customerId;
86
- return this.resources.fetch(
87
- { type: "sku_lists" },
88
- `customers/${_customerId}/sku_lists`,
89
- params,
90
- options
91
- );
92
- }
93
- /**
94
- * @since 2026-05
95
- */
96
- async payment_sessions(customerId, params, options) {
97
- const _customerId = customerId.id || customerId;
98
- return this.resources.fetch(
99
- { type: "payment_sessions" },
100
- `customers/${_customerId}/payment_sessions`,
101
- params,
102
- options
103
- );
104
- }
105
- /**
106
- * @since 2026-05
107
- */
108
- async payment_wallets(customerId, params, options) {
109
- const _customerId = customerId.id || customerId;
110
- return this.resources.fetch(
111
- { type: "payment_wallets" },
112
- `customers/${_customerId}/payment_wallets`,
113
- params,
114
- options
115
- );
116
- }
117
- async attachments(customerId, params, options) {
118
- const _customerId = customerId.id || customerId;
119
- return this.resources.fetch(
120
- { type: "attachments" },
121
- `customers/${_customerId}/attachments`,
122
- params,
123
- options
124
- );
125
- }
126
- async events(customerId, params, options) {
127
- const _customerId = customerId.id || customerId;
128
- return this.resources.fetch(
129
- { type: "events" },
130
- `customers/${_customerId}/events`,
131
- params,
132
- options
133
- );
134
- }
135
- async tags(customerId, params, options) {
136
- const _customerId = customerId.id || customerId;
137
- return this.resources.fetch(
138
- { type: "tags" },
139
- `customers/${_customerId}/tags`,
140
- params,
141
- options
142
- );
143
- }
144
- async jwt_customer(customerId, params, options) {
145
- const _customerId = customerId.id || customerId;
146
- return this.resources.fetch(
147
- { type: "customers" },
148
- `customers/${_customerId}/jwt_customer`,
149
- params,
150
- options
151
- );
152
- }
153
- async jwt_markets(customerId, params, options) {
154
- const _customerId = customerId.id || customerId;
155
- return this.resources.fetch(
156
- { type: "markets" },
157
- `customers/${_customerId}/jwt_markets`,
158
- params,
159
- options
160
- );
161
- }
162
- async jwt_stock_locations(customerId, params, options) {
163
- const _customerId = customerId.id || customerId;
164
- return this.resources.fetch(
165
- { type: "stock_locations" },
166
- `customers/${_customerId}/jwt_stock_locations`,
167
- params,
168
- options
169
- );
170
- }
171
- async event_stores(customerId, params, options) {
172
- const _customerId = customerId.id || customerId;
173
- return this.resources.fetch(
174
- { type: "event_stores" },
175
- `customers/${_customerId}/event_stores`,
176
- params,
177
- options
178
- );
179
- }
180
- async _add_tags(id, triggerValue, params, options) {
181
- return this.resources.update(
182
- { id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _add_tags: triggerValue },
183
- params,
184
- options
185
- );
186
- }
187
- async _remove_tags(id, triggerValue, params, options) {
188
- return this.resources.update(
189
- { id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _remove_tags: triggerValue },
190
- params,
191
- options
192
- );
193
- }
194
- async _request_anonymization(id, params, options) {
195
- return this.resources.update(
196
- { id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _request_anonymization: true },
197
- params,
198
- options
199
- );
200
- }
201
- async _cancel_anonymization(id, params, options) {
202
- return this.resources.update(
203
- { id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _cancel_anonymization: true },
204
- params,
205
- options
206
- );
207
- }
208
- isCustomer(resource) {
209
- return resource.type && resource.type === _Customers.TYPE;
210
- }
211
- relationship(id) {
212
- return super.relationshipOneToOne(id);
213
- }
214
- relationshipToMany(...ids) {
215
- return super.relationshipOneToMany(...ids);
216
- }
217
- type() {
218
- return _Customers.TYPE;
219
- }
220
- };
221
- var instance = new Customers();
222
- var customers_default = instance;
223
-
224
- export { customers_default };
225
- //# sourceMappingURL=chunk-NEVA36Z3.js.map
226
- //# sourceMappingURL=chunk-NEVA36Z3.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../gen/resources/customers.ts"],"names":[],"mappings":";;;AA+MA,IAAM,SAAA,GAAN,MAAM,UAAA,SAAkB,WAAA,CAAsB;AAAA,EAC5C,OAAgB,IAAA,GAAqB,WAAA;AAAA,EAErC,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACmB;AACnB,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAiC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,UAAA,CAAU,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/G;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACmB;AACnB,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAiC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,UAAA,CAAU,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/G;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,UAAA,CAAU,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACjG;AAAA,EAEA,MAAM,cAAA,CACJ,UAAA,EACA,MAAA,EACA,OAAA,EACwB;AACxB,IAAA,MAAM,WAAA,GAAe,WAAwB,EAAA,IAAO,UAAA;AACpD,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,iBAAA,EAAkB;AAAA,MAC1B,aAAa,WAAW,CAAA,eAAA,CAAA;AAAA,MACxB,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM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AEA,aAAa,EAAA,EAA6C;AACxD,IAAA,OAAO,KAAA,CAAM,qBAAkC,EAAE,CAAA;AAAA,EACnD;AAAA,EAEA,sBAAsB,GAAA,EAA8B;AAClD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAmC,GAAG,GAAG,CAAA;AAAA,EACxD;AAAA,EAEA,IAAA,GAAqB;AACnB,IAAA,OAAO,UAAA,CAAU,IAAA;AAAA,EACnB;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,SAAA,EAAU;AAC/B,IAAO,iBAAA,GAAQ","file":"chunk-NEVA36Z3.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 { CustomerAddress } from './customer_addresses'\nimport type { CustomerGroup, CustomerGroupType } from './customer_groups'\nimport type { CustomerPaymentSource } from './customer_payment_sources'\nimport type { CustomerSubscription } from './customer_subscriptions'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market } from './markets'\nimport type { OrderSubscription } from './order_subscriptions'\nimport type { Order } from './orders'\nimport type { PaymentSession } from './payment_sessions'\nimport type { PaymentWallet } from './payment_wallets'\nimport type { Return } from './returns'\nimport type { SkuList } from './sku_lists'\nimport type { StockLocation } from './stock_locations'\nimport type { Tag, TagType } from './tags'\n\ntype CustomerType = 'customers'\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype CustomerGroupRel = ResourceRel & { type: CustomerGroupType }\ntype TagRel = ResourceRel & { type: TagType }\n\nexport type CustomerSort = Pick<Customer, 'id' | 'email' | 'status' | 'total_orders_count' | 'anonymization_status'> &\n ResourceSort\n// export type CustomerFilter = Pick<Customer, 'id' | 'email' | 'status' | 'total_orders_count' | 'anonymization_status'> & ResourceFilter\n\n/**\n * The Customer object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/customers endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/customers/object\n */\ninterface Customer extends Resource {\n readonly type: CustomerType\n\n /**\n * The customer's email address.\n * @example ```\"john@example.com\"```\n */\n email: string\n /**\n * The customer's status. One of 'prospect' (default), 'acquired', or 'repeat'.\n * @example ```\"prospect\"```\n */\n status: 'prospect' | 'acquired' | 'repeat'\n /**\n * Indicates if the customer has a password.\n */\n has_password?: boolean | null\n /**\n * The total number of orders for the customer.\n * @example ```6```\n */\n total_orders_count?: number | null\n /**\n * A reference to uniquely identify the shopper during payment sessions.\n * @example ```\"xxx-yyy-zzz\"```\n */\n shopper_reference?: string | null\n /**\n * A reference to uniquely identify the customer on any connected external services.\n * @example ```\"xxx-yyy-zzz\"```\n */\n profile_id?: string | null\n /**\n * A specific code to identify the tax exemption reason for this customer.\n * @example ```\"xxx-yyy-zzz\"```\n */\n tax_exemption_code?: string | null\n /**\n * The custom_claim attached to the current JWT (if any).\n * @example ```{}```\n */\n jwt_custom_claim?: Record<string, any> | null\n /**\n * The anonymization info object.\n * @example ```{\"status\":\"requested\",\"requested_at\":\"2025-03-15 11:39:21 UTC\",\"requester\":{\"id\":\"fdgt56hh\",\"first_name\":\"Travis\",\"last_name\":\"Muller\",\"email\":\"test@labadie.test\"}}```\n */\n anonymization_info?: Record<string, any> | null\n /**\n * Status of the current anonymization request (if any). One of 'requested', 'started', 'completed', 'failed', or 'cancelled'.\n * @example ```\"requested\"```\n */\n anonymization_status?: 'requested' | 'started' | 'completed' | 'failed' | 'cancelled' | null\n\n customer_group?: CustomerGroup | null\n customer_addresses?: CustomerAddress[] | null\n /**\n * @deprecated Deprecated in API version 2026-05.\n */\n customer_payment_sources?: CustomerPaymentSource[] | null\n customer_subscriptions?: CustomerSubscription[] | null\n orders?: Order[] | null\n order_subscriptions?: OrderSubscription[] | null\n /**\n * @deprecated Deprecated in API version 2026-05.\n */\n returns?: Return[] | null\n sku_lists?: SkuList[] | null\n /**\n * @since 2026-05\n */\n payment_sessions?: PaymentSession[] | null\n /**\n * @since 2026-05\n */\n payment_wallets?: PaymentWallet[] | null\n attachments?: Attachment[] | null\n events?: Event[] | null\n tags?: Tag[] | null\n jwt_customer?: Customer | null\n jwt_markets?: Market[] | null\n jwt_stock_locations?: StockLocation[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface CustomerCreate extends ResourceCreate {\n /**\n * The customer's email address.\n * @example ```\"john@example.com\"```\n */\n email: string\n /**\n * The customer's password. Initiate a customer password reset flow if you need to change it.\n * @example ```\"secret\"```\n */\n password?: string | null\n /**\n * A reference to uniquely identify the shopper during payment sessions.\n * @example ```\"xxx-yyy-zzz\"```\n */\n shopper_reference?: string | null\n /**\n * A reference to uniquely identify the customer on any connected external services.\n * @example ```\"xxx-yyy-zzz\"```\n */\n profile_id?: string | null\n /**\n * A specific code to identify the tax exemption reason for this customer.\n * @example ```\"xxx-yyy-zzz\"```\n */\n tax_exemption_code?: string | null\n\n customer_group?: CustomerGroupRel | null\n tags?: TagRel[] | null\n}\n\ninterface CustomerUpdate extends ResourceUpdate {\n /**\n * The customer's email address.\n * @example ```\"john@example.com\"```\n */\n email?: string | null\n /**\n * The customer's password. Initiate a customer password reset flow if you need to change it.\n * @example ```\"secret\"```\n */\n password?: string | null\n /**\n * A reference to uniquely identify the shopper during payment sessions.\n * @example ```\"xxx-yyy-zzz\"```\n */\n shopper_reference?: string | null\n /**\n * A reference to uniquely identify the customer on any connected external services.\n * @example ```\"xxx-yyy-zzz\"```\n */\n profile_id?: string | null\n /**\n * A specific code to identify the tax exemption reason for this customer.\n * @example ```\"xxx-yyy-zzz\"```\n */\n tax_exemption_code?: string | null\n /**\n * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n */\n _add_tags?: string | null\n /**\n * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n */\n _remove_tags?: string | null\n /**\n * Send this attribute if you want to trigger anonymization. Cannot be passed by sales channels.\n * @example ```true```\n */\n _request_anonymization?: boolean | null\n /**\n * Send this attribute if you want to trigger a cancellation of anonymization. Cannot be passed by sales channels.\n * @example ```true```\n */\n _cancel_anonymization?: boolean | null\n\n customer_group?: CustomerGroupRel | null\n tags?: TagRel[] | null\n}\n\nclass Customers extends ApiResource<Customer> {\n static readonly TYPE: CustomerType = 'customers' as const\n\n async create(\n resource: CustomerCreate,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.create<CustomerCreate, Customer>({ ...resource, type: Customers.TYPE }, params, options)\n }\n\n async update(\n resource: CustomerUpdate,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.update<CustomerUpdate, Customer>({ ...resource, type: Customers.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: Customers.TYPE } : id, options)\n }\n\n async customer_group(\n customerId: string | Customer,\n params?: QueryParamsRetrieve<CustomerGroup>,\n options?: ResourcesConfig,\n ): Promise<CustomerGroup> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<CustomerGroup>(\n { type: 'customer_groups' },\n `customers/${_customerId}/customer_group`,\n params,\n options,\n ) as unknown as CustomerGroup\n }\n\n async customer_addresses(\n customerId: string | Customer,\n params?: QueryParamsList<CustomerAddress>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<CustomerAddress>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<CustomerAddress>(\n { type: 'customer_addresses' },\n `customers/${_customerId}/customer_addresses`,\n params,\n options,\n ) as unknown as ListResponse<CustomerAddress>\n }\n\n /**\n * @deprecated Deprecated in API version 2026-05.\n */\n async customer_payment_sources(\n customerId: string | Customer,\n params?: QueryParamsList<CustomerPaymentSource>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<CustomerPaymentSource>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<CustomerPaymentSource>(\n { type: 'customer_payment_sources' },\n `customers/${_customerId}/customer_payment_sources`,\n params,\n options,\n ) as unknown as ListResponse<CustomerPaymentSource>\n }\n\n async customer_subscriptions(\n customerId: string | Customer,\n params?: QueryParamsList<CustomerSubscription>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<CustomerSubscription>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<CustomerSubscription>(\n { type: 'customer_subscriptions' },\n `customers/${_customerId}/customer_subscriptions`,\n params,\n options,\n ) as unknown as ListResponse<CustomerSubscription>\n }\n\n async orders(\n customerId: string | Customer,\n params?: QueryParamsList<Order>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Order>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Order>(\n { type: 'orders' },\n `customers/${_customerId}/orders`,\n params,\n options,\n ) as unknown as ListResponse<Order>\n }\n\n async order_subscriptions(\n customerId: string | Customer,\n params?: QueryParamsList<OrderSubscription>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<OrderSubscription>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<OrderSubscription>(\n { type: 'order_subscriptions' },\n `customers/${_customerId}/order_subscriptions`,\n params,\n options,\n ) as unknown as ListResponse<OrderSubscription>\n }\n\n /**\n * @deprecated Deprecated in API version 2026-05.\n */\n async returns(\n customerId: string | Customer,\n params?: QueryParamsList<Return>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Return>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Return>(\n { type: 'returns' },\n `customers/${_customerId}/returns`,\n params,\n options,\n ) as unknown as ListResponse<Return>\n }\n\n async sku_lists(\n customerId: string | Customer,\n params?: QueryParamsList<SkuList>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<SkuList>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<SkuList>(\n { type: 'sku_lists' },\n `customers/${_customerId}/sku_lists`,\n params,\n options,\n ) as unknown as ListResponse<SkuList>\n }\n\n /**\n * @since 2026-05\n */\n async payment_sessions(\n customerId: string | Customer,\n params?: QueryParamsList<PaymentSession>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<PaymentSession>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<PaymentSession>(\n { type: 'payment_sessions' },\n `customers/${_customerId}/payment_sessions`,\n params,\n options,\n ) as unknown as ListResponse<PaymentSession>\n }\n\n /**\n * @since 2026-05\n */\n async payment_wallets(\n customerId: string | Customer,\n params?: QueryParamsList<PaymentWallet>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<PaymentWallet>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<PaymentWallet>(\n { type: 'payment_wallets' },\n `customers/${_customerId}/payment_wallets`,\n params,\n options,\n ) as unknown as ListResponse<PaymentWallet>\n }\n\n async attachments(\n customerId: string | Customer,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `customers/${_customerId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async events(\n customerId: string | Customer,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `customers/${_customerId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async tags(\n customerId: string | Customer,\n params?: QueryParamsList<Tag>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Tag>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Tag>(\n { type: 'tags' },\n `customers/${_customerId}/tags`,\n params,\n options,\n ) as unknown as ListResponse<Tag>\n }\n\n async jwt_customer(\n customerId: string | Customer,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Customer>(\n { type: 'customers' },\n `customers/${_customerId}/jwt_customer`,\n params,\n options,\n ) as unknown as Customer\n }\n\n async jwt_markets(\n customerId: string | Customer,\n params?: QueryParamsList<Market>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Market>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `customers/${_customerId}/jwt_markets`,\n params,\n options,\n ) as unknown as ListResponse<Market>\n }\n\n async jwt_stock_locations(\n customerId: string | Customer,\n params?: QueryParamsList<StockLocation>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<StockLocation>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<StockLocation>(\n { type: 'stock_locations' },\n `customers/${_customerId}/jwt_stock_locations`,\n params,\n options,\n ) as unknown as ListResponse<StockLocation>\n }\n\n async event_stores(\n customerId: string | Customer,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `customers/${_customerId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _add_tags(\n id: string | Customer,\n triggerValue: string,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.update<CustomerUpdate, Customer>(\n { id: typeof id === 'string' ? id : id.id, type: Customers.TYPE, _add_tags: triggerValue },\n params,\n options,\n )\n }\n\n async _remove_tags(\n id: string | Customer,\n triggerValue: string,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.update<CustomerUpdate, Customer>(\n { id: typeof id === 'string' ? id : id.id, type: Customers.TYPE, _remove_tags: triggerValue },\n params,\n options,\n )\n }\n\n async _request_anonymization(\n id: string | Customer,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.update<CustomerUpdate, Customer>(\n { id: typeof id === 'string' ? id : id.id, type: Customers.TYPE, _request_anonymization: true },\n params,\n options,\n )\n }\n\n async _cancel_anonymization(\n id: string | Customer,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.update<CustomerUpdate, Customer>(\n { id: typeof id === 'string' ? id : id.id, type: Customers.TYPE, _cancel_anonymization: true },\n params,\n options,\n )\n }\n\n isCustomer(resource: any): resource is Customer {\n return resource.type && resource.type === Customers.TYPE\n }\n\n relationship(id: string | ResourceId | null): CustomerRel {\n return super.relationshipOneToOne<CustomerRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CustomerRel[] {\n return super.relationshipOneToMany<CustomerRel>(...ids)\n }\n\n type(): CustomerType {\n return Customers.TYPE\n }\n}\n\nconst instance = new Customers()\nexport default instance\n\nexport type { Customer, CustomerCreate, Customers, CustomerType, CustomerUpdate }\n"]}
@@ -1,86 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkJVQFNGEM_cjs = require('./chunk-JVQFNGEM.cjs');
4
-
5
- // gen/resources/easypost_pickups.ts
6
- var EasypostPickups = class _EasypostPickups extends chunkJVQFNGEM_cjs.ApiResource {
7
- static TYPE = "easypost_pickups";
8
- async create(resource, params, options) {
9
- return this.resources.create(
10
- { ...resource, type: _EasypostPickups.TYPE },
11
- params,
12
- options
13
- );
14
- }
15
- async update(resource, params, options) {
16
- return this.resources.update(
17
- { ...resource, type: _EasypostPickups.TYPE },
18
- params,
19
- options
20
- );
21
- }
22
- async delete(id, options) {
23
- await this.resources.delete(typeof id === "string" ? { id, type: _EasypostPickups.TYPE } : id, options);
24
- }
25
- async shipment(easypostPickupId, params, options) {
26
- const _easypostPickupId = easypostPickupId.id || easypostPickupId;
27
- return this.resources.fetch(
28
- { type: "shipments" },
29
- `easypost_pickups/${_easypostPickupId}/shipment`,
30
- params,
31
- options
32
- );
33
- }
34
- async parcels(easypostPickupId, params, options) {
35
- const _easypostPickupId = easypostPickupId.id || easypostPickupId;
36
- return this.resources.fetch(
37
- { type: "parcels" },
38
- `easypost_pickups/${_easypostPickupId}/parcels`,
39
- params,
40
- options
41
- );
42
- }
43
- async events(easypostPickupId, params, options) {
44
- const _easypostPickupId = easypostPickupId.id || easypostPickupId;
45
- return this.resources.fetch(
46
- { type: "events" },
47
- `easypost_pickups/${_easypostPickupId}/events`,
48
- params,
49
- options
50
- );
51
- }
52
- async event_stores(easypostPickupId, params, options) {
53
- const _easypostPickupId = easypostPickupId.id || easypostPickupId;
54
- return this.resources.fetch(
55
- { type: "event_stores" },
56
- `easypost_pickups/${_easypostPickupId}/event_stores`,
57
- params,
58
- options
59
- );
60
- }
61
- async _purchase(id, params, options) {
62
- return this.resources.update(
63
- { id: typeof id === "string" ? id : id.id, type: _EasypostPickups.TYPE, _purchase: true },
64
- params,
65
- options
66
- );
67
- }
68
- isEasypostPickup(resource) {
69
- return resource.type && resource.type === _EasypostPickups.TYPE;
70
- }
71
- relationship(id) {
72
- return super.relationshipOneToOne(id);
73
- }
74
- relationshipToMany(...ids) {
75
- return super.relationshipOneToMany(...ids);
76
- }
77
- type() {
78
- return _EasypostPickups.TYPE;
79
- }
80
- };
81
- var instance = new EasypostPickups();
82
- var easypost_pickups_default = instance;
83
-
84
- exports.easypost_pickups_default = easypost_pickups_default;
85
- //# sourceMappingURL=chunk-NG5SRNN6.cjs.map
86
- //# sourceMappingURL=chunk-NG5SRNN6.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../gen/resources/easypost_pickups.ts"],"names":["ApiResource"],"mappings":";;;;;AA2HA,IAAM,eAAA,GAAN,MAAM,gBAAA,SAAwBA,6BAAA,CAA4B;AAAA,EACxD,OAA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D;AAAA,EAEA,sBAAsB,GAAA,EAAoC;AACxD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAyC,GAAG,GAAG,CAAA;AAAA,EAC9D;AAAA,EAEA,IAAA,GAA2B;AACzB,IAAA,OAAO,gBAAA,CAAgB,IAAA;AAAA,EACzB;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,eAAA,EAAgB;AACrC,IAAO,wBAAA,GAAQ","file":"chunk-NG5SRNN6.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 { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Parcel } from './parcels'\nimport type { Shipment, ShipmentType } from './shipments'\n\ntype EasypostPickupType = 'easypost_pickups'\ntype EasypostPickupRel = ResourceRel & { type: EasypostPickupType }\ntype ShipmentRel = ResourceRel & { type: ShipmentType }\n\nexport type EasypostPickupSort = Pick<\n EasypostPickup,\n 'id' | 'status' | 'min_datetime' | 'max_datetime' | 'purchase_started_at' | 'purchase_completed_at'\n> &\n ResourceSort\n// export type EasypostPickupFilter = Pick<EasypostPickup, 'id' | 'status' | 'min_datetime' | 'max_datetime' | 'purchase_started_at' | 'purchase_completed_at'> & ResourceFilter\n\n/**\n * The Easypost pickup object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/easypost_pickups endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/easypost_pickups/object\n */\ninterface EasypostPickup extends Resource {\n readonly type: EasypostPickupType\n\n /**\n * The pick up status.\n * @example ```\"unknown\"```\n */\n status?: string | null\n /**\n * The pick up service internal ID.\n * @example ```\"pickup_13e5d7e2a7824432a07975bc553944bc\"```\n */\n internal_id: string\n /**\n * The selected purchase rate from the available pick up rates.\n * @example ```\"pickuprate_a6cd2647a898410aa5d33febde44e1b2\"```\n */\n selected_rate_id?: string | null\n /**\n * The available pick up rates.\n * @example ```[{\"id\":\"pickuprate_a6cd2647a898410aa5d33febde44e1b2\",\"rate\":\"45.59\",\"carrier\":\"USPS\",\"service\":\"NextDay\"}]```\n */\n rates: Array<Record<string, any>>\n /**\n * Additional text to help the driver successfully obtain the package, automatically enriched with parcels and package informations.\n * @example ```\"Knock loudly\"```\n */\n instructions?: string | null\n /**\n * The earliest time at which the package is available to pick up, must be larger than 2 hours from creation time.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n min_datetime: string\n /**\n * The latest time at which the package is available to pick up, must be smaller than 24 hours from creation time.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n max_datetime: string\n /**\n * Time at which the purchasing of the pick up rate started.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n purchase_started_at?: string | null\n /**\n * Time at which the purchasing of the pick up rate completed.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n purchase_completed_at?: string | null\n\n shipment?: Shipment | null\n parcels?: Parcel[] | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface EasypostPickupCreate extends ResourceCreate {\n /**\n * Additional text to help the driver successfully obtain the package, automatically enriched with parcels and package informations.\n * @example ```\"Knock loudly\"```\n */\n instructions?: string | null\n /**\n * The earliest time at which the package is available to pick up, must be larger than 2 hours from creation time.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n min_datetime: string\n /**\n * The latest time at which the package is available to pick up, must be smaller than 24 hours from creation time.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n max_datetime: string\n\n shipment: ShipmentRel\n}\n\ninterface EasypostPickupUpdate extends ResourceUpdate {\n /**\n * The selected purchase rate from the available pick up rates.\n * @example ```\"pickuprate_a6cd2647a898410aa5d33febde44e1b2\"```\n */\n selected_rate_id?: string | null\n /**\n * Send this attribute if you want to purchase this pick up with the selected rate.\n * @example ```true```\n */\n _purchase?: boolean | null\n\n shipment?: ShipmentRel | null\n}\n\nclass EasypostPickups extends ApiResource<EasypostPickup> {\n static readonly TYPE: EasypostPickupType = 'easypost_pickups' as const\n\n async create(\n resource: EasypostPickupCreate,\n params?: QueryParamsRetrieve<EasypostPickup>,\n options?: ResourcesConfig,\n ): Promise<EasypostPickup> {\n return this.resources.create<EasypostPickupCreate, EasypostPickup>(\n { ...resource, type: EasypostPickups.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: EasypostPickupUpdate,\n params?: QueryParamsRetrieve<EasypostPickup>,\n options?: ResourcesConfig,\n ): Promise<EasypostPickup> {\n return this.resources.update<EasypostPickupUpdate, EasypostPickup>(\n { ...resource, type: EasypostPickups.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: EasypostPickups.TYPE } : id, options)\n }\n\n async shipment(\n easypostPickupId: string | EasypostPickup,\n params?: QueryParamsRetrieve<Shipment>,\n options?: ResourcesConfig,\n ): Promise<Shipment> {\n const _easypostPickupId = (easypostPickupId as EasypostPickup).id || (easypostPickupId as string)\n return this.resources.fetch<Shipment>(\n { type: 'shipments' },\n `easypost_pickups/${_easypostPickupId}/shipment`,\n params,\n options,\n ) as unknown as Shipment\n }\n\n async parcels(\n easypostPickupId: string | EasypostPickup,\n params?: QueryParamsList<Parcel>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Parcel>> {\n const _easypostPickupId = (easypostPickupId as EasypostPickup).id || (easypostPickupId as string)\n return this.resources.fetch<Parcel>(\n { type: 'parcels' },\n `easypost_pickups/${_easypostPickupId}/parcels`,\n params,\n options,\n ) as unknown as ListResponse<Parcel>\n }\n\n async events(\n easypostPickupId: string | EasypostPickup,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _easypostPickupId = (easypostPickupId as EasypostPickup).id || (easypostPickupId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `easypost_pickups/${_easypostPickupId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n easypostPickupId: string | EasypostPickup,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _easypostPickupId = (easypostPickupId as EasypostPickup).id || (easypostPickupId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `easypost_pickups/${_easypostPickupId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _purchase(\n id: string | EasypostPickup,\n params?: QueryParamsRetrieve<EasypostPickup>,\n options?: ResourcesConfig,\n ): Promise<EasypostPickup> {\n return this.resources.update<EasypostPickupUpdate, EasypostPickup>(\n { id: typeof id === 'string' ? id : id.id, type: EasypostPickups.TYPE, _purchase: true },\n params,\n options,\n )\n }\n\n isEasypostPickup(resource: any): resource is EasypostPickup {\n return resource.type && resource.type === EasypostPickups.TYPE\n }\n\n relationship(id: string | ResourceId | null): EasypostPickupRel {\n return super.relationshipOneToOne<EasypostPickupRel>(id)\n }\n\n relationshipToMany(...ids: string[]): EasypostPickupRel[] {\n return super.relationshipOneToMany<EasypostPickupRel>(...ids)\n }\n\n type(): EasypostPickupType {\n return EasypostPickups.TYPE\n }\n}\n\nconst instance = new EasypostPickups()\nexport default instance\n\nexport type { EasypostPickup, EasypostPickupCreate, EasypostPickups, EasypostPickupType, EasypostPickupUpdate }\n"]}
@@ -1,177 +0,0 @@
1
- import { ApiResource } from './chunk-FHXYIYQU.js';
2
-
3
- // gen/resources/fixed_price_promotions.ts
4
- var FixedPricePromotions = class _FixedPricePromotions extends ApiResource {
5
- static TYPE = "fixed_price_promotions";
6
- async create(resource, params, options) {
7
- return this.resources.create(
8
- { ...resource, type: _FixedPricePromotions.TYPE },
9
- params,
10
- options
11
- );
12
- }
13
- async update(resource, params, options) {
14
- return this.resources.update(
15
- { ...resource, type: _FixedPricePromotions.TYPE },
16
- params,
17
- options
18
- );
19
- }
20
- async delete(id, options) {
21
- await this.resources.delete(typeof id === "string" ? { id, type: _FixedPricePromotions.TYPE } : id, options);
22
- }
23
- async market(fixedPricePromotionId, params, options) {
24
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
25
- return this.resources.fetch(
26
- { type: "markets" },
27
- `fixed_price_promotions/${_fixedPricePromotionId}/market`,
28
- params,
29
- options
30
- );
31
- }
32
- async order_amount_promotion_rule(fixedPricePromotionId, params, options) {
33
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
34
- return this.resources.fetch(
35
- { type: "order_amount_promotion_rules" },
36
- `fixed_price_promotions/${_fixedPricePromotionId}/order_amount_promotion_rule`,
37
- params,
38
- options
39
- );
40
- }
41
- async sku_list_promotion_rule(fixedPricePromotionId, params, options) {
42
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
43
- return this.resources.fetch(
44
- { type: "sku_list_promotion_rules" },
45
- `fixed_price_promotions/${_fixedPricePromotionId}/sku_list_promotion_rule`,
46
- params,
47
- options
48
- );
49
- }
50
- async coupon_codes_promotion_rule(fixedPricePromotionId, params, options) {
51
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
52
- return this.resources.fetch(
53
- { type: "coupon_codes_promotion_rules" },
54
- `fixed_price_promotions/${_fixedPricePromotionId}/coupon_codes_promotion_rule`,
55
- params,
56
- options
57
- );
58
- }
59
- async custom_promotion_rule(fixedPricePromotionId, params, options) {
60
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
61
- return this.resources.fetch(
62
- { type: "custom_promotion_rules" },
63
- `fixed_price_promotions/${_fixedPricePromotionId}/custom_promotion_rule`,
64
- params,
65
- options
66
- );
67
- }
68
- async sku_list(fixedPricePromotionId, params, options) {
69
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
70
- return this.resources.fetch(
71
- { type: "sku_lists" },
72
- `fixed_price_promotions/${_fixedPricePromotionId}/sku_list`,
73
- params,
74
- options
75
- );
76
- }
77
- async coupons(fixedPricePromotionId, params, options) {
78
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
79
- return this.resources.fetch(
80
- { type: "coupons" },
81
- `fixed_price_promotions/${_fixedPricePromotionId}/coupons`,
82
- params,
83
- options
84
- );
85
- }
86
- async attachments(fixedPricePromotionId, params, options) {
87
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
88
- return this.resources.fetch(
89
- { type: "attachments" },
90
- `fixed_price_promotions/${_fixedPricePromotionId}/attachments`,
91
- params,
92
- options
93
- );
94
- }
95
- async events(fixedPricePromotionId, params, options) {
96
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
97
- return this.resources.fetch(
98
- { type: "events" },
99
- `fixed_price_promotions/${_fixedPricePromotionId}/events`,
100
- params,
101
- options
102
- );
103
- }
104
- async tags(fixedPricePromotionId, params, options) {
105
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
106
- return this.resources.fetch(
107
- { type: "tags" },
108
- `fixed_price_promotions/${_fixedPricePromotionId}/tags`,
109
- params,
110
- options
111
- );
112
- }
113
- async event_stores(fixedPricePromotionId, params, options) {
114
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
115
- return this.resources.fetch(
116
- { type: "event_stores" },
117
- `fixed_price_promotions/${_fixedPricePromotionId}/event_stores`,
118
- params,
119
- options
120
- );
121
- }
122
- async skus(fixedPricePromotionId, params, options) {
123
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
124
- return this.resources.fetch(
125
- { type: "skus" },
126
- `fixed_price_promotions/${_fixedPricePromotionId}/skus`,
127
- params,
128
- options
129
- );
130
- }
131
- async _disable(id, params, options) {
132
- return this.resources.update(
133
- { id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.TYPE, _disable: true },
134
- params,
135
- options
136
- );
137
- }
138
- async _enable(id, params, options) {
139
- return this.resources.update(
140
- { id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.TYPE, _enable: true },
141
- params,
142
- options
143
- );
144
- }
145
- async _add_tags(id, triggerValue, params, options) {
146
- return this.resources.update(
147
- { id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.TYPE, _add_tags: triggerValue },
148
- params,
149
- options
150
- );
151
- }
152
- async _remove_tags(id, triggerValue, params, options) {
153
- return this.resources.update(
154
- { id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.TYPE, _remove_tags: triggerValue },
155
- params,
156
- options
157
- );
158
- }
159
- isFixedPricePromotion(resource) {
160
- return resource.type && resource.type === _FixedPricePromotions.TYPE;
161
- }
162
- relationship(id) {
163
- return super.relationshipOneToOne(id);
164
- }
165
- relationshipToMany(...ids) {
166
- return super.relationshipOneToMany(...ids);
167
- }
168
- type() {
169
- return _FixedPricePromotions.TYPE;
170
- }
171
- };
172
- var instance = new FixedPricePromotions();
173
- var fixed_price_promotions_default = instance;
174
-
175
- export { fixed_price_promotions_default };
176
- //# sourceMappingURL=chunk-NMQIELV3.js.map
177
- //# sourceMappingURL=chunk-NMQIELV3.js.map