@commercelayer/sdk 8.0.3 → 8.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/addresses-BDxOCc8M.d.cts +23330 -0
- package/lib/addresses-BDxOCc8M.d.ts +23330 -0
- package/lib/api-CaxrMD1A.d.cts +1 -0
- package/lib/api-CaxrMD1A.d.ts +1 -0
- package/lib/api.cjs +305 -771
- package/lib/api.d.cts +3 -1
- package/lib/api.d.ts +3 -1
- package/lib/api.js +154 -159
- package/lib/binding.cjs +18 -12
- package/lib/binding.d.cts +2 -20
- package/lib/binding.d.ts +2 -20
- package/lib/binding.js +19 -5
- package/lib/bundle-compat.cjs +9 -168
- package/lib/bundle-compat.d.cts +2 -10
- package/lib/bundle-compat.d.ts +2 -8
- package/lib/bundle-compat.js +8 -164
- package/lib/bundle.cjs +784 -174
- package/lib/bundle.d.cts +159 -165
- package/lib/bundle.d.ts +159 -163
- package/lib/bundle.js +784 -161
- package/lib/commercelayer-BlTm8XHu.d.cts +52 -0
- package/lib/commercelayer-DkhJ6Zfv.d.ts +52 -0
- package/lib/commercelayer.cjs +110 -36
- package/lib/commercelayer.d.cts +3 -57
- package/lib/commercelayer.d.ts +3 -55
- package/lib/commercelayer.js +106 -7
- package/lib/enum.cjs +603 -59
- package/lib/enum.d.cts +2 -1
- package/lib/enum.d.ts +2 -1
- package/lib/enum.js +591 -3
- package/lib/error-DryElXEG.d.cts +32 -0
- package/lib/error-DryElXEG.d.ts +32 -0
- package/lib/index.cjs +16 -189
- package/lib/index.d.cts +7 -12
- package/lib/index.d.ts +7 -10
- package/lib/index.js +10 -166
- package/lib/model.cjs +1 -4
- package/lib/model.d.cts +2 -1
- package/lib/model.d.ts +2 -1
- package/lib/model.js +1 -3
- package/lib/resource-CbxQRWvD.js +856 -0
- package/lib/resource-DBb7ztgQ.cjs +897 -0
- package/lib/resources/addresses.cjs +68 -13
- package/lib/resources/addresses.d.cts +2 -4
- package/lib/resources/addresses.d.ts +2 -1
- package/lib/resources/addresses.js +69 -7
- package/lib/resources/adjustments.cjs +42 -13
- package/lib/resources/adjustments.d.cts +2 -4
- package/lib/resources/adjustments.d.ts +2 -1
- package/lib/resources/adjustments.js +43 -7
- package/lib/resources/adyen_gateways.cjs +86 -13
- package/lib/resources/adyen_gateways.d.cts +2 -4
- package/lib/resources/adyen_gateways.d.ts +2 -1
- package/lib/resources/adyen_gateways.js +87 -7
- package/lib/resources/adyen_payments.cjs +72 -13
- package/lib/resources/adyen_payments.d.cts +2 -4
- package/lib/resources/adyen_payments.d.ts +2 -1
- package/lib/resources/adyen_payments.js +73 -7
- package/lib/resources/applications.cjs +23 -13
- package/lib/resources/applications.d.cts +2 -4
- package/lib/resources/applications.d.ts +2 -1
- package/lib/resources/applications.js +24 -7
- package/lib/resources/attachments.cjs +42 -13
- package/lib/resources/attachments.d.cts +2 -4
- package/lib/resources/attachments.d.ts +2 -1
- package/lib/resources/attachments.js +43 -7
- package/lib/resources/authorizations.cjs +86 -13
- package/lib/resources/authorizations.d.cts +2 -4
- package/lib/resources/authorizations.d.ts +2 -1
- package/lib/resources/authorizations.js +87 -7
- package/lib/resources/avalara_accounts.cjs +58 -13
- package/lib/resources/avalara_accounts.d.cts +2 -4
- package/lib/resources/avalara_accounts.d.ts +2 -1
- package/lib/resources/avalara_accounts.js +59 -7
- package/lib/resources/axerve_gateways.cjs +65 -13
- package/lib/resources/axerve_gateways.d.cts +2 -4
- package/lib/resources/axerve_gateways.d.ts +2 -1
- package/lib/resources/axerve_gateways.js +66 -7
- package/lib/resources/axerve_payments.cjs +58 -13
- package/lib/resources/axerve_payments.d.cts +2 -4
- package/lib/resources/axerve_payments.d.ts +2 -1
- package/lib/resources/axerve_payments.js +59 -7
- package/lib/resources/billing_info_validation_rules.cjs +51 -13
- package/lib/resources/billing_info_validation_rules.d.cts +2 -4
- package/lib/resources/billing_info_validation_rules.d.ts +2 -1
- package/lib/resources/billing_info_validation_rules.js +52 -7
- package/lib/resources/bing_geocoders.cjs +54 -13
- package/lib/resources/bing_geocoders.d.cts +2 -4
- package/lib/resources/bing_geocoders.d.ts +2 -1
- package/lib/resources/bing_geocoders.js +55 -7
- package/lib/resources/braintree_gateways.cjs +72 -13
- package/lib/resources/braintree_gateways.d.cts +2 -4
- package/lib/resources/braintree_gateways.d.ts +2 -1
- package/lib/resources/braintree_gateways.js +73 -7
- package/lib/resources/braintree_payments.cjs +51 -13
- package/lib/resources/braintree_payments.d.cts +2 -4
- package/lib/resources/braintree_payments.d.ts +2 -1
- package/lib/resources/braintree_payments.js +52 -7
- package/lib/resources/bundles.cjs +94 -13
- package/lib/resources/bundles.d.cts +2 -4
- package/lib/resources/bundles.d.ts +2 -1
- package/lib/resources/bundles.js +95 -7
- package/lib/resources/buy_x_pay_y_promotions.cjs +114 -13
- package/lib/resources/buy_x_pay_y_promotions.d.cts +2 -4
- package/lib/resources/buy_x_pay_y_promotions.d.ts +2 -1
- package/lib/resources/buy_x_pay_y_promotions.js +115 -7
- package/lib/resources/captures.cjs +83 -13
- package/lib/resources/captures.d.cts +2 -4
- package/lib/resources/captures.d.ts +2 -1
- package/lib/resources/captures.js +84 -7
- package/lib/resources/carrier_accounts.cjs +50 -13
- package/lib/resources/carrier_accounts.d.cts +2 -4
- package/lib/resources/carrier_accounts.d.ts +2 -1
- package/lib/resources/carrier_accounts.js +51 -7
- package/lib/resources/checkout_com_gateways.cjs +86 -13
- package/lib/resources/checkout_com_gateways.d.cts +2 -4
- package/lib/resources/checkout_com_gateways.d.ts +2 -1
- package/lib/resources/checkout_com_gateways.js +87 -7
- package/lib/resources/checkout_com_payments.cjs +72 -13
- package/lib/resources/checkout_com_payments.d.cts +2 -4
- package/lib/resources/checkout_com_payments.d.ts +2 -1
- package/lib/resources/checkout_com_payments.js +73 -7
- package/lib/resources/cleanups.cjs +53 -13
- package/lib/resources/cleanups.d.cts +2 -4
- package/lib/resources/cleanups.d.ts +2 -1
- package/lib/resources/cleanups.js +54 -7
- package/lib/resources/coupon_codes_promotion_rules.cjs +46 -13
- package/lib/resources/coupon_codes_promotion_rules.d.cts +2 -4
- package/lib/resources/coupon_codes_promotion_rules.d.ts +2 -1
- package/lib/resources/coupon_codes_promotion_rules.js +47 -7
- package/lib/resources/coupon_recipients.cjs +50 -13
- package/lib/resources/coupon_recipients.d.cts +2 -4
- package/lib/resources/coupon_recipients.d.ts +2 -1
- package/lib/resources/coupon_recipients.js +51 -7
- package/lib/resources/coupons.cjs +72 -13
- package/lib/resources/coupons.d.cts +2 -4
- package/lib/resources/coupons.d.ts +2 -1
- package/lib/resources/coupons.js +73 -7
- package/lib/resources/custom_promotion_rules.cjs +42 -13
- package/lib/resources/custom_promotion_rules.d.cts +2 -4
- package/lib/resources/custom_promotion_rules.d.ts +2 -1
- package/lib/resources/custom_promotion_rules.js +43 -7
- package/lib/resources/customer_addresses.cjs +54 -13
- package/lib/resources/customer_addresses.d.cts +2 -4
- package/lib/resources/customer_addresses.d.ts +2 -1
- package/lib/resources/customer_addresses.js +55 -7
- package/lib/resources/customer_groups.cjs +54 -13
- package/lib/resources/customer_groups.d.cts +2 -4
- package/lib/resources/customer_groups.d.ts +2 -1
- package/lib/resources/customer_groups.js +55 -7
- package/lib/resources/customer_password_resets.cjs +57 -13
- package/lib/resources/customer_password_resets.d.cts +2 -4
- package/lib/resources/customer_password_resets.d.ts +2 -1
- package/lib/resources/customer_password_resets.js +58 -7
- package/lib/resources/customer_payment_sources.cjs +51 -13
- package/lib/resources/customer_payment_sources.d.cts +2 -4
- package/lib/resources/customer_payment_sources.d.ts +2 -1
- package/lib/resources/customer_payment_sources.js +52 -7
- package/lib/resources/customer_subscriptions.cjs +50 -13
- package/lib/resources/customer_subscriptions.d.cts +2 -4
- package/lib/resources/customer_subscriptions.d.ts +2 -1
- package/lib/resources/customer_subscriptions.js +51 -7
- package/lib/resources/customers.cjs +146 -13
- package/lib/resources/customers.d.cts +2 -4
- package/lib/resources/customers.d.ts +2 -1
- package/lib/resources/customers.js +147 -7
- package/lib/resources/delivery_lead_times.cjs +54 -13
- package/lib/resources/delivery_lead_times.d.cts +2 -4
- package/lib/resources/delivery_lead_times.d.ts +2 -1
- package/lib/resources/delivery_lead_times.js +55 -7
- package/lib/resources/discount_engine_items.cjs +32 -13
- package/lib/resources/discount_engine_items.d.cts +2 -4
- package/lib/resources/discount_engine_items.d.ts +2 -1
- package/lib/resources/discount_engine_items.js +33 -7
- package/lib/resources/discount_engines.cjs +36 -13
- package/lib/resources/discount_engines.d.cts +2 -4
- package/lib/resources/discount_engines.d.ts +2 -1
- package/lib/resources/discount_engines.js +37 -7
- package/lib/resources/easypost_pickups.cjs +61 -13
- package/lib/resources/easypost_pickups.d.cts +2 -4
- package/lib/resources/easypost_pickups.d.ts +2 -1
- package/lib/resources/easypost_pickups.js +62 -7
- package/lib/resources/event_callbacks.cjs +28 -13
- package/lib/resources/event_callbacks.d.cts +2 -4
- package/lib/resources/event_callbacks.d.ts +2 -1
- package/lib/resources/event_callbacks.js +29 -7
- package/lib/resources/event_stores.cjs +20 -13
- package/lib/resources/event_stores.d.cts +2 -4
- package/lib/resources/event_stores.d.ts +2 -1
- package/lib/resources/event_stores.js +21 -7
- package/lib/resources/events.cjs +45 -13
- package/lib/resources/events.d.cts +2 -4
- package/lib/resources/events.d.ts +2 -1
- package/lib/resources/events.js +46 -7
- package/lib/resources/exports.cjs +60 -13
- package/lib/resources/exports.d.cts +2 -4
- package/lib/resources/exports.d.ts +2 -1
- package/lib/resources/exports.js +61 -7
- package/lib/resources/external_gateways.cjs +79 -13
- package/lib/resources/external_gateways.d.cts +2 -4
- package/lib/resources/external_gateways.d.ts +2 -1
- package/lib/resources/external_gateways.js +80 -7
- package/lib/resources/external_payments.cjs +55 -13
- package/lib/resources/external_payments.d.cts +2 -4
- package/lib/resources/external_payments.d.ts +2 -1
- package/lib/resources/external_payments.js +56 -7
- package/lib/resources/external_promotions.cjs +128 -13
- package/lib/resources/external_promotions.d.cts +2 -4
- package/lib/resources/external_promotions.d.ts +2 -1
- package/lib/resources/external_promotions.js +129 -7
- package/lib/resources/external_tax_calculators.cjs +68 -13
- package/lib/resources/external_tax_calculators.d.cts +2 -4
- package/lib/resources/external_tax_calculators.d.ts +2 -1
- package/lib/resources/external_tax_calculators.js +69 -7
- package/lib/resources/fixed_amount_promotions.cjs +114 -13
- package/lib/resources/fixed_amount_promotions.d.cts +2 -4
- package/lib/resources/fixed_amount_promotions.d.ts +2 -1
- package/lib/resources/fixed_amount_promotions.js +115 -7
- package/lib/resources/fixed_price_promotions.cjs +114 -13
- package/lib/resources/fixed_price_promotions.d.cts +2 -4
- package/lib/resources/fixed_price_promotions.d.ts +2 -1
- package/lib/resources/fixed_price_promotions.js +115 -7
- package/lib/resources/flex_promotions.cjs +90 -13
- package/lib/resources/flex_promotions.d.cts +2 -4
- package/lib/resources/flex_promotions.d.ts +2 -1
- package/lib/resources/flex_promotions.js +91 -7
- package/lib/resources/free_gift_promotions.cjs +114 -13
- package/lib/resources/free_gift_promotions.d.cts +2 -4
- package/lib/resources/free_gift_promotions.d.ts +2 -1
- package/lib/resources/free_gift_promotions.js +115 -7
- package/lib/resources/free_shipping_promotions.cjs +110 -13
- package/lib/resources/free_shipping_promotions.d.cts +2 -4
- package/lib/resources/free_shipping_promotions.d.ts +2 -1
- package/lib/resources/free_shipping_promotions.js +111 -7
- package/lib/resources/geocoders.cjs +36 -13
- package/lib/resources/geocoders.d.cts +2 -4
- package/lib/resources/geocoders.d.ts +2 -1
- package/lib/resources/geocoders.js +37 -7
- package/lib/resources/gift_card_recipients.cjs +50 -13
- package/lib/resources/gift_card_recipients.d.cts +2 -4
- package/lib/resources/gift_card_recipients.d.ts +2 -1
- package/lib/resources/gift_card_recipients.js +51 -7
- package/lib/resources/gift_cards.cjs +104 -13
- package/lib/resources/gift_cards.d.cts +2 -4
- package/lib/resources/gift_cards.d.ts +2 -1
- package/lib/resources/gift_cards.js +105 -7
- package/lib/resources/google_geocoders.cjs +54 -13
- package/lib/resources/google_geocoders.d.cts +2 -4
- package/lib/resources/google_geocoders.d.ts +2 -1
- package/lib/resources/google_geocoders.js +55 -7
- package/lib/resources/imports.cjs +53 -13
- package/lib/resources/imports.d.cts +2 -4
- package/lib/resources/imports.d.ts +2 -1
- package/lib/resources/imports.js +54 -7
- package/lib/resources/in_stock_subscriptions.cjs +72 -13
- package/lib/resources/in_stock_subscriptions.d.cts +2 -4
- package/lib/resources/in_stock_subscriptions.d.ts +2 -1
- package/lib/resources/in_stock_subscriptions.js +73 -7
- package/lib/resources/inventory_models.cjs +54 -13
- package/lib/resources/inventory_models.d.cts +2 -4
- package/lib/resources/inventory_models.d.ts +2 -1
- package/lib/resources/inventory_models.js +55 -7
- package/lib/resources/inventory_return_locations.cjs +50 -13
- package/lib/resources/inventory_return_locations.d.cts +2 -4
- package/lib/resources/inventory_return_locations.d.ts +2 -1
- package/lib/resources/inventory_return_locations.js +51 -7
- package/lib/resources/inventory_stock_locations.cjs +50 -13
- package/lib/resources/inventory_stock_locations.d.cts +2 -4
- package/lib/resources/inventory_stock_locations.d.ts +2 -1
- package/lib/resources/inventory_stock_locations.js +51 -7
- package/lib/resources/klarna_gateways.cjs +65 -13
- package/lib/resources/klarna_gateways.d.cts +2 -4
- package/lib/resources/klarna_gateways.d.ts +2 -1
- package/lib/resources/klarna_gateways.js +66 -7
- package/lib/resources/klarna_payments.cjs +58 -13
- package/lib/resources/klarna_payments.d.cts +2 -4
- package/lib/resources/klarna_payments.d.ts +2 -1
- package/lib/resources/klarna_payments.js +59 -7
- package/lib/resources/line_item_options.cjs +72 -13
- package/lib/resources/line_item_options.d.cts +2 -4
- package/lib/resources/line_item_options.d.ts +2 -1
- package/lib/resources/line_item_options.js +73 -7
- package/lib/resources/line_items.cjs +134 -13
- package/lib/resources/line_items.d.cts +2 -4
- package/lib/resources/line_items.d.ts +2 -1
- package/lib/resources/line_items.js +135 -7
- package/lib/resources/links.cjs +60 -13
- package/lib/resources/links.d.cts +2 -4
- package/lib/resources/links.d.ts +2 -1
- package/lib/resources/links.js +61 -7
- package/lib/resources/manual_gateways.cjs +61 -13
- package/lib/resources/manual_gateways.d.cts +2 -4
- package/lib/resources/manual_gateways.d.ts +2 -1
- package/lib/resources/manual_gateways.js +62 -7
- package/lib/resources/manual_tax_calculators.cjs +58 -13
- package/lib/resources/manual_tax_calculators.d.cts +2 -4
- package/lib/resources/manual_tax_calculators.d.ts +2 -1
- package/lib/resources/manual_tax_calculators.js +59 -7
- package/lib/resources/markets.cjs +128 -13
- package/lib/resources/markets.d.cts +2 -4
- package/lib/resources/markets.d.ts +2 -1
- package/lib/resources/markets.js +129 -7
- package/lib/resources/merchants.cjs +50 -13
- package/lib/resources/merchants.d.cts +2 -4
- package/lib/resources/merchants.d.ts +2 -1
- package/lib/resources/merchants.js +51 -7
- package/lib/resources/notifications.cjs +42 -13
- package/lib/resources/notifications.d.cts +2 -4
- package/lib/resources/notifications.d.ts +2 -1
- package/lib/resources/notifications.js +43 -7
- package/lib/resources/order_amount_promotion_rules.cjs +42 -13
- package/lib/resources/order_amount_promotion_rules.d.cts +2 -4
- package/lib/resources/order_amount_promotion_rules.d.ts +2 -1
- package/lib/resources/order_amount_promotion_rules.js +43 -7
- package/lib/resources/order_copies.cjs +61 -13
- package/lib/resources/order_copies.d.cts +2 -4
- package/lib/resources/order_copies.d.ts +2 -1
- package/lib/resources/order_copies.js +62 -7
- package/lib/resources/order_factories.cjs +36 -13
- package/lib/resources/order_factories.d.cts +2 -4
- package/lib/resources/order_factories.d.ts +2 -1
- package/lib/resources/order_factories.js +37 -7
- package/lib/resources/order_subscription_items.cjs +50 -13
- package/lib/resources/order_subscription_items.d.cts +2 -4
- package/lib/resources/order_subscription_items.d.ts +2 -1
- package/lib/resources/order_subscription_items.js +51 -7
- package/lib/resources/order_subscriptions.cjs +153 -13
- package/lib/resources/order_subscriptions.d.cts +2 -4
- package/lib/resources/order_subscriptions.d.ts +2 -1
- package/lib/resources/order_subscriptions.js +154 -7
- package/lib/resources/order_validation_rules.cjs +33 -13
- package/lib/resources/order_validation_rules.d.cts +2 -4
- package/lib/resources/order_validation_rules.d.ts +2 -1
- package/lib/resources/order_validation_rules.js +34 -7
- package/lib/resources/orders.cjs +496 -13
- package/lib/resources/orders.d.cts +2 -4
- package/lib/resources/orders.d.ts +2 -1
- package/lib/resources/orders.js +497 -7
- package/lib/resources/organizations.cjs +27 -13
- package/lib/resources/organizations.d.cts +2 -4
- package/lib/resources/organizations.d.ts +2 -1
- package/lib/resources/organizations.js +28 -7
- package/lib/resources/packages.cjs +54 -13
- package/lib/resources/packages.d.cts +2 -4
- package/lib/resources/packages.d.ts +2 -1
- package/lib/resources/packages.js +55 -7
- package/lib/resources/parcel_line_items.cjs +57 -13
- package/lib/resources/parcel_line_items.d.cts +2 -4
- package/lib/resources/parcel_line_items.d.ts +2 -1
- package/lib/resources/parcel_line_items.js +58 -7
- package/lib/resources/parcels.cjs +62 -13
- package/lib/resources/parcels.d.cts +2 -4
- package/lib/resources/parcels.d.ts +2 -1
- package/lib/resources/parcels.js +63 -7
- package/lib/resources/payment_authorizations.cjs +74 -13
- package/lib/resources/payment_authorizations.d.cts +2 -4
- package/lib/resources/payment_authorizations.d.ts +2 -1
- package/lib/resources/payment_authorizations.js +75 -7
- package/lib/resources/payment_captures.cjs +67 -13
- package/lib/resources/payment_captures.d.cts +2 -4
- package/lib/resources/payment_captures.d.ts +2 -1
- package/lib/resources/payment_captures.js +68 -7
- package/lib/resources/payment_gateways.cjs +40 -13
- package/lib/resources/payment_gateways.d.cts +2 -4
- package/lib/resources/payment_gateways.d.ts +2 -1
- package/lib/resources/payment_gateways.js +41 -7
- package/lib/resources/payment_links.cjs +81 -13
- package/lib/resources/payment_links.d.cts +2 -4
- package/lib/resources/payment_links.d.ts +2 -1
- package/lib/resources/payment_links.js +82 -7
- package/lib/resources/payment_methods.cjs +73 -13
- package/lib/resources/payment_methods.d.cts +2 -4
- package/lib/resources/payment_methods.d.ts +2 -1
- package/lib/resources/payment_methods.js +74 -7
- package/lib/resources/payment_options.cjs +51 -13
- package/lib/resources/payment_options.d.cts +2 -4
- package/lib/resources/payment_options.d.ts +2 -1
- package/lib/resources/payment_options.js +52 -7
- package/lib/resources/payment_refunds.cjs +67 -13
- package/lib/resources/payment_refunds.d.cts +2 -4
- package/lib/resources/payment_refunds.d.ts +2 -1
- package/lib/resources/payment_refunds.js +68 -7
- package/lib/resources/payment_rules.cjs +57 -13
- package/lib/resources/payment_rules.d.cts +2 -4
- package/lib/resources/payment_rules.d.ts +2 -1
- package/lib/resources/payment_rules.js +58 -7
- package/lib/resources/payment_sessions.cjs +93 -13
- package/lib/resources/payment_sessions.d.cts +2 -4
- package/lib/resources/payment_sessions.d.ts +2 -1
- package/lib/resources/payment_sessions.js +94 -7
- package/lib/resources/payment_setting_adyens.cjs +95 -13
- package/lib/resources/payment_setting_adyens.d.cts +2 -4
- package/lib/resources/payment_setting_adyens.d.ts +2 -1
- package/lib/resources/payment_setting_adyens.js +96 -7
- package/lib/resources/payment_setting_braintrees.cjs +88 -13
- package/lib/resources/payment_setting_braintrees.d.cts +2 -4
- package/lib/resources/payment_setting_braintrees.d.ts +2 -1
- package/lib/resources/payment_setting_braintrees.js +89 -7
- package/lib/resources/payment_setting_checkout_coms.cjs +95 -13
- package/lib/resources/payment_setting_checkout_coms.d.cts +2 -4
- package/lib/resources/payment_setting_checkout_coms.d.ts +2 -1
- package/lib/resources/payment_setting_checkout_coms.js +96 -7
- package/lib/resources/payment_setting_externals.cjs +95 -13
- package/lib/resources/payment_setting_externals.d.cts +2 -4
- package/lib/resources/payment_setting_externals.d.ts +2 -1
- package/lib/resources/payment_setting_externals.js +96 -7
- package/lib/resources/payment_setting_gift_cards.cjs +81 -13
- package/lib/resources/payment_setting_gift_cards.d.cts +2 -4
- package/lib/resources/payment_setting_gift_cards.d.ts +2 -1
- package/lib/resources/payment_setting_gift_cards.js +82 -7
- package/lib/resources/payment_setting_manuals.cjs +81 -13
- package/lib/resources/payment_setting_manuals.d.cts +2 -4
- package/lib/resources/payment_setting_manuals.d.ts +2 -1
- package/lib/resources/payment_setting_manuals.js +82 -7
- package/lib/resources/payment_setting_paypals.cjs +95 -13
- package/lib/resources/payment_setting_paypals.d.cts +2 -4
- package/lib/resources/payment_setting_paypals.d.ts +2 -1
- package/lib/resources/payment_setting_paypals.js +96 -7
- package/lib/resources/payment_setting_stripes.cjs +95 -13
- package/lib/resources/payment_setting_stripes.d.cts +2 -4
- package/lib/resources/payment_setting_stripes.d.ts +2 -1
- package/lib/resources/payment_setting_stripes.js +96 -7
- package/lib/resources/payment_settings.cjs +58 -13
- package/lib/resources/payment_settings.d.cts +2 -4
- package/lib/resources/payment_settings.d.ts +2 -1
- package/lib/resources/payment_settings.js +59 -7
- package/lib/resources/payment_transactions.cjs +46 -13
- package/lib/resources/payment_transactions.d.cts +2 -4
- package/lib/resources/payment_transactions.d.ts +2 -1
- package/lib/resources/payment_transactions.js +47 -7
- package/lib/resources/payment_voids.cjs +63 -13
- package/lib/resources/payment_voids.d.cts +2 -4
- package/lib/resources/payment_voids.d.ts +2 -1
- package/lib/resources/payment_voids.js +64 -7
- package/lib/resources/payment_wallets.cjs +81 -13
- package/lib/resources/payment_wallets.d.cts +2 -4
- package/lib/resources/payment_wallets.d.ts +2 -1
- package/lib/resources/payment_wallets.js +82 -7
- package/lib/resources/paypal_gateways.cjs +72 -13
- package/lib/resources/paypal_gateways.d.cts +2 -4
- package/lib/resources/paypal_gateways.d.ts +2 -1
- package/lib/resources/paypal_gateways.js +73 -7
- package/lib/resources/paypal_payments.cjs +58 -13
- package/lib/resources/paypal_payments.d.cts +2 -4
- package/lib/resources/paypal_payments.d.ts +2 -1
- package/lib/resources/paypal_payments.js +59 -7
- package/lib/resources/percentage_discount_promotions.cjs +114 -13
- package/lib/resources/percentage_discount_promotions.d.cts +2 -4
- package/lib/resources/percentage_discount_promotions.d.ts +2 -1
- package/lib/resources/percentage_discount_promotions.js +115 -7
- package/lib/resources/pickups.cjs +36 -13
- package/lib/resources/pickups.d.cts +2 -4
- package/lib/resources/pickups.d.ts +2 -1
- package/lib/resources/pickups.js +37 -7
- package/lib/resources/price_frequency_tiers.cjs +54 -13
- package/lib/resources/price_frequency_tiers.d.cts +2 -4
- package/lib/resources/price_frequency_tiers.d.ts +2 -1
- package/lib/resources/price_frequency_tiers.js +55 -7
- package/lib/resources/price_list_schedulers.cjs +68 -13
- package/lib/resources/price_list_schedulers.d.cts +2 -4
- package/lib/resources/price_list_schedulers.d.ts +2 -1
- package/lib/resources/price_list_schedulers.js +69 -7
- package/lib/resources/price_lists.cjs +54 -13
- package/lib/resources/price_lists.d.cts +2 -4
- package/lib/resources/price_lists.d.ts +2 -1
- package/lib/resources/price_lists.js +55 -7
- package/lib/resources/price_tiers.cjs +32 -13
- package/lib/resources/price_tiers.d.cts +2 -4
- package/lib/resources/price_tiers.d.ts +2 -1
- package/lib/resources/price_tiers.js +33 -7
- package/lib/resources/price_volume_tiers.cjs +54 -13
- package/lib/resources/price_volume_tiers.d.cts +2 -4
- package/lib/resources/price_volume_tiers.d.ts +2 -1
- package/lib/resources/price_volume_tiers.js +55 -7
- package/lib/resources/prices.cjs +78 -13
- package/lib/resources/prices.d.cts +2 -4
- package/lib/resources/prices.d.ts +2 -1
- package/lib/resources/prices.js +79 -7
- package/lib/resources/promotion_rules.cjs +29 -13
- package/lib/resources/promotion_rules.d.cts +2 -4
- package/lib/resources/promotion_rules.d.ts +2 -1
- package/lib/resources/promotion_rules.js +30 -7
- package/lib/resources/promotions.cjs +73 -13
- package/lib/resources/promotions.d.cts +2 -4
- package/lib/resources/promotions.d.ts +2 -1
- package/lib/resources/promotions.js +74 -7
- package/lib/resources/recurring_order_copies.cjs +58 -13
- package/lib/resources/recurring_order_copies.d.cts +2 -4
- package/lib/resources/recurring_order_copies.d.ts +2 -1
- package/lib/resources/recurring_order_copies.js +59 -7
- package/lib/resources/refunds.cjs +58 -13
- package/lib/resources/refunds.d.cts +2 -4
- package/lib/resources/refunds.d.ts +2 -1
- package/lib/resources/refunds.js +59 -7
- package/lib/resources/reserved_stocks.cjs +36 -13
- package/lib/resources/reserved_stocks.d.cts +2 -4
- package/lib/resources/reserved_stocks.d.ts +2 -1
- package/lib/resources/reserved_stocks.js +37 -7
- package/lib/resources/resource_errors.cjs +24 -13
- package/lib/resources/resource_errors.d.cts +2 -4
- package/lib/resources/resource_errors.d.ts +2 -1
- package/lib/resources/resource_errors.js +25 -7
- package/lib/resources/return_line_items.cjs +57 -13
- package/lib/resources/return_line_items.d.cts +2 -4
- package/lib/resources/return_line_items.d.ts +2 -1
- package/lib/resources/return_line_items.js +58 -7
- package/lib/resources/returns.cjs +194 -13
- package/lib/resources/returns.d.cts +2 -4
- package/lib/resources/returns.d.ts +2 -1
- package/lib/resources/returns.js +195 -7
- package/lib/resources/satispay_gateways.cjs +65 -13
- package/lib/resources/satispay_gateways.d.cts +2 -4
- package/lib/resources/satispay_gateways.d.ts +2 -1
- package/lib/resources/satispay_gateways.js +66 -7
- package/lib/resources/satispay_payments.cjs +58 -13
- package/lib/resources/satispay_payments.d.cts +2 -4
- package/lib/resources/satispay_payments.d.ts +2 -1
- package/lib/resources/satispay_payments.js +59 -7
- package/lib/resources/shipment_line_items.cjs +45 -13
- package/lib/resources/shipment_line_items.d.cts +2 -4
- package/lib/resources/shipment_line_items.d.ts +2 -1
- package/lib/resources/shipment_line_items.js +46 -7
- package/lib/resources/shipments.cjs +226 -13
- package/lib/resources/shipments.d.cts +2 -4
- package/lib/resources/shipments.d.ts +2 -1
- package/lib/resources/shipments.js +227 -7
- package/lib/resources/shipping_categories.cjs +50 -13
- package/lib/resources/shipping_categories.d.cts +2 -4
- package/lib/resources/shipping_categories.d.ts +2 -1
- package/lib/resources/shipping_categories.js +51 -7
- package/lib/resources/shipping_method_tiers.cjs +32 -13
- package/lib/resources/shipping_method_tiers.d.cts +2 -4
- package/lib/resources/shipping_method_tiers.d.ts +2 -1
- package/lib/resources/shipping_method_tiers.js +33 -7
- package/lib/resources/shipping_methods.cjs +128 -13
- package/lib/resources/shipping_methods.d.cts +2 -4
- package/lib/resources/shipping_methods.d.ts +2 -1
- package/lib/resources/shipping_methods.js +129 -7
- package/lib/resources/shipping_weight_tiers.cjs +54 -13
- package/lib/resources/shipping_weight_tiers.d.cts +2 -4
- package/lib/resources/shipping_weight_tiers.d.ts +2 -1
- package/lib/resources/shipping_weight_tiers.js +55 -7
- package/lib/resources/shipping_zones.cjs +46 -13
- package/lib/resources/shipping_zones.d.cts +2 -4
- package/lib/resources/shipping_zones.d.ts +2 -1
- package/lib/resources/shipping_zones.js +47 -7
- package/lib/resources/sku_list_items.cjs +50 -13
- package/lib/resources/sku_list_items.d.cts +2 -4
- package/lib/resources/sku_list_items.d.ts +2 -1
- package/lib/resources/sku_list_items.js +51 -7
- package/lib/resources/sku_list_promotion_rules.cjs +50 -13
- package/lib/resources/sku_list_promotion_rules.d.cts +2 -4
- package/lib/resources/sku_list_promotion_rules.d.ts +2 -1
- package/lib/resources/sku_list_promotion_rules.js +51 -7
- package/lib/resources/sku_lists.cjs +66 -13
- package/lib/resources/sku_lists.d.cts +2 -4
- package/lib/resources/sku_lists.d.ts +2 -1
- package/lib/resources/sku_lists.js +67 -7
- package/lib/resources/sku_options.cjs +72 -13
- package/lib/resources/sku_options.d.cts +2 -4
- package/lib/resources/sku_options.d.ts +2 -1
- package/lib/resources/sku_options.js +73 -7
- package/lib/resources/skus.cjs +116 -13
- package/lib/resources/skus.d.cts +2 -4
- package/lib/resources/skus.d.ts +2 -1
- package/lib/resources/skus.js +117 -7
- package/lib/resources/stock_items.cjs +69 -13
- package/lib/resources/stock_items.d.cts +2 -4
- package/lib/resources/stock_items.d.ts +2 -1
- package/lib/resources/stock_items.js +70 -7
- package/lib/resources/stock_line_items.cjs +83 -13
- package/lib/resources/stock_line_items.d.cts +2 -4
- package/lib/resources/stock_line_items.d.ts +2 -1
- package/lib/resources/stock_line_items.js +84 -7
- package/lib/resources/stock_locations.cjs +70 -13
- package/lib/resources/stock_locations.d.cts +2 -4
- package/lib/resources/stock_locations.d.ts +2 -1
- package/lib/resources/stock_locations.js +71 -7
- package/lib/resources/stock_reservations.cjs +77 -13
- package/lib/resources/stock_reservations.d.cts +2 -4
- package/lib/resources/stock_reservations.d.ts +2 -1
- package/lib/resources/stock_reservations.js +78 -7
- package/lib/resources/stock_transfers.cjs +116 -13
- package/lib/resources/stock_transfers.d.cts +2 -4
- package/lib/resources/stock_transfers.d.ts +2 -1
- package/lib/resources/stock_transfers.js +117 -7
- package/lib/resources/stores.cjs +69 -13
- package/lib/resources/stores.d.cts +2 -4
- package/lib/resources/stores.d.ts +2 -1
- package/lib/resources/stores.js +70 -7
- package/lib/resources/stripe_gateways.cjs +86 -13
- package/lib/resources/stripe_gateways.d.cts +2 -4
- package/lib/resources/stripe_gateways.d.ts +2 -1
- package/lib/resources/stripe_gateways.js +87 -7
- package/lib/resources/stripe_payments.cjs +65 -13
- package/lib/resources/stripe_payments.d.cts +2 -4
- package/lib/resources/stripe_payments.d.ts +2 -1
- package/lib/resources/stripe_payments.js +66 -7
- package/lib/resources/stripe_tax_accounts.cjs +58 -13
- package/lib/resources/stripe_tax_accounts.d.cts +2 -4
- package/lib/resources/stripe_tax_accounts.d.ts +2 -1
- package/lib/resources/stripe_tax_accounts.js +59 -7
- package/lib/resources/subscription_models.cjs +54 -13
- package/lib/resources/subscription_models.d.cts +2 -4
- package/lib/resources/subscription_models.d.ts +2 -1
- package/lib/resources/subscription_models.js +55 -7
- package/lib/resources/tags.cjs +42 -13
- package/lib/resources/tags.d.cts +2 -4
- package/lib/resources/tags.d.ts +2 -1
- package/lib/resources/tags.js +43 -7
- package/lib/resources/talon_one_accounts.cjs +54 -13
- package/lib/resources/talon_one_accounts.d.cts +2 -4
- package/lib/resources/talon_one_accounts.d.ts +2 -1
- package/lib/resources/talon_one_accounts.js +55 -7
- package/lib/resources/tax_calculators.cjs +43 -13
- package/lib/resources/tax_calculators.d.cts +2 -4
- package/lib/resources/tax_calculators.d.ts +2 -1
- package/lib/resources/tax_calculators.js +44 -7
- package/lib/resources/tax_categories.cjs +50 -13
- package/lib/resources/tax_categories.d.cts +2 -4
- package/lib/resources/tax_categories.d.ts +2 -1
- package/lib/resources/tax_categories.js +51 -7
- package/lib/resources/tax_rules.cjs +46 -13
- package/lib/resources/tax_rules.d.cts +2 -4
- package/lib/resources/tax_rules.d.ts +2 -1
- package/lib/resources/tax_rules.js +47 -7
- package/lib/resources/taxjar_accounts.cjs +58 -13
- package/lib/resources/taxjar_accounts.d.cts +2 -4
- package/lib/resources/taxjar_accounts.d.ts +2 -1
- package/lib/resources/taxjar_accounts.js +59 -7
- package/lib/resources/transactions.cjs +42 -13
- package/lib/resources/transactions.d.cts +2 -4
- package/lib/resources/transactions.d.ts +2 -1
- package/lib/resources/transactions.js +43 -7
- package/lib/resources/vertex_accounts.cjs +61 -13
- package/lib/resources/vertex_accounts.d.cts +2 -4
- package/lib/resources/vertex_accounts.d.ts +2 -1
- package/lib/resources/vertex_accounts.js +62 -7
- package/lib/resources/voids.cjs +54 -13
- package/lib/resources/voids.d.cts +2 -4
- package/lib/resources/voids.d.ts +2 -1
- package/lib/resources/voids.js +55 -7
- package/lib/resources/webhooks.cjs +74 -13
- package/lib/resources/webhooks.d.cts +2 -4
- package/lib/resources/webhooks.d.ts +2 -1
- package/lib/resources/webhooks.js +75 -7
- package/lib/resources/wire_transfers.cjs +47 -13
- package/lib/resources/wire_transfers.d.cts +2 -4
- package/lib/resources/wire_transfers.d.ts +2 -1
- package/lib/resources/wire_transfers.js +48 -7
- package/lib/single-client.cjs +321 -796
- package/lib/single-client.d.cts +6 -11
- package/lib/single-client.d.ts +6 -9
- package/lib/single-client.js +163 -165
- package/lib/static.cjs +41 -15
- package/lib/static.d.cts +15 -18
- package/lib/static.d.ts +15 -18
- package/lib/static.js +42 -8
- package/lib/version-7Bd9DFJm.d.cts +11 -0
- package/lib/version-7Bd9DFJm.d.ts +11 -0
- package/lib/version-D-6-8S5e.js +9 -0
- package/lib/version-wfjQaNTG.cjs +26 -0
- package/lib/version.cjs +5 -19
- package/lib/version.d.cts +2 -12
- package/lib/version.d.ts +2 -12
- package/lib/version.js +3 -3
- package/package.json +16 -13
- package/lib/api-oWE8X33X.d.cts +0 -23482
- package/lib/api-oWE8X33X.d.ts +0 -23482
- package/lib/api.cjs.map +0 -1
- package/lib/api.js.map +0 -1
- package/lib/binding.cjs.map +0 -1
- package/lib/binding.js.map +0 -1
- package/lib/bundle-compat.cjs.map +0 -1
- package/lib/bundle-compat.js.map +0 -1
- package/lib/bundle.cjs.map +0 -1
- package/lib/bundle.js.map +0 -1
- package/lib/chunk-22WTZEKY.js +0 -36
- package/lib/chunk-22WTZEKY.js.map +0 -1
- package/lib/chunk-24BRSXPS.js +0 -77
- package/lib/chunk-24BRSXPS.js.map +0 -1
- package/lib/chunk-25NYS3PJ.js +0 -89
- package/lib/chunk-25NYS3PJ.js.map +0 -1
- package/lib/chunk-26Y2B66M.cjs +0 -261
- package/lib/chunk-26Y2B66M.cjs.map +0 -1
- package/lib/chunk-2BHOT4PE.js +0 -77
- package/lib/chunk-2BHOT4PE.js.map +0 -1
- package/lib/chunk-2CKCINRG.js +0 -92
- package/lib/chunk-2CKCINRG.js.map +0 -1
- package/lib/chunk-2E6ZWEXB.cjs +0 -105
- package/lib/chunk-2E6ZWEXB.cjs.map +0 -1
- package/lib/chunk-2KMYXXEM.cjs +0 -44
- package/lib/chunk-2KMYXXEM.cjs.map +0 -1
- package/lib/chunk-2NFTZQSU.js +0 -42
- package/lib/chunk-2NFTZQSU.js.map +0 -1
- package/lib/chunk-2WQORYBI.cjs +0 -843
- package/lib/chunk-2WQORYBI.cjs.map +0 -1
- package/lib/chunk-2ZQ4ZLAF.cjs +0 -122
- package/lib/chunk-2ZQ4ZLAF.cjs.map +0 -1
- package/lib/chunk-36TWQ3MP.js +0 -51
- package/lib/chunk-36TWQ3MP.js.map +0 -1
- package/lib/chunk-37OLTOSK.cjs +0 -79
- package/lib/chunk-37OLTOSK.cjs.map +0 -1
- package/lib/chunk-3DPPEWZY.js +0 -94
- package/lib/chunk-3DPPEWZY.js.map +0 -1
- package/lib/chunk-3FMTM4RI.cjs +0 -120
- package/lib/chunk-3FMTM4RI.cjs.map +0 -1
- package/lib/chunk-3FQNYTDD.js +0 -79
- package/lib/chunk-3FQNYTDD.js.map +0 -1
- package/lib/chunk-3HM544FT.cjs +0 -134
- package/lib/chunk-3HM544FT.cjs.map +0 -1
- package/lib/chunk-3HMMZD2J.cjs +0 -70
- package/lib/chunk-3HMMZD2J.cjs.map +0 -1
- package/lib/chunk-3IIZST2R.cjs +0 -19
- package/lib/chunk-3IIZST2R.cjs.map +0 -1
- package/lib/chunk-3JYKY2IT.cjs +0 -98
- package/lib/chunk-3JYKY2IT.cjs.map +0 -1
- package/lib/chunk-3OYVKANP.js +0 -96
- package/lib/chunk-3OYVKANP.js.map +0 -1
- package/lib/chunk-3QVXUVE4.js +0 -50
- package/lib/chunk-3QVXUVE4.js.map +0 -1
- package/lib/chunk-3UNL4UIL.cjs +0 -179
- package/lib/chunk-3UNL4UIL.cjs.map +0 -1
- package/lib/chunk-3YUCLSNM.cjs +0 -91
- package/lib/chunk-3YUCLSNM.cjs.map +0 -1
- package/lib/chunk-42U7VMA4.cjs +0 -106
- package/lib/chunk-42U7VMA4.cjs.map +0 -1
- package/lib/chunk-44RSNAGD.cjs +0 -122
- package/lib/chunk-44RSNAGD.cjs.map +0 -1
- package/lib/chunk-45NH73QN.cjs +0 -66
- package/lib/chunk-45NH73QN.cjs.map +0 -1
- package/lib/chunk-45YMQCVM.js +0 -68
- package/lib/chunk-45YMQCVM.js.map +0 -1
- package/lib/chunk-4HBSO74M.js +0 -59
- package/lib/chunk-4HBSO74M.js.map +0 -1
- package/lib/chunk-4IEFFFIL.cjs +0 -79
- package/lib/chunk-4IEFFFIL.cjs.map +0 -1
- package/lib/chunk-4KXCXRS2.js +0 -132
- package/lib/chunk-4KXCXRS2.js.map +0 -1
- package/lib/chunk-4P4JRYIZ.cjs +0 -126
- package/lib/chunk-4P4JRYIZ.cjs.map +0 -1
- package/lib/chunk-4ZO45PK3.js +0 -3
- package/lib/chunk-4ZO45PK3.js.map +0 -1
- package/lib/chunk-56HSJRSD.js +0 -86
- package/lib/chunk-56HSJRSD.js.map +0 -1
- package/lib/chunk-57QTWJRF.js +0 -191
- package/lib/chunk-57QTWJRF.js.map +0 -1
- package/lib/chunk-5BHB5FW6.cjs +0 -81
- package/lib/chunk-5BHB5FW6.cjs.map +0 -1
- package/lib/chunk-5BNC5NQJ.cjs +0 -52
- package/lib/chunk-5BNC5NQJ.cjs.map +0 -1
- package/lib/chunk-5BQMCV4T.js +0 -50
- package/lib/chunk-5BQMCV4T.js.map +0 -1
- package/lib/chunk-5EPLBDUN.cjs +0 -91
- package/lib/chunk-5EPLBDUN.cjs.map +0 -1
- package/lib/chunk-5JUBE6TF.cjs +0 -200
- package/lib/chunk-5JUBE6TF.cjs.map +0 -1
- package/lib/chunk-5U34MNKZ.js +0 -226
- package/lib/chunk-5U34MNKZ.js.map +0 -1
- package/lib/chunk-5U36XDUW.cjs +0 -44
- package/lib/chunk-5U36XDUW.cjs.map +0 -1
- package/lib/chunk-5UQ6DAC2.js +0 -118
- package/lib/chunk-5UQ6DAC2.js.map +0 -1
- package/lib/chunk-5YV67PRF.js +0 -68
- package/lib/chunk-5YV67PRF.js.map +0 -1
- package/lib/chunk-65TD34O5.cjs +0 -117
- package/lib/chunk-65TD34O5.cjs.map +0 -1
- package/lib/chunk-66MS6UXW.js +0 -69
- package/lib/chunk-66MS6UXW.js.map +0 -1
- package/lib/chunk-67WXB4SV.js +0 -80
- package/lib/chunk-67WXB4SV.js.map +0 -1
- package/lib/chunk-6GTZODQZ.js +0 -69
- package/lib/chunk-6GTZODQZ.js.map +0 -1
- package/lib/chunk-6HBNIK3D.cjs +0 -90
- package/lib/chunk-6HBNIK3D.cjs.map +0 -1
- package/lib/chunk-6LR2MPQR.cjs +0 -179
- package/lib/chunk-6LR2MPQR.cjs.map +0 -1
- package/lib/chunk-6NE3DKE7.cjs +0 -63
- package/lib/chunk-6NE3DKE7.cjs.map +0 -1
- package/lib/chunk-6PCLGJDC.cjs +0 -193
- package/lib/chunk-6PCLGJDC.cjs.map +0 -1
- package/lib/chunk-6SI7KAK3.cjs +0 -120
- package/lib/chunk-6SI7KAK3.cjs.map +0 -1
- package/lib/chunk-6XME7EQ4.cjs +0 -79
- package/lib/chunk-6XME7EQ4.cjs.map +0 -1
- package/lib/chunk-734XZ2KS.js +0 -87
- package/lib/chunk-734XZ2KS.js.map +0 -1
- package/lib/chunk-742UF23S.cjs +0 -86
- package/lib/chunk-742UF23S.cjs.map +0 -1
- package/lib/chunk-74AVMYXI.cjs +0 -61
- package/lib/chunk-74AVMYXI.cjs.map +0 -1
- package/lib/chunk-7EG2QN5N.js +0 -60
- package/lib/chunk-7EG2QN5N.js.map +0 -1
- package/lib/chunk-7GRZNDQL.cjs +0 -77
- package/lib/chunk-7GRZNDQL.cjs.map +0 -1
- package/lib/chunk-7JZOWQ6K.cjs +0 -62
- package/lib/chunk-7JZOWQ6K.cjs.map +0 -1
- package/lib/chunk-7LHMQPFO.cjs +0 -193
- package/lib/chunk-7LHMQPFO.cjs.map +0 -1
- package/lib/chunk-7MKIV7NA.js +0 -77
- package/lib/chunk-7MKIV7NA.js.map +0 -1
- package/lib/chunk-7QDU56S3.cjs +0 -323
- package/lib/chunk-7QDU56S3.cjs.map +0 -1
- package/lib/chunk-7QT42UJQ.cjs +0 -228
- package/lib/chunk-7QT42UJQ.cjs.map +0 -1
- package/lib/chunk-7XJMKVVA.cjs +0 -193
- package/lib/chunk-7XJMKVVA.cjs.map +0 -1
- package/lib/chunk-AE3Q7LHC.cjs +0 -62
- package/lib/chunk-AE3Q7LHC.cjs.map +0 -1
- package/lib/chunk-AEEWE5BS.cjs +0 -622
- package/lib/chunk-AEEWE5BS.cjs.map +0 -1
- package/lib/chunk-AKEMAQJ6.js +0 -96
- package/lib/chunk-AKEMAQJ6.js.map +0 -1
- package/lib/chunk-AMFEBGRE.cjs +0 -93
- package/lib/chunk-AMFEBGRE.cjs.map +0 -1
- package/lib/chunk-AO42HFJW.cjs +0 -70
- package/lib/chunk-AO42HFJW.cjs.map +0 -1
- package/lib/chunk-AS6RCNEN.cjs +0 -60
- package/lib/chunk-AS6RCNEN.cjs.map +0 -1
- package/lib/chunk-ASAYW3YW.cjs +0 -4
- package/lib/chunk-ASAYW3YW.cjs.map +0 -1
- package/lib/chunk-AZ3NP2GE.js +0 -24
- package/lib/chunk-AZ3NP2GE.js.map +0 -1
- package/lib/chunk-B5KLSIZ7.js +0 -799
- package/lib/chunk-B5KLSIZ7.js.map +0 -1
- package/lib/chunk-B6DTTD34.cjs +0 -88
- package/lib/chunk-B6DTTD34.cjs.map +0 -1
- package/lib/chunk-B7EE6XWM.js +0 -82
- package/lib/chunk-B7EE6XWM.js.map +0 -1
- package/lib/chunk-BGJ3OMEB.js +0 -77
- package/lib/chunk-BGJ3OMEB.js.map +0 -1
- package/lib/chunk-BGPJOVUL.js +0 -68
- package/lib/chunk-BGPJOVUL.js.map +0 -1
- package/lib/chunk-BOY72KYY.cjs +0 -53
- package/lib/chunk-BOY72KYY.cjs.map +0 -1
- package/lib/chunk-BXLXNIK7.cjs +0 -120
- package/lib/chunk-BXLXNIK7.cjs.map +0 -1
- package/lib/chunk-BYJGXXSB.js +0 -68
- package/lib/chunk-BYJGXXSB.js.map +0 -1
- package/lib/chunk-C3KZVNVL.cjs +0 -711
- package/lib/chunk-C3KZVNVL.cjs.map +0 -1
- package/lib/chunk-C5RND4FF.js +0 -60
- package/lib/chunk-C5RND4FF.js.map +0 -1
- package/lib/chunk-C5UUHYYN.cjs +0 -77
- package/lib/chunk-C5UUHYYN.cjs.map +0 -1
- package/lib/chunk-CIPF3ZBB.js +0 -73
- package/lib/chunk-CIPF3ZBB.js.map +0 -1
- package/lib/chunk-CMUOOFHL.cjs +0 -94
- package/lib/chunk-CMUOOFHL.cjs.map +0 -1
- package/lib/chunk-CO4UV2ZJ.cjs +0 -79
- package/lib/chunk-CO4UV2ZJ.cjs.map +0 -1
- package/lib/chunk-CQBIBKUO.cjs +0 -70
- package/lib/chunk-CQBIBKUO.cjs.map +0 -1
- package/lib/chunk-CQIUA5UK.cjs +0 -70
- package/lib/chunk-CQIUA5UK.cjs.map +0 -1
- package/lib/chunk-CRHXGO5R.js +0 -79
- package/lib/chunk-CRHXGO5R.js.map +0 -1
- package/lib/chunk-D5B6UZOV.js +0 -78
- package/lib/chunk-D5B6UZOV.js.map +0 -1
- package/lib/chunk-D63KNYYX.js +0 -60
- package/lib/chunk-D63KNYYX.js.map +0 -1
- package/lib/chunk-D7CYZWAS.js +0 -75
- package/lib/chunk-D7CYZWAS.js.map +0 -1
- package/lib/chunk-DA6WN75S.js +0 -86
- package/lib/chunk-DA6WN75S.js.map +0 -1
- package/lib/chunk-DH4KLILM.cjs +0 -84
- package/lib/chunk-DH4KLILM.cjs.map +0 -1
- package/lib/chunk-DLOIEKEU.js +0 -125
- package/lib/chunk-DLOIEKEU.js.map +0 -1
- package/lib/chunk-DMTEG4NK.cjs +0 -191
- package/lib/chunk-DMTEG4NK.cjs.map +0 -1
- package/lib/chunk-DN3T4YMM.cjs +0 -84
- package/lib/chunk-DN3T4YMM.cjs.map +0 -1
- package/lib/chunk-DQ5MRGAQ.cjs +0 -82
- package/lib/chunk-DQ5MRGAQ.cjs.map +0 -1
- package/lib/chunk-DSGHTJNP.cjs +0 -134
- package/lib/chunk-DSGHTJNP.cjs.map +0 -1
- package/lib/chunk-DUXG4S5U.js +0 -103
- package/lib/chunk-DUXG4S5U.js.map +0 -1
- package/lib/chunk-DXPFEFLQ.js +0 -111
- package/lib/chunk-DXPFEFLQ.js.map +0 -1
- package/lib/chunk-E4GXAHJ4.js +0 -100
- package/lib/chunk-E4GXAHJ4.js.map +0 -1
- package/lib/chunk-EBRAV7UF.js +0 -177
- package/lib/chunk-EBRAV7UF.js.map +0 -1
- package/lib/chunk-EC2O3QY7.js +0 -86
- package/lib/chunk-EC2O3QY7.js.map +0 -1
- package/lib/chunk-EDEWZHXF.js +0 -118
- package/lib/chunk-EDEWZHXF.js.map +0 -1
- package/lib/chunk-EDZ3QFNA.js +0 -132
- package/lib/chunk-EDZ3QFNA.js.map +0 -1
- package/lib/chunk-EENDZN6M.cjs +0 -81
- package/lib/chunk-EENDZN6M.cjs.map +0 -1
- package/lib/chunk-EFYMVJJ3.cjs +0 -84
- package/lib/chunk-EFYMVJJ3.cjs.map +0 -1
- package/lib/chunk-EHIU625T.js +0 -68
- package/lib/chunk-EHIU625T.js.map +0 -1
- package/lib/chunk-EIWEVKSY.cjs +0 -127
- package/lib/chunk-EIWEVKSY.cjs.map +0 -1
- package/lib/chunk-EJVTH5M2.js +0 -124
- package/lib/chunk-EJVTH5M2.js.map +0 -1
- package/lib/chunk-EMKPX4RW.cjs +0 -134
- package/lib/chunk-EMKPX4RW.cjs.map +0 -1
- package/lib/chunk-EOBX5SFW.js +0 -60
- package/lib/chunk-EOBX5SFW.js.map +0 -1
- package/lib/chunk-EUR7JBLB.cjs +0 -77
- package/lib/chunk-EUR7JBLB.cjs.map +0 -1
- package/lib/chunk-EVK4AISA.js +0 -42
- package/lib/chunk-EVK4AISA.js.map +0 -1
- package/lib/chunk-EXCTCSHJ.cjs +0 -131
- package/lib/chunk-EXCTCSHJ.cjs.map +0 -1
- package/lib/chunk-F4IK677G.cjs +0 -70
- package/lib/chunk-F4IK677G.cjs.map +0 -1
- package/lib/chunk-F74A5VIA.cjs +0 -105
- package/lib/chunk-F74A5VIA.cjs.map +0 -1
- package/lib/chunk-FACLFLVZ.js +0 -77
- package/lib/chunk-FACLFLVZ.js.map +0 -1
- package/lib/chunk-FCICHXMF.js +0 -88
- package/lib/chunk-FCICHXMF.js.map +0 -1
- package/lib/chunk-FDN6KKPD.cjs +0 -84
- package/lib/chunk-FDN6KKPD.cjs.map +0 -1
- package/lib/chunk-FF3FDGGY.cjs +0 -70
- package/lib/chunk-FF3FDGGY.cjs.map +0 -1
- package/lib/chunk-FLHAE3VK.cjs +0 -55
- package/lib/chunk-FLHAE3VK.cjs.map +0 -1
- package/lib/chunk-FLZOPTO7.js +0 -51
- package/lib/chunk-FLZOPTO7.js.map +0 -1
- package/lib/chunk-FQ4QWFCL.cjs +0 -94
- package/lib/chunk-FQ4QWFCL.cjs.map +0 -1
- package/lib/chunk-FTDKLX5V.cjs +0 -40
- package/lib/chunk-FTDKLX5V.cjs.map +0 -1
- package/lib/chunk-FXLKGBOS.cjs +0 -802
- package/lib/chunk-FXLKGBOS.cjs.map +0 -1
- package/lib/chunk-FYHCMZGM.cjs +0 -60
- package/lib/chunk-FYHCMZGM.cjs.map +0 -1
- package/lib/chunk-G24B3JF4.js +0 -77
- package/lib/chunk-G24B3JF4.js.map +0 -1
- package/lib/chunk-GDW5AYT7.js +0 -84
- package/lib/chunk-GDW5AYT7.js.map +0 -1
- package/lib/chunk-GFZW3JG6.cjs +0 -70
- package/lib/chunk-GFZW3JG6.cjs.map +0 -1
- package/lib/chunk-GIP7DQ7N.cjs +0 -115
- package/lib/chunk-GIP7DQ7N.cjs.map +0 -1
- package/lib/chunk-GOYTSKMO.js +0 -835
- package/lib/chunk-GOYTSKMO.js.map +0 -1
- package/lib/chunk-GR6GU63H.cjs +0 -102
- package/lib/chunk-GR6GU63H.cjs.map +0 -1
- package/lib/chunk-GSH3LUQ6.cjs +0 -80
- package/lib/chunk-GSH3LUQ6.cjs.map +0 -1
- package/lib/chunk-GXZ7CPJZ.cjs +0 -79
- package/lib/chunk-GXZ7CPJZ.cjs.map +0 -1
- package/lib/chunk-H47WULTZ.js +0 -81
- package/lib/chunk-H47WULTZ.js.map +0 -1
- package/lib/chunk-H66ZWYXA.cjs +0 -93
- package/lib/chunk-H66ZWYXA.cjs.map +0 -1
- package/lib/chunk-HAZYVB4F.js +0 -99
- package/lib/chunk-HAZYVB4F.js.map +0 -1
- package/lib/chunk-HC3MGDGT.cjs +0 -91
- package/lib/chunk-HC3MGDGT.cjs.map +0 -1
- package/lib/chunk-HCAVRQ2U.cjs +0 -77
- package/lib/chunk-HCAVRQ2U.cjs.map +0 -1
- package/lib/chunk-HFO4G45O.js +0 -69
- package/lib/chunk-HFO4G45O.js.map +0 -1
- package/lib/chunk-HFSPKGSB.js +0 -123
- package/lib/chunk-HFSPKGSB.js.map +0 -1
- package/lib/chunk-HG7MEM2X.js +0 -68
- package/lib/chunk-HG7MEM2X.js.map +0 -1
- package/lib/chunk-HJ2JV62Q.js +0 -42
- package/lib/chunk-HJ2JV62Q.js.map +0 -1
- package/lib/chunk-HQ3AOB7V.js +0 -92
- package/lib/chunk-HQ3AOB7V.js.map +0 -1
- package/lib/chunk-HQT2IGX6.js +0 -191
- package/lib/chunk-HQT2IGX6.js.map +0 -1
- package/lib/chunk-HQX2IZ3S.cjs +0 -53
- package/lib/chunk-HQX2IZ3S.cjs.map +0 -1
- package/lib/chunk-HRR2M5BN.cjs +0 -118
- package/lib/chunk-HRR2M5BN.cjs.map +0 -1
- package/lib/chunk-HV2B43XE.js +0 -103
- package/lib/chunk-HV2B43XE.js.map +0 -1
- package/lib/chunk-HXTIVTB6.js +0 -68
- package/lib/chunk-HXTIVTB6.js.map +0 -1
- package/lib/chunk-I4BBXUCZ.cjs +0 -70
- package/lib/chunk-I4BBXUCZ.cjs.map +0 -1
- package/lib/chunk-I6LI4OXW.cjs +0 -52
- package/lib/chunk-I6LI4OXW.cjs.map +0 -1
- package/lib/chunk-IASGDRWS.js +0 -104
- package/lib/chunk-IASGDRWS.js.map +0 -1
- package/lib/chunk-IB65JHZW.cjs +0 -53
- package/lib/chunk-IB65JHZW.cjs.map +0 -1
- package/lib/chunk-ICXFY42F.js +0 -145
- package/lib/chunk-ICXFY42F.js.map +0 -1
- package/lib/chunk-IG7A2H5E.cjs +0 -61
- package/lib/chunk-IG7A2H5E.cjs.map +0 -1
- package/lib/chunk-IMROD6DZ.cjs +0 -53
- package/lib/chunk-IMROD6DZ.cjs.map +0 -1
- package/lib/chunk-INTJFLAT.cjs +0 -83
- package/lib/chunk-INTJFLAT.cjs.map +0 -1
- package/lib/chunk-IOBKEYUD.js +0 -118
- package/lib/chunk-IOBKEYUD.js.map +0 -1
- package/lib/chunk-ITNKMVF3.cjs +0 -134
- package/lib/chunk-ITNKMVF3.cjs.map +0 -1
- package/lib/chunk-JFMAOZVU.cjs +0 -69
- package/lib/chunk-JFMAOZVU.cjs.map +0 -1
- package/lib/chunk-JG5Q7VNI.js +0 -177
- package/lib/chunk-JG5Q7VNI.js.map +0 -1
- package/lib/chunk-JHXUVYYI.js +0 -58
- package/lib/chunk-JHXUVYYI.js.map +0 -1
- package/lib/chunk-JQVMGQWL.cjs +0 -85
- package/lib/chunk-JQVMGQWL.cjs.map +0 -1
- package/lib/chunk-KB6GWMPD.js +0 -77
- package/lib/chunk-KB6GWMPD.js.map +0 -1
- package/lib/chunk-KBFDUA7Q.js +0 -132
- package/lib/chunk-KBFDUA7Q.js.map +0 -1
- package/lib/chunk-KC6XSA2Y.cjs +0 -70
- package/lib/chunk-KC6XSA2Y.cjs.map +0 -1
- package/lib/chunk-KHDDHZL4.cjs +0 -70
- package/lib/chunk-KHDDHZL4.cjs.map +0 -1
- package/lib/chunk-KJN2FEX3.cjs +0 -238
- package/lib/chunk-KJN2FEX3.cjs.map +0 -1
- package/lib/chunk-KQO4XOKP.cjs +0 -62
- package/lib/chunk-KQO4XOKP.cjs.map +0 -1
- package/lib/chunk-KRF3UDFN.js +0 -118
- package/lib/chunk-KRF3UDFN.js.map +0 -1
- package/lib/chunk-KSAF3PC5.js +0 -68
- package/lib/chunk-KSAF3PC5.js.map +0 -1
- package/lib/chunk-L26KZ5DF.cjs +0 -81
- package/lib/chunk-L26KZ5DF.cjs.map +0 -1
- package/lib/chunk-L3PLRYFO.js +0 -89
- package/lib/chunk-L3PLRYFO.js.map +0 -1
- package/lib/chunk-L65BQE4Y.js +0 -100
- package/lib/chunk-L65BQE4Y.js.map +0 -1
- package/lib/chunk-LBB5IP7H.js +0 -68
- package/lib/chunk-LBB5IP7H.js.map +0 -1
- package/lib/chunk-LLKCNKKT.js +0 -68
- package/lib/chunk-LLKCNKKT.js.map +0 -1
- package/lib/chunk-LP66B7DP.cjs +0 -62
- package/lib/chunk-LP66B7DP.cjs.map +0 -1
- package/lib/chunk-M46H45DO.cjs +0 -71
- package/lib/chunk-M46H45DO.cjs.map +0 -1
- package/lib/chunk-M6TOX3HY.cjs +0 -35
- package/lib/chunk-M6TOX3HY.cjs.map +0 -1
- package/lib/chunk-MCMUX5BL.cjs +0 -86
- package/lib/chunk-MCMUX5BL.cjs.map +0 -1
- package/lib/chunk-MD3AZP5R.js +0 -77
- package/lib/chunk-MD3AZP5R.js.map +0 -1
- package/lib/chunk-MDQ2SCTW.js +0 -95
- package/lib/chunk-MDQ2SCTW.js.map +0 -1
- package/lib/chunk-MHZPK2A2.cjs +0 -147
- package/lib/chunk-MHZPK2A2.cjs.map +0 -1
- package/lib/chunk-MIUY6UJ3.cjs +0 -125
- package/lib/chunk-MIUY6UJ3.cjs.map +0 -1
- package/lib/chunk-MJXPVF77.cjs +0 -67
- package/lib/chunk-MJXPVF77.cjs.map +0 -1
- package/lib/chunk-MM2FOP73.cjs +0 -46
- package/lib/chunk-MM2FOP73.cjs.map +0 -1
- package/lib/chunk-MN2343YT.cjs +0 -77
- package/lib/chunk-MN2343YT.cjs.map +0 -1
- package/lib/chunk-MPAISLWD.cjs +0 -52
- package/lib/chunk-MPAISLWD.cjs.map +0 -1
- package/lib/chunk-MPGDLUGE.js +0 -75
- package/lib/chunk-MPGDLUGE.js.map +0 -1
- package/lib/chunk-MQRM6WNV.js +0 -75
- package/lib/chunk-MQRM6WNV.js.map +0 -1
- package/lib/chunk-MWPBG7FV.js +0 -59
- package/lib/chunk-MWPBG7FV.js.map +0 -1
- package/lib/chunk-MXLBRYWM.js +0 -84
- package/lib/chunk-MXLBRYWM.js.map +0 -1
- package/lib/chunk-N2Q4U63L.js +0 -51
- package/lib/chunk-N2Q4U63L.js.map +0 -1
- package/lib/chunk-N7GLKVK3.js +0 -68
- package/lib/chunk-N7GLKVK3.js.map +0 -1
- package/lib/chunk-NE6TY6OY.cjs +0 -16
- package/lib/chunk-NE6TY6OY.cjs.map +0 -1
- package/lib/chunk-NI2G6B2T.js +0 -116
- package/lib/chunk-NI2G6B2T.js.map +0 -1
- package/lib/chunk-NMCVJWHH.cjs +0 -67
- package/lib/chunk-NMCVJWHH.cjs.map +0 -1
- package/lib/chunk-NMZJWZK4.js +0 -608
- package/lib/chunk-NMZJWZK4.js.map +0 -1
- package/lib/chunk-NP64KHRD.cjs +0 -105
- package/lib/chunk-NP64KHRD.cjs.map +0 -1
- package/lib/chunk-NWSJ7AQX.js +0 -177
- package/lib/chunk-NWSJ7AQX.js.map +0 -1
- package/lib/chunk-NWT56B3X.js +0 -189
- package/lib/chunk-NWT56B3X.js.map +0 -1
- package/lib/chunk-NYMOYXJ5.js +0 -68
- package/lib/chunk-NYMOYXJ5.js.map +0 -1
- package/lib/chunk-NZPX7LLM.js +0 -65
- package/lib/chunk-NZPX7LLM.js.map +0 -1
- package/lib/chunk-O2T4EBPE.js +0 -91
- package/lib/chunk-O2T4EBPE.js.map +0 -1
- package/lib/chunk-OA3HIGQL.js +0 -132
- package/lib/chunk-OA3HIGQL.js.map +0 -1
- package/lib/chunk-OANKTTIW.cjs +0 -79
- package/lib/chunk-OANKTTIW.cjs.map +0 -1
- package/lib/chunk-OCWNCSCB.cjs +0 -179
- package/lib/chunk-OCWNCSCB.cjs.map +0 -1
- package/lib/chunk-OEWJPZKV.js +0 -104
- package/lib/chunk-OEWJPZKV.js.map +0 -1
- package/lib/chunk-OHEOKPC5.cjs +0 -179
- package/lib/chunk-OHEOKPC5.cjs.map +0 -1
- package/lib/chunk-OPJUK6LE.cjs +0 -120
- package/lib/chunk-OPJUK6LE.cjs.map +0 -1
- package/lib/chunk-OT77NWA7.js +0 -132
- package/lib/chunk-OT77NWA7.js.map +0 -1
- package/lib/chunk-OUAFZIJD.js +0 -118
- package/lib/chunk-OUAFZIJD.js.map +0 -1
- package/lib/chunk-OZAFGL3U.cjs +0 -62
- package/lib/chunk-OZAFGL3U.cjs.map +0 -1
- package/lib/chunk-P277H6EJ.js +0 -89
- package/lib/chunk-P277H6EJ.js.map +0 -1
- package/lib/chunk-P3VF425V.cjs +0 -71
- package/lib/chunk-P3VF425V.cjs.map +0 -1
- package/lib/chunk-P5ED6GBA.js +0 -86
- package/lib/chunk-P5ED6GBA.js.map +0 -1
- package/lib/chunk-PCWIIV3N.js +0 -82
- package/lib/chunk-PCWIIV3N.js.map +0 -1
- package/lib/chunk-PO3WRZWK.js +0 -709
- package/lib/chunk-PO3WRZWK.js.map +0 -1
- package/lib/chunk-PPUATSQF.cjs +0 -91
- package/lib/chunk-PPUATSQF.cjs.map +0 -1
- package/lib/chunk-PSGSQNMC.cjs +0 -170
- package/lib/chunk-PSGSQNMC.cjs.map +0 -1
- package/lib/chunk-PVJA7JLG.js +0 -164
- package/lib/chunk-PVJA7JLG.js.map +0 -1
- package/lib/chunk-PXSKGMYF.js +0 -100
- package/lib/chunk-PXSKGMYF.js.map +0 -1
- package/lib/chunk-Q3EYJPL3.js +0 -236
- package/lib/chunk-Q3EYJPL3.js.map +0 -1
- package/lib/chunk-QLA6YXS3.js +0 -118
- package/lib/chunk-QLA6YXS3.js.map +0 -1
- package/lib/chunk-QLKQAMB2.cjs +0 -29
- package/lib/chunk-QLKQAMB2.cjs.map +0 -1
- package/lib/chunk-QO72XYVP.js +0 -177
- package/lib/chunk-QO72XYVP.js.map +0 -1
- package/lib/chunk-QP7MCTKW.cjs +0 -75
- package/lib/chunk-QP7MCTKW.cjs.map +0 -1
- package/lib/chunk-QPFJ35FP.js +0 -75
- package/lib/chunk-QPFJ35FP.js.map +0 -1
- package/lib/chunk-QV5KSHJI.js +0 -33
- package/lib/chunk-QV5KSHJI.js.map +0 -1
- package/lib/chunk-QX5UIOSB.js +0 -60
- package/lib/chunk-QX5UIOSB.js.map +0 -1
- package/lib/chunk-QZGXSVF3.js +0 -259
- package/lib/chunk-QZGXSVF3.js.map +0 -1
- package/lib/chunk-QZNXJKH7.js +0 -103
- package/lib/chunk-QZNXJKH7.js.map +0 -1
- package/lib/chunk-R3XCUCTJ.js +0 -51
- package/lib/chunk-R3XCUCTJ.js.map +0 -1
- package/lib/chunk-R4Q7FZH3.js +0 -83
- package/lib/chunk-R4Q7FZH3.js.map +0 -1
- package/lib/chunk-RABOVOV5.js +0 -96
- package/lib/chunk-RABOVOV5.js.map +0 -1
- package/lib/chunk-RBFZHZ2E.js +0 -17
- package/lib/chunk-RBFZHZ2E.js.map +0 -1
- package/lib/chunk-RFVVZOXP.js +0 -67
- package/lib/chunk-RFVVZOXP.js.map +0 -1
- package/lib/chunk-RS7CIMU2.cjs +0 -79
- package/lib/chunk-RS7CIMU2.cjs.map +0 -1
- package/lib/chunk-RY52HUAM.js +0 -129
- package/lib/chunk-RY52HUAM.js.map +0 -1
- package/lib/chunk-S743NLTT.cjs +0 -44
- package/lib/chunk-S743NLTT.cjs.map +0 -1
- package/lib/chunk-S7TQNVMN.cjs +0 -88
- package/lib/chunk-S7TQNVMN.cjs.map +0 -1
- package/lib/chunk-SBAG3XP7.cjs +0 -70
- package/lib/chunk-SBAG3XP7.cjs.map +0 -1
- package/lib/chunk-SC5RATUY.js +0 -321
- package/lib/chunk-SC5RATUY.js.map +0 -1
- package/lib/chunk-SDXVTZB6.cjs +0 -98
- package/lib/chunk-SDXVTZB6.cjs.map +0 -1
- package/lib/chunk-SIZAHCYJ.cjs +0 -26
- package/lib/chunk-SIZAHCYJ.cjs.map +0 -1
- package/lib/chunk-SPG3RMDG.cjs +0 -79
- package/lib/chunk-SPG3RMDG.cjs.map +0 -1
- package/lib/chunk-SSWYGS6W.cjs +0 -70
- package/lib/chunk-SSWYGS6W.cjs.map +0 -1
- package/lib/chunk-SU6KEA6H.js +0 -198
- package/lib/chunk-SU6KEA6H.js.map +0 -1
- package/lib/chunk-SVKT6T6V.js +0 -86
- package/lib/chunk-SVKT6T6V.js.map +0 -1
- package/lib/chunk-SX7X67DZ.cjs +0 -106
- package/lib/chunk-SX7X67DZ.cjs.map +0 -1
- package/lib/chunk-SXP4ATGP.js +0 -132
- package/lib/chunk-SXP4ATGP.js.map +0 -1
- package/lib/chunk-SXWCNDKE.js +0 -12
- package/lib/chunk-SXWCNDKE.js.map +0 -1
- package/lib/chunk-SZW3PGDI.cjs +0 -120
- package/lib/chunk-SZW3PGDI.cjs.map +0 -1
- package/lib/chunk-T7BHYIJF.cjs +0 -70
- package/lib/chunk-T7BHYIJF.cjs.map +0 -1
- package/lib/chunk-TEN3HNHT.js +0 -60
- package/lib/chunk-TEN3HNHT.js.map +0 -1
- package/lib/chunk-TJK4HDQZ.js +0 -38
- package/lib/chunk-TJK4HDQZ.js.map +0 -1
- package/lib/chunk-TKNG2SD4.js +0 -59
- package/lib/chunk-TKNG2SD4.js.map +0 -1
- package/lib/chunk-TPKZB234.js +0 -68
- package/lib/chunk-TPKZB234.js.map +0 -1
- package/lib/chunk-TPP6DASP.cjs +0 -97
- package/lib/chunk-TPP6DASP.cjs.map +0 -1
- package/lib/chunk-TQUYU2CZ.cjs +0 -53
- package/lib/chunk-TQUYU2CZ.cjs.map +0 -1
- package/lib/chunk-TUG3XFAG.cjs +0 -44
- package/lib/chunk-TUG3XFAG.cjs.map +0 -1
- package/lib/chunk-U7FFLDRF.cjs +0 -166
- package/lib/chunk-U7FFLDRF.cjs.map +0 -1
- package/lib/chunk-UARXH2HB.js +0 -120
- package/lib/chunk-UARXH2HB.js.map +0 -1
- package/lib/chunk-UBPMIUT4.cjs +0 -88
- package/lib/chunk-UBPMIUT4.cjs.map +0 -1
- package/lib/chunk-UBRIGSJK.js +0 -64
- package/lib/chunk-UBRIGSJK.js.map +0 -1
- package/lib/chunk-UFVXRH5B.cjs +0 -70
- package/lib/chunk-UFVXRH5B.cjs.map +0 -1
- package/lib/chunk-UJCELX56.cjs +0 -102
- package/lib/chunk-UJCELX56.cjs.map +0 -1
- package/lib/chunk-UJS32MCU.cjs +0 -79
- package/lib/chunk-UJS32MCU.cjs.map +0 -1
- package/lib/chunk-UMLGNHVS.js +0 -75
- package/lib/chunk-UMLGNHVS.js.map +0 -1
- package/lib/chunk-UUQ4L5XM.js +0 -60
- package/lib/chunk-UUQ4L5XM.js.map +0 -1
- package/lib/chunk-UYXNMUIY.js +0 -177
- package/lib/chunk-UYXNMUIY.js.map +0 -1
- package/lib/chunk-V6TUJ2L5.js +0 -77
- package/lib/chunk-V6TUJ2L5.js.map +0 -1
- package/lib/chunk-VA6N634I.js +0 -82
- package/lib/chunk-VA6N634I.js.map +0 -1
- package/lib/chunk-VBHJKT66.js +0 -77
- package/lib/chunk-VBHJKT66.js.map +0 -1
- package/lib/chunk-VDFAACFV.cjs +0 -134
- package/lib/chunk-VDFAACFV.cjs.map +0 -1
- package/lib/chunk-VLEBVZOF.js +0 -53
- package/lib/chunk-VLEBVZOF.js.map +0 -1
- package/lib/chunk-VUGDLJE5.js +0 -113
- package/lib/chunk-VUGDLJE5.js.map +0 -1
- package/lib/chunk-VUHOXVJ3.js +0 -79
- package/lib/chunk-VUHOXVJ3.js.map +0 -1
- package/lib/chunk-VVV2BCF3.cjs +0 -62
- package/lib/chunk-VVV2BCF3.cjs.map +0 -1
- package/lib/chunk-W2SIUQ56.cjs +0 -71
- package/lib/chunk-W2SIUQ56.cjs.map +0 -1
- package/lib/chunk-W4HIMHE4.cjs +0 -79
- package/lib/chunk-W4HIMHE4.cjs.map +0 -1
- package/lib/chunk-W6EPQFA2.cjs +0 -102
- package/lib/chunk-W6EPQFA2.cjs.map +0 -1
- package/lib/chunk-W6WGFIZL.js +0 -91
- package/lib/chunk-W6WGFIZL.js.map +0 -1
- package/lib/chunk-WATUJTKW.js +0 -191
- package/lib/chunk-WATUJTKW.js.map +0 -1
- package/lib/chunk-WE3PBZFU.js +0 -42
- package/lib/chunk-WE3PBZFU.js.map +0 -1
- package/lib/chunk-WJTYPOT5.js +0 -82
- package/lib/chunk-WJTYPOT5.js.map +0 -1
- package/lib/chunk-WKML4XNE.js +0 -77
- package/lib/chunk-WKML4XNE.js.map +0 -1
- package/lib/chunk-WNM32SCA.cjs +0 -70
- package/lib/chunk-WNM32SCA.cjs.map +0 -1
- package/lib/chunk-WOCKZ7CJ.js +0 -58
- package/lib/chunk-WOCKZ7CJ.js.map +0 -1
- package/lib/chunk-WOP6L43D.js +0 -120
- package/lib/chunk-WOP6L43D.js.map +0 -1
- package/lib/chunk-WR2GG3FR.cjs +0 -96
- package/lib/chunk-WR2GG3FR.cjs.map +0 -1
- package/lib/chunk-WTDD7L2I.cjs +0 -62
- package/lib/chunk-WTDD7L2I.cjs.map +0 -1
- package/lib/chunk-WTLMZUTR.cjs +0 -88
- package/lib/chunk-WTLMZUTR.cjs.map +0 -1
- package/lib/chunk-WVMZFVEE.js +0 -61
- package/lib/chunk-WVMZFVEE.js.map +0 -1
- package/lib/chunk-WWXJDNZF.cjs +0 -101
- package/lib/chunk-WWXJDNZF.cjs.map +0 -1
- package/lib/chunk-X22YEQ4O.cjs +0 -89
- package/lib/chunk-X22YEQ4O.cjs.map +0 -1
- package/lib/chunk-X2JHZLNF.cjs +0 -120
- package/lib/chunk-X2JHZLNF.cjs.map +0 -1
- package/lib/chunk-X3UY5JZ2.js +0 -27
- package/lib/chunk-X3UY5JZ2.js.map +0 -1
- package/lib/chunk-X5PN44AB.js +0 -77
- package/lib/chunk-X5PN44AB.js.map +0 -1
- package/lib/chunk-XCWV7LWV.cjs +0 -134
- package/lib/chunk-XCWV7LWV.cjs.map +0 -1
- package/lib/chunk-XD6FBQKK.js +0 -65
- package/lib/chunk-XD6FBQKK.js.map +0 -1
- package/lib/chunk-XNKFD2Z2.js +0 -168
- package/lib/chunk-XNKFD2Z2.js.map +0 -1
- package/lib/chunk-XOAXIDIX.js +0 -113
- package/lib/chunk-XOAXIDIX.js.map +0 -1
- package/lib/chunk-XQGSPNIE.js +0 -68
- package/lib/chunk-XQGSPNIE.js.map +0 -1
- package/lib/chunk-XSK3E4XN.js +0 -89
- package/lib/chunk-XSK3E4XN.js.map +0 -1
- package/lib/chunk-XWVAMY3V.js +0 -44
- package/lib/chunk-XWVAMY3V.js.map +0 -1
- package/lib/chunk-XYRDA4QZ.cjs +0 -79
- package/lib/chunk-XYRDA4QZ.cjs.map +0 -1
- package/lib/chunk-Y6HB4L7M.cjs +0 -113
- package/lib/chunk-Y6HB4L7M.cjs.map +0 -1
- package/lib/chunk-YBW7NZL4.cjs +0 -98
- package/lib/chunk-YBW7NZL4.cjs.map +0 -1
- package/lib/chunk-YJSEU63M.cjs +0 -88
- package/lib/chunk-YJSEU63M.cjs.map +0 -1
- package/lib/chunk-YQXPTR3T.cjs +0 -38
- package/lib/chunk-YQXPTR3T.cjs.map +0 -1
- package/lib/chunk-ZAFCXNLD.js +0 -68
- package/lib/chunk-ZAFCXNLD.js.map +0 -1
- package/lib/chunk-ZDVAZL6M.cjs +0 -179
- package/lib/chunk-ZDVAZL6M.cjs.map +0 -1
- package/lib/chunk-ZHTRFRSV.cjs +0 -61
- package/lib/chunk-ZHTRFRSV.cjs.map +0 -1
- package/lib/chunk-ZT4CE4WX.cjs +0 -79
- package/lib/chunk-ZT4CE4WX.cjs.map +0 -1
- package/lib/chunk-ZVNUNWZG.js +0 -50
- package/lib/chunk-ZVNUNWZG.js.map +0 -1
- package/lib/chunk-ZY7XJJU6.js +0 -51
- package/lib/chunk-ZY7XJJU6.js.map +0 -1
- package/lib/commercelayer.cjs.map +0 -1
- package/lib/commercelayer.js.map +0 -1
- package/lib/enum.cjs.map +0 -1
- package/lib/enum.js.map +0 -1
- package/lib/error-C0BYyTel.d.cts +0 -33
- package/lib/error-C0BYyTel.d.ts +0 -33
- package/lib/index.cjs.map +0 -1
- package/lib/index.js.map +0 -1
- package/lib/model.cjs.map +0 -1
- package/lib/model.js.map +0 -1
- package/lib/resources/addresses.cjs.map +0 -1
- package/lib/resources/addresses.js.map +0 -1
- package/lib/resources/adjustments.cjs.map +0 -1
- package/lib/resources/adjustments.js.map +0 -1
- package/lib/resources/adyen_gateways.cjs.map +0 -1
- package/lib/resources/adyen_gateways.js.map +0 -1
- package/lib/resources/adyen_payments.cjs.map +0 -1
- package/lib/resources/adyen_payments.js.map +0 -1
- package/lib/resources/applications.cjs.map +0 -1
- package/lib/resources/applications.js.map +0 -1
- package/lib/resources/attachments.cjs.map +0 -1
- package/lib/resources/attachments.js.map +0 -1
- package/lib/resources/authorizations.cjs.map +0 -1
- package/lib/resources/authorizations.js.map +0 -1
- package/lib/resources/avalara_accounts.cjs.map +0 -1
- package/lib/resources/avalara_accounts.js.map +0 -1
- package/lib/resources/axerve_gateways.cjs.map +0 -1
- package/lib/resources/axerve_gateways.js.map +0 -1
- package/lib/resources/axerve_payments.cjs.map +0 -1
- package/lib/resources/axerve_payments.js.map +0 -1
- package/lib/resources/billing_info_validation_rules.cjs.map +0 -1
- package/lib/resources/billing_info_validation_rules.js.map +0 -1
- package/lib/resources/bing_geocoders.cjs.map +0 -1
- package/lib/resources/bing_geocoders.js.map +0 -1
- package/lib/resources/braintree_gateways.cjs.map +0 -1
- package/lib/resources/braintree_gateways.js.map +0 -1
- package/lib/resources/braintree_payments.cjs.map +0 -1
- package/lib/resources/braintree_payments.js.map +0 -1
- package/lib/resources/bundles.cjs.map +0 -1
- package/lib/resources/bundles.js.map +0 -1
- package/lib/resources/buy_x_pay_y_promotions.cjs.map +0 -1
- package/lib/resources/buy_x_pay_y_promotions.js.map +0 -1
- package/lib/resources/captures.cjs.map +0 -1
- package/lib/resources/captures.js.map +0 -1
- package/lib/resources/carrier_accounts.cjs.map +0 -1
- package/lib/resources/carrier_accounts.js.map +0 -1
- package/lib/resources/checkout_com_gateways.cjs.map +0 -1
- package/lib/resources/checkout_com_gateways.js.map +0 -1
- package/lib/resources/checkout_com_payments.cjs.map +0 -1
- package/lib/resources/checkout_com_payments.js.map +0 -1
- package/lib/resources/cleanups.cjs.map +0 -1
- package/lib/resources/cleanups.js.map +0 -1
- package/lib/resources/coupon_codes_promotion_rules.cjs.map +0 -1
- package/lib/resources/coupon_codes_promotion_rules.js.map +0 -1
- package/lib/resources/coupon_recipients.cjs.map +0 -1
- package/lib/resources/coupon_recipients.js.map +0 -1
- package/lib/resources/coupons.cjs.map +0 -1
- package/lib/resources/coupons.js.map +0 -1
- package/lib/resources/custom_promotion_rules.cjs.map +0 -1
- package/lib/resources/custom_promotion_rules.js.map +0 -1
- package/lib/resources/customer_addresses.cjs.map +0 -1
- package/lib/resources/customer_addresses.js.map +0 -1
- package/lib/resources/customer_groups.cjs.map +0 -1
- package/lib/resources/customer_groups.js.map +0 -1
- package/lib/resources/customer_password_resets.cjs.map +0 -1
- package/lib/resources/customer_password_resets.js.map +0 -1
- package/lib/resources/customer_payment_sources.cjs.map +0 -1
- package/lib/resources/customer_payment_sources.js.map +0 -1
- package/lib/resources/customer_subscriptions.cjs.map +0 -1
- package/lib/resources/customer_subscriptions.js.map +0 -1
- package/lib/resources/customers.cjs.map +0 -1
- package/lib/resources/customers.js.map +0 -1
- package/lib/resources/delivery_lead_times.cjs.map +0 -1
- package/lib/resources/delivery_lead_times.js.map +0 -1
- package/lib/resources/discount_engine_items.cjs.map +0 -1
- package/lib/resources/discount_engine_items.js.map +0 -1
- package/lib/resources/discount_engines.cjs.map +0 -1
- package/lib/resources/discount_engines.js.map +0 -1
- package/lib/resources/easypost_pickups.cjs.map +0 -1
- package/lib/resources/easypost_pickups.js.map +0 -1
- package/lib/resources/event_callbacks.cjs.map +0 -1
- package/lib/resources/event_callbacks.js.map +0 -1
- package/lib/resources/event_stores.cjs.map +0 -1
- package/lib/resources/event_stores.js.map +0 -1
- package/lib/resources/events.cjs.map +0 -1
- package/lib/resources/events.js.map +0 -1
- package/lib/resources/exports.cjs.map +0 -1
- package/lib/resources/exports.js.map +0 -1
- package/lib/resources/external_gateways.cjs.map +0 -1
- package/lib/resources/external_gateways.js.map +0 -1
- package/lib/resources/external_payments.cjs.map +0 -1
- package/lib/resources/external_payments.js.map +0 -1
- package/lib/resources/external_promotions.cjs.map +0 -1
- package/lib/resources/external_promotions.js.map +0 -1
- package/lib/resources/external_tax_calculators.cjs.map +0 -1
- package/lib/resources/external_tax_calculators.js.map +0 -1
- package/lib/resources/fixed_amount_promotions.cjs.map +0 -1
- package/lib/resources/fixed_amount_promotions.js.map +0 -1
- package/lib/resources/fixed_price_promotions.cjs.map +0 -1
- package/lib/resources/fixed_price_promotions.js.map +0 -1
- package/lib/resources/flex_promotions.cjs.map +0 -1
- package/lib/resources/flex_promotions.js.map +0 -1
- package/lib/resources/free_gift_promotions.cjs.map +0 -1
- package/lib/resources/free_gift_promotions.js.map +0 -1
- package/lib/resources/free_shipping_promotions.cjs.map +0 -1
- package/lib/resources/free_shipping_promotions.js.map +0 -1
- package/lib/resources/geocoders.cjs.map +0 -1
- package/lib/resources/geocoders.js.map +0 -1
- package/lib/resources/gift_card_recipients.cjs.map +0 -1
- package/lib/resources/gift_card_recipients.js.map +0 -1
- package/lib/resources/gift_cards.cjs.map +0 -1
- package/lib/resources/gift_cards.js.map +0 -1
- package/lib/resources/google_geocoders.cjs.map +0 -1
- package/lib/resources/google_geocoders.js.map +0 -1
- package/lib/resources/imports.cjs.map +0 -1
- package/lib/resources/imports.js.map +0 -1
- package/lib/resources/in_stock_subscriptions.cjs.map +0 -1
- package/lib/resources/in_stock_subscriptions.js.map +0 -1
- package/lib/resources/inventory_models.cjs.map +0 -1
- package/lib/resources/inventory_models.js.map +0 -1
- package/lib/resources/inventory_return_locations.cjs.map +0 -1
- package/lib/resources/inventory_return_locations.js.map +0 -1
- package/lib/resources/inventory_stock_locations.cjs.map +0 -1
- package/lib/resources/inventory_stock_locations.js.map +0 -1
- package/lib/resources/klarna_gateways.cjs.map +0 -1
- package/lib/resources/klarna_gateways.js.map +0 -1
- package/lib/resources/klarna_payments.cjs.map +0 -1
- package/lib/resources/klarna_payments.js.map +0 -1
- package/lib/resources/line_item_options.cjs.map +0 -1
- package/lib/resources/line_item_options.js.map +0 -1
- package/lib/resources/line_items.cjs.map +0 -1
- package/lib/resources/line_items.js.map +0 -1
- package/lib/resources/links.cjs.map +0 -1
- package/lib/resources/links.js.map +0 -1
- package/lib/resources/manual_gateways.cjs.map +0 -1
- package/lib/resources/manual_gateways.js.map +0 -1
- package/lib/resources/manual_tax_calculators.cjs.map +0 -1
- package/lib/resources/manual_tax_calculators.js.map +0 -1
- package/lib/resources/markets.cjs.map +0 -1
- package/lib/resources/markets.js.map +0 -1
- package/lib/resources/merchants.cjs.map +0 -1
- package/lib/resources/merchants.js.map +0 -1
- package/lib/resources/notifications.cjs.map +0 -1
- package/lib/resources/notifications.js.map +0 -1
- package/lib/resources/order_amount_promotion_rules.cjs.map +0 -1
- package/lib/resources/order_amount_promotion_rules.js.map +0 -1
- package/lib/resources/order_copies.cjs.map +0 -1
- package/lib/resources/order_copies.js.map +0 -1
- package/lib/resources/order_factories.cjs.map +0 -1
- package/lib/resources/order_factories.js.map +0 -1
- package/lib/resources/order_subscription_items.cjs.map +0 -1
- package/lib/resources/order_subscription_items.js.map +0 -1
- package/lib/resources/order_subscriptions.cjs.map +0 -1
- package/lib/resources/order_subscriptions.js.map +0 -1
- package/lib/resources/order_validation_rules.cjs.map +0 -1
- package/lib/resources/order_validation_rules.js.map +0 -1
- package/lib/resources/orders.cjs.map +0 -1
- package/lib/resources/orders.js.map +0 -1
- package/lib/resources/organizations.cjs.map +0 -1
- package/lib/resources/organizations.js.map +0 -1
- package/lib/resources/packages.cjs.map +0 -1
- package/lib/resources/packages.js.map +0 -1
- package/lib/resources/parcel_line_items.cjs.map +0 -1
- package/lib/resources/parcel_line_items.js.map +0 -1
- package/lib/resources/parcels.cjs.map +0 -1
- package/lib/resources/parcels.js.map +0 -1
- package/lib/resources/payment_authorizations.cjs.map +0 -1
- package/lib/resources/payment_authorizations.js.map +0 -1
- package/lib/resources/payment_captures.cjs.map +0 -1
- package/lib/resources/payment_captures.js.map +0 -1
- package/lib/resources/payment_gateways.cjs.map +0 -1
- package/lib/resources/payment_gateways.js.map +0 -1
- package/lib/resources/payment_links.cjs.map +0 -1
- package/lib/resources/payment_links.js.map +0 -1
- package/lib/resources/payment_methods.cjs.map +0 -1
- package/lib/resources/payment_methods.js.map +0 -1
- package/lib/resources/payment_options.cjs.map +0 -1
- package/lib/resources/payment_options.js.map +0 -1
- package/lib/resources/payment_refunds.cjs.map +0 -1
- package/lib/resources/payment_refunds.js.map +0 -1
- package/lib/resources/payment_rules.cjs.map +0 -1
- package/lib/resources/payment_rules.js.map +0 -1
- package/lib/resources/payment_sessions.cjs.map +0 -1
- package/lib/resources/payment_sessions.js.map +0 -1
- package/lib/resources/payment_setting_adyens.cjs.map +0 -1
- package/lib/resources/payment_setting_adyens.js.map +0 -1
- package/lib/resources/payment_setting_braintrees.cjs.map +0 -1
- package/lib/resources/payment_setting_braintrees.js.map +0 -1
- package/lib/resources/payment_setting_checkout_coms.cjs.map +0 -1
- package/lib/resources/payment_setting_checkout_coms.js.map +0 -1
- package/lib/resources/payment_setting_externals.cjs.map +0 -1
- package/lib/resources/payment_setting_externals.js.map +0 -1
- package/lib/resources/payment_setting_gift_cards.cjs.map +0 -1
- package/lib/resources/payment_setting_gift_cards.js.map +0 -1
- package/lib/resources/payment_setting_manuals.cjs.map +0 -1
- package/lib/resources/payment_setting_manuals.js.map +0 -1
- package/lib/resources/payment_setting_paypals.cjs.map +0 -1
- package/lib/resources/payment_setting_paypals.js.map +0 -1
- package/lib/resources/payment_setting_stripes.cjs.map +0 -1
- package/lib/resources/payment_setting_stripes.js.map +0 -1
- package/lib/resources/payment_settings.cjs.map +0 -1
- package/lib/resources/payment_settings.js.map +0 -1
- package/lib/resources/payment_transactions.cjs.map +0 -1
- package/lib/resources/payment_transactions.js.map +0 -1
- package/lib/resources/payment_voids.cjs.map +0 -1
- package/lib/resources/payment_voids.js.map +0 -1
- package/lib/resources/payment_wallets.cjs.map +0 -1
- package/lib/resources/payment_wallets.js.map +0 -1
- package/lib/resources/paypal_gateways.cjs.map +0 -1
- package/lib/resources/paypal_gateways.js.map +0 -1
- package/lib/resources/paypal_payments.cjs.map +0 -1
- package/lib/resources/paypal_payments.js.map +0 -1
- package/lib/resources/percentage_discount_promotions.cjs.map +0 -1
- package/lib/resources/percentage_discount_promotions.js.map +0 -1
- package/lib/resources/pickups.cjs.map +0 -1
- package/lib/resources/pickups.js.map +0 -1
- package/lib/resources/price_frequency_tiers.cjs.map +0 -1
- package/lib/resources/price_frequency_tiers.js.map +0 -1
- package/lib/resources/price_list_schedulers.cjs.map +0 -1
- package/lib/resources/price_list_schedulers.js.map +0 -1
- package/lib/resources/price_lists.cjs.map +0 -1
- package/lib/resources/price_lists.js.map +0 -1
- package/lib/resources/price_tiers.cjs.map +0 -1
- package/lib/resources/price_tiers.js.map +0 -1
- package/lib/resources/price_volume_tiers.cjs.map +0 -1
- package/lib/resources/price_volume_tiers.js.map +0 -1
- package/lib/resources/prices.cjs.map +0 -1
- package/lib/resources/prices.js.map +0 -1
- package/lib/resources/promotion_rules.cjs.map +0 -1
- package/lib/resources/promotion_rules.js.map +0 -1
- package/lib/resources/promotions.cjs.map +0 -1
- package/lib/resources/promotions.js.map +0 -1
- package/lib/resources/recurring_order_copies.cjs.map +0 -1
- package/lib/resources/recurring_order_copies.js.map +0 -1
- package/lib/resources/refunds.cjs.map +0 -1
- package/lib/resources/refunds.js.map +0 -1
- package/lib/resources/reserved_stocks.cjs.map +0 -1
- package/lib/resources/reserved_stocks.js.map +0 -1
- package/lib/resources/resource_errors.cjs.map +0 -1
- package/lib/resources/resource_errors.js.map +0 -1
- package/lib/resources/return_line_items.cjs.map +0 -1
- package/lib/resources/return_line_items.js.map +0 -1
- package/lib/resources/returns.cjs.map +0 -1
- package/lib/resources/returns.js.map +0 -1
- package/lib/resources/satispay_gateways.cjs.map +0 -1
- package/lib/resources/satispay_gateways.js.map +0 -1
- package/lib/resources/satispay_payments.cjs.map +0 -1
- package/lib/resources/satispay_payments.js.map +0 -1
- package/lib/resources/shipment_line_items.cjs.map +0 -1
- package/lib/resources/shipment_line_items.js.map +0 -1
- package/lib/resources/shipments.cjs.map +0 -1
- package/lib/resources/shipments.js.map +0 -1
- package/lib/resources/shipping_categories.cjs.map +0 -1
- package/lib/resources/shipping_categories.js.map +0 -1
- package/lib/resources/shipping_method_tiers.cjs.map +0 -1
- package/lib/resources/shipping_method_tiers.js.map +0 -1
- package/lib/resources/shipping_methods.cjs.map +0 -1
- package/lib/resources/shipping_methods.js.map +0 -1
- package/lib/resources/shipping_weight_tiers.cjs.map +0 -1
- package/lib/resources/shipping_weight_tiers.js.map +0 -1
- package/lib/resources/shipping_zones.cjs.map +0 -1
- package/lib/resources/shipping_zones.js.map +0 -1
- package/lib/resources/sku_list_items.cjs.map +0 -1
- package/lib/resources/sku_list_items.js.map +0 -1
- package/lib/resources/sku_list_promotion_rules.cjs.map +0 -1
- package/lib/resources/sku_list_promotion_rules.js.map +0 -1
- package/lib/resources/sku_lists.cjs.map +0 -1
- package/lib/resources/sku_lists.js.map +0 -1
- package/lib/resources/sku_options.cjs.map +0 -1
- package/lib/resources/sku_options.js.map +0 -1
- package/lib/resources/skus.cjs.map +0 -1
- package/lib/resources/skus.js.map +0 -1
- package/lib/resources/stock_items.cjs.map +0 -1
- package/lib/resources/stock_items.js.map +0 -1
- package/lib/resources/stock_line_items.cjs.map +0 -1
- package/lib/resources/stock_line_items.js.map +0 -1
- package/lib/resources/stock_locations.cjs.map +0 -1
- package/lib/resources/stock_locations.js.map +0 -1
- package/lib/resources/stock_reservations.cjs.map +0 -1
- package/lib/resources/stock_reservations.js.map +0 -1
- package/lib/resources/stock_transfers.cjs.map +0 -1
- package/lib/resources/stock_transfers.js.map +0 -1
- package/lib/resources/stores.cjs.map +0 -1
- package/lib/resources/stores.js.map +0 -1
- package/lib/resources/stripe_gateways.cjs.map +0 -1
- package/lib/resources/stripe_gateways.js.map +0 -1
- package/lib/resources/stripe_payments.cjs.map +0 -1
- package/lib/resources/stripe_payments.js.map +0 -1
- package/lib/resources/stripe_tax_accounts.cjs.map +0 -1
- package/lib/resources/stripe_tax_accounts.js.map +0 -1
- package/lib/resources/subscription_models.cjs.map +0 -1
- package/lib/resources/subscription_models.js.map +0 -1
- package/lib/resources/tags.cjs.map +0 -1
- package/lib/resources/tags.js.map +0 -1
- package/lib/resources/talon_one_accounts.cjs.map +0 -1
- package/lib/resources/talon_one_accounts.js.map +0 -1
- package/lib/resources/tax_calculators.cjs.map +0 -1
- package/lib/resources/tax_calculators.js.map +0 -1
- package/lib/resources/tax_categories.cjs.map +0 -1
- package/lib/resources/tax_categories.js.map +0 -1
- package/lib/resources/tax_rules.cjs.map +0 -1
- package/lib/resources/tax_rules.js.map +0 -1
- package/lib/resources/taxjar_accounts.cjs.map +0 -1
- package/lib/resources/taxjar_accounts.js.map +0 -1
- package/lib/resources/transactions.cjs.map +0 -1
- package/lib/resources/transactions.js.map +0 -1
- package/lib/resources/vertex_accounts.cjs.map +0 -1
- package/lib/resources/vertex_accounts.js.map +0 -1
- package/lib/resources/voids.cjs.map +0 -1
- package/lib/resources/voids.js.map +0 -1
- package/lib/resources/webhooks.cjs.map +0 -1
- package/lib/resources/webhooks.js.map +0 -1
- package/lib/resources/wire_transfers.cjs.map +0 -1
- package/lib/resources/wire_transfers.js.map +0 -1
- package/lib/single-client.cjs.map +0 -1
- package/lib/single-client.js.map +0 -1
- package/lib/static.cjs.map +0 -1
- package/lib/static.js.map +0 -1
- package/lib/version.cjs.map +0 -1
- package/lib/version.js.map +0 -1
package/lib/chunk-NWT56B3X.js
DELETED
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-GOYTSKMO.js';
|
|
2
|
-
|
|
3
|
-
// gen/resources/line_items.ts
|
|
4
|
-
var LineItems = class _LineItems extends ApiResource {
|
|
5
|
-
static TYPE = "line_items";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create({ ...resource, type: _LineItems.TYPE }, params, options);
|
|
8
|
-
}
|
|
9
|
-
async update(resource, params, options) {
|
|
10
|
-
return this.resources.update({ ...resource, type: _LineItems.TYPE }, params, options);
|
|
11
|
-
}
|
|
12
|
-
async delete(id, options) {
|
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _LineItems.TYPE } : id, options);
|
|
14
|
-
}
|
|
15
|
-
async order(lineItemId, params, options) {
|
|
16
|
-
const _lineItemId = lineItemId.id || lineItemId;
|
|
17
|
-
return this.resources.fetch(
|
|
18
|
-
{ type: "orders" },
|
|
19
|
-
`line_items/${_lineItemId}/order`,
|
|
20
|
-
params,
|
|
21
|
-
options
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
async line_item_options(lineItemId, params, options) {
|
|
25
|
-
const _lineItemId = lineItemId.id || lineItemId;
|
|
26
|
-
return this.resources.fetch(
|
|
27
|
-
{ type: "line_item_options" },
|
|
28
|
-
`line_items/${_lineItemId}/line_item_options`,
|
|
29
|
-
params,
|
|
30
|
-
options
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* @deprecated Deprecated in API version 2026-05.
|
|
35
|
-
*/
|
|
36
|
-
async return_line_items(lineItemId, params, options) {
|
|
37
|
-
const _lineItemId = lineItemId.id || lineItemId;
|
|
38
|
-
return this.resources.fetch(
|
|
39
|
-
{ type: "return_line_items" },
|
|
40
|
-
`line_items/${_lineItemId}/return_line_items`,
|
|
41
|
-
params,
|
|
42
|
-
options
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* @deprecated Deprecated in API version 2026-05.
|
|
47
|
-
*/
|
|
48
|
-
async shipment_line_items(lineItemId, params, options) {
|
|
49
|
-
const _lineItemId = lineItemId.id || lineItemId;
|
|
50
|
-
return this.resources.fetch(
|
|
51
|
-
{ type: "shipment_line_items" },
|
|
52
|
-
`line_items/${_lineItemId}/shipment_line_items`,
|
|
53
|
-
params,
|
|
54
|
-
options
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
|
-
async stock_reservations(lineItemId, params, options) {
|
|
58
|
-
const _lineItemId = lineItemId.id || lineItemId;
|
|
59
|
-
return this.resources.fetch(
|
|
60
|
-
{ type: "stock_reservations" },
|
|
61
|
-
`line_items/${_lineItemId}/stock_reservations`,
|
|
62
|
-
params,
|
|
63
|
-
options
|
|
64
|
-
);
|
|
65
|
-
}
|
|
66
|
-
async stock_line_items(lineItemId, params, options) {
|
|
67
|
-
const _lineItemId = lineItemId.id || lineItemId;
|
|
68
|
-
return this.resources.fetch(
|
|
69
|
-
{ type: "stock_line_items" },
|
|
70
|
-
`line_items/${_lineItemId}/stock_line_items`,
|
|
71
|
-
params,
|
|
72
|
-
options
|
|
73
|
-
);
|
|
74
|
-
}
|
|
75
|
-
async stock_transfers(lineItemId, params, options) {
|
|
76
|
-
const _lineItemId = lineItemId.id || lineItemId;
|
|
77
|
-
return this.resources.fetch(
|
|
78
|
-
{ type: "stock_transfers" },
|
|
79
|
-
`line_items/${_lineItemId}/stock_transfers`,
|
|
80
|
-
params,
|
|
81
|
-
options
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
async attachments(lineItemId, params, options) {
|
|
85
|
-
const _lineItemId = lineItemId.id || lineItemId;
|
|
86
|
-
return this.resources.fetch(
|
|
87
|
-
{ type: "attachments" },
|
|
88
|
-
`line_items/${_lineItemId}/attachments`,
|
|
89
|
-
params,
|
|
90
|
-
options
|
|
91
|
-
);
|
|
92
|
-
}
|
|
93
|
-
async notifications(lineItemId, params, options) {
|
|
94
|
-
const _lineItemId = lineItemId.id || lineItemId;
|
|
95
|
-
return this.resources.fetch(
|
|
96
|
-
{ type: "notifications" },
|
|
97
|
-
`line_items/${_lineItemId}/notifications`,
|
|
98
|
-
params,
|
|
99
|
-
options
|
|
100
|
-
);
|
|
101
|
-
}
|
|
102
|
-
async events(lineItemId, params, options) {
|
|
103
|
-
const _lineItemId = lineItemId.id || lineItemId;
|
|
104
|
-
return this.resources.fetch(
|
|
105
|
-
{ type: "events" },
|
|
106
|
-
`line_items/${_lineItemId}/events`,
|
|
107
|
-
params,
|
|
108
|
-
options
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
|
-
async tags(lineItemId, params, options) {
|
|
112
|
-
const _lineItemId = lineItemId.id || lineItemId;
|
|
113
|
-
return this.resources.fetch(
|
|
114
|
-
{ type: "tags" },
|
|
115
|
-
`line_items/${_lineItemId}/tags`,
|
|
116
|
-
params,
|
|
117
|
-
options
|
|
118
|
-
);
|
|
119
|
-
}
|
|
120
|
-
async event_stores(lineItemId, params, options) {
|
|
121
|
-
const _lineItemId = lineItemId.id || lineItemId;
|
|
122
|
-
return this.resources.fetch(
|
|
123
|
-
{ type: "event_stores" },
|
|
124
|
-
`line_items/${_lineItemId}/event_stores`,
|
|
125
|
-
params,
|
|
126
|
-
options
|
|
127
|
-
);
|
|
128
|
-
}
|
|
129
|
-
async _external_price(id, params, options) {
|
|
130
|
-
return this.resources.update(
|
|
131
|
-
{ id: typeof id === "string" ? id : id.id, type: _LineItems.TYPE, _external_price: true },
|
|
132
|
-
params,
|
|
133
|
-
options
|
|
134
|
-
);
|
|
135
|
-
}
|
|
136
|
-
async _reserve_stock(id, params, options) {
|
|
137
|
-
return this.resources.update(
|
|
138
|
-
{ id: typeof id === "string" ? id : id.id, type: _LineItems.TYPE, _reserve_stock: true },
|
|
139
|
-
params,
|
|
140
|
-
options
|
|
141
|
-
);
|
|
142
|
-
}
|
|
143
|
-
async _reset_restocked_quantity(id, params, options) {
|
|
144
|
-
return this.resources.update(
|
|
145
|
-
{ id: typeof id === "string" ? id : id.id, type: _LineItems.TYPE, _reset_restocked_quantity: true },
|
|
146
|
-
params,
|
|
147
|
-
options
|
|
148
|
-
);
|
|
149
|
-
}
|
|
150
|
-
async _reset_circuit(id, params, options) {
|
|
151
|
-
return this.resources.update(
|
|
152
|
-
{ id: typeof id === "string" ? id : id.id, type: _LineItems.TYPE, _reset_circuit: true },
|
|
153
|
-
params,
|
|
154
|
-
options
|
|
155
|
-
);
|
|
156
|
-
}
|
|
157
|
-
async _add_tags(id, triggerValue, params, options) {
|
|
158
|
-
return this.resources.update(
|
|
159
|
-
{ id: typeof id === "string" ? id : id.id, type: _LineItems.TYPE, _add_tags: triggerValue },
|
|
160
|
-
params,
|
|
161
|
-
options
|
|
162
|
-
);
|
|
163
|
-
}
|
|
164
|
-
async _remove_tags(id, triggerValue, params, options) {
|
|
165
|
-
return this.resources.update(
|
|
166
|
-
{ id: typeof id === "string" ? id : id.id, type: _LineItems.TYPE, _remove_tags: triggerValue },
|
|
167
|
-
params,
|
|
168
|
-
options
|
|
169
|
-
);
|
|
170
|
-
}
|
|
171
|
-
isLineItem(resource) {
|
|
172
|
-
return resource.type && resource.type === _LineItems.TYPE;
|
|
173
|
-
}
|
|
174
|
-
relationship(id) {
|
|
175
|
-
return super.relationshipOneToOne(id);
|
|
176
|
-
}
|
|
177
|
-
relationshipToMany(...ids) {
|
|
178
|
-
return super.relationshipOneToMany(...ids);
|
|
179
|
-
}
|
|
180
|
-
type() {
|
|
181
|
-
return _LineItems.TYPE;
|
|
182
|
-
}
|
|
183
|
-
};
|
|
184
|
-
var instance = new LineItems();
|
|
185
|
-
var line_items_default = instance;
|
|
186
|
-
|
|
187
|
-
export { line_items_default };
|
|
188
|
-
//# sourceMappingURL=chunk-NWT56B3X.js.map
|
|
189
|
-
//# sourceMappingURL=chunk-NWT56B3X.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../gen/resources/line_items.ts"],"names":[],"mappings":";;;AAqfA,IAAM,SAAA,GAAN,MAAM,UAAA,SAAkB,WAAA,CAAsB;AAAA,EAC5C,OAAgB,IAAA,GAAqB,YAAA;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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A,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,kBAAA,GAAQ","file":"chunk-NWT56B3X.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 { Adjustment, AdjustmentType } from './adjustments'\nimport type { Attachment } from './attachments'\nimport type { Bundle, BundleType } from './bundles'\nimport type { BuyXPayYPromotion, BuyXPayYPromotionType } from './buy_x_pay_y_promotions'\nimport type { DiscountEngineItem, DiscountEngineItemType } from './discount_engine_items'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { ExternalPromotion, ExternalPromotionType } from './external_promotions'\nimport type { FixedAmountPromotion, FixedAmountPromotionType } from './fixed_amount_promotions'\nimport type { FixedPricePromotion, FixedPricePromotionType } from './fixed_price_promotions'\nimport type { FlexPromotion, FlexPromotionType } from './flex_promotions'\nimport type { FreeGiftPromotion, FreeGiftPromotionType } from './free_gift_promotions'\nimport type { FreeShippingPromotion, FreeShippingPromotionType } from './free_shipping_promotions'\nimport type { GiftCard, GiftCardType } from './gift_cards'\nimport type { LineItemOption } from './line_item_options'\nimport type { Notification } from './notifications'\nimport type { Order, OrderType } from './orders'\nimport type { PaymentMethod, PaymentMethodType } from './payment_methods'\nimport type { PercentageDiscountPromotion, PercentageDiscountPromotionType } from './percentage_discount_promotions'\nimport type { ReturnLineItem } from './return_line_items'\nimport type { ShipmentLineItem } from './shipment_line_items'\nimport type { Shipment, ShipmentType } from './shipments'\nimport type { Sku, SkuType } from './skus'\nimport type { StockLineItem } from './stock_line_items'\nimport type { StockReservation } from './stock_reservations'\nimport type { StockTransfer } from './stock_transfers'\nimport type { Tag, TagType } from './tags'\n\ntype LineItemType = 'line_items'\ntype LineItemRel = ResourceRel & { type: LineItemType }\ntype OrderRel = ResourceRel & { type: OrderType }\ntype SkuRel = ResourceRel & { type: SkuType }\ntype BundleRel = ResourceRel & { type: BundleType }\ntype GiftCardRel = ResourceRel & { type: GiftCardType }\ntype ShipmentRel = ResourceRel & { type: ShipmentType }\ntype PaymentMethodRel = ResourceRel & { type: PaymentMethodType }\ntype AdjustmentRel = ResourceRel & { type: AdjustmentType }\ntype DiscountEngineItemRel = ResourceRel & { type: DiscountEngineItemType }\ntype PercentageDiscountPromotionRel = ResourceRel & { type: PercentageDiscountPromotionType }\ntype FreeShippingPromotionRel = ResourceRel & { type: FreeShippingPromotionType }\ntype BuyXPayYPromotionRel = ResourceRel & { type: BuyXPayYPromotionType }\ntype FreeGiftPromotionRel = ResourceRel & { type: FreeGiftPromotionType }\ntype FixedPricePromotionRel = ResourceRel & { type: FixedPricePromotionType }\ntype ExternalPromotionRel = ResourceRel & { type: ExternalPromotionType }\ntype FixedAmountPromotionRel = ResourceRel & { type: FixedAmountPromotionType }\ntype FlexPromotionRel = ResourceRel & { type: FlexPromotionType }\ntype TagRel = ResourceRel & { type: TagType }\n\nexport type LineItemSort = Pick<\n LineItem,\n | 'id'\n | 'currency_code'\n | 'unit_amount_cents'\n | 'compare_at_amount_cents'\n | 'options_amount_cents'\n | 'discount_cents'\n | 'total_amount_cents'\n | 'tax_amount_cents'\n | 'name'\n | 'item_type'\n | 'circuit_state'\n | 'circuit_failure_count'\n> &\n ResourceSort\n// export type LineItemFilter = Pick<LineItem, 'id' | 'sku_code' | 'quantity' | 'currency_code' | 'unit_amount_cents' | 'compare_at_amount_cents' | 'options_amount_cents' | 'discount_cents' | 'total_amount_cents' | 'tax_amount_cents' | 'name' | 'image_url' | 'item_type' | 'circuit_state' | 'circuit_failure_count'> & ResourceFilter\n\n/**\n * The Line item object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/line_items endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/line_items/object\n */\ninterface LineItem extends Resource {\n readonly type: LineItemType\n\n /**\n * The code of the associated SKU.\n * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n */\n sku_code?: string | null\n /**\n * The code of the associated bundle.\n * @example ```\"BUNDLEMM000000FFFFFFXLXX\"```\n */\n bundle_code?: string | null\n /**\n * The line item quantity.\n * @example ```4```\n */\n quantity: number\n /**\n * When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source. Any successive price computation will be done externally, until the attribute is reset to '0'.\n * @example ```true```\n */\n _external_price?: boolean | null\n /**\n * The international 3-letter currency code as defined by the ISO 4217 standard, automatically inherited from the order's market.\n * @example ```\"EUR\"```\n */\n currency_code?: string | null\n /**\n * The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.\n * @example ```10000```\n */\n unit_amount_cents?: number | null\n /**\n * The unit amount of the line item, float. This can be useful to track the purchase on thrid party systems, e.g Google Analyitcs Enhanced Ecommerce.\n * @example ```100```\n */\n unit_amount_float?: number | null\n /**\n * The unit amount of the line item, formatted. This can be useful to display the amount with currency in you views.\n * @example ```\"€100,00\"```\n */\n formatted_unit_amount?: string | null\n /**\n * The compared price amount, in cents. Useful to display a percentage discount.\n * @example ```13000```\n */\n compare_at_amount_cents?: number | null\n /**\n * The compared price amount, float.\n * @example ```130```\n */\n compare_at_amount_float?: number | null\n /**\n * The compared price amount, formatted.\n * @example ```\"€130,00\"```\n */\n formatted_compare_at_amount?: string | null\n /**\n * The options amount of the line item, in cents. Cannot be passed by sales channels.\n * @example ```1000```\n */\n options_amount_cents?: number | null\n /**\n * The options amount of the line item, float.\n * @example ```10```\n */\n options_amount_float?: number | null\n /**\n * The options amount of the line item, formatted.\n * @example ```\"€10,00\"```\n */\n formatted_options_amount?: string | null\n /**\n * The discount applied to the line item, in cents. When you apply a discount to an order, this is automatically calculated basing on the line item total_amount_cents value.\n * @example ```-1000```\n */\n discount_cents?: number | null\n /**\n * The discount applied to the line item, float. When you apply a discount to an order, this is automatically calculated basing on the line item total_amount_cents value.\n * @example ```10```\n */\n discount_float?: number | null\n /**\n * The discount applied to the line item, fromatted. When you apply a discount to an order, this is automatically calculated basing on the line item total_amount_cents value.\n * @example ```\"€10,00\"```\n */\n formatted_discount?: string | null\n /**\n * Calculated as unit amount x quantity + options amount, in cents.\n * @example ```18800```\n */\n total_amount_cents?: number | null\n /**\n * Calculated as unit amount x quantity + options amount, float. This can be useful to track the purchase on thrid party systems, e.g Google Analyitcs Enhanced Ecommerce.\n * @example ```188```\n */\n total_amount_float: number\n /**\n * Calculated as unit amount x quantity + options amount, formatted. This can be useful to display the amount with currency in you views.\n * @example ```\"€188,00\"```\n */\n formatted_total_amount?: string | null\n /**\n * The collected tax amount, otherwise calculated as total amount cents - discount cent * tax rate, in cents.\n * @example ```1880```\n */\n tax_amount_cents?: number | null\n /**\n * The collected tax amount, otherwise calculated as total amount cents - discount cent * tax rate, float.\n * @example ```18.8```\n */\n tax_amount_float: number\n /**\n * The collected tax amount, otherwise calculated as total amount cents - discount cent * tax rate, formatted.\n * @example ```\"€18,80\"```\n */\n formatted_tax_amount?: string | null\n /**\n * The name of the line item. When blank, it gets populated with the name of the associated item (if present).\n * @example ```\"Men's Black T-shirt with White Logo (XL)\"```\n */\n name?: string | null\n /**\n * The image_url of the line item. When blank, it gets populated with the image_url of the associated item (if present, SKU only).\n * @example ```\"https://img.yourdomain.com/skus/xYZkjABcde.png\"```\n */\n image_url?: string | null\n /**\n * The discount breakdown for this line item (if calculated).\n * @example ```{\"41\":{\"name\":\"10% ALL\",\"cents\":-900,\"weight\":0.416,\"coupon_code\":\"XXXXXXXX\"}}```\n */\n discount_breakdown?: Record<string, any> | null\n /**\n * The tax rate for this line item (if calculated).\n * @example ```0.22```\n */\n tax_rate?: number | null\n /**\n * The tax breakdown for this line item (if calculated).\n * @example ```{\"id\":\"1234\",\"city_amount\":\"0.0\",\"state_amount\":6.6,\"city_tax_rate\":0,\"county_amount\":2.78,\"taxable_amount\":139,\"county_tax_rate\":0.02,\"tax_collectable\":10.08,\"special_tax_rate\":0.005,\"combined_tax_rate\":0.0725,\"city_taxable_amount\":0,\"state_sales_tax_rate\":0.0475,\"state_taxable_amount\":139,\"county_taxable_amount\":139,\"special_district_amount\":0.7,\"special_district_taxable_amount\":139}```\n */\n tax_breakdown?: Record<string, any> | null\n /**\n * The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'discount_engine_items', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'.\n * @example ```\"skus\"```\n */\n item_type?:\n | 'skus'\n | 'bundles'\n | 'gift_cards'\n | 'shipments'\n | 'payment_methods'\n | 'adjustments'\n | 'discount_engine_items'\n | 'percentage_discount_promotions'\n | 'free_shipping_promotions'\n | 'buy_x_pay_y_promotions'\n | 'free_gift_promotions'\n | 'fixed_price_promotions'\n | 'external_promotions'\n | 'fixed_amount_promotions'\n | 'flex_promotions'\n | null\n /**\n * The frequency which generates a subscription. Must be supported by existing associated subscription_model.\n * @example ```\"monthly\"```\n */\n frequency?: string | null\n /**\n * The coupon code, if any, used to trigger this promotion line item. null for other line item types or if the promotion line item wasn't triggered by a coupon.\n * @example ```\"SUMMERDISCOUNT\"```\n */\n coupon_code?: string | null\n /**\n * The rule outcomes.\n * @example ```[]```\n */\n rule_outcomes?: Record<string, any> | 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 order?: Order | null\n item?:\n | Sku\n | Bundle\n | GiftCard\n | Shipment\n | PaymentMethod\n | Adjustment\n | DiscountEngineItem\n | PercentageDiscountPromotion\n | FreeShippingPromotion\n | BuyXPayYPromotion\n | FreeGiftPromotion\n | FixedPricePromotion\n | ExternalPromotion\n | FixedAmountPromotion\n | FlexPromotion\n | null\n sku?: Sku | null\n bundle?: Bundle | null\n adjustment?: Adjustment | null\n gift_card?: GiftCard | null\n shipment?: Shipment | null\n /**\n * @deprecated Deprecated in API version 2026-05.\n */\n payment_method?: PaymentMethod | null\n line_item_options?: LineItemOption[] | null\n /**\n * @deprecated Deprecated in API version 2026-05.\n */\n return_line_items?: ReturnLineItem[] | null\n /**\n * @deprecated Deprecated in API version 2026-05.\n */\n shipment_line_items?: ShipmentLineItem[] | null\n stock_reservations?: StockReservation[] | null\n stock_line_items?: StockLineItem[] | null\n stock_transfers?: StockTransfer[] | null\n attachments?: Attachment[] | null\n notifications?: Notification[] | null\n events?: Event[] | null\n tags?: Tag[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface LineItemCreate extends ResourceCreate {\n /**\n * The code of the associated SKU.\n * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n */\n sku_code?: string | null\n /**\n * The code of the associated bundle.\n * @example ```\"BUNDLEMM000000FFFFFFXLXX\"```\n */\n bundle_code?: string | null\n /**\n * The line item quantity.\n * @example ```4```\n */\n quantity: number\n /**\n * When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source. Any successive price computation will be done externally, until the attribute is reset to '0'.\n * @example ```true```\n */\n _external_price?: boolean | null\n /**\n * When creating a new line item, set this attribute to '1' if you want to update the line item quantity (if present) instead of creating a new line item for the same SKU.\n * @example ```true```\n */\n _update_quantity?: boolean | null\n /**\n * Send this attribute if you want to reserve the stock for the line item's SKUs quantity. Stock reservations expiration depends on the inventory model's cutoff. When used on update the existing active stock reservations are renewed. Cannot be passed by sales channels.\n * @example ```true```\n */\n _reserve_stock?: boolean | null\n /**\n * Send this attribute if you want to reset the quantity restocked by a return or by an order/shipment cancel. This will allow for multiple returns, albeit you need to adjust the stock manually. Cannot be passed by sales channels.\n * @example ```true```\n */\n _reset_restocked_quantity?: boolean | null\n /**\n * The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.\n * @example ```10000```\n */\n unit_amount_cents?: number | null\n /**\n * The compared price amount, in cents. Useful to display a percentage discount.\n * @example ```13000```\n */\n compare_at_amount_cents?: number | null\n /**\n * The name of the line item. When blank, it gets populated with the name of the associated item (if present).\n * @example ```\"Men's Black T-shirt with White Logo (XL)\"```\n */\n name?: string | null\n /**\n * The image_url of the line item. When blank, it gets populated with the image_url of the associated item (if present, SKU only).\n * @example ```\"https://img.yourdomain.com/skus/xYZkjABcde.png\"```\n */\n image_url?: string | null\n /**\n * The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'discount_engine_items', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'.\n * @example ```\"skus\"```\n */\n item_type?:\n | 'skus'\n | 'bundles'\n | 'gift_cards'\n | 'shipments'\n | 'payment_methods'\n | 'adjustments'\n | 'discount_engine_items'\n | 'percentage_discount_promotions'\n | 'free_shipping_promotions'\n | 'buy_x_pay_y_promotions'\n | 'free_gift_promotions'\n | 'fixed_price_promotions'\n | 'external_promotions'\n | 'fixed_amount_promotions'\n | 'flex_promotions'\n | null\n /**\n * The frequency which generates a subscription. Must be supported by existing associated subscription_model.\n * @example ```\"monthly\"```\n */\n frequency?: string | null\n\n order: OrderRel\n item?:\n | SkuRel\n | BundleRel\n | GiftCardRel\n | ShipmentRel\n | PaymentMethodRel\n | AdjustmentRel\n | DiscountEngineItemRel\n | PercentageDiscountPromotionRel\n | FreeShippingPromotionRel\n | BuyXPayYPromotionRel\n | FreeGiftPromotionRel\n | FixedPricePromotionRel\n | ExternalPromotionRel\n | FixedAmountPromotionRel\n | FlexPromotionRel\n | null\n tags?: TagRel[] | null\n}\n\ninterface LineItemUpdate extends ResourceUpdate {\n /**\n * The code of the associated SKU.\n * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n */\n sku_code?: string | null\n /**\n * The code of the associated bundle.\n * @example ```\"BUNDLEMM000000FFFFFFXLXX\"```\n */\n bundle_code?: string | null\n /**\n * The line item quantity.\n * @example ```4```\n */\n quantity?: number | null\n /**\n * When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source. Any successive price computation will be done externally, until the attribute is reset to '0'.\n * @example ```true```\n */\n _external_price?: boolean | null\n /**\n * Send this attribute if you want to reserve the stock for the line item's SKUs quantity. Stock reservations expiration depends on the inventory model's cutoff. When used on update the existing active stock reservations are renewed. Cannot be passed by sales channels.\n * @example ```true```\n */\n _reserve_stock?: boolean | null\n /**\n * Send this attribute if you want to reset the quantity restocked by a return or by an order/shipment cancel. This will allow for multiple returns, albeit you need to adjust the stock manually. Cannot be passed by sales channels.\n * @example ```true```\n */\n _reset_restocked_quantity?: boolean | null\n /**\n * The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.\n * @example ```10000```\n */\n unit_amount_cents?: number | null\n /**\n * The compared price amount, in cents. Useful to display a percentage discount.\n * @example ```13000```\n */\n compare_at_amount_cents?: number | null\n /**\n * The options amount of the line item, in cents. Cannot be passed by sales channels.\n * @example ```1000```\n */\n options_amount_cents?: number | null\n /**\n * The name of the line item. When blank, it gets populated with the name of the associated item (if present).\n * @example ```\"Men's Black T-shirt with White Logo (XL)\"```\n */\n name?: string | null\n /**\n * The image_url of the line item. When blank, it gets populated with the image_url of the associated item (if present, SKU only).\n * @example ```\"https://img.yourdomain.com/skus/xYZkjABcde.png\"```\n */\n image_url?: string | null\n /**\n * The frequency which generates a subscription. Must be supported by existing associated subscription_model.\n * @example ```\"monthly\"```\n */\n frequency?: string | 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 * 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 tags?: TagRel[] | null\n}\n\nclass LineItems extends ApiResource<LineItem> {\n static readonly TYPE: LineItemType = 'line_items' as const\n\n async create(\n resource: LineItemCreate,\n params?: QueryParamsRetrieve<LineItem>,\n options?: ResourcesConfig,\n ): Promise<LineItem> {\n return this.resources.create<LineItemCreate, LineItem>({ ...resource, type: LineItems.TYPE }, params, options)\n }\n\n async update(\n resource: LineItemUpdate,\n params?: QueryParamsRetrieve<LineItem>,\n options?: ResourcesConfig,\n ): Promise<LineItem> {\n return this.resources.update<LineItemUpdate, LineItem>({ ...resource, type: LineItems.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: LineItems.TYPE } : id, options)\n }\n\n async order(\n lineItemId: string | LineItem,\n params?: QueryParamsRetrieve<Order>,\n options?: ResourcesConfig,\n ): Promise<Order> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<Order>(\n { type: 'orders' },\n `line_items/${_lineItemId}/order`,\n params,\n options,\n ) as unknown as Order\n }\n\n async line_item_options(\n lineItemId: string | LineItem,\n params?: QueryParamsList<LineItemOption>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<LineItemOption>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<LineItemOption>(\n { type: 'line_item_options' },\n `line_items/${_lineItemId}/line_item_options`,\n params,\n options,\n ) as unknown as ListResponse<LineItemOption>\n }\n\n /**\n * @deprecated Deprecated in API version 2026-05.\n */\n async return_line_items(\n lineItemId: string | LineItem,\n params?: QueryParamsList<ReturnLineItem>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<ReturnLineItem>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<ReturnLineItem>(\n { type: 'return_line_items' },\n `line_items/${_lineItemId}/return_line_items`,\n params,\n options,\n ) as unknown as ListResponse<ReturnLineItem>\n }\n\n /**\n * @deprecated Deprecated in API version 2026-05.\n */\n async shipment_line_items(\n lineItemId: string | LineItem,\n params?: QueryParamsList<ShipmentLineItem>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<ShipmentLineItem>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<ShipmentLineItem>(\n { type: 'shipment_line_items' },\n `line_items/${_lineItemId}/shipment_line_items`,\n params,\n options,\n ) as unknown as ListResponse<ShipmentLineItem>\n }\n\n async stock_reservations(\n lineItemId: string | LineItem,\n params?: QueryParamsList<StockReservation>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<StockReservation>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<StockReservation>(\n { type: 'stock_reservations' },\n `line_items/${_lineItemId}/stock_reservations`,\n params,\n options,\n ) as unknown as ListResponse<StockReservation>\n }\n\n async stock_line_items(\n lineItemId: string | LineItem,\n params?: QueryParamsList<StockLineItem>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<StockLineItem>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<StockLineItem>(\n { type: 'stock_line_items' },\n `line_items/${_lineItemId}/stock_line_items`,\n params,\n options,\n ) as unknown as ListResponse<StockLineItem>\n }\n\n async stock_transfers(\n lineItemId: string | LineItem,\n params?: QueryParamsList<StockTransfer>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<StockTransfer>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<StockTransfer>(\n { type: 'stock_transfers' },\n `line_items/${_lineItemId}/stock_transfers`,\n params,\n options,\n ) as unknown as ListResponse<StockTransfer>\n }\n\n async attachments(\n lineItemId: string | LineItem,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `line_items/${_lineItemId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async notifications(\n lineItemId: string | LineItem,\n params?: QueryParamsList<Notification>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Notification>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<Notification>(\n { type: 'notifications' },\n `line_items/${_lineItemId}/notifications`,\n params,\n options,\n ) as unknown as ListResponse<Notification>\n }\n\n async events(\n lineItemId: string | LineItem,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `line_items/${_lineItemId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async tags(\n lineItemId: string | LineItem,\n params?: QueryParamsList<Tag>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Tag>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<Tag>(\n { type: 'tags' },\n `line_items/${_lineItemId}/tags`,\n params,\n options,\n ) as unknown as ListResponse<Tag>\n }\n\n async event_stores(\n lineItemId: string | LineItem,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _lineItemId = (lineItemId as LineItem).id || (lineItemId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `line_items/${_lineItemId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _external_price(\n id: string | LineItem,\n params?: QueryParamsRetrieve<LineItem>,\n options?: ResourcesConfig,\n ): Promise<LineItem> {\n return this.resources.update<LineItemUpdate, LineItem>(\n { id: typeof id === 'string' ? id : id.id, type: LineItems.TYPE, _external_price: true },\n params,\n options,\n )\n }\n\n async _reserve_stock(\n id: string | LineItem,\n params?: QueryParamsRetrieve<LineItem>,\n options?: ResourcesConfig,\n ): Promise<LineItem> {\n return this.resources.update<LineItemUpdate, LineItem>(\n { id: typeof id === 'string' ? id : id.id, type: LineItems.TYPE, _reserve_stock: true },\n params,\n options,\n )\n }\n\n async _reset_restocked_quantity(\n id: string | LineItem,\n params?: QueryParamsRetrieve<LineItem>,\n options?: ResourcesConfig,\n ): Promise<LineItem> {\n return this.resources.update<LineItemUpdate, LineItem>(\n { id: typeof id === 'string' ? id : id.id, type: LineItems.TYPE, _reset_restocked_quantity: true },\n params,\n options,\n )\n }\n\n async _reset_circuit(\n id: string | LineItem,\n params?: QueryParamsRetrieve<LineItem>,\n options?: ResourcesConfig,\n ): Promise<LineItem> {\n return this.resources.update<LineItemUpdate, LineItem>(\n { id: typeof id === 'string' ? id : id.id, type: LineItems.TYPE, _reset_circuit: true },\n params,\n options,\n )\n }\n\n async _add_tags(\n id: string | LineItem,\n triggerValue: string,\n params?: QueryParamsRetrieve<LineItem>,\n options?: ResourcesConfig,\n ): Promise<LineItem> {\n return this.resources.update<LineItemUpdate, LineItem>(\n { id: typeof id === 'string' ? id : id.id, type: LineItems.TYPE, _add_tags: triggerValue },\n params,\n options,\n )\n }\n\n async _remove_tags(\n id: string | LineItem,\n triggerValue: string,\n params?: QueryParamsRetrieve<LineItem>,\n options?: ResourcesConfig,\n ): Promise<LineItem> {\n return this.resources.update<LineItemUpdate, LineItem>(\n { id: typeof id === 'string' ? id : id.id, type: LineItems.TYPE, _remove_tags: triggerValue },\n params,\n options,\n )\n }\n\n isLineItem(resource: any): resource is LineItem {\n return resource.type && resource.type === LineItems.TYPE\n }\n\n relationship(id: string | ResourceId | null): LineItemRel {\n return super.relationshipOneToOne<LineItemRel>(id)\n }\n\n relationshipToMany(...ids: string[]): LineItemRel[] {\n return super.relationshipOneToMany<LineItemRel>(...ids)\n }\n\n type(): LineItemType {\n return LineItems.TYPE\n }\n}\n\nconst instance = new LineItems()\nexport default instance\n\nexport type { LineItem, LineItemCreate, LineItems, LineItemType, LineItemUpdate }\n"]}
|
package/lib/chunk-NYMOYXJ5.js
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-GOYTSKMO.js';
|
|
2
|
-
|
|
3
|
-
// gen/resources/billing_info_validation_rules.ts
|
|
4
|
-
var BillingInfoValidationRules = class _BillingInfoValidationRules extends ApiResource {
|
|
5
|
-
static TYPE = "billing_info_validation_rules";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create(
|
|
8
|
-
{ ...resource, type: _BillingInfoValidationRules.TYPE },
|
|
9
|
-
params,
|
|
10
|
-
options
|
|
11
|
-
);
|
|
12
|
-
}
|
|
13
|
-
async update(resource, params, options) {
|
|
14
|
-
return this.resources.update(
|
|
15
|
-
{ ...resource, type: _BillingInfoValidationRules.TYPE },
|
|
16
|
-
params,
|
|
17
|
-
options
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
async delete(id, options) {
|
|
21
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _BillingInfoValidationRules.TYPE } : id, options);
|
|
22
|
-
}
|
|
23
|
-
async market(billingInfoValidationRuleId, params, options) {
|
|
24
|
-
const _billingInfoValidationRuleId = billingInfoValidationRuleId.id || billingInfoValidationRuleId;
|
|
25
|
-
return this.resources.fetch(
|
|
26
|
-
{ type: "markets" },
|
|
27
|
-
`billing_info_validation_rules/${_billingInfoValidationRuleId}/market`,
|
|
28
|
-
params,
|
|
29
|
-
options
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
async attachments(billingInfoValidationRuleId, params, options) {
|
|
33
|
-
const _billingInfoValidationRuleId = billingInfoValidationRuleId.id || billingInfoValidationRuleId;
|
|
34
|
-
return this.resources.fetch(
|
|
35
|
-
{ type: "attachments" },
|
|
36
|
-
`billing_info_validation_rules/${_billingInfoValidationRuleId}/attachments`,
|
|
37
|
-
params,
|
|
38
|
-
options
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
async event_stores(billingInfoValidationRuleId, params, options) {
|
|
42
|
-
const _billingInfoValidationRuleId = billingInfoValidationRuleId.id || billingInfoValidationRuleId;
|
|
43
|
-
return this.resources.fetch(
|
|
44
|
-
{ type: "event_stores" },
|
|
45
|
-
`billing_info_validation_rules/${_billingInfoValidationRuleId}/event_stores`,
|
|
46
|
-
params,
|
|
47
|
-
options
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
isBillingInfoValidationRule(resource) {
|
|
51
|
-
return resource.type && resource.type === _BillingInfoValidationRules.TYPE;
|
|
52
|
-
}
|
|
53
|
-
relationship(id) {
|
|
54
|
-
return super.relationshipOneToOne(id);
|
|
55
|
-
}
|
|
56
|
-
relationshipToMany(...ids) {
|
|
57
|
-
return super.relationshipOneToMany(...ids);
|
|
58
|
-
}
|
|
59
|
-
type() {
|
|
60
|
-
return _BillingInfoValidationRules.TYPE;
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
var instance = new BillingInfoValidationRules();
|
|
64
|
-
var billing_info_validation_rules_default = instance;
|
|
65
|
-
|
|
66
|
-
export { billing_info_validation_rules_default };
|
|
67
|
-
//# sourceMappingURL=chunk-NYMOYXJ5.js.map
|
|
68
|
-
//# sourceMappingURL=chunk-NYMOYXJ5.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../gen/resources/billing_info_validation_rules.ts"],"names":[],"mappings":";;;AA8CA,IAAM,0BAAA,G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AA,MACpB,EAAE,MAAM,aAAA,EAAc;AAAA,MACtB,iCAAiC,4BAA4B,CAAA,YAAA,CAAA;AAAA,MAC7D,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,YAAA,CACJ,2BAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,4BAAA,GACH,4BAA0D,EAAA,IAAO,2BAAA;AACpE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,iCAAiC,4BAA4B,CAAA,aAAA,CAAA;AAAA,MAC7D,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,4BAA4B,QAAA,EAAsD;AAChF,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,2BAAA,CAA2B,IAAA;AAAA,EACvE;AAAA,EAEA,aAAa,EAAA,EAA8D;AACzE,IAAA,OAAO,KAAA,CAAM,qBAAmD,EAAE,CAAA;AAAA,EACpE;AAAA,EAEA,sBAAsB,GAAA,EAA+C;AACnE,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAoD,GAAG,GAAG,CAAA;AAAA,EACzE;AAAA,EAEA,IAAA,GAAsC;AACpC,IAAA,OAAO,2BAAA,CAA2B,IAAA;AAAA,EACpC;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,0BAAA,EAA2B;AAChD,IAAO,qCAAA,GAAQ","file":"chunk-NYMOYXJ5.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Market, MarketType } from './markets'\n\ntype BillingInfoValidationRuleType = 'billing_info_validation_rules'\ntype BillingInfoValidationRuleRel = ResourceRel & { type: BillingInfoValidationRuleType }\ntype MarketRel = ResourceRel & { type: MarketType }\n\nexport type BillingInfoValidationRuleSort = Pick<BillingInfoValidationRule, 'id'> & ResourceSort\n// export type BillingInfoValidationRuleFilter = Pick<BillingInfoValidationRule, 'id'> & ResourceFilter\n\n/**\n * The Billing info validation rule object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/billing_info_validation_rules endpoint.\n *\n * @deprecated Deprecated in API version 2026-05.\n * @link https://docs.commercelayer.io/core-api-reference/billing_info_validation_rules/object\n */\ninterface BillingInfoValidationRule extends Resource {\n readonly type: BillingInfoValidationRuleType\n\n market?: Market | null\n attachments?: Attachment[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface BillingInfoValidationRuleCreate extends ResourceCreate {\n market: MarketRel\n}\n\ninterface BillingInfoValidationRuleUpdate extends ResourceUpdate {\n market?: MarketRel | null\n}\n\n/** @deprecated Deprecated in API version 2026-05. */\nclass BillingInfoValidationRules extends ApiResource<BillingInfoValidationRule> {\n static readonly TYPE: BillingInfoValidationRuleType = 'billing_info_validation_rules' as const\n\n async create(\n resource: BillingInfoValidationRuleCreate,\n params?: QueryParamsRetrieve<BillingInfoValidationRule>,\n options?: ResourcesConfig,\n ): Promise<BillingInfoValidationRule> {\n return this.resources.create<BillingInfoValidationRuleCreate, BillingInfoValidationRule>(\n { ...resource, type: BillingInfoValidationRules.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: BillingInfoValidationRuleUpdate,\n params?: QueryParamsRetrieve<BillingInfoValidationRule>,\n options?: ResourcesConfig,\n ): Promise<BillingInfoValidationRule> {\n return this.resources.update<BillingInfoValidationRuleUpdate, BillingInfoValidationRule>(\n { ...resource, type: BillingInfoValidationRules.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: BillingInfoValidationRules.TYPE } : id, options)\n }\n\n async market(\n billingInfoValidationRuleId: string | BillingInfoValidationRule,\n params?: QueryParamsRetrieve<Market>,\n options?: ResourcesConfig,\n ): Promise<Market> {\n const _billingInfoValidationRuleId =\n (billingInfoValidationRuleId as BillingInfoValidationRule).id || (billingInfoValidationRuleId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `billing_info_validation_rules/${_billingInfoValidationRuleId}/market`,\n params,\n options,\n ) as unknown as Market\n }\n\n async attachments(\n billingInfoValidationRuleId: string | BillingInfoValidationRule,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _billingInfoValidationRuleId =\n (billingInfoValidationRuleId as BillingInfoValidationRule).id || (billingInfoValidationRuleId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `billing_info_validation_rules/${_billingInfoValidationRuleId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async event_stores(\n billingInfoValidationRuleId: string | BillingInfoValidationRule,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _billingInfoValidationRuleId =\n (billingInfoValidationRuleId as BillingInfoValidationRule).id || (billingInfoValidationRuleId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `billing_info_validation_rules/${_billingInfoValidationRuleId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isBillingInfoValidationRule(resource: any): resource is BillingInfoValidationRule {\n return resource.type && resource.type === BillingInfoValidationRules.TYPE\n }\n\n relationship(id: string | ResourceId | null): BillingInfoValidationRuleRel {\n return super.relationshipOneToOne<BillingInfoValidationRuleRel>(id)\n }\n\n relationshipToMany(...ids: string[]): BillingInfoValidationRuleRel[] {\n return super.relationshipOneToMany<BillingInfoValidationRuleRel>(...ids)\n }\n\n type(): BillingInfoValidationRuleType {\n return BillingInfoValidationRules.TYPE\n }\n}\n\nconst instance = new BillingInfoValidationRules()\nexport default instance\n\nexport type {\n BillingInfoValidationRule,\n BillingInfoValidationRuleCreate,\n BillingInfoValidationRules,\n BillingInfoValidationRuleType,\n BillingInfoValidationRuleUpdate,\n}\n"]}
|
package/lib/chunk-NZPX7LLM.js
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-GOYTSKMO.js';
|
|
2
|
-
|
|
3
|
-
// gen/resources/links.ts
|
|
4
|
-
var Links = class _Links extends ApiResource {
|
|
5
|
-
static TYPE = "links";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create({ ...resource, type: _Links.TYPE }, params, options);
|
|
8
|
-
}
|
|
9
|
-
async update(resource, params, options) {
|
|
10
|
-
return this.resources.update({ ...resource, type: _Links.TYPE }, params, options);
|
|
11
|
-
}
|
|
12
|
-
async delete(id, options) {
|
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _Links.TYPE } : id, options);
|
|
14
|
-
}
|
|
15
|
-
async events(linkId, params, options) {
|
|
16
|
-
const _linkId = linkId.id || linkId;
|
|
17
|
-
return this.resources.fetch(
|
|
18
|
-
{ type: "events" },
|
|
19
|
-
`links/${_linkId}/events`,
|
|
20
|
-
params,
|
|
21
|
-
options
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
async event_stores(linkId, params, options) {
|
|
25
|
-
const _linkId = linkId.id || linkId;
|
|
26
|
-
return this.resources.fetch(
|
|
27
|
-
{ type: "event_stores" },
|
|
28
|
-
`links/${_linkId}/event_stores`,
|
|
29
|
-
params,
|
|
30
|
-
options
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
async _disable(id, params, options) {
|
|
34
|
-
return this.resources.update(
|
|
35
|
-
{ id: typeof id === "string" ? id : id.id, type: _Links.TYPE, _disable: true },
|
|
36
|
-
params,
|
|
37
|
-
options
|
|
38
|
-
);
|
|
39
|
-
}
|
|
40
|
-
async _enable(id, params, options) {
|
|
41
|
-
return this.resources.update(
|
|
42
|
-
{ id: typeof id === "string" ? id : id.id, type: _Links.TYPE, _enable: true },
|
|
43
|
-
params,
|
|
44
|
-
options
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
isLink(resource) {
|
|
48
|
-
return resource.type && resource.type === _Links.TYPE;
|
|
49
|
-
}
|
|
50
|
-
relationship(id) {
|
|
51
|
-
return super.relationshipOneToOne(id);
|
|
52
|
-
}
|
|
53
|
-
relationshipToMany(...ids) {
|
|
54
|
-
return super.relationshipOneToMany(...ids);
|
|
55
|
-
}
|
|
56
|
-
type() {
|
|
57
|
-
return _Links.TYPE;
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
var instance = new Links();
|
|
61
|
-
var links_default = instance;
|
|
62
|
-
|
|
63
|
-
export { links_default };
|
|
64
|
-
//# sourceMappingURL=chunk-NZPX7LLM.js.map
|
|
65
|
-
//# sourceMappingURL=chunk-NZPX7LLM.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../gen/resources/links.ts"],"names":[],"mappings":";;;AA+MA,IAAM,KAAA,GAAN,MAAM,MAAA,SAAc,WAAA,CAAkB;AAAA,EACpC,OAAgB,IAAA,GAAiB,OAAA;AAAA,EAEjC,MAAM,MAAA,CAAO,QAAA,EAAsB,MAAA,EAAoC,OAAA,EAA0C;AAC/G,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAyB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,MAAA,CAAM,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACnG;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAsB,MAAA,EAAoC,OAAA,EAA0C;AAC/G,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAyB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,MAAA,CAAM,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACnG;AAAA,EAEA,MAAM,MAAA,CAAO,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,EAAE,EAAA,EAAI,OAAO,EAAA,KAAO,QAAA,GAAW,EAAA,GAAK,EAAA,CAAG,EAAA,EAAI,IAAA,EAAM,MAAA,CAAM,IAAA,EAAM,OAAA,EAAS,IAAA,EAAK;AAAA,MAC3E,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,OAAO,QAAA,EAAiC;AACtC,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,MAAA,CAAM,IAAA;AAAA,EAClD;AAAA,EAEA,aAAa,EAAA,EAAyC;AACpD,IAAA,OAAO,KAAA,CAAM,qBAA8B,EAAE,CAAA;AAAA,EAC/C;AAAA,EAEA,sBAAsB,GAAA,EAA0B;AAC9C,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA+B,GAAG,GAAG,CAAA;AAAA,EACpD;AAAA,EAEA,IAAA,GAAiB;AACf,IAAA,OAAO,MAAA,CAAM,IAAA;AAAA,EACf;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,KAAA,EAAM;AAC3B,IAAO,aAAA,GAAQ","file":"chunk-NZPX7LLM.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Order, OrderType } from './orders'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Sku, SkuType } from './skus'\n\ntype LinkType = 'links'\ntype LinkRel = ResourceRel & { type: LinkType }\ntype OrderRel = ResourceRel & { type: OrderType }\ntype SkuRel = ResourceRel & { type: SkuType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\n\nexport type LinkSort = Pick<Link, 'id' | 'name' | 'starts_at' | 'expires_at' | 'item_type' | 'disabled_at'> &\n ResourceSort\n// export type LinkFilter = Pick<Link, 'id' | 'name' | 'client_id' | 'scope' | 'starts_at' | 'expires_at' | 'item_type' | 'params' | 'disabled_at'> & ResourceFilter\n\n/**\n * The Link object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/links endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/links/object\n */\ninterface Link extends Resource {\n readonly type: LinkType\n\n /**\n * The link internal name.\n * @example ```\"FW SALE 2023\"```\n */\n name: string\n /**\n * The link application client id, used to fetch JWT.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n client_id: string\n /**\n * The link application scope, used to fetch JWT.\n * @example ```\"market:id:GhvCxsElAQ,market:id:kJhgVcxZDr\"```\n */\n scope: string\n /**\n * The activation date/time of this link.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at?: string | null\n /**\n * The expiration date/time of this link (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at?: string | null\n /**\n * Indicates if the link is active (enabled and not expired).\n * @example ```true```\n */\n active?: boolean | null\n /**\n * The link status. One of 'disabled', 'expired', 'pending', or 'active'.\n * @example ```\"pending\"```\n */\n status?: 'disabled' | 'expired' | 'pending' | 'active' | null\n /**\n * The link URL second level domain.\n * @example ```\"commercelayer.link\"```\n */\n domain?: string | null\n /**\n * The link URL.\n * @example ```\"https://commercelayer.link/ZXUtd2VzdC0xLzE5ZjBlMGVlLTg4OGMtNDQ1Yi1iYTA0LTg3MTUxY2FjZjFmYQ\"```\n */\n url?: string | null\n /**\n * The type of the associated item. One of 'orders', 'skus', or 'sku_lists'.\n * @example ```\"orders\"```\n */\n item_type?: 'orders' | 'skus' | 'sku_lists' | null\n /**\n * The link params to be passed in URL the query string.\n * @example ```{\"param1\":\"ABC\",\"param2\":\"XYZ\"}```\n */\n params?: Record<string, any> | 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 item?: Order | Sku | SkuList | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface LinkCreate extends ResourceCreate {\n /**\n * The link internal name.\n * @example ```\"FW SALE 2023\"```\n */\n name: string\n /**\n * The link application client id, used to fetch JWT.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n client_id: string\n /**\n * The link application scope, used to fetch JWT.\n * @example ```\"market:id:GhvCxsElAQ,market:id:kJhgVcxZDr\"```\n */\n scope: string\n /**\n * The activation date/time of this link.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at?: string | null\n /**\n * The expiration date/time of this link (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at?: string | null\n /**\n * The link URL second level domain.\n * @example ```\"commercelayer.link\"```\n */\n domain?: string | null\n /**\n * The type of the associated item. One of 'orders', 'skus', or 'sku_lists'.\n * @example ```\"orders\"```\n */\n item_type?: 'orders' | 'skus' | 'sku_lists' | null\n /**\n * The link params to be passed in URL the query string.\n * @example ```{\"param1\":\"ABC\",\"param2\":\"XYZ\"}```\n */\n params?: Record<string, any> | 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 item: OrderRel | SkuRel | SkuListRel\n}\n\ninterface LinkUpdate extends ResourceUpdate {\n /**\n * The link internal name.\n * @example ```\"FW SALE 2023\"```\n */\n name?: string | null\n /**\n * The link application client id, used to fetch JWT.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n client_id?: string | null\n /**\n * The link application scope, used to fetch JWT.\n * @example ```\"market:id:GhvCxsElAQ,market:id:kJhgVcxZDr\"```\n */\n scope?: string | null\n /**\n * The activation date/time of this link.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at?: string | null\n /**\n * The expiration date/time of this link (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at?: string | null\n /**\n * The link URL second level domain.\n * @example ```\"commercelayer.link\"```\n */\n domain?: string | null\n /**\n * The link params to be passed in URL the query string.\n * @example ```{\"param1\":\"ABC\",\"param2\":\"XYZ\"}```\n */\n params?: Record<string, any> | 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 item?: OrderRel | SkuRel | SkuListRel | null\n}\n\nclass Links extends ApiResource<Link> {\n static readonly TYPE: LinkType = 'links' as const\n\n async create(resource: LinkCreate, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link> {\n return this.resources.create<LinkCreate, Link>({ ...resource, type: Links.TYPE }, params, options)\n }\n\n async update(resource: LinkUpdate, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link> {\n return this.resources.update<LinkUpdate, Link>({ ...resource, type: Links.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: Links.TYPE } : id, options)\n }\n\n async events(\n linkId: string | Link,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _linkId = (linkId as Link).id || (linkId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `links/${_linkId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n linkId: string | Link,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _linkId = (linkId as Link).id || (linkId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `links/${_linkId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _disable(id: string | Link, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link> {\n return this.resources.update<LinkUpdate, Link>(\n { id: typeof id === 'string' ? id : id.id, type: Links.TYPE, _disable: true },\n params,\n options,\n )\n }\n\n async _enable(id: string | Link, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link> {\n return this.resources.update<LinkUpdate, Link>(\n { id: typeof id === 'string' ? id : id.id, type: Links.TYPE, _enable: true },\n params,\n options,\n )\n }\n\n isLink(resource: any): resource is Link {\n return resource.type && resource.type === Links.TYPE\n }\n\n relationship(id: string | ResourceId | null): LinkRel {\n return super.relationshipOneToOne<LinkRel>(id)\n }\n\n relationshipToMany(...ids: string[]): LinkRel[] {\n return super.relationshipOneToMany<LinkRel>(...ids)\n }\n\n type(): LinkType {\n return Links.TYPE\n }\n}\n\nconst instance = new Links()\nexport default instance\n\nexport type { Link, LinkCreate, Links, LinkType, LinkUpdate }\n"]}
|
package/lib/chunk-O2T4EBPE.js
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-GOYTSKMO.js';
|
|
2
|
-
|
|
3
|
-
// gen/resources/price_list_schedulers.ts
|
|
4
|
-
var PriceListSchedulers = class _PriceListSchedulers extends ApiResource {
|
|
5
|
-
static TYPE = "price_list_schedulers";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create(
|
|
8
|
-
{ ...resource, type: _PriceListSchedulers.TYPE },
|
|
9
|
-
params,
|
|
10
|
-
options
|
|
11
|
-
);
|
|
12
|
-
}
|
|
13
|
-
async update(resource, params, options) {
|
|
14
|
-
return this.resources.update(
|
|
15
|
-
{ ...resource, type: _PriceListSchedulers.TYPE },
|
|
16
|
-
params,
|
|
17
|
-
options
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
async delete(id, options) {
|
|
21
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _PriceListSchedulers.TYPE } : id, options);
|
|
22
|
-
}
|
|
23
|
-
async market(priceListSchedulerId, params, options) {
|
|
24
|
-
const _priceListSchedulerId = priceListSchedulerId.id || priceListSchedulerId;
|
|
25
|
-
return this.resources.fetch(
|
|
26
|
-
{ type: "markets" },
|
|
27
|
-
`price_list_schedulers/${_priceListSchedulerId}/market`,
|
|
28
|
-
params,
|
|
29
|
-
options
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
async price_list(priceListSchedulerId, params, options) {
|
|
33
|
-
const _priceListSchedulerId = priceListSchedulerId.id || priceListSchedulerId;
|
|
34
|
-
return this.resources.fetch(
|
|
35
|
-
{ type: "price_lists" },
|
|
36
|
-
`price_list_schedulers/${_priceListSchedulerId}/price_list`,
|
|
37
|
-
params,
|
|
38
|
-
options
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
async events(priceListSchedulerId, params, options) {
|
|
42
|
-
const _priceListSchedulerId = priceListSchedulerId.id || priceListSchedulerId;
|
|
43
|
-
return this.resources.fetch(
|
|
44
|
-
{ type: "events" },
|
|
45
|
-
`price_list_schedulers/${_priceListSchedulerId}/events`,
|
|
46
|
-
params,
|
|
47
|
-
options
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
async event_stores(priceListSchedulerId, params, options) {
|
|
51
|
-
const _priceListSchedulerId = priceListSchedulerId.id || priceListSchedulerId;
|
|
52
|
-
return this.resources.fetch(
|
|
53
|
-
{ type: "event_stores" },
|
|
54
|
-
`price_list_schedulers/${_priceListSchedulerId}/event_stores`,
|
|
55
|
-
params,
|
|
56
|
-
options
|
|
57
|
-
);
|
|
58
|
-
}
|
|
59
|
-
async _disable(id, params, options) {
|
|
60
|
-
return this.resources.update(
|
|
61
|
-
{ id: typeof id === "string" ? id : id.id, type: _PriceListSchedulers.TYPE, _disable: true },
|
|
62
|
-
params,
|
|
63
|
-
options
|
|
64
|
-
);
|
|
65
|
-
}
|
|
66
|
-
async _enable(id, params, options) {
|
|
67
|
-
return this.resources.update(
|
|
68
|
-
{ id: typeof id === "string" ? id : id.id, type: _PriceListSchedulers.TYPE, _enable: true },
|
|
69
|
-
params,
|
|
70
|
-
options
|
|
71
|
-
);
|
|
72
|
-
}
|
|
73
|
-
isPriceListScheduler(resource) {
|
|
74
|
-
return resource.type && resource.type === _PriceListSchedulers.TYPE;
|
|
75
|
-
}
|
|
76
|
-
relationship(id) {
|
|
77
|
-
return super.relationshipOneToOne(id);
|
|
78
|
-
}
|
|
79
|
-
relationshipToMany(...ids) {
|
|
80
|
-
return super.relationshipOneToMany(...ids);
|
|
81
|
-
}
|
|
82
|
-
type() {
|
|
83
|
-
return _PriceListSchedulers.TYPE;
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
var instance = new PriceListSchedulers();
|
|
87
|
-
var price_list_schedulers_default = instance;
|
|
88
|
-
|
|
89
|
-
export { price_list_schedulers_default };
|
|
90
|
-
//# sourceMappingURL=chunk-O2T4EBPE.js.map
|
|
91
|
-
//# sourceMappingURL=chunk-O2T4EBPE.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../gen/resources/price_list_schedulers.ts"],"names":[],"mappings":";;;AAwIA,IAAM,mBAAA,GAAN,MAAM,oBAAA,SAA4B,WAAA,CAAgC;AAAA,EAChE,OAAgB,IAAA,GAA+B,uBAAA;AAAA,EAE/C,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC6B;AAC7B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,qBAAoB,IAAA,EAAK;AAAA,MAC9C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC6B;AAC7B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,qBAAoB,IAAA,EAAK;AAAA,MAC9C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC9E,IAAA,MAAM,IAAA,CAAK,SA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AACzC,IAAO,6BAAA,GAAQ","file":"chunk-O2T4EBPE.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market, MarketType } from './markets'\nimport type { PriceList, PriceListType } from './price_lists'\n\ntype PriceListSchedulerType = 'price_list_schedulers'\ntype PriceListSchedulerRel = ResourceRel & { type: PriceListSchedulerType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype PriceListRel = ResourceRel & { type: PriceListType }\n\nexport type PriceListSchedulerSort = Pick<\n PriceListScheduler,\n 'id' | 'name' | 'starts_at' | 'expires_at' | 'disabled_at'\n> &\n ResourceSort\n// export type PriceListSchedulerFilter = Pick<PriceListScheduler, 'id' | 'name' | 'starts_at' | 'expires_at' | 'disabled_at'> & ResourceFilter\n\n/**\n * The Price list scheduler object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/price_list_schedulers endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/price_list_schedulers/object\n */\ninterface PriceListScheduler extends Resource {\n readonly type: PriceListSchedulerType\n\n /**\n * The price list scheduler's internal name.\n * @example ```\"FW SALE 2023\"```\n */\n name: string\n /**\n * The activation date/time of this price list scheduler.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at: string\n /**\n * The expiration date/time of this price list scheduler (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at: string\n /**\n * Indicates if the price list scheduler is active (enabled and not expired).\n * @example ```true```\n */\n active?: boolean | null\n /**\n * The price list scheduler status. One of 'disabled', 'expired', 'pending', or 'active'.\n * @example ```\"pending\"```\n */\n status?: 'disabled' | 'expired' | 'pending' | 'active' | 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 market?: Market | null\n price_list?: PriceList | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface PriceListSchedulerCreate extends ResourceCreate {\n /**\n * The price list scheduler's internal name.\n * @example ```\"FW SALE 2023\"```\n */\n name: string\n /**\n * The activation date/time of this price list scheduler.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at: string\n /**\n * The expiration date/time of this price list scheduler (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at: string\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 market: MarketRel\n price_list: PriceListRel\n}\n\ninterface PriceListSchedulerUpdate extends ResourceUpdate {\n /**\n * The price list scheduler's internal name.\n * @example ```\"FW SALE 2023\"```\n */\n name?: string | null\n /**\n * The activation date/time of this price list scheduler.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at?: string | null\n /**\n * The expiration date/time of this price list scheduler (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at?: 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 market?: MarketRel | null\n price_list?: PriceListRel | null\n}\n\nclass PriceListSchedulers extends ApiResource<PriceListScheduler> {\n static readonly TYPE: PriceListSchedulerType = 'price_list_schedulers' as const\n\n async create(\n resource: PriceListSchedulerCreate,\n params?: QueryParamsRetrieve<PriceListScheduler>,\n options?: ResourcesConfig,\n ): Promise<PriceListScheduler> {\n return this.resources.create<PriceListSchedulerCreate, PriceListScheduler>(\n { ...resource, type: PriceListSchedulers.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: PriceListSchedulerUpdate,\n params?: QueryParamsRetrieve<PriceListScheduler>,\n options?: ResourcesConfig,\n ): Promise<PriceListScheduler> {\n return this.resources.update<PriceListSchedulerUpdate, PriceListScheduler>(\n { ...resource, type: PriceListSchedulers.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: PriceListSchedulers.TYPE } : id, options)\n }\n\n async market(\n priceListSchedulerId: string | PriceListScheduler,\n params?: QueryParamsRetrieve<Market>,\n options?: ResourcesConfig,\n ): Promise<Market> {\n const _priceListSchedulerId = (priceListSchedulerId as PriceListScheduler).id || (priceListSchedulerId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `price_list_schedulers/${_priceListSchedulerId}/market`,\n params,\n options,\n ) as unknown as Market\n }\n\n async price_list(\n priceListSchedulerId: string | PriceListScheduler,\n params?: QueryParamsRetrieve<PriceList>,\n options?: ResourcesConfig,\n ): Promise<PriceList> {\n const _priceListSchedulerId = (priceListSchedulerId as PriceListScheduler).id || (priceListSchedulerId as string)\n return this.resources.fetch<PriceList>(\n { type: 'price_lists' },\n `price_list_schedulers/${_priceListSchedulerId}/price_list`,\n params,\n options,\n ) as unknown as PriceList\n }\n\n async events(\n priceListSchedulerId: string | PriceListScheduler,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _priceListSchedulerId = (priceListSchedulerId as PriceListScheduler).id || (priceListSchedulerId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `price_list_schedulers/${_priceListSchedulerId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n priceListSchedulerId: string | PriceListScheduler,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _priceListSchedulerId = (priceListSchedulerId as PriceListScheduler).id || (priceListSchedulerId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `price_list_schedulers/${_priceListSchedulerId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _disable(\n id: string | PriceListScheduler,\n params?: QueryParamsRetrieve<PriceListScheduler>,\n options?: ResourcesConfig,\n ): Promise<PriceListScheduler> {\n return this.resources.update<PriceListSchedulerUpdate, PriceListScheduler>(\n { id: typeof id === 'string' ? id : id.id, type: PriceListSchedulers.TYPE, _disable: true },\n params,\n options,\n )\n }\n\n async _enable(\n id: string | PriceListScheduler,\n params?: QueryParamsRetrieve<PriceListScheduler>,\n options?: ResourcesConfig,\n ): Promise<PriceListScheduler> {\n return this.resources.update<PriceListSchedulerUpdate, PriceListScheduler>(\n { id: typeof id === 'string' ? id : id.id, type: PriceListSchedulers.TYPE, _enable: true },\n params,\n options,\n )\n }\n\n isPriceListScheduler(resource: any): resource is PriceListScheduler {\n return resource.type && resource.type === PriceListSchedulers.TYPE\n }\n\n relationship(id: string | ResourceId | null): PriceListSchedulerRel {\n return super.relationshipOneToOne<PriceListSchedulerRel>(id)\n }\n\n relationshipToMany(...ids: string[]): PriceListSchedulerRel[] {\n return super.relationshipOneToMany<PriceListSchedulerRel>(...ids)\n }\n\n type(): PriceListSchedulerType {\n return PriceListSchedulers.TYPE\n }\n}\n\nconst instance = new PriceListSchedulers()\nexport default instance\n\nexport type {\n PriceListScheduler,\n PriceListSchedulerCreate,\n PriceListSchedulers,\n PriceListSchedulerType,\n PriceListSchedulerUpdate,\n}\n"]}
|