@procivis/react-native-one-core 1.77931.0 → 1.81885.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.
Files changed (164) hide show
  1. package/README.md +15 -14
  2. package/android/build.gradle +0 -11
  3. package/android/src/main/java/ch/procivis/one/core/ProcivisOneCoreModule.kt +4 -4
  4. package/android/src/main/java/ch/procivis/one/core/SerializeSpecific.kt +128 -67
  5. package/android/src/main/java/ch/procivis/one/core/ubiqu/PinPadViewManager.kt +5 -8
  6. package/android/src/main/java/ch/procivis/one/core/ubiqu/UbiquKeyStorage.kt +17 -222
  7. package/core-sdk.json +6 -6
  8. package/dist/index.d.ts +1 -0
  9. package/dist/index.js +1 -0
  10. package/dist/src/config.d.ts +3 -2
  11. package/dist/src/config.js +5 -0
  12. package/dist/src/core.d.ts +5 -182
  13. package/dist/src/core.js +5 -19
  14. package/dist/src/nfc.d.ts +0 -5
  15. package/dist/src/one-core-uniffi-intf.d.ts +1773 -0
  16. package/dist/src/one-core-uniffi-intf.js +356 -0
  17. package/ios/ProcivisOneCoreModule.m +4 -4
  18. package/ios/ProcivisOneCoreModule.swift +10 -10
  19. package/ios/RSEKeyStorage.swift +17 -571
  20. package/ios/RSEPinPad.swift +3 -56
  21. package/ios/Serialize.swift +80 -27
  22. package/package.json +4 -2
  23. package/react-native-one-core.podspec +1 -1
  24. package/android/build.gradle_opensource +0 -122
  25. package/android/libs/core-reactnative-compatible-2025.0305.1.aar +0 -0
  26. package/android/src/main/java/ch/procivis/one/core/ubiqu/PinPadRunner.kt +0 -123
  27. package/android/src/main/java/ch/procivis/one/core/ubiqu/PinPadViewManager.kt_opensource +0 -20
  28. package/android/src/main/java/ch/procivis/one/core/ubiqu/PinPadWrapper.kt +0 -396
  29. package/android/src/main/java/ch/procivis/one/core/ubiqu/RegistrationManager.kt +0 -59
  30. package/android/src/main/java/ch/procivis/one/core/ubiqu/TokenManager.kt +0 -48
  31. package/android/src/main/java/ch/procivis/one/core/ubiqu/UbiquKeyStorage.kt_opensource +0 -63
  32. package/android/src/main/java/ch/procivis/one/core/ubiqu/Util.kt +0 -74
  33. package/android/src/main/java/ch/procivis/one/core/ubiqu/dataformats/CreateIdentityRequest.kt +0 -9
  34. package/android/src/main/java/ch/procivis/one/core/ubiqu/dataformats/CreateIdentityResponse.kt +0 -9
  35. package/android/src/main/java/ch/procivis/one/core/ubiqu/dataformats/RegisterRSEResponse.kt +0 -10
  36. package/dist/src/backup.d.ts +0 -22
  37. package/dist/src/backup.js +0 -1
  38. package/dist/src/cache.d.ts +0 -11
  39. package/dist/src/cache.js +0 -12
  40. package/dist/src/credential.d.ts +0 -177
  41. package/dist/src/credential.js +0 -44
  42. package/dist/src/credentialSchema.d.ts +0 -135
  43. package/dist/src/credentialSchema.js +0 -34
  44. package/dist/src/did.d.ts +0 -63
  45. package/dist/src/did.js +0 -27
  46. package/dist/src/history.d.ts +0 -101
  47. package/dist/src/history.js +0 -63
  48. package/dist/src/identifier.d.ts +0 -133
  49. package/dist/src/identifier.js +0 -29
  50. package/dist/src/key.d.ts +0 -17
  51. package/dist/src/key.js +0 -1
  52. package/dist/src/list.d.ts +0 -14
  53. package/dist/src/list.js +0 -5
  54. package/dist/src/organisation.d.ts +0 -9
  55. package/dist/src/organisation.js +0 -1
  56. package/dist/src/proof.d.ts +0 -234
  57. package/dist/src/proof.js +0 -43
  58. package/dist/src/proofSchema.d.ts +0 -116
  59. package/dist/src/proofSchema.js +0 -9
  60. package/dist/src/trust.d.ts +0 -173
  61. package/dist/src/trust.js +0 -44
  62. package/dist/src/walletUnit.d.ts +0 -30
  63. package/dist/src/walletUnit.js +0 -11
  64. package/ios/RSEKeyStorage.swift_opensource +0 -61
  65. package/ios/RSEPinPad.swift_opensource +0 -21
  66. package/ios/UBQKit.xcframework/Info.plist +0 -44
  67. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Assets.car +0 -0
  68. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFCompatibilityMacros.h +0 -37
  69. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFHTTPSessionManager.h +0 -304
  70. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFNetworkReachabilityManager.h +0 -216
  71. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFNetworking.h +0 -41
  72. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFPlainTextRequestSerializer.h +0 -16
  73. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFSecurityPolicy.h +0 -156
  74. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFURLRequestSerialization.h +0 -479
  75. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFURLResponseSerialization.h +0 -310
  76. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFURLSessionManager.h +0 -501
  77. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/CardRequestProtocol.h +0 -72
  78. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/Constants.h +0 -222
  79. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/DeviceBindProtocol.h +0 -38
  80. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/DomainSecurityModule.h +0 -43
  81. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/ErrorDomains.h +0 -68
  82. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/FreeAssetProtocol.h +0 -40
  83. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/GDataXMLNode.h +0 -214
  84. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/NSDictionary+Utilities.h +0 -23
  85. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/NSFileManager+Utilities.h +0 -20
  86. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/NSString+Utilities.h +0 -23
  87. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/NSURL+Utilities.h +0 -12
  88. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/ProtocolBase.h +0 -38
  89. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/ResetPinProtocol.h +0 -45
  90. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/Settings.h +0 -120
  91. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequest.h +0 -58
  92. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequestBaseProcessor.h +0 -37
  93. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequestBindProcessor.h +0 -34
  94. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequestNullProcessor.h +0 -28
  95. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequestResetPinProcessor.h +0 -35
  96. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequestUnlockProcessor.h +0 -31
  97. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequestUseProcessor.h +0 -34
  98. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQKit-Swift.h +0 -761
  99. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQKit.h +0 -56
  100. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQPacket.h +0 -38
  101. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Info.plist +0 -0
  102. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios.abi.json +0 -89006
  103. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -1099
  104. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  105. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios.swiftinterface +0 -1099
  106. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Modules/module.modulemap +0 -11
  107. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/UBQKit +0 -0
  108. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/_CodeSignature/CodeResources +0 -597
  109. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/certs +0 -0
  110. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/checksums +0 -0
  111. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/pinning_pub +0 -0
  112. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/static +0 -0
  113. package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/stream +0 -0
  114. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Assets.car +0 -0
  115. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFCompatibilityMacros.h +0 -37
  116. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFHTTPSessionManager.h +0 -304
  117. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFNetworkReachabilityManager.h +0 -216
  118. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFNetworking.h +0 -41
  119. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFPlainTextRequestSerializer.h +0 -16
  120. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFSecurityPolicy.h +0 -156
  121. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFURLRequestSerialization.h +0 -479
  122. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFURLResponseSerialization.h +0 -310
  123. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFURLSessionManager.h +0 -501
  124. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/CardRequestProtocol.h +0 -72
  125. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/Constants.h +0 -222
  126. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/DeviceBindProtocol.h +0 -38
  127. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/DomainSecurityModule.h +0 -43
  128. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/ErrorDomains.h +0 -68
  129. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/FreeAssetProtocol.h +0 -40
  130. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/GDataXMLNode.h +0 -214
  131. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/NSDictionary+Utilities.h +0 -23
  132. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/NSFileManager+Utilities.h +0 -20
  133. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/NSString+Utilities.h +0 -23
  134. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/NSURL+Utilities.h +0 -12
  135. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/ProtocolBase.h +0 -38
  136. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/ResetPinProtocol.h +0 -45
  137. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/Settings.h +0 -120
  138. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequest.h +0 -58
  139. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequestBaseProcessor.h +0 -37
  140. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequestBindProcessor.h +0 -34
  141. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequestNullProcessor.h +0 -28
  142. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequestResetPinProcessor.h +0 -35
  143. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequestUnlockProcessor.h +0 -31
  144. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequestUseProcessor.h +0 -34
  145. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQKit-Swift.h +0 -1522
  146. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQKit.h +0 -56
  147. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQPacket.h +0 -38
  148. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Info.plist +0 -0
  149. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -89006
  150. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -1099
  151. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  152. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -1099
  153. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -89006
  154. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -1099
  155. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  156. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -1099
  157. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/module.modulemap +0 -11
  158. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/UBQKit +0 -0
  159. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/_CodeSignature/CodeResources +0 -652
  160. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/certs +0 -0
  161. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/checksums +0 -0
  162. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/pinning_pub +0 -0
  163. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/static +0 -0
  164. package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/stream +0 -0
