@procivis/react-native-one-core 1.77931.0 → 1.84437.0
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/README.md +15 -14
- package/android/build.gradle +0 -11
- package/android/src/main/java/ch/procivis/one/core/ProcivisOneCoreModule.kt +4 -4
- package/android/src/main/java/ch/procivis/one/core/SerializeSpecific.kt +128 -67
- package/android/src/main/java/ch/procivis/one/core/ubiqu/PinPadViewManager.kt +5 -8
- package/android/src/main/java/ch/procivis/one/core/ubiqu/UbiquKeyStorage.kt +17 -222
- package/core-sdk.json +6 -6
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/src/config.d.ts +3 -2
- package/dist/src/config.js +5 -0
- package/dist/src/core.d.ts +5 -182
- package/dist/src/core.js +5 -19
- package/dist/src/nfc.d.ts +0 -5
- package/dist/src/one-core-uniffi-intf.d.ts +1822 -0
- package/dist/src/one-core-uniffi-intf.js +363 -0
- package/ios/ProcivisOneCoreModule.m +4 -4
- package/ios/ProcivisOneCoreModule.swift +10 -10
- package/ios/RSEKeyStorage.swift +17 -571
- package/ios/RSEPinPad.swift +3 -56
- package/ios/Serialize.swift +80 -27
- package/package.json +4 -2
- package/react-native-one-core.podspec +1 -1
- package/android/build.gradle_opensource +0 -122
- package/android/libs/core-reactnative-compatible-2025.0305.1.aar +0 -0
- package/android/src/main/java/ch/procivis/one/core/ubiqu/PinPadRunner.kt +0 -123
- package/android/src/main/java/ch/procivis/one/core/ubiqu/PinPadViewManager.kt_opensource +0 -20
- package/android/src/main/java/ch/procivis/one/core/ubiqu/PinPadWrapper.kt +0 -396
- package/android/src/main/java/ch/procivis/one/core/ubiqu/RegistrationManager.kt +0 -59
- package/android/src/main/java/ch/procivis/one/core/ubiqu/TokenManager.kt +0 -48
- package/android/src/main/java/ch/procivis/one/core/ubiqu/UbiquKeyStorage.kt_opensource +0 -63
- package/android/src/main/java/ch/procivis/one/core/ubiqu/Util.kt +0 -74
- package/android/src/main/java/ch/procivis/one/core/ubiqu/dataformats/CreateIdentityRequest.kt +0 -9
- package/android/src/main/java/ch/procivis/one/core/ubiqu/dataformats/CreateIdentityResponse.kt +0 -9
- package/android/src/main/java/ch/procivis/one/core/ubiqu/dataformats/RegisterRSEResponse.kt +0 -10
- package/dist/src/backup.d.ts +0 -22
- package/dist/src/backup.js +0 -1
- package/dist/src/cache.d.ts +0 -11
- package/dist/src/cache.js +0 -12
- package/dist/src/credential.d.ts +0 -177
- package/dist/src/credential.js +0 -44
- package/dist/src/credentialSchema.d.ts +0 -135
- package/dist/src/credentialSchema.js +0 -34
- package/dist/src/did.d.ts +0 -63
- package/dist/src/did.js +0 -27
- package/dist/src/history.d.ts +0 -101
- package/dist/src/history.js +0 -63
- package/dist/src/identifier.d.ts +0 -133
- package/dist/src/identifier.js +0 -29
- package/dist/src/key.d.ts +0 -17
- package/dist/src/key.js +0 -1
- package/dist/src/list.d.ts +0 -14
- package/dist/src/list.js +0 -5
- package/dist/src/organisation.d.ts +0 -9
- package/dist/src/organisation.js +0 -1
- package/dist/src/proof.d.ts +0 -234
- package/dist/src/proof.js +0 -43
- package/dist/src/proofSchema.d.ts +0 -116
- package/dist/src/proofSchema.js +0 -9
- package/dist/src/trust.d.ts +0 -173
- package/dist/src/trust.js +0 -44
- package/dist/src/walletUnit.d.ts +0 -30
- package/dist/src/walletUnit.js +0 -11
- package/ios/RSEKeyStorage.swift_opensource +0 -61
- package/ios/RSEPinPad.swift_opensource +0 -21
- package/ios/UBQKit.xcframework/Info.plist +0 -44
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Assets.car +0 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFCompatibilityMacros.h +0 -37
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFHTTPSessionManager.h +0 -304
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFNetworkReachabilityManager.h +0 -216
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFNetworking.h +0 -41
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFPlainTextRequestSerializer.h +0 -16
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFSecurityPolicy.h +0 -156
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFURLRequestSerialization.h +0 -479
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFURLResponseSerialization.h +0 -310
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFURLSessionManager.h +0 -501
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/CardRequestProtocol.h +0 -72
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/Constants.h +0 -222
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/DeviceBindProtocol.h +0 -38
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/DomainSecurityModule.h +0 -43
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/ErrorDomains.h +0 -68
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/FreeAssetProtocol.h +0 -40
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/GDataXMLNode.h +0 -214
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/NSDictionary+Utilities.h +0 -23
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/NSFileManager+Utilities.h +0 -20
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/NSString+Utilities.h +0 -23
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/NSURL+Utilities.h +0 -12
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/ProtocolBase.h +0 -38
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/ResetPinProtocol.h +0 -45
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/Settings.h +0 -120
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequest.h +0 -58
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequestBaseProcessor.h +0 -37
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequestBindProcessor.h +0 -34
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequestNullProcessor.h +0 -28
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequestResetPinProcessor.h +0 -35
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequestUnlockProcessor.h +0 -31
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequestUseProcessor.h +0 -34
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQKit-Swift.h +0 -761
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQKit.h +0 -56
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQPacket.h +0 -38
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Info.plist +0 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios.abi.json +0 -89006
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -1099
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios.swiftinterface +0 -1099
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Modules/module.modulemap +0 -11
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/UBQKit +0 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/_CodeSignature/CodeResources +0 -597
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/certs +0 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/checksums +0 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/pinning_pub +0 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/static +0 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/stream +0 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Assets.car +0 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFCompatibilityMacros.h +0 -37
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFHTTPSessionManager.h +0 -304
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFNetworkReachabilityManager.h +0 -216
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFNetworking.h +0 -41
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFPlainTextRequestSerializer.h +0 -16
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFSecurityPolicy.h +0 -156
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFURLRequestSerialization.h +0 -479
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFURLResponseSerialization.h +0 -310
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFURLSessionManager.h +0 -501
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/CardRequestProtocol.h +0 -72
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/Constants.h +0 -222
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/DeviceBindProtocol.h +0 -38
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/DomainSecurityModule.h +0 -43
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/ErrorDomains.h +0 -68
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/FreeAssetProtocol.h +0 -40
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/GDataXMLNode.h +0 -214
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/NSDictionary+Utilities.h +0 -23
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/NSFileManager+Utilities.h +0 -20
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/NSString+Utilities.h +0 -23
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/NSURL+Utilities.h +0 -12
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/ProtocolBase.h +0 -38
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/ResetPinProtocol.h +0 -45
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/Settings.h +0 -120
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequest.h +0 -58
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequestBaseProcessor.h +0 -37
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequestBindProcessor.h +0 -34
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequestNullProcessor.h +0 -28
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequestResetPinProcessor.h +0 -35
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequestUnlockProcessor.h +0 -31
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequestUseProcessor.h +0 -34
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQKit-Swift.h +0 -1522
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQKit.h +0 -56
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQPacket.h +0 -38
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Info.plist +0 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -89006
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -1099
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -1099
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -89006
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -1099
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -1099
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/module.modulemap +0 -11
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/UBQKit +0 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/_CodeSignature/CodeResources +0 -652
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/certs +0 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/checksums +0 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/pinning_pub +0 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/static +0 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/stream +0 -0
package/dist/src/cache.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare enum CacheType {
|
|
2
|
-
DID_DOCUMENT = "DID_DOCUMENT",
|
|
3
|
-
JSON_LD_CONTEXT = "JSON_LD_CONTEXT",
|
|
4
|
-
STATUS_LIST_CREDENTIAL = "STATUS_LIST_CREDENTIAL",
|
|
5
|
-
VCT_METADATA = "VCT_METADATA",
|
|
6
|
-
JSON_SCHEMA = "JSON_SCHEMA",
|
|
7
|
-
TRUST_LIST = "TRUST_LIST",
|
|
8
|
-
X509_CRL = "X509_CRL",
|
|
9
|
-
ANDROID_ATTESTATION_CRL = "ANDROID_ATTESTATION_CRL",
|
|
10
|
-
OPEN_ID_METADATA = "OPEN_ID_METADATA"
|
|
11
|
-
}
|
package/dist/src/cache.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export var CacheType;
|
|
2
|
-
(function (CacheType) {
|
|
3
|
-
CacheType["DID_DOCUMENT"] = "DID_DOCUMENT";
|
|
4
|
-
CacheType["JSON_LD_CONTEXT"] = "JSON_LD_CONTEXT";
|
|
5
|
-
CacheType["STATUS_LIST_CREDENTIAL"] = "STATUS_LIST_CREDENTIAL";
|
|
6
|
-
CacheType["VCT_METADATA"] = "VCT_METADATA";
|
|
7
|
-
CacheType["JSON_SCHEMA"] = "JSON_SCHEMA";
|
|
8
|
-
CacheType["TRUST_LIST"] = "TRUST_LIST";
|
|
9
|
-
CacheType["X509_CRL"] = "X509_CRL";
|
|
10
|
-
CacheType["ANDROID_ATTESTATION_CRL"] = "ANDROID_ATTESTATION_CRL";
|
|
11
|
-
CacheType["OPEN_ID_METADATA"] = "OPEN_ID_METADATA";
|
|
12
|
-
})(CacheType || (CacheType = {}));
|
package/dist/src/credential.d.ts
DELETED
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
import { ClaimSchema, CredentialSchema, KeyStorageSecurity } from "./credentialSchema";
|
|
2
|
-
import { ListQuery, SortDirection } from "./list";
|
|
3
|
-
import { IdentifierListItem } from "./identifier";
|
|
4
|
-
export declare enum CredentialStateEnum {
|
|
5
|
-
CREATED = "CREATED",
|
|
6
|
-
PENDING = "PENDING",
|
|
7
|
-
OFFERED = "OFFERED",
|
|
8
|
-
ACCEPTED = "ACCEPTED",
|
|
9
|
-
REJECTED = "REJECTED",
|
|
10
|
-
REVOKED = "REVOKED",
|
|
11
|
-
SUSPENDED = "SUSPENDED",
|
|
12
|
-
ERROR = "ERROR"
|
|
13
|
-
}
|
|
14
|
-
export interface Claim {
|
|
15
|
-
path: string;
|
|
16
|
-
schema: ClaimSchema;
|
|
17
|
-
value: ClaimValue;
|
|
18
|
-
}
|
|
19
|
-
export type ClaimValue = string | number | boolean | Claim[];
|
|
20
|
-
export interface CredentialListItem {
|
|
21
|
-
id: string;
|
|
22
|
-
createdDate: string;
|
|
23
|
-
issuanceDate?: string;
|
|
24
|
-
lastModified: string;
|
|
25
|
-
revocationDate?: string;
|
|
26
|
-
issuer?: IdentifierListItem["id"];
|
|
27
|
-
state: CredentialStateEnum;
|
|
28
|
-
schema: CredentialSchema;
|
|
29
|
-
role: CredentialRoleEnum;
|
|
30
|
-
suspendEndDate?: string;
|
|
31
|
-
protocol: string;
|
|
32
|
-
profile?: string;
|
|
33
|
-
}
|
|
34
|
-
export interface CredentialDetail extends Omit<CredentialListItem, "issuerDid" | "issuer"> {
|
|
35
|
-
claims: Claim[];
|
|
36
|
-
redirectUri?: string;
|
|
37
|
-
lvvcIssuanceDate?: string;
|
|
38
|
-
mdocMsoValidity?: MdocMsoValidity;
|
|
39
|
-
issuer?: IdentifierListItem;
|
|
40
|
-
holder?: IdentifierListItem;
|
|
41
|
-
}
|
|
42
|
-
export interface MdocMsoValidity {
|
|
43
|
-
expiration: string;
|
|
44
|
-
nextUpdate: string;
|
|
45
|
-
lastUpdate: string;
|
|
46
|
-
}
|
|
47
|
-
export declare enum CredentialRoleEnum {
|
|
48
|
-
HOLDER = "HOLDER",
|
|
49
|
-
ISSUER = "ISSUER",
|
|
50
|
-
VERIFIER = "VERIFIER"
|
|
51
|
-
}
|
|
52
|
-
export declare enum CredentialListQueryExactColumnEnum {
|
|
53
|
-
NAME = "NAME"
|
|
54
|
-
}
|
|
55
|
-
export declare enum SortableCredentialColumnEnum {
|
|
56
|
-
CREATED_DATE = "CREATED_DATE",
|
|
57
|
-
SCHEMA_NAME = "SCHEMA_NAME",
|
|
58
|
-
ISSUER = "ISSUER",
|
|
59
|
-
STATE = "STATE"
|
|
60
|
-
}
|
|
61
|
-
export declare enum CredentialListIncludeEntityType {
|
|
62
|
-
LAYOUT_PROPERTIES = "LAYOUT_PROPERTIES",
|
|
63
|
-
CREDENTIAL = "CREDENTIAL"
|
|
64
|
-
}
|
|
65
|
-
export declare enum CredentialListSearchType {
|
|
66
|
-
CLAIM_NAME = "CLAIM_NAME",
|
|
67
|
-
CLAIM_VALUE = "CLAIM_VALUE",
|
|
68
|
-
CREDENTIAL_SCHEMA_NAME = "CREDENTIAL_SCHEMA_NAME"
|
|
69
|
-
}
|
|
70
|
-
export type CredentialListQuery = ListQuery & {
|
|
71
|
-
sort?: SortableCredentialColumnEnum;
|
|
72
|
-
sortDirection?: SortDirection;
|
|
73
|
-
exact?: CredentialListQueryExactColumnEnum[];
|
|
74
|
-
roles?: CredentialRoleEnum[];
|
|
75
|
-
ids?: Array<CredentialListItem["id"]>;
|
|
76
|
-
states?: CredentialStateEnum[];
|
|
77
|
-
profiles?: string[];
|
|
78
|
-
credentialSchemaIds?: Array<CredentialSchema["id"]>;
|
|
79
|
-
include?: CredentialListIncludeEntityType[];
|
|
80
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
81
|
-
createdDateAfter?: string;
|
|
82
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
83
|
-
createdDateBefore?: string;
|
|
84
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
85
|
-
lastModifiedAfter?: string;
|
|
86
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
87
|
-
lastModifiedBefore?: string;
|
|
88
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
89
|
-
issuanceDateAfter?: string;
|
|
90
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
91
|
-
issuanceDateBefore?: string;
|
|
92
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
93
|
-
revocationDateAfter?: string;
|
|
94
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
95
|
-
revocationDateBefore?: string;
|
|
96
|
-
} & ({
|
|
97
|
-
name?: string;
|
|
98
|
-
searchType?: never;
|
|
99
|
-
searchText?: never;
|
|
100
|
-
} | {
|
|
101
|
-
searchText?: string;
|
|
102
|
-
searchType?: CredentialListSearchType[];
|
|
103
|
-
name?: never;
|
|
104
|
-
});
|
|
105
|
-
export interface CredentialRevocationCheckResponse {
|
|
106
|
-
credentialId: string;
|
|
107
|
-
status: CredentialStateEnum;
|
|
108
|
-
success: boolean;
|
|
109
|
-
reason?: string;
|
|
110
|
-
}
|
|
111
|
-
export interface InvitationResultCredentialIssuance {
|
|
112
|
-
/** For reference. */
|
|
113
|
-
interactionId: string;
|
|
114
|
-
/** Metadata for entering a transaction code.
|
|
115
|
-
* If a pre-authorized code is issued with a transaction code object, the wallet
|
|
116
|
-
* user must input a transaction code to receive the offered credential. This code
|
|
117
|
-
* is typically sent through a separate channel such as SMS or email.
|
|
118
|
-
*/
|
|
119
|
-
txCode?: OpenID4VCITxCode;
|
|
120
|
-
/** Accepted storage security levels for holder binding key */
|
|
121
|
-
keyStorageSecurityLevels?: KeyStorageSecurity[];
|
|
122
|
-
/** Accepted algorithms for holder binding key */
|
|
123
|
-
keyAlgorithms?: string[];
|
|
124
|
-
}
|
|
125
|
-
export interface OpenID4VCITxCode {
|
|
126
|
-
inputMode?: OpenID4VCITxCodeInputMode;
|
|
127
|
-
length?: number;
|
|
128
|
-
description?: string;
|
|
129
|
-
}
|
|
130
|
-
export declare enum OpenID4VCITxCodeInputMode {
|
|
131
|
-
NUMERIC = "NUMERIC",
|
|
132
|
-
TEXT = "TEXT"
|
|
133
|
-
}
|
|
134
|
-
/** OID4VCI authorization request parameters. Use either `scope` or `authorizationDetails`. */
|
|
135
|
-
export interface InitiateIssuanceRequest {
|
|
136
|
-
organisationId: string;
|
|
137
|
-
protocol: string;
|
|
138
|
-
/** Issuer URL */
|
|
139
|
-
issuer: string;
|
|
140
|
-
clientId: string;
|
|
141
|
-
redirectUri?: string;
|
|
142
|
-
scope?: string[];
|
|
143
|
-
authorizationDetails?: InitiateIssuanceAuthorizationDetail[];
|
|
144
|
-
}
|
|
145
|
-
export interface InitiateIssuanceAuthorizationDetail {
|
|
146
|
-
type: string;
|
|
147
|
-
credentialConfigurationId: string;
|
|
148
|
-
}
|
|
149
|
-
export interface InitiateIssuanceResponse {
|
|
150
|
-
url: string;
|
|
151
|
-
}
|
|
152
|
-
export interface ContinueIssuanceResponse {
|
|
153
|
-
/** For reference. */
|
|
154
|
-
interactionId: string;
|
|
155
|
-
/** Accepted storage security levels for holder binding key */
|
|
156
|
-
keyStorageSecurityLevels?: KeyStorageSecurity[];
|
|
157
|
-
/** Accepted algorithms for holder binding key */
|
|
158
|
-
keyAlgorithms?: string[];
|
|
159
|
-
}
|
|
160
|
-
export interface OpenID4VCIProofTypeSupported {
|
|
161
|
-
proofSigningAlgValuesSupported: string[];
|
|
162
|
-
}
|
|
163
|
-
export interface AuthorizationCodeFlow {
|
|
164
|
-
/** For reference. */
|
|
165
|
-
interactionId: string;
|
|
166
|
-
/** For issuer-initiated Authorization Code Flows, use this URL to start
|
|
167
|
-
* the authorization process with the authorization server. */
|
|
168
|
-
authorizationCodeFlowUrl: string;
|
|
169
|
-
}
|
|
170
|
-
export interface HolderAcceptCredentialRequest {
|
|
171
|
-
interactionId: string;
|
|
172
|
-
didId?: string;
|
|
173
|
-
identifierId?: string;
|
|
174
|
-
keyId?: string;
|
|
175
|
-
txCode?: string;
|
|
176
|
-
holderWalletUnitId?: string;
|
|
177
|
-
}
|
package/dist/src/credential.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export var CredentialStateEnum;
|
|
2
|
-
(function (CredentialStateEnum) {
|
|
3
|
-
CredentialStateEnum["CREATED"] = "CREATED";
|
|
4
|
-
CredentialStateEnum["PENDING"] = "PENDING";
|
|
5
|
-
CredentialStateEnum["OFFERED"] = "OFFERED";
|
|
6
|
-
CredentialStateEnum["ACCEPTED"] = "ACCEPTED";
|
|
7
|
-
CredentialStateEnum["REJECTED"] = "REJECTED";
|
|
8
|
-
CredentialStateEnum["REVOKED"] = "REVOKED";
|
|
9
|
-
CredentialStateEnum["SUSPENDED"] = "SUSPENDED";
|
|
10
|
-
CredentialStateEnum["ERROR"] = "ERROR";
|
|
11
|
-
})(CredentialStateEnum || (CredentialStateEnum = {}));
|
|
12
|
-
export var CredentialRoleEnum;
|
|
13
|
-
(function (CredentialRoleEnum) {
|
|
14
|
-
CredentialRoleEnum["HOLDER"] = "HOLDER";
|
|
15
|
-
CredentialRoleEnum["ISSUER"] = "ISSUER";
|
|
16
|
-
CredentialRoleEnum["VERIFIER"] = "VERIFIER";
|
|
17
|
-
})(CredentialRoleEnum || (CredentialRoleEnum = {}));
|
|
18
|
-
export var CredentialListQueryExactColumnEnum;
|
|
19
|
-
(function (CredentialListQueryExactColumnEnum) {
|
|
20
|
-
CredentialListQueryExactColumnEnum["NAME"] = "NAME";
|
|
21
|
-
})(CredentialListQueryExactColumnEnum || (CredentialListQueryExactColumnEnum = {}));
|
|
22
|
-
export var SortableCredentialColumnEnum;
|
|
23
|
-
(function (SortableCredentialColumnEnum) {
|
|
24
|
-
SortableCredentialColumnEnum["CREATED_DATE"] = "CREATED_DATE";
|
|
25
|
-
SortableCredentialColumnEnum["SCHEMA_NAME"] = "SCHEMA_NAME";
|
|
26
|
-
SortableCredentialColumnEnum["ISSUER"] = "ISSUER";
|
|
27
|
-
SortableCredentialColumnEnum["STATE"] = "STATE";
|
|
28
|
-
})(SortableCredentialColumnEnum || (SortableCredentialColumnEnum = {}));
|
|
29
|
-
export var CredentialListIncludeEntityType;
|
|
30
|
-
(function (CredentialListIncludeEntityType) {
|
|
31
|
-
CredentialListIncludeEntityType["LAYOUT_PROPERTIES"] = "LAYOUT_PROPERTIES";
|
|
32
|
-
CredentialListIncludeEntityType["CREDENTIAL"] = "CREDENTIAL";
|
|
33
|
-
})(CredentialListIncludeEntityType || (CredentialListIncludeEntityType = {}));
|
|
34
|
-
export var CredentialListSearchType;
|
|
35
|
-
(function (CredentialListSearchType) {
|
|
36
|
-
CredentialListSearchType["CLAIM_NAME"] = "CLAIM_NAME";
|
|
37
|
-
CredentialListSearchType["CLAIM_VALUE"] = "CLAIM_VALUE";
|
|
38
|
-
CredentialListSearchType["CREDENTIAL_SCHEMA_NAME"] = "CREDENTIAL_SCHEMA_NAME";
|
|
39
|
-
})(CredentialListSearchType || (CredentialListSearchType = {}));
|
|
40
|
-
export var OpenID4VCITxCodeInputMode;
|
|
41
|
-
(function (OpenID4VCITxCodeInputMode) {
|
|
42
|
-
OpenID4VCITxCodeInputMode["NUMERIC"] = "NUMERIC";
|
|
43
|
-
OpenID4VCITxCodeInputMode["TEXT"] = "TEXT";
|
|
44
|
-
})(OpenID4VCITxCodeInputMode || (OpenID4VCITxCodeInputMode = {}));
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { ListQuery, SortDirection } from "./list";
|
|
2
|
-
export interface ImportCredentialSchemaRequest {
|
|
3
|
-
organisationId: string;
|
|
4
|
-
schema: ImportCredentialSchemaRequestSchema;
|
|
5
|
-
}
|
|
6
|
-
export interface ImportCredentialSchemaRequestSchema {
|
|
7
|
-
id: string;
|
|
8
|
-
createdDate: string;
|
|
9
|
-
lastModified: string;
|
|
10
|
-
name: string;
|
|
11
|
-
format: string;
|
|
12
|
-
revocationMethod: string;
|
|
13
|
-
organisationId: string;
|
|
14
|
-
importedSourceUrl: string;
|
|
15
|
-
claims: ImportCredentialSchemaClaimSchema[];
|
|
16
|
-
keyStorageSecurity?: KeyStorageSecurity;
|
|
17
|
-
schemaId: string;
|
|
18
|
-
layoutType?: LayoutType;
|
|
19
|
-
layoutProperties?: ImportCredentialSchemaLayoutProperties;
|
|
20
|
-
allowSuspension?: boolean;
|
|
21
|
-
}
|
|
22
|
-
export interface ImportCredentialSchemaClaimSchema {
|
|
23
|
-
id: string;
|
|
24
|
-
createdDate: string;
|
|
25
|
-
lastModified: string;
|
|
26
|
-
required: boolean;
|
|
27
|
-
key: string;
|
|
28
|
-
datatype: string;
|
|
29
|
-
claims?: ImportCredentialSchemaClaimSchema[];
|
|
30
|
-
array?: boolean;
|
|
31
|
-
}
|
|
32
|
-
export interface ImportCredentialSchemaLayoutProperties {
|
|
33
|
-
background?: CredentialSchemaBackgroundProperties;
|
|
34
|
-
logo?: CredentialSchemaLogoProperties;
|
|
35
|
-
primaryAttribute?: string;
|
|
36
|
-
secondaryAttribute?: string;
|
|
37
|
-
pictureAttribute?: string;
|
|
38
|
-
code?: CredentialSchemaCodeProperties;
|
|
39
|
-
}
|
|
40
|
-
export interface ShareCredentialSchemaResponse {
|
|
41
|
-
url: string;
|
|
42
|
-
}
|
|
43
|
-
export declare enum CredentialSchemaListIncludeEntityType {
|
|
44
|
-
LAYOUT_PROPERTIES = "LAYOUT_PROPERTIES"
|
|
45
|
-
}
|
|
46
|
-
export declare enum SortableCredentialSchemaColumnEnum {
|
|
47
|
-
NAME = "NAME",
|
|
48
|
-
FORMAT = "FORMAT",
|
|
49
|
-
CREATED_DATE = "CREATED_DATE"
|
|
50
|
-
}
|
|
51
|
-
export declare enum ExactCredentialSchemaFilterColumnEnum {
|
|
52
|
-
NAME = "NAME",
|
|
53
|
-
SCHEMA_ID = "SCHEMA_ID"
|
|
54
|
-
}
|
|
55
|
-
export interface CredentialSchemaListQuery extends ListQuery {
|
|
56
|
-
sort?: SortableCredentialSchemaColumnEnum;
|
|
57
|
-
sortDirection?: SortDirection;
|
|
58
|
-
name?: string;
|
|
59
|
-
ids?: string[];
|
|
60
|
-
exact?: ExactCredentialSchemaFilterColumnEnum[];
|
|
61
|
-
include?: CredentialSchemaListIncludeEntityType[];
|
|
62
|
-
schemaId?: string;
|
|
63
|
-
formats?: string[];
|
|
64
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
65
|
-
createdDateAfter?: string;
|
|
66
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
67
|
-
createdDateBefore?: string;
|
|
68
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
69
|
-
lastModifiedAfter?: string;
|
|
70
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
71
|
-
lastModifiedBefore?: string;
|
|
72
|
-
}
|
|
73
|
-
export declare enum KeyStorageSecurity {
|
|
74
|
-
HIGH = "HIGH",
|
|
75
|
-
MODERATE = "MODERATE",
|
|
76
|
-
ENHANCED_BASIC = "ENHANCED_BASIC",
|
|
77
|
-
BASIC = "BASIC"
|
|
78
|
-
}
|
|
79
|
-
export declare enum LayoutType {
|
|
80
|
-
CARD = "CARD",
|
|
81
|
-
DOCUMENT = "DOCUMENT",
|
|
82
|
-
SINGLE_ATTRIBUTE = "SINGLE_ATTRIBUTE"
|
|
83
|
-
}
|
|
84
|
-
export interface CredentialSchema {
|
|
85
|
-
id: string;
|
|
86
|
-
createdDate: string;
|
|
87
|
-
lastModified: string;
|
|
88
|
-
name: string;
|
|
89
|
-
format: string;
|
|
90
|
-
revocationMethod: string;
|
|
91
|
-
keyStorageSecurity?: KeyStorageSecurity;
|
|
92
|
-
schemaId: string;
|
|
93
|
-
importedSourceUrl: string;
|
|
94
|
-
layoutType?: LayoutType;
|
|
95
|
-
layoutProperties?: CredentialSchemaLayoutProperties;
|
|
96
|
-
}
|
|
97
|
-
export interface CredentialSchemaDetail extends CredentialSchema {
|
|
98
|
-
claims: ClaimSchema[];
|
|
99
|
-
}
|
|
100
|
-
export interface ClaimSchema {
|
|
101
|
-
id: string;
|
|
102
|
-
createdDate: string;
|
|
103
|
-
lastModified: string;
|
|
104
|
-
key: string;
|
|
105
|
-
datatype: string;
|
|
106
|
-
required: boolean;
|
|
107
|
-
array: boolean;
|
|
108
|
-
claims: ClaimSchema[];
|
|
109
|
-
}
|
|
110
|
-
export interface CredentialSchemaLayoutProperties {
|
|
111
|
-
background?: CredentialSchemaBackgroundProperties;
|
|
112
|
-
logo?: CredentialSchemaLogoProperties;
|
|
113
|
-
primaryAttribute?: string;
|
|
114
|
-
secondaryAttribute?: string;
|
|
115
|
-
pictureAttribute?: string;
|
|
116
|
-
code?: CredentialSchemaCodeProperties;
|
|
117
|
-
}
|
|
118
|
-
export interface CredentialSchemaBackgroundProperties {
|
|
119
|
-
color?: string;
|
|
120
|
-
image?: string;
|
|
121
|
-
}
|
|
122
|
-
export interface CredentialSchemaLogoProperties {
|
|
123
|
-
fontColor?: string;
|
|
124
|
-
backgroundColor?: string;
|
|
125
|
-
image?: string;
|
|
126
|
-
}
|
|
127
|
-
export interface CredentialSchemaCodeProperties {
|
|
128
|
-
attribute: string;
|
|
129
|
-
type: CredentialSchemaCodeType;
|
|
130
|
-
}
|
|
131
|
-
export declare enum CredentialSchemaCodeType {
|
|
132
|
-
BARCODE = "BARCODE",
|
|
133
|
-
MRZ = "MRZ",
|
|
134
|
-
QR_CODE = "QR_CODE"
|
|
135
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export var CredentialSchemaListIncludeEntityType;
|
|
2
|
-
(function (CredentialSchemaListIncludeEntityType) {
|
|
3
|
-
CredentialSchemaListIncludeEntityType["LAYOUT_PROPERTIES"] = "LAYOUT_PROPERTIES";
|
|
4
|
-
})(CredentialSchemaListIncludeEntityType || (CredentialSchemaListIncludeEntityType = {}));
|
|
5
|
-
export var SortableCredentialSchemaColumnEnum;
|
|
6
|
-
(function (SortableCredentialSchemaColumnEnum) {
|
|
7
|
-
SortableCredentialSchemaColumnEnum["NAME"] = "NAME";
|
|
8
|
-
SortableCredentialSchemaColumnEnum["FORMAT"] = "FORMAT";
|
|
9
|
-
SortableCredentialSchemaColumnEnum["CREATED_DATE"] = "CREATED_DATE";
|
|
10
|
-
})(SortableCredentialSchemaColumnEnum || (SortableCredentialSchemaColumnEnum = {}));
|
|
11
|
-
export var ExactCredentialSchemaFilterColumnEnum;
|
|
12
|
-
(function (ExactCredentialSchemaFilterColumnEnum) {
|
|
13
|
-
ExactCredentialSchemaFilterColumnEnum["NAME"] = "NAME";
|
|
14
|
-
ExactCredentialSchemaFilterColumnEnum["SCHEMA_ID"] = "SCHEMA_ID";
|
|
15
|
-
})(ExactCredentialSchemaFilterColumnEnum || (ExactCredentialSchemaFilterColumnEnum = {}));
|
|
16
|
-
export var KeyStorageSecurity;
|
|
17
|
-
(function (KeyStorageSecurity) {
|
|
18
|
-
KeyStorageSecurity["HIGH"] = "HIGH";
|
|
19
|
-
KeyStorageSecurity["MODERATE"] = "MODERATE";
|
|
20
|
-
KeyStorageSecurity["ENHANCED_BASIC"] = "ENHANCED_BASIC";
|
|
21
|
-
KeyStorageSecurity["BASIC"] = "BASIC";
|
|
22
|
-
})(KeyStorageSecurity || (KeyStorageSecurity = {}));
|
|
23
|
-
export var LayoutType;
|
|
24
|
-
(function (LayoutType) {
|
|
25
|
-
LayoutType["CARD"] = "CARD";
|
|
26
|
-
LayoutType["DOCUMENT"] = "DOCUMENT";
|
|
27
|
-
LayoutType["SINGLE_ATTRIBUTE"] = "SINGLE_ATTRIBUTE";
|
|
28
|
-
})(LayoutType || (LayoutType = {}));
|
|
29
|
-
export var CredentialSchemaCodeType;
|
|
30
|
-
(function (CredentialSchemaCodeType) {
|
|
31
|
-
CredentialSchemaCodeType["BARCODE"] = "BARCODE";
|
|
32
|
-
CredentialSchemaCodeType["MRZ"] = "MRZ";
|
|
33
|
-
CredentialSchemaCodeType["QR_CODE"] = "QR_CODE";
|
|
34
|
-
})(CredentialSchemaCodeType || (CredentialSchemaCodeType = {}));
|
package/dist/src/did.d.ts
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { KeyListItem } from "./key";
|
|
2
|
-
import { ListQuery, SortDirection } from "./list";
|
|
3
|
-
export declare enum DidTypeEnum {
|
|
4
|
-
LOCAL = "LOCAL",
|
|
5
|
-
REMOTE = "REMOTE"
|
|
6
|
-
}
|
|
7
|
-
export interface DidRequest {
|
|
8
|
-
organisationId: string;
|
|
9
|
-
name: string;
|
|
10
|
-
didMethod: string;
|
|
11
|
-
keys: DidRequestKeys;
|
|
12
|
-
params: Record<string, string>;
|
|
13
|
-
}
|
|
14
|
-
export interface DidRequestKeys {
|
|
15
|
-
authentication: Array<KeyListItem["id"]>;
|
|
16
|
-
assertionMethod: Array<KeyListItem["id"]>;
|
|
17
|
-
keyAgreement: Array<KeyListItem["id"]>;
|
|
18
|
-
capabilityInvocation: Array<KeyListItem["id"]>;
|
|
19
|
-
capabilityDelegation: Array<KeyListItem["id"]>;
|
|
20
|
-
}
|
|
21
|
-
export interface DidListItem {
|
|
22
|
-
id: string;
|
|
23
|
-
createdDate: string;
|
|
24
|
-
lastModified: string;
|
|
25
|
-
name: string;
|
|
26
|
-
did: string;
|
|
27
|
-
didType: DidTypeEnum;
|
|
28
|
-
didMethod: string;
|
|
29
|
-
deactivated: boolean;
|
|
30
|
-
}
|
|
31
|
-
export declare enum SortableDidColumnEnum {
|
|
32
|
-
NAME = "NAME",
|
|
33
|
-
CREATED_DATE = "CREATED_DATE",
|
|
34
|
-
METHOD = "METHOD",
|
|
35
|
-
TYPE = "TYPE",
|
|
36
|
-
DID = "DID",
|
|
37
|
-
DEACTIVATED = "DEACTIVATED"
|
|
38
|
-
}
|
|
39
|
-
export declare enum ExactDidFilterColumnEnum {
|
|
40
|
-
NAME = "NAME",
|
|
41
|
-
DID = "DID"
|
|
42
|
-
}
|
|
43
|
-
export declare enum KeyRoleEnum {
|
|
44
|
-
AUTHENTICATION = "AUTHENTICATION",
|
|
45
|
-
ASSERTION_METHOD = "ASSERTION_METHOD",
|
|
46
|
-
KEY_AGREEMENT = "KEY_AGREEMENT",
|
|
47
|
-
CAPABILITY_INVOCATION = "CAPABILITY_INVOCATION",
|
|
48
|
-
CAPABILITY_DELEGATION = "CAPABILITY_DELEGATION"
|
|
49
|
-
}
|
|
50
|
-
export interface DidListQuery extends ListQuery {
|
|
51
|
-
sort?: SortableDidColumnEnum;
|
|
52
|
-
sortDirection?: SortDirection;
|
|
53
|
-
name?: string;
|
|
54
|
-
did?: string;
|
|
55
|
-
type?: DidTypeEnum;
|
|
56
|
-
deactivated?: boolean;
|
|
57
|
-
exact?: ExactDidFilterColumnEnum[];
|
|
58
|
-
keyAlgorithms?: string[];
|
|
59
|
-
keyRoles?: KeyRoleEnum[];
|
|
60
|
-
keyStorages?: string[];
|
|
61
|
-
keyIds?: Array<KeyListItem["id"]>;
|
|
62
|
-
didMethods?: string[];
|
|
63
|
-
}
|
package/dist/src/did.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export var DidTypeEnum;
|
|
2
|
-
(function (DidTypeEnum) {
|
|
3
|
-
DidTypeEnum["LOCAL"] = "LOCAL";
|
|
4
|
-
DidTypeEnum["REMOTE"] = "REMOTE";
|
|
5
|
-
})(DidTypeEnum || (DidTypeEnum = {}));
|
|
6
|
-
export var SortableDidColumnEnum;
|
|
7
|
-
(function (SortableDidColumnEnum) {
|
|
8
|
-
SortableDidColumnEnum["NAME"] = "NAME";
|
|
9
|
-
SortableDidColumnEnum["CREATED_DATE"] = "CREATED_DATE";
|
|
10
|
-
SortableDidColumnEnum["METHOD"] = "METHOD";
|
|
11
|
-
SortableDidColumnEnum["TYPE"] = "TYPE";
|
|
12
|
-
SortableDidColumnEnum["DID"] = "DID";
|
|
13
|
-
SortableDidColumnEnum["DEACTIVATED"] = "DEACTIVATED";
|
|
14
|
-
})(SortableDidColumnEnum || (SortableDidColumnEnum = {}));
|
|
15
|
-
export var ExactDidFilterColumnEnum;
|
|
16
|
-
(function (ExactDidFilterColumnEnum) {
|
|
17
|
-
ExactDidFilterColumnEnum["NAME"] = "NAME";
|
|
18
|
-
ExactDidFilterColumnEnum["DID"] = "DID";
|
|
19
|
-
})(ExactDidFilterColumnEnum || (ExactDidFilterColumnEnum = {}));
|
|
20
|
-
export var KeyRoleEnum;
|
|
21
|
-
(function (KeyRoleEnum) {
|
|
22
|
-
KeyRoleEnum["AUTHENTICATION"] = "AUTHENTICATION";
|
|
23
|
-
KeyRoleEnum["ASSERTION_METHOD"] = "ASSERTION_METHOD";
|
|
24
|
-
KeyRoleEnum["KEY_AGREEMENT"] = "KEY_AGREEMENT";
|
|
25
|
-
KeyRoleEnum["CAPABILITY_INVOCATION"] = "CAPABILITY_INVOCATION";
|
|
26
|
-
KeyRoleEnum["CAPABILITY_DELEGATION"] = "CAPABILITY_DELEGATION";
|
|
27
|
-
})(KeyRoleEnum || (KeyRoleEnum = {}));
|
package/dist/src/history.d.ts
DELETED
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { UnexportableEntities } from "./backup";
|
|
2
|
-
import { ListQuery } from "./list";
|
|
3
|
-
export declare enum HistoryActionEnum {
|
|
4
|
-
ACCEPTED = "ACCEPTED",
|
|
5
|
-
CREATED = "CREATED",
|
|
6
|
-
DEACTIVATED = "DEACTIVATED",
|
|
7
|
-
DELETED = "DELETED",
|
|
8
|
-
ERRORED = "ERRORED",
|
|
9
|
-
ISSUED = "ISSUED",
|
|
10
|
-
OFFERED = "OFFERED",
|
|
11
|
-
REJECTED = "REJECTED",
|
|
12
|
-
REQUESTED = "REQUESTED",
|
|
13
|
-
REVOKED = "REVOKED",
|
|
14
|
-
PENDING = "PENDING",
|
|
15
|
-
SUSPENDED = "SUSPENDED",
|
|
16
|
-
RESTORED = "RESTORED",
|
|
17
|
-
SHARED = "SHARED",
|
|
18
|
-
IMPORTED = "IMPORTED",
|
|
19
|
-
CLAIMS_REMOVED = "CLAIMS_REMOVED",
|
|
20
|
-
RETRACTED = "RETRACTED",
|
|
21
|
-
ACTIVATED = "ACTIVATED",
|
|
22
|
-
WITHDRAWN = "WITHDRAWN",
|
|
23
|
-
REMOVED = "REMOVED",
|
|
24
|
-
UPDATED = "UPDATED",
|
|
25
|
-
REACTIVATED = "REACTIVATED",
|
|
26
|
-
CSR_GENERATED = "CSR_GENERATED",
|
|
27
|
-
EXPIRED = "EXPIRED",
|
|
28
|
-
INTERACTION_CREATED = "INTERACTION_CREATED",
|
|
29
|
-
INTERACTION_ERRORED = "INTERACTION_ERRORED"
|
|
30
|
-
}
|
|
31
|
-
export declare enum HistoryEntityTypeEnum {
|
|
32
|
-
KEY = "KEY",
|
|
33
|
-
DID = "DID",
|
|
34
|
-
IDENTIFIER = "IDENTIFIER",
|
|
35
|
-
CERTIFICATE = "CERTIFICATE",
|
|
36
|
-
CREDENTIAL = "CREDENTIAL",
|
|
37
|
-
CREDENTIAL_SCHEMA = "CREDENTIAL_SCHEMA",
|
|
38
|
-
PROOF = "PROOF",
|
|
39
|
-
PROOF_SCHEMA = "PROOF_SCHEMA",
|
|
40
|
-
ORGANISATION = "ORGANISATION",
|
|
41
|
-
BACKUP = "BACKUP",
|
|
42
|
-
TRUST_ANCHOR = "TRUST_ANCHOR",
|
|
43
|
-
TRUST_ENTITY = "TRUST_ENTITY",
|
|
44
|
-
WALLET_UNIT = "WALLET_UNIT",
|
|
45
|
-
USER = "USER",
|
|
46
|
-
PROVIDER = "PROVIDER",
|
|
47
|
-
WALLET_RELYING_PARTY = "WALLET_RELYING_PARTY",
|
|
48
|
-
STS_ROLE = "STS_ROLE",
|
|
49
|
-
STS_ORGANISATION = "STS_ORGANISATION",
|
|
50
|
-
STS_IAM_ROLE = "STS_IAM_ROLE",
|
|
51
|
-
STS_TOKEN = "STS_TOKEN"
|
|
52
|
-
}
|
|
53
|
-
export declare enum HistorySearchTypeEnum {
|
|
54
|
-
CLAIM_NAME = "CLAIM_NAME",
|
|
55
|
-
CLAIM_VALUE = "CLAIM_VALUE",
|
|
56
|
-
CREDENTIAL_SCHEMA_NAME = "CREDENTIAL_SCHEMA_NAME",
|
|
57
|
-
ISSUER_DID = "ISSUER_DID",
|
|
58
|
-
ISSUER_NAME = "ISSUER_NAME",
|
|
59
|
-
VERIFIER_DID = "VERIFIER_DID",
|
|
60
|
-
VERIFIER_NAME = "VERIFIER_NAME",
|
|
61
|
-
PROOF_SCHEMA_NAME = "PROOF_SCHEMA_NAME"
|
|
62
|
-
}
|
|
63
|
-
export interface HistoryListQuery extends ListQuery {
|
|
64
|
-
entityIds?: string[];
|
|
65
|
-
actions?: HistoryActionEnum[];
|
|
66
|
-
entityTypes?: HistoryEntityTypeEnum[];
|
|
67
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
68
|
-
createdDateAfter?: string;
|
|
69
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
70
|
-
createdDateBefore?: string;
|
|
71
|
-
identifierId?: string;
|
|
72
|
-
credentialId?: string;
|
|
73
|
-
credentialSchemaId?: string;
|
|
74
|
-
proofSchemaId?: string;
|
|
75
|
-
search?: HistoryListSearch;
|
|
76
|
-
users?: string[];
|
|
77
|
-
}
|
|
78
|
-
export interface HistoryListSearch {
|
|
79
|
-
text: string;
|
|
80
|
-
type?: HistorySearchTypeEnum;
|
|
81
|
-
}
|
|
82
|
-
export interface HistoryErrorMetadata {
|
|
83
|
-
errorCode: string;
|
|
84
|
-
message: string;
|
|
85
|
-
}
|
|
86
|
-
export interface WalletUnitJWT {
|
|
87
|
-
jwt: string;
|
|
88
|
-
}
|
|
89
|
-
export type HistoryMetadata = UnexportableEntities | HistoryErrorMetadata | WalletUnitJWT;
|
|
90
|
-
export interface HistoryListItem {
|
|
91
|
-
id: string;
|
|
92
|
-
createdDate: string;
|
|
93
|
-
action: HistoryActionEnum;
|
|
94
|
-
name: string;
|
|
95
|
-
target?: string;
|
|
96
|
-
entityId?: string;
|
|
97
|
-
entityType: HistoryEntityTypeEnum;
|
|
98
|
-
organisationId: string;
|
|
99
|
-
metadata?: HistoryMetadata;
|
|
100
|
-
user?: string;
|
|
101
|
-
}
|
package/dist/src/history.js
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
export var HistoryActionEnum;
|
|
2
|
-
(function (HistoryActionEnum) {
|
|
3
|
-
HistoryActionEnum["ACCEPTED"] = "ACCEPTED";
|
|
4
|
-
HistoryActionEnum["CREATED"] = "CREATED";
|
|
5
|
-
HistoryActionEnum["DEACTIVATED"] = "DEACTIVATED";
|
|
6
|
-
HistoryActionEnum["DELETED"] = "DELETED";
|
|
7
|
-
HistoryActionEnum["ERRORED"] = "ERRORED";
|
|
8
|
-
HistoryActionEnum["ISSUED"] = "ISSUED";
|
|
9
|
-
HistoryActionEnum["OFFERED"] = "OFFERED";
|
|
10
|
-
HistoryActionEnum["REJECTED"] = "REJECTED";
|
|
11
|
-
HistoryActionEnum["REQUESTED"] = "REQUESTED";
|
|
12
|
-
HistoryActionEnum["REVOKED"] = "REVOKED";
|
|
13
|
-
HistoryActionEnum["PENDING"] = "PENDING";
|
|
14
|
-
HistoryActionEnum["SUSPENDED"] = "SUSPENDED";
|
|
15
|
-
HistoryActionEnum["RESTORED"] = "RESTORED";
|
|
16
|
-
HistoryActionEnum["SHARED"] = "SHARED";
|
|
17
|
-
HistoryActionEnum["IMPORTED"] = "IMPORTED";
|
|
18
|
-
HistoryActionEnum["CLAIMS_REMOVED"] = "CLAIMS_REMOVED";
|
|
19
|
-
HistoryActionEnum["RETRACTED"] = "RETRACTED";
|
|
20
|
-
HistoryActionEnum["ACTIVATED"] = "ACTIVATED";
|
|
21
|
-
HistoryActionEnum["WITHDRAWN"] = "WITHDRAWN";
|
|
22
|
-
HistoryActionEnum["REMOVED"] = "REMOVED";
|
|
23
|
-
HistoryActionEnum["UPDATED"] = "UPDATED";
|
|
24
|
-
HistoryActionEnum["REACTIVATED"] = "REACTIVATED";
|
|
25
|
-
HistoryActionEnum["CSR_GENERATED"] = "CSR_GENERATED";
|
|
26
|
-
HistoryActionEnum["EXPIRED"] = "EXPIRED";
|
|
27
|
-
HistoryActionEnum["INTERACTION_CREATED"] = "INTERACTION_CREATED";
|
|
28
|
-
HistoryActionEnum["INTERACTION_ERRORED"] = "INTERACTION_ERRORED";
|
|
29
|
-
})(HistoryActionEnum || (HistoryActionEnum = {}));
|
|
30
|
-
export var HistoryEntityTypeEnum;
|
|
31
|
-
(function (HistoryEntityTypeEnum) {
|
|
32
|
-
HistoryEntityTypeEnum["KEY"] = "KEY";
|
|
33
|
-
HistoryEntityTypeEnum["DID"] = "DID";
|
|
34
|
-
HistoryEntityTypeEnum["IDENTIFIER"] = "IDENTIFIER";
|
|
35
|
-
HistoryEntityTypeEnum["CERTIFICATE"] = "CERTIFICATE";
|
|
36
|
-
HistoryEntityTypeEnum["CREDENTIAL"] = "CREDENTIAL";
|
|
37
|
-
HistoryEntityTypeEnum["CREDENTIAL_SCHEMA"] = "CREDENTIAL_SCHEMA";
|
|
38
|
-
HistoryEntityTypeEnum["PROOF"] = "PROOF";
|
|
39
|
-
HistoryEntityTypeEnum["PROOF_SCHEMA"] = "PROOF_SCHEMA";
|
|
40
|
-
HistoryEntityTypeEnum["ORGANISATION"] = "ORGANISATION";
|
|
41
|
-
HistoryEntityTypeEnum["BACKUP"] = "BACKUP";
|
|
42
|
-
HistoryEntityTypeEnum["TRUST_ANCHOR"] = "TRUST_ANCHOR";
|
|
43
|
-
HistoryEntityTypeEnum["TRUST_ENTITY"] = "TRUST_ENTITY";
|
|
44
|
-
HistoryEntityTypeEnum["WALLET_UNIT"] = "WALLET_UNIT";
|
|
45
|
-
HistoryEntityTypeEnum["USER"] = "USER";
|
|
46
|
-
HistoryEntityTypeEnum["PROVIDER"] = "PROVIDER";
|
|
47
|
-
HistoryEntityTypeEnum["WALLET_RELYING_PARTY"] = "WALLET_RELYING_PARTY";
|
|
48
|
-
HistoryEntityTypeEnum["STS_ROLE"] = "STS_ROLE";
|
|
49
|
-
HistoryEntityTypeEnum["STS_ORGANISATION"] = "STS_ORGANISATION";
|
|
50
|
-
HistoryEntityTypeEnum["STS_IAM_ROLE"] = "STS_IAM_ROLE";
|
|
51
|
-
HistoryEntityTypeEnum["STS_TOKEN"] = "STS_TOKEN";
|
|
52
|
-
})(HistoryEntityTypeEnum || (HistoryEntityTypeEnum = {}));
|
|
53
|
-
export var HistorySearchTypeEnum;
|
|
54
|
-
(function (HistorySearchTypeEnum) {
|
|
55
|
-
HistorySearchTypeEnum["CLAIM_NAME"] = "CLAIM_NAME";
|
|
56
|
-
HistorySearchTypeEnum["CLAIM_VALUE"] = "CLAIM_VALUE";
|
|
57
|
-
HistorySearchTypeEnum["CREDENTIAL_SCHEMA_NAME"] = "CREDENTIAL_SCHEMA_NAME";
|
|
58
|
-
HistorySearchTypeEnum["ISSUER_DID"] = "ISSUER_DID";
|
|
59
|
-
HistorySearchTypeEnum["ISSUER_NAME"] = "ISSUER_NAME";
|
|
60
|
-
HistorySearchTypeEnum["VERIFIER_DID"] = "VERIFIER_DID";
|
|
61
|
-
HistorySearchTypeEnum["VERIFIER_NAME"] = "VERIFIER_NAME";
|
|
62
|
-
HistorySearchTypeEnum["PROOF_SCHEMA_NAME"] = "PROOF_SCHEMA_NAME";
|
|
63
|
-
})(HistorySearchTypeEnum || (HistorySearchTypeEnum = {}));
|