gocardless-nodejs
Advanced tools
Comparing version 3.1.0 to 3.2.0
@@ -5,4 +5,4 @@ declare enum Environments { | ||
} | ||
declare const CLIENT_VERSION = "3.1.0"; | ||
declare const CLIENT_VERSION = "3.2.0"; | ||
declare const API_VERSION = "2015-07-06"; | ||
export { Environments, CLIENT_VERSION, API_VERSION }; |
@@ -10,3 +10,3 @@ 'use strict'; | ||
exports.Environments = Environments; | ||
const CLIENT_VERSION = '3.1.0'; | ||
const CLIENT_VERSION = '3.2.0'; | ||
exports.CLIENT_VERSION = CLIENT_VERSION; | ||
@@ -13,0 +13,0 @@ const API_VERSION = '2015-07-06'; |
{ | ||
"name": "gocardless-nodejs", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "Node.js client for the GoCardless API - a powerful, simple solution for the collection of recurring bank-to-bank payments", | ||
@@ -5,0 +5,0 @@ "author": "GoCardless Ltd <client-libraries@gocardless.com>", |
@@ -11,2 +11,4 @@ import * as Types from '../types/Types'; | ||
lock_customer_details?: boolean; | ||
prefilled_bank_account?: Types.BillingRequestFlowPrefilledBankAccount; | ||
prefilled_customer?: Types.BillingRequestFlowPrefilledCustomer; | ||
redirect_uri?: string; | ||
@@ -13,0 +15,0 @@ show_redirect_buttons?: boolean; |
@@ -41,3 +41,4 @@ /** Type for a bankauthorisation resource. */ | ||
Pad = "pad", | ||
SepaCore = "sepa_core" | ||
SepaCore = "sepa_core", | ||
PayTo = "pay_to" | ||
} | ||
@@ -261,2 +262,4 @@ /** Type for a billingrequest resource. */ | ||
lock_customer_details?: boolean; | ||
prefilled_bank_account?: BillingRequestFlowPrefilledBankAccount | null; | ||
prefilled_customer?: BillingRequestFlowPrefilledCustomer | null; | ||
redirect_uri?: string | null; | ||
@@ -274,2 +277,28 @@ session_token?: string | null; | ||
} | ||
/** Type for a billingrequestflowprefilledbankaccount resource. */ | ||
export interface BillingRequestFlowPrefilledBankAccount { | ||
account_type?: BillingRequestFlowPrefilledBankAccountAccountType; | ||
} | ||
export declare enum BillingRequestFlowPrefilledBankAccountAccountType { | ||
Savings = "savings", | ||
Checking = "checking" | ||
} | ||
/** Type for a billingrequestflowprefilledcustomer resource. */ | ||
export interface BillingRequestFlowPrefilledCustomer { | ||
address_line1?: string | null; | ||
address_line2?: string | null; | ||
address_line3?: string | null; | ||
city?: string | null; | ||
company_name?: string | null; | ||
country_code?: string | null; | ||
danish_identity_number?: string | null; | ||
email?: string | null; | ||
family_name?: string | null; | ||
given_name?: string | null; | ||
language?: string | null; | ||
phone_number?: string | null; | ||
postal_code?: string | null; | ||
region?: string | null; | ||
swedish_identity_number?: string | null; | ||
} | ||
/** Type for a billingrequesttemplate resource. */ | ||
@@ -630,3 +659,4 @@ export interface BillingRequestTemplate { | ||
SepaCore = "sepa_core", | ||
SepaCor1 = "sepa_cor1" | ||
SepaCor1 = "sepa_cor1", | ||
PayTo = "pay_to" | ||
} | ||
@@ -766,3 +796,4 @@ /** Type for a eventlinks resource. */ | ||
Consumed = "consumed", | ||
Blocked = "blocked" | ||
Blocked = "blocked", | ||
SuspendedByPayer = "suspended_by_payer" | ||
} | ||
@@ -784,3 +815,4 @@ /** Type for a mandateimport resource. */ | ||
Pad = "pad", | ||
SepaCore = "sepa_core" | ||
SepaCore = "sepa_core", | ||
PayTo = "pay_to" | ||
} | ||
@@ -936,3 +968,4 @@ export declare enum MandateImportStatus { | ||
Pad = "pad", | ||
SepaCore = "sepa_core" | ||
SepaCore = "sepa_core", | ||
PayTo = "pay_to" | ||
} | ||
@@ -1191,3 +1224,4 @@ export declare enum PayerAuthorisationStatus { | ||
Pad = "pad", | ||
SepaCore = "sepa_core" | ||
SepaCore = "sepa_core", | ||
PayTo = "pay_to" | ||
} | ||
@@ -1194,0 +1228,0 @@ /** Type for a refund resource. */ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PayoutPayoutType = exports.PayoutFxFxCurrency = exports.PayoutCurrency = exports.PaymentStatus = exports.PaymentFxFxCurrency = exports.PaymentCurrency = exports.PaymentSortField = exports.PaymentSortDirection = exports.PayerAuthorisationStatus = exports.PayerAuthorisationMandateScheme = exports.PayerAuthorisationBankAccountAccountType = exports.MandatePdfSubscriptionFrequency = exports.MandatePdfAccountType = exports.MandateImportStatus = exports.MandateImportScheme = exports.MandateStatus = exports.InstalmentScheduleStatus = exports.InstalmentScheduleCurrency = exports.InstalmentScheduleInstalmentsIntervalUnit = exports.EventResourceType = exports.EventDetailsScheme = exports.EventDetailsOrigin = exports.EventCustomerNotificationType = exports.EventInclude = exports.CustomerNotificationType = exports.CustomerNotificationActionTaken = exports.CustomerBankAccountAccountType = exports.CustomerSortField = exports.CustomerSortDirection = exports.CustomerCurrency = exports.CreditorBankAccountAccountType = exports.CreditorVerificationStatus = exports.CreditorSchemeIdentifierScheme = exports.CreditorSchemeIdentifierCurrency = exports.CreditorFxPayoutCurrency = exports.BlockReasonType = exports.BlockBlockType = exports.BlockReferenceType = exports.BillingRequestTemplateMandateRequestVerify = exports.BillingRequestStatus = exports.BillingRequestResourcesCustomerBankAccountAccountType = exports.BillingRequestMandateRequestVerify = exports.BillingRequestActionType = exports.BillingRequestActionStatus = exports.BillingRequestActionBankAuthorisationAuthorisationType = exports.BillingRequestActionBankAuthorisationAdapter = exports.BillingRequestNotificationType = exports.BillingRequestAccountType = exports.BankDetailsLookupAvailableDebitScheme = exports.BankAuthorisationAuthorisationType = void 0; | ||
exports.SubscriptionStatus = exports.SubscriptionMonth = exports.SubscriptionIntervalUnit = exports.FxCurrency = exports.RefundStatus = exports.RefundFxFxCurrency = exports.RefundRefundType = exports.RedirectFlowScheme = exports.RedirectFlowPrefilledBankAccountAccountType = exports.PayoutItemType = exports.PayoutItemTaxisCurrency = exports.PayoutItemInclude2020TaxCutover = exports.PayoutStatus = void 0; | ||
exports.PayoutFxFxCurrency = exports.PayoutCurrency = exports.PaymentStatus = exports.PaymentFxFxCurrency = exports.PaymentCurrency = exports.PaymentSortField = exports.PaymentSortDirection = exports.PayerAuthorisationStatus = exports.PayerAuthorisationMandateScheme = exports.PayerAuthorisationBankAccountAccountType = exports.MandatePdfSubscriptionFrequency = exports.MandatePdfAccountType = exports.MandateImportStatus = exports.MandateImportScheme = exports.MandateStatus = exports.InstalmentScheduleStatus = exports.InstalmentScheduleCurrency = exports.InstalmentScheduleInstalmentsIntervalUnit = exports.EventResourceType = exports.EventDetailsScheme = exports.EventDetailsOrigin = exports.EventCustomerNotificationType = exports.EventInclude = exports.CustomerNotificationType = exports.CustomerNotificationActionTaken = exports.CustomerBankAccountAccountType = exports.CustomerSortField = exports.CustomerSortDirection = exports.CustomerCurrency = exports.CreditorBankAccountAccountType = exports.CreditorVerificationStatus = exports.CreditorSchemeIdentifierScheme = exports.CreditorSchemeIdentifierCurrency = exports.CreditorFxPayoutCurrency = exports.BlockReasonType = exports.BlockBlockType = exports.BlockReferenceType = exports.BillingRequestTemplateMandateRequestVerify = exports.BillingRequestFlowPrefilledBankAccountAccountType = exports.BillingRequestStatus = exports.BillingRequestResourcesCustomerBankAccountAccountType = exports.BillingRequestMandateRequestVerify = exports.BillingRequestActionType = exports.BillingRequestActionStatus = exports.BillingRequestActionBankAuthorisationAuthorisationType = exports.BillingRequestActionBankAuthorisationAdapter = exports.BillingRequestNotificationType = exports.BillingRequestAccountType = exports.BankDetailsLookupAvailableDebitScheme = exports.BankAuthorisationAuthorisationType = void 0; | ||
exports.SubscriptionStatus = exports.SubscriptionMonth = exports.SubscriptionIntervalUnit = exports.FxCurrency = exports.RefundStatus = exports.RefundFxFxCurrency = exports.RefundRefundType = exports.RedirectFlowScheme = exports.RedirectFlowPrefilledBankAccountAccountType = exports.PayoutItemType = exports.PayoutItemTaxisCurrency = exports.PayoutItemInclude2020TaxCutover = exports.PayoutStatus = exports.PayoutPayoutType = void 0; | ||
var BankAuthorisationAuthorisationType; | ||
@@ -20,2 +20,3 @@ (function (BankAuthorisationAuthorisationType) { | ||
BankDetailsLookupAvailableDebitScheme["SepaCore"] = "sepa_core"; | ||
BankDetailsLookupAvailableDebitScheme["PayTo"] = "pay_to"; | ||
})(BankDetailsLookupAvailableDebitScheme = exports.BankDetailsLookupAvailableDebitScheme || (exports.BankDetailsLookupAvailableDebitScheme = {})); | ||
@@ -78,2 +79,7 @@ var BillingRequestAccountType; | ||
})(BillingRequestStatus = exports.BillingRequestStatus || (exports.BillingRequestStatus = {})); | ||
var BillingRequestFlowPrefilledBankAccountAccountType; | ||
(function (BillingRequestFlowPrefilledBankAccountAccountType) { | ||
BillingRequestFlowPrefilledBankAccountAccountType["Savings"] = "savings"; | ||
BillingRequestFlowPrefilledBankAccountAccountType["Checking"] = "checking"; | ||
})(BillingRequestFlowPrefilledBankAccountAccountType = exports.BillingRequestFlowPrefilledBankAccountAccountType || (exports.BillingRequestFlowPrefilledBankAccountAccountType = {})); | ||
var BillingRequestTemplateMandateRequestVerify; | ||
@@ -236,2 +242,3 @@ (function (BillingRequestTemplateMandateRequestVerify) { | ||
EventDetailsScheme["SepaCor1"] = "sepa_cor1"; | ||
EventDetailsScheme["PayTo"] = "pay_to"; | ||
})(EventDetailsScheme = exports.EventDetailsScheme || (exports.EventDetailsScheme = {})); | ||
@@ -288,2 +295,3 @@ var EventResourceType; | ||
MandateStatus["Blocked"] = "blocked"; | ||
MandateStatus["SuspendedByPayer"] = "suspended_by_payer"; | ||
})(MandateStatus = exports.MandateStatus || (exports.MandateStatus = {})); | ||
@@ -300,2 +308,3 @@ var MandateImportScheme; | ||
MandateImportScheme["SepaCore"] = "sepa_core"; | ||
MandateImportScheme["PayTo"] = "pay_to"; | ||
})(MandateImportScheme = exports.MandateImportScheme || (exports.MandateImportScheme = {})); | ||
@@ -336,2 +345,3 @@ var MandateImportStatus; | ||
PayerAuthorisationMandateScheme["SepaCore"] = "sepa_core"; | ||
PayerAuthorisationMandateScheme["PayTo"] = "pay_to"; | ||
})(PayerAuthorisationMandateScheme = exports.PayerAuthorisationMandateScheme || (exports.PayerAuthorisationMandateScheme = {})); | ||
@@ -466,2 +476,3 @@ var PayerAuthorisationStatus; | ||
RedirectFlowScheme["SepaCore"] = "sepa_core"; | ||
RedirectFlowScheme["PayTo"] = "pay_to"; | ||
})(RedirectFlowScheme = exports.RedirectFlowScheme || (exports.RedirectFlowScheme = {})); | ||
@@ -468,0 +479,0 @@ var RefundRefundType; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
316188
5978