gocardless-nodejs
Advanced tools
Comparing version 3.28.0 to 4.0.0
@@ -5,4 +5,4 @@ declare enum Environments { | ||
} | ||
declare const CLIENT_VERSION = "3.28.0"; | ||
declare const CLIENT_VERSION = "4.0.0"; | ||
declare const API_VERSION = "2015-07-06"; | ||
export { Environments, CLIENT_VERSION, API_VERSION }; |
@@ -9,3 +9,3 @@ 'use strict'; | ||
})(Environments || (exports.Environments = Environments = {})); | ||
const CLIENT_VERSION = '3.28.0'; | ||
const CLIENT_VERSION = '4.0.0'; | ||
exports.CLIENT_VERSION = CLIENT_VERSION; | ||
@@ -12,0 +12,0 @@ const API_VERSION = '2015-07-06'; |
{ | ||
"name": "gocardless-nodejs", | ||
"version": "3.28.0", | ||
"version": "4.0.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>", |
@@ -15,2 +15,3 @@ import * as Types from '../types/Types'; | ||
purpose_code?: Types.BillingRequestPurposeCode; | ||
subscription_request?: Types.BillingRequestSubscriptionRequest; | ||
} | ||
@@ -17,0 +18,0 @@ interface BillingRequestCollectCustomerDetailsRequest { |
@@ -58,2 +58,3 @@ /** Type for a bankauthorisation resource. */ | ||
status?: BillingRequestStatus; | ||
subscription_request?: BillingRequestSubscriptionRequest; | ||
} | ||
@@ -170,2 +171,3 @@ /** Type for a billingrequestcreaterequestlinks resource. */ | ||
payment_request_payment?: string; | ||
subscription_request?: string; | ||
} | ||
@@ -175,2 +177,3 @@ /** Type for a billingrequestmandaterequest resource. */ | ||
authorisation_source?: BillingRequestMandateRequestAuthorisationSource; | ||
consent_type?: string | null; | ||
constraints?: BillingRequestMandateRequestConstraints | null; | ||
@@ -282,2 +285,3 @@ currency?: string; | ||
account_type?: BillingRequestResourcesCustomerBankAccountAccountType; | ||
bank_account_token?: string | null; | ||
bank_name?: string; | ||
@@ -323,2 +327,36 @@ country_code?: string | null; | ||
} | ||
/** Type for a billingrequestsubscriptionrequest resource. */ | ||
export interface BillingRequestSubscriptionRequest { | ||
amount?: string; | ||
app_fee?: string | null; | ||
count?: string | null; | ||
currency?: string; | ||
day_of_month?: string | null; | ||
interval?: string; | ||
interval_unit?: BillingRequestSubscriptionRequestIntervalUnit; | ||
metadata?: JsonMap; | ||
month?: BillingRequestSubscriptionRequestMonth; | ||
name?: string | null; | ||
payment_reference?: string | null; | ||
start_date?: string | null; | ||
} | ||
export declare enum BillingRequestSubscriptionRequestIntervalUnit { | ||
Weekly = "weekly", | ||
Monthly = "monthly", | ||
Yearly = "yearly" | ||
} | ||
export declare enum BillingRequestSubscriptionRequestMonth { | ||
January = "january", | ||
February = "february", | ||
March = "march", | ||
April = "april", | ||
May = "may", | ||
June = "june", | ||
July = "july", | ||
August = "august", | ||
September = "september", | ||
October = "october", | ||
November = "november", | ||
December = "december" | ||
} | ||
/** Type for a billingrequestflow resource. */ | ||
@@ -636,2 +674,3 @@ export interface BillingRequestFlow { | ||
account_type?: CustomerBankAccountAccountType; | ||
bank_account_token?: string | null; | ||
bank_name?: string; | ||
@@ -707,2 +746,3 @@ country_code?: string | null; | ||
Mandate = "mandate", | ||
OutboundPayment = "outbound_payment", | ||
PayerAuthorisation = "payer_authorisation", | ||
@@ -728,2 +768,3 @@ Payment = "payment", | ||
description?: string; | ||
item_count?: number; | ||
not_retried_reason?: string; | ||
@@ -787,2 +828,3 @@ origin?: EventDetailsOrigin; | ||
Organisations = "organisations", | ||
OutboundPayments = "outbound_payments", | ||
PayerAuthorisations = "payer_authorisations", | ||
@@ -913,2 +955,3 @@ Payments = "payments", | ||
consent_parameters?: MandateConsentParameters | null; | ||
consent_type?: MandateConsentType | null; | ||
created_at?: string; | ||
@@ -957,2 +1000,9 @@ funds_settlement?: MandateFundsSettlement; | ||
} | ||
export declare enum MandateConsentType { | ||
OneOff = "one_off", | ||
Single = "single", | ||
Recurring = "recurring", | ||
Standing = "standing", | ||
Sporadic = "sporadic" | ||
} | ||
export declare enum MandateFundsSettlement { | ||
@@ -959,0 +1009,0 @@ Managed = "managed", |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MandateImportStatus = exports.MandateImportScheme = exports.MandateStatus = exports.MandateFundsSettlement = exports.MandateConsentParametersPeriodPeriod = exports.MandateAuthorisationSource = exports.InstalmentScheduleStatus = exports.InstalmentScheduleCurrency = exports.InstalmentScheduleInstalmentsIntervalUnit = exports.ExportExportType = exports.EventResourceType = exports.EventDetailsScheme = exports.EventDetailsOrigin = exports.EventInclude = exports.CustomerNotificationType = exports.CustomerNotificationActionTaken = exports.CustomerBankAccountAccountType = exports.CustomerSortField = exports.CustomerSortDirection = exports.CustomerCurrency = exports.CreditorBankAccountVerificationStatus = exports.CreditorBankAccountAccountType = exports.CreditorVerificationStatus = exports.CreditorSchemeIdentifierStatus = exports.CreditorSchemeIdentifierScheme = exports.CreditorSchemeIdentifierCurrency = exports.CreditorFxPayoutCurrency = exports.CreditorCreditorType = exports.BlockReasonType = exports.BlockBlockType = exports.BlockReferenceType = exports.BillingRequestTemplateMandateRequestVerify = exports.BillingRequestFlowPrefilledBankAccountAccountType = exports.BillingRequestStatus = exports.BillingRequestResourcesCustomerBankAccountAccountType = exports.BillingRequestPurposeCode = exports.BillingRequestPaymentRequestFundsSettlement = exports.BillingRequestMandateRequestVerify = exports.BillingRequestMandateRequestConstraintsPeriodicLimitPeriod = exports.BillingRequestMandateRequestConstraintsPeriodicLimitAlignment = exports.BillingRequestMandateRequestAuthorisationSource = exports.BillingRequestActionType = exports.BillingRequestActionStatus = exports.BillingRequestActionInstitutionGuessStatus = exports.BillingRequestActionBankAuthorisationAuthorisationType = exports.BillingRequestActionBankAuthorisationAdapter = exports.BillingRequestNotificationType = exports.BillingRequestAccountType = exports.BankDetailsLookupAvailableDebitScheme = exports.BankAuthorisationAuthorisationType = void 0; | ||
exports.SubscriptionStatus = exports.SubscriptionMonth = exports.SubscriptionIntervalUnit = exports.FxCurrency = exports.SchemeIdentifierStatus = exports.SchemeIdentifierScheme = exports.SchemeIdentifierCurrency = exports.RefundStatus = exports.RefundFxFxCurrency = exports.RefundRefundType = exports.RedirectFlowScheme = exports.RedirectFlowPrefilledBankAccountAccountType = exports.PayoutItemType = exports.PayoutItemTaxisCurrency = exports.PayoutItemInclude2020TaxCutover = exports.PayoutStatus = exports.PayoutPayoutType = exports.PayoutFxFxCurrency = exports.PayoutCurrency = exports.PaymentStatus = exports.PaymentFxFxCurrency = exports.PaymentCurrency = exports.PaymentSortField = exports.PaymentSortDirection = exports.PayerAuthorisationStatus = exports.PayerAuthorisationMandateScheme = exports.PayerAuthorisationBankAccountAccountType = exports.NegativeBalanceLimitCurrency = exports.MandatePdfSubscriptionFrequency = exports.MandatePdfAccountType = exports.MandateImportEntryBankAccountAccountType = void 0; | ||
exports.MandateFundsSettlement = exports.MandateConsentType = exports.MandateConsentParametersPeriodPeriod = exports.MandateAuthorisationSource = exports.InstalmentScheduleStatus = exports.InstalmentScheduleCurrency = exports.InstalmentScheduleInstalmentsIntervalUnit = exports.ExportExportType = exports.EventResourceType = exports.EventDetailsScheme = exports.EventDetailsOrigin = exports.EventInclude = exports.CustomerNotificationType = exports.CustomerNotificationActionTaken = exports.CustomerBankAccountAccountType = exports.CustomerSortField = exports.CustomerSortDirection = exports.CustomerCurrency = exports.CreditorBankAccountVerificationStatus = exports.CreditorBankAccountAccountType = exports.CreditorVerificationStatus = exports.CreditorSchemeIdentifierStatus = exports.CreditorSchemeIdentifierScheme = exports.CreditorSchemeIdentifierCurrency = exports.CreditorFxPayoutCurrency = exports.CreditorCreditorType = exports.BlockReasonType = exports.BlockBlockType = exports.BlockReferenceType = exports.BillingRequestTemplateMandateRequestVerify = exports.BillingRequestFlowPrefilledBankAccountAccountType = exports.BillingRequestSubscriptionRequestMonth = exports.BillingRequestSubscriptionRequestIntervalUnit = exports.BillingRequestStatus = exports.BillingRequestResourcesCustomerBankAccountAccountType = exports.BillingRequestPurposeCode = exports.BillingRequestPaymentRequestFundsSettlement = exports.BillingRequestMandateRequestVerify = exports.BillingRequestMandateRequestConstraintsPeriodicLimitPeriod = exports.BillingRequestMandateRequestConstraintsPeriodicLimitAlignment = exports.BillingRequestMandateRequestAuthorisationSource = exports.BillingRequestActionType = exports.BillingRequestActionStatus = exports.BillingRequestActionInstitutionGuessStatus = exports.BillingRequestActionBankAuthorisationAuthorisationType = exports.BillingRequestActionBankAuthorisationAdapter = exports.BillingRequestNotificationType = exports.BillingRequestAccountType = exports.BankDetailsLookupAvailableDebitScheme = exports.BankAuthorisationAuthorisationType = void 0; | ||
exports.SubscriptionStatus = exports.SubscriptionMonth = exports.SubscriptionIntervalUnit = exports.FxCurrency = exports.SchemeIdentifierStatus = exports.SchemeIdentifierScheme = exports.SchemeIdentifierCurrency = exports.RefundStatus = exports.RefundFxFxCurrency = exports.RefundRefundType = exports.RedirectFlowScheme = exports.RedirectFlowPrefilledBankAccountAccountType = exports.PayoutItemType = exports.PayoutItemTaxisCurrency = exports.PayoutItemInclude2020TaxCutover = exports.PayoutStatus = exports.PayoutPayoutType = exports.PayoutFxFxCurrency = exports.PayoutCurrency = exports.PaymentStatus = exports.PaymentFxFxCurrency = exports.PaymentCurrency = exports.PaymentSortField = exports.PaymentSortDirection = exports.PayerAuthorisationStatus = exports.PayerAuthorisationMandateScheme = exports.PayerAuthorisationBankAccountAccountType = exports.NegativeBalanceLimitCurrency = exports.MandatePdfSubscriptionFrequency = exports.MandatePdfAccountType = exports.MandateImportEntryBankAccountAccountType = exports.MandateImportStatus = exports.MandateImportScheme = exports.MandateStatus = void 0; | ||
var BankAuthorisationAuthorisationType; | ||
@@ -126,2 +126,23 @@ (function (BankAuthorisationAuthorisationType) { | ||
})(BillingRequestStatus || (exports.BillingRequestStatus = BillingRequestStatus = {})); | ||
var BillingRequestSubscriptionRequestIntervalUnit; | ||
(function (BillingRequestSubscriptionRequestIntervalUnit) { | ||
BillingRequestSubscriptionRequestIntervalUnit["Weekly"] = "weekly"; | ||
BillingRequestSubscriptionRequestIntervalUnit["Monthly"] = "monthly"; | ||
BillingRequestSubscriptionRequestIntervalUnit["Yearly"] = "yearly"; | ||
})(BillingRequestSubscriptionRequestIntervalUnit || (exports.BillingRequestSubscriptionRequestIntervalUnit = BillingRequestSubscriptionRequestIntervalUnit = {})); | ||
var BillingRequestSubscriptionRequestMonth; | ||
(function (BillingRequestSubscriptionRequestMonth) { | ||
BillingRequestSubscriptionRequestMonth["January"] = "january"; | ||
BillingRequestSubscriptionRequestMonth["February"] = "february"; | ||
BillingRequestSubscriptionRequestMonth["March"] = "march"; | ||
BillingRequestSubscriptionRequestMonth["April"] = "april"; | ||
BillingRequestSubscriptionRequestMonth["May"] = "may"; | ||
BillingRequestSubscriptionRequestMonth["June"] = "june"; | ||
BillingRequestSubscriptionRequestMonth["July"] = "july"; | ||
BillingRequestSubscriptionRequestMonth["August"] = "august"; | ||
BillingRequestSubscriptionRequestMonth["September"] = "september"; | ||
BillingRequestSubscriptionRequestMonth["October"] = "october"; | ||
BillingRequestSubscriptionRequestMonth["November"] = "november"; | ||
BillingRequestSubscriptionRequestMonth["December"] = "december"; | ||
})(BillingRequestSubscriptionRequestMonth || (exports.BillingRequestSubscriptionRequestMonth = BillingRequestSubscriptionRequestMonth = {})); | ||
var BillingRequestFlowPrefilledBankAccountAccountType; | ||
@@ -274,2 +295,3 @@ (function (BillingRequestFlowPrefilledBankAccountAccountType) { | ||
EventInclude["Mandate"] = "mandate"; | ||
EventInclude["OutboundPayment"] = "outbound_payment"; | ||
EventInclude["PayerAuthorisation"] = "payer_authorisation"; | ||
@@ -312,2 +334,3 @@ EventInclude["Payment"] = "payment"; | ||
EventResourceType["Organisations"] = "organisations"; | ||
EventResourceType["OutboundPayments"] = "outbound_payments"; | ||
EventResourceType["PayerAuthorisations"] = "payer_authorisations"; | ||
@@ -385,2 +408,10 @@ EventResourceType["Payments"] = "payments"; | ||
})(MandateConsentParametersPeriodPeriod || (exports.MandateConsentParametersPeriodPeriod = MandateConsentParametersPeriodPeriod = {})); | ||
var MandateConsentType; | ||
(function (MandateConsentType) { | ||
MandateConsentType["OneOff"] = "one_off"; | ||
MandateConsentType["Single"] = "single"; | ||
MandateConsentType["Recurring"] = "recurring"; | ||
MandateConsentType["Standing"] = "standing"; | ||
MandateConsentType["Sporadic"] = "sporadic"; | ||
})(MandateConsentType || (exports.MandateConsentType = MandateConsentType = {})); | ||
var MandateFundsSettlement; | ||
@@ -387,0 +418,0 @@ (function (MandateFundsSettlement) { |
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
380335
7191