Skip to content

Commit 6d888f7

Browse files
committed
feat: update all clients
1 parent ae53bee commit 6d888f7

File tree

57 files changed

+2186
-175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+2186
-175
lines changed

clients/dart/credential_verification_client/doc/VerifyPresentationV2Input.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ import 'package:affinidi_tdk_credential_verification_client/api.dart';
88

99
## Properties
1010

11-
| Name | Type | Description | Notes |
12-
| -------------------------- | ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ---------- |
13-
| **verifiablePresentation** | [**JsonObject**](.md) | | [optional] |
14-
| **pexQuery** | [**VerifyPresentationV2InputPexQuery**](VerifyPresentationV2InputPexQuery.md) | | [optional] |
15-
| **challenge** | **String** | Optional challenge string for domain/challenge verification | [optional] |
16-
| **domain** | **BuiltList<String>** | Optional domain for verification. Array of domain strings as per W3C VP standard | [optional] |
11+
| Name | Type | Description | Notes |
12+
| -------------------------- | ----------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------- |
13+
| **verifiablePresentation** | [**JsonObject**](.md) | | [optional] |
14+
| **pexQuery** | [**VerifyPresentationV2InputPexQuery**](VerifyPresentationV2InputPexQuery.md) | | [optional] |
15+
| **dcqlQuery** | [**BuiltMap<String, JsonObject>**](JsonObject.md) | DCQL (Digital Credentials Query Language) Query used to verify that the credentials in the Verifiable Presentation match the specified query requirements. Currently supports only ldp_vc format credentials. Developers should implement additional business rule validation on top of the verification results returned by this service. | [optional] |
16+
| **challenge** | **String** | Optional challenge string for domain/challenge verification | [optional] |
17+
| **domain** | **BuiltList<String>** | Optional domain for verification. Array of domain strings as per W3C VP standard | [optional] |
1718

1819
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

clients/dart/credential_verification_client/lib/src/model/verify_presentation_v2_input.dart

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ part 'verify_presentation_v2_input.g.dart';
1616
/// Properties:
1717
/// * [verifiablePresentation]
1818
/// * [pexQuery]
19+
/// * [dcqlQuery] - DCQL (Digital Credentials Query Language) Query used to verify that the credentials in the Verifiable Presentation match the specified query requirements. Currently supports only ldp_vc format credentials. Developers should implement additional business rule validation on top of the verification results returned by this service.
1920
/// * [challenge] - Optional challenge string for domain/challenge verification
2021
/// * [domain] - Optional domain for verification. Array of domain strings as per W3C VP standard
2122
@BuiltValue()
@@ -28,6 +29,10 @@ abstract class VerifyPresentationV2Input
2829
@BuiltValueField(wireName: r'pexQuery')
2930
VerifyPresentationV2InputPexQuery? get pexQuery;
3031

