@commercelayer/sdk 8.0.3 → 8.0.4-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/addresses-DDsXuULZ.d.cts +23330 -0
- package/lib/addresses-DDsXuULZ.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-AlMJqW4S.d.ts +52 -0
- package/lib/commercelayer-CHXs5Z4y.d.cts +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-DlZXRoLx.js +9 -0
- package/lib/version-e4YpT404.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-WOCKZ7CJ.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-GOYTSKMO.js';
|
|
2
|
-
|
|
3
|
-
// gen/resources/imports.ts
|
|
4
|
-
var Imports = class _Imports extends ApiResource {
|
|
5
|
-
static TYPE = "imports";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create({ ...resource, type: _Imports.TYPE }, params, options);
|
|
8
|
-
}
|
|
9
|
-
async update(resource, params, options) {
|
|
10
|
-
return this.resources.update({ ...resource, type: _Imports.TYPE }, params, options);
|
|
11
|
-
}
|
|
12
|
-
async delete(id, options) {
|
|
13
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _Imports.TYPE } : id, options);
|
|
14
|
-
}
|
|
15
|
-
async events(importId, params, options) {
|
|
16
|
-
const _importId = importId.id || importId;
|
|
17
|
-
return this.resources.fetch(
|
|
18
|
-
{ type: "events" },
|
|
19
|
-
`imports/${_importId}/events`,
|
|
20
|
-
params,
|
|
21
|
-
options
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
async event_stores(importId, params, options) {
|
|
25
|
-
const _importId = importId.id || importId;
|
|
26
|
-
return this.resources.fetch(
|
|
27
|
-
{ type: "event_stores" },
|
|
28
|
-
`imports/${_importId}/event_stores`,
|
|
29
|
-
params,
|
|
30
|
-
options
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
async _interrupt(id, params, options) {
|
|
34
|
-
return this.resources.update(
|
|
35
|
-
{ id: typeof id === "string" ? id : id.id, type: _Imports.TYPE, _interrupt: true },
|
|
36
|
-
params,
|
|
37
|
-
options
|
|
38
|
-
);
|
|
39
|
-
}
|
|
40
|
-
isImport(resource) {
|
|
41
|
-
return resource.type && resource.type === _Imports.TYPE;
|
|
42
|
-
}
|
|
43
|
-
relationship(id) {
|
|
44
|
-
return super.relationshipOneToOne(id);
|
|
45
|
-
}
|
|
46
|
-
relationshipToMany(...ids) {
|
|
47
|
-
return super.relationshipOneToMany(...ids);
|
|
48
|
-
}
|
|
49
|
-
type() {
|
|
50
|
-
return _Imports.TYPE;
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
var instance = new Imports();
|
|
54
|
-
var imports_default = instance;
|
|
55
|
-
|
|
56
|
-
export { imports_default };
|
|
57
|
-
//# sourceMappingURL=chunk-WOCKZ7CJ.js.map
|
|
58
|
-
//# sourceMappingURL=chunk-WOCKZ7CJ.js.map
|
|
@@ -1 +0,0 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AAoB,EAAA,IAAO,QAAA;AAC9C,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,WAAW,SAAS,CAAA,aAAA,CAAA;AAAA,MACpB,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,UAAA,CACJ,EAAA,EACA,MAAA,EACA,OAAA,EACiB;AACjB,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,EAAA,EAAI,OAAO,EAAA,KAAO,QAAA,GAAW,EAAA,GAAK,EAAA,CAAG,EAAA,EAAI,IAAA,EAAM,QAAA,CAAQ,IAAA,EAAM,UAAA,EAAY,IAAA,EAAK;AAAA,MAChF,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,SAAS,QAAA,EAAmC;AAC1C,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,QAAA,CAAQ,IAAA;AAAA,EACpD;AAAA,EAEA,aAAa,EAAA,EAA2C;AACtD,IAAA,OAAO,KAAA,CAAM,qBAAgC,EAAE,CAAA;AAAA,EACjD;AAAA,EAEA,sBAAsB,GAAA,EAA4B;AAChD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAiC,GAAG,GAAG,CAAA;AAAA,EACtD;AAAA,EAEA,IAAA,GAAmB;AACjB,IAAA,OAAO,QAAA,CAAQ,IAAA;AAAA,EACjB;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,OAAA,EAAQ;AAC7B,IAAO,eAAA,GAAQ","file":"chunk-WOCKZ7CJ.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'\n\ntype ImportType = 'imports'\ntype ImportRel = ResourceRel & { type: ImportType }\n\nexport type ImportSort = Pick<\n Import,\n | 'id'\n | 'resource_type'\n | 'format'\n | 'parent_resource_id'\n | 'status'\n | 'started_at'\n | 'completed_at'\n | 'interrupted_at'\n | 'inputs_size'\n | 'errors_count'\n | 'warnings_count'\n | 'destroyed_count'\n | 'processed_count'\n | 'attachment_url'\n> &\n ResourceSort\n// export type ImportFilter = Pick<Import, 'id' | 'resource_type' | 'format' | 'parent_resource_id' | 'status' | 'started_at' | 'completed_at' | 'interrupted_at' | 'inputs_size' | 'errors_count' | 'warnings_count' | 'destroyed_count' | 'processed_count' | 'errors_log' | 'warnings_log' | 'attachment_url'> & ResourceFilter\n\n/**\n * The Import object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/imports endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/imports/object\n */\ninterface Import extends Resource {\n readonly type: ImportType\n\n /**\n * The type of resource being imported. One of 'addresses', 'bundles', 'coupons', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'customers', 'gift_cards', 'line_item_options', 'line_items', 'orders', 'price_lists', 'price_tiers', 'prices', 'shipping_categories', 'sku_list_items', 'sku_lists', 'sku_options', 'skus', 'stock_items', 'stock_locations', 'stock_transfers', 'tags', or 'tax_categories'.\n * @example ```\"skus\"```\n */\n resource_type:\n | 'addresses'\n | 'bundles'\n | 'coupons'\n | 'customer_addresses'\n | 'customer_payment_sources'\n | 'customer_subscriptions'\n | 'customers'\n | 'gift_cards'\n | 'line_item_options'\n | 'line_items'\n | 'orders'\n | 'price_lists'\n | 'price_tiers'\n | 'prices'\n | 'shipping_categories'\n | 'sku_list_items'\n | 'sku_lists'\n | 'sku_options'\n | 'skus'\n | 'stock_items'\n | 'stock_locations'\n | 'stock_transfers'\n | 'tags'\n | 'tax_categories'\n /**\n * The format of the import. One of 'csv', or 'json' (default).\n * @example ```\"json\"```\n */\n format?: 'csv' | 'json' | null\n /**\n * The ID of the parent resource to be associated with imported data.\n * @example ```\"1234\"```\n */\n parent_resource_id?: string | null\n /**\n * The import job status. One of 'pending' (default), 'in_progress', 'interrupted', or 'completed'.\n * @example ```\"in_progress\"```\n */\n status: 'pending' | 'in_progress' | 'interrupted' | 'completed'\n /**\n * Time at which the import was started.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n started_at?: string | null\n /**\n * Time at which the import was completed.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n completed_at?: string | null\n /**\n * Time at which the import was interrupted.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n interrupted_at?: string | null\n /**\n * Array of objects representing the resources that are being imported.\n * @example ```[{\"code\":\"ABC\",\"name\":\"Foo\"},{\"code\":\"DEF\",\"name\":\"Bar\"}]```\n */\n inputs: Array<Record<string, any>>\n /**\n * Indicates the size of the objects to be imported.\n * @example ```300```\n */\n inputs_size?: number | null\n /**\n * Indicates the number of import errors, if any.\n * @example ```30```\n */\n errors_count?: number | null\n /**\n * Indicates the number of import warnings, if any.\n * @example ```1```\n */\n warnings_count?: number | null\n /**\n * Indicates the number of records that have been destroyed, if any.\n * @deprecated Deprecated in API version 2026-05.\n * @example ```99```\n */\n destroyed_count?: number | null\n /**\n * Indicates the number of records that have been processed (created or updated).\n * @example ```270```\n */\n processed_count?: number | null\n /**\n * Contains the import errors, if any.\n * @example ```{\"ABC\":{\"name\":[\"has already been taken\"]}}```\n */\n errors_log?: Record<string, any> | null\n /**\n * Contains the import warnings, if any.\n * @example ```{\"ABC\":[\"could not be deleted\"]}```\n */\n warnings_log?: Record<string, any> | null\n /**\n * Indicates if the import should cleanup records that are not included in the inputs array.\n * @deprecated Deprecated in API version 2026-05.\n * @example ```true```\n */\n cleanup_records?: boolean | null\n /**\n * Disables the interruption of the import in case its errors exceeds the 10% threshold.\n * @example ```true```\n */\n skip_errors?: boolean | null\n /**\n * The URL the the raw inputs file, which will be generated at import start.\n * @example ```\"http://cl_imports.s3.amazonaws.com/\"```\n */\n attachment_url?: string | null\n\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface ImportCreate extends ResourceCreate {\n /**\n * The type of resource being imported. One of 'addresses', 'bundles', 'coupons', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'customers', 'gift_cards', 'line_item_options', 'line_items', 'orders', 'price_lists', 'price_tiers', 'prices', 'shipping_categories', 'sku_list_items', 'sku_lists', 'sku_options', 'skus', 'stock_items', 'stock_locations', 'stock_transfers', 'tags', or 'tax_categories'.\n * @example ```\"skus\"```\n */\n resource_type:\n | 'addresses'\n | 'bundles'\n | 'coupons'\n | 'customer_addresses'\n | 'customer_payment_sources'\n | 'customer_subscriptions'\n | 'customers'\n | 'gift_cards'\n | 'line_item_options'\n | 'line_items'\n | 'orders'\n | 'price_lists'\n | 'price_tiers'\n | 'prices'\n | 'shipping_categories'\n | 'sku_list_items'\n | 'sku_lists'\n | 'sku_options'\n | 'skus'\n | 'stock_items'\n | 'stock_locations'\n | 'stock_transfers'\n | 'tags'\n | 'tax_categories'\n /**\n * The format of the import. One of 'csv', or 'json' (default).\n * @example ```\"json\"```\n */\n format?: 'csv' | 'json' | null\n /**\n * The ID of the parent resource to be associated with imported data.\n * @example ```\"1234\"```\n */\n parent_resource_id?: string | null\n /**\n * Array of objects representing the resources that are being imported.\n * @example ```[{\"code\":\"ABC\",\"name\":\"Foo\"},{\"code\":\"DEF\",\"name\":\"Bar\"}]```\n */\n inputs: Array<Record<string, any>>\n /**\n * Indicates if the import should cleanup records that are not included in the inputs array.\n * @deprecated Deprecated in API version 2026-05.\n * @example ```true```\n */\n cleanup_records?: boolean | null\n /**\n * Disables the interruption of the import in case its errors exceeds the 10% threshold.\n * @example ```true```\n */\n skip_errors?: boolean | null\n}\n\ninterface ImportUpdate extends ResourceUpdate {\n /**\n * Send this attribute if you want to mark status as 'interrupted'.\n * @example ```true```\n */\n _interrupt?: boolean | null\n}\n\nclass Imports extends ApiResource<Import> {\n static readonly TYPE: ImportType = 'imports' as const\n\n async create(\n resource: ImportCreate,\n params?: QueryParamsRetrieve<Import>,\n options?: ResourcesConfig,\n ): Promise<Import> {\n return this.resources.create<ImportCreate, Import>({ ...resource, type: Imports.TYPE }, params, options)\n }\n\n async update(\n resource: ImportUpdate,\n params?: QueryParamsRetrieve<Import>,\n options?: ResourcesConfig,\n ): Promise<Import> {\n return this.resources.update<ImportUpdate, Import>({ ...resource, type: Imports.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: Imports.TYPE } : id, options)\n }\n\n async events(\n importId: string | Import,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _importId = (importId as Import).id || (importId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `imports/${_importId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n importId: string | Import,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _importId = (importId as Import).id || (importId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `imports/${_importId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _interrupt(\n id: string | Import,\n params?: QueryParamsRetrieve<Import>,\n options?: ResourcesConfig,\n ): Promise<Import> {\n return this.resources.update<ImportUpdate, Import>(\n { id: typeof id === 'string' ? id : id.id, type: Imports.TYPE, _interrupt: true },\n params,\n options,\n )\n }\n\n isImport(resource: any): resource is Import {\n return resource.type && resource.type === Imports.TYPE\n }\n\n relationship(id: string | ResourceId | null): ImportRel {\n return super.relationshipOneToOne<ImportRel>(id)\n }\n\n relationshipToMany(...ids: string[]): ImportRel[] {\n return super.relationshipOneToMany<ImportRel>(...ids)\n }\n\n type(): ImportType {\n return Imports.TYPE\n }\n}\n\nconst instance = new Imports()\nexport default instance\n\nexport type { Import, ImportCreate, Imports, ImportType, ImportUpdate }\n"]}
|
package/lib/chunk-WOP6L43D.js
DELETED
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-GOYTSKMO.js';
|
|
2
|
-
|
|
3
|
-
// gen/resources/authorizations.ts
|
|
4
|
-
var Authorizations = class _Authorizations extends ApiResource {
|
|
5
|
-
static TYPE = "authorizations";
|
|
6
|
-
async update(resource, params, options) {
|
|
7
|
-
return this.resources.update(
|
|
8
|
-
{ ...resource, type: _Authorizations.TYPE },
|
|
9
|
-
params,
|
|
10
|
-
options
|
|
11
|
-
);
|
|
12
|
-
}
|
|
13
|
-
async order(authorizationId, params, options) {
|
|
14
|
-
const _authorizationId = authorizationId.id || authorizationId;
|
|
15
|
-
return this.resources.fetch(
|
|
16
|
-
{ type: "orders" },
|
|
17
|
-
`authorizations/${_authorizationId}/order`,
|
|
18
|
-
params,
|
|
19
|
-
options
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
async attachments(authorizationId, params, options) {
|
|
23
|
-
const _authorizationId = authorizationId.id || authorizationId;
|
|
24
|
-
return this.resources.fetch(
|
|
25
|
-
{ type: "attachments" },
|
|
26
|
-
`authorizations/${_authorizationId}/attachments`,
|
|
27
|
-
params,
|
|
28
|
-
options
|
|
29
|
-
);
|
|
30
|
-
}
|
|
31
|
-
async events(authorizationId, params, options) {
|
|
32
|
-
const _authorizationId = authorizationId.id || authorizationId;
|
|
33
|
-
return this.resources.fetch(
|
|
34
|
-
{ type: "events" },
|
|
35
|
-
`authorizations/${_authorizationId}/events`,
|
|
36
|
-
params,
|
|
37
|
-
options
|
|
38
|
-
);
|
|
39
|
-
}
|
|
40
|
-
async event_stores(authorizationId, params, options) {
|
|
41
|
-
const _authorizationId = authorizationId.id || authorizationId;
|
|
42
|
-
return this.resources.fetch(
|
|
43
|
-
{ type: "event_stores" },
|
|
44
|
-
`authorizations/${_authorizationId}/event_stores`,
|
|
45
|
-
params,
|
|
46
|
-
options
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
async captures(authorizationId, params, options) {
|
|
50
|
-
const _authorizationId = authorizationId.id || authorizationId;
|
|
51
|
-
return this.resources.fetch(
|
|
52
|
-
{ type: "captures" },
|
|
53
|
-
`authorizations/${_authorizationId}/captures`,
|
|
54
|
-
params,
|
|
55
|
-
options
|
|
56
|
-
);
|
|
57
|
-
}
|
|
58
|
-
async voids(authorizationId, params, options) {
|
|
59
|
-
const _authorizationId = authorizationId.id || authorizationId;
|
|
60
|
-
return this.resources.fetch(
|
|
61
|
-
{ type: "voids" },
|
|
62
|
-
`authorizations/${_authorizationId}/voids`,
|
|
63
|
-
params,
|
|
64
|
-
options
|
|
65
|
-
);
|
|
66
|
-
}
|
|
67
|
-
async _forward(id, params, options) {
|
|
68
|
-
return this.resources.update(
|
|
69
|
-
{ id: typeof id === "string" ? id : id.id, type: _Authorizations.TYPE, _forward: true },
|
|
70
|
-
params,
|
|
71
|
-
options
|
|
72
|
-
);
|
|
73
|
-
}
|
|
74
|
-
async _capture(id, params, options) {
|
|
75
|
-
return this.resources.update(
|
|
76
|
-
{ id: typeof id === "string" ? id : id.id, type: _Authorizations.TYPE, _capture: true },
|
|
77
|
-
params,
|
|
78
|
-
options
|
|
79
|
-
);
|
|
80
|
-
}
|
|
81
|
-
async _capture_amount_cents(id, triggerValue, params, options) {
|
|
82
|
-
return this.resources.update(
|
|
83
|
-
{ id: typeof id === "string" ? id : id.id, type: _Authorizations.TYPE, _capture_amount_cents: triggerValue },
|
|
84
|
-
params,
|
|
85
|
-
options
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
async _void(id, params, options) {
|
|
89
|
-
return this.resources.update(
|
|
90
|
-
{ id: typeof id === "string" ? id : id.id, type: _Authorizations.TYPE, _void: true },
|
|
91
|
-
params,
|
|
92
|
-
options
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
async _cancel(id, params, options) {
|
|
96
|
-
return this.resources.update(
|
|
97
|
-
{ id: typeof id === "string" ? id : id.id, type: _Authorizations.TYPE, _cancel: true },
|
|
98
|
-
params,
|
|
99
|
-
options
|
|
100
|
-
);
|
|
101
|
-
}
|
|
102
|
-
isAuthorization(resource) {
|
|
103
|
-
return resource.type && resource.type === _Authorizations.TYPE;
|
|
104
|
-
}
|
|
105
|
-
relationship(id) {
|
|
106
|
-
return super.relationshipOneToOne(id);
|
|
107
|
-
}
|
|
108
|
-
relationshipToMany(...ids) {
|
|
109
|
-
return super.relationshipOneToMany(...ids);
|
|
110
|
-
}
|
|
111
|
-
type() {
|
|
112
|
-
return _Authorizations.TYPE;
|
|
113
|
-
}
|
|
114
|
-
};
|
|
115
|
-
var instance = new Authorizations();
|
|
116
|
-
var authorizations_default = instance;
|
|
117
|
-
|
|
118
|
-
export { authorizations_default };
|
|
119
|
-
//# sourceMappingURL=chunk-WOP6L43D.js.map
|
|
120
|
-
//# sourceMappingURL=chunk-WOP6L43D.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../gen/resources/authorizations.ts"],"names":[],"mappings":";;;AAuOA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuB,WAAA,CAA2B;AAAA,EACtD,OAAgB,IAAA,GAA0B,gBAAA;AAAA,EAE1C,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACwB;AACxB,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,gBAAe,IAAA,EAAK;AAAA,MACzC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,KAAA,CACJ,eAAA,EACA,MAAA,EACA,OAAA,EACgB;AAChB,IAAA,MAAM,gBAAA,GAAoB,gBAAkC,EAAA,IAAO,eAAA;AACnE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,QAAA,EAAS;AAAA,MACjB,kBAAkB,gBAAgB,CAAA,MAAA,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ListResponse,\n Resource,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { AdyenPayment } from './adyen_payments'\nimport type { Attachment } from './attachments'\nimport type { AxervePayment } from './axerve_payments'\nimport type { BraintreePayment } from './braintree_payments'\nimport type { Capture } from './captures'\nimport type { CheckoutComPayment } from './checkout_com_payments'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { ExternalPayment } from './external_payments'\nimport type { KlarnaPayment } from './klarna_payments'\nimport type { Order } from './orders'\nimport type { PaypalPayment } from './paypal_payments'\nimport type { SatispayPayment } from './satispay_payments'\nimport type { StripePayment } from './stripe_payments'\nimport type { Void } from './voids'\nimport type { WireTransfer } from './wire_transfers'\n\ntype AuthorizationType = 'authorizations'\ntype AuthorizationRel = ResourceRel & { type: AuthorizationType }\n\nexport type AuthorizationSort = Pick<Authorization, 'id' | 'number' | 'amount_cents'> & ResourceSort\n// export type AuthorizationFilter = Pick<Authorization, 'id' | 'number' | 'currency_code' | 'amount_cents' | 'succeeded' | 'message' | 'error_code' | 'error_detail' | 'token' | 'gateway_transaction_id'> & ResourceFilter\n\n/**\n * The Authorization object is returned as part of the response body of each successful list, retrieve or update API call to the /api/authorizations endpoint.\n *\n * @deprecated Deprecated in API version 2026-05.\n * @link https://docs.commercelayer.io/core-api-reference/authorizations/object\n */\ninterface Authorization extends Resource {\n readonly type: AuthorizationType\n\n /**\n * The transaction number, auto generated.\n * @example ```\"42/T/001\"```\n */\n number: string\n /**\n * Information about the payment method used in the transaction.\n * @example ```\"credit card\"```\n */\n payment_method_type?: string | null\n /**\n * The international 3-letter currency code as defined by the ISO 4217 standard, inherited from the associated order.\n * @example ```\"EUR\"```\n */\n currency_code: string\n /**\n * The transaction amount, in cents.\n * @example ```1500```\n */\n amount_cents: number\n /**\n * The transaction amount, float.\n * @example ```15```\n */\n amount_float: number\n /**\n * The transaction amount, formatted.\n * @example ```\"€15,00\"```\n */\n formatted_amount: string\n /**\n * Indicates if the transaction is successful.\n */\n succeeded: boolean\n /**\n * The message returned by the payment gateway.\n * @example ```\"Accepted\"```\n */\n message?: string | null\n /**\n * The error code, if any, returned by the payment gateway.\n * @example ```\"00001\"```\n */\n error_code?: string | null\n /**\n * The error detail, if any, returned by the payment gateway.\n * @example ```\"Already settled\"```\n */\n error_detail?: string | null\n /**\n * The token identifying the transaction, returned by the payment gateway.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n token?: string | null\n /**\n * The ID identifying the transaction, returned by the payment gateway.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n gateway_transaction_id?: string | null\n /**\n * The additional data returned by the payment gateway, if any.\n * @example ```{\"foo\":\"bar\"}```\n */\n additional_data?: Record<string, any> | null\n /**\n * The CVV code returned by the payment gateway.\n * @example ```\"000\"```\n */\n cvv_code?: string | null\n /**\n * The CVV message returned by the payment gateway.\n * @example ```\"validated\"```\n */\n cvv_message?: string | null\n /**\n * The AVS code returned by the payment gateway.\n * @example ```\"000\"```\n */\n avs_code?: string | null\n /**\n * The AVS message returned by the payment gateway.\n * @example ```\"validated\"```\n */\n avs_message?: string | null\n /**\n * The fraud review message, if any, returned by the payment gateway.\n * @example ```\"passed\"```\n */\n fraud_review?: string | null\n /**\n * The amount to be captured, in cents.\n * @example ```500```\n */\n capture_amount_cents?: number | null\n /**\n * The amount to be captured, float.\n * @example ```5```\n */\n capture_amount_float?: number | null\n /**\n * The amount to be captured, formatted.\n * @example ```\"€5,00\"```\n */\n formatted_capture_amount?: string | null\n /**\n * The balance to be captured, in cents.\n * @example ```1000```\n */\n capture_balance_cents?: number | null\n /**\n * The balance to be captured, float.\n * @example ```10```\n */\n capture_balance_float?: number | null\n /**\n * The balance to be captured, formatted.\n * @example ```\"€10,00\"```\n */\n formatted_capture_balance?: string | null\n /**\n * The balance to be voided, in cents.\n * @example ```1500```\n */\n void_balance_cents?: number | null\n /**\n * The balance to be voided, float.\n * @example ```15```\n */\n void_balance_float?: number | null\n /**\n * The balance to be voided, formatted.\n * @example ```\"€15,00\"```\n */\n formatted_void_balance?: string | null\n\n order?: Order | null\n payment_source?:\n | AdyenPayment\n | AxervePayment\n | BraintreePayment\n | CheckoutComPayment\n | ExternalPayment\n | KlarnaPayment\n | PaypalPayment\n | SatispayPayment\n | StripePayment\n | WireTransfer\n | null\n attachments?: Attachment[] | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n captures?: Capture[] | null\n voids?: Void[] | null\n}\n\ninterface AuthorizationUpdate extends ResourceUpdate {\n /**\n * Indicates if the transaction is successful.\n */\n succeeded?: boolean | null\n /**\n * Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.\n * @example ```true```\n */\n _forward?: boolean | null\n /**\n * Send this attribute if you want to create a capture for this authorization.\n * @example ```true```\n */\n _capture?: boolean | null\n /**\n * Send this attribute as a value in cents if you want to overwrite the amount to be captured.\n * @example ```500```\n */\n _capture_amount_cents?: number | null\n /**\n * Send this attribute if you want to create a void for this authorization.\n * @example ```true```\n */\n _void?: boolean | null\n /**\n * Send this attribute if you want to void a succeeded authorization of a pending order (which is left unpaid).\n * @example ```true```\n */\n _cancel?: boolean | null\n}\n\n/** @deprecated Deprecated in API version 2026-05. */\nclass Authorizations extends ApiResource<Authorization> {\n static readonly TYPE: AuthorizationType = 'authorizations' as const\n\n async update(\n resource: AuthorizationUpdate,\n params?: QueryParamsRetrieve<Authorization>,\n options?: ResourcesConfig,\n ): Promise<Authorization> {\n return this.resources.update<AuthorizationUpdate, Authorization>(\n { ...resource, type: Authorizations.TYPE },\n params,\n options,\n )\n }\n\n async order(\n authorizationId: string | Authorization,\n params?: QueryParamsRetrieve<Order>,\n options?: ResourcesConfig,\n ): Promise<Order> {\n const _authorizationId = (authorizationId as Authorization).id || (authorizationId as string)\n return this.resources.fetch<Order>(\n { type: 'orders' },\n `authorizations/${_authorizationId}/order`,\n params,\n options,\n ) as unknown as Order\n }\n\n async attachments(\n authorizationId: string | Authorization,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _authorizationId = (authorizationId as Authorization).id || (authorizationId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `authorizations/${_authorizationId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async events(\n authorizationId: string | Authorization,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _authorizationId = (authorizationId as Authorization).id || (authorizationId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `authorizations/${_authorizationId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n authorizationId: string | Authorization,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _authorizationId = (authorizationId as Authorization).id || (authorizationId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `authorizations/${_authorizationId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async captures(\n authorizationId: string | Authorization,\n params?: QueryParamsList<Capture>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Capture>> {\n const _authorizationId = (authorizationId as Authorization).id || (authorizationId as string)\n return this.resources.fetch<Capture>(\n { type: 'captures' },\n `authorizations/${_authorizationId}/captures`,\n params,\n options,\n ) as unknown as ListResponse<Capture>\n }\n\n async voids(\n authorizationId: string | Authorization,\n params?: QueryParamsList<Void>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Void>> {\n const _authorizationId = (authorizationId as Authorization).id || (authorizationId as string)\n return this.resources.fetch<Void>(\n { type: 'voids' },\n `authorizations/${_authorizationId}/voids`,\n params,\n options,\n ) as unknown as ListResponse<Void>\n }\n\n async _forward(\n id: string | Authorization,\n params?: QueryParamsRetrieve<Authorization>,\n options?: ResourcesConfig,\n ): Promise<Authorization> {\n return this.resources.update<AuthorizationUpdate, Authorization>(\n { id: typeof id === 'string' ? id : id.id, type: Authorizations.TYPE, _forward: true },\n params,\n options,\n )\n }\n\n async _capture(\n id: string | Authorization,\n params?: QueryParamsRetrieve<Authorization>,\n options?: ResourcesConfig,\n ): Promise<Authorization> {\n return this.resources.update<AuthorizationUpdate, Authorization>(\n { id: typeof id === 'string' ? id : id.id, type: Authorizations.TYPE, _capture: true },\n params,\n options,\n )\n }\n\n async _capture_amount_cents(\n id: string | Authorization,\n triggerValue: number,\n params?: QueryParamsRetrieve<Authorization>,\n options?: ResourcesConfig,\n ): Promise<Authorization> {\n return this.resources.update<AuthorizationUpdate, Authorization>(\n { id: typeof id === 'string' ? id : id.id, type: Authorizations.TYPE, _capture_amount_cents: triggerValue },\n params,\n options,\n )\n }\n\n async _void(\n id: string | Authorization,\n params?: QueryParamsRetrieve<Authorization>,\n options?: ResourcesConfig,\n ): Promise<Authorization> {\n return this.resources.update<AuthorizationUpdate, Authorization>(\n { id: typeof id === 'string' ? id : id.id, type: Authorizations.TYPE, _void: true },\n params,\n options,\n )\n }\n\n async _cancel(\n id: string | Authorization,\n params?: QueryParamsRetrieve<Authorization>,\n options?: ResourcesConfig,\n ): Promise<Authorization> {\n return this.resources.update<AuthorizationUpdate, Authorization>(\n { id: typeof id === 'string' ? id : id.id, type: Authorizations.TYPE, _cancel: true },\n params,\n options,\n )\n }\n\n isAuthorization(resource: any): resource is Authorization {\n return resource.type && resource.type === Authorizations.TYPE\n }\n\n relationship(id: string | ResourceId | null): AuthorizationRel {\n return super.relationshipOneToOne<AuthorizationRel>(id)\n }\n\n relationshipToMany(...ids: string[]): AuthorizationRel[] {\n return super.relationshipOneToMany<AuthorizationRel>(...ids)\n }\n\n type(): AuthorizationType {\n return Authorizations.TYPE\n }\n}\n\nconst instance = new Authorizations()\nexport default instance\n\nexport type { Authorization, Authorizations, AuthorizationType, AuthorizationUpdate }\n"]}
|
package/lib/chunk-WR2GG3FR.cjs
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk2WQORYBI_cjs = require('./chunk-2WQORYBI.cjs');
|
|
4
|
-
|
|
5
|
-
// gen/resources/stock_items.ts
|
|
6
|
-
var StockItems = class _StockItems extends chunk2WQORYBI_cjs.ApiResource {
|
|
7
|
-
static TYPE = "stock_items";
|
|
8
|
-
async create(resource, params, options) {
|
|
9
|
-
return this.resources.create({ ...resource, type: _StockItems.TYPE }, params, options);
|
|
10
|
-
}
|
|
11
|
-
async update(resource, params, options) {
|
|
12
|
-
return this.resources.update({ ...resource, type: _StockItems.TYPE }, params, options);
|
|
13
|
-
}
|
|
14
|
-
async delete(id, options) {
|
|
15
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _StockItems.TYPE } : id, options);
|
|
16
|
-
}
|
|
17
|
-
async stock_location(stockItemId, params, options) {
|
|
18
|
-
const _stockItemId = stockItemId.id || stockItemId;
|
|
19
|
-
return this.resources.fetch(
|
|
20
|
-
{ type: "stock_locations" },
|
|
21
|
-
`stock_items/${_stockItemId}/stock_location`,
|
|
22
|
-
params,
|
|
23
|
-
options
|
|
24
|
-
);
|
|
25
|
-
}
|
|
26
|
-
async sku(stockItemId, params, options) {
|
|
27
|
-
const _stockItemId = stockItemId.id || stockItemId;
|
|
28
|
-
return this.resources.fetch(
|
|
29
|
-
{ type: "skus" },
|
|
30
|
-
`stock_items/${_stockItemId}/sku`,
|
|
31
|
-
params,
|
|
32
|
-
options
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
async reserved_stock(stockItemId, params, options) {
|
|
36
|
-
const _stockItemId = stockItemId.id || stockItemId;
|
|
37
|
-
return this.resources.fetch(
|
|
38
|
-
{ type: "reserved_stocks" },
|
|
39
|
-
`stock_items/${_stockItemId}/reserved_stock`,
|
|
40
|
-
params,
|
|
41
|
-
options
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
async stock_reservations(stockItemId, params, options) {
|
|
45
|
-
const _stockItemId = stockItemId.id || stockItemId;
|
|
46
|
-
return this.resources.fetch(
|
|
47
|
-
{ type: "stock_reservations" },
|
|
48
|
-
`stock_items/${_stockItemId}/stock_reservations`,
|
|
49
|
-
params,
|
|
50
|
-
options
|
|
51
|
-
);
|
|
52
|
-
}
|
|
53
|
-
async attachments(stockItemId, params, options) {
|
|
54
|
-
const _stockItemId = stockItemId.id || stockItemId;
|
|
55
|
-
return this.resources.fetch(
|
|
56
|
-
{ type: "attachments" },
|
|
57
|
-
`stock_items/${_stockItemId}/attachments`,
|
|
58
|
-
params,
|
|
59
|
-
options
|
|
60
|
-
);
|
|
61
|
-
}
|
|
62
|
-
async event_stores(stockItemId, params, options) {
|
|
63
|
-
const _stockItemId = stockItemId.id || stockItemId;
|
|
64
|
-
return this.resources.fetch(
|
|
65
|
-
{ type: "event_stores" },
|
|
66
|
-
`stock_items/${_stockItemId}/event_stores`,
|
|
67
|
-
params,
|
|
68
|
-
options
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
async _validate(id, params, options) {
|
|
72
|
-
return this.resources.update(
|
|
73
|
-
{ id: typeof id === "string" ? id : id.id, type: _StockItems.TYPE, _validate: true },
|
|
74
|
-
params,
|
|
75
|
-
options
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
|
-
isStockItem(resource) {
|
|
79
|
-
return resource.type && resource.type === _StockItems.TYPE;
|
|
80
|
-
}
|
|
81
|
-
relationship(id) {
|
|
82
|
-
return super.relationshipOneToOne(id);
|
|
83
|
-
}
|
|
84
|
-
relationshipToMany(...ids) {
|
|
85
|
-
return super.relationshipOneToMany(...ids);
|
|
86
|
-
}
|
|
87
|
-
type() {
|
|
88
|
-
return _StockItems.TYPE;
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
var instance = new StockItems();
|
|
92
|
-
var stock_items_default = instance;
|
|
93
|
-
|
|
94
|
-
exports.stock_items_default = stock_items_default;
|
|
95
|
-
//# sourceMappingURL=chunk-WR2GG3FR.cjs.map
|
|
96
|
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YAAA,GAAgB,YAA0B,EAAA,IAAO,WAAA;AACvD,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,eAAe,YAAY,CAAA,aAAA,CAAA;AAAA,MAC3B,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,SAAA,CACJ,EAAA,EACA,MAAA,EACA,OAAA,EACoB;AACpB,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,EAAA,EAAI,OAAO,EAAA,KAAO,QAAA,GAAW,EAAA,GAAK,EAAA,CAAG,EAAA,EAAI,IAAA,EAAM,WAAA,CAAW,IAAA,EAAM,SAAA,EAAW,IAAA,EAAK;AAAA,MAClF,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,YAAY,QAAA,EAAsC;AAChD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,WAAA,CAAW,IAAA;AAAA,EACvD;AAAA,EAEA,aAAa,EAAA,EAA8C;AACzD,IAAA,OAAO,KAAA,CAAM,qBAAmC,EAAE,CAAA;AAAA,EACpD;AAAA,EAEA,sBAAsB,GAAA,EAA+B;AACnD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAoC,GAAG,GAAG,CAAA;AAAA,EACzD;AAAA,EAEA,IAAA,GAAsB;AACpB,IAAA,OAAO,WAAA,CAAW,IAAA;AAAA,EACpB;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,UAAA,EAAW;AAChC,IAAO,mBAAA,GAAQ","file":"chunk-WR2GG3FR.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { ReservedStock } from './reserved_stocks'\nimport type { Sku, SkuType } from './skus'\nimport type { StockLocation, StockLocationType } from './stock_locations'\nimport type { StockReservation } from './stock_reservations'\n\ntype StockItemType = 'stock_items'\ntype StockItemRel = ResourceRel & { type: StockItemType }\ntype StockLocationRel = ResourceRel & { type: StockLocationType }\ntype SkuRel = ResourceRel & { type: SkuType }\n\nexport type StockItemSort = Pick<StockItem, 'id' | 'quantity' | 'low_quantity'> & ResourceSort\n// export type StockItemFilter = Pick<StockItem, 'id' | 'quantity' | 'low_quantity'> & ResourceFilter\n\n/**\n * The Stock item object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/stock_items endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/stock_items/object\n */\ninterface StockItem extends Resource {\n readonly type: StockItemType\n\n /**\n * The code of the associated SKU.\n * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n */\n sku_code?: string | null\n /**\n * The stock item quantity.\n * @example ```100```\n */\n quantity: number\n /**\n * The stock item quantity level below which it is considered low on stock (based on available quantity, i.e. quantity minus reserved stock). When set, the item can be filtered with the `low_stock` scope.\n * @example ```10```\n */\n low_quantity?: number | null\n\n stock_location?: StockLocation | null\n sku?: Sku | null\n reserved_stock?: ReservedStock | null\n stock_reservations?: StockReservation[] | null\n attachments?: Attachment[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface StockItemCreate extends ResourceCreate {\n /**\n * The code of the associated SKU.\n * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n */\n sku_code?: string | null\n /**\n * The stock item quantity.\n * @example ```100```\n */\n quantity: number\n /**\n * The stock item quantity level below which it is considered low on stock (based on available quantity, i.e. quantity minus reserved stock). When set, the item can be filtered with the `low_stock` scope.\n * @example ```10```\n */\n low_quantity?: number | null\n\n stock_location: StockLocationRel\n sku?: SkuRel | null\n}\n\ninterface StockItemUpdate extends ResourceUpdate {\n /**\n * The code of the associated SKU.\n * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n */\n sku_code?: string | null\n /**\n * The stock item quantity.\n * @example ```100```\n */\n quantity?: number | null\n /**\n * The stock item quantity level below which it is considered low on stock (based on available quantity, i.e. quantity minus reserved stock). When set, the item can be filtered with the `low_stock` scope.\n * @example ```10```\n */\n low_quantity?: number | null\n /**\n * Send this attribute if you want to validate the stock item quantity against the existing reserved stock one, returns an error in case the former is smaller. Cannot be passed by sales channels.\n * @example ```true```\n */\n _validate?: boolean | null\n\n stock_location?: StockLocationRel | null\n sku?: SkuRel | null\n}\n\nclass StockItems extends ApiResource<StockItem> {\n static readonly TYPE: StockItemType = 'stock_items' as const\n\n async create(\n resource: StockItemCreate,\n params?: QueryParamsRetrieve<StockItem>,\n options?: ResourcesConfig,\n ): Promise<StockItem> {\n return this.resources.create<StockItemCreate, StockItem>({ ...resource, type: StockItems.TYPE }, params, options)\n }\n\n async update(\n resource: StockItemUpdate,\n params?: QueryParamsRetrieve<StockItem>,\n options?: ResourcesConfig,\n ): Promise<StockItem> {\n return this.resources.update<StockItemUpdate, StockItem>({ ...resource, type: StockItems.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: StockItems.TYPE } : id, options)\n }\n\n async stock_location(\n stockItemId: string | StockItem,\n params?: QueryParamsRetrieve<StockLocation>,\n options?: ResourcesConfig,\n ): Promise<StockLocation> {\n const _stockItemId = (stockItemId as StockItem).id || (stockItemId as string)\n return this.resources.fetch<StockLocation>(\n { type: 'stock_locations' },\n `stock_items/${_stockItemId}/stock_location`,\n params,\n options,\n ) as unknown as StockLocation\n }\n\n async sku(\n stockItemId: string | StockItem,\n params?: QueryParamsRetrieve<Sku>,\n options?: ResourcesConfig,\n ): Promise<Sku> {\n const _stockItemId = (stockItemId as StockItem).id || (stockItemId as string)\n return this.resources.fetch<Sku>(\n { type: 'skus' },\n `stock_items/${_stockItemId}/sku`,\n params,\n options,\n ) as unknown as Sku\n }\n\n async reserved_stock(\n stockItemId: string | StockItem,\n params?: QueryParamsRetrieve<ReservedStock>,\n options?: ResourcesConfig,\n ): Promise<ReservedStock> {\n const _stockItemId = (stockItemId as StockItem).id || (stockItemId as string)\n return this.resources.fetch<ReservedStock>(\n { type: 'reserved_stocks' },\n `stock_items/${_stockItemId}/reserved_stock`,\n params,\n options,\n ) as unknown as ReservedStock\n }\n\n async stock_reservations(\n stockItemId: string | StockItem,\n params?: QueryParamsList<StockReservation>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<StockReservation>> {\n const _stockItemId = (stockItemId as StockItem).id || (stockItemId as string)\n return this.resources.fetch<StockReservation>(\n { type: 'stock_reservations' },\n `stock_items/${_stockItemId}/stock_reservations`,\n params,\n options,\n ) as unknown as ListResponse<StockReservation>\n }\n\n async attachments(\n stockItemId: string | StockItem,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _stockItemId = (stockItemId as StockItem).id || (stockItemId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `stock_items/${_stockItemId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async event_stores(\n stockItemId: string | StockItem,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _stockItemId = (stockItemId as StockItem).id || (stockItemId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `stock_items/${_stockItemId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _validate(\n id: string | StockItem,\n params?: QueryParamsRetrieve<StockItem>,\n options?: ResourcesConfig,\n ): Promise<StockItem> {\n return this.resources.update<StockItemUpdate, StockItem>(\n { id: typeof id === 'string' ? id : id.id, type: StockItems.TYPE, _validate: true },\n params,\n options,\n )\n }\n\n isStockItem(resource: any): resource is StockItem {\n return resource.type && resource.type === StockItems.TYPE\n }\n\n relationship(id: string | ResourceId | null): StockItemRel {\n return super.relationshipOneToOne<StockItemRel>(id)\n }\n\n relationshipToMany(...ids: string[]): StockItemRel[] {\n return super.relationshipOneToMany<StockItemRel>(...ids)\n }\n\n type(): StockItemType {\n return StockItems.TYPE\n }\n}\n\nconst instance = new StockItems()\nexport default instance\n\nexport type { StockItem, StockItemCreate, StockItems, StockItemType, StockItemUpdate }\n"]}
|
package/lib/chunk-WTDD7L2I.cjs
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk2WQORYBI_cjs = require('./chunk-2WQORYBI.cjs');
|
|
4
|
-
|
|
5
|
-
// gen/resources/reserved_stocks.ts
|
|
6
|
-
var ReservedStocks = class _ReservedStocks extends chunk2WQORYBI_cjs.ApiResource {
|
|
7
|
-
static TYPE = "reserved_stocks";
|
|
8
|
-
async stock_item(reservedStockId, params, options) {
|
|
9
|
-
const _reservedStockId = reservedStockId.id || reservedStockId;
|
|
10
|
-
return this.resources.fetch(
|
|
11
|
-
{ type: "stock_items" },
|
|
12
|
-
`reserved_stocks/${_reservedStockId}/stock_item`,
|
|
13
|
-
params,
|
|
14
|
-
options
|
|
15
|
-
);
|
|
16
|
-
}
|
|
17
|
-
async sku(reservedStockId, params, options) {
|
|
18
|
-
const _reservedStockId = reservedStockId.id || reservedStockId;
|
|
19
|
-
return this.resources.fetch(
|
|
20
|
-
{ type: "skus" },
|
|
21
|
-
`reserved_stocks/${_reservedStockId}/sku`,
|
|
22
|
-
params,
|
|
23
|
-
options
|
|
24
|
-
);
|
|
25
|
-
}
|
|
26
|
-
async stock_reservations(reservedStockId, params, options) {
|
|
27
|
-
const _reservedStockId = reservedStockId.id || reservedStockId;
|
|
28
|
-
return this.resources.fetch(
|
|
29
|
-
{ type: "stock_reservations" },
|
|
30
|
-
`reserved_stocks/${_reservedStockId}/stock_reservations`,
|
|
31
|
-
params,
|
|
32
|
-
options
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
async event_stores(reservedStockId, params, options) {
|
|
36
|
-
const _reservedStockId = reservedStockId.id || reservedStockId;
|
|
37
|
-
return this.resources.fetch(
|
|
38
|
-
{ type: "event_stores" },
|
|
39
|
-
`reserved_stocks/${_reservedStockId}/event_stores`,
|
|
40
|
-
params,
|
|
41
|
-
options
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
isReservedStock(resource) {
|
|
45
|
-
return resource.type && resource.type === _ReservedStocks.TYPE;
|
|
46
|
-
}
|
|
47
|
-
relationship(id) {
|
|
48
|
-
return super.relationshipOneToOne(id);
|
|
49
|
-
}
|
|
50
|
-
relationshipToMany(...ids) {
|
|
51
|
-
return super.relationshipOneToMany(...ids);
|
|
52
|
-
}
|
|
53
|
-
type() {
|
|
54
|
-
return _ReservedStocks.TYPE;
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
var instance = new ReservedStocks();
|
|
58
|
-
var reserved_stocks_default = instance;
|
|
59
|
-
|
|
60
|
-
exports.reserved_stocks_default = reserved_stocks_default;
|
|
61
|
-
//# sourceMappingURL=chunk-WTDD7L2I.cjs.map
|
|
62
|
-
//# sourceMappingURL=chunk-WTDD7L2I.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../gen/resources/reserved_stocks.ts"],"names":["ApiResource"],"mappings":";;;;;AAyCA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuBA,6BAAA,CAA2B;AAAA,EACtD,OAAgB,IAAA,GAA0B,iBAAA;AAAA,EAE1C,MAAM,UAAA,CACJ,eAAA,EACA,MAAA,EACA,OAAA,EACoB;AACpB,IAAA,MAAM,gBAAA,GAAoB,gBAAkC,EAAA,IAAO,eAAA;AACnE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,aAAA,EAAc;AAAA,MACtB,mBAAmB,gBAAgB,CAAA,WAAA,CAAA;AAAA,MACnC,MAAA;AAAA,MACA;AAAA,KACF;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AAAA,EAC7D;AAAA,EAEA,IAAA,GAA0B;AACxB,IAAA,OAAO,eAAA,CAAe,IAAA;AAAA,EACxB;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,cAAA,EAAe;AACpC,IAAO,uBAAA,GAAQ","file":"chunk-WTDD7L2I.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { EventStore } from './event_stores'\nimport type { Sku } from './skus'\nimport type { StockItem } from './stock_items'\nimport type { StockReservation } from './stock_reservations'\n\ntype ReservedStockType = 'reserved_stocks'\ntype ReservedStockRel = ResourceRel & { type: ReservedStockType }\n\nexport type ReservedStockSort = Pick<ReservedStock, 'id' | 'quantity'> & ResourceSort\n// export type ReservedStockFilter = Pick<ReservedStock, 'id' | 'quantity'> & ResourceFilter\n\n/**\n * The Reserved stock object is returned as part of the response body of each successful list or retrieve API call to the /api/reserved_stocks endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/reserved_stocks/object\n */\ninterface ReservedStock extends Resource {\n readonly type: ReservedStockType\n\n /**\n * The stock item reserved quantity.\n * @example ```100```\n */\n quantity: number\n\n stock_item?: StockItem | null\n sku?: Sku | null\n stock_reservations?: StockReservation[] | null\n event_stores?: EventStore[] | null\n}\n\nclass ReservedStocks extends ApiResource<ReservedStock> {\n static readonly TYPE: ReservedStockType = 'reserved_stocks' as const\n\n async stock_item(\n reservedStockId: string | ReservedStock,\n params?: QueryParamsRetrieve<StockItem>,\n options?: ResourcesConfig,\n ): Promise<StockItem> {\n const _reservedStockId = (reservedStockId as ReservedStock).id || (reservedStockId as string)\n return this.resources.fetch<StockItem>(\n { type: 'stock_items' },\n `reserved_stocks/${_reservedStockId}/stock_item`,\n params,\n options,\n ) as unknown as StockItem\n }\n\n async sku(\n reservedStockId: string | ReservedStock,\n params?: QueryParamsRetrieve<Sku>,\n options?: ResourcesConfig,\n ): Promise<Sku> {\n const _reservedStockId = (reservedStockId as ReservedStock).id || (reservedStockId as string)\n return this.resources.fetch<Sku>(\n { type: 'skus' },\n `reserved_stocks/${_reservedStockId}/sku`,\n params,\n options,\n ) as unknown as Sku\n }\n\n async stock_reservations(\n reservedStockId: string | ReservedStock,\n params?: QueryParamsList<StockReservation>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<StockReservation>> {\n const _reservedStockId = (reservedStockId as ReservedStock).id || (reservedStockId as string)\n return this.resources.fetch<StockReservation>(\n { type: 'stock_reservations' },\n `reserved_stocks/${_reservedStockId}/stock_reservations`,\n params,\n options,\n ) as unknown as ListResponse<StockReservation>\n }\n\n async event_stores(\n reservedStockId: string | ReservedStock,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _reservedStockId = (reservedStockId as ReservedStock).id || (reservedStockId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `reserved_stocks/${_reservedStockId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isReservedStock(resource: any): resource is ReservedStock {\n return resource.type && resource.type === ReservedStocks.TYPE\n }\n\n relationship(id: string | ResourceId | null): ReservedStockRel {\n return super.relationshipOneToOne<ReservedStockRel>(id)\n }\n\n relationshipToMany(...ids: string[]): ReservedStockRel[] {\n return super.relationshipOneToMany<ReservedStockRel>(...ids)\n }\n\n type(): ReservedStockType {\n return ReservedStocks.TYPE\n }\n}\n\nconst instance = new ReservedStocks()\nexport default instance\n\nexport type { ReservedStock, ReservedStocks, ReservedStockType }\n"]}
|
package/lib/chunk-WTLMZUTR.cjs
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk2WQORYBI_cjs = require('./chunk-2WQORYBI.cjs');
|
|
4
|
-
|
|
5
|
-
// gen/resources/taxjar_accounts.ts
|
|
6
|
-
var TaxjarAccounts = class _TaxjarAccounts extends chunk2WQORYBI_cjs.ApiResource {
|
|
7
|
-
static TYPE = "taxjar_accounts";
|
|
8
|
-
async create(resource, params, options) {
|
|
9
|
-
return this.resources.create(
|
|
10
|
-
{ ...resource, type: _TaxjarAccounts.TYPE },
|
|
11
|
-
params,
|
|
12
|
-
options
|
|
13
|
-
);
|
|
14
|
-
}
|
|
15
|
-
async update(resource, params, options) {
|
|
16
|
-
return this.resources.update(
|
|
17
|
-
{ ...resource, type: _TaxjarAccounts.TYPE },
|
|
18
|
-
params,
|
|
19
|
-
options
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
async delete(id, options) {
|
|
23
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _TaxjarAccounts.TYPE } : id, options);
|
|
24
|
-
}
|
|
25
|
-
async markets(taxjarAccountId, params, options) {
|
|
26
|
-
const _taxjarAccountId = taxjarAccountId.id || taxjarAccountId;
|
|
27
|
-
return this.resources.fetch(
|
|
28
|
-
{ type: "markets" },
|
|
29
|
-
`taxjar_accounts/${_taxjarAccountId}/markets`,
|
|
30
|
-
params,
|
|
31
|
-
options
|
|
32
|
-
);
|
|
33
|
-
}
|
|
34
|
-
async attachments(taxjarAccountId, params, options) {
|
|
35
|
-
const _taxjarAccountId = taxjarAccountId.id || taxjarAccountId;
|
|
36
|
-
return this.resources.fetch(
|
|
37
|
-
{ type: "attachments" },
|
|
38
|
-
`taxjar_accounts/${_taxjarAccountId}/attachments`,
|
|
39
|
-
params,
|
|
40
|
-
options
|
|
41
|
-
);
|
|
42
|
-
}
|
|
43
|
-
async events(taxjarAccountId, params, options) {
|
|
44
|
-
const _taxjarAccountId = taxjarAccountId.id || taxjarAccountId;
|
|
45
|
-
return this.resources.fetch(
|
|
46
|
-
{ type: "events" },
|
|
47
|
-
`taxjar_accounts/${_taxjarAccountId}/events`,
|
|
48
|
-
params,
|
|
49
|
-
options
|
|
50
|
-
);
|
|
51
|
-
}
|
|
52
|
-
async event_stores(taxjarAccountId, params, options) {
|
|
53
|
-
const _taxjarAccountId = taxjarAccountId.id || taxjarAccountId;
|
|
54
|
-
return this.resources.fetch(
|
|
55
|
-
{ type: "event_stores" },
|
|
56
|
-
`taxjar_accounts/${_taxjarAccountId}/event_stores`,
|
|
57
|
-
params,
|
|
58
|
-
options
|
|
59
|
-
);
|
|
60
|
-
}
|
|
61
|
-
async tax_categories(taxjarAccountId, params, options) {
|
|
62
|
-
const _taxjarAccountId = taxjarAccountId.id || taxjarAccountId;
|
|
63
|
-
return this.resources.fetch(
|
|
64
|
-
{ type: "tax_categories" },
|
|
65
|
-
`taxjar_accounts/${_taxjarAccountId}/tax_categories`,
|
|
66
|
-
params,
|
|
67
|
-
options
|
|
68
|
-
);
|
|
69
|
-
}
|
|
70
|
-
isTaxjarAccount(resource) {
|
|
71
|
-
return resource.type && resource.type === _TaxjarAccounts.TYPE;
|
|
72
|
-
}
|
|
73
|
-
relationship(id) {
|
|
74
|
-
return super.relationshipOneToOne(id);
|
|
75
|
-
}
|
|
76
|
-
relationshipToMany(...ids) {
|
|
77
|
-
return super.relationshipOneToMany(...ids);
|
|
78
|
-
}
|
|
79
|
-
type() {
|
|
80
|
-
return _TaxjarAccounts.TYPE;
|
|
81
|
-
}
|
|
82
|
-
};
|
|
83
|
-
var instance = new TaxjarAccounts();
|
|
84
|
-
var taxjar_accounts_default = instance;
|
|
85
|
-
|
|
86
|
-
exports.taxjar_accounts_default = taxjar_accounts_default;
|
|
87
|
-
//# sourceMappingURL=chunk-WTLMZUTR.cjs.map
|
|
88
|
-
//# sourceMappingURL=chunk-WTLMZUTR.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../gen/resources/taxjar_accounts.ts"],"names":["ApiResource"],"mappings":";;;;;AA4EA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuBA,6BAAA,CAA2B;AAAA,EACtD,OAAgB,IAAA,GAA0B,iBAAA;AAAA,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,qBAAA,CAAwC,GAAG,GAAG,CAAA;AAAA,EAC7D;AAAA,EAEA,IAAA,GAA0B;AACxB,IAAA,OAAO,eAAA,CAAe,IAAA;AAAA,EACxB;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,cAAA,EAAe;AACpC,IAAO,uBAAA,GAAQ","file":"chunk-WTLMZUTR.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market } from './markets'\nimport type { TaxCategory, TaxCategoryType } from './tax_categories'\n\ntype TaxjarAccountType = 'taxjar_accounts'\ntype TaxjarAccountRel = ResourceRel & { type: TaxjarAccountType }\ntype TaxCategoryRel = ResourceRel & { type: TaxCategoryType }\n\nexport type TaxjarAccountSort = Pick<TaxjarAccount, 'id' | 'name'> & ResourceSort\n// export type TaxjarAccountFilter = Pick<TaxjarAccount, 'id' | 'name'> & ResourceFilter\n\n/**\n * The Taxjar account object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/taxjar_accounts endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/taxjar_accounts/object\n */\ninterface TaxjarAccount extends Resource {\n readonly type: TaxjarAccountType\n\n /**\n * The tax calculator's internal name.\n * @example ```\"Personal tax calculator\"```\n */\n name: string\n\n markets?: Market[] | null\n attachments?: Attachment[] | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n tax_categories?: TaxCategory[] | null\n}\n\ninterface TaxjarAccountCreate extends ResourceCreate {\n /**\n * The tax calculator's internal name.\n * @example ```\"Personal tax calculator\"```\n */\n name: string\n /**\n * The TaxJar account API key.\n * @example ```\"TAXJAR_API_KEY\"```\n */\n api_key: string\n\n tax_categories?: TaxCategoryRel[] | null\n}\n\ninterface TaxjarAccountUpdate extends ResourceUpdate {\n /**\n * The tax calculator's internal name.\n * @example ```\"Personal tax calculator\"```\n */\n name?: string | null\n /**\n * The TaxJar account API key.\n * @example ```\"TAXJAR_API_KEY\"```\n */\n api_key?: string | null\n\n tax_categories?: TaxCategoryRel[] | null\n}\n\nclass TaxjarAccounts extends ApiResource<TaxjarAccount> {\n static readonly TYPE: TaxjarAccountType = 'taxjar_accounts' as const\n\n async create(\n resource: TaxjarAccountCreate,\n params?: QueryParamsRetrieve<TaxjarAccount>,\n options?: ResourcesConfig,\n ): Promise<TaxjarAccount> {\n return this.resources.create<TaxjarAccountCreate, TaxjarAccount>(\n { ...resource, type: TaxjarAccounts.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: TaxjarAccountUpdate,\n params?: QueryParamsRetrieve<TaxjarAccount>,\n options?: ResourcesConfig,\n ): Promise<TaxjarAccount> {\n return this.resources.update<TaxjarAccountUpdate, TaxjarAccount>(\n { ...resource, type: TaxjarAccounts.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: TaxjarAccounts.TYPE } : id, options)\n }\n\n async markets(\n taxjarAccountId: string | TaxjarAccount,\n params?: QueryParamsList<Market>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Market>> {\n const _taxjarAccountId = (taxjarAccountId as TaxjarAccount).id || (taxjarAccountId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `taxjar_accounts/${_taxjarAccountId}/markets`,\n params,\n options,\n ) as unknown as ListResponse<Market>\n }\n\n async attachments(\n taxjarAccountId: string | TaxjarAccount,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _taxjarAccountId = (taxjarAccountId as TaxjarAccount).id || (taxjarAccountId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `taxjar_accounts/${_taxjarAccountId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async events(\n taxjarAccountId: string | TaxjarAccount,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _taxjarAccountId = (taxjarAccountId as TaxjarAccount).id || (taxjarAccountId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `taxjar_accounts/${_taxjarAccountId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n taxjarAccountId: string | TaxjarAccount,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _taxjarAccountId = (taxjarAccountId as TaxjarAccount).id || (taxjarAccountId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `taxjar_accounts/${_taxjarAccountId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async tax_categories(\n taxjarAccountId: string | TaxjarAccount,\n params?: QueryParamsList<TaxCategory>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<TaxCategory>> {\n const _taxjarAccountId = (taxjarAccountId as TaxjarAccount).id || (taxjarAccountId as string)\n return this.resources.fetch<TaxCategory>(\n { type: 'tax_categories' },\n `taxjar_accounts/${_taxjarAccountId}/tax_categories`,\n params,\n options,\n ) as unknown as ListResponse<TaxCategory>\n }\n\n isTaxjarAccount(resource: any): resource is TaxjarAccount {\n return resource.type && resource.type === TaxjarAccounts.TYPE\n }\n\n relationship(id: string | ResourceId | null): TaxjarAccountRel {\n return super.relationshipOneToOne<TaxjarAccountRel>(id)\n }\n\n relationshipToMany(...ids: string[]): TaxjarAccountRel[] {\n return super.relationshipOneToMany<TaxjarAccountRel>(...ids)\n }\n\n type(): TaxjarAccountType {\n return TaxjarAccounts.TYPE\n }\n}\n\nconst instance = new TaxjarAccounts()\nexport default instance\n\nexport type { TaxjarAccount, TaxjarAccountCreate, TaxjarAccounts, TaxjarAccountType, TaxjarAccountUpdate }\n"]}
|
package/lib/chunk-WVMZFVEE.js
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-GOYTSKMO.js';
|
|
2
|
-
|
|
3
|
-
// gen/resources/events.ts
|
|
4
|
-
var Events = class _Events extends ApiResource {
|
|
5
|
-
static TYPE = "events";
|
|
6
|
-
async update(resource, params, options) {
|
|
7
|
-
return this.resources.update({ ...resource, type: _Events.TYPE }, params, options);
|
|
8
|
-
}
|
|
9
|
-
async webhooks(eventId, params, options) {
|
|
10
|
-
const _eventId = eventId.id || eventId;
|
|
11
|
-
return this.resources.fetch(
|
|
12
|
-
{ type: "webhooks" },
|
|
13
|
-
`events/${_eventId}/webhooks`,
|
|
14
|
-
params,
|
|
15
|
-
options
|
|
16
|
-
);
|
|
17
|
-
}
|
|
18
|
-
async last_event_callbacks(eventId, params, options) {
|
|
19
|
-
const _eventId = eventId.id || eventId;
|
|
20
|
-
return this.resources.fetch(
|
|
21
|
-
{ type: "event_callbacks" },
|
|
22
|
-
`events/${_eventId}/last_event_callbacks`,
|
|
23
|
-
params,
|
|
24
|
-
options
|
|
25
|
-
);
|
|
26
|
-
}
|
|
27
|
-
async event_stores(eventId, params, options) {
|
|
28
|
-
const _eventId = eventId.id || eventId;
|
|
29
|
-
return this.resources.fetch(
|
|
30
|
-
{ type: "event_stores" },
|
|
31
|
-
`events/${_eventId}/event_stores`,
|
|
32
|
-
params,
|
|
33
|
-
options
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
async _trigger(id, params, options) {
|
|
37
|
-
return this.resources.update(
|
|
38
|
-
{ id: typeof id === "string" ? id : id.id, type: _Events.TYPE, _trigger: true },
|
|
39
|
-
params,
|
|
40
|
-
options
|
|
41
|
-
);
|
|
42
|
-
}
|
|
43
|
-
isEvent(resource) {
|
|
44
|
-
return resource.type && resource.type === _Events.TYPE;
|
|
45
|
-
}
|
|
46
|
-
relationship(id) {
|
|
47
|
-
return super.relationshipOneToOne(id);
|
|
48
|
-
}
|
|
49
|
-
relationshipToMany(...ids) {
|
|
50
|
-
return super.relationshipOneToMany(...ids);
|
|
51
|
-
}
|
|
52
|
-
type() {
|
|
53
|
-
return _Events.TYPE;
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
var instance = new Events();
|
|
57
|
-
var events_default = instance;
|
|
58
|
-
|
|
59
|
-
export { events_default };
|
|
60
|
-
//# sourceMappingURL=chunk-WVMZFVEE.js.map
|
|
61
|
-
//# sourceMappingURL=chunk-WVMZFVEE.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../gen/resources/events.ts"],"names":[],"mappings":";;;AAgDA,IAAM,MAAA,GAAN,MAAM,OAAA,SAAe,WAAA,CAAmB;AAAA,EACtC,OAAgB,IAAA,GAAkB,QAAA;AAAA,EAElC,MAAM,MAAA,CAAO,QAAA,EAAuB,MAAA,EAAqC,OAAA,EAA2C;AAClH,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2B,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,OAAA,CAAO,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACtG;AAAA,EAEA,MAAM,QAAA,CACJ,OAAA,EACA,MAAA,EACA,OAAA,EACgC;AAChC,IAAA,MAAM,QAAA,GAAY,QAAkB,EAAA,IAAO,OAAA;AAC3C,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,UAAA,EAAW;AAAA,MACnB,UAAU,QAAQ,CAAA,SAAA,CAAA;AAAA,MAClB,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,oBAAA,CACJ,OAAA,EACA,MAAA,EACA,OAAA,EACsC;AACtC,IAAA,MAAM,QAAA,GAAY,QAAkB,EAAA,IAAO,OAAA;AAC3C,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,iB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esContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { EventCallback } from './event_callbacks'\nimport type { EventStore } from './event_stores'\nimport type { Webhook } from './webhooks'\n\ntype EventType = 'events'\ntype EventRel = ResourceRel & { type: EventType }\n\nexport type EventSort = Pick<Event, 'id' | 'name'> & ResourceSort\n// export type EventFilter = Pick<Event, 'id' | 'name'> & ResourceFilter\n\n/**\n * The Event object is returned as part of the response body of each successful list, retrieve or update API call to the /api/events endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/events/object\n */\ninterface Event extends Resource {\n readonly type: EventType\n\n /**\n * The event's internal name.\n * @example ```\"orders.create\"```\n */\n name: string\n\n webhooks?: Webhook[] | null\n last_event_callbacks?: EventCallback[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface EventUpdate extends ResourceUpdate {\n /**\n * Send this attribute if you want to force webhooks execution for this event. Cannot be passed by sales channels.\n * @example ```true```\n */\n _trigger?: boolean | null\n}\n\nclass Events extends ApiResource<Event> {\n static readonly TYPE: EventType = 'events' as const\n\n async update(resource: EventUpdate, params?: QueryParamsRetrieve<Event>, options?: ResourcesConfig): Promise<Event> {\n return this.resources.update<EventUpdate, Event>({ ...resource, type: Events.TYPE }, params, options)\n }\n\n async webhooks(\n eventId: string | Event,\n params?: QueryParamsList<Webhook>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Webhook>> {\n const _eventId = (eventId as Event).id || (eventId as string)\n return this.resources.fetch<Webhook>(\n { type: 'webhooks' },\n `events/${_eventId}/webhooks`,\n params,\n options,\n ) as unknown as ListResponse<Webhook>\n }\n\n async last_event_callbacks(\n eventId: string | Event,\n params?: QueryParamsList<EventCallback>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventCallback>> {\n const _eventId = (eventId as Event).id || (eventId as string)\n return this.resources.fetch<EventCallback>(\n { type: 'event_callbacks' },\n `events/${_eventId}/last_event_callbacks`,\n params,\n options,\n ) as unknown as ListResponse<EventCallback>\n }\n\n async event_stores(\n eventId: string | Event,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _eventId = (eventId as Event).id || (eventId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `events/${_eventId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _trigger(id: string | Event, params?: QueryParamsRetrieve<Event>, options?: ResourcesConfig): Promise<Event> {\n return this.resources.update<EventUpdate, Event>(\n { id: typeof id === 'string' ? id : id.id, type: Events.TYPE, _trigger: true },\n params,\n options,\n )\n }\n\n isEvent(resource: any): resource is Event {\n return resource.type && resource.type === Events.TYPE\n }\n\n relationship(id: string | ResourceId | null): EventRel {\n return super.relationshipOneToOne<EventRel>(id)\n }\n\n relationshipToMany(...ids: string[]): EventRel[] {\n return super.relationshipOneToMany<EventRel>(...ids)\n }\n\n type(): EventType {\n return Events.TYPE\n }\n}\n\nconst instance = new Events()\nexport default instance\n\nexport type { Event, Events, EventType, EventUpdate }\n"]}
|