diff --git a/types/2019-12-03/Charges.d.ts b/types/2019-12-03/Charges.d.ts index f82079c604..7c9c8626d3 100644 --- a/types/2019-12-03/Charges.d.ts +++ b/types/2019-12-03/Charges.d.ts @@ -365,11 +365,6 @@ declare namespace Stripe { */ action: string; - /** - * Always true for a deleted object - */ - deleted?: true; - /** * Unique identifier for the object. */ diff --git a/types/2019-12-03/Customers.d.ts b/types/2019-12-03/Customers.d.ts index 77d799306d..d784d35329 100644 --- a/types/2019-12-03/Customers.d.ts +++ b/types/2019-12-03/Customers.d.ts @@ -812,14 +812,34 @@ declare namespace Stripe { params?: CustomerSourceDeleteParams, options?: RequestOptions ): Promise< - Account | AlipayAccount | BankAccount | BitcoinReceiver | Card | Source + + | Account + | AlipayAccount + | BankAccount + | BitcoinReceiver + | Card + | Source + | DeletedAlipayAccount + | DeletedBankAccount + | DeletedBitcoinReceiver + | DeletedCard >; deleteSource( customerId: string, id: string, options?: RequestOptions ): Promise< - Account | AlipayAccount | BankAccount | BitcoinReceiver | Card | Source + + | Account + | AlipayAccount + | BankAccount + | BitcoinReceiver + | Card + | Source + | DeletedAlipayAccount + | DeletedBankAccount + | DeletedBitcoinReceiver + | DeletedCard >; /**