32+
/// DCQL (Digital Credentials Query Language) Query used to verify that the credentials in the Verifiable Presentation match the specified query requirements. Currently supports only ldp_vc format credentials. Developers should implement additional business rule validation on top of the verification results returned by this service.
33+
@BuiltValueField(wireName: r'dcqlQuery')
34+
BuiltMap<String, JsonObject?>? get dcqlQuery;
35+
3136
/// Optional challenge string for domain/challenge verification
3237
@BuiltValueField(wireName: r'challenge')
3338
String? get challenge;
@@ -80,6 +85,14 @@ class _$VerifyPresentationV2InputSerializer
8085
specifiedType: const FullType(VerifyPresentationV2InputPexQuery),
8186
);
8287
}
88+
if (object.dcqlQuery != null) {
89+
yield r'dcqlQuery';
90+
yield serializers.serialize(
91+
object.dcqlQuery,
92+
specifiedType: const FullType(
93+
BuiltMap, [FullType(String), FullType.nullable(JsonObject)]),
94+
);
95+
}
8396
if (object.challenge != null) {
8497
yield r'challenge';
8598
yield serializers.serialize(
@@ -133,6 +146,14 @@ class _$VerifyPresentationV2InputSerializer
133146
) as VerifyPresentationV2InputPexQuery;
134147
result.pexQuery.replace(valueDes);
135148
break;
149+
case r'dcqlQuery':
150+
final valueDes = serializers.deserialize(
151+
value,
152+
specifiedType: const FullType(
153+
BuiltMap, [FullType(String), FullType.nullable(JsonObject)]),
154+
) as BuiltMap<String, JsonObject?>;
155+
result.dcqlQuery.replace(valueDes);
156+
break;
136157
case r'challenge':
137158
final valueDes = serializers.deserialize(
138159
value,

clients/dart/credential_verification_client/lib/src/model/verify_presentation_v2_input.g.dart

Lines changed: 20 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/dart/credential_verification_client/lib/src/serializers.g.dart

Lines changed: 10 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/dart/wallets_client/.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ doc/SignMessageResultDto.md
4141
doc/SignPresentationLdpInputDto.md
4242
doc/SignPresentationLdpResultDto.md
4343
doc/SigningFailedError.md
44+
doc/TooManyRequestsError.md
4445
doc/UpdateWalletInput.md
4546
doc/WalletApi.md
4647
doc/WalletDto.md
@@ -96,6 +97,7 @@ lib/src/model/sign_message_result_dto.dart
9697
lib/src/model/sign_presentation_ldp_input_dto.dart
9798
lib/src/model/sign_presentation_ldp_result_dto.dart
9899
lib/src/model/signing_failed_error.dart
100+
lib/src/model/too_many_requests_error.dart
99101
lib/src/model/update_wallet_input.dart
100102
lib/src/model/wallet_dto.dart
101103
lib/src/model/wallet_dto_keys_inner.dart

clients/dart/wallets_client/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ All URIs are relative to *https://apse1.api.affinidi.io/cwe*
130130
- [SignPresentationLdpInputDto](doc/SignPresentationLdpInputDto.md)
131131
- [SignPresentationLdpResultDto](doc/SignPresentationLdpResultDto.md)
132132
- [SigningFailedError](doc/SigningFailedError.md)
133+
- [TooManyRequestsError](doc/TooManyRequestsError.md)
133134
- [UpdateWalletInput](doc/UpdateWalletInput.md)
134135
- [WalletDto](doc/WalletDto.md)
135136
- [WalletDtoKeysInner](doc/WalletDtoKeysInner.md)

clients/dart/wallets_client/doc/SignCredentialsLdpInputDto.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ import 'package:affinidi_tdk_wallets_client/api.dart';
88

99
## Properties
1010

11-
| Name | Type | Description | Notes |
12-
| ---------------------- | --------------------- | --------------------------------- | ---------- |
13-
| **unsignedCredential** | [**JsonObject**](.md) | Unsigned Credential in Dm2 format |
14-
| **revocable** | **bool** | | [optional] |
15-
| **signatureScheme** | **String** | | [optional] |
11+
| Name | Type | Description | Notes |
12+
| ---------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------- |
13+
| **unsignedCredential** | [**JsonObject**](.md) | Unsigned Credential in Dm2 format |
14+
| **revocable** | **bool** | | [optional] |
15+
| **signatureScheme** | **String** | | [optional] |
16+
| **signatureSuite** | **String** | W3C signature suite for canonicalization. Defaults to rdfc variants for each algorithm (ecdsa-rdfc-2019 for P256, eddsa-rdfc-2022 for Ed25519, EcdsaSecp256k1Signature2019 for secp256k1). | [optional] |
1617

1718
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

clients/dart/wallets_client/doc/SignPresentationLdpInputDto.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ import 'package:affinidi_tdk_wallets_client/api.dart';
88

99
## Properties
1010

11-
| Name | Type | Description | Notes |
12-
| ------------------------ | --------------------------- | ------------------------------------------------ | ---------- |
13-
| **unsignedPresentation** | [**JsonObject**](.md) | Unsigned presentation in Dm1 format |
14-
| **signatureScheme** | **String** | | [optional] |
15-
| **domain** | **BuiltList&lt;String&gt;** | Domain(s) for which the presentation is intended | [optional] |
16-
| **challenge** | **String** | Challenge string | [optional] |
11+
| Name | Type | Description | Notes |
12+
| ------------------------ | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------- |
13+
| **unsignedPresentation** | [**JsonObject**](.md) | Unsigned presentation in Dm1 format |
14+
| **signatureScheme** | **String** | | [optional] |
15+
| **signatureSuite** | **String** | W3C signature suite for canonicalization. Defaults to rdfc variants for each algorithm (ecdsa-rdfc-2019 for P256, eddsa-rdfc-2022 for Ed25519, EcdsaSecp256k1Signature2019 for secp256k1). | [optional] |
16+
| **domain** | **BuiltList&lt;String&gt;** | Domain(s) for which the presentation is intended | [optional] |
17+
| **challenge** | **String** | Challenge string | [optional] |
1718

1819
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# affinidi_tdk_wallets_client.model.TooManyRequestsError
2+
3+
## Load the model package
4+
5+
```dart
6+
import 'package:affinidi_tdk_wallets_client/api.dart';
7+
```
8+
9+
## Properties
10+
11+
| Name | Type | Description | Notes |
12+
| ------------------ | -------------------------------------------------------------------------------------------- | ----------- | ---------- |
13+
| **name** | **String** | |
14+
| **message** | **String** | |
15+
| **httpStatusCode** | **int** | |
16+
| **traceId** | **String** | |
17+
| **details** | [**BuiltList&lt;ServiceErrorResponseDetailsInner&gt;**](ServiceErrorResponseDetailsInner.md) | | [optional] |
18+
19+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

clients/dart/wallets_client/lib/affinidi_tdk_wallets_client.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export 'package:affinidi_tdk_wallets_client/src/model/sign_message_result_dto.da
5050
export 'package:affinidi_tdk_wallets_client/src/model/sign_presentation_ldp_input_dto.dart';
5151
export 'package:affinidi_tdk_wallets_client/src/model/sign_presentation_ldp_result_dto.dart';
5252
export 'package:affinidi_tdk_wallets_client/src/model/signing_failed_error.dart';
53+
export 'package:affinidi_tdk_wallets_client/src/model/too_many_requests_error.dart';
5354
export 'package:affinidi_tdk_wallets_client/src/model/update_wallet_input.dart';
5455
export 'package:affinidi_tdk_wallets_client/src/model/wallet_dto.dart';
5556
export 'package:affinidi_tdk_wallets_client/src/model/wallet_dto_keys_inner.dart';

0 commit comments

Comments
 (0)