@nexeraid/identity-schemas 2.196.0-dev → 2.198.0-dev
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/dist/declarations/src/crypto.schema.d.ts +2 -2
- package/dist/declarations/src/crypto.schema.d.ts.map +1 -1
- package/dist/declarations/src/index.d.ts +1 -0
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/declarations/src/providers/customers.schema.d.ts +2 -2
- package/dist/declarations/src/providers/index.d.ts +1 -1
- package/dist/declarations/src/providers/index.d.ts.map +1 -1
- package/dist/declarations/src/providers/kyb-sessions.schema.d.ts +2 -2
- package/dist/declarations/src/providers/{nota-bene/nota-bene.schema.d.ts → notabene/notabene.schema.d.ts} +4569 -17751
- package/dist/declarations/src/providers/{nota-bene/nota-bene.schema.d.ts.map → notabene/notabene.schema.d.ts.map} +1 -1
- package/dist/declarations/src/providers/provider.schema.d.ts +75 -25
- package/dist/declarations/src/providers/provider.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/sumsub/sumsub-applicant.schema.d.ts +18 -18
- package/dist/declarations/src/providers/sumsub/sumsub-webhooks.schema.d.ts +2 -2
- package/dist/declarations/src/providers/synaps/synaps.schema.d.ts +48 -48
- package/dist/declarations/src/transaction.schema.d.ts +36 -30
- package/dist/declarations/src/transaction.schema.d.ts.map +1 -1
- package/dist/declarations/src/travel-rule.schema.d.ts +14 -0
- package/dist/declarations/src/travel-rule.schema.d.ts.map +1 -0
- package/dist/{identity-api.schema-fbf3ebdf.cjs.dev.cjs → identity-api.schema-897fa13f.cjs.dev.cjs} +1 -1
- package/dist/{identity-api.schema-61a3a904.esm.mjs → identity-api.schema-ace335f7.esm.mjs} +1 -1
- package/dist/{identity-api.schema-b70ea48d.cjs.prod.cjs → identity-api.schema-f130919a.cjs.prod.cjs} +1 -1
- package/dist/nexeraid-identity-schemas.cjs.dev.cjs +16 -4
- package/dist/nexeraid-identity-schemas.cjs.prod.cjs +16 -4
- package/dist/nexeraid-identity-schemas.esm.mjs +15 -6
- package/dist/{nota-bene.schema-223cb8f9.cjs.dev.cjs → notabene.schema-35ddf959.cjs.dev.cjs} +114 -74
- package/dist/{nota-bene.schema-6e877fea.esm.mjs → notabene.schema-b0248e78.esm.mjs} +105 -69
- package/dist/{nota-bene.schema-f9a5071b.cjs.prod.cjs → notabene.schema-f6e3e1e3.cjs.prod.cjs} +114 -74
- package/dist/package.json +1 -1
- package/dist/{tfhe-utilities-43b94ef2.cjs.dev.cjs → tfhe-utilities-a00acbf7.cjs.dev.cjs} +2 -2
- package/dist/{tfhe-utilities-b784026d.cjs.prod.cjs → tfhe-utilities-a685a571.cjs.prod.cjs} +2 -2
- package/dist/{tfhe-utilities-24522032.esm.mjs → tfhe-utilities-e68cd2ad.esm.mjs} +2 -2
- package/dist/{toArray-b9f47315.cjs.dev.cjs → toArray-5e5125f2.cjs.dev.cjs} +1 -1
- package/dist/{toArray-bf2f4671.cjs.prod.cjs → toArray-9f6e79c6.cjs.prod.cjs} +1 -1
- package/dist/{toArray-3f540af6.esm.mjs → toArray-c7fd14be.esm.mjs} +1 -1
- package/dist/{vault.schema-cf144eaa.cjs.dev.cjs → vault.schema-31179c6c.cjs.dev.cjs} +5 -1
- package/dist/{vault.schema-23f1dece.esm.mjs → vault.schema-8f9dcd31.esm.mjs} +6 -2
- package/dist/{vault.schema-f8011417.cjs.prod.cjs → vault.schema-a7ef3965.cjs.prod.cjs} +5 -1
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.cjs +2 -2
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.cjs +2 -2
- package/identity/dist/nexeraid-identity-schemas-identity.esm.mjs +2 -2
- package/package.json +1 -1
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.cjs +317 -313
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.cjs +317 -313
- package/providers/dist/nexeraid-identity-schemas-providers.esm.mjs +3 -3
- package/vault/dist/nexeraid-identity-schemas-vault.cjs.dev.cjs +2 -2
- package/vault/dist/nexeraid-identity-schemas-vault.cjs.prod.cjs +2 -2
- package/vault/dist/nexeraid-identity-schemas-vault.esm.mjs +3 -3
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.cjs +3 -3
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.cjs +3 -3
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs +3 -3
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.cjs +16 -16
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.cjs +16 -16
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.mjs +4 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var z = require('zod');
|
|
4
|
-
var vault_schema = require('./vault.schema-
|
|
5
|
-
var identityApi_schema = require('./identity-api.schema-
|
|
4
|
+
var vault_schema = require('./vault.schema-31179c6c.cjs.dev.cjs');
|
|
5
|
+
var identityApi_schema = require('./identity-api.schema-897fa13f.cjs.dev.cjs');
|
|
6
6
|
|
|
7
7
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -1442,7 +1442,7 @@ var TRMLabsAddressesScreeningResponse = z__default["default"].union([TRMLabsAddr
|
|
|
1442
1442
|
var ProviderWithoutConfig = ["chainalysis", "scorechain", "integratedScorechain", "trmLabs"];
|
|
1443
1443
|
var IdentityProviderOptions = ["nexeraIdSSID", "nexeraIdKYB", "synaps", "ondato"];
|
|
1444
1444
|
var IdentityProvider = z.z["enum"](IdentityProviderOptions);
|
|
1445
|
-
var DataProviderOptions = ["complyAdvantage", "big", "scorechain", "merkleScience", "chainalysis", "trmLabs", "crystal", "notabene", "ipQualityScore", "integratedComplyAdvantage", "integratedScorechain", "integratedIpqualityscore"];
|
|
1445
|
+
var DataProviderOptions = ["complyAdvantage", "big", "scorechain", "merkleScience", "chainalysis", "trmLabs", "crystal", "notabene", "ipQualityScore", "integratedComplyAdvantage", "integratedScorechain", "integratedIpqualityscore", "notabene"];
|
|
1446
1446
|
var DataProvider = z.z["enum"](DataProviderOptions);
|
|
1447
1447
|
var MergedProviders = z.z["enum"]([].concat(vault_schema._toConsumableArray(IdentityProvider.options), vault_schema._toConsumableArray(DataProvider.options)));
|
|
1448
1448
|
var MerkleScienceConfig = z.z.object({
|
|
@@ -1472,6 +1472,9 @@ var IpQualityConfig = z.z.object({
|
|
|
1472
1472
|
emailVerification: z.z["boolean"]().nullish()["default"](false),
|
|
1473
1473
|
phoneVerification: z.z["boolean"]().nullish()["default"](false)
|
|
1474
1474
|
});
|
|
1475
|
+
var NotabeneConfig = z.z.object({
|
|
1476
|
+
// TODO Define this
|
|
1477
|
+
});
|
|
1475
1478
|
var ProviderIntegrationTypeOptions = ["integrated", "external"];
|
|
1476
1479
|
var ProviderIntegrationType = z.z["enum"](ProviderIntegrationTypeOptions);
|
|
1477
1480
|
// the following configurations are used for CMS providers
|
|
@@ -1540,6 +1543,19 @@ var CrystalIntelligenceProvider = BaseProvider.extend({
|
|
|
1540
1543
|
enabled: z.z["boolean"]().nullish()
|
|
1541
1544
|
}).nullish()
|
|
1542
1545
|
});
|
|
1546
|
+
var NotabeneProvider = BaseProvider.omit({
|
|
1547
|
+
apiKey: true
|
|
1548
|
+
}).extend({
|
|
1549
|
+
clientId: z.z.string().nullish(),
|
|
1550
|
+
clientSecret: z.z.string().nullish(),
|
|
1551
|
+
vaspDID: z.z.string().nullish(),
|
|
1552
|
+
onRulesEngine: z.z.object({
|
|
1553
|
+
enabled: z.z["boolean"]().nullish()
|
|
1554
|
+
}).nullish(),
|
|
1555
|
+
onNewRecord: z.z.object({
|
|
1556
|
+
enabled: z.z["boolean"]().nullish()
|
|
1557
|
+
}).nullish()
|
|
1558
|
+
});
|
|
1543
1559
|
var IpqualityscoreProvider = BaseProvider.extend({
|
|
1544
1560
|
onRulesEngine: z.z.object({
|
|
1545
1561
|
enabled: z.z["boolean"]().nullish(),
|
|
@@ -2816,12 +2832,12 @@ var commonDID = z.z.string().regex(/^did:[a-zA-Z0-9]*:.*$/, "Common Decentralize
|
|
|
2816
2832
|
var PROD_AUDIENCE = "https://api.notabene.id";
|
|
2817
2833
|
var TEST_AUDIENCE = "https://api.notabene.dev";
|
|
2818
2834
|
var AUDIENCES = [PROD_AUDIENCE, TEST_AUDIENCE];
|
|
2819
|
-
var
|
|
2835
|
+
var NotabeneAudience = z.z["enum"](AUDIENCES);
|
|
2820
2836
|
var AuthTokenRequest = z.z.object({
|
|
2821
2837
|
client_id: z.z.string(),
|
|
2822
2838
|
client_secret: z.z.string(),
|
|
2823
2839
|
grant_type: z.z.literal("client_credentials"),
|
|
2824
|
-
audience:
|
|
2840
|
+
audience: NotabeneAudience
|
|
2825
2841
|
});
|
|
2826
2842
|
var AuthToken = z.z.object({
|
|
2827
2843
|
access_token: z.z.string(),
|
|
@@ -2834,6 +2850,27 @@ var AuthTokenError = z.z.object({
|
|
|
2834
2850
|
error: z.z.string()
|
|
2835
2851
|
});
|
|
2836
2852
|
var AuthTokenResponse = z.z.union([AuthToken, AuthTokenError]);
|
|
2853
|
+
var NotabeneAssetResponse = z.z.object({
|
|
2854
|
+
data: z.z.object({
|
|
2855
|
+
asset_type: z.z.string().nullish(),
|
|
2856
|
+
notabene_asset: z.z.string().nullish(),
|
|
2857
|
+
notabene_description: z.z.string().nullish(),
|
|
2858
|
+
decimals: z.z.string(),
|
|
2859
|
+
coingecko_id: z.z.string().nullish(),
|
|
2860
|
+
notabene_network: z.z.string().nullish(),
|
|
2861
|
+
elliptic_asset: z.z.string().nullish(),
|
|
2862
|
+
elliptic_blockchain: z.z.string().nullish(),
|
|
2863
|
+
trmlabs_asset: z.z.string().nullish(),
|
|
2864
|
+
trmlabs_chain: z.z.string().nullish(),
|
|
2865
|
+
chainalysis_asset: z.z.string().nullish(),
|
|
2866
|
+
chainalysis_network: z.z.string().nullish(),
|
|
2867
|
+
coinfirm_asset_type: z.z.string().nullish(),
|
|
2868
|
+
crystal_id: z.z.string().nullish(),
|
|
2869
|
+
crystal_currency: z.z.string().nullish(),
|
|
2870
|
+
merkle_blockchain: z.z.string().nullish(),
|
|
2871
|
+
scorechain_blockchain: z.z.string().nullish()
|
|
2872
|
+
})
|
|
2873
|
+
});
|
|
2837
2874
|
var NAME_IDENTIFIER_TYPE = ["ALIA", "BIRT", "MAID", "LEGL", "MISC"];
|
|
2838
2875
|
var NameIdentifierType = z.z["enum"](NAME_IDENTIFIER_TYPE);
|
|
2839
2876
|
var NATIONAL_IDENTIFIER_TYPE = ["ARNU", "CCPT", "RAID", "DRLC", "FIIN", "TXID", "SOCS", "IDCD", "LEIX", "MISC"];
|
|
@@ -2841,10 +2878,10 @@ var NationalIdentifierType = z.z["enum"](NATIONAL_IDENTIFIER_TYPE);
|
|
|
2841
2878
|
var NaturalPersonNameIdentifier = z.z.array(z.z.object({
|
|
2842
2879
|
primaryIdentifier: z.z.string().optional(),
|
|
2843
2880
|
secondaryIdentifier: z.z.string().optional(),
|
|
2844
|
-
nameIdentifierType:
|
|
2881
|
+
nameIdentifierType: z.z.string().optional()
|
|
2845
2882
|
}));
|
|
2846
2883
|
var GeographicAddress = z.z.array(z.z.object({
|
|
2847
|
-
addressType: z.z
|
|
2884
|
+
addressType: z.z.string().optional(),
|
|
2848
2885
|
department: z.z.string().optional(),
|
|
2849
2886
|
subDepartment: z.z.string().optional(),
|
|
2850
2887
|
streetName: z.z.string().optional(),
|
|
@@ -2873,7 +2910,7 @@ var NaturalPerson = z.z.object({
|
|
|
2873
2910
|
nationalIdentifierType: NationalIdentifierType,
|
|
2874
2911
|
countryOfIssue: z.z.string().optional(),
|
|
2875
2912
|
registrationAuthority: z.z.string().optional()
|
|
2876
|
-
}),
|
|
2913
|
+
}).optional(),
|
|
2877
2914
|
customerIdentification: z.z.string().optional(),
|
|
2878
2915
|
dateAndPlaceOfBirth: z.z.object({
|
|
2879
2916
|
dateOfBirth: z.z.string().regex(/^([0-9]{4})-([0-9]{2})-([0-9]{2})$/),
|
|
@@ -2885,23 +2922,23 @@ var LEGAL_PERSONAL_NAME_IDENTIFIER_TYPE = ["LEGL", "SHRT", "TRAD"];
|
|
|
2885
2922
|
var LegalPersonNameIdentifierType = z.z["enum"](LEGAL_PERSONAL_NAME_IDENTIFIER_TYPE);
|
|
2886
2923
|
var LegalPersonNameIdentifier = z.z.array(z.z.object({
|
|
2887
2924
|
legalPersonName: z.z.string().optional(),
|
|
2888
|
-
legalPersonNameIdentifierType:
|
|
2925
|
+
legalPersonNameIdentifierType: z.z.string().optional()
|
|
2889
2926
|
}));
|
|
2890
2927
|
var LegalPerson = z.z.object({
|
|
2891
|
-
name: z.z.
|
|
2928
|
+
name: z.z.object({
|
|
2892
2929
|
nameIdentifier: LegalPersonNameIdentifier,
|
|
2893
2930
|
localNameIdentifier: LegalPersonNameIdentifier.optional(),
|
|
2894
2931
|
phoneticNameIdentifier: LegalPersonNameIdentifier.optional()
|
|
2895
|
-
})
|
|
2896
|
-
geographicAddress: GeographicAddress,
|
|
2932
|
+
}),
|
|
2933
|
+
geographicAddress: GeographicAddress.optional(),
|
|
2897
2934
|
customerNumber: z.z.string().optional(),
|
|
2898
2935
|
nationalIdentification: z.z.object({
|
|
2899
2936
|
nationalIdentifier: z.z.string(),
|
|
2900
2937
|
nationalIdentifierType: NationalIdentifierType,
|
|
2901
2938
|
countryOfIssue: vault_schema.Alpha2Country.optional(),
|
|
2902
2939
|
registrationAuthority: z.z.string().optional()
|
|
2903
|
-
}),
|
|
2904
|
-
dateOfRegistration: z.z.string().regex(/^([0-9]{4})-([0-9]{2})-([0-9]{2})$/),
|
|
2940
|
+
}).optional(),
|
|
2941
|
+
dateOfRegistration: z.z.string().regex(/^([0-9]{4})-([0-9]{2})-([0-9]{2})$/).optional(),
|
|
2905
2942
|
countryOfRegistration: vault_schema.Alpha2Country.optional()
|
|
2906
2943
|
});
|
|
2907
2944
|
var transactionPersonProofs = z.z.union([z.z.object({
|
|
@@ -2973,10 +3010,10 @@ var Pii = z.z.object({
|
|
|
2973
3010
|
transliterationMethod: z.z.array(z.z.string()).optional()
|
|
2974
3011
|
}).optional()
|
|
2975
3012
|
});
|
|
2976
|
-
var
|
|
3013
|
+
var NotabeneTxCreateRequest = z.z.object({
|
|
2977
3014
|
transactionRef: z.z.string().optional(),
|
|
2978
3015
|
transactionAsset: z.z.string(),
|
|
2979
|
-
transactionAmount: z.z.string(),
|
|
3016
|
+
transactionAmount: z.z.string().regex(/^0*[1-9][0-9]*$/),
|
|
2980
3017
|
transactionAssetDecimals: z.z.number().optional(),
|
|
2981
3018
|
customAssetPrice: CustomAssetPrice.optional(),
|
|
2982
3019
|
originatorDid: commonDID.optional(),
|
|
@@ -3008,93 +3045,92 @@ var TxCreateRequest = z.z.object({
|
|
|
3008
3045
|
blockchainTransactionTimestamp: z.z.coerce.date().optional()
|
|
3009
3046
|
});
|
|
3010
3047
|
var TX_CREATE_STATUS = ["SAVED", "MISSING_BENEFICIARY_DATA", "NEW", "WAITING_FOR_INFORMATION", "SENT", "REJECTED", "DECLINED", "ACK", "CANCELLED", "INCOMPLETE", "ACCEPTED", "NOT_READY"];
|
|
3011
|
-
var
|
|
3048
|
+
var NotabeneTxCreateStatus = z.z["enum"](TX_CREATE_STATUS);
|
|
3012
3049
|
var TRANSACTION_TYPE = ["BELOW_THRESHOLD", "NON_CUSTODIAL", "TRAVELRULE", "UNKNOWN"];
|
|
3013
3050
|
var TransactionType = z.z["enum"](TRANSACTION_TYPE);
|
|
3014
|
-
var
|
|
3051
|
+
var NotabeneTxCreateResponse = z.z.object({
|
|
3015
3052
|
id: z.z.string(),
|
|
3016
|
-
status:
|
|
3053
|
+
status: NotabeneTxCreateStatus.nullish(),
|
|
3017
3054
|
transactionType: TransactionType,
|
|
3018
3055
|
transactionAsset: z.z.string(),
|
|
3019
3056
|
transactionAmount: z.z.string(),
|
|
3020
3057
|
chargedQuantity: z.z.number(),
|
|
3021
3058
|
amountInLocalCurrency: z.z.object({
|
|
3022
|
-
amountInLocalCurrency: z.z.number().
|
|
3023
|
-
currency: z.z.string().
|
|
3024
|
-
}).
|
|
3059
|
+
amountInLocalCurrency: z.z.number().nullish(),
|
|
3060
|
+
currency: z.z.string().nullish()
|
|
3061
|
+
}).nullish(),
|
|
3025
3062
|
beneficiaryAmountInLocalCurrency: z.z.object({
|
|
3026
|
-
amountInLocalCurrency: z.z.number().
|
|
3027
|
-
currency: z.z.string().
|
|
3028
|
-
}).
|
|
3029
|
-
originatorDid: commonDID.
|
|
3030
|
-
beneficiaryDid: commonDID,
|
|
3031
|
-
originatorVASPdid: commonDID.
|
|
3032
|
-
beneficiaryVASPdid: commonDID.
|
|
3063
|
+
amountInLocalCurrency: z.z.number().nullish(),
|
|
3064
|
+
currency: z.z.string().nullish()
|
|
3065
|
+
}).nullish(),
|
|
3066
|
+
originatorDid: commonDID.nullish(),
|
|
3067
|
+
beneficiaryDid: commonDID.nullish(),
|
|
3068
|
+
originatorVASPdid: commonDID.nullish(),
|
|
3069
|
+
beneficiaryVASPdid: commonDID.nullish(),
|
|
3033
3070
|
transactionBlockchainInfo: z.z.object({
|
|
3034
|
-
txHash: z.z.string().
|
|
3035
|
-
origin: z.z.string().
|
|
3071
|
+
txHash: z.z.string().nullish(),
|
|
3072
|
+
origin: z.z.string().nullish(),
|
|
3036
3073
|
destination: z.z.string()
|
|
3037
|
-
}).
|
|
3074
|
+
}).nullish(),
|
|
3038
3075
|
ivms101: z.z.object({
|
|
3039
3076
|
originator: z.z.object({
|
|
3040
|
-
originatorPersons: z.z.array(NaturalLegalPerson).
|
|
3041
|
-
accountNumber: z.z.array(z.z.string()).
|
|
3077
|
+
originatorPersons: z.z.array(NaturalLegalPerson).nullish(),
|
|
3078
|
+
accountNumber: z.z.array(z.z.string()).nullish()
|
|
3042
3079
|
}),
|
|
3043
3080
|
beneficiary: z.z.object({
|
|
3044
|
-
beneficiaryPersons: z.z.array(NaturalLegalPerson).
|
|
3045
|
-
accountNumber: z.z.array(z.z.string()).
|
|
3081
|
+
beneficiaryPersons: z.z.array(NaturalLegalPerson).nullish(),
|
|
3082
|
+
accountNumber: z.z.array(z.z.string()).nullish()
|
|
3046
3083
|
}),
|
|
3047
3084
|
originatingVASP: z.z.object({
|
|
3048
|
-
originatingVASP: NaturalLegalPerson.
|
|
3049
|
-
}).
|
|
3085
|
+
originatingVASP: NaturalLegalPerson.nullish()
|
|
3086
|
+
}).nullish(),
|
|
3050
3087
|
beneficiaryVASP: z.z.object({
|
|
3051
|
-
beneficiaryVASP: NaturalLegalPerson.
|
|
3052
|
-
}).
|
|
3088
|
+
beneficiaryVASP: NaturalLegalPerson.nullish()
|
|
3089
|
+
}).nullish(),
|
|
3053
3090
|
transferPath: z.z.object({
|
|
3054
3091
|
transferPath: z.z.array(z.z.object({
|
|
3055
3092
|
intermediaryVASP: NaturalLegalPerson,
|
|
3056
3093
|
sequence: z.z.string()
|
|
3057
|
-
})).
|
|
3058
|
-
}).
|
|
3094
|
+
})).nullish()
|
|
3095
|
+
}).nullish(),
|
|
3059
3096
|
payloadMetadata: z.z.object({
|
|
3060
|
-
transliterationMethod: z.z.array(z.z.string()).
|
|
3061
|
-
}).
|
|
3097
|
+
transliterationMethod: z.z.array(z.z.string()).nullish()
|
|
3098
|
+
}).nullish()
|
|
3062
3099
|
}).nullish(),
|
|
3063
3100
|
ivms101Encrypted: z.z.string().nullish(),
|
|
3064
|
-
protocol: z.z["enum"](["TRLight", "TRP", "OpenVASP"]).
|
|
3101
|
+
protocol: z.z["enum"](["TRLight", "TRP", "OpenVASP"]).nullish(),
|
|
3065
3102
|
protocolData: z.z.object({
|
|
3066
3103
|
trLightData: z.z.object({
|
|
3067
|
-
notificationEmails: z.z.array(z.z.string()).
|
|
3068
|
-
}).
|
|
3069
|
-
}).
|
|
3104
|
+
notificationEmails: z.z.array(z.z.string()).nullish()
|
|
3105
|
+
}).nullish()
|
|
3106
|
+
}).nullish(),
|
|
3070
3107
|
originatorProof: transactionPersonProofs.nullish(),
|
|
3071
3108
|
beneficiaryProof: transactionPersonProofs.nullish(),
|
|
3072
3109
|
actions: z.z.array(z.z.object({
|
|
3073
|
-
hash: z.z.string().
|
|
3074
|
-
issuerDID: commonDID.
|
|
3075
|
-
action: z.z.string().
|
|
3076
|
-
actionData: z.z.string().
|
|
3077
|
-
})).
|
|
3078
|
-
pii: Pii.
|
|
3110
|
+
hash: z.z.string().nullish(),
|
|
3111
|
+
issuerDID: commonDID.nullish(),
|
|
3112
|
+
action: z.z.string().nullish(),
|
|
3113
|
+
actionData: z.z.string().nullish()
|
|
3114
|
+
})).nullish(),
|
|
3115
|
+
pii: Pii.nullish(),
|
|
3079
3116
|
comments: z.z.array(z.z.object({
|
|
3080
|
-
vaspDID: commonDID.
|
|
3081
|
-
createdAt: z.z.string().
|
|
3117
|
+
vaspDID: commonDID.nullish(),
|
|
3118
|
+
createdAt: z.z.string().nullish(),
|
|
3082
3119
|
createdBy: z.z.object({
|
|
3083
|
-
userDID: commonDID.
|
|
3084
|
-
userName: z.z.string().
|
|
3085
|
-
}).
|
|
3086
|
-
text: z.z.string().
|
|
3087
|
-
})).
|
|
3120
|
+
userDID: commonDID.nullish(),
|
|
3121
|
+
userName: z.z.string().nullish()
|
|
3122
|
+
}).nullish(),
|
|
3123
|
+
text: z.z.string().nullish()
|
|
3124
|
+
})).nullish()
|
|
3088
3125
|
});
|
|
3089
3126
|
var NOTABENE_ERROR_CODE = ["NotabeneTransactionError", "UserDIDNotAdminforVASPError", "NotabenePaymentNoCustomerError", "NotabenePaymentNoSubscriptionError", "NotabeneTransactionNoActiveSubscriptionError", "NotabeneCryptoAssetNotAvailable", "NotabeneTransactionValidationError", "NotabeneTransactionBelowThresholdError", "NotabeneTransactionSunriseLimitReachedError"];
|
|
3090
|
-
var
|
|
3091
|
-
var
|
|
3092
|
-
name:
|
|
3093
|
-
code: z.z.number().
|
|
3094
|
-
message: z.z.string(),
|
|
3095
|
-
stack: z.z.string().
|
|
3127
|
+
var NotabeneErrorCode = z.z["enum"](NOTABENE_ERROR_CODE);
|
|
3128
|
+
var NotabeneTxCreateError = z.z.object({
|
|
3129
|
+
name: NotabeneErrorCode.nullish(),
|
|
3130
|
+
code: z.z.number().nullish(),
|
|
3131
|
+
message: z.z.string().nullish(),
|
|
3132
|
+
stack: z.z.string().nullish()
|
|
3096
3133
|
});
|
|
3097
|
-
var TxCreateResponse = z.z.union([TxCreate, TxCreateError]);
|
|
3098
3134
|
|
|
3099
3135
|
exports.AMLMetadata = AMLMetadata;
|
|
3100
3136
|
exports.APPLICANT_CHECK_STATUSES = APPLICANT_CHECK_STATUSES;
|
|
@@ -3246,6 +3282,7 @@ exports.KycSessionStatus = KycSessionStatus;
|
|
|
3246
3282
|
exports.KycStep = KycStep;
|
|
3247
3283
|
exports.KycStepStatus = KycStepStatus;
|
|
3248
3284
|
exports.KycStepStatuses = KycStepStatuses;
|
|
3285
|
+
exports.LegalPersonNameIdentifierType = LegalPersonNameIdentifierType;
|
|
3249
3286
|
exports.LivenessMetadata = LivenessMetadata;
|
|
3250
3287
|
exports.MEDIUM_RISK_TYPES = MEDIUM_RISK_TYPES;
|
|
3251
3288
|
exports.MatchStatus = MatchStatus;
|
|
@@ -3266,8 +3303,15 @@ exports.NationalIdentifierType = NationalIdentifierType;
|
|
|
3266
3303
|
exports.NestedSession = NestedSession;
|
|
3267
3304
|
exports.NexeraIdKYBProvider = NexeraIdKYBProvider;
|
|
3268
3305
|
exports.NexeraIdSSIDProvider = NexeraIdSSIDProvider;
|
|
3269
|
-
exports.
|
|
3270
|
-
exports.
|
|
3306
|
+
exports.NotabeneAssetResponse = NotabeneAssetResponse;
|
|
3307
|
+
exports.NotabeneAudience = NotabeneAudience;
|
|
3308
|
+
exports.NotabeneConfig = NotabeneConfig;
|
|
3309
|
+
exports.NotabeneErrorCode = NotabeneErrorCode;
|
|
3310
|
+
exports.NotabeneProvider = NotabeneProvider;
|
|
3311
|
+
exports.NotabeneTxCreateError = NotabeneTxCreateError;
|
|
3312
|
+
exports.NotabeneTxCreateRequest = NotabeneTxCreateRequest;
|
|
3313
|
+
exports.NotabeneTxCreateResponse = NotabeneTxCreateResponse;
|
|
3314
|
+
exports.NotabeneTxCreateStatus = NotabeneTxCreateStatus;
|
|
3271
3315
|
exports.PhoneMetadata = PhoneMetadata;
|
|
3272
3316
|
exports.PhoneVerificationAnalysisResponse = PhoneVerificationAnalysisResponse;
|
|
3273
3317
|
exports.ProofOfAddressDocumentType = ProofOfAddressDocumentType;
|
|
@@ -3386,10 +3430,6 @@ exports.TRMLabsRiskScoreToScorechainRiskMapping = TRMLabsRiskScoreToScorechainRi
|
|
|
3386
3430
|
exports.TRM_RISK_SCORE_LEVEL = TRM_RISK_SCORE_LEVEL;
|
|
3387
3431
|
exports.TRM_RISK_SCORE_LEVEL_LABEL = TRM_RISK_SCORE_LEVEL_LABEL;
|
|
3388
3432
|
exports.ToggleProviderInput = ToggleProviderInput;
|
|
3389
|
-
exports.TxCreate = TxCreate;
|
|
3390
|
-
exports.TxCreateError = TxCreateError;
|
|
3391
|
-
exports.TxCreateRequest = TxCreateRequest;
|
|
3392
|
-
exports.TxCreateResponse = TxCreateResponse;
|
|
3393
3433
|
exports.UNKNOWN_ERROR = UNKNOWN_ERROR;
|
|
3394
3434
|
exports.UpdateKybSessionOutput = UpdateKybSessionOutput;
|
|
3395
3435
|
exports.UpdateKycSessionOutput = UpdateKycSessionOutput;
|