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 dab4eec commit 7fbea70
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 13 deletions.
1 change: 1 addition & 0 deletions src/model/Program.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {BalanceRule} from "./BalanceRule";
import {RedemptionRule} from "./RedemptionRule";
/** @deprecated discountSellerLiability since v4.3.0 - use DiscountSellerLiabilityRule instead. */
import {DiscountSellerLiabilityRule} from "./DiscountSellerLiabilityRule";

export interface Program {
Expand Down
1 change: 1 addition & 0 deletions src/model/Value.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
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 Down
1 change: 1 addition & 0 deletions src/model/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ export * from "./RedemptionRule";
export * from "./Transaction";
export * from "./Value";
export * from "./GenericCodeOptions";
export * from "./DiscountSellerLiabilityRule";
7 changes: 4 additions & 3 deletions src/params/programs/CreateProgramParams.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import {Program} from "../../model";
import {LightrailResponse} from "../LightrailResponse";
import {BalanceRule} from "../../model/BalanceRule";
import {RedemptionRule} from "../../model/RedemptionRule";
import {DiscountSellerLiabilityRule} from "../../model/DiscountSellerLiabilityRule";
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;
Expand Down
3 changes: 2 additions & 1 deletion src/params/programs/UpdateProgramParams.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {BalanceRule, Program, RedemptionRule} from "../../model";
import {LightrailResponse} from "../LightrailResponse";
import {DiscountSellerLiabilityRule} from "../../model/DiscountSellerLiabilityRule";
/** @deprecated discountSellerLiability since v4.3.0 - use DiscountSellerLiabilityRule instead. */
import {DiscountSellerLiabilityRule} from "../../model";

export interface UpdateProgramParams {
name?: string;
Expand Down
11 changes: 6 additions & 5 deletions src/params/values/CreateValueParams.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import {Value} from "../../model/Value";
import {Value} from "../../model";
import {LightrailResponse} from "../LightrailResponse";
import {BalanceRule} from "../../model/BalanceRule";
import {RedemptionRule} from "../../model/RedemptionRule";
import {GenericCodeOptions} from "../../model/GenericCodeOptions";
import {DiscountSellerLiabilityRule} from "../../model/DiscountSellerLiabilityRule";
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 {
id: string;
Expand Down
9 changes: 5 additions & 4 deletions src/params/values/UpdateValueParams.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import {LightrailResponse} from "../LightrailResponse";
import {Value} from "../../model/Value";
import {BalanceRule} from "../../model/BalanceRule";
import {RedemptionRule} from "../../model/RedemptionRule";
import {DiscountSellerLiabilityRule} from "../../model/DiscountSellerLiabilityRule";
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 {
contactId?: string;
Expand Down

0 comments on commit 7fbea70

Please sign in to comment.