@procivis/react-native-one-core 1.81885.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/core-sdk.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "android": {
3
3
  "debug": {
4
- "url": "https://onesdk.blob.core.windows.net/core-sdk/81885/android/onecore-debug.aar",
5
- "sha1": "c3d51c2d8d7fe33f2d96f3c86940eebaf9a4020f"
4
+ "url": "https://onesdk.blob.core.windows.net/core-sdk/84437/android/onecore-debug.aar",
5
+ "sha1": "602d75e25a7d8d556ed9233199eeb4444f654582"
6
6
  },
7
7
  "release": {
8
- "url": "https://onesdk.blob.core.windows.net/core-sdk/81885/android/onecore-release.aar",
9
- "sha1": "89f8fe0cd515100fa9eb701128a140f3c3b535c8"
8
+ "url": "https://onesdk.blob.core.windows.net/core-sdk/84437/android/onecore-release.aar",
9
+ "sha1": "61a8d7bd0380ff8701353a669c4cd6634d96f8b9"
10
10
  }
11
11
  },
12
12
  "ios": {
13
- "url": "https://onesdk.blob.core.windows.net/core-sdk/81885/ios/deploy.zip",
14
- "sha1": "466211b3ff0189cd55462fc2175da099937bc2b7"
13
+ "url": "https://onesdk.blob.core.windows.net/core-sdk/84437/ios/deploy.zip",
14
+ "sha1": "8b73ced41ea8078a36944dc51f432f9dfe9abd97"
15
15
  }
16
16
  }
@@ -63,6 +63,15 @@ export interface ContinueIssuanceResponseBindingDto {
63
63
  keyStorageSecurityLevels?: Array<KeyStorageSecurityBindingEnum>;
64
64
  keyAlgorithms?: Array<string>;
65
65
  }
