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

Commit

Permalink
made the requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
arshvirk committed Nov 18, 2019
1 parent 7fbea70 commit f2ca2b7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/model/Program.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import {BalanceRule} from "./BalanceRule";
import {RedemptionRule} from "./RedemptionRule";
/** @deprecated discountSellerLiability since v4.3.0 - use DiscountSellerLiabilityRule instead. */
import {DiscountSellerLiabilityRule} from "./DiscountSellerLiabilityRule";

export interface Program {
id: string;
name: string;
currency: string;
discount: boolean;
/** @deprecated since v4.3.0 - use DiscountSellerLiabilityRule instead. */
discountSellerLiability: number;
discountSellerLiabilityRule: DiscountSellerLiabilityRule;
pretax: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/model/Value.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {BalanceRule} from "./BalanceRule";
import {RedemptionRule} from "./RedemptionRule";
import {GenericCodeOptions} from "./GenericCodeOptions";
/** @deprecated discountSellerLiability since v4.3.0 - use DiscountSellerLiabilityRule instead. */
import {DiscountSellerLiabilityRule} from "./DiscountSellerLiabilityRule";

export interface Value {
Expand All @@ -22,6 +21,7 @@ export interface Value {
canceled: boolean;
redemptionRule: RedemptionRule;
discount: boolean;
/** @deprecated since v4.3.0 - use DiscountSellerLiabilityRule instead. */
discountSellerLiability: number;
discountSellerLiabilityRule: DiscountSellerLiabilityRule;
startDate: string;
Expand Down
2 changes: 1 addition & 1 deletion src/params/programs/CreateProgramParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import {Program} from "../../model";
import {LightrailResponse} from "../LightrailResponse";
import {BalanceRule} from "../../model";
import {RedemptionRule} from "../../model";
/** @deprecated discountSellerLiability since v4.3.0 - use DiscountSellerLiabilityRule instead. */
import {DiscountSellerLiabilityRule} from "../../model";

export interface CreateProgramParams {
id: string;
currency: string;
name: string;
discount?: boolean;
/** @deprecated since v4.3.0 - use DiscountSellerLiabilityRule instead. */
discountSellerLiability?: number;
discountSellerLiabilityRule?: DiscountSellerLiabilityRule;
pretax?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/params/programs/UpdateProgramParams.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import {BalanceRule, Program, RedemptionRule} from "../../model";
import {LightrailResponse} from "../LightrailResponse";
/** @deprecated discountSellerLiability since v4.3.0 - use DiscountSellerLiabilityRule instead. */
import {DiscountSellerLiabilityRule} from "../../model";

export interface UpdateProgramParams {
name?: string;
discount?: boolean;
/** @deprecated since v4.3.0 - use DiscountSellerLiabilityRule instead. */
discountSellerLiability?: number;
discountSellerLiabilityRule?: DiscountSellerLiabilityRule;
pretax?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/params/values/CreateValueParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {LightrailResponse} from "../LightrailResponse";
import {BalanceRule} from "../../model";
import {RedemptionRule} from "../../model";
import {GenericCodeOptions} from "../../model";
/** @deprecated discountSellerLiability since v4.3.0 - use DiscountSellerLiabilityRule instead. */
import {DiscountSellerLiabilityRule} from "../../model";

export interface CreateValueParams {
Expand All @@ -17,6 +16,7 @@ export interface CreateValueParams {
active?: boolean;
frozen?: boolean;
discount?: boolean;
/** @deprecated since v4.3.0 - use DiscountSellerLiabilityRule instead. */
discountSellerLiability?: number;
discountSellerLiabilityRule?: DiscountSellerLiabilityRule;
genericCodeOptions?: GenericCodeOptions;
Expand Down
2 changes: 1 addition & 1 deletion src/params/values/UpdateValueParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import {LightrailResponse} from "../LightrailResponse";
import {Value} from "../../model";
import {BalanceRule} from "../../model";
import {RedemptionRule} from "../../model";
/** @deprecated discountSellerLiability since v4.3.0 - use DiscountSellerLiabilityRule instead. */
import {DiscountSellerLiabilityRule} from "../../model";

export interface UpdateValueParams {
Expand All @@ -14,6 +13,7 @@ export interface UpdateValueParams {
redemptionRule?: RedemptionRule;
balanceRule?: BalanceRule;
discount?: boolean;
/** @deprecated since v4.3.0 - use DiscountSellerLiabilityRule instead. */
discountSellerLiability?: number;
discountSellerLiabilityRule?: DiscountSellerLiabilityRule;
startDate?: string;
Expand Down

0 comments on commit f2ca2b7

Please sign in to comment.