gocardless-nodejs
Advanced tools
Comparing version 1.1.1 to 1.1.2
'use strict'; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
@@ -13,2 +25,3 @@ }; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Api = void 0; | ||
const os = require("os"); | ||
@@ -59,2 +72,5 @@ const process = require("process"); | ||
const { response } = error; | ||
if (!response) { | ||
throw error; | ||
} | ||
if (this.isIdempotencyConflict(response) && | ||
@@ -76,5 +92,5 @@ !this.raiseOnIdempotencyConflict) { | ||
'GoCardless-Version': '2015-07-06', | ||
'GoCardless-Client-Version': '1.1.1', | ||
'GoCardless-Client-Version': '1.1.2', | ||
'GoCardless-Client-Library': 'gocardless-nodejs', | ||
'User-Agent': `gocardless-nodejs/1.1.1 node/${this.processVersion} ${this.osPlatform}/${this.osRelease}`, | ||
'User-Agent': `gocardless-nodejs/1.1.2 node/${this.processVersion} ${this.osPlatform}/${this.osRelease}`, | ||
}; | ||
@@ -81,0 +97,0 @@ return { ...customHeaders, ...mandatoryHeaders }; |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.GoCardlessClient = void 0; | ||
const constants_1 = require("./constants"); | ||
@@ -4,0 +5,0 @@ const api_1 = require("./api/api"); |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Environments = void 0; | ||
var Environments; | ||
@@ -4,0 +5,0 @@ (function (Environments) { |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.GoCardlessException = void 0; | ||
class GoCardlessException { | ||
@@ -4,0 +5,0 @@ constructor(response) { |
{ | ||
"name": "gocardless-nodejs", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"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>", |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BankDetailsLookupService = void 0; | ||
class BankDetailsLookupService { | ||
@@ -4,0 +5,0 @@ constructor(api) { |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CreditorBankAccountService = void 0; | ||
class CreditorBankAccountService { | ||
@@ -4,0 +5,0 @@ constructor(api) { |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CreditorService = void 0; | ||
class CreditorService { | ||
@@ -4,0 +5,0 @@ constructor(api) { |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CurrencyExchangeRateService = void 0; | ||
class CurrencyExchangeRateService { | ||
@@ -4,0 +5,0 @@ constructor(api) { |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CustomerBankAccountService = void 0; | ||
class CustomerBankAccountService { | ||
@@ -4,0 +5,0 @@ constructor(api) { |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CustomerNotificationService = void 0; | ||
class CustomerNotificationService { | ||
@@ -4,0 +5,0 @@ constructor(api) { |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CustomerService = void 0; | ||
class CustomerService { | ||
@@ -4,0 +5,0 @@ constructor(api) { |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.EventService = void 0; | ||
class EventService { | ||
@@ -4,0 +5,0 @@ constructor(api) { |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.InstalmentScheduleService = void 0; | ||
class InstalmentScheduleService { | ||
@@ -4,0 +5,0 @@ constructor(api) { |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MandateImportEntryService = void 0; | ||
class MandateImportEntryService { | ||
@@ -4,0 +5,0 @@ constructor(api) { |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MandateImportService = void 0; | ||
class MandateImportService { | ||
@@ -4,0 +5,0 @@ constructor(api) { |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MandatePdfService = void 0; | ||
class MandatePdfService { | ||
@@ -4,0 +5,0 @@ constructor(api) { |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MandateService = void 0; | ||
class MandateService { | ||
@@ -4,0 +5,0 @@ constructor(api) { |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PaymentService = void 0; | ||
class PaymentService { | ||
@@ -4,0 +5,0 @@ constructor(api) { |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PayoutItemService = void 0; | ||
class PayoutItemService { | ||
@@ -4,0 +5,0 @@ constructor(api) { |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PayoutService = void 0; | ||
class PayoutService { | ||
@@ -4,0 +5,0 @@ constructor(api) { |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RedirectFlowService = void 0; | ||
class RedirectFlowService { | ||
@@ -4,0 +5,0 @@ constructor(api) { |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RefundService = void 0; | ||
class RefundService { | ||
@@ -4,0 +5,0 @@ constructor(api) { |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SubscriptionService = void 0; | ||
class SubscriptionService { | ||
@@ -4,0 +5,0 @@ constructor(api) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SubscriptionStatus = exports.SubscriptionMonth = exports.SubscriptionIntervalUnit = exports.FxCurrency = exports.RefundStatus = exports.RefundFxFxCurrency = exports.RefundRefundType = exports.RedirectFlowScheme = exports.RedirectFlowPrefilledBankAccountAccountType = exports.PayoutItemType = exports.PayoutStatus = exports.PayoutPayoutType = exports.PayoutFxFxCurrency = exports.PayoutCurrency = exports.PaymentStatus = exports.PaymentFxFxCurrency = exports.PaymentCurrency = 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.CustomerCurrency = exports.CreditorBankAccountAccountType = exports.CreditorVerificationStatus = exports.CreditorSchemeIdentifierScheme = exports.CreditorSchemeIdentifierCurrency = exports.CreditorFxPayoutCurrency = exports.BankDetailsLookupAvailableDebitScheme = void 0; | ||
var BankDetailsLookupAvailableDebitScheme; | ||
@@ -4,0 +5,0 @@ (function (BankDetailsLookupAvailableDebitScheme) { |
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
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
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
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
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
200302
3872