@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/identifier.d.ts
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { DidRequestKeys, DidTypeEnum, KeyRoleEnum } from "./did";
|
|
2
|
-
import { KeyListItem } from "./key";
|
|
3
|
-
import { ListQuery, SortDirection } from "./list";
|
|
4
|
-
export declare enum IdentifierStateEnum {
|
|
5
|
-
ACTIVE = "ACTIVE",
|
|
6
|
-
DEACTIVATED = "DEACTIVATED"
|
|
7
|
-
}
|
|
8
|
-
export declare enum IdentifierTypeEnum {
|
|
9
|
-
KEY = "KEY",
|
|
10
|
-
DID = "DID",
|
|
11
|
-
CERTIFICATE = "CERTIFICATE"
|
|
12
|
-
}
|
|
13
|
-
export interface CreateIdentifierRequest {
|
|
14
|
-
organisationId: string;
|
|
15
|
-
name: string;
|
|
16
|
-
keyId?: KeyListItem["id"];
|
|
17
|
-
did?: CreateIdentifierDidRequest;
|
|
18
|
-
certificates?: CreateIdentifierCertificateRequest[];
|
|
19
|
-
}
|
|
20
|
-
export interface CreateIdentifierDidRequest {
|
|
21
|
-
name?: string;
|
|
22
|
-
method: string;
|
|
23
|
-
keys: DidRequestKeys;
|
|
24
|
-
params: Record<string, string>;
|
|
25
|
-
}
|
|
26
|
-
export interface CreateIdentifierCertificateRequest {
|
|
27
|
-
name?: string;
|
|
28
|
-
chain: string;
|
|
29
|
-
keyId: string;
|
|
30
|
-
}
|
|
31
|
-
export interface IdentifierListItem {
|
|
32
|
-
id: string;
|
|
33
|
-
createdDate: string;
|
|
34
|
-
lastModified: string;
|
|
35
|
-
name: string;
|
|
36
|
-
type: IdentifierTypeEnum;
|
|
37
|
-
isRemote: boolean;
|
|
38
|
-
state: IdentifierStateEnum;
|
|
39
|
-
organisationId?: string;
|
|
40
|
-
}
|
|
41
|
-
export interface IdentifierDetail extends IdentifierListItem {
|
|
42
|
-
did?: IdentifierDidDetail;
|
|
43
|
-
key?: IdentifierKeyDetail;
|
|
44
|
-
certificates?: IdentifierCertificateDetail[];
|
|
45
|
-
}
|
|
46
|
-
export interface IdentifierDidDetail {
|
|
47
|
-
id: string;
|
|
48
|
-
createdDate: string;
|
|
49
|
-
lastModified: string;
|
|
50
|
-
name: string;
|
|
51
|
-
organisationId: string;
|
|
52
|
-
did: string;
|
|
53
|
-
didType: DidTypeEnum;
|
|
54
|
-
didMethod: string;
|
|
55
|
-
keys: {
|
|
56
|
-
authentication: KeyListItem[];
|
|
57
|
-
assertionMethod: KeyListItem[];
|
|
58
|
-
keyAgreement: KeyListItem[];
|
|
59
|
-
capabilityInvocation: KeyListItem[];
|
|
60
|
-
capabilityDelegation: KeyListItem[];
|
|
61
|
-
};
|
|
62
|
-
deactivated: boolean;
|
|
63
|
-
}
|
|
64
|
-
export interface IdentifierKeyDetail {
|
|
65
|
-
id: string;
|
|
66
|
-
createdDate: string;
|
|
67
|
-
lastModified: string;
|
|
68
|
-
organisationId: string;
|
|
69
|
-
name: string;
|
|
70
|
-
publicKey: number[];
|
|
71
|
-
keyType: string;
|
|
72
|
-
storageType: string;
|
|
73
|
-
}
|
|
74
|
-
export interface IdentifierCertificateDetail {
|
|
75
|
-
id: string;
|
|
76
|
-
createdDate: string;
|
|
77
|
-
lastModified: string;
|
|
78
|
-
state: CertificateStateEnum;
|
|
79
|
-
name: string;
|
|
80
|
-
chain: string;
|
|
81
|
-
key: KeyListItem;
|
|
82
|
-
x509Attributes: X509Attributes;
|
|
83
|
-
}
|
|
84
|
-
export declare enum CertificateStateEnum {
|
|
85
|
-
NOT_YET_ACTIVE = "NOT_YET_ACTIVE",
|
|
86
|
-
ACTIVE = "ACTIVE",
|
|
87
|
-
REVOKED = "REVOKED",
|
|
88
|
-
EXPIRED = "EXPIRED"
|
|
89
|
-
}
|
|
90
|
-
export interface X509Attributes {
|
|
91
|
-
serialNumber: string;
|
|
92
|
-
notBefore: string;
|
|
93
|
-
notAfter: string;
|
|
94
|
-
issuer: string;
|
|
95
|
-
subject: string;
|
|
96
|
-
fingerprint: string;
|
|
97
|
-
extensions: X509Extension[];
|
|
98
|
-
}
|
|
99
|
-
export interface X509Extension {
|
|
100
|
-
oid: string;
|
|
101
|
-
value: string;
|
|
102
|
-
critical: boolean;
|
|
103
|
-
}
|
|
104
|
-
export declare enum SortableIdentifierColumnEnum {
|
|
105
|
-
NAME = "NAME",
|
|
106
|
-
CREATED_DATE = "CREATED_DATE",
|
|
107
|
-
TYPE = "TYPE",
|
|
108
|
-
STATE = "STATE"
|
|
109
|
-
}
|
|
110
|
-
export declare enum ExactIdentifierFilterColumnEnum {
|
|
111
|
-
NAME = "NAME"
|
|
112
|
-
}
|
|
113
|
-
export interface IdentifierListQuery extends ListQuery {
|
|
114
|
-
sort?: SortableIdentifierColumnEnum;
|
|
115
|
-
sortDirection?: SortDirection;
|
|
116
|
-
name?: string;
|
|
117
|
-
types?: IdentifierTypeEnum[];
|
|
118
|
-
states?: IdentifierStateEnum[];
|
|
119
|
-
exact?: ExactIdentifierFilterColumnEnum[];
|
|
120
|
-
didMethods?: string[];
|
|
121
|
-
isRemote?: boolean;
|
|
122
|
-
keyAlgorithms?: string[];
|
|
123
|
-
keyRoles?: KeyRoleEnum[];
|
|
124
|
-
keyStorages?: string[];
|
|
125
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
126
|
-
createdDateAfter?: string;
|
|
127
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
128
|
-
createdDateBefore?: string;
|
|
129
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
130
|
-
lastModifiedAfter?: string;
|
|
131
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
132
|
-
lastModifiedBefore?: string;
|
|
133
|
-
}
|
package/dist/src/identifier.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export var IdentifierStateEnum;
|
|
2
|
-
(function (IdentifierStateEnum) {
|
|
3
|
-
IdentifierStateEnum["ACTIVE"] = "ACTIVE";
|
|
4
|
-
IdentifierStateEnum["DEACTIVATED"] = "DEACTIVATED";
|
|
5
|
-
})(IdentifierStateEnum || (IdentifierStateEnum = {}));
|
|
6
|
-
export var IdentifierTypeEnum;
|
|
7
|
-
(function (IdentifierTypeEnum) {
|
|
8
|
-
IdentifierTypeEnum["KEY"] = "KEY";
|
|
9
|
-
IdentifierTypeEnum["DID"] = "DID";
|
|
10
|
-
IdentifierTypeEnum["CERTIFICATE"] = "CERTIFICATE";
|
|
11
|
-
})(IdentifierTypeEnum || (IdentifierTypeEnum = {}));
|
|
12
|
-
export var CertificateStateEnum;
|
|
13
|
-
(function (CertificateStateEnum) {
|
|
14
|
-
CertificateStateEnum["NOT_YET_ACTIVE"] = "NOT_YET_ACTIVE";
|
|
15
|
-
CertificateStateEnum["ACTIVE"] = "ACTIVE";
|
|
16
|
-
CertificateStateEnum["REVOKED"] = "REVOKED";
|
|
17
|
-
CertificateStateEnum["EXPIRED"] = "EXPIRED";
|
|
18
|
-
})(CertificateStateEnum || (CertificateStateEnum = {}));
|
|
19
|
-
export var SortableIdentifierColumnEnum;
|
|
20
|
-
(function (SortableIdentifierColumnEnum) {
|
|
21
|
-
SortableIdentifierColumnEnum["NAME"] = "NAME";
|
|
22
|
-
SortableIdentifierColumnEnum["CREATED_DATE"] = "CREATED_DATE";
|
|
23
|
-
SortableIdentifierColumnEnum["TYPE"] = "TYPE";
|
|
24
|
-
SortableIdentifierColumnEnum["STATE"] = "STATE";
|
|
25
|
-
})(SortableIdentifierColumnEnum || (SortableIdentifierColumnEnum = {}));
|
|
26
|
-
export var ExactIdentifierFilterColumnEnum;
|
|
27
|
-
(function (ExactIdentifierFilterColumnEnum) {
|
|
28
|
-
ExactIdentifierFilterColumnEnum["NAME"] = "NAME";
|
|
29
|
-
})(ExactIdentifierFilterColumnEnum || (ExactIdentifierFilterColumnEnum = {}));
|
package/dist/src/key.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface KeyRequest {
|
|
2
|
-
organisationId: string;
|
|
3
|
-
keyType: string;
|
|
4
|
-
keyParams: Record<string, string>;
|
|
5
|
-
name: string;
|
|
6
|
-
storageType: string;
|
|
7
|
-
storageParams: Record<string, string>;
|
|
8
|
-
}
|
|
9
|
-
export interface KeyListItem {
|
|
10
|
-
id: string;
|
|
11
|
-
createdDate: string;
|
|
12
|
-
lastModified: string;
|
|
13
|
-
name: string;
|
|
14
|
-
publicKey: number[];
|
|
15
|
-
keyType: string;
|
|
16
|
-
storageType: string;
|
|
17
|
-
}
|
package/dist/src/key.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/src/list.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare enum SortDirection {
|
|
2
|
-
ASCENDING = "ASCENDING",
|
|
3
|
-
DESCENDING = "DESCENDING"
|
|
4
|
-
}
|
|
5
|
-
export interface ListQuery {
|
|
6
|
-
page: number;
|
|
7
|
-
pageSize: number;
|
|
8
|
-
organisationId: string;
|
|
9
|
-
}
|
|
10
|
-
export interface ItemList<Item> {
|
|
11
|
-
totalItems: number;
|
|
12
|
-
totalPages: number;
|
|
13
|
-
values: Item[];
|
|
14
|
-
}
|
package/dist/src/list.js
DELETED
package/dist/src/organisation.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/src/proof.d.ts
DELETED
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
import { Claim, CredentialDetail, CredentialListItem } from "./credential";
|
|
2
|
-
import { ClaimSchema, CredentialSchema } from "./credentialSchema";
|
|
3
|
-
import { ListQuery, SortDirection } from "./list";
|
|
4
|
-
import { ProofInputClaimSchema, ProofSchemaListItem } from "./proofSchema";
|
|
5
|
-
import { DidListItem } from "./did";
|
|
6
|
-
import { IdentifierListItem } from "./identifier";
|
|
7
|
-
export declare enum ProofStateEnum {
|
|
8
|
-
CREATED = "CREATED",
|
|
9
|
-
PENDING = "PENDING",
|
|
10
|
-
REQUESTED = "REQUESTED",
|
|
11
|
-
ACCEPTED = "ACCEPTED",
|
|
12
|
-
REJECTED = "REJECTED",
|
|
13
|
-
RETRACTED = "RETRACTED",
|
|
14
|
-
ERROR = "ERROR"
|
|
15
|
-
}
|
|
16
|
-
export declare enum ProofRoleEnum {
|
|
17
|
-
HOLDER = "HOLDER",
|
|
18
|
-
VERIFIER = "VERIFIER"
|
|
19
|
-
}
|
|
20
|
-
export interface ProofInput {
|
|
21
|
-
claims: ProofInputClaim[];
|
|
22
|
-
credential?: CredentialDetail;
|
|
23
|
-
credentialSchema: CredentialSchema;
|
|
24
|
-
validityConstraint?: number;
|
|
25
|
-
}
|
|
26
|
-
export interface ProofInputClaim {
|
|
27
|
-
schema: ProofInputClaimSchema;
|
|
28
|
-
value?: string | ProofInputClaim[];
|
|
29
|
-
}
|
|
30
|
-
export interface ProofDetail {
|
|
31
|
-
id: string;
|
|
32
|
-
createdDate: string;
|
|
33
|
-
lastModified: string;
|
|
34
|
-
proofInputs: ProofInput[];
|
|
35
|
-
state: ProofStateEnum;
|
|
36
|
-
role: ProofRoleEnum;
|
|
37
|
-
proofSchema?: ProofSchemaListItem;
|
|
38
|
-
verifier?: IdentifierListItem;
|
|
39
|
-
protocol: string;
|
|
40
|
-
transport: string;
|
|
41
|
-
redirectUri?: string;
|
|
42
|
-
retainUntilDate?: string;
|
|
43
|
-
requestedDate?: string;
|
|
44
|
-
completedDate?: string;
|
|
45
|
-
claimsRemovedAt?: string;
|
|
46
|
-
profile?: string;
|
|
47
|
-
engagement?: string;
|
|
48
|
-
}
|
|
49
|
-
export interface ProofListItem {
|
|
50
|
-
id: string;
|
|
51
|
-
createdDate: string;
|
|
52
|
-
lastModified: string;
|
|
53
|
-
requestedDate?: string;
|
|
54
|
-
completedDate?: string;
|
|
55
|
-
verifier?: IdentifierListItem["id"];
|
|
56
|
-
protocol: string;
|
|
57
|
-
transport: string;
|
|
58
|
-
state: ProofStateEnum;
|
|
59
|
-
role: ProofRoleEnum;
|
|
60
|
-
schema?: ProofSchemaListItem;
|
|
61
|
-
retainUntilDate?: string;
|
|
62
|
-
profile?: string;
|
|
63
|
-
engagement?: string;
|
|
64
|
-
}
|
|
65
|
-
/** If protocol is `ISO_MDL`, specify the device engagement
|
|
66
|
-
* type by referencing an entry from `verificationEngagement`
|
|
67
|
-
* of your configurationi. `isoMdlEngagement` accepts either
|
|
68
|
-
* QR code content (for QR device engagement) or NFC engagement
|
|
69
|
-
* parameters from {@link nfcReadIsoMdlEngagement}.
|
|
70
|
-
*/
|
|
71
|
-
export interface CreateProofRequest {
|
|
72
|
-
proofSchemaId: ProofSchemaListItem["id"];
|
|
73
|
-
verifierDidId?: DidListItem["id"];
|
|
74
|
-
verifierIdentifierId?: IdentifierListItem["id"];
|
|
75
|
-
protocol: string;
|
|
76
|
-
redirectUri?: string;
|
|
77
|
-
verifierKey?: string;
|
|
78
|
-
scanToVerify?: ScanToVerifyRequest;
|
|
79
|
-
isoMdlEngagement?: string;
|
|
80
|
-
transport?: string[];
|
|
81
|
-
profile?: string;
|
|
82
|
-
engagement?: string;
|
|
83
|
-
}
|
|
84
|
-
export interface ScanToVerifyRequest {
|
|
85
|
-
credential: string;
|
|
86
|
-
barcode: string;
|
|
87
|
-
barcodeType: ScanToVerifyBarcodeTypeEnum;
|
|
88
|
-
}
|
|
89
|
-
export declare enum ScanToVerifyBarcodeTypeEnum {
|
|
90
|
-
MRZ = "MRZ",
|
|
91
|
-
PDF417 = "PDF417"
|
|
92
|
-
}
|
|
93
|
-
export interface ShareProofResponse {
|
|
94
|
-
url: string;
|
|
95
|
-
}
|
|
96
|
-
export interface PresentationDefinition {
|
|
97
|
-
requestGroups: PresentationDefinitionRequestGroup[];
|
|
98
|
-
credentials: CredentialDetail[];
|
|
99
|
-
}
|
|
100
|
-
export interface PresentationDefinitionRequestGroup {
|
|
101
|
-
id: string;
|
|
102
|
-
name?: string;
|
|
103
|
-
purpose?: string;
|
|
104
|
-
rule: PresentationDefinitionRule;
|
|
105
|
-
requestedCredentials: PresentationDefinitionRequestedCredential[];
|
|
106
|
-
}
|
|
107
|
-
export interface PresentationDefinitionRule {
|
|
108
|
-
type: PresentationDefinitionRuleTypeEnum;
|
|
109
|
-
min?: number;
|
|
110
|
-
max?: number;
|
|
111
|
-
count?: number;
|
|
112
|
-
}
|
|
113
|
-
export declare enum PresentationDefinitionRuleTypeEnum {
|
|
114
|
-
ALL = "ALL",
|
|
115
|
-
PICK = "PICK"
|
|
116
|
-
}
|
|
117
|
-
export interface PresentationDefinitionRequestedCredential {
|
|
118
|
-
id: string;
|
|
119
|
-
name?: string;
|
|
120
|
-
multiple?: boolean;
|
|
121
|
-
purpose?: string;
|
|
122
|
-
fields: PresentationDefinitionField[];
|
|
123
|
-
applicableCredentials: Array<CredentialListItem["id"]>;
|
|
124
|
-
inapplicableCredentials: Array<CredentialListItem["id"]>;
|
|
125
|
-
validityCredentialNbf?: string;
|
|
126
|
-
}
|
|
127
|
-
export interface PresentationDefinitionField {
|
|
128
|
-
id: string;
|
|
129
|
-
name?: string;
|
|
130
|
-
purpose?: string;
|
|
131
|
-
required: boolean;
|
|
132
|
-
keyMap: Record<CredentialListItem["id"], Claim["path"]>;
|
|
133
|
-
}
|
|
134
|
-
export interface PresentationSubmitCredentialRequest {
|
|
135
|
-
credentialId: CredentialListItem["id"];
|
|
136
|
-
submitClaims: Array<PresentationDefinitionField["id"]>;
|
|
137
|
-
}
|
|
138
|
-
export interface PresentationDefinitionV2 {
|
|
139
|
-
credentialQueries: Record<string, PresentationDefinitionV2CredentialQuery>;
|
|
140
|
-
credentialSets: Array<{
|
|
141
|
-
required: boolean;
|
|
142
|
-
options: Array<Array<string>>;
|
|
143
|
-
}>;
|
|
144
|
-
}
|
|
145
|
-
export type PresentationDefinitionV2CredentialQuery = {
|
|
146
|
-
multiple: boolean;
|
|
147
|
-
} & (ApplicableCredentials | FailureHint);
|
|
148
|
-
export interface ApplicableCredentials {
|
|
149
|
-
applicableCredentials: Array<PresentationDefinitionV2CredentialDetail>;
|
|
150
|
-
}
|
|
151
|
-
export interface FailureHint {
|
|
152
|
-
failureHint: {
|
|
153
|
-
credentialSchema?: CredentialSchema;
|
|
154
|
-
reason: "NO_CREDENTIAL" | "VALIDITY" | "CONSTRAINT";
|
|
155
|
-
};
|
|
156
|
-
}
|
|
157
|
-
export interface PresentationDefinitionV2CredentialDetail extends Omit<CredentialDetail, "claims"> {
|
|
158
|
-
claims: Array<PresentationDefinitionV2CredentialClaim>;
|
|
159
|
-
}
|
|
160
|
-
export interface PresentationDefinitionV2CredentialClaim {
|
|
161
|
-
path: string;
|
|
162
|
-
schema: ClaimSchema;
|
|
163
|
-
value: PresentationDefinitionV2ClaimValue;
|
|
164
|
-
userSelection: boolean;
|
|
165
|
-
required: boolean;
|
|
166
|
-
}
|
|
167
|
-
export type PresentationDefinitionV2ClaimValue = string | number | boolean | PresentationDefinitionV2CredentialClaim[];
|
|
168
|
-
export interface PresentationSubmitV2CredentialRequest {
|
|
169
|
-
credentialId: CredentialListItem["id"];
|
|
170
|
-
userSelections: Array<string>;
|
|
171
|
-
}
|
|
172
|
-
export declare enum SortableProofColumnEnum {
|
|
173
|
-
SCHEMA_NAME = "SCHEMA_NAME",
|
|
174
|
-
VERIFIER = "VERIFIER",
|
|
175
|
-
CREATED_DATE = "CREATED_DATE",
|
|
176
|
-
STATE = "STATE"
|
|
177
|
-
}
|
|
178
|
-
export declare enum ExactProofFilterColumnEnum {
|
|
179
|
-
NAME = "NAME"
|
|
180
|
-
}
|
|
181
|
-
export interface ProofListQuery extends ListQuery {
|
|
182
|
-
sort?: SortableProofColumnEnum;
|
|
183
|
-
sortDirection?: SortDirection;
|
|
184
|
-
name?: string;
|
|
185
|
-
ids?: string[];
|
|
186
|
-
proofStates?: ProofStateEnum[];
|
|
187
|
-
proofRoles?: ProofRoleEnum[];
|
|
188
|
-
proofSchemaIds?: string[];
|
|
189
|
-
exact?: ExactProofFilterColumnEnum[];
|
|
190
|
-
profiles?: string[];
|
|
191
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
192
|
-
createdDateAfter?: string;
|
|
193
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
194
|
-
createdDateBefore?: string;
|
|
195
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
196
|
-
lastModifiedAfter?: string;
|
|
197
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
198
|
-
lastModifiedBefore?: string;
|
|
199
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
200
|
-
requestedDateAfter?: string;
|
|
201
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
202
|
-
requestedDateBefore?: string;
|
|
203
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
204
|
-
completedDateAfter?: string;
|
|
205
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
206
|
-
completedDateBefore?: string;
|
|
207
|
-
}
|
|
208
|
-
export interface ProposeProofRequest {
|
|
209
|
-
protocol: string;
|
|
210
|
-
organisationId: string;
|
|
211
|
-
engagement: string[];
|
|
212
|
-
uiMessage?: string;
|
|
213
|
-
}
|
|
214
|
-
export interface ProposeProofResponse {
|
|
215
|
-
proofId: string;
|
|
216
|
-
interactionId: string;
|
|
217
|
-
url?: string;
|
|
218
|
-
}
|
|
219
|
-
export interface InvitationResultProofRequest {
|
|
220
|
-
interactionId: string;
|
|
221
|
-
proofId: ProofDetail["id"];
|
|
222
|
-
}
|
|
223
|
-
export interface ShareProofRequest {
|
|
224
|
-
params?: ShareProofRequestParams;
|
|
225
|
-
}
|
|
226
|
-
export interface ShareProofRequestParams {
|
|
227
|
-
clientIdScheme?: ClientIdSchemeEnum;
|
|
228
|
-
}
|
|
229
|
-
export declare enum ClientIdSchemeEnum {
|
|
230
|
-
REDIRECT_URI = "REDIRECT_URI",
|
|
231
|
-
VERIFIER_ATTESTATION = "VERIFIER_ATTESTATION",
|
|
232
|
-
DID = "DID",
|
|
233
|
-
X509_SAN_DNS = "X509_SAN_DNS"
|
|
234
|
-
}
|
package/dist/src/proof.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export var ProofStateEnum;
|
|
2
|
-
(function (ProofStateEnum) {
|
|
3
|
-
ProofStateEnum["CREATED"] = "CREATED";
|
|
4
|
-
ProofStateEnum["PENDING"] = "PENDING";
|
|
5
|
-
ProofStateEnum["REQUESTED"] = "REQUESTED";
|
|
6
|
-
ProofStateEnum["ACCEPTED"] = "ACCEPTED";
|
|
7
|
-
ProofStateEnum["REJECTED"] = "REJECTED";
|
|
8
|
-
ProofStateEnum["RETRACTED"] = "RETRACTED";
|
|
9
|
-
ProofStateEnum["ERROR"] = "ERROR";
|
|
10
|
-
})(ProofStateEnum || (ProofStateEnum = {}));
|
|
11
|
-
export var ProofRoleEnum;
|
|
12
|
-
(function (ProofRoleEnum) {
|
|
13
|
-
ProofRoleEnum["HOLDER"] = "HOLDER";
|
|
14
|
-
ProofRoleEnum["VERIFIER"] = "VERIFIER";
|
|
15
|
-
})(ProofRoleEnum || (ProofRoleEnum = {}));
|
|
16
|
-
export var ScanToVerifyBarcodeTypeEnum;
|
|
17
|
-
(function (ScanToVerifyBarcodeTypeEnum) {
|
|
18
|
-
ScanToVerifyBarcodeTypeEnum["MRZ"] = "MRZ";
|
|
19
|
-
ScanToVerifyBarcodeTypeEnum["PDF417"] = "PDF417";
|
|
20
|
-
})(ScanToVerifyBarcodeTypeEnum || (ScanToVerifyBarcodeTypeEnum = {}));
|
|
21
|
-
export var PresentationDefinitionRuleTypeEnum;
|
|
22
|
-
(function (PresentationDefinitionRuleTypeEnum) {
|
|
23
|
-
PresentationDefinitionRuleTypeEnum["ALL"] = "ALL";
|
|
24
|
-
PresentationDefinitionRuleTypeEnum["PICK"] = "PICK";
|
|
25
|
-
})(PresentationDefinitionRuleTypeEnum || (PresentationDefinitionRuleTypeEnum = {}));
|
|
26
|
-
export var SortableProofColumnEnum;
|
|
27
|
-
(function (SortableProofColumnEnum) {
|
|
28
|
-
SortableProofColumnEnum["SCHEMA_NAME"] = "SCHEMA_NAME";
|
|
29
|
-
SortableProofColumnEnum["VERIFIER"] = "VERIFIER";
|
|
30
|
-
SortableProofColumnEnum["CREATED_DATE"] = "CREATED_DATE";
|
|
31
|
-
SortableProofColumnEnum["STATE"] = "STATE";
|
|
32
|
-
})(SortableProofColumnEnum || (SortableProofColumnEnum = {}));
|
|
33
|
-
export var ExactProofFilterColumnEnum;
|
|
34
|
-
(function (ExactProofFilterColumnEnum) {
|
|
35
|
-
ExactProofFilterColumnEnum["NAME"] = "NAME";
|
|
36
|
-
})(ExactProofFilterColumnEnum || (ExactProofFilterColumnEnum = {}));
|
|
37
|
-
export var ClientIdSchemeEnum;
|
|
38
|
-
(function (ClientIdSchemeEnum) {
|
|
39
|
-
ClientIdSchemeEnum["REDIRECT_URI"] = "REDIRECT_URI";
|
|
40
|
-
ClientIdSchemeEnum["VERIFIER_ATTESTATION"] = "VERIFIER_ATTESTATION";
|
|
41
|
-
ClientIdSchemeEnum["DID"] = "DID";
|
|
42
|
-
ClientIdSchemeEnum["X509_SAN_DNS"] = "X509_SAN_DNS";
|
|
43
|
-
})(ClientIdSchemeEnum || (ClientIdSchemeEnum = {}));
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { CredentialSchema, CredentialSchemaLayoutProperties, LayoutType, KeyStorageSecurity } from "./credentialSchema";
|
|
2
|
-
import { ListQuery, SortDirection } from "./list";
|
|
3
|
-
export interface ProofInputClaimSchema {
|
|
4
|
-
id: string;
|
|
5
|
-
requested: boolean;
|
|
6
|
-
required: boolean;
|
|
7
|
-
key: string;
|
|
8
|
-
dataType: string;
|
|
9
|
-
claims: ProofInputClaimSchema[];
|
|
10
|
-
array: boolean;
|
|
11
|
-
}
|
|
12
|
-
export interface ProofSchemaListItem {
|
|
13
|
-
id: string;
|
|
14
|
-
createdDate: string;
|
|
15
|
-
lastModified: string;
|
|
16
|
-
deletedAt?: string;
|
|
17
|
-
name: string;
|
|
18
|
-
expireDuration: number;
|
|
19
|
-
}
|
|
20
|
-
export interface ProofSchema {
|
|
21
|
-
id: string;
|
|
22
|
-
createdDate: string;
|
|
23
|
-
lastModified: string;
|
|
24
|
-
name: string;
|
|
25
|
-
organisationId: string;
|
|
26
|
-
expireDuration: number;
|
|
27
|
-
proofInputSchemas: ProofInputSchema[];
|
|
28
|
-
importedSourceUrl?: string;
|
|
29
|
-
}
|
|
30
|
-
export interface ProofInputSchema {
|
|
31
|
-
claimSchemas: ProofInputClaimSchema[];
|
|
32
|
-
credentialSchema: CredentialSchema;
|
|
33
|
-
validityConstraint?: number;
|
|
34
|
-
}
|
|
35
|
-
export interface ShareProofSchemaResponse {
|
|
36
|
-
url: string;
|
|
37
|
-
}
|
|
38
|
-
export declare enum SortableProofSchemasColumnEnum {
|
|
39
|
-
NAME = "NAME",
|
|
40
|
-
CREATED_DATE = "CREATED_DATE"
|
|
41
|
-
}
|
|
42
|
-
export declare enum ExactProofSchemaFilterColumnEnum {
|
|
43
|
-
NAME = "NAME"
|
|
44
|
-
}
|
|
45
|
-
export interface ProofSchemaListQuery extends ListQuery {
|
|
46
|
-
sort?: SortableProofSchemasColumnEnum;
|
|
47
|
-
sortDirection?: SortDirection;
|
|
48
|
-
name?: string;
|
|
49
|
-
exact?: ExactProofSchemaFilterColumnEnum[];
|
|
50
|
-
ids?: Array<ProofSchema["id"]>;
|
|
51
|
-
formats?: string[];
|
|
52
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
53
|
-
createdDateAfter?: string;
|
|
54
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
55
|
-
createdDateBefore?: string;
|
|
56
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
57
|
-
lastModifiedAfter?: string;
|
|
58
|
-
/** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
|
|
59
|
-
lastModifiedBefore?: string;
|
|
60
|
-
}
|
|
61
|
-
export interface ImportProofSchemaRequest {
|
|
62
|
-
organisationId: string;
|
|
63
|
-
schema: ImportProofSchema;
|
|
64
|
-
}
|
|
65
|
-
export interface ImportProofSchema {
|
|
66
|
-
id: string;
|
|
67
|
-
createdDate: string;
|
|
68
|
-
lastModified: string;
|
|
69
|
-
name: string;
|
|
70
|
-
organisationId: string;
|
|
71
|
-
importedSourceUrl: string;
|
|
72
|
-
expireDuration: number;
|
|
73
|
-
proofInputSchemas: ImportProofSchemaInputSchema[];
|
|
74
|
-
}
|
|
75
|
-
export interface ImportProofSchemaInputSchema {
|
|
76
|
-
claimSchemas: ImportProofSchemaClaimSchema[];
|
|
77
|
-
credentialSchema: ImportProofSchemaCredentialSchema;
|
|
78
|
-
validityConstraint?: number;
|
|
79
|
-
}
|
|
80
|
-
export interface ImportProofSchemaClaimSchema {
|
|
81
|
-
id: string;
|
|
82
|
-
requested: boolean;
|
|
83
|
-
required: boolean;
|
|
84
|
-
key: string;
|
|
85
|
-
dataType: string;
|
|
86
|
-
claims?: ImportProofSchemaClaimSchema[];
|
|
87
|
-
array: boolean;
|
|
88
|
-
}
|
|
89
|
-
export interface ImportProofSchemaCredentialSchema {
|
|
90
|
-
id: string;
|
|
91
|
-
createdDate: string;
|
|
92
|
-
lastModified: string;
|
|
93
|
-
name: string;
|
|
94
|
-
format: string;
|
|
95
|
-
revocationMethod: string;
|
|
96
|
-
keyStorageSecurity?: KeyStorageSecurity;
|
|
97
|
-
schemaId: string;
|
|
98
|
-
importedSourceUrl: string;
|
|
99
|
-
layoutType?: LayoutType;
|
|
100
|
-
layoutProperties?: CredentialSchemaLayoutProperties;
|
|
101
|
-
}
|
|
102
|
-
export interface CreateProofSchemaRequest {
|
|
103
|
-
name: string;
|
|
104
|
-
organisationId: string;
|
|
105
|
-
expireDuration: number;
|
|
106
|
-
proofInputSchemas: ProofInputSchemaRequest[];
|
|
107
|
-
}
|
|
108
|
-
export interface ProofInputSchemaRequest {
|
|
109
|
-
credentialSchemaId: string;
|
|
110
|
-
validityConstraint?: number;
|
|
111
|
-
claimSchemas: ProofSchemaClaimRequest[];
|
|
112
|
-
}
|
|
113
|
-
export interface ProofSchemaClaimRequest {
|
|
114
|
-
id: string;
|
|
115
|
-
required: boolean;
|
|
116
|
-
}
|
package/dist/src/proofSchema.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export var SortableProofSchemasColumnEnum;
|
|
2
|
-
(function (SortableProofSchemasColumnEnum) {
|
|
3
|
-
SortableProofSchemasColumnEnum["NAME"] = "NAME";
|
|
4
|
-
SortableProofSchemasColumnEnum["CREATED_DATE"] = "CREATED_DATE";
|
|
5
|
-
})(SortableProofSchemasColumnEnum || (SortableProofSchemasColumnEnum = {}));
|
|
6
|
-
export var ExactProofSchemaFilterColumnEnum;
|
|
7
|
-
(function (ExactProofSchemaFilterColumnEnum) {
|
|
8
|
-
ExactProofSchemaFilterColumnEnum["NAME"] = "NAME";
|
|
9
|
-
})(ExactProofSchemaFilterColumnEnum || (ExactProofSchemaFilterColumnEnum = {}));
|