66
+ export interface CreateCaCsrRequestBindingDto {
67
+ subject: KeyGenerateCsrRequestSubjectBindingDto;
68
+ }
69
+ export interface CreateCertificateAuthorityRequestBindingDto {
70
+ name?: string;
71
+ keyId: string;
72
+ chain?: string;
73
+ selfSigned?: CreateSelfSignedCertificateAuthorityRequestBindingDto;
74
+ }
66
75
  export interface CreateCertificateRequestBindingDto {
67
76
  name?: string;
68
77
  chain: string;
@@ -74,12 +83,18 @@ export interface CreateIdentifierDidRequestBindingDto {
74
83
  keys: DidRequestKeysBindingDto;
75
84
  params: Record<string, string>;
76
85
  }
86
+ export interface CreateIdentifierKeyRequestBindingDto {
87
+ keyId: string;
88
+ }
77
89
  export interface CreateIdentifierRequestBindingDto {
78
90
  organisationId: string;
79
91
  name: string;
92
+ /** Deprecated. Use the `key` field instead. */
80
93
  keyId?: string;
94
+ key?: CreateIdentifierKeyRequestBindingDto;
81
95
  did?: CreateIdentifierDidRequestBindingDto;
82
96
  certificates?: Array<CreateCertificateRequestBindingDto>;
97
+ certificateAuthorities?: Array<CreateCertificateAuthorityRequestBindingDto>;
83
98
  }
84
99
  export interface CreateOrganisationRequestBindingDto {
85
100
  id?: string;
@@ -126,6 +141,12 @@ export interface CreateRemoteTrustEntityRequestBindingDto {
126
141
  website?: string;
127
142
  role: TrustEntityRoleBindingEnum;
128
143
  }
144
+ export interface CreateSelfSignedCertificateAuthorityRequestBindingDto {
145
+ content: CreateCaCsrRequestBindingDto;
146
+ signer: string;
147
+ validityStart?: string;
148
+ validityEnd?: string;
149
+ }
129
150
  export interface CreateTrustAnchorRequestBindingDto {
130
151
  name: string;
131
152
  type: string;
@@ -246,12 +267,14 @@ export interface CredentialSchemaBindingDto {
246
267
  lastModified: string;
247
268
  name: string;
248
269
  format: string;
249
- revocationMethod: string;
270
+ revocationMethod?: string;
250
271
  keyStorageSecurity?: KeyStorageSecurityBindingEnum;
251
272
  schemaId: string;
252
273
  layoutType?: LayoutTypeBindingEnum;
253
274
  importedSourceUrl: string;
254
275
  layoutProperties?: CredentialSchemaLayoutPropertiesBindingDto;
276
+ allowSuspension: boolean;
277
+ requiresAppAttestation: boolean;
255
278
  }
256
279
  export interface CredentialSchemaCodePropertiesBindingDto {
257
280
  attribute: string;
@@ -263,13 +286,15 @@ export interface CredentialSchemaDetailBindingDto {
263
286
  lastModified: string;
264
287
  name: string;
265
288
  format: string;
266
- revocationMethod: string;
289
+ revocationMethod?: string;
267
290
  claims: Array<CredentialClaimSchemaBindingDto>;
268
291
  keyStorageSecurity?: KeyStorageSecurityBindingEnum;
269
292
  schemaId: string;
270
293
  importedSourceUrl: string;
271
294
  layoutType?: LayoutTypeBindingEnum;
272
295
  layoutProperties?: CredentialSchemaLayoutPropertiesBindingDto;
296
+ allowSuspension: boolean;
297
+ requiresAppAttestation: boolean;
273
298
  }
274
299
  export interface CredentialSchemaLayoutPropertiesBindingDto {
275
300
  background?: CredentialSchemaBackgroundPropertiesBindingDto;
@@ -625,6 +650,7 @@ export interface ImportCredentialSchemaRequestSchemaBindingDto {
625
650
  layoutType?: LayoutTypeBindingEnum;
626
651
  layoutProperties?: ImportCredentialSchemaLayoutPropertiesBindingDto;
627
652
  allowSuspension?: boolean;
653
+ requiresAppAttestation?: boolean;
628
654
  }
629
655
  export interface ImportProofSchemaBindingDto {
630
656
  id: string;
@@ -649,14 +675,17 @@ export interface ImportProofSchemaCredentialSchemaBindingDto {
649
675
  id: string;
650
676
  createdDate: string;
651
677
  lastModified: string;
678
+ deletedAt?: string;
652
679
  name: string;
653
680
  format: string;
654
- revocationMethod: string;
681
+ revocationMethod?: string;
655
682
  keyStorageSecurity?: KeyStorageSecurityBindingEnum;
656
683
  schemaId: string;
657
684
  importedSourceUrl: string;
658
685
  layoutType?: LayoutTypeBindingEnum;
659
686
  layoutProperties?: CredentialSchemaLayoutPropertiesBindingDto;
687
+ allowSuspension?: boolean;
688
+ requiresAppAttestation?: boolean;
660
689
  }
661
690
  export interface ImportProofSchemaInputSchemaBindingDto {
662
691
  claimSchemas: Array<ImportProofSchemaClaimSchemaBindingDto>;
@@ -692,6 +721,20 @@ export interface InitiateIssuanceRequestBindingDto {
692
721
  export interface InitiateIssuanceResponseBindingDto {
693
722
  url: string;
694
723
  }
724
+ export interface KeyGenerateCsrRequestBindingDto {
725
+ profile: KeyGenerateCsrRequestProfileBinding;
726
+ subject: KeyGenerateCsrRequestSubjectBindingDto;
727
+ }
728
+ export interface KeyGenerateCsrRequestSubjectBindingDto {
729
+ /** Two-letter country code. */
730
+ countryName?: string;
731
+ /** Common name to include in the CSR, typically the domain name of the organization. */
732
+ commonName?: string;
733
+ stateOrProvinceName?: string;
734
+ organisationName?: string;
735
+ localityName?: string;
736
+ serialNumber?: string;
737
+ }
695
738
  export interface KeyListItemBindingDto {
696
739
  id: string;
697
740
  createdDate: string;
@@ -1392,7 +1435,13 @@ export declare enum IdentifierStateBindingEnum {
1392
1435
  export declare enum IdentifierTypeBindingEnum {
1393
1436
  KEY = "KEY",
1394
1437
  DID = "DID",
1395
- CERTIFICATE = "CERTIFICATE"
1438
+ CERTIFICATE = "CERTIFICATE",
1439
+ CERTIFICATE_AUTHORITY = "CERTIFICATE_AUTHORITY"
1440
+ }
1441
+ export declare enum KeyGenerateCsrRequestProfileBinding {
1442
+ GENERIC = "GENERIC",
1443
+ MDL = "MDL",
1444
+ CA = "CA"
1396
1445
  }
1397
1446
  export declare enum KeyRoleBindingEnum {
1398
1447
  AUTHENTICATION = "AUTHENTICATION",
@@ -191,7 +191,14 @@ export var IdentifierTypeBindingEnum;
191
191
  IdentifierTypeBindingEnum["KEY"] = "KEY";
192
192
  IdentifierTypeBindingEnum["DID"] = "DID";
193
193
  IdentifierTypeBindingEnum["CERTIFICATE"] = "CERTIFICATE";
194
+ IdentifierTypeBindingEnum["CERTIFICATE_AUTHORITY"] = "CERTIFICATE_AUTHORITY";
194
195
  })(IdentifierTypeBindingEnum || (IdentifierTypeBindingEnum = {}));
196
+ export var KeyGenerateCsrRequestProfileBinding;
197
+ (function (KeyGenerateCsrRequestProfileBinding) {
198
+ KeyGenerateCsrRequestProfileBinding["GENERIC"] = "GENERIC";
199
+ KeyGenerateCsrRequestProfileBinding["MDL"] = "MDL";
200
+ KeyGenerateCsrRequestProfileBinding["CA"] = "CA";
201
+ })(KeyGenerateCsrRequestProfileBinding || (KeyGenerateCsrRequestProfileBinding = {}));
195
202
  export var KeyRoleBindingEnum;
196
203
  (function (KeyRoleBindingEnum) {
197
204
  KeyRoleBindingEnum["AUTHENTICATION"] = "AUTHENTICATION";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@procivis/react-native-one-core",
3
- "version": "1.81885.0",
3
+ "version": "1.84437.0",
4
4
  "author": "Procivis AG (https://procivis.ch)",
5
5
  "license": "Apache-2.0",
6
6
  "description": "ONE core bindings for React Native",