Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

1.6 KB
Raw Blame
export type {
  AuthProvider,
  AuthProvidersResponse,
  FileUploadCreateParams,
  RequestOptions,
  RetryConfig,
  UploadFileOptions,
} from '@spree/sdk-core'
// Request infrastructure (re-exported from sdk-core)
export {
  CountryCode,
  CurrencyCode,
  compareMoney,
  DimensionUnit,
  decimalPlaces,
  formatMoney,
  isDecimalString,
  isZeroMoney,
  LocaleCode,
  multiplyMoney,
  negateMoney,
  SpreeError,
  subtractMoney,
  sumMoney,
  WeightUnit,
} from '@spree/sdk-core'
// `Client` is the whole configured client (auth + resources + token/seller
// setters); `SellerClient` below is just the resource group. Exported under
// both names so hosts can say what they mean.
export type { Client, Client as SellerApiClient, SellerClientConfig } from './client'
export { createSellerClient } from './client'
export type {
  AccountUpdateParams,
  BulkProductResult,
  DeliveryCalculatorType,
  DeliveryMethodCreateParams,
  DeliveryMethodRuleParams,
  DeliveryMethodRuleType,
  DeliveryMethodUpdateParams,
  DeliveryZoneListParams,
  MeResource,
  MeResponse,
  OnboardingResponse,
  OrderAddressParams,
  PackageTypeCreateParams,
  PackageTypeUpdateParams,
  PermissionRule,
  ProductCreateParams,
  ProductUpdateParams,
  ProfileUpdateParams,
  RequirementSubmissionParams,
  SellerAddressParams,
  SellerCountry,
  SellerExportCreateParams,
  SellerExportType,
  SellerProductVariantParams,
  StockLocationCreateParams,
  StockLocationUpdateParams,
} from './seller-client'
// Client class, for advanced use and subclassing
export { SellerClient } from './seller-client'
export type * from './types'