@blockchyp/blockchyp-ts 2.20.1 → 2.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is governed
2
+ * Copyright 2019-2025 BlockChyp, Inc. All rights reserved. Use of this code is governed
3
3
  * by a license that can be found in the LICENSE file.
4
4
  *
5
5
  * This file was generated automatically by the BlockChyp SDK Generator. Changes to this
package/lib/src/client.js CHANGED
@@ -37,7 +37,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
37
37
  Object.defineProperty(exports, "__esModule", { value: true });
38
38
  exports.newClient = exports.BlockChypCredentials = exports.BlockChypClient = exports.HealthcareType = exports.CVMType = exports.AVSResponse = exports.PromptType = exports.RoundingMode = exports.SignatureFormat = exports.CardType = void 0;
39
39
  /**
40
- * Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is governed
40
+ * Copyright 2019-2025 BlockChyp, Inc. All rights reserved. Use of this code is governed
41
41
  * by a license that can be found in the LICENSE file.
42
42
  *
43
43
  * This file was generated automatically by the BlockChyp SDK Generator. Changes to this
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is governed
2
+ * Copyright 2019-2025 BlockChyp, Inc. All rights reserved. Use of this code is governed
3
3
  * by a license that can be found in the LICENSE file.
4
4
  *
5
5
  * This file was generated automatically by the BlockChyp SDK Generator. Changes to this
@@ -5872,7 +5872,11 @@ export declare class MerchantProfile {
5872
5872
  * Bank accounts for split bank account merchants.
5873
5873
  */
5874
5874
  bankAccounts: BankAccount[] | null;
5875
- constructor(timeout?: number | null, test?: boolean | null, merchantId?: string | null, bankMid?: string | null, companyName?: string | null, dbaName?: string | null, invoiceName?: string | null, contactName?: string | null, contactNumber?: string | null, locationName?: string | null, storeNumber?: string | null, partnerRef?: string | null, timeZone?: string | null, batchCloseTime?: string | null, terminalUpdateTime?: string | null, autoBatchClose?: boolean | null, disableBatchEmails?: boolean | null, pinEnabled?: boolean | null, cashBackEnabled?: boolean | null, storeAndForwardEnabled?: boolean | null, partialAuthEnabled?: boolean | null, splitBankAccountsEnabled?: boolean | null, storeAndForwardFloorLimit?: string | null, publicKey?: string | null, status?: string | null, cashDiscountEnabled?: boolean | null, surveyTimeout?: number | null, cooldownTimeout?: number | null, tipEnabled?: boolean | null, promptForTip?: boolean | null, tipDefaults?: string[] | null, cashbackPresets?: string[] | null, ebtEnabled?: boolean | null, freeRangeRefundsEnabled?: boolean | null, pinBypassEnabled?: boolean | null, giftCardsDisabled?: boolean | null, tcDisabled?: boolean | null, digitalSignaturesEnabled?: boolean | null, digitalSignatureReversal?: boolean | null, billingAddress?: Address | null, shippingAddress?: Address | null, visa?: boolean | null, masterCard?: boolean | null, amex?: boolean | null, discover?: boolean | null, jcb?: boolean | null, unionPay?: boolean | null, contactlessEmv?: boolean | null, manualEntryEnabled?: boolean | null, manualEntryPromptZip?: boolean | null, manualEntryPromptStreetNumber?: boolean | null, gatewayOnly?: boolean | null, bankAccounts?: BankAccount[] | null);
5875
+ /**
5876
+ * That a merchant is allowed to send a surcharge amount directly to the gateway.
5877
+ */
5878
+ passthroughSurchargeEnabled: boolean | null;
5879
+ constructor(timeout?: number | null, test?: boolean | null, merchantId?: string | null, bankMid?: string | null, companyName?: string | null, dbaName?: string | null, invoiceName?: string | null, contactName?: string | null, contactNumber?: string | null, locationName?: string | null, storeNumber?: string | null, partnerRef?: string | null, timeZone?: string | null, batchCloseTime?: string | null, terminalUpdateTime?: string | null, autoBatchClose?: boolean | null, disableBatchEmails?: boolean | null, pinEnabled?: boolean | null, cashBackEnabled?: boolean | null, storeAndForwardEnabled?: boolean | null, partialAuthEnabled?: boolean | null, splitBankAccountsEnabled?: boolean | null, storeAndForwardFloorLimit?: string | null, publicKey?: string | null, status?: string | null, cashDiscountEnabled?: boolean | null, surveyTimeout?: number | null, cooldownTimeout?: number | null, tipEnabled?: boolean | null, promptForTip?: boolean | null, tipDefaults?: string[] | null, cashbackPresets?: string[] | null, ebtEnabled?: boolean | null, freeRangeRefundsEnabled?: boolean | null, pinBypassEnabled?: boolean | null, giftCardsDisabled?: boolean | null, tcDisabled?: boolean | null, digitalSignaturesEnabled?: boolean | null, digitalSignatureReversal?: boolean | null, billingAddress?: Address | null, shippingAddress?: Address | null, visa?: boolean | null, masterCard?: boolean | null, amex?: boolean | null, discover?: boolean | null, jcb?: boolean | null, unionPay?: boolean | null, contactlessEmv?: boolean | null, manualEntryEnabled?: boolean | null, manualEntryPromptZip?: boolean | null, manualEntryPromptStreetNumber?: boolean | null, gatewayOnly?: boolean | null, bankAccounts?: BankAccount[] | null, passthroughSurchargeEnabled?: boolean | null);
5876
5880
  }
