@keetanetwork/anchor 0.0.14 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/certificates.d.ts.map +1 -1
- package/lib/certificates.js +29 -100
- package/lib/certificates.js.map +1 -1
- package/lib/http-server.js +1 -1
- package/lib/http-server.js.map +1 -1
- package/lib/log/index.d.ts +6 -57
- package/lib/log/index.d.ts.map +1 -1
- package/lib/log/index.js +5 -205
- package/lib/log/index.js.map +1 -1
- package/lib/log/target_console.d.ts +3 -11
- package/lib/log/target_console.d.ts.map +1 -1
- package/lib/log/target_console.js +3 -42
- package/lib/log/target_console.js.map +1 -1
- package/lib/resolver.js +22 -22
- package/lib/utils/asn1.d.ts +9 -1
- package/lib/utils/asn1.d.ts.map +1 -1
- package/lib/utils/asn1.js +1413 -0
- package/lib/utils/asn1.js.map +1 -1
- package/lib/utils/buffer.d.ts +1 -1
- package/lib/utils/buffer.d.ts.map +1 -1
- package/lib/utils/buffer.js +8 -2
- package/lib/utils/buffer.js.map +1 -1
- package/lib/utils/external.d.ts +43 -0
- package/lib/utils/external.d.ts.map +1 -0
- package/lib/utils/external.js +115 -0
- package/lib/utils/external.js.map +1 -0
- package/npm-shrinkwrap.json +76 -216
- package/package.json +2 -2
- package/services/asset-movement/common.js +7 -7
- package/services/kyc/iso20022.generated.d.ts +77 -26
- package/services/kyc/iso20022.generated.d.ts.map +1 -1
- package/services/kyc/iso20022.generated.js +168 -86
- package/services/kyc/iso20022.generated.js.map +1 -1
- package/services/kyc/oids.generated.d.ts +27 -6
- package/services/kyc/oids.generated.d.ts.map +1 -1
- package/services/kyc/oids.generated.js +43 -10
- package/services/kyc/oids.generated.js.map +1 -1
- package/services/kyc/utils/generate-kyc-schema.js +262 -74
- package/services/kyc/utils/generate-kyc-schema.js.map +1 -1
- package/lib/log/common.d.ts +0 -35
- package/lib/log/common.d.ts.map +0 -1
- package/lib/log/common.js +0 -19
- package/lib/log/common.js.map +0 -1
|
@@ -369,7 +369,7 @@ export const assertKeetaSupportedAssets = (() => { const _io0 = input => "string
|
|
|
369
369
|
}
|
|
370
370
|
return input;
|
|
371
371
|
}; })();
|
|
372
|
-
export const assertKeetaAssetMovementAnchorCreatePersistentForwardingRequest = (() => { const _iv1 = new Set(["
|
|
372
|
+
export const assertKeetaAssetMovementAnchorCreatePersistentForwardingRequest = (() => { const _iv1 = new Set(["AFN", "EUR", "ALL", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv2 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _av3 = new Set(["AFN", "EUR", "ALL", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _av4 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _io0 = input => null !== input.asset && undefined !== input.asset && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _iu0(input.asset)) && (null !== input.destinationLocation && undefined !== input.destinationLocation && ("string" === typeof input.destinationLocation && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.destinationLocation) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.destinationLocation)) || "object" === typeof input.destinationLocation && null !== input.destinationLocation && _iu1(input.destinationLocation))) && "string" === typeof input.destinationAddress && (null !== input.sourceLocation && undefined !== input.sourceLocation && ("string" === typeof input.sourceLocation && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.sourceLocation) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.sourceLocation)) || "object" === typeof input.sourceLocation && null !== input.sourceLocation && _iu1(input.sourceLocation))); const _io1 = input => true && true === _iv1.has(input.code) && "string" === typeof input.name && "string" === typeof input.precision && true === _iv2.has(input.isoNumber); const _io2 = input => true; const _io3 = input => "chain" === input.type && ("object" === typeof input.chain && null !== input.chain && _iu2(input.chain)); const _io4 = input => "keeta" === input.type && "bigint" === typeof input.networkId; const _io5 = input => "evm" === input.type && "bigint" === typeof input.chainId; const _io6 = input => "bank-account" === input.type && (null !== input.workInProgress && undefined === input.workInProgress); const _iu0 = input => (() => {
|
|
373
373
|
if (undefined !== input.code)
|
|
374
374
|
return _io1(input);
|
|
375
375
|
else
|
|
@@ -663,7 +663,7 @@ export const assertKeetaAssetMovementAnchorCreatePersistentForwardingResponse =
|
|
|
663
663
|
}
|
|
664
664
|
return input;
|
|
665
665
|
}; })();
|
|
666
|
-
export const assertKeetaAssetMovementAnchorInitiateTransferRequest = (() => { const _iv1 = new Set(["
|
|
666
|
+
export const assertKeetaAssetMovementAnchorInitiateTransferRequest = (() => { const _iv1 = new Set(["AFN", "EUR", "ALL", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv2 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _av3 = new Set(["AFN", "EUR", "ALL", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _av4 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _io0 = input => null !== input.asset && undefined !== input.asset && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _iu0(input.asset)) && ("object" === typeof input.from && null !== input.from && _io3(input.from)) && ("object" === typeof input.to && null !== input.to && _io8(input.to)) && "string" === typeof input.value && (undefined === input.allowedRails || Array.isArray(input.allowedRails)); const _io1 = input => true && true === _iv1.has(input.code) && "string" === typeof input.name && "string" === typeof input.precision && true === _iv2.has(input.isoNumber); const _io2 = input => true; const _io3 = input => null !== input.location && undefined !== input.location && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location)); const _io4 = input => "chain" === input.type && ("object" === typeof input.chain && null !== input.chain && _iu2(input.chain)); const _io5 = input => "keeta" === input.type && "bigint" === typeof input.networkId; const _io6 = input => "evm" === input.type && "bigint" === typeof input.chainId; const _io7 = input => "bank-account" === input.type && (null !== input.workInProgress && undefined === input.workInProgress); const _io8 = input => null !== input.location && undefined !== input.location && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location)) && "string" === typeof input.recipient; const _iu0 = input => (() => {
|
|
667
667
|
if (undefined !== input.code)
|
|
668
668
|
return _io1(input);
|
|
669
669
|
else
|
|
@@ -1423,7 +1423,7 @@ export const assertKeetaAssetMovementAnchorGetTransferStatusRequest = (() => { c
|
|
|
1423
1423
|
}
|
|
1424
1424
|
return input;
|
|
1425
1425
|
}; })();
|
|
1426
|
-
export const assertKeetaAssetMovementAnchorGetTransferStatusResponse = (() => { const _iv1 = new Set(["
|
|
1426
|
+
export const assertKeetaAssetMovementAnchorGetTransferStatusResponse = (() => { const _iv1 = new Set(["AFN", "EUR", "ALL", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv2 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _av3 = new Set(["AFN", "EUR", "ALL", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _av4 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _io0 = (input, _exceptionable = true) => true === input.ok && ("object" === typeof input.transaction && null !== input.transaction && _io1(input.transaction, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
1427
1427
|
if (["ok", "transaction"].some(prop => key === prop))
|
|
1428
1428
|
return true;
|
|
1429
1429
|
const value = input[key];
|
|
@@ -1908,7 +1908,7 @@ export const assertKeetaAssetMovementAnchorGetTransferStatusResponse = (() => {
|
|
|
1908
1908
|
}
|
|
1909
1909
|
return input;
|
|
1910
1910
|
}; })();
|
|
1911
|
-
export const assertKeetaAssetMovementAnchorlistTransactionsRequest = (() => { const _iv2 = new Set(["
|
|
1911
|
+
export const assertKeetaAssetMovementAnchorlistTransactionsRequest = (() => { const _iv2 = new Set(["AFN", "EUR", "ALL", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv3 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _av5 = new Set(["AFN", "EUR", "ALL", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _av6 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _io0 = input => (undefined === input.persistentAddresses || Array.isArray(input.persistentAddresses) && input.persistentAddresses.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.from || "object" === typeof input.from && null !== input.from && _io6(input.from)) && (undefined === input.to || "object" === typeof input.to && null !== input.to && _io9(input.to)) && (undefined === input.pagination || "object" === typeof input.pagination && null !== input.pagination && false === Array.isArray(input.pagination) && _io10(input.pagination)); const _io1 = input => null !== input.location && undefined !== input.location && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu0(input.location)) && "string" === typeof input.persistentAddress; const _io2 = input => "chain" === input.type && ("object" === typeof input.chain && null !== input.chain && _iu1(input.chain)); const _io3 = input => "keeta" === input.type && "bigint" === typeof input.networkId; const _io4 = input => "evm" === input.type && "bigint" === typeof input.chainId; const _io5 = input => "bank-account" === input.type && (null !== input.workInProgress && undefined === input.workInProgress); const _io6 = input => null !== input.location && undefined !== input.location && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu0(input.location)) && (undefined === input.userAddress || "string" === typeof input.userAddress) && (null !== input.asset && (undefined === input.asset || "string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _iu2(input.asset))); const _io7 = input => true && true === _iv2.has(input.code) && "string" === typeof input.name && "string" === typeof input.precision && true === _iv3.has(input.isoNumber); const _io8 = input => true; const _io9 = input => null !== input.location && undefined !== input.location && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu0(input.location)) && (undefined === input.userAddress || "string" === typeof input.userAddress) && (null !== input.asset && (undefined === input.asset || "string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _iu2(input.asset))); const _io10 = input => (undefined === input.limit || "number" === typeof input.limit) && (undefined === input.offset || "number" === typeof input.offset); const _iu0 = input => (() => {
|
|
1912
1912
|
if ("chain" === input.type)
|
|
1913
1913
|
return _io2(input);
|
|
1914
1914
|
else if ("bank-account" === input.type)
|
|
@@ -2208,7 +2208,7 @@ export const assertKeetaAssetMovementAnchorlistTransactionsRequest = (() => { co
|
|
|
2208
2208
|
}
|
|
2209
2209
|
return input;
|
|
2210
2210
|
}; })();
|
|
2211
|
-
export const assertKeetaAssetMovementAnchorlistPersistentForwardingTransactionsResponse = (() => { const _iv2 = new Set(["
|
|
2211
|
+
export const assertKeetaAssetMovementAnchorlistPersistentForwardingTransactionsResponse = (() => { const _iv2 = new Set(["AFN", "EUR", "ALL", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv3 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _av5 = new Set(["AFN", "EUR", "ALL", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _av6 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _io0 = (input, _exceptionable = true) => true === input.ok && (Array.isArray(input.transactions) && input.transactions.every((elem, _index1) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) && "string" === typeof input.total && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
2212
2212
|
if (["ok", "transactions", "total"].some(prop => key === prop))
|
|
2213
2213
|
return true;
|
|
2214
2214
|
const value = input[key];
|
|
@@ -2747,7 +2747,7 @@ export const isKeetaAssetMovementAnchorInitiateTransferResponse = (() => { const
|
|
|
2747
2747
|
else
|
|
2748
2748
|
return false;
|
|
2749
2749
|
})(); return input => "object" === typeof input && null !== input && _iu3(input); })();
|
|
2750
|
-
export const isKeetaAssetMovementAnchorGetExchangeStatusResponse = (() => { const _iv1 = new Set(["
|
|
2750
|
+
export const isKeetaAssetMovementAnchorGetExchangeStatusResponse = (() => { const _iv1 = new Set(["AFN", "EUR", "ALL", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv2 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _io0 = input => true === input.ok && ("object" === typeof input.transaction && null !== input.transaction && _io1(input.transaction)); const _io1 = input => "string" === typeof input.id && "string" === typeof input.status && (null !== input.asset && undefined !== input.asset && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _iu0(input.asset))) && ("object" === typeof input.from && null !== input.from && _io4(input.from)) && ("object" === typeof input.to && null !== input.to && _io7(input.to)) && (null === input.fee || "object" === typeof input.fee && null !== input.fee && _io9(input.fee)) && "string" === typeof input.createdAt && "string" === typeof input.updatedAt; const _io2 = input => true && true === _iv1.has(input.code) && "string" === typeof input.name && "string" === typeof input.precision && true === _iv2.has(input.isoNumber); const _io3 = input => true; const _io4 = input => "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) && "string" === typeof input.value && ("object" === typeof input.transactions && null !== input.transactions && _io5(input.transactions)); const _io5 = input => (null === input.persistentForwarding || "object" === typeof input.persistentForwarding && null !== input.persistentForwarding && _io6(input.persistentForwarding)) && (null === input.deposit || "object" === typeof input.deposit && null !== input.deposit && _io6(input.deposit)) && (null === input.finalization || "object" === typeof input.finalization && null !== input.finalization && _io6(input.finalization)); const _io6 = input => "string" === typeof input.id && "string" === typeof input.nonce; const _io7 = input => "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) && "string" === typeof input.value && ("object" === typeof input.transactions && null !== input.transactions && _io8(input.transactions)); const _io8 = input => null === input.withdraw || "object" === typeof input.withdraw && null !== input.withdraw && _io6(input.withdraw); const _io9 = input => null !== input.asset && undefined !== input.asset && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _iu0(input.asset)) && "string" === typeof input.value; const _io10 = input => false === input.ok && "string" === typeof input.error; const _iu0 = input => (() => {
|
|
2751
2751
|
if (undefined !== input.code)
|
|
2752
2752
|
return _io2(input);
|
|
2753
2753
|
else
|
|
@@ -2760,7 +2760,7 @@ export const isKeetaAssetMovementAnchorGetExchangeStatusResponse = (() => { cons
|
|
|
2760
2760
|
else
|
|
2761
2761
|
return false;
|
|
2762
2762
|
})(); return input => "object" === typeof input && null !== input && _iu1(input); })();
|
|
2763
|
-
export const isKeetaAssetMovementAnchorlistPersistentForwardingTransactionsResponse = (() => { const _iv2 = new Set(["
|
|
2763
|
+
export const isKeetaAssetMovementAnchorlistPersistentForwardingTransactionsResponse = (() => { const _iv2 = new Set(["AFN", "EUR", "ALL", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv3 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _io0 = input => true === input.ok && (Array.isArray(input.transactions) && input.transactions.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && "string" === typeof input.total; const _io1 = input => "string" === typeof input.id && "string" === typeof input.status && (null !== input.asset && undefined !== input.asset && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _iu0(input.asset))) && ("object" === typeof input.from && null !== input.from && _io4(input.from)) && ("object" === typeof input.to && null !== input.to && _io7(input.to)) && (null === input.fee || "object" === typeof input.fee && null !== input.fee && _io9(input.fee)) && "string" === typeof input.createdAt && "string" === typeof input.updatedAt; const _io2 = input => true && true === _iv2.has(input.code) && "string" === typeof input.name && "string" === typeof input.precision && true === _iv3.has(input.isoNumber); const _io3 = input => true; const _io4 = input => "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) && "string" === typeof input.value && ("object" === typeof input.transactions && null !== input.transactions && _io5(input.transactions)); const _io5 = input => (null === input.persistentForwarding || "object" === typeof input.persistentForwarding && null !== input.persistentForwarding && _io6(input.persistentForwarding)) && (null === input.deposit || "object" === typeof input.deposit && null !== input.deposit && _io6(input.deposit)) && (null === input.finalization || "object" === typeof input.finalization && null !== input.finalization && _io6(input.finalization)); const _io6 = input => "string" === typeof input.id && "string" === typeof input.nonce; const _io7 = input => "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) && "string" === typeof input.value && ("object" === typeof input.transactions && null !== input.transactions && _io8(input.transactions)); const _io8 = input => null === input.withdraw || "object" === typeof input.withdraw && null !== input.withdraw && _io6(input.withdraw); const _io9 = input => null !== input.asset && undefined !== input.asset && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _iu0(input.asset)) && "string" === typeof input.value; const _io10 = input => false === input.ok && "string" === typeof input.error; const _iu0 = input => (() => {
|
|
2764
2764
|
if (undefined !== input.code)
|
|
2765
2765
|
return _io2(input);
|
|
2766
2766
|
else
|