Skip to content

@lonca/hepsiburada@0.12.0

Latest

Choose a tag to compare

@github-actions github-actions released this 11 Jun 23:09
· 14 commits to main since this release
c6577ca

Minor Changes

  • #89 24f63e2 Thanks @keparlak! - Type the claim/package/catalog mutation surface (feedback #4 + #5).
    • Returns (#4): catalog.approvePreMatch / rejectPreMatch / checkProductStatus
      and claims.accept / reject / preApprovalConfirm / create now return a
      MutationResult ({ raw: unknown }) instead of bare unknown — the API response
      is on .raw. (unknown already forced a cast, so this is a one-line migration:
      (x as T)x.raw.)
    • Inputs (#5): CreateClaimInput, ClaimActionInput, CreatePackagesInput,
      SplitPackageInput, CancelLineItemInput, PackageStatusInput, and
      ChangeCargoCompanyInput now carry typed field hints intersected with
      Record<string, unknown>, so common fields autocomplete while undocumented ones
      still pass through (non-breaking).

Patch Changes

  • #91 e9a3332 Thanks @keparlak! - Document the FBH stock-overwrite hazard (feedback #3): Listing.isFulfilledByHB
    and listings.uploadStock now warn that pushing stock to a Hepsiburada-fulfilled
    listing overwrites Hepsiburada's warehouse stock and can oversell — filter those
    SKUs out of stock sync unless you mean to override.
  • Updated dependencies [24f63e2]:
    • @lonca/core@0.7.0