From 4a9617bbd22da61d94b78e87de05828e7f830c57 Mon Sep 17 00:00:00 2001 From: Justin Date: Wed, 18 Sep 2024 00:17:06 -0700 Subject: [PATCH] coupon --- valhalla/jawn/src/managers/stripe/StripeManager.ts | 2 +- web/lib/clients/jawnTypes/public.ts | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/valhalla/jawn/src/managers/stripe/StripeManager.ts b/valhalla/jawn/src/managers/stripe/StripeManager.ts index 6451bb16d6..6d5a071339 100644 --- a/valhalla/jawn/src/managers/stripe/StripeManager.ts +++ b/valhalla/jawn/src/managers/stripe/StripeManager.ts @@ -216,7 +216,7 @@ WHERE (${builtFilter.filter})`, private shouldApplyCoupon(): boolean { const currentDate = new Date(); - const cutoffDate = new Date("2023-10-10"); + const cutoffDate = new Date("2024-10-15"); return currentDate < cutoffDate; } diff --git a/web/lib/clients/jawnTypes/public.ts b/web/lib/clients/jawnTypes/public.ts index 62460ba01e..1696193b4a 100644 --- a/web/lib/clients/jawnTypes/public.ts +++ b/web/lib/clients/jawnTypes/public.ts @@ -1,7 +1,3 @@ -type JsonValue = string | number | boolean | null | JsonArray | JsonObject; -interface JsonArray extends Array {} -interface JsonObject { [key: string]: JsonValue; } - /** * This file was auto-generated by openapi-typescript. * Do not make direct changes to the file. @@ -1697,7 +1693,9 @@ export interface components { error: null; }; "Result_Property-Array.string_": components["schemas"]["ResultSuccess_Property-Array_"] | components["schemas"]["ResultError_string_"]; -Json: JsonObject; + Json: (string | number | boolean | { + [key: string]: components["schemas"]["Json"]; + } | components["schemas"]["Json"][]) | null; IntegrationCreateParams: { integration_name: string; settings?: components["schemas"]["Json"];