diff --git a/lib/types/customers.d.ts b/lib/types/customers.d.ts index 1a239bb..b69ae97 100644 --- a/lib/types/customers.d.ts +++ b/lib/types/customers.d.ts @@ -9,7 +9,7 @@ export declare namespace Customers { * and parentheses are allowed. The name must be between 3-50 characters * in length. For example, `Gaurav Kumar`. */ - name: string; + name?: string; /** * The customer's email address. A maximum length of 64 characters. * For example, `gaurav.kumar@example.com`. diff --git a/lib/types/products.d.ts b/lib/types/products.d.ts index 77ac2a9..a37d682 100644 --- a/lib/types/products.d.ts +++ b/lib/types/products.d.ts @@ -10,11 +10,11 @@ export declare namespace Products { /** * Pass this parameter to accept terms and conditions. Send this parameter along with the ip parameter when the tnc is accepted. */ - tnc_accepted: boolean; + tnc_accepted?: boolean; /** * he IP address of the merchant while accepting the terms and conditions. Send this parameter along with the `tnc_accepted` parameter when the `tnc` is accepted. */ - ip: string; + ip?: string; } interface RazorpayProductCreateRequestBody extends RazorpayProductBaseRequestBody { }