@@ -1,173 +0,0 @@
1
- import { ListQuery, SortDirection } from "./list";
2
- import { DidListItem } from "./did";
3
- import { CertificateStateEnum, IdentifierCertificateDetail, IdentifierListItem, X509Attributes } from "./identifier";
4
- import { UpsertOrganisationRequest } from "./organisation";
5
- export type CreateTrustAnchorRequest = {
6
- name: string;
7
- type: string;
8
- } & ({
9
- isPublisher: true;
10
- publisherReference?: never;
11
- } | {
12
- isPublisher?: false;
13
- publisherReference: string;
14
- });
15
- export interface TrustAnchor {
16
- id: string;
17
- createdDate: string;
18
- lastModified: string;
19
- name: string;
20
- type: string;
21
- isPublisher: boolean;
22
- publisherReference: string;
23
- }
24
- export interface TrustAnchorListItem extends TrustAnchor {
25
- entities: number;
26
- }
27
- export declare enum SortableTrustAnchorColumnEnum {
28
- NAME = "NAME",
29
- CREATED_DATE = "CREATED_DATE",
30
- TYPE = "TYPE"
31
- }
32
- export declare enum ExactTrustAnchorFilterColumnEnum {
33
- NAME = "NAME",
34
- TYPE = "TYPE"
35
- }
36
- export interface TrustAnchorListQuery extends Omit<ListQuery, "organisationId"> {
37
- sort?: SortableTrustAnchorColumnEnum;
38
- sortDirection?: SortDirection;
39
- name?: string;
40
- exact?: ExactTrustAnchorFilterColumnEnum[];
41
- type?: string;
42
- isPublisher?: boolean;
43
- /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
44
- createdDateAfter?: string;
45
- /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
46
- createdDateBefore?: string;
47
- /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
48
- lastModifiedAfter?: string;
49
- /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
50
- lastModifiedBefore?: string;
51
- }
52
- export interface TrustEntityListItem {
53
- id: string;
54
- createdDate: string;
55
- lastModified: string;
56
- name: string;
57
- logo?: string;
58
- website?: string;
59
- termsUrl?: string;
60
- privacyUrl?: string;
61
- role: TrustEntityRoleEnum;
62
- state: TrustEntityStateEnum;
63
- did?: DidListItem;
64
- trustAnchor: TrustAnchor;
65
- }
66
- export interface RemoteTrustEntity extends TrustEntityListItem {
67
- organisationId?: string;
68
- }
69
- export interface TrustEntity extends RemoteTrustEntity {
70
- entityKey: string;
71
- type: TrustEntityTypeEnum;
72
- identifier?: IdentifierListItem;
73
- content?: string;
74
- ca?: TrustEntityCertificate;
75
- }
76
- export interface TrustEntityCertificate extends X509Attributes {
77
- state: CertificateStateEnum;
78
- publicKey: string;
79
- commonName?: string;
80
- }
81
- export declare enum TrustEntityRoleEnum {
82
- ISSUER = "ISSUER",
83
- VERIFIER = "VERIFIER",
84
- BOTH = "BOTH"
85
- }
86
- export declare enum TrustEntityStateEnum {
87
- ACTIVE = "ACTIVE",
88
- REMOVED = "REMOVED",
89
- WITHDRAWN = "WITHDRAWN",
90
- REMOVED_AND_WITHDRAWN = "REMOVED_AND_WITHDRAWN"
91
- }
92
- export declare enum TrustEntityTypeEnum {
93
- Did = "DID",
94
- CertificateAuthority = "CA"
95
- }
96
- export interface CreateTrustEntityRequest {
97
- name: string;
98
- logo?: string;
99
- website?: string;
100
- termsUrl?: string;
101
- privacyUrl?: string;
102
- role: TrustEntityRoleEnum;
103
- trustAnchorId: TrustAnchor["id"];
104
- didId?: DidListItem["id"];
105
- type: TrustEntityTypeEnum;
106
- identifierId?: IdentifierListItem["id"];
107
- content?: string;
108
- organisationId: UpsertOrganisationRequest["id"];
109
- }
110
- export interface TrustEntityListQuery extends Omit<ListQuery, "organisationId"> {
111
- sort?: SortableTrustEntityColumnEnum;
112
- sortDirection?: SortDirection;
113
- organisationId?: string;
114
- name?: string;
115
- exact?: ExactTrustEntityFilterColumnEnum[];
116
- role?: TrustEntityRoleEnum;
117
- trustAnchor?: TrustAnchor["id"];
118
- didId?: DidListItem["id"];
119
- types?: TrustEntityTypeEnum[];
120
- entityKey?: string;
121
- states?: TrustEntityStateEnum[];
122
- /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
123
- createdDateAfter?: string;
124
- /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
125
- createdDateBefore?: string;
126
- /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
127
- lastModifiedAfter?: string;
128
- /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
129
- lastModifiedBefore?: string;
130
- }
131
- export declare enum SortableTrustEntityColumnEnum {
132
- NAME = "NAME",
133
- ROLE = "ROLE"
134
- }
135
- export declare enum ExactTrustEntityFilterColumnEnum {
136
- NAME = "NAME"
137
- }
138
- export interface CreateRemoteTrustEntityRequest {
139
- name: string;
140
- logo?: string;
141
- website?: string;
142
- termsUrl?: string;
143
- privacyUrl?: string;
144
- role: TrustEntityRoleEnum;
145
- trustAnchorId?: TrustAnchor["id"];
146
- didId: DidListItem["id"];
147
- }
148
- export interface UpdateRemoteTrustEntityRequest {
149
- didId: DidListItem["id"];
150
- action?: TrustEntityUpdateActionEnum;
151
- name?: string;
152
- logo?: string | null;
153
- website?: string | null;
154
- termsUrl?: string | null;
155
- privacyUrl?: string | null;
156
- role?: TrustEntityRoleEnum;
157
- content?: string;
158
- }
159
- export declare enum TrustEntityUpdateActionEnum {
160
- ACTIVATE = "ACTIVATE",
161
- WITHDRAW = "WITHDRAW",
162
- REMOVE = "REMOVE"
163
- }
164
- export interface ResolveTrustEntityByIdentifierRequest {
165
- identifiers: Array<{
166
- id: IdentifierListItem["id"];
167
- certificateId?: IdentifierCertificateDetail["id"];
168
- }>;
169
- }
170
- export interface ResolvedIdentifierTrustEntity {
171
- trustEntity: TrustEntity;
172
- certificateIds?: Array<IdentifierCertificateDetail["id"]>;
173
- }
package/dist/src/trust.js DELETED
@@ -1,44 +0,0 @@
1
- export var SortableTrustAnchorColumnEnum;
2
- (function (SortableTrustAnchorColumnEnum) {
3
- SortableTrustAnchorColumnEnum["NAME"] = "NAME";
4
- SortableTrustAnchorColumnEnum["CREATED_DATE"] = "CREATED_DATE";
5
- SortableTrustAnchorColumnEnum["TYPE"] = "TYPE";
6
- })(SortableTrustAnchorColumnEnum || (SortableTrustAnchorColumnEnum = {}));
7
- export var ExactTrustAnchorFilterColumnEnum;
8
- (function (ExactTrustAnchorFilterColumnEnum) {
9
- ExactTrustAnchorFilterColumnEnum["NAME"] = "NAME";
10
- ExactTrustAnchorFilterColumnEnum["TYPE"] = "TYPE";
11
- })(ExactTrustAnchorFilterColumnEnum || (ExactTrustAnchorFilterColumnEnum = {}));
12
- export var TrustEntityRoleEnum;
13
- (function (TrustEntityRoleEnum) {
14
- TrustEntityRoleEnum["ISSUER"] = "ISSUER";
15
- TrustEntityRoleEnum["VERIFIER"] = "VERIFIER";
16
- TrustEntityRoleEnum["BOTH"] = "BOTH";
17
- })(TrustEntityRoleEnum || (TrustEntityRoleEnum = {}));
18
- export var TrustEntityStateEnum;
19
- (function (TrustEntityStateEnum) {
20
- TrustEntityStateEnum["ACTIVE"] = "ACTIVE";
21
- TrustEntityStateEnum["REMOVED"] = "REMOVED";
22
- TrustEntityStateEnum["WITHDRAWN"] = "WITHDRAWN";
23
- TrustEntityStateEnum["REMOVED_AND_WITHDRAWN"] = "REMOVED_AND_WITHDRAWN";
24
- })(TrustEntityStateEnum || (TrustEntityStateEnum = {}));
25
- export var TrustEntityTypeEnum;
26
- (function (TrustEntityTypeEnum) {
27
- TrustEntityTypeEnum["Did"] = "DID";
28
- TrustEntityTypeEnum["CertificateAuthority"] = "CA";
29
- })(TrustEntityTypeEnum || (TrustEntityTypeEnum = {}));
30
- export var SortableTrustEntityColumnEnum;
31
- (function (SortableTrustEntityColumnEnum) {
32
- SortableTrustEntityColumnEnum["NAME"] = "NAME";
33
- SortableTrustEntityColumnEnum["ROLE"] = "ROLE";
34
- })(SortableTrustEntityColumnEnum || (SortableTrustEntityColumnEnum = {}));
35
- export var ExactTrustEntityFilterColumnEnum;
36
- (function (ExactTrustEntityFilterColumnEnum) {
37
- ExactTrustEntityFilterColumnEnum["NAME"] = "NAME";
38
- })(ExactTrustEntityFilterColumnEnum || (ExactTrustEntityFilterColumnEnum = {}));
39
- export var TrustEntityUpdateActionEnum;
40
- (function (TrustEntityUpdateActionEnum) {
41
- TrustEntityUpdateActionEnum["ACTIVATE"] = "ACTIVATE";
42
- TrustEntityUpdateActionEnum["WITHDRAW"] = "WITHDRAW";
43
- TrustEntityUpdateActionEnum["REMOVE"] = "REMOVE";
44
- })(TrustEntityUpdateActionEnum || (TrustEntityUpdateActionEnum = {}));
@@ -1,30 +0,0 @@
1
- import { KeyListItem } from "./key";
2
- export declare enum WalletProviderTypeEnum {
3
- PROCIVIS_ONE = "PROCIVIS_ONE"
4
- }
5
- export interface WalletProvider {
6
- url: string;
7
- type: WalletProviderTypeEnum;
8
- }
9
- export interface HolderRegisterWalletUnitRequest {
10
- organisationId: string;
11
- walletProvider: WalletProvider;
12
- keyType: KeyListItem["keyType"];
13
- }
14
- export interface HolderWalletUnitDetail {
15
- id: string;
16
- createdDate: string;
17
- lastModified: string;
18
- providerWalletUnitId: string;
19
- walletProviderUrl: string;
20
- walletProviderType: WalletProviderTypeEnum;
21
- walletProviderName: string;
22
- status: WalletUnitStatus;
23
- authenticationKey: KeyListItem;
24
- }
25
- export declare enum WalletUnitStatus {
26
- PENDING = "PENDING",
27
- ACTIVE = "ACTIVE",
28
- REVOKED = "REVOKED",
29
- ERROR = "ERROR"
30
- }
@@ -1,11 +0,0 @@
1
- export var WalletProviderTypeEnum;
2
- (function (WalletProviderTypeEnum) {
3
- WalletProviderTypeEnum["PROCIVIS_ONE"] = "PROCIVIS_ONE";
4
- })(WalletProviderTypeEnum || (WalletProviderTypeEnum = {}));
5
- export var WalletUnitStatus;
6
- (function (WalletUnitStatus) {
7
- WalletUnitStatus["PENDING"] = "PENDING";
8
- WalletUnitStatus["ACTIVE"] = "ACTIVE";
9
- WalletUnitStatus["REVOKED"] = "REVOKED";
10
- WalletUnitStatus["ERROR"] = "ERROR";
11
- })(WalletUnitStatus || (WalletUnitStatus = {}));
@@ -1,61 +0,0 @@
1
- import Foundation
2
- import ProcivisOneCore
3
-
4
- class RSEKeyStorage: NativeKeyStorage {
5
-
6
- public static var available: Bool {
7
- return false
8
- }
9
-
10
- init() {
11
- fatalError("init() has not been implemented")
12
- }
13
-
14
- func generateKey(keyAlias: String) async throws -> GeneratedKeyBindingDto {
15
- fatalError("generateKey(keyAlias:) has not been implemented")
16
- }
17
-
18
- func sign(keyReference: Data, message: Data) async throws -> Data {
19
- fatalError("sign(keyReference:,message:) has not been implemented")
20
- }
21
-
22
- func generateAttestation(keyReference: Data, nonce: String?) async throws -> [String] {
23
- fatalError("generateAttestation(keyReference:,nonce:) has not been implemented")
24
- }
25
-
26
- func generateAttestationKey(keyAlias: String, nonce: String?) async throws -> ProcivisOneCore.GeneratedKeyBindingDto {
27
- fatalError("generateAttestationKey(keyAlias:,nonce:) has not been implemented")
28
- }
29
-
30
- func signWithAttestationKey(keyReference: Data, message: Data) async throws -> Data {
31
- fatalError("signWithAttestationKey(keyReference:,message:) has not been implemented")
32
- }
33
-
34
- func changePin() async throws {
35
- fatalError("changePin() has not been implemented")
36
- }
37
-
38
- var areBiometricsSupported: Bool {
39
- fatalError("areBiometricsSupported has not been implemented")
40
- }
41
-
42
- var areBiometricsEnabled: Bool {
43
- fatalError("areBiometricsEnabled has not been implemented")
44
- }
45
-
46
- func enableBiometrics() async throws {
47
- fatalError("enableBiometrics() has not been implemented")
48
- }
49
-
50
- func disableBiometrics() throws {
51
- fatalError("disableBiometrics() has not been implemented")
52
- }
53
-
54
- func delete() async throws {
55
- fatalError("delete() has not been implemented")
56
- }
57
-
58
- func resetPinFlow() async throws {
59
- fatalError("resetPinFlow() has not been implemented")
60
- }
61
- }
@@ -1,21 +0,0 @@
1
- import UIKit
2
-
3
- @objc
4
- public class RSEPinPad: UIView {
5
-
6
- static let sharedPinPad: UBQPinPad = {
7
- fatalError("sharedPinPad() has not been implemented")
8
- }()
9
-
10
- override init(frame: CGRect) {
11
- fatalError("init(frame:) has not been implemented")
12
- }
13
-
14
- required init?(coder: NSCoder) {
15
- fatalError("init(coder:) has not been implemented")
16
- }
17
-
18
- public static func fixSubviews(view: UIView) {
19
- fatalError("fixSubviews(view:) has not been implemented")
20
- }
21
- }
@@ -1,44 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>AvailableLibraries</key>
6
- <array>
7
- <dict>
8
- <key>BinaryPath</key>
9
- <string>UBQKit.framework/UBQKit</string>
10
- <key>LibraryIdentifier</key>
11
- <string>ios-arm64_x86_64-simulator</string>
12
- <key>LibraryPath</key>
13
- <string>UBQKit.framework</string>
14
- <key>SupportedArchitectures</key>
15
- <array>
16
- <string>arm64</string>
17
- <string>x86_64</string>
18
- </array>
19
- <key>SupportedPlatform</key>
20
- <string>ios</string>
21
- <key>SupportedPlatformVariant</key>
22
- <string>simulator</string>
23
- </dict>
24
- <dict>
25
- <key>BinaryPath</key>
26
- <string>UBQKit.framework/UBQKit</string>
27
- <key>LibraryIdentifier</key>
28
- <string>ios-arm64</string>
29
- <key>LibraryPath</key>
30
- <string>UBQKit.framework</string>
31
- <key>SupportedArchitectures</key>
32
- <array>
33
- <string>arm64</string>
34
- </array>
35
- <key>SupportedPlatform</key>
36
- <string>ios</string>
37
- </dict>
38
- </array>
39
- <key>CFBundlePackageType</key>
40
- <string>XFWK</string>
41
- <key>XCFrameworkFormatVersion</key>
42
- <string>1.0</string>
43
- </dict>
44
- </plist>
@@ -1,37 +0,0 @@
1
- // AFCompatibilityMacros.h
2
- // Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
3
- //
4
- // Permission is hereby granted, free of charge, to any person obtaining a copy
5
- // of this software and associated documentation files (the "Software"), to deal
6
- // in the Software without restriction, including without limitation the rights
7
- // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- // copies of the Software, and to permit persons to whom the Software is
9
- // furnished to do so, subject to the following conditions:
10
- //
11
- // The above copyright notice and this permission notice shall be included in
12
- // all copies or substantial portions of the Software.
13
- //
14
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
- // THE SOFTWARE.
21
-
22
- #ifndef AFCompatibilityMacros_h
23
- #define AFCompatibilityMacros_h
24
-
25
- #ifdef API_UNAVAILABLE
26
- #define AF_API_UNAVAILABLE(x) API_UNAVAILABLE(x)
27
- #else
28
- #define AF_API_UNAVAILABLE(x)
29
- #endif // API_UNAVAILABLE
30
-
31
- #if __has_warning("-Wunguarded-availability-new")
32
- #define AF_CAN_USE_AT_AVAILABLE 1
33
- #else
34
- #define AF_CAN_USE_AT_AVAILABLE 0
35
- #endif
36
-
37
- #endif /* AFCompatibilityMacros_h */