From 0efdad1772ca5d6765e8325aa1ef56bd63fe1265 Mon Sep 17 00:00:00 2001 From: Benson Trent Date: Sat, 16 Mar 2024 14:40:45 -0600 Subject: [PATCH] Update Address.d.ts A zip code is not required by some countries, for example, Antarctica. --- types/Address/Address.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/Address/Address.d.ts b/types/Address/Address.d.ts index db7f1a008..5c9729637 100644 --- a/types/Address/Address.d.ts +++ b/types/Address/Address.d.ts @@ -36,7 +36,7 @@ export declare interface IAddress extends IObjectWithId<'Address'> { /** * ZIP or postal code the address is located in */ - zip: string; + zip?: string; /** * ISO 3166 country code for the country the address is located in @@ -99,7 +99,7 @@ export declare class Address implements IAddress { street2?: string | null; city?: string | null; state?: string | null; - zip: string; + zip?: string; country: string; residential?: boolean | null; carrier_facility?: string | null;