Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
fix: adds types to ChargeTypeEnum, TaxCollectionModelEnum, `Adjus…
Browse files Browse the repository at this point in the history
…tmentTypeEnum` (#448)

Closes #447
  • Loading branch information
AlexanderGaivorontsev committed Oct 27, 2021
1 parent eecb7e7 commit 8b3261a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/sections/finances/codec.ts
Expand Up @@ -88,6 +88,8 @@ export enum ChargeTypeEnum {
'TCS-SGST' = 'TCS-SGST',
'TCS-IGST' = 'TCS-IGST',
'TCS-UTGST' = 'TCS-UTGST',
'LowValueGoodsTax-Shipping' = 'LowValueGoodsTax-Shipping',
'LowValueGoodsTax-Principal' = 'LowValueGoodsTax-Principal',
}

const ChargeType = enumeration(ChargeTypeEnum)
Expand Down Expand Up @@ -116,6 +118,7 @@ const DirectPayment = Codec.interface({
export enum TaxCollectionModelEnum {
MarketplaceFacilitator = 'MarketplaceFacilitator',
Standard = 'Standard',
LowValueGoods = 'LowValueGoods',
}

const TaxCollectionModel = enumeration(TaxCollectionModelEnum)
Expand Down Expand Up @@ -338,6 +341,12 @@ export enum AdjustmentTypeEnum {
ReversalReimbursement = 'REVERSAL_REIMBURSEMENT',
SellerRewards = 'SellerRewards',
WAREHOUSE_DAMAGE = 'WAREHOUSE_DAMAGE',
FREE_REPLACEMENT_REFUND_ITEMS = 'FREE_REPLACEMENT_REFUND_ITEMS',
Other = 'Other',
COMPENSATED_CLAWBACK = 'COMPENSATED_CLAWBACK',
WAREHOUSE_LOST = 'WAREHOUSE_LOST',
LowValueGoods = 'LowValueGoods',
ItemTaxWithheldList = 'ItemTaxWithheldList',
}

const AdjustmentType = enumeration(AdjustmentTypeEnum)
Expand Down

0 comments on commit 8b3261a

Please sign in to comment.