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.4 KB
Raw Blame
// Main client

export type {
  AuthProvider,
  AuthProvidersResponse,
  FileUploadCreateParams,
  RequestOptions,
  RetryConfig,
  UploadFileOptions,
  ValidationErrorDetail,
} from '@spree/sdk-core'
// Request infrastructure (re-export from sdk-core)
export {
  CountryCode,
  CurrencyCode,
  compareMoney,
  DimensionUnit,
  decimalPlaces,
  formatMoney,
  isDecimalString,
  isZeroMoney,
  LocaleCode,
  multiplyMoney,
  negateMoney,
  SpreeError,
  subtractMoney,
  sumMoney,
  WeightUnit,
} from '@spree/sdk-core'
export type {
  AuthTokens,
  DashboardCounters,
  LoginCredentials,
  MeResponse,
  PermissionRule,
  ReportingCompare,
  ReportingDimensionValue,
  ReportingGrain,
  ReportingMetricFilterOp,
  ReportingMetricValue,
  ReportingQuery,
  ReportingResult,
  ReportingRow,
  ReportingSchema,
  ReportingSchemaDimension,
  ReportingSchemaFamily,
  ReportingSchemaMetric,
} from './admin-client'
// Admin client class (for advanced use / subclassing)
export { AdminClient } from './admin-client'
export type { AdminClientConfig, Client } from './client'
export { createAdminClient } from './client'

// Narrows what completing an order answered with.
export { isOrderGroup } from './order-group'

// Param types (request bodies)
export type * from './params'
// Runtime helpers exported from params.ts alongside their related types.
export { isMaskedSecret, PREFERENCE_MASK_TOKEN } from './params'

// All entity types
export * from './types'