5877
5881
  /**
5878
5882
  * Models a response for a single merchant profile.
@@ -6102,7 +6106,11 @@ export declare class MerchantProfileResponse {
6102
6106
  * Bank accounts for split bank account merchants.
6103
6107
  */
6104
6108
  bankAccounts: BankAccount[] | null;
6105
- constructor(success?: boolean | null, error?: string | null, responseDescription?: string | null, test?: boolean | null, merchantId?: string | null, bankMid?: string | null, companyName?: string | null, dbaName?: string | null, invoiceName?: string | null, contactName?: string | null, contactNumber?: string | null, locationName?: string | null, storeNumber?: string | null, partnerRef?: string | null, timeZone?: string | null, batchCloseTime?: string | null, terminalUpdateTime?: string | null, autoBatchClose?: boolean | null, disableBatchEmails?: boolean | null, pinEnabled?: boolean | null, cashBackEnabled?: boolean | null, storeAndForwardEnabled?: boolean | null, partialAuthEnabled?: boolean | null, splitBankAccountsEnabled?: boolean | null, storeAndForwardFloorLimit?: string | null, publicKey?: string | null, status?: string | null, cashDiscountEnabled?: boolean | null, surveyTimeout?: number | null, cooldownTimeout?: number | null, tipEnabled?: boolean | null, promptForTip?: boolean | null, tipDefaults?: string[] | null, cashbackPresets?: string[] | null, ebtEnabled?: boolean | null, freeRangeRefundsEnabled?: boolean | null, pinBypassEnabled?: boolean | null, giftCardsDisabled?: boolean | null, tcDisabled?: boolean | null, digitalSignaturesEnabled?: boolean | null, digitalSignatureReversal?: boolean | null, billingAddress?: Address | null, shippingAddress?: Address | null, visa?: boolean | null, masterCard?: boolean | null, amex?: boolean | null, discover?: boolean | null, jcb?: boolean | null, unionPay?: boolean | null, contactlessEmv?: boolean | null, manualEntryEnabled?: boolean | null, manualEntryPromptZip?: boolean | null, manualEntryPromptStreetNumber?: boolean | null, gatewayOnly?: boolean | null, bankAccounts?: BankAccount[] | null);
6109
+ /**
6110
+ * That a merchant is allowed to send a surcharge amount directly to the gateway.
6111
+ */
6112
+ passthroughSurchargeEnabled: boolean | null;
6113
+ constructor(success?: boolean | null, error?: string | null, responseDescription?: string | null, test?: boolean | null, merchantId?: string | null, bankMid?: string | null, companyName?: string | null, dbaName?: string | null, invoiceName?: string | null, contactName?: string | null, contactNumber?: string | null, locationName?: string | null, storeNumber?: string | null, partnerRef?: string | null, timeZone?: string | null, batchCloseTime?: string | null, terminalUpdateTime?: string | null, autoBatchClose?: boolean | null, disableBatchEmails?: boolean | null, pinEnabled?: boolean | null, cashBackEnabled?: boolean | null, storeAndForwardEnabled?: boolean | null, partialAuthEnabled?: boolean | null, splitBankAccountsEnabled?: boolean | null, storeAndForwardFloorLimit?: string | null, publicKey?: string | null, status?: string | null, cashDiscountEnabled?: boolean | null, surveyTimeout?: number | null, cooldownTimeout?: number | null, tipEnabled?: boolean | null, promptForTip?: boolean | null, tipDefaults?: string[] | null, cashbackPresets?: string[] | null, ebtEnabled?: boolean | null, freeRangeRefundsEnabled?: boolean | null, pinBypassEnabled?: boolean | null, giftCardsDisabled?: boolean | null, tcDisabled?: boolean | null, digitalSignaturesEnabled?: boolean | null, digitalSignatureReversal?: boolean | null, billingAddress?: Address | null, shippingAddress?: Address | null, visa?: boolean | null, masterCard?: boolean | null, amex?: boolean | null, discover?: boolean | null, jcb?: boolean | null, unionPay?: boolean | null, contactlessEmv?: boolean | null, manualEntryEnabled?: boolean | null, manualEntryPromptZip?: boolean | null, manualEntryPromptStreetNumber?: boolean | null, gatewayOnly?: boolean | null, bankAccounts?: BankAccount[] | null, passthroughSurchargeEnabled?: boolean | null);
6106
6114
  }
