@commercelayer/sdk 8.0.2 → 8.0.4-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-DJWB1iL6.d.cts +0 -23388
- package/lib/api-DJWB1iL6.d.ts +0 -23388
- 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-24EFXKUU.cjs +0 -52
- package/lib/chunk-24EFXKUU.cjs.map +0 -1
- package/lib/chunk-2AKGZ2GV.cjs +0 -113
- package/lib/chunk-2AKGZ2GV.cjs.map +0 -1
- package/lib/chunk-2B7QENRY.js +0 -60
- package/lib/chunk-2B7QENRY.js.map +0 -1
- package/lib/chunk-2DFZX4JD.cjs +0 -91
- package/lib/chunk-2DFZX4JD.cjs.map +0 -1
- package/lib/chunk-2ET3IGWF.js +0 -86
- package/lib/chunk-2ET3IGWF.js.map +0 -1
- package/lib/chunk-2M4NHYBA.js +0 -103
- package/lib/chunk-2M4NHYBA.js.map +0 -1
- package/lib/chunk-2SEVKNMR.js +0 -87
- package/lib/chunk-2SEVKNMR.js.map +0 -1
- package/lib/chunk-2TRUWACE.js +0 -42
- package/lib/chunk-2TRUWACE.js.map +0 -1
- package/lib/chunk-2UF5C3QN.js +0 -69
- package/lib/chunk-2UF5C3QN.js.map +0 -1
- package/lib/chunk-2V7RTQ63.js +0 -58
- package/lib/chunk-2V7RTQ63.js.map +0 -1
- package/lib/chunk-34ER7YPD.cjs +0 -120
- package/lib/chunk-34ER7YPD.cjs.map +0 -1
- package/lib/chunk-3AYXQYPS.js +0 -81
- package/lib/chunk-3AYXQYPS.js.map +0 -1
- package/lib/chunk-3DA27AX6.js +0 -92
- package/lib/chunk-3DA27AX6.js.map +0 -1
- package/lib/chunk-3O6OY5ZH.cjs +0 -70
- package/lib/chunk-3O6OY5ZH.cjs.map +0 -1
- package/lib/chunk-3QYBQ4WC.js +0 -60
- package/lib/chunk-3QYBQ4WC.js.map +0 -1
- package/lib/chunk-3TGO5VRV.js +0 -236
- package/lib/chunk-3TGO5VRV.js.map +0 -1
- package/lib/chunk-3TRLQW7A.cjs +0 -131
- package/lib/chunk-3TRLQW7A.cjs.map +0 -1
- package/lib/chunk-3Y7SJN5N.cjs +0 -134
- package/lib/chunk-3Y7SJN5N.cjs.map +0 -1
- package/lib/chunk-4373PQGU.js +0 -99
- package/lib/chunk-4373PQGU.js.map +0 -1
- package/lib/chunk-44KW42M5.cjs +0 -79
- package/lib/chunk-44KW42M5.cjs.map +0 -1
- package/lib/chunk-454EYOV2.cjs +0 -44
- package/lib/chunk-454EYOV2.cjs.map +0 -1
- package/lib/chunk-462XVGXP.cjs +0 -38
- package/lib/chunk-462XVGXP.cjs.map +0 -1
- package/lib/chunk-4DKGBKU6.cjs +0 -147
- package/lib/chunk-4DKGBKU6.cjs.map +0 -1
- package/lib/chunk-4EMKFKNK.js +0 -125
- package/lib/chunk-4EMKFKNK.js.map +0 -1
- package/lib/chunk-4IHKK5HU.js +0 -77
- package/lib/chunk-4IHKK5HU.js.map +0 -1
- package/lib/chunk-4KUZWXYD.cjs +0 -70
- package/lib/chunk-4KUZWXYD.cjs.map +0 -1
- package/lib/chunk-4LXCQL6I.js +0 -177
- package/lib/chunk-4LXCQL6I.js.map +0 -1
- package/lib/chunk-4W4NVNUT.cjs +0 -118
- package/lib/chunk-4W4NVNUT.cjs.map +0 -1
- package/lib/chunk-4Y56X47V.js +0 -118
- package/lib/chunk-4Y56X47V.js.map +0 -1
- package/lib/chunk-4ZO45PK3.js +0 -3
- package/lib/chunk-4ZO45PK3.js.map +0 -1
- package/lib/chunk-53NWJI5J.js +0 -80
- package/lib/chunk-53NWJI5J.js.map +0 -1
- package/lib/chunk-57I2U5W4.js +0 -120
- package/lib/chunk-57I2U5W4.js.map +0 -1
- package/lib/chunk-5AE2USHV.cjs +0 -77
- package/lib/chunk-5AE2USHV.cjs.map +0 -1
- package/lib/chunk-5AOWYXCM.cjs +0 -52
- package/lib/chunk-5AOWYXCM.cjs.map +0 -1
- package/lib/chunk-5BCLGVP4.js +0 -75
- package/lib/chunk-5BCLGVP4.js.map +0 -1
- package/lib/chunk-5BYJHX4K.js +0 -60
- package/lib/chunk-5BYJHX4K.js.map +0 -1
- package/lib/chunk-5FTWSREC.cjs +0 -98
- package/lib/chunk-5FTWSREC.cjs.map +0 -1
- package/lib/chunk-5GTJQWZC.js +0 -118
- package/lib/chunk-5GTJQWZC.js.map +0 -1
- package/lib/chunk-5LUUPCHG.cjs +0 -170
- package/lib/chunk-5LUUPCHG.cjs.map +0 -1
- package/lib/chunk-5NZLIYCF.js +0 -168
- package/lib/chunk-5NZLIYCF.js.map +0 -1
- package/lib/chunk-5OUIUXFQ.js +0 -118
- package/lib/chunk-5OUIUXFQ.js.map +0 -1
- package/lib/chunk-64WCBTUJ.cjs +0 -200
- package/lib/chunk-64WCBTUJ.cjs.map +0 -1
- package/lib/chunk-6DGDDVQH.js +0 -86
- package/lib/chunk-6DGDDVQH.js.map +0 -1
- package/lib/chunk-6I3CN5DF.js +0 -50
- package/lib/chunk-6I3CN5DF.js.map +0 -1
- package/lib/chunk-6IBFS2O2.cjs +0 -91
- package/lib/chunk-6IBFS2O2.cjs.map +0 -1
- package/lib/chunk-6LULFJ7J.js +0 -86
- package/lib/chunk-6LULFJ7J.js.map +0 -1
- package/lib/chunk-6O37CODJ.js +0 -118
- package/lib/chunk-6O37CODJ.js.map +0 -1
- package/lib/chunk-6Q32I4CH.js +0 -73
- package/lib/chunk-6Q32I4CH.js.map +0 -1
- package/lib/chunk-6R57WTQE.js +0 -191
- package/lib/chunk-6R57WTQE.js.map +0 -1
- package/lib/chunk-6S4HPUFK.cjs +0 -53
- package/lib/chunk-6S4HPUFK.cjs.map +0 -1
- package/lib/chunk-6YPVEKKD.cjs +0 -44
- package/lib/chunk-6YPVEKKD.cjs.map +0 -1
- package/lib/chunk-72QKYXC2.cjs +0 -77
- package/lib/chunk-72QKYXC2.cjs.map +0 -1
- package/lib/chunk-755SLNCY.js +0 -77
- package/lib/chunk-755SLNCY.js.map +0 -1
- package/lib/chunk-77HTHPOW.cjs +0 -79
- package/lib/chunk-77HTHPOW.cjs.map +0 -1
- package/lib/chunk-7J673P4R.js +0 -68
- package/lib/chunk-7J673P4R.js.map +0 -1
- package/lib/chunk-7MGHVLEG.js +0 -78
- package/lib/chunk-7MGHVLEG.js.map +0 -1
- package/lib/chunk-7N37XTKQ.cjs +0 -88
- package/lib/chunk-7N37XTKQ.cjs.map +0 -1
- package/lib/chunk-7PLQOEQC.cjs +0 -70
- package/lib/chunk-7PLQOEQC.cjs.map +0 -1
- package/lib/chunk-7UPDYNKV.cjs +0 -83
- package/lib/chunk-7UPDYNKV.cjs.map +0 -1
- package/lib/chunk-7VEVGF3S.js +0 -60
- package/lib/chunk-7VEVGF3S.js.map +0 -1
- package/lib/chunk-7WEDS5VW.js +0 -51
- package/lib/chunk-7WEDS5VW.js.map +0 -1
- package/lib/chunk-7WLVVDFY.cjs +0 -120
- package/lib/chunk-7WLVVDFY.cjs.map +0 -1
- package/lib/chunk-7XMO6IEI.cjs +0 -16
- package/lib/chunk-7XMO6IEI.cjs.map +0 -1
- package/lib/chunk-A33WZ46D.js +0 -177
- package/lib/chunk-A33WZ46D.js.map +0 -1
- package/lib/chunk-A5NK4NLP.js +0 -77
- package/lib/chunk-A5NK4NLP.js.map +0 -1
- package/lib/chunk-AD3B6JOQ.cjs +0 -71
- package/lib/chunk-AD3B6JOQ.cjs.map +0 -1
- package/lib/chunk-AEEWE5BS.cjs +0 -622
- package/lib/chunk-AEEWE5BS.cjs.map +0 -1
- package/lib/chunk-AHGYPEG6.cjs +0 -97
- package/lib/chunk-AHGYPEG6.cjs.map +0 -1
- package/lib/chunk-AM6K24AY.cjs +0 -69
- package/lib/chunk-AM6K24AY.cjs.map +0 -1
- package/lib/chunk-ASAYW3YW.cjs +0 -4
- package/lib/chunk-ASAYW3YW.cjs.map +0 -1
- package/lib/chunk-AXW4SOCW.js +0 -111
- package/lib/chunk-AXW4SOCW.js.map +0 -1
- package/lib/chunk-BFR5INU6.cjs +0 -75
- package/lib/chunk-BFR5INU6.cjs.map +0 -1
- package/lib/chunk-BHMRF7IZ.cjs +0 -61
- package/lib/chunk-BHMRF7IZ.cjs.map +0 -1
- package/lib/chunk-BK5J45WM.cjs +0 -115
- package/lib/chunk-BK5J45WM.cjs.map +0 -1
- package/lib/chunk-BOHPBUOT.js +0 -17
- package/lib/chunk-BOHPBUOT.js.map +0 -1
- package/lib/chunk-BW2FKAUH.cjs +0 -70
- package/lib/chunk-BW2FKAUH.cjs.map +0 -1
- package/lib/chunk-BWKSCAXJ.js +0 -77
- package/lib/chunk-BWKSCAXJ.js.map +0 -1
- package/lib/chunk-BYIQBPZ7.js +0 -100
- package/lib/chunk-BYIQBPZ7.js.map +0 -1
- package/lib/chunk-BYVGBKM3.js +0 -68
- package/lib/chunk-BYVGBKM3.js.map +0 -1
- package/lib/chunk-BZNYNCWB.cjs +0 -81
- package/lib/chunk-BZNYNCWB.cjs.map +0 -1
- package/lib/chunk-C2WT7GM5.js +0 -27
- package/lib/chunk-C2WT7GM5.js.map +0 -1
- package/lib/chunk-C7VAWIP4.cjs +0 -53
- package/lib/chunk-C7VAWIP4.cjs.map +0 -1
- package/lib/chunk-CFFBUZME.js +0 -42
- package/lib/chunk-CFFBUZME.js.map +0 -1
- package/lib/chunk-CFOI26OK.cjs +0 -70
- package/lib/chunk-CFOI26OK.cjs.map +0 -1
- package/lib/chunk-CGY46DPU.js +0 -132
- package/lib/chunk-CGY46DPU.js.map +0 -1
- package/lib/chunk-CIMJYMOT.cjs +0 -94
- package/lib/chunk-CIMJYMOT.cjs.map +0 -1
- package/lib/chunk-CVJHHEIK.js +0 -75
- package/lib/chunk-CVJHHEIK.js.map +0 -1
- package/lib/chunk-CVRXPIJT.js +0 -92
- package/lib/chunk-CVRXPIJT.js.map +0 -1
- package/lib/chunk-CWK4DFQQ.js +0 -75
- package/lib/chunk-CWK4DFQQ.js.map +0 -1
- package/lib/chunk-CYW57T7T.cjs +0 -89
- package/lib/chunk-CYW57T7T.cjs.map +0 -1
- package/lib/chunk-DACJGPOO.cjs +0 -70
- package/lib/chunk-DACJGPOO.cjs.map +0 -1
- package/lib/chunk-DGTPLNXE.cjs +0 -120
- package/lib/chunk-DGTPLNXE.cjs.map +0 -1
- package/lib/chunk-DHULMF3P.cjs +0 -802
- package/lib/chunk-DHULMF3P.cjs.map +0 -1
- package/lib/chunk-DNO3T3G2.cjs +0 -91
- package/lib/chunk-DNO3T3G2.cjs.map +0 -1
- package/lib/chunk-DO7ZCJX2.js +0 -132
- package/lib/chunk-DO7ZCJX2.js.map +0 -1
- package/lib/chunk-DXVEK6XH.cjs +0 -117
- package/lib/chunk-DXVEK6XH.cjs.map +0 -1
- package/lib/chunk-E3EMSDCZ.cjs +0 -79
- package/lib/chunk-E3EMSDCZ.cjs.map +0 -1
- package/lib/chunk-EEC3UERL.cjs +0 -228
- package/lib/chunk-EEC3UERL.cjs.map +0 -1
- package/lib/chunk-EISK2REO.js +0 -321
- package/lib/chunk-EISK2REO.js.map +0 -1
- package/lib/chunk-ELGQTLBC.cjs +0 -134
- package/lib/chunk-ELGQTLBC.cjs.map +0 -1
- package/lib/chunk-ENBW2XZF.cjs +0 -79
- package/lib/chunk-ENBW2XZF.cjs.map +0 -1
- package/lib/chunk-EQZ5NX5T.js +0 -96
- package/lib/chunk-EQZ5NX5T.js.map +0 -1
- package/lib/chunk-ETT7H4U4.cjs +0 -134
- package/lib/chunk-ETT7H4U4.cjs.map +0 -1
- package/lib/chunk-EUGD5LD7.cjs +0 -46
- package/lib/chunk-EUGD5LD7.cjs.map +0 -1
- package/lib/chunk-EW2BHMUO.cjs +0 -66
- package/lib/chunk-EW2BHMUO.cjs.map +0 -1
- package/lib/chunk-EXIWOJ6O.js +0 -68
- package/lib/chunk-EXIWOJ6O.js.map +0 -1
- package/lib/chunk-F2JQRO7U.js +0 -42
- package/lib/chunk-F2JQRO7U.js.map +0 -1
- package/lib/chunk-F77YRAM6.cjs +0 -120
- package/lib/chunk-F77YRAM6.cjs.map +0 -1
- package/lib/chunk-F7QR7GMD.js +0 -68
- package/lib/chunk-F7QR7GMD.js.map +0 -1
- package/lib/chunk-FHXYIYQU.js +0 -835
- package/lib/chunk-FHXYIYQU.js.map +0 -1
- package/lib/chunk-FK4D5635.cjs +0 -179
- package/lib/chunk-FK4D5635.cjs.map +0 -1
- package/lib/chunk-FQLPZ2MU.js +0 -65
- package/lib/chunk-FQLPZ2MU.js.map +0 -1
- package/lib/chunk-FRIHL5LT.cjs +0 -70
- package/lib/chunk-FRIHL5LT.cjs.map +0 -1
- package/lib/chunk-FSBDTFKD.cjs +0 -102
- package/lib/chunk-FSBDTFKD.cjs.map +0 -1
- package/lib/chunk-G5VR5FSC.js +0 -33
- package/lib/chunk-G5VR5FSC.js.map +0 -1
- package/lib/chunk-GBY6CVPS.cjs +0 -84
- package/lib/chunk-GBY6CVPS.cjs.map +0 -1
- package/lib/chunk-GDRV6SHT.js +0 -177
- package/lib/chunk-GDRV6SHT.js.map +0 -1
- package/lib/chunk-GFWKE5JC.cjs +0 -79
- package/lib/chunk-GFWKE5JC.cjs.map +0 -1
- package/lib/chunk-GFZWPEWB.cjs +0 -88
- package/lib/chunk-GFZWPEWB.cjs.map +0 -1
- package/lib/chunk-GNAFDVJQ.js +0 -77
- package/lib/chunk-GNAFDVJQ.js.map +0 -1
- package/lib/chunk-GTUWWJ4E.js +0 -68
- package/lib/chunk-GTUWWJ4E.js.map +0 -1
- package/lib/chunk-GVGUWZRR.js +0 -709
- package/lib/chunk-GVGUWZRR.js.map +0 -1
- package/lib/chunk-GWLFFCIK.cjs +0 -63
- package/lib/chunk-GWLFFCIK.cjs.map +0 -1
- package/lib/chunk-GXO6FRD6.cjs +0 -55
- package/lib/chunk-GXO6FRD6.cjs.map +0 -1
- package/lib/chunk-GYXCFDBB.cjs +0 -261
- package/lib/chunk-GYXCFDBB.cjs.map +0 -1
- package/lib/chunk-H5HKQNKY.js +0 -132
- package/lib/chunk-H5HKQNKY.js.map +0 -1
- package/lib/chunk-H7VW2WWV.cjs +0 -193
- package/lib/chunk-H7VW2WWV.cjs.map +0 -1
- package/lib/chunk-HC4DYAR7.js +0 -51
- package/lib/chunk-HC4DYAR7.js.map +0 -1
- package/lib/chunk-HFKAHXRN.js +0 -79
- package/lib/chunk-HFKAHXRN.js.map +0 -1
- package/lib/chunk-HHKDE2EY.js +0 -113
- package/lib/chunk-HHKDE2EY.js.map +0 -1
- package/lib/chunk-HIRAXWND.cjs +0 -105
- package/lib/chunk-HIRAXWND.cjs.map +0 -1
- package/lib/chunk-HJX3F2IZ.cjs +0 -81
- package/lib/chunk-HJX3F2IZ.cjs.map +0 -1
- package/lib/chunk-HKFBBW64.cjs +0 -84
- package/lib/chunk-HKFBBW64.cjs.map +0 -1
- package/lib/chunk-HYFMKESH.cjs +0 -120
- package/lib/chunk-HYFMKESH.cjs.map +0 -1
- package/lib/chunk-HYZK4UHD.js +0 -95
- package/lib/chunk-HYZK4UHD.js.map +0 -1
- package/lib/chunk-HZC25RD6.js +0 -65
- package/lib/chunk-HZC25RD6.js.map +0 -1
- package/lib/chunk-I2HQEZIH.cjs +0 -70
- package/lib/chunk-I2HQEZIH.cjs.map +0 -1
- package/lib/chunk-I475S2D4.js +0 -118
- package/lib/chunk-I475S2D4.js.map +0 -1
- package/lib/chunk-IENRQR42.js +0 -104
- package/lib/chunk-IENRQR42.js.map +0 -1
- package/lib/chunk-IEYTJLOM.cjs +0 -179
- package/lib/chunk-IEYTJLOM.cjs.map +0 -1
- package/lib/chunk-IGDZ2PV7.js +0 -59
- package/lib/chunk-IGDZ2PV7.js.map +0 -1
- package/lib/chunk-ILVWWIOS.js +0 -89
- package/lib/chunk-ILVWWIOS.js.map +0 -1
- package/lib/chunk-IPWXHNCI.js +0 -116
- package/lib/chunk-IPWXHNCI.js.map +0 -1
- package/lib/chunk-IQERB5PH.js +0 -68
- package/lib/chunk-IQERB5PH.js.map +0 -1
- package/lib/chunk-IT57J5K6.js +0 -100
- package/lib/chunk-IT57J5K6.js.map +0 -1
- package/lib/chunk-IX4X722M.cjs +0 -29
- package/lib/chunk-IX4X722M.cjs.map +0 -1
- package/lib/chunk-IZWJDKFK.js +0 -132
- package/lib/chunk-IZWJDKFK.js.map +0 -1
- package/lib/chunk-JCUWRROD.cjs +0 -77
- package/lib/chunk-JCUWRROD.cjs.map +0 -1
- package/lib/chunk-JFLC4CGG.cjs +0 -84
- package/lib/chunk-JFLC4CGG.cjs.map +0 -1
- package/lib/chunk-JGOG5F32.js +0 -77
- package/lib/chunk-JGOG5F32.js.map +0 -1
- package/lib/chunk-JHHEHYUJ.cjs +0 -94
- package/lib/chunk-JHHEHYUJ.cjs.map +0 -1
- package/lib/chunk-JKBXKD2T.js +0 -96
- package/lib/chunk-JKBXKD2T.js.map +0 -1
- package/lib/chunk-JKIJH2TW.cjs +0 -90
- package/lib/chunk-JKIJH2TW.cjs.map +0 -1
- package/lib/chunk-JSISVEEX.js +0 -191
- package/lib/chunk-JSISVEEX.js.map +0 -1
- package/lib/chunk-JT2664UO.cjs +0 -79
- package/lib/chunk-JT2664UO.cjs.map +0 -1
- package/lib/chunk-JV6NESNL.cjs +0 -84
- package/lib/chunk-JV6NESNL.cjs.map +0 -1
- package/lib/chunk-JVQFNGEM.cjs +0 -843
- package/lib/chunk-JVQFNGEM.cjs.map +0 -1
- package/lib/chunk-JXOHI3GA.js +0 -38
- package/lib/chunk-JXOHI3GA.js.map +0 -1
- package/lib/chunk-KGZIYHUD.js +0 -132
- package/lib/chunk-KGZIYHUD.js.map +0 -1
- package/lib/chunk-KIH74TJU.js +0 -36
- package/lib/chunk-KIH74TJU.js.map +0 -1
- package/lib/chunk-KJ64VHNF.js +0 -84
- package/lib/chunk-KJ64VHNF.js.map +0 -1
- package/lib/chunk-KN2P4VJO.cjs +0 -67
- package/lib/chunk-KN2P4VJO.cjs.map +0 -1
- package/lib/chunk-KNKB66E4.cjs +0 -79
- package/lib/chunk-KNKB66E4.cjs.map +0 -1
- package/lib/chunk-KOWTO2FB.cjs +0 -102
- package/lib/chunk-KOWTO2FB.cjs.map +0 -1
- package/lib/chunk-KRCSIJ36.js +0 -69
- package/lib/chunk-KRCSIJ36.js.map +0 -1
- package/lib/chunk-LCUX5N55.js +0 -189
- package/lib/chunk-LCUX5N55.js.map +0 -1
- package/lib/chunk-LDWUJ4NS.js +0 -120
- package/lib/chunk-LDWUJ4NS.js.map +0 -1
- package/lib/chunk-LEEDYITP.cjs +0 -62
- package/lib/chunk-LEEDYITP.cjs.map +0 -1
- package/lib/chunk-LQI6WNOM.js +0 -44
- package/lib/chunk-LQI6WNOM.js.map +0 -1
- package/lib/chunk-LSBIX6R6.cjs +0 -53
- package/lib/chunk-LSBIX6R6.cjs.map +0 -1
- package/lib/chunk-LSW4J3BM.js +0 -89
- package/lib/chunk-LSW4J3BM.js.map +0 -1
- package/lib/chunk-M27FPUOQ.cjs +0 -79
- package/lib/chunk-M27FPUOQ.cjs.map +0 -1
- package/lib/chunk-M6Y6AUOE.cjs +0 -122
- package/lib/chunk-M6Y6AUOE.cjs.map +0 -1
- package/lib/chunk-MBPL47PK.js +0 -60
- package/lib/chunk-MBPL47PK.js.map +0 -1
- package/lib/chunk-MFJ5YRC6.cjs +0 -19
- package/lib/chunk-MFJ5YRC6.cjs.map +0 -1
- package/lib/chunk-MG4TBZYZ.cjs +0 -88
- package/lib/chunk-MG4TBZYZ.cjs.map +0 -1
- package/lib/chunk-MMJTHP33.cjs +0 -134
- package/lib/chunk-MMJTHP33.cjs.map +0 -1
- package/lib/chunk-MRPP6PPF.js +0 -164
- package/lib/chunk-MRPP6PPF.js.map +0 -1
- package/lib/chunk-N2HI7V3J.cjs +0 -86
- package/lib/chunk-N2HI7V3J.cjs.map +0 -1
- package/lib/chunk-N4O4EQXB.js +0 -82
- package/lib/chunk-N4O4EQXB.js.map +0 -1
- package/lib/chunk-N7APCPEO.cjs +0 -62
- package/lib/chunk-N7APCPEO.cjs.map +0 -1
- package/lib/chunk-NDHBSNAN.cjs +0 -134
- package/lib/chunk-NDHBSNAN.cjs.map +0 -1
- package/lib/chunk-NEVA36Z3.js +0 -226
- package/lib/chunk-NEVA36Z3.js.map +0 -1
- package/lib/chunk-NG5SRNN6.cjs +0 -86
- package/lib/chunk-NG5SRNN6.cjs.map +0 -1
- package/lib/chunk-NMQIELV3.js +0 -177
- package/lib/chunk-NMQIELV3.js.map +0 -1
- package/lib/chunk-NMZJWZK4.js +0 -608
- package/lib/chunk-NMZJWZK4.js.map +0 -1
- package/lib/chunk-NN5JD5GJ.cjs +0 -60
- package/lib/chunk-NN5JD5GJ.cjs.map +0 -1
- package/lib/chunk-NNRCCVCT.cjs +0 -52
- package/lib/chunk-NNRCCVCT.cjs.map +0 -1
- package/lib/chunk-NPIT6XFY.cjs +0 -44
- package/lib/chunk-NPIT6XFY.cjs.map +0 -1
- package/lib/chunk-NRGDTLQX.cjs +0 -193
- package/lib/chunk-NRGDTLQX.cjs.map +0 -1
- package/lib/chunk-NRHM4X3A.cjs +0 -77
- package/lib/chunk-NRHM4X3A.cjs.map +0 -1
- package/lib/chunk-NSG3RZIS.js +0 -88
- package/lib/chunk-NSG3RZIS.js.map +0 -1
- package/lib/chunk-NTGLDICG.cjs +0 -711
- package/lib/chunk-NTGLDICG.cjs.map +0 -1
- package/lib/chunk-NVI2TOZ4.js +0 -68
- package/lib/chunk-NVI2TOZ4.js.map +0 -1
- package/lib/chunk-NXQVRFMR.js +0 -100
- package/lib/chunk-NXQVRFMR.js.map +0 -1
- package/lib/chunk-NYTAHIXQ.cjs +0 -323
- package/lib/chunk-NYTAHIXQ.cjs.map +0 -1
- package/lib/chunk-NZMJCJF5.cjs +0 -53
- package/lib/chunk-NZMJCJF5.cjs.map +0 -1
- package/lib/chunk-O4CXMMV3.js +0 -118
- package/lib/chunk-O4CXMMV3.js.map +0 -1
- package/lib/chunk-OC5YU4U2.cjs +0 -62
- package/lib/chunk-OC5YU4U2.cjs.map +0 -1
- package/lib/chunk-OGKAAQHC.js +0 -91
- package/lib/chunk-OGKAAQHC.js.map +0 -1
- package/lib/chunk-OI2Y6VVG.js +0 -68
- package/lib/chunk-OI2Y6VVG.js.map +0 -1
- package/lib/chunk-OIIBAIPX.js +0 -132
- package/lib/chunk-OIIBAIPX.js.map +0 -1
- package/lib/chunk-OKMDTNLO.js +0 -69
- package/lib/chunk-OKMDTNLO.js.map +0 -1
- package/lib/chunk-OO23WWU6.js +0 -191
- package/lib/chunk-OO23WWU6.js.map +0 -1
- package/lib/chunk-OO4D4T3N.js +0 -68
- package/lib/chunk-OO4D4T3N.js.map +0 -1
- package/lib/chunk-OPNMFVMK.js +0 -50
- package/lib/chunk-OPNMFVMK.js.map +0 -1
- package/lib/chunk-OQGM4YSR.cjs +0 -70
- package/lib/chunk-OQGM4YSR.cjs.map +0 -1
- package/lib/chunk-ORSKQZIY.js +0 -77
- package/lib/chunk-ORSKQZIY.js.map +0 -1
- package/lib/chunk-OWZDRZU7.js +0 -86
- package/lib/chunk-OWZDRZU7.js.map +0 -1
- package/lib/chunk-P7ODGUHE.cjs +0 -79
- package/lib/chunk-P7ODGUHE.cjs.map +0 -1
- package/lib/chunk-PFUT24AU.cjs +0 -71
- package/lib/chunk-PFUT24AU.cjs.map +0 -1
- package/lib/chunk-PI72ID5G.js +0 -94
- package/lib/chunk-PI72ID5G.js.map +0 -1
- package/lib/chunk-PJ4PFWJB.js +0 -51
- package/lib/chunk-PJ4PFWJB.js.map +0 -1
- package/lib/chunk-PKXLCN35.js +0 -259
- package/lib/chunk-PKXLCN35.js.map +0 -1
- package/lib/chunk-PLSBTAJI.cjs +0 -79
- package/lib/chunk-PLSBTAJI.cjs.map +0 -1
- package/lib/chunk-PM7MSROG.cjs +0 -35
- package/lib/chunk-PM7MSROG.cjs.map +0 -1
- package/lib/chunk-PNLEAMEV.js +0 -104
- package/lib/chunk-PNLEAMEV.js.map +0 -1
- package/lib/chunk-PPKBLGVE.js +0 -51
- package/lib/chunk-PPKBLGVE.js.map +0 -1
- package/lib/chunk-PPQ3XVQ4.cjs +0 -98
- package/lib/chunk-PPQ3XVQ4.cjs.map +0 -1
- package/lib/chunk-Q2F6TD2O.js +0 -59
- package/lib/chunk-Q2F6TD2O.js.map +0 -1
- package/lib/chunk-QB6PTSZK.cjs +0 -98
- package/lib/chunk-QB6PTSZK.cjs.map +0 -1
- package/lib/chunk-QE3DUG2X.cjs +0 -101
- package/lib/chunk-QE3DUG2X.cjs.map +0 -1
- package/lib/chunk-QGS4DTWF.js +0 -77
- package/lib/chunk-QGS4DTWF.js.map +0 -1
- package/lib/chunk-QGXRRYKZ.cjs +0 -62
- package/lib/chunk-QGXRRYKZ.cjs.map +0 -1
- package/lib/chunk-QSGVEIXT.cjs +0 -71
- package/lib/chunk-QSGVEIXT.cjs.map +0 -1
- package/lib/chunk-QWZ4EUFP.cjs +0 -93
- package/lib/chunk-QWZ4EUFP.cjs.map +0 -1
- package/lib/chunk-QY3MJ6RG.js +0 -77
- package/lib/chunk-QY3MJ6RG.js.map +0 -1
- package/lib/chunk-QYQIL7FR.js +0 -77
- package/lib/chunk-QYQIL7FR.js.map +0 -1
- package/lib/chunk-R26KUBCB.cjs +0 -79
- package/lib/chunk-R26KUBCB.cjs.map +0 -1
- package/lib/chunk-R4M67EQW.js +0 -103
- package/lib/chunk-R4M67EQW.js.map +0 -1
- package/lib/chunk-RAD66KYA.cjs +0 -120
- package/lib/chunk-RAD66KYA.cjs.map +0 -1
- package/lib/chunk-RIENQW5M.js +0 -86
- package/lib/chunk-RIENQW5M.js.map +0 -1
- package/lib/chunk-RKBO7PHN.js +0 -60
- package/lib/chunk-RKBO7PHN.js.map +0 -1
- package/lib/chunk-RKGRMLHM.js +0 -82
- package/lib/chunk-RKGRMLHM.js.map +0 -1
- package/lib/chunk-RVOOQWMD.js +0 -50
- package/lib/chunk-RVOOQWMD.js.map +0 -1
- package/lib/chunk-S4C3RSYR.js +0 -79
- package/lib/chunk-S4C3RSYR.js.map +0 -1
- package/lib/chunk-SHUY5DCZ.cjs +0 -105
- package/lib/chunk-SHUY5DCZ.cjs.map +0 -1
- package/lib/chunk-SKBUEHPZ.cjs +0 -62
- package/lib/chunk-SKBUEHPZ.cjs.map +0 -1
- package/lib/chunk-SNCJYGR5.cjs +0 -85
- package/lib/chunk-SNCJYGR5.cjs.map +0 -1
- package/lib/chunk-SPVAMV24.js +0 -113
- package/lib/chunk-SPVAMV24.js.map +0 -1
- package/lib/chunk-SSYDQUTT.js +0 -68
- package/lib/chunk-SSYDQUTT.js.map +0 -1
- package/lib/chunk-STLBEX5L.js +0 -58
- package/lib/chunk-STLBEX5L.js.map +0 -1
- package/lib/chunk-SV5PKCHJ.cjs +0 -44
- package/lib/chunk-SV5PKCHJ.cjs.map +0 -1
- package/lib/chunk-SVUKVUMA.js +0 -84
- package/lib/chunk-SVUKVUMA.js.map +0 -1
- package/lib/chunk-SWG67O4K.js +0 -64
- package/lib/chunk-SWG67O4K.js.map +0 -1
- package/lib/chunk-SWM5BIG4.js +0 -59
- package/lib/chunk-SWM5BIG4.js.map +0 -1
- package/lib/chunk-SYDP3IVC.js +0 -177
- package/lib/chunk-SYDP3IVC.js.map +0 -1
- package/lib/chunk-T3Z6T4BJ.js +0 -198
- package/lib/chunk-T3Z6T4BJ.js.map +0 -1
- package/lib/chunk-TJLTQICM.cjs +0 -238
- package/lib/chunk-TJLTQICM.cjs.map +0 -1
- package/lib/chunk-TKDRQZLV.cjs +0 -125
- package/lib/chunk-TKDRQZLV.cjs.map +0 -1
- package/lib/chunk-TWUWXMK3.cjs +0 -88
- package/lib/chunk-TWUWXMK3.cjs.map +0 -1
- package/lib/chunk-TXDU5YYO.js +0 -68
- package/lib/chunk-TXDU5YYO.js.map +0 -1
- package/lib/chunk-TYEPXXZA.js +0 -89
- package/lib/chunk-TYEPXXZA.js.map +0 -1
- package/lib/chunk-TYUJ5AKF.js +0 -24
- package/lib/chunk-TYUJ5AKF.js.map +0 -1
- package/lib/chunk-U3UGTHDM.js +0 -77
- package/lib/chunk-U3UGTHDM.js.map +0 -1
- package/lib/chunk-U5KL5QW3.cjs +0 -82
- package/lib/chunk-U5KL5QW3.cjs.map +0 -1
- package/lib/chunk-U726EZ77.js +0 -145
- package/lib/chunk-U726EZ77.js.map +0 -1
- package/lib/chunk-UED5GGIR.cjs +0 -70
- package/lib/chunk-UED5GGIR.cjs.map +0 -1
- package/lib/chunk-UEXESWTK.js +0 -77
- package/lib/chunk-UEXESWTK.js.map +0 -1
- package/lib/chunk-UFSDQ54M.cjs +0 -80
- package/lib/chunk-UFSDQ54M.cjs.map +0 -1
- package/lib/chunk-UN23KTJS.js +0 -68
- package/lib/chunk-UN23KTJS.js.map +0 -1
- package/lib/chunk-UUQ6CAYK.cjs +0 -70
- package/lib/chunk-UUQ6CAYK.cjs.map +0 -1
- package/lib/chunk-UVQYEDMG.cjs +0 -70
- package/lib/chunk-UVQYEDMG.cjs.map +0 -1
- package/lib/chunk-UX3U6BYO.cjs +0 -166
- package/lib/chunk-UX3U6BYO.cjs.map +0 -1
- package/lib/chunk-UYXA4LYZ.cjs +0 -53
- package/lib/chunk-UYXA4LYZ.cjs.map +0 -1
- package/lib/chunk-V2Z6Y3LL.js +0 -91
- package/lib/chunk-V2Z6Y3LL.js.map +0 -1
- package/lib/chunk-V6TVHDSP.cjs +0 -91
- package/lib/chunk-V6TVHDSP.cjs.map +0 -1
- package/lib/chunk-V7KOF5KH.js +0 -61
- package/lib/chunk-V7KOF5KH.js.map +0 -1
- package/lib/chunk-VAYNWR36.cjs +0 -26
- package/lib/chunk-VAYNWR36.cjs.map +0 -1
- package/lib/chunk-VDW2JLAL.js +0 -124
- package/lib/chunk-VDW2JLAL.js.map +0 -1
- package/lib/chunk-VE7YJYTH.cjs +0 -62
- package/lib/chunk-VE7YJYTH.cjs.map +0 -1
- package/lib/chunk-VGR74H45.js +0 -89
- package/lib/chunk-VGR74H45.js.map +0 -1
- package/lib/chunk-VIZSXWTI.js +0 -68
- package/lib/chunk-VIZSXWTI.js.map +0 -1
- package/lib/chunk-VLEQ5O2R.cjs +0 -61
- package/lib/chunk-VLEQ5O2R.cjs.map +0 -1
- package/lib/chunk-VOC2LFGB.js +0 -68
- package/lib/chunk-VOC2LFGB.js.map +0 -1
- package/lib/chunk-VPJBT7D7.cjs +0 -191
- package/lib/chunk-VPJBT7D7.cjs.map +0 -1
- package/lib/chunk-VQEFHONB.cjs +0 -134
- package/lib/chunk-VQEFHONB.cjs.map +0 -1
- package/lib/chunk-VT3RCBOL.cjs +0 -179
- package/lib/chunk-VT3RCBOL.cjs.map +0 -1
- package/lib/chunk-VUOWNYYA.cjs +0 -93
- package/lib/chunk-VUOWNYYA.cjs.map +0 -1
- package/lib/chunk-VW55S4XX.cjs +0 -40
- package/lib/chunk-VW55S4XX.cjs.map +0 -1
- package/lib/chunk-W6ZBWZ7Y.js +0 -82
- package/lib/chunk-W6ZBWZ7Y.js.map +0 -1
- package/lib/chunk-WCZUROJ7.js +0 -129
- package/lib/chunk-WCZUROJ7.js.map +0 -1
- package/lib/chunk-WGBVOKJJ.cjs +0 -102
- package/lib/chunk-WGBVOKJJ.cjs.map +0 -1
- package/lib/chunk-WKAR7DLK.js +0 -75
- package/lib/chunk-WKAR7DLK.js.map +0 -1
- package/lib/chunk-WR2X2NWF.cjs +0 -106
- package/lib/chunk-WR2X2NWF.cjs.map +0 -1
- package/lib/chunk-WRTYAF3H.cjs +0 -79
- package/lib/chunk-WRTYAF3H.cjs.map +0 -1
- package/lib/chunk-WXLQ4SQF.js +0 -51
- package/lib/chunk-WXLQ4SQF.js.map +0 -1
- package/lib/chunk-X3ZFBFDO.cjs +0 -106
- package/lib/chunk-X3ZFBFDO.cjs.map +0 -1
- package/lib/chunk-X5H5GKO4.js +0 -67
- package/lib/chunk-X5H5GKO4.js.map +0 -1
- package/lib/chunk-X5KZNL6C.js +0 -53
- package/lib/chunk-X5KZNL6C.js.map +0 -1
- package/lib/chunk-XACFYS2E.cjs +0 -179
- package/lib/chunk-XACFYS2E.cjs.map +0 -1
- package/lib/chunk-XDRL2OK4.cjs +0 -96
- package/lib/chunk-XDRL2OK4.cjs.map +0 -1
- package/lib/chunk-XGEZ32JO.cjs +0 -127
- package/lib/chunk-XGEZ32JO.cjs.map +0 -1
- package/lib/chunk-XNZFRGHF.cjs +0 -77
- package/lib/chunk-XNZFRGHF.cjs.map +0 -1
- package/lib/chunk-XOI5NHLE.cjs +0 -91
- package/lib/chunk-XOI5NHLE.cjs.map +0 -1
- package/lib/chunk-XQY6KEWS.cjs +0 -122
- package/lib/chunk-XQY6KEWS.cjs.map +0 -1
- package/lib/chunk-XS5DX2W6.cjs +0 -61
- package/lib/chunk-XS5DX2W6.cjs.map +0 -1
- package/lib/chunk-XSPYON35.cjs +0 -88
- package/lib/chunk-XSPYON35.cjs.map +0 -1
- package/lib/chunk-XSWBPETA.js +0 -89
- package/lib/chunk-XSWBPETA.js.map +0 -1
- package/lib/chunk-XU6ATKMP.cjs +0 -81
- package/lib/chunk-XU6ATKMP.cjs.map +0 -1
- package/lib/chunk-XUKXWQV6.cjs +0 -62
- package/lib/chunk-XUKXWQV6.cjs.map +0 -1
- package/lib/chunk-XVUIKQB3.js +0 -42
- package/lib/chunk-XVUIKQB3.js.map +0 -1
- package/lib/chunk-XWJHR6LH.js +0 -123
- package/lib/chunk-XWJHR6LH.js.map +0 -1
- package/lib/chunk-XYIVNXNH.js +0 -79
- package/lib/chunk-XYIVNXNH.js.map +0 -1
- package/lib/chunk-Y3JPY7ZE.cjs +0 -60
- package/lib/chunk-Y3JPY7ZE.cjs.map +0 -1
- package/lib/chunk-YCAE4OZV.js +0 -60
- package/lib/chunk-YCAE4OZV.js.map +0 -1
- package/lib/chunk-YFIXSVVI.cjs +0 -70
- package/lib/chunk-YFIXSVVI.cjs.map +0 -1
- package/lib/chunk-YIQI7PJS.js +0 -83
- package/lib/chunk-YIQI7PJS.js.map +0 -1
- package/lib/chunk-YL3FK2GQ.cjs +0 -126
- package/lib/chunk-YL3FK2GQ.cjs.map +0 -1
- package/lib/chunk-YNBXERSC.cjs +0 -193
- package/lib/chunk-YNBXERSC.cjs.map +0 -1
- package/lib/chunk-YRJDWWF4.cjs +0 -70
- package/lib/chunk-YRJDWWF4.cjs.map +0 -1
- package/lib/chunk-YXP6OLJF.cjs +0 -67
- package/lib/chunk-YXP6OLJF.cjs.map +0 -1
- package/lib/chunk-Z3LTJ3AM.js +0 -68
- package/lib/chunk-Z3LTJ3AM.js.map +0 -1
- package/lib/chunk-ZBHCZ2QG.js +0 -96
- package/lib/chunk-ZBHCZ2QG.js.map +0 -1
- package/lib/chunk-ZDBO3GYM.js +0 -75
- package/lib/chunk-ZDBO3GYM.js.map +0 -1
- package/lib/chunk-ZJTNBGKS.cjs +0 -70
- package/lib/chunk-ZJTNBGKS.cjs.map +0 -1
- package/lib/chunk-ZNVDFMX4.js +0 -12
- package/lib/chunk-ZNVDFMX4.js.map +0 -1
- package/lib/chunk-ZRKA6OTB.cjs +0 -179
- package/lib/chunk-ZRKA6OTB.cjs.map +0 -1
- package/lib/chunk-ZRLRYFPN.js +0 -799
- package/lib/chunk-ZRLRYFPN.js.map +0 -1
- package/lib/chunk-ZXTUDRVJ.js +0 -82
- package/lib/chunk-ZXTUDRVJ.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-4EMKFKNK.js
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-FHXYIYQU.js';
|
|
2
|
-
|
|
3
|
-
// gen/resources/payment_setting_braintrees.ts
|
|
4
|
-
var PaymentSettingBraintrees = class _PaymentSettingBraintrees extends ApiResource {
|
|
5
|
-
static TYPE = "payment_setting_braintrees";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create(
|
|
8
|
-
{ ...resource, type: _PaymentSettingBraintrees.TYPE },
|
|
9
|
-
params,
|
|
10
|
-
options
|
|
11
|
-
);
|
|
12
|
-
}
|
|
13
|
-
async update(resource, params, options) {
|
|
14
|
-
return this.resources.update(
|
|
15
|
-
{ ...resource, type: _PaymentSettingBraintrees.TYPE },
|
|
16
|
-
params,
|
|
17
|
-
options
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
async delete(id, options) {
|
|
21
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _PaymentSettingBraintrees.TYPE } : id, options);
|
|
22
|
-
}
|
|
23
|
-
async payment_links(paymentSettingBraintreeId, params, options) {
|
|
24
|
-
const _paymentSettingBraintreeId = paymentSettingBraintreeId.id || paymentSettingBraintreeId;
|
|
25
|
-
return this.resources.fetch(
|
|
26
|
-
{ type: "payment_links" },
|
|
27
|
-
`payment_setting_braintrees/${_paymentSettingBraintreeId}/payment_links`,
|
|
28
|
-
params,
|
|
29
|
-
options
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
async payment_sessions(paymentSettingBraintreeId, params, options) {
|
|
33
|
-
const _paymentSettingBraintreeId = paymentSettingBraintreeId.id || paymentSettingBraintreeId;
|
|
34
|
-
return this.resources.fetch(
|
|
35
|
-
{ type: "payment_sessions" },
|
|
36
|
-
`payment_setting_braintrees/${_paymentSettingBraintreeId}/payment_sessions`,
|
|
37
|
-
params,
|
|
38
|
-
options
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
async payment_transactions(paymentSettingBraintreeId, params, options) {
|
|
42
|
-
const _paymentSettingBraintreeId = paymentSettingBraintreeId.id || paymentSettingBraintreeId;
|
|
43
|
-
return this.resources.fetch(
|
|
44
|
-
{ type: "payment_transactions" },
|
|
45
|
-
`payment_setting_braintrees/${_paymentSettingBraintreeId}/payment_transactions`,
|
|
46
|
-
params,
|
|
47
|
-
options
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
async payment_wallets(paymentSettingBraintreeId, params, options) {
|
|
51
|
-
const _paymentSettingBraintreeId = paymentSettingBraintreeId.id || paymentSettingBraintreeId;
|
|
52
|
-
return this.resources.fetch(
|
|
53
|
-
{ type: "payment_wallets" },
|
|
54
|
-
`payment_setting_braintrees/${_paymentSettingBraintreeId}/payment_wallets`,
|
|
55
|
-
params,
|
|
56
|
-
options
|
|
57
|
-
);
|
|
58
|
-
}
|
|
59
|
-
async order_subscriptions(paymentSettingBraintreeId, params, options) {
|
|
60
|
-
const _paymentSettingBraintreeId = paymentSettingBraintreeId.id || paymentSettingBraintreeId;
|
|
61
|
-
return this.resources.fetch(
|
|
62
|
-
{ type: "order_subscriptions" },
|
|
63
|
-
`payment_setting_braintrees/${_paymentSettingBraintreeId}/order_subscriptions`,
|
|
64
|
-
params,
|
|
65
|
-
options
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
async events(paymentSettingBraintreeId, params, options) {
|
|
69
|
-
const _paymentSettingBraintreeId = paymentSettingBraintreeId.id || paymentSettingBraintreeId;
|
|
70
|
-
return this.resources.fetch(
|
|
71
|
-
{ type: "events" },
|
|
72
|
-
`payment_setting_braintrees/${_paymentSettingBraintreeId}/events`,
|
|
73
|
-
params,
|
|
74
|
-
options
|
|
75
|
-
);
|
|
76
|
-
}
|
|
77
|
-
async event_stores(paymentSettingBraintreeId, params, options) {
|
|
78
|
-
const _paymentSettingBraintreeId = paymentSettingBraintreeId.id || paymentSettingBraintreeId;
|
|
79
|
-
return this.resources.fetch(
|
|
80
|
-
{ type: "event_stores" },
|
|
81
|
-
`payment_setting_braintrees/${_paymentSettingBraintreeId}/event_stores`,
|
|
82
|
-
params,
|
|
83
|
-
options
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
async _disable(id, params, options) {
|
|
87
|
-
return this.resources.update(
|
|
88
|
-
{ id: typeof id === "string" ? id : id.id, type: _PaymentSettingBraintrees.TYPE, _disable: true },
|
|
89
|
-
params,
|
|
90
|
-
options
|
|
91
|
-
);
|
|
92
|
-
}
|
|
93
|
-
async _enable(id, params, options) {
|
|
94
|
-
return this.resources.update(
|
|
95
|
-
{ id: typeof id === "string" ? id : id.id, type: _PaymentSettingBraintrees.TYPE, _enable: true },
|
|
96
|
-
params,
|
|
97
|
-
options
|
|
98
|
-
);
|
|
99
|
-
}
|
|
100
|
-
async _check(id, params, options) {
|
|
101
|
-
return this.resources.update(
|
|
102
|
-
{ id: typeof id === "string" ? id : id.id, type: _PaymentSettingBraintrees.TYPE, _check: true },
|
|
103
|
-
params,
|
|
104
|
-
options
|
|
105
|
-
);
|
|
106
|
-
}
|
|
107
|
-
isPaymentSettingBraintree(resource) {
|
|
108
|
-
return resource.type && resource.type === _PaymentSettingBraintrees.TYPE;
|
|
109
|
-
}
|
|
110
|
-
relationship(id) {
|
|
111
|
-
return super.relationshipOneToOne(id);
|
|
112
|
-
}
|
|
113
|
-
relationshipToMany(...ids) {
|
|
114
|
-
return super.relationshipOneToMany(...ids);
|
|
115
|
-
}
|
|
116
|
-
type() {
|
|
117
|
-
return _PaymentSettingBraintrees.TYPE;
|
|
118
|
-
}
|
|
119
|
-
};
|
|
120
|
-
var instance = new PaymentSettingBraintrees();
|
|
121
|
-
var payment_setting_braintrees_default = instance;
|
|
122
|
-
|
|
123
|
-
export { payment_setting_braintrees_default };
|
|
124
|
-
//# sourceMappingURL=chunk-4EMKFKNK.js.map
|
|
125
|
-
//# sourceMappingURL=chunk-4EMKFKNK.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../gen/resources/payment_setting_braintrees.ts"],"names":[],"mappings":";;;AAmOA,IAAM,wBAAA,GAAN,MAAM,yBAAA,SAAiC,WAAA,CAAqC;AAAA,EAC1E,OAAgB,IAAA,GAAoC,4BAAA;AAAA,EAEpD,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACkC;AAClC,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,0BA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AS,yBAAA,CAAyB,IAAA;AAAA,EACrE;AAAA,EAEA,aAAa,EAAA,EAA4D;AACvE,IAAA,OAAO,KAAA,CAAM,qBAAiD,EAAE,CAAA;AAAA,EAClE;AAAA,EAEA,sBAAsB,GAAA,EAA6C;AACjE,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAkD,GAAG,GAAG,CAAA;AAAA,EACvE;AAAA,EAEA,IAAA,GAAoC;AAClC,IAAA,OAAO,yBAAA,CAAyB,IAAA;AAAA,EAClC;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,wBAAA,EAAyB;AAC9C,IAAO,kCAAA,GAAQ","file":"chunk-4EMKFKNK.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { OrderSubscription } from './order_subscriptions'\nimport type { PaymentLink } from './payment_links'\nimport type { PaymentSession } from './payment_sessions'\nimport type { PaymentTransaction } from './payment_transactions'\nimport type { PaymentWallet } from './payment_wallets'\n\ntype PaymentSettingBraintreeType = 'payment_setting_braintrees'\ntype PaymentSettingBraintreeRel = ResourceRel & { type: PaymentSettingBraintreeType }\n\nexport type PaymentSettingBraintreeSort = Pick<PaymentSettingBraintree, 'id' | 'status' | 'name' | 'disabled_at'> &\n ResourceSort\n// export type PaymentSettingBraintreeFilter = Pick<PaymentSettingBraintree, 'id' | 'gateway_version' | 'internal_versionable' | 'auto_capture' | 'auto_place' | 'status' | 'name' | 'disabled_at'> & ResourceFilter\n\n/**\n * The Payment setting braintree object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/payment_setting_braintrees endpoint.\n * @since 2026-05\n *\n * @link https://docs.commercelayer.io/core-api-reference/2026-05/payment_setting_braintrees/object\n */\ninterface PaymentSettingBraintree extends Resource {\n readonly type: PaymentSettingBraintreeType\n\n /**\n * The gateway version of the payment setting (external API version).\n * @example ```\"2025-09-30.clover\"```\n */\n gateway_version?: string | null\n /**\n * The minutes within which a repeated payment operation is deduplicated by the gateway idempotency key. Later attempts get a fresh key.\n * @example ```60```\n */\n idempotency_window_mins?: number | null\n /**\n * The internal versions of the payment setting for payload changes.\n * @example ```{\"payment_intent\":\"V1\",\"setup_intent\":\"V3\"}```\n */\n internal_versions?: Record<string, any> | null\n /**\n * Indicates whether this payment setting's gateway supports internal payload versioning (see internal_versions).\n * @example ```true```\n */\n internal_versionable?: boolean | null\n /**\n * Send this attribute if you want the payment to be automatically captured when authorized.\n */\n auto_capture?: boolean | null\n /**\n * Send this attribute if you want the order to be automatically placed when a payment session using this payment setting is authorized.\n */\n auto_place?: boolean | null\n /**\n * The payment setting status. It is pending until the gateway webhook is configured, either automatically or by providing its secret.\n * @example ```\"active\"```\n */\n status: string\n /**\n * The name of the payment setting.\n * @example ```\"Stripe\"```\n */\n name?: string | null\n /**\n * Time at which this resource was disabled.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n disabled_at?: string | null\n /**\n * The gateway public key.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n public_key: string\n /**\n * The gateway merchant account ID, used to route transactions to the correct sub-account.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n merchant_account_id: string\n /**\n * The gateway webhook URL to configure manually in the Braintree Control Panel.\n * @example ```\"https://core.commercelayer.co/webhook_callbacks/payment_setting_braintrees/xxxxx\"```\n */\n webhook_endpoint_url?: string | null\n\n payment_links?: PaymentLink[] | null\n payment_sessions?: PaymentSession[] | null\n payment_transactions?: PaymentTransaction[] | null\n payment_wallets?: PaymentWallet[] | null\n order_subscriptions?: OrderSubscription[] | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface PaymentSettingBraintreeCreate extends ResourceCreate {\n /**\n * The gateway version of the payment setting (external API version).\n * @example ```\"2025-09-30.clover\"```\n */\n gateway_version?: string | null\n /**\n * The minutes within which a repeated payment operation is deduplicated by the gateway idempotency key. Later attempts get a fresh key.\n * @example ```60```\n */\n idempotency_window_mins?: number | null\n /**\n * Send this attribute if you want the payment to be automatically captured when authorized.\n */\n auto_capture?: boolean | null\n /**\n * Send this attribute if you want the order to be automatically placed when a payment session using this payment setting is authorized.\n */\n auto_place?: boolean | null\n /**\n * The name of the payment setting.\n * @example ```\"Stripe\"```\n */\n name?: string | null\n /**\n * Send this attribute if you want to mark this resource as disabled.\n * @example ```true```\n */\n _disable?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as enabled.\n * @example ```true```\n */\n _enable?: boolean | null\n /**\n * Send this attribute if you want to validate the payment gateway credentials using the gateway’s own APIs.\n * @example ```true```\n */\n _check?: boolean | null\n /**\n * The gateway merchant ID.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n merchant_id: string\n /**\n * The gateway public key.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n public_key: string\n /**\n * The gateway private key.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n private_key: string\n /**\n * The gateway merchant account ID, used to route transactions to the correct sub-account.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n merchant_account_id: string\n}\n\ninterface PaymentSettingBraintreeUpdate extends ResourceUpdate {\n /**\n * The gateway version of the payment setting (external API version).\n * @example ```\"2025-09-30.clover\"```\n */\n gateway_version?: string | null\n /**\n * The minutes within which a repeated payment operation is deduplicated by the gateway idempotency key. Later attempts get a fresh key.\n * @example ```60```\n */\n idempotency_window_mins?: number | null\n /**\n * Send this attribute if you want the payment to be automatically captured when authorized.\n */\n auto_capture?: boolean | null\n /**\n * Send this attribute if you want the order to be automatically placed when a payment session using this payment setting is authorized.\n */\n auto_place?: boolean | null\n /**\n * The name of the payment setting.\n * @example ```\"Stripe\"```\n */\n name?: string | null\n /**\n * Send this attribute if you want to mark this resource as disabled.\n * @example ```true```\n */\n _disable?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as enabled.\n * @example ```true```\n */\n _enable?: boolean | null\n /**\n * Send this attribute if you want to validate the payment gateway credentials using the gateway’s own APIs.\n * @example ```true```\n */\n _check?: boolean | null\n /**\n * The gateway merchant ID.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n merchant_id?: string | null\n /**\n * The gateway public key.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n public_key?: string | null\n /**\n * The gateway private key.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n private_key?: string | null\n /**\n * The gateway merchant account ID, used to route transactions to the correct sub-account.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n merchant_account_id?: string | null\n}\n\n/** @since 2026-05 */\nclass PaymentSettingBraintrees extends ApiResource<PaymentSettingBraintree> {\n static readonly TYPE: PaymentSettingBraintreeType = 'payment_setting_braintrees' as const\n\n async create(\n resource: PaymentSettingBraintreeCreate,\n params?: QueryParamsRetrieve<PaymentSettingBraintree>,\n options?: ResourcesConfig,\n ): Promise<PaymentSettingBraintree> {\n return this.resources.create<PaymentSettingBraintreeCreate, PaymentSettingBraintree>(\n { ...resource, type: PaymentSettingBraintrees.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: PaymentSettingBraintreeUpdate,\n params?: QueryParamsRetrieve<PaymentSettingBraintree>,\n options?: ResourcesConfig,\n ): Promise<PaymentSettingBraintree> {\n return this.resources.update<PaymentSettingBraintreeUpdate, PaymentSettingBraintree>(\n { ...resource, type: PaymentSettingBraintrees.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: PaymentSettingBraintrees.TYPE } : id, options)\n }\n\n async payment_links(\n paymentSettingBraintreeId: string | PaymentSettingBraintree,\n params?: QueryParamsList<PaymentLink>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<PaymentLink>> {\n const _paymentSettingBraintreeId =\n (paymentSettingBraintreeId as PaymentSettingBraintree).id || (paymentSettingBraintreeId as string)\n return this.resources.fetch<PaymentLink>(\n { type: 'payment_links' },\n `payment_setting_braintrees/${_paymentSettingBraintreeId}/payment_links`,\n params,\n options,\n ) as unknown as ListResponse<PaymentLink>\n }\n\n async payment_sessions(\n paymentSettingBraintreeId: string | PaymentSettingBraintree,\n params?: QueryParamsList<PaymentSession>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<PaymentSession>> {\n const _paymentSettingBraintreeId =\n (paymentSettingBraintreeId as PaymentSettingBraintree).id || (paymentSettingBraintreeId as string)\n return this.resources.fetch<PaymentSession>(\n { type: 'payment_sessions' },\n `payment_setting_braintrees/${_paymentSettingBraintreeId}/payment_sessions`,\n params,\n options,\n ) as unknown as ListResponse<PaymentSession>\n }\n\n async payment_transactions(\n paymentSettingBraintreeId: string | PaymentSettingBraintree,\n params?: QueryParamsList<PaymentTransaction>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<PaymentTransaction>> {\n const _paymentSettingBraintreeId =\n (paymentSettingBraintreeId as PaymentSettingBraintree).id || (paymentSettingBraintreeId as string)\n return this.resources.fetch<PaymentTransaction>(\n { type: 'payment_transactions' },\n `payment_setting_braintrees/${_paymentSettingBraintreeId}/payment_transactions`,\n params,\n options,\n ) as unknown as ListResponse<PaymentTransaction>\n }\n\n async payment_wallets(\n paymentSettingBraintreeId: string | PaymentSettingBraintree,\n params?: QueryParamsList<PaymentWallet>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<PaymentWallet>> {\n const _paymentSettingBraintreeId =\n (paymentSettingBraintreeId as PaymentSettingBraintree).id || (paymentSettingBraintreeId as string)\n return this.resources.fetch<PaymentWallet>(\n { type: 'payment_wallets' },\n `payment_setting_braintrees/${_paymentSettingBraintreeId}/payment_wallets`,\n params,\n options,\n ) as unknown as ListResponse<PaymentWallet>\n }\n\n async order_subscriptions(\n paymentSettingBraintreeId: string | PaymentSettingBraintree,\n params?: QueryParamsList<OrderSubscription>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<OrderSubscription>> {\n const _paymentSettingBraintreeId =\n (paymentSettingBraintreeId as PaymentSettingBraintree).id || (paymentSettingBraintreeId as string)\n return this.resources.fetch<OrderSubscription>(\n { type: 'order_subscriptions' },\n `payment_setting_braintrees/${_paymentSettingBraintreeId}/order_subscriptions`,\n params,\n options,\n ) as unknown as ListResponse<OrderSubscription>\n }\n\n async events(\n paymentSettingBraintreeId: string | PaymentSettingBraintree,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _paymentSettingBraintreeId =\n (paymentSettingBraintreeId as PaymentSettingBraintree).id || (paymentSettingBraintreeId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `payment_setting_braintrees/${_paymentSettingBraintreeId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n paymentSettingBraintreeId: string | PaymentSettingBraintree,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _paymentSettingBraintreeId =\n (paymentSettingBraintreeId as PaymentSettingBraintree).id || (paymentSettingBraintreeId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `payment_setting_braintrees/${_paymentSettingBraintreeId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _disable(\n id: string | PaymentSettingBraintree,\n params?: QueryParamsRetrieve<PaymentSettingBraintree>,\n options?: ResourcesConfig,\n ): Promise<PaymentSettingBraintree> {\n return this.resources.update<PaymentSettingBraintreeUpdate, PaymentSettingBraintree>(\n { id: typeof id === 'string' ? id : id.id, type: PaymentSettingBraintrees.TYPE, _disable: true },\n params,\n options,\n )\n }\n\n async _enable(\n id: string | PaymentSettingBraintree,\n params?: QueryParamsRetrieve<PaymentSettingBraintree>,\n options?: ResourcesConfig,\n ): Promise<PaymentSettingBraintree> {\n return this.resources.update<PaymentSettingBraintreeUpdate, PaymentSettingBraintree>(\n { id: typeof id === 'string' ? id : id.id, type: PaymentSettingBraintrees.TYPE, _enable: true },\n params,\n options,\n )\n }\n\n async _check(\n id: string | PaymentSettingBraintree,\n params?: QueryParamsRetrieve<PaymentSettingBraintree>,\n options?: ResourcesConfig,\n ): Promise<PaymentSettingBraintree> {\n return this.resources.update<PaymentSettingBraintreeUpdate, PaymentSettingBraintree>(\n { id: typeof id === 'string' ? id : id.id, type: PaymentSettingBraintrees.TYPE, _check: true },\n params,\n options,\n )\n }\n\n isPaymentSettingBraintree(resource: any): resource is PaymentSettingBraintree {\n return resource.type && resource.type === PaymentSettingBraintrees.TYPE\n }\n\n relationship(id: string | ResourceId | null): PaymentSettingBraintreeRel {\n return super.relationshipOneToOne<PaymentSettingBraintreeRel>(id)\n }\n\n relationshipToMany(...ids: string[]): PaymentSettingBraintreeRel[] {\n return super.relationshipOneToMany<PaymentSettingBraintreeRel>(...ids)\n }\n\n type(): PaymentSettingBraintreeType {\n return PaymentSettingBraintrees.TYPE\n }\n}\n\nconst instance = new PaymentSettingBraintrees()\nexport default instance\n\nexport type {\n PaymentSettingBraintree,\n PaymentSettingBraintreeCreate,\n PaymentSettingBraintrees,\n PaymentSettingBraintreeType,\n PaymentSettingBraintreeUpdate,\n}\n"]}
|
package/lib/chunk-4IHKK5HU.js
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-FHXYIYQU.js';
|
|
2
|
-
|
|
3
|
-
// gen/resources/bing_geocoders.ts
|
|
4
|
-
var BingGeocoders = class _BingGeocoders extends ApiResource {
|
|
5
|
-
static TYPE = "bing_geocoders";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create(
|
|
8
|
-
{ ...resource, type: _BingGeocoders.TYPE },
|
|
9
|
-
params,
|
|
10
|
-
options
|
|
11
|
-
);
|
|
12
|
-
}
|
|
13
|
-
async update(resource, params, options) {
|
|
14
|
-
return this.resources.update(
|
|
15
|
-
{ ...resource, type: _BingGeocoders.TYPE },
|
|
16
|
-
params,
|
|
17
|
-
options
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
async delete(id, options) {
|
|
21
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _BingGeocoders.TYPE } : id, options);
|
|
22
|
-
}
|
|
23
|
-
async markets(bingGeocoderId, params, options) {
|
|
24
|
-
const _bingGeocoderId = bingGeocoderId.id || bingGeocoderId;
|
|
25
|
-
return this.resources.fetch(
|
|
26
|
-
{ type: "markets" },
|
|
27
|
-
`bing_geocoders/${_bingGeocoderId}/markets`,
|
|
28
|
-
params,
|
|
29
|
-
options
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
async addresses(bingGeocoderId, params, options) {
|
|
33
|
-
const _bingGeocoderId = bingGeocoderId.id || bingGeocoderId;
|
|
34
|
-
return this.resources.fetch(
|
|
35
|
-
{ type: "addresses" },
|
|
36
|
-
`bing_geocoders/${_bingGeocoderId}/addresses`,
|
|
37
|
-
params,
|
|
38
|
-
options
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
async attachments(bingGeocoderId, params, options) {
|
|
42
|
-
const _bingGeocoderId = bingGeocoderId.id || bingGeocoderId;
|
|
43
|
-
return this.resources.fetch(
|
|
44
|
-
{ type: "attachments" },
|
|
45
|
-
`bing_geocoders/${_bingGeocoderId}/attachments`,
|
|
46
|
-
params,
|
|
47
|
-
options
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
async event_stores(bingGeocoderId, params, options) {
|
|
51
|
-
const _bingGeocoderId = bingGeocoderId.id || bingGeocoderId;
|
|
52
|
-
return this.resources.fetch(
|
|
53
|
-
{ type: "event_stores" },
|
|
54
|
-
`bing_geocoders/${_bingGeocoderId}/event_stores`,
|
|
55
|
-
params,
|
|
56
|
-
options
|
|
57
|
-
);
|
|
58
|
-
}
|
|
59
|
-
isBingGeocoder(resource) {
|
|
60
|
-
return resource.type && resource.type === _BingGeocoders.TYPE;
|
|
61
|
-
}
|
|
62
|
-
relationship(id) {
|
|
63
|
-
return super.relationshipOneToOne(id);
|
|
64
|
-
}
|
|
65
|
-
relationshipToMany(...ids) {
|
|
66
|
-
return super.relationshipOneToMany(...ids);
|
|
67
|
-
}
|
|
68
|
-
type() {
|
|
69
|
-
return _BingGeocoders.TYPE;
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
var instance = new BingGeocoders();
|
|
73
|
-
var bing_geocoders_default = instance;
|
|
74
|
-
|
|
75
|
-
export { bing_geocoders_default };
|
|
76
|
-
//# sourceMappingURL=chunk-4IHKK5HU.js.map
|
|
77
|
-
//# sourceMappingURL=chunk-4IHKK5HU.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../gen/resources/bing_geocoders.ts"],"names":[],"mappings":";;;AAqEA,IAAM,aAAA,GAAN,MAAM,cAAA,SAAsB,WAAA,CAA0B;AAAA,EACpD,OAAgB,IAAA,GAAyB,gBAAA;AAAA,EAEzC,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACuB;AACvB,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,eAAc,IAAA,EAAK;AAAA,MACxC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACuB;AACvB,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,eAAc,IAAA,EAAK;AAAA,MACxC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC9E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAO,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,cAAA,CAAc,IAAA,EAAK,GAAI,IAAI,O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ACtD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,cAAA,CAAc,IAAA;AAAA,EAC1D;AAAA,EAEA,aAAa,EAAA,EAAiD;AAC5D,IAAA,OAAO,KAAA,CAAM,qBAAsC,EAAE,CAAA;AAAA,EACvD;AAAA,EAEA,sBAAsB,GAAA,EAAkC;AACtD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAuC,GAAG,GAAG,CAAA;AAAA,EAC5D;AAAA,EAEA,IAAA,GAAyB;AACvB,IAAA,OAAO,cAAA,CAAc,IAAA;AAAA,EACvB;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,aAAA,EAAc;AACnC,IAAO,sBAAA,GAAQ","file":"chunk-4IHKK5HU.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 { Address } from './addresses'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Market } from './markets'\n\ntype BingGeocoderType = 'bing_geocoders'\ntype BingGeocoderRel = ResourceRel & { type: BingGeocoderType }\n\nexport type BingGeocoderSort = Pick<BingGeocoder, 'id' | 'name'> & ResourceSort\n// export type BingGeocoderFilter = Pick<BingGeocoder, 'id' | 'name'> & ResourceFilter\n\n/**\n * The Bing geocoder object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/bing_geocoders endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/bing_geocoders/object\n */\ninterface BingGeocoder extends Resource {\n readonly type: BingGeocoderType\n\n /**\n * The geocoder's internal name.\n * @example ```\"Default geocoder\"```\n */\n name: string\n\n markets?: Market[] | null\n addresses?: Address[] | null\n attachments?: Attachment[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface BingGeocoderCreate extends ResourceCreate {\n /**\n * The geocoder's internal name.\n * @example ```\"Default geocoder\"```\n */\n name: string\n /**\n * The Bing Virtualearth key.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n key: string\n}\n\ninterface BingGeocoderUpdate extends ResourceUpdate {\n /**\n * The geocoder's internal name.\n * @example ```\"Default geocoder\"```\n */\n name?: string | null\n /**\n * The Bing Virtualearth key.\n * @example ```\"xxxx-yyyy-zzzz\"```\n */\n key?: string | null\n}\n\nclass BingGeocoders extends ApiResource<BingGeocoder> {\n static readonly TYPE: BingGeocoderType = 'bing_geocoders' as const\n\n async create(\n resource: BingGeocoderCreate,\n params?: QueryParamsRetrieve<BingGeocoder>,\n options?: ResourcesConfig,\n ): Promise<BingGeocoder> {\n return this.resources.create<BingGeocoderCreate, BingGeocoder>(\n { ...resource, type: BingGeocoders.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: BingGeocoderUpdate,\n params?: QueryParamsRetrieve<BingGeocoder>,\n options?: ResourcesConfig,\n ): Promise<BingGeocoder> {\n return this.resources.update<BingGeocoderUpdate, BingGeocoder>(\n { ...resource, type: BingGeocoders.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: BingGeocoders.TYPE } : id, options)\n }\n\n async markets(\n bingGeocoderId: string | BingGeocoder,\n params?: QueryParamsList<Market>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Market>> {\n const _bingGeocoderId = (bingGeocoderId as BingGeocoder).id || (bingGeocoderId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `bing_geocoders/${_bingGeocoderId}/markets`,\n params,\n options,\n ) as unknown as ListResponse<Market>\n }\n\n async addresses(\n bingGeocoderId: string | BingGeocoder,\n params?: QueryParamsList<Address>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Address>> {\n const _bingGeocoderId = (bingGeocoderId as BingGeocoder).id || (bingGeocoderId as string)\n return this.resources.fetch<Address>(\n { type: 'addresses' },\n `bing_geocoders/${_bingGeocoderId}/addresses`,\n params,\n options,\n ) as unknown as ListResponse<Address>\n }\n\n async attachments(\n bingGeocoderId: string | BingGeocoder,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _bingGeocoderId = (bingGeocoderId as BingGeocoder).id || (bingGeocoderId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `bing_geocoders/${_bingGeocoderId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async event_stores(\n bingGeocoderId: string | BingGeocoder,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _bingGeocoderId = (bingGeocoderId as BingGeocoder).id || (bingGeocoderId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `bing_geocoders/${_bingGeocoderId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isBingGeocoder(resource: any): resource is BingGeocoder {\n return resource.type && resource.type === BingGeocoders.TYPE\n }\n\n relationship(id: string | ResourceId | null): BingGeocoderRel {\n return super.relationshipOneToOne<BingGeocoderRel>(id)\n }\n\n relationshipToMany(...ids: string[]): BingGeocoderRel[] {\n return super.relationshipOneToMany<BingGeocoderRel>(...ids)\n }\n\n type(): BingGeocoderType {\n return BingGeocoders.TYPE\n }\n}\n\nconst instance = new BingGeocoders()\nexport default instance\n\nexport type { BingGeocoder, BingGeocoderCreate, BingGeocoders, BingGeocoderType, BingGeocoderUpdate }\n"]}
|
package/lib/chunk-4KUZWXYD.cjs
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkJVQFNGEM_cjs = require('./chunk-JVQFNGEM.cjs');
|
|
4
|
-
|
|
5
|
-
// gen/resources/gift_card_recipients.ts
|
|
6
|
-
var GiftCardRecipients = class _GiftCardRecipients extends chunkJVQFNGEM_cjs.ApiResource {
|
|
7
|
-
static TYPE = "gift_card_recipients";
|
|
8
|
-
async create(resource, params, options) {
|
|
9
|
-
return this.resources.create(
|
|
10
|
-
{ ...resource, type: _GiftCardRecipients.TYPE },
|
|
11
|
-
params,
|
|
12
|
-
options
|
|
13
|
-
);
|
|
14
|
-
}
|
|
15
|
-
async update(resource, params, options) {
|
|
16
|
-
return this.resources.update(
|
|
17
|
-
{ ...resource, type: _GiftCardRecipients.TYPE },
|
|
18
|
-
params,
|
|
19
|
-
options
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
async delete(id, options) {
|
|
23
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _GiftCardRecipients.TYPE } : id, options);
|
|
24
|
-
}
|
|
25
|
-
async customer(giftCardRecipientId, params, options) {
|
|
26
|
-
const _giftCardRecipientId = giftCardRecipientId.id || giftCardRecipientId;
|
|
27
|
-
return this.resources.fetch(
|
|
28
|
-
{ type: "customers" },
|
|
29
|
-
`gift_card_recipients/${_giftCardRecipientId}/customer`,
|
|
30
|
-
params,
|
|
31
|
-
options
|
|
32
|
-
);
|
|
33
|
-
}
|
|
34
|
-
async event_stores(giftCardRecipientId, params, options) {
|
|
35
|
-
const _giftCardRecipientId = giftCardRecipientId.id || giftCardRecipientId;
|
|
36
|
-
return this.resources.fetch(
|
|
37
|
-
{ type: "event_stores" },
|
|
38
|
-
`gift_card_recipients/${_giftCardRecipientId}/event_stores`,
|
|
39
|
-
params,
|
|
40
|
-
options
|
|
41
|
-
);
|
|
42
|
-
}
|
|
43
|
-
async attachments(giftCardRecipientId, params, options) {
|
|
44
|
-
const _giftCardRecipientId = giftCardRecipientId.id || giftCardRecipientId;
|
|
45
|
-
return this.resources.fetch(
|
|
46
|
-
{ type: "attachments" },
|
|
47
|
-
`gift_card_recipients/${_giftCardRecipientId}/attachments`,
|
|
48
|
-
params,
|
|
49
|
-
options
|
|
50
|
-
);
|
|
51
|
-
}
|
|
52
|
-
isGiftCardRecipient(resource) {
|
|
53
|
-
return resource.type && resource.type === _GiftCardRecipients.TYPE;
|
|
54
|
-
}
|
|
55
|
-
relationship(id) {
|
|
56
|
-
return super.relationshipOneToOne(id);
|
|
57
|
-
}
|
|
58
|
-
relationshipToMany(...ids) {
|
|
59
|
-
return super.relationshipOneToMany(...ids);
|
|
60
|
-
}
|
|
61
|
-
type() {
|
|
62
|
-
return _GiftCardRecipients.TYPE;
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
var instance = new GiftCardRecipients();
|
|
66
|
-
var gift_card_recipients_default = instance;
|
|
67
|
-
|
|
68
|
-
exports.gift_card_recipients_default = gift_card_recipients_default;
|
|
69
|
-
//# sourceMappingURL=chunk-4KUZWXYD.cjs.map
|
|
70
|
-
//# sourceMappingURL=chunk-4KUZWXYD.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../gen/resources/gift_card_recipients.ts"],"names":["ApiResource"],"mappings":";;;;;AA4FA,IAAM,kBAAA,GAAN,MAAM,mBAAA,SAA2BA,6BAAA,CAA+B;AAAA,EAC9D,OAAgB,IAAA,GAA8B,sBAAA;AAAA,EAE9C,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC4B;AAC5B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,oBAAmB,IAAA,EAAK;AAAA,MAC7C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC4B;AAC5B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,oBAAmB,IAAA,EAAK;AAAA,MAC7C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C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AEA,aAAa,EAAA,EAAsD;AACjE,IAAA,OAAO,KAAA,CAAM,qBAA2C,EAAE,CAAA;AAAA,EAC5D;AAAA,EAEA,sBAAsB,GAAA,EAAuC;AAC3D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA4C,GAAG,GAAG,CAAA;AAAA,EACjE;AAAA,EAEA,IAAA,GAA8B;AAC5B,IAAA,OAAO,mBAAA,CAAmB,IAAA;AAAA,EAC5B;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,kBAAA,EAAmB;AACxC,IAAO,4BAAA,GAAQ","file":"chunk-4KUZWXYD.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 { Customer, CustomerType } from './customers'\nimport type { EventStore } from './event_stores'\n\ntype GiftCardRecipientType = 'gift_card_recipients'\ntype GiftCardRecipientRel = ResourceRel & { type: GiftCardRecipientType }\ntype CustomerRel = ResourceRel & { type: CustomerType }\n\nexport type GiftCardRecipientSort = Pick<GiftCardRecipient, 'id' | 'email'> & ResourceSort\n// export type GiftCardRecipientFilter = Pick<GiftCardRecipient, 'id' | 'email' | 'first_name' | 'last_name'> & ResourceFilter\n\n/**\n * The Gift card recipient object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/gift_card_recipients endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/gift_card_recipients/object\n */\ninterface GiftCardRecipient extends Resource {\n readonly type: GiftCardRecipientType\n\n /**\n * The recipient email address.\n * @example ```\"john@example.com\"```\n */\n email: string\n /**\n * The recipient first name.\n * @example ```\"John\"```\n */\n first_name?: string | null\n /**\n * The recipient last name.\n * @example ```\"Smith\"```\n */\n last_name?: string | null\n\n customer?: Customer | null\n event_stores?: EventStore[] | null\n attachments?: Attachment[] | null\n}\n\ninterface GiftCardRecipientCreate extends ResourceCreate {\n /**\n * The recipient email address.\n * @example ```\"john@example.com\"```\n */\n email: string\n /**\n * The recipient first name.\n * @example ```\"John\"```\n */\n first_name?: string | null\n /**\n * The recipient last name.\n * @example ```\"Smith\"```\n */\n last_name?: string | null\n\n customer?: CustomerRel | null\n}\n\ninterface GiftCardRecipientUpdate extends ResourceUpdate {\n /**\n * The recipient email address.\n * @example ```\"john@example.com\"```\n */\n email?: string | null\n /**\n * The recipient first name.\n * @example ```\"John\"```\n */\n first_name?: string | null\n /**\n * The recipient last name.\n * @example ```\"Smith\"```\n */\n last_name?: string | null\n\n customer?: CustomerRel | null\n}\n\nclass GiftCardRecipients extends ApiResource<GiftCardRecipient> {\n static readonly TYPE: GiftCardRecipientType = 'gift_card_recipients' as const\n\n async create(\n resource: GiftCardRecipientCreate,\n params?: QueryParamsRetrieve<GiftCardRecipient>,\n options?: ResourcesConfig,\n ): Promise<GiftCardRecipient> {\n return this.resources.create<GiftCardRecipientCreate, GiftCardRecipient>(\n { ...resource, type: GiftCardRecipients.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: GiftCardRecipientUpdate,\n params?: QueryParamsRetrieve<GiftCardRecipient>,\n options?: ResourcesConfig,\n ): Promise<GiftCardRecipient> {\n return this.resources.update<GiftCardRecipientUpdate, GiftCardRecipient>(\n { ...resource, type: GiftCardRecipients.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: GiftCardRecipients.TYPE } : id, options)\n }\n\n async customer(\n giftCardRecipientId: string | GiftCardRecipient,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n const _giftCardRecipientId = (giftCardRecipientId as GiftCardRecipient).id || (giftCardRecipientId as string)\n return this.resources.fetch<Customer>(\n { type: 'customers' },\n `gift_card_recipients/${_giftCardRecipientId}/customer`,\n params,\n options,\n ) as unknown as Customer\n }\n\n async event_stores(\n giftCardRecipientId: string | GiftCardRecipient,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _giftCardRecipientId = (giftCardRecipientId as GiftCardRecipient).id || (giftCardRecipientId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `gift_card_recipients/${_giftCardRecipientId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async attachments(\n giftCardRecipientId: string | GiftCardRecipient,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _giftCardRecipientId = (giftCardRecipientId as GiftCardRecipient).id || (giftCardRecipientId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `gift_card_recipients/${_giftCardRecipientId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n isGiftCardRecipient(resource: any): resource is GiftCardRecipient {\n return resource.type && resource.type === GiftCardRecipients.TYPE\n }\n\n relationship(id: string | ResourceId | null): GiftCardRecipientRel {\n return super.relationshipOneToOne<GiftCardRecipientRel>(id)\n }\n\n relationshipToMany(...ids: string[]): GiftCardRecipientRel[] {\n return super.relationshipOneToMany<GiftCardRecipientRel>(...ids)\n }\n\n type(): GiftCardRecipientType {\n return GiftCardRecipients.TYPE\n }\n}\n\nconst instance = new GiftCardRecipients()\nexport default instance\n\nexport type {\n GiftCardRecipient,\n GiftCardRecipientCreate,\n GiftCardRecipients,\n GiftCardRecipientType,\n GiftCardRecipientUpdate,\n}\n"]}
|
package/lib/chunk-4LXCQL6I.js
DELETED
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-FHXYIYQU.js';
|
|
2
|
-
|
|
3
|
-
// gen/resources/fixed_amount_promotions.ts
|
|
4
|
-
var FixedAmountPromotions = class _FixedAmountPromotions extends ApiResource {
|
|
5
|
-
static TYPE = "fixed_amount_promotions";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create(
|
|
8
|
-
{ ...resource, type: _FixedAmountPromotions.TYPE },
|
|
9
|
-
params,
|
|
10
|
-
options
|
|
11
|
-
);
|
|
12
|
-
}
|
|
13
|
-
async update(resource, params, options) {
|
|
14
|
-
return this.resources.update(
|
|
15
|
-
{ ...resource, type: _FixedAmountPromotions.TYPE },
|
|
16
|
-
params,
|
|
17
|
-
options
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
async delete(id, options) {
|
|
21
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _FixedAmountPromotions.TYPE } : id, options);
|
|
22
|
-
}
|
|
23
|
-
async market(fixedAmountPromotionId, params, options) {
|
|
24
|
-
const _fixedAmountPromotionId = fixedAmountPromotionId.id || fixedAmountPromotionId;
|
|
25
|
-
return this.resources.fetch(
|
|
26
|
-
{ type: "markets" },
|
|
27
|
-
`fixed_amount_promotions/${_fixedAmountPromotionId}/market`,
|
|
28
|
-
params,
|
|
29
|
-
options
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
async order_amount_promotion_rule(fixedAmountPromotionId, params, options) {
|
|
33
|
-
const _fixedAmountPromotionId = fixedAmountPromotionId.id || fixedAmountPromotionId;
|
|
34
|
-
return this.resources.fetch(
|
|
35
|
-
{ type: "order_amount_promotion_rules" },
|
|
36
|
-
`fixed_amount_promotions/${_fixedAmountPromotionId}/order_amount_promotion_rule`,
|
|
37
|
-
params,
|
|
38
|
-
options
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
async sku_list_promotion_rule(fixedAmountPromotionId, params, options) {
|
|
42
|
-
const _fixedAmountPromotionId = fixedAmountPromotionId.id || fixedAmountPromotionId;
|
|
43
|
-
return this.resources.fetch(
|
|
44
|
-
{ type: "sku_list_promotion_rules" },
|
|
45
|
-
`fixed_amount_promotions/${_fixedAmountPromotionId}/sku_list_promotion_rule`,
|
|
46
|
-
params,
|
|
47
|
-
options
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
async coupon_codes_promotion_rule(fixedAmountPromotionId, params, options) {
|
|
51
|
-
const _fixedAmountPromotionId = fixedAmountPromotionId.id || fixedAmountPromotionId;
|
|
52
|
-
return this.resources.fetch(
|
|
53
|
-
{ type: "coupon_codes_promotion_rules" },
|
|
54
|
-
`fixed_amount_promotions/${_fixedAmountPromotionId}/coupon_codes_promotion_rule`,
|
|
55
|
-
params,
|
|
56
|
-
options
|
|
57
|
-
);
|
|
58
|
-
}
|
|
59
|
-
async custom_promotion_rule(fixedAmountPromotionId, params, options) {
|
|
60
|
-
const _fixedAmountPromotionId = fixedAmountPromotionId.id || fixedAmountPromotionId;
|
|
61
|
-
return this.resources.fetch(
|
|
62
|
-
{ type: "custom_promotion_rules" },
|
|
63
|
-
`fixed_amount_promotions/${_fixedAmountPromotionId}/custom_promotion_rule`,
|
|
64
|
-
params,
|
|
65
|
-
options
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
async sku_list(fixedAmountPromotionId, params, options) {
|
|
69
|
-
const _fixedAmountPromotionId = fixedAmountPromotionId.id || fixedAmountPromotionId;
|
|
70
|
-
return this.resources.fetch(
|
|
71
|
-
{ type: "sku_lists" },
|
|
72
|
-
`fixed_amount_promotions/${_fixedAmountPromotionId}/sku_list`,
|
|
73
|
-
params,
|
|
74
|
-
options
|
|
75
|
-
);
|
|
76
|
-
}
|
|
77
|
-
async coupons(fixedAmountPromotionId, params, options) {
|
|
78
|
-
const _fixedAmountPromotionId = fixedAmountPromotionId.id || fixedAmountPromotionId;
|
|
79
|
-
return this.resources.fetch(
|
|
80
|
-
{ type: "coupons" },
|
|
81
|
-
`fixed_amount_promotions/${_fixedAmountPromotionId}/coupons`,
|
|
82
|
-
params,
|
|
83
|
-
options
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
async attachments(fixedAmountPromotionId, params, options) {
|
|
87
|
-
const _fixedAmountPromotionId = fixedAmountPromotionId.id || fixedAmountPromotionId;
|
|
88
|
-
return this.resources.fetch(
|
|
89
|
-
{ type: "attachments" },
|
|
90
|
-
`fixed_amount_promotions/${_fixedAmountPromotionId}/attachments`,
|
|
91
|
-
params,
|
|
92
|
-
options
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
async events(fixedAmountPromotionId, params, options) {
|
|
96
|
-
const _fixedAmountPromotionId = fixedAmountPromotionId.id || fixedAmountPromotionId;
|
|
97
|
-
return this.resources.fetch(
|
|
98
|
-
{ type: "events" },
|
|
99
|
-
`fixed_amount_promotions/${_fixedAmountPromotionId}/events`,
|
|
100
|
-
params,
|
|
101
|
-
options
|
|
102
|
-
);
|
|
103
|
-
}
|
|
104
|
-
async tags(fixedAmountPromotionId, params, options) {
|
|
105
|
-
const _fixedAmountPromotionId = fixedAmountPromotionId.id || fixedAmountPromotionId;
|
|
106
|
-
return this.resources.fetch(
|
|
107
|
-
{ type: "tags" },
|
|
108
|
-
`fixed_amount_promotions/${_fixedAmountPromotionId}/tags`,
|
|
109
|
-
params,
|
|
110
|
-
options
|
|
111
|
-
);
|
|
112
|
-
}
|
|
113
|
-
async event_stores(fixedAmountPromotionId, params, options) {
|
|
114
|
-
const _fixedAmountPromotionId = fixedAmountPromotionId.id || fixedAmountPromotionId;
|
|
115
|
-
return this.resources.fetch(
|
|
116
|
-
{ type: "event_stores" },
|
|
117
|
-
`fixed_amount_promotions/${_fixedAmountPromotionId}/event_stores`,
|
|
118
|
-
params,
|
|
119
|
-
options
|
|
120
|
-
);
|
|
121
|
-
}
|
|
122
|
-
async skus(fixedAmountPromotionId, params, options) {
|
|
123
|
-
const _fixedAmountPromotionId = fixedAmountPromotionId.id || fixedAmountPromotionId;
|
|
124
|
-
return this.resources.fetch(
|
|
125
|
-
{ type: "skus" },
|
|
126
|
-
`fixed_amount_promotions/${_fixedAmountPromotionId}/skus`,
|
|
127
|
-
params,
|
|
128
|
-
options
|
|
129
|
-
);
|
|
130
|
-
}
|
|
131
|
-
async _disable(id, params, options) {
|
|
132
|
-
return this.resources.update(
|
|
133
|
-
{ id: typeof id === "string" ? id : id.id, type: _FixedAmountPromotions.TYPE, _disable: true },
|
|
134
|
-
params,
|
|
135
|
-
options
|
|
136
|
-
);
|
|
137
|
-
}
|
|
138
|
-
async _enable(id, params, options) {
|
|
139
|
-
return this.resources.update(
|
|
140
|
-
{ id: typeof id === "string" ? id : id.id, type: _FixedAmountPromotions.TYPE, _enable: true },
|
|
141
|
-
params,
|
|
142
|
-
options
|
|
143
|
-
);
|
|
144
|
-
}
|
|
145
|
-
async _add_tags(id, triggerValue, params, options) {
|
|
146
|
-
return this.resources.update(
|
|
147
|
-
{ id: typeof id === "string" ? id : id.id, type: _FixedAmountPromotions.TYPE, _add_tags: triggerValue },
|
|
148
|
-
params,
|
|
149
|
-
options
|
|
150
|
-
);
|
|
151
|
-
}
|
|
152
|
-
async _remove_tags(id, triggerValue, params, options) {
|
|
153
|
-
return this.resources.update(
|
|
154
|
-
{ id: typeof id === "string" ? id : id.id, type: _FixedAmountPromotions.TYPE, _remove_tags: triggerValue },
|
|
155
|
-
params,
|
|
156
|
-
options
|
|
157
|
-
);
|
|
158
|
-
}
|
|
159
|
-
isFixedAmountPromotion(resource) {
|
|
160
|
-
return resource.type && resource.type === _FixedAmountPromotions.TYPE;
|
|
161
|
-
}
|
|
162
|
-
relationship(id) {
|
|
163
|
-
return super.relationshipOneToOne(id);
|
|
164
|
-
}
|
|
165
|
-
relationshipToMany(...ids) {
|
|
166
|
-
return super.relationshipOneToMany(...ids);
|
|
167
|
-
}
|
|
168
|
-
type() {
|
|
169
|
-
return _FixedAmountPromotions.TYPE;
|
|
170
|
-
}
|
|
171
|
-
};
|
|
172
|
-
var instance = new FixedAmountPromotions();
|
|
173
|
-
var fixed_amount_promotions_default = instance;
|
|
174
|
-
|
|
175
|
-
export { fixed_amount_promotions_default };
|
|
176
|
-
//# sourceMappingURL=chunk-4LXCQL6I.js.map
|
|
177
|
-
//# sourceMappingURL=ch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,IAAA,GAAiC;AAC/B,IAAA,OAAO,sBAAA,CAAsB,IAAA;AAAA,EAC/B;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,qBAAA,EAAsB;AAC3C,IAAO,+BAAA,GAAQ","file":"chunk-4LXCQL6I.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { Attachment } from './attachments'\nimport type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules'\nimport type { Coupon } from './coupons'\nimport type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market, MarketType } from './markets'\nimport type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules'\nimport type { PromotionRule } from './promotion_rules'\nimport type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Sku } from './skus'\nimport type { Tag, TagType } from './tags'\n\ntype FixedAmountPromotionType = 'fixed_amount_promotions'\ntype FixedAmountPromotionRel = ResourceRel & { type: FixedAmountPromotionType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype TagRel = ResourceRel & { type: TagType }\ntype OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType }\ntype SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType }\ntype CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType }\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\n\nexport type FixedAmountPromotionSort = Pick<\n FixedAmountPromotion,\n | 'id'\n | 'name'\n | 'currency_code'\n | 'exclusive'\n | 'priority'\n | 'starts_at'\n | 'expires_at'\n | 'total_usage_limit'\n | 'total_usage_count'\n | 'total_usage_reached'\n | 'disabled_at'\n> &\n ResourceSort\n// export type FixedAmountPromotionFilter = Pick<FixedAmountPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceFilter\n\n/**\n * The Fixed amount promotion object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/fixed_amount_promotions endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/fixed_amount_promotions/object\n */\ninterface FixedAmountPromotion extends Resource {\n readonly type: FixedAmountPromotionType\n\n /**\n * The promotion's internal name.\n * @example ```\"Personal promotion\"```\n */\n name: string\n /**\n * The international 3-letter currency code as defined by the ISO 4217 standard.\n * @example ```\"EUR\"```\n */\n currency_code?: string | null\n /**\n * Indicates if the promotion will be applied exclusively, based on its priority score.\n * @example ```true```\n */\n exclusive?: boolean | null\n /**\n * The priority assigned to the promotion (lower means higher priority).\n * @example ```2```\n */\n priority?: number | null\n /**\n * The activation date/time of this promotion.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at: string\n /**\n * The expiration date/time of this promotion (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at: string\n /**\n * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n * @example ```5```\n */\n total_usage_limit?: number | null\n /**\n * The number of times this promotion has been applied.\n * @example ```2```\n */\n total_usage_count?: number | null\n /**\n * Indicates if the promotion has been applied the total number of allowed times.\n */\n total_usage_reached?: boolean | null\n /**\n * Indicates if the promotion is active (enabled and not expired).\n * @example ```true```\n */\n active?: boolean | null\n /**\n * The promotion status. One of 'disabled', 'expired', 'pending', 'active', or 'inactive'.\n * @example ```\"pending\"```\n */\n status?: 'disabled' | 'expired' | 'pending' | 'active' | 'inactive' | null\n /**\n * The weight of the promotion, computed by exclusivity, priority, type and start time. Determines the order of application, higher weight apply first.\n * @example ```112```\n */\n weight?: number | null\n /**\n * The total number of coupons created for this promotion.\n * @example ```2```\n */\n coupons_count?: number | null\n /**\n * Time at which this resource was disabled.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n disabled_at?: string | null\n /**\n * The discount fixed amount to be applied, in cents.\n * @example ```1000```\n */\n fixed_amount_cents: number\n /**\n * The discount fixed amount to be applied, float.\n * @example ```10```\n */\n fixed_amount_float?: number | null\n /**\n * The discount fixed amount to be applied, formatted.\n * @example ```\"€10,00\"```\n */\n formatted_fixed_amount?: string | null\n\n market?: Market | null\n promotion_rules?: PromotionRule[] | null\n order_amount_promotion_rule?: OrderAmountPromotionRule | null\n sku_list_promotion_rule?: SkuListPromotionRule | null\n coupon_codes_promotion_rule?: CouponCodesPromotionRule | null\n custom_promotion_rule?: CustomPromotionRule | null\n sku_list?: SkuList | null\n coupons?: Coupon[] | null\n attachments?: Attachment[] | null\n events?: Event[] | null\n tags?: Tag[] | null\n event_stores?: EventStore[] | null\n skus?: Sku[] | null\n}\n\ninterface FixedAmountPromotionCreate extends ResourceCreate {\n /**\n * The promotion's internal name.\n * @example ```\"Personal promotion\"```\n */\n name: string\n /**\n * The international 3-letter currency code as defined by the ISO 4217 standard.\n * @example ```\"EUR\"```\n */\n currency_code?: string | null\n /**\n * Indicates if the promotion will be applied exclusively, based on its priority score.\n * @example ```true```\n */\n exclusive?: boolean | null\n /**\n * The priority assigned to the promotion (lower means higher priority).\n * @example ```2```\n */\n priority?: number | null\n /**\n * The activation date/time of this promotion.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at: string\n /**\n * The expiration date/time of this promotion (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at: string\n /**\n * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n * @example ```5```\n */\n total_usage_limit?: number | null\n /**\n * Send this attribute if you want to mark this resource as disabled.\n * @example ```true```\n */\n _disable?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as enabled.\n * @example ```true```\n */\n _enable?: boolean | null\n /**\n * The discount fixed amount to be applied, in cents.\n * @example ```1000```\n */\n fixed_amount_cents: number\n\n market?: MarketRel | null\n sku_list?: SkuListRel | null\n tags?: TagRel[] | null\n}\n\ninterface FixedAmountPromotionUpdate extends ResourceUpdate {\n /**\n * The promotion's internal name.\n * @example ```\"Personal promotion\"```\n */\n name?: string | null\n /**\n * The international 3-letter currency code as defined by the ISO 4217 standard.\n * @example ```\"EUR\"```\n */\n currency_code?: string | null\n /**\n * Indicates if the promotion will be applied exclusively, based on its priority score.\n * @example ```true```\n */\n exclusive?: boolean | null\n /**\n * The priority assigned to the promotion (lower means higher priority).\n * @example ```2```\n */\n priority?: number | null\n /**\n * The activation date/time of this promotion.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n starts_at?: string | null\n /**\n * The expiration date/time of this promotion (must be after starts_at).\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n expires_at?: string | null\n /**\n * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n * @example ```5```\n */\n total_usage_limit?: number | null\n /**\n * Send this attribute if you want to mark this resource as disabled.\n * @example ```true```\n */\n _disable?: boolean | null\n /**\n * Send this attribute if you want to mark this resource as enabled.\n * @example ```true```\n */\n _enable?: boolean | null\n /**\n * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n */\n _add_tags?: string | null\n /**\n * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n */\n _remove_tags?: string | null\n /**\n * The discount fixed amount to be applied, in cents.\n * @example ```1000```\n */\n fixed_amount_cents?: number | null\n\n market?: MarketRel | null\n order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n sku_list_promotion_rule?: SkuListPromotionRuleRel | null\n coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n custom_promotion_rule?: CustomPromotionRuleRel | null\n sku_list?: SkuListRel | null\n tags?: TagRel[] | null\n}\n\nclass FixedAmountPromotions extends ApiResource<FixedAmountPromotion> {\n static readonly TYPE: FixedAmountPromotionType = 'fixed_amount_promotions' as const\n\n async create(\n resource: FixedAmountPromotionCreate,\n params?: QueryParamsRetrieve<FixedAmountPromotion>,\n options?: ResourcesConfig,\n ): Promise<FixedAmountPromotion> {\n return this.resources.create<FixedAmountPromotionCreate, FixedAmountPromotion>(\n { ...resource, type: FixedAmountPromotions.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: FixedAmountPromotionUpdate,\n params?: QueryParamsRetrieve<FixedAmountPromotion>,\n options?: ResourcesConfig,\n ): Promise<FixedAmountPromotion> {\n return this.resources.update<FixedAmountPromotionUpdate, FixedAmountPromotion>(\n { ...resource, type: FixedAmountPromotions.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: FixedAmountPromotions.TYPE } : id, options)\n }\n\n async market(\n fixedAmountPromotionId: string | FixedAmountPromotion,\n params?: QueryParamsRetrieve<Market>,\n options?: ResourcesConfig,\n ): Promise<Market> {\n const _fixedAmountPromotionId =\n (fixedAmountPromotionId as FixedAmountPromotion).id || (fixedAmountPromotionId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `fixed_amount_promotions/${_fixedAmountPromotionId}/market`,\n params,\n options,\n ) as unknown as Market\n }\n\n async order_amount_promotion_rule(\n fixedAmountPromotionId: string | FixedAmountPromotion,\n params?: QueryParamsRetrieve<OrderAmountPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<OrderAmountPromotionRule> {\n const _fixedAmountPromotionId =\n (fixedAmountPromotionId as FixedAmountPromotion).id || (fixedAmountPromotionId as string)\n return this.resources.fetch<OrderAmountPromotionRule>(\n { type: 'order_amount_promotion_rules' },\n `fixed_amount_promotions/${_fixedAmountPromotionId}/order_amount_promotion_rule`,\n params,\n options,\n ) as unknown as OrderAmountPromotionRule\n }\n\n async sku_list_promotion_rule(\n fixedAmountPromotionId: string | FixedAmountPromotion,\n params?: QueryParamsRetrieve<SkuListPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<SkuListPromotionRule> {\n const _fixedAmountPromotionId =\n (fixedAmountPromotionId as FixedAmountPromotion).id || (fixedAmountPromotionId as string)\n return this.resources.fetch<SkuListPromotionRule>(\n { type: 'sku_list_promotion_rules' },\n `fixed_amount_promotions/${_fixedAmountPromotionId}/sku_list_promotion_rule`,\n params,\n options,\n ) as unknown as SkuListPromotionRule\n }\n\n async coupon_codes_promotion_rule(\n fixedAmountPromotionId: string | FixedAmountPromotion,\n params?: QueryParamsRetrieve<CouponCodesPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<CouponCodesPromotionRule> {\n const _fixedAmountPromotionId =\n (fixedAmountPromotionId as FixedAmountPromotion).id || (fixedAmountPromotionId as string)\n return this.resources.fetch<CouponCodesPromotionRule>(\n { type: 'coupon_codes_promotion_rules' },\n `fixed_amount_promotions/${_fixedAmountPromotionId}/coupon_codes_promotion_rule`,\n params,\n options,\n ) as unknown as CouponCodesPromotionRule\n }\n\n async custom_promotion_rule(\n fixedAmountPromotionId: string | FixedAmountPromotion,\n params?: QueryParamsRetrieve<CustomPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<CustomPromotionRule> {\n const _fixedAmountPromotionId =\n (fixedAmountPromotionId as FixedAmountPromotion).id || (fixedAmountPromotionId as string)\n return this.resources.fetch<CustomPromotionRule>(\n { type: 'custom_promotion_rules' },\n `fixed_amount_promotions/${_fixedAmountPromotionId}/custom_promotion_rule`,\n params,\n options,\n ) as unknown as CustomPromotionRule\n }\n\n async sku_list(\n fixedAmountPromotionId: string | FixedAmountPromotion,\n params?: QueryParamsRetrieve<SkuList>,\n options?: ResourcesConfig,\n ): Promise<SkuList> {\n const _fixedAmountPromotionId =\n (fixedAmountPromotionId as FixedAmountPromotion).id || (fixedAmountPromotionId as string)\n return this.resources.fetch<SkuList>(\n { type: 'sku_lists' },\n `fixed_amount_promotions/${_fixedAmountPromotionId}/sku_list`,\n params,\n options,\n ) as unknown as SkuList\n }\n\n async coupons(\n fixedAmountPromotionId: string | FixedAmountPromotion,\n params?: QueryParamsList<Coupon>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Coupon>> {\n const _fixedAmountPromotionId =\n (fixedAmountPromotionId as FixedAmountPromotion).id || (fixedAmountPromotionId as string)\n return this.resources.fetch<Coupon>(\n { type: 'coupons' },\n `fixed_amount_promotions/${_fixedAmountPromotionId}/coupons`,\n params,\n options,\n ) as unknown as ListResponse<Coupon>\n }\n\n async attachments(\n fixedAmountPromotionId: string | FixedAmountPromotion,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _fixedAmountPromotionId =\n (fixedAmountPromotionId as FixedAmountPromotion).id || (fixedAmountPromotionId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `fixed_amount_promotions/${_fixedAmountPromotionId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async events(\n fixedAmountPromotionId: string | FixedAmountPromotion,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _fixedAmountPromotionId =\n (fixedAmountPromotionId as FixedAmountPromotion).id || (fixedAmountPromotionId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `fixed_amount_promotions/${_fixedAmountPromotionId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async tags(\n fixedAmountPromotionId: string | FixedAmountPromotion,\n params?: QueryParamsList<Tag>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Tag>> {\n const _fixedAmountPromotionId =\n (fixedAmountPromotionId as FixedAmountPromotion).id || (fixedAmountPromotionId as string)\n return this.resources.fetch<Tag>(\n { type: 'tags' },\n `fixed_amount_promotions/${_fixedAmountPromotionId}/tags`,\n params,\n options,\n ) as unknown as ListResponse<Tag>\n }\n\n async event_stores(\n fixedAmountPromotionId: string | FixedAmountPromotion,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _fixedAmountPromotionId =\n (fixedAmountPromotionId as FixedAmountPromotion).id || (fixedAmountPromotionId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `fixed_amount_promotions/${_fixedAmountPromotionId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async skus(\n fixedAmountPromotionId: string | FixedAmountPromotion,\n params?: QueryParamsList<Sku>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Sku>> {\n const _fixedAmountPromotionId =\n (fixedAmountPromotionId as FixedAmountPromotion).id || (fixedAmountPromotionId as string)\n return this.resources.fetch<Sku>(\n { type: 'skus' },\n `fixed_amount_promotions/${_fixedAmountPromotionId}/skus`,\n params,\n options,\n ) as unknown as ListResponse<Sku>\n }\n\n async _disable(\n id: string | FixedAmountPromotion,\n params?: QueryParamsRetrieve<FixedAmountPromotion>,\n options?: ResourcesConfig,\n ): Promise<FixedAmountPromotion> {\n return this.resources.update<FixedAmountPromotionUpdate, FixedAmountPromotion>(\n { id: typeof id === 'string' ? id : id.id, type: FixedAmountPromotions.TYPE, _disable: true },\n params,\n options,\n )\n }\n\n async _enable(\n id: string | FixedAmountPromotion,\n params?: QueryParamsRetrieve<FixedAmountPromotion>,\n options?: ResourcesConfig,\n ): Promise<FixedAmountPromotion> {\n return this.resources.update<FixedAmountPromotionUpdate, FixedAmountPromotion>(\n { id: typeof id === 'string' ? id : id.id, type: FixedAmountPromotions.TYPE, _enable: true },\n params,\n options,\n )\n }\n\n async _add_tags(\n id: string | FixedAmountPromotion,\n triggerValue: string,\n params?: QueryParamsRetrieve<FixedAmountPromotion>,\n options?: ResourcesConfig,\n ): Promise<FixedAmountPromotion> {\n return this.resources.update<FixedAmountPromotionUpdate, FixedAmountPromotion>(\n { id: typeof id === 'string' ? id : id.id, type: FixedAmountPromotions.TYPE, _add_tags: triggerValue },\n params,\n options,\n )\n }\n\n async _remove_tags(\n id: string | FixedAmountPromotion,\n triggerValue: string,\n params?: QueryParamsRetrieve<FixedAmountPromotion>,\n options?: ResourcesConfig,\n ): Promise<FixedAmountPromotion> {\n return this.resources.update<FixedAmountPromotionUpdate, FixedAmountPromotion>(\n { id: typeof id === 'string' ? id : id.id, type: FixedAmountPromotions.TYPE, _remove_tags: triggerValue },\n params,\n options,\n )\n }\n\n isFixedAmountPromotion(resource: any): resource is FixedAmountPromotion {\n return resource.type && resource.type === FixedAmountPromotions.TYPE\n }\n\n relationship(id: string | ResourceId | null): FixedAmountPromotionRel {\n return super.relationshipOneToOne<FixedAmountPromotionRel>(id)\n }\n\n relationshipToMany(...ids: string[]): FixedAmountPromotionRel[] {\n return super.relationshipOneToMany<FixedAmountPromotionRel>(...ids)\n }\n\n type(): FixedAmountPromotionType {\n return FixedAmountPromotions.TYPE\n }\n}\n\nconst instance = new FixedAmountPromotions()\nexport default instance\n\nexport type {\n FixedAmountPromotion,\n FixedAmountPromotionCreate,\n FixedAmountPromotions,\n FixedAmountPromotionType,\n FixedAmountPromotionUpdate,\n}\n"]}
|