From 18c37c2b02b1b90be4494fcb1cb2b2bc57ebb56f Mon Sep 17 00:00:00 2001 From: Siarhei Lukashenka <168611087+s-lukashenka-micoworks@users.noreply.github.com> Date: Wed, 25 Sep 2024 03:05:42 +0900 Subject: [PATCH] make `type` an optional param in the Redact API (#961) --- packages/redact/lib/types/transactionParams.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/redact/lib/types/transactionParams.ts b/packages/redact/lib/types/transactionParams.ts index ac8cbafc..b12f9e37 100644 --- a/packages/redact/lib/types/transactionParams.ts +++ b/packages/redact/lib/types/transactionParams.ts @@ -18,5 +18,5 @@ export type TransactionParams = { /** * Required if redacting SMS data. Must be one of: inbound, outbound. */ - type: Type; + type?: Type; };