From e69a4fa20fe37a180d4035e1cd773393252d8c4e Mon Sep 17 00:00:00 2001 From: Bianca Danforth Date: Fri, 20 May 2022 13:53:14 -0400 Subject: [PATCH] fix(support-panel): remove AbbrevPlayPurchase type --- .../src/remote-lookup/remote-responses.dto.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/fxa-support-panel/src/remote-lookup/remote-responses.dto.ts b/packages/fxa-support-panel/src/remote-lookup/remote-responses.dto.ts index a232ae23f62..0e93df314b8 100644 --- a/packages/fxa-support-panel/src/remote-lookup/remote-responses.dto.ts +++ b/packages/fxa-support-panel/src/remote-lookup/remote-responses.dto.ts @@ -2,10 +2,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -import { - AbbrevPlayPurchase, - MozillaSubscriptionTypes, -} from 'fxa-shared/subscriptions/types'; +import { MozillaSubscriptionTypes } from 'fxa-shared/subscriptions/types'; // Note that these `*.Response` interfaces are purely for access to known // response keys and not an attempt to validate the return payloads from @@ -22,7 +19,11 @@ interface WebSubscription { subscription_id: string; } -type PlaySubscription = Omit & { +type PlaySubscription = { + auto_renewing: boolean; + cancel_reason?: number; + package_name: string; + sku: string; product_id: string; expiry: string; };