lightrail-client
Advanced tools
Comparing version 4.1.5 to 4.2.1
@@ -97,3 +97,3 @@ "use strict"; | ||
// TODO@Dan Review Previous import of package.json to dynamically set this was breaking publish (dist included src/ & package.json file) | ||
r.set("User-Agent", "Lightrail-JavaScript/4.0.0"); | ||
r.set("User-Agent", "Lightrail-JavaScript/4.2.1"); | ||
} | ||
@@ -100,0 +100,0 @@ if (exports.configuration.isBrowser) { |
@@ -9,1 +9,2 @@ export * from "./BalanceRule"; | ||
export * from "./Value"; | ||
export * from "./GenericCodeOptions"; |
import { BalanceRule } from "./BalanceRule"; | ||
import { RedemptionRule } from "./RedemptionRule"; | ||
import { GenericCodeOptions } from "./GenericCodeOptions"; | ||
export interface Value { | ||
@@ -12,2 +13,4 @@ id: string; | ||
isGenericCode: boolean; | ||
genericCodeOptions: GenericCodeOptions; | ||
attachedFromValueId: string; | ||
contactId: string; | ||
@@ -14,0 +17,0 @@ pretax: boolean; |
@@ -5,2 +5,3 @@ import { Value } from "../../model/Value"; | ||
import { RedemptionRule } from "../../model/RedemptionRule"; | ||
import { GenericCodeOptions } from "../../model/GenericCodeOptions"; | ||
export interface CreateValueParams { | ||
@@ -18,2 +19,3 @@ id: string; | ||
discountSellerLiability?: number; | ||
genericCodeOptions?: GenericCodeOptions; | ||
redemptionRule?: RedemptionRule; | ||
@@ -20,0 +22,0 @@ balanceRule?: BalanceRule; |
@@ -15,2 +15,4 @@ import { PaginatedLightrailResponse } from "../LightrailResponse"; | ||
usesRemaining?: FilterableNumber; | ||
attachedFromValueId?: FilterableString; | ||
isGenericCode?: boolean; | ||
discount?: boolean; | ||
@@ -17,0 +19,0 @@ active?: boolean; |
{ | ||
"name": "lightrail-client", | ||
"version": "4.1.5", | ||
"version": "4.2.1", | ||
"description": "A Javascript and Typescript client for Lightrail", | ||
@@ -28,3 +28,4 @@ "main": "dist/index.js", | ||
"Tana Jukes <tana.jukes@gmail.com> (https://github.com/tjukes)", | ||
"Tim Jordison (https://github.com/Tim-Jordison)" | ||
"Tim Jordison (https://github.com/Tim-Jordison)", | ||
"Jamie Totten (https://github.com/jamietotten)" | ||
], | ||
@@ -31,0 +32,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83206
133
1971