@commercelayer/sdk 7.0.0-beta.1 → 7.0.0-beta.10
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/api-BYcswOJ0.d.cts +16784 -0
- package/lib/api-Cknm0QL_.d.ts +16784 -0
- package/lib/api.cjs +936 -0
- package/lib/api.d.cts +4 -0
- package/lib/api.d.ts +4 -0
- package/lib/api.js +275 -0
- package/lib/client.cjs +170 -0
- package/lib/client.d.cts +36 -0
- package/lib/client.d.ts +36 -0
- package/lib/client.js +161 -0
- package/lib/commercelayer.cjs +798 -0
- package/lib/commercelayer.d.cts +167 -0
- package/lib/commercelayer.d.ts +167 -0
- package/lib/commercelayer.js +768 -0
- package/lib/common.cjs +17 -0
- package/lib/common.d.cts +13 -0
- package/lib/common.d.ts +13 -0
- package/lib/common.js +13 -0
- package/lib/config.cjs +21 -0
- package/lib/config.d.cts +19 -0
- package/lib/config.d.ts +19 -0
- package/lib/config.js +17 -0
- package/lib/debug.cjs +19 -0
- package/lib/debug.d.cts +4 -0
- package/lib/debug.d.ts +4 -0
- package/lib/debug.js +15 -0
- package/lib/error.cjs +97 -0
- package/lib/error.d.cts +35 -0
- package/lib/error.d.ts +35 -0
- package/lib/error.js +91 -0
- package/lib/fetch.cjs +83 -0
- package/lib/fetch.d.cts +1 -0
- package/lib/fetch.d.ts +1 -0
- package/lib/fetch.js +76 -0
- package/lib/index.cjs +32 -2
- package/lib/index.d.cts +8 -16916
- package/lib/index.d.ts +8 -16916
- package/lib/index.js +3 -2
- package/lib/instance.cjs +272 -0
- package/lib/instance.d.cts +141 -0
- package/lib/instance.d.ts +141 -0
- package/lib/instance.js +139 -0
- package/lib/interceptor-5MISI1yn.d.cts +54 -0
- package/lib/interceptor-5MISI1yn.d.ts +54 -0
- package/lib/interceptor.cjs +2 -0
- package/lib/interceptor.d.cts +1 -0
- package/lib/interceptor.d.ts +1 -0
- package/lib/interceptor.js +1 -0
- package/lib/jsonapi.cjs +79 -0
- package/lib/jsonapi.d.cts +11 -0
- package/lib/jsonapi.d.ts +11 -0
- package/lib/jsonapi.js +71 -0
- package/lib/model.cjs +2 -0
- package/lib/model.d.cts +4 -0
- package/lib/model.d.ts +4 -0
- package/lib/model.js +1 -0
- package/lib/query.cjs +64 -0
- package/lib/query.d.cts +4 -0
- package/lib/query.d.ts +4 -0
- package/lib/query.js +56 -0
- package/lib/resource.cjs +222 -0
- package/lib/resource.d.cts +4 -0
- package/lib/resource.d.ts +4 -0
- package/lib/resource.js +209 -0
- package/lib/resources/addresses.cjs +53 -0
- package/lib/resources/addresses.d.cts +4 -0
- package/lib/resources/addresses.d.ts +4 -0
- package/lib/resources/addresses.js +49 -0
- package/lib/resources/adjustments.cjs +41 -0
- package/lib/resources/adjustments.d.cts +4 -0
- package/lib/resources/adjustments.d.ts +4 -0
- package/lib/resources/adjustments.js +37 -0
- package/lib/resources/adyen_gateways.cjs +49 -0
- package/lib/resources/adyen_gateways.d.cts +4 -0
- package/lib/resources/adyen_gateways.d.ts +4 -0
- package/lib/resources/adyen_gateways.js +45 -0
- package/lib/resources/adyen_payments.cjs +55 -0
- package/lib/resources/adyen_payments.d.cts +4 -0
- package/lib/resources/adyen_payments.d.ts +4 -0
- package/lib/resources/adyen_payments.js +51 -0
- package/lib/resources/applications.cjs +31 -0
- package/lib/resources/applications.d.cts +4 -0
- package/lib/resources/applications.d.ts +4 -0
- package/lib/resources/applications.js +27 -0
- package/lib/resources/attachments.cjs +37 -0
- package/lib/resources/attachments.d.cts +4 -0
- package/lib/resources/attachments.d.ts +4 -0
- package/lib/resources/attachments.js +33 -0
- package/lib/resources/authorizations.cjs +70 -0
- package/lib/resources/authorizations.d.cts +4 -0
- package/lib/resources/authorizations.d.ts +4 -0
- package/lib/resources/authorizations.js +66 -0
- package/lib/resources/avalara_accounts.cjs +57 -0
- package/lib/resources/avalara_accounts.d.cts +4 -0
- package/lib/resources/avalara_accounts.d.ts +4 -0
- package/lib/resources/avalara_accounts.js +53 -0
- package/lib/resources/axerve_gateways.cjs +49 -0
- package/lib/resources/axerve_gateways.d.cts +4 -0
- package/lib/resources/axerve_gateways.d.ts +4 -0
- package/lib/resources/axerve_gateways.js +45 -0
- package/lib/resources/axerve_payments.cjs +52 -0
- package/lib/resources/axerve_payments.d.cts +4 -0
- package/lib/resources/axerve_payments.d.ts +4 -0
- package/lib/resources/axerve_payments.js +48 -0
- package/lib/resources/bing_geocoders.cjs +49 -0
- package/lib/resources/bing_geocoders.d.cts +4 -0
- package/lib/resources/bing_geocoders.d.ts +4 -0
- package/lib/resources/bing_geocoders.js +45 -0
- package/lib/resources/braintree_gateways.cjs +49 -0
- package/lib/resources/braintree_gateways.d.cts +4 -0
- package/lib/resources/braintree_gateways.d.ts +4 -0
- package/lib/resources/braintree_gateways.js +45 -0
- package/lib/resources/braintree_payments.cjs +49 -0
- package/lib/resources/braintree_payments.d.cts +4 -0
- package/lib/resources/braintree_payments.d.ts +4 -0
- package/lib/resources/braintree_payments.js +45 -0
- package/lib/resources/bundles.cjs +71 -0
- package/lib/resources/bundles.d.cts +4 -0
- package/lib/resources/bundles.d.ts +4 -0
- package/lib/resources/bundles.js +67 -0
- package/lib/resources/buy_x_pay_y_promotions.cjs +91 -0
- package/lib/resources/buy_x_pay_y_promotions.d.cts +4 -0
- package/lib/resources/buy_x_pay_y_promotions.d.ts +4 -0
- package/lib/resources/buy_x_pay_y_promotions.js +87 -0
- package/lib/resources/captures.cjs +71 -0
- package/lib/resources/captures.d.cts +4 -0
- package/lib/resources/captures.d.ts +4 -0
- package/lib/resources/captures.js +67 -0
- package/lib/resources/carrier_accounts.cjs +49 -0
- package/lib/resources/carrier_accounts.d.cts +4 -0
- package/lib/resources/carrier_accounts.d.ts +4 -0
- package/lib/resources/carrier_accounts.js +45 -0
- package/lib/resources/checkout_com_gateways.cjs +49 -0
- package/lib/resources/checkout_com_gateways.d.cts +4 -0
- package/lib/resources/checkout_com_gateways.d.ts +4 -0
- package/lib/resources/checkout_com_gateways.js +45 -0
- package/lib/resources/checkout_com_payments.cjs +55 -0
- package/lib/resources/checkout_com_payments.d.cts +4 -0
- package/lib/resources/checkout_com_payments.d.ts +4 -0
- package/lib/resources/checkout_com_payments.js +51 -0
- package/lib/resources/cleanups.cjs +48 -0
- package/lib/resources/cleanups.d.cts +4 -0
- package/lib/resources/cleanups.d.ts +4 -0
- package/lib/resources/cleanups.js +44 -0
- package/lib/resources/coupon_codes_promotion_rules.cjs +45 -0
- package/lib/resources/coupon_codes_promotion_rules.d.cts +4 -0
- package/lib/resources/coupon_codes_promotion_rules.d.ts +4 -0
- package/lib/resources/coupon_codes_promotion_rules.js +41 -0
- package/lib/resources/coupon_recipients.cjs +49 -0
- package/lib/resources/coupon_recipients.d.cts +4 -0
- package/lib/resources/coupon_recipients.d.ts +4 -0
- package/lib/resources/coupon_recipients.js +45 -0
- package/lib/resources/coupons.cjs +57 -0
- package/lib/resources/coupons.d.cts +4 -0
- package/lib/resources/coupons.d.ts +4 -0
- package/lib/resources/coupons.js +53 -0
- package/lib/resources/custom_promotion_rules.cjs +41 -0
- package/lib/resources/custom_promotion_rules.d.cts +4 -0
- package/lib/resources/custom_promotion_rules.d.ts +4 -0
- package/lib/resources/custom_promotion_rules.js +37 -0
- package/lib/resources/customer_addresses.cjs +53 -0
- package/lib/resources/customer_addresses.d.cts +4 -0
- package/lib/resources/customer_addresses.d.ts +4 -0
- package/lib/resources/customer_addresses.js +49 -0
- package/lib/resources/customer_groups.cjs +53 -0
- package/lib/resources/customer_groups.d.cts +4 -0
- package/lib/resources/customer_groups.d.ts +4 -0
- package/lib/resources/customer_groups.js +49 -0
- package/lib/resources/customer_password_resets.cjs +48 -0
- package/lib/resources/customer_password_resets.d.cts +4 -0
- package/lib/resources/customer_password_resets.d.ts +4 -0
- package/lib/resources/customer_password_resets.js +44 -0
- package/lib/resources/customer_payment_sources.cjs +49 -0
- package/lib/resources/customer_payment_sources.d.cts +4 -0
- package/lib/resources/customer_payment_sources.d.ts +4 -0
- package/lib/resources/customer_payment_sources.js +45 -0
- package/lib/resources/customer_subscriptions.cjs +49 -0
- package/lib/resources/customer_subscriptions.d.cts +4 -0
- package/lib/resources/customer_subscriptions.d.ts +4 -0
- package/lib/resources/customer_subscriptions.js +45 -0
- package/lib/resources/customers.cjs +81 -0
- package/lib/resources/customers.d.cts +4 -0
- package/lib/resources/customers.d.ts +4 -0
- package/lib/resources/customers.js +77 -0
- package/lib/resources/delivery_lead_times.cjs +53 -0
- package/lib/resources/delivery_lead_times.d.cts +4 -0
- package/lib/resources/delivery_lead_times.d.ts +4 -0
- package/lib/resources/delivery_lead_times.js +49 -0
- package/lib/resources/discount_engine_items.cjs +36 -0
- package/lib/resources/discount_engine_items.d.cts +4 -0
- package/lib/resources/discount_engine_items.d.ts +4 -0
- package/lib/resources/discount_engine_items.js +32 -0
- package/lib/resources/discount_engines.cjs +44 -0
- package/lib/resources/discount_engines.d.cts +4 -0
- package/lib/resources/discount_engines.d.ts +4 -0
- package/lib/resources/discount_engines.js +40 -0
- package/lib/resources/easypost_pickups.cjs +52 -0
- package/lib/resources/easypost_pickups.d.cts +4 -0
- package/lib/resources/easypost_pickups.d.ts +4 -0
- package/lib/resources/easypost_pickups.js +48 -0
- package/lib/resources/event_callbacks.cjs +32 -0
- package/lib/resources/event_callbacks.d.cts +4 -0
- package/lib/resources/event_callbacks.d.ts +4 -0
- package/lib/resources/event_callbacks.js +28 -0
- package/lib/resources/events.cjs +42 -0
- package/lib/resources/events.d.cts +4 -0
- package/lib/resources/events.d.ts +4 -0
- package/lib/resources/events.js +38 -0
- package/lib/resources/exports.cjs +48 -0
- package/lib/resources/exports.d.cts +4 -0
- package/lib/resources/exports.d.ts +4 -0
- package/lib/resources/exports.js +44 -0
- package/lib/resources/external_gateways.cjs +52 -0
- package/lib/resources/external_gateways.d.cts +4 -0
- package/lib/resources/external_gateways.d.ts +4 -0
- package/lib/resources/external_gateways.js +48 -0
- package/lib/resources/external_payments.cjs +53 -0
- package/lib/resources/external_payments.d.cts +4 -0
- package/lib/resources/external_payments.d.ts +4 -0
- package/lib/resources/external_payments.js +49 -0
- package/lib/resources/external_promotions.cjs +94 -0
- package/lib/resources/external_promotions.d.cts +4 -0
- package/lib/resources/external_promotions.d.ts +4 -0
- package/lib/resources/external_promotions.js +90 -0
- package/lib/resources/external_tax_calculators.cjs +56 -0
- package/lib/resources/external_tax_calculators.d.cts +4 -0
- package/lib/resources/external_tax_calculators.d.ts +4 -0
- package/lib/resources/external_tax_calculators.js +52 -0
- package/lib/resources/fixed_amount_promotions.cjs +91 -0
- package/lib/resources/fixed_amount_promotions.d.cts +4 -0
- package/lib/resources/fixed_amount_promotions.d.ts +4 -0
- package/lib/resources/fixed_amount_promotions.js +87 -0
- package/lib/resources/fixed_price_promotions.cjs +91 -0
- package/lib/resources/fixed_price_promotions.d.cts +4 -0
- package/lib/resources/fixed_price_promotions.d.ts +4 -0
- package/lib/resources/fixed_price_promotions.js +87 -0
- package/lib/resources/flex_promotions.cjs +67 -0
- package/lib/resources/flex_promotions.d.cts +4 -0
- package/lib/resources/flex_promotions.d.ts +4 -0
- package/lib/resources/flex_promotions.js +63 -0
- package/lib/resources/free_gift_promotions.cjs +91 -0
- package/lib/resources/free_gift_promotions.d.cts +4 -0
- package/lib/resources/free_gift_promotions.d.ts +4 -0
- package/lib/resources/free_gift_promotions.js +87 -0
- package/lib/resources/free_shipping_promotions.cjs +87 -0
- package/lib/resources/free_shipping_promotions.d.cts +4 -0
- package/lib/resources/free_shipping_promotions.d.ts +4 -0
- package/lib/resources/free_shipping_promotions.js +83 -0
- package/lib/resources/geocoders.cjs +40 -0
- package/lib/resources/geocoders.d.cts +4 -0
- package/lib/resources/geocoders.d.ts +4 -0
- package/lib/resources/geocoders.js +36 -0
- package/lib/resources/gift_card_recipients.cjs +49 -0
- package/lib/resources/gift_card_recipients.d.cts +4 -0
- package/lib/resources/gift_card_recipients.d.ts +4 -0
- package/lib/resources/gift_card_recipients.js +45 -0
- package/lib/resources/gift_cards.cjs +73 -0
- package/lib/resources/gift_cards.d.cts +4 -0
- package/lib/resources/gift_cards.d.ts +4 -0
- package/lib/resources/gift_cards.js +69 -0
- package/lib/resources/google_geocoders.cjs +49 -0
- package/lib/resources/google_geocoders.d.cts +4 -0
- package/lib/resources/google_geocoders.d.ts +4 -0
- package/lib/resources/google_geocoders.js +45 -0
- package/lib/resources/imports.cjs +44 -0
- package/lib/resources/imports.d.cts +4 -0
- package/lib/resources/imports.d.ts +4 -0
- package/lib/resources/imports.js +40 -0
- package/lib/resources/in_stock_subscriptions.cjs +63 -0
- package/lib/resources/in_stock_subscriptions.d.cts +4 -0
- package/lib/resources/in_stock_subscriptions.d.ts +4 -0
- package/lib/resources/in_stock_subscriptions.js +59 -0
- package/lib/resources/inventory_models.cjs +53 -0
- package/lib/resources/inventory_models.d.cts +4 -0
- package/lib/resources/inventory_models.d.ts +4 -0
- package/lib/resources/inventory_models.js +49 -0
- package/lib/resources/inventory_return_locations.cjs +49 -0
- package/lib/resources/inventory_return_locations.d.cts +4 -0
- package/lib/resources/inventory_return_locations.d.ts +4 -0
- package/lib/resources/inventory_return_locations.js +45 -0
- package/lib/resources/inventory_stock_locations.cjs +49 -0
- package/lib/resources/inventory_stock_locations.d.cts +4 -0
- package/lib/resources/inventory_stock_locations.d.ts +4 -0
- package/lib/resources/inventory_stock_locations.js +45 -0
- package/lib/resources/klarna_gateways.cjs +49 -0
- package/lib/resources/klarna_gateways.d.cts +4 -0
- package/lib/resources/klarna_gateways.d.ts +4 -0
- package/lib/resources/klarna_gateways.js +45 -0
- package/lib/resources/klarna_payments.cjs +52 -0
- package/lib/resources/klarna_payments.d.cts +4 -0
- package/lib/resources/klarna_payments.d.ts +4 -0
- package/lib/resources/klarna_payments.js +48 -0
- package/lib/resources/line_item_options.cjs +53 -0
- package/lib/resources/line_item_options.d.cts +4 -0
- package/lib/resources/line_item_options.d.ts +4 -0
- package/lib/resources/line_item_options.js +49 -0
- package/lib/resources/line_items.cjs +82 -0
- package/lib/resources/line_items.d.cts +4 -0
- package/lib/resources/line_items.d.ts +4 -0
- package/lib/resources/line_items.js +78 -0
- package/lib/resources/links.cjs +47 -0
- package/lib/resources/links.d.cts +4 -0
- package/lib/resources/links.d.ts +4 -0
- package/lib/resources/links.js +43 -0
- package/lib/resources/manual_gateways.cjs +45 -0
- package/lib/resources/manual_gateways.d.cts +4 -0
- package/lib/resources/manual_gateways.d.ts +4 -0
- package/lib/resources/manual_gateways.js +41 -0
- package/lib/resources/manual_tax_calculators.cjs +57 -0
- package/lib/resources/manual_tax_calculators.d.cts +4 -0
- package/lib/resources/manual_tax_calculators.d.ts +4 -0
- package/lib/resources/manual_tax_calculators.js +53 -0
- package/lib/resources/markets.cjs +91 -0
- package/lib/resources/markets.d.cts +4 -0
- package/lib/resources/markets.d.ts +4 -0
- package/lib/resources/markets.js +87 -0
- package/lib/resources/merchants.cjs +49 -0
- package/lib/resources/merchants.d.cts +4 -0
- package/lib/resources/merchants.d.ts +4 -0
- package/lib/resources/merchants.js +45 -0
- package/lib/resources/notifications.cjs +37 -0
- package/lib/resources/notifications.d.cts +4 -0
- package/lib/resources/notifications.d.ts +4 -0
- package/lib/resources/notifications.js +33 -0
- package/lib/resources/order_amount_promotion_rules.cjs +41 -0
- package/lib/resources/order_amount_promotion_rules.d.cts +4 -0
- package/lib/resources/order_amount_promotion_rules.d.ts +4 -0
- package/lib/resources/order_amount_promotion_rules.js +37 -0
- package/lib/resources/order_copies.cjs +53 -0
- package/lib/resources/order_copies.d.cts +4 -0
- package/lib/resources/order_copies.d.ts +4 -0
- package/lib/resources/order_copies.js +49 -0
- package/lib/resources/order_factories.cjs +40 -0
- package/lib/resources/order_factories.d.cts +4 -0
- package/lib/resources/order_factories.d.ts +4 -0
- package/lib/resources/order_factories.js +36 -0
- package/lib/resources/order_subscription_items.cjs +45 -0
- package/lib/resources/order_subscription_items.d.cts +4 -0
- package/lib/resources/order_subscription_items.d.ts +4 -0
- package/lib/resources/order_subscription_items.js +41 -0
- package/lib/resources/order_subscriptions.cjs +97 -0
- package/lib/resources/order_subscriptions.d.cts +4 -0
- package/lib/resources/order_subscriptions.d.ts +4 -0
- package/lib/resources/order_subscriptions.js +93 -0
- package/lib/resources/orders.cjs +266 -0
- package/lib/resources/orders.d.cts +4 -0
- package/lib/resources/orders.d.ts +4 -0
- package/lib/resources/orders.js +262 -0
- package/lib/resources/organizations.cjs +31 -0
- package/lib/resources/organizations.d.cts +4 -0
- package/lib/resources/organizations.d.ts +4 -0
- package/lib/resources/organizations.js +27 -0
- package/lib/resources/packages.cjs +53 -0
- package/lib/resources/packages.d.cts +4 -0
- package/lib/resources/packages.d.ts +4 -0
- package/lib/resources/packages.js +49 -0
- package/lib/resources/parcel_line_items.cjs +49 -0
- package/lib/resources/parcel_line_items.d.cts +4 -0
- package/lib/resources/parcel_line_items.d.ts +4 -0
- package/lib/resources/parcel_line_items.js +45 -0
- package/lib/resources/parcels.cjs +61 -0
- package/lib/resources/parcels.d.cts +4 -0
- package/lib/resources/parcels.d.ts +4 -0
- package/lib/resources/parcels.js +57 -0
- package/lib/resources/payment_gateways.cjs +36 -0
- package/lib/resources/payment_gateways.d.cts +4 -0
- package/lib/resources/payment_gateways.d.ts +4 -0
- package/lib/resources/payment_gateways.js +32 -0
- package/lib/resources/payment_methods.cjs +67 -0
- package/lib/resources/payment_methods.d.cts +4 -0
- package/lib/resources/payment_methods.d.ts +4 -0
- package/lib/resources/payment_methods.js +63 -0
- package/lib/resources/payment_options.cjs +45 -0
- package/lib/resources/payment_options.d.cts +4 -0
- package/lib/resources/payment_options.d.ts +4 -0
- package/lib/resources/payment_options.js +41 -0
- package/lib/resources/paypal_gateways.cjs +49 -0
- package/lib/resources/paypal_gateways.d.cts +4 -0
- package/lib/resources/paypal_gateways.d.ts +4 -0
- package/lib/resources/paypal_gateways.js +45 -0
- package/lib/resources/paypal_payments.cjs +49 -0
- package/lib/resources/paypal_payments.d.cts +4 -0
- package/lib/resources/paypal_payments.d.ts +4 -0
- package/lib/resources/paypal_payments.js +45 -0
- package/lib/resources/percentage_discount_promotions.cjs +91 -0
- package/lib/resources/percentage_discount_promotions.d.cts +4 -0
- package/lib/resources/percentage_discount_promotions.d.ts +4 -0
- package/lib/resources/percentage_discount_promotions.js +87 -0
- package/lib/resources/pickups.cjs +40 -0
- package/lib/resources/pickups.d.cts +4 -0
- package/lib/resources/pickups.d.ts +4 -0
- package/lib/resources/pickups.js +36 -0
- package/lib/resources/price_frequency_tiers.cjs +53 -0
- package/lib/resources/price_frequency_tiers.d.cts +4 -0
- package/lib/resources/price_frequency_tiers.d.ts +4 -0
- package/lib/resources/price_frequency_tiers.js +49 -0
- package/lib/resources/price_list_schedulers.cjs +59 -0
- package/lib/resources/price_list_schedulers.d.cts +4 -0
- package/lib/resources/price_list_schedulers.d.ts +4 -0
- package/lib/resources/price_list_schedulers.js +55 -0
- package/lib/resources/price_lists.cjs +53 -0
- package/lib/resources/price_lists.d.cts +4 -0
- package/lib/resources/price_lists.d.ts +4 -0
- package/lib/resources/price_lists.js +49 -0
- package/lib/resources/price_tiers.cjs +40 -0
- package/lib/resources/price_tiers.d.cts +4 -0
- package/lib/resources/price_tiers.d.ts +4 -0
- package/lib/resources/price_tiers.js +36 -0
- package/lib/resources/price_volume_tiers.cjs +53 -0
- package/lib/resources/price_volume_tiers.d.cts +4 -0
- package/lib/resources/price_volume_tiers.d.ts +4 -0
- package/lib/resources/price_volume_tiers.js +49 -0
- package/lib/resources/prices.cjs +77 -0
- package/lib/resources/prices.d.cts +4 -0
- package/lib/resources/prices.d.ts +4 -0
- package/lib/resources/prices.js +73 -0
- package/lib/resources/promotion_rules.cjs +32 -0
- package/lib/resources/promotion_rules.d.cts +4 -0
- package/lib/resources/promotion_rules.d.ts +4 -0
- package/lib/resources/promotion_rules.js +28 -0
- package/lib/resources/promotions.cjs +72 -0
- package/lib/resources/promotions.d.cts +4 -0
- package/lib/resources/promotions.d.ts +4 -0
- package/lib/resources/promotions.js +68 -0
- package/lib/resources/recurring_order_copies.cjs +53 -0
- package/lib/resources/recurring_order_copies.d.cts +4 -0
- package/lib/resources/recurring_order_copies.d.ts +4 -0
- package/lib/resources/recurring_order_copies.js +49 -0
- package/lib/resources/refunds.cjs +58 -0
- package/lib/resources/refunds.d.cts +4 -0
- package/lib/resources/refunds.d.ts +4 -0
- package/lib/resources/refunds.js +54 -0
- package/lib/resources/reserved_stocks.cjs +44 -0
- package/lib/resources/reserved_stocks.d.cts +4 -0
- package/lib/resources/reserved_stocks.d.ts +4 -0
- package/lib/resources/reserved_stocks.js +40 -0
- package/lib/resources/resource_errors.cjs +28 -0
- package/lib/resources/resource_errors.d.cts +4 -0
- package/lib/resources/resource_errors.d.ts +4 -0
- package/lib/resources/resource_errors.js +24 -0
- package/lib/resources/return_line_items.cjs +48 -0
- package/lib/resources/return_line_items.d.cts +4 -0
- package/lib/resources/return_line_items.d.ts +4 -0
- package/lib/resources/return_line_items.js +44 -0
- package/lib/resources/returns.cjs +122 -0
- package/lib/resources/returns.d.cts +4 -0
- package/lib/resources/returns.d.ts +4 -0
- package/lib/resources/returns.js +118 -0
- package/lib/resources/satispay_gateways.cjs +49 -0
- package/lib/resources/satispay_gateways.d.cts +4 -0
- package/lib/resources/satispay_gateways.d.ts +4 -0
- package/lib/resources/satispay_gateways.js +45 -0
- package/lib/resources/satispay_payments.cjs +52 -0
- package/lib/resources/satispay_payments.d.cts +4 -0
- package/lib/resources/satispay_payments.d.ts +4 -0
- package/lib/resources/satispay_payments.js +48 -0
- package/lib/resources/shipments.cjs +152 -0
- package/lib/resources/shipments.d.cts +4 -0
- package/lib/resources/shipments.d.ts +4 -0
- package/lib/resources/shipments.js +148 -0
- package/lib/resources/shipping_categories.cjs +49 -0
- package/lib/resources/shipping_categories.d.cts +4 -0
- package/lib/resources/shipping_categories.d.ts +4 -0
- package/lib/resources/shipping_categories.js +45 -0
- package/lib/resources/shipping_method_tiers.cjs +40 -0
- package/lib/resources/shipping_method_tiers.d.cts +4 -0
- package/lib/resources/shipping_method_tiers.d.ts +4 -0
- package/lib/resources/shipping_method_tiers.js +36 -0
- package/lib/resources/shipping_methods.cjs +86 -0
- package/lib/resources/shipping_methods.d.cts +4 -0
- package/lib/resources/shipping_methods.d.ts +4 -0
- package/lib/resources/shipping_methods.js +82 -0
- package/lib/resources/shipping_weight_tiers.cjs +49 -0
- package/lib/resources/shipping_weight_tiers.d.cts +4 -0
- package/lib/resources/shipping_weight_tiers.d.ts +4 -0
- package/lib/resources/shipping_weight_tiers.js +45 -0
- package/lib/resources/shipping_zones.cjs +45 -0
- package/lib/resources/shipping_zones.d.cts +4 -0
- package/lib/resources/shipping_zones.d.ts +4 -0
- package/lib/resources/shipping_zones.js +41 -0
- package/lib/resources/sku_list_items.cjs +49 -0
- package/lib/resources/sku_list_items.d.cts +4 -0
- package/lib/resources/sku_list_items.d.ts +4 -0
- package/lib/resources/sku_list_items.js +45 -0
- package/lib/resources/sku_list_promotion_rules.cjs +49 -0
- package/lib/resources/sku_list_promotion_rules.d.cts +4 -0
- package/lib/resources/sku_list_promotion_rules.d.ts +4 -0
- package/lib/resources/sku_list_promotion_rules.js +45 -0
- package/lib/resources/sku_lists.cjs +65 -0
- package/lib/resources/sku_lists.d.cts +4 -0
- package/lib/resources/sku_lists.d.ts +4 -0
- package/lib/resources/sku_lists.js +61 -0
- package/lib/resources/sku_options.cjs +57 -0
- package/lib/resources/sku_options.d.cts +4 -0
- package/lib/resources/sku_options.d.ts +4 -0
- package/lib/resources/sku_options.js +53 -0
- package/lib/resources/skus.cjs +101 -0
- package/lib/resources/skus.d.cts +4 -0
- package/lib/resources/skus.d.ts +4 -0
- package/lib/resources/skus.js +97 -0
- package/lib/resources/stock_items.cjs +64 -0
- package/lib/resources/stock_items.d.cts +4 -0
- package/lib/resources/stock_items.d.ts +4 -0
- package/lib/resources/stock_items.js +60 -0
- package/lib/resources/stock_line_items.cjs +70 -0
- package/lib/resources/stock_line_items.d.cts +4 -0
- package/lib/resources/stock_line_items.d.ts +4 -0
- package/lib/resources/stock_line_items.js +66 -0
- package/lib/resources/stock_locations.cjs +69 -0
- package/lib/resources/stock_locations.d.cts +4 -0
- package/lib/resources/stock_locations.d.ts +4 -0
- package/lib/resources/stock_locations.js +65 -0
- package/lib/resources/stock_reservations.cjs +68 -0
- package/lib/resources/stock_reservations.d.cts +4 -0
- package/lib/resources/stock_reservations.d.ts +4 -0
- package/lib/resources/stock_reservations.js +64 -0
- package/lib/resources/stock_transfers.cjs +91 -0
- package/lib/resources/stock_transfers.d.cts +4 -0
- package/lib/resources/stock_transfers.d.ts +4 -0
- package/lib/resources/stock_transfers.js +87 -0
- package/lib/resources/stores.cjs +65 -0
- package/lib/resources/stores.d.cts +4 -0
- package/lib/resources/stores.d.ts +4 -0
- package/lib/resources/stores.js +61 -0
- package/lib/resources/stripe_gateways.cjs +49 -0
- package/lib/resources/stripe_gateways.d.cts +4 -0
- package/lib/resources/stripe_gateways.d.ts +4 -0
- package/lib/resources/stripe_gateways.js +45 -0
- package/lib/resources/stripe_payments.cjs +55 -0
- package/lib/resources/stripe_payments.d.cts +4 -0
- package/lib/resources/stripe_payments.d.ts +4 -0
- package/lib/resources/stripe_payments.js +51 -0
- package/lib/resources/stripe_tax_accounts.cjs +57 -0
- package/lib/resources/stripe_tax_accounts.d.cts +4 -0
- package/lib/resources/stripe_tax_accounts.d.ts +4 -0
- package/lib/resources/stripe_tax_accounts.js +53 -0
- package/lib/resources/subscription_models.cjs +49 -0
- package/lib/resources/subscription_models.d.cts +4 -0
- package/lib/resources/subscription_models.d.ts +4 -0
- package/lib/resources/subscription_models.js +45 -0
- package/lib/resources/tags.cjs +37 -0
- package/lib/resources/tags.d.cts +4 -0
- package/lib/resources/tags.d.ts +4 -0
- package/lib/resources/tags.js +33 -0
- package/lib/resources/talon_one_accounts.cjs +53 -0
- package/lib/resources/talon_one_accounts.d.cts +4 -0
- package/lib/resources/talon_one_accounts.d.ts +4 -0
- package/lib/resources/talon_one_accounts.js +49 -0
- package/lib/resources/tax_calculators.cjs +44 -0
- package/lib/resources/tax_calculators.d.cts +4 -0
- package/lib/resources/tax_calculators.d.ts +4 -0
- package/lib/resources/tax_calculators.js +40 -0
- package/lib/resources/tax_categories.cjs +49 -0
- package/lib/resources/tax_categories.d.cts +4 -0
- package/lib/resources/tax_categories.d.ts +4 -0
- package/lib/resources/tax_categories.js +45 -0
- package/lib/resources/tax_rules.cjs +45 -0
- package/lib/resources/tax_rules.d.cts +4 -0
- package/lib/resources/tax_rules.d.ts +4 -0
- package/lib/resources/tax_rules.js +41 -0
- package/lib/resources/taxjar_accounts.cjs +57 -0
- package/lib/resources/taxjar_accounts.d.cts +4 -0
- package/lib/resources/taxjar_accounts.d.ts +4 -0
- package/lib/resources/taxjar_accounts.js +53 -0
- package/lib/resources/transactions.cjs +44 -0
- package/lib/resources/transactions.d.cts +4 -0
- package/lib/resources/transactions.d.ts +4 -0
- package/lib/resources/transactions.js +40 -0
- package/lib/resources/versions.cjs +28 -0
- package/lib/resources/versions.d.cts +4 -0
- package/lib/resources/versions.d.ts +4 -0
- package/lib/resources/versions.js +24 -0
- package/lib/resources/vertex_accounts.cjs +56 -0
- package/lib/resources/vertex_accounts.d.cts +4 -0
- package/lib/resources/vertex_accounts.d.ts +4 -0
- package/lib/resources/vertex_accounts.js +52 -0
- package/lib/resources/voids.cjs +54 -0
- package/lib/resources/voids.d.cts +4 -0
- package/lib/resources/voids.d.ts +4 -0
- package/lib/resources/voids.js +50 -0
- package/lib/resources/webhooks.cjs +54 -0
- package/lib/resources/webhooks.d.cts +4 -0
- package/lib/resources/webhooks.d.ts +4 -0
- package/lib/resources/webhooks.js +50 -0
- package/lib/resources/wire_transfers.cjs +45 -0
- package/lib/resources/wire_transfers.d.cts +4 -0
- package/lib/resources/wire_transfers.d.ts +4 -0
- package/lib/resources/wire_transfers.js +41 -0
- package/lib/static.cjs +39 -0
- package/lib/static.d.cts +19 -0
- package/lib/static.d.ts +19 -0
- package/lib/static.js +33 -0
- package/lib/types.cjs +2 -0
- package/lib/types.d.cts +7 -0
- package/lib/types.d.ts +7 -0
- package/lib/types.js +1 -0
- package/lib/util.cjs +37 -0
- package/lib/util.d.cts +13 -0
- package/lib/util.d.ts +13 -0
- package/lib/util.js +32 -0
- package/package.json +12 -10
package/lib/api.d.cts
ADDED
@@ -0,0 +1,4 @@
|
|
1
|
+
export { hy as Addresses, hz as Adjustments, hA as AdyenGateways, hB as AdyenPayments, hC as Applications, hD as Attachments, hE as Authorizations, hF as AvalaraAccounts, hG as AxerveGateways, hH as AxervePayments, hI as BingGeocoders, hJ as BraintreeGateways, hK as BraintreePayments, hL as Bundles, hM as BuyXPayYPromotions, hN as Captures, hO as CarrierAccounts, hP as CheckoutComGateways, hQ as CheckoutComPayments, hR as Cleanups, hS as CouponCodesPromotionRules, hT as CouponRecipients, hU as Coupons, hn as CreatableResource, hm as CreatableResourceType, hV as CustomPromotionRules, hW as CustomerAddresses, hX as CustomerGroups, hY as CustomerPasswordResets, hZ as CustomerPaymentSources, h_ as CustomerSubscriptions, h$ as Customers, hr as DeletableResource, hq as DeletableResourceType, i0 as DeliveryLeadTimes, i1 as DiscountEngineItems, i2 as DiscountEngines, i3 as EasypostPickups, i4 as EventCallbacks, i5 as Events, i6 as Exports, i7 as ExternalGateways, i8 as ExternalPayments, i9 as ExternalPromotions, ia as ExternalTaxCalculators, ib as FixedAmountPromotions, ic as FixedPricePromotions, id as FlexPromotions, ie as FreeGiftPromotions, ig as FreeShippingPromotions, ih as Geocoders, ii as GiftCardRecipients, ij as GiftCards, ik as GoogleGeocoders, il as Imports, im as InStockSubscriptions, io as InventoryModels, ip as InventoryReturnLocations, iq as InventoryStockLocations, ir as KlarnaGateways, is as KlarnaPayments, it as LineItemOptions, iu as LineItems, iv as Links, hl as ListableResource, hk as ListableResourceType, iw as ManualGateways, ix as ManualTaxCalculators, iy as Markets, iz as Merchants, iA as Notifications, iB as OrderAmountPromotionRules, iC as OrderCopies, iD as OrderFactories, iE as OrderSubscriptionItems, iF as OrderSubscriptions, iG as Orders, iH as Organizations, iI as Packages, iJ as ParcelLineItems, iK as Parcels, iL as PaymentGateways, iM as PaymentMethods, iN as PaymentOptions, iO as PaypalGateways, iP as PaypalPayments, iQ as PercentageDiscountPromotions, iR as Pickups, iS as PriceFrequencyTiers, iT as PriceListSchedulers, iU as PriceLists, iV as PriceTiers, iW as PriceVolumeTiers, iX as Prices, iY as PromotionRules, iZ as Promotions, i_ as RecurringOrderCopies, i$ as Refunds, j0 as ReservedStocks, j1 as ResourceErrors, hw as ResourceFields, hx as ResourceSortFields, hf as ResourceTypeLock, hj as RetrievableResource, hi as RetrievableResourceType, j2 as ReturnLineItems, j3 as Returns, j4 as SatispayGateways, j5 as SatispayPayments, j6 as Shipments, j7 as ShippingCategories, j8 as ShippingMethodTiers, j9 as ShippingMethods, ja as ShippingWeightTiers, jb as ShippingZones, jc as SkuListItems, jd as SkuListPromotionRules, je as SkuLists, jf as SkuOptions, jg as Skus, jh as StockItems, ji as StockLineItems, jj as StockLocations, jk as StockReservations, jl as StockTransfers, jm as Stores, jn as StripeGateways, jo as StripePayments, jp as StripeTaxAccounts, jq as SubscriptionModels, ht as TaggableResource, hs as TaggableResourceType, jr as Tags, js as TalonOneAccounts, jt as TaxCalculators, ju as TaxCategories, jv as TaxRules, jw as TaxjarAccounts, jx as Transactions, hp as UpdatableResource, ho as UpdatableResourceType, hv as VersionableResource, hu as VersionableResourceType, jy as Versions, jz as VertexAccounts, jA as Voids, jB as Webhooks, jC as WireTransfers, hg as resourceList, hh as singletonList } from './api-BYcswOJ0.cjs';
|
2
|
+
import './client.cjs';
|
3
|
+
import './interceptor-5MISI1yn.cjs';
|
4
|
+
import './types.cjs';
|
package/lib/api.d.ts
ADDED
@@ -0,0 +1,4 @@
|
|
1
|
+
export { hy as Addresses, hz as Adjustments, hA as AdyenGateways, hB as AdyenPayments, hC as Applications, hD as Attachments, hE as Authorizations, hF as AvalaraAccounts, hG as AxerveGateways, hH as AxervePayments, hI as BingGeocoders, hJ as BraintreeGateways, hK as BraintreePayments, hL as Bundles, hM as BuyXPayYPromotions, hN as Captures, hO as CarrierAccounts, hP as CheckoutComGateways, hQ as CheckoutComPayments, hR as Cleanups, hS as CouponCodesPromotionRules, hT as CouponRecipients, hU as Coupons, hn as CreatableResource, hm as CreatableResourceType, hV as CustomPromotionRules, hW as CustomerAddresses, hX as CustomerGroups, hY as CustomerPasswordResets, hZ as CustomerPaymentSources, h_ as CustomerSubscriptions, h$ as Customers, hr as DeletableResource, hq as DeletableResourceType, i0 as DeliveryLeadTimes, i1 as DiscountEngineItems, i2 as DiscountEngines, i3 as EasypostPickups, i4 as EventCallbacks, i5 as Events, i6 as Exports, i7 as ExternalGateways, i8 as ExternalPayments, i9 as ExternalPromotions, ia as ExternalTaxCalculators, ib as FixedAmountPromotions, ic as FixedPricePromotions, id as FlexPromotions, ie as FreeGiftPromotions, ig as FreeShippingPromotions, ih as Geocoders, ii as GiftCardRecipients, ij as GiftCards, ik as GoogleGeocoders, il as Imports, im as InStockSubscriptions, io as InventoryModels, ip as InventoryReturnLocations, iq as InventoryStockLocations, ir as KlarnaGateways, is as KlarnaPayments, it as LineItemOptions, iu as LineItems, iv as Links, hl as ListableResource, hk as ListableResourceType, iw as ManualGateways, ix as ManualTaxCalculators, iy as Markets, iz as Merchants, iA as Notifications, iB as OrderAmountPromotionRules, iC as OrderCopies, iD as OrderFactories, iE as OrderSubscriptionItems, iF as OrderSubscriptions, iG as Orders, iH as Organizations, iI as Packages, iJ as ParcelLineItems, iK as Parcels, iL as PaymentGateways, iM as PaymentMethods, iN as PaymentOptions, iO as PaypalGateways, iP as PaypalPayments, iQ as PercentageDiscountPromotions, iR as Pickups, iS as PriceFrequencyTiers, iT as PriceListSchedulers, iU as PriceLists, iV as PriceTiers, iW as PriceVolumeTiers, iX as Prices, iY as PromotionRules, iZ as Promotions, i_ as RecurringOrderCopies, i$ as Refunds, j0 as ReservedStocks, j1 as ResourceErrors, hw as ResourceFields, hx as ResourceSortFields, hf as ResourceTypeLock, hj as RetrievableResource, hi as RetrievableResourceType, j2 as ReturnLineItems, j3 as Returns, j4 as SatispayGateways, j5 as SatispayPayments, j6 as Shipments, j7 as ShippingCategories, j8 as ShippingMethodTiers, j9 as ShippingMethods, ja as ShippingWeightTiers, jb as ShippingZones, jc as SkuListItems, jd as SkuListPromotionRules, je as SkuLists, jf as SkuOptions, jg as Skus, jh as StockItems, ji as StockLineItems, jj as StockLocations, jk as StockReservations, jl as StockTransfers, jm as Stores, jn as StripeGateways, jo as StripePayments, jp as StripeTaxAccounts, jq as SubscriptionModels, ht as TaggableResource, hs as TaggableResourceType, jr as Tags, js as TalonOneAccounts, jt as TaxCalculators, ju as TaxCategories, jv as TaxRules, jw as TaxjarAccounts, jx as Transactions, hp as UpdatableResource, ho as UpdatableResourceType, hv as VersionableResource, hu as VersionableResourceType, jy as Versions, jz as VertexAccounts, jA as Voids, jB as Webhooks, jC as WireTransfers, hg as resourceList, hh as singletonList } from './api-Cknm0QL_.js';
|
2
|
+
import './client.js';
|
3
|
+
import './interceptor-5MISI1yn.js';
|
4
|
+
import './types.js';
|
package/lib/api.js
ADDED
@@ -0,0 +1,275 @@
|
|
1
|
+
export { default as Addresses } from './resources/addresses';
|
2
|
+
export { default as Adjustments } from './resources/adjustments';
|
3
|
+
export { default as AdyenGateways } from './resources/adyen_gateways';
|
4
|
+
export { default as AdyenPayments } from './resources/adyen_payments';
|
5
|
+
export { default as Applications } from './resources/applications';
|
6
|
+
export { default as Attachments } from './resources/attachments';
|
7
|
+
export { default as Authorizations } from './resources/authorizations';
|
8
|
+
export { default as AvalaraAccounts } from './resources/avalara_accounts';
|
9
|
+
export { default as AxerveGateways } from './resources/axerve_gateways';
|
10
|
+
export { default as AxervePayments } from './resources/axerve_payments';
|
11
|
+
export { default as BingGeocoders } from './resources/bing_geocoders';
|
12
|
+
export { default as BraintreeGateways } from './resources/braintree_gateways';
|
13
|
+
export { default as BraintreePayments } from './resources/braintree_payments';
|
14
|
+
export { default as Bundles } from './resources/bundles';
|
15
|
+
export { default as BuyXPayYPromotions } from './resources/buy_x_pay_y_promotions';
|
16
|
+
export { default as Captures } from './resources/captures';
|
17
|
+
export { default as CarrierAccounts } from './resources/carrier_accounts';
|
18
|
+
export { default as CheckoutComGateways } from './resources/checkout_com_gateways';
|
19
|
+
export { default as CheckoutComPayments } from './resources/checkout_com_payments';
|
20
|
+
export { default as Cleanups } from './resources/cleanups';
|
21
|
+
export { default as CouponCodesPromotionRules } from './resources/coupon_codes_promotion_rules';
|
22
|
+
export { default as CouponRecipients } from './resources/coupon_recipients';
|
23
|
+
export { default as Coupons } from './resources/coupons';
|
24
|
+
export { default as CustomPromotionRules } from './resources/custom_promotion_rules';
|
25
|
+
export { default as CustomerAddresses } from './resources/customer_addresses';
|
26
|
+
export { default as CustomerGroups } from './resources/customer_groups';
|
27
|
+
export { default as CustomerPasswordResets } from './resources/customer_password_resets';
|
28
|
+
export { default as CustomerPaymentSources } from './resources/customer_payment_sources';
|
29
|
+
export { default as CustomerSubscriptions } from './resources/customer_subscriptions';
|
30
|
+
export { default as Customers } from './resources/customers';
|
31
|
+
export { default as DeliveryLeadTimes } from './resources/delivery_lead_times';
|
32
|
+
export { default as DiscountEngineItems } from './resources/discount_engine_items';
|
33
|
+
export { default as DiscountEngines } from './resources/discount_engines';
|
34
|
+
export { default as EasypostPickups } from './resources/easypost_pickups';
|
35
|
+
export { default as EventCallbacks } from './resources/event_callbacks';
|
36
|
+
export { default as Events } from './resources/events';
|
37
|
+
export { default as Exports } from './resources/exports';
|
38
|
+
export { default as ExternalGateways } from './resources/external_gateways';
|
39
|
+
export { default as ExternalPayments } from './resources/external_payments';
|
40
|
+
export { default as ExternalPromotions } from './resources/external_promotions';
|
41
|
+
export { default as ExternalTaxCalculators } from './resources/external_tax_calculators';
|
42
|
+
export { default as FixedAmountPromotions } from './resources/fixed_amount_promotions';
|
43
|
+
export { default as FixedPricePromotions } from './resources/fixed_price_promotions';
|
44
|
+
export { default as FlexPromotions } from './resources/flex_promotions';
|
45
|
+
export { default as FreeGiftPromotions } from './resources/free_gift_promotions';
|
46
|
+
export { default as FreeShippingPromotions } from './resources/free_shipping_promotions';
|
47
|
+
export { default as Geocoders } from './resources/geocoders';
|
48
|
+
export { default as GiftCardRecipients } from './resources/gift_card_recipients';
|
49
|
+
export { default as GiftCards } from './resources/gift_cards';
|
50
|
+
export { default as GoogleGeocoders } from './resources/google_geocoders';
|
51
|
+
export { default as Imports } from './resources/imports';
|
52
|
+
export { default as InStockSubscriptions } from './resources/in_stock_subscriptions';
|
53
|
+
export { default as InventoryModels } from './resources/inventory_models';
|
54
|
+
export { default as InventoryReturnLocations } from './resources/inventory_return_locations';
|
55
|
+
export { default as InventoryStockLocations } from './resources/inventory_stock_locations';
|
56
|
+
export { default as KlarnaGateways } from './resources/klarna_gateways';
|
57
|
+
export { default as KlarnaPayments } from './resources/klarna_payments';
|
58
|
+
export { default as LineItemOptions } from './resources/line_item_options';
|
59
|
+
export { default as LineItems } from './resources/line_items';
|
60
|
+
export { default as Links } from './resources/links';
|
61
|
+
export { default as ManualGateways } from './resources/manual_gateways';
|
62
|
+
export { default as ManualTaxCalculators } from './resources/manual_tax_calculators';
|
63
|
+
export { default as Markets } from './resources/markets';
|
64
|
+
export { default as Merchants } from './resources/merchants';
|
65
|
+
export { default as Notifications } from './resources/notifications';
|
66
|
+
export { default as OrderAmountPromotionRules } from './resources/order_amount_promotion_rules';
|
67
|
+
export { default as OrderCopies } from './resources/order_copies';
|
68
|
+
export { default as OrderFactories } from './resources/order_factories';
|
69
|
+
export { default as OrderSubscriptionItems } from './resources/order_subscription_items';
|
70
|
+
export { default as OrderSubscriptions } from './resources/order_subscriptions';
|
71
|
+
export { default as Orders } from './resources/orders';
|
72
|
+
export { default as Organizations } from './resources/organizations';
|
73
|
+
export { default as Packages } from './resources/packages';
|
74
|
+
export { default as ParcelLineItems } from './resources/parcel_line_items';
|
75
|
+
export { default as Parcels } from './resources/parcels';
|
76
|
+
export { default as PaymentGateways } from './resources/payment_gateways';
|
77
|
+
export { default as PaymentMethods } from './resources/payment_methods';
|
78
|
+
export { default as PaymentOptions } from './resources/payment_options';
|
79
|
+
export { default as PaypalGateways } from './resources/paypal_gateways';
|
80
|
+
export { default as PaypalPayments } from './resources/paypal_payments';
|
81
|
+
export { default as PercentageDiscountPromotions } from './resources/percentage_discount_promotions';
|
82
|
+
export { default as Pickups } from './resources/pickups';
|
83
|
+
export { default as PriceFrequencyTiers } from './resources/price_frequency_tiers';
|
84
|
+
export { default as PriceListSchedulers } from './resources/price_list_schedulers';
|
85
|
+
export { default as PriceLists } from './resources/price_lists';
|
86
|
+
export { default as PriceTiers } from './resources/price_tiers';
|
87
|
+
export { default as PriceVolumeTiers } from './resources/price_volume_tiers';
|
88
|
+
export { default as Prices } from './resources/prices';
|
89
|
+
export { default as PromotionRules } from './resources/promotion_rules';
|
90
|
+
export { default as Promotions } from './resources/promotions';
|
91
|
+
export { default as RecurringOrderCopies } from './resources/recurring_order_copies';
|
92
|
+
export { default as Refunds } from './resources/refunds';
|
93
|
+
export { default as ReservedStocks } from './resources/reserved_stocks';
|
94
|
+
export { default as ResourceErrors } from './resources/resource_errors';
|
95
|
+
export { default as ReturnLineItems } from './resources/return_line_items';
|
96
|
+
export { default as Returns } from './resources/returns';
|
97
|
+
export { default as SatispayGateways } from './resources/satispay_gateways';
|
98
|
+
export { default as SatispayPayments } from './resources/satispay_payments';
|
99
|
+
export { default as Shipments } from './resources/shipments';
|
100
|
+
export { default as ShippingCategories } from './resources/shipping_categories';
|
101
|
+
export { default as ShippingMethodTiers } from './resources/shipping_method_tiers';
|
102
|
+
export { default as ShippingMethods } from './resources/shipping_methods';
|
103
|
+
export { default as ShippingWeightTiers } from './resources/shipping_weight_tiers';
|
104
|
+
export { default as ShippingZones } from './resources/shipping_zones';
|
105
|
+
export { default as SkuListItems } from './resources/sku_list_items';
|
106
|
+
export { default as SkuListPromotionRules } from './resources/sku_list_promotion_rules';
|
107
|
+
export { default as SkuLists } from './resources/sku_lists';
|
108
|
+
export { default as SkuOptions } from './resources/sku_options';
|
109
|
+
export { default as Skus } from './resources/skus';
|
110
|
+
export { default as StockItems } from './resources/stock_items';
|
111
|
+
export { default as StockLineItems } from './resources/stock_line_items';
|
112
|
+
export { default as StockLocations } from './resources/stock_locations';
|
113
|
+
export { default as StockReservations } from './resources/stock_reservations';
|
114
|
+
export { default as StockTransfers } from './resources/stock_transfers';
|
115
|
+
export { default as Stores } from './resources/stores';
|
116
|
+
export { default as StripeGateways } from './resources/stripe_gateways';
|
117
|
+
export { default as StripePayments } from './resources/stripe_payments';
|
118
|
+
export { default as StripeTaxAccounts } from './resources/stripe_tax_accounts';
|
119
|
+
export { default as SubscriptionModels } from './resources/subscription_models';
|
120
|
+
export { default as Tags } from './resources/tags';
|
121
|
+
export { default as TalonOneAccounts } from './resources/talon_one_accounts';
|
122
|
+
export { default as TaxCalculators } from './resources/tax_calculators';
|
123
|
+
export { default as TaxCategories } from './resources/tax_categories';
|
124
|
+
export { default as TaxRules } from './resources/tax_rules';
|
125
|
+
export { default as TaxjarAccounts } from './resources/taxjar_accounts';
|
126
|
+
export { default as Transactions } from './resources/transactions';
|
127
|
+
export { default as Versions } from './resources/versions';
|
128
|
+
export { default as VertexAccounts } from './resources/vertex_accounts';
|
129
|
+
export { default as Voids } from './resources/voids';
|
130
|
+
export { default as Webhooks } from './resources/webhooks';
|
131
|
+
export { default as WireTransfers } from './resources/wire_transfers';
|
132
|
+
|
133
|
+
const resourceList = [
|
134
|
+
// ##__API_RESOURCE_LIST_START__##
|
135
|
+
"addresses",
|
136
|
+
"adjustments",
|
137
|
+
"adyen_gateways",
|
138
|
+
"adyen_payments",
|
139
|
+
"applications",
|
140
|
+
"attachments",
|
141
|
+
"authorizations",
|
142
|
+
"avalara_accounts",
|
143
|
+
"axerve_gateways",
|
144
|
+
"axerve_payments",
|
145
|
+
"bing_geocoders",
|
146
|
+
"braintree_gateways",
|
147
|
+
"braintree_payments",
|
148
|
+
"bundles",
|
149
|
+
"buy_x_pay_y_promotions",
|
150
|
+
"captures",
|
151
|
+
"carrier_accounts",
|
152
|
+
"checkout_com_gateways",
|
153
|
+
"checkout_com_payments",
|
154
|
+
"cleanups",
|
155
|
+
"coupon_codes_promotion_rules",
|
156
|
+
"coupon_recipients",
|
157
|
+
"coupons",
|
158
|
+
"custom_promotion_rules",
|
159
|
+
"customer_addresses",
|
160
|
+
"customer_groups",
|
161
|
+
"customer_password_resets",
|
162
|
+
"customer_payment_sources",
|
163
|
+
"customer_subscriptions",
|
164
|
+
"customers",
|
165
|
+
"delivery_lead_times",
|
166
|
+
"discount_engine_items",
|
167
|
+
"discount_engines",
|
168
|
+
"easypost_pickups",
|
169
|
+
"event_callbacks",
|
170
|
+
"events",
|
171
|
+
"exports",
|
172
|
+
"external_gateways",
|
173
|
+
"external_payments",
|
174
|
+
"external_promotions",
|
175
|
+
"external_tax_calculators",
|
176
|
+
"fixed_amount_promotions",
|
177
|
+
"fixed_price_promotions",
|
178
|
+
"flex_promotions",
|
179
|
+
"free_gift_promotions",
|
180
|
+
"free_shipping_promotions",
|
181
|
+
"geocoders",
|
182
|
+
"gift_card_recipients",
|
183
|
+
"gift_cards",
|
184
|
+
"google_geocoders",
|
185
|
+
"imports",
|
186
|
+
"in_stock_subscriptions",
|
187
|
+
"inventory_models",
|
188
|
+
"inventory_return_locations",
|
189
|
+
"inventory_stock_locations",
|
190
|
+
"klarna_gateways",
|
191
|
+
"klarna_payments",
|
192
|
+
"line_item_options",
|
193
|
+
"line_items",
|
194
|
+
"links",
|
195
|
+
"manual_gateways",
|
196
|
+
"manual_tax_calculators",
|
197
|
+
"markets",
|
198
|
+
"merchants",
|
199
|
+
"notifications",
|
200
|
+
"order_amount_promotion_rules",
|
201
|
+
"order_copies",
|
202
|
+
"order_factories",
|
203
|
+
"order_subscription_items",
|
204
|
+
"order_subscriptions",
|
205
|
+
"orders",
|
206
|
+
"organizations",
|
207
|
+
"packages",
|
208
|
+
"parcel_line_items",
|
209
|
+
"parcels",
|
210
|
+
"payment_gateways",
|
211
|
+
"payment_methods",
|
212
|
+
"payment_options",
|
213
|
+
"paypal_gateways",
|
214
|
+
"paypal_payments",
|
215
|
+
"percentage_discount_promotions",
|
216
|
+
"pickups",
|
217
|
+
"price_frequency_tiers",
|
218
|
+
"price_list_schedulers",
|
219
|
+
"price_lists",
|
220
|
+
"price_tiers",
|
221
|
+
"price_volume_tiers",
|
222
|
+
"prices",
|
223
|
+
"promotion_rules",
|
224
|
+
"promotions",
|
225
|
+
"recurring_order_copies",
|
226
|
+
"refunds",
|
227
|
+
"reserved_stocks",
|
228
|
+
"resource_errors",
|
229
|
+
"return_line_items",
|
230
|
+
"returns",
|
231
|
+
"satispay_gateways",
|
232
|
+
"satispay_payments",
|
233
|
+
"shipments",
|
234
|
+
"shipping_categories",
|
235
|
+
"shipping_method_tiers",
|
236
|
+
"shipping_methods",
|
237
|
+
"shipping_weight_tiers",
|
238
|
+
"shipping_zones",
|
239
|
+
"sku_list_items",
|
240
|
+
"sku_list_promotion_rules",
|
241
|
+
"sku_lists",
|
242
|
+
"sku_options",
|
243
|
+
"skus",
|
244
|
+
"stock_items",
|
245
|
+
"stock_line_items",
|
246
|
+
"stock_locations",
|
247
|
+
"stock_reservations",
|
248
|
+
"stock_transfers",
|
249
|
+
"stores",
|
250
|
+
"stripe_gateways",
|
251
|
+
"stripe_payments",
|
252
|
+
"stripe_tax_accounts",
|
253
|
+
"subscription_models",
|
254
|
+
"tags",
|
255
|
+
"talon_one_accounts",
|
256
|
+
"tax_calculators",
|
257
|
+
"tax_categories",
|
258
|
+
"tax_rules",
|
259
|
+
"taxjar_accounts",
|
260
|
+
"transactions",
|
261
|
+
"versions",
|
262
|
+
"vertex_accounts",
|
263
|
+
"voids",
|
264
|
+
"webhooks",
|
265
|
+
"wire_transfers"
|
266
|
+
// ##__API_RESOURCE_LIST_STOP__##
|
267
|
+
];
|
268
|
+
const singletonList = [
|
269
|
+
// ##__API_RESOURCE_SINGLETON_START__##
|
270
|
+
"applications",
|
271
|
+
"organizations"
|
272
|
+
// ##__API_RESOURCE_SINGLETON_STOP__##
|
273
|
+
];
|
274
|
+
|
275
|
+
export { resourceList, singletonList };
|
package/lib/client.cjs
ADDED
@@ -0,0 +1,170 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var error = require('./error');
|
4
|
+
var config = require('./config');
|
5
|
+
var fetch = require('./fetch');
|
6
|
+
var util = require('./util');
|
7
|
+
var Debug = require('./debug');
|
8
|
+
|
9
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
10
|
+
|
11
|
+
var config__default = /*#__PURE__*/_interopDefault(config);
|
12
|
+
var Debug__default = /*#__PURE__*/_interopDefault(Debug);
|
13
|
+
|
14
|
+
var __typeError = (msg) => {
|
15
|
+
throw TypeError(msg);
|
16
|
+
};
|
17
|
+
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
|
18
|
+
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
19
|
+
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
20
|
+
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), member.set(obj, value), value);
|
21
|
+
var _baseUrl, _accessToken, _organization, _domain, _clientConfig, _interceptors;
|
22
|
+
const debug = Debug__default.default("client");
|
23
|
+
const baseURL = (organization, domain) => {
|
24
|
+
return `https://${organization.toLowerCase()}.${domain || config__default.default.default.domain}/api`;
|
25
|
+
};
|
26
|
+
const _ApiClient = class _ApiClient {
|
27
|
+
constructor(options) {
|
28
|
+
__privateAdd(this, _baseUrl);
|
29
|
+
__privateAdd(this, _accessToken);
|
30
|
+
__privateAdd(this, _organization);
|
31
|
+
__privateAdd(this, _domain);
|
32
|
+
__privateAdd(this, _clientConfig);
|
33
|
+
__privateAdd(this, _interceptors);
|
34
|
+
debug("new client instance %O", options);
|
35
|
+
__privateSet(this, _baseUrl, baseURL(options.organization ?? "", options.domain));
|
36
|
+
__privateSet(this, _accessToken, options.accessToken);
|
37
|
+
__privateSet(this, _organization, options.organization ?? "");
|
38
|
+
__privateSet(this, _domain, options.domain);
|
39
|
+
const fetchConfig = {
|
40
|
+
timeout: options.timeout || config__default.default.client.timeout,
|
41
|
+
fetch: options.fetch,
|
42
|
+
refreshToken: options.refreshToken
|
43
|
+
};
|
44
|
+
const customHeaders = this.customHeaders(options.headers);
|
45
|
+
const headers = {
|
46
|
+
...customHeaders,
|
47
|
+
"Accept": "application/vnd.api+json",
|
48
|
+
"Content-Type": "application/vnd.api+json",
|
49
|
+
"Authorization": "Bearer " + __privateGet(this, _accessToken)
|
50
|
+
};
|
51
|
+
if (options.userAgent) headers["User-Agent"] = options.userAgent;
|
52
|
+
fetchConfig.headers = headers;
|
53
|
+
__privateSet(this, _clientConfig, fetchConfig);
|
54
|
+
debug("fetch config: %O", fetchConfig);
|
55
|
+
__privateSet(this, _interceptors, {});
|
56
|
+
}
|
57
|
+
static create(options) {
|
58
|
+
if ((!options.organization || !options.domain) && options.accessToken) {
|
59
|
+
const tokenData = util.extractTokenData(options.accessToken);
|
60
|
+
if (!options.organization && tokenData?.organization) options.organization = tokenData.organization;
|
61
|
+
if (!options.domain && tokenData?.domain) options.domain = tokenData.domain;
|
62
|
+
}
|
63
|
+
for (const attr of config__default.default.client.requiredAttributes)
|
64
|
+
if (!options[attr]) throw new error.SdkError({ message: `Undefined '${attr}' parameter` });
|
65
|
+
return new _ApiClient(options);
|
66
|
+
}
|
67
|
+
get interceptors() {
|
68
|
+
return __privateGet(this, _interceptors);
|
69
|
+
}
|
70
|
+
get requestHeaders() {
|
71
|
+
if (!__privateGet(this, _clientConfig).headers) __privateGet(this, _clientConfig).headers = {};
|
72
|
+
return __privateGet(this, _clientConfig).headers;
|
73
|
+
}
|
74
|
+
/*
|
75
|
+
set requestHeaders(headers: RequestHeaders) {
|
76
|
+
this.#clientConfig.headers = { ...this.#clientConfig.headers, ...headers }
|
77
|
+
}
|
78
|
+
*/
|
79
|
+
config(config2) {
|
80
|
+
debug("config %o", config2);
|
81
|
+
const def = __privateGet(this, _clientConfig);
|
82
|
+
if (!def.headers) def.headers = {};
|
83
|
+
if (config2.timeout) def.timeout = config2.timeout;
|
84
|
+
if (config2.userAgent) this.userAgent(config2.userAgent);
|
85
|
+
if (config2.fetch) __privateGet(this, _clientConfig).fetch = config2.fetch;
|
86
|
+
if (config2.refreshToken) __privateGet(this, _clientConfig).refreshToken = config2.refreshToken;
|
87
|
+
if (config2.organization || config2.domain) __privateSet(this, _baseUrl, baseURL(config2.organization || __privateGet(this, _organization), config2.domain || __privateGet(this, _domain)));
|
88
|
+
if (config2.organization) __privateSet(this, _organization, config2.organization);
|
89
|
+
if (config2.domain) __privateSet(this, _domain, config2.domain);
|
90
|
+
if (config2.accessToken) {
|
91
|
+
__privateSet(this, _accessToken, config2.accessToken);
|
92
|
+
def.headers.Authorization = "Bearer " + __privateGet(this, _accessToken);
|
93
|
+
}
|
94
|
+
if (config2.headers) def.headers = { ...def.headers, ...this.customHeaders(config2.headers) };
|
95
|
+
return this;
|
96
|
+
}
|
97
|
+
userAgent(userAgent) {
|
98
|
+
if (userAgent) this.requestHeaders["User-Agent"] = userAgent;
|
99
|
+
return this;
|
100
|
+
}
|
101
|
+
async request(method, path, body, options) {
|
102
|
+
debug("request %s %s, %O, %O", method, path, body || {}, options || {});
|
103
|
+
if (options?.userAgent) debug("User-Agent header ignored in request config");
|
104
|
+
const baseUrl = options?.organization ? baseURL(options.organization, options.domain) : __privateGet(this, _baseUrl);
|
105
|
+
const url = new URL(`${baseUrl}/${path}`);
|
106
|
+
const bodyData = body ? JSON.stringify({ data: body }) : void 0;
|
107
|
+
const headers = { ...this.requestHeaders, ...this.customHeaders(options?.headers) };
|
108
|
+
const accessToken = options?.accessToken || __privateGet(this, _accessToken);
|
109
|
+
if (accessToken) headers.Authorization = "Bearer " + accessToken;
|
110
|
+
const requestOptions = { method, body: bodyData, headers };
|
111
|
+
const timeout = options?.timeout || __privateGet(this, _clientConfig).timeout;
|
112
|
+
if (timeout) {
|
113
|
+
if (AbortSignal?.timeout) requestOptions.signal = AbortSignal.timeout(timeout);
|
114
|
+
else debug("Timeout not set. Undefined function: %s", "AbortSignal.timeout");
|
115
|
+
}
|
116
|
+
if (options?.params) Object.entries(options?.params).forEach(([name, value]) => {
|
117
|
+
url.searchParams.append(name, String(value));
|
118
|
+
});
|
119
|
+
const clientOptions = {
|
120
|
+
interceptors: this.interceptors,
|
121
|
+
fetch: options?.fetch || __privateGet(this, _clientConfig).fetch
|
122
|
+
};
|
123
|
+
try {
|
124
|
+
return await fetch.fetchURL(url, requestOptions, clientOptions).catch((error$1) => error.handleError(error$1));
|
125
|
+
} catch (err) {
|
126
|
+
if (error.isExpiredTokenError(err) && __privateGet(this, _clientConfig).refreshToken && util.isTokenExpired(__privateGet(this, _accessToken))) {
|
127
|
+
debug("Access token has expired");
|
128
|
+
const newAccessToken = await __privateGet(this, _clientConfig).refreshToken(__privateGet(this, _accessToken)).catch((e) => {
|
129
|
+
debug("Refresh token error: %s", e.message);
|
130
|
+
const tokenError = new error.SdkError({ message: "Error refreshing access token", type: error.ErrorType.TOKEN_REFRESH });
|
131
|
+
tokenError.source = e;
|
132
|
+
throw tokenError;
|
133
|
+
});
|
134
|
+
if (newAccessToken) {
|
135
|
+
debug("Access token refreshed");
|
136
|
+
this.config({ accessToken: newAccessToken });
|
137
|
+
if (requestOptions.headers) requestOptions.headers.Authorization = `Bearer ${newAccessToken}`;
|
138
|
+
const response = await fetch.fetchURL(url, requestOptions, clientOptions).catch((error$1) => error.handleError(error$1));
|
139
|
+
return response;
|
140
|
+
}
|
141
|
+
} else throw err;
|
142
|
+
}
|
143
|
+
}
|
144
|
+
customHeaders(headers) {
|
145
|
+
const customHeaders = {};
|
146
|
+
if (headers) {
|
147
|
+
for (const [name, value] of Object.entries(headers))
|
148
|
+
if (!["accept", "content-type", "authorization", "user-agent"].includes(name.toLowerCase())) customHeaders[name] = value;
|
149
|
+
}
|
150
|
+
return customHeaders;
|
151
|
+
}
|
152
|
+
get currentAccessToken() {
|
153
|
+
return __privateGet(this, _accessToken);
|
154
|
+
}
|
155
|
+
get currentOrganization() {
|
156
|
+
return __privateGet(this, _organization);
|
157
|
+
}
|
158
|
+
};
|
159
|
+
_baseUrl = new WeakMap();
|
160
|
+
_accessToken = new WeakMap();
|
161
|
+
_organization = new WeakMap();
|
162
|
+
_domain = new WeakMap();
|
163
|
+
_clientConfig = new WeakMap();
|
164
|
+
_interceptors = new WeakMap();
|
165
|
+
let ApiClient = _ApiClient;
|
166
|
+
var client_default = ApiClient;
|
167
|
+
|
168
|
+
module.exports = client_default;
|
169
|
+
|
170
|
+
module.exports = exports.default;
|
package/lib/client.d.cts
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
import { F as Fetch, f as InterceptorManager, g as FetchResponse } from './interceptor-5MISI1yn.cjs';
|
2
|
+
|
3
|
+
type RequestParams = Record<string, string | number | boolean>;
|
4
|
+
type RequestHeaders = Record<string, string>;
|
5
|
+
type RefreshToken = (expiredToken: string) => Promise<string>;
|
6
|
+
type RequestConfig = {
|
7
|
+
timeout?: number;
|
8
|
+
params?: RequestParams;
|
9
|
+
headers?: RequestHeaders;
|
10
|
+
userAgent?: string;
|
11
|
+
fetch?: Fetch;
|
12
|
+
refreshToken?: RefreshToken;
|
13
|
+
};
|
14
|
+
type ApiConfig = {
|
15
|
+
organization?: string;
|
16
|
+
domain?: string;
|
17
|
+
accessToken: string;
|
18
|
+
};
|
19
|
+
type ApiClientInitConfig = ApiConfig & RequestConfig;
|
20
|
+
type ApiClientConfig = Partial<ApiClientInitConfig>;
|
21
|
+
type Method = 'GET' | 'DELETE' | 'POST' | 'PUT' | 'PATCH';
|
22
|
+
declare class ApiClient {
|
23
|
+
#private;
|
24
|
+
static create(options: ApiClientInitConfig): ApiClient;
|
25
|
+
private constructor();
|
26
|
+
get interceptors(): InterceptorManager;
|
27
|
+
get requestHeaders(): RequestHeaders;
|
28
|
+
config(config: ApiClientConfig): this;
|
29
|
+
userAgent(userAgent: string): this;
|
30
|
+
request(method: Method, path: string, body?: any, options?: ApiClientConfig): Promise<FetchResponse>;
|
31
|
+
private customHeaders;
|
32
|
+
get currentAccessToken(): string;
|
33
|
+
get currentOrganization(): string;
|
34
|
+
}
|
35
|
+
|
36
|
+
export { type ApiClientConfig, type ApiClientInitConfig, type Method, type RefreshToken, type RequestConfig, ApiClient as default };
|
package/lib/client.d.ts
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
import { F as Fetch, f as InterceptorManager, g as FetchResponse } from './interceptor-5MISI1yn.js';
|
2
|
+
|
3
|
+
type RequestParams = Record<string, string | number | boolean>;
|
4
|
+
type RequestHeaders = Record<string, string>;
|
5
|
+
type RefreshToken = (expiredToken: string) => Promise<string>;
|
6
|
+
type RequestConfig = {
|
7
|
+
timeout?: number;
|
8
|
+
params?: RequestParams;
|
9
|
+
headers?: RequestHeaders;
|
10
|
+
userAgent?: string;
|
11
|
+
fetch?: Fetch;
|
12
|
+
refreshToken?: RefreshToken;
|
13
|
+
};
|
14
|
+
type ApiConfig = {
|
15
|
+
organization?: string;
|
16
|
+
domain?: string;
|
17
|
+
accessToken: string;
|
18
|
+
};
|
19
|
+
type ApiClientInitConfig = ApiConfig & RequestConfig;
|
20
|
+
type ApiClientConfig = Partial<ApiClientInitConfig>;
|
21
|
+
type Method = 'GET' | 'DELETE' | 'POST' | 'PUT' | 'PATCH';
|
22
|
+
declare class ApiClient {
|
23
|
+
#private;
|
24
|
+
static create(options: ApiClientInitConfig): ApiClient;
|
25
|
+
private constructor();
|
26
|
+
get interceptors(): InterceptorManager;
|
27
|
+
get requestHeaders(): RequestHeaders;
|
28
|
+
config(config: ApiClientConfig): this;
|
29
|
+
userAgent(userAgent: string): this;
|
30
|
+
request(method: Method, path: string, body?: any, options?: ApiClientConfig): Promise<FetchResponse>;
|
31
|
+
private customHeaders;
|
32
|
+
get currentAccessToken(): string;
|
33
|
+
get currentOrganization(): string;
|
34
|
+
}
|
35
|
+
|
36
|
+
export { type ApiClientConfig, type ApiClientInitConfig, type Method, type RefreshToken, type RequestConfig, ApiClient as default };
|