@commercelayer/sdk
Version:
Commerce Layer Javascript SDK
147 lines (144 loc) • 9.11 kB
TypeScript
import { CommerceLayerInitConfig, CommerceLayerClient } from './commercelayer.js';
import { H as Addresses, J as Adjustments, N as AdyenGateways, P as AdyenPayments, W as Applications, Y as Attachments, _ as Authorizations, a0 as AvalaraAccounts, a2 as AxerveGateways, a4 as AxervePayments, a6 as BingGeocoders, a8 as BraintreeGateways, aa as BraintreePayments, ac as Bundles, ae as BuyXPayYPromotions, ag as Captures, ai as CarrierAccounts, ak as CheckoutComGateways, am as CheckoutComPayments, ao as Cleanups, aq as CouponCodesPromotionRules, as as CouponRecipients, au as Coupons, aw as CustomPromotionRules, ay as CustomerAddresses, aA as CustomerGroups, aC as CustomerPasswordResets, aE as CustomerPaymentSources, aG as CustomerSubscriptions, aI as Customers, aK as DeliveryLeadTimes, aM as DiscountEngineItems, aO as DiscountEngines, aQ as EasypostPickups, aS as EventCallbacks, aU as EventStores, aW as Events, aY as Exports, a_ as ExternalGateways, b0 as ExternalPayments, b2 as ExternalPromotions, b4 as ExternalTaxCalculators, b6 as FixedAmountPromotions, b8 as FixedPricePromotions, ba as FlexPromotions, bc as FreeGiftPromotions, be as FreeShippingPromotions, bg as Geocoders, bi as GiftCardRecipients, bk as GiftCards, bm as GoogleGeocoders, bo as Imports, bq as InStockSubscriptions, bs as InventoryModels, bu as InventoryReturnLocations, bw as InventoryStockLocations, by as KlarnaGateways, bA as KlarnaPayments, bC as LineItemOptions, bE as LineItems, bG as Links, bI as ManualGateways, bK as ManualTaxCalculators, bM as Markets, bO as Merchants, bQ as Notifications, bS as OrderAmountPromotionRules, bU as OrderCopies, bW as OrderFactories, bY as OrderSubscriptionItems, b_ as OrderSubscriptions, c0 as Orders, c2 as Organizations, c4 as Packages, c6 as ParcelLineItems, c8 as Parcels, ca as PaymentGateways, cc as PaymentMethods, ce as PaymentOptions, cg as PaypalGateways, ci as PaypalPayments, ck as PercentageDiscountPromotions, cm as Pickups, co as PriceFrequencyTiers, cq as PriceListSchedulers, cs as PriceLists, cu as PriceTiers, cw as PriceVolumeTiers, cy as Prices, cA as PromotionRules, cC as Promotions, cE as RecurringOrderCopies, cG as Refunds, cI as ReservedStocks, cK as ResourceErrors, cM as ReturnLineItems, cO as Returns, cQ as SatispayGateways, cS as SatispayPayments, cU as Shipments, cW as ShippingCategories, cY as ShippingMethodTiers, c_ as ShippingMethods, d0 as ShippingWeightTiers, d2 as ShippingZones, d4 as SkuListItems, d6 as SkuListPromotionRules, d8 as SkuLists, da as SkuOptions, dc as Skus, de as StockItems, dg as StockLineItems, di as StockLocations, dk as StockReservations, dm as StockTransfers, dp as Stores, dr as StripeGateways, dt as StripePayments, dv as StripeTaxAccounts, dx as SubscriptionModels, dz as Tags, dB as TalonOneAccounts, dD as TaxCalculators, dF as TaxCategories, dH as TaxRules, dJ as TaxjarAccounts, dL as Transactions, dN as Versions, dP as VertexAccounts, dR as Voids, dT as Webhooks, dV as WireTransfers } from './api-hqUAWxVp.js';
import './error.js';
import './interceptor-k15jXzf0.js';
import './client.js';
import './types.js';
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 versions(): Versions;
get vertex_accounts(): VertexAccounts;
get voids(): Voids;
get webhooks(): Webhooks;
get wire_transfers(): WireTransfers;
}
declare function CommerceLayer(config: CommerceLayerInitConfig): CommerceLayerBundle;
export { CommerceLayer, CommerceLayerBundle };