Skip to content

Commit

Permalink
feat: update all clients (#511)
Browse files Browse the repository at this point in the history
Co-authored-by: Roman Brazhnyk <roman.b@affinidi.com>
  • Loading branch information
github-actions[bot] and rbrazhnyk authored Jan 24, 2025
1 parent 32d51b9 commit e6eaab2
Show file tree
Hide file tree
Showing 52 changed files with 373 additions and 380 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ doc/StartIssuanceInputDataInnerStatusListDetailsInner.md
doc/StartIssuanceResponse.md
doc/SupportedCredentialMetadata.md
doc/SupportedCredentialMetadataDisplayInner.md
doc/SupportedCredentialMetadataDisplayInnerLogo.md
doc/SupportedCredentialMetadataItemLogo.md
doc/UpdateIssuanceConfigInput.md
doc/VcClaimedError.md
doc/WellKnownApi.md
Expand Down Expand Up @@ -142,7 +142,7 @@ lib/src/model/start_issuance_input_data_inner_status_list_details_inner.dart
lib/src/model/start_issuance_response.dart
lib/src/model/supported_credential_metadata.dart
lib/src/model/supported_credential_metadata_display_inner.dart
lib/src/model/supported_credential_metadata_display_inner_logo.dart
lib/src/model/supported_credential_metadata_item_logo.dart
lib/src/model/update_issuance_config_input.dart
lib/src/model/vc_claimed_error.dart
lib/src/model/well_known_open_id_credential_issuer_response.dart
Expand Down Expand Up @@ -209,8 +209,8 @@ test/start_issuance_input_data_inner_status_list_details_inner_test.dart
test/start_issuance_input_data_inner_test.dart
test/start_issuance_input_test.dart
test/start_issuance_response_test.dart
test/supported_credential_metadata_display_inner_logo_test.dart
test/supported_credential_metadata_display_inner_test.dart
test/supported_credential_metadata_item_logo_test.dart
test/supported_credential_metadata_test.dart
test/update_issuance_config_input_test.dart
test/vc_claimed_error_test.dart
Expand Down
2 changes: 1 addition & 1 deletion clients/dart/credential_issuance_client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ All URIs are relative to *https://apse1.api.affinidi.io/cis*
- [StartIssuanceResponse](doc/StartIssuanceResponse.md)
- [SupportedCredentialMetadata](doc/SupportedCredentialMetadata.md)
- [SupportedCredentialMetadataDisplayInner](doc/SupportedCredentialMetadataDisplayInner.md)
- [SupportedCredentialMetadataDisplayInnerLogo](doc/SupportedCredentialMetadataDisplayInnerLogo.md)
- [SupportedCredentialMetadataItemLogo](doc/SupportedCredentialMetadataItemLogo.md)
- [UpdateIssuanceConfigInput](doc/UpdateIssuanceConfigInput.md)
- [VcClaimedError](doc/VcClaimedError.md)
- [WellKnownOpenIdCredentialIssuerResponse](doc/WellKnownOpenIdCredentialIssuerResponse.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import 'package:affinidi_tdk_credential_issuance_client/api.dart';

## Properties

| Name | Type | Description | Notes |
| ------------------- | ------------------------------------------------------------------------------------------------- | ----------- | ---------- |
| **name** | **String** | |
| **locale** | **String** | | [optional] |
| **logo** | [**SupportedCredentialMetadataDisplayInnerLogo**](SupportedCredentialMetadataDisplayInnerLogo.md) | | [optional] |
| **backgroundColor** | **String** | | [optional] |
| **textColor** | **String** | | [optional] |
| Name | Type | Description | Notes |
| ------------------- | --------------------------------------------------------------------------------- | ----------- | ---------- |
| **name** | **String** | |
| **locale** | **String** | | [optional] |
| **logo** | [**SupportedCredentialMetadataItemLogo**](SupportedCredentialMetadataItemLogo.md) | | [optional] |
| **backgroundColor** | **String** | | [optional] |
| **textColor** | **String** | | [optional] |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# affinidi_tdk_credential_issuance_client.model.SupportedCredentialMetadataDisplayInnerLogo
# affinidi_tdk_credential_issuance_client.model.SupportedCredentialMetadataItemLogo

## Load the model package

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export 'package:affinidi_tdk_credential_issuance_client/src/model/start_issuance
export 'package:affinidi_tdk_credential_issuance_client/src/model/start_issuance_response.dart';
export 'package:affinidi_tdk_credential_issuance_client/src/model/supported_credential_metadata.dart';
export 'package:affinidi_tdk_credential_issuance_client/src/model/supported_credential_metadata_display_inner.dart';
export 'package:affinidi_tdk_credential_issuance_client/src/model/supported_credential_metadata_display_inner_logo.dart';
export 'package:affinidi_tdk_credential_issuance_client/src/model/supported_credential_metadata_item_logo.dart';
export 'package:affinidi_tdk_credential_issuance_client/src/model/update_issuance_config_input.dart';
export 'package:affinidi_tdk_credential_issuance_client/src/model/vc_claimed_error.dart';
export 'package:affinidi_tdk_credential_issuance_client/src/model/well_known_open_id_credential_issuer_response.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class _$CredentialSupportedObjectSerializer implements PrimitiveSerializer<Crede
value,
specifiedType: const FullType(SupportedCredentialMetadata),
) as SupportedCredentialMetadata;
result.metadata = valueDes;
result.metadata = valueDes.toBuilder();
break;
default:
unhandled.add(key);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
//

// ignore_for_file: unused_element
import 'package:affinidi_tdk_credential_issuance_client/src/model/supported_credential_metadata_item_logo.dart';
import 'package:built_collection/built_collection.dart';
import 'package:affinidi_tdk_credential_issuance_client/src/model/supported_credential_metadata_display_inner_logo.dart';
import 'package:built_value/json_object.dart';
import 'package:built_value/built_value.dart';
import 'package:built_value/serializer.dart';
Expand All @@ -28,7 +28,7 @@ abstract class SupportedCredentialMetadataDisplayInner implements Built<Supporte
String? get locale;

@BuiltValueField(wireName: r'logo')
SupportedCredentialMetadataDisplayInnerLogo? get logo;
SupportedCredentialMetadataItemLogo? get logo;

@BuiltValueField(wireName: r'backgroundColor')
String? get backgroundColor;
Expand Down Expand Up @@ -75,7 +75,7 @@ class _$SupportedCredentialMetadataDisplayInnerSerializer implements PrimitiveSe
yield r'logo';
yield serializers.serialize(
object.logo,
specifiedType: const FullType(SupportedCredentialMetadataDisplayInnerLogo),
specifiedType: const FullType(SupportedCredentialMetadataItemLogo),
);
}
if (object.backgroundColor != null) {
Expand Down Expand Up @@ -132,9 +132,9 @@ class _$SupportedCredentialMetadataDisplayInnerSerializer implements PrimitiveSe
case r'logo':
final valueDes = serializers.deserialize(
value,
specifiedType: const FullType(SupportedCredentialMetadataDisplayInnerLogo),
) as SupportedCredentialMetadataDisplayInnerLogo;
result.logo = valueDes;
specifiedType: const FullType(SupportedCredentialMetadataItemLogo),
) as SupportedCredentialMetadataItemLogo;
result.logo = valueDes.toBuilder();
break;
case r'backgroundColor':
final valueDes = serializers.deserialize(
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,42 +8,42 @@ import 'package:built_value/json_object.dart';
import 'package:built_value/built_value.dart';
import 'package:built_value/serializer.dart';

part 'supported_credential_metadata_display_inner_logo.g.dart';
part 'supported_credential_metadata_item_logo.g.dart';

/// SupportedCredentialMetadataDisplayInnerLogo
/// SupportedCredentialMetadataItemLogo
///
/// Properties:
/// * [url]
/// * [altText]
@BuiltValue()
abstract class SupportedCredentialMetadataDisplayInnerLogo implements Built<SupportedCredentialMetadataDisplayInnerLogo, SupportedCredentialMetadataDisplayInnerLogoBuilder> {
abstract class SupportedCredentialMetadataItemLogo implements Built<SupportedCredentialMetadataItemLogo, SupportedCredentialMetadataItemLogoBuilder> {
@BuiltValueField(wireName: r'url')
String get url;

@BuiltValueField(wireName: r'altText')
String? get altText;

SupportedCredentialMetadataDisplayInnerLogo._();
SupportedCredentialMetadataItemLogo._();

factory SupportedCredentialMetadataDisplayInnerLogo([void updates(SupportedCredentialMetadataDisplayInnerLogoBuilder b)]) = _$SupportedCredentialMetadataDisplayInnerLogo;
factory SupportedCredentialMetadataItemLogo([void updates(SupportedCredentialMetadataItemLogoBuilder b)]) = _$SupportedCredentialMetadataItemLogo;

@BuiltValueHook(initializeBuilder: true)
static void _defaults(SupportedCredentialMetadataDisplayInnerLogoBuilder b) => b;
static void _defaults(SupportedCredentialMetadataItemLogoBuilder b) => b;

@BuiltValueSerializer(custom: true)
static Serializer<SupportedCredentialMetadataDisplayInnerLogo> get serializer => _$SupportedCredentialMetadataDisplayInnerLogoSerializer();
static Serializer<SupportedCredentialMetadataItemLogo> get serializer => _$SupportedCredentialMetadataItemLogoSerializer();
}

class _$SupportedCredentialMetadataDisplayInnerLogoSerializer implements PrimitiveSerializer<SupportedCredentialMetadataDisplayInnerLogo> {
class _$SupportedCredentialMetadataItemLogoSerializer implements PrimitiveSerializer<SupportedCredentialMetadataItemLogo> {
@override
final Iterable<Type> types = const [SupportedCredentialMetadataDisplayInnerLogo, _$SupportedCredentialMetadataDisplayInnerLogo];
final Iterable<Type> types = const [SupportedCredentialMetadataItemLogo, _$SupportedCredentialMetadataItemLogo];

@override
final String wireName = r'SupportedCredentialMetadataDisplayInnerLogo';
final String wireName = r'SupportedCredentialMetadataItemLogo';

Iterable<Object?> _serializeProperties(
Serializers serializers,
SupportedCredentialMetadataDisplayInnerLogo object, {
SupportedCredentialMetadataItemLogo object, {
FullType specifiedType = FullType.unspecified,
}) sync* {
yield r'url';
Expand All @@ -63,7 +63,7 @@ class _$SupportedCredentialMetadataDisplayInnerLogoSerializer implements Primiti
@override
Object serialize(
Serializers serializers,
SupportedCredentialMetadataDisplayInnerLogo object, {
SupportedCredentialMetadataItemLogo object, {
FullType specifiedType = FullType.unspecified,
}) {
return _serializeProperties(serializers, object, specifiedType: specifiedType).toList();
Expand All @@ -74,7 +74,7 @@ class _$SupportedCredentialMetadataDisplayInnerLogoSerializer implements Primiti
Object serialized, {
FullType specifiedType = FullType.unspecified,
required List<Object?> serializedList,
required SupportedCredentialMetadataDisplayInnerLogoBuilder result,
required SupportedCredentialMetadataItemLogoBuilder result,
required List<Object?> unhandled,
}) {
for (var i = 0; i < serializedList.length; i += 2) {
Expand Down Expand Up @@ -104,12 +104,12 @@ class _$SupportedCredentialMetadataDisplayInnerLogoSerializer implements Primiti
}

@override
SupportedCredentialMetadataDisplayInnerLogo deserialize(
SupportedCredentialMetadataItemLogo deserialize(
Serializers serializers,
Object serialized, {
FullType specifiedType = FullType.unspecified,
}) {
final result = SupportedCredentialMetadataDisplayInnerLogoBuilder();
final result = SupportedCredentialMetadataItemLogoBuilder();
final serializedList = (serialized as Iterable<Object?>).toList();
final unhandled = <Object?>[];
_deserializeProperties(
Expand Down
Loading

0 comments on commit e6eaab2

Please sign in to comment.