@blockchyp/blockchyp-ts 2.19.0 → 2.20.1

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.
@@ -58770,6 +58770,14 @@ class BlockChypClient {
58770
58770
  return this.routeTerminalRequest('post', request, '/api/enroll', '/api/enroll');
58771
58771
  });
58772
58772
  }
58773
+ /**
58774
+ * Retrieves card metadata.
58775
+ */
58776
+ cardMetadata(request) {
58777
+ return __awaiter(this, void 0, void 0, function* () {
58778
+ return this.routeTerminalRequest('post', request, '/api/card-metadata', '/api/card-metadata');
58779
+ });
58780
+ }
58773
58781
  /**
58774
58782
  * Activates or recharges a gift card.
58775
58783
  */
@@ -59073,6 +59081,12 @@ class BlockChypClient {
59073
59081
  merchantCredentialGeneration(request) {
59074
59082
  return this._dashboardRequest('post', '/api/generate-merchant-creds', request);
59075
59083
  }
59084
+ /**
59085
+ * Submits and application to add a new merchant account.
59086
+ */
59087
+ submitApplication(request) {
59088
+ return this._dashboardRequest('post', '/api/submit-application', request);
59089
+ }
59076
59090
  /**
59077
59091
  * Adds a test merchant account.
59078
59092
  */
@@ -59638,10 +59652,10 @@ exports["default"] = CryptoUtils;
59638
59652
  * file will be lost every time the code is regenerated.
59639
59653
  */
59640
59654
  Object.defineProperty(exports, "__esModule", ({ value: true }));
59641
- exports.HeartbeatResponse = exports.TransactionDisplayRequest = exports.TransactionDisplayTransaction = exports.TransactionDisplayItem = exports.TransactionDisplayDiscount = exports.TransactionStatus = exports.PaymentLinkStatusResponse = exports.PaymentLinkStatusRequest = exports.TransactionStatusRequest = exports.AuthorizationResponse = exports.TermsAndConditionsResponse = exports.TermsAndConditionsRequest = exports.CloseBatchResponse = exports.CloseBatchRequest = exports.GiftActivateResponse = exports.GiftActivateRequest = exports.ClearTerminalRequest = exports.EnrollResponse = exports.EnrollRequest = exports.VoidResponse = exports.VoidRequest = exports.CaptureResponse = exports.CaptureRequest = exports.RefundRequest = exports.BalanceResponse = exports.BalanceRequest = exports.AuthorizationRequest = exports.WhiteListedCard = exports.BooleanPromptResponse = exports.TextPromptResponse = exports.CustomerToken = exports.TokenMetadataResponse = exports.TokenMetadataRequest = exports.Customer = exports.CustomerSearchResponse = exports.UpdateCustomerRequest = exports.CustomerSearchRequest = exports.CustomerResponse = exports.CustomerRequest = exports.TextPromptRequest = exports.BooleanPromptRequest = exports.MessageRequest = exports.LocateResponse = exports.LocateRequest = exports.PingResponse = exports.PingRequest = exports.CaptureSignatureResponse = exports.CaptureSignatureRequest = exports.Acknowledgement = exports.ReceiptSuggestions = void 0;
59642
- exports.TerminalDeactivationRequest = exports.TerminalProfileResponse = exports.TerminalProfileRequest = exports.MerchantPlatform = exports.UpdateMerchantPlatformResponse = exports.UpdateMerchantPlatformRequest = exports.MerchantPlatformsResponse = exports.MerchantUser = exports.MerchantUsersResponse = exports.GetMerchantsResponse = exports.GetMerchantsRequest = exports.HealthcareGroup = exports.Healthcare = exports.UnlinkTokenRequest = exports.LinkTokenRequest = exports.DeleteTokenResponse = exports.DeleteTokenRequest = exports.DeleteCustomerResponse = exports.DeleteCustomerRequest = exports.DeleteQueuedTransactionResponse = exports.DeleteQueuedTransactionRequest = exports.ListQueuedTransactionsResponse = exports.ListQueuedTransactionsRequest = exports.BankAccount = exports.MerchantProfileResponse = exports.MerchantProfile = exports.Address = exports.InviteMerchantUserRequest = exports.MerchantPlatformRequest = exports.MerchantProfileRequest = exports.AddGatewayMerchantRequest = exports.AddTestMerchantRequest = exports.TerminalVolume = exports.BatchDetailsResponse = exports.BatchDetailsRequest = exports.BatchSummary = exports.BatchHistoryResponse = exports.BatchHistoryRequest = exports.TransactionHistoryResponse = exports.TransactionHistoryRequest = exports.CashDiscountResponse = exports.CashDiscountRequest = exports.ResendPaymentLinkResponse = exports.ResendPaymentLinkRequest = exports.CancelPaymentLinkResponse = exports.CancelPaymentLinkRequest = exports.PaymentLinkResponse = exports.PaymentLinkRequest = exports.TerminalStatusResponse = exports.TerminalStatusRequest = void 0;
59643
- exports.BuyRateLineItem = exports.MerchantCredentialGenerationResponse = exports.MerchantCredentialGenerationRequest = exports.PartnerCommissionBreakdownResponse = exports.PartnerCommissionBreakdownRequest = exports.StatementDeposit = exports.InvoicePayment = exports.InvoiceLineItem = exports.MerchantInvoiceDetailResponse = exports.MerchantInvoiceDetailRequest = exports.MerchantInvoiceSummary = exports.MerchantInvoiceListResponse = exports.MerchantInvoiceListRequest = exports.PartnerStatementAdjustment = exports.PartnerStatementDisbursement = exports.PartnerStatementLineItem = exports.PartnerStatementDetailResponse = exports.PartnerStatementDetailRequest = exports.PartnerStatementListResponse = exports.PartnerStatementSummary = exports.PartnerStatementListRequest = exports.PricingPolicyResponse = exports.PricePoint = exports.PricingPolicyRequest = exports.BrandingAssetResponse = exports.BrandingAsset = exports.BrandingAssetRequest = exports.SlideShowRequest = exports.SlideShowResponse = exports.SlideShow = exports.Slide = exports.MediaLibraryResponse = exports.MediaRequest = exports.UploadStatusRequest = exports.UploadStatus = exports.UploadMetadata = exports.MediaMetadata = exports.SurveyResultsRequest = exports.SurveyDataPoint = exports.SurveyQuestionResponse = exports.SurveyQuestionRequest = exports.SurveyQuestion = exports.TermsAndConditionsLogEntry = exports.TermsAndConditionsLogResponse = exports.TermsAndConditionsLogRequest = exports.TermsAndConditionsTemplateResponse = exports.TermsAndConditionsTemplateRequest = exports.TermsAndConditionsTemplate = exports.TerminalProfile = exports.TerminalActivationRequest = void 0;
59644
- exports.CoreResponse = exports.PreviousTransaction = exports.Subtotals = exports.RequestAmount = exports.PaymentMethod = exports.PaymentAmounts = exports.CryptocurrencyResponse = exports.PaymentMethodResponse = exports.CoreRequest = exports.TimeoutRequest = exports.ApprovalResponse = exports.SignatureRequest = exports.SignatureResponse = exports.TerminalReference = exports.AbstractAcknowledgement = exports.TerminalDeleteQueuedTransactionRequest = exports.TerminalListQueuedTransactionsRequest = exports.TerminalTerminalStatusRequest = exports.TerminalTransactionDisplayRequest = exports.TerminalTermsAndConditionsResponse = exports.TerminalTermsAndConditionsRequest = exports.TerminalGiftActivateRequest = exports.TerminalClearTerminalRequest = exports.TerminalEnrollRequest = exports.TerminalRefundRequest = exports.TerminalBalanceRequest = exports.TerminalAuthorizationRequest = exports.TerminalTextPromptRequest = exports.TerminalBooleanPromptRequest = exports.TerminalMessageRequest = exports.TerminalLocateRequest = exports.TerminalPingRequest = exports.TerminalCaptureSignatureRequest = exports.AggregateBillingLineItemStats = exports.AggregateBillingLineItem = void 0;
59655
+ exports.TransactionDisplayItem = exports.TransactionDisplayDiscount = exports.TransactionStatus = exports.PaymentLinkStatusResponse = exports.PaymentLinkStatusRequest = exports.TransactionStatusRequest = exports.AuthorizationResponse = exports.TermsAndConditionsResponse = exports.TermsAndConditionsRequest = exports.CloseBatchResponse = exports.CloseBatchRequest = exports.GiftActivateResponse = exports.GiftActivateRequest = exports.ClearTerminalRequest = exports.EnrollResponse = exports.EnrollRequest = exports.VoidResponse = exports.VoidRequest = exports.CaptureResponse = exports.CaptureRequest = exports.RefundRequest = exports.BalanceResponse = exports.BalanceRequest = exports.CardMetadataResponse = exports.CardMetadataRequest = exports.CardMetadata = exports.AuthorizationRequest = exports.WhiteListedCard = exports.BooleanPromptResponse = exports.TextPromptResponse = exports.CustomerToken = exports.TokenMetadataResponse = exports.TokenMetadataRequest = exports.Customer = exports.CustomerSearchResponse = exports.UpdateCustomerRequest = exports.CustomerSearchRequest = exports.CustomerResponse = exports.CustomerRequest = exports.TextPromptRequest = exports.BooleanPromptRequest = exports.MessageRequest = exports.LocateResponse = exports.LocateRequest = exports.PingResponse = exports.PingRequest = exports.CaptureSignatureResponse = exports.CaptureSignatureRequest = exports.Acknowledgement = exports.ReceiptSuggestions = void 0;
59656
+ exports.MerchantPlatform = exports.UpdateMerchantPlatformResponse = exports.UpdateMerchantPlatformRequest = exports.MerchantPlatformsResponse = exports.MerchantUser = exports.MerchantUsersResponse = exports.GetMerchantsResponse = exports.GetMerchantsRequest = exports.HealthcareGroup = exports.HealthcareMetadata = exports.UnlinkTokenRequest = exports.LinkTokenRequest = exports.DeleteTokenResponse = exports.DeleteTokenRequest = exports.DeleteCustomerResponse = exports.DeleteCustomerRequest = exports.DeleteQueuedTransactionResponse = exports.DeleteQueuedTransactionRequest = exports.ListQueuedTransactionsResponse = exports.ListQueuedTransactionsRequest = exports.BankAccount = exports.MerchantProfileResponse = exports.MerchantProfile = exports.Address = exports.InviteMerchantUserRequest = exports.MerchantPlatformRequest = exports.MerchantProfileRequest = exports.AddGatewayMerchantRequest = exports.AddTestMerchantRequest = exports.TerminalVolume = exports.BatchDetailsResponse = exports.BatchDetailsRequest = exports.BatchSummary = exports.BatchHistoryResponse = exports.BatchHistoryRequest = exports.TransactionHistoryResponse = exports.TransactionHistoryRequest = exports.CashDiscountResponse = exports.CashDiscountRequest = exports.ResendPaymentLinkResponse = exports.ResendPaymentLinkRequest = exports.CancelPaymentLinkResponse = exports.CancelPaymentLinkRequest = exports.PaymentLinkResponse = exports.PaymentLinkRequest = exports.TerminalStatusResponse = exports.TerminalStatusRequest = exports.HeartbeatResponse = exports.TransactionDisplayRequest = exports.TransactionDisplayTransaction = void 0;
59657
+ exports.PartnerCommissionBreakdownResponse = exports.PartnerCommissionBreakdownRequest = exports.StatementDeposit = exports.InvoicePayment = exports.InvoiceLineItem = exports.MerchantInvoiceDetailResponse = exports.MerchantInvoiceDetailRequest = exports.MerchantInvoiceSummary = exports.MerchantInvoiceListResponse = exports.MerchantInvoiceListRequest = exports.PartnerStatementAdjustment = exports.PartnerStatementDisbursement = exports.PartnerStatementLineItem = exports.PartnerStatementDetailResponse = exports.PartnerStatementDetailRequest = exports.PartnerStatementListResponse = exports.PartnerStatementSummary = exports.PartnerStatementListRequest = exports.PricingPolicyResponse = exports.PricePoint = exports.PricingPolicyRequest = exports.BrandingAssetResponse = exports.BrandingAsset = exports.BrandingAssetRequest = exports.SlideShowRequest = exports.SlideShowResponse = exports.SlideShow = exports.Slide = exports.MediaLibraryResponse = exports.MediaRequest = exports.UploadStatusRequest = exports.UploadStatus = exports.UploadMetadata = exports.MediaMetadata = exports.SurveyResultsRequest = exports.SurveyDataPoint = exports.SurveyQuestionResponse = exports.SurveyQuestionRequest = exports.SurveyQuestion = exports.TermsAndConditionsLogEntry = exports.TermsAndConditionsLogResponse = exports.TermsAndConditionsLogRequest = exports.TermsAndConditionsTemplateResponse = exports.TermsAndConditionsTemplateRequest = exports.TermsAndConditionsTemplate = exports.TerminalProfile = exports.TerminalActivationRequest = exports.TerminalDeactivationRequest = exports.TerminalProfileResponse = exports.TerminalProfileRequest = void 0;
59658
+ exports.CoreResponse = exports.PreviousTransaction = exports.Subtotals = exports.RequestAmount = exports.PaymentMethod = exports.PaymentAmounts = exports.CryptocurrencyResponse = exports.PaymentMethodResponse = exports.CoreRequest = exports.TimeoutRequest = exports.ApprovalResponse = exports.SignatureRequest = exports.SignatureResponse = exports.TerminalReference = exports.AbstractAcknowledgement = exports.TerminalDeleteQueuedTransactionRequest = exports.TerminalListQueuedTransactionsRequest = exports.TerminalTerminalStatusRequest = exports.TerminalTransactionDisplayRequest = exports.TerminalTermsAndConditionsResponse = exports.TerminalTermsAndConditionsRequest = exports.TerminalGiftActivateRequest = exports.TerminalClearTerminalRequest = exports.TerminalEnrollRequest = exports.TerminalRefundRequest = exports.TerminalBalanceRequest = exports.TerminalCardMetadataRequest = exports.TerminalAuthorizationRequest = exports.TerminalTextPromptRequest = exports.TerminalBooleanPromptRequest = exports.TerminalMessageRequest = exports.TerminalLocateRequest = exports.TerminalPingRequest = exports.TerminalCaptureSignatureRequest = exports.SubmitApplicationRequest = exports.MerchantApplication = exports.ApplicationAccount = exports.Owner = exports.AggregateBillingLineItemStats = exports.AggregateBillingLineItem = exports.BuyRateLineItem = exports.MerchantCredentialGenerationResponse = exports.MerchantCredentialGenerationRequest = void 0;
59645
59659
  // CardType is used to differentiate credit, debit, and EBT.
59646
59660
  var CardType;
59647
59661
  (function (CardType) {
@@ -60506,7 +60520,7 @@ exports.TokenMetadataRequest = TokenMetadataRequest;
60506
60520
  */
60507
60521
  class TokenMetadataResponse {
60508
60522
  // Constructor with default values for optional fields
60509
- constructor(success = null, error = null, responseDescription = null, token = null) {
60523
+ constructor(success = null, error = null, responseDescription = null, token = null, cardMetadata = undefined) {
60510
60524
  /**
60511
60525
  * Whether or not the request succeeded.
60512
60526
  */
@@ -60527,6 +60541,7 @@ class TokenMetadataResponse {
60527
60541
  this.error = error;
60528
60542
  this.responseDescription = responseDescription;
60529
60543
  this.token = token;
60544
+ this.cardMetadata = cardMetadata;
60530
60545
  }
60531
60546
  }
60532
60547
  exports.TokenMetadataResponse = TokenMetadataResponse;
@@ -60661,7 +60676,7 @@ exports.WhiteListedCard = WhiteListedCard;
60661
60676
  */
60662
60677
  class AuthorizationRequest {
60663
60678
  // Constructor with default values for optional fields
60664
- constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, currencyCode = null, amount = null, taxExempt = null, surcharge = null, cashDiscount = null, sigFile = undefined, sigFormat = undefined, sigWidth = 0, disableSignature = false, tipAmount = undefined, taxAmount = undefined, terminalName = undefined, resetConnection = null, transactionId = undefined, onlineAuthCode = undefined, enroll = false, bypassDupeFilter = false, description = undefined, promptForTip = false, cashBackEnabled = false, cardOnFile = false, recurring = false, cit = false, mit = false, subscription = false, purchaseOrderNumber = undefined, supplierReferenceNumber = undefined, lineItems = null, altPrices = undefined, customer = undefined, roundingMode = undefined, healthcare = undefined, cryptocurrency = undefined, cryptoNetwork = undefined, cryptoReceiveAddress = undefined, paymentRequestLabel = undefined, paymentRequestMessage = undefined, simulateChipRejection = false, simulateOutOfOrderReversal = false, asyncReversals = false, passthroughSurcharge = undefined) {
60679
+ constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, currencyCode = null, amount = null, taxExempt = null, surcharge = null, cashDiscount = null, sigFile = undefined, sigFormat = undefined, sigWidth = 0, disableSignature = false, tipAmount = undefined, taxAmount = undefined, terminalName = undefined, resetConnection = null, transactionId = undefined, onlineAuthCode = undefined, enroll = false, bypassDupeFilter = false, description = undefined, promptForTip = false, cashBackEnabled = false, cardOnFile = false, recurring = false, cit = false, mit = false, subscription = false, purchaseOrderNumber = undefined, supplierReferenceNumber = undefined, lineItems = null, altPrices = undefined, customer = undefined, roundingMode = undefined, healthcareMetadata = undefined, cryptocurrency = undefined, cryptoNetwork = undefined, cryptoReceiveAddress = undefined, paymentRequestLabel = undefined, paymentRequestMessage = undefined, simulateChipRejection = false, simulateOutOfOrderReversal = false, asyncReversals = false, passthroughSurcharge = undefined, healthcare = false, healthcareTotal = undefined, ebtTotal = undefined, cardMetadataLookup = false) {
60665
60680
  /**
60666
60681
  * The request timeout in seconds.
60667
60682
  */
@@ -60773,7 +60788,7 @@ class AuthorizationRequest {
60773
60788
  this.altPrices = altPrices;
60774
60789
  this.customer = customer;
60775
60790
  this.roundingMode = roundingMode;
60776
- this.healthcare = healthcare;
60791
+ this.healthcareMetadata = healthcareMetadata;
60777
60792
  this.cryptocurrency = cryptocurrency;
60778
60793
  this.cryptoNetwork = cryptoNetwork;
60779
60794
  this.cryptoReceiveAddress = cryptoReceiveAddress;
@@ -60783,9 +60798,201 @@ class AuthorizationRequest {
60783
60798
  this.simulateOutOfOrderReversal = simulateOutOfOrderReversal;
60784
60799
  this.asyncReversals = asyncReversals;
60785
60800
  this.passthroughSurcharge = passthroughSurcharge;
60801
+ this.healthcare = healthcare;
60802
+ this.healthcareTotal = healthcareTotal;
60803
+ this.ebtTotal = ebtTotal;
60804
+ this.cardMetadataLookup = cardMetadataLookup;
60786
60805
  }
60787
60806
  }
60788
60807
  exports.AuthorizationRequest = AuthorizationRequest;
60808
+ /**
60809
+ * Essential information about a payment card derived from its BIN/IIN.
60810
+ */
60811
+ class CardMetadata {
60812
+ // Constructor with default values for optional fields
60813
+ constructor(cardBrand = null, issuerName = null, l3 = null, l2 = null, productType = null, productName = null, ebt = null, debit = null, healthcare = null, prepaid = null, region = null, country = null) {
60814
+ /**
60815
+ * The brand or network of the card (e.g., Visa, Mastercard, Amex).
60816
+ */
60817
+ this.cardBrand = null;
60818
+ /**
60819
+ * The name of the financial institution that issued the card.
60820
+ */
60821
+ this.issuerName = null;
60822
+ /**
60823
+ * Whether the card supports Level 3 processing for detailed transaction data.
60824
+ */
60825
+ this.l3 = null;
60826
+ /**
60827
+ * Whether the card supports Level 2 processing for additional transaction data.
60828
+ */
60829
+ this.l2 = null;
60830
+ /**
60831
+ * The general category or type of the card product.
60832
+ */
60833
+ this.productType = null;
60834
+ /**
60835
+ * The specific name or designation of the card product.
60836
+ */
60837
+ this.productName = null;
60838
+ /**
60839
+ * Whether the card is an Electronic Benefit Transfer (EBT) card.
60840
+ */
60841
+ this.ebt = null;
60842
+ /**
60843
+ * Whether the card is a debit card.
60844
+ */
60845
+ this.debit = null;
60846
+ /**
60847
+ * Whether the card is a healthcare-specific payment card.
60848
+ */
60849
+ this.healthcare = null;
60850
+ /**
60851
+ * Whether the card is a prepaid card.
60852
+ */
60853
+ this.prepaid = null;
60854
+ /**
60855
+ * The geographical region associated with the card's issuer.
60856
+ */
60857
+ this.region = null;
60858
+ /**
60859
+ * The country associated with the card's issuer.
60860
+ */
60861
+ this.country = null;
60862
+ this.cardBrand = cardBrand;
60863
+ this.issuerName = issuerName;
60864
+ this.l3 = l3;
60865
+ this.l2 = l2;
60866
+ this.productType = productType;
60867
+ this.productName = productName;
60868
+ this.ebt = ebt;
60869
+ this.debit = debit;
60870
+ this.healthcare = healthcare;
60871
+ this.prepaid = prepaid;
60872
+ this.region = region;
60873
+ this.country = country;
60874
+ }
60875
+ }
60876
+ exports.CardMetadata = CardMetadata;
60877
+ /**
60878
+ * Retrieves card metadata.
60879
+ */
60880
+ class CardMetadataRequest {
60881
+ // Constructor with default values for optional fields
60882
+ constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, terminalName = undefined, resetConnection = null, healthcare = false) {
60883
+ /**
60884
+ * The request timeout in seconds.
60885
+ */
60886
+ this.timeout = null;
60887
+ /**
60888
+ * Whether or not to route transaction to the test gateway.
60889
+ */
60890
+ this.test = null;
60891
+ /**
60892
+ * That the transaction reference was autogenerated and should be ignored for the
60893
+ * purposes of duplicate detection.
60894
+ */
60895
+ this.autogeneratedRef = null;
60896
+ /**
60897
+ * Defers the response to the transaction and returns immediately. Callers should
60898
+ * retrive the transaction result using the Transaction Status API.
60899
+ */
60900
+ this.async = null;
60901
+ /**
60902
+ * Adds the transaction to the queue and returns immediately. Callers should retrive
60903
+ * the transaction result using the Transaction Status API.
60904
+ */
60905
+ this.queue = null;
60906
+ /**
60907
+ * Forces the terminal cloud connection to be reset while a transactions is in flight.
60908
+ * This is a diagnostic settings that can be used only for test transactions.
60909
+ */
60910
+ this.resetConnection = null;
60911
+ this.timeout = timeout;
60912
+ this.test = test;
60913
+ this.transactionRef = transactionRef;
60914
+ this.autogeneratedRef = autogeneratedRef;
60915
+ this.async = async;
60916
+ this.queue = queue;
60917
+ this.waitForRemovedCard = waitForRemovedCard;
60918
+ this.force = force;
60919
+ this.orderRef = orderRef;
60920
+ this.destinationAccount = destinationAccount;
60921
+ this.testCase = testCase;
60922
+ this.token = token;
60923
+ this.track1 = track1;
60924
+ this.track2 = track2;
60925
+ this.pan = pan;
60926
+ this.routingNumber = routingNumber;
60927
+ this.cardholderName = cardholderName;
60928
+ this.expMonth = expMonth;
60929
+ this.expYear = expYear;
60930
+ this.cvv = cvv;
60931
+ this.address = address;
60932
+ this.postalCode = postalCode;
60933
+ this.manualEntry = manualEntry;
60934
+ this.ksn = ksn;
60935
+ this.pinBlock = pinBlock;
60936
+ this.cardType = cardType;
60937
+ this.paymentType = paymentType;
60938
+ this.terminalName = terminalName;
60939
+ this.resetConnection = resetConnection;
60940
+ this.healthcare = healthcare;
60941
+ }
60942
+ }
60943
+ exports.CardMetadataRequest = CardMetadataRequest;
60944
+ /**
60945
+ * The response to a card metadata request.
60946
+ */
60947
+ class CardMetadataResponse {
60948
+ // Constructor with default values for optional fields
60949
+ constructor(success = null, error = null, responseDescription = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, receiptSuggestions = null, customer = undefined, customers = null, cardMetadata = undefined) {
60950
+ /**
60951
+ * Whether or not the request succeeded.
60952
+ */
60953
+ this.success = null;
60954
+ /**
60955
+ * The error, if an error occurred.
60956
+ */
60957
+ this.error = null;
60958
+ /**
60959
+ * A narrative description of the transaction result.
60960
+ */
60961
+ this.responseDescription = null;
60962
+ /**
60963
+ * Address verification results if address information was submitted.
60964
+ */
60965
+ this.avsResponse = null;
60966
+ /**
60967
+ * Suggested receipt fields.
60968
+ */
60969
+ this.receiptSuggestions = null;
60970
+ /**
60971
+ * Customer data, if any.
60972
+ */
60973
+ this.customers = null;
60974
+ this.success = success;
60975
+ this.error = error;
60976
+ this.responseDescription = responseDescription;
60977
+ this.token = token;
60978
+ this.entryMethod = entryMethod;
60979
+ this.paymentType = paymentType;
60980
+ this.network = network;
60981
+ this.logo = logo;
60982
+ this.maskedPan = maskedPan;
60983
+ this.publicKey = publicKey;
60984
+ this.ScopeAlert = ScopeAlert;
60985
+ this.cardHolder = cardHolder;
60986
+ this.expMonth = expMonth;
60987
+ this.expYear = expYear;
60988
+ this.avsResponse = avsResponse;
60989
+ this.receiptSuggestions = receiptSuggestions;
60990
+ this.customer = customer;
60991
+ this.customers = customers;
60992
+ this.cardMetadata = cardMetadata;
60993
+ }
60994
+ }
60995
+ exports.CardMetadataResponse = CardMetadataResponse;
60789
60996
  /**
60790
60997
  * A request for the remaining balance on a payment type.
60791
60998
  */
@@ -60938,7 +61145,7 @@ exports.BalanceResponse = BalanceResponse;
60938
61145
  */
60939
61146
  class RefundRequest {
60940
61147
  // Constructor with default values for optional fields
60941
- constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, transactionId = null, currencyCode = null, amount = null, taxExempt = null, surcharge = null, cashDiscount = null, sigFile = undefined, sigFormat = undefined, sigWidth = 0, disableSignature = false, tipAmount = undefined, taxAmount = undefined, terminalName = undefined, resetConnection = null, healthcare = undefined, simulateChipRejection = false, simulateOutOfOrderReversal = false, asyncReversals = false, cit = false, mit = false) {
61148
+ constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, transactionId = null, currencyCode = null, amount = null, taxExempt = null, surcharge = null, cashDiscount = null, sigFile = undefined, sigFormat = undefined, sigWidth = 0, disableSignature = false, tipAmount = undefined, taxAmount = undefined, terminalName = undefined, resetConnection = null, healthcareMetadata = undefined, simulateChipRejection = false, simulateOutOfOrderReversal = false, asyncReversals = false, cit = false, mit = false, cardMetadataLookup = false) {
60942
61149
  /**
60943
61150
  * The request timeout in seconds.
60944
61151
  */
@@ -61033,12 +61240,13 @@ class RefundRequest {
61033
61240
  this.taxAmount = taxAmount;
61034
61241
  this.terminalName = terminalName;
61035
61242
  this.resetConnection = resetConnection;
61036
- this.healthcare = healthcare;
61243
+ this.healthcareMetadata = healthcareMetadata;
61037
61244
  this.simulateChipRejection = simulateChipRejection;
61038
61245
  this.simulateOutOfOrderReversal = simulateOutOfOrderReversal;
61039
61246
  this.asyncReversals = asyncReversals;
61040
61247
  this.cit = cit;
61041
61248
  this.mit = mit;
61249
+ this.cardMetadataLookup = cardMetadataLookup;
61042
61250
  }
61043
61251
  }
61044
61252
  exports.RefundRequest = RefundRequest;
@@ -61413,7 +61621,7 @@ exports.VoidResponse = VoidResponse;
61413
61621
  */
61414
61622
  class EnrollRequest {
61415
61623
  // Constructor with default values for optional fields
61416
- constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, terminalName = undefined, resetConnection = null, entryMethod = undefined, customer = undefined, recurring = false, subscription = false) {
61624
+ constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, terminalName = undefined, resetConnection = null, entryMethod = undefined, customer = undefined, recurring = false, subscription = false, cardMetadataLookup = false) {
61417
61625
  /**
61418
61626
  * The request timeout in seconds.
61419
61627
  */
@@ -61475,6 +61683,7 @@ class EnrollRequest {
61475
61683
  this.customer = customer;
61476
61684
  this.recurring = recurring;
61477
61685
  this.subscription = subscription;
61686
+ this.cardMetadataLookup = cardMetadataLookup;
61478
61687
  }
61479
61688
  }
61480
61689
  exports.EnrollRequest = EnrollRequest;
@@ -61483,7 +61692,7 @@ exports.EnrollRequest = EnrollRequest;
61483
61692
  */
61484
61693
  class EnrollResponse {
61485
61694
  // Constructor with default values for optional fields
61486
- constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined) {
61695
+ constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, cardMetadata = undefined) {
61487
61696
  /**
61488
61697
  * Whether or not the request succeeded.
61489
61698
  */
@@ -61563,6 +61772,7 @@ class EnrollResponse {
61563
61772
  this.customer = customer;
61564
61773
  this.customers = customers;
61565
61774
  this.sigFile = sigFile;
61775
+ this.cardMetadata = cardMetadata;
61566
61776
  }
61567
61777
  }
61568
61778
  exports.EnrollResponse = EnrollResponse;
@@ -62020,7 +62230,7 @@ exports.TermsAndConditionsResponse = TermsAndConditionsResponse;
62020
62230
  */
62021
62231
  class AuthorizationResponse {
62022
62232
  // Constructor with default values for optional fields
62023
- constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, confirmed = null, cryptoAuthorizedAmount = null, cryptoNetworkFee = null, cryptocurrency = null, cryptoNetwork = null, cryptoReceiveAddress = null, cryptoBlock = null, cryptoTransactionId = null, cryptoPaymentRequest = null, cryptoStatus = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, whiteListedCard = undefined, storeAndForward = null, status = null) {
62233
+ constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, confirmed = null, cryptoAuthorizedAmount = null, cryptoNetworkFee = null, cryptocurrency = null, cryptoNetwork = null, cryptoReceiveAddress = null, cryptoBlock = null, cryptoTransactionId = null, cryptoPaymentRequest = null, cryptoStatus = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, whiteListedCard = undefined, storeAndForward = null, status = null, cardMetadata = undefined) {
62024
62234
  /**
62025
62235
  * Whether or not the request succeeded.
62026
62236
  */
@@ -62222,6 +62432,7 @@ class AuthorizationResponse {
62222
62432
  this.whiteListedCard = whiteListedCard;
62223
62433
  this.storeAndForward = storeAndForward;
62224
62434
  this.status = status;
62435
+ this.cardMetadata = cardMetadata;
62225
62436
  }
62226
62437
  }
62227
62438
  exports.AuthorizationResponse = AuthorizationResponse;
@@ -65029,7 +65240,7 @@ exports.UnlinkTokenRequest = UnlinkTokenRequest;
65029
65240
  /**
65030
65241
  * Fields for HSA/FSA transactions.
65031
65242
  */
65032
- class Healthcare {
65243
+ class HealthcareMetadata {
65033
65244
  // Constructor with default values for optional fields
65034
65245
  constructor(types = null, iiasVerified = null, iiasExempt = null) {
65035
65246
  /**
@@ -65050,7 +65261,7 @@ class Healthcare {
65050
65261
  this.iiasExempt = iiasExempt;
65051
65262
  }
65052
65263
  }
65053
- exports.Healthcare = Healthcare;
65264
+ exports.HealthcareMetadata = HealthcareMetadata;
65054
65265
  /**
65055
65266
  * A group of fields for a specific type of healthcare.
65056
65267
  */
@@ -68511,6 +68722,637 @@ class AggregateBillingLineItemStats {
68511
68722
  }
68512
68723
  }
68513
68724
  exports.AggregateBillingLineItemStats = AggregateBillingLineItemStats;
68725
+ /**
68726
+ * Models an individual with 25% or more ownership interest in a company.
68727
+ */
68728
+ class Owner {
68729
+ // Constructor with default values for optional fields
68730
+ constructor(firstName = null, lastName = null, jobTitle = null, taxIdNumber = null, phoneNumber = null, dob = null, ownership = null, address = null, email = null, singleLineAddress = null, entityType = null, dlNumber = null, dlStateOrProvince = null, dlExpiration = null) {
68731
+ /**
68732
+ * The first name of the owner.
68733
+ */
68734
+ this.firstName = null;
68735
+ /**
68736
+ * The last name of the owner.
68737
+ */
68738
+ this.lastName = null;
68739
+ /**
68740
+ * The job title of the owner.
68741
+ */
68742
+ this.jobTitle = null;
68743
+ /**
68744
+ * The tax identification number (SSN) of the owner.
68745
+ */
68746
+ this.taxIdNumber = null;
68747
+ /**
68748
+ * The phone number of the owner.
68749
+ */
68750
+ this.phoneNumber = null;
68751
+ /**
68752
+ * The date of birth of the owner in mm/dd/yyyy format.
68753
+ */
68754
+ this.dob = null;
68755
+ /**
68756
+ * The percentage of ownership.
68757
+ */
68758
+ this.ownership = null;
68759
+ /**
68760
+ * The address of the owner.
68761
+ */
68762
+ this.address = null;
68763
+ /**
68764
+ * The email address of the owner.
68765
+ */
68766
+ this.email = null;
68767
+ /**
68768
+ * A single line representation of the owner's address.
68769
+ */
68770
+ this.singleLineAddress = null;
68771
+ /**
68772
+ * The type of entity this owner represents.
68773
+ */
68774
+ this.entityType = null;
68775
+ /**
68776
+ * The driver's license number of the owner.
68777
+ */
68778
+ this.dlNumber = null;
68779
+ /**
68780
+ * The state that issued the owner's driver's license.
68781
+ */
68782
+ this.dlStateOrProvince = null;
68783
+ /**
68784
+ * The expiration date of the owner's driver's license.
68785
+ */
68786
+ this.dlExpiration = null;
68787
+ this.firstName = firstName;
68788
+ this.lastName = lastName;
68789
+ this.jobTitle = jobTitle;
68790
+ this.taxIdNumber = taxIdNumber;
68791
+ this.phoneNumber = phoneNumber;
68792
+ this.dob = dob;
68793
+ this.ownership = ownership;
68794
+ this.address = address;
68795
+ this.email = email;
68796
+ this.singleLineAddress = singleLineAddress;
68797
+ this.entityType = entityType;
68798
+ this.dlNumber = dlNumber;
68799
+ this.dlStateOrProvince = dlStateOrProvince;
68800
+ this.dlExpiration = dlExpiration;
68801
+ }
68802
+ }
68803
+ exports.Owner = Owner;
68804
+ /**
68805
+ * Models a bank account associated with an application.
68806
+ */
68807
+ class ApplicationAccount {
68808
+ // Constructor with default values for optional fields
68809
+ constructor(name = null, bank = null, accountHolderName = null, routingNumber = null, accountNumber = null) {
68810
+ /**
68811
+ * The name of the bank account.
68812
+ */
68813
+ this.name = null;
68814
+ /**
68815
+ * The name of the bank.
68816
+ */
68817
+ this.bank = null;
68818
+ /**
68819
+ * The name of the account holder.
68820
+ */
68821
+ this.accountHolderName = null;
68822
+ /**
68823
+ * The routing number of the bank.
68824
+ */
68825
+ this.routingNumber = null;
68826
+ /**
68827
+ * The account number.
68828
+ */
68829
+ this.accountNumber = null;
68830
+ this.name = name;
68831
+ this.bank = bank;
68832
+ this.accountHolderName = accountHolderName;
68833
+ this.routingNumber = routingNumber;
68834
+ this.accountNumber = accountNumber;
68835
+ }
68836
+ }
68837
+ exports.ApplicationAccount = ApplicationAccount;
68838
+ /**
68839
+ * Models a merchant application form to add a merchant account.
68840
+ */
68841
+ class MerchantApplication {
68842
+ // Constructor with default values for optional fields
68843
+ constructor(inviteCode = null, dbaName = null, corporateName = null, webSite = null, taxIdNumber = null, entityType = null, stateOfIncorporation = null, merchantType = null, businessDescription = null, yearsInBusiness = null, businessPhoneNumber = null, physicalAddress = null, mailingAddress = null, contactFirstName = null, contactLastName = null, contactPhoneNumber = null, contactEmail = null, contactTitle = null, contactTaxIdNumber = null, contactDOB = null, contactDlNumber = null, contactDlStateOrProvince = null, contactDlExpiration = null, contactHomeAddress = null, contactRole = null, owners = null, manualAccount = null, averageTransaction = null, highTransaction = null, averageMonth = null, highMonth = null, refundPolicy = null, refundDays = null, timeZone = null, batchCloseTime = null, multipleLocations = null, locationName = null, storeNumber = null, ebtRequested = null, fnsNumber = null, ecommerce = null, dropShipping = null, cardPresentPercentage = null, phoneOrderPercentage = null, ecomPercentage = null, billBeforeShipmentDays = null, subscriptionsSupported = null, subscriptionFrequency = null, signerName = null) {
68844
+ /**
68845
+ * The invite code for the merchant.
68846
+ */
68847
+ this.inviteCode = null;
68848
+ /**
68849
+ * The business name your customers know you by (DBA Name).
68850
+ */
68851
+ this.dbaName = null;
68852
+ /**
68853
+ * The name of the legal entity you file your taxes under.
68854
+ */
68855
+ this.corporateName = null;
68856
+ /**
68857
+ * The business website.
68858
+ */
68859
+ this.webSite = null;
68860
+ /**
68861
+ * The business tax identification number (EIN).
68862
+ */
68863
+ this.taxIdNumber = null;
68864
+ /**
68865
+ * The type of business entity.
68866
+ */
68867
+ this.entityType = null;
68868
+ /**
68869
+ * The state where the business is incorporated.
68870
+ */
68871
+ this.stateOfIncorporation = null;
68872
+ /**
68873
+ * The primary type of business (e.g., Retail, Service, etc.).
68874
+ */
68875
+ this.merchantType = null;
68876
+ /**
68877
+ * A short description of the products and services sold.
68878
+ */
68879
+ this.businessDescription = null;
68880
+ /**
68881
+ * The number of years the business has been operating.
68882
+ */
68883
+ this.yearsInBusiness = null;
68884
+ /**
68885
+ * The business telephone number.
68886
+ */
68887
+ this.businessPhoneNumber = null;
68888
+ /**
68889
+ * The physical address of the business.
68890
+ */
68891
+ this.physicalAddress = null;
68892
+ /**
68893
+ * The mailing address of the business.
68894
+ */
68895
+ this.mailingAddress = null;
68896
+ /**
68897
+ * The first name of the primary contact.
68898
+ */
68899
+ this.contactFirstName = null;
68900
+ /**
68901
+ * The last name of the primary contact.
68902
+ */
68903
+ this.contactLastName = null;
68904
+ /**
68905
+ * The phone number of the primary contact.
68906
+ */
68907
+ this.contactPhoneNumber = null;
68908
+ /**
68909
+ * The email address of the primary contact.
68910
+ */
68911
+ this.contactEmail = null;
68912
+ /**
68913
+ * The job title of the primary contact.
68914
+ */
68915
+ this.contactTitle = null;
68916
+ /**
68917
+ * The tax identification number (SSN) of the primary contact.
68918
+ */
68919
+ this.contactTaxIdNumber = null;
68920
+ /**
68921
+ * The date of birth of the primary contact.
68922
+ */
68923
+ this.contactDOB = null;
68924
+ /**
68925
+ * The driver's license number of the primary contact.
68926
+ */
68927
+ this.contactDlNumber = null;
68928
+ /**
68929
+ * The state that issued the primary contact's driver's license.
68930
+ */
68931
+ this.contactDlStateOrProvince = null;
68932
+ /**
68933
+ * The expiration date of the primary contact's driver's license.
68934
+ */
68935
+ this.contactDlExpiration = null;
68936
+ /**
68937
+ * The home address of the primary contact.
68938
+ */
68939
+ this.contactHomeAddress = null;
68940
+ /**
68941
+ * The role of the primary contact in the business.
68942
+ */
68943
+ this.contactRole = null;
68944
+ /**
68945
+ * List of individuals with 25% or more ownership in the company.
68946
+ */
68947
+ this.owners = null;
68948
+ /**
68949
+ * The bank account information for the business.
68950
+ */
68951
+ this.manualAccount = null;
68952
+ /**
68953
+ * The average transaction amount.
68954
+ */
68955
+ this.averageTransaction = null;
68956
+ /**
68957
+ * The highest expected transaction amount.
68958
+ */
68959
+ this.highTransaction = null;
68960
+ /**
68961
+ * The average monthly transaction volume.
68962
+ */
68963
+ this.averageMonth = null;
68964
+ /**
68965
+ * The highest expected monthly transaction volume.
68966
+ */
68967
+ this.highMonth = null;
68968
+ /**
68969
+ * The refund policy of the business.
68970
+ */
68971
+ this.refundPolicy = null;
68972
+ /**
68973
+ * The number of days after purchase that refunds can be issued.
68974
+ */
68975
+ this.refundDays = null;
68976
+ /**
68977
+ * The time zone of the business.
68978
+ */
68979
+ this.timeZone = null;
68980
+ /**
68981
+ * The time when the daily batch should close.
68982
+ */
68983
+ this.batchCloseTime = null;
68984
+ /**
68985
+ * Indicates if the business has multiple locations.
68986
+ */
68987
+ this.multipleLocations = null;
68988
+ /**
68989
+ * The name of this specific business location.
68990
+ */
68991
+ this.locationName = null;
68992
+ /**
68993
+ * The store number for this location.
68994
+ */
68995
+ this.storeNumber = null;
68996
+ /**
68997
+ * Indicates if the business wants to accept EBT cards.
68998
+ */
68999
+ this.ebtRequested = null;
69000
+ /**
69001
+ * The FNS number issued by the USDA for EBT processing.
69002
+ */
69003
+ this.fnsNumber = null;
69004
+ /**
69005
+ * Indicates if the business plans to accept payments through a website.
69006
+ */
69007
+ this.ecommerce = null;
69008
+ /**
69009
+ * Indicates if suppliers ship products directly to customers.
69010
+ */
69011
+ this.dropShipping = null;
69012
+ /**
69013
+ * The percentage of transactions that will be chip or swipe.
69014
+ */
69015
+ this.cardPresentPercentage = null;
69016
+ /**
69017
+ * The percentage of transactions that will be phone orders.
69018
+ */
69019
+ this.phoneOrderPercentage = null;
69020
+ /**
69021
+ * The percentage of transactions that will be e-commerce.
69022
+ */
69023
+ this.ecomPercentage = null;
69024
+ /**
69025
+ * The number of days before shipment that customers are charged.
69026
+ */
69027
+ this.billBeforeShipmentDays = null;
69028
+ /**
69029
+ * Indicates if the business plans to process recurring payments.
69030
+ */
69031
+ this.subscriptionsSupported = null;
69032
+ /**
69033
+ * The frequency of recurring payments (if applicable).
69034
+ */
69035
+ this.subscriptionFrequency = null;
69036
+ /**
69037
+ * The full legal name of the person signing the application.
69038
+ */
69039
+ this.signerName = null;
69040
+ this.inviteCode = inviteCode;
69041
+ this.dbaName = dbaName;
69042
+ this.corporateName = corporateName;
69043
+ this.webSite = webSite;
69044
+ this.taxIdNumber = taxIdNumber;
69045
+ this.entityType = entityType;
69046
+ this.stateOfIncorporation = stateOfIncorporation;
69047
+ this.merchantType = merchantType;
69048
+ this.businessDescription = businessDescription;
69049
+ this.yearsInBusiness = yearsInBusiness;
69050
+ this.businessPhoneNumber = businessPhoneNumber;
69051
+ this.physicalAddress = physicalAddress;
69052
+ this.mailingAddress = mailingAddress;
69053
+ this.contactFirstName = contactFirstName;
69054
+ this.contactLastName = contactLastName;
69055
+ this.contactPhoneNumber = contactPhoneNumber;
69056
+ this.contactEmail = contactEmail;
69057
+ this.contactTitle = contactTitle;
69058
+ this.contactTaxIdNumber = contactTaxIdNumber;
69059
+ this.contactDOB = contactDOB;
69060
+ this.contactDlNumber = contactDlNumber;
69061
+ this.contactDlStateOrProvince = contactDlStateOrProvince;
69062
+ this.contactDlExpiration = contactDlExpiration;
69063
+ this.contactHomeAddress = contactHomeAddress;
69064
+ this.contactRole = contactRole;
69065
+ this.owners = owners;
69066
+ this.manualAccount = manualAccount;
69067
+ this.averageTransaction = averageTransaction;
69068
+ this.highTransaction = highTransaction;
69069
+ this.averageMonth = averageMonth;
69070
+ this.highMonth = highMonth;
69071
+ this.refundPolicy = refundPolicy;
69072
+ this.refundDays = refundDays;
69073
+ this.timeZone = timeZone;
69074
+ this.batchCloseTime = batchCloseTime;
69075
+ this.multipleLocations = multipleLocations;
69076
+ this.locationName = locationName;
69077
+ this.storeNumber = storeNumber;
69078
+ this.ebtRequested = ebtRequested;
69079
+ this.fnsNumber = fnsNumber;
69080
+ this.ecommerce = ecommerce;
69081
+ this.dropShipping = dropShipping;
69082
+ this.cardPresentPercentage = cardPresentPercentage;
69083
+ this.phoneOrderPercentage = phoneOrderPercentage;
69084
+ this.ecomPercentage = ecomPercentage;
69085
+ this.billBeforeShipmentDays = billBeforeShipmentDays;
69086
+ this.subscriptionsSupported = subscriptionsSupported;
69087
+ this.subscriptionFrequency = subscriptionFrequency;
69088
+ this.signerName = signerName;
69089
+ }
69090
+ }
69091
+ exports.MerchantApplication = MerchantApplication;
69092
+ /**
69093
+ * Models a merchant application submission request to add a new merchant account.
69094
+ */
69095
+ class SubmitApplicationRequest {
69096
+ // Constructor with default values for optional fields
69097
+ constructor(timeout = null, test = null, inviteCode = null, dbaName = null, corporateName = null, webSite = null, taxIdNumber = null, entityType = null, stateOfIncorporation = null, merchantType = null, businessDescription = null, yearsInBusiness = null, businessPhoneNumber = null, physicalAddress = null, mailingAddress = null, contactFirstName = null, contactLastName = null, contactPhoneNumber = null, contactEmail = null, contactTitle = null, contactTaxIdNumber = null, contactDOB = null, contactDlNumber = null, contactDlStateOrProvince = null, contactDlExpiration = null, contactHomeAddress = null, contactRole = null, owners = null, manualAccount = null, averageTransaction = null, highTransaction = null, averageMonth = null, highMonth = null, refundPolicy = null, refundDays = null, timeZone = null, batchCloseTime = null, multipleLocations = null, locationName = null, storeNumber = null, ebtRequested = null, fnsNumber = null, ecommerce = null, dropShipping = null, cardPresentPercentage = null, phoneOrderPercentage = null, ecomPercentage = null, billBeforeShipmentDays = null, subscriptionsSupported = null, subscriptionFrequency = null, signerName = null) {
69098
+ /**
69099
+ * The request timeout in seconds.
69100
+ */
69101
+ this.timeout = null;
69102
+ /**
69103
+ * Whether or not to route transaction to the test gateway.
69104
+ */
69105
+ this.test = null;
69106
+ /**
69107
+ * The invite code for the merchant.
69108
+ */
69109
+ this.inviteCode = null;
69110
+ /**
69111
+ * The business name your customers know you by (DBA Name).
69112
+ */
69113
+ this.dbaName = null;
69114
+ /**
69115
+ * The name of the legal entity you file your taxes under.
69116
+ */
69117
+ this.corporateName = null;
69118
+ /**
69119
+ * The business website.
69120
+ */
69121
+ this.webSite = null;
69122
+ /**
69123
+ * The business tax identification number (EIN).
69124
+ */
69125
+ this.taxIdNumber = null;
69126
+ /**
69127
+ * The type of business entity.
69128
+ */
69129
+ this.entityType = null;
69130
+ /**
69131
+ * The state where the business is incorporated.
69132
+ */
69133
+ this.stateOfIncorporation = null;
69134
+ /**
69135
+ * The primary type of business (e.g., Retail, Service, etc.).
69136
+ */
69137
+ this.merchantType = null;
69138
+ /**
69139
+ * A short description of the products and services sold.
69140
+ */
69141
+ this.businessDescription = null;
69142
+ /**
69143
+ * The number of years the business has been operating.
69144
+ */
69145
+ this.yearsInBusiness = null;
69146
+ /**
69147
+ * The business telephone number.
69148
+ */
69149
+ this.businessPhoneNumber = null;
69150
+ /**
69151
+ * The physical address of the business.
69152
+ */
69153
+ this.physicalAddress = null;
69154
+ /**
69155
+ * The mailing address of the business.
69156
+ */
69157
+ this.mailingAddress = null;
69158
+ /**
69159
+ * The first name of the primary contact.
69160
+ */
69161
+ this.contactFirstName = null;
69162
+ /**
69163
+ * The last name of the primary contact.
69164
+ */
69165
+ this.contactLastName = null;
69166
+ /**
69167
+ * The phone number of the primary contact.
69168
+ */
69169
+ this.contactPhoneNumber = null;
69170
+ /**
69171
+ * The email address of the primary contact.
69172
+ */
69173
+ this.contactEmail = null;
69174
+ /**
69175
+ * The job title of the primary contact.
69176
+ */
69177
+ this.contactTitle = null;
69178
+ /**
69179
+ * The tax identification number (SSN) of the primary contact.
69180
+ */
69181
+ this.contactTaxIdNumber = null;
69182
+ /**
69183
+ * The date of birth of the primary contact.
69184
+ */
69185
+ this.contactDOB = null;
69186
+ /**
69187
+ * The driver's license number of the primary contact.
69188
+ */
69189
+ this.contactDlNumber = null;
69190
+ /**
69191
+ * The state that issued the primary contact's driver's license.
69192
+ */
69193
+ this.contactDlStateOrProvince = null;
69194
+ /**
69195
+ * The expiration date of the primary contact's driver's license.
69196
+ */
69197
+ this.contactDlExpiration = null;
69198
+ /**
69199
+ * The home address of the primary contact.
69200
+ */
69201
+ this.contactHomeAddress = null;
69202
+ /**
69203
+ * The role of the primary contact in the business.
69204
+ */
69205
+ this.contactRole = null;
69206
+ /**
69207
+ * List of individuals with 25% or more ownership in the company.
69208
+ */
69209
+ this.owners = null;
69210
+ /**
69211
+ * The bank account information for the business.
69212
+ */
69213
+ this.manualAccount = null;
69214
+ /**
69215
+ * The average transaction amount.
69216
+ */
69217
+ this.averageTransaction = null;
69218
+ /**
69219
+ * The highest expected transaction amount.
69220
+ */
69221
+ this.highTransaction = null;
69222
+ /**
69223
+ * The average monthly transaction volume.
69224
+ */
69225
+ this.averageMonth = null;
69226
+ /**
69227
+ * The highest expected monthly transaction volume.
69228
+ */
69229
+ this.highMonth = null;
69230
+ /**
69231
+ * The refund policy of the business.
69232
+ */
69233
+ this.refundPolicy = null;
69234
+ /**
69235
+ * The number of days after purchase that refunds can be issued.
69236
+ */
69237
+ this.refundDays = null;
69238
+ /**
69239
+ * The time zone of the business.
69240
+ */
69241
+ this.timeZone = null;
69242
+ /**
69243
+ * The time when the daily batch should close.
69244
+ */
69245
+ this.batchCloseTime = null;
69246
+ /**
69247
+ * Indicates if the business has multiple locations.
69248
+ */
69249
+ this.multipleLocations = null;
69250
+ /**
69251
+ * The name of this specific business location.
69252
+ */
69253
+ this.locationName = null;
69254
+ /**
69255
+ * The store number for this location.
69256
+ */
69257
+ this.storeNumber = null;
69258
+ /**
69259
+ * Indicates if the business wants to accept EBT cards.
69260
+ */
69261
+ this.ebtRequested = null;
69262
+ /**
69263
+ * The FNS number issued by the USDA for EBT processing.
69264
+ */
69265
+ this.fnsNumber = null;
69266
+ /**
69267
+ * Indicates if the business plans to accept payments through a website.
69268
+ */
69269
+ this.ecommerce = null;
69270
+ /**
69271
+ * Indicates if suppliers ship products directly to customers.
69272
+ */
69273
+ this.dropShipping = null;
69274
+ /**
69275
+ * The percentage of transactions that will be chip or swipe.
69276
+ */
69277
+ this.cardPresentPercentage = null;
69278
+ /**
69279
+ * The percentage of transactions that will be phone orders.
69280
+ */
69281
+ this.phoneOrderPercentage = null;
69282
+ /**
69283
+ * The percentage of transactions that will be e-commerce.
69284
+ */
69285
+ this.ecomPercentage = null;
69286
+ /**
69287
+ * The number of days before shipment that customers are charged.
69288
+ */
69289
+ this.billBeforeShipmentDays = null;
69290
+ /**
69291
+ * Indicates if the business plans to process recurring payments.
69292
+ */
69293
+ this.subscriptionsSupported = null;
69294
+ /**
69295
+ * The frequency of recurring payments (if applicable).
69296
+ */
69297
+ this.subscriptionFrequency = null;
69298
+ /**
69299
+ * The full legal name of the person signing the application.
69300
+ */
69301
+ this.signerName = null;
69302
+ this.timeout = timeout;
69303
+ this.test = test;
69304
+ this.inviteCode = inviteCode;
69305
+ this.dbaName = dbaName;
69306
+ this.corporateName = corporateName;
69307
+ this.webSite = webSite;
69308
+ this.taxIdNumber = taxIdNumber;
69309
+ this.entityType = entityType;
69310
+ this.stateOfIncorporation = stateOfIncorporation;
69311
+ this.merchantType = merchantType;
69312
+ this.businessDescription = businessDescription;
69313
+ this.yearsInBusiness = yearsInBusiness;
69314
+ this.businessPhoneNumber = businessPhoneNumber;
69315
+ this.physicalAddress = physicalAddress;
69316
+ this.mailingAddress = mailingAddress;
69317
+ this.contactFirstName = contactFirstName;
69318
+ this.contactLastName = contactLastName;
69319
+ this.contactPhoneNumber = contactPhoneNumber;
69320
+ this.contactEmail = contactEmail;
69321
+ this.contactTitle = contactTitle;
69322
+ this.contactTaxIdNumber = contactTaxIdNumber;
69323
+ this.contactDOB = contactDOB;
69324
+ this.contactDlNumber = contactDlNumber;
69325
+ this.contactDlStateOrProvince = contactDlStateOrProvince;
69326
+ this.contactDlExpiration = contactDlExpiration;
69327
+ this.contactHomeAddress = contactHomeAddress;
69328
+ this.contactRole = contactRole;
69329
+ this.owners = owners;
69330
+ this.manualAccount = manualAccount;
69331
+ this.averageTransaction = averageTransaction;
69332
+ this.highTransaction = highTransaction;
69333
+ this.averageMonth = averageMonth;
69334
+ this.highMonth = highMonth;
69335
+ this.refundPolicy = refundPolicy;
69336
+ this.refundDays = refundDays;
69337
+ this.timeZone = timeZone;
69338
+ this.batchCloseTime = batchCloseTime;
69339
+ this.multipleLocations = multipleLocations;
69340
+ this.locationName = locationName;
69341
+ this.storeNumber = storeNumber;
69342
+ this.ebtRequested = ebtRequested;
69343
+ this.fnsNumber = fnsNumber;
69344
+ this.ecommerce = ecommerce;
69345
+ this.dropShipping = dropShipping;
69346
+ this.cardPresentPercentage = cardPresentPercentage;
69347
+ this.phoneOrderPercentage = phoneOrderPercentage;
69348
+ this.ecomPercentage = ecomPercentage;
69349
+ this.billBeforeShipmentDays = billBeforeShipmentDays;
69350
+ this.subscriptionsSupported = subscriptionsSupported;
69351
+ this.subscriptionFrequency = subscriptionFrequency;
69352
+ this.signerName = signerName;
69353
+ }
69354
+ }
69355
+ exports.SubmitApplicationRequest = SubmitApplicationRequest;
68514
69356
  /**
68515
69357
  * A request for customer signature data.
68516
69358
  */
@@ -68581,6 +69423,16 @@ class TerminalAuthorizationRequest {
68581
69423
  }
68582
69424
  }
68583
69425
  exports.TerminalAuthorizationRequest = TerminalAuthorizationRequest;
69426
+ /**
69427
+ * Retrieves card metadata.
69428
+ */
69429
+ class TerminalCardMetadataRequest {
69430
+ constructor(APICredentials, request) {
69431
+ this.APICredentials = APICredentials;
69432
+ this.request = request;
69433
+ }
69434
+ }
69435
+ exports.TerminalCardMetadataRequest = TerminalCardMetadataRequest;
68584
69436
  /**
68585
69437
  * A request for the remaining balance on a payment type.
68586
69438
  */