From a0656c3ac57e2d6f9f0d767adb17e84576638555 Mon Sep 17 00:00:00 2001 From: Xavier Abad <77491413+masterprog-cmd@users.noreply.github.com> Date: Wed, 4 Sep 2024 09:49:16 +0200 Subject: [PATCH] feat: returning a new parameter indicating the invoice status --- package.json | 2 +- src/drive/payments/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8903bd5..662dd09 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@internxt/sdk", - "version": "1.5.14", + "version": "1.5.15", "description": "An sdk for interacting with Internxt's services", "repository": { "type": "git", diff --git a/src/drive/payments/index.ts b/src/drive/payments/index.ts index d5b101a..4a2cd2d 100644 --- a/src/drive/payments/index.ts +++ b/src/drive/payments/index.ts @@ -72,7 +72,7 @@ export class Payments { token: string, currency?: string, promoCodeName?: string, - ): Promise<{ clientSecret: string; id: string }> { + ): Promise<{ clientSecret: string; id: string; invoiceStatus?: string }> { const query = new URLSearchParams(); query.set('customerId', customerId); query.set('amount', String(amount));