From fa67122f30753b9a556703d2e10dafc043e9790a Mon Sep 17 00:00:00 2001 From: Robot Date: Thu, 26 Oct 2023 14:20:04 +0000 Subject: [PATCH] Changes generated by 49fa4594a918fd6b126b2696bd3bb10fc80430b3 --- src/types/Types.ts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/types/Types.ts b/src/types/Types.ts index 84fe38f..7846671 100644 --- a/src/types/Types.ts +++ b/src/types/Types.ts @@ -420,6 +420,9 @@ export interface BillingRequestLinks { // ID of the associated organisation. organisation?: string; + // (Optional) ID of the associated payment provider + payment_provider?: string; + // (Optional) ID of the associated payment request payment_request?: string; @@ -1530,6 +1533,10 @@ export interface CreditorBankAccount { // Key-value store of custom data. Up to 3 keys are permitted, with key names // up to 50 characters and values up to 500 characters. metadata?: JsonMap; + + // Verification status of the Bank Account. Can be one of `pending`, + // `in_review` or `successful` + verification_status?: CreditorBankAccountVerificationStatus; } /** Type for a creditorbankaccountcreaterequestlinks resource. */ @@ -1551,6 +1558,13 @@ export interface CreditorBankAccountLinks { creditor?: string; } +export enum CreditorBankAccountVerificationStatus { + Pending = 'pending', + InReview = 'in_review', + Successful = 'successful', + CouldNotVerify = 'could_not_verify', +} + /** Type for a currencyexchangerate resource. */ export interface CurrencyExchangeRate { // The exchange rate from the source to target currencies provided with up to @@ -2615,7 +2629,7 @@ export interface MandateImportEntryCustomer { // Customer's email address. Required in most cases, as this allows GoCardless // to send notifications to this customer. - email: string | null; + email?: string | null; // Customer's surname. Required unless a `company_name` is provided. family_name?: string | null;