6107
6115
  /**
6108
6116
  * Models meta data about a merchant bank account.
package/lib/src/models.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2019-2024 BlockChyp, Inc. All rights reserved. Use of this code is governed
3
+ * Copyright 2019-2025 BlockChyp, Inc. All rights reserved. Use of this code is governed
4
4
  * by a license that can be found in the LICENSE file.
5
5
  *
6
6
  * This file was generated automatically by the BlockChyp SDK Generator. Changes to this
@@ -4594,7 +4594,7 @@ exports.Address = Address;
4594
4594
  */
4595
4595
  class MerchantProfile {
4596
4596
  // Constructor with default values for optional fields
4597
- constructor(timeout = null, test = null, merchantId = null, bankMid = null, companyName = null, dbaName = null, invoiceName = null, contactName = null, contactNumber = null, locationName = null, storeNumber = null, partnerRef = null, timeZone = null, batchCloseTime = null, terminalUpdateTime = null, autoBatchClose = null, disableBatchEmails = null, pinEnabled = null, cashBackEnabled = null, storeAndForwardEnabled = null, partialAuthEnabled = null, splitBankAccountsEnabled = null, storeAndForwardFloorLimit = null, publicKey = null, status = null, cashDiscountEnabled = null, surveyTimeout = null, cooldownTimeout = null, tipEnabled = null, promptForTip = null, tipDefaults = null, cashbackPresets = null, ebtEnabled = null, freeRangeRefundsEnabled = null, pinBypassEnabled = null, giftCardsDisabled = null, tcDisabled = null, digitalSignaturesEnabled = null, digitalSignatureReversal = null, billingAddress = null, shippingAddress = null, visa = null, masterCard = null, amex = null, discover = null, jcb = null, unionPay = null, contactlessEmv = null, manualEntryEnabled = null, manualEntryPromptZip = null, manualEntryPromptStreetNumber = null, gatewayOnly = null, bankAccounts = null) {
4597
+ constructor(timeout = null, test = null, merchantId = null, bankMid = null, companyName = null, dbaName = null, invoiceName = null, contactName = null, contactNumber = null, locationName = null, storeNumber = null, partnerRef = null, timeZone = null, batchCloseTime = null, terminalUpdateTime = null, autoBatchClose = null, disableBatchEmails = null, pinEnabled = null, cashBackEnabled = null, storeAndForwardEnabled = null, partialAuthEnabled = null, splitBankAccountsEnabled = null, storeAndForwardFloorLimit = null, publicKey = null, status = null, cashDiscountEnabled = null, surveyTimeout = null, cooldownTimeout = null, tipEnabled = null, promptForTip = null, tipDefaults = null, cashbackPresets = null, ebtEnabled = null, freeRangeRefundsEnabled = null, pinBypassEnabled = null, giftCardsDisabled = null, tcDisabled = null, digitalSignaturesEnabled = null, digitalSignatureReversal = null, billingAddress = null, shippingAddress = null, visa = null, masterCard = null, amex = null, discover = null, jcb = null, unionPay = null, contactlessEmv = null, manualEntryEnabled = null, manualEntryPromptZip = null, manualEntryPromptStreetNumber = null, gatewayOnly = null, bankAccounts = null, passthroughSurchargeEnabled = null) {
4598
4598
  /**
4599
4599
  * The request timeout in seconds.
4600
4600
  */
@@ -4811,6 +4811,10 @@ class MerchantProfile {
4811
4811
  * Bank accounts for split bank account merchants.
4812
4812
  */
4813
4813
  this.bankAccounts = null;
4814
+ /**
4815
+ * That a merchant is allowed to send a surcharge amount directly to the gateway.
4816
+ */
4817
+ this.passthroughSurchargeEnabled = null;
4814
4818
  this.timeout = timeout;
4815
4819
  this.test = test;
4816
4820
  this.merchantId = merchantId;
@@ -4864,6 +4868,7 @@ class MerchantProfile {
4864
4868
  this.manualEntryPromptStreetNumber = manualEntryPromptStreetNumber;
4865
4869
  this.gatewayOnly = gatewayOnly;
4866
4870
  this.bankAccounts = bankAccounts;
4871
+ this.passthroughSurchargeEnabled = passthroughSurchargeEnabled;
4867
4872
  }
4868
4873
  }
4869
4874
  exports.MerchantProfile = MerchantProfile;
@@ -4872,7 +4877,7 @@ exports.MerchantProfile = MerchantProfile;
4872
4877
  */
4873
4878
  class MerchantProfileResponse {
4874
4879
  // Constructor with default values for optional fields
4875
- constructor(success = null, error = null, responseDescription = null, test = null, merchantId = null, bankMid = null, companyName = null, dbaName = null, invoiceName = null, contactName = null, contactNumber = null, locationName = null, storeNumber = null, partnerRef = null, timeZone = null, batchCloseTime = null, terminalUpdateTime = null, autoBatchClose = null, disableBatchEmails = null, pinEnabled = null, cashBackEnabled = null, storeAndForwardEnabled = null, partialAuthEnabled = null, splitBankAccountsEnabled = null, storeAndForwardFloorLimit = null, publicKey = null, status = null, cashDiscountEnabled = null, surveyTimeout = null, cooldownTimeout = null, tipEnabled = null, promptForTip = null, tipDefaults = null, cashbackPresets = null, ebtEnabled = null, freeRangeRefundsEnabled = null, pinBypassEnabled = null, giftCardsDisabled = null, tcDisabled = null, digitalSignaturesEnabled = null, digitalSignatureReversal = null, billingAddress = null, shippingAddress = null, visa = null, masterCard = null, amex = null, discover = null, jcb = null, unionPay = null, contactlessEmv = null, manualEntryEnabled = null, manualEntryPromptZip = null, manualEntryPromptStreetNumber = null, gatewayOnly = null, bankAccounts = null) {
4880
+ constructor(success = null, error = null, responseDescription = null, test = null, merchantId = null, bankMid = null, companyName = null, dbaName = null, invoiceName = null, contactName = null, contactNumber = null, locationName = null, storeNumber = null, partnerRef = null, timeZone = null, batchCloseTime = null, terminalUpdateTime = null, autoBatchClose = null, disableBatchEmails = null, pinEnabled = null, cashBackEnabled = null, storeAndForwardEnabled = null, partialAuthEnabled = null, splitBankAccountsEnabled = null, storeAndForwardFloorLimit = null, publicKey = null, status = null, cashDiscountEnabled = null, surveyTimeout = null, cooldownTimeout = null, tipEnabled = null, promptForTip = null, tipDefaults = null, cashbackPresets = null, ebtEnabled = null, freeRangeRefundsEnabled = null, pinBypassEnabled = null, giftCardsDisabled = null, tcDisabled = null, digitalSignaturesEnabled = null, digitalSignatureReversal = null, billingAddress = null, shippingAddress = null, visa = null, masterCard = null, amex = null, discover = null, jcb = null, unionPay = null, contactlessEmv = null, manualEntryEnabled = null, manualEntryPromptZip = null, manualEntryPromptStreetNumber = null, gatewayOnly = null, bankAccounts = null, passthroughSurchargeEnabled = null) {
4876
4881
  /**
4877
4882
  * Whether or not the request succeeded.
4878
4883
  */
@@ -5097,6 +5102,10 @@ class MerchantProfileResponse {
5097
5102
  * Bank accounts for split bank account merchants.
5098
5103
  */
5099
5104
  this.bankAccounts = null;
5105
+ /**
5106
+ * That a merchant is allowed to send a surcharge amount directly to the gateway.
5107
+ */
5108
+ this.passthroughSurchargeEnabled = null;
5100
5109
  this.success = success;
5101
5110
  this.error = error;
5102
5111
  this.responseDescription = responseDescription;
@@ -5152,6 +5161,7 @@ class MerchantProfileResponse {
5152
5161
  this.manualEntryPromptStreetNumber = manualEntryPromptStreetNumber;
5153
5162
  this.gatewayOnly = gatewayOnly;
5154
5163
  this.bankAccounts = bankAccounts;
5164
+ this.passthroughSurchargeEnabled = passthroughSurchargeEnabled;
5155
5165
  }
5156
5166
  }
5157
5167
  exports.MerchantProfileResponse = MerchantProfileResponse;