From c5c6520e5cdd271fb38afdbf9fdaa7d711312ca4 Mon Sep 17 00:00:00 2001 From: Tpay CI Date: Fri, 31 Oct 2025 14:38:06 +0000 Subject: [PATCH] Update docs --- docs/assets/hierarchy.js | 1 + docs/assets/highlight.css | 27 +- docs/assets/icons.js | 18 + docs/assets/icons.svg | 1 + docs/assets/main.js | 9 +- docs/assets/navigation.js | 2 +- docs/assets/search.js | 2 +- docs/assets/style.css | 2673 +++++++++-------- docs/classes/Address.html | 22 +- docs/classes/AmbiguousAlias.html | 14 +- docs/classes/AmbiguousBlikPayment.html | 18 +- docs/classes/AmountPaymentConstraint.html | 18 +- docs/classes/ApplePayConfiguration.html | 14 +- docs/classes/ApplePayPayment.html | 16 +- docs/classes/AutomaticPaymentMethods.html | 14 +- docs/classes/BlikAlias.html | 18 +- docs/classes/BlikPayment.html | 22 +- docs/classes/Callbacks.html | 14 +- .../CertificatePinningConfiguration.html | 12 +- docs/classes/ConfigurationSuccess.html | 14 +- docs/classes/CreditCard.html | 22 +- docs/classes/CreditCardConfig.html | 16 +- docs/classes/CreditCardPayment.html | 22 +- docs/classes/ExpirationDate.html | 14 +- docs/classes/GooglePayConfiguration.html | 10 +- docs/classes/GooglePayConfigureError.html | 12 +- docs/classes/GooglePayConfigureResult.html | 10 +- docs/classes/GooglePayConfigureSuccess.html | 10 +- docs/classes/GooglePayOpenCancelled.html | 16 +- docs/classes/GooglePayOpenNotConfigured.html | 16 +- docs/classes/GooglePayOpenResult.html | 16 +- docs/classes/GooglePayOpenSuccess.html | 24 +- docs/classes/GooglePayOpenUnknownError.html | 16 +- docs/classes/GooglePayPayment.html | 16 +- docs/classes/GooglePayUtilsConfiguration.html | 26 +- docs/classes/Languages.html | 14 +- docs/classes/LocalizedString.html | 10 +- docs/classes/Merchant.html | 26 +- docs/classes/MerchantAuthorization.html | 14 +- docs/classes/MerchantDetails.html | 18 +- docs/classes/MethodCallError.html | 16 +- docs/classes/ModuleClosed.html | 14 +- docs/classes/Notifications.html | 14 +- docs/classes/PayPoPayment.html | 12 +- docs/classes/Payer.html | 22 +- docs/classes/PayerContext.html | 14 +- docs/classes/PaymentCancelled.html | 16 +- docs/classes/PaymentChannel.html | 22 +- docs/classes/PaymentChannelsError.html | 14 +- docs/classes/PaymentChannelsResult.html | 12 +- docs/classes/PaymentChannelsSuccess.html | 14 +- docs/classes/PaymentCompleted.html | 16 +- docs/classes/PaymentConstraint.html | 10 +- docs/classes/PaymentCreated.html | 16 +- docs/classes/PaymentDetails.html | 22 +- docs/classes/PaymentGroup.html | 18 +- docs/classes/PaymentMethods.html | 18 +- docs/classes/RatyPekaoPayment.html | 16 +- docs/classes/Recursive.html | 18 +- docs/classes/Redirects.html | 14 +- docs/classes/Result.html | 14 +- .../classes/ScreenlessBlikAmbiguousAlias.html | 22 +- .../ScreenlessConfiguredPaymentFailed.html | 22 +- docs/classes/ScreenlessMethodCallError.html | 20 +- docs/classes/ScreenlessPaid.html | 20 +- docs/classes/ScreenlessPayment.html | 18 +- docs/classes/ScreenlessPaymentCreated.html | 22 +- docs/classes/ScreenlessPaymentError.html | 20 +- docs/classes/ScreenlessResult.html | 18 +- docs/classes/ScreenlessValidationError.html | 20 +- docs/classes/SingleTransaction.html | 24 +- docs/classes/TokenPayment.html | 28 +- docs/classes/Tokenization.html | 14 +- docs/classes/TokenizationCompleted.html | 14 +- docs/classes/TokenizationFailure.html | 14 +- docs/classes/TokenizedCard.html | 18 +- docs/classes/TpayConfiguration.html | 22 +- docs/classes/Transaction.html | 20 +- docs/classes/TransferPayment.html | 16 +- docs/classes/ValidationError.html | 16 +- docs/classes/WalletConfiguration.html | 14 +- docs/enums/CreditCardBrand.html | 10 +- docs/enums/DigitalWallet.html | 8 +- docs/enums/Frequency.html | 14 +- docs/enums/GooglePayEnvironment.html | 8 +- docs/enums/InstallmentPayment.html | 8 +- docs/enums/Language.html | 6 +- docs/enums/PaymentConstraintType.html | 6 +- docs/enums/PaymentMethod.html | 10 +- docs/enums/TpayEnvironment.html | 6 +- docs/functions/TpayButton.html | 2 +- docs/functions/configure.html | 4 +- docs/functions/configureGooglePayUtils.html | 4 +- .../getAvailablePaymentChannels.html | 4 +- docs/functions/isGooglePayAvailable.html | 4 +- docs/functions/openGooglePay.html | 4 +- .../screenlessAmbiguousBLIKPayment.html | 4 +- docs/functions/screenlessApplePayPayment.html | 4 +- docs/functions/screenlessBLIKPayment.html | 4 +- .../screenlessCreditCardPayment.html | 4 +- .../functions/screenlessGooglePayPayment.html | 4 +- docs/functions/screenlessPayPoPayment.html | 4 +- .../functions/screenlessRatyPekaoPayment.html | 4 +- docs/functions/screenlessTransferPayment.html | 4 +- docs/functions/startCardTokenPayment.html | 4 +- docs/functions/startPayment.html | 4 +- docs/functions/tokenizeCard.html | 4 +- docs/hierarchy.html | 2 +- docs/index.html | 580 +++- docs/modules.html | 102 +- docs/types/TpayButtonProps.html | 8 +- 111 files changed, 2814 insertions(+), 1991 deletions(-) create mode 100644 docs/assets/hierarchy.js create mode 100644 docs/assets/icons.js create mode 100644 docs/assets/icons.svg diff --git a/docs/assets/hierarchy.js b/docs/assets/hierarchy.js new file mode 100644 index 0000000..2c6ed3f --- /dev/null +++ b/docs/assets/hierarchy.js @@ -0,0 +1 @@ +window.hierarchyData = "eJyVmMtu2zAQRf+F62kr8SXKO1dou0prJGk3gResxdiCadLQA0Ua+N8LK25CK3qMVgaMe3mGM0NqpGdSel9XZPFAGQXKFdCUQiwjYDEFyRkwlYBM1RpIaR6t2dSFdxVZPJNYRucfpw+GLMhKPx2MqzPvqrrUhasJkH3hcrKIqQLSlJYsyMbqqjLVp3fij7v6YAm8CMiC1FX+4ez+8PIHkM2usHlpHFk8xDJZn4DEMgnwy4NvXD0riAHLRCgnIJTRgPzN+601K/2UefdYbJvS3JqqsaPoIc+cNFCWAOV03QaUjAZ012w2pvXPiOhiQqSDj6fjS1n6ch67tWDIqo/842jcjBq8yWelX0igUgFNJFDF2zIIORTOnAoEekQK5GAKMu02xlqTo6mvDgQ3GdzrT7d3/o/Dl71rQtAVH6J/9/VrG+F3fuVC8FPac/XttHPGVtOt12uY1XypAhaJtulSNRwKou36HdMpYJEY5k7Wvk+PYMZh2qfzPD+xLE6BUQmMMWA8AsYTYEIAkwxYEgNL0nUbSBoEcu/3xhV/9fnJmPnD0Zp6vPV6DYjtUzlA/aoL25QGy7zIEUTGAuL/E9KugWitPj2CycOx4sbnjTWZ9dV4SkMdhhE+MH9pW+RtkJN925EiSKLvmJRGT7TItRLBkaxvGEM0Y1eLYCVxDwvztOlqMazwpN2YeufzTFs7WamOFEFSYU/cbUpjnDUV4jrvamddOKkEHkngsQROJXCWAOcKuHi5aFLZG9SMlh00TaeER/30GWUYNCHocT99pYvRJrtWIjh0iIM9rEMeBJv1N93bMHJZ8XxlY4MYMCOiuZqn3xb8bIv98vC72Da+qZa20KPX/pgPEYNIx6oxo+FCB4Krwot6eTy2s+FljdHXyGspgnR1ps85QlAC2TRB0HAvWWnyos50mSM478QImhR9wzgC1tVOs2QUnpdbXT+tzF57BKurRbDizmS9wnBCHYLB2Vi3z2r0OY8drgTwVIKgAoQUIKMEZKxAivaDghThoH1falc9mhIRVEeKSEASTnt3hdta0y6i2w9NownoihE0xboTNGZTgQ7BuHohQ+4Fv4urMsokAqnY+nQ6/QOQhJg0" \ No newline at end of file diff --git a/docs/assets/highlight.css b/docs/assets/highlight.css index f40d582..27ff4af 100644 --- a/docs/assets/highlight.css +++ b/docs/assets/highlight.css @@ -7,18 +7,20 @@ --dark-hl-2: #CE9178; --light-hl-3: #0000FF; --dark-hl-3: #569CD6; - --light-hl-4: #267F99; - --dark-hl-4: #4EC9B0; - --light-hl-5: #AF00DB; - --dark-hl-5: #C586C0; - --light-hl-6: #001080; - --dark-hl-6: #9CDCFE; - --light-hl-7: #008000; - --dark-hl-7: #6A9955; - --light-hl-8: #0070C1; - --dark-hl-8: #4FC1FF; + --light-hl-4: #001080; + --dark-hl-4: #9CDCFE; + --light-hl-5: #0070C1; + --dark-hl-5: #4FC1FF; + --light-hl-6: #AF00DB; + --dark-hl-6: #CE92A4; + --light-hl-7: #267F99; + --dark-hl-7: #4EC9B0; + --light-hl-8: #0451A5; + --dark-hl-8: #9CDCFE; --light-hl-9: #098658; --dark-hl-9: #B5CEA8; + --light-hl-10: #008000; + --dark-hl-10: #6A9955; --light-code-background: #FFFFFF; --dark-code-background: #1E1E1E; } @@ -34,6 +36,7 @@ --hl-7: var(--light-hl-7); --hl-8: var(--light-hl-8); --hl-9: var(--light-hl-9); + --hl-10: var(--light-hl-10); --code-background: var(--light-code-background); } } @@ -48,6 +51,7 @@ --hl-7: var(--dark-hl-7); --hl-8: var(--dark-hl-8); --hl-9: var(--dark-hl-9); + --hl-10: var(--dark-hl-10); --code-background: var(--dark-code-background); } } @@ -62,6 +66,7 @@ --hl-7: var(--light-hl-7); --hl-8: var(--light-hl-8); --hl-9: var(--light-hl-9); + --hl-10: var(--light-hl-10); --code-background: var(--light-code-background); } @@ -76,6 +81,7 @@ --hl-7: var(--dark-hl-7); --hl-8: var(--dark-hl-8); --hl-9: var(--dark-hl-9); + --hl-10: var(--dark-hl-10); --code-background: var(--dark-code-background); } @@ -89,4 +95,5 @@ .hl-7 { color: var(--hl-7); } .hl-8 { color: var(--hl-8); } .hl-9 { color: var(--hl-9); } +.hl-10 { color: var(--hl-10); } pre, code { background: var(--code-background); } diff --git a/docs/assets/icons.js b/docs/assets/icons.js new file mode 100644 index 0000000..58882d7 --- /dev/null +++ b/docs/assets/icons.js @@ -0,0 +1,18 @@ +(function() { + addIcons(); + function addIcons() { + if (document.readyState === "loading") return document.addEventListener("DOMContentLoaded", addIcons); + const svg = document.body.appendChild(document.createElementNS("http://www.w3.org/2000/svg", "svg")); + svg.innerHTML = `MMNEPVFCICPMFPCPTTAAATR`; + svg.style.display = "none"; + if (location.protocol === "file:") updateUseElements(); + } + + function updateUseElements() { + document.querySelectorAll("use").forEach(el => { + if (el.getAttribute("href").includes("#icon-")) { + el.setAttribute("href", el.getAttribute("href").replace(/.*#/, "#")); + } + }); + } +})() \ No newline at end of file diff --git a/docs/assets/icons.svg b/docs/assets/icons.svg new file mode 100644 index 0000000..50ad579 --- /dev/null +++ b/docs/assets/icons.svg @@ -0,0 +1 @@ +MMNEPVFCICPMFPCPTTAAATR \ No newline at end of file diff --git a/docs/assets/main.js b/docs/assets/main.js index 3092fea..64b80ab 100644 --- a/docs/assets/main.js +++ b/docs/assets/main.js @@ -1,8 +1,9 @@ "use strict"; -"use strict";(()=>{var Ie=Object.create;var ne=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Oe=Object.getOwnPropertyNames;var _e=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty;var Me=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Fe=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Oe(e))!Re.call(t,i)&&i!==n&&ne(t,i,{get:()=>e[i],enumerable:!(r=Pe(e,i))||r.enumerable});return t};var De=(t,e,n)=>(n=t!=null?Ie(_e(t)):{},Fe(e||!t||!t.__esModule?ne(n,"default",{value:t,enumerable:!0}):n,t));var ae=Me((se,oe)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(n){e.console&&console.warn&&console.warn(n)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var d=t.utils.clone(n)||{};d.position=[a,u],d.index=s.length,s.push(new t.Token(r.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. -`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?d+=2:a==l&&(n+=r[u+1]*i[d+1],u+=2,d+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),v=s.str.charAt(1),f;v in s.node.edges?f=s.node.edges[v]:(f=new t.TokenSet,s.node.edges[v]=f),s.str.length==1&&(f.final=!0),i.push({node:f,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,n){typeof define=="function"&&define.amd?define(n):typeof se=="object"?oe.exports=n():e.lunr=n()}(this,function(){return t})})()});var re=[];function G(t,e){re.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureActivePageVisible(),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible())}createComponents(e){re.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r}}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(n&&n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let r=document.createElement("p");r.classList.add("warning"),r.textContent="This member is normally hidden due to your filter settings.",n.prepend(r)}}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let n;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent="Copied!",e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent="Copy"},100)},1e3)})})}};var ie=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var de=De(ae());async function le(t,e){if(!window.searchData)return;let n=await fetch(window.searchData),r=new Blob([await n.arrayBuffer()]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();t.data=i,t.index=de.Index.load(i.index),e.classList.remove("loading"),e.classList.add("ready")}function he(){let t=document.getElementById("tsd-search");if(!t)return;let e={base:t.dataset.base+"/"},n=document.getElementById("tsd-search-script");t.classList.add("loading"),n&&(n.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),n.addEventListener("load",()=>{le(e,t)}),le(e,t));let r=document.querySelector("#tsd-search input"),i=document.querySelector("#tsd-search .results");if(!r||!i)throw new Error("The input field or the result list wrapper was not found");let s=!1;i.addEventListener("mousedown",()=>s=!0),i.addEventListener("mouseup",()=>{s=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{s||(s=!1,t.classList.remove("has-focus"))}),Ae(t,i,r,e)}function Ae(t,e,n,r){n.addEventListener("input",ie(()=>{Ne(t,e,n,r)},200));let i=!1;n.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Ve(e,n):s.key=="Escape"?n.blur():s.key=="ArrowUp"?ue(e,-1):s.key==="ArrowDown"?ue(e,1):i=!1}),n.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!n.matches(":focus")&&s.key==="/"&&(n.focus(),s.preventDefault())})}function Ne(t,e,n,r){if(!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s;if(i){let o=i.split(" ").map(a=>a.length?`*${a}*`:"").join(" ");s=r.index.search(o)}else s=[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o`,d=ce(l.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(d+=` (score: ${s[o].score.toFixed(2)})`),l.parent&&(d=` - ${ce(l.parent,i)}.${d}`);let v=document.createElement("li");v.classList.value=l.classes??"";let f=document.createElement("a");f.href=r.base+l.url,f.innerHTML=u+d,v.append(f),e.appendChild(v)}}function ue(t,e){let n=t.querySelector(".current");if(!n)n=t.querySelector(e==1?"li:first-child":"li:last-child"),n&&n.classList.add("current");else{let r=n;if(e===1)do r=r.nextElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);else do r=r.previousElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);r&&(n.classList.remove("current"),r.classList.add("current"))}}function Ve(t,e){let n=t.querySelector(".current");if(n||(n=t.querySelector("li:first-child")),n){let r=n.querySelector("a");r&&(window.location.href=r.href),e.blur()}}function ce(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(K(t.substring(s,o)),`${K(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(K(t.substring(s))),i.join("")}var He={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>He[e])}var C=class{constructor(e){this.el=e.el,this.app=e.app}};var F="mousedown",pe="mousemove",H="mouseup",J={x:0,y:0},fe=!1,ee=!1,Be=!1,D=!1,me=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(me?"is-mobile":"not-mobile");me&&"ontouchstart"in document.documentElement&&(Be=!0,F="touchstart",pe="touchmove",H="touchend");document.addEventListener(F,t=>{ee=!0,D=!1;let e=F=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(pe,t=>{if(ee&&!D){let e=F=="touchstart"?t.targetTouches[0]:t,n=J.x-(e.pageX||0),r=J.y-(e.pageY||0);D=Math.sqrt(n*n+r*r)>10}});document.addEventListener(H,()=>{ee=!1});document.addEventListener("click",t=>{fe&&(t.preventDefault(),t.stopImmediatePropagation(),fe=!1)});var X=class extends C{constructor(e){super(e),this.className=this.el.dataset.toggle||"",this.el.addEventListener(H,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(F,n=>this.onDocumentPointerDown(n)),document.addEventListener(H,n=>this.onDocumentPointerUp(n))}setActive(e){if(this.active==e)return;this.active=e,document.documentElement.classList.toggle("has-"+this.className,e),this.el.classList.toggle("active",e);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(e){D||(this.setActive(!0),e.preventDefault())}onDocumentPointerDown(e){if(this.active){if(e.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(e){if(!D&&this.active&&e.target.closest(".col-sidebar")){let n=e.target.closest("a");if(n){let r=window.location.href;r.indexOf("#")!=-1&&(r=r.substring(0,r.indexOf("#"))),n.href.substring(0,r.length)==r&&setTimeout(()=>this.setActive(!1),250)}}}};var te;try{te=localStorage}catch{te={getItem(){return null},setItem(){}}}var Q=te;var ve=document.head.appendChild(document.createElement("style"));ve.dataset.for="filters";var Y=class extends C{constructor(e){super(e),this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),ve.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } -`,this.updateIndexHeadingVisibility()}fromLocalStorage(){let e=Q.getItem(this.key);return e?e==="true":this.el.checked}setLocalStorage(e){Q.setItem(this.key,e.toString()),this.value=e,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),this.updateIndexHeadingVisibility()}updateIndexHeadingVisibility(){let e=document.querySelector(".tsd-index-content"),n=e?.open;e&&(e.open=!0),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let i=Array.from(r.querySelectorAll(".tsd-index-link")).every(s=>s.offsetParent==null);r.style.display=i?"none":"block"}),e&&(e.open=n)}};var Z=class extends C{constructor(e){super(e),this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let n=Q.getItem(this.key);this.el.open=n?n==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update());let r=this.summary.querySelector("a");r&&r.addEventListener("click",()=>{location.assign(r.href)}),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function ge(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,ye(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),ye(t.value)})}function ye(t){document.documentElement.dataset.theme=t}var Le;function be(){let t=document.getElementById("tsd-nav-script");t&&(t.addEventListener("load",xe),xe())}async function xe(){let t=document.getElementById("tsd-nav-container");if(!t||!window.navigationData)return;let n=await(await fetch(window.navigationData)).arrayBuffer(),r=new Blob([n]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();Le=t.dataset.base+"/",t.innerHTML="";for(let s of i)we(s,t,[]);window.app.createComponents(t),window.app.ensureActivePageVisible()}function we(t,e,n){let r=e.appendChild(document.createElement("li"));if(t.children){let i=[...n,t.text],s=r.appendChild(document.createElement("details"));s.className=t.class?`${t.class} tsd-index-accordion`:"tsd-index-accordion",s.dataset.key=i.join("$");let o=s.appendChild(document.createElement("summary"));o.className="tsd-accordion-summary",o.innerHTML='',Ee(t,o);let a=s.appendChild(document.createElement("div"));a.className="tsd-accordion-details";let l=a.appendChild(document.createElement("ul"));l.className="tsd-nested-navigation";for(let u of t.children)we(u,l,i)}else Ee(t,r,t.class)}function Ee(t,e,n){if(t.path){let r=e.appendChild(document.createElement("a"));r.href=Le+t.path,n&&(r.className=n),location.href===r.href&&r.classList.add("current"),t.kind&&(r.innerHTML=``),r.appendChild(document.createElement("span")).textContent=t.text}else e.appendChild(document.createElement("span")).textContent=t.text}G(X,"a[data-toggle]");G(Z,".tsd-index-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var Se=document.getElementById("tsd-theme");Se&&ge(Se);var je=new U;Object.defineProperty(window,"app",{value:je});he();be();})(); +window.translations={"copy":"Copy","copied":"Copied!","normally_hidden":"This member is normally hidden due to your filter settings.","hierarchy_expand":"Expand","hierarchy_collapse":"Collapse","folder":"Folder","search_index_not_available":"The search index is not available","search_no_results_found_for_0":"No results found for {0}","kind_1":"Project","kind_2":"Module","kind_4":"Namespace","kind_8":"Enumeration","kind_16":"Enumeration Member","kind_32":"Variable","kind_64":"Function","kind_128":"Class","kind_256":"Interface","kind_512":"Constructor","kind_1024":"Property","kind_2048":"Method","kind_4096":"Call Signature","kind_8192":"Index Signature","kind_16384":"Constructor Signature","kind_32768":"Parameter","kind_65536":"Type Literal","kind_131072":"Type Parameter","kind_262144":"Accessor","kind_524288":"Get Signature","kind_1048576":"Set Signature","kind_2097152":"Type Alias","kind_4194304":"Reference","kind_8388608":"Document"}; +"use strict";(()=>{var Ke=Object.create;var he=Object.defineProperty;var Ge=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var Xe=Object.getPrototypeOf,Ye=Object.prototype.hasOwnProperty;var et=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var tt=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ze(e))!Ye.call(t,i)&&i!==n&&he(t,i,{get:()=>e[i],enumerable:!(r=Ge(e,i))||r.enumerable});return t};var nt=(t,e,n)=>(n=t!=null?Ke(Xe(t)):{},tt(e||!t||!t.__esModule?he(n,"default",{value:t,enumerable:!0}):n,t));var ye=et((me,ge)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=(function(e){return function(n){e.console&&console.warn&&console.warn(n)}})(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var d=t.utils.clone(n)||{};d.position=[a,l],d.index=s.length,s.push(new t.Token(r.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(oc?d+=2:a==c&&(n+=r[l+1]*i[d+1],l+=2,d+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var c=s.node.edges["*"];else{var c=new t.TokenSet;s.node.edges["*"]=c}if(s.str.length==0&&(c.final=!0),i.push({node:c,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}s.str.length==1&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),f=s.str.charAt(1),p;f in s.node.edges?p=s.node.edges[f]:(p=new t.TokenSet,s.node.edges[f]=p),s.str.length==1&&(p.final=!0),i.push({node:p,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),c=0;c1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},(function(e,n){typeof define=="function"&&define.amd?define(n):typeof me=="object"?ge.exports=n():e.lunr=n()})(this,function(){return t})})()});var M,G={getItem(){return null},setItem(){}},K;try{K=localStorage,M=K}catch{K=G,M=G}var S={getItem:t=>M.getItem(t),setItem:(t,e)=>M.setItem(t,e),disableWritingLocalStorage(){M=G},disable(){localStorage.clear(),M=G},enable(){M=K}};window.TypeDoc||={disableWritingLocalStorage(){S.disableWritingLocalStorage()},disableLocalStorage:()=>{S.disable()},enableLocalStorage:()=>{S.enable()}};window.translations||={copy:"Copy",copied:"Copied!",normally_hidden:"This member is normally hidden due to your filter settings.",hierarchy_expand:"Expand",hierarchy_collapse:"Collapse",search_index_not_available:"The search index is not available",search_no_results_found_for_0:"No results found for {0}",folder:"Folder",kind_1:"Project",kind_2:"Module",kind_4:"Namespace",kind_8:"Enumeration",kind_16:"Enumeration Member",kind_32:"Variable",kind_64:"Function",kind_128:"Class",kind_256:"Interface",kind_512:"Constructor",kind_1024:"Property",kind_2048:"Method",kind_4096:"Call Signature",kind_8192:"Index Signature",kind_16384:"Constructor Signature",kind_32768:"Parameter",kind_65536:"Type Literal",kind_131072:"Type Parameter",kind_262144:"Accessor",kind_524288:"Get Signature",kind_1048576:"Set Signature",kind_2097152:"Type Alias",kind_4194304:"Reference",kind_8388608:"Document"};var pe=[];function X(t,e){pe.push({selector:e,constructor:t})}var Z=class{alwaysVisibleMember=null;constructor(){this.createComponents(document.body),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible()),document.body.style.display||(this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}createComponents(e){pe.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}showPage(){document.body.style.display&&(document.body.style.removeProperty("display"),this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}scrollToHash(){if(location.hash){let e=document.getElementById(location.hash.substring(1));if(!e)return;e.scrollIntoView({behavior:"instant",block:"start"})}}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e&&!rt(e)){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r,document.querySelector(".col-sidebar").scrollTop=r}}updateIndexVisibility(){let e=document.querySelector(".tsd-index-content"),n=e?.open;e&&(e.open=!0),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let i=Array.from(r.querySelectorAll(".tsd-index-link")).every(s=>s.offsetParent==null);r.style.display=i?"none":"block"}),e&&(e.open=n)}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(!n)return;let r=n.offsetParent==null,i=n;for(;i!==document.body;)i instanceof HTMLDetailsElement&&(i.open=!0),i=i.parentElement;if(n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let s=document.createElement("p");s.classList.add("warning"),s.textContent=window.translations.normally_hidden,n.prepend(s)}r&&e.scrollIntoView()}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let n;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent=window.translations.copied,e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent=window.translations.copy},100)},1e3)})})}};function rt(t){let e=t.getBoundingClientRect(),n=Math.max(document.documentElement.clientHeight,window.innerHeight);return!(e.bottom<0||e.top-n>=0)}var fe=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var Ie=nt(ye(),1);async function R(t){let e=Uint8Array.from(atob(t),s=>s.charCodeAt(0)),r=new Blob([e]).stream().pipeThrough(new DecompressionStream("deflate")),i=await new Response(r).text();return JSON.parse(i)}var Y="closing",ae="tsd-overlay";function it(){let t=Math.abs(window.innerWidth-document.documentElement.clientWidth);document.body.style.overflow="hidden",document.body.style.paddingRight=`${t}px`}function st(){document.body.style.removeProperty("overflow"),document.body.style.removeProperty("padding-right")}function xe(t,e){t.addEventListener("animationend",()=>{t.classList.contains(Y)&&(t.classList.remove(Y),document.getElementById(ae)?.remove(),t.close(),st())}),t.addEventListener("cancel",n=>{n.preventDefault(),ve(t)}),e?.closeOnClick&&document.addEventListener("click",n=>{t.open&&!t.contains(n.target)&&ve(t)},!0)}function Ee(t){if(t.open)return;let e=document.createElement("div");e.id=ae,document.body.appendChild(e),t.showModal(),it()}function ve(t){if(!t.open)return;document.getElementById(ae)?.classList.add(Y),t.classList.add(Y)}var I=class{el;app;constructor(e){this.el=e.el,this.app=e.app}};var be=document.head.appendChild(document.createElement("style"));be.dataset.for="filters";var le={};function we(t){for(let e of t.split(/\s+/))if(le.hasOwnProperty(e)&&!le[e])return!0;return!1}var ee=class extends I{key;value;constructor(e){super(e),this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),be.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`,this.app.updateIndexVisibility()}fromLocalStorage(){let e=S.getItem(this.key);return e?e==="true":this.el.checked}setLocalStorage(e){S.setItem(this.key,e.toString()),this.value=e,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),le[`tsd-is-${this.el.name}`]=this.value,this.app.filterChanged(),this.app.updateIndexVisibility()}};var Le=0;async function Se(t,e){if(!window.searchData)return;let n=await R(window.searchData);t.data=n,t.index=Ie.Index.load(n.index),e.innerHTML=""}function _e(){let t=document.getElementById("tsd-search-trigger"),e=document.getElementById("tsd-search"),n=document.getElementById("tsd-search-input"),r=document.getElementById("tsd-search-results"),i=document.getElementById("tsd-search-script"),s=document.getElementById("tsd-search-status");if(!(t&&e&&n&&r&&i&&s))throw new Error("Search controls missing");let o={base:document.documentElement.dataset.base};o.base.endsWith("/")||(o.base+="/"),i.addEventListener("error",()=>{let a=window.translations.search_index_not_available;Pe(s,a)}),i.addEventListener("load",()=>{Se(o,s)}),Se(o,s),ot({trigger:t,searchEl:e,results:r,field:n,status:s},o)}function ot(t,e){let{field:n,results:r,searchEl:i,status:s,trigger:o}=t;xe(i,{closeOnClick:!0});function a(){Ee(i),n.setSelectionRange(0,n.value.length)}o.addEventListener("click",a),n.addEventListener("input",fe(()=>{at(r,n,s,e)},200)),n.addEventListener("keydown",l=>{if(r.childElementCount===0||l.ctrlKey||l.metaKey||l.altKey)return;let d=n.getAttribute("aria-activedescendant"),f=d?document.getElementById(d):null;if(f){let p=!1,v=!1;switch(l.key){case"Home":case"End":case"ArrowLeft":case"ArrowRight":v=!0;break;case"ArrowDown":case"ArrowUp":p=l.shiftKey;break}(p||v)&&ke(n)}if(!l.shiftKey)switch(l.key){case"Enter":f?.querySelector("a")?.click();break;case"ArrowUp":Te(r,n,f,-1),l.preventDefault();break;case"ArrowDown":Te(r,n,f,1),l.preventDefault();break}});function c(){ke(n)}n.addEventListener("change",c),n.addEventListener("blur",c),n.addEventListener("click",c),document.body.addEventListener("keydown",l=>{if(l.altKey||l.metaKey||l.shiftKey)return;let d=l.ctrlKey&&l.key==="k",f=!l.ctrlKey&&!ut()&&l.key==="/";(d||f)&&(l.preventDefault(),a())})}function at(t,e,n,r){if(!r.index||!r.data)return;t.innerHTML="",n.innerHTML="",Le+=1;let i=e.value.trim(),s;if(i){let a=i.split(" ").map(c=>c.length?`*${c}*`:"").join(" ");s=r.index.search(a).filter(({ref:c})=>{let l=r.data.rows[Number(c)].classes;return!l||!we(l)})}else s=[];if(s.length===0&&i){let a=window.translations.search_no_results_found_for_0.replace("{0}",` "${te(i)}" `);Pe(n,a);return}for(let a=0;ac.score-a.score);let o=Math.min(10,s.length);for(let a=0;a`,f=Ce(c.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(f+=` (score: ${s[a].score.toFixed(2)})`),c.parent&&(f=` + ${Ce(c.parent,i)}.${f}`);let p=document.createElement("li");p.id=`tsd-search:${Le}-${a}`,p.role="option",p.ariaSelected="false",p.classList.value=c.classes??"";let v=document.createElement("a");v.tabIndex=-1,v.href=r.base+c.url,v.innerHTML=d+`${f}`,p.append(v),t.appendChild(p)}}function Te(t,e,n,r){let i;if(r===1?i=n?.nextElementSibling||t.firstElementChild:i=n?.previousElementSibling||t.lastElementChild,i!==n){if(!i||i.role!=="option"){console.error("Option missing");return}i.ariaSelected="true",i.scrollIntoView({behavior:"smooth",block:"nearest"}),e.setAttribute("aria-activedescendant",i.id),n?.setAttribute("aria-selected","false")}}function ke(t){let e=t.getAttribute("aria-activedescendant");(e?document.getElementById(e):null)?.setAttribute("aria-selected","false"),t.setAttribute("aria-activedescendant","")}function Ce(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(te(t.substring(s,o)),`${te(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(te(t.substring(s))),i.join("")}var lt={"&":"&","<":"<",">":">","'":"'",'"':"""};function te(t){return t.replace(/[&<>"'"]/g,e=>lt[e])}function Pe(t,e){t.innerHTML=e?`
${e}
`:""}var ct=["button","checkbox","file","hidden","image","radio","range","reset","submit"];function ut(){let t=document.activeElement;return t?t.isContentEditable||t.tagName==="TEXTAREA"||t.tagName==="SEARCH"?!0:t.tagName==="INPUT"&&!ct.includes(t.type):!1}var D="mousedown",Me="mousemove",$="mouseup",ne={x:0,y:0},Qe=!1,ce=!1,dt=!1,F=!1,Oe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(Oe?"is-mobile":"not-mobile");Oe&&"ontouchstart"in document.documentElement&&(dt=!0,D="touchstart",Me="touchmove",$="touchend");document.addEventListener(D,t=>{ce=!0,F=!1;let e=D=="touchstart"?t.targetTouches[0]:t;ne.y=e.pageY||0,ne.x=e.pageX||0});document.addEventListener(Me,t=>{if(ce&&!F){let e=D=="touchstart"?t.targetTouches[0]:t,n=ne.x-(e.pageX||0),r=ne.y-(e.pageY||0);F=Math.sqrt(n*n+r*r)>10}});document.addEventListener($,()=>{ce=!1});document.addEventListener("click",t=>{Qe&&(t.preventDefault(),t.stopImmediatePropagation(),Qe=!1)});var re=class extends I{active;className;constructor(e){super(e),this.className=this.el.dataset.toggle||"",this.el.addEventListener($,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(D,n=>this.onDocumentPointerDown(n)),document.addEventListener($,n=>this.onDocumentPointerUp(n))}setActive(e){if(this.active==e)return;this.active=e,document.documentElement.classList.toggle("has-"+this.className,e),this.el.classList.toggle("active",e);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(e){F||(this.setActive(!0),e.preventDefault())}onDocumentPointerDown(e){if(this.active){if(e.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(e){if(!F&&this.active&&e.target.closest(".col-sidebar")){let n=e.target.closest("a");if(n){let r=window.location.href;r.indexOf("#")!=-1&&(r=r.substring(0,r.indexOf("#"))),n.href.substring(0,r.length)==r&&setTimeout(()=>this.setActive(!1),250)}}}};var ue=new Map,de=class{open;accordions=[];key;constructor(e,n){this.key=e,this.open=n}add(e){this.accordions.push(e),e.open=this.open,e.addEventListener("toggle",()=>{this.toggle(e.open)})}toggle(e){for(let n of this.accordions)n.open=e;S.setItem(this.key,e.toString())}},ie=class extends I{constructor(e){super(e);let n=this.el.querySelector("summary"),r=n.querySelector("a");r&&r.addEventListener("click",()=>{location.assign(r.href)});let i=`tsd-accordion-${n.dataset.key??n.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`,s;if(ue.has(i))s=ue.get(i);else{let o=S.getItem(i),a=o?o==="true":this.el.open;s=new de(i,a),ue.set(i,s)}s.add(this.el)}};function He(t){let e=S.getItem("tsd-theme")||"os";t.value=e,Ae(e),t.addEventListener("change",()=>{S.setItem("tsd-theme",t.value),Ae(t.value)})}function Ae(t){document.documentElement.dataset.theme=t}var se;function Ne(){let t=document.getElementById("tsd-nav-script");t&&(t.addEventListener("load",Re),Re())}async function Re(){let t=document.getElementById("tsd-nav-container");if(!t||!window.navigationData)return;let e=await R(window.navigationData);se=document.documentElement.dataset.base,se.endsWith("/")||(se+="/"),t.innerHTML="";for(let n of e)Be(n,t,[]);window.app.createComponents(t),window.app.showPage(),window.app.ensureActivePageVisible()}function Be(t,e,n){let r=e.appendChild(document.createElement("li"));if(t.children){let i=[...n,t.text],s=r.appendChild(document.createElement("details"));s.className=t.class?`${t.class} tsd-accordion`:"tsd-accordion";let o=s.appendChild(document.createElement("summary"));o.className="tsd-accordion-summary",o.dataset.key=i.join("$"),o.innerHTML='',De(t,o);let a=s.appendChild(document.createElement("div"));a.className="tsd-accordion-details";let c=a.appendChild(document.createElement("ul"));c.className="tsd-nested-navigation";for(let l of t.children)Be(l,c,i)}else De(t,r,t.class)}function De(t,e,n){if(t.path){let r=e.appendChild(document.createElement("a"));if(r.href=se+t.path,n&&(r.className=n),location.pathname===r.pathname&&!r.href.includes("#")&&(r.classList.add("current"),r.ariaCurrent="page"),t.kind){let i=window.translations[`kind_${t.kind}`].replaceAll('"',""");r.innerHTML=``}r.appendChild(Fe(t.text,document.createElement("span")))}else{let r=e.appendChild(document.createElement("span")),i=window.translations.folder.replaceAll('"',""");r.innerHTML=``,r.appendChild(Fe(t.text,document.createElement("span")))}}function Fe(t,e){let n=t.split(/(?<=[^A-Z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])|(?<=[_-])(?=[^_-])/);for(let r=0;r{let i=r.target;for(;i.parentElement&&i.parentElement.tagName!="LI";)i=i.parentElement;i.dataset.dropdown&&(i.dataset.dropdown=String(i.dataset.dropdown!=="true"))});let t=new Map,e=new Set;for(let r of document.querySelectorAll(".tsd-full-hierarchy [data-refl]")){let i=r.querySelector("ul");t.has(r.dataset.refl)?e.add(r.dataset.refl):i&&t.set(r.dataset.refl,i)}for(let r of e)n(r);function n(r){let i=t.get(r).cloneNode(!0);i.querySelectorAll("[id]").forEach(s=>{s.removeAttribute("id")}),i.querySelectorAll("[data-dropdown]").forEach(s=>{s.dataset.dropdown="false"});for(let s of document.querySelectorAll(`[data-refl="${r}"]`)){let o=gt(),a=s.querySelector("ul");s.insertBefore(o,a),o.dataset.dropdown=String(!!a),a||s.appendChild(i.cloneNode(!0))}}}function pt(){let t=document.getElementById("tsd-hierarchy-script");t&&(t.addEventListener("load",Ve),Ve())}async function Ve(){let t=document.querySelector(".tsd-panel.tsd-hierarchy:has(h4 a)");if(!t||!window.hierarchyData)return;let e=+t.dataset.refl,n=await R(window.hierarchyData),r=t.querySelector("ul"),i=document.createElement("ul");if(i.classList.add("tsd-hierarchy"),ft(i,n,e),r.querySelectorAll("li").length==i.querySelectorAll("li").length)return;let s=document.createElement("span");s.classList.add("tsd-hierarchy-toggle"),s.textContent=window.translations.hierarchy_expand,t.querySelector("h4 a")?.insertAdjacentElement("afterend",s),s.insertAdjacentText("beforebegin",", "),s.addEventListener("click",()=>{s.textContent===window.translations.hierarchy_expand?(r.insertAdjacentElement("afterend",i),r.remove(),s.textContent=window.translations.hierarchy_collapse):(i.insertAdjacentElement("afterend",r),i.remove(),s.textContent=window.translations.hierarchy_expand)})}function ft(t,e,n){let r=e.roots.filter(i=>mt(e,i,n));for(let i of r)t.appendChild(je(e,i,n))}function je(t,e,n,r=new Set){if(r.has(e))return;r.add(e);let i=t.reflections[e],s=document.createElement("li");if(s.classList.add("tsd-hierarchy-item"),e===n){let o=s.appendChild(document.createElement("span"));o.textContent=i.name,o.classList.add("tsd-hierarchy-target")}else{for(let a of i.uniqueNameParents||[]){let c=t.reflections[a],l=s.appendChild(document.createElement("a"));l.textContent=c.name,l.href=oe+c.url,l.className=c.class+" tsd-signature-type",s.append(document.createTextNode("."))}let o=s.appendChild(document.createElement("a"));o.textContent=t.reflections[e].name,o.href=oe+i.url,o.className=i.class+" tsd-signature-type"}if(i.children){let o=s.appendChild(document.createElement("ul"));o.classList.add("tsd-hierarchy");for(let a of i.children){let c=je(t,a,n,r);c&&o.appendChild(c)}}return r.delete(e),s}function mt(t,e,n){if(e===n)return!0;let r=new Set,i=[t.reflections[e]];for(;i.length;){let s=i.pop();if(!r.has(s)){r.add(s);for(let o of s.children||[]){if(o===n)return!0;i.push(t.reflections[o])}}}return!1}function gt(){let t=document.createElementNS("http://www.w3.org/2000/svg","svg");return t.setAttribute("width","20"),t.setAttribute("height","20"),t.setAttribute("viewBox","0 0 24 24"),t.setAttribute("fill","none"),t.innerHTML='',t}X(re,"a[data-toggle]");X(ie,".tsd-accordion");X(ee,".tsd-filter-item input[type=checkbox]");var qe=document.getElementById("tsd-theme");qe&&He(qe);var yt=new Z;Object.defineProperty(window,"app",{value:yt});_e();Ne();$e();"virtualKeyboard"in navigator&&(navigator.virtualKeyboard.overlaysContent=!0);})(); /*! Bundled license information: lunr/lunr.js: diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index c3bbea3..126b139 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAE5WZTW/bOBCG/4vOQT+CdtvNLXHSoti2azTJ7qHogZEmMmGaVEkqW3fR/15YtmVRmhmOjsn7zjPU8Jv++n8R4UcsLoqFh0rHhfLVlVe2Ks6KRsVVcVGAbTfh+Uh+toobU5wVa22r4uLtr7Oec61rHZX5VxkDcUxJRJrxzsP3Fmy5Hcf3Ah373rnawFJtb+yT9s5uwE6agXlo4gcbojJmZ1qqLcabOmjaR2XrVtUwZhz/T0ce0AtnQ/RK23i3bSYY1JRlfoK4cpM+T0SacdewxR7JNOeyqjyEcIovjQoBwvODkEa+PE9iNw+6bl0bLo1WGCLRRaQro9eT/p7wBi6e6tp+cJw6BwOjRpbdNN1gXjj7qOvWq6idRciYTcKli5AaWFYb3UZFXSZjCuso3Mixd11AdHsv5eLJbxT270IZ86DKNdKGXmLjwUf9qEsVYamt1bbO9GYmgM01NN62ZYlOOszFUvsNAm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RwrOwsWjP3jLxKZaiGmXP1v2xidXXvXjDaeuG9OtR/JKenqx99+efX6akQrzxvGwHlubVfwcNmLKeXnnzBAepVlcamVgdcQb16UNuqps4/Pr1gCxs4k0aFvTx+N0TEfg3UN2D4A4yUGBhT6VXf4eeD9u99nY30g8xGyVNQrPZqFe7EnEog/YWnLmRdaDJ95rSWS0E9GWA7++YhIgZ/dMTx9jifQ9IEew/OHeyIFuSJjGdjVOU0Qle86C9/LRnDMmAPneHlMPO3F6U49YMY6gxkWcQwyqDPEl++K0ggB" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js index 600101c..41fec4e 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAE7VdXZPcNq79Lz2vs94mqU+/JU52N7V7c12Jd+/DVGpL7pbHKmvUHbXaziSV/36LlKgGIYCiNPJTJm4SAHlAEDyEpD927enLZff64Y/dp6o57l4n0f2uKZ7K3evd4dR8qB6vbbm7313bevd69+HaHLrq1Fz+Ov726mP3VO/ud4e6uFzKy+71bvfnPSHs0hVt97Z4fiqbjpAHfw4V2Z0+lU31e/mmaI+ESPjzIit1h3e684y5uF2wkkNblk1dXi7f/uuHf3qUUO2WK/nm6X31eD1dg7VRHZarfdcWzeVD2YZoRG2XK/up6J7flp+KU4g23Hi5urfF89sgVbDhcjVv2vJYGTcL0TVpvVzh30+nx7rURgfow41XeOb5HKwNtQ1VNsap0dp/d1V98UU0t2Woouo2H998Lqq6eF9TcZNqFqridC6bsTch2/k9VOhj2Y2GDHP75mPRNCU5SZ7WXoXZqO9fRfN4LR5vc1M216fLX+0/e6WIZBRzrn0C7s5Ixv3uXLTaxYABpNyy8co1P4fLldNx32Z1EDNq8M9gLCR06kvXXg/dqZ2Rduc29Vt+gabv5c1Hzm35oWzb8jgBj9FKdVip+3I9n09tdxM1N4F3ZI8F2iFop0NRV7+Xx5+7tmoep5rd37cBkJAZBiMylpnQmsWQU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9/9wioRfhRcFIJlG2wkA73RHuwe22yFnK3xE9lY2WZ/snVjciwM34/8J7uch/3A2dzgbsvSCZ6dRMCTiGLP1RM+BgQgy3SwVPtwgew4PCSW2AxqEnAh68ySSb79zinnYOPd56K+uidjJ94OGLKnxc/VpXAGC72D3Sf6iil2hcDN1hZssixjL8slbyA9KbkF8qUsP+HCMngySLgt8rksUB08PG7FXOalu+FTNQzEdBT/5X53rs5lXTXl7vXDL3/++f/jmAM7oRIBAA=="; \ No newline at end of file +window.searchData = "eJy1nV+z2zaS9r/L8e1Zj4CGJDJ3M87s7NTuzpuayexeuFJv0RJ9zLKOpFCSE08q332LoEABjQdgk5KvcmKR3U3iQePPDwB/e2oPv5yevnv/29PnZr99+q54ftpXr/XTd0/v2nrbnN9V7fZPbbXfPj0/Xdrd03dP9f7yevoD+/Xtp/Pr7un5abOrTqf69PTd09Pvz86mWg1GX6vTuW43VSux9ya42jP9/HSs2np/BlFCr5f95/3hl73E5e3SO/x9aU6VxNn1uqmebmX0ffPSnKvd/1a7XX1mHoPfpOVTHY+7+ofq66itN/bKo70Sxx/GBr29HA4vQnf9pXP83d7Wv7f1z5d6v+Huhn+XvqVt1ezyRt64S3Cst0hwLTnsz5/GPNwumuXj50vVnut2zIt/2Sw/v9T15zEnwzWzPHytq9HHGK6Re7jp5i9Opn/ef2naw/61uyl0hy6RqunYHraXzbk58ASVNPomuAU/Egwa+j/XJ/HjvLlePMvn7Y3+dX86V7td9/sP1VfwPuMLxG+z+vrDQWbtzbH6ejwknwYECT221fnrD/XnSuq1u/54vX6G59tb/K9q/3KpXmrm1/2z9I3VXHeBgTd1WmNDALgkdlm7x90Uu7envr6Rd4f96dxWzf7849cjfwXwGnEb+Hq4RIJMW3wzXI8fBsebebL/rs+fDrx/FPwmfZIPu+bzqJ0316uy0V9jgl5Abw54yfbiBF7ObbU/fazbcU/eldO83Urix2Mu2bNf787zyJ4kxfMooddTtd9+OPwqcXm7dLI/fXt3f9xu2/p0Ghxebf3h+u/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0eSiSvbdfDRshADzZjbbOPmr8Y1wV4tnOs7f/n4yEsLRm8FzW+1PH+sWhuovuxBuCrhZ/lLtmq1ttkCx+QlNuGTt9Olw2W1PVdhE+/NRaiG01OxfdrV98iruuflNNa1lzerpXLW31X7wXfpgUDhQt1aRsdKfNlsJ24N+giNanORXoIVQPZfj8dBtnkwQPR/LCF/guT4xVfsrCGQm+EJL/y0pt/JYuWld5RZvK7fgWLn9W8oNMY1wPtu6RjjN3+9Bwk1nvjE8jeQPBKiUFb9vtWup+ep+f5sACVeDXW3WES8tg02PskrpjG0jaz5aMsL1c4G1cALJe3krWZOZrNSrABfIcnlXoT9czmemFH99jxHOkt1MHdvDkS2Z8zt3winRc255m/L3phhpnUwv6Qq2GcnallTG9lcvG+G8hGcr7FSZAEn0dzsKoBfDituBCbk/lsOU47DvwE1UOeJA2s09DhtKzLDk1M1huSREbrMDrYc9BY5BLK53GRJq7trIB+/fn4mfZgZVBX8xqZHaY/PO/lJitxbXbedQw7ITN1mo3J4N5TZLKEeOlduzoRwwVquBNzvq49aGaxp4s7vGNQ3azT5qtyJYD3t8B3LspjzJ7XshB5aIBp40gGenABcPDbvQ3eYgGpZJuI0rRghKrsvxglL2Cllmg/UP/JU/Wljrcz0/f3OGIVle+lLtLoFQ/MHEaliOJDTWnKpgKtJr90QG+s0B6Ty58GezyqGmyvpBvXE2ie8XgfApf6nrz2yyLlieLDLyta7Cpch+h0rJ9NTZYIH4U7UCIz89Px2bY71r9vXTd+9/+v33/wO+/wy+"; \ No newline at end of file diff --git a/docs/assets/style.css b/docs/assets/style.css index 98a4377..5ba5a2a 100644 --- a/docs/assets/style.css +++ b/docs/assets/style.css @@ -1,99 +1,288 @@ -:root { - /* Light */ - --light-color-background: #f2f4f8; - --light-color-background-secondary: #eff0f1; - --light-color-warning-text: #222; - --light-color-background-warning: #e6e600; - --light-color-icon-background: var(--light-color-background); - --light-color-accent: #c5c7c9; - --light-color-active-menu-item: var(--light-color-accent); - --light-color-text: #222; - --light-color-text-aside: #6e6e6e; - --light-color-link: #1f70c2; - - --light-color-ts-keyword: #056bd6; - --light-color-ts-project: #b111c9; - --light-color-ts-module: var(--light-color-ts-project); - --light-color-ts-namespace: var(--light-color-ts-project); - --light-color-ts-enum: #7e6f15; - --light-color-ts-enum-member: var(--light-color-ts-enum); - --light-color-ts-variable: #4760ec; - --light-color-ts-function: #572be7; - --light-color-ts-class: #1f70c2; - --light-color-ts-interface: #108024; - --light-color-ts-constructor: var(--light-color-ts-class); - --light-color-ts-property: var(--light-color-ts-variable); - --light-color-ts-method: var(--light-color-ts-function); - --light-color-ts-call-signature: var(--light-color-ts-method); - --light-color-ts-index-signature: var(--light-color-ts-property); - --light-color-ts-constructor-signature: var(--light-color-ts-constructor); - --light-color-ts-parameter: var(--light-color-ts-variable); - /* type literal not included as links will never be generated to it */ - --light-color-ts-type-parameter: #a55c0e; - --light-color-ts-accessor: var(--light-color-ts-property); - --light-color-ts-get-signature: var(--light-color-ts-accessor); - --light-color-ts-set-signature: var(--light-color-ts-accessor); - --light-color-ts-type-alias: #d51270; - /* reference not included as links will be colored with the kind that it points to */ - - --light-external-icon: url("data:image/svg+xml;utf8,"); - --light-color-scheme: light; - - /* Dark */ - --dark-color-background: #2b2e33; - --dark-color-background-secondary: #1e2024; - --dark-color-background-warning: #bebe00; - --dark-color-warning-text: #222; - --dark-color-icon-background: var(--dark-color-background-secondary); - --dark-color-accent: #9096a2; - --dark-color-active-menu-item: #5d5d6a; - --dark-color-text: #f5f5f5; - --dark-color-text-aside: #dddddd; - --dark-color-link: #00aff4; - - --dark-color-ts-keyword: #3399ff; - --dark-color-ts-project: #e358ff; - --dark-color-ts-module: var(--dark-color-ts-project); - --dark-color-ts-namespace: var(--dark-color-ts-project); - --dark-color-ts-enum: #f4d93e; - --dark-color-ts-enum-member: var(--dark-color-ts-enum); - --dark-color-ts-variable: #798dff; - --dark-color-ts-function: #a280ff; - --dark-color-ts-class: #8ac4ff; - --dark-color-ts-interface: #6cff87; - --dark-color-ts-constructor: var(--dark-color-ts-class); - --dark-color-ts-property: var(--dark-color-ts-variable); - --dark-color-ts-method: var(--dark-color-ts-function); - --dark-color-ts-call-signature: var(--dark-color-ts-method); - --dark-color-ts-index-signature: var(--dark-color-ts-property); - --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); - --dark-color-ts-parameter: var(--dark-color-ts-variable); - /* type literal not included as links will never be generated to it */ - --dark-color-ts-type-parameter: #e07d13; - --dark-color-ts-accessor: var(--dark-color-ts-property); - --dark-color-ts-get-signature: var(--dark-color-ts-accessor); - --dark-color-ts-set-signature: var(--dark-color-ts-accessor); - --dark-color-ts-type-alias: #ff6492; - /* reference not included as links will be colored with the kind that it points to */ - - --dark-external-icon: url("data:image/svg+xml;utf8,"); - --dark-color-scheme: dark; -} +@layer typedoc { + :root { + --dim-toolbar-contents-height: 2.5rem; + --dim-toolbar-border-bottom-width: 1px; + --dim-header-height: calc( + var(--dim-toolbar-border-bottom-width) + + var(--dim-toolbar-contents-height) + ); + + /* 0rem For mobile; unit is required for calculation in `calc` */ + --dim-container-main-margin-y: 0rem; + + --dim-footer-height: 3.5rem; + + --modal-animation-duration: 0.2s; + } + + :root { + /* Light */ + --light-color-background: #f2f4f8; + --light-color-background-secondary: #eff0f1; + /* Not to be confused with [:active](https://developer.mozilla.org/en-US/docs/Web/CSS/:active) */ + --light-color-background-active: #d6d8da; + --light-color-background-warning: #e6e600; + --light-color-warning-text: #222; + --light-color-accent: #c5c7c9; + --light-color-active-menu-item: var(--light-color-background-active); + --light-color-text: #222; + --light-color-contrast-text: #000; + --light-color-text-aside: #5e5e5e; + + --light-color-icon-background: var(--light-color-background); + --light-color-icon-text: var(--light-color-text); + + --light-color-comment-tag-text: var(--light-color-text); + --light-color-comment-tag: var(--light-color-background); + + --light-color-link: #1f70c2; + --light-color-focus-outline: #3584e4; + + --light-color-ts-keyword: #056bd6; + --light-color-ts-project: #b111c9; + --light-color-ts-module: var(--light-color-ts-project); + --light-color-ts-namespace: var(--light-color-ts-project); + --light-color-ts-enum: #7e6f15; + --light-color-ts-enum-member: var(--light-color-ts-enum); + --light-color-ts-variable: #4760ec; + --light-color-ts-function: #572be7; + --light-color-ts-class: #1f70c2; + --light-color-ts-interface: #108024; + --light-color-ts-constructor: var(--light-color-ts-class); + --light-color-ts-property: #9f5f30; + --light-color-ts-method: #be3989; + --light-color-ts-reference: #ff4d82; + --light-color-ts-call-signature: var(--light-color-ts-method); + --light-color-ts-index-signature: var(--light-color-ts-property); + --light-color-ts-constructor-signature: var( + --light-color-ts-constructor + ); + --light-color-ts-parameter: var(--light-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --light-color-ts-type-parameter: #a55c0e; + --light-color-ts-accessor: #c73c3c; + --light-color-ts-get-signature: var(--light-color-ts-accessor); + --light-color-ts-set-signature: var(--light-color-ts-accessor); + --light-color-ts-type-alias: #d51270; + /* reference not included as links will be colored with the kind that it points to */ + --light-color-document: #000000; + + --light-color-alert-note: #0969d9; + --light-color-alert-tip: #1a7f37; + --light-color-alert-important: #8250df; + --light-color-alert-warning: #9a6700; + --light-color-alert-caution: #cf222e; + + --light-external-icon: url("data:image/svg+xml;utf8,"); + --light-color-scheme: light; + } -@media (prefers-color-scheme: light) { :root { + /* Dark */ + --dark-color-background: #2b2e33; + --dark-color-background-secondary: #1e2024; + /* Not to be confused with [:active](https://developer.mozilla.org/en-US/docs/Web/CSS/:active) */ + --dark-color-background-active: #5d5d6a; + --dark-color-background-warning: #bebe00; + --dark-color-warning-text: #222; + --dark-color-accent: #9096a2; + --dark-color-active-menu-item: var(--dark-color-background-active); + --dark-color-text: #f5f5f5; + --dark-color-contrast-text: #ffffff; + --dark-color-text-aside: #dddddd; + + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-icon-text: var(--dark-color-text); + + --dark-color-comment-tag-text: var(--dark-color-text); + --dark-color-comment-tag: var(--dark-color-background); + + --dark-color-link: #00aff4; + --dark-color-focus-outline: #4c97f2; + + --dark-color-ts-keyword: #3399ff; + --dark-color-ts-project: #e358ff; + --dark-color-ts-module: var(--dark-color-ts-project); + --dark-color-ts-namespace: var(--dark-color-ts-project); + --dark-color-ts-enum: #f4d93e; + --dark-color-ts-enum-member: var(--dark-color-ts-enum); + --dark-color-ts-variable: #798dff; + --dark-color-ts-function: #a280ff; + --dark-color-ts-class: #8ac4ff; + --dark-color-ts-interface: #6cff87; + --dark-color-ts-constructor: var(--dark-color-ts-class); + --dark-color-ts-property: #ff984d; + --dark-color-ts-method: #ff4db8; + --dark-color-ts-reference: #ff4d82; + --dark-color-ts-call-signature: var(--dark-color-ts-method); + --dark-color-ts-index-signature: var(--dark-color-ts-property); + --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); + --dark-color-ts-parameter: var(--dark-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --dark-color-ts-type-parameter: #e07d13; + --dark-color-ts-accessor: #ff6060; + --dark-color-ts-get-signature: var(--dark-color-ts-accessor); + --dark-color-ts-set-signature: var(--dark-color-ts-accessor); + --dark-color-ts-type-alias: #ff6492; + /* reference not included as links will be colored with the kind that it points to */ + --dark-color-document: #ffffff; + + --dark-color-alert-note: #0969d9; + --dark-color-alert-tip: #1a7f37; + --dark-color-alert-important: #8250df; + --dark-color-alert-warning: #9a6700; + --dark-color-alert-caution: #cf222e; + + --dark-external-icon: url("data:image/svg+xml;utf8,"); + --dark-color-scheme: dark; + } + + @media (prefers-color-scheme: light) { + :root { + --color-background: var(--light-color-background); + --color-background-secondary: var( + --light-color-background-secondary + ); + --color-background-active: var(--light-color-background-active); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-contrast-text: var(--light-color-contrast-text); + --color-text-aside: var(--light-color-text-aside); + + --color-icon-background: var(--light-color-icon-background); + --color-icon-text: var(--light-color-icon-text); + + --color-comment-tag-text: var(--light-color-text); + --color-comment-tag: var(--light-color-background); + + --color-link: var(--light-color-link); + --color-focus-outline: var(--light-color-focus-outline); + + --color-ts-keyword: var(--light-color-ts-keyword); + --color-ts-project: var(--light-color-ts-project); + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-reference: var(--light-color-ts-reference); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + --color-document: var(--light-color-document); + + --color-alert-note: var(--light-color-alert-note); + --color-alert-tip: var(--light-color-alert-tip); + --color-alert-important: var(--light-color-alert-important); + --color-alert-warning: var(--light-color-alert-warning); + --color-alert-caution: var(--light-color-alert-caution); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); + } + } + + @media (prefers-color-scheme: dark) { + :root { + --color-background: var(--dark-color-background); + --color-background-secondary: var( + --dark-color-background-secondary + ); + --color-background-active: var(--dark-color-background-active); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-contrast-text: var(--dark-color-contrast-text); + --color-text-aside: var(--dark-color-text-aside); + + --color-icon-background: var(--dark-color-icon-background); + --color-icon-text: var(--dark-color-icon-text); + + --color-comment-tag-text: var(--dark-color-text); + --color-comment-tag: var(--dark-color-background); + + --color-link: var(--dark-color-link); + --color-focus-outline: var(--dark-color-focus-outline); + + --color-ts-keyword: var(--dark-color-ts-keyword); + --color-ts-project: var(--dark-color-ts-project); + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-reference: var(--dark-color-ts-reference); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + --color-document: var(--dark-color-document); + + --color-alert-note: var(--dark-color-alert-note); + --color-alert-tip: var(--dark-color-alert-tip); + --color-alert-important: var(--dark-color-alert-important); + --color-alert-warning: var(--dark-color-alert-warning); + --color-alert-caution: var(--dark-color-alert-caution); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); + } + } + + :root[data-theme="light"] { --color-background: var(--light-color-background); --color-background-secondary: var(--light-color-background-secondary); + --color-background-active: var(--light-color-background-active); --color-background-warning: var(--light-color-background-warning); --color-warning-text: var(--light-color-warning-text); --color-icon-background: var(--light-color-icon-background); --color-accent: var(--light-color-accent); --color-active-menu-item: var(--light-color-active-menu-item); --color-text: var(--light-color-text); + --color-contrast-text: var(--light-color-contrast-text); --color-text-aside: var(--light-color-text-aside); + --color-icon-text: var(--light-color-icon-text); + + --color-comment-tag-text: var(--light-color-text); + --color-comment-tag: var(--light-color-background); + --color-link: var(--light-color-link); + --color-focus-outline: var(--light-color-focus-outline); --color-ts-keyword: var(--light-color-ts-keyword); + --color-ts-project: var(--light-color-ts-project); --color-ts-module: var(--light-color-ts-module); --color-ts-namespace: var(--light-color-ts-namespace); --color-ts-enum: var(--light-color-ts-enum); @@ -105,6 +294,7 @@ --color-ts-constructor: var(--light-color-ts-constructor); --color-ts-property: var(--light-color-ts-property); --color-ts-method: var(--light-color-ts-method); + --color-ts-reference: var(--light-color-ts-reference); --color-ts-call-signature: var(--light-color-ts-call-signature); --color-ts-index-signature: var(--light-color-ts-index-signature); --color-ts-constructor-signature: var( @@ -116,26 +306,40 @@ --color-ts-get-signature: var(--light-color-ts-get-signature); --color-ts-set-signature: var(--light-color-ts-set-signature); --color-ts-type-alias: var(--light-color-ts-type-alias); + --color-document: var(--light-color-document); + + --color-note: var(--light-color-note); + --color-tip: var(--light-color-tip); + --color-important: var(--light-color-important); + --color-warning: var(--light-color-warning); + --color-caution: var(--light-color-caution); --external-icon: var(--light-external-icon); --color-scheme: var(--light-color-scheme); } -} -@media (prefers-color-scheme: dark) { - :root { + :root[data-theme="dark"] { --color-background: var(--dark-color-background); --color-background-secondary: var(--dark-color-background-secondary); + --color-background-active: var(--dark-color-background-active); --color-background-warning: var(--dark-color-background-warning); --color-warning-text: var(--dark-color-warning-text); --color-icon-background: var(--dark-color-icon-background); --color-accent: var(--dark-color-accent); --color-active-menu-item: var(--dark-color-active-menu-item); --color-text: var(--dark-color-text); + --color-contrast-text: var(--dark-color-contrast-text); --color-text-aside: var(--dark-color-text-aside); + --color-icon-text: var(--dark-color-icon-text); + + --color-comment-tag-text: var(--dark-color-text); + --color-comment-tag: var(--dark-color-background); + --color-link: var(--dark-color-link); + --color-focus-outline: var(--dark-color-focus-outline); --color-ts-keyword: var(--dark-color-ts-keyword); + --color-ts-project: var(--dark-color-ts-project); --color-ts-module: var(--dark-color-ts-module); --color-ts-namespace: var(--dark-color-ts-namespace); --color-ts-enum: var(--dark-color-ts-enum); @@ -147,6 +351,7 @@ --color-ts-constructor: var(--dark-color-ts-constructor); --color-ts-property: var(--dark-color-ts-property); --color-ts-method: var(--dark-color-ts-method); + --color-ts-reference: var(--dark-color-ts-reference); --color-ts-call-signature: var(--dark-color-ts-call-signature); --color-ts-index-signature: var(--dark-color-ts-index-signature); --color-ts-constructor-signature: var( @@ -158,1257 +363,1271 @@ --color-ts-get-signature: var(--dark-color-ts-get-signature); --color-ts-set-signature: var(--dark-color-ts-set-signature); --color-ts-type-alias: var(--dark-color-ts-type-alias); + --color-document: var(--dark-color-document); + + --color-note: var(--dark-color-note); + --color-tip: var(--dark-color-tip); + --color-important: var(--dark-color-important); + --color-warning: var(--dark-color-warning); + --color-caution: var(--dark-color-caution); --external-icon: var(--dark-external-icon); --color-scheme: var(--dark-color-scheme); } -} - -html { - color-scheme: var(--color-scheme); -} -body { - margin: 0; -} - -:root[data-theme="light"] { - --color-background: var(--light-color-background); - --color-background-secondary: var(--light-color-background-secondary); - --color-background-warning: var(--light-color-background-warning); - --color-warning-text: var(--light-color-warning-text); - --color-icon-background: var(--light-color-icon-background); - --color-accent: var(--light-color-accent); - --color-active-menu-item: var(--light-color-active-menu-item); - --color-text: var(--light-color-text); - --color-text-aside: var(--light-color-text-aside); - --color-link: var(--light-color-link); - - --color-ts-keyword: var(--light-color-ts-keyword); - --color-ts-module: var(--light-color-ts-module); - --color-ts-namespace: var(--light-color-ts-namespace); - --color-ts-enum: var(--light-color-ts-enum); - --color-ts-enum-member: var(--light-color-ts-enum-member); - --color-ts-variable: var(--light-color-ts-variable); - --color-ts-function: var(--light-color-ts-function); - --color-ts-class: var(--light-color-ts-class); - --color-ts-interface: var(--light-color-ts-interface); - --color-ts-constructor: var(--light-color-ts-constructor); - --color-ts-property: var(--light-color-ts-property); - --color-ts-method: var(--light-color-ts-method); - --color-ts-call-signature: var(--light-color-ts-call-signature); - --color-ts-index-signature: var(--light-color-ts-index-signature); - --color-ts-constructor-signature: var( - --light-color-ts-constructor-signature - ); - --color-ts-parameter: var(--light-color-ts-parameter); - --color-ts-type-parameter: var(--light-color-ts-type-parameter); - --color-ts-accessor: var(--light-color-ts-accessor); - --color-ts-get-signature: var(--light-color-ts-get-signature); - --color-ts-set-signature: var(--light-color-ts-set-signature); - --color-ts-type-alias: var(--light-color-ts-type-alias); - - --external-icon: var(--light-external-icon); - --color-scheme: var(--light-color-scheme); -} + html { + color-scheme: var(--color-scheme); + @media (prefers-reduced-motion: no-preference) { + scroll-behavior: smooth; + } + } -:root[data-theme="dark"] { - --color-background: var(--dark-color-background); - --color-background-secondary: var(--dark-color-background-secondary); - --color-background-warning: var(--dark-color-background-warning); - --color-warning-text: var(--dark-color-warning-text); - --color-icon-background: var(--dark-color-icon-background); - --color-accent: var(--dark-color-accent); - --color-active-menu-item: var(--dark-color-active-menu-item); - --color-text: var(--dark-color-text); - --color-text-aside: var(--dark-color-text-aside); - --color-link: var(--dark-color-link); - - --color-ts-keyword: var(--dark-color-ts-keyword); - --color-ts-module: var(--dark-color-ts-module); - --color-ts-namespace: var(--dark-color-ts-namespace); - --color-ts-enum: var(--dark-color-ts-enum); - --color-ts-enum-member: var(--dark-color-ts-enum-member); - --color-ts-variable: var(--dark-color-ts-variable); - --color-ts-function: var(--dark-color-ts-function); - --color-ts-class: var(--dark-color-ts-class); - --color-ts-interface: var(--dark-color-ts-interface); - --color-ts-constructor: var(--dark-color-ts-constructor); - --color-ts-property: var(--dark-color-ts-property); - --color-ts-method: var(--dark-color-ts-method); - --color-ts-call-signature: var(--dark-color-ts-call-signature); - --color-ts-index-signature: var(--dark-color-ts-index-signature); - --color-ts-constructor-signature: var( - --dark-color-ts-constructor-signature - ); - --color-ts-parameter: var(--dark-color-ts-parameter); - --color-ts-type-parameter: var(--dark-color-ts-type-parameter); - --color-ts-accessor: var(--dark-color-ts-accessor); - --color-ts-get-signature: var(--dark-color-ts-get-signature); - --color-ts-set-signature: var(--dark-color-ts-set-signature); - --color-ts-type-alias: var(--dark-color-ts-type-alias); - - --external-icon: var(--dark-external-icon); - --color-scheme: var(--dark-color-scheme); -} + *:focus-visible, + .tsd-accordion-summary:focus-visible svg { + outline: 2px solid var(--color-focus-outline); + } -.always-visible, -.always-visible .tsd-signatures { - display: inherit !important; -} + .always-visible, + .always-visible .tsd-signatures { + display: inherit !important; + } -h1, -h2, -h3, -h4, -h5, -h6 { - line-height: 1.2; -} + h1, + h2, + h3, + h4, + h5, + h6 { + line-height: 1.2; + } -h1 > a:not(.link), -h2 > a:not(.link), -h3 > a:not(.link), -h4 > a:not(.link), -h5 > a:not(.link), -h6 > a:not(.link) { - text-decoration: none; - color: var(--color-text); -} + h1 { + font-size: 1.875rem; + margin: 0.67rem 0; + } -h1 { - font-size: 1.875rem; - margin: 0.67rem 0; -} + h2 { + font-size: 1.5rem; + margin: 0.83rem 0; + } -h2 { - font-size: 1.5rem; - margin: 0.83rem 0; -} + h3 { + font-size: 1.25rem; + margin: 1rem 0; + } -h3 { - font-size: 1.25rem; - margin: 1rem 0; -} + h4 { + font-size: 1.05rem; + margin: 1.33rem 0; + } -h4 { - font-size: 1.05rem; - margin: 1.33rem 0; -} + h5 { + font-size: 1rem; + margin: 1.5rem 0; + } -h5 { - font-size: 1rem; - margin: 1.5rem 0; -} + h6 { + font-size: 0.875rem; + margin: 2.33rem 0; + } -h6 { - font-size: 0.875rem; - margin: 2.33rem 0; -} + dl, + menu, + ol, + ul { + margin: 1em 0; + } -.uppercase { - text-transform: uppercase; -} + dd { + margin: 0 0 0 34px; + } -dl, -menu, -ol, -ul { - margin: 1em 0; -} + .container { + max-width: 1700px; + padding: 0 2rem; + } -dd { - margin: 0 0 0 40px; -} + /* Footer */ + footer { + border-top: 1px solid var(--color-accent); + padding-top: 1rem; + padding-bottom: 1rem; + max-height: var(--dim-footer-height); + } + footer > p { + margin: 0 1em; + } -.container { - max-width: 1700px; - padding: 0 2rem; -} + .container-main { + margin: var(--dim-container-main-margin-y) auto; + /* toolbar, footer, margin */ + min-height: calc( + 100svh - var(--dim-header-height) - var(--dim-footer-height) - + 2 * var(--dim-container-main-margin-y) + ); + } -/* Footer */ -.tsd-generator { - border-top: 1px solid var(--color-accent); - padding-top: 1rem; - padding-bottom: 1rem; - max-height: 3.5rem; -} + @keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } + } + @keyframes fade-out { + from { + opacity: 1; + visibility: visible; + } + to { + opacity: 0; + } + } + @keyframes pop-in-from-right { + from { + transform: translate(100%, 0); + } + to { + transform: translate(0, 0); + } + } + @keyframes pop-out-to-right { + from { + transform: translate(0, 0); + visibility: visible; + } + to { + transform: translate(100%, 0); + } + } + body { + background: var(--color-background); + font-family: + -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", + Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; + font-size: 16px; + color: var(--color-text); + margin: 0; + } -.tsd-generator > p { - margin-top: 0; - margin-bottom: 0; - padding: 0 1rem; -} + a { + color: var(--color-link); + text-decoration: none; + } + a:hover { + text-decoration: underline; + } + a.external[target="_blank"] { + background-image: var(--external-icon); + background-position: top 3px right; + background-repeat: no-repeat; + padding-right: 13px; + } + a.tsd-anchor-link { + color: var(--color-text); + } + :target { + scroll-margin-block: calc(var(--dim-header-height) + 0.5rem); + } -.container-main { - margin: 0 auto; - /* toolbar, footer, margin */ - min-height: calc(100vh - 41px - 56px - 4rem); -} + code, + pre { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + padding: 0.2em; + margin: 0; + font-size: 0.875rem; + border-radius: 0.8em; + } -@keyframes fade-in { - from { + pre { + position: relative; + white-space: pre-wrap; + word-wrap: break-word; + padding: 10px; + border: 1px solid var(--color-accent); + margin-bottom: 8px; + } + pre code { + padding: 0; + font-size: 100%; + } + pre > button { + position: absolute; + top: 10px; + right: 10px; opacity: 0; + transition: opacity 0.1s; + box-sizing: border-box; } - to { + pre:hover > button, + pre > button.visible, + pre > button:focus-visible { opacity: 1; } -} -@keyframes fade-out { - from { - opacity: 1; - visibility: visible; + + blockquote { + margin: 1em 0; + padding-left: 1em; + border-left: 4px solid gray; } - to { - opacity: 0; + + img { + max-width: 100%; } -} -@keyframes fade-in-delayed { - 0% { - opacity: 0; + + * { + scrollbar-width: thin; + scrollbar-color: var(--color-accent) var(--color-icon-background); } - 33% { - opacity: 0; + + *::-webkit-scrollbar { + width: 0.75rem; } - 100% { - opacity: 1; + + *::-webkit-scrollbar-track { + background: var(--color-icon-background); } -} -@keyframes fade-out-delayed { - 0% { - opacity: 1; - visibility: visible; + + *::-webkit-scrollbar-thumb { + background-color: var(--color-accent); + border-radius: 999rem; + border: 0.25rem solid var(--color-icon-background); } - 66% { - opacity: 0; + + dialog { + border: none; + outline: none; + padding: 0; + background-color: var(--color-background); } - 100% { - opacity: 0; + dialog::backdrop { + display: none; } -} -@keyframes pop-in-from-right { - from { - transform: translate(100%, 0); + #tsd-overlay { + background-color: rgba(0, 0, 0, 0.5); + position: fixed; + z-index: 9999; + top: 0; + left: 0; + right: 0; + bottom: 0; + animation: fade-in var(--modal-animation-duration) forwards; } - to { - transform: translate(0, 0); + #tsd-overlay.closing { + animation-name: fade-out; } -} -@keyframes pop-out-to-right { - from { - transform: translate(0, 0); - visibility: visible; + + .tsd-typography { + line-height: 1.333em; } - to { - transform: translate(100%, 0); + .tsd-typography ul { + list-style: square; + padding: 0 0 0 20px; + margin: 0; + } + .tsd-typography .tsd-index-panel h3, + .tsd-index-panel .tsd-typography h3, + .tsd-typography h4, + .tsd-typography h5, + .tsd-typography h6 { + font-size: 1em; + } + .tsd-typography h5, + .tsd-typography h6 { + font-weight: normal; + } + .tsd-typography p, + .tsd-typography ul, + .tsd-typography ol { + margin: 1em 0; + } + .tsd-typography table { + border-collapse: collapse; + border: none; + } + .tsd-typography td, + .tsd-typography th { + padding: 6px 13px; + border: 1px solid var(--color-accent); + } + .tsd-typography thead, + .tsd-typography tr:nth-child(even) { + background-color: var(--color-background-secondary); } -} -body { - background: var(--color-background); - font-family: "Segoe UI", sans-serif; - font-size: 16px; - color: var(--color-text); -} -a { - color: var(--color-link); - text-decoration: none; -} -a:hover { - text-decoration: underline; -} -a.external[target="_blank"] { - background-image: var(--external-icon); - background-position: top 3px right; - background-repeat: no-repeat; - padding-right: 13px; -} + .tsd-alert { + padding: 8px 16px; + margin-bottom: 16px; + border-left: 0.25em solid var(--alert-color); + } + .tsd-alert blockquote > :last-child, + .tsd-alert > :last-child { + margin-bottom: 0; + } + .tsd-alert-title { + color: var(--alert-color); + display: inline-flex; + align-items: center; + } + .tsd-alert-title span { + margin-left: 4px; + } -code, -pre { - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - padding: 0.2em; - margin: 0; - font-size: 0.875rem; - border-radius: 0.8em; -} + .tsd-alert-note { + --alert-color: var(--color-alert-note); + } + .tsd-alert-tip { + --alert-color: var(--color-alert-tip); + } + .tsd-alert-important { + --alert-color: var(--color-alert-important); + } + .tsd-alert-warning { + --alert-color: var(--color-alert-warning); + } + .tsd-alert-caution { + --alert-color: var(--color-alert-caution); + } -pre { - position: relative; - white-space: pre; - white-space: pre-wrap; - word-wrap: break-word; - padding: 10px; - border: 1px solid var(--color-accent); -} -pre code { - padding: 0; - font-size: 100%; -} -pre > button { - position: absolute; - top: 10px; - right: 10px; - opacity: 0; - transition: opacity 0.1s; - box-sizing: border-box; -} -pre:hover > button, -pre > button.visible { - opacity: 1; -} + .tsd-breadcrumb { + margin: 0; + margin-top: 1rem; + padding: 0; + color: var(--color-text-aside); + } + .tsd-breadcrumb a { + color: var(--color-text-aside); + text-decoration: none; + } + .tsd-breadcrumb a:hover { + text-decoration: underline; + } + .tsd-breadcrumb li { + display: inline; + } + .tsd-breadcrumb li:after { + content: " / "; + } -blockquote { - margin: 1em 0; - padding-left: 1em; - border-left: 4px solid gray; -} + .tsd-comment-tags { + display: flex; + flex-direction: column; + } + dl.tsd-comment-tag-group { + display: flex; + align-items: center; + overflow: hidden; + margin: 0.5em 0; + } + dl.tsd-comment-tag-group dt { + display: flex; + margin-right: 0.5em; + font-size: 0.875em; + font-weight: normal; + } + dl.tsd-comment-tag-group dd { + margin: 0; + } + code.tsd-tag { + padding: 0.25em 0.4em; + border: 0.1em solid var(--color-accent); + margin-right: 0.25em; + font-size: 70%; + } + h1 code.tsd-tag:first-of-type { + margin-left: 0.25em; + } -.tsd-typography { - line-height: 1.333em; -} -.tsd-typography ul { - list-style: square; - padding: 0 0 0 20px; - margin: 0; -} -.tsd-typography .tsd-index-panel h3, -.tsd-index-panel .tsd-typography h3, -.tsd-typography h4, -.tsd-typography h5, -.tsd-typography h6 { - font-size: 1em; -} -.tsd-typography h5, -.tsd-typography h6 { - font-weight: normal; -} -.tsd-typography p, -.tsd-typography ul, -.tsd-typography ol { - margin: 1em 0; -} -.tsd-typography table { - border-collapse: collapse; - border: none; -} -.tsd-typography td, -.tsd-typography th { - padding: 6px 13px; - border: 1px solid var(--color-accent); -} -.tsd-typography thead, -.tsd-typography tr:nth-child(even) { - background-color: var(--color-background-secondary); -} + dl.tsd-comment-tag-group dd:before, + dl.tsd-comment-tag-group dd:after { + content: " "; + } + dl.tsd-comment-tag-group dd pre, + dl.tsd-comment-tag-group dd:after { + clear: both; + } + dl.tsd-comment-tag-group p { + margin: 0; + } -.tsd-breadcrumb { - margin: 0; - padding: 0; - color: var(--color-text-aside); -} -.tsd-breadcrumb a { - color: var(--color-text-aside); - text-decoration: none; -} -.tsd-breadcrumb a:hover { - text-decoration: underline; -} -.tsd-breadcrumb li { - display: inline; -} -.tsd-breadcrumb li:after { - content: " / "; -} + .tsd-panel.tsd-comment .lead { + font-size: 1.1em; + line-height: 1.333em; + margin-bottom: 2em; + } + .tsd-panel.tsd-comment .lead:last-child { + margin-bottom: 0; + } -.tsd-comment-tags { - display: flex; - flex-direction: column; -} -dl.tsd-comment-tag-group { - display: flex; - align-items: center; - overflow: hidden; - margin: 0.5em 0; -} -dl.tsd-comment-tag-group dt { - display: flex; - margin-right: 0.5em; - font-size: 0.875em; - font-weight: normal; -} -dl.tsd-comment-tag-group dd { - margin: 0; -} -code.tsd-tag { - padding: 0.25em 0.4em; - border: 0.1em solid var(--color-accent); - margin-right: 0.25em; - font-size: 70%; -} -h1 code.tsd-tag:first-of-type { - margin-left: 0.25em; -} + .tsd-filter-visibility h4 { + font-size: 1rem; + padding-top: 0.75rem; + padding-bottom: 0.5rem; + margin: 0; + } + .tsd-filter-item:not(:last-child) { + margin-bottom: 0.5rem; + } + .tsd-filter-input { + display: flex; + width: -moz-fit-content; + width: fit-content; + align-items: center; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + } + .tsd-filter-input input[type="checkbox"] { + cursor: pointer; + position: absolute; + width: 1.5em; + height: 1.5em; + opacity: 0; + } + .tsd-filter-input input[type="checkbox"]:disabled { + pointer-events: none; + } + .tsd-filter-input svg { + cursor: pointer; + width: 1.5em; + height: 1.5em; + margin-right: 0.5em; + border-radius: 0.33em; + /* Leaving this at full opacity breaks event listeners on Firefox. + Don't remove unless you know what you're doing. */ + opacity: 0.99; + } + .tsd-filter-input input[type="checkbox"]:focus-visible + svg { + outline: 2px solid var(--color-focus-outline); + } + .tsd-checkbox-background { + fill: var(--color-accent); + } + input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { + stroke: var(--color-text); + } + .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { + fill: var(--color-background); + stroke: var(--color-accent); + stroke-width: 0.25rem; + } + .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { + stroke: var(--color-accent); + } -dl.tsd-comment-tag-group dd:before, -dl.tsd-comment-tag-group dd:after { - content: " "; -} -dl.tsd-comment-tag-group dd pre, -dl.tsd-comment-tag-group dd:after { - clear: both; -} -dl.tsd-comment-tag-group p { - margin: 0; -} + .settings-label { + font-weight: bold; + text-transform: uppercase; + display: inline-block; + } -.tsd-panel.tsd-comment .lead { - font-size: 1.1em; - line-height: 1.333em; - margin-bottom: 2em; -} -.tsd-panel.tsd-comment .lead:last-child { - margin-bottom: 0; -} + .tsd-filter-visibility .settings-label { + margin: 0.75rem 0 0.5rem 0; + } -.tsd-filter-visibility h4 { - font-size: 1rem; - padding-top: 0.75rem; - padding-bottom: 0.5rem; - margin: 0; -} -.tsd-filter-item:not(:last-child) { - margin-bottom: 0.5rem; -} -.tsd-filter-input { - display: flex; - width: fit-content; - width: -moz-fit-content; - align-items: center; - user-select: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - cursor: pointer; -} -.tsd-filter-input input[type="checkbox"] { - cursor: pointer; - position: absolute; - width: 1.5em; - height: 1.5em; - opacity: 0; -} -.tsd-filter-input input[type="checkbox"]:disabled { - pointer-events: none; -} -.tsd-filter-input svg { - cursor: pointer; - width: 1.5em; - height: 1.5em; - margin-right: 0.5em; - border-radius: 0.33em; - /* Leaving this at full opacity breaks event listeners on Firefox. - Don't remove unless you know what you're doing. */ - opacity: 0.99; -} -.tsd-filter-input input[type="checkbox"]:focus + svg { - transform: scale(0.95); -} -.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { - transform: scale(1); -} -.tsd-checkbox-background { - fill: var(--color-accent); -} -input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { - stroke: var(--color-text); -} -.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { - fill: var(--color-background); - stroke: var(--color-accent); - stroke-width: 0.25rem; -} -.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { - stroke: var(--color-accent); -} + .tsd-theme-toggle .settings-label { + margin: 0.75rem 0.75rem 0 0; + } -.tsd-theme-toggle { - padding-top: 0.75rem; -} -.tsd-theme-toggle > h4 { - display: inline; - vertical-align: middle; - margin-right: 0.75rem; -} + .tsd-hierarchy h4 label:hover span { + text-decoration: underline; + } -.tsd-hierarchy { - list-style: square; - margin: 0; -} -.tsd-hierarchy .target { - font-weight: bold; -} + .tsd-hierarchy { + list-style: square; + margin: 0; + } + .tsd-hierarchy-target { + font-weight: bold; + } + .tsd-hierarchy-toggle { + color: var(--color-link); + cursor: pointer; + } -.tsd-full-hierarchy:not(:last-child) { - margin-bottom: 1em; - padding-bottom: 1em; - border-bottom: 1px solid var(--color-accent); -} -.tsd-full-hierarchy, -.tsd-full-hierarchy ul { - list-style: none; - margin: 0; - padding: 0; -} -.tsd-full-hierarchy ul { - padding-left: 1.5rem; -} -.tsd-full-hierarchy a { - padding: 0.25rem 0 !important; - font-size: 1rem; - display: inline-flex; - align-items: center; - color: var(--color-text); -} + .tsd-full-hierarchy:not(:last-child) { + margin-bottom: 1em; + padding-bottom: 1em; + border-bottom: 1px solid var(--color-accent); + } + .tsd-full-hierarchy, + .tsd-full-hierarchy ul { + list-style: none; + margin: 0; + padding: 0; + } + .tsd-full-hierarchy ul { + padding-left: 1.5rem; + } + .tsd-full-hierarchy a { + padding: 0.25rem 0 !important; + font-size: 1rem; + display: inline-flex; + align-items: center; + color: var(--color-text); + } + .tsd-full-hierarchy svg[data-dropdown] { + cursor: pointer; + } + .tsd-full-hierarchy svg[data-dropdown="false"] { + transform: rotate(-90deg); + } + .tsd-full-hierarchy svg[data-dropdown="false"] ~ ul { + display: none; + } -.tsd-panel-group.tsd-index-group { - margin-bottom: 0; -} -.tsd-index-panel .tsd-index-list { - list-style: none; - line-height: 1.333em; - margin: 0; - padding: 0.25rem 0 0 0; - overflow: hidden; - display: grid; - grid-template-columns: repeat(3, 1fr); - column-gap: 1rem; - grid-template-rows: auto; -} -@media (max-width: 1024px) { - .tsd-index-panel .tsd-index-list { - grid-template-columns: repeat(2, 1fr); + .tsd-panel-group.tsd-index-group { + margin-bottom: 0; } -} -@media (max-width: 768px) { .tsd-index-panel .tsd-index-list { - grid-template-columns: repeat(1, 1fr); + list-style: none; + line-height: 1.333em; + margin: 0; + padding: 0.25rem 0 0 0; + overflow: hidden; + display: grid; + grid-template-columns: repeat(3, 1fr); + column-gap: 1rem; + grid-template-rows: auto; + } + @media (max-width: 1024px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(2, 1fr); + } + } + @media (max-width: 768px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(1, 1fr); + } + } + .tsd-index-panel .tsd-index-list li { + -webkit-page-break-inside: avoid; + -moz-page-break-inside: avoid; + -ms-page-break-inside: avoid; + -o-page-break-inside: avoid; + page-break-inside: avoid; } -} -.tsd-index-panel .tsd-index-list li { - -webkit-page-break-inside: avoid; - -moz-page-break-inside: avoid; - -ms-page-break-inside: avoid; - -o-page-break-inside: avoid; - page-break-inside: avoid; -} -.tsd-flag { - display: inline-block; - padding: 0.25em 0.4em; - border-radius: 4px; - color: var(--color-comment-tag-text); - background-color: var(--color-comment-tag); - text-indent: 0; - font-size: 75%; - line-height: 1; - font-weight: normal; -} + .tsd-flag { + display: inline-block; + padding: 0.25em 0.4em; + border-radius: 4px; + color: var(--color-comment-tag-text); + background-color: var(--color-comment-tag); + text-indent: 0; + font-size: 75%; + line-height: 1; + font-weight: normal; + } -.tsd-anchor { - position: relative; - top: -100px; -} + .tsd-anchor { + position: relative; + top: -100px; + } -.tsd-member { - position: relative; -} -.tsd-member .tsd-anchor + h3 { - display: flex; - align-items: center; - margin-top: 0; - margin-bottom: 0; - border-bottom: none; -} + .tsd-member { + position: relative; + } + .tsd-member .tsd-anchor + h3 { + display: flex; + align-items: center; + margin-top: 0; + margin-bottom: 0; + border-bottom: none; + } -.tsd-navigation.settings { - margin: 1rem 0; -} -.tsd-navigation > a, -.tsd-navigation .tsd-accordion-summary { - width: calc(100% - 0.25rem); - display: flex; - align-items: center; -} -.tsd-navigation a, -.tsd-navigation summary > span, -.tsd-page-navigation a { - display: flex; - width: calc(100% - 0.25rem); - align-items: center; - padding: 0.25rem; - color: var(--color-text); - text-decoration: none; - box-sizing: border-box; -} -.tsd-navigation a.current, -.tsd-page-navigation a.current { - background: var(--color-active-menu-item); -} -.tsd-navigation a:hover, -.tsd-page-navigation a:hover { - text-decoration: underline; -} -.tsd-navigation ul, -.tsd-page-navigation ul { - margin-top: 0; - margin-bottom: 0; - padding: 0; - list-style: none; -} -.tsd-navigation li, -.tsd-page-navigation li { - padding: 0; - max-width: 100%; -} -.tsd-nested-navigation { - margin-left: 3rem; -} -.tsd-nested-navigation > li > details { - margin-left: -1.5rem; -} -.tsd-small-nested-navigation { - margin-left: 1.5rem; -} -.tsd-small-nested-navigation > li > details { - margin-left: -1.5rem; -} - -.tsd-page-navigation ul { - padding-left: 1.75rem; -} - -#tsd-sidebar-links a { - margin-top: 0; - margin-bottom: 0.5rem; - line-height: 1.25rem; -} -#tsd-sidebar-links a:last-of-type { - margin-bottom: 0; -} - -a.tsd-index-link { - padding: 0.25rem 0 !important; - font-size: 1rem; - line-height: 1.25rem; - display: inline-flex; - align-items: center; - color: var(--color-text); -} -.tsd-accordion-summary { - list-style-type: none; /* hide marker on non-safari */ - outline: none; /* broken on safari, so just hide it */ -} -.tsd-accordion-summary::-webkit-details-marker { - display: none; /* hide marker on safari */ -} -.tsd-accordion-summary, -.tsd-accordion-summary a { - user-select: none; - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - - cursor: pointer; -} -.tsd-accordion-summary a { - width: calc(100% - 1.5rem); -} -.tsd-accordion-summary > * { - margin-top: 0; - margin-bottom: 0; - padding-top: 0; - padding-bottom: 0; -} -.tsd-index-accordion .tsd-accordion-summary > svg { - margin-left: 0.25rem; -} -.tsd-index-content > :not(:first-child) { - margin-top: 0.75rem; -} -.tsd-index-heading { - margin-top: 1.5rem; - margin-bottom: 0.75rem; -} - -.tsd-kind-icon { - margin-right: 0.5rem; - width: 1.25rem; - height: 1.25rem; - min-width: 1.25rem; - min-height: 1.25rem; -} -.tsd-kind-icon path { - transform-origin: center; - transform: scale(1.1); -} -.tsd-signature > .tsd-kind-icon { - margin-right: 0.8rem; -} - -.tsd-panel { - margin-bottom: 2.5rem; -} -.tsd-panel.tsd-member { - margin-bottom: 4rem; -} -.tsd-panel:empty { - display: none; -} -.tsd-panel > h1, -.tsd-panel > h2, -.tsd-panel > h3 { - margin: 1.5rem -1.5rem 0.75rem -1.5rem; - padding: 0 1.5rem 0.75rem 1.5rem; -} -.tsd-panel > h1.tsd-before-signature, -.tsd-panel > h2.tsd-before-signature, -.tsd-panel > h3.tsd-before-signature { - margin-bottom: 0; - border-bottom: none; -} - -.tsd-panel-group { - margin: 4rem 0; -} -.tsd-panel-group.tsd-index-group { - margin: 2rem 0; -} -.tsd-panel-group.tsd-index-group details { - margin: 2rem 0; -} - -#tsd-search { - transition: background-color 0.2s; -} -#tsd-search .title { - position: relative; - z-index: 2; -} -#tsd-search .field { - position: absolute; - left: 0; - top: 0; - right: 2.5rem; - height: 100%; -} -#tsd-search .field input { - box-sizing: border-box; - position: relative; - top: -50px; - z-index: 1; - width: 100%; - padding: 0 10px; - opacity: 0; - outline: 0; - border: 0; - background: transparent; - color: var(--color-text); -} -#tsd-search .field label { - position: absolute; - overflow: hidden; - right: -40px; -} -#tsd-search .field input, -#tsd-search .title, -#tsd-toolbar-links a { - transition: opacity 0.2s; -} -#tsd-search .results { - position: absolute; - visibility: hidden; - top: 40px; - width: 100%; - margin: 0; - padding: 0; - list-style: none; - box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); -} -#tsd-search .results li { - background-color: var(--color-background); - line-height: initial; - padding: 4px; -} -#tsd-search .results li:nth-child(even) { - background-color: var(--color-background-secondary); -} -#tsd-search .results li.state { - display: none; -} -#tsd-search .results li.current:not(.no-results), -#tsd-search .results li:hover:not(.no-results) { - background-color: var(--color-accent); -} -#tsd-search .results a { - display: flex; - align-items: center; - padding: 0.25rem; - box-sizing: border-box; -} -#tsd-search .results a:before { - top: 10px; -} -#tsd-search .results span.parent { - color: var(--color-text-aside); - font-weight: normal; -} -#tsd-search.has-focus { - background-color: var(--color-accent); -} -#tsd-search.has-focus .field input { - top: 0; - opacity: 1; -} -#tsd-search.has-focus .title, -#tsd-search.has-focus #tsd-toolbar-links a { - z-index: 0; - opacity: 0; -} -#tsd-search.has-focus .results { - visibility: visible; -} -#tsd-search.loading .results li.state.loading { - display: block; -} -#tsd-search.failure .results li.state.failure { - display: block; -} - -#tsd-toolbar-links { - position: absolute; - top: 0; - right: 2rem; - height: 100%; - display: flex; - align-items: center; - justify-content: flex-end; -} -#tsd-toolbar-links a { - margin-left: 1.5rem; -} -#tsd-toolbar-links a:hover { - text-decoration: underline; -} - -.tsd-signature { - margin: 0 0 1rem 0; - padding: 1rem 0.5rem; - border: 1px solid var(--color-accent); - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - font-size: 14px; - overflow-x: auto; -} - -.tsd-signature-keyword { - color: var(--color-ts-keyword); - font-weight: normal; -} - -.tsd-signature-symbol { - color: var(--color-text-aside); - font-weight: normal; -} - -.tsd-signature-type { - font-style: italic; - font-weight: normal; -} - -.tsd-signatures { - padding: 0; - margin: 0 0 1em 0; - list-style-type: none; -} -.tsd-signatures .tsd-signature { - margin: 0; - border-color: var(--color-accent); - border-width: 1px 0; - transition: background-color 0.1s; -} -.tsd-description .tsd-signatures .tsd-signature { - border-width: 1px; -} - -ul.tsd-parameter-list, -ul.tsd-type-parameter-list { - list-style: square; - margin: 0; - padding-left: 20px; -} -ul.tsd-parameter-list > li.tsd-parameter-signature, -ul.tsd-type-parameter-list > li.tsd-parameter-signature { - list-style: none; - margin-left: -20px; -} -ul.tsd-parameter-list h5, -ul.tsd-type-parameter-list h5 { - font-size: 16px; - margin: 1em 0 0.5em 0; -} -.tsd-sources { - margin-top: 1rem; - font-size: 0.875em; -} -.tsd-sources a { - color: var(--color-text-aside); - text-decoration: underline; -} -.tsd-sources ul { - list-style: none; - padding: 0; -} - -.tsd-page-toolbar { - position: sticky; - z-index: 1; - top: 0; - left: 0; - width: 100%; - color: var(--color-text); - background: var(--color-background-secondary); - border-bottom: 1px var(--color-accent) solid; - transition: transform 0.3s ease-in-out; -} -.tsd-page-toolbar a { - color: var(--color-text); - text-decoration: none; -} -.tsd-page-toolbar a.title { - font-weight: bold; -} -.tsd-page-toolbar a.title:hover { - text-decoration: underline; -} -.tsd-page-toolbar .tsd-toolbar-contents { - display: flex; - justify-content: space-between; - height: 2.5rem; - margin: 0 auto; -} -.tsd-page-toolbar .table-cell { - position: relative; - white-space: nowrap; - line-height: 40px; -} -.tsd-page-toolbar .table-cell:first-child { - width: 100%; -} -.tsd-page-toolbar .tsd-toolbar-icon { - box-sizing: border-box; - line-height: 0; - padding: 12px 0; -} - -.tsd-widget { - display: inline-block; - overflow: hidden; - opacity: 0.8; - height: 40px; - transition: - opacity 0.1s, - background-color 0.2s; - vertical-align: bottom; - cursor: pointer; -} -.tsd-widget:hover { - opacity: 0.9; -} -.tsd-widget.active { - opacity: 1; - background-color: var(--color-accent); -} -.tsd-widget.no-caption { - width: 40px; -} -.tsd-widget.no-caption:before { - margin: 0; -} - -.tsd-widget.options, -.tsd-widget.menu { - display: none; -} -input[type="checkbox"] + .tsd-widget:before { - background-position: -120px 0; -} -input[type="checkbox"]:checked + .tsd-widget:before { - background-position: -160px 0; -} - -img { - max-width: 100%; -} - -.tsd-anchor-icon { - display: inline-flex; - align-items: center; - margin-left: 0.5rem; - vertical-align: middle; - color: var(--color-text); -} - -.tsd-anchor-icon svg { - width: 1em; - height: 1em; - visibility: hidden; -} - -.tsd-anchor-link:hover > .tsd-anchor-icon svg { - visibility: visible; -} - -.deprecated { - text-decoration: line-through !important; -} - -.warning { - padding: 1rem; - color: var(--color-warning-text); - background: var(--color-background-warning); -} + .tsd-navigation.settings { + margin: 0; + margin-bottom: 1rem; + } + .tsd-navigation > a, + .tsd-navigation .tsd-accordion-summary { + width: calc(100% - 0.25rem); + display: flex; + align-items: center; + } + .tsd-navigation a, + .tsd-navigation summary > span, + .tsd-page-navigation a { + display: flex; + width: calc(100% - 0.25rem); + align-items: center; + padding: 0.25rem; + color: var(--color-text); + text-decoration: none; + box-sizing: border-box; + } + .tsd-navigation a.current, + .tsd-page-navigation a.current { + background: var(--color-active-menu-item); + color: var(--color-contrast-text); + } + .tsd-navigation a:hover, + .tsd-page-navigation a:hover { + text-decoration: underline; + } + .tsd-navigation ul, + .tsd-page-navigation ul { + margin-top: 0; + margin-bottom: 0; + padding: 0; + list-style: none; + } + .tsd-navigation li, + .tsd-page-navigation li { + padding: 0; + max-width: 100%; + } + .tsd-navigation .tsd-nav-link { + display: none; + } + .tsd-nested-navigation { + margin-left: 3rem; + } + .tsd-nested-navigation > li > details { + margin-left: -1.5rem; + } + .tsd-small-nested-navigation { + margin-left: 1.5rem; + } + .tsd-small-nested-navigation > li > details { + margin-left: -1.5rem; + } -.tsd-kind-project { - color: var(--color-ts-project); -} -.tsd-kind-module { - color: var(--color-ts-module); -} -.tsd-kind-namespace { - color: var(--color-ts-namespace); -} -.tsd-kind-enum { - color: var(--color-ts-enum); -} -.tsd-kind-enum-member { - color: var(--color-ts-enum-member); -} -.tsd-kind-variable { - color: var(--color-ts-variable); -} -.tsd-kind-function { - color: var(--color-ts-function); -} -.tsd-kind-class { - color: var(--color-ts-class); -} -.tsd-kind-interface { - color: var(--color-ts-interface); -} -.tsd-kind-constructor { - color: var(--color-ts-constructor); -} -.tsd-kind-property { - color: var(--color-ts-property); -} -.tsd-kind-method { - color: var(--color-ts-method); -} -.tsd-kind-call-signature { - color: var(--color-ts-call-signature); -} -.tsd-kind-index-signature { - color: var(--color-ts-index-signature); -} -.tsd-kind-constructor-signature { - color: var(--color-ts-constructor-signature); -} -.tsd-kind-parameter { - color: var(--color-ts-parameter); -} -.tsd-kind-type-literal { - color: var(--color-ts-type-literal); -} -.tsd-kind-type-parameter { - color: var(--color-ts-type-parameter); -} -.tsd-kind-accessor { - color: var(--color-ts-accessor); -} -.tsd-kind-get-signature { - color: var(--color-ts-get-signature); -} -.tsd-kind-set-signature { - color: var(--color-ts-set-signature); -} -.tsd-kind-type-alias { - color: var(--color-ts-type-alias); -} + .tsd-page-navigation-section > summary { + padding: 0.25rem; + } + .tsd-page-navigation-section > summary > svg { + margin-right: 0.25rem; + } + .tsd-page-navigation-section > div { + margin-left: 30px; + } + .tsd-page-navigation ul { + padding-left: 1.75rem; + } -/* if we have a kind icon, don't color the text by kind */ -.tsd-kind-icon ~ span { - color: var(--color-text); -} + #tsd-sidebar-links a { + margin-top: 0; + margin-bottom: 0.5rem; + line-height: 1.25rem; + } + #tsd-sidebar-links a:last-of-type { + margin-bottom: 0; + } -* { - scrollbar-width: thin; - scrollbar-color: var(--color-accent) var(--color-icon-background); -} + a.tsd-index-link { + padding: 0.25rem 0 !important; + font-size: 1rem; + line-height: 1.25rem; + display: inline-flex; + align-items: center; + color: var(--color-text); + } + .tsd-accordion-summary { + list-style-type: none; /* hide marker on non-safari */ + outline: none; /* broken on safari, so just hide it */ + display: flex; + align-items: center; + gap: 0.25rem; + box-sizing: border-box; + } + .tsd-accordion-summary::-webkit-details-marker { + display: none; /* hide marker on safari */ + } + .tsd-accordion-summary, + .tsd-accordion-summary a { + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; + + cursor: pointer; + } + .tsd-accordion-summary a { + width: calc(100% - 1.5rem); + } + .tsd-accordion-summary > * { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; + } + /* + * We need to be careful to target the arrow indicating whether the accordion + * is open, but not any other SVGs included in the details element. + */ + .tsd-accordion:not([open]) > .tsd-accordion-summary > svg:first-child { + transform: rotate(-90deg); + } + .tsd-index-content > :not(:first-child) { + margin-top: 0.75rem; + } + .tsd-index-summary { + margin-top: 1.5rem; + margin-bottom: 0.75rem; + display: flex; + align-content: center; + } -*::-webkit-scrollbar { - width: 0.75rem; -} + .tsd-no-select { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + } + .tsd-kind-icon { + margin-right: 0.5rem; + width: 1.25rem; + height: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + } + .tsd-signature > .tsd-kind-icon { + margin-right: 0.8rem; + } -*::-webkit-scrollbar-track { - background: var(--color-icon-background); -} + .tsd-panel { + margin-bottom: 2.5rem; + } + .tsd-panel.tsd-member { + margin-bottom: 4rem; + } + .tsd-panel:empty { + display: none; + } + .tsd-panel > h1, + .tsd-panel > h2, + .tsd-panel > h3 { + margin: 1.5rem -1.5rem 0.75rem -1.5rem; + padding: 0 1.5rem 0.75rem 1.5rem; + } + .tsd-panel > h1.tsd-before-signature, + .tsd-panel > h2.tsd-before-signature, + .tsd-panel > h3.tsd-before-signature { + margin-bottom: 0; + border-bottom: none; + } -*::-webkit-scrollbar-thumb { - background-color: var(--color-accent); - border-radius: 999rem; - border: 0.25rem solid var(--color-icon-background); -} + .tsd-panel-group { + margin: 2rem 0; + } + .tsd-panel-group.tsd-index-group { + margin: 2rem 0; + } + .tsd-panel-group.tsd-index-group details { + margin: 2rem 0; + } + .tsd-panel-group > .tsd-accordion-summary { + margin-bottom: 1rem; + } -/* mobile */ -@media (max-width: 769px) { - .tsd-widget.options, - .tsd-widget.menu { - display: inline-block; + #tsd-search[open] { + animation: fade-in var(--modal-animation-duration) ease-out forwards; + } + #tsd-search[open].closing { + animation-name: fade-out; } - .container-main { + /* Avoid setting `display` on closed dialog */ + #tsd-search[open] { display: flex; + flex-direction: column; + padding: 1rem; + width: 32rem; + max-width: 90vw; + max-height: calc(100vh - env(keyboard-inset-height, 0px) - 25vh); + /* Anchor dialog to top */ + margin-top: 10vh; + border-radius: 6px; + will-change: max-height; } - html .col-content { - float: none; - max-width: 100%; + #tsd-search-input { + box-sizing: border-box; width: 100%; + padding: 0 0.625rem; /* 10px */ + outline: 0; + border: 2px solid var(--color-accent); + background-color: transparent; + color: var(--color-text); + border-radius: 4px; + height: 2.5rem; + flex: 0 0 auto; + font-size: 0.875rem; + transition: border-color 0.2s, background-color 0.2s; + } + #tsd-search-input:focus-visible { + background-color: var(--color-background-active); + border-color: transparent; + color: var(--color-contrast-text); } - html .col-sidebar { - position: fixed !important; + #tsd-search-input::placeholder { + color: inherit; + opacity: 0.8; + } + #tsd-search-results { + margin: 0; + padding: 0; + list-style: none; + flex: 1 1 auto; + display: flex; + flex-direction: column; overflow-y: auto; - -webkit-overflow-scrolling: touch; - z-index: 1024; - top: 0 !important; - bottom: 0 !important; - left: auto !important; - right: 0 !important; - padding: 1.5rem 1.5rem 0 0; - width: 75vw; - visibility: hidden; + } + #tsd-search-results:not(:empty) { + margin-top: 0.5rem; + } + #tsd-search-results > li { background-color: var(--color-background); - transform: translate(100%, 0); + line-height: 1.5; + box-sizing: border-box; + border-radius: 4px; } - html .col-sidebar > *:last-child { - padding-bottom: 20px; + #tsd-search-results > li:nth-child(even) { + background-color: var(--color-background-secondary); } - html .overlay { - content: ""; - display: block; - position: fixed; - z-index: 1023; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: rgba(0, 0, 0, 0.75); - visibility: hidden; + #tsd-search-results > li:is(:hover, [aria-selected="true"]) { + background-color: var(--color-background-active); + color: var(--color-contrast-text); + } + /* It's important that this takes full size of parent `li`, to capture a click on `li` */ + #tsd-search-results > li > a { + display: flex; + align-items: center; + padding: 0.5rem 0.25rem; + box-sizing: border-box; + width: 100%; + } + #tsd-search-results > li > a > .text { + flex: 1 1 auto; + min-width: 0; + overflow-wrap: anywhere; + } + #tsd-search-results > li > a .parent { + color: var(--color-text-aside); + } + #tsd-search-results > li > a mark { + color: inherit; + background-color: inherit; + font-weight: bold; + } + #tsd-search-status { + flex: 1; + display: grid; + place-content: center; + text-align: center; + overflow-wrap: anywhere; + } + #tsd-search-status:not(:empty) { + min-height: 6rem; } - .to-has-menu .overlay { - animation: fade-in 0.4s; + .tsd-signature { + margin: 0 0 1rem 0; + padding: 1rem 0.5rem; + border: 1px solid var(--color-accent); + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 14px; + overflow-x: auto; } - .to-has-menu .col-sidebar { - animation: pop-in-from-right 0.4s; + .tsd-signature-keyword { + color: var(--color-ts-keyword); + font-weight: normal; } - .from-has-menu .overlay { - animation: fade-out 0.4s; + .tsd-signature-symbol { + color: var(--color-text-aside); + font-weight: normal; } - .from-has-menu .col-sidebar { - animation: pop-out-to-right 0.4s; + .tsd-signature-type { + font-style: italic; + font-weight: normal; } - .has-menu body { - overflow: hidden; + .tsd-signatures { + padding: 0; + margin: 0 0 1em 0; + list-style-type: none; } - .has-menu .overlay { - visibility: visible; + .tsd-signatures .tsd-signature { + margin: 0; + border-color: var(--color-accent); + border-width: 1px 0; + transition: background-color 0.1s; } - .has-menu .col-sidebar { - visibility: visible; - transform: translate(0, 0); + .tsd-signatures .tsd-index-signature:not(:last-child) { + margin-bottom: 1em; + } + .tsd-signatures .tsd-index-signature .tsd-signature { + border-width: 1px; + } + .tsd-description .tsd-signatures .tsd-signature { + border-width: 1px; + } + + ul.tsd-parameter-list, + ul.tsd-type-parameter-list { + list-style: square; + margin: 0; + padding-left: 20px; + } + ul.tsd-parameter-list > li.tsd-parameter-signature, + ul.tsd-type-parameter-list > li.tsd-parameter-signature { + list-style: none; + margin-left: -20px; + } + ul.tsd-parameter-list h5, + ul.tsd-type-parameter-list h5 { + font-size: 16px; + margin: 1em 0 0.5em 0; + } + .tsd-sources { + margin-top: 1rem; + font-size: 0.875em; + } + .tsd-sources a { + color: var(--color-text-aside); + text-decoration: underline; + } + .tsd-sources ul { + list-style: none; + padding: 0; + } + + .tsd-page-toolbar { + position: sticky; + z-index: 1; + top: 0; + left: 0; + width: 100%; + color: var(--color-text); + background: var(--color-background-secondary); + border-bottom: var(--dim-toolbar-border-bottom-width) + var(--color-accent) solid; + transition: transform 0.3s ease-in-out; + } + .tsd-page-toolbar a { + color: var(--color-text); + } + .tsd-toolbar-contents { display: flex; - flex-direction: column; + align-items: center; + height: var(--dim-toolbar-contents-height); + margin: 0 auto; + } + .tsd-toolbar-contents > .title { + font-weight: bold; + margin-right: auto; + } + #tsd-toolbar-links { + display: flex; + align-items: center; gap: 1.5rem; - max-height: 100vh; - padding: 1rem 2rem; + margin-right: 1rem; } - .has-menu .tsd-navigation { - max-height: 100%; + + .tsd-widget { + box-sizing: border-box; + display: inline-block; + opacity: 0.8; + height: 2.5rem; + width: 2.5rem; + transition: opacity 0.1s, background-color 0.1s; + text-align: center; + cursor: pointer; + border: none; + background-color: transparent; + } + .tsd-widget:hover { + opacity: 0.9; + } + .tsd-widget:active { + opacity: 1; + background-color: var(--color-accent); + } + #tsd-toolbar-menu-trigger { + display: none; } -} -/* one sidebar */ -@media (min-width: 770px) { - .container-main { - display: grid; - grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); - grid-template-areas: "sidebar content"; - margin: 2rem auto; + .tsd-member-summary-name { + display: inline-flex; + align-items: center; + padding: 0.25rem; + text-decoration: none; } - .col-sidebar { - grid-area: sidebar; + .tsd-anchor-icon { + display: inline-flex; + align-items: center; + margin-left: 0.5rem; + color: var(--color-text); + vertical-align: middle; } - .col-content { - grid-area: content; - padding: 0 1rem; + + .tsd-anchor-icon svg { + width: 1em; + height: 1em; + visibility: hidden; } -} -@media (min-width: 770px) and (max-width: 1399px) { - .col-sidebar { - max-height: calc(100vh - 2rem - 42px); - overflow: auto; - position: sticky; - top: 42px; - padding-top: 1rem; + + .tsd-member-summary-name:hover > .tsd-anchor-icon svg, + .tsd-anchor-link:hover > .tsd-anchor-icon svg, + .tsd-anchor-icon:focus-visible svg { + visibility: visible; } - .site-menu { - margin-top: 1rem; + + .deprecated { + text-decoration: line-through !important; } -} -/* two sidebars */ -@media (min-width: 1200px) { - .container-main { - grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem); - grid-template-areas: "sidebar content toc"; + .warning { + padding: 1rem; + color: var(--color-warning-text); + background: var(--color-background-warning); } - .col-sidebar { - display: contents; + .tsd-kind-project { + color: var(--color-ts-project); + } + .tsd-kind-module { + color: var(--color-ts-module); + } + .tsd-kind-namespace { + color: var(--color-ts-namespace); + } + .tsd-kind-enum { + color: var(--color-ts-enum); + } + .tsd-kind-enum-member { + color: var(--color-ts-enum-member); + } + .tsd-kind-variable { + color: var(--color-ts-variable); + } + .tsd-kind-function { + color: var(--color-ts-function); + } + .tsd-kind-class { + color: var(--color-ts-class); + } + .tsd-kind-interface { + color: var(--color-ts-interface); + } + .tsd-kind-constructor { + color: var(--color-ts-constructor); + } + .tsd-kind-property { + color: var(--color-ts-property); + } + .tsd-kind-method { + color: var(--color-ts-method); + } + .tsd-kind-reference { + color: var(--color-ts-reference); + } + .tsd-kind-call-signature { + color: var(--color-ts-call-signature); + } + .tsd-kind-index-signature { + color: var(--color-ts-index-signature); + } + .tsd-kind-constructor-signature { + color: var(--color-ts-constructor-signature); + } + .tsd-kind-parameter { + color: var(--color-ts-parameter); + } + .tsd-kind-type-parameter { + color: var(--color-ts-type-parameter); + } + .tsd-kind-accessor { + color: var(--color-ts-accessor); + } + .tsd-kind-get-signature { + color: var(--color-ts-get-signature); + } + .tsd-kind-set-signature { + color: var(--color-ts-set-signature); + } + .tsd-kind-type-alias { + color: var(--color-ts-type-alias); } - .page-menu { - grid-area: toc; - padding-left: 1rem; + /* if we have a kind icon, don't color the text by kind */ + .tsd-kind-icon ~ span { + color: var(--color-text); } - .site-menu { - grid-area: sidebar; + + /* mobile */ + @media (max-width: 769px) { + #tsd-toolbar-menu-trigger { + display: inline-block; + /* temporary fix to vertically align, for compatibility */ + line-height: 2.5; + } + #tsd-toolbar-links { + display: none; + } + + .container-main { + display: flex; + } + .col-content { + float: none; + max-width: 100%; + width: 100%; + } + .col-sidebar { + position: fixed !important; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + padding: 1.5rem 1.5rem 0 0; + width: 75vw; + visibility: hidden; + background-color: var(--color-background); + transform: translate(100%, 0); + } + .col-sidebar > *:last-child { + padding-bottom: 20px; + } + .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } + + .to-has-menu .overlay { + animation: fade-in 0.4s; + } + + .to-has-menu .col-sidebar { + animation: pop-in-from-right 0.4s; + } + + .from-has-menu .overlay { + animation: fade-out 0.4s; + } + + .from-has-menu .col-sidebar { + animation: pop-out-to-right 0.4s; + } + + .has-menu body { + overflow: hidden; + } + .has-menu .overlay { + visibility: visible; + } + .has-menu .col-sidebar { + visibility: visible; + transform: translate(0, 0); + display: flex; + flex-direction: column; + gap: 1.5rem; + max-height: 100vh; + padding: 1rem 2rem; + } + .has-menu .tsd-navigation { + max-height: 100%; + } + .tsd-navigation .tsd-nav-link { + display: flex; + } } - .site-menu { - margin-top: 1rem 0; + /* one sidebar */ + @media (min-width: 770px) { + .container-main { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); + grid-template-areas: "sidebar content"; + --dim-container-main-margin-y: 2rem; + } + + .tsd-breadcrumb { + margin-top: 0; + } + + .col-sidebar { + grid-area: sidebar; + } + .col-content { + grid-area: content; + padding: 0 1rem; + } + } + @media (min-width: 770px) and (max-width: 1399px) { + .col-sidebar { + max-height: calc( + 100vh - var(--dim-header-height) - var(--dim-footer-height) - + 2 * var(--dim-container-main-margin-y) + ); + overflow: auto; + position: sticky; + top: calc( + var(--dim-header-height) + var(--dim-container-main-margin-y) + ); + } + .site-menu { + margin-top: 1rem; + } } - .page-menu, - .site-menu { - max-height: calc(100vh - 2rem - 42px); - overflow: auto; - position: sticky; - top: 42px; + /* two sidebars */ + @media (min-width: 1200px) { + .container-main { + grid-template-columns: + minmax(0, 1fr) minmax(0, 2.5fr) minmax( + 0, + 20rem + ); + grid-template-areas: "sidebar content toc"; + } + + .col-sidebar { + display: contents; + } + + .page-menu { + grid-area: toc; + padding-left: 1rem; + } + .site-menu { + grid-area: sidebar; + } + + .site-menu { + margin-top: 0rem; + } + + .page-menu, + .site-menu { + max-height: calc( + 100vh - var(--dim-header-height) - var(--dim-footer-height) - + 2 * var(--dim-container-main-margin-y) + ); + overflow: auto; + position: sticky; + top: calc( + var(--dim-header-height) + var(--dim-container-main-margin-y) + ); + } } } diff --git a/docs/classes/Address.html b/docs/classes/Address.html index 8026e8a..d9c7f5e 100644 --- a/docs/classes/Address.html +++ b/docs/classes/Address.html @@ -1,11 +1,11 @@ -Address | react-native-tpay

Class responsible for storing payer address

-

Constructors

Properties

Constructors

  • Parameters

    • address: null | string

      street number

      -
    • city: null | string

      city name

      -
    • countryCode: null | string

      country code, for example 'PL'

      -
    • postalCode: null | string

      postal code

      -

    Returns Address

Properties

address: null | string
city: null | string
countryCode: null | string
postalCode: null | string

Generated using TypeDoc

\ No newline at end of file +Address | react-native-tpay
react-native-tpay
    Preparing search index...

    Class Address

    Class responsible for storing payer address

    +
    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • address: string | null

        street number

        +
      • city: string | null

        city name

        +
      • countryCode: string | null

        country code, for example 'PL'

        +
      • postalCode: string | null

        postal code

        +

      Returns Address

    Properties

    address: string | null
    city: string | null
    countryCode: string | null
    postalCode: string | null
    diff --git a/docs/classes/AmbiguousAlias.html b/docs/classes/AmbiguousAlias.html index 9c341cf..90af088 100644 --- a/docs/classes/AmbiguousAlias.html +++ b/docs/classes/AmbiguousAlias.html @@ -1,7 +1,7 @@ -AmbiguousAlias | react-native-tpay

    Class responsible for storing ambiguous alias information

    -

    Constructors

    Properties

    Constructors

    Properties

    code: string

    Alias identifier

    -
    name: string

    Alias display name

    -

    Generated using TypeDoc

    \ No newline at end of file +AmbiguousAlias | react-native-tpay
    react-native-tpay
      Preparing search index...

      Class AmbiguousAlias

      Class responsible for storing ambiguous alias information

      +
      Index

      Constructors

      Properties

      Constructors

      Properties

      code: string

      Alias identifier

      +
      name: string

      Alias display name

      +
      diff --git a/docs/classes/AmbiguousBlikPayment.html b/docs/classes/AmbiguousBlikPayment.html index f65264e..53541a4 100644 --- a/docs/classes/AmbiguousBlikPayment.html +++ b/docs/classes/AmbiguousBlikPayment.html @@ -1,9 +1,9 @@ -AmbiguousBlikPayment | react-native-tpay

      Class AmbiguousBlikPayment

      Class responsible for storing information about ambiguous BLIK payment

      -

      Constructors

      Properties

      ambiguousAlias: AmbiguousAlias
      blikAlias: BlikAlias
      transactionId: string

      Generated using TypeDoc

      \ No newline at end of file +AmbiguousBlikPayment | react-native-tpay
      react-native-tpay
        Preparing search index...

        Class AmbiguousBlikPayment

        Class responsible for storing information about ambiguous BLIK payment

        +
        Index

        Constructors

        Properties

        ambiguousAlias: AmbiguousAlias
        blikAlias: BlikAlias
        transactionId: string
        diff --git a/docs/classes/AmountPaymentConstraint.html b/docs/classes/AmountPaymentConstraint.html index 02ed808..31eefe1 100644 --- a/docs/classes/AmountPaymentConstraint.html +++ b/docs/classes/AmountPaymentConstraint.html @@ -1,9 +1,9 @@ -AmountPaymentConstraint | react-native-tpay

        Class AmountPaymentConstraint

        Class responsible for storing information about amount payment constraint

        -

        Hierarchy (view full)

        Constructors

        Properties

        Constructors

        Properties

        maximum: undefined | null | number

        maximum price that can be used while creating the transaction

        -
        minimum: undefined | null | number

        minimum price that can be used while creating the transaction

        -
        type: amount

        type of a payment constraint

        -

        Generated using TypeDoc

        \ No newline at end of file +AmountPaymentConstraint | react-native-tpay
        react-native-tpay
          Preparing search index...

          Class AmountPaymentConstraint

          Class responsible for storing information about amount payment constraint

          +

          Hierarchy (View Summary)

          Index

          Constructors

          Properties

          Constructors

          Properties

          maximum: number | null | undefined

          maximum price that can be used while creating the transaction

          +
          minimum: number | null | undefined

          minimum price that can be used while creating the transaction

          +
          type: amount

          type of a payment constraint

          +
          diff --git a/docs/classes/ApplePayConfiguration.html b/docs/classes/ApplePayConfiguration.html index 515a387..d19ae6b 100644 --- a/docs/classes/ApplePayConfiguration.html +++ b/docs/classes/ApplePayConfiguration.html @@ -1,7 +1,7 @@ -ApplePayConfiguration | react-native-tpay

          Class ApplePayConfiguration

          Class responsible for storing information about Apple Pay configuration.

          -

          Constructors

          Properties

          Constructors

          Properties

          countryCode: string
          merchantIdentifier: string

          Generated using TypeDoc

          \ No newline at end of file +ApplePayConfiguration | react-native-tpay
          react-native-tpay
            Preparing search index...

            Class ApplePayConfiguration

            Class responsible for storing information about Apple Pay configuration.

            +
            Index

            Constructors

            Properties

            Constructors

            Properties

            countryCode: string
            merchantIdentifier: string
            diff --git a/docs/classes/ApplePayPayment.html b/docs/classes/ApplePayPayment.html index 440a7aa..d5948f0 100644 --- a/docs/classes/ApplePayPayment.html +++ b/docs/classes/ApplePayPayment.html @@ -1,8 +1,8 @@ -ApplePayPayment | react-native-tpay

            Class responsible for storing information about Apple Pay payment

            -

            Hierarchy (view full)

            Constructors

            Properties

            applePayToken: string
            callbacks: null | Callbacks
            payer: Payer
            paymentDetails: PaymentDetails

            Generated using TypeDoc

            \ No newline at end of file +ApplePayPayment | react-native-tpay
            react-native-tpay
              Preparing search index...

              Class ApplePayPayment

              Class responsible for storing information about Apple Pay payment

              +

              Hierarchy (View Summary)

              Index

              Constructors

              Properties

              applePayToken: string
              callbacks: Callbacks | null
              payer: Payer
              paymentDetails: PaymentDetails
              diff --git a/docs/classes/AutomaticPaymentMethods.html b/docs/classes/AutomaticPaymentMethods.html index 395271b..bb068bc 100644 --- a/docs/classes/AutomaticPaymentMethods.html +++ b/docs/classes/AutomaticPaymentMethods.html @@ -1,7 +1,7 @@ -AutomaticPaymentMethods | react-native-tpay

              Class AutomaticPaymentMethods

              Class responsible for storing information about payer's automatic payment methods

              -

              Constructors

              Properties

              Constructors

              Properties

              blikAlias: null | BlikAlias
              tokenizedCards: null | TokenizedCard[]

              Generated using TypeDoc

              \ No newline at end of file +AutomaticPaymentMethods | react-native-tpay
              react-native-tpay
                Preparing search index...

                Class AutomaticPaymentMethods

                Class responsible for storing information about payer's automatic payment methods

                +
                Index

                Constructors

                Properties

                Constructors

                Properties

                blikAlias: BlikAlias | null
                tokenizedCards: TokenizedCard[] | null
                diff --git a/docs/classes/BlikAlias.html b/docs/classes/BlikAlias.html index ac5eb37..cb0f755 100644 --- a/docs/classes/BlikAlias.html +++ b/docs/classes/BlikAlias.html @@ -1,9 +1,9 @@ -BlikAlias | react-native-tpay

                Class responsible for storing information about BLIK alias

                -

                Constructors

                Properties

                Constructors

                • Parameters

                  • isRegistered: boolean

                    true if this BLIK alias is registered (payer saved it after paying with 6-digit code)

                    -
                  • value: string

                    payer's unique alias value

                    -
                  • label: string

                    alias display name

                    -

                  Returns BlikAlias

                Properties

                isRegistered: boolean
                label: string
                value: string

                Generated using TypeDoc

                \ No newline at end of file +BlikAlias | react-native-tpay
                react-native-tpay
                  Preparing search index...

                  Class BlikAlias

                  Class responsible for storing information about BLIK alias

                  +
                  Index

                  Constructors

                  Properties

                  Constructors

                  • Parameters

                    • isRegistered: boolean

                      true if this BLIK alias is registered (payer saved it after paying with 6-digit code)

                      +
                    • value: string

                      payer's unique alias value

                      +
                    • label: string

                      alias display name

                      +

                    Returns BlikAlias

                  Properties

                  isRegistered: boolean
                  label: string
                  value: string
                  diff --git a/docs/classes/BlikPayment.html b/docs/classes/BlikPayment.html index ef649e1..fb635dd 100644 --- a/docs/classes/BlikPayment.html +++ b/docs/classes/BlikPayment.html @@ -1,12 +1,12 @@ -BlikPayment | react-native-tpay

                  Class responsible for storing BLIK payment information

                  -

                  Hierarchy (view full)

                  Constructors

                  Properties

                  Constructors

                  Properties

                  alias: BlikAlias | null
                  callbacks: Callbacks | null
                  code: string | null
                  payer: Payer
                  paymentDetails: PaymentDetails
                  diff --git a/docs/classes/Callbacks.html b/docs/classes/Callbacks.html index 32cec55..4b31e62 100644 --- a/docs/classes/Callbacks.html +++ b/docs/classes/Callbacks.html @@ -1,7 +1,7 @@ -Callbacks | react-native-tpay

                  Class storing the information about callbacks

                  -

                  Constructors

                  Properties

                  Constructors

                  Properties

                  notifications: null | Notifications
                  redirects: null | Redirects

                  Generated using TypeDoc

                  \ No newline at end of file +Callbacks | react-native-tpay
                  react-native-tpay
                    Preparing search index...

                    Class Callbacks

                    Class storing the information about callbacks

                    +
                    Index

                    Constructors

                    Properties

                    Constructors

                    Properties

                    notifications: Notifications | null
                    redirects: Redirects | null
                    diff --git a/docs/classes/CertificatePinningConfiguration.html b/docs/classes/CertificatePinningConfiguration.html index 95ec4db..ef45710 100644 --- a/docs/classes/CertificatePinningConfiguration.html +++ b/docs/classes/CertificatePinningConfiguration.html @@ -1,6 +1,6 @@ -CertificatePinningConfiguration | react-native-tpay

                    Class CertificatePinningConfiguration

                    Class responsible for storing information about certificate pinning.

                    -

                    Constructors

                    Properties

                    Constructors

                    Properties

                    pinnedDomain: string
                    publicKeyHash: string

                    Generated using TypeDoc

                    \ No newline at end of file +CertificatePinningConfiguration | react-native-tpay
                    react-native-tpay
                      Preparing search index...

                      Class CertificatePinningConfiguration

                      Class responsible for storing information about certificate pinning.

                      +
                      Index

                      Constructors

                      Properties

                      Constructors

                      Properties

                      pinnedDomain: string
                      publicKeyHash: string
                      diff --git a/docs/classes/ConfigurationSuccess.html b/docs/classes/ConfigurationSuccess.html index a18d7f9..7796336 100644 --- a/docs/classes/ConfigurationSuccess.html +++ b/docs/classes/ConfigurationSuccess.html @@ -1,3 +1,11 @@ -ConfigurationSuccess | react-native-tpay

                      Generated using TypeDoc

                      \ No newline at end of file +ConfigurationSuccess | react-native-tpay
                      react-native-tpay
                        Preparing search index...

                        Class ConfigurationSuccess

                        Indicates that configuration was successful

                        +

                        Hierarchy (View Summary)

                        Index

                        Constructors

                        Properties

                        Constructors

                        Properties

                        message?: string

                        Optional error message or additional information

                        +
                        paymentUrl?: string

                        Payment URL for continuation (used in screenless payments)

                        +
                        transactionId?: string | null

                        Transaction ID when applicable

                        +
                        type: "configurationSuccess" = 'configurationSuccess'

                        Type identifier for the result

                        +
                        diff --git a/docs/classes/CreditCard.html b/docs/classes/CreditCard.html index f1ffd46..84150ef 100644 --- a/docs/classes/CreditCard.html +++ b/docs/classes/CreditCard.html @@ -1,11 +1,11 @@ -CreditCard | react-native-tpay

                        Class responsible for storing information about a credit card

                        -

                        Constructors

                        Properties

                        Constructors

                        Properties

                        cardNumber: string
                        cvv: string
                        expiryDate: ExpirationDate

                        Generated using TypeDoc

                        \ No newline at end of file +CreditCard | react-native-tpay
                        react-native-tpay
                          Preparing search index...

                          Class CreditCard

                          Class responsible for storing information about a credit card

                          +
                          Index

                          Constructors

                          Properties

                          Constructors

                          Properties

                          cardNumber: string
                          cvv: string
                          expiryDate: ExpirationDate
                          diff --git a/docs/classes/CreditCardConfig.html b/docs/classes/CreditCardConfig.html index 4f9338b..b4985eb 100644 --- a/docs/classes/CreditCardConfig.html +++ b/docs/classes/CreditCardConfig.html @@ -1,8 +1,8 @@ -CreditCardConfig | react-native-tpay

                          Class CreditCardConfig

                          Class responsible for storing payment related information about credit card

                          -

                          Constructors

                          Properties

                          Constructors

                          Properties

                          domain: string
                          rocText: null | string
                          shouldSave: boolean

                          Generated using TypeDoc

                          \ No newline at end of file +CreditCardConfig | react-native-tpay
                          react-native-tpay
                            Preparing search index...

                            Class CreditCardConfig

                            Class responsible for storing payment related information about credit card

                            +
                            Index

                            Constructors

                            Properties

                            Constructors

                            Properties

                            domain: string
                            rocText: string | null
                            shouldSave: boolean
                            diff --git a/docs/classes/CreditCardPayment.html b/docs/classes/CreditCardPayment.html index cf4d570..349f565 100644 --- a/docs/classes/CreditCardPayment.html +++ b/docs/classes/CreditCardPayment.html @@ -1,12 +1,12 @@ -CreditCardPayment | react-native-tpay

                            Class CreditCardPayment

                            Class responsible for storing information about credit card payment

                            -

                            Hierarchy (view full)

                            Constructors

                            Properties

                            callbacks: Callbacks | null
                            creditCard: CreditCard | null
                            creditCardToken: string | null
                            payer: Payer
                            paymentDetails: PaymentDetails
                            diff --git a/docs/classes/ExpirationDate.html b/docs/classes/ExpirationDate.html index 08cd6fa..9de29dd 100644 --- a/docs/classes/ExpirationDate.html +++ b/docs/classes/ExpirationDate.html @@ -1,7 +1,7 @@ -ExpirationDate | react-native-tpay

                            Class responsible for storing information about expiration date

                            -

                            Constructors

                            Properties

                            Constructors

                            Properties

                            month: String
                            year: String

                            Generated using TypeDoc

                            \ No newline at end of file +ExpirationDate | react-native-tpay
                            react-native-tpay
                              Preparing search index...

                              Class ExpirationDate

                              Class responsible for storing information about expiration date

                              +
                              Index

                              Constructors

                              Properties

                              Constructors

                              Properties

                              month: String
                              year: String
                              diff --git a/docs/classes/GooglePayConfiguration.html b/docs/classes/GooglePayConfiguration.html index e2ed369..bba7548 100644 --- a/docs/classes/GooglePayConfiguration.html +++ b/docs/classes/GooglePayConfiguration.html @@ -1,5 +1,5 @@ -GooglePayConfiguration | react-native-tpay

                              Class GooglePayConfiguration

                              Class responsible for storing information about GooglePay configuration

                              -

                              Constructors

                              Properties

                              Constructors

                              Properties

                              merchantId: string

                              Generated using TypeDoc

                              \ No newline at end of file +GooglePayConfiguration | react-native-tpay
                              react-native-tpay
                                Preparing search index...

                                Class GooglePayConfiguration

                                Class responsible for storing information about GooglePay configuration

                                +
                                Index

                                Constructors

                                Properties

                                Constructors

                                Properties

                                merchantId: string
                                diff --git a/docs/classes/GooglePayConfigureError.html b/docs/classes/GooglePayConfigureError.html index ae1314e..94e1f48 100644 --- a/docs/classes/GooglePayConfigureError.html +++ b/docs/classes/GooglePayConfigureError.html @@ -1,5 +1,7 @@ -GooglePayConfigureError | react-native-tpay

                                Generated using TypeDoc

                                \ No newline at end of file +GooglePayConfigureError | react-native-tpay
                                react-native-tpay
                                  Preparing search index...

                                  Class GooglePayConfigureError

                                  Indicates that there was an error during Google Pay configuration

                                  +

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Properties

                                  Constructors

                                  Properties

                                  message: string

                                  Error message

                                  +
                                  type: "error" = 'error'

                                  Type identifier for the result

                                  +
                                  diff --git a/docs/classes/GooglePayConfigureResult.html b/docs/classes/GooglePayConfigureResult.html index 46a3d8e..b7b4873 100644 --- a/docs/classes/GooglePayConfigureResult.html +++ b/docs/classes/GooglePayConfigureResult.html @@ -1,3 +1,7 @@ -GooglePayConfigureResult | react-native-tpay

                                  Generated using TypeDoc

                                  \ No newline at end of file +GooglePayConfigureResult | react-native-tpay
                                  react-native-tpay
                                    Preparing search index...

                                    Class GooglePayConfigureResultAbstract

                                    Indicates a result of Google Pay configuration

                                    +

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    Properties

                                    Constructors

                                    Properties

                                    message?: string

                                    Optional error message or additional information

                                    +
                                    type: string

                                    Type identifier for the result

                                    +
                                    diff --git a/docs/classes/GooglePayConfigureSuccess.html b/docs/classes/GooglePayConfigureSuccess.html index 91370eb..ffd7297 100644 --- a/docs/classes/GooglePayConfigureSuccess.html +++ b/docs/classes/GooglePayConfigureSuccess.html @@ -1,3 +1,7 @@ -GooglePayConfigureSuccess | react-native-tpay

                                    Generated using TypeDoc

                                    \ No newline at end of file +GooglePayConfigureSuccess | react-native-tpay
                                    react-native-tpay
                                      Preparing search index...

                                      Class GooglePayConfigureSuccess

                                      Indicates that Google Pay configuration was successful

                                      +

                                      Hierarchy (View Summary)

                                      Index

                                      Constructors

                                      Properties

                                      Constructors

                                      Properties

                                      message?: string

                                      Optional error message or additional information

                                      +
                                      type: "success" = 'success'

                                      Type identifier for the result

                                      +
                                      diff --git a/docs/classes/GooglePayOpenCancelled.html b/docs/classes/GooglePayOpenCancelled.html index 6cbb222..091d779 100644 --- a/docs/classes/GooglePayOpenCancelled.html +++ b/docs/classes/GooglePayOpenCancelled.html @@ -1,3 +1,13 @@ -GooglePayOpenCancelled | react-native-tpay

                                      Generated using TypeDoc

                                      \ No newline at end of file +GooglePayOpenCancelled | react-native-tpay
                                      react-native-tpay
                                        Preparing search index...

                                        Class GooglePayOpenCancelled

                                        Indicates that Google Pay was opened successfully but user closed it without selecting a credit card

                                        +

                                        Hierarchy (View Summary)

                                        Index

                                        Constructors

                                        Properties

                                        cardNetwork?: string

                                        Credit card network when available

                                        +
                                        cardTail?: string

                                        Last digits of credit card number when available

                                        +
                                        description?: string

                                        Credit card description when available

                                        +
                                        token?: string

                                        Google Pay card token when available

                                        +
                                        type: "cancelled" = 'cancelled'

                                        Type identifier for the result

                                        +
                                        diff --git a/docs/classes/GooglePayOpenNotConfigured.html b/docs/classes/GooglePayOpenNotConfigured.html index e24119c..114add3 100644 --- a/docs/classes/GooglePayOpenNotConfigured.html +++ b/docs/classes/GooglePayOpenNotConfigured.html @@ -1,4 +1,14 @@ -GooglePayOpenNotConfigured | react-native-tpay

                                        Class GooglePayOpenNotConfigured

                                        Indicates that Google Pay utils were not configured before trying to open Google Pay. +GooglePayOpenNotConfigured | react-native-tpay

                                        react-native-tpay
                                          Preparing search index...

                                          Class GooglePayOpenNotConfigured

                                          Indicates that Google Pay utils were not configured before trying to open Google Pay. Configure utils via configureGooglePayUtils(...) method

                                          -

                                          Hierarchy (view full)

                                          Constructors

                                          Constructors

                                          Generated using TypeDoc

                                          \ No newline at end of file +

                                          Hierarchy (View Summary)

                                          Index

                                          Constructors

                                          Properties

                                          cardNetwork?: string

                                          Credit card network when available

                                          +
                                          cardTail?: string

                                          Last digits of credit card number when available

                                          +
                                          description?: string

                                          Credit card description when available

                                          +
                                          token?: string

                                          Google Pay card token when available

                                          +
                                          type: "notConfigured" = 'notConfigured'

                                          Type identifier for the result

                                          +
                                          diff --git a/docs/classes/GooglePayOpenResult.html b/docs/classes/GooglePayOpenResult.html index f87a0fb..fa72340 100644 --- a/docs/classes/GooglePayOpenResult.html +++ b/docs/classes/GooglePayOpenResult.html @@ -1,3 +1,13 @@ -GooglePayOpenResult | react-native-tpay

                                          Generated using TypeDoc

                                          \ No newline at end of file +GooglePayOpenResult | react-native-tpay
                                          react-native-tpay
                                            Preparing search index...

                                            Class GooglePayOpenResultAbstract

                                            Indicates a result of Google Pay open

                                            +

                                            Hierarchy (View Summary)

                                            Index

                                            Constructors

                                            Properties

                                            cardNetwork?: string

                                            Credit card network when available

                                            +
                                            cardTail?: string

                                            Last digits of credit card number when available

                                            +
                                            description?: string

                                            Credit card description when available

                                            +
                                            token?: string

                                            Google Pay card token when available

                                            +
                                            type: string

                                            Type identifier for the result

                                            +
                                            diff --git a/docs/classes/GooglePayOpenSuccess.html b/docs/classes/GooglePayOpenSuccess.html index 0631c0e..06f7eb7 100644 --- a/docs/classes/GooglePayOpenSuccess.html +++ b/docs/classes/GooglePayOpenSuccess.html @@ -1,11 +1,13 @@ -GooglePayOpenSuccess | react-native-tpay

                                            Class GooglePayOpenSuccess

                                            Indicates that Google Pay was successfully opened and user has selected a credit card

                                            -

                                            Hierarchy (view full)

                                            Constructors

                                            Properties

                                            Constructors

                                            Properties

                                            cardNetwork: string

                                            Credit card network

                                            -
                                            cardTail: string

                                            Last digits of credit card number

                                            -
                                            description: string

                                            Credit card description, for example "Visa •••• 1111"

                                            -
                                            token: string

                                            Google Pay card token, use it with GooglePayPayment

                                            -

                                            Generated using TypeDoc

                                            \ No newline at end of file +GooglePayOpenSuccess | react-native-tpay
                                            react-native-tpay
                                              Preparing search index...

                                              Class GooglePayOpenSuccess

                                              Indicates that Google Pay was successfully opened and user has selected a credit card

                                              +

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Properties

                                              Constructors

                                              Properties

                                              cardNetwork: string

                                              Credit card network

                                              +
                                              cardTail: string

                                              Last digits of credit card number

                                              +
                                              description: string

                                              Credit card description, for example "Visa •••• 1111"

                                              +
                                              token: string

                                              Google Pay card token, use it with GooglePayPayment

                                              +
                                              type: "success" = 'success'

                                              Type identifier for the result

                                              +
                                              diff --git a/docs/classes/GooglePayOpenUnknownError.html b/docs/classes/GooglePayOpenUnknownError.html index 027b803..97f1681 100644 --- a/docs/classes/GooglePayOpenUnknownError.html +++ b/docs/classes/GooglePayOpenUnknownError.html @@ -1,3 +1,13 @@ -GooglePayOpenUnknownError | react-native-tpay

                                              Generated using TypeDoc

                                              \ No newline at end of file +GooglePayOpenUnknownError | react-native-tpay
                                              react-native-tpay
                                                Preparing search index...

                                                Class GooglePayOpenUnknownError

                                                Indicates that there was a unknown error

                                                +

                                                Hierarchy (View Summary)

                                                Index

                                                Constructors

                                                Properties

                                                cardNetwork?: string

                                                Credit card network when available

                                                +
                                                cardTail?: string

                                                Last digits of credit card number when available

                                                +
                                                description?: string

                                                Credit card description when available

                                                +
                                                token?: string

                                                Google Pay card token when available

                                                +
                                                type: "unknownError" = 'unknownError'

                                                Type identifier for the result

                                                +
                                                diff --git a/docs/classes/GooglePayPayment.html b/docs/classes/GooglePayPayment.html index e86edcb..494e481 100644 --- a/docs/classes/GooglePayPayment.html +++ b/docs/classes/GooglePayPayment.html @@ -1,8 +1,8 @@ -GooglePayPayment | react-native-tpay

                                                Class GooglePayPayment

                                                Class responsible for storing information about Google Pay payment

                                                -

                                                Hierarchy (view full)

                                                Constructors

                                                Properties

                                                Constructors

                                                Properties

                                                callbacks: null | Callbacks
                                                payer: Payer
                                                paymentDetails: PaymentDetails
                                                token: string

                                                Generated using TypeDoc

                                                \ No newline at end of file +GooglePayPayment | react-native-tpay
                                                react-native-tpay
                                                  Preparing search index...

                                                  Class GooglePayPayment

                                                  Class responsible for storing information about Google Pay payment

                                                  +

                                                  Hierarchy (View Summary)

                                                  Index

                                                  Constructors

                                                  Properties

                                                  Constructors

                                                  Properties

                                                  callbacks: Callbacks | null
                                                  payer: Payer
                                                  paymentDetails: PaymentDetails
                                                  token: string
                                                  diff --git a/docs/classes/GooglePayUtilsConfiguration.html b/docs/classes/GooglePayUtilsConfiguration.html index 7ffa204..9c6b516 100644 --- a/docs/classes/GooglePayUtilsConfiguration.html +++ b/docs/classes/GooglePayUtilsConfiguration.html @@ -1,13 +1,13 @@ -GooglePayUtilsConfiguration | react-native-tpay

                                                  Class GooglePayUtilsConfiguration

                                                  Class responsible for storing information about Google Pay utils configuration

                                                  -

                                                  Constructors

                                                  Properties

                                                  customRequestCode: null | number
                                                  merchantId: string
                                                  merchantName: string
                                                  price: number

                                                  Generated using TypeDoc

                                                  \ No newline at end of file +GooglePayUtilsConfiguration | react-native-tpay
                                                  react-native-tpay
                                                    Preparing search index...

                                                    Class GooglePayUtilsConfiguration

                                                    Class responsible for storing information about Google Pay utils configuration

                                                    +
                                                    Index

                                                    Constructors

                                                    Properties

                                                    customRequestCode: number | null
                                                    merchantId: string
                                                    merchantName: string
                                                    price: number
                                                    diff --git a/docs/classes/Languages.html b/docs/classes/Languages.html index 95791a3..93d9614 100644 --- a/docs/classes/Languages.html +++ b/docs/classes/Languages.html @@ -1,7 +1,7 @@ -Languages | react-native-tpay

                                                    Class responsible for storing information about module languages.

                                                    -

                                                    Constructors

                                                    Properties

                                                    preferredLanguage: Language
                                                    supportedLanguages: Language[]

                                                    Generated using TypeDoc

                                                    \ No newline at end of file +Languages | react-native-tpay
                                                    react-native-tpay
                                                      Preparing search index...

                                                      Class Languages

                                                      Class responsible for storing information about module languages.

                                                      +
                                                      Index

                                                      Constructors

                                                      Properties

                                                      preferredLanguage: Language
                                                      supportedLanguages: Language[]
                                                      diff --git a/docs/classes/LocalizedString.html b/docs/classes/LocalizedString.html index 77719c9..8d65b7f 100644 --- a/docs/classes/LocalizedString.html +++ b/docs/classes/LocalizedString.html @@ -1,5 +1,5 @@ -LocalizedString | react-native-tpay

                                                      Generated using TypeDoc

                                                      \ No newline at end of file +LocalizedString | react-native-tpay
                                                      react-native-tpay
                                                        Preparing search index...

                                                        Class LocalizedString

                                                        Class responsible for storing a localized string

                                                        +
                                                        Index

                                                        Constructors

                                                        Properties

                                                        Constructors

                                                        Properties

                                                        language: Language
                                                        value: string
                                                        diff --git a/docs/classes/Merchant.html b/docs/classes/Merchant.html index a8e7b10..791b831 100644 --- a/docs/classes/Merchant.html +++ b/docs/classes/Merchant.html @@ -1,13 +1,13 @@ -Merchant | react-native-tpay

                                                        Class responsible for storing merchant information

                                                        -

                                                        Constructors

                                                        Properties

                                                        authorization: MerchantAuthorization
                                                        blikAliasToRegister: string
                                                        certificatePinningConfiguration: CertificatePinningConfiguration
                                                        environment: TpayEnvironment
                                                        walletConfiguration: null | WalletConfiguration

                                                        Generated using TypeDoc

                                                        \ No newline at end of file +Merchant | react-native-tpay
                                                        react-native-tpay
                                                          Preparing search index...

                                                          Class Merchant

                                                          Class responsible for storing merchant information

                                                          +
                                                          Index

                                                          Constructors

                                                          Properties

                                                          authorization: MerchantAuthorization
                                                          blikAliasToRegister: string
                                                          certificatePinningConfiguration: CertificatePinningConfiguration
                                                          environment: TpayEnvironment
                                                          walletConfiguration: WalletConfiguration | null
                                                          diff --git a/docs/classes/MerchantAuthorization.html b/docs/classes/MerchantAuthorization.html index 28ca559..489b78f 100644 --- a/docs/classes/MerchantAuthorization.html +++ b/docs/classes/MerchantAuthorization.html @@ -1,7 +1,7 @@ -MerchantAuthorization | react-native-tpay

                                                          Class MerchantAuthorization

                                                          Class responsible for storing merchant's authorization

                                                          -

                                                          Constructors

                                                          Properties

                                                          Constructors

                                                          Properties

                                                          clientId: string
                                                          clientSecret: string

                                                          Generated using TypeDoc

                                                          \ No newline at end of file +MerchantAuthorization | react-native-tpay
                                                          react-native-tpay
                                                            Preparing search index...

                                                            Class MerchantAuthorization

                                                            Class responsible for storing merchant's authorization

                                                            +
                                                            Index

                                                            Constructors

                                                            Properties

                                                            Constructors

                                                            Properties

                                                            clientId: string
                                                            clientSecret: string
                                                            diff --git a/docs/classes/MerchantDetails.html b/docs/classes/MerchantDetails.html index 8b2644f..acebc82 100644 --- a/docs/classes/MerchantDetails.html +++ b/docs/classes/MerchantDetails.html @@ -1,9 +1,9 @@ -MerchantDetails | react-native-tpay

                                                            Class responsible for storing localized information about merchant

                                                            -

                                                            Constructors

                                                            Properties

                                                            merchantDisplayName: LocalizedString[]
                                                            merchantHeadquarters: LocalizedString[]
                                                            regulations: LocalizedString[]

                                                            Generated using TypeDoc

                                                            \ No newline at end of file +MerchantDetails | react-native-tpay
                                                            react-native-tpay
                                                              Preparing search index...

                                                              Class MerchantDetails

                                                              Class responsible for storing localized information about merchant

                                                              +
                                                              Index

                                                              Constructors

                                                              Properties

                                                              merchantDisplayName: LocalizedString[]
                                                              merchantHeadquarters: LocalizedString[]
                                                              regulations: LocalizedString[]
                                                              diff --git a/docs/classes/MethodCallError.html b/docs/classes/MethodCallError.html index 03aaddb..33168f4 100644 --- a/docs/classes/MethodCallError.html +++ b/docs/classes/MethodCallError.html @@ -1,5 +1,11 @@ -MethodCallError | react-native-tpay

                                                              Indicates a module error

                                                              -

                                                              Hierarchy (view full)

                                                              Constructors

                                                              Properties

                                                              Constructors

                                                              Properties

                                                              message: string

                                                              Error message

                                                              -

                                                              Generated using TypeDoc

                                                              \ No newline at end of file +MethodCallError | react-native-tpay
                                                              react-native-tpay
                                                                Preparing search index...

                                                                Class MethodCallError

                                                                Indicates a module error

                                                                +

                                                                Hierarchy (View Summary)

                                                                Index

                                                                Constructors

                                                                Properties

                                                                Constructors

                                                                Properties

                                                                message: string

                                                                Error message

                                                                +
                                                                paymentUrl?: string

                                                                Payment URL for continuation (used in screenless payments)

                                                                +
                                                                transactionId?: string | null

                                                                Transaction ID when applicable

                                                                +
                                                                type: "methodCallError" = 'methodCallError'

                                                                Type identifier for the result

                                                                +
                                                                diff --git a/docs/classes/ModuleClosed.html b/docs/classes/ModuleClosed.html index 2ec48cd..b49f6be 100644 --- a/docs/classes/ModuleClosed.html +++ b/docs/classes/ModuleClosed.html @@ -1,3 +1,11 @@ -ModuleClosed | react-native-tpay

                                                                Generated using TypeDoc

                                                                \ No newline at end of file +ModuleClosed | react-native-tpay
                                                                react-native-tpay
                                                                  Preparing search index...

                                                                  Class ModuleClosed

                                                                  Indicates that user closed the module without making a payment/tokenization

                                                                  +

                                                                  Hierarchy (View Summary)

                                                                  Index

                                                                  Constructors

                                                                  Properties

                                                                  Constructors

                                                                  Properties

                                                                  message?: string

                                                                  Optional error message or additional information

                                                                  +
                                                                  paymentUrl?: string

                                                                  Payment URL for continuation (used in screenless payments)

                                                                  +
                                                                  transactionId?: string | null

                                                                  Transaction ID when applicable

                                                                  +
                                                                  type: "moduleClosed" = 'moduleClosed'

                                                                  Type identifier for the result

                                                                  +
                                                                  diff --git a/docs/classes/Notifications.html b/docs/classes/Notifications.html index d1684c5..5d7b33b 100644 --- a/docs/classes/Notifications.html +++ b/docs/classes/Notifications.html @@ -1,7 +1,7 @@ -Notifications | react-native-tpay

                                                                  Class responsible for storing information about notifications

                                                                  -

                                                                  Constructors

                                                                  Properties

                                                                  Constructors

                                                                  Properties

                                                                  email: string
                                                                  url: string

                                                                  Generated using TypeDoc

                                                                  \ No newline at end of file +Notifications | react-native-tpay
                                                                  react-native-tpay
                                                                    Preparing search index...

                                                                    Class Notifications

                                                                    Class responsible for storing information about notifications

                                                                    +
                                                                    Index

                                                                    Constructors

                                                                    Properties

                                                                    Constructors

                                                                    Properties

                                                                    email: string
                                                                    url: string
                                                                    diff --git a/docs/classes/PayPoPayment.html b/docs/classes/PayPoPayment.html index d2a7b5d..ef90cda 100644 --- a/docs/classes/PayPoPayment.html +++ b/docs/classes/PayPoPayment.html @@ -1,6 +1,6 @@ -PayPoPayment | react-native-tpay

                                                                    Generated using TypeDoc

                                                                    \ No newline at end of file +PayPoPayment | react-native-tpay
                                                                    react-native-tpay
                                                                      Preparing search index...

                                                                      Class PayPoPayment

                                                                      Class responsible for storing information about PayPo payment

                                                                      +

                                                                      Hierarchy (View Summary)

                                                                      Index

                                                                      Constructors

                                                                      Properties

                                                                      Constructors

                                                                      Properties

                                                                      callbacks: Callbacks | null
                                                                      payer: Payer
                                                                      paymentDetails: PaymentDetails
                                                                      diff --git a/docs/classes/Payer.html b/docs/classes/Payer.html index 063c5fd..b369db2 100644 --- a/docs/classes/Payer.html +++ b/docs/classes/Payer.html @@ -1,11 +1,11 @@ -Payer | react-native-tpay

                                                                      Class responsible for storing information about payer

                                                                      -

                                                                      Constructors

                                                                      Properties

                                                                      Constructors

                                                                      • Parameters

                                                                        • name: string

                                                                          payer's full name

                                                                          -
                                                                        • email: string

                                                                          payer's email

                                                                          -
                                                                        • phone: null | string

                                                                          payer's phone number

                                                                          -
                                                                        • address: null | Address

                                                                          payer's address

                                                                          -

                                                                        Returns Payer

                                                                      Properties

                                                                      address: null | Address
                                                                      email: string
                                                                      name: string
                                                                      phone: null | string

                                                                      Generated using TypeDoc

                                                                      \ No newline at end of file +Payer | react-native-tpay
                                                                      react-native-tpay
                                                                        Preparing search index...

                                                                        Class Payer

                                                                        Class responsible for storing information about payer

                                                                        +
                                                                        Index

                                                                        Constructors

                                                                        Properties

                                                                        Constructors

                                                                        • Parameters

                                                                          • name: string

                                                                            payer's full name

                                                                            +
                                                                          • email: string

                                                                            payer's email

                                                                            +
                                                                          • phone: string | null

                                                                            payer's phone number

                                                                            +
                                                                          • address: Address | null

                                                                            payer's address

                                                                            +

                                                                          Returns Payer

                                                                        Properties

                                                                        address: Address | null
                                                                        email: string
                                                                        name: string
                                                                        phone: string | null
                                                                        diff --git a/docs/classes/PayerContext.html b/docs/classes/PayerContext.html index 2217cc7..17fafe0 100644 --- a/docs/classes/PayerContext.html +++ b/docs/classes/PayerContext.html @@ -1,7 +1,7 @@ -PayerContext | react-native-tpay

                                                                        Class responsible for storing information about payer and automatic payment methods

                                                                        -

                                                                        Constructors

                                                                        Properties

                                                                        Constructors

                                                                        Properties

                                                                        automaticPaymentMethods: null | AutomaticPaymentMethods
                                                                        payer: null | Payer

                                                                        Generated using TypeDoc

                                                                        \ No newline at end of file +PayerContext | react-native-tpay
                                                                        react-native-tpay
                                                                          Preparing search index...

                                                                          Class PayerContext

                                                                          Class responsible for storing information about payer and automatic payment methods

                                                                          +
                                                                          Index

                                                                          Constructors

                                                                          Properties

                                                                          Constructors

                                                                          Properties

                                                                          automaticPaymentMethods: AutomaticPaymentMethods | null
                                                                          payer: Payer | null
                                                                          diff --git a/docs/classes/PaymentCancelled.html b/docs/classes/PaymentCancelled.html index 86be184..6041406 100644 --- a/docs/classes/PaymentCancelled.html +++ b/docs/classes/PaymentCancelled.html @@ -1,5 +1,11 @@ -PaymentCancelled | react-native-tpay

                                                                          Class PaymentCancelled

                                                                          Indicates that payment failed and module was closed

                                                                          -

                                                                          Hierarchy (view full)

                                                                          Constructors

                                                                          Properties

                                                                          Constructors

                                                                          Properties

                                                                          transactionId: null | string

                                                                          If exists, id of the transaction

                                                                          -

                                                                          Generated using TypeDoc

                                                                          \ No newline at end of file +PaymentCancelled | react-native-tpay
                                                                          react-native-tpay
                                                                            Preparing search index...

                                                                            Class PaymentCancelled

                                                                            Indicates that payment failed and module was closed

                                                                            +

                                                                            Hierarchy (View Summary)

                                                                            Index

                                                                            Constructors

                                                                            Properties

                                                                            Constructors

                                                                            Properties

                                                                            message?: string

                                                                            Optional error message or additional information

                                                                            +
                                                                            paymentUrl?: string

                                                                            Payment URL for continuation (used in screenless payments)

                                                                            +
                                                                            transactionId: string | null

                                                                            If exists, id of the transaction

                                                                            +
                                                                            type: "paymentCancelled" = 'paymentCancelled'

                                                                            Type identifier for the result

                                                                            +
                                                                            diff --git a/docs/classes/PaymentChannel.html b/docs/classes/PaymentChannel.html index 0980adf..c99ff86 100644 --- a/docs/classes/PaymentChannel.html +++ b/docs/classes/PaymentChannel.html @@ -1,11 +1,11 @@ -PaymentChannel | react-native-tpay

                                                                            Class responsible for storing information about a payment channel

                                                                            -

                                                                            Constructors

                                                                            Properties

                                                                            Constructors

                                                                            Properties

                                                                            constraints: PaymentConstraint[]

                                                                            channel constraints

                                                                            -
                                                                            id: string

                                                                            id of the payment channel

                                                                            -
                                                                            imageUrl: string

                                                                            channel image url

                                                                            -
                                                                            name: string

                                                                            channel display name

                                                                            -

                                                                            Generated using TypeDoc

                                                                            \ No newline at end of file +PaymentChannel | react-native-tpay
                                                                            react-native-tpay
                                                                              Preparing search index...

                                                                              Class PaymentChannel

                                                                              Class responsible for storing information about a payment channel

                                                                              +
                                                                              Index

                                                                              Constructors

                                                                              Properties

                                                                              Constructors

                                                                              Properties

                                                                              constraints: PaymentConstraint[]

                                                                              channel constraints

                                                                              +
                                                                              id: string

                                                                              id of the payment channel

                                                                              +
                                                                              imageUrl: string

                                                                              channel image url

                                                                              +
                                                                              name: string

                                                                              channel display name

                                                                              +
                                                                              diff --git a/docs/classes/PaymentChannelsError.html b/docs/classes/PaymentChannelsError.html index ba594fd..89799b7 100644 --- a/docs/classes/PaymentChannelsError.html +++ b/docs/classes/PaymentChannelsError.html @@ -1,5 +1,9 @@ -PaymentChannelsError | react-native-tpay

                                                                              Generated using TypeDoc

                                                                              \ No newline at end of file +PaymentChannelsError | react-native-tpay
                                                                              react-native-tpay
                                                                                Preparing search index...

                                                                                Class PaymentChannelsError

                                                                                Indicates that there was an error while fetching payment channels

                                                                                +

                                                                                Hierarchy (View Summary)

                                                                                Index

                                                                                Constructors

                                                                                Properties

                                                                                Constructors

                                                                                Properties

                                                                                channels?: PaymentChannel[]

                                                                                Payment channels array when available

                                                                                +
                                                                                message: string

                                                                                Error message

                                                                                +
                                                                                type: "error" = 'error'

                                                                                Type identifier for the result

                                                                                +
                                                                                diff --git a/docs/classes/PaymentChannelsResult.html b/docs/classes/PaymentChannelsResult.html index ad5c657..8435a46 100644 --- a/docs/classes/PaymentChannelsResult.html +++ b/docs/classes/PaymentChannelsResult.html @@ -1,3 +1,9 @@ -PaymentChannelsResult | react-native-tpay

                                                                                Generated using TypeDoc

                                                                                \ No newline at end of file +PaymentChannelsResult | react-native-tpay
                                                                                react-native-tpay
                                                                                  Preparing search index...

                                                                                  Class PaymentChannelsResultAbstract

                                                                                  Indicates a result of payment channels

                                                                                  +

                                                                                  Hierarchy (View Summary)

                                                                                  Index

                                                                                  Constructors

                                                                                  Properties

                                                                                  Constructors

                                                                                  Properties

                                                                                  channels?: PaymentChannel[]

                                                                                  Payment channels array when available

                                                                                  +
                                                                                  message?: string

                                                                                  Optional error message or additional information

                                                                                  +
                                                                                  type: string

                                                                                  Type identifier for the result

                                                                                  +
                                                                                  diff --git a/docs/classes/PaymentChannelsSuccess.html b/docs/classes/PaymentChannelsSuccess.html index 58eefde..5cba433 100644 --- a/docs/classes/PaymentChannelsSuccess.html +++ b/docs/classes/PaymentChannelsSuccess.html @@ -1,5 +1,9 @@ -PaymentChannelsSuccess | react-native-tpay

                                                                                  Generated using TypeDoc

                                                                                  \ No newline at end of file +PaymentChannelsSuccess | react-native-tpay
                                                                                  react-native-tpay
                                                                                    Preparing search index...

                                                                                    Class PaymentChannelsSuccess

                                                                                    Indicates that payment channels were successfully received

                                                                                    +

                                                                                    Hierarchy (View Summary)

                                                                                    Index

                                                                                    Constructors

                                                                                    Properties

                                                                                    Constructors

                                                                                    Properties

                                                                                    channels: PaymentChannel[]

                                                                                    Payment channels

                                                                                    +
                                                                                    message?: string

                                                                                    Optional error message or additional information

                                                                                    +
                                                                                    type: "success" = 'success'

                                                                                    Type identifier for the result

                                                                                    +
                                                                                    diff --git a/docs/classes/PaymentCompleted.html b/docs/classes/PaymentCompleted.html index 97a2b98..846adef 100644 --- a/docs/classes/PaymentCompleted.html +++ b/docs/classes/PaymentCompleted.html @@ -1,5 +1,11 @@ -PaymentCompleted | react-native-tpay

                                                                                    Class PaymentCompleted

                                                                                    Indicates that payment was successful and module was closed

                                                                                    -

                                                                                    Hierarchy (view full)

                                                                                    Constructors

                                                                                    Properties

                                                                                    Constructors

                                                                                    Properties

                                                                                    transactionId: string

                                                                                    Transaction id of the completed transaction

                                                                                    -

                                                                                    Generated using TypeDoc

                                                                                    \ No newline at end of file +PaymentCompleted | react-native-tpay
                                                                                    react-native-tpay
                                                                                      Preparing search index...

                                                                                      Class PaymentCompleted

                                                                                      Indicates that payment was successful and module was closed

                                                                                      +

                                                                                      Hierarchy (View Summary)

                                                                                      Index

                                                                                      Constructors

                                                                                      Properties

                                                                                      Constructors

                                                                                      Properties

                                                                                      message?: string

                                                                                      Optional error message or additional information

                                                                                      +
                                                                                      paymentUrl?: string

                                                                                      Payment URL for continuation (used in screenless payments)

                                                                                      +
                                                                                      transactionId: string

                                                                                      Transaction id of the completed transaction

                                                                                      +
                                                                                      type: "paymentCompleted" = 'paymentCompleted'

                                                                                      Type identifier for the result

                                                                                      +
                                                                                      diff --git a/docs/classes/PaymentConstraint.html b/docs/classes/PaymentConstraint.html index 60e5a2d..07e9122 100644 --- a/docs/classes/PaymentConstraint.html +++ b/docs/classes/PaymentConstraint.html @@ -1,5 +1,5 @@ -PaymentConstraint | react-native-tpay

                                                                                      Generated using TypeDoc

                                                                                      \ No newline at end of file +PaymentConstraint | react-native-tpay
                                                                                      react-native-tpay
                                                                                        Preparing search index...

                                                                                        Class PaymentConstraint

                                                                                        Class indicating that there is a payment constraint on a payment channel

                                                                                        +

                                                                                        Hierarchy (View Summary)

                                                                                        Index

                                                                                        Constructors

                                                                                        Properties

                                                                                        Constructors

                                                                                        Properties

                                                                                        type: amount

                                                                                        type of a payment constraint

                                                                                        +
                                                                                        diff --git a/docs/classes/PaymentCreated.html b/docs/classes/PaymentCreated.html index c3267c0..22746a7 100644 --- a/docs/classes/PaymentCreated.html +++ b/docs/classes/PaymentCreated.html @@ -1,5 +1,11 @@ -PaymentCreated | react-native-tpay

                                                                                        Indicates that payment was successfully created

                                                                                        -

                                                                                        Hierarchy (view full)

                                                                                        Constructors

                                                                                        Properties

                                                                                        Constructors

                                                                                        Properties

                                                                                        transactionId: string

                                                                                        Transaction id of the created transaction

                                                                                        -

                                                                                        Generated using TypeDoc

                                                                                        \ No newline at end of file +PaymentCreated | react-native-tpay
                                                                                        react-native-tpay
                                                                                          Preparing search index...

                                                                                          Class PaymentCreated

                                                                                          Indicates that payment was successfully created

                                                                                          +

                                                                                          Hierarchy (View Summary)

                                                                                          Index

                                                                                          Constructors

                                                                                          Properties

                                                                                          Constructors

                                                                                          Properties

                                                                                          message?: string

                                                                                          Optional error message or additional information

                                                                                          +
                                                                                          paymentUrl?: string

                                                                                          Payment URL for continuation (used in screenless payments)

                                                                                          +
                                                                                          transactionId: string

                                                                                          Transaction id of the created transaction

                                                                                          +
                                                                                          type: "paymentCreated" = 'paymentCreated'

                                                                                          Type identifier for the result

                                                                                          +
                                                                                          diff --git a/docs/classes/PaymentDetails.html b/docs/classes/PaymentDetails.html index 0adb905..1480643 100644 --- a/docs/classes/PaymentDetails.html +++ b/docs/classes/PaymentDetails.html @@ -1,11 +1,11 @@ -PaymentDetails | react-native-tpay

                                                                                          Class responsible for storing information about payment details

                                                                                          -

                                                                                          Constructors

                                                                                          • Parameters

                                                                                            • amount: number

                                                                                              amount of money payer has to pay

                                                                                              -
                                                                                            • description: string

                                                                                              description of payment shown to payer

                                                                                              -
                                                                                            • hiddenDescription: null | string

                                                                                              description visible to store

                                                                                              -
                                                                                            • language: null | Language

                                                                                              language of the transaction

                                                                                              -

                                                                                            Returns PaymentDetails

                                                                                          Properties

                                                                                          amount: number
                                                                                          description: string
                                                                                          hiddenDescription: null | string
                                                                                          language: null | Language

                                                                                          Generated using TypeDoc

                                                                                          \ No newline at end of file +PaymentDetails | react-native-tpay
                                                                                          react-native-tpay
                                                                                            Preparing search index...

                                                                                            Class PaymentDetails

                                                                                            Class responsible for storing information about payment details

                                                                                            +
                                                                                            Index

                                                                                            Constructors

                                                                                            • Parameters

                                                                                              • amount: number

                                                                                                amount of money payer has to pay

                                                                                                +
                                                                                              • description: string

                                                                                                description of payment shown to payer

                                                                                                +
                                                                                              • hiddenDescription: string | null

                                                                                                description visible to store

                                                                                                +
                                                                                              • language: Language | null

                                                                                                language of the transaction

                                                                                                +

                                                                                              Returns PaymentDetails

                                                                                            Properties

                                                                                            amount: number
                                                                                            description: string
                                                                                            hiddenDescription: string | null
                                                                                            language: Language | null
                                                                                            diff --git a/docs/classes/PaymentGroup.html b/docs/classes/PaymentGroup.html index dd97d68..81e1d70 100644 --- a/docs/classes/PaymentGroup.html +++ b/docs/classes/PaymentGroup.html @@ -1,9 +1,9 @@ -PaymentGroup | react-native-tpay

                                                                                            Class responsible for storing payment group's information

                                                                                            -

                                                                                            Constructors

                                                                                            Properties

                                                                                            Constructors

                                                                                            Properties

                                                                                            id: string

                                                                                            id of the group

                                                                                            -
                                                                                            imageUrl: string

                                                                                            group's image url

                                                                                            -
                                                                                            name: string

                                                                                            group's display name

                                                                                            -

                                                                                            Generated using TypeDoc

                                                                                            \ No newline at end of file +PaymentGroup | react-native-tpay
                                                                                            react-native-tpay
                                                                                              Preparing search index...

                                                                                              Class PaymentGroup

                                                                                              Class responsible for storing payment group's information

                                                                                              +
                                                                                              Index

                                                                                              Constructors

                                                                                              Properties

                                                                                              Constructors

                                                                                              Properties

                                                                                              id: string

                                                                                              id of the group

                                                                                              +
                                                                                              imageUrl: string

                                                                                              group's image url

                                                                                              +
                                                                                              name: string

                                                                                              group's display name

                                                                                              +
                                                                                              diff --git a/docs/classes/PaymentMethods.html b/docs/classes/PaymentMethods.html index c419ae4..fb0bbb2 100644 --- a/docs/classes/PaymentMethods.html +++ b/docs/classes/PaymentMethods.html @@ -1,9 +1,9 @@ -PaymentMethods | react-native-tpay

                                                                                              Class responsible for storing selected payment methods

                                                                                              -

                                                                                              Constructors

                                                                                              Properties

                                                                                              Constructors

                                                                                              Properties

                                                                                              installmentPayments: null | InstallmentPayment[]
                                                                                              methods: PaymentMethod[]
                                                                                              wallets: null | DigitalWallet[]

                                                                                              Generated using TypeDoc

                                                                                              \ No newline at end of file +PaymentMethods | react-native-tpay
                                                                                              react-native-tpay
                                                                                                Preparing search index...

                                                                                                Class PaymentMethods

                                                                                                Class responsible for storing selected payment methods

                                                                                                +
                                                                                                Index

                                                                                                Constructors

                                                                                                Properties

                                                                                                Constructors

                                                                                                Properties

                                                                                                installmentPayments: InstallmentPayment[] | null
                                                                                                methods: PaymentMethod[]
                                                                                                wallets: DigitalWallet[] | null
                                                                                                diff --git a/docs/classes/RatyPekaoPayment.html b/docs/classes/RatyPekaoPayment.html index edfb539..6b9ef8f 100644 --- a/docs/classes/RatyPekaoPayment.html +++ b/docs/classes/RatyPekaoPayment.html @@ -1,8 +1,8 @@ -RatyPekaoPayment | react-native-tpay

                                                                                                Class RatyPekaoPayment

                                                                                                Class responsible for storing information about Raty Pekao payment

                                                                                                -

                                                                                                Hierarchy (view full)

                                                                                                Constructors

                                                                                                Properties

                                                                                                Constructors

                                                                                                Properties

                                                                                                callbacks: null | Callbacks
                                                                                                channelId: number
                                                                                                payer: Payer
                                                                                                paymentDetails: PaymentDetails

                                                                                                Generated using TypeDoc

                                                                                                \ No newline at end of file +RatyPekaoPayment | react-native-tpay
                                                                                                react-native-tpay
                                                                                                  Preparing search index...

                                                                                                  Class RatyPekaoPayment

                                                                                                  Class responsible for storing information about Raty Pekao payment

                                                                                                  +

                                                                                                  Hierarchy (View Summary)

                                                                                                  Index

                                                                                                  Constructors

                                                                                                  Properties

                                                                                                  Constructors

                                                                                                  Properties

                                                                                                  callbacks: Callbacks | null
                                                                                                  channelId: number
                                                                                                  payer: Payer
                                                                                                  paymentDetails: PaymentDetails
                                                                                                  diff --git a/docs/classes/Recursive.html b/docs/classes/Recursive.html index 86b57d4..917e17c 100644 --- a/docs/classes/Recursive.html +++ b/docs/classes/Recursive.html @@ -1,9 +1,9 @@ -Recursive | react-native-tpay

                                                                                                  Class responsible for storing information about recurring payments

                                                                                                  -

                                                                                                  Constructors

                                                                                                  Properties

                                                                                                  Constructors

                                                                                                  • Parameters

                                                                                                    • frequency: Frequency

                                                                                                      how often payment should be repeated

                                                                                                      -
                                                                                                    • quantity: null | number

                                                                                                      how many times payment should be repeated. If null, quantity = infinity

                                                                                                      -
                                                                                                    • endDate: string

                                                                                                      date in yyyy-MM-dd format

                                                                                                      -

                                                                                                    Returns Recursive

                                                                                                  Properties

                                                                                                  endDate: string
                                                                                                  frequency: Frequency
                                                                                                  quantity: null | number

                                                                                                  Generated using TypeDoc

                                                                                                  \ No newline at end of file +Recursive | react-native-tpay
                                                                                                  react-native-tpay
                                                                                                    Preparing search index...

                                                                                                    Class Recursive

                                                                                                    Class responsible for storing information about recurring payments

                                                                                                    +
                                                                                                    Index

                                                                                                    Constructors

                                                                                                    Properties

                                                                                                    Constructors

                                                                                                    • Parameters

                                                                                                      • frequency: Frequency

                                                                                                        how often payment should be repeated

                                                                                                        +
                                                                                                      • quantity: number | null

                                                                                                        how many times payment should be repeated. If null, quantity = infinity

                                                                                                        +
                                                                                                      • endDate: string

                                                                                                        date in yyyy-MM-dd format

                                                                                                        +

                                                                                                      Returns Recursive

                                                                                                    Properties

                                                                                                    endDate: string
                                                                                                    frequency: Frequency
                                                                                                    quantity: number | null
                                                                                                    diff --git a/docs/classes/Redirects.html b/docs/classes/Redirects.html index 06ba179..0d6e391 100644 --- a/docs/classes/Redirects.html +++ b/docs/classes/Redirects.html @@ -1,7 +1,7 @@ -Redirects | react-native-tpay

                                                                                                    Class responsible for storing information about redirect urls

                                                                                                    -

                                                                                                    Constructors

                                                                                                    Properties

                                                                                                    Constructors

                                                                                                    • Parameters

                                                                                                      • successUrl: string

                                                                                                        payer will be redirected to this url after successful payment

                                                                                                        -
                                                                                                      • errorUrl: string

                                                                                                        payer will be redirected to this url after unsuccessful payment

                                                                                                        -

                                                                                                      Returns Redirects

                                                                                                    Properties

                                                                                                    errorUrl: string
                                                                                                    successUrl: string

                                                                                                    Generated using TypeDoc

                                                                                                    \ No newline at end of file +Redirects | react-native-tpay
                                                                                                    react-native-tpay
                                                                                                      Preparing search index...

                                                                                                      Class Redirects

                                                                                                      Class responsible for storing information about redirect urls

                                                                                                      +
                                                                                                      Index

                                                                                                      Constructors

                                                                                                      Properties

                                                                                                      Constructors

                                                                                                      • Parameters

                                                                                                        • successUrl: string

                                                                                                          payer will be redirected to this url after successful payment

                                                                                                          +
                                                                                                        • errorUrl: string

                                                                                                          payer will be redirected to this url after unsuccessful payment

                                                                                                          +

                                                                                                        Returns Redirects

                                                                                                      Properties

                                                                                                      errorUrl: string
                                                                                                      successUrl: string
                                                                                                      diff --git a/docs/classes/Result.html b/docs/classes/Result.html index 8ac4a78..5bd53f9 100644 --- a/docs/classes/Result.html +++ b/docs/classes/Result.html @@ -1,3 +1,11 @@ -Result | react-native-tpay

                                                                                                      Generated using TypeDoc

                                                                                                      \ No newline at end of file +Result | react-native-tpay
                                                                                                      react-native-tpay
                                                                                                        Preparing search index...

                                                                                                        Class ResultAbstract

                                                                                                        Indicates a result of Tpay UI module action

                                                                                                        +

                                                                                                        Hierarchy (View Summary)

                                                                                                        Index

                                                                                                        Constructors

                                                                                                        Properties

                                                                                                        Constructors

                                                                                                        Properties

                                                                                                        message?: string

                                                                                                        Optional error message or additional information

                                                                                                        +
                                                                                                        paymentUrl?: string

                                                                                                        Payment URL for continuation (used in screenless payments)

                                                                                                        +
                                                                                                        transactionId?: string | null

                                                                                                        Transaction ID when applicable

                                                                                                        +
                                                                                                        type: string

                                                                                                        Type identifier for the result

                                                                                                        +
                                                                                                        diff --git a/docs/classes/ScreenlessBlikAmbiguousAlias.html b/docs/classes/ScreenlessBlikAmbiguousAlias.html index 4408955..90633fa 100644 --- a/docs/classes/ScreenlessBlikAmbiguousAlias.html +++ b/docs/classes/ScreenlessBlikAmbiguousAlias.html @@ -1,9 +1,17 @@ -ScreenlessBlikAmbiguousAlias | react-native-tpay

                                                                                                        Class ScreenlessBlikAmbiguousAlias

                                                                                                        Indicates that payer has the same BLIK alias registered in more than one bank app. +ScreenlessBlikAmbiguousAlias | react-native-tpay

                                                                                                        react-native-tpay
                                                                                                          Preparing search index...

                                                                                                          Class ScreenlessBlikAmbiguousAlias

                                                                                                          Indicates that payer has the same BLIK alias registered in more than one bank app. You need to display a list of aliases to user and then use AmbiguousBlikPayment to continue the payment.

                                                                                                          -

                                                                                                          Hierarchy (view full)

                                                                                                          Constructors

                                                                                                          Properties

                                                                                                          Constructors

                                                                                                          Properties

                                                                                                          aliases: AmbiguousAlias[]

                                                                                                          Ambiguous aliases that need to be displayed to the user

                                                                                                          -
                                                                                                          transactionId: string

                                                                                                          Transaction id of the created transaction

                                                                                                          -

                                                                                                          Generated using TypeDoc

                                                                                                          \ No newline at end of file +

                                                                                                          Hierarchy (View Summary)

                                                                                                          Index

                                                                                                          Constructors

                                                                                                          Properties

                                                                                                          aliases: AmbiguousAlias[]

                                                                                                          Ambiguous aliases that need to be displayed to the user

                                                                                                          +
                                                                                                          error?: string | null

                                                                                                          Error message when applicable

                                                                                                          +
                                                                                                          message?: string

                                                                                                          Optional error message or additional information

                                                                                                          +
                                                                                                          paymentUrl?: string | null

                                                                                                          Payment URL for continuation when applicable

                                                                                                          +
                                                                                                          transactionId: string

                                                                                                          Transaction id of the created transaction

                                                                                                          +
                                                                                                          type: "ambiguousAlias" = 'ambiguousAlias'

                                                                                                          Type identifier for the result

                                                                                                          +
                                                                                                          diff --git a/docs/classes/ScreenlessConfiguredPaymentFailed.html b/docs/classes/ScreenlessConfiguredPaymentFailed.html index a790c7a..4d73095 100644 --- a/docs/classes/ScreenlessConfiguredPaymentFailed.html +++ b/docs/classes/ScreenlessConfiguredPaymentFailed.html @@ -1,11 +1,19 @@ -ScreenlessConfiguredPaymentFailed | react-native-tpay

                                                                                                          Class ScreenlessConfiguredPaymentFailed

                                                                                                          Indicates that creating payment failed because of error with:

                                                                                                          +ScreenlessConfiguredPaymentFailed | react-native-tpay
                                                                                                          react-native-tpay
                                                                                                            Preparing search index...

                                                                                                            Class ScreenlessConfiguredPaymentFailed

                                                                                                            Indicates that creating payment failed because of error with:

                                                                                                            • credit card data or credit card token
                                                                                                            • BLIK code or BLIK alias
                                                                                                            -

                                                                                                            Hierarchy (view full)

                                                                                                            Constructors

                                                                                                            Properties

                                                                                                            Constructors

                                                                                                            Properties

                                                                                                            error: null | string

                                                                                                            Optional error message

                                                                                                            -
                                                                                                            transactionId: string

                                                                                                            Transaction id of the created transaction

                                                                                                            -

                                                                                                            Generated using TypeDoc

                                                                                                            \ No newline at end of file +

                                                                                                            Hierarchy (View Summary)

                                                                                                            Index

                                                                                                            Constructors

                                                                                                            Properties

                                                                                                            aliases?: AmbiguousAlias[]

                                                                                                            Ambiguous aliases for BLIK payments when applicable

                                                                                                            +
                                                                                                            error: string | null

                                                                                                            Optional error message

                                                                                                            +
                                                                                                            message?: string

                                                                                                            Optional error message or additional information

                                                                                                            +
                                                                                                            paymentUrl?: string | null

                                                                                                            Payment URL for continuation when applicable

                                                                                                            +
                                                                                                            transactionId: string

                                                                                                            Transaction id of the created transaction

                                                                                                            +
                                                                                                            type: "configuredPaymentFailed" = 'configuredPaymentFailed'

                                                                                                            Type identifier for the result

                                                                                                            +
                                                                                                            diff --git a/docs/classes/ScreenlessMethodCallError.html b/docs/classes/ScreenlessMethodCallError.html index c8302e6..9a3d62f 100644 --- a/docs/classes/ScreenlessMethodCallError.html +++ b/docs/classes/ScreenlessMethodCallError.html @@ -1,5 +1,15 @@ -ScreenlessMethodCallError | react-native-tpay

                                                                                                            Generated using TypeDoc

                                                                                                            \ No newline at end of file +ScreenlessMethodCallError | react-native-tpay
                                                                                                            react-native-tpay
                                                                                                              Preparing search index...

                                                                                                              Class ScreenlessMethodCallError

                                                                                                              Indicates a module error

                                                                                                              +

                                                                                                              Hierarchy (View Summary)

                                                                                                              Index

                                                                                                              Constructors

                                                                                                              Properties

                                                                                                              aliases?: AmbiguousAlias[]

                                                                                                              Ambiguous aliases for BLIK payments when applicable

                                                                                                              +
                                                                                                              error?: string | null

                                                                                                              Error message when applicable

                                                                                                              +
                                                                                                              message: string

                                                                                                              Error message

                                                                                                              +
                                                                                                              paymentUrl?: string | null

                                                                                                              Payment URL for continuation when applicable

                                                                                                              +
                                                                                                              transactionId?: string

                                                                                                              Transaction ID when applicable

                                                                                                              +
                                                                                                              type: "methodCallError" = 'methodCallError'

                                                                                                              Type identifier for the result

                                                                                                              +
                                                                                                              diff --git a/docs/classes/ScreenlessPaid.html b/docs/classes/ScreenlessPaid.html index 1222efd..83abcba 100644 --- a/docs/classes/ScreenlessPaid.html +++ b/docs/classes/ScreenlessPaid.html @@ -1,5 +1,15 @@ -ScreenlessPaid | react-native-tpay

                                                                                                              Indicates that payment was completed successfully

                                                                                                              -

                                                                                                              Hierarchy (view full)

                                                                                                              Constructors

                                                                                                              Properties

                                                                                                              Constructors

                                                                                                              Properties

                                                                                                              transactionId: string

                                                                                                              Transaction id of the completed transaction

                                                                                                              -

                                                                                                              Generated using TypeDoc

                                                                                                              \ No newline at end of file +ScreenlessPaid | react-native-tpay
                                                                                                              react-native-tpay
                                                                                                                Preparing search index...

                                                                                                                Class ScreenlessPaid

                                                                                                                Indicates that payment was completed successfully

                                                                                                                +

                                                                                                                Hierarchy (View Summary)

                                                                                                                Index

                                                                                                                Constructors

                                                                                                                Properties

                                                                                                                aliases?: AmbiguousAlias[]

                                                                                                                Ambiguous aliases for BLIK payments when applicable

                                                                                                                +
                                                                                                                error?: string | null

                                                                                                                Error message when applicable

                                                                                                                +
                                                                                                                message?: string

                                                                                                                Optional error message or additional information

                                                                                                                +
                                                                                                                paymentUrl?: string | null

                                                                                                                Payment URL for continuation when applicable

                                                                                                                +
                                                                                                                transactionId: string

                                                                                                                Transaction id of the completed transaction

                                                                                                                +
                                                                                                                type: "paid" = 'paid'

                                                                                                                Type identifier for the result

                                                                                                                +
                                                                                                                diff --git a/docs/classes/ScreenlessPayment.html b/docs/classes/ScreenlessPayment.html index 6802bc1..ce82a94 100644 --- a/docs/classes/ScreenlessPayment.html +++ b/docs/classes/ScreenlessPayment.html @@ -1,9 +1,9 @@ -ScreenlessPayment | react-native-tpay

                                                                                                                Class ScreenlessPayment

                                                                                                                Class responsible for storing information about screenless payment details

                                                                                                                -

                                                                                                                Hierarchy (view full)

                                                                                                                Constructors

                                                                                                                Properties

                                                                                                                Constructors

                                                                                                                Properties

                                                                                                                callbacks: null | Callbacks
                                                                                                                payer: Payer
                                                                                                                paymentDetails: PaymentDetails

                                                                                                                Generated using TypeDoc

                                                                                                                \ No newline at end of file +ScreenlessPayment | react-native-tpay
                                                                                                                react-native-tpay
                                                                                                                  Preparing search index...

                                                                                                                  Class ScreenlessPayment

                                                                                                                  Class responsible for storing information about screenless payment details

                                                                                                                  +

                                                                                                                  Hierarchy (View Summary)

                                                                                                                  Index

                                                                                                                  Constructors

                                                                                                                  Properties

                                                                                                                  Constructors

                                                                                                                  Properties

                                                                                                                  callbacks: Callbacks | null
                                                                                                                  payer: Payer
                                                                                                                  paymentDetails: PaymentDetails
                                                                                                                  diff --git a/docs/classes/ScreenlessPaymentCreated.html b/docs/classes/ScreenlessPaymentCreated.html index 329d059..d9d5824 100644 --- a/docs/classes/ScreenlessPaymentCreated.html +++ b/docs/classes/ScreenlessPaymentCreated.html @@ -1,12 +1,20 @@ -ScreenlessPaymentCreated | react-native-tpay

                                                                                                                  Class ScreenlessPaymentCreated

                                                                                                                  Indicates that payment was created. +ScreenlessPaymentCreated | react-native-tpay

                                                                                                                  react-native-tpay
                                                                                                                    Preparing search index...

                                                                                                                    Class ScreenlessPaymentCreated

                                                                                                                    Indicates that payment was created. If it was a credit card or transfer payment you might have to display paymentUrl to the user to finish the payment. If it was a BLIK payment user has to accept it in bank app. It is advised to use long polling mechanism to observe payment status via transactionId.

                                                                                                                    -

                                                                                                                    Hierarchy (view full)

                                                                                                                    Constructors

                                                                                                                    Properties

                                                                                                                    Constructors

                                                                                                                    Properties

                                                                                                                    paymentUrl: null | string

                                                                                                                    Payment url, needs to be displayed to the user to finish the payment

                                                                                                                    -
                                                                                                                    transactionId: string

                                                                                                                    Transaction id of the created transaction

                                                                                                                    -

                                                                                                                    Generated using TypeDoc

                                                                                                                    \ No newline at end of file +

                                                                                                                    Hierarchy (View Summary)

                                                                                                                    Index

                                                                                                                    Constructors

                                                                                                                    Properties

                                                                                                                    aliases?: AmbiguousAlias[]

                                                                                                                    Ambiguous aliases for BLIK payments when applicable

                                                                                                                    +
                                                                                                                    error?: string | null

                                                                                                                    Error message when applicable

                                                                                                                    +
                                                                                                                    message?: string

                                                                                                                    Optional error message or additional information

                                                                                                                    +
                                                                                                                    paymentUrl: string | null

                                                                                                                    Payment url, needs to be displayed to the user to finish the payment

                                                                                                                    +
                                                                                                                    transactionId: string

                                                                                                                    Transaction id of the created transaction

                                                                                                                    +
                                                                                                                    type: "paymentCreated" = 'paymentCreated'

                                                                                                                    Type identifier for the result

                                                                                                                    +
                                                                                                                    diff --git a/docs/classes/ScreenlessPaymentError.html b/docs/classes/ScreenlessPaymentError.html index 0510e8b..6b2e38b 100644 --- a/docs/classes/ScreenlessPaymentError.html +++ b/docs/classes/ScreenlessPaymentError.html @@ -1,5 +1,15 @@ -ScreenlessPaymentError | react-native-tpay

                                                                                                                    Class ScreenlessPaymentError

                                                                                                                    Indicates that payment was not created because of an error

                                                                                                                    -

                                                                                                                    Hierarchy (view full)

                                                                                                                    Constructors

                                                                                                                    Properties

                                                                                                                    Constructors

                                                                                                                    Properties

                                                                                                                    error: null | string

                                                                                                                    Optional error message

                                                                                                                    -

                                                                                                                    Generated using TypeDoc

                                                                                                                    \ No newline at end of file +ScreenlessPaymentError | react-native-tpay
                                                                                                                    react-native-tpay
                                                                                                                      Preparing search index...

                                                                                                                      Class ScreenlessPaymentError

                                                                                                                      Indicates that payment was not created because of an error

                                                                                                                      +

                                                                                                                      Hierarchy (View Summary)

                                                                                                                      Index

                                                                                                                      Constructors

                                                                                                                      Properties

                                                                                                                      aliases?: AmbiguousAlias[]

                                                                                                                      Ambiguous aliases for BLIK payments when applicable

                                                                                                                      +
                                                                                                                      error: string | null

                                                                                                                      Optional error message

                                                                                                                      +
                                                                                                                      message?: string

                                                                                                                      Optional error message or additional information

                                                                                                                      +
                                                                                                                      paymentUrl?: string | null

                                                                                                                      Payment URL for continuation when applicable

                                                                                                                      +
                                                                                                                      transactionId?: string

                                                                                                                      Transaction ID when applicable

                                                                                                                      +
                                                                                                                      type: "error" = 'error'

                                                                                                                      Type identifier for the result

                                                                                                                      +
                                                                                                                      diff --git a/docs/classes/ScreenlessResult.html b/docs/classes/ScreenlessResult.html index 6e8f7d3..71c5137 100644 --- a/docs/classes/ScreenlessResult.html +++ b/docs/classes/ScreenlessResult.html @@ -1,3 +1,15 @@ -ScreenlessResult | react-native-tpay

                                                                                                                      Generated using TypeDoc

                                                                                                                      \ No newline at end of file +ScreenlessResult | react-native-tpay
                                                                                                                      react-native-tpay
                                                                                                                        Preparing search index...

                                                                                                                        Class ScreenlessResultAbstract

                                                                                                                        Indicates a result of screenless action

                                                                                                                        +

                                                                                                                        Hierarchy (View Summary)

                                                                                                                        Index

                                                                                                                        Constructors

                                                                                                                        Properties

                                                                                                                        aliases?: AmbiguousAlias[]

                                                                                                                        Ambiguous aliases for BLIK payments when applicable

                                                                                                                        +
                                                                                                                        error?: string | null

                                                                                                                        Error message when applicable

                                                                                                                        +
                                                                                                                        message?: string

                                                                                                                        Optional error message or additional information

                                                                                                                        +
                                                                                                                        paymentUrl?: string | null

                                                                                                                        Payment URL for continuation when applicable

                                                                                                                        +
                                                                                                                        transactionId?: string

                                                                                                                        Transaction ID when applicable

                                                                                                                        +
                                                                                                                        type: string

                                                                                                                        Type identifier for the result

                                                                                                                        +
                                                                                                                        diff --git a/docs/classes/ScreenlessValidationError.html b/docs/classes/ScreenlessValidationError.html index 33d674d..1df97b4 100644 --- a/docs/classes/ScreenlessValidationError.html +++ b/docs/classes/ScreenlessValidationError.html @@ -1,5 +1,15 @@ -ScreenlessValidationError | react-native-tpay

                                                                                                                        Class ScreenlessValidationError

                                                                                                                        Indicates that some data passed to payment is invalid

                                                                                                                        -

                                                                                                                        Hierarchy (view full)

                                                                                                                        Constructors

                                                                                                                        Properties

                                                                                                                        Constructors

                                                                                                                        Properties

                                                                                                                        message: string

                                                                                                                        Validation error message

                                                                                                                        -

                                                                                                                        Generated using TypeDoc

                                                                                                                        \ No newline at end of file +ScreenlessValidationError | react-native-tpay
                                                                                                                        react-native-tpay
                                                                                                                          Preparing search index...

                                                                                                                          Class ScreenlessValidationError

                                                                                                                          Indicates that some data passed to payment is invalid

                                                                                                                          +

                                                                                                                          Hierarchy (View Summary)

                                                                                                                          Index

                                                                                                                          Constructors

                                                                                                                          Properties

                                                                                                                          aliases?: AmbiguousAlias[]

                                                                                                                          Ambiguous aliases for BLIK payments when applicable

                                                                                                                          +
                                                                                                                          error?: string | null

                                                                                                                          Error message when applicable

                                                                                                                          +
                                                                                                                          message: string

                                                                                                                          Validation error message

                                                                                                                          +
                                                                                                                          paymentUrl?: string | null

                                                                                                                          Payment URL for continuation when applicable

                                                                                                                          +
                                                                                                                          transactionId?: string

                                                                                                                          Transaction ID when applicable

                                                                                                                          +
                                                                                                                          type: "validationError" = 'validationError'

                                                                                                                          Type identifier for the result

                                                                                                                          +
                                                                                                                          diff --git a/docs/classes/SingleTransaction.html b/docs/classes/SingleTransaction.html index af71607..cdc5636 100644 --- a/docs/classes/SingleTransaction.html +++ b/docs/classes/SingleTransaction.html @@ -1,11 +1,13 @@ -SingleTransaction | react-native-tpay

                                                                                                                          Class SingleTransaction

                                                                                                                          Class responsible for storing information about standard Tpay UI module payment

                                                                                                                          -

                                                                                                                          Hierarchy (view full)

                                                                                                                          Constructors

                                                                                                                          Properties

                                                                                                                          amount: number
                                                                                                                          description: string
                                                                                                                          notifications: null | Notifications
                                                                                                                          payerContext: PayerContext

                                                                                                                          Generated using TypeDoc

                                                                                                                          \ No newline at end of file +SingleTransaction | react-native-tpay
                                                                                                                          react-native-tpay
                                                                                                                            Preparing search index...

                                                                                                                            Class SingleTransaction

                                                                                                                            Class responsible for storing information about standard Tpay UI module payment

                                                                                                                            +

                                                                                                                            Hierarchy (View Summary)

                                                                                                                            Index

                                                                                                                            Constructors

                                                                                                                            Properties

                                                                                                                            amount: number
                                                                                                                            description: string
                                                                                                                            hiddenDescription: string | null
                                                                                                                            notifications: Notifications | null
                                                                                                                            payerContext: PayerContext
                                                                                                                            diff --git a/docs/classes/TokenPayment.html b/docs/classes/TokenPayment.html index e1c5ffe..c5ddfcf 100644 --- a/docs/classes/TokenPayment.html +++ b/docs/classes/TokenPayment.html @@ -1,13 +1,15 @@ -TokenPayment | react-native-tpay

                                                                                                                            Class responsible for storing information about credit card token payment with Tpay UI module.

                                                                                                                            -

                                                                                                                            Hierarchy (view full)

                                                                                                                            Constructors

                                                                                                                            Properties

                                                                                                                            amount: number
                                                                                                                            cardToken: string
                                                                                                                            description: string
                                                                                                                            notifications: null | Notifications
                                                                                                                            payer: Payer

                                                                                                                            Generated using TypeDoc

                                                                                                                            \ No newline at end of file +TokenPayment | react-native-tpay
                                                                                                                            react-native-tpay
                                                                                                                              Preparing search index...

                                                                                                                              Class TokenPayment

                                                                                                                              Class responsible for storing information about credit card token payment with Tpay UI module.

                                                                                                                              +

                                                                                                                              Hierarchy (View Summary)

                                                                                                                              Index

                                                                                                                              Constructors

                                                                                                                              • Parameters

                                                                                                                                • cardToken: string

                                                                                                                                  token of tokenized card

                                                                                                                                  +
                                                                                                                                • payer: Payer

                                                                                                                                  payer information

                                                                                                                                  +
                                                                                                                                • amount: number

                                                                                                                                  amount of money payer has to pay

                                                                                                                                  +
                                                                                                                                • description: string

                                                                                                                                  description of payment shown to payer

                                                                                                                                  +
                                                                                                                                • hiddenDescription: string | null

                                                                                                                                  description of payment shown to merchant

                                                                                                                                  +
                                                                                                                                • notifications: Notifications | null

                                                                                                                                  payment notification url and email

                                                                                                                                  +

                                                                                                                                Returns TokenPayment

                                                                                                                              Properties

                                                                                                                              amount: number
                                                                                                                              cardToken: string
                                                                                                                              description: string
                                                                                                                              hiddenDescription: string | null
                                                                                                                              notifications: Notifications | null
                                                                                                                              payer: Payer
                                                                                                                              diff --git a/docs/classes/Tokenization.html b/docs/classes/Tokenization.html index 9d0b6d9..58a0a5b 100644 --- a/docs/classes/Tokenization.html +++ b/docs/classes/Tokenization.html @@ -1,7 +1,7 @@ -Tokenization | react-native-tpay

                                                                                                                              Class responsible for storing information needed to start UI tokenization.

                                                                                                                              -

                                                                                                                              Constructors

                                                                                                                              Properties

                                                                                                                              Constructors

                                                                                                                              Properties

                                                                                                                              notificationUrl: string
                                                                                                                              payer: Payer

                                                                                                                              Generated using TypeDoc

                                                                                                                              \ No newline at end of file +Tokenization | react-native-tpay
                                                                                                                              react-native-tpay
                                                                                                                                Preparing search index...

                                                                                                                                Class Tokenization

                                                                                                                                Class responsible for storing information needed to start UI tokenization.

                                                                                                                                +
                                                                                                                                Index

                                                                                                                                Constructors

                                                                                                                                Properties

                                                                                                                                Constructors

                                                                                                                                Properties

                                                                                                                                notificationUrl: string
                                                                                                                                payer: Payer
                                                                                                                                diff --git a/docs/classes/TokenizationCompleted.html b/docs/classes/TokenizationCompleted.html index 579c446..a3e7a6d 100644 --- a/docs/classes/TokenizationCompleted.html +++ b/docs/classes/TokenizationCompleted.html @@ -1,3 +1,11 @@ -TokenizationCompleted | react-native-tpay

                                                                                                                                Class TokenizationCompleted

                                                                                                                                Indicates that credit card tokenization was successful and module was closed

                                                                                                                                -

                                                                                                                                Hierarchy (view full)

                                                                                                                                Constructors

                                                                                                                                Constructors

                                                                                                                                Generated using TypeDoc

                                                                                                                                \ No newline at end of file +TokenizationCompleted | react-native-tpay
                                                                                                                                react-native-tpay
                                                                                                                                  Preparing search index...

                                                                                                                                  Class TokenizationCompleted

                                                                                                                                  Indicates that credit card tokenization was successful and module was closed

                                                                                                                                  +

                                                                                                                                  Hierarchy (View Summary)

                                                                                                                                  Index

                                                                                                                                  Constructors

                                                                                                                                  Properties

                                                                                                                                  Constructors

                                                                                                                                  Properties

                                                                                                                                  message?: string

                                                                                                                                  Optional error message or additional information

                                                                                                                                  +
                                                                                                                                  paymentUrl?: string

                                                                                                                                  Payment URL for continuation (used in screenless payments)

                                                                                                                                  +
                                                                                                                                  transactionId?: string | null

                                                                                                                                  Transaction ID when applicable

                                                                                                                                  +
                                                                                                                                  type: "tokenizationCompleted" = 'tokenizationCompleted'

                                                                                                                                  Type identifier for the result

                                                                                                                                  +
                                                                                                                                  diff --git a/docs/classes/TokenizationFailure.html b/docs/classes/TokenizationFailure.html index 31d20a9..0bed5f9 100644 --- a/docs/classes/TokenizationFailure.html +++ b/docs/classes/TokenizationFailure.html @@ -1,3 +1,11 @@ -TokenizationFailure | react-native-tpay

                                                                                                                                  Generated using TypeDoc

                                                                                                                                  \ No newline at end of file +TokenizationFailure | react-native-tpay
                                                                                                                                  react-native-tpay
                                                                                                                                    Preparing search index...

                                                                                                                                    Class TokenizationFailure

                                                                                                                                    Indicates that credit card tokenization failed and module was closed

                                                                                                                                    +

                                                                                                                                    Hierarchy (View Summary)

                                                                                                                                    Index

                                                                                                                                    Constructors

                                                                                                                                    Properties

                                                                                                                                    Constructors

                                                                                                                                    Properties

                                                                                                                                    message?: string

                                                                                                                                    Optional error message or additional information

                                                                                                                                    +
                                                                                                                                    paymentUrl?: string

                                                                                                                                    Payment URL for continuation (used in screenless payments)

                                                                                                                                    +
                                                                                                                                    transactionId?: string | null

                                                                                                                                    Transaction ID when applicable

                                                                                                                                    +
                                                                                                                                    type: "tokenizationFailure" = 'tokenizationFailure'

                                                                                                                                    Type identifier for the result

                                                                                                                                    +
                                                                                                                                    diff --git a/docs/classes/TokenizedCard.html b/docs/classes/TokenizedCard.html index 4f11ed0..eeaa175 100644 --- a/docs/classes/TokenizedCard.html +++ b/docs/classes/TokenizedCard.html @@ -1,9 +1,9 @@ -TokenizedCard | react-native-tpay

                                                                                                                                    Class responsible for storing tokenized card information

                                                                                                                                    -

                                                                                                                                    Constructors

                                                                                                                                    Properties

                                                                                                                                    Constructors

                                                                                                                                    Properties

                                                                                                                                    cardTail: string
                                                                                                                                    token: string

                                                                                                                                    Generated using TypeDoc

                                                                                                                                    \ No newline at end of file +TokenizedCard | react-native-tpay
                                                                                                                                    react-native-tpay
                                                                                                                                      Preparing search index...

                                                                                                                                      Class TokenizedCard

                                                                                                                                      Class responsible for storing tokenized card information

                                                                                                                                      +
                                                                                                                                      Index

                                                                                                                                      Constructors

                                                                                                                                      Properties

                                                                                                                                      Constructors

                                                                                                                                      Properties

                                                                                                                                      cardTail: string
                                                                                                                                      token: string
                                                                                                                                      diff --git a/docs/classes/TpayConfiguration.html b/docs/classes/TpayConfiguration.html index c2adb07..9e07629 100644 --- a/docs/classes/TpayConfiguration.html +++ b/docs/classes/TpayConfiguration.html @@ -1,11 +1,11 @@ -TpayConfiguration | react-native-tpay

                                                                                                                                      Class TpayConfiguration

                                                                                                                                      Class responsible for storing information about Tpay configuration

                                                                                                                                      -

                                                                                                                                      Constructors

                                                                                                                                      Properties

                                                                                                                                      languages: Languages
                                                                                                                                      merchant: Merchant
                                                                                                                                      merchantDetails: MerchantDetails
                                                                                                                                      paymentMethods: PaymentMethods

                                                                                                                                      Generated using TypeDoc

                                                                                                                                      \ No newline at end of file +TpayConfiguration | react-native-tpay
                                                                                                                                      react-native-tpay
                                                                                                                                        Preparing search index...

                                                                                                                                        Class TpayConfiguration

                                                                                                                                        Class responsible for storing information about Tpay configuration

                                                                                                                                        +
                                                                                                                                        Index

                                                                                                                                        Constructors

                                                                                                                                        Properties

                                                                                                                                        languages: Languages
                                                                                                                                        merchant: Merchant
                                                                                                                                        merchantDetails: MerchantDetails
                                                                                                                                        paymentMethods: PaymentMethods
                                                                                                                                        diff --git a/docs/classes/Transaction.html b/docs/classes/Transaction.html index 3b53076..8d1968c 100644 --- a/docs/classes/Transaction.html +++ b/docs/classes/Transaction.html @@ -1,9 +1,11 @@ -Transaction | react-native-tpay

                                                                                                                                        Class responsible for storing information about UI module transaction

                                                                                                                                        -

                                                                                                                                        Hierarchy (view full)

                                                                                                                                        Constructors

                                                                                                                                        Properties

                                                                                                                                        Constructors

                                                                                                                                        Properties

                                                                                                                                        amount: number
                                                                                                                                        description: string
                                                                                                                                        notifications: null | Notifications

                                                                                                                                        Generated using TypeDoc

                                                                                                                                        \ No newline at end of file +Transaction | react-native-tpay
                                                                                                                                        react-native-tpay
                                                                                                                                          Preparing search index...

                                                                                                                                          Class Transaction

                                                                                                                                          Class responsible for storing information about UI module transaction

                                                                                                                                          +

                                                                                                                                          Hierarchy (View Summary)

                                                                                                                                          Index

                                                                                                                                          Constructors

                                                                                                                                          • Parameters

                                                                                                                                            • amount: number

                                                                                                                                              amount of money payer has to pay

                                                                                                                                              +
                                                                                                                                            • description: string

                                                                                                                                              description of payment shown to payer

                                                                                                                                              +
                                                                                                                                            • hiddenDescription: string | null

                                                                                                                                              description of payment shown to merchant

                                                                                                                                              +
                                                                                                                                            • notifications: Notifications | null

                                                                                                                                              payment notification url and email

                                                                                                                                              +

                                                                                                                                            Returns Transaction

                                                                                                                                          Properties

                                                                                                                                          amount: number
                                                                                                                                          description: string
                                                                                                                                          hiddenDescription: string | null
                                                                                                                                          notifications: Notifications | null
                                                                                                                                          diff --git a/docs/classes/TransferPayment.html b/docs/classes/TransferPayment.html index e056e47..bd8b5d7 100644 --- a/docs/classes/TransferPayment.html +++ b/docs/classes/TransferPayment.html @@ -1,8 +1,8 @@ -TransferPayment | react-native-tpay

                                                                                                                                          Class responsible for storing information about transfer payment

                                                                                                                                          -

                                                                                                                                          Hierarchy (view full)

                                                                                                                                          Constructors

                                                                                                                                          Properties

                                                                                                                                          Constructors

                                                                                                                                          Properties

                                                                                                                                          callbacks: null | Callbacks
                                                                                                                                          channelId: number
                                                                                                                                          payer: Payer
                                                                                                                                          paymentDetails: PaymentDetails

                                                                                                                                          Generated using TypeDoc

                                                                                                                                          \ No newline at end of file +TransferPayment | react-native-tpay
                                                                                                                                          react-native-tpay
                                                                                                                                            Preparing search index...

                                                                                                                                            Class TransferPayment

                                                                                                                                            Class responsible for storing information about transfer payment

                                                                                                                                            +

                                                                                                                                            Hierarchy (View Summary)

                                                                                                                                            Index

                                                                                                                                            Constructors

                                                                                                                                            Properties

                                                                                                                                            Constructors

                                                                                                                                            Properties

                                                                                                                                            callbacks: Callbacks | null
                                                                                                                                            channelId: number
                                                                                                                                            payer: Payer
                                                                                                                                            paymentDetails: PaymentDetails
                                                                                                                                            diff --git a/docs/classes/ValidationError.html b/docs/classes/ValidationError.html index 9dc8e96..d4d0318 100644 --- a/docs/classes/ValidationError.html +++ b/docs/classes/ValidationError.html @@ -1,5 +1,11 @@ -ValidationError | react-native-tpay

                                                                                                                                            Indicates that some data passed to module is invalid

                                                                                                                                            -

                                                                                                                                            Hierarchy (view full)

                                                                                                                                            Constructors

                                                                                                                                            Properties

                                                                                                                                            Constructors

                                                                                                                                            Properties

                                                                                                                                            message: string

                                                                                                                                            Validation error message

                                                                                                                                            -

                                                                                                                                            Generated using TypeDoc

                                                                                                                                            \ No newline at end of file +ValidationError | react-native-tpay
                                                                                                                                            react-native-tpay
                                                                                                                                              Preparing search index...

                                                                                                                                              Class ValidationError

                                                                                                                                              Indicates that some data passed to module is invalid

                                                                                                                                              +

                                                                                                                                              Hierarchy (View Summary)

                                                                                                                                              Index

                                                                                                                                              Constructors

                                                                                                                                              Properties

                                                                                                                                              Constructors

                                                                                                                                              Properties

                                                                                                                                              message: string

                                                                                                                                              Validation error message

                                                                                                                                              +
                                                                                                                                              paymentUrl?: string

                                                                                                                                              Payment URL for continuation (used in screenless payments)

                                                                                                                                              +
                                                                                                                                              transactionId?: string | null

                                                                                                                                              Transaction ID when applicable

                                                                                                                                              +
                                                                                                                                              type: "validationError" = 'validationError'

                                                                                                                                              Type identifier for the result

                                                                                                                                              +
                                                                                                                                              diff --git a/docs/classes/WalletConfiguration.html b/docs/classes/WalletConfiguration.html index 5d00d33..2d6784e 100644 --- a/docs/classes/WalletConfiguration.html +++ b/docs/classes/WalletConfiguration.html @@ -1,7 +1,7 @@ -WalletConfiguration | react-native-tpay

                                                                                                                                              Class WalletConfiguration

                                                                                                                                              Class responsible for storing wallet configuration

                                                                                                                                              -

                                                                                                                                              Constructors

                                                                                                                                              Properties

                                                                                                                                              Constructors

                                                                                                                                              Properties

                                                                                                                                              applePay: null | ApplePayConfiguration
                                                                                                                                              googlePay: null | GooglePayConfiguration

                                                                                                                                              Generated using TypeDoc

                                                                                                                                              \ No newline at end of file +WalletConfiguration | react-native-tpay
                                                                                                                                              react-native-tpay
                                                                                                                                                Preparing search index...

                                                                                                                                                Class WalletConfiguration

                                                                                                                                                Class responsible for storing wallet configuration

                                                                                                                                                +
                                                                                                                                                Index

                                                                                                                                                Constructors

                                                                                                                                                Properties

                                                                                                                                                Constructors

                                                                                                                                                Properties

                                                                                                                                                applePay: ApplePayConfiguration | null
                                                                                                                                                googlePay: GooglePayConfiguration | null
                                                                                                                                                diff --git a/docs/enums/CreditCardBrand.html b/docs/enums/CreditCardBrand.html index 3828f39..ea46d75 100644 --- a/docs/enums/CreditCardBrand.html +++ b/docs/enums/CreditCardBrand.html @@ -1,5 +1,5 @@ -CreditCardBrand | react-native-tpay

                                                                                                                                                Generated using TypeDoc

                                                                                                                                                \ No newline at end of file +CreditCardBrand | react-native-tpay
                                                                                                                                                react-native-tpay
                                                                                                                                                  Preparing search index...

                                                                                                                                                  Enumeration CreditCardBrand

                                                                                                                                                  Enum describing possible credit card brands

                                                                                                                                                  +
                                                                                                                                                  Index

                                                                                                                                                  Enumeration Members

                                                                                                                                                  Enumeration Members

                                                                                                                                                  mastercard: "mastercard"
                                                                                                                                                  unknown: "unknown"
                                                                                                                                                  visa: "visa"
                                                                                                                                                  diff --git a/docs/enums/DigitalWallet.html b/docs/enums/DigitalWallet.html index 79abc5f..42f01fd 100644 --- a/docs/enums/DigitalWallet.html +++ b/docs/enums/DigitalWallet.html @@ -1,4 +1,4 @@ -DigitalWallet | react-native-tpay

                                                                                                                                                  Generated using TypeDoc

                                                                                                                                                  \ No newline at end of file +DigitalWallet | react-native-tpay
                                                                                                                                                  react-native-tpay
                                                                                                                                                    Preparing search index...

                                                                                                                                                    Enumeration DigitalWallet

                                                                                                                                                    Enum describing possible digital wallets

                                                                                                                                                    +
                                                                                                                                                    Index

                                                                                                                                                    Enumeration Members

                                                                                                                                                    Enumeration Members

                                                                                                                                                    applePay: "applePay"
                                                                                                                                                    googlePay: "googlePay"
                                                                                                                                                    diff --git a/docs/enums/Frequency.html b/docs/enums/Frequency.html index 8b1a806..72b7406 100644 --- a/docs/enums/Frequency.html +++ b/docs/enums/Frequency.html @@ -1,7 +1,7 @@ -Frequency | react-native-tpay

                                                                                                                                                    Generated using TypeDoc

                                                                                                                                                    \ No newline at end of file +Frequency | react-native-tpay
                                                                                                                                                    react-native-tpay
                                                                                                                                                      Preparing search index...

                                                                                                                                                      Enumeration Frequency

                                                                                                                                                      Enum describing the frequency options

                                                                                                                                                      +
                                                                                                                                                      Index

                                                                                                                                                      Enumeration Members

                                                                                                                                                      Enumeration Members

                                                                                                                                                      daily: "daily"
                                                                                                                                                      monthly: "monthly"
                                                                                                                                                      quarterly: "quarterly"
                                                                                                                                                      weekly: "weekly"
                                                                                                                                                      yearly: "yearly"
                                                                                                                                                      diff --git a/docs/enums/GooglePayEnvironment.html b/docs/enums/GooglePayEnvironment.html index 23b81e8..92ecf5b 100644 --- a/docs/enums/GooglePayEnvironment.html +++ b/docs/enums/GooglePayEnvironment.html @@ -1,4 +1,4 @@ -GooglePayEnvironment | react-native-tpay

                                                                                                                                                      Generated using TypeDoc

                                                                                                                                                      \ No newline at end of file +GooglePayEnvironment | react-native-tpay
                                                                                                                                                      react-native-tpay
                                                                                                                                                        Preparing search index...

                                                                                                                                                        Enumeration GooglePayEnvironment

                                                                                                                                                        Enum describing Google Pay environment options

                                                                                                                                                        +
                                                                                                                                                        Index

                                                                                                                                                        Enumeration Members

                                                                                                                                                        Enumeration Members

                                                                                                                                                        production: "production"
                                                                                                                                                        test: "test"
                                                                                                                                                        diff --git a/docs/enums/InstallmentPayment.html b/docs/enums/InstallmentPayment.html index 3c6cac6..60e3bb6 100644 --- a/docs/enums/InstallmentPayment.html +++ b/docs/enums/InstallmentPayment.html @@ -1,4 +1,4 @@ -InstallmentPayment | react-native-tpay

                                                                                                                                                        Generated using TypeDoc

                                                                                                                                                        \ No newline at end of file +InstallmentPayment | react-native-tpay
                                                                                                                                                        react-native-tpay
                                                                                                                                                          Preparing search index...

                                                                                                                                                          Enumeration InstallmentPayment

                                                                                                                                                          Enum describing possible installment payments

                                                                                                                                                          +
                                                                                                                                                          Index

                                                                                                                                                          Enumeration Members

                                                                                                                                                          Enumeration Members

                                                                                                                                                          payPo: "payPo"
                                                                                                                                                          ratyPekao: "ratyPekao"
                                                                                                                                                          diff --git a/docs/enums/Language.html b/docs/enums/Language.html index 63db460..7d580d5 100644 --- a/docs/enums/Language.html +++ b/docs/enums/Language.html @@ -1,3 +1,3 @@ -Language | react-native-tpay

                                                                                                                                                          Generated using TypeDoc

                                                                                                                                                          \ No newline at end of file +Language | react-native-tpay
                                                                                                                                                          react-native-tpay
                                                                                                                                                            Preparing search index...

                                                                                                                                                            Enumeration Language

                                                                                                                                                            Index

                                                                                                                                                            Enumeration Members

                                                                                                                                                            en +pl +

                                                                                                                                                            Enumeration Members

                                                                                                                                                            en: "en"
                                                                                                                                                            pl: "pl"
                                                                                                                                                            diff --git a/docs/enums/PaymentConstraintType.html b/docs/enums/PaymentConstraintType.html index d8cfa0e..88f2e34 100644 --- a/docs/enums/PaymentConstraintType.html +++ b/docs/enums/PaymentConstraintType.html @@ -1,3 +1,3 @@ -PaymentConstraintType | react-native-tpay

                                                                                                                                                            Generated using TypeDoc

                                                                                                                                                            \ No newline at end of file +PaymentConstraintType | react-native-tpay
                                                                                                                                                            react-native-tpay
                                                                                                                                                              Preparing search index...

                                                                                                                                                              Enumeration PaymentConstraintType

                                                                                                                                                              Enum describing available payment constraint types

                                                                                                                                                              +
                                                                                                                                                              Index

                                                                                                                                                              Enumeration Members

                                                                                                                                                              Enumeration Members

                                                                                                                                                              amount: "amount"
                                                                                                                                                              diff --git a/docs/enums/PaymentMethod.html b/docs/enums/PaymentMethod.html index dd56c7a..50bd86c 100644 --- a/docs/enums/PaymentMethod.html +++ b/docs/enums/PaymentMethod.html @@ -1,5 +1,5 @@ -PaymentMethod | react-native-tpay

                                                                                                                                                              Generated using TypeDoc

                                                                                                                                                              \ No newline at end of file +PaymentMethod | react-native-tpay
                                                                                                                                                              react-native-tpay
                                                                                                                                                                Preparing search index...

                                                                                                                                                                Enumeration PaymentMethod

                                                                                                                                                                Enum describing possible payment methods

                                                                                                                                                                +
                                                                                                                                                                Index

                                                                                                                                                                Enumeration Members

                                                                                                                                                                Enumeration Members

                                                                                                                                                                blik: "blik"
                                                                                                                                                                card: "card"
                                                                                                                                                                transfer: "transfer"
                                                                                                                                                                diff --git a/docs/enums/TpayEnvironment.html b/docs/enums/TpayEnvironment.html index caa057c..92677ae 100644 --- a/docs/enums/TpayEnvironment.html +++ b/docs/enums/TpayEnvironment.html @@ -1,3 +1,3 @@ -TpayEnvironment | react-native-tpay

                                                                                                                                                                Generated using TypeDoc

                                                                                                                                                                \ No newline at end of file +TpayEnvironment | react-native-tpay
                                                                                                                                                                react-native-tpay
                                                                                                                                                                  Preparing search index...

                                                                                                                                                                  Enumeration TpayEnvironment

                                                                                                                                                                  Index

                                                                                                                                                                  Enumeration Members

                                                                                                                                                                  Enumeration Members

                                                                                                                                                                  production: "production"
                                                                                                                                                                  sandbox: "sandbox"
                                                                                                                                                                  diff --git a/docs/functions/TpayButton.html b/docs/functions/TpayButton.html index 96852cc..cbe6314 100644 --- a/docs/functions/TpayButton.html +++ b/docs/functions/TpayButton.html @@ -1 +1 @@ -TpayButton | react-native-tpay

                                                                                                                                                                  Generated using TypeDoc

                                                                                                                                                                  \ No newline at end of file +TpayButton | react-native-tpay
                                                                                                                                                                  react-native-tpay
                                                                                                                                                                    Preparing search index...

                                                                                                                                                                    Function TpayButton

                                                                                                                                                                    diff --git a/docs/functions/configure.html b/docs/functions/configure.html index 6753bbe..d2cc551 100644 --- a/docs/functions/configure.html +++ b/docs/functions/configure.html @@ -1,3 +1,3 @@ -configure | react-native-tpay

                                                                                                                                                                    Function configure

                                                                                                                                                                    diff --git a/docs/functions/configureGooglePayUtils.html b/docs/functions/configureGooglePayUtils.html index d2f53e2..3a49744 100644 --- a/docs/functions/configureGooglePayUtils.html +++ b/docs/functions/configureGooglePayUtils.html @@ -1,4 +1,4 @@ -configureGooglePayUtils | react-native-tpay

                                                                                                                                                                    Function configureGooglePayUtils

                                                                                                                                                                    diff --git a/docs/functions/getAvailablePaymentChannels.html b/docs/functions/getAvailablePaymentChannels.html index 5e56a08..0299009 100644 --- a/docs/functions/getAvailablePaymentChannels.html +++ b/docs/functions/getAvailablePaymentChannels.html @@ -1,2 +1,2 @@ -getAvailablePaymentChannels | react-native-tpay

                                                                                                                                                                    Generated using TypeDoc

                                                                                                                                                                    \ No newline at end of file +getAvailablePaymentChannels | react-native-tpay
                                                                                                                                                                    react-native-tpay
                                                                                                                                                                      Preparing search index...

                                                                                                                                                                      Function getAvailablePaymentChannels

                                                                                                                                                                      diff --git a/docs/functions/isGooglePayAvailable.html b/docs/functions/isGooglePayAvailable.html index 6fa89be..6ab447f 100644 --- a/docs/functions/isGooglePayAvailable.html +++ b/docs/functions/isGooglePayAvailable.html @@ -1,4 +1,4 @@ -isGooglePayAvailable | react-native-tpay

                                                                                                                                                                      Function isGooglePayAvailable

                                                                                                                                                                      diff --git a/docs/functions/openGooglePay.html b/docs/functions/openGooglePay.html index 15b2af9..2521f94 100644 --- a/docs/functions/openGooglePay.html +++ b/docs/functions/openGooglePay.html @@ -1,4 +1,4 @@ -openGooglePay | react-native-tpay

                                                                                                                                                                      Function openGooglePay

                                                                                                                                                                      diff --git a/docs/functions/screenlessAmbiguousBLIKPayment.html b/docs/functions/screenlessAmbiguousBLIKPayment.html index b584b7c..3b801d8 100644 --- a/docs/functions/screenlessAmbiguousBLIKPayment.html +++ b/docs/functions/screenlessAmbiguousBLIKPayment.html @@ -1,2 +1,2 @@ -screenlessAmbiguousBLIKPayment | react-native-tpay

                                                                                                                                                                      Function screenlessAmbiguousBLIKPayment

                                                                                                                                                                      Generated using TypeDoc

                                                                                                                                                                      \ No newline at end of file +screenlessAmbiguousBLIKPayment | react-native-tpay
                                                                                                                                                                      react-native-tpay
                                                                                                                                                                        Preparing search index...

                                                                                                                                                                        Function screenlessAmbiguousBLIKPayment

                                                                                                                                                                        diff --git a/docs/functions/screenlessApplePayPayment.html b/docs/functions/screenlessApplePayPayment.html index 5525cd3..059906b 100644 --- a/docs/functions/screenlessApplePayPayment.html +++ b/docs/functions/screenlessApplePayPayment.html @@ -1,2 +1,2 @@ -screenlessApplePayPayment | react-native-tpay

                                                                                                                                                                        Generated using TypeDoc

                                                                                                                                                                        \ No newline at end of file +screenlessApplePayPayment | react-native-tpay
                                                                                                                                                                        react-native-tpay
                                                                                                                                                                          Preparing search index...

                                                                                                                                                                          Function screenlessApplePayPayment

                                                                                                                                                                          diff --git a/docs/functions/screenlessBLIKPayment.html b/docs/functions/screenlessBLIKPayment.html index 265c733..1f7c16e 100644 --- a/docs/functions/screenlessBLIKPayment.html +++ b/docs/functions/screenlessBLIKPayment.html @@ -1,2 +1,2 @@ -screenlessBLIKPayment | react-native-tpay

                                                                                                                                                                          Generated using TypeDoc

                                                                                                                                                                          \ No newline at end of file +screenlessBLIKPayment | react-native-tpay
                                                                                                                                                                          react-native-tpay
                                                                                                                                                                            Preparing search index...

                                                                                                                                                                            Function screenlessBLIKPayment

                                                                                                                                                                            diff --git a/docs/functions/screenlessCreditCardPayment.html b/docs/functions/screenlessCreditCardPayment.html index d66034a..c2e362b 100644 --- a/docs/functions/screenlessCreditCardPayment.html +++ b/docs/functions/screenlessCreditCardPayment.html @@ -1,2 +1,2 @@ -screenlessCreditCardPayment | react-native-tpay

                                                                                                                                                                            Generated using TypeDoc

                                                                                                                                                                            \ No newline at end of file +screenlessCreditCardPayment | react-native-tpay
                                                                                                                                                                            react-native-tpay
                                                                                                                                                                              Preparing search index...

                                                                                                                                                                              Function screenlessCreditCardPayment

                                                                                                                                                                              diff --git a/docs/functions/screenlessGooglePayPayment.html b/docs/functions/screenlessGooglePayPayment.html index 5b212ec..56e867b 100644 --- a/docs/functions/screenlessGooglePayPayment.html +++ b/docs/functions/screenlessGooglePayPayment.html @@ -1,2 +1,2 @@ -screenlessGooglePayPayment | react-native-tpay

                                                                                                                                                                              Generated using TypeDoc

                                                                                                                                                                              \ No newline at end of file +screenlessGooglePayPayment | react-native-tpay
                                                                                                                                                                              react-native-tpay
                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                Function screenlessGooglePayPayment

                                                                                                                                                                                diff --git a/docs/functions/screenlessPayPoPayment.html b/docs/functions/screenlessPayPoPayment.html index 5a63da6..1229da1 100644 --- a/docs/functions/screenlessPayPoPayment.html +++ b/docs/functions/screenlessPayPoPayment.html @@ -1,2 +1,2 @@ -screenlessPayPoPayment | react-native-tpay

                                                                                                                                                                                Generated using TypeDoc

                                                                                                                                                                                \ No newline at end of file +screenlessPayPoPayment | react-native-tpay
                                                                                                                                                                                react-native-tpay
                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                  Function screenlessPayPoPayment

                                                                                                                                                                                  diff --git a/docs/functions/screenlessRatyPekaoPayment.html b/docs/functions/screenlessRatyPekaoPayment.html index 9b8b981..bb325d9 100644 --- a/docs/functions/screenlessRatyPekaoPayment.html +++ b/docs/functions/screenlessRatyPekaoPayment.html @@ -1,2 +1,2 @@ -screenlessRatyPekaoPayment | react-native-tpay

                                                                                                                                                                                  Generated using TypeDoc

                                                                                                                                                                                  \ No newline at end of file +screenlessRatyPekaoPayment | react-native-tpay
                                                                                                                                                                                  react-native-tpay
                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                    Function screenlessRatyPekaoPayment

                                                                                                                                                                                    diff --git a/docs/functions/screenlessTransferPayment.html b/docs/functions/screenlessTransferPayment.html index 122436f..a51261a 100644 --- a/docs/functions/screenlessTransferPayment.html +++ b/docs/functions/screenlessTransferPayment.html @@ -1,2 +1,2 @@ -screenlessTransferPayment | react-native-tpay

                                                                                                                                                                                    Generated using TypeDoc

                                                                                                                                                                                    \ No newline at end of file +screenlessTransferPayment | react-native-tpay
                                                                                                                                                                                    react-native-tpay
                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                      Function screenlessTransferPayment

                                                                                                                                                                                      diff --git a/docs/functions/startCardTokenPayment.html b/docs/functions/startCardTokenPayment.html index d6dc512..73d85d5 100644 --- a/docs/functions/startCardTokenPayment.html +++ b/docs/functions/startCardTokenPayment.html @@ -1,2 +1,2 @@ -startCardTokenPayment | react-native-tpay

                                                                                                                                                                                      Generated using TypeDoc

                                                                                                                                                                                      \ No newline at end of file +startCardTokenPayment | react-native-tpay
                                                                                                                                                                                      react-native-tpay
                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                        Function startCardTokenPayment

                                                                                                                                                                                        diff --git a/docs/functions/startPayment.html b/docs/functions/startPayment.html index c9b0d68..ead2956 100644 --- a/docs/functions/startPayment.html +++ b/docs/functions/startPayment.html @@ -1,2 +1,2 @@ -startPayment | react-native-tpay

                                                                                                                                                                                        Generated using TypeDoc

                                                                                                                                                                                        \ No newline at end of file +startPayment | react-native-tpay
                                                                                                                                                                                        react-native-tpay
                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                          Function startPayment

                                                                                                                                                                                          diff --git a/docs/functions/tokenizeCard.html b/docs/functions/tokenizeCard.html index 90f00ce..8d2c1b8 100644 --- a/docs/functions/tokenizeCard.html +++ b/docs/functions/tokenizeCard.html @@ -1,2 +1,2 @@ -tokenizeCard | react-native-tpay

                                                                                                                                                                                          Generated using TypeDoc

                                                                                                                                                                                          \ No newline at end of file +tokenizeCard | react-native-tpay
                                                                                                                                                                                          react-native-tpay
                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                            Function tokenizeCard

                                                                                                                                                                                            diff --git a/docs/hierarchy.html b/docs/hierarchy.html index 28cb40d..2c575fe 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -1 +1 @@ -react-native-tpay

                                                                                                                                                                                            Generated using TypeDoc

                                                                                                                                                                                            \ No newline at end of file +react-native-tpay
                                                                                                                                                                                            react-native-tpay
                                                                                                                                                                                              Preparing search index...
                                                                                                                                                                                              diff --git a/docs/index.html b/docs/index.html index 5d734c0..17b2fc9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,69 +1,525 @@ -react-native-tpay

                                                                                                                                                                                              react-native-tpay

                                                                                                                                                                                              react-native-tpay

                                                                                                                                                                                              The Tpay SDK empowers your app to seamlessly integrate Tpay’s payment functionalities, providing a comprehensive and developer-friendly solution for managing payments. +react-native-tpay

                                                                                                                                                                                              react-native-tpay
                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                react-native-tpay

                                                                                                                                                                                                Tpay React Native SDK

                                                                                                                                                                                                npm version +Static Badge +Static Badge +License: MIT

                                                                                                                                                                                                +

                                                                                                                                                                                                This SDK allows your app to make payments with Tpay. Documentation is available here.

                                                                                                                                                                                                -

                                                                                                                                                                                                Installation

                                                                                                                                                                                                npm install react-native-tpay
                                                                                                                                                                                                -
                                                                                                                                                                                                -

                                                                                                                                                                                                UI Module

                                                                                                                                                                                                Tpay package contains a UI module. Users can interact with it to make payments.

                                                                                                                                                                                                -

                                                                                                                                                                                                Setup

                                                                                                                                                                                                Android

                                                                                                                                                                                                Tpay UI module is a native Android bottom sheet. In order to handle system backpress events you need + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                LibraryVersion
                                                                                                                                                                                                npm1.3.8
                                                                                                                                                                                                Minimum Android SDK23 (Android 6.0, Marshmallow)
                                                                                                                                                                                                Minimum iOS version12.0
                                                                                                                                                                                                +

                                                                                                                                                                                                Warning

                                                                                                                                                                                                +For this SDK to work you will need client_id and client_secret tokens. You can find in merchant's panel.

                                                                                                                                                                                                +

                                                                                                                                                                                                If you are partner, you can obtain them in your merchant partner account. For detailed +instructions how to do that or how to create such an account +check this site.

                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                Tip

                                                                                                                                                                                                +To be able to test the SDK properly, +use mock data.

                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                npm install react-native-tpay
                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                Note

                                                                                                                                                                                                +In this section we will provide examples for each configuration to the TpayConfiguration class +you will be able to make.

                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                Important

                                                                                                                                                                                                +Beneath you will find all configurations that are MANDATORY.

                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                At first, you have to configure your app to be able to make any requests by providing SDK info about +your merchant account. +Info about client_id and client_secret you will find in your merchant's panel at Integration -> API.

                                                                                                                                                                                                +
                                                                                                                                                                                                new Merchant(
                                                                                                                                                                                                new MerchantAuthorization(
                                                                                                                                                                                                'client_id',
                                                                                                                                                                                                'client_secret'
                                                                                                                                                                                                ),
                                                                                                                                                                                                TpayEnvironment.sandbox,
                                                                                                                                                                                                new CertificatePinningConfiguration('ssl_pinning'),
                                                                                                                                                                                                'blik_alias',
                                                                                                                                                                                                new WalletConfiguration(
                                                                                                                                                                                                new GooglePayConfiguration('merchant_id'),
                                                                                                                                                                                                new ApplePayConfiguration('merchant_id', 'country_code')
                                                                                                                                                                                                )
                                                                                                                                                                                                ); +
                                                                                                                                                                                                + +

                                                                                                                                                                                                Tpay SDK provides two types of environments you can use in your app:

                                                                                                                                                                                                +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • TpayEnvironment.sandbox - used only for tests and in stage/dev flavor.
                                                                                                                                                                                                • +
                                                                                                                                                                                                • TpayEnvironment.production - used for production flavors.
                                                                                                                                                                                                • +
                                                                                                                                                                                                +

                                                                                                                                                                                                For users to be able to use a specific payment method you have declare it in the configuration.

                                                                                                                                                                                                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                MethodDescription
                                                                                                                                                                                                BLIKWeb docs
                                                                                                                                                                                                Pbl (Pay-By-Link)Web docs
                                                                                                                                                                                                CardWeb docs
                                                                                                                                                                                                DigitalWalletsGOOGLE_PAY ; APPLE_PAY
                                                                                                                                                                                                InstallmentPaymentsRATY_PEKAO
                                                                                                                                                                                                DeferredPayments (BNPL)PAY_PO
                                                                                                                                                                                                +
                                                                                                                                                                                                new PaymentMethods(
                                                                                                                                                                                                [PaymentMethod.card, PaymentMethod.blik, PaymentMethod.transfer],
                                                                                                                                                                                                [DigitalWallet.googlePay, DigitalWallet.applePay],
                                                                                                                                                                                                [InstallmentPayment.ratyPekao, InstallmentPayment.payPo],
                                                                                                                                                                                                ); +
                                                                                                                                                                                                + +

                                                                                                                                                                                                If you decide to enable the credit card payment option, you have to provide SSL certificates.

                                                                                                                                                                                                +
                                                                                                                                                                                                Tip

                                                                                                                                                                                                +You can find SSL public key on you merchant panel at section Integrations -> API -> Cards API.

                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                Tip

                                                                                                                                                                                                +You can find public key on you merchant panel:

                                                                                                                                                                                                +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • Acquirer Elavon: Credit card payments -> API
                                                                                                                                                                                                • +
                                                                                                                                                                                                • Acquirer Pekao: Integrations -> API -> Cards API
                                                                                                                                                                                                • +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                new CertificatePinningConfiguration('ssl_pinning')
                                                                                                                                                                                                +
                                                                                                                                                                                                + +

                                                                                                                                                                                                In order to be able to use Google Pay method you have to provide your merchant_id to the SDK.

                                                                                                                                                                                                +
                                                                                                                                                                                                Tip

                                                                                                                                                                                                +Your login name to the merchant panel is your merchant id.

                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                  new WalletConfiguration(
                                                                                                                                                                                                new GooglePayConfiguration('merchant_id'),
                                                                                                                                                                                                ) +
                                                                                                                                                                                                + +

                                                                                                                                                                                                In order to be able to use Apple Pay method you have to provide your merchant_id and country_code to the SDK.

                                                                                                                                                                                                +
                                                                                                                                                                                                Important

                                                                                                                                                                                                +To obtain the merchantIdentifier, follow these steps:

                                                                                                                                                                                                +
                                                                                                                                                                                                  +
                                                                                                                                                                                                1. Log in to your Apple Developer account.
                                                                                                                                                                                                2. +
                                                                                                                                                                                                3. Navigate to the Certificates, Identifiers & Profiles section.
                                                                                                                                                                                                4. +
                                                                                                                                                                                                5. Under Identifiers, select Merchant IDs.
                                                                                                                                                                                                6. +
                                                                                                                                                                                                7. Click the + button to create a new Merchant ID.
                                                                                                                                                                                                8. +
                                                                                                                                                                                                9. Fill in the required information and associate it with your app's Bundle ID.
                                                                                                                                                                                                10. +
                                                                                                                                                                                                11. Once created, the merchant identifier can be found in the list of Merchant IDs.
                                                                                                                                                                                                12. +
                                                                                                                                                                                                13. For more details, please follow Apple Pay documentation.
                                                                                                                                                                                                14. +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                  new WalletConfiguration(
                                                                                                                                                                                                new ApplePayConfiguration('merchant_id', 'country_code')
                                                                                                                                                                                                ) +
                                                                                                                                                                                                + +

                                                                                                                                                                                                Tpay SDK lets you decide what languages will be available in the Tpay's screen and which one of them +will be preferred/default.

                                                                                                                                                                                                +

                                                                                                                                                                                                Right now, SDK allows you to use 2 languages:

                                                                                                                                                                                                +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • Language.pl - polish
                                                                                                                                                                                                • +
                                                                                                                                                                                                • Language.en - english
                                                                                                                                                                                                • +
                                                                                                                                                                                                +
                                                                                                                                                                                                new Languages(Language.pl, [Language.en, Language.pl]);
                                                                                                                                                                                                +
                                                                                                                                                                                                + +

                                                                                                                                                                                                As a merchant, you can configure how information about you will be shown. +You can set up your display name, city/headquarters and regulations link. +You can choose to provide different copy for each language, or simply use one for all.

                                                                                                                                                                                                +
                                                                                                                                                                                                new MerchantDetails(
                                                                                                                                                                                                [
                                                                                                                                                                                                new LocalizedString(Language.pl, 'Sklep'),
                                                                                                                                                                                                new LocalizedString(Language.en, 'Merchant'),
                                                                                                                                                                                                ],
                                                                                                                                                                                                [
                                                                                                                                                                                                new LocalizedString(Language.pl, 'Warszawie'),
                                                                                                                                                                                                new LocalizedString(Language.en, 'Warsaw'),
                                                                                                                                                                                                ],
                                                                                                                                                                                                [
                                                                                                                                                                                                new LocalizedString(Language.pl, 'polish URL'),
                                                                                                                                                                                                new LocalizedString(Language.en, 'english URL'),
                                                                                                                                                                                                ]
                                                                                                                                                                                                ); +
                                                                                                                                                                                                + +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +Every LocalizedString value MUST NOT be an empty string! +Otherwise this may cause an app crash.

                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                Beneath you will find how a complete configuration should look like.

                                                                                                                                                                                                +
                                                                                                                                                                                                const merchant = new Merchant(
                                                                                                                                                                                                new MerchantAuthorization(
                                                                                                                                                                                                'client_id',
                                                                                                                                                                                                'client_secret'
                                                                                                                                                                                                ),
                                                                                                                                                                                                TpayEnvironment.sandbox,
                                                                                                                                                                                                new CertificatePinningConfiguration('ssl_pinning'),
                                                                                                                                                                                                'blik_alias',
                                                                                                                                                                                                new WalletConfiguration(
                                                                                                                                                                                                new GooglePayConfiguration('merchant_id'),
                                                                                                                                                                                                new ApplePayConfiguration('merchant_id', 'country_code')
                                                                                                                                                                                                )
                                                                                                                                                                                                );

                                                                                                                                                                                                const merchantDetails = new MerchantDetails(
                                                                                                                                                                                                [
                                                                                                                                                                                                new LocalizedString(Language.pl, 'Sklep'),
                                                                                                                                                                                                new LocalizedString(Language.en, 'Merchant'),
                                                                                                                                                                                                ],
                                                                                                                                                                                                [
                                                                                                                                                                                                new LocalizedString(Language.pl, 'Warszawie'),
                                                                                                                                                                                                new LocalizedString(Language.en, 'Warsaw'),
                                                                                                                                                                                                ],
                                                                                                                                                                                                [
                                                                                                                                                                                                new LocalizedString(Language.pl, 'polish URL'),
                                                                                                                                                                                                new LocalizedString(Language.en, 'english URL'),
                                                                                                                                                                                                ]
                                                                                                                                                                                                );

                                                                                                                                                                                                const languages = new Languages(Language.pl, [Language.en, Language.pl]);

                                                                                                                                                                                                const paymentMethods = new PaymentMethods(
                                                                                                                                                                                                [PaymentMethod.card, PaymentMethod.blik, PaymentMethod.transfer],
                                                                                                                                                                                                [DigitalWallet.googlePay, DigitalWallet.applePay],
                                                                                                                                                                                                [InstallmentPayment.ratyPekao, InstallmentPayment.payPo]
                                                                                                                                                                                                );

                                                                                                                                                                                                const configuration = new TpayConfiguration(
                                                                                                                                                                                                merchant,
                                                                                                                                                                                                merchantDetails,
                                                                                                                                                                                                languages,
                                                                                                                                                                                                paymentMethods
                                                                                                                                                                                                );

                                                                                                                                                                                                await configure(configuration); +
                                                                                                                                                                                                + +

                                                                                                                                                                                                Tpay UI module is a native Android bottom sheet. In order to handle system backpress events you need to add the following code to your Activity.

                                                                                                                                                                                                -
                                                                                                                                                                                                import com.tpay.util.TpayBackpressUtil;

                                                                                                                                                                                                class MainActivity : ReactActivity() {
                                                                                                                                                                                                override fun onBackPressed() {
                                                                                                                                                                                                if (TpayBackpressUtil.isModuleVisible) {
                                                                                                                                                                                                TpayBackpressUtil.onBackPressed()
                                                                                                                                                                                                } else {
                                                                                                                                                                                                super.onBackPressed()
                                                                                                                                                                                                }
                                                                                                                                                                                                }
                                                                                                                                                                                                } -
                                                                                                                                                                                                -

                                                                                                                                                                                                iOS

                                                                                                                                                                                                When integrating the Tpay payment module into your app, it’s important to ensure that the necessary permissions are correctly set up to ensure a smooth user experience.

                                                                                                                                                                                                -

                                                                                                                                                                                                Privacy - Camera Usage Description

                                                                                                                                                                                                The module allows the user to automatically fill the credit card form for secure payment processing. This feature requires you to setup the “Privacy - Camera Usage Description” in your app’s Info.plist file.

                                                                                                                                                                                                -

                                                                                                                                                                                                Integration Steps

                                                                                                                                                                                                +
                                                                                                                                                                                                import com.tpay.util.TpayBackpressUtil;
                                                                                                                                                                                                +
                                                                                                                                                                                                +class MainActivity : ReactActivity() {
                                                                                                                                                                                                +  override fun onBackPressed() {
                                                                                                                                                                                                +    if (TpayBackpressUtil.isModuleVisible) {
                                                                                                                                                                                                +      TpayBackpressUtil.onBackPressed()
                                                                                                                                                                                                +    } else {
                                                                                                                                                                                                +      super.onBackPressed()
                                                                                                                                                                                                +    }
                                                                                                                                                                                                +  }
                                                                                                                                                                                                +}
                                                                                                                                                                                                +
                                                                                                                                                                                                + +

                                                                                                                                                                                                If you are using Proguard/R8 in your project, you have to add the following rules to the +android/app/proguard-rules.pro file, to keep Tpay SDK classes.

                                                                                                                                                                                                +
                                                                                                                                                                                                # Keep all Tpay SDK classes
                                                                                                                                                                                                +-keep class com.tpay.sdk.** { *; }
                                                                                                                                                                                                +
                                                                                                                                                                                                + +

                                                                                                                                                                                                When integrating the Tpay payment module into your app, it’s important to ensure that the necessary permissions are correctly set up to ensure a smooth user experience. +The module allows the user to automatically fill the credit card form for secure payment processing. This feature requires you to setup the “Privacy - Camera Usage Description”.

                                                                                                                                                                                                +

                                                                                                                                                                                                Integration Steps:

                                                                                                                                                                                                  -
                                                                                                                                                                                                1. Open your project’s Info.plist file.
                                                                                                                                                                                                2. +
                                                                                                                                                                                                3. Open your project’s Info.plist file.
                                                                                                                                                                                                4. Add the key-value pair for the “Privacy - Camera Usage Description” permission, explaining the purpose of camera access. Clearly state that the camera is used to facilitate the automatic filling of the credit card form for secure payment processing.

                                                                                                                                                                                                Example:

                                                                                                                                                                                                -
                                                                                                                                                                                                <key>NSCameraUsageDescription</key>
                                                                                                                                                                                                <string>We need access to your camera to automatically fill the credit card form for secure payment processing.</string> -
                                                                                                                                                                                                -

                                                                                                                                                                                                Handling UI module events

                                                                                                                                                                                                function handleResult(result: Result) {
                                                                                                                                                                                                if (result instanceof TokenizationCompleted) {
                                                                                                                                                                                                // credit card was tokenized successfully
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof TokenizationFailure) {
                                                                                                                                                                                                // credit card was not tokenized
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof ConfigurationSuccess) {
                                                                                                                                                                                                // Tpay package was configured successfully
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof ModuleClosed) {
                                                                                                                                                                                                // User closed the Tpay UI module
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof ValidationError) {
                                                                                                                                                                                                // provided data is invalid
                                                                                                                                                                                                // check error message via result.message
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof PaymentCreated) {
                                                                                                                                                                                                // payment completed successfully
                                                                                                                                                                                                // read transactionId via result.transactionId
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof PaymentCompleted) {
                                                                                                                                                                                                // payment completed successfully
                                                                                                                                                                                                // read transactionId via result.transactionId
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof PaymentCancelled) {
                                                                                                                                                                                                // payment was cancelled by user
                                                                                                                                                                                                // result.transactionId might not exist if
                                                                                                                                                                                                // an error occurred during payment creation
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof MethodCallError) {
                                                                                                                                                                                                // package error occurred
                                                                                                                                                                                                // read error message via result.message
                                                                                                                                                                                                }
                                                                                                                                                                                                } -
                                                                                                                                                                                                -

                                                                                                                                                                                                Configure Tpay package

                                                                                                                                                                                                async function configureTpay() {
                                                                                                                                                                                                const authorization = new MerchantAuthorization('client id', 'client secret');
                                                                                                                                                                                                const certificateConfiguration = new CertificatePinningConfiguration(
                                                                                                                                                                                                'public key hash'
                                                                                                                                                                                                );

                                                                                                                                                                                                const merchant = new Merchant(
                                                                                                                                                                                                authorization,
                                                                                                                                                                                                TpayEnvironment.production,
                                                                                                                                                                                                certificateConfiguration,
                                                                                                                                                                                                'BLIK alias to register',
                                                                                                                                                                                                new WalletConfiguration(
                                                                                                                                                                                                new GooglePayConfiguration('merchant id'),
                                                                                                                                                                                                new ApplePayConfiguration('merchant identifier', 'country code')
                                                                                                                                                                                                )
                                                                                                                                                                                                );

                                                                                                                                                                                                const merchantDetails = new MerchantDetails(
                                                                                                                                                                                                [
                                                                                                                                                                                                new LocalizedString(Language.pl, 'Sklep'),
                                                                                                                                                                                                new LocalizedString(Language.en, 'Merchant'),
                                                                                                                                                                                                ],
                                                                                                                                                                                                [
                                                                                                                                                                                                new LocalizedString(Language.pl, 'Warszawie'),
                                                                                                                                                                                                new LocalizedString(Language.en, 'Warsaw'),
                                                                                                                                                                                                ],
                                                                                                                                                                                                [
                                                                                                                                                                                                new LocalizedString(Language.pl, 'polish url'),
                                                                                                                                                                                                new LocalizedString(Language.en, 'english url'),
                                                                                                                                                                                                ]
                                                                                                                                                                                                );

                                                                                                                                                                                                const languages = new Languages(Language.pl, [Language.en, Language.pl]);
                                                                                                                                                                                                const paymentMethods = new PaymentMethods(
                                                                                                                                                                                                [PaymentMethod.card, PaymentMethod.blik, PaymentMethod.transfer],
                                                                                                                                                                                                [DigitalWallet.googlePay, DigitalWallet.applePay],
                                                                                                                                                                                                [InstallmentPayment.ratyPekao]
                                                                                                                                                                                                );

                                                                                                                                                                                                const configuration = new TpayConfiguration(
                                                                                                                                                                                                merchant,
                                                                                                                                                                                                merchantDetails,
                                                                                                                                                                                                languages,
                                                                                                                                                                                                paymentMethods
                                                                                                                                                                                                );

                                                                                                                                                                                                const result = await configure(configuration);
                                                                                                                                                                                                handleResult(result);
                                                                                                                                                                                                } -
                                                                                                                                                                                                -

                                                                                                                                                                                                Payment with UI module

                                                                                                                                                                                                async function startUiPayment() {
                                                                                                                                                                                                // Create a payer object, phone number and address fields are optional
                                                                                                                                                                                                // Name and email fields can be empty, user will fill them in the UI
                                                                                                                                                                                                const payer = new Payer('John Doe', 'john.doe@example.com', null, null);

                                                                                                                                                                                                // Users can choose to save a credit card, it will result in your backend
                                                                                                                                                                                                // receiving the tokenized card data, provide it there to enable one click payment.
                                                                                                                                                                                                // You can also provide the BLIK alias to enable the one click BLIK payments.
                                                                                                                                                                                                // To register the BLIK alias user has to make a payment with 6-digit code first and save the alias.
                                                                                                                                                                                                // BLIK one click will be shown in the UI when the provided 'isRegistered' parameter is true.
                                                                                                                                                                                                const automaticPaymentMethods = new AutomaticPaymentMethods(
                                                                                                                                                                                                [new TokenizedCard('card token', 'card tail', CreditCardBrand.mastercard)],
                                                                                                                                                                                                new BlikAlias(true, 'alias value', 'alias label')
                                                                                                                                                                                                );

                                                                                                                                                                                                // Tokenized card and BLIK alias registration data will be sent to the notification url.
                                                                                                                                                                                                // Payments will result in a email notifications sent to notification email.
                                                                                                                                                                                                const notifications = new Notifications(
                                                                                                                                                                                                'https://yourdomain.com/notifications',
                                                                                                                                                                                                'store@yourdomain.com'
                                                                                                                                                                                                );

                                                                                                                                                                                                const payerContext = new PayerContext(payer, automaticPaymentMethods);

                                                                                                                                                                                                const transaction = new SingleTransaction(
                                                                                                                                                                                                payerContext,
                                                                                                                                                                                                39.99,
                                                                                                                                                                                                'transaction description',
                                                                                                                                                                                                notifications
                                                                                                                                                                                                );

                                                                                                                                                                                                const result = await startPayment(transaction);
                                                                                                                                                                                                handleResult(result);
                                                                                                                                                                                                } -
                                                                                                                                                                                                -

                                                                                                                                                                                                Credit card tokenization with UI module

                                                                                                                                                                                                async function startCreditCardTokenizationUi() {
                                                                                                                                                                                                // Create a payer object, phone number and address fields are optional
                                                                                                                                                                                                // Name and email fields can be empty, user will fill them in the UI
                                                                                                                                                                                                const payer = new Payer('John Doe', 'john.doe@example.com', null, null);

                                                                                                                                                                                                // Tokenized card data will be sent to notification url
                                                                                                                                                                                                const tokenization = new Tokenization(
                                                                                                                                                                                                payer,
                                                                                                                                                                                                'https://yourdomain.com/notifications'
                                                                                                                                                                                                );

                                                                                                                                                                                                const result = await tokenizeCard(tokenization);
                                                                                                                                                                                                handleResult(result);
                                                                                                                                                                                                } -
                                                                                                                                                                                                -

                                                                                                                                                                                                Credit card token payment with UI module

                                                                                                                                                                                                async function startCreditCardTokenPaymentUi() {
                                                                                                                                                                                                // Create a payer object, phone number and address fields are optional
                                                                                                                                                                                                // Name and email fields are required, because user cannot fill them in the UI
                                                                                                                                                                                                const payer = new Payer('John Doe', 'john.doe@example.com', null, null);

                                                                                                                                                                                                const notifications = new Notifications(
                                                                                                                                                                                                'https://yourdomain.com/notifications',
                                                                                                                                                                                                'store@yourdomain.com'
                                                                                                                                                                                                );

                                                                                                                                                                                                const tokenPayment = new TokenPayment(
                                                                                                                                                                                                'credit card token',
                                                                                                                                                                                                payer,
                                                                                                                                                                                                39.99,
                                                                                                                                                                                                'transaction description',
                                                                                                                                                                                                notifications
                                                                                                                                                                                                );

                                                                                                                                                                                                const result = await startCardTokenPayment(tokenPayment);
                                                                                                                                                                                                handleResult(result);
                                                                                                                                                                                                } -
                                                                                                                                                                                                -

                                                                                                                                                                                                Screenless Payments

                                                                                                                                                                                                Tpay package provides methods to create payments without displaying the UI module.

                                                                                                                                                                                                -

                                                                                                                                                                                                Handling screenless events

                                                                                                                                                                                                function handleScreenlessResult(result: ScreenlessResult) {
                                                                                                                                                                                                if (result instanceof ScreenlessPaid) {
                                                                                                                                                                                                // payment completed successfully
                                                                                                                                                                                                // read transactionId via result.transactionId
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof ScreenlessPaymentCreated) {
                                                                                                                                                                                                // payment was successfully created
                                                                                                                                                                                                // if it was a BLIK payment user has to accept it in bank app
                                                                                                                                                                                                // if it was a credit card, transfer or installment payment you have to
                                                                                                                                                                                                // display result.paymentUrl to finish the payment
                                                                                                                                                                                                // it is advised to use long polling mechanism to observe payment status
                                                                                                                                                                                                // you can get transaction id from result.transactionId
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof ScreenlessPaymentError) {
                                                                                                                                                                                                // creating payment failed
                                                                                                                                                                                                // read error message via result.error
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof ScreenlessConfiguredPaymentFailed) {
                                                                                                                                                                                                // creating payment failed because of error with:
                                                                                                                                                                                                // - credit card data or credit card token
                                                                                                                                                                                                // - BLIK code or BLIK alias
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof ScreenlessBlikAmbiguousAlias) {
                                                                                                                                                                                                // when using BLIK payment with alias this result indicates
                                                                                                                                                                                                // that user has alias registered in more than one bank
                                                                                                                                                                                                // display result.aliases to the user and
                                                                                                                                                                                                // continue payment using screenlessAmbiguousBLIKPayment(...) method
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof ScreenlessValidationError) {
                                                                                                                                                                                                // provided data is invalid
                                                                                                                                                                                                // check error message via result.message
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof ScreenlessMethodCallError) {
                                                                                                                                                                                                // package error occurred
                                                                                                                                                                                                // read error message via result.message
                                                                                                                                                                                                }
                                                                                                                                                                                                } -
                                                                                                                                                                                                -

                                                                                                                                                                                                Common screenless objects

                                                                                                                                                                                                Screenless payments require the following objects.

                                                                                                                                                                                                -
                                                                                                                                                                                                // Create a payer object, phone number and address fields are optional
                                                                                                                                                                                                // Name and email fields are required in screenless payments
                                                                                                                                                                                                const payer = new Payer('John Doe', 'john.doe@example.com', null, null);

                                                                                                                                                                                                // Hidden description can be used to search for transaction internally.
                                                                                                                                                                                                // Tpay website (if needed) will open in the provided language.
                                                                                                                                                                                                const paymentDetails = new PaymentDetails(
                                                                                                                                                                                                39.99,
                                                                                                                                                                                                'transaction description',
                                                                                                                                                                                                'hidden description',
                                                                                                                                                                                                Language.pl
                                                                                                                                                                                                );

                                                                                                                                                                                                // User will be redirected to these urls after a payment on the Tpay website.
                                                                                                                                                                                                // Catch these urls in your web view to know if the payment was successful or not.
                                                                                                                                                                                                const redirects = new Redirects(
                                                                                                                                                                                                'https://yourdomain.com/success',
                                                                                                                                                                                                'https://yourdomain.com/error'
                                                                                                                                                                                                );

                                                                                                                                                                                                // Tokenized card and BLIK alias registration data will be sent to the notification url.
                                                                                                                                                                                                // Payments will result in a email notifications sent to notification email.
                                                                                                                                                                                                const notifications = new Notifications(
                                                                                                                                                                                                'https://yourdomain.com/notifications',
                                                                                                                                                                                                'store@yourdomain.com'
                                                                                                                                                                                                );

                                                                                                                                                                                                const callbacks = new Callbacks(redirects, notifications); -
                                                                                                                                                                                                -

                                                                                                                                                                                                Screenless BLIK payment

                                                                                                                                                                                                Using BLIK user can pay with 6-digit code or alias (for returning customers).

                                                                                                                                                                                                -
                                                                                                                                                                                                async function startScreenlessBlikPayment() {
                                                                                                                                                                                                // You have to provide either code or alias.
                                                                                                                                                                                                // If you provide both, package will try to register the alias.
                                                                                                                                                                                                // One alias can be registered in multiple banks.
                                                                                                                                                                                                const blikPayment = new BlikPayment(
                                                                                                                                                                                                '6-digit code',
                                                                                                                                                                                                new BlikAlias(true, 'alias value', 'alias label'),
                                                                                                                                                                                                paymentDetails,
                                                                                                                                                                                                payer,
                                                                                                                                                                                                callbacks
                                                                                                                                                                                                );

                                                                                                                                                                                                const screenlessResult = await screenlessBLIKPayment(blikPayment);
                                                                                                                                                                                                handleScreenlessResult(screenlessResult);
                                                                                                                                                                                                } -
                                                                                                                                                                                                -

                                                                                                                                                                                                Screenless ambiguous BLIK payment

                                                                                                                                                                                                screenlessBLIKPayment(...) method can return a ScreenlessBlikAmbiguousAlias result, -this means that user has BLIK alias registered in more than one bank. -You need to display ambiguous aliases provided in ScreenlessBlikAmbiguousAlias result to the user. -After that, you need to continue the payment with ambiguous alias selected by user using screenlessAmbiguousBLIKPayment(...) method.

                                                                                                                                                                                                -
                                                                                                                                                                                                async function startAmbiguousBlikPayment(
                                                                                                                                                                                                result: ScreenlessBlikAmbiguousAlias,
                                                                                                                                                                                                ambiguousAlias: AmbiguousAlias
                                                                                                                                                                                                ) {
                                                                                                                                                                                                // BLIK alias used to create payment with screenlessBLIKPayment(...) method
                                                                                                                                                                                                const blikAlias = new BlikAlias(true, 'alias value', 'alias label');

                                                                                                                                                                                                // Provide transaction id from result and ambiguous alias selected by user
                                                                                                                                                                                                const ambiguousBlikPayment = new AmbiguousBlikPayment(
                                                                                                                                                                                                result.transactionId,
                                                                                                                                                                                                blikAlias,
                                                                                                                                                                                                ambiguousAlias
                                                                                                                                                                                                );

                                                                                                                                                                                                const screenlessResult = await screenlessAmbiguousBLIKPayment(
                                                                                                                                                                                                ambiguousBlikPayment
                                                                                                                                                                                                );
                                                                                                                                                                                                handleScreenlessResult(screenlessResult);
                                                                                                                                                                                                } +
                                                                                                                                                                                                <key>NSCameraUsageDescription</key>
                                                                                                                                                                                                <string>We need access to your camera to automatically fill the credit card form for secure payment processing.</string>
                                                                                                                                                                                                -

                                                                                                                                                                                                Screenless transfer payment

                                                                                                                                                                                                Transfer payment requires a channelId of bank in Tpay system.

                                                                                                                                                                                                -
                                                                                                                                                                                                async function startScreenlessTransferPayment() {
                                                                                                                                                                                                // Provide channelId of a bank
                                                                                                                                                                                                const transferPayment = new TransferPayment(
                                                                                                                                                                                                3,
                                                                                                                                                                                                paymentDetails,
                                                                                                                                                                                                payer,
                                                                                                                                                                                                callbacks
                                                                                                                                                                                                );

                                                                                                                                                                                                const screenlessResult = await screenlessTransferPayment(transferPayment);
                                                                                                                                                                                                handleScreenlessResult(screenlessResult);
                                                                                                                                                                                                } -
                                                                                                                                                                                                -

                                                                                                                                                                                                Screenless Raty Pekao payment

                                                                                                                                                                                                Raty Pekao payment requires a channelId of Raty Pekao variant.

                                                                                                                                                                                                -
                                                                                                                                                                                                async function startScreenlessRatyPekaoPayment() {
                                                                                                                                                                                                // Provide channelId of Raty Pekao variant
                                                                                                                                                                                                const ratyPekaoPayment = new RatyPekaoPayment(
                                                                                                                                                                                                80,
                                                                                                                                                                                                paymentDetails,
                                                                                                                                                                                                payer,
                                                                                                                                                                                                callbacks
                                                                                                                                                                                                );

                                                                                                                                                                                                const screenlessResult = await screenlessRatyPekaoPayment(ratyPekaoPayment);
                                                                                                                                                                                                handleScreenlessResult(screenlessResult);
                                                                                                                                                                                                } -
                                                                                                                                                                                                -

                                                                                                                                                                                                Screenless PayPo payment

                                                                                                                                                                                                async function startScreenlessPayPoPayment() {
                                                                                                                                                                                                const payPoPayment = new PayPoPayment(paymentDetails, payer, callbacks);
                                                                                                                                                                                                const screenlessResult = await screenlessPayPoPayment(payPoPayment);
                                                                                                                                                                                                handleScreenlessResult(screenlessResult);
                                                                                                                                                                                                } -
                                                                                                                                                                                                -

                                                                                                                                                                                                Screenless credit card payment

                                                                                                                                                                                                Credit card payment can be created with credit card data or credit card token (for returning customers).

                                                                                                                                                                                                -
                                                                                                                                                                                                async function startScreenlessCreditCardPayment() {
                                                                                                                                                                                                const creditCard = new CreditCard(
                                                                                                                                                                                                'card number',
                                                                                                                                                                                                new ExpirationDate('month', 'year'),
                                                                                                                                                                                                'cvv',
                                                                                                                                                                                                // Configure if the credit card should be tokenized after payment
                                                                                                                                                                                                // Provide your domain, it's used while encrypting the credit card data
                                                                                                                                                                                                new CreditCardConfig(false, 'yourdomain.com', null)
                                                                                                                                                                                                );
                                                                                                                                                                                                const creditCardToken = 'card token';

                                                                                                                                                                                                // You have to provide either credit card or credit card token
                                                                                                                                                                                                const creditCardPayment = new CreditCardPayment(
                                                                                                                                                                                                creditCard,
                                                                                                                                                                                                creditCardToken,
                                                                                                                                                                                                paymentDetails,
                                                                                                                                                                                                payer,
                                                                                                                                                                                                callbacks
                                                                                                                                                                                                );

                                                                                                                                                                                                const screenlessResult = await screenlessCreditCardPayment(creditCardPayment);
                                                                                                                                                                                                handleScreenlessResult(screenlessResult);
                                                                                                                                                                                                } -
                                                                                                                                                                                                -

                                                                                                                                                                                                Screenless Google Pay payment (Android only)

                                                                                                                                                                                                Google Pay payment requires a Google Pay token.

                                                                                                                                                                                                -
                                                                                                                                                                                                async function startScreenlessGooglePayPayment() {
                                                                                                                                                                                                const googlePayPayment = new GooglePayPayment(
                                                                                                                                                                                                'Google Pay token',
                                                                                                                                                                                                paymentDetails,
                                                                                                                                                                                                payer,
                                                                                                                                                                                                callbacks
                                                                                                                                                                                                );

                                                                                                                                                                                                const screenlessResult = await screenlessGooglePayPayment(googlePayPayment);
                                                                                                                                                                                                handleScreenlessResult(screenlessResult);
                                                                                                                                                                                                } -
                                                                                                                                                                                                -

                                                                                                                                                                                                Screenless Apple Pay payment (iOS only)

                                                                                                                                                                                                Apple Pay payment requires a Apple Pay token.

                                                                                                                                                                                                -
                                                                                                                                                                                                async function startScreenlessApplePayPayment() {
                                                                                                                                                                                                const applePayPayment = new ApplePayPayment(
                                                                                                                                                                                                'Apple Pay token',
                                                                                                                                                                                                paymentDetails,
                                                                                                                                                                                                payer,
                                                                                                                                                                                                callbacks
                                                                                                                                                                                                );

                                                                                                                                                                                                const screenlessResult = await screenlessApplePayPayment(applePayPayment);
                                                                                                                                                                                                handleScreenlessResult(screenlessResult);
                                                                                                                                                                                                } -
                                                                                                                                                                                                -

                                                                                                                                                                                                Google Pay utils (Android only)

                                                                                                                                                                                                Tpay package offers few convenience methods to interact with Google Pay.

                                                                                                                                                                                                -
                                                                                                                                                                                                async function googlePayUtils() {
                                                                                                                                                                                                // Create configuration object by providing the final price,
                                                                                                                                                                                                // your store name, your merchant id and a Google Pay environment
                                                                                                                                                                                                const googlePayUtilsConfiguration = new GooglePayUtilsConfiguration(
                                                                                                                                                                                                39.99,
                                                                                                                                                                                                'your store name',
                                                                                                                                                                                                'your merchant id',
                                                                                                                                                                                                GooglePayEnvironment.production,
                                                                                                                                                                                                null
                                                                                                                                                                                                );
                                                                                                                                                                                                const configurationResult = await configureGooglePayUtils(
                                                                                                                                                                                                googlePayUtilsConfiguration
                                                                                                                                                                                                );

                                                                                                                                                                                                if (configurationResult instanceof GooglePayConfigureError) {
                                                                                                                                                                                                // configuration failed
                                                                                                                                                                                                // check error message via configurationResult.message
                                                                                                                                                                                                }
                                                                                                                                                                                                if (configurationResult instanceof GooglePayConfigureSuccess) {
                                                                                                                                                                                                // utils are configured

                                                                                                                                                                                                const isAvailable = await isGooglePayAvailable();
                                                                                                                                                                                                if (isAvailable) {
                                                                                                                                                                                                // show Google Pay button

                                                                                                                                                                                                // if user clicks on the button do the following
                                                                                                                                                                                                const googlePayOpenResult = await openGooglePay();

                                                                                                                                                                                                if (googlePayOpenResult instanceof GooglePayOpenSuccess) {
                                                                                                                                                                                                // credit card data was received
                                                                                                                                                                                                // read Google Pay token via googlePayOpenResult.token
                                                                                                                                                                                                // and use it with GooglePayPayment
                                                                                                                                                                                                }
                                                                                                                                                                                                if (googlePayOpenResult instanceof GooglePayOpenCancelled) {
                                                                                                                                                                                                // user closed Google Pay
                                                                                                                                                                                                }
                                                                                                                                                                                                if (googlePayOpenResult instanceof GooglePayOpenNotConfigured) {
                                                                                                                                                                                                // Google Pay utils not configured
                                                                                                                                                                                                }
                                                                                                                                                                                                if (googlePayOpenResult instanceof GooglePayOpenUnknownError) {
                                                                                                                                                                                                // unknown error has occurred
                                                                                                                                                                                                }
                                                                                                                                                                                                }
                                                                                                                                                                                                }
                                                                                                                                                                                                } -
                                                                                                                                                                                                -

                                                                                                                                                                                                Fetch payment channels

                                                                                                                                                                                                Fetch available payment channels for your merchant account. Filter channels based on availability and payment constraints.

                                                                                                                                                                                                -
                                                                                                                                                                                                async function fetchPaymentChannels() {
                                                                                                                                                                                                const result = await getPaymentChannels();
                                                                                                                                                                                                if (result instanceof PaymentChannelsSuccess) {
                                                                                                                                                                                                // payment channels received

                                                                                                                                                                                                result.channels.forEach((channel) => {
                                                                                                                                                                                                // channel can have payment constraints
                                                                                                                                                                                                // that need to be satisfied, otherwise the payment creation will fail
                                                                                                                                                                                                channel.constraints.forEach((constraint) => {
                                                                                                                                                                                                switch (constraint.type) {
                                                                                                                                                                                                case PaymentConstraintType.amount:
                                                                                                                                                                                                // check if your payment amount is between
                                                                                                                                                                                                // - amountConstraint.minimum
                                                                                                                                                                                                // - amountConstraint.maximum
                                                                                                                                                                                                // this constraint can have:
                                                                                                                                                                                                // - only minimum value
                                                                                                                                                                                                // - only maximum value
                                                                                                                                                                                                // - minimum and maximum values
                                                                                                                                                                                                const amountConstraint = constraint as AmountPaymentConstraint;
                                                                                                                                                                                                }
                                                                                                                                                                                                });

                                                                                                                                                                                                // display payment channel if all payment constraints are satisfied
                                                                                                                                                                                                });
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof PaymentChannelsError) {
                                                                                                                                                                                                // error occurred
                                                                                                                                                                                                // read error message via result.message
                                                                                                                                                                                                }
                                                                                                                                                                                                } -
                                                                                                                                                                                                -

                                                                                                                                                                                                License

                                                                                                                                                                                                This library is released under the MIT License.

                                                                                                                                                                                                -

                                                                                                                                                                                                Generated using TypeDoc

                                                                                                                                                                                                \ No newline at end of file + +

                                                                                                                                                                                                Integration Steps:

                                                                                                                                                                                                +
                                                                                                                                                                                                  +
                                                                                                                                                                                                1. Open your project’s app.json file.
                                                                                                                                                                                                2. +
                                                                                                                                                                                                3. Add the key-value pair for the “Privacy - Camera Usage Description” permission, explaining the purpose of camera access. Clearly state that the camera is used to facilitate the automatic filling of the credit card form for secure payment processing.
                                                                                                                                                                                                4. +
                                                                                                                                                                                                5. Add it under ios -> infoPlist -> NSCameraUsageDescription
                                                                                                                                                                                                6. +
                                                                                                                                                                                                +

                                                                                                                                                                                                Example:

                                                                                                                                                                                                +
                                                                                                                                                                                                "ios": {
                                                                                                                                                                                                "infoPlist": {
                                                                                                                                                                                                "NSCameraUsageDescription": "We need access to your camera to automatically fill the credit card form for secure payment processing."
                                                                                                                                                                                                }
                                                                                                                                                                                                }, +
                                                                                                                                                                                                + +

                                                                                                                                                                                                Tpay SDK provides two ways of handling payments:

                                                                                                                                                                                                +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • Official SDK screens - you can use Tpay's official screens where you just need to provide "soft" +information, like price, description or payer info.
                                                                                                                                                                                                • +
                                                                                                                                                                                                • Screenless - you can use screenless functionalities, where you set callbacks for payments and +display all necessary information on your own screens.
                                                                                                                                                                                                • +
                                                                                                                                                                                                +

                                                                                                                                                                                                To make integration with the SDK faster, we created 3 types of sheets that can be used to handle +payments:

                                                                                                                                                                                                +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • SingleTransaction - the most simple screen where the user can choose any payment method and proceed with it,
                                                                                                                                                                                                • +
                                                                                                                                                                                                • Tokenization - screen that handles generating payment token from the credit card,
                                                                                                                                                                                                • +
                                                                                                                                                                                                • TokenPayment - screen that handles payment with previously created token for credit card,
                                                                                                                                                                                                • +
                                                                                                                                                                                                +

                                                                                                                                                                                                SingleTransaction flow opens a UI module and allows the customer to pick one of the defined payment methods. +This method requires setting up a few things in order to fulfill payment:

                                                                                                                                                                                                +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • amount - simply the price of the transaction
                                                                                                                                                                                                • +
                                                                                                                                                                                                • description - transaction description
                                                                                                                                                                                                • +
                                                                                                                                                                                                • hiddenDescription (optional) - description visible only to the merchant
                                                                                                                                                                                                • +
                                                                                                                                                                                                • payerContext - information about payer +
                                                                                                                                                                                                    +
                                                                                                                                                                                                  • payer - information about person who is making the payment +
                                                                                                                                                                                                      +
                                                                                                                                                                                                    • name - payer name
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • email - payer email
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • phone - payer phone number
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • address - payer address +
                                                                                                                                                                                                        +
                                                                                                                                                                                                      • city - city name
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • countryCode - country code in ISO 3166-1 alpha-2 format
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • address - street address
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • postalCode - postal code
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    +
                                                                                                                                                                                                  • +
                                                                                                                                                                                                  • automaticPaymentMethods - configuration of automatic payments +
                                                                                                                                                                                                      +
                                                                                                                                                                                                    • tokenizedCards - previously saved credit cards +
                                                                                                                                                                                                        +
                                                                                                                                                                                                      • token - card token
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • cardTails - last 4 digits of the card
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • brand - card brand
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • blikAlias - previously saved BLIK alias +
                                                                                                                                                                                                        +
                                                                                                                                                                                                      • value - alias value
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • label - alias label
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    +
                                                                                                                                                                                                  • +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • +
                                                                                                                                                                                                • notifications - info about where the merchant should be notified about new transactions +
                                                                                                                                                                                                    +
                                                                                                                                                                                                  • notificationEmail - email address to send notification to
                                                                                                                                                                                                  • +
                                                                                                                                                                                                  • notificationUrl - URL to send notification to / URL to send tokens for tokenization
                                                                                                                                                                                                  • +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • +
                                                                                                                                                                                                +
                                                                                                                                                                                                const transaction = new SingleTransaction(
                                                                                                                                                                                                new PayerContext(
                                                                                                                                                                                                new Payer(
                                                                                                                                                                                                'John Doe',
                                                                                                                                                                                                'john.doe@example.com',
                                                                                                                                                                                                '123456789',
                                                                                                                                                                                                new Address(
                                                                                                                                                                                                'Test Street1',
                                                                                                                                                                                                'Warsaw',
                                                                                                                                                                                                'PL',
                                                                                                                                                                                                '00-007',
                                                                                                                                                                                                ),
                                                                                                                                                                                                ),
                                                                                                                                                                                                new AutomaticPaymentMethods(
                                                                                                                                                                                                [
                                                                                                                                                                                                new TokenizedCard(
                                                                                                                                                                                                'token',
                                                                                                                                                                                                '1234',
                                                                                                                                                                                                CreditCardBrand.visa,
                                                                                                                                                                                                ),
                                                                                                                                                                                                new TokenizedCard(
                                                                                                                                                                                                'token',
                                                                                                                                                                                                '1234',
                                                                                                                                                                                                CreditCardBrand.mastercard,
                                                                                                                                                                                                ),
                                                                                                                                                                                                ],
                                                                                                                                                                                                new BlikAlias(
                                                                                                                                                                                                true,
                                                                                                                                                                                                'alias value',
                                                                                                                                                                                                'label'
                                                                                                                                                                                                ),
                                                                                                                                                                                                ),
                                                                                                                                                                                                ),
                                                                                                                                                                                                39.99,
                                                                                                                                                                                                'transaction description',
                                                                                                                                                                                                'hidden description',
                                                                                                                                                                                                new Notifications(
                                                                                                                                                                                                'https://yourdomain.com/notifications',
                                                                                                                                                                                                'email@address'
                                                                                                                                                                                                )
                                                                                                                                                                                                );

                                                                                                                                                                                                await startPayment(transaction); +
                                                                                                                                                                                                + +
                                                                                                                                                                                                Important

                                                                                                                                                                                                +Tpay SDK also supports NFC and camera card scanning:

                                                                                                                                                                                                +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • NFC - Adding card info during transaction, user can tap on the NFC button. +Then, if NFC is enabled in the device, after holding physical card near the device, SDK will scan +the card's data and automatically fill the form with it.
                                                                                                                                                                                                • +
                                                                                                                                                                                                • Camera - Adding card info during transaction, user can tap on the camera button. +Then, if the camera scans card data successfully, form will be filled automatically.
                                                                                                                                                                                                • +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                Using SingleTransaction screen you can set up automatic BLIK or card payments. +Thanks to that, user will not have to enter BLIK/card data all over again each time making the +payment.

                                                                                                                                                                                                +

                                                                                                                                                                                                If user using a card as a payment method will opt-in saving card, on successful payment, on the link +specified as Notifications -> url Tpay backend will send information about the saved card token, tail and +brand. +Next, your backend has to send it to you, so you can use this info next time the same user will want +to pay with the card. +When you already have all required information, you can add automaticPaymentMethods to the payerContext.

                                                                                                                                                                                                +
                                                                                                                                                                                                new AutomaticPaymentMethods(
                                                                                                                                                                                                [
                                                                                                                                                                                                new TokenizedCard(
                                                                                                                                                                                                'token',
                                                                                                                                                                                                '1234',
                                                                                                                                                                                                CreditCardBrand.visa,
                                                                                                                                                                                                ),
                                                                                                                                                                                                new TokenizedCard(
                                                                                                                                                                                                'token',
                                                                                                                                                                                                '1234',
                                                                                                                                                                                                CreditCardBrand.mastercard,
                                                                                                                                                                                                ),
                                                                                                                                                                                                ],
                                                                                                                                                                                                new BlikAlias(
                                                                                                                                                                                                true,
                                                                                                                                                                                                'alias value',
                                                                                                                                                                                                'label'
                                                                                                                                                                                                ),
                                                                                                                                                                                                ); +
                                                                                                                                                                                                + +

                                                                                                                                                                                                Tpay SDK allows you to make credit card transactions without need of entering card's data each time. +Instead, you can create and use a token, associated with a specific card and user.

                                                                                                                                                                                                +
                                                                                                                                                                                                Important

                                                                                                                                                                                                +There are 2 types of tokens you can use in transactions.

                                                                                                                                                                                                +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • Simple tokens - +tokens that go with card data upon transaction,
                                                                                                                                                                                                • +
                                                                                                                                                                                                • Network tokens - +tokens that can be used without exposing the card details. Also, this token persists even if +card expires and user requests a new one.
                                                                                                                                                                                                • +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +For recurring payments, you can simply use created token to make transaction without need of user +interaction.

                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +notificationUrl should be the URL handled by your backend, because there will be sent token from +the successful token creation.

                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                const transaction = new Tokenization(
                                                                                                                                                                                                new Payer(
                                                                                                                                                                                                'John Doe',
                                                                                                                                                                                                'john.doe@example.com',
                                                                                                                                                                                                '123456789',
                                                                                                                                                                                                new Address(
                                                                                                                                                                                                'Test Street1',
                                                                                                                                                                                                'Warsaw',
                                                                                                                                                                                                'PL',
                                                                                                                                                                                                '00-007',
                                                                                                                                                                                                ),
                                                                                                                                                                                                ),
                                                                                                                                                                                                'https://yourdomain.com/notifications',
                                                                                                                                                                                                );

                                                                                                                                                                                                await tokenizeCard(transaction); +
                                                                                                                                                                                                + +

                                                                                                                                                                                                If you already have card token payment, you can simply proceed with an actual tokenization +transaction.

                                                                                                                                                                                                +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +cardToken is a token sent to your backend during card tokenization process.

                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                const transaction = new TokenPayment(
                                                                                                                                                                                                'card_token',
                                                                                                                                                                                                new Payer(
                                                                                                                                                                                                'John Doe',
                                                                                                                                                                                                'john.doe@example.com',
                                                                                                                                                                                                '123456789',
                                                                                                                                                                                                new Address(
                                                                                                                                                                                                'Test Street1',
                                                                                                                                                                                                'Warsaw',
                                                                                                                                                                                                'PL',
                                                                                                                                                                                                '00-007',
                                                                                                                                                                                                ),
                                                                                                                                                                                                ),
                                                                                                                                                                                                10.99,
                                                                                                                                                                                                'Payment description',
                                                                                                                                                                                                'Hidden description',
                                                                                                                                                                                                new Notifications(
                                                                                                                                                                                                'https://yourdomain.com/notifications',
                                                                                                                                                                                                'email@address',
                                                                                                                                                                                                )
                                                                                                                                                                                                );

                                                                                                                                                                                                await startCardTokenPayment(transaction); +
                                                                                                                                                                                                + +

                                                                                                                                                                                                Each transaction with a predefined screen returns a result +that you can use to either show information to the user or e.g. log errors.

                                                                                                                                                                                                +
                                                                                                                                                                                                function handleResult(result: Result) {
                                                                                                                                                                                                if (result instanceof TokenizationCompleted) {
                                                                                                                                                                                                // credit card was tokenized successfully
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof TokenizationFailure) {
                                                                                                                                                                                                // credit card was not tokenized
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof ConfigurationSuccess) {
                                                                                                                                                                                                // Tpay package was configured successfully
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof ModuleClosed) {
                                                                                                                                                                                                // User closed the Tpay UI module
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof ValidationError) {
                                                                                                                                                                                                // provided data is invalid
                                                                                                                                                                                                // check error message via result.message
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof PaymentCreated) {
                                                                                                                                                                                                // payment completed successfully
                                                                                                                                                                                                // read transactionId via result.transactionId
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof PaymentCompleted) {
                                                                                                                                                                                                // payment completed successfully
                                                                                                                                                                                                // read transactionId via result.transactionId
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof PaymentCancelled) {
                                                                                                                                                                                                // payment was cancelled by user
                                                                                                                                                                                                // result.transactionId might not exist if
                                                                                                                                                                                                // an error occurred during payment creation
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof MethodCallError) {
                                                                                                                                                                                                // package error occurred
                                                                                                                                                                                                // read error message via result.message
                                                                                                                                                                                                }
                                                                                                                                                                                                } +
                                                                                                                                                                                                + +

                                                                                                                                                                                                Screenless payments are a special type of payment functionality that gives you the whole power of +payment process, but do not limit you to using predefined Tpay screens.

                                                                                                                                                                                                +

                                                                                                                                                                                                To be able to use screenless functionalities you will need to know which payment methods are +available to your merchant account. To get them, you can simply call getAvailablePaymentChannels +method on the TpayPlatform.instance and set up result observer for them.

                                                                                                                                                                                                +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +Available methods needs to be filtered by the amount of the transaction, because some payment +methods have specific constraints, like minimum or maximum amount.

                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                async function getPaymentMethods() {
                                                                                                                                                                                                const result = await getAvailablePaymentChannels();

                                                                                                                                                                                                if (result instanceof PaymentChannelsSuccess) {
                                                                                                                                                                                                result.channels.forEach(channel => {
                                                                                                                                                                                                channel.constraints.forEach(constraint => {
                                                                                                                                                                                                switch (constraint.type) {
                                                                                                                                                                                                case PaymentConstraintType.amount:
                                                                                                                                                                                                // check if your payment amount is between
                                                                                                                                                                                                // - amountConstraint.minimum
                                                                                                                                                                                                // - amountConstraint.maximum
                                                                                                                                                                                                // this constraint can have:
                                                                                                                                                                                                // - only minimum value
                                                                                                                                                                                                // - only maximum value
                                                                                                                                                                                                // - minimum and maximum values
                                                                                                                                                                                                const amountConstraint = constraint as AmountPaymentConstraint;
                                                                                                                                                                                                break;
                                                                                                                                                                                                }

                                                                                                                                                                                                // display payment channel if all payment constraints are satisfied
                                                                                                                                                                                                });
                                                                                                                                                                                                });
                                                                                                                                                                                                }

                                                                                                                                                                                                if (result instanceof PaymentChannelsError) {
                                                                                                                                                                                                // handle error
                                                                                                                                                                                                }
                                                                                                                                                                                                } +
                                                                                                                                                                                                + +

                                                                                                                                                                                                Before you run any screenless payment we do recommend setting up a function to handle specific payment results. +You will need this to be able to monitor each payment status, i.e. it's status in real time. To do so, +create a function, that will accept ScreenlessResult as a parameter and handle each of them.

                                                                                                                                                                                                +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +Note that long polling mechanism will start only when it's needed:

                                                                                                                                                                                                +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • ScreenlessPaymentCreated: when payment is created and you have to display payment URL.
                                                                                                                                                                                                • +
                                                                                                                                                                                                • ScreenlessBlikAmbiguousAlias: when payment is created and there are more than one BLIK alias registered, +so you have to display them to the user and continue payment with selected one.
                                                                                                                                                                                                • +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                function handleScreenlessResult(result: ScreenlessResult) {
                                                                                                                                                                                                if (result instanceof ScreenlessPaid) {
                                                                                                                                                                                                // payment completed successfully
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof ScreenlessPaymentCreated) {
                                                                                                                                                                                                // payment created, use result.paymentUrl to redirect the user to the payment page
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof ScreenlessPaymentError) {
                                                                                                                                                                                                // creating payment failed
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof ScreenlessConfiguredPaymentFailed) {
                                                                                                                                                                                                // creating payment failed because of error with:
                                                                                                                                                                                                // - credit card data or credit card token
                                                                                                                                                                                                // - BLIK code or BLIK alias
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof ScreenlessBlikAmbiguousAlias) {
                                                                                                                                                                                                // single alias has been registered multiple times, use result.aliases to let user choose desired one
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof ScreenlessValidationError) {
                                                                                                                                                                                                // passed data is incorrect
                                                                                                                                                                                                }
                                                                                                                                                                                                if (result instanceof ScreenlessMethodCallError) {
                                                                                                                                                                                                // something went wrong with the plugin
                                                                                                                                                                                                }
                                                                                                                                                                                                } +
                                                                                                                                                                                                + +

                                                                                                                                                                                                CreditCardPayment allows you to create payments with credit card data.

                                                                                                                                                                                                +
                                                                                                                                                                                                const transaction = new CreditCardPayment(
                                                                                                                                                                                                new CreditCard(
                                                                                                                                                                                                'card_number',
                                                                                                                                                                                                new ExpirationDate('12', '24'),
                                                                                                                                                                                                '123',
                                                                                                                                                                                                new CreditCardConfig(
                                                                                                                                                                                                false,
                                                                                                                                                                                                'yourstore.com',
                                                                                                                                                                                                null,
                                                                                                                                                                                                ),
                                                                                                                                                                                                ),
                                                                                                                                                                                                null,
                                                                                                                                                                                                new PaymentDetails(
                                                                                                                                                                                                19.99,
                                                                                                                                                                                                'transaction description',
                                                                                                                                                                                                'hidden description',
                                                                                                                                                                                                Language.pl,
                                                                                                                                                                                                ),
                                                                                                                                                                                                new Payer(
                                                                                                                                                                                                'John Doe',
                                                                                                                                                                                                'john.doe@example.com',
                                                                                                                                                                                                '123456789',
                                                                                                                                                                                                new Address(
                                                                                                                                                                                                'Test Street1',
                                                                                                                                                                                                'Warsaw',
                                                                                                                                                                                                'PL',
                                                                                                                                                                                                '00-007',
                                                                                                                                                                                                ),
                                                                                                                                                                                                ),
                                                                                                                                                                                                new Callbacks(
                                                                                                                                                                                                new Redirects('https://success.url', 'https://error.url'),
                                                                                                                                                                                                new Notifications(
                                                                                                                                                                                                'https://yourdomain.com/notifications',
                                                                                                                                                                                                'email@address',
                                                                                                                                                                                                ),
                                                                                                                                                                                                )
                                                                                                                                                                                                );

                                                                                                                                                                                                const result = await screenlessCreditCardPayment(transaction);

                                                                                                                                                                                                handleScreenlessResult(result); +
                                                                                                                                                                                                + +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +If CreditCardPayment returns ScreenlessPaymentCreated result, you have to handle paymentUrl +sent with it and redirect user to it in order to complete the payment.

                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                You can also Opt-in to generate a credit card token for future payments +if you want to let users pay for transactions with previously used card. +To do so, in creditCard -> config object, set the shouldSave to true.

                                                                                                                                                                                                +
                                                                                                                                                                                                new CreditCardConfig(
                                                                                                                                                                                                true,
                                                                                                                                                                                                'yourstore.com',
                                                                                                                                                                                                null,
                                                                                                                                                                                                ) +
                                                                                                                                                                                                + +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +Generated card token will be sent to notificationUrl specified in the notifications callbacks.

                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                If you already have a credit card token, you can then set up token payment omitting credit card +info. +To do so, use creditCardToken instead of creditCard field.

                                                                                                                                                                                                +
                                                                                                                                                                                                const transaction = new CreditCardPayment(
                                                                                                                                                                                                null,
                                                                                                                                                                                                'creadit_card_token',
                                                                                                                                                                                                new PaymentDetails(
                                                                                                                                                                                                19.99,
                                                                                                                                                                                                'transaction description',
                                                                                                                                                                                                'hidden description',
                                                                                                                                                                                                Language.pl,
                                                                                                                                                                                                ),
                                                                                                                                                                                                new Payer(
                                                                                                                                                                                                'John Doe',
                                                                                                                                                                                                'john.doe@example.com',
                                                                                                                                                                                                '123456789',
                                                                                                                                                                                                new Address(
                                                                                                                                                                                                'Test Street1',
                                                                                                                                                                                                'Warsaw',
                                                                                                                                                                                                'PL',
                                                                                                                                                                                                '00-007',
                                                                                                                                                                                                ),
                                                                                                                                                                                                ),
                                                                                                                                                                                                new Callbacks(
                                                                                                                                                                                                new Redirects('https://success.url', 'https://error.url'),
                                                                                                                                                                                                new Notifications(
                                                                                                                                                                                                'https://yourdomain.com/notifications',
                                                                                                                                                                                                'email@address',
                                                                                                                                                                                                ),
                                                                                                                                                                                                )
                                                                                                                                                                                                );

                                                                                                                                                                                                const result = await screenlessCreditCardPayment(transaction);

                                                                                                                                                                                                handleScreenlessResult(result); +
                                                                                                                                                                                                + +
                                                                                                                                                                                                Important

                                                                                                                                                                                                +Right now, ReactNative's Tpay SDK does not support recurring payments. +If you'd like to implement them manually, +check our API support for recurring payments.

                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                Tpay SDK let's make transactions with BLIK as well. Simply use BLIKPayment class.

                                                                                                                                                                                                +
                                                                                                                                                                                                const blikPayment = new BlikPayment(
                                                                                                                                                                                                'blik_code',
                                                                                                                                                                                                null,
                                                                                                                                                                                                new PaymentDetails(
                                                                                                                                                                                                27.99,
                                                                                                                                                                                                'transaction description',
                                                                                                                                                                                                'hidden description',
                                                                                                                                                                                                Language.pl,
                                                                                                                                                                                                ),
                                                                                                                                                                                                new Payer(
                                                                                                                                                                                                'John Doe',
                                                                                                                                                                                                'john.doe@example.com',
                                                                                                                                                                                                '123456789',
                                                                                                                                                                                                new Address(
                                                                                                                                                                                                'Test Street1',
                                                                                                                                                                                                'Warsaw',
                                                                                                                                                                                                'PL',
                                                                                                                                                                                                '00-007',
                                                                                                                                                                                                ),
                                                                                                                                                                                                ),
                                                                                                                                                                                                new Callbacks(
                                                                                                                                                                                                new Redirects('https://success.url', 'https://error.url'),
                                                                                                                                                                                                new Notifications(
                                                                                                                                                                                                'https://yourdomain.com/notifications',
                                                                                                                                                                                                'email@address',
                                                                                                                                                                                                ),
                                                                                                                                                                                                ),
                                                                                                                                                                                                );

                                                                                                                                                                                                const screenlessResult = await screenlessBLIKPayment(blikPayment);

                                                                                                                                                                                                handleScreenlessResult(screenlessResult); +
                                                                                                                                                                                                + +

                                                                                                                                                                                                If you have for example a returning users and you want to make their payments with BLIK even +smoother, +you can register BLIK Alias for them, so they will only be prompted to accept payment in their +banking app, +without need of entering BLIK code each time they want to make the payment.

                                                                                                                                                                                                +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +In order to register alias for a user/payment, you have to set isRegistered parameter to false. +Then, a successful payment will register the alias in Tpay system +and next time user will be able to use it.

                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                const blikPayment = new BlikPayment(
                                                                                                                                                                                                '777123',
                                                                                                                                                                                                new BlikAlias(false, '1234', 'label_1234'),
                                                                                                                                                                                                // rest of the BLIKPayment configuration
                                                                                                                                                                                                ); +
                                                                                                                                                                                                + +

                                                                                                                                                                                                If the payment were successful, you can assume an alias was created and can be used for the future +payments.

                                                                                                                                                                                                +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +If you already have registered alias for a user, you can set up isRegistered parameter to true.

                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +To be able to pay with BLIK alias, you MUST set the code parameter to null.

                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                const blikPayment = new BlikPayment(
                                                                                                                                                                                                null,
                                                                                                                                                                                                new BlikAlias(false, '1234', 'label_1234'),
                                                                                                                                                                                                // rest of the BLIKPayment configuration
                                                                                                                                                                                                ); +
                                                                                                                                                                                                + +

                                                                                                                                                                                                Sometimes, there is a possibility for one alias to be registered more than once. For example, if +you register alias associated with one user for the multiple banks. +In such a situation, you have to fetch those aliases from Tpay API and show them to user to let him +choose one for the payment.

                                                                                                                                                                                                +

                                                                                                                                                                                                In BLIKPayment's call in the execute method you can get ScreenlessBlikAmbiguousAlias +type of result, +that will indicate that current alias was registered more than once. +This result holds all possible variations of the alias you used to start payment with in aliases +field. +You have to simply show them to the user, let him choose, and then use the chosen alias to retry the +payment.

                                                                                                                                                                                                +
                                                                                                                                                                                                if (result instanceof ScreenlessBlikAmbiguousAlias) {
                                                                                                                                                                                                showAmbiguousAliases(result.aliases);
                                                                                                                                                                                                } +
                                                                                                                                                                                                + +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +In such scenario, you have to use different class to make the payment than at the beginning.

                                                                                                                                                                                                +
                                                                                                                                                                                                const blikPayment = new AmbiguousBlikPayment(
                                                                                                                                                                                                transactionId,
                                                                                                                                                                                                new BlikAlias(true, '1234', 'label_1234'),
                                                                                                                                                                                                new AmbiguousAlias('name','code',),
                                                                                                                                                                                                );

                                                                                                                                                                                                const screenlessResult = await screenlessAmbiguousBLIKPayment(blikPayment);

                                                                                                                                                                                                handleScreenlessResult(screenlessResult); +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                Important

                                                                                                                                                                                                +Right now, Tpay SDK does NOT support recurring payments with BLIK +In order to achieve that, check +our API support for BLIK recurring payments.

                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                Tpay SDK allows you to make transfer payments with bank available to your merchant account.

                                                                                                                                                                                                +
                                                                                                                                                                                                Tip

                                                                                                                                                                                                +To get banks with their channel ids check +the Get Payment Channels +section.

                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                After your customer chooses their bank from the list, you can use it's channelId to make the payment.

                                                                                                                                                                                                +
                                                                                                                                                                                                const transaction = new TransferPayment(
                                                                                                                                                                                                15,
                                                                                                                                                                                                new PaymentDetails(
                                                                                                                                                                                                0.15,
                                                                                                                                                                                                'transaction description',
                                                                                                                                                                                                'hidden description',
                                                                                                                                                                                                Language.pl,
                                                                                                                                                                                                ),
                                                                                                                                                                                                new Payer(
                                                                                                                                                                                                'John Doe',
                                                                                                                                                                                                'john.doe@example.com',
                                                                                                                                                                                                '123456789',
                                                                                                                                                                                                new Address(
                                                                                                                                                                                                'Test Street1',
                                                                                                                                                                                                'Warsaw',
                                                                                                                                                                                                'PL',
                                                                                                                                                                                                '00-007',
                                                                                                                                                                                                ),
                                                                                                                                                                                                ),
                                                                                                                                                                                                new Callbacks(
                                                                                                                                                                                                new Redirects('https://success.url', 'https://error.url'),
                                                                                                                                                                                                new Notifications(
                                                                                                                                                                                                'https://yourdomain.com/notifications',
                                                                                                                                                                                                'email@address',
                                                                                                                                                                                                ),
                                                                                                                                                                                                ),
                                                                                                                                                                                                );

                                                                                                                                                                                                const screenlessResult = await screenlessTransferPayment(transaction);

                                                                                                                                                                                                handleScreenlessResult(screenlessResult); +
                                                                                                                                                                                                + +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +If TransferPayment returns ScreenlessPaymentCreated result, you have to handle paymentUrl +sent with it and redirect user to it in order to complete the payment.

                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                Tpay SDK allows you to create long term installment payments.

                                                                                                                                                                                                +
                                                                                                                                                                                                const transaction = new RatyPekaoPayment(
                                                                                                                                                                                                15,
                                                                                                                                                                                                new PaymentDetails(
                                                                                                                                                                                                71.15,
                                                                                                                                                                                                'transaction description',
                                                                                                                                                                                                'hidden description',
                                                                                                                                                                                                Language.pl,
                                                                                                                                                                                                ),
                                                                                                                                                                                                new Payer(
                                                                                                                                                                                                'John Doe',
                                                                                                                                                                                                'john.doe@example.com',
                                                                                                                                                                                                '123456789',
                                                                                                                                                                                                new Address(
                                                                                                                                                                                                'Test Street1',
                                                                                                                                                                                                'Warsaw',
                                                                                                                                                                                                'PL',
                                                                                                                                                                                                '00-007',
                                                                                                                                                                                                ),
                                                                                                                                                                                                ),
                                                                                                                                                                                                new Callbacks(
                                                                                                                                                                                                new Redirects('https://success.url', 'https://error.url'),
                                                                                                                                                                                                new Notifications(
                                                                                                                                                                                                'https://yourdomain.com/notifications',
                                                                                                                                                                                                'email@address',
                                                                                                                                                                                                ),
                                                                                                                                                                                                ),
                                                                                                                                                                                                );

                                                                                                                                                                                                const screenlessResult = await screenlessRatyPekaoPayment(transaction);

                                                                                                                                                                                                handleScreenlessResult(screenlessResult); +
                                                                                                                                                                                                + +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +If RatyPekaoPayment returns ScreenlessPaymentCreated result, you have to handle paymentUrl +sent with it and redirect user to it in order to complete the payment.

                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                Tpay SDK allows you to create deferred payments (BNPL) using PayPo method.

                                                                                                                                                                                                +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +For PayPo payment to work, amount of the payment must be at least 40PLN! +For more information about PayPo payments +check our PayPo documentation.

                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                Tip

                                                                                                                                                                                                +For sandbox, working phone number is 500123456

                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                async function startScreenlessPayPoPayment() {
                                                                                                                                                                                                const payPoPayment = new PayPoPayment(paymentDetails, payer, callbacks);
                                                                                                                                                                                                const screenlessResult = await screenlessPayPoPayment(payPoPayment);
                                                                                                                                                                                                handleScreenlessResult(screenlessResult);
                                                                                                                                                                                                } +
                                                                                                                                                                                                + +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +If PayPoPayment returns ScreenlessPaymentCreated result, you have to handle paymentUrl +sent with it and redirect user to it in order to complete the payment.

                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                Google Pay payment requires a Google Pay token.

                                                                                                                                                                                                +
                                                                                                                                                                                                const transaction = new PayPoPayment(
                                                                                                                                                                                                new PaymentDetails(
                                                                                                                                                                                                71.15,
                                                                                                                                                                                                'transaction description',
                                                                                                                                                                                                'hidden description',
                                                                                                                                                                                                Language.pl,
                                                                                                                                                                                                ),
                                                                                                                                                                                                new Payer(
                                                                                                                                                                                                'John Doe',
                                                                                                                                                                                                'john.doe@example.com',
                                                                                                                                                                                                '123456789',
                                                                                                                                                                                                new Address(
                                                                                                                                                                                                'Test Street1',
                                                                                                                                                                                                'Warsaw',
                                                                                                                                                                                                'PL',
                                                                                                                                                                                                '00-007',
                                                                                                                                                                                                ),
                                                                                                                                                                                                ),
                                                                                                                                                                                                new Callbacks(
                                                                                                                                                                                                new Redirects('https://success.url', 'https://error.url'),
                                                                                                                                                                                                new Notifications(
                                                                                                                                                                                                'https://yourdomain.com/notifications',
                                                                                                                                                                                                'email@address',
                                                                                                                                                                                                ),
                                                                                                                                                                                                ),
                                                                                                                                                                                                );

                                                                                                                                                                                                const screenlessResult = await screenlessPayPoPayment(transaction);

                                                                                                                                                                                                handleScreenlessResult(screenlessResult); +
                                                                                                                                                                                                + +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +If PayPoPayment returns ScreenlessPaymentCreated result, you have to handle paymentUrl +sent with it and redirect user to it in order to complete the payment.

                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                Tpay SDK allows you to perform Google Pay transactions.

                                                                                                                                                                                                +
                                                                                                                                                                                                const transaction = new GooglePayPayment(
                                                                                                                                                                                                'google_pay_token',
                                                                                                                                                                                                new PaymentDetails(
                                                                                                                                                                                                71.15,
                                                                                                                                                                                                'transaction description',
                                                                                                                                                                                                'hidden description',
                                                                                                                                                                                                Language.pl,
                                                                                                                                                                                                ),
                                                                                                                                                                                                new Payer(
                                                                                                                                                                                                'John Doe',
                                                                                                                                                                                                'john.doe@example.com',
                                                                                                                                                                                                '123456789',
                                                                                                                                                                                                new Address(
                                                                                                                                                                                                'Test Street1',
                                                                                                                                                                                                'Warsaw',
                                                                                                                                                                                                'PL',
                                                                                                                                                                                                '00-007',
                                                                                                                                                                                                ),
                                                                                                                                                                                                ),
                                                                                                                                                                                                new Callbacks(
                                                                                                                                                                                                new Redirects('https://success.url', 'https://error.url'),
                                                                                                                                                                                                new Notifications(
                                                                                                                                                                                                'https://yourdomain.com/notifications',
                                                                                                                                                                                                'email@address',
                                                                                                                                                                                                ),
                                                                                                                                                                                                ),
                                                                                                                                                                                                );

                                                                                                                                                                                                const screenlessResult = await screenlessGooglePayPayment(transaction);

                                                                                                                                                                                                handleScreenlessResult(screenlessResult); +
                                                                                                                                                                                                + +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +If GooglePayPayment returns ScreenlessPaymentCreated result, you have to handle paymentUrl +sent with it and redirect user to it in order to complete the payment.

                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +Take under consideration, that choosing this option, +you have to configure whole Google Wallet SDK and fetch Google Pay token on your own. +For ANDROID system only, we provide a bit smoother way of handling Google Pay transactions with our wrappers.

                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                If you do not want to configure whole Google Pay functionality, you can use GooglePlayUtil class. +It will handle all payment, with additional info in bottom sheet and send you all the needed info in +callback.

                                                                                                                                                                                                +
                                                                                                                                                                                                Important

                                                                                                                                                                                                +To use GooglePayUtil, first, you have to configure them it.

                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                const config = new GooglePayUtilsConfiguration(
                                                                                                                                                                                                19.71,
                                                                                                                                                                                                'Test Merchant',
                                                                                                                                                                                                'merchant_id',
                                                                                                                                                                                                GooglePayEnvironment.test,
                                                                                                                                                                                                null,
                                                                                                                                                                                                );

                                                                                                                                                                                                const configResult = await configureGooglePayUtils(config);

                                                                                                                                                                                                if (configResult instanceof GooglePayConfigureError) {
                                                                                                                                                                                                // handle error
                                                                                                                                                                                                } else if (configResult instanceof GooglePayConfigureSuccess) {
                                                                                                                                                                                                // handle success
                                                                                                                                                                                                } +
                                                                                                                                                                                                + +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +Before you use our utils, make sure Google Pay is enabled in the device. Use isGooglePayAvailable method.

                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                const isAvailable = await isGooglePayAvailable()

                                                                                                                                                                                                if (isAvailable) {
                                                                                                                                                                                                // display Google Pay button
                                                                                                                                                                                                } +
                                                                                                                                                                                                + +

                                                                                                                                                                                                Next, you can open Google Pay module and let the user choose his credit card, so you can use it to make +the payment.

                                                                                                                                                                                                +
                                                                                                                                                                                                const googlePayResult = await openGooglePay()

                                                                                                                                                                                                if (googlePayResult instanceof GooglePayOpenSuccess) {
                                                                                                                                                                                                // credit card data was received
                                                                                                                                                                                                }
                                                                                                                                                                                                else if (googlePayResult instanceof GooglePayOpenCancelled) {
                                                                                                                                                                                                // user closed Google Pay
                                                                                                                                                                                                }
                                                                                                                                                                                                else if (googlePayResult instanceof GooglePayOpenNotConfigured) {
                                                                                                                                                                                                // Google Pay utils not configured
                                                                                                                                                                                                }
                                                                                                                                                                                                else if (googlePayResult instanceof GooglePayOpenUnknownError) {
                                                                                                                                                                                                // unknown error has occurred
                                                                                                                                                                                                } +
                                                                                                                                                                                                + +
                                                                                                                                                                                                Important

                                                                                                                                                                                                +If googlePayResult returns GooglePayOpenSuccess, you HAVE TO use it's content to make an actual +payment buy using GooglePayPayment and screenlessGooglePayPayment.

                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                Tpay SDK allows you to perform Apple Pay transactions.

                                                                                                                                                                                                +
                                                                                                                                                                                                Warning

                                                                                                                                                                                                +To be able to complete Apple Pay payment, you will need apple_pay_token. You HAVE TO +acquire a token by yourself. To do that check +official Apple Pay documentation

                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                const applePayPayment = new ApplePayPayment(
                                                                                                                                                                                                'apple_pay_token',
                                                                                                                                                                                                new PaymentDetails(
                                                                                                                                                                                                71.15,
                                                                                                                                                                                                'transaction description',
                                                                                                                                                                                                'hidden description',
                                                                                                                                                                                                Language.pl,
                                                                                                                                                                                                ),
                                                                                                                                                                                                new Payer(
                                                                                                                                                                                                'John Doe',
                                                                                                                                                                                                'john.doe@example.com',
                                                                                                                                                                                                '123456789',
                                                                                                                                                                                                new Address(
                                                                                                                                                                                                'Test Street1',
                                                                                                                                                                                                'Warsaw',
                                                                                                                                                                                                'PL',
                                                                                                                                                                                                '00-007',
                                                                                                                                                                                                ),
                                                                                                                                                                                                ),
                                                                                                                                                                                                new Callbacks(
                                                                                                                                                                                                new Redirects('https://success.url', 'https://error.url'),
                                                                                                                                                                                                new Notifications(
                                                                                                                                                                                                'https://yourdomain.com/notifications',
                                                                                                                                                                                                'email@address',
                                                                                                                                                                                                ),
                                                                                                                                                                                                ),
                                                                                                                                                                                                );

                                                                                                                                                                                                const screenlessResult = await screenlessApplePayPayment(applePayPayment);

                                                                                                                                                                                                handleScreenlessResult(screenlessResult); +
                                                                                                                                                                                                + +

                                                                                                                                                                                                This library is released under the MIT License.

                                                                                                                                                                                                +
                                                                                                                                                                                                diff --git a/docs/modules.html b/docs/modules.html index 43a8ecc..d6d8340 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1,101 +1 @@ -react-native-tpay

                                                                                                                                                                                                react-native-tpay

                                                                                                                                                                                                Index

                                                                                                                                                                                                Enumerations

                                                                                                                                                                                                Classes

                                                                                                                                                                                                Type Aliases

                                                                                                                                                                                                Functions

                                                                                                                                                                                                Generated using TypeDoc

                                                                                                                                                                                                \ No newline at end of file +react-native-tpay
                                                                                                                                                                                                react-native-tpay
                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                    react-native-tpay

                                                                                                                                                                                                    Enumerations

                                                                                                                                                                                                    CreditCardBrand
                                                                                                                                                                                                    DigitalWallet
                                                                                                                                                                                                    Frequency
                                                                                                                                                                                                    GooglePayEnvironment
                                                                                                                                                                                                    InstallmentPayment
                                                                                                                                                                                                    Language
                                                                                                                                                                                                    PaymentConstraintType
                                                                                                                                                                                                    PaymentMethod
                                                                                                                                                                                                    TpayEnvironment

                                                                                                                                                                                                    Classes

                                                                                                                                                                                                    Address
                                                                                                                                                                                                    AmbiguousAlias
                                                                                                                                                                                                    AmbiguousBlikPayment
                                                                                                                                                                                                    AmountPaymentConstraint
                                                                                                                                                                                                    ApplePayConfiguration
                                                                                                                                                                                                    ApplePayPayment
                                                                                                                                                                                                    AutomaticPaymentMethods
                                                                                                                                                                                                    BlikAlias
                                                                                                                                                                                                    BlikPayment
                                                                                                                                                                                                    Callbacks
                                                                                                                                                                                                    CertificatePinningConfiguration
                                                                                                                                                                                                    ConfigurationSuccess
                                                                                                                                                                                                    CreditCard
                                                                                                                                                                                                    CreditCardConfig
                                                                                                                                                                                                    CreditCardPayment
                                                                                                                                                                                                    ExpirationDate
                                                                                                                                                                                                    GooglePayConfiguration
                                                                                                                                                                                                    GooglePayConfigureError
                                                                                                                                                                                                    GooglePayConfigureResult
                                                                                                                                                                                                    GooglePayConfigureSuccess
                                                                                                                                                                                                    GooglePayOpenCancelled
                                                                                                                                                                                                    GooglePayOpenNotConfigured
                                                                                                                                                                                                    GooglePayOpenResult
                                                                                                                                                                                                    GooglePayOpenSuccess
                                                                                                                                                                                                    GooglePayOpenUnknownError
                                                                                                                                                                                                    GooglePayPayment
                                                                                                                                                                                                    GooglePayUtilsConfiguration
                                                                                                                                                                                                    Languages
                                                                                                                                                                                                    LocalizedString
                                                                                                                                                                                                    Merchant
                                                                                                                                                                                                    MerchantAuthorization
                                                                                                                                                                                                    MerchantDetails
                                                                                                                                                                                                    MethodCallError
                                                                                                                                                                                                    ModuleClosed
                                                                                                                                                                                                    Notifications
                                                                                                                                                                                                    Payer
                                                                                                                                                                                                    PayerContext
                                                                                                                                                                                                    PaymentCancelled
                                                                                                                                                                                                    PaymentChannel
                                                                                                                                                                                                    PaymentChannelsError
                                                                                                                                                                                                    PaymentChannelsResult
                                                                                                                                                                                                    PaymentChannelsSuccess
                                                                                                                                                                                                    PaymentCompleted
                                                                                                                                                                                                    PaymentConstraint
                                                                                                                                                                                                    PaymentCreated
                                                                                                                                                                                                    PaymentDetails
                                                                                                                                                                                                    PaymentGroup
                                                                                                                                                                                                    PaymentMethods
                                                                                                                                                                                                    PayPoPayment
                                                                                                                                                                                                    RatyPekaoPayment
                                                                                                                                                                                                    Recursive
                                                                                                                                                                                                    Redirects
                                                                                                                                                                                                    Result
                                                                                                                                                                                                    ScreenlessBlikAmbiguousAlias
                                                                                                                                                                                                    ScreenlessConfiguredPaymentFailed
                                                                                                                                                                                                    ScreenlessMethodCallError
                                                                                                                                                                                                    ScreenlessPaid
                                                                                                                                                                                                    ScreenlessPayment
                                                                                                                                                                                                    ScreenlessPaymentCreated
                                                                                                                                                                                                    ScreenlessPaymentError
                                                                                                                                                                                                    ScreenlessResult
                                                                                                                                                                                                    ScreenlessValidationError
                                                                                                                                                                                                    SingleTransaction
                                                                                                                                                                                                    Tokenization
                                                                                                                                                                                                    TokenizationCompleted
                                                                                                                                                                                                    TokenizationFailure
                                                                                                                                                                                                    TokenizedCard
                                                                                                                                                                                                    TokenPayment
                                                                                                                                                                                                    TpayConfiguration
                                                                                                                                                                                                    Transaction
                                                                                                                                                                                                    TransferPayment
                                                                                                                                                                                                    ValidationError
                                                                                                                                                                                                    WalletConfiguration

                                                                                                                                                                                                    Type Aliases

                                                                                                                                                                                                    TpayButtonProps

                                                                                                                                                                                                    Functions

                                                                                                                                                                                                    configure
                                                                                                                                                                                                    configureGooglePayUtils
                                                                                                                                                                                                    getAvailablePaymentChannels
                                                                                                                                                                                                    isGooglePayAvailable
                                                                                                                                                                                                    openGooglePay
                                                                                                                                                                                                    screenlessAmbiguousBLIKPayment
                                                                                                                                                                                                    screenlessApplePayPayment
                                                                                                                                                                                                    screenlessBLIKPayment
                                                                                                                                                                                                    screenlessCreditCardPayment
                                                                                                                                                                                                    screenlessGooglePayPayment
                                                                                                                                                                                                    screenlessPayPoPayment
                                                                                                                                                                                                    screenlessRatyPekaoPayment
                                                                                                                                                                                                    screenlessTransferPayment
                                                                                                                                                                                                    startCardTokenPayment
                                                                                                                                                                                                    startPayment
                                                                                                                                                                                                    tokenizeCard
                                                                                                                                                                                                    TpayButton
                                                                                                                                                                                                    diff --git a/docs/types/TpayButtonProps.html b/docs/types/TpayButtonProps.html index 4bfe63a..d97f91a 100644 --- a/docs/types/TpayButtonProps.html +++ b/docs/types/TpayButtonProps.html @@ -1,3 +1,5 @@ -TpayButtonProps | react-native-tpay

                                                                                                                                                                                                    Type alias TpayButtonProps

                                                                                                                                                                                                    TpayButtonProps: {
                                                                                                                                                                                                        isEnabled: boolean;
                                                                                                                                                                                                        onClick: Function;
                                                                                                                                                                                                    }

                                                                                                                                                                                                    Type declaration

                                                                                                                                                                                                    • isEnabled: boolean

                                                                                                                                                                                                      Whether the button should be enabled

                                                                                                                                                                                                      -
                                                                                                                                                                                                    • onClick: Function

                                                                                                                                                                                                      Called when button is clicked

                                                                                                                                                                                                      -

                                                                                                                                                                                                    Generated using TypeDoc

                                                                                                                                                                                                    \ No newline at end of file +TpayButtonProps | react-native-tpay
                                                                                                                                                                                                    react-native-tpay
                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                      Type Alias TpayButtonProps

                                                                                                                                                                                                      type TpayButtonProps = {
                                                                                                                                                                                                          isEnabled: boolean;
                                                                                                                                                                                                          onClick: Function;
                                                                                                                                                                                                      }
                                                                                                                                                                                                      Index

                                                                                                                                                                                                      Properties

                                                                                                                                                                                                      Properties

                                                                                                                                                                                                      isEnabled: boolean

                                                                                                                                                                                                      Whether the button should be enabled

                                                                                                                                                                                                      +
                                                                                                                                                                                                      onClick: Function

                                                                                                                                                                                                      Called when button is clicked

                                                                                                                                                                                                      +