From f42e969dfd6ecbfc2ebab13f6a95a5395bebe9e0 Mon Sep 17 00:00:00 2001 From: Nik Martin Date: Mon, 21 Jan 2019 15:34:19 -0600 Subject: [PATCH 1/2] change test property to reflect proper type --- index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.d.ts b/index.d.ts index 7bab1597..932ecbd7 100644 --- a/index.d.ts +++ b/index.d.ts @@ -573,7 +573,7 @@ declare namespace Shopify { price: string; return_url: string; status: "accepted" | "declined" | "expired" | "pending"; - test: true | null; + test: boolean | null; updated_at: string; } @@ -589,7 +589,7 @@ declare namespace Shopify { description: string; id: number; amount: string; - test: true | null; + test: boolean | null; } interface ICreateApplicationCredit { @@ -1726,7 +1726,7 @@ declare namespace Shopify { return_url: string; status: RecurringApplicationChargeStatus; terms: string; - test: true | null; + test: boolean | null; trial_days: number; trial_ends_on: string; updated_at: string; @@ -1738,7 +1738,7 @@ declare namespace Shopify { price: number; return_url: string; terms?: string; - test?: true; + test?: boolean | null; trial_days?: number; trial_ends_on?: string; } From 71ac726bc5c0559e9efc37d32b8924fde353c230 Mon Sep 17 00:00:00 2001 From: Nik Martin Date: Fri, 25 Jan 2019 16:51:19 -0600 Subject: [PATCH 2/2] fix risk recommendation enum --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 932ecbd7..cc73886e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1524,7 +1524,7 @@ declare namespace Shopify { refunds: IRefund[]; } - type OrderRisksRecommendation = "accept" | "cancel" | "cancel"; + type OrderRisksRecommendation = "accept" | "investigate" | "cancel"; interface IOrderRisk { cause_cancel: boolean;