@keetanetwork/anchor 0.0.31 → 0.0.33
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/error.d.ts +1 -1
- package/lib/error.d.ts.map +1 -1
- package/lib/error.js.map +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/services/asset-movement/common.d.ts +15 -1
- package/services/asset-movement/common.d.ts.map +1 -1
- package/services/asset-movement/common.js +345 -147
- package/services/asset-movement/common.js.map +1 -1
- package/services/asset-movement/lib/location.js +1 -1
- package/services/asset-movement/lib/location.js.map +1 -1
|
@@ -3497,14 +3497,14 @@ export const assertKeetaAssetMovementAnchorInitiateTransferRequest = (() => { co
|
|
|
3497
3497
|
}
|
|
3498
3498
|
return input;
|
|
3499
3499
|
}; })();
|
|
3500
|
-
export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { const _iv3 = new Set(["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MK", "MP", "NO", "OM", "PK", "PW", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]); const _iv4 = new Set(["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MK", "MP", "NO", "OM", "PK", "PW", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]); const _av8 = new Set(["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MK", "MP", "NO", "OM", "PK", "PW", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]); const _av9 = new Set(["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MK", "MP", "NO", "OM", "PK", "PW", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]); const _io0 = (input, _exceptionable = true) => true === input.ok && "string" === typeof input.id && (Array.isArray(input.instructionChoices) && input.instructionChoices.every((elem, _index1) => "object" === typeof elem && null !== elem && _iu0(elem, true && _exceptionable))) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3500
|
+
export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { const _iv3 = 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 _iv4 = 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 _iv6 = new Set(["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MK", "MP", "NO", "OM", "PK", "PW", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]); const _iv7 = new Set(["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MK", "MP", "NO", "OM", "PK", "PW", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]); const _av11 = 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 _av12 = 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 _av14 = new Set(["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MK", "MP", "NO", "OM", "PK", "PW", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]); const _av15 = new Set(["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MK", "MP", "NO", "OM", "PK", "PW", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]); const _io0 = (input, _exceptionable = true) => true === input.ok && "string" === typeof input.id && (Array.isArray(input.instructionChoices) && input.instructionChoices.every((elem, _index1) => "object" === typeof elem && null !== elem && _iu0(elem, true && _exceptionable))) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3501
3501
|
if (["ok", "id", "instructionChoices"].some(prop => key === prop))
|
|
3502
3502
|
return true;
|
|
3503
3503
|
const value = input[key];
|
|
3504
3504
|
if (undefined === value)
|
|
3505
3505
|
return true;
|
|
3506
3506
|
return false;
|
|
3507
|
-
})); const _io1 = (input, _exceptionable = true) => "KEETA_SEND" === input.type && (null !== input.location && undefined !== input.location && ("bank-account:us" === input.location || "bank-account:iban-swift" === input.location || "bank-account:clabe" === input.location || "bank-account:pix" === 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) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location, true && _exceptionable))) && "string" === typeof input.sendToAddress && "string" === typeof input.value && "string" === typeof input.tokenAddress && (undefined === input.external || "string" === typeof input.external) && "string" === typeof input.assetFee && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId) && (6 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3507
|
+
})); const _io1 = (input, _exceptionable = true) => "KEETA_SEND" === input.type && (null !== input.location && undefined !== input.location && ("bank-account:us" === input.location || "bank-account:iban-swift" === input.location || "bank-account:clabe" === input.location || "bank-account:pix" === 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) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location, true && _exceptionable))) && "string" === typeof input.sendToAddress && "string" === typeof input.value && "string" === typeof input.tokenAddress && (undefined === input.external || "string" === typeof input.external) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _io10(input.assetFee, true && _exceptionable))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId) && (6 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3508
3508
|
if (["type", "location", "sendToAddress", "value", "tokenAddress", "external", "assetFee", "totalReceiveAmount", "persistentAddressId"].some(prop => key === prop))
|
|
3509
3509
|
return true;
|
|
3510
3510
|
const value = input[key];
|
|
@@ -3567,126 +3567,140 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
3567
3567
|
if (undefined === value)
|
|
3568
3568
|
return true;
|
|
3569
3569
|
return false;
|
|
3570
|
-
})); const _io10 = (input, _exceptionable = true) => "
|
|
3570
|
+
})); const _io10 = (input, _exceptionable = true) => Array.isArray(input.lineItems) && input.lineItems.every((elem, _index2) => "object" === typeof elem && null !== elem && _io11(elem, true && _exceptionable)) && (null !== input.totalPricedIn && (undefined === input.totalPricedIn || true === _iv3.has(input.totalPricedIn) || "string" === typeof input.totalPricedIn && (RegExp(/^\$(.*)/).test(input.totalPricedIn) || RegExp(/^keeta_am(.*)/).test(input.totalPricedIn) || RegExp(/^keeta_an(.*)/).test(input.totalPricedIn) || RegExp(/^keeta_ao(.*)/).test(input.totalPricedIn) || RegExp(/^keeta_ap(.*)/).test(input.totalPricedIn) || RegExp(/^tyblocks_am(.*)/).test(input.totalPricedIn) || RegExp(/^tyblocks_an(.*)/).test(input.totalPricedIn) || RegExp(/^tyblocks_ao(.*)/).test(input.totalPricedIn) || RegExp(/^tyblocks_ap(.*)/).test(input.totalPricedIn) || RegExp(/^solana:(.*)/).test(input.totalPricedIn) || RegExp(/^evm:0x(.*)/).test(input.totalPricedIn) || RegExp(/^tron:(.*)/).test(input.totalPricedIn)))) && "string" === typeof input.total && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3571
|
+
if (["lineItems", "totalPricedIn", "total"].some(prop => key === prop))
|
|
3572
|
+
return true;
|
|
3573
|
+
const value = input[key];
|
|
3574
|
+
if (undefined === value)
|
|
3575
|
+
return true;
|
|
3576
|
+
return false;
|
|
3577
|
+
})); const _io11 = (input, _exceptionable = true) => "string" === typeof input.value && ("RAIL" === input.purpose || "NETWORK" === input.purpose || "PROVIDER" === input.purpose || "VALUE_VARIABLE" === input.purpose || "OTHER" === input.purpose) && (null !== input.asset && (undefined === input.asset || true === _iv4.has(input.asset) || "string" === typeof input.asset && (RegExp(/^\$(.*)/).test(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) || RegExp(/^solana:(.*)/).test(input.asset) || RegExp(/^evm:0x(.*)/).test(input.asset) || RegExp(/^tron:(.*)/).test(input.asset)))) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3578
|
+
if (["value", "purpose", "asset"].some(prop => key === prop))
|
|
3579
|
+
return true;
|
|
3580
|
+
const value = input[key];
|
|
3581
|
+
if (undefined === value)
|
|
3582
|
+
return true;
|
|
3583
|
+
return false;
|
|
3584
|
+
})); const _io12 = (input, _exceptionable = true) => "EVM_SEND" === input.type && (null !== input.location && undefined !== input.location && ("bank-account:us" === input.location || "bank-account:iban-swift" === input.location || "bank-account:clabe" === input.location || "bank-account:pix" === 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) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location, true && _exceptionable))) && "string" === typeof input.sendToAddress && "string" === typeof input.value && ("string" === typeof input.tokenAddress && RegExp(/^0x(.*)/).test(input.tokenAddress)) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _io10(input.assetFee, true && _exceptionable))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId) && (6 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3571
3585
|
if (["type", "location", "sendToAddress", "value", "tokenAddress", "assetFee", "totalReceiveAmount", "persistentAddressId"].some(prop => key === prop))
|
|
3572
3586
|
return true;
|
|
3573
3587
|
const value = input[key];
|
|
3574
3588
|
if (undefined === value)
|
|
3575
3589
|
return true;
|
|
3576
3590
|
return false;
|
|
3577
|
-
})); const
|
|
3591
|
+
})); const _io13 = (input, _exceptionable = true) => "EVM_CALL" === input.type && (null !== input.location && undefined !== input.location && ("bank-account:us" === input.location || "bank-account:iban-swift" === input.location || "bank-account:clabe" === input.location || "bank-account:pix" === 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) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location, true && _exceptionable))) && "string" === typeof input.contractAddress && "string" === typeof input.contractMethodName && (Array.isArray(input.contractMethodArgs) && input.contractMethodArgs.every((elem, _index5) => "string" === typeof elem)) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _io10(input.assetFee, true && _exceptionable))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId) && (6 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3578
3592
|
if (["type", "location", "contractAddress", "contractMethodName", "contractMethodArgs", "assetFee", "totalReceiveAmount", "persistentAddressId"].some(prop => key === prop))
|
|
3579
3593
|
return true;
|
|
3580
3594
|
const value = input[key];
|
|
3581
3595
|
if (undefined === value)
|
|
3582
3596
|
return true;
|
|
3583
3597
|
return false;
|
|
3584
|
-
})); const
|
|
3598
|
+
})); const _io14 = (input, _exceptionable = true) => ("ACH" === input.type || "WIRE" === input.type || "SEPA_PUSH" === input.type) && ("object" === typeof input.account && null !== input.account && _iu3(input.account, true && _exceptionable)) && (undefined === input.depositMessage || "string" === typeof input.depositMessage) && "string" === typeof input.value && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _io10(input.assetFee, true && _exceptionable))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId) && (4 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3585
3599
|
if (["type", "account", "depositMessage", "value", "assetFee", "totalReceiveAmount", "persistentAddressId"].some(prop => key === prop))
|
|
3586
3600
|
return true;
|
|
3587
3601
|
const value = input[key];
|
|
3588
3602
|
if (undefined === value)
|
|
3589
3603
|
return true;
|
|
3590
3604
|
return false;
|
|
3591
|
-
})); const
|
|
3605
|
+
})); const _io15 = (input, _exceptionable = true) => "bank-account" === input.type && (null !== input.accountAddress && (undefined === input.accountAddress || "string" === typeof input.accountAddress || "object" === typeof input.accountAddress && null !== input.accountAddress && _io16(input.accountAddress, true && _exceptionable))) && (undefined === input.obfuscated || false === input.obfuscated) && (undefined === input.bankName || "string" === typeof input.bankName) && ("object" === typeof input.accountOwner && null !== input.accountOwner && _iu4(input.accountOwner, true && _exceptionable)) && "us" === input.accountType && "string" === typeof input.accountNumber && "string" === typeof input.routingNumber && ("checking" === input.accountTypeDetail || "savings" === input.accountTypeDetail) && (6 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3592
3606
|
if (["type", "accountAddress", "obfuscated", "bankName", "accountOwner", "accountType", "accountNumber", "routingNumber", "accountTypeDetail"].some(prop => key === prop))
|
|
3593
3607
|
return true;
|
|
3594
3608
|
const value = input[key];
|
|
3595
3609
|
if (undefined === value)
|
|
3596
3610
|
return true;
|
|
3597
3611
|
return false;
|
|
3598
|
-
})); const
|
|
3612
|
+
})); const _io16 = (input, _exceptionable = true) => "string" === typeof input.line1 && (undefined === input.line2 || "string" === typeof input.line2) && true === _iv6.has(input.country) && "string" === typeof input.postalCode && "string" === typeof input.subdivision && "string" === typeof input.city && (5 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3599
3613
|
if (["line1", "line2", "country", "postalCode", "subdivision", "city"].some(prop => key === prop))
|
|
3600
3614
|
return true;
|
|
3601
3615
|
const value = input[key];
|
|
3602
3616
|
if (undefined === value)
|
|
3603
3617
|
return true;
|
|
3604
3618
|
return false;
|
|
3605
|
-
})); const
|
|
3619
|
+
})); const _io17 = (input, _exceptionable = true) => "individual" === input.type && "string" === typeof input.firstName && "string" === typeof input.lastName && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3606
3620
|
if (["type", "firstName", "lastName"].some(prop => key === prop))
|
|
3607
3621
|
return true;
|
|
3608
3622
|
const value = input[key];
|
|
3609
3623
|
if (undefined === value)
|
|
3610
3624
|
return true;
|
|
3611
3625
|
return false;
|
|
3612
|
-
})); const
|
|
3626
|
+
})); const _io18 = (input, _exceptionable = true) => "business" === input.type && "string" === typeof input.businessName && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3613
3627
|
if (["type", "businessName"].some(prop => key === prop))
|
|
3614
3628
|
return true;
|
|
3615
3629
|
const value = input[key];
|
|
3616
3630
|
if (undefined === value)
|
|
3617
3631
|
return true;
|
|
3618
3632
|
return false;
|
|
3619
|
-
})); const
|
|
3633
|
+
})); const _io19 = (input, _exceptionable = true) => "unknown" === input.type && "string" === typeof input.beneficiaryName && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3620
3634
|
if (["type", "beneficiaryName"].some(prop => key === prop))
|
|
3621
3635
|
return true;
|
|
3622
3636
|
const value = input[key];
|
|
3623
3637
|
if (undefined === value)
|
|
3624
3638
|
return true;
|
|
3625
3639
|
return false;
|
|
3626
|
-
})); const
|
|
3640
|
+
})); const _io20 = (input, _exceptionable = true) => "bank-account" === input.type && (null !== input.accountAddress && (undefined === input.accountAddress || "string" === typeof input.accountAddress || "object" === typeof input.accountAddress && null !== input.accountAddress && _io16(input.accountAddress, true && _exceptionable))) && (undefined === input.obfuscated || false === input.obfuscated) && (undefined === input.bankName || "string" === typeof input.bankName) && ("object" === typeof input.accountOwner && null !== input.accountOwner && _iu4(input.accountOwner, true && _exceptionable)) && "iban-swift" === input.accountType && (undefined === input.country || true === _iv7.has(input.country)) && (undefined === input.accountNumber || "string" === typeof input.accountNumber) && (undefined === input.bic || "string" === typeof input.bic) && (undefined === input.iban || "string" === typeof input.iban) && (undefined === input.bankAddress || "object" === typeof input.bankAddress && null !== input.bankAddress && _io16(input.bankAddress, true && _exceptionable)) && (undefined === input.swift || "object" === typeof input.swift && null !== input.swift && _io21(input.swift, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3627
3641
|
if (["type", "accountAddress", "obfuscated", "bankName", "accountOwner", "accountType", "country", "accountNumber", "bic", "iban", "bankAddress", "swift"].some(prop => key === prop))
|
|
3628
3642
|
return true;
|
|
3629
3643
|
const value = input[key];
|
|
3630
3644
|
if (undefined === value)
|
|
3631
3645
|
return true;
|
|
3632
3646
|
return false;
|
|
3633
|
-
})); const
|
|
3647
|
+
})); const _io21 = (input, _exceptionable = true) => "string" === typeof input.category && (Array.isArray(input.purposeOfFunds) && input.purposeOfFunds.every((elem, _index8) => "string" === typeof elem)) && "string" === typeof input.businessDescription && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3634
3648
|
if (["category", "purposeOfFunds", "businessDescription"].some(prop => key === prop))
|
|
3635
3649
|
return true;
|
|
3636
3650
|
const value = input[key];
|
|
3637
3651
|
if (undefined === value)
|
|
3638
3652
|
return true;
|
|
3639
3653
|
return false;
|
|
3640
|
-
})); const
|
|
3654
|
+
})); const _io22 = (input, _exceptionable = true) => "bank-account" === input.type && (null !== input.accountAddress && (undefined === input.accountAddress || "string" === typeof input.accountAddress || "object" === typeof input.accountAddress && null !== input.accountAddress && _io16(input.accountAddress, true && _exceptionable))) && (undefined === input.obfuscated || false === input.obfuscated) && (undefined === input.bankName || "string" === typeof input.bankName) && ("object" === typeof input.accountOwner && null !== input.accountOwner && _iu4(input.accountOwner, true && _exceptionable)) && "clabe" === input.accountType && "string" === typeof input.accountNumber && (4 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3641
3655
|
if (["type", "accountAddress", "obfuscated", "bankName", "accountOwner", "accountType", "accountNumber"].some(prop => key === prop))
|
|
3642
3656
|
return true;
|
|
3643
3657
|
const value = input[key];
|
|
3644
3658
|
if (undefined === value)
|
|
3645
3659
|
return true;
|
|
3646
3660
|
return false;
|
|
3647
|
-
})); const
|
|
3661
|
+
})); const _io23 = (input, _exceptionable = true) => "bank-account" === input.type && (null !== input.accountAddress && (undefined === input.accountAddress || "string" === typeof input.accountAddress || "object" === typeof input.accountAddress && null !== input.accountAddress && _io16(input.accountAddress, true && _exceptionable))) && (undefined === input.obfuscated || false === input.obfuscated) && (undefined === input.bankName || "string" === typeof input.bankName) && ("object" === typeof input.accountOwner && null !== input.accountOwner && _iu4(input.accountOwner, true && _exceptionable)) && "pix" === input.accountType && (undefined === input.document || "object" === typeof input.document && null !== input.document && _io24(input.document, true && _exceptionable)) && "string" === typeof input.brCode && (4 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3648
3662
|
if (["type", "accountAddress", "obfuscated", "bankName", "accountOwner", "accountType", "document", "brCode"].some(prop => key === prop))
|
|
3649
3663
|
return true;
|
|
3650
3664
|
const value = input[key];
|
|
3651
3665
|
if (undefined === value)
|
|
3652
3666
|
return true;
|
|
3653
3667
|
return false;
|
|
3654
|
-
})); const
|
|
3668
|
+
})); const _io24 = (input, _exceptionable = true) => (undefined === input.type || "cpf" === input.type || "cnpj" === input.type) && "string" === typeof input.number && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3655
3669
|
if (["type", "number"].some(prop => key === prop))
|
|
3656
3670
|
return true;
|
|
3657
3671
|
const value = input[key];
|
|
3658
3672
|
if (undefined === value)
|
|
3659
3673
|
return true;
|
|
3660
3674
|
return false;
|
|
3661
|
-
})); const
|
|
3675
|
+
})); const _io25 = (input, _exceptionable = true) => "bank-account" === input.type && (null !== input.accountAddress && (undefined === input.accountAddress || "string" === typeof input.accountAddress || "object" === typeof input.accountAddress && null !== input.accountAddress && _io16(input.accountAddress, true && _exceptionable))) && (undefined === input.obfuscated || false === input.obfuscated) && (undefined === input.bankName || "string" === typeof input.bankName) && ("object" === typeof input.accountOwner && null !== input.accountOwner && _iu4(input.accountOwner, true && _exceptionable)) && "pix" === input.accountType && (undefined === input.document || "object" === typeof input.document && null !== input.document && _io24(input.document, true && _exceptionable)) && "string" === typeof input.pixKey && (4 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3662
3676
|
if (["type", "accountAddress", "obfuscated", "bankName", "accountOwner", "accountType", "document", "pixKey"].some(prop => key === prop))
|
|
3663
3677
|
return true;
|
|
3664
3678
|
const value = input[key];
|
|
3665
3679
|
if (undefined === value)
|
|
3666
3680
|
return true;
|
|
3667
3681
|
return false;
|
|
3668
|
-
})); const
|
|
3682
|
+
})); const _io26 = (input, _exceptionable = true) => "TRON_SEND" === input.type && (null !== input.location && undefined !== input.location && ("bank-account:us" === input.location || "bank-account:iban-swift" === input.location || "bank-account:clabe" === input.location || "bank-account:pix" === 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) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location, true && _exceptionable))) && "string" === typeof input.sendToAddress && "string" === typeof input.value && (undefined === input.tokenAddress || "string" === typeof input.tokenAddress) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _io10(input.assetFee, true && _exceptionable))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId) && (5 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3669
3683
|
if (["type", "location", "sendToAddress", "value", "tokenAddress", "assetFee", "totalReceiveAmount", "persistentAddressId"].some(prop => key === prop))
|
|
3670
3684
|
return true;
|
|
3671
3685
|
const value = input[key];
|
|
3672
3686
|
if (undefined === value)
|
|
3673
3687
|
return true;
|
|
3674
3688
|
return false;
|
|
3675
|
-
})); const
|
|
3689
|
+
})); const _io27 = (input, _exceptionable = true) => "BITCOIN_SEND" === input.type && (null !== input.location && undefined !== input.location && ("bank-account:us" === input.location || "bank-account:iban-swift" === input.location || "bank-account:clabe" === input.location || "bank-account:pix" === 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) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location, true && _exceptionable))) && "string" === typeof input.sendToAddress && "string" === typeof input.value && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _io10(input.assetFee, true && _exceptionable))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId) && (5 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3676
3690
|
if (["type", "location", "sendToAddress", "value", "assetFee", "totalReceiveAmount", "persistentAddressId"].some(prop => key === prop))
|
|
3677
3691
|
return true;
|
|
3678
3692
|
const value = input[key];
|
|
3679
3693
|
if (undefined === value)
|
|
3680
3694
|
return true;
|
|
3681
3695
|
return false;
|
|
3682
|
-
})); const
|
|
3696
|
+
})); const _io28 = (input, _exceptionable = true) => "SOLANA_SEND" === input.type && (null !== input.location && undefined !== input.location && ("bank-account:us" === input.location || "bank-account:iban-swift" === input.location || "bank-account:clabe" === input.location || "bank-account:pix" === 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) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location, true && _exceptionable))) && "string" === typeof input.sendToAddress && "string" === typeof input.value && (undefined === input.tokenMintAddress || "string" === typeof input.tokenMintAddress) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _io10(input.assetFee, true && _exceptionable))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId) && (5 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3683
3697
|
if (["type", "location", "sendToAddress", "value", "tokenMintAddress", "assetFee", "totalReceiveAmount", "persistentAddressId"].some(prop => key === prop))
|
|
3684
3698
|
return true;
|
|
3685
3699
|
const value = input[key];
|
|
3686
3700
|
if (undefined === value)
|
|
3687
3701
|
return true;
|
|
3688
3702
|
return false;
|
|
3689
|
-
})); const
|
|
3703
|
+
})); const _io29 = (input, _exceptionable = true) => false === input.ok && "string" === typeof input.error && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3690
3704
|
if (["ok", "error"].some(prop => key === prop))
|
|
3691
3705
|
return true;
|
|
3692
3706
|
const value = input[key];
|
|
@@ -3697,17 +3711,17 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
3697
3711
|
if ("KEETA_SEND" === input.type)
|
|
3698
3712
|
return _io1(input, true && _exceptionable);
|
|
3699
3713
|
else if ("EVM_SEND" === input.type)
|
|
3700
|
-
return
|
|
3714
|
+
return _io12(input, true && _exceptionable);
|
|
3701
3715
|
else if ("EVM_CALL" === input.type)
|
|
3702
|
-
return
|
|
3716
|
+
return _io13(input, true && _exceptionable);
|
|
3703
3717
|
else if ("ACH" === input.type || "WIRE" === input.type || "SEPA_PUSH" === input.type)
|
|
3704
|
-
return
|
|
3718
|
+
return _io14(input, true && _exceptionable);
|
|
3705
3719
|
else if ("TRON_SEND" === input.type)
|
|
3706
|
-
return
|
|
3720
|
+
return _io26(input, true && _exceptionable);
|
|
3707
3721
|
else if ("BITCOIN_SEND" === input.type)
|
|
3708
|
-
return
|
|
3722
|
+
return _io27(input, true && _exceptionable);
|
|
3709
3723
|
else if ("SOLANA_SEND" === input.type)
|
|
3710
|
-
return
|
|
3724
|
+
return _io28(input, true && _exceptionable);
|
|
3711
3725
|
else
|
|
3712
3726
|
return false;
|
|
3713
3727
|
})(); const _iu1 = (input, _exceptionable = true) => (() => {
|
|
@@ -3732,31 +3746,31 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
3732
3746
|
return false;
|
|
3733
3747
|
})(); const _iu3 = (input, _exceptionable = true) => (() => {
|
|
3734
3748
|
if ("us" === input.accountType)
|
|
3735
|
-
return
|
|
3749
|
+
return _io15(input, true && _exceptionable);
|
|
3736
3750
|
else if ("iban-swift" === input.accountType)
|
|
3737
|
-
return _io18(input, true && _exceptionable);
|
|
3738
|
-
else if ("clabe" === input.accountType)
|
|
3739
3751
|
return _io20(input, true && _exceptionable);
|
|
3752
|
+
else if ("clabe" === input.accountType)
|
|
3753
|
+
return _io22(input, true && _exceptionable);
|
|
3740
3754
|
else if (undefined !== input.brCode)
|
|
3741
|
-
return _io21(input, true && _exceptionable);
|
|
3742
|
-
else if (undefined !== input.pixKey)
|
|
3743
3755
|
return _io23(input, true && _exceptionable);
|
|
3756
|
+
else if (undefined !== input.pixKey)
|
|
3757
|
+
return _io25(input, true && _exceptionable);
|
|
3744
3758
|
else
|
|
3745
3759
|
return false;
|
|
3746
3760
|
})(); const _iu4 = (input, _exceptionable = true) => (() => {
|
|
3747
3761
|
if ("individual" === input.type)
|
|
3748
|
-
return
|
|
3762
|
+
return _io17(input, true && _exceptionable);
|
|
3749
3763
|
else if ("business" === input.type)
|
|
3750
|
-
return
|
|
3764
|
+
return _io18(input, true && _exceptionable);
|
|
3751
3765
|
else if ("unknown" === input.type)
|
|
3752
|
-
return
|
|
3766
|
+
return _io19(input, true && _exceptionable);
|
|
3753
3767
|
else
|
|
3754
3768
|
return false;
|
|
3755
3769
|
})(); const _iu5 = (input, _exceptionable = true) => (() => {
|
|
3756
3770
|
if (true === input.ok)
|
|
3757
3771
|
return _io0(input, true && _exceptionable);
|
|
3758
3772
|
else if (false === input.ok)
|
|
3759
|
-
return
|
|
3773
|
+
return _io29(input, true && _exceptionable);
|
|
3760
3774
|
else
|
|
3761
3775
|
return false;
|
|
3762
3776
|
})(); const _ao0 = (input, _path, _exceptionable = true) => (true === input.ok || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -3774,15 +3788,15 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
3774
3788
|
path: _path + ".instructionChoices",
|
|
3775
3789
|
expected: "Array<AssetTransferInstructions>",
|
|
3776
3790
|
value: input.instructionChoices
|
|
3777
|
-
}, _errorFactory)) && input.instructionChoices.every((elem,
|
|
3791
|
+
}, _errorFactory)) && input.instructionChoices.every((elem, _index9) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3778
3792
|
method: "createAssertEquals",
|
|
3779
|
-
path: _path + ".instructionChoices[" +
|
|
3780
|
-
expected: "({ type: \"ACH\" | \"WIRE\" | \"SEPA_PUSH\"; account: BankAccountAddressResolved; depositMessage?: string; value: string; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"BITCOIN_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"EVM_CALL\"; location: AssetLocationLike; contractAddress: string; contractMethodName: string; contractMethodArgs: string[]; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"EVM_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress: `0x${string}`; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"KEETA_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress: string; external?: string; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"SOLANA_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenMintAddress?: string; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"TRON_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress?: string; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; })",
|
|
3793
|
+
path: _path + ".instructionChoices[" + _index9 + "]",
|
|
3794
|
+
expected: "({ type: \"ACH\" | \"WIRE\" | \"SEPA_PUSH\"; account: BankAccountAddressResolved; depositMessage?: string; value: string; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"BITCOIN_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"EVM_CALL\"; location: AssetLocationLike; contractAddress: string; contractMethodName: string; contractMethodArgs: string[]; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"EVM_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress: `0x${string}`; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"KEETA_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress: string; external?: string; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"SOLANA_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenMintAddress?: string; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"TRON_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress?: string; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; })",
|
|
3781
3795
|
value: elem
|
|
3782
|
-
}, _errorFactory)) && _au0(elem, _path + ".instructionChoices[" +
|
|
3796
|
+
}, _errorFactory)) && _au0(elem, _path + ".instructionChoices[" + _index9 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3783
3797
|
method: "createAssertEquals",
|
|
3784
|
-
path: _path + ".instructionChoices[" +
|
|
3785
|
-
expected: "({ type: \"ACH\" | \"WIRE\" | \"SEPA_PUSH\"; account: BankAccountAddressResolved; depositMessage?: string; value: string; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"BITCOIN_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"EVM_CALL\"; location: AssetLocationLike; contractAddress: string; contractMethodName: string; contractMethodArgs: string[]; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"EVM_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress: `0x${string}`; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"KEETA_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress: string; external?: string; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"SOLANA_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenMintAddress?: string; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"TRON_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress?: string; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; })",
|
|
3798
|
+
path: _path + ".instructionChoices[" + _index9 + "]",
|
|
3799
|
+
expected: "({ type: \"ACH\" | \"WIRE\" | \"SEPA_PUSH\"; account: BankAccountAddressResolved; depositMessage?: string; value: string; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"BITCOIN_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"EVM_CALL\"; location: AssetLocationLike; contractAddress: string; contractMethodName: string; contractMethodArgs: string[]; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"EVM_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress: `0x${string}`; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"KEETA_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress: string; external?: string; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"SOLANA_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenMintAddress?: string; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"TRON_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress?: string; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; })",
|
|
3786
3800
|
value: elem
|
|
3787
3801
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3788
3802
|
method: "createAssertEquals",
|
|
@@ -3846,12 +3860,27 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
3846
3860
|
path: _path + ".external",
|
|
3847
3861
|
expected: "(string | undefined)",
|
|
3848
3862
|
value: input.external
|
|
3849
|
-
}, _errorFactory)) && (
|
|
3863
|
+
}, _errorFactory)) && ((null !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3850
3864
|
method: "createAssertEquals",
|
|
3851
3865
|
path: _path + ".assetFee",
|
|
3852
|
-
expected: "string",
|
|
3866
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
3867
|
+
value: input.assetFee
|
|
3868
|
+
}, _errorFactory)) && (undefined !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3869
|
+
method: "createAssertEquals",
|
|
3870
|
+
path: _path + ".assetFee",
|
|
3871
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
3853
3872
|
value: input.assetFee
|
|
3854
|
-
}, _errorFactory)) && (
|
|
3873
|
+
}, _errorFactory)) && ("string" === typeof input.assetFee || ("object" === typeof input.assetFee && null !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3874
|
+
method: "createAssertEquals",
|
|
3875
|
+
path: _path + ".assetFee",
|
|
3876
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
3877
|
+
value: input.assetFee
|
|
3878
|
+
}, _errorFactory)) && _ao10(input.assetFee, _path + ".assetFee", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3879
|
+
method: "createAssertEquals",
|
|
3880
|
+
path: _path + ".assetFee",
|
|
3881
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
3882
|
+
value: input.assetFee
|
|
3883
|
+
}, _errorFactory))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3855
3884
|
method: "createAssertEquals",
|
|
3856
3885
|
path: _path + ".totalReceiveAmount",
|
|
3857
3886
|
expected: "(string | undefined)",
|
|
@@ -4064,7 +4093,86 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4064
4093
|
expected: "undefined",
|
|
4065
4094
|
value: value
|
|
4066
4095
|
}, _errorFactory);
|
|
4067
|
-
}))); const _ao10 = (input, _path, _exceptionable = true) => (
|
|
4096
|
+
}))); const _ao10 = (input, _path, _exceptionable = true) => ((Array.isArray(input.lineItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4097
|
+
method: "createAssertEquals",
|
|
4098
|
+
path: _path + ".lineItems",
|
|
4099
|
+
expected: "Array<__type>",
|
|
4100
|
+
value: input.lineItems
|
|
4101
|
+
}, _errorFactory)) && input.lineItems.every((elem, _index10) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4102
|
+
method: "createAssertEquals",
|
|
4103
|
+
path: _path + ".lineItems[" + _index10 + "]",
|
|
4104
|
+
expected: "__type.o9",
|
|
4105
|
+
value: elem
|
|
4106
|
+
}, _errorFactory)) && _ao11(elem, _path + ".lineItems[" + _index10 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4107
|
+
method: "createAssertEquals",
|
|
4108
|
+
path: _path + ".lineItems[" + _index10 + "]",
|
|
4109
|
+
expected: "__type.o9",
|
|
4110
|
+
value: elem
|
|
4111
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4112
|
+
method: "createAssertEquals",
|
|
4113
|
+
path: _path + ".lineItems",
|
|
4114
|
+
expected: "Array<__type>",
|
|
4115
|
+
value: input.lineItems
|
|
4116
|
+
}, _errorFactory)) && ((null !== input.totalPricedIn || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4117
|
+
method: "createAssertEquals",
|
|
4118
|
+
path: _path + ".totalPricedIn",
|
|
4119
|
+
expected: "(\"AED\" | \"AFN\" | \"ALL\" | \"AMD\" | \"ANG\" | \"AOA\" | \"ARS\" | \"AUD\" | \"AWG\" | \"AZN\" | \"BAM\" | \"BBD\" | \"BDT\" | \"BGN\" | \"BHD\" | \"BIF\" | \"BMD\" | \"BND\" | \"BOB\" | \"BOV\" | \"BRL\" | \"BSD\" | \"BTN\" | \"BWP\" | \"BYN\" | \"BZD\" | \"CAD\" | \"CDF\" | \"CHE\" | \"CHF\" | \"CHW\" | \"CLF\" | \"CLP\" | \"CNY\" | \"COP\" | \"COU\" | \"CRC\" | \"CUC\" | \"CUP\" | \"CVE\" | \"CZK\" | \"DJF\" | \"DKK\" | \"DOP\" | \"DZD\" | \"EGP\" | \"ERN\" | \"ETB\" | \"EUR\" | \"FJD\" | \"FKP\" | \"GBP\" | \"GEL\" | \"GHS\" | \"GIP\" | \"GMD\" | \"GNF\" | \"GTQ\" | \"GYD\" | \"HKD\" | \"HNL\" | \"HTG\" | \"HUF\" | \"IDR\" | \"ILS\" | \"INR\" | \"IQD\" | \"IRR\" | \"ISK\" | \"JMD\" | \"JOD\" | \"JPY\" | \"KES\" | \"KGS\" | \"KHR\" | \"KMF\" | \"KPW\" | \"KRW\" | \"KWD\" | \"KYD\" | \"KZT\" | \"LAK\" | \"LBP\" | \"LKR\" | \"LRD\" | \"LSL\" | \"LYD\" | \"MAD\" | \"MDL\" | \"MGA\" | \"MKD\" | \"MMK\" | \"MNT\" | \"MOP\" | \"MRU\" | \"MUR\" | \"MVR\" | \"MWK\" | \"MXN\" | \"MXV\" | \"MYR\" | \"MZN\" | \"NAD\" | \"NGN\" | \"NIO\" | \"NOK\" | \"NPR\" | \"NZD\" | \"OMR\" | \"PAB\" | \"PEN\" | \"PGK\" | \"PHP\" | \"PKR\" | \"PLN\" | \"PYG\" | \"QAR\" | \"RON\" | \"RSD\" | \"RUB\" | \"RWF\" | \"SAR\" | \"SBD\" | \"SCR\" | \"SDG\" | \"SEK\" | \"SGD\" | \"SHP\" | \"SLE\" | \"SLL\" | \"SOS\" | \"SRD\" | \"SSP\" | \"STN\" | \"SVC\" | \"SYP\" | \"SZL\" | \"THB\" | \"TJS\" | \"TMT\" | \"TND\" | \"TOP\" | \"TRY\" | \"TTD\" | \"TWD\" | \"TZS\" | \"UAH\" | \"UGX\" | \"USD\" | \"USN\" | \"UYI\" | \"UYU\" | \"UYW\" | \"UZS\" | \"VED\" | \"VES\" | \"VND\" | \"VUV\" | \"WST\" | \"XAF\" | \"XCD\" | \"XOF\" | \"XPF\" | \"YER\" | \"ZAR\" | \"ZMW\" | \"ZWL\" | `$${string}` | `evm:0x${string}` | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `solana:${string}` | `tron:${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}` | undefined)",
|
|
4120
|
+
value: input.totalPricedIn
|
|
4121
|
+
}, _errorFactory)) && (undefined === input.totalPricedIn || true === _av11.has(input.totalPricedIn) || "string" === typeof input.totalPricedIn && (RegExp(/^\$(.*)/).test(input.totalPricedIn) || RegExp(/^keeta_am(.*)/).test(input.totalPricedIn) || RegExp(/^keeta_an(.*)/).test(input.totalPricedIn) || RegExp(/^keeta_ao(.*)/).test(input.totalPricedIn) || RegExp(/^keeta_ap(.*)/).test(input.totalPricedIn) || RegExp(/^tyblocks_am(.*)/).test(input.totalPricedIn) || RegExp(/^tyblocks_an(.*)/).test(input.totalPricedIn) || RegExp(/^tyblocks_ao(.*)/).test(input.totalPricedIn) || RegExp(/^tyblocks_ap(.*)/).test(input.totalPricedIn) || RegExp(/^solana:(.*)/).test(input.totalPricedIn) || RegExp(/^evm:0x(.*)/).test(input.totalPricedIn) || RegExp(/^tron:(.*)/).test(input.totalPricedIn)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4122
|
+
method: "createAssertEquals",
|
|
4123
|
+
path: _path + ".totalPricedIn",
|
|
4124
|
+
expected: "(\"AED\" | \"AFN\" | \"ALL\" | \"AMD\" | \"ANG\" | \"AOA\" | \"ARS\" | \"AUD\" | \"AWG\" | \"AZN\" | \"BAM\" | \"BBD\" | \"BDT\" | \"BGN\" | \"BHD\" | \"BIF\" | \"BMD\" | \"BND\" | \"BOB\" | \"BOV\" | \"BRL\" | \"BSD\" | \"BTN\" | \"BWP\" | \"BYN\" | \"BZD\" | \"CAD\" | \"CDF\" | \"CHE\" | \"CHF\" | \"CHW\" | \"CLF\" | \"CLP\" | \"CNY\" | \"COP\" | \"COU\" | \"CRC\" | \"CUC\" | \"CUP\" | \"CVE\" | \"CZK\" | \"DJF\" | \"DKK\" | \"DOP\" | \"DZD\" | \"EGP\" | \"ERN\" | \"ETB\" | \"EUR\" | \"FJD\" | \"FKP\" | \"GBP\" | \"GEL\" | \"GHS\" | \"GIP\" | \"GMD\" | \"GNF\" | \"GTQ\" | \"GYD\" | \"HKD\" | \"HNL\" | \"HTG\" | \"HUF\" | \"IDR\" | \"ILS\" | \"INR\" | \"IQD\" | \"IRR\" | \"ISK\" | \"JMD\" | \"JOD\" | \"JPY\" | \"KES\" | \"KGS\" | \"KHR\" | \"KMF\" | \"KPW\" | \"KRW\" | \"KWD\" | \"KYD\" | \"KZT\" | \"LAK\" | \"LBP\" | \"LKR\" | \"LRD\" | \"LSL\" | \"LYD\" | \"MAD\" | \"MDL\" | \"MGA\" | \"MKD\" | \"MMK\" | \"MNT\" | \"MOP\" | \"MRU\" | \"MUR\" | \"MVR\" | \"MWK\" | \"MXN\" | \"MXV\" | \"MYR\" | \"MZN\" | \"NAD\" | \"NGN\" | \"NIO\" | \"NOK\" | \"NPR\" | \"NZD\" | \"OMR\" | \"PAB\" | \"PEN\" | \"PGK\" | \"PHP\" | \"PKR\" | \"PLN\" | \"PYG\" | \"QAR\" | \"RON\" | \"RSD\" | \"RUB\" | \"RWF\" | \"SAR\" | \"SBD\" | \"SCR\" | \"SDG\" | \"SEK\" | \"SGD\" | \"SHP\" | \"SLE\" | \"SLL\" | \"SOS\" | \"SRD\" | \"SSP\" | \"STN\" | \"SVC\" | \"SYP\" | \"SZL\" | \"THB\" | \"TJS\" | \"TMT\" | \"TND\" | \"TOP\" | \"TRY\" | \"TTD\" | \"TWD\" | \"TZS\" | \"UAH\" | \"UGX\" | \"USD\" | \"USN\" | \"UYI\" | \"UYU\" | \"UYW\" | \"UZS\" | \"VED\" | \"VES\" | \"VND\" | \"VUV\" | \"WST\" | \"XAF\" | \"XCD\" | \"XOF\" | \"XPF\" | \"YER\" | \"ZAR\" | \"ZMW\" | \"ZWL\" | `$${string}` | `evm:0x${string}` | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `solana:${string}` | `tron:${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}` | undefined)",
|
|
4125
|
+
value: input.totalPricedIn
|
|
4126
|
+
}, _errorFactory))) && ("string" === typeof input.total || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4127
|
+
method: "createAssertEquals",
|
|
4128
|
+
path: _path + ".total",
|
|
4129
|
+
expected: "string",
|
|
4130
|
+
value: input.total
|
|
4131
|
+
}, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
|
|
4132
|
+
if (["lineItems", "totalPricedIn", "total"].some(prop => key === prop))
|
|
4133
|
+
return true;
|
|
4134
|
+
const value = input[key];
|
|
4135
|
+
if (undefined === value)
|
|
4136
|
+
return true;
|
|
4137
|
+
return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4138
|
+
method: "createAssertEquals",
|
|
4139
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4140
|
+
expected: "undefined",
|
|
4141
|
+
value: value
|
|
4142
|
+
}, _errorFactory);
|
|
4143
|
+
}))); const _ao11 = (input, _path, _exceptionable = true) => ("string" === typeof input.value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4144
|
+
method: "createAssertEquals",
|
|
4145
|
+
path: _path + ".value",
|
|
4146
|
+
expected: "string",
|
|
4147
|
+
value: input.value
|
|
4148
|
+
}, _errorFactory)) && ("RAIL" === input.purpose || "NETWORK" === input.purpose || "PROVIDER" === input.purpose || "VALUE_VARIABLE" === input.purpose || "OTHER" === input.purpose || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4149
|
+
method: "createAssertEquals",
|
|
4150
|
+
path: _path + ".purpose",
|
|
4151
|
+
expected: "(\"NETWORK\" | \"OTHER\" | \"PROVIDER\" | \"RAIL\" | \"VALUE_VARIABLE\")",
|
|
4152
|
+
value: input.purpose
|
|
4153
|
+
}, _errorFactory)) && ((null !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4154
|
+
method: "createAssertEquals",
|
|
4155
|
+
path: _path + ".asset",
|
|
4156
|
+
expected: "(\"AED\" | \"AFN\" | \"ALL\" | \"AMD\" | \"ANG\" | \"AOA\" | \"ARS\" | \"AUD\" | \"AWG\" | \"AZN\" | \"BAM\" | \"BBD\" | \"BDT\" | \"BGN\" | \"BHD\" | \"BIF\" | \"BMD\" | \"BND\" | \"BOB\" | \"BOV\" | \"BRL\" | \"BSD\" | \"BTN\" | \"BWP\" | \"BYN\" | \"BZD\" | \"CAD\" | \"CDF\" | \"CHE\" | \"CHF\" | \"CHW\" | \"CLF\" | \"CLP\" | \"CNY\" | \"COP\" | \"COU\" | \"CRC\" | \"CUC\" | \"CUP\" | \"CVE\" | \"CZK\" | \"DJF\" | \"DKK\" | \"DOP\" | \"DZD\" | \"EGP\" | \"ERN\" | \"ETB\" | \"EUR\" | \"FJD\" | \"FKP\" | \"GBP\" | \"GEL\" | \"GHS\" | \"GIP\" | \"GMD\" | \"GNF\" | \"GTQ\" | \"GYD\" | \"HKD\" | \"HNL\" | \"HTG\" | \"HUF\" | \"IDR\" | \"ILS\" | \"INR\" | \"IQD\" | \"IRR\" | \"ISK\" | \"JMD\" | \"JOD\" | \"JPY\" | \"KES\" | \"KGS\" | \"KHR\" | \"KMF\" | \"KPW\" | \"KRW\" | \"KWD\" | \"KYD\" | \"KZT\" | \"LAK\" | \"LBP\" | \"LKR\" | \"LRD\" | \"LSL\" | \"LYD\" | \"MAD\" | \"MDL\" | \"MGA\" | \"MKD\" | \"MMK\" | \"MNT\" | \"MOP\" | \"MRU\" | \"MUR\" | \"MVR\" | \"MWK\" | \"MXN\" | \"MXV\" | \"MYR\" | \"MZN\" | \"NAD\" | \"NGN\" | \"NIO\" | \"NOK\" | \"NPR\" | \"NZD\" | \"OMR\" | \"PAB\" | \"PEN\" | \"PGK\" | \"PHP\" | \"PKR\" | \"PLN\" | \"PYG\" | \"QAR\" | \"RON\" | \"RSD\" | \"RUB\" | \"RWF\" | \"SAR\" | \"SBD\" | \"SCR\" | \"SDG\" | \"SEK\" | \"SGD\" | \"SHP\" | \"SLE\" | \"SLL\" | \"SOS\" | \"SRD\" | \"SSP\" | \"STN\" | \"SVC\" | \"SYP\" | \"SZL\" | \"THB\" | \"TJS\" | \"TMT\" | \"TND\" | \"TOP\" | \"TRY\" | \"TTD\" | \"TWD\" | \"TZS\" | \"UAH\" | \"UGX\" | \"USD\" | \"USN\" | \"UYI\" | \"UYU\" | \"UYW\" | \"UZS\" | \"VED\" | \"VES\" | \"VND\" | \"VUV\" | \"WST\" | \"XAF\" | \"XCD\" | \"XOF\" | \"XPF\" | \"YER\" | \"ZAR\" | \"ZMW\" | \"ZWL\" | `$${string}` | `evm:0x${string}` | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `solana:${string}` | `tron:${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}` | undefined)",
|
|
4157
|
+
value: input.asset
|
|
4158
|
+
}, _errorFactory)) && (undefined === input.asset || true === _av12.has(input.asset) || "string" === typeof input.asset && (RegExp(/^\$(.*)/).test(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) || RegExp(/^solana:(.*)/).test(input.asset) || RegExp(/^evm:0x(.*)/).test(input.asset) || RegExp(/^tron:(.*)/).test(input.asset)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4159
|
+
method: "createAssertEquals",
|
|
4160
|
+
path: _path + ".asset",
|
|
4161
|
+
expected: "(\"AED\" | \"AFN\" | \"ALL\" | \"AMD\" | \"ANG\" | \"AOA\" | \"ARS\" | \"AUD\" | \"AWG\" | \"AZN\" | \"BAM\" | \"BBD\" | \"BDT\" | \"BGN\" | \"BHD\" | \"BIF\" | \"BMD\" | \"BND\" | \"BOB\" | \"BOV\" | \"BRL\" | \"BSD\" | \"BTN\" | \"BWP\" | \"BYN\" | \"BZD\" | \"CAD\" | \"CDF\" | \"CHE\" | \"CHF\" | \"CHW\" | \"CLF\" | \"CLP\" | \"CNY\" | \"COP\" | \"COU\" | \"CRC\" | \"CUC\" | \"CUP\" | \"CVE\" | \"CZK\" | \"DJF\" | \"DKK\" | \"DOP\" | \"DZD\" | \"EGP\" | \"ERN\" | \"ETB\" | \"EUR\" | \"FJD\" | \"FKP\" | \"GBP\" | \"GEL\" | \"GHS\" | \"GIP\" | \"GMD\" | \"GNF\" | \"GTQ\" | \"GYD\" | \"HKD\" | \"HNL\" | \"HTG\" | \"HUF\" | \"IDR\" | \"ILS\" | \"INR\" | \"IQD\" | \"IRR\" | \"ISK\" | \"JMD\" | \"JOD\" | \"JPY\" | \"KES\" | \"KGS\" | \"KHR\" | \"KMF\" | \"KPW\" | \"KRW\" | \"KWD\" | \"KYD\" | \"KZT\" | \"LAK\" | \"LBP\" | \"LKR\" | \"LRD\" | \"LSL\" | \"LYD\" | \"MAD\" | \"MDL\" | \"MGA\" | \"MKD\" | \"MMK\" | \"MNT\" | \"MOP\" | \"MRU\" | \"MUR\" | \"MVR\" | \"MWK\" | \"MXN\" | \"MXV\" | \"MYR\" | \"MZN\" | \"NAD\" | \"NGN\" | \"NIO\" | \"NOK\" | \"NPR\" | \"NZD\" | \"OMR\" | \"PAB\" | \"PEN\" | \"PGK\" | \"PHP\" | \"PKR\" | \"PLN\" | \"PYG\" | \"QAR\" | \"RON\" | \"RSD\" | \"RUB\" | \"RWF\" | \"SAR\" | \"SBD\" | \"SCR\" | \"SDG\" | \"SEK\" | \"SGD\" | \"SHP\" | \"SLE\" | \"SLL\" | \"SOS\" | \"SRD\" | \"SSP\" | \"STN\" | \"SVC\" | \"SYP\" | \"SZL\" | \"THB\" | \"TJS\" | \"TMT\" | \"TND\" | \"TOP\" | \"TRY\" | \"TTD\" | \"TWD\" | \"TZS\" | \"UAH\" | \"UGX\" | \"USD\" | \"USN\" | \"UYI\" | \"UYU\" | \"UYW\" | \"UZS\" | \"VED\" | \"VES\" | \"VND\" | \"VUV\" | \"WST\" | \"XAF\" | \"XCD\" | \"XOF\" | \"XPF\" | \"YER\" | \"ZAR\" | \"ZMW\" | \"ZWL\" | `$${string}` | `evm:0x${string}` | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `solana:${string}` | `tron:${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}` | undefined)",
|
|
4162
|
+
value: input.asset
|
|
4163
|
+
}, _errorFactory))) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
|
|
4164
|
+
if (["value", "purpose", "asset"].some(prop => key === prop))
|
|
4165
|
+
return true;
|
|
4166
|
+
const value = input[key];
|
|
4167
|
+
if (undefined === value)
|
|
4168
|
+
return true;
|
|
4169
|
+
return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4170
|
+
method: "createAssertEquals",
|
|
4171
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4172
|
+
expected: "undefined",
|
|
4173
|
+
value: value
|
|
4174
|
+
}, _errorFactory);
|
|
4175
|
+
}))); const _ao12 = (input, _path, _exceptionable = true) => ("EVM_SEND" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4068
4176
|
method: "createAssertEquals",
|
|
4069
4177
|
path: _path + ".type",
|
|
4070
4178
|
expected: "\"EVM_SEND\"",
|
|
@@ -4104,12 +4212,27 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4104
4212
|
path: _path + ".tokenAddress",
|
|
4105
4213
|
expected: "`0x${string}`",
|
|
4106
4214
|
value: input.tokenAddress
|
|
4107
|
-
}, _errorFactory)) && (
|
|
4215
|
+
}, _errorFactory)) && ((null !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4108
4216
|
method: "createAssertEquals",
|
|
4109
4217
|
path: _path + ".assetFee",
|
|
4110
|
-
expected: "string",
|
|
4218
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
4219
|
+
value: input.assetFee
|
|
4220
|
+
}, _errorFactory)) && (undefined !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4221
|
+
method: "createAssertEquals",
|
|
4222
|
+
path: _path + ".assetFee",
|
|
4223
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
4224
|
+
value: input.assetFee
|
|
4225
|
+
}, _errorFactory)) && ("string" === typeof input.assetFee || ("object" === typeof input.assetFee && null !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4226
|
+
method: "createAssertEquals",
|
|
4227
|
+
path: _path + ".assetFee",
|
|
4228
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
4229
|
+
value: input.assetFee
|
|
4230
|
+
}, _errorFactory)) && _ao10(input.assetFee, _path + ".assetFee", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4231
|
+
method: "createAssertEquals",
|
|
4232
|
+
path: _path + ".assetFee",
|
|
4233
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
4111
4234
|
value: input.assetFee
|
|
4112
|
-
}, _errorFactory)) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4235
|
+
}, _errorFactory))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4113
4236
|
method: "createAssertEquals",
|
|
4114
4237
|
path: _path + ".totalReceiveAmount",
|
|
4115
4238
|
expected: "(string | undefined)",
|
|
@@ -4131,7 +4254,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4131
4254
|
expected: "undefined",
|
|
4132
4255
|
value: value
|
|
4133
4256
|
}, _errorFactory);
|
|
4134
|
-
}))); const
|
|
4257
|
+
}))); const _ao13 = (input, _path, _exceptionable = true) => ("EVM_CALL" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4135
4258
|
method: "createAssertEquals",
|
|
4136
4259
|
path: _path + ".type",
|
|
4137
4260
|
expected: "\"EVM_CALL\"",
|
|
@@ -4171,9 +4294,9 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4171
4294
|
path: _path + ".contractMethodArgs",
|
|
4172
4295
|
expected: "Array<string>",
|
|
4173
4296
|
value: input.contractMethodArgs
|
|
4174
|
-
}, _errorFactory)) && input.contractMethodArgs.every((elem,
|
|
4297
|
+
}, _errorFactory)) && input.contractMethodArgs.every((elem, _index13) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4175
4298
|
method: "createAssertEquals",
|
|
4176
|
-
path: _path + ".contractMethodArgs[" +
|
|
4299
|
+
path: _path + ".contractMethodArgs[" + _index13 + "]",
|
|
4177
4300
|
expected: "string",
|
|
4178
4301
|
value: elem
|
|
4179
4302
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -4181,12 +4304,27 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4181
4304
|
path: _path + ".contractMethodArgs",
|
|
4182
4305
|
expected: "Array<string>",
|
|
4183
4306
|
value: input.contractMethodArgs
|
|
4184
|
-
}, _errorFactory)) && (
|
|
4307
|
+
}, _errorFactory)) && ((null !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4185
4308
|
method: "createAssertEquals",
|
|
4186
4309
|
path: _path + ".assetFee",
|
|
4187
|
-
expected: "string",
|
|
4310
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
4311
|
+
value: input.assetFee
|
|
4312
|
+
}, _errorFactory)) && (undefined !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4313
|
+
method: "createAssertEquals",
|
|
4314
|
+
path: _path + ".assetFee",
|
|
4315
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
4316
|
+
value: input.assetFee
|
|
4317
|
+
}, _errorFactory)) && ("string" === typeof input.assetFee || ("object" === typeof input.assetFee && null !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4318
|
+
method: "createAssertEquals",
|
|
4319
|
+
path: _path + ".assetFee",
|
|
4320
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
4188
4321
|
value: input.assetFee
|
|
4189
|
-
}, _errorFactory)) && (
|
|
4322
|
+
}, _errorFactory)) && _ao10(input.assetFee, _path + ".assetFee", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4323
|
+
method: "createAssertEquals",
|
|
4324
|
+
path: _path + ".assetFee",
|
|
4325
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
4326
|
+
value: input.assetFee
|
|
4327
|
+
}, _errorFactory))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4190
4328
|
method: "createAssertEquals",
|
|
4191
4329
|
path: _path + ".totalReceiveAmount",
|
|
4192
4330
|
expected: "(string | undefined)",
|
|
@@ -4208,7 +4346,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4208
4346
|
expected: "undefined",
|
|
4209
4347
|
value: value
|
|
4210
4348
|
}, _errorFactory);
|
|
4211
|
-
}))); const
|
|
4349
|
+
}))); const _ao14 = (input, _path, _exceptionable = true) => ("ACH" === input.type || "WIRE" === input.type || "SEPA_PUSH" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4212
4350
|
method: "createAssertEquals",
|
|
4213
4351
|
path: _path + ".type",
|
|
4214
4352
|
expected: "(\"ACH\" | \"SEPA_PUSH\" | \"WIRE\")",
|
|
@@ -4233,12 +4371,27 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4233
4371
|
path: _path + ".value",
|
|
4234
4372
|
expected: "string",
|
|
4235
4373
|
value: input.value
|
|
4236
|
-
}, _errorFactory)) && (
|
|
4374
|
+
}, _errorFactory)) && ((null !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4237
4375
|
method: "createAssertEquals",
|
|
4238
4376
|
path: _path + ".assetFee",
|
|
4239
|
-
expected: "string",
|
|
4377
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
4378
|
+
value: input.assetFee
|
|
4379
|
+
}, _errorFactory)) && (undefined !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4380
|
+
method: "createAssertEquals",
|
|
4381
|
+
path: _path + ".assetFee",
|
|
4382
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
4383
|
+
value: input.assetFee
|
|
4384
|
+
}, _errorFactory)) && ("string" === typeof input.assetFee || ("object" === typeof input.assetFee && null !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4385
|
+
method: "createAssertEquals",
|
|
4386
|
+
path: _path + ".assetFee",
|
|
4387
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
4388
|
+
value: input.assetFee
|
|
4389
|
+
}, _errorFactory)) && _ao10(input.assetFee, _path + ".assetFee", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4390
|
+
method: "createAssertEquals",
|
|
4391
|
+
path: _path + ".assetFee",
|
|
4392
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
4240
4393
|
value: input.assetFee
|
|
4241
|
-
}, _errorFactory)) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4394
|
+
}, _errorFactory))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4242
4395
|
method: "createAssertEquals",
|
|
4243
4396
|
path: _path + ".totalReceiveAmount",
|
|
4244
4397
|
expected: "(string | undefined)",
|
|
@@ -4260,7 +4413,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4260
4413
|
expected: "undefined",
|
|
4261
4414
|
value: value
|
|
4262
4415
|
}, _errorFactory);
|
|
4263
|
-
}))); const
|
|
4416
|
+
}))); const _ao15 = (input, _path, _exceptionable = true) => ("bank-account" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4264
4417
|
method: "createAssertEquals",
|
|
4265
4418
|
path: _path + ".type",
|
|
4266
4419
|
expected: "\"bank-account\"",
|
|
@@ -4275,7 +4428,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4275
4428
|
path: _path + ".accountAddress",
|
|
4276
4429
|
expected: "(PhysicalAddress | string | undefined)",
|
|
4277
4430
|
value: input.accountAddress
|
|
4278
|
-
}, _errorFactory)) &&
|
|
4431
|
+
}, _errorFactory)) && _ao16(input.accountAddress, _path + ".accountAddress", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4279
4432
|
method: "createAssertEquals",
|
|
4280
4433
|
path: _path + ".accountAddress",
|
|
4281
4434
|
expected: "(PhysicalAddress | string | undefined)",
|
|
@@ -4293,12 +4446,12 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4293
4446
|
}, _errorFactory)) && (("object" === typeof input.accountOwner && null !== input.accountOwner || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4294
4447
|
method: "createAssertEquals",
|
|
4295
4448
|
path: _path + ".accountOwner",
|
|
4296
|
-
expected: "(__type.
|
|
4449
|
+
expected: "(__type.o14 | __type.o15 | __type.o16)",
|
|
4297
4450
|
value: input.accountOwner
|
|
4298
4451
|
}, _errorFactory)) && _au4(input.accountOwner, _path + ".accountOwner", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4299
4452
|
method: "createAssertEquals",
|
|
4300
4453
|
path: _path + ".accountOwner",
|
|
4301
|
-
expected: "(__type.
|
|
4454
|
+
expected: "(__type.o14 | __type.o15 | __type.o16)",
|
|
4302
4455
|
value: input.accountOwner
|
|
4303
4456
|
}, _errorFactory)) && ("us" === input.accountType || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4304
4457
|
method: "createAssertEquals",
|
|
@@ -4332,7 +4485,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4332
4485
|
expected: "undefined",
|
|
4333
4486
|
value: value
|
|
4334
4487
|
}, _errorFactory);
|
|
4335
|
-
}))); const
|
|
4488
|
+
}))); const _ao16 = (input, _path, _exceptionable = true) => ("string" === typeof input.line1 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4336
4489
|
method: "createAssertEquals",
|
|
4337
4490
|
path: _path + ".line1",
|
|
4338
4491
|
expected: "string",
|
|
@@ -4342,7 +4495,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4342
4495
|
path: _path + ".line2",
|
|
4343
4496
|
expected: "(string | undefined)",
|
|
4344
4497
|
value: input.line2
|
|
4345
|
-
}, _errorFactory)) && (true ===
|
|
4498
|
+
}, _errorFactory)) && (true === _av14.has(input.country) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4346
4499
|
method: "createAssertEquals",
|
|
4347
4500
|
path: _path + ".country",
|
|
4348
4501
|
expected: "(\"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AQ\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AX\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BR\" | \"BS\" | \"BT\" | \"BV\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CC\" | \"CD\" | \"CF\" | \"CG\" | \"CH\" | \"CI\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CV\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ER\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"GB\" | \"GD\" | \"GE\" | \"GF\" | \"GG\" | \"GH\" | \"GI\" | \"GL\" | \"GM\" | \"GN\" | \"GP\" | \"GQ\" | \"GR\" | \"GS\" | \"GT\" | \"GU\" | \"GW\" | \"GY\" | \"HK\" | \"HM\" | \"HN\" | \"HR\" | \"HT\" | \"HU\" | \"ID\" | \"IE\" | \"IL\" | \"IM\" | \"IN\" | \"IO\" | \"IQ\" | \"IR\" | \"IS\" | \"IT\" | \"JE\" | \"JM\" | \"JO\" | \"JP\" | \"KE\" | \"KG\" | \"KH\" | \"KI\" | \"KM\" | \"KN\" | \"KP\" | \"KR\" | \"KW\" | \"KY\" | \"KZ\" | \"LA\" | \"LB\" | \"LC\" | \"LI\" | \"LK\" | \"LR\" | \"LS\" | \"LT\" | \"LU\" | \"LV\" | \"LY\" | \"MA\" | \"MC\" | \"MD\" | \"ME\" | \"MF\" | \"MG\" | \"MH\" | \"MK\" | \"ML\" | \"MM\" | \"MN\" | \"MO\" | \"MP\" | \"MQ\" | \"MR\" | \"MS\" | \"MT\" | \"MU\" | \"MV\" | \"MW\" | \"MX\" | \"MY\" | \"MZ\" | \"NA\" | \"NC\" | \"NE\" | \"NF\" | \"NG\" | \"NI\" | \"NL\" | \"NO\" | \"NP\" | \"NR\" | \"NU\" | \"NZ\" | \"OM\" | \"PA\" | \"PE\" | \"PF\" | \"PG\" | \"PH\" | \"PK\" | \"PL\" | \"PM\" | \"PN\" | \"PR\" | \"PT\" | \"PW\" | \"PY\" | \"QA\" | \"RE\" | \"RO\" | \"RS\" | \"RU\" | \"RW\" | \"SA\" | \"SB\" | \"SC\" | \"SD\" | \"SE\" | \"SG\" | \"SH\" | \"SI\" | \"SJ\" | \"SK\" | \"SL\" | \"SM\" | \"SN\" | \"SO\" | \"SR\" | \"SS\" | \"ST\" | \"SV\" | \"SX\" | \"SY\" | \"SZ\" | \"TC\" | \"TD\" | \"TF\" | \"TG\" | \"TH\" | \"TJ\" | \"TK\" | \"TL\" | \"TM\" | \"TN\" | \"TO\" | \"TR\" | \"TT\" | \"TV\" | \"TW\" | \"TZ\" | \"UA\" | \"UG\" | \"UM\" | \"US\" | \"UY\" | \"UZ\" | \"VA\" | \"VC\" | \"VE\" | \"VG\" | \"VI\" | \"VN\" | \"VU\" | \"WF\" | \"WS\" | \"YE\" | \"YT\" | \"ZA\" | \"ZM\" | \"ZW\")",
|
|
@@ -4374,7 +4527,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4374
4527
|
expected: "undefined",
|
|
4375
4528
|
value: value
|
|
4376
4529
|
}, _errorFactory);
|
|
4377
|
-
}))); const
|
|
4530
|
+
}))); const _ao17 = (input, _path, _exceptionable = true) => ("individual" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4378
4531
|
method: "createAssertEquals",
|
|
4379
4532
|
path: _path + ".type",
|
|
4380
4533
|
expected: "\"individual\"",
|
|
@@ -4401,7 +4554,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4401
4554
|
expected: "undefined",
|
|
4402
4555
|
value: value
|
|
4403
4556
|
}, _errorFactory);
|
|
4404
|
-
}))); const
|
|
4557
|
+
}))); const _ao18 = (input, _path, _exceptionable = true) => ("business" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4405
4558
|
method: "createAssertEquals",
|
|
4406
4559
|
path: _path + ".type",
|
|
4407
4560
|
expected: "\"business\"",
|
|
@@ -4423,7 +4576,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4423
4576
|
expected: "undefined",
|
|
4424
4577
|
value: value
|
|
4425
4578
|
}, _errorFactory);
|
|
4426
|
-
}))); const
|
|
4579
|
+
}))); const _ao19 = (input, _path, _exceptionable = true) => ("unknown" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4427
4580
|
method: "createAssertEquals",
|
|
4428
4581
|
path: _path + ".type",
|
|
4429
4582
|
expected: "\"unknown\"",
|
|
@@ -4445,7 +4598,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4445
4598
|
expected: "undefined",
|
|
4446
4599
|
value: value
|
|
4447
4600
|
}, _errorFactory);
|
|
4448
|
-
}))); const
|
|
4601
|
+
}))); const _ao20 = (input, _path, _exceptionable = true) => ("bank-account" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4449
4602
|
method: "createAssertEquals",
|
|
4450
4603
|
path: _path + ".type",
|
|
4451
4604
|
expected: "\"bank-account\"",
|
|
@@ -4460,7 +4613,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4460
4613
|
path: _path + ".accountAddress",
|
|
4461
4614
|
expected: "(PhysicalAddress | string | undefined)",
|
|
4462
4615
|
value: input.accountAddress
|
|
4463
|
-
}, _errorFactory)) &&
|
|
4616
|
+
}, _errorFactory)) && _ao16(input.accountAddress, _path + ".accountAddress", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4464
4617
|
method: "createAssertEquals",
|
|
4465
4618
|
path: _path + ".accountAddress",
|
|
4466
4619
|
expected: "(PhysicalAddress | string | undefined)",
|
|
@@ -4478,19 +4631,19 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4478
4631
|
}, _errorFactory)) && (("object" === typeof input.accountOwner && null !== input.accountOwner || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4479
4632
|
method: "createAssertEquals",
|
|
4480
4633
|
path: _path + ".accountOwner",
|
|
4481
|
-
expected: "(__type.
|
|
4634
|
+
expected: "(__type.o14 | __type.o15 | __type.o16)",
|
|
4482
4635
|
value: input.accountOwner
|
|
4483
4636
|
}, _errorFactory)) && _au4(input.accountOwner, _path + ".accountOwner", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4484
4637
|
method: "createAssertEquals",
|
|
4485
4638
|
path: _path + ".accountOwner",
|
|
4486
|
-
expected: "(__type.
|
|
4639
|
+
expected: "(__type.o14 | __type.o15 | __type.o16)",
|
|
4487
4640
|
value: input.accountOwner
|
|
4488
4641
|
}, _errorFactory)) && ("iban-swift" === input.accountType || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4489
4642
|
method: "createAssertEquals",
|
|
4490
4643
|
path: _path + ".accountType",
|
|
4491
4644
|
expected: "\"iban-swift\"",
|
|
4492
4645
|
value: input.accountType
|
|
4493
|
-
}, _errorFactory)) && (undefined === input.country || true ===
|
|
4646
|
+
}, _errorFactory)) && (undefined === input.country || true === _av15.has(input.country) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4494
4647
|
method: "createAssertEquals",
|
|
4495
4648
|
path: _path + ".country",
|
|
4496
4649
|
expected: "(\"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AQ\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AX\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BR\" | \"BS\" | \"BT\" | \"BV\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CC\" | \"CD\" | \"CF\" | \"CG\" | \"CH\" | \"CI\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CV\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ER\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"GB\" | \"GD\" | \"GE\" | \"GF\" | \"GG\" | \"GH\" | \"GI\" | \"GL\" | \"GM\" | \"GN\" | \"GP\" | \"GQ\" | \"GR\" | \"GS\" | \"GT\" | \"GU\" | \"GW\" | \"GY\" | \"HK\" | \"HM\" | \"HN\" | \"HR\" | \"HT\" | \"HU\" | \"ID\" | \"IE\" | \"IL\" | \"IM\" | \"IN\" | \"IO\" | \"IQ\" | \"IR\" | \"IS\" | \"IT\" | \"JE\" | \"JM\" | \"JO\" | \"JP\" | \"KE\" | \"KG\" | \"KH\" | \"KI\" | \"KM\" | \"KN\" | \"KP\" | \"KR\" | \"KW\" | \"KY\" | \"KZ\" | \"LA\" | \"LB\" | \"LC\" | \"LI\" | \"LK\" | \"LR\" | \"LS\" | \"LT\" | \"LU\" | \"LV\" | \"LY\" | \"MA\" | \"MC\" | \"MD\" | \"ME\" | \"MF\" | \"MG\" | \"MH\" | \"MK\" | \"ML\" | \"MM\" | \"MN\" | \"MO\" | \"MP\" | \"MQ\" | \"MR\" | \"MS\" | \"MT\" | \"MU\" | \"MV\" | \"MW\" | \"MX\" | \"MY\" | \"MZ\" | \"NA\" | \"NC\" | \"NE\" | \"NF\" | \"NG\" | \"NI\" | \"NL\" | \"NO\" | \"NP\" | \"NR\" | \"NU\" | \"NZ\" | \"OM\" | \"PA\" | \"PE\" | \"PF\" | \"PG\" | \"PH\" | \"PK\" | \"PL\" | \"PM\" | \"PN\" | \"PR\" | \"PT\" | \"PW\" | \"PY\" | \"QA\" | \"RE\" | \"RO\" | \"RS\" | \"RU\" | \"RW\" | \"SA\" | \"SB\" | \"SC\" | \"SD\" | \"SE\" | \"SG\" | \"SH\" | \"SI\" | \"SJ\" | \"SK\" | \"SL\" | \"SM\" | \"SN\" | \"SO\" | \"SR\" | \"SS\" | \"ST\" | \"SV\" | \"SX\" | \"SY\" | \"SZ\" | \"TC\" | \"TD\" | \"TF\" | \"TG\" | \"TH\" | \"TJ\" | \"TK\" | \"TL\" | \"TM\" | \"TN\" | \"TO\" | \"TR\" | \"TT\" | \"TV\" | \"TW\" | \"TZ\" | \"UA\" | \"UG\" | \"UM\" | \"US\" | \"UY\" | \"UZ\" | \"VA\" | \"VC\" | \"VE\" | \"VG\" | \"VI\" | \"VN\" | \"VU\" | \"WF\" | \"WS\" | \"YE\" | \"YT\" | \"ZA\" | \"ZM\" | \"ZW\" | undefined)",
|
|
@@ -4515,7 +4668,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4515
4668
|
path: _path + ".bankAddress",
|
|
4516
4669
|
expected: "(PhysicalAddress | undefined)",
|
|
4517
4670
|
value: input.bankAddress
|
|
4518
|
-
}, _errorFactory)) &&
|
|
4671
|
+
}, _errorFactory)) && _ao16(input.bankAddress, _path + ".bankAddress", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4519
4672
|
method: "createAssertEquals",
|
|
4520
4673
|
path: _path + ".bankAddress",
|
|
4521
4674
|
expected: "(PhysicalAddress | undefined)",
|
|
@@ -4523,12 +4676,12 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4523
4676
|
}, _errorFactory)) && (undefined === input.swift || ("object" === typeof input.swift && null !== input.swift || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4524
4677
|
method: "createAssertEquals",
|
|
4525
4678
|
path: _path + ".swift",
|
|
4526
|
-
expected: "(__type.
|
|
4679
|
+
expected: "(__type.o19 | undefined)",
|
|
4527
4680
|
value: input.swift
|
|
4528
|
-
}, _errorFactory)) &&
|
|
4681
|
+
}, _errorFactory)) && _ao21(input.swift, _path + ".swift", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4529
4682
|
method: "createAssertEquals",
|
|
4530
4683
|
path: _path + ".swift",
|
|
4531
|
-
expected: "(__type.
|
|
4684
|
+
expected: "(__type.o19 | undefined)",
|
|
4532
4685
|
value: input.swift
|
|
4533
4686
|
}, _errorFactory)) && (3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
|
|
4534
4687
|
if (["type", "accountAddress", "obfuscated", "bankName", "accountOwner", "accountType", "country", "accountNumber", "bic", "iban", "bankAddress", "swift"].some(prop => key === prop))
|
|
@@ -4542,7 +4695,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4542
4695
|
expected: "undefined",
|
|
4543
4696
|
value: value
|
|
4544
4697
|
}, _errorFactory);
|
|
4545
|
-
}))); const
|
|
4698
|
+
}))); const _ao21 = (input, _path, _exceptionable = true) => ("string" === typeof input.category || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4546
4699
|
method: "createAssertEquals",
|
|
4547
4700
|
path: _path + ".category",
|
|
4548
4701
|
expected: "string",
|
|
@@ -4552,9 +4705,9 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4552
4705
|
path: _path + ".purposeOfFunds",
|
|
4553
4706
|
expected: "Array<string>",
|
|
4554
4707
|
value: input.purposeOfFunds
|
|
4555
|
-
}, _errorFactory)) && input.purposeOfFunds.every((elem,
|
|
4708
|
+
}, _errorFactory)) && input.purposeOfFunds.every((elem, _index16) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4556
4709
|
method: "createAssertEquals",
|
|
4557
|
-
path: _path + ".purposeOfFunds[" +
|
|
4710
|
+
path: _path + ".purposeOfFunds[" + _index16 + "]",
|
|
4558
4711
|
expected: "string",
|
|
4559
4712
|
value: elem
|
|
4560
4713
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -4579,7 +4732,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4579
4732
|
expected: "undefined",
|
|
4580
4733
|
value: value
|
|
4581
4734
|
}, _errorFactory);
|
|
4582
|
-
}))); const
|
|
4735
|
+
}))); const _ao22 = (input, _path, _exceptionable = true) => ("bank-account" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4583
4736
|
method: "createAssertEquals",
|
|
4584
4737
|
path: _path + ".type",
|
|
4585
4738
|
expected: "\"bank-account\"",
|
|
@@ -4594,7 +4747,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4594
4747
|
path: _path + ".accountAddress",
|
|
4595
4748
|
expected: "(PhysicalAddress | string | undefined)",
|
|
4596
4749
|
value: input.accountAddress
|
|
4597
|
-
}, _errorFactory)) &&
|
|
4750
|
+
}, _errorFactory)) && _ao16(input.accountAddress, _path + ".accountAddress", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4598
4751
|
method: "createAssertEquals",
|
|
4599
4752
|
path: _path + ".accountAddress",
|
|
4600
4753
|
expected: "(PhysicalAddress | string | undefined)",
|
|
@@ -4612,12 +4765,12 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4612
4765
|
}, _errorFactory)) && (("object" === typeof input.accountOwner && null !== input.accountOwner || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4613
4766
|
method: "createAssertEquals",
|
|
4614
4767
|
path: _path + ".accountOwner",
|
|
4615
|
-
expected: "(__type.
|
|
4768
|
+
expected: "(__type.o14 | __type.o15 | __type.o16)",
|
|
4616
4769
|
value: input.accountOwner
|
|
4617
4770
|
}, _errorFactory)) && _au4(input.accountOwner, _path + ".accountOwner", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4618
4771
|
method: "createAssertEquals",
|
|
4619
4772
|
path: _path + ".accountOwner",
|
|
4620
|
-
expected: "(__type.
|
|
4773
|
+
expected: "(__type.o14 | __type.o15 | __type.o16)",
|
|
4621
4774
|
value: input.accountOwner
|
|
4622
4775
|
}, _errorFactory)) && ("clabe" === input.accountType || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4623
4776
|
method: "createAssertEquals",
|
|
@@ -4641,7 +4794,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4641
4794
|
expected: "undefined",
|
|
4642
4795
|
value: value
|
|
4643
4796
|
}, _errorFactory);
|
|
4644
|
-
}))); const
|
|
4797
|
+
}))); const _ao23 = (input, _path, _exceptionable = true) => ("bank-account" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4645
4798
|
method: "createAssertEquals",
|
|
4646
4799
|
path: _path + ".type",
|
|
4647
4800
|
expected: "\"bank-account\"",
|
|
@@ -4656,7 +4809,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4656
4809
|
path: _path + ".accountAddress",
|
|
4657
4810
|
expected: "(PhysicalAddress | string | undefined)",
|
|
4658
4811
|
value: input.accountAddress
|
|
4659
|
-
}, _errorFactory)) &&
|
|
4812
|
+
}, _errorFactory)) && _ao16(input.accountAddress, _path + ".accountAddress", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4660
4813
|
method: "createAssertEquals",
|
|
4661
4814
|
path: _path + ".accountAddress",
|
|
4662
4815
|
expected: "(PhysicalAddress | string | undefined)",
|
|
@@ -4674,12 +4827,12 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4674
4827
|
}, _errorFactory)) && (("object" === typeof input.accountOwner && null !== input.accountOwner || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4675
4828
|
method: "createAssertEquals",
|
|
4676
4829
|
path: _path + ".accountOwner",
|
|
4677
|
-
expected: "(__type.
|
|
4830
|
+
expected: "(__type.o14 | __type.o15 | __type.o16)",
|
|
4678
4831
|
value: input.accountOwner
|
|
4679
4832
|
}, _errorFactory)) && _au4(input.accountOwner, _path + ".accountOwner", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4680
4833
|
method: "createAssertEquals",
|
|
4681
4834
|
path: _path + ".accountOwner",
|
|
4682
|
-
expected: "(__type.
|
|
4835
|
+
expected: "(__type.o14 | __type.o15 | __type.o16)",
|
|
4683
4836
|
value: input.accountOwner
|
|
4684
4837
|
}, _errorFactory)) && ("pix" === input.accountType || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4685
4838
|
method: "createAssertEquals",
|
|
@@ -4689,12 +4842,12 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4689
4842
|
}, _errorFactory)) && (undefined === input.document || ("object" === typeof input.document && null !== input.document || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4690
4843
|
method: "createAssertEquals",
|
|
4691
4844
|
path: _path + ".document",
|
|
4692
|
-
expected: "(__type.
|
|
4845
|
+
expected: "(__type.o22 | undefined)",
|
|
4693
4846
|
value: input.document
|
|
4694
|
-
}, _errorFactory)) &&
|
|
4847
|
+
}, _errorFactory)) && _ao24(input.document, _path + ".document", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4695
4848
|
method: "createAssertEquals",
|
|
4696
4849
|
path: _path + ".document",
|
|
4697
|
-
expected: "(__type.
|
|
4850
|
+
expected: "(__type.o22 | undefined)",
|
|
4698
4851
|
value: input.document
|
|
4699
4852
|
}, _errorFactory)) && ("string" === typeof input.brCode || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4700
4853
|
method: "createAssertEquals",
|
|
@@ -4713,7 +4866,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4713
4866
|
expected: "undefined",
|
|
4714
4867
|
value: value
|
|
4715
4868
|
}, _errorFactory);
|
|
4716
|
-
}))); const
|
|
4869
|
+
}))); const _ao24 = (input, _path, _exceptionable = true) => (undefined === input.type || "cpf" === input.type || "cnpj" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4717
4870
|
method: "createAssertEquals",
|
|
4718
4871
|
path: _path + ".type",
|
|
4719
4872
|
expected: "(\"cnpj\" | \"cpf\" | undefined)",
|
|
@@ -4735,7 +4888,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4735
4888
|
expected: "undefined",
|
|
4736
4889
|
value: value
|
|
4737
4890
|
}, _errorFactory);
|
|
4738
|
-
}))); const
|
|
4891
|
+
}))); const _ao25 = (input, _path, _exceptionable = true) => ("bank-account" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4739
4892
|
method: "createAssertEquals",
|
|
4740
4893
|
path: _path + ".type",
|
|
4741
4894
|
expected: "\"bank-account\"",
|
|
@@ -4750,7 +4903,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4750
4903
|
path: _path + ".accountAddress",
|
|
4751
4904
|
expected: "(PhysicalAddress | string | undefined)",
|
|
4752
4905
|
value: input.accountAddress
|
|
4753
|
-
}, _errorFactory)) &&
|
|
4906
|
+
}, _errorFactory)) && _ao16(input.accountAddress, _path + ".accountAddress", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4754
4907
|
method: "createAssertEquals",
|
|
4755
4908
|
path: _path + ".accountAddress",
|
|
4756
4909
|
expected: "(PhysicalAddress | string | undefined)",
|
|
@@ -4768,12 +4921,12 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4768
4921
|
}, _errorFactory)) && (("object" === typeof input.accountOwner && null !== input.accountOwner || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4769
4922
|
method: "createAssertEquals",
|
|
4770
4923
|
path: _path + ".accountOwner",
|
|
4771
|
-
expected: "(__type.
|
|
4924
|
+
expected: "(__type.o14 | __type.o15 | __type.o16)",
|
|
4772
4925
|
value: input.accountOwner
|
|
4773
4926
|
}, _errorFactory)) && _au4(input.accountOwner, _path + ".accountOwner", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4774
4927
|
method: "createAssertEquals",
|
|
4775
4928
|
path: _path + ".accountOwner",
|
|
4776
|
-
expected: "(__type.
|
|
4929
|
+
expected: "(__type.o14 | __type.o15 | __type.o16)",
|
|
4777
4930
|
value: input.accountOwner
|
|
4778
4931
|
}, _errorFactory)) && ("pix" === input.accountType || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4779
4932
|
method: "createAssertEquals",
|
|
@@ -4783,12 +4936,12 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4783
4936
|
}, _errorFactory)) && (undefined === input.document || ("object" === typeof input.document && null !== input.document || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4784
4937
|
method: "createAssertEquals",
|
|
4785
4938
|
path: _path + ".document",
|
|
4786
|
-
expected: "(__type.
|
|
4939
|
+
expected: "(__type.o22 | undefined)",
|
|
4787
4940
|
value: input.document
|
|
4788
|
-
}, _errorFactory)) &&
|
|
4941
|
+
}, _errorFactory)) && _ao24(input.document, _path + ".document", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4789
4942
|
method: "createAssertEquals",
|
|
4790
4943
|
path: _path + ".document",
|
|
4791
|
-
expected: "(__type.
|
|
4944
|
+
expected: "(__type.o22 | undefined)",
|
|
4792
4945
|
value: input.document
|
|
4793
4946
|
}, _errorFactory)) && ("string" === typeof input.pixKey || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4794
4947
|
method: "createAssertEquals",
|
|
@@ -4807,7 +4960,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4807
4960
|
expected: "undefined",
|
|
4808
4961
|
value: value
|
|
4809
4962
|
}, _errorFactory);
|
|
4810
|
-
}))); const
|
|
4963
|
+
}))); const _ao26 = (input, _path, _exceptionable = true) => ("TRON_SEND" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4811
4964
|
method: "createAssertEquals",
|
|
4812
4965
|
path: _path + ".type",
|
|
4813
4966
|
expected: "\"TRON_SEND\"",
|
|
@@ -4847,12 +5000,27 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4847
5000
|
path: _path + ".tokenAddress",
|
|
4848
5001
|
expected: "(string | undefined)",
|
|
4849
5002
|
value: input.tokenAddress
|
|
4850
|
-
}, _errorFactory)) && (
|
|
5003
|
+
}, _errorFactory)) && ((null !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4851
5004
|
method: "createAssertEquals",
|
|
4852
5005
|
path: _path + ".assetFee",
|
|
4853
|
-
expected: "string",
|
|
5006
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
4854
5007
|
value: input.assetFee
|
|
4855
|
-
}, _errorFactory)) && (undefined
|
|
5008
|
+
}, _errorFactory)) && (undefined !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5009
|
+
method: "createAssertEquals",
|
|
5010
|
+
path: _path + ".assetFee",
|
|
5011
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
5012
|
+
value: input.assetFee
|
|
5013
|
+
}, _errorFactory)) && ("string" === typeof input.assetFee || ("object" === typeof input.assetFee && null !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5014
|
+
method: "createAssertEquals",
|
|
5015
|
+
path: _path + ".assetFee",
|
|
5016
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
5017
|
+
value: input.assetFee
|
|
5018
|
+
}, _errorFactory)) && _ao10(input.assetFee, _path + ".assetFee", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5019
|
+
method: "createAssertEquals",
|
|
5020
|
+
path: _path + ".assetFee",
|
|
5021
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
5022
|
+
value: input.assetFee
|
|
5023
|
+
}, _errorFactory))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4856
5024
|
method: "createAssertEquals",
|
|
4857
5025
|
path: _path + ".totalReceiveAmount",
|
|
4858
5026
|
expected: "(string | undefined)",
|
|
@@ -4874,7 +5042,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4874
5042
|
expected: "undefined",
|
|
4875
5043
|
value: value
|
|
4876
5044
|
}, _errorFactory);
|
|
4877
|
-
}))); const
|
|
5045
|
+
}))); const _ao27 = (input, _path, _exceptionable = true) => ("BITCOIN_SEND" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4878
5046
|
method: "createAssertEquals",
|
|
4879
5047
|
path: _path + ".type",
|
|
4880
5048
|
expected: "\"BITCOIN_SEND\"",
|
|
@@ -4909,12 +5077,27 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4909
5077
|
path: _path + ".value",
|
|
4910
5078
|
expected: "string",
|
|
4911
5079
|
value: input.value
|
|
4912
|
-
}, _errorFactory)) && (
|
|
5080
|
+
}, _errorFactory)) && ((null !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4913
5081
|
method: "createAssertEquals",
|
|
4914
5082
|
path: _path + ".assetFee",
|
|
4915
|
-
expected: "string",
|
|
5083
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
4916
5084
|
value: input.assetFee
|
|
4917
|
-
}, _errorFactory)) && (undefined
|
|
5085
|
+
}, _errorFactory)) && (undefined !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5086
|
+
method: "createAssertEquals",
|
|
5087
|
+
path: _path + ".assetFee",
|
|
5088
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
5089
|
+
value: input.assetFee
|
|
5090
|
+
}, _errorFactory)) && ("string" === typeof input.assetFee || ("object" === typeof input.assetFee && null !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5091
|
+
method: "createAssertEquals",
|
|
5092
|
+
path: _path + ".assetFee",
|
|
5093
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
5094
|
+
value: input.assetFee
|
|
5095
|
+
}, _errorFactory)) && _ao10(input.assetFee, _path + ".assetFee", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5096
|
+
method: "createAssertEquals",
|
|
5097
|
+
path: _path + ".assetFee",
|
|
5098
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
5099
|
+
value: input.assetFee
|
|
5100
|
+
}, _errorFactory))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4918
5101
|
method: "createAssertEquals",
|
|
4919
5102
|
path: _path + ".totalReceiveAmount",
|
|
4920
5103
|
expected: "(string | undefined)",
|
|
@@ -4936,7 +5119,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4936
5119
|
expected: "undefined",
|
|
4937
5120
|
value: value
|
|
4938
5121
|
}, _errorFactory);
|
|
4939
|
-
}))); const
|
|
5122
|
+
}))); const _ao28 = (input, _path, _exceptionable = true) => ("SOLANA_SEND" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4940
5123
|
method: "createAssertEquals",
|
|
4941
5124
|
path: _path + ".type",
|
|
4942
5125
|
expected: "\"SOLANA_SEND\"",
|
|
@@ -4976,12 +5159,27 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
4976
5159
|
path: _path + ".tokenMintAddress",
|
|
4977
5160
|
expected: "(string | undefined)",
|
|
4978
5161
|
value: input.tokenMintAddress
|
|
4979
|
-
}, _errorFactory)) && (
|
|
5162
|
+
}, _errorFactory)) && ((null !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4980
5163
|
method: "createAssertEquals",
|
|
4981
5164
|
path: _path + ".assetFee",
|
|
4982
|
-
expected: "string",
|
|
5165
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
5166
|
+
value: input.assetFee
|
|
5167
|
+
}, _errorFactory)) && (undefined !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5168
|
+
method: "createAssertEquals",
|
|
5169
|
+
path: _path + ".assetFee",
|
|
5170
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
5171
|
+
value: input.assetFee
|
|
5172
|
+
}, _errorFactory)) && ("string" === typeof input.assetFee || ("object" === typeof input.assetFee && null !== input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5173
|
+
method: "createAssertEquals",
|
|
5174
|
+
path: _path + ".assetFee",
|
|
5175
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
4983
5176
|
value: input.assetFee
|
|
4984
|
-
}, _errorFactory)) && (
|
|
5177
|
+
}, _errorFactory)) && _ao10(input.assetFee, _path + ".assetFee", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5178
|
+
method: "createAssertEquals",
|
|
5179
|
+
path: _path + ".assetFee",
|
|
5180
|
+
expected: "(AssetFeeBreakdown | string)",
|
|
5181
|
+
value: input.assetFee
|
|
5182
|
+
}, _errorFactory))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4985
5183
|
method: "createAssertEquals",
|
|
4986
5184
|
path: _path + ".totalReceiveAmount",
|
|
4987
5185
|
expected: "(string | undefined)",
|
|
@@ -5003,7 +5201,7 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
5003
5201
|
expected: "undefined",
|
|
5004
5202
|
value: value
|
|
5005
5203
|
}, _errorFactory);
|
|
5006
|
-
}))); const
|
|
5204
|
+
}))); const _ao29 = (input, _path, _exceptionable = true) => (false === input.ok || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5007
5205
|
method: "createAssertEquals",
|
|
5008
5206
|
path: _path + ".ok",
|
|
5009
5207
|
expected: "false",
|
|
@@ -5029,22 +5227,22 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
5029
5227
|
if ("KEETA_SEND" === input.type)
|
|
5030
5228
|
return _ao1(input, _path, true && _exceptionable);
|
|
5031
5229
|
else if ("EVM_SEND" === input.type)
|
|
5032
|
-
return
|
|
5230
|
+
return _ao12(input, _path, true && _exceptionable);
|
|
5033
5231
|
else if ("EVM_CALL" === input.type)
|
|
5034
|
-
return
|
|
5232
|
+
return _ao13(input, _path, true && _exceptionable);
|
|
5035
5233
|
else if ("ACH" === input.type || "WIRE" === input.type || "SEPA_PUSH" === input.type)
|
|
5036
|
-
return
|
|
5234
|
+
return _ao14(input, _path, true && _exceptionable);
|
|
5037
5235
|
else if ("TRON_SEND" === input.type)
|
|
5038
|
-
return
|
|
5236
|
+
return _ao26(input, _path, true && _exceptionable);
|
|
5039
5237
|
else if ("BITCOIN_SEND" === input.type)
|
|
5040
|
-
return
|
|
5238
|
+
return _ao27(input, _path, true && _exceptionable);
|
|
5041
5239
|
else if ("SOLANA_SEND" === input.type)
|
|
5042
|
-
return
|
|
5240
|
+
return _ao28(input, _path, true && _exceptionable);
|
|
5043
5241
|
else
|
|
5044
5242
|
return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5045
5243
|
method: "createAssertEquals",
|
|
5046
5244
|
path: _path,
|
|
5047
|
-
expected: "({ type: \"KEETA_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress: string; external?: string; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"EVM_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress: `0x${string}`; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"EVM_CALL\"; location: AssetLocationLike; contractAddress: string; contractMethodName: string; contractMethodArgs: string[]; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"ACH\" | \"WIRE\" | \"SEPA_PUSH\"; account: BankAccountAddressResolved; depositMessage?: string; value: string; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"TRON_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress?: string; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"BITCOIN_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"SOLANA_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenMintAddress?: string; } & { assetFee: string; totalReceiveAmount?: string; persistentAddressId?: string; })",
|
|
5245
|
+
expected: "({ type: \"KEETA_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress: string; external?: string; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"EVM_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress: `0x${string}`; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"EVM_CALL\"; location: AssetLocationLike; contractAddress: string; contractMethodName: string; contractMethodArgs: string[]; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"ACH\" | \"WIRE\" | \"SEPA_PUSH\"; account: BankAccountAddressResolved; depositMessage?: string; value: string; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"TRON_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress?: string; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"BITCOIN_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; } | { type: \"SOLANA_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenMintAddress?: string; } & { assetFee: string | AssetFeeBreakdown; totalReceiveAmount?: string; persistentAddressId?: string; })",
|
|
5048
5246
|
value: input
|
|
5049
5247
|
}, _errorFactory);
|
|
5050
5248
|
})(); const _au1 = (input, _path, _exceptionable = true) => (() => {
|
|
@@ -5079,15 +5277,15 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
5079
5277
|
}, _errorFactory);
|
|
5080
5278
|
})(); const _au3 = (input, _path, _exceptionable = true) => (() => {
|
|
5081
5279
|
if ("us" === input.accountType)
|
|
5082
|
-
return
|
|
5280
|
+
return _ao15(input, _path, true && _exceptionable);
|
|
5083
5281
|
else if ("iban-swift" === input.accountType)
|
|
5084
|
-
return _ao18(input, _path, true && _exceptionable);
|
|
5085
|
-
else if ("clabe" === input.accountType)
|
|
5086
5282
|
return _ao20(input, _path, true && _exceptionable);
|
|
5283
|
+
else if ("clabe" === input.accountType)
|
|
5284
|
+
return _ao22(input, _path, true && _exceptionable);
|
|
5087
5285
|
else if (undefined !== input.brCode)
|
|
5088
|
-
return _ao21(input, _path, true && _exceptionable);
|
|
5089
|
-
else if (undefined !== input.pixKey)
|
|
5090
5286
|
return _ao23(input, _path, true && _exceptionable);
|
|
5287
|
+
else if (undefined !== input.pixKey)
|
|
5288
|
+
return _ao25(input, _path, true && _exceptionable);
|
|
5091
5289
|
else
|
|
5092
5290
|
return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5093
5291
|
method: "createAssertEquals",
|
|
@@ -5097,28 +5295,28 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
5097
5295
|
}, _errorFactory);
|
|
5098
5296
|
})(); const _au4 = (input, _path, _exceptionable = true) => (() => {
|
|
5099
5297
|
if ("individual" === input.type)
|
|
5100
|
-
return
|
|
5298
|
+
return _ao17(input, _path, true && _exceptionable);
|
|
5101
5299
|
else if ("business" === input.type)
|
|
5102
|
-
return
|
|
5300
|
+
return _ao18(input, _path, true && _exceptionable);
|
|
5103
5301
|
else if ("unknown" === input.type)
|
|
5104
|
-
return
|
|
5302
|
+
return _ao19(input, _path, true && _exceptionable);
|
|
5105
5303
|
else
|
|
5106
5304
|
return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5107
5305
|
method: "createAssertEquals",
|
|
5108
5306
|
path: _path,
|
|
5109
|
-
expected: "(__type.
|
|
5307
|
+
expected: "(__type.o14 | __type.o15 | __type.o16)",
|
|
5110
5308
|
value: input
|
|
5111
5309
|
}, _errorFactory);
|
|
5112
5310
|
})(); const _au5 = (input, _path, _exceptionable = true) => (() => {
|
|
5113
5311
|
if (true === input.ok)
|
|
5114
5312
|
return _ao0(input, _path, true && _exceptionable);
|
|
5115
5313
|
else if (false === input.ok)
|
|
5116
|
-
return
|
|
5314
|
+
return _ao29(input, _path, true && _exceptionable);
|
|
5117
5315
|
else
|
|
5118
5316
|
return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5119
5317
|
method: "createAssertEquals",
|
|
5120
5318
|
path: _path,
|
|
5121
|
-
expected: "(__type | __type.
|
|
5319
|
+
expected: "(__type | __type.o28)",
|
|
5122
5320
|
value: input
|
|
5123
5321
|
}, _errorFactory);
|
|
5124
5322
|
})(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _iu5(input, true); let _errorFactory; return (input, errorFactory) => {
|
|
@@ -5127,12 +5325,12 @@ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { c
|
|
|
5127
5325
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
5128
5326
|
method: "createAssertEquals",
|
|
5129
5327
|
path: _path + "",
|
|
5130
|
-
expected: "(__type | __type.
|
|
5328
|
+
expected: "(__type | __type.o28)",
|
|
5131
5329
|
value: input
|
|
5132
5330
|
}, _errorFactory)) && _au5(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
5133
5331
|
method: "createAssertEquals",
|
|
5134
5332
|
path: _path + "",
|
|
5135
|
-
expected: "(__type | __type.
|
|
5333
|
+
expected: "(__type | __type.o28)",
|
|
5136
5334
|
value: input
|
|
5137
5335
|
}, _errorFactory))(input, "$input", true);
|
|
5138
5336
|
}
|
|
@@ -11910,21 +12108,21 @@ export const isKeetaAssetMovementAnchorCreatePersistentForwardingResponse = (()
|
|
|
11910
12108
|
else
|
|
11911
12109
|
return false;
|
|
11912
12110
|
})(); return input => "object" === typeof input && null !== input && _iu6(input); })();
|
|
11913
|
-
export const isKeetaAssetMovementAnchorInitiateTransferResponse = (() => { const _iv3 = new Set(["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MK", "MP", "NO", "OM", "PK", "PW", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]); const _iv4 = new Set(["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MK", "MP", "NO", "OM", "PK", "PW", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]); const _io0 = input => true === input.ok && "string" === typeof input.id && (Array.isArray(input.instructionChoices) && input.instructionChoices.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io1 = input => "KEETA_SEND" === input.type && (null !== input.location && undefined !== input.location && ("bank-account:us" === input.location || "bank-account:iban-swift" === input.location || "bank-account:clabe" === input.location || "bank-account:pix" === 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) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location))) && "string" === typeof input.sendToAddress && "string" === typeof input.value && "string" === typeof input.tokenAddress && (undefined === input.external || "string" === typeof input.external) && "string" === typeof input.assetFee && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io2 = input => "chain" === input.type && ("object" === typeof input.chain && null !== input.chain && _iu2(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 => "solana" === input.type && "string" === typeof input.genesisHash; const _io6 = input => "bitcoin" === input.type && "string" === typeof input.magicBytes; const _io7 = input => "tron" === input.type && (null !== input.networkAlias && undefined !== input.networkAlias && ("mainnet" === input.networkAlias || "shasta" === input.networkAlias || "nile" === input.networkAlias || "string" === typeof input.networkAlias && RegExp(/^custom:(.*)/).test(input.networkAlias))); const _io8 = input => "object" === typeof input.account && null !== input.account && _io9(input.account) && "bank-account" === input.type; const _io9 = input => "us" === input.type || "iban-swift" === input.type || "clabe" === input.type || "pix" === input.type; const _io10 = input => "EVM_SEND" === input.type && (null !== input.location && undefined !== input.location && ("bank-account:us" === input.location || "bank-account:iban-swift" === input.location || "bank-account:clabe" === input.location || "bank-account:pix" === 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) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location))) && "string" === typeof input.sendToAddress && "string" === typeof input.value && ("string" === typeof input.tokenAddress && RegExp(/^0x(.*)/).test(input.tokenAddress)) && "string" === typeof input.assetFee && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io11 = input => "EVM_CALL" === input.type && (null !== input.location && undefined !== input.location && ("bank-account:us" === input.location || "bank-account:iban-swift" === input.location || "bank-account:clabe" === input.location || "bank-account:pix" === 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) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location))) && "string" === typeof input.contractAddress && "string" === typeof input.contractMethodName && (Array.isArray(input.contractMethodArgs) && input.contractMethodArgs.every(elem => "string" === typeof elem)) && "string" === typeof input.assetFee && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io12 = input => ("ACH" === input.type || "WIRE" === input.type || "SEPA_PUSH" === input.type) && ("object" === typeof input.account && null !== input.account && _iu3(input.account)) && (undefined === input.depositMessage || "string" === typeof input.depositMessage) && "string" === typeof input.value && "string" === typeof input.assetFee && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io13 = input => "bank-account" === input.type && (null !== input.accountAddress && (undefined === input.accountAddress || "string" === typeof input.accountAddress || "object" === typeof input.accountAddress && null !== input.accountAddress && _io14(input.accountAddress))) && (undefined === input.obfuscated || false === input.obfuscated) && (undefined === input.bankName || "string" === typeof input.bankName) && ("object" === typeof input.accountOwner && null !== input.accountOwner && _iu4(input.accountOwner)) && "us" === input.accountType && "string" === typeof input.accountNumber && "string" === typeof input.routingNumber && ("checking" === input.accountTypeDetail || "savings" === input.accountTypeDetail); const _io14 = input => "string" === typeof input.line1 && (undefined === input.line2 || "string" === typeof input.line2) && true === _iv3.has(input.country) && "string" === typeof input.postalCode && "string" === typeof input.subdivision && "string" === typeof input.city; const _io15 = input => "individual" === input.type && "string" === typeof input.firstName && "string" === typeof input.lastName; const _io16 = input => "business" === input.type && "string" === typeof input.businessName; const _io17 = input => "unknown" === input.type && "string" === typeof input.beneficiaryName; const _io18 = input => "bank-account" === input.type && (null !== input.accountAddress && (undefined === input.accountAddress || "string" === typeof input.accountAddress || "object" === typeof input.accountAddress && null !== input.accountAddress && _io14(input.accountAddress))) && (undefined === input.obfuscated || false === input.obfuscated) && (undefined === input.bankName || "string" === typeof input.bankName) && ("object" === typeof input.accountOwner && null !== input.accountOwner && _iu4(input.accountOwner)) && "iban-swift" === input.accountType && (undefined === input.country || true === _iv4.has(input.country)) && (undefined === input.accountNumber || "string" === typeof input.accountNumber) && (undefined === input.bic || "string" === typeof input.bic) && (undefined === input.iban || "string" === typeof input.iban) && (undefined === input.bankAddress || "object" === typeof input.bankAddress && null !== input.bankAddress && _io14(input.bankAddress)) && (undefined === input.swift || "object" === typeof input.swift && null !== input.swift && _io19(input.swift)); const _io19 = input => "string" === typeof input.category && (Array.isArray(input.purposeOfFunds) && input.purposeOfFunds.every(elem => "string" === typeof elem)) && "string" === typeof input.businessDescription; const _io20 = input => "bank-account" === input.type && (null !== input.accountAddress && (undefined === input.accountAddress || "string" === typeof input.accountAddress || "object" === typeof input.accountAddress && null !== input.accountAddress && _io14(input.accountAddress))) && (undefined === input.obfuscated || false === input.obfuscated) && (undefined === input.bankName || "string" === typeof input.bankName) && ("object" === typeof input.accountOwner && null !== input.accountOwner && _iu4(input.accountOwner)) && "clabe" === input.accountType && "string" === typeof input.accountNumber; const _io21 = input => "bank-account" === input.type && (null !== input.accountAddress && (undefined === input.accountAddress || "string" === typeof input.accountAddress || "object" === typeof input.accountAddress && null !== input.accountAddress && _io14(input.accountAddress))) && (undefined === input.obfuscated || false === input.obfuscated) && (undefined === input.bankName || "string" === typeof input.bankName) && ("object" === typeof input.accountOwner && null !== input.accountOwner && _iu4(input.accountOwner)) && "pix" === input.accountType && (undefined === input.document || "object" === typeof input.document && null !== input.document && _io22(input.document)) && "string" === typeof input.brCode; const _io22 = input => (undefined === input.type || "cpf" === input.type || "cnpj" === input.type) && "string" === typeof input.number; const _io23 = input => "bank-account" === input.type && (null !== input.accountAddress && (undefined === input.accountAddress || "string" === typeof input.accountAddress || "object" === typeof input.accountAddress && null !== input.accountAddress && _io14(input.accountAddress))) && (undefined === input.obfuscated || false === input.obfuscated) && (undefined === input.bankName || "string" === typeof input.bankName) && ("object" === typeof input.accountOwner && null !== input.accountOwner && _iu4(input.accountOwner)) && "pix" === input.accountType && (undefined === input.document || "object" === typeof input.document && null !== input.document && _io22(input.document)) && "string" === typeof input.pixKey; const _io24 = input => "TRON_SEND" === input.type && (null !== input.location && undefined !== input.location && ("bank-account:us" === input.location || "bank-account:iban-swift" === input.location || "bank-account:clabe" === input.location || "bank-account:pix" === 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) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location))) && "string" === typeof input.sendToAddress && "string" === typeof input.value && (undefined === input.tokenAddress || "string" === typeof input.tokenAddress) && "string" === typeof input.assetFee && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io25 = input => "BITCOIN_SEND" === input.type && (null !== input.location && undefined !== input.location && ("bank-account:us" === input.location || "bank-account:iban-swift" === input.location || "bank-account:clabe" === input.location || "bank-account:pix" === 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) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location))) && "string" === typeof input.sendToAddress && "string" === typeof input.value && "string" === typeof input.assetFee && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io26 = input => "SOLANA_SEND" === input.type && (null !== input.location && undefined !== input.location && ("bank-account:us" === input.location || "bank-account:iban-swift" === input.location || "bank-account:clabe" === input.location || "bank-account:pix" === 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) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location))) && "string" === typeof input.sendToAddress && "string" === typeof input.value && (undefined === input.tokenMintAddress || "string" === typeof input.tokenMintAddress) && "string" === typeof input.assetFee && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io27 = input => false === input.ok && "string" === typeof input.error; const _iu0 = input => (() => {
|
|
12111
|
+
export const isKeetaAssetMovementAnchorInitiateTransferResponse = (() => { const _iv3 = 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 _iv4 = 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 _iv6 = new Set(["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MK", "MP", "NO", "OM", "PK", "PW", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]); const _iv7 = new Set(["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MK", "MP", "NO", "OM", "PK", "PW", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]); const _io0 = input => true === input.ok && "string" === typeof input.id && (Array.isArray(input.instructionChoices) && input.instructionChoices.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io1 = input => "KEETA_SEND" === input.type && (null !== input.location && undefined !== input.location && ("bank-account:us" === input.location || "bank-account:iban-swift" === input.location || "bank-account:clabe" === input.location || "bank-account:pix" === 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) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location))) && "string" === typeof input.sendToAddress && "string" === typeof input.value && "string" === typeof input.tokenAddress && (undefined === input.external || "string" === typeof input.external) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _io10(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io2 = input => "chain" === input.type && ("object" === typeof input.chain && null !== input.chain && _iu2(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 => "solana" === input.type && "string" === typeof input.genesisHash; const _io6 = input => "bitcoin" === input.type && "string" === typeof input.magicBytes; const _io7 = input => "tron" === input.type && (null !== input.networkAlias && undefined !== input.networkAlias && ("mainnet" === input.networkAlias || "shasta" === input.networkAlias || "nile" === input.networkAlias || "string" === typeof input.networkAlias && RegExp(/^custom:(.*)/).test(input.networkAlias))); const _io8 = input => "object" === typeof input.account && null !== input.account && _io9(input.account) && "bank-account" === input.type; const _io9 = input => "us" === input.type || "iban-swift" === input.type || "clabe" === input.type || "pix" === input.type; const _io10 = input => Array.isArray(input.lineItems) && input.lineItems.every(elem => "object" === typeof elem && null !== elem && _io11(elem)) && (null !== input.totalPricedIn && (undefined === input.totalPricedIn || true === _iv3.has(input.totalPricedIn) || "string" === typeof input.totalPricedIn && (RegExp(/^\$(.*)/).test(input.totalPricedIn) || RegExp(/^keeta_am(.*)/).test(input.totalPricedIn) || RegExp(/^keeta_an(.*)/).test(input.totalPricedIn) || RegExp(/^keeta_ao(.*)/).test(input.totalPricedIn) || RegExp(/^keeta_ap(.*)/).test(input.totalPricedIn) || RegExp(/^tyblocks_am(.*)/).test(input.totalPricedIn) || RegExp(/^tyblocks_an(.*)/).test(input.totalPricedIn) || RegExp(/^tyblocks_ao(.*)/).test(input.totalPricedIn) || RegExp(/^tyblocks_ap(.*)/).test(input.totalPricedIn) || RegExp(/^solana:(.*)/).test(input.totalPricedIn) || RegExp(/^evm:0x(.*)/).test(input.totalPricedIn) || RegExp(/^tron:(.*)/).test(input.totalPricedIn)))) && "string" === typeof input.total; const _io11 = input => "string" === typeof input.value && ("RAIL" === input.purpose || "NETWORK" === input.purpose || "PROVIDER" === input.purpose || "VALUE_VARIABLE" === input.purpose || "OTHER" === input.purpose) && (null !== input.asset && (undefined === input.asset || true === _iv4.has(input.asset) || "string" === typeof input.asset && (RegExp(/^\$(.*)/).test(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) || RegExp(/^solana:(.*)/).test(input.asset) || RegExp(/^evm:0x(.*)/).test(input.asset) || RegExp(/^tron:(.*)/).test(input.asset)))); const _io12 = input => "EVM_SEND" === input.type && (null !== input.location && undefined !== input.location && ("bank-account:us" === input.location || "bank-account:iban-swift" === input.location || "bank-account:clabe" === input.location || "bank-account:pix" === 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) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location))) && "string" === typeof input.sendToAddress && "string" === typeof input.value && ("string" === typeof input.tokenAddress && RegExp(/^0x(.*)/).test(input.tokenAddress)) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _io10(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io13 = input => "EVM_CALL" === input.type && (null !== input.location && undefined !== input.location && ("bank-account:us" === input.location || "bank-account:iban-swift" === input.location || "bank-account:clabe" === input.location || "bank-account:pix" === 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) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location))) && "string" === typeof input.contractAddress && "string" === typeof input.contractMethodName && (Array.isArray(input.contractMethodArgs) && input.contractMethodArgs.every(elem => "string" === typeof elem)) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _io10(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io14 = input => ("ACH" === input.type || "WIRE" === input.type || "SEPA_PUSH" === input.type) && ("object" === typeof input.account && null !== input.account && _iu3(input.account)) && (undefined === input.depositMessage || "string" === typeof input.depositMessage) && "string" === typeof input.value && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _io10(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io15 = input => "bank-account" === input.type && (null !== input.accountAddress && (undefined === input.accountAddress || "string" === typeof input.accountAddress || "object" === typeof input.accountAddress && null !== input.accountAddress && _io16(input.accountAddress))) && (undefined === input.obfuscated || false === input.obfuscated) && (undefined === input.bankName || "string" === typeof input.bankName) && ("object" === typeof input.accountOwner && null !== input.accountOwner && _iu4(input.accountOwner)) && "us" === input.accountType && "string" === typeof input.accountNumber && "string" === typeof input.routingNumber && ("checking" === input.accountTypeDetail || "savings" === input.accountTypeDetail); const _io16 = input => "string" === typeof input.line1 && (undefined === input.line2 || "string" === typeof input.line2) && true === _iv6.has(input.country) && "string" === typeof input.postalCode && "string" === typeof input.subdivision && "string" === typeof input.city; const _io17 = input => "individual" === input.type && "string" === typeof input.firstName && "string" === typeof input.lastName; const _io18 = input => "business" === input.type && "string" === typeof input.businessName; const _io19 = input => "unknown" === input.type && "string" === typeof input.beneficiaryName; const _io20 = input => "bank-account" === input.type && (null !== input.accountAddress && (undefined === input.accountAddress || "string" === typeof input.accountAddress || "object" === typeof input.accountAddress && null !== input.accountAddress && _io16(input.accountAddress))) && (undefined === input.obfuscated || false === input.obfuscated) && (undefined === input.bankName || "string" === typeof input.bankName) && ("object" === typeof input.accountOwner && null !== input.accountOwner && _iu4(input.accountOwner)) && "iban-swift" === input.accountType && (undefined === input.country || true === _iv7.has(input.country)) && (undefined === input.accountNumber || "string" === typeof input.accountNumber) && (undefined === input.bic || "string" === typeof input.bic) && (undefined === input.iban || "string" === typeof input.iban) && (undefined === input.bankAddress || "object" === typeof input.bankAddress && null !== input.bankAddress && _io16(input.bankAddress)) && (undefined === input.swift || "object" === typeof input.swift && null !== input.swift && _io21(input.swift)); const _io21 = input => "string" === typeof input.category && (Array.isArray(input.purposeOfFunds) && input.purposeOfFunds.every(elem => "string" === typeof elem)) && "string" === typeof input.businessDescription; const _io22 = input => "bank-account" === input.type && (null !== input.accountAddress && (undefined === input.accountAddress || "string" === typeof input.accountAddress || "object" === typeof input.accountAddress && null !== input.accountAddress && _io16(input.accountAddress))) && (undefined === input.obfuscated || false === input.obfuscated) && (undefined === input.bankName || "string" === typeof input.bankName) && ("object" === typeof input.accountOwner && null !== input.accountOwner && _iu4(input.accountOwner)) && "clabe" === input.accountType && "string" === typeof input.accountNumber; const _io23 = input => "bank-account" === input.type && (null !== input.accountAddress && (undefined === input.accountAddress || "string" === typeof input.accountAddress || "object" === typeof input.accountAddress && null !== input.accountAddress && _io16(input.accountAddress))) && (undefined === input.obfuscated || false === input.obfuscated) && (undefined === input.bankName || "string" === typeof input.bankName) && ("object" === typeof input.accountOwner && null !== input.accountOwner && _iu4(input.accountOwner)) && "pix" === input.accountType && (undefined === input.document || "object" === typeof input.document && null !== input.document && _io24(input.document)) && "string" === typeof input.brCode; const _io24 = input => (undefined === input.type || "cpf" === input.type || "cnpj" === input.type) && "string" === typeof input.number; const _io25 = input => "bank-account" === input.type && (null !== input.accountAddress && (undefined === input.accountAddress || "string" === typeof input.accountAddress || "object" === typeof input.accountAddress && null !== input.accountAddress && _io16(input.accountAddress))) && (undefined === input.obfuscated || false === input.obfuscated) && (undefined === input.bankName || "string" === typeof input.bankName) && ("object" === typeof input.accountOwner && null !== input.accountOwner && _iu4(input.accountOwner)) && "pix" === input.accountType && (undefined === input.document || "object" === typeof input.document && null !== input.document && _io24(input.document)) && "string" === typeof input.pixKey; const _io26 = input => "TRON_SEND" === input.type && (null !== input.location && undefined !== input.location && ("bank-account:us" === input.location || "bank-account:iban-swift" === input.location || "bank-account:clabe" === input.location || "bank-account:pix" === 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) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location))) && "string" === typeof input.sendToAddress && "string" === typeof input.value && (undefined === input.tokenAddress || "string" === typeof input.tokenAddress) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _io10(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io27 = input => "BITCOIN_SEND" === input.type && (null !== input.location && undefined !== input.location && ("bank-account:us" === input.location || "bank-account:iban-swift" === input.location || "bank-account:clabe" === input.location || "bank-account:pix" === 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) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location))) && "string" === typeof input.sendToAddress && "string" === typeof input.value && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _io10(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io28 = input => "SOLANA_SEND" === input.type && (null !== input.location && undefined !== input.location && ("bank-account:us" === input.location || "bank-account:iban-swift" === input.location || "bank-account:clabe" === input.location || "bank-account:pix" === 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) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location))) && "string" === typeof input.sendToAddress && "string" === typeof input.value && (undefined === input.tokenMintAddress || "string" === typeof input.tokenMintAddress) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _io10(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io29 = input => false === input.ok && "string" === typeof input.error; const _iu0 = input => (() => {
|
|
11914
12112
|
if ("KEETA_SEND" === input.type)
|
|
11915
12113
|
return _io1(input);
|
|
11916
12114
|
else if ("EVM_SEND" === input.type)
|
|
11917
|
-
return
|
|
12115
|
+
return _io12(input);
|
|
11918
12116
|
else if ("EVM_CALL" === input.type)
|
|
11919
|
-
return
|
|
12117
|
+
return _io13(input);
|
|
11920
12118
|
else if ("ACH" === input.type || "WIRE" === input.type || "SEPA_PUSH" === input.type)
|
|
11921
|
-
return
|
|
12119
|
+
return _io14(input);
|
|
11922
12120
|
else if ("TRON_SEND" === input.type)
|
|
11923
|
-
return
|
|
12121
|
+
return _io26(input);
|
|
11924
12122
|
else if ("BITCOIN_SEND" === input.type)
|
|
11925
|
-
return
|
|
12123
|
+
return _io27(input);
|
|
11926
12124
|
else if ("SOLANA_SEND" === input.type)
|
|
11927
|
-
return
|
|
12125
|
+
return _io28(input);
|
|
11928
12126
|
else
|
|
11929
12127
|
return false;
|
|
11930
12128
|
})(); const _iu1 = input => (() => {
|
|
@@ -11949,31 +12147,31 @@ export const isKeetaAssetMovementAnchorInitiateTransferResponse = (() => { const
|
|
|
11949
12147
|
return false;
|
|
11950
12148
|
})(); const _iu3 = input => (() => {
|
|
11951
12149
|
if ("us" === input.accountType)
|
|
11952
|
-
return
|
|
12150
|
+
return _io15(input);
|
|
11953
12151
|
else if ("iban-swift" === input.accountType)
|
|
11954
|
-
return _io18(input);
|
|
11955
|
-
else if ("clabe" === input.accountType)
|
|
11956
12152
|
return _io20(input);
|
|
12153
|
+
else if ("clabe" === input.accountType)
|
|
12154
|
+
return _io22(input);
|
|
11957
12155
|
else if (undefined !== input.brCode)
|
|
11958
|
-
return _io21(input);
|
|
11959
|
-
else if (undefined !== input.pixKey)
|
|
11960
12156
|
return _io23(input);
|
|
12157
|
+
else if (undefined !== input.pixKey)
|
|
12158
|
+
return _io25(input);
|
|
11961
12159
|
else
|
|
11962
12160
|
return false;
|
|
11963
12161
|
})(); const _iu4 = input => (() => {
|
|
11964
12162
|
if ("individual" === input.type)
|
|
11965
|
-
return
|
|
12163
|
+
return _io17(input);
|
|
11966
12164
|
else if ("business" === input.type)
|
|
11967
|
-
return
|
|
12165
|
+
return _io18(input);
|
|
11968
12166
|
else if ("unknown" === input.type)
|
|
11969
|
-
return
|
|
12167
|
+
return _io19(input);
|
|
11970
12168
|
else
|
|
11971
12169
|
return false;
|
|
11972
12170
|
})(); const _iu5 = input => (() => {
|
|
11973
12171
|
if (true === input.ok)
|
|
11974
12172
|
return _io0(input);
|
|
11975
12173
|
else if (false === input.ok)
|
|
11976
|
-
return
|
|
12174
|
+
return _io29(input);
|
|
11977
12175
|
else
|
|
11978
12176
|
return false;
|
|
11979
12177
|
})(); return input => "object" === typeof input && null !== input && _iu5(input); })();
|