@commercelayer/sdk
Version:
Commerce Layer Javascript SDK
146 lines (143 loc) • 9.06 kB
text/typescript
import { d as Addresses, i as Adjustments, n as AdyenGateways, s as AdyenPayments, x as Applications, D as Attachments, H as Authorizations, M as AvalaraAccounts, R as AxerveGateways, W as AxervePayments, $ as BingGeocoders, a4 as BraintreeGateways, a9 as BraintreePayments, ae as Bundles, aj as BuyXPayYPromotions, an as Captures, as as CarrierAccounts, ax as CheckoutComGateways, aC as CheckoutComPayments, aH as Cleanups, aN as CouponCodesPromotionRules, aT as CouponRecipients, aW as Coupons, b1 as CustomPromotionRules, b7 as CustomerAddresses, bd as CustomerGroups, bi as CustomerPasswordResets, bn as CustomerPaymentSources, bt as CustomerSubscriptions, bv as Customers, bC as DeliveryLeadTimes, bG as DiscountEngineItems, bI as DiscountEngines, bN as EasypostPickups, bR as EventCallbacks, bV as EventStores, bX as Events, c0 as Exports, c5 as ExternalGateways, ca as ExternalPayments, cf as ExternalPromotions, ck as ExternalTaxCalculators, cp as FixedAmountPromotions, cu as FixedPricePromotions, cz as FlexPromotions, cE as FreeGiftPromotions, cJ as FreeShippingPromotions, cM as Geocoders, cT as GiftCardRecipients, cW as GiftCards, c$ as GoogleGeocoders, d4 as Imports, d9 as InStockSubscriptions, de as InventoryModels, dj as InventoryReturnLocations, dp as InventoryStockLocations, du as KlarnaGateways, dz as KlarnaPayments, dG as LineItemOptions, dJ as LineItems, dO as Links, dX as ManualGateways, e0 as ManualTaxCalculators, e5 as Markets, ea as Merchants, eg as Notifications, em as OrderAmountPromotionRules, en as OrderCopies, et as OrderFactories, eD as OrderSubscriptionItems, eG as OrderSubscriptions, eI as Orders, eL as Organizations, eQ as Packages, eX as ParcelLineItems, e_ as Parcels, f1 as PaymentGateways, f6 as PaymentMethods, fb as PaymentOptions, fg as PaypalGateways, fl as PaypalPayments, fq as PercentageDiscountPromotions, ft as Pickups, fA as PriceFrequencyTiers, fH as PriceListSchedulers, fK as PriceLists, fO as PriceTiers, fU as PriceVolumeTiers, fV as Prices, fZ as PromotionRules, f$ as Promotions, g9 as RecurringOrderCopies, gh as Refunds, gk as ReservedStocks, gp as ResourceErrors, gH as ReturnLineItems, gK as Returns, gP as SatispayGateways, gU as SatispayPayments, gZ as Shipments, g_ as ShippingCategories, h8 as ShippingMethodTiers, ha as ShippingMethods, hf as ShippingWeightTiers, hk as ShippingZones, ht as SkuListItems, hy as SkuListPromotionRules, hB as SkuLists, hG as SkuOptions, hJ as Skus, hO as StockItems, hT as StockLineItems, hY as StockLocations, i1 as StockReservations, i6 as StockTransfers, ib as Stores, ih as StripeGateways, im as StripePayments, is as StripeTaxAccounts, ix as SubscriptionModels, iE as Tags, iJ as TalonOneAccounts, iM as TaxCalculators, iN as TaxCategories, iW as TaxRules, i$ as TaxjarAccounts, j2 as Transactions, j9 as VertexAccounts, jd as Voids, ji as Webhooks, jn as WireTransfers } from './api-DhbS8TfO.cjs';
import { CommerceLayerInitConfig, CommerceLayerClient } from './commercelayer.cjs';
import './client.cjs';
import './fetch-B8-kP4X0.cjs';
import './types.cjs';
import './error.cjs';
declare class CommerceLayerBundle extends CommerceLayerClient {
constructor(config: CommerceLayerInitConfig);
static get(config?: CommerceLayerInitConfig): CommerceLayerBundle;
get addresses(): Addresses;
get adjustments(): Adjustments;
get adyen_gateways(): AdyenGateways;
get adyen_payments(): AdyenPayments;
get application(): Applications;
get attachments(): Attachments;
get authorizations(): Authorizations;
get avalara_accounts(): AvalaraAccounts;
get axerve_gateways(): AxerveGateways;
get axerve_payments(): AxervePayments;
get bing_geocoders(): BingGeocoders;
get braintree_gateways(): BraintreeGateways;
get braintree_payments(): BraintreePayments;
get bundles(): Bundles;
get buy_x_pay_y_promotions(): BuyXPayYPromotions;
get captures(): Captures;
get carrier_accounts(): CarrierAccounts;
get checkout_com_gateways(): CheckoutComGateways;
get checkout_com_payments(): CheckoutComPayments;
get cleanups(): Cleanups;
get coupon_codes_promotion_rules(): CouponCodesPromotionRules;
get coupon_recipients(): CouponRecipients;
get coupons(): Coupons;
get custom_promotion_rules(): CustomPromotionRules;
get customer_addresses(): CustomerAddresses;
get customer_groups(): CustomerGroups;
get customer_password_resets(): CustomerPasswordResets;
get customer_payment_sources(): CustomerPaymentSources;
get customer_subscriptions(): CustomerSubscriptions;
get customers(): Customers;
get delivery_lead_times(): DeliveryLeadTimes;
get discount_engine_items(): DiscountEngineItems;
get discount_engines(): DiscountEngines;
get easypost_pickups(): EasypostPickups;
get event_callbacks(): EventCallbacks;
get event_stores(): EventStores;
get events(): Events;
get exports(): Exports;
get external_gateways(): ExternalGateways;
get external_payments(): ExternalPayments;
get external_promotions(): ExternalPromotions;
get external_tax_calculators(): ExternalTaxCalculators;
get fixed_amount_promotions(): FixedAmountPromotions;
get fixed_price_promotions(): FixedPricePromotions;
get flex_promotions(): FlexPromotions;
get free_gift_promotions(): FreeGiftPromotions;
get free_shipping_promotions(): FreeShippingPromotions;
get geocoders(): Geocoders;
get gift_card_recipients(): GiftCardRecipients;
get gift_cards(): GiftCards;
get google_geocoders(): GoogleGeocoders;
get imports(): Imports;
get in_stock_subscriptions(): InStockSubscriptions;
get inventory_models(): InventoryModels;
get inventory_return_locations(): InventoryReturnLocations;
get inventory_stock_locations(): InventoryStockLocations;
get klarna_gateways(): KlarnaGateways;
get klarna_payments(): KlarnaPayments;
get line_item_options(): LineItemOptions;
get line_items(): LineItems;
get links(): Links;
get manual_gateways(): ManualGateways;
get manual_tax_calculators(): ManualTaxCalculators;
get markets(): Markets;
get merchants(): Merchants;
get notifications(): Notifications;
get order_amount_promotion_rules(): OrderAmountPromotionRules;
get order_copies(): OrderCopies;
get order_factories(): OrderFactories;
get order_subscription_items(): OrderSubscriptionItems;
get order_subscriptions(): OrderSubscriptions;
get orders(): Orders;
get organization(): Organizations;
get packages(): Packages;
get parcel_line_items(): ParcelLineItems;
get parcels(): Parcels;
get payment_gateways(): PaymentGateways;
get payment_methods(): PaymentMethods;
get payment_options(): PaymentOptions;
get paypal_gateways(): PaypalGateways;
get paypal_payments(): PaypalPayments;
get percentage_discount_promotions(): PercentageDiscountPromotions;
get pickups(): Pickups;
get price_frequency_tiers(): PriceFrequencyTiers;
get price_list_schedulers(): PriceListSchedulers;
get price_lists(): PriceLists;
get price_tiers(): PriceTiers;
get price_volume_tiers(): PriceVolumeTiers;
get prices(): Prices;
get promotion_rules(): PromotionRules;
get promotions(): Promotions;
get recurring_order_copies(): RecurringOrderCopies;
get refunds(): Refunds;
get reserved_stocks(): ReservedStocks;
get resource_errors(): ResourceErrors;
get return_line_items(): ReturnLineItems;
get returns(): Returns;
get satispay_gateways(): SatispayGateways;
get satispay_payments(): SatispayPayments;
get shipments(): Shipments;
get shipping_categories(): ShippingCategories;
get shipping_method_tiers(): ShippingMethodTiers;
get shipping_methods(): ShippingMethods;
get shipping_weight_tiers(): ShippingWeightTiers;
get shipping_zones(): ShippingZones;
get sku_list_items(): SkuListItems;
get sku_list_promotion_rules(): SkuListPromotionRules;
get sku_lists(): SkuLists;
get sku_options(): SkuOptions;
get skus(): Skus;
get stock_items(): StockItems;
get stock_line_items(): StockLineItems;
get stock_locations(): StockLocations;
get stock_reservations(): StockReservations;
get stock_transfers(): StockTransfers;
get stores(): Stores;
get stripe_gateways(): StripeGateways;
get stripe_payments(): StripePayments;
get stripe_tax_accounts(): StripeTaxAccounts;
get subscription_models(): SubscriptionModels;
get tags(): Tags;
get talon_one_accounts(): TalonOneAccounts;
get tax_calculators(): TaxCalculators;
get tax_categories(): TaxCategories;
get tax_rules(): TaxRules;
get taxjar_accounts(): TaxjarAccounts;
get transactions(): Transactions;
get vertex_accounts(): VertexAccounts;
get voids(): Voids;
get webhooks(): Webhooks;
get wire_transfers(): WireTransfers;
}
declare function CommerceLayer(config: CommerceLayerInitConfig): CommerceLayerBundle;
export { CommerceLayer, CommerceLayerBundle };