diff --git a/clients/dart/credential_issuance_client/.openapi-generator/FILES b/clients/dart/credential_issuance_client/.openapi-generator/FILES index f1b302b79..5a1314ff3 100644 --- a/clients/dart/credential_issuance_client/.openapi-generator/FILES +++ b/clients/dart/credential_issuance_client/.openapi-generator/FILES @@ -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 @@ -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 @@ -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 diff --git a/clients/dart/credential_issuance_client/README.md b/clients/dart/credential_issuance_client/README.md index f0a39d8e8..ee7206601 100644 --- a/clients/dart/credential_issuance_client/README.md +++ b/clients/dart/credential_issuance_client/README.md @@ -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) diff --git a/clients/dart/credential_issuance_client/doc/SupportedCredentialMetadataDisplayInner.md b/clients/dart/credential_issuance_client/doc/SupportedCredentialMetadataDisplayInner.md index fd720eaac..ef625fa08 100644 --- a/clients/dart/credential_issuance_client/doc/SupportedCredentialMetadataDisplayInner.md +++ b/clients/dart/credential_issuance_client/doc/SupportedCredentialMetadataDisplayInner.md @@ -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) diff --git a/clients/dart/credential_issuance_client/doc/SupportedCredentialMetadataDisplayInnerLogo.md b/clients/dart/credential_issuance_client/doc/SupportedCredentialMetadataItemLogo.md similarity index 95% rename from clients/dart/credential_issuance_client/doc/SupportedCredentialMetadataDisplayInnerLogo.md rename to clients/dart/credential_issuance_client/doc/SupportedCredentialMetadataItemLogo.md index 5c4f4bafc..a569b70dc 100644 --- a/clients/dart/credential_issuance_client/doc/SupportedCredentialMetadataDisplayInnerLogo.md +++ b/clients/dart/credential_issuance_client/doc/SupportedCredentialMetadataItemLogo.md @@ -1,4 +1,4 @@ -# affinidi_tdk_credential_issuance_client.model.SupportedCredentialMetadataDisplayInnerLogo +# affinidi_tdk_credential_issuance_client.model.SupportedCredentialMetadataItemLogo ## Load the model package diff --git a/clients/dart/credential_issuance_client/lib/affinidi_tdk_credential_issuance_client.dart b/clients/dart/credential_issuance_client/lib/affinidi_tdk_credential_issuance_client.dart index 8db2fcb2e..43a8f7cc1 100644 --- a/clients/dart/credential_issuance_client/lib/affinidi_tdk_credential_issuance_client.dart +++ b/clients/dart/credential_issuance_client/lib/affinidi_tdk_credential_issuance_client.dart @@ -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'; diff --git a/clients/dart/credential_issuance_client/lib/src/model/credential_supported_object.dart b/clients/dart/credential_issuance_client/lib/src/model/credential_supported_object.dart index 370ea67f9..8944fda54 100644 --- a/clients/dart/credential_issuance_client/lib/src/model/credential_supported_object.dart +++ b/clients/dart/credential_issuance_client/lib/src/model/credential_supported_object.dart @@ -127,7 +127,7 @@ class _$CredentialSupportedObjectSerializer implements PrimitiveSerializer _$this._locale; set locale(String? locale) => _$this._locale = locale; - SupportedCredentialMetadataDisplayInnerLogoBuilder? _logo; - SupportedCredentialMetadataDisplayInnerLogoBuilder get logo => - _$this._logo ??= new SupportedCredentialMetadataDisplayInnerLogoBuilder(); - set logo(SupportedCredentialMetadataDisplayInnerLogoBuilder? logo) => + SupportedCredentialMetadataItemLogoBuilder? _logo; + SupportedCredentialMetadataItemLogoBuilder get logo => + _$this._logo ??= new SupportedCredentialMetadataItemLogoBuilder(); + set logo(SupportedCredentialMetadataItemLogoBuilder? logo) => _$this._logo = logo; String? _backgroundColor; diff --git a/clients/dart/credential_issuance_client/lib/src/model/supported_credential_metadata_display_inner_logo.g.dart b/clients/dart/credential_issuance_client/lib/src/model/supported_credential_metadata_display_inner_logo.g.dart deleted file mode 100644 index 701676758..000000000 --- a/clients/dart/credential_issuance_client/lib/src/model/supported_credential_metadata_display_inner_logo.g.dart +++ /dev/null @@ -1,123 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -part of 'supported_credential_metadata_display_inner_logo.dart'; - -// ************************************************************************** -// BuiltValueGenerator -// ************************************************************************** - -class _$SupportedCredentialMetadataDisplayInnerLogo - extends SupportedCredentialMetadataDisplayInnerLogo { - @override - final String url; - @override - final String? altText; - - factory _$SupportedCredentialMetadataDisplayInnerLogo( - [void Function(SupportedCredentialMetadataDisplayInnerLogoBuilder)? - updates]) => - (new SupportedCredentialMetadataDisplayInnerLogoBuilder() - ..update(updates)) - ._build(); - - _$SupportedCredentialMetadataDisplayInnerLogo._( - {required this.url, this.altText}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - url, r'SupportedCredentialMetadataDisplayInnerLogo', 'url'); - } - - @override - SupportedCredentialMetadataDisplayInnerLogo rebuild( - void Function(SupportedCredentialMetadataDisplayInnerLogoBuilder) - updates) => - (toBuilder()..update(updates)).build(); - - @override - SupportedCredentialMetadataDisplayInnerLogoBuilder toBuilder() => - new SupportedCredentialMetadataDisplayInnerLogoBuilder()..replace(this); - - @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is SupportedCredentialMetadataDisplayInnerLogo && - url == other.url && - altText == other.altText; - } - - @override - int get hashCode { - var _$hash = 0; - _$hash = $jc(_$hash, url.hashCode); - _$hash = $jc(_$hash, altText.hashCode); - _$hash = $jf(_$hash); - return _$hash; - } - - @override - String toString() { - return (newBuiltValueToStringHelper( - r'SupportedCredentialMetadataDisplayInnerLogo') - ..add('url', url) - ..add('altText', altText)) - .toString(); - } -} - -class SupportedCredentialMetadataDisplayInnerLogoBuilder - implements - Builder { - _$SupportedCredentialMetadataDisplayInnerLogo? _$v; - - String? _url; - String? get url => _$this._url; - set url(String? url) => _$this._url = url; - - String? _altText; - String? get altText => _$this._altText; - set altText(String? altText) => _$this._altText = altText; - - SupportedCredentialMetadataDisplayInnerLogoBuilder() { - SupportedCredentialMetadataDisplayInnerLogo._defaults(this); - } - - SupportedCredentialMetadataDisplayInnerLogoBuilder get _$this { - final $v = _$v; - if ($v != null) { - _url = $v.url; - _altText = $v.altText; - _$v = null; - } - return this; - } - - @override - void replace(SupportedCredentialMetadataDisplayInnerLogo other) { - ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SupportedCredentialMetadataDisplayInnerLogo; - } - - @override - void update( - void Function(SupportedCredentialMetadataDisplayInnerLogoBuilder)? - updates) { - if (updates != null) updates(this); - } - - @override - SupportedCredentialMetadataDisplayInnerLogo build() => _build(); - - _$SupportedCredentialMetadataDisplayInnerLogo _build() { - final _$result = _$v ?? - new _$SupportedCredentialMetadataDisplayInnerLogo._( - url: BuiltValueNullFieldError.checkNotNull( - url, r'SupportedCredentialMetadataDisplayInnerLogo', 'url'), - altText: altText, - ); - replace(_$result); - return _$result; - } -} - -// ignore_for_file: deprecated_member_use_from_same_package,type=lint diff --git a/clients/dart/credential_issuance_client/lib/src/model/supported_credential_metadata_display_inner_logo.dart b/clients/dart/credential_issuance_client/lib/src/model/supported_credential_metadata_item_logo.dart similarity index 66% rename from clients/dart/credential_issuance_client/lib/src/model/supported_credential_metadata_display_inner_logo.dart rename to clients/dart/credential_issuance_client/lib/src/model/supported_credential_metadata_item_logo.dart index 9523f93a6..bc462343a 100644 --- a/clients/dart/credential_issuance_client/lib/src/model/supported_credential_metadata_display_inner_logo.dart +++ b/clients/dart/credential_issuance_client/lib/src/model/supported_credential_metadata_item_logo.dart @@ -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 { +abstract class SupportedCredentialMetadataItemLogo implements Built { @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 get serializer => _$SupportedCredentialMetadataDisplayInnerLogoSerializer(); + static Serializer get serializer => _$SupportedCredentialMetadataItemLogoSerializer(); } -class _$SupportedCredentialMetadataDisplayInnerLogoSerializer implements PrimitiveSerializer { +class _$SupportedCredentialMetadataItemLogoSerializer implements PrimitiveSerializer { @override - final Iterable types = const [SupportedCredentialMetadataDisplayInnerLogo, _$SupportedCredentialMetadataDisplayInnerLogo]; + final Iterable types = const [SupportedCredentialMetadataItemLogo, _$SupportedCredentialMetadataItemLogo]; @override - final String wireName = r'SupportedCredentialMetadataDisplayInnerLogo'; + final String wireName = r'SupportedCredentialMetadataItemLogo'; Iterable _serializeProperties( Serializers serializers, - SupportedCredentialMetadataDisplayInnerLogo object, { + SupportedCredentialMetadataItemLogo object, { FullType specifiedType = FullType.unspecified, }) sync* { yield r'url'; @@ -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(); @@ -74,7 +74,7 @@ class _$SupportedCredentialMetadataDisplayInnerLogoSerializer implements Primiti Object serialized, { FullType specifiedType = FullType.unspecified, required List serializedList, - required SupportedCredentialMetadataDisplayInnerLogoBuilder result, + required SupportedCredentialMetadataItemLogoBuilder result, required List unhandled, }) { for (var i = 0; i < serializedList.length; i += 2) { @@ -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).toList(); final unhandled = []; _deserializeProperties( diff --git a/clients/dart/credential_issuance_client/lib/src/model/supported_credential_metadata_item_logo.g.dart b/clients/dart/credential_issuance_client/lib/src/model/supported_credential_metadata_item_logo.g.dart new file mode 100644 index 000000000..92ab07fc8 --- /dev/null +++ b/clients/dart/credential_issuance_client/lib/src/model/supported_credential_metadata_item_logo.g.dart @@ -0,0 +1,118 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'supported_credential_metadata_item_logo.dart'; + +// ************************************************************************** +// BuiltValueGenerator +// ************************************************************************** + +class _$SupportedCredentialMetadataItemLogo + extends SupportedCredentialMetadataItemLogo { + @override + final String url; + @override + final String? altText; + + factory _$SupportedCredentialMetadataItemLogo( + [void Function(SupportedCredentialMetadataItemLogoBuilder)? + updates]) => + (new SupportedCredentialMetadataItemLogoBuilder()..update(updates)) + ._build(); + + _$SupportedCredentialMetadataItemLogo._({required this.url, this.altText}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + url, r'SupportedCredentialMetadataItemLogo', 'url'); + } + + @override + SupportedCredentialMetadataItemLogo rebuild( + void Function(SupportedCredentialMetadataItemLogoBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SupportedCredentialMetadataItemLogoBuilder toBuilder() => + new SupportedCredentialMetadataItemLogoBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SupportedCredentialMetadataItemLogo && + url == other.url && + altText == other.altText; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, url.hashCode); + _$hash = $jc(_$hash, altText.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SupportedCredentialMetadataItemLogo') + ..add('url', url) + ..add('altText', altText)) + .toString(); + } +} + +class SupportedCredentialMetadataItemLogoBuilder + implements + Builder { + _$SupportedCredentialMetadataItemLogo? _$v; + + String? _url; + String? get url => _$this._url; + set url(String? url) => _$this._url = url; + + String? _altText; + String? get altText => _$this._altText; + set altText(String? altText) => _$this._altText = altText; + + SupportedCredentialMetadataItemLogoBuilder() { + SupportedCredentialMetadataItemLogo._defaults(this); + } + + SupportedCredentialMetadataItemLogoBuilder get _$this { + final $v = _$v; + if ($v != null) { + _url = $v.url; + _altText = $v.altText; + _$v = null; + } + return this; + } + + @override + void replace(SupportedCredentialMetadataItemLogo other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SupportedCredentialMetadataItemLogo; + } + + @override + void update( + void Function(SupportedCredentialMetadataItemLogoBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SupportedCredentialMetadataItemLogo build() => _build(); + + _$SupportedCredentialMetadataItemLogo _build() { + final _$result = _$v ?? + new _$SupportedCredentialMetadataItemLogo._( + url: BuiltValueNullFieldError.checkNotNull( + url, r'SupportedCredentialMetadataItemLogo', 'url'), + altText: altText, + ); + replace(_$result); + return _$result; + } +} + +// ignore_for_file: deprecated_member_use_from_same_package,type=lint diff --git a/clients/dart/credential_issuance_client/lib/src/serializers.dart b/clients/dart/credential_issuance_client/lib/src/serializers.dart index 792d47853..9945aa01f 100644 --- a/clients/dart/credential_issuance_client/lib/src/serializers.dart +++ b/clients/dart/credential_issuance_client/lib/src/serializers.dart @@ -71,7 +71,7 @@ import 'package:affinidi_tdk_credential_issuance_client/src/model/start_issuance import 'package:affinidi_tdk_credential_issuance_client/src/model/start_issuance_response.dart'; import 'package:affinidi_tdk_credential_issuance_client/src/model/supported_credential_metadata.dart'; import 'package:affinidi_tdk_credential_issuance_client/src/model/supported_credential_metadata_display_inner.dart'; -import 'package:affinidi_tdk_credential_issuance_client/src/model/supported_credential_metadata_display_inner_logo.dart'; +import 'package:affinidi_tdk_credential_issuance_client/src/model/supported_credential_metadata_item_logo.dart'; import 'package:affinidi_tdk_credential_issuance_client/src/model/update_issuance_config_input.dart'; import 'package:affinidi_tdk_credential_issuance_client/src/model/vc_claimed_error.dart'; import 'package:affinidi_tdk_credential_issuance_client/src/model/well_known_open_id_credential_issuer_response.dart'; @@ -137,7 +137,7 @@ part 'serializers.g.dart'; StartIssuanceResponse, SupportedCredentialMetadata, SupportedCredentialMetadataDisplayInner, - SupportedCredentialMetadataDisplayInnerLogo, + SupportedCredentialMetadataItemLogo, UpdateIssuanceConfigInput, VcClaimedError, WellKnownOpenIdCredentialIssuerResponse, diff --git a/clients/dart/credential_issuance_client/lib/src/serializers.g.dart b/clients/dart/credential_issuance_client/lib/src/serializers.g.dart index c3423261b..cc2ea7dde 100644 --- a/clients/dart/credential_issuance_client/lib/src/serializers.g.dart +++ b/clients/dart/credential_issuance_client/lib/src/serializers.g.dart @@ -132,7 +132,7 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(StartIssuanceResponse.serializer) ..add(SupportedCredentialMetadata.serializer) ..add(SupportedCredentialMetadataDisplayInner.serializer) - ..add(SupportedCredentialMetadataDisplayInnerLogo.serializer) + ..add(SupportedCredentialMetadataItemLogo.serializer) ..add(UpdateIssuanceConfigInput.serializer) ..add(UpdateIssuanceConfigInputFormatEnum.serializer) ..add(VcClaimedError.serializer) diff --git a/clients/dart/credential_issuance_client/test/supported_credential_metadata_display_inner_test.dart b/clients/dart/credential_issuance_client/test/supported_credential_metadata_display_inner_test.dart index d13c52855..a04cb1da7 100644 --- a/clients/dart/credential_issuance_client/test/supported_credential_metadata_display_inner_test.dart +++ b/clients/dart/credential_issuance_client/test/supported_credential_metadata_display_inner_test.dart @@ -17,7 +17,7 @@ void main() { // TODO }); - // SupportedCredentialMetadataDisplayInnerLogo logo + // SupportedCredentialMetadataItemLogo logo test('to test the property `logo`', () async { // TODO }); diff --git a/clients/dart/credential_issuance_client/test/supported_credential_metadata_display_inner_logo_test.dart b/clients/dart/credential_issuance_client/test/supported_credential_metadata_item_logo_test.dart similarity index 68% rename from clients/dart/credential_issuance_client/test/supported_credential_metadata_display_inner_logo_test.dart rename to clients/dart/credential_issuance_client/test/supported_credential_metadata_item_logo_test.dart index 4ea451859..b5810d530 100644 --- a/clients/dart/credential_issuance_client/test/supported_credential_metadata_display_inner_logo_test.dart +++ b/clients/dart/credential_issuance_client/test/supported_credential_metadata_item_logo_test.dart @@ -1,12 +1,12 @@ import 'package:test/test.dart'; import 'package:affinidi_tdk_credential_issuance_client/affinidi_tdk_credential_issuance_client.dart'; -// tests for SupportedCredentialMetadataDisplayInnerLogo +// tests for SupportedCredentialMetadataItemLogo void main() { - final instance = SupportedCredentialMetadataDisplayInnerLogoBuilder(); + final instance = SupportedCredentialMetadataItemLogoBuilder(); // TODO add properties to the builder and call build() - group(SupportedCredentialMetadataDisplayInnerLogo, () { + group(SupportedCredentialMetadataItemLogo, () { // String url test('to test the property `url`', () async { // TODO diff --git a/clients/dart/iota_client/lib/src/model/create_iota_configuration_input.dart b/clients/dart/iota_client/lib/src/model/create_iota_configuration_input.dart index 56ab19563..6d8a8606d 100644 --- a/clients/dart/iota_client/lib/src/model/create_iota_configuration_input.dart +++ b/clients/dart/iota_client/lib/src/model/create_iota_configuration_input.dart @@ -238,7 +238,7 @@ class _$CreateIotaConfigurationInputSerializer implements PrimitiveSerializer { +public class SupportedCredentialMetadataItemLogo extends HashMap { public static final String JSON_PROPERTY_URL = "url"; private String url; public static final String JSON_PROPERTY_ALT_TEXT = "altText"; private String altText; - public SupportedCredentialMetadataDisplayInnerLogo() { + public SupportedCredentialMetadataItemLogo() { } - public SupportedCredentialMetadataDisplayInnerLogo url(String url) { + public SupportedCredentialMetadataItemLogo url(String url) { this.url = url; return this; @@ -73,7 +72,7 @@ public void setUrl(String url) { this.url = url; } - public SupportedCredentialMetadataDisplayInnerLogo altText(String altText) { + public SupportedCredentialMetadataItemLogo altText(String altText) { this.altText = altText; return this; @@ -106,9 +105,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SupportedCredentialMetadataDisplayInnerLogo supportedCredentialMetadataDisplayInnerLogo = (SupportedCredentialMetadataDisplayInnerLogo) o; - return Objects.equals(this.url, supportedCredentialMetadataDisplayInnerLogo.url) && - Objects.equals(this.altText, supportedCredentialMetadataDisplayInnerLogo.altText) && + SupportedCredentialMetadataItemLogo supportedCredentialMetadataItemLogo = (SupportedCredentialMetadataItemLogo) o; + return Objects.equals(this.url, supportedCredentialMetadataItemLogo.url) && + Objects.equals(this.altText, supportedCredentialMetadataItemLogo.altText) && super.equals(o); } @@ -120,7 +119,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SupportedCredentialMetadataDisplayInnerLogo {\n"); + sb.append("class SupportedCredentialMetadataItemLogo {\n"); sb.append(" ").append(toIndentedString(super.toString())).append("\n"); sb.append(" url: ").append(toIndentedString(url)).append("\n"); sb.append(" altText: ").append(toIndentedString(altText)).append("\n"); diff --git a/clients/java/credential.issuance.client/src/test/java/com/affinidi/tdk/credential/issuance/client/models/SupportedCredentialMetadataDisplayInnerTest.java b/clients/java/credential.issuance.client/src/test/java/com/affinidi/tdk/credential/issuance/client/models/SupportedCredentialMetadataDisplayInnerTest.java index 25ea7b93a..7a4a953e3 100644 --- a/clients/java/credential.issuance.client/src/test/java/com/affinidi/tdk/credential/issuance/client/models/SupportedCredentialMetadataDisplayInnerTest.java +++ b/clients/java/credential.issuance.client/src/test/java/com/affinidi/tdk/credential/issuance/client/models/SupportedCredentialMetadataDisplayInnerTest.java @@ -13,7 +13,7 @@ package com.affinidi.tdk.credential.issuance.client.models; -import com.affinidi.tdk.credential.issuance.client.models.SupportedCredentialMetadataDisplayInnerLogo; +import com.affinidi.tdk.credential.issuance.client.models.SupportedCredentialMetadataItemLogo; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/clients/java/credential.issuance.client/src/test/java/com/affinidi/tdk/credential/issuance/client/models/SupportedCredentialMetadataDisplayInnerLogoTest.java b/clients/java/credential.issuance.client/src/test/java/com/affinidi/tdk/credential/issuance/client/models/SupportedCredentialMetadataItemLogoTest.java similarity index 72% rename from clients/java/credential.issuance.client/src/test/java/com/affinidi/tdk/credential/issuance/client/models/SupportedCredentialMetadataDisplayInnerLogoTest.java rename to clients/java/credential.issuance.client/src/test/java/com/affinidi/tdk/credential/issuance/client/models/SupportedCredentialMetadataItemLogoTest.java index 078e1b368..a6139bcde 100644 --- a/clients/java/credential.issuance.client/src/test/java/com/affinidi/tdk/credential/issuance/client/models/SupportedCredentialMetadataDisplayInnerLogoTest.java +++ b/clients/java/credential.issuance.client/src/test/java/com/affinidi/tdk/credential/issuance/client/models/SupportedCredentialMetadataItemLogoTest.java @@ -25,17 +25,17 @@ import org.junit.jupiter.api.Test; /** - * Model tests for SupportedCredentialMetadataDisplayInnerLogo + * Model tests for SupportedCredentialMetadataItemLogo */ -class SupportedCredentialMetadataDisplayInnerLogoTest { - private final SupportedCredentialMetadataDisplayInnerLogo model = new SupportedCredentialMetadataDisplayInnerLogo(); +class SupportedCredentialMetadataItemLogoTest { + private final SupportedCredentialMetadataItemLogo model = new SupportedCredentialMetadataItemLogo(); /** - * Model tests for SupportedCredentialMetadataDisplayInnerLogo + * Model tests for SupportedCredentialMetadataItemLogo */ @Test - void testSupportedCredentialMetadataDisplayInnerLogo() { - // TODO: test SupportedCredentialMetadataDisplayInnerLogo + void testSupportedCredentialMetadataItemLogo() { + // TODO: test SupportedCredentialMetadataItemLogo } /** diff --git a/clients/java/iota.client/api/openapi.yaml b/clients/java/iota.client/api/openapi.yaml index eab994025..4a2af4349 100644 --- a/clients/java/iota.client/api/openapi.yaml +++ b/clients/java/iota.client/api/openapi.yaml @@ -2340,7 +2340,7 @@ components: \ including the type of data shared." type: boolean clientMetadata: - $ref: '#/components/schemas/IotaConfigurationDto_clientMetadata' + $ref: '#/components/schemas/IotaConfigurationDtoClientMetadata' mode: default: websocket description: @@ -2425,7 +2425,7 @@ components: minimum: 1 type: number clientMetadata: - $ref: '#/components/schemas/IotaConfigurationDto_clientMetadata' + $ref: '#/components/schemas/IotaConfigurationDtoClientMetadata' mode: default: websocket description: @@ -2553,7 +2553,7 @@ components: description: An optional description of what the configuration is used for. type: string clientMetadata: - $ref: '#/components/schemas/IotaConfigurationDto_clientMetadata' + $ref: '#/components/schemas/IotaConfigurationDtoClientMetadata' mode: description: Determines whether to handle the data-sharing request using @@ -3146,6 +3146,34 @@ components: corsFetchIotaVpResponseOk: type: string type: object + IotaConfigurationDtoClientMetadata: + additionalProperties: true + description: It contains information about the requester or verifier. + example: + origin: origin + name: name + logo: logo + properties: + name: + description: + The name displayed on the consent page indicates who is requesting + data from the user. It can be the application or website's name. + type: string + origin: + description: + The URL of the requester displayed on the consent page indicates + the request's origin. + type: string + logo: + description: + "The logo of the requester displayed on the consent page, allowing\ + \ users to easily recognise who requests the data." + type: string + required: + - logo + - name + - origin + type: object InvalidParameterError_details_inner: additionalProperties: false example: @@ -3217,34 +3245,6 @@ components: - jwt - transactionId type: object - IotaConfigurationDto_clientMetadata: - additionalProperties: true - description: It contains information about the requester or verifier. - example: - origin: origin - name: name - logo: logo - properties: - name: - description: - The name displayed on the consent page indicates who is requesting - data from the user. It can be the application or website's name. - type: string - origin: - description: - The URL of the requester displayed on the consent page indicates - the request's origin. - type: string - logo: - description: - "The logo of the requester displayed on the consent page, allowing\ - \ users to easily recognise who requests the data." - type: string - required: - - logo - - name - - origin - type: object SavePexQueriesUpdateInput_queries_inner: additionalProperties: false example: diff --git a/clients/java/iota.client/src/main/java/com/affinidi/tdk/iota/client/models/IotaConfigurationDtoClientMetadata.java b/clients/java/iota.client/src/main/java/com/affinidi/tdk/iota/client/models/IotaConfigurationDtoClientMetadata.java index 27ee62454..30b4754b1 100644 --- a/clients/java/iota.client/src/main/java/com/affinidi/tdk/iota/client/models/IotaConfigurationDtoClientMetadata.java +++ b/clients/java/iota.client/src/main/java/com/affinidi/tdk/iota/client/models/IotaConfigurationDtoClientMetadata.java @@ -36,7 +36,6 @@ IotaConfigurationDtoClientMetadata.JSON_PROPERTY_ORIGIN, IotaConfigurationDtoClientMetadata.JSON_PROPERTY_LOGO }) -@JsonTypeName("IotaConfigurationDto_clientMetadata") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class IotaConfigurationDtoClientMetadata extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; diff --git a/clients/python/credential_issuance_client/.openapi-generator/FILES b/clients/python/credential_issuance_client/.openapi-generator/FILES index f397ed000..6b125f54d 100644 --- a/clients/python/credential_issuance_client/.openapi-generator/FILES +++ b/clients/python/credential_issuance_client/.openapi-generator/FILES @@ -72,7 +72,7 @@ affinidi_tdk_credential_issuance_client/models/start_issuance_input_data_inner_s affinidi_tdk_credential_issuance_client/models/start_issuance_response.py affinidi_tdk_credential_issuance_client/models/supported_credential_metadata.py affinidi_tdk_credential_issuance_client/models/supported_credential_metadata_display_inner.py -affinidi_tdk_credential_issuance_client/models/supported_credential_metadata_display_inner_logo.py +affinidi_tdk_credential_issuance_client/models/supported_credential_metadata_item_logo.py affinidi_tdk_credential_issuance_client/models/update_issuance_config_input.py affinidi_tdk_credential_issuance_client/models/vc_claimed_error.py affinidi_tdk_credential_issuance_client/models/well_known_open_id_credential_issuer_response.py @@ -141,7 +141,7 @@ docs/StartIssuanceInputDataInnerStatusListDetailsInner.md docs/StartIssuanceResponse.md docs/SupportedCredentialMetadata.md docs/SupportedCredentialMetadataDisplayInner.md -docs/SupportedCredentialMetadataDisplayInnerLogo.md +docs/SupportedCredentialMetadataItemLogo.md docs/UpdateIssuanceConfigInput.md docs/VcClaimedError.md docs/WellKnownApi.md @@ -216,7 +216,7 @@ test/test_start_issuance_input_data_inner_status_list_details_inner.py test/test_start_issuance_response.py test/test_supported_credential_metadata.py test/test_supported_credential_metadata_display_inner.py -test/test_supported_credential_metadata_display_inner_logo.py +test/test_supported_credential_metadata_item_logo.py test/test_update_issuance_config_input.py test/test_vc_claimed_error.py test/test_well_known_api.py diff --git a/clients/python/credential_issuance_client/README.md b/clients/python/credential_issuance_client/README.md index cdfc1d989..7750bd8a0 100644 --- a/clients/python/credential_issuance_client/README.md +++ b/clients/python/credential_issuance_client/README.md @@ -182,7 +182,7 @@ All URIs are relative to *https://apse1.api.affinidi.io/cis* - [StartIssuanceResponse](docs/StartIssuanceResponse.md) - [SupportedCredentialMetadata](docs/SupportedCredentialMetadata.md) - [SupportedCredentialMetadataDisplayInner](docs/SupportedCredentialMetadataDisplayInner.md) -- [SupportedCredentialMetadataDisplayInnerLogo](docs/SupportedCredentialMetadataDisplayInnerLogo.md) +- [SupportedCredentialMetadataItemLogo](docs/SupportedCredentialMetadataItemLogo.md) - [UpdateIssuanceConfigInput](docs/UpdateIssuanceConfigInput.md) - [VcClaimedError](docs/VcClaimedError.md) - [WellKnownOpenIdCredentialIssuerResponse](docs/WellKnownOpenIdCredentialIssuerResponse.md) diff --git a/clients/python/credential_issuance_client/affinidi_tdk_credential_issuance_client/__init__.py b/clients/python/credential_issuance_client/affinidi_tdk_credential_issuance_client/__init__.py index 551613d4f..015566d9d 100644 --- a/clients/python/credential_issuance_client/affinidi_tdk_credential_issuance_client/__init__.py +++ b/clients/python/credential_issuance_client/affinidi_tdk_credential_issuance_client/__init__.py @@ -94,7 +94,7 @@ from affinidi_tdk_credential_issuance_client.models.start_issuance_response import StartIssuanceResponse from affinidi_tdk_credential_issuance_client.models.supported_credential_metadata import SupportedCredentialMetadata from affinidi_tdk_credential_issuance_client.models.supported_credential_metadata_display_inner import SupportedCredentialMetadataDisplayInner -from affinidi_tdk_credential_issuance_client.models.supported_credential_metadata_display_inner_logo import SupportedCredentialMetadataDisplayInnerLogo +from affinidi_tdk_credential_issuance_client.models.supported_credential_metadata_item_logo import SupportedCredentialMetadataItemLogo from affinidi_tdk_credential_issuance_client.models.update_issuance_config_input import UpdateIssuanceConfigInput from affinidi_tdk_credential_issuance_client.models.vc_claimed_error import VcClaimedError from affinidi_tdk_credential_issuance_client.models.well_known_open_id_credential_issuer_response import WellKnownOpenIdCredentialIssuerResponse diff --git a/clients/python/credential_issuance_client/affinidi_tdk_credential_issuance_client/models/__init__.py b/clients/python/credential_issuance_client/affinidi_tdk_credential_issuance_client/models/__init__.py index 8a2aa4148..570c19988 100644 --- a/clients/python/credential_issuance_client/affinidi_tdk_credential_issuance_client/models/__init__.py +++ b/clients/python/credential_issuance_client/affinidi_tdk_credential_issuance_client/models/__init__.py @@ -72,7 +72,7 @@ from affinidi_tdk_credential_issuance_client.models.start_issuance_response import StartIssuanceResponse from affinidi_tdk_credential_issuance_client.models.supported_credential_metadata import SupportedCredentialMetadata from affinidi_tdk_credential_issuance_client.models.supported_credential_metadata_display_inner import SupportedCredentialMetadataDisplayInner -from affinidi_tdk_credential_issuance_client.models.supported_credential_metadata_display_inner_logo import SupportedCredentialMetadataDisplayInnerLogo +from affinidi_tdk_credential_issuance_client.models.supported_credential_metadata_item_logo import SupportedCredentialMetadataItemLogo from affinidi_tdk_credential_issuance_client.models.update_issuance_config_input import UpdateIssuanceConfigInput from affinidi_tdk_credential_issuance_client.models.vc_claimed_error import VcClaimedError from affinidi_tdk_credential_issuance_client.models.well_known_open_id_credential_issuer_response import WellKnownOpenIdCredentialIssuerResponse diff --git a/clients/python/credential_issuance_client/affinidi_tdk_credential_issuance_client/models/supported_credential_metadata_display_inner.py b/clients/python/credential_issuance_client/affinidi_tdk_credential_issuance_client/models/supported_credential_metadata_display_inner.py index b0f0e43ba..c69c0ff79 100644 --- a/clients/python/credential_issuance_client/affinidi_tdk_credential_issuance_client/models/supported_credential_metadata_display_inner.py +++ b/clients/python/credential_issuance_client/affinidi_tdk_credential_issuance_client/models/supported_credential_metadata_display_inner.py @@ -21,7 +21,7 @@ from typing import Optional from pydantic import BaseModel, Field, StrictStr, constr -from affinidi_tdk_credential_issuance_client.models.supported_credential_metadata_display_inner_logo import SupportedCredentialMetadataDisplayInnerLogo +from affinidi_tdk_credential_issuance_client.models.supported_credential_metadata_item_logo import SupportedCredentialMetadataItemLogo class SupportedCredentialMetadataDisplayInner(BaseModel): """ @@ -29,7 +29,7 @@ class SupportedCredentialMetadataDisplayInner(BaseModel): """ name: constr(strict=True, max_length=64) = Field(...) locale: Optional[constr(strict=True, max_length=16)] = None - logo: Optional[SupportedCredentialMetadataDisplayInnerLogo] = None + logo: Optional[SupportedCredentialMetadataItemLogo] = None background_color: Optional[StrictStr] = Field(default=None, alias="backgroundColor") text_color: Optional[StrictStr] = Field(default=None, alias="textColor") additional_properties: Dict[str, Any] = {} @@ -82,7 +82,7 @@ def from_dict(cls, obj: dict) -> SupportedCredentialMetadataDisplayInner: _obj = SupportedCredentialMetadataDisplayInner.parse_obj({ "name": obj.get("name"), "locale": obj.get("locale"), - "logo": SupportedCredentialMetadataDisplayInnerLogo.from_dict(obj.get("logo")) if obj.get("logo") is not None else None, + "logo": SupportedCredentialMetadataItemLogo.from_dict(obj.get("logo")) if obj.get("logo") is not None else None, "background_color": obj.get("backgroundColor"), "text_color": obj.get("textColor") }) diff --git a/clients/python/credential_issuance_client/affinidi_tdk_credential_issuance_client/models/supported_credential_metadata_display_inner_logo.py b/clients/python/credential_issuance_client/affinidi_tdk_credential_issuance_client/models/supported_credential_metadata_item_logo.py similarity index 82% rename from clients/python/credential_issuance_client/affinidi_tdk_credential_issuance_client/models/supported_credential_metadata_display_inner_logo.py rename to clients/python/credential_issuance_client/affinidi_tdk_credential_issuance_client/models/supported_credential_metadata_item_logo.py index 3ef44461e..335d6f3ad 100644 --- a/clients/python/credential_issuance_client/affinidi_tdk_credential_issuance_client/models/supported_credential_metadata_display_inner_logo.py +++ b/clients/python/credential_issuance_client/affinidi_tdk_credential_issuance_client/models/supported_credential_metadata_item_logo.py @@ -22,9 +22,9 @@ from typing import Optional from pydantic import BaseModel, Field, StrictStr -class SupportedCredentialMetadataDisplayInnerLogo(BaseModel): +class SupportedCredentialMetadataItemLogo(BaseModel): """ - SupportedCredentialMetadataDisplayInnerLogo + SupportedCredentialMetadataItemLogo """ url: StrictStr = Field(...) alt_text: Optional[StrictStr] = Field(default=None, alias="altText") @@ -45,8 +45,8 @@ def to_json(self) -> str: return json.dumps(self.to_dict()) @classmethod - def from_json(cls, json_str: str) -> SupportedCredentialMetadataDisplayInnerLogo: - """Create an instance of SupportedCredentialMetadataDisplayInnerLogo from a JSON string""" + def from_json(cls, json_str: str) -> SupportedCredentialMetadataItemLogo: + """Create an instance of SupportedCredentialMetadataItemLogo from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self): @@ -64,15 +64,15 @@ def to_dict(self): return _dict @classmethod - def from_dict(cls, obj: dict) -> SupportedCredentialMetadataDisplayInnerLogo: - """Create an instance of SupportedCredentialMetadataDisplayInnerLogo from a dict""" + def from_dict(cls, obj: dict) -> SupportedCredentialMetadataItemLogo: + """Create an instance of SupportedCredentialMetadataItemLogo from a dict""" if obj is None: return None if not isinstance(obj, dict): - return SupportedCredentialMetadataDisplayInnerLogo.parse_obj(obj) + return SupportedCredentialMetadataItemLogo.parse_obj(obj) - _obj = SupportedCredentialMetadataDisplayInnerLogo.parse_obj({ + _obj = SupportedCredentialMetadataItemLogo.parse_obj({ "url": obj.get("url"), "alt_text": obj.get("altText") }) diff --git a/clients/python/credential_issuance_client/docs/SupportedCredentialMetadataDisplayInner.md b/clients/python/credential_issuance_client/docs/SupportedCredentialMetadataDisplayInner.md index 210035835..32c6588a5 100644 --- a/clients/python/credential_issuance_client/docs/SupportedCredentialMetadataDisplayInner.md +++ b/clients/python/credential_issuance_client/docs/SupportedCredentialMetadataDisplayInner.md @@ -2,13 +2,13 @@ ## Properties -| Name | Type | Description | Notes | -| -------------------- | ------------------------------------------------------------------------------------------------- | ----------- | ---------- | -| **name** | **str** | | -| **locale** | **str** | | [optional] | -| **logo** | [**SupportedCredentialMetadataDisplayInnerLogo**](SupportedCredentialMetadataDisplayInnerLogo.md) | | [optional] | -| **background_color** | **str** | | [optional] | -| **text_color** | **str** | | [optional] | +| Name | Type | Description | Notes | +| -------------------- | --------------------------------------------------------------------------------- | ----------- | ---------- | +| **name** | **str** | | +| **locale** | **str** | | [optional] | +| **logo** | [**SupportedCredentialMetadataItemLogo**](SupportedCredentialMetadataItemLogo.md) | | [optional] | +| **background_color** | **str** | | [optional] | +| **text_color** | **str** | | [optional] | ## Example diff --git a/clients/python/credential_issuance_client/docs/SupportedCredentialMetadataDisplayInnerLogo.md b/clients/python/credential_issuance_client/docs/SupportedCredentialMetadataDisplayInnerLogo.md deleted file mode 100644 index 8f05c8236..000000000 --- a/clients/python/credential_issuance_client/docs/SupportedCredentialMetadataDisplayInnerLogo.md +++ /dev/null @@ -1,28 +0,0 @@ -# SupportedCredentialMetadataDisplayInnerLogo - -## Properties - -| Name | Type | Description | Notes | -| ------------ | ------- | ----------- | ---------- | -| **url** | **str** | | -| **alt_text** | **str** | | [optional] | - -## Example - -```python -from affinidi_tdk_credential_issuance_client.models.supported_credential_metadata_display_inner_logo import SupportedCredentialMetadataDisplayInnerLogo - -# TODO update the JSON string below -json = "{}" -# create an instance of SupportedCredentialMetadataDisplayInnerLogo from a JSON string -supported_credential_metadata_display_inner_logo_instance = SupportedCredentialMetadataDisplayInnerLogo.from_json(json) -# print the JSON string representation of the object -print SupportedCredentialMetadataDisplayInnerLogo.to_json() - -# convert the object into a dict -supported_credential_metadata_display_inner_logo_dict = supported_credential_metadata_display_inner_logo_instance.to_dict() -# create an instance of SupportedCredentialMetadataDisplayInnerLogo from a dict -supported_credential_metadata_display_inner_logo_from_dict = SupportedCredentialMetadataDisplayInnerLogo.from_dict(supported_credential_metadata_display_inner_logo_dict) -``` - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/python/credential_issuance_client/docs/SupportedCredentialMetadataItemLogo.md b/clients/python/credential_issuance_client/docs/SupportedCredentialMetadataItemLogo.md new file mode 100644 index 000000000..4c25c149e --- /dev/null +++ b/clients/python/credential_issuance_client/docs/SupportedCredentialMetadataItemLogo.md @@ -0,0 +1,28 @@ +# SupportedCredentialMetadataItemLogo + +## Properties + +| Name | Type | Description | Notes | +| ------------ | ------- | ----------- | ---------- | +| **url** | **str** | | +| **alt_text** | **str** | | [optional] | + +## Example + +```python +from affinidi_tdk_credential_issuance_client.models.supported_credential_metadata_item_logo import SupportedCredentialMetadataItemLogo + +# TODO update the JSON string below +json = "{}" +# create an instance of SupportedCredentialMetadataItemLogo from a JSON string +supported_credential_metadata_item_logo_instance = SupportedCredentialMetadataItemLogo.from_json(json) +# print the JSON string representation of the object +print SupportedCredentialMetadataItemLogo.to_json() + +# convert the object into a dict +supported_credential_metadata_item_logo_dict = supported_credential_metadata_item_logo_instance.to_dict() +# create an instance of SupportedCredentialMetadataItemLogo from a dict +supported_credential_metadata_item_logo_from_dict = SupportedCredentialMetadataItemLogo.from_dict(supported_credential_metadata_item_logo_dict) +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/python/credential_issuance_client/test/test_supported_credential_metadata_display_inner_logo.py b/clients/python/credential_issuance_client/test/test_supported_credential_metadata_item_logo.py similarity index 63% rename from clients/python/credential_issuance_client/test/test_supported_credential_metadata_display_inner_logo.py rename to clients/python/credential_issuance_client/test/test_supported_credential_metadata_item_logo.py index 23f3406f4..bde56028d 100644 --- a/clients/python/credential_issuance_client/test/test_supported_credential_metadata_display_inner_logo.py +++ b/clients/python/credential_issuance_client/test/test_supported_credential_metadata_item_logo.py @@ -16,10 +16,10 @@ import unittest import datetime -from affinidi_tdk_credential_issuance_client.models.supported_credential_metadata_display_inner_logo import SupportedCredentialMetadataDisplayInnerLogo # noqa: E501 +from affinidi_tdk_credential_issuance_client.models.supported_credential_metadata_item_logo import SupportedCredentialMetadataItemLogo # noqa: E501 -class TestSupportedCredentialMetadataDisplayInnerLogo(unittest.TestCase): - """SupportedCredentialMetadataDisplayInnerLogo unit test stubs""" +class TestSupportedCredentialMetadataItemLogo(unittest.TestCase): + """SupportedCredentialMetadataItemLogo unit test stubs""" def setUp(self): pass @@ -27,27 +27,27 @@ def setUp(self): def tearDown(self): pass - def make_instance(self, include_optional) -> SupportedCredentialMetadataDisplayInnerLogo: - """Test SupportedCredentialMetadataDisplayInnerLogo + def make_instance(self, include_optional) -> SupportedCredentialMetadataItemLogo: + """Test SupportedCredentialMetadataItemLogo include_option is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `SupportedCredentialMetadataDisplayInnerLogo` + # uncomment below to create an instance of `SupportedCredentialMetadataItemLogo` """ - model = SupportedCredentialMetadataDisplayInnerLogo() # noqa: E501 + model = SupportedCredentialMetadataItemLogo() # noqa: E501 if include_optional: - return SupportedCredentialMetadataDisplayInnerLogo( + return SupportedCredentialMetadataItemLogo( url = '', alt_text = '' ) else: - return SupportedCredentialMetadataDisplayInnerLogo( + return SupportedCredentialMetadataItemLogo( url = '', ) """ - def testSupportedCredentialMetadataDisplayInnerLogo(self): - """Test SupportedCredentialMetadataDisplayInnerLogo""" + def testSupportedCredentialMetadataItemLogo(self): + """Test SupportedCredentialMetadataItemLogo""" # inst_req_only = self.make_instance(include_optional=False) # inst_req_and_optional = self.make_instance(include_optional=True) diff --git a/clients/typescript/credential-issuance-client/api.ts b/clients/typescript/credential-issuance-client/api.ts index 7e174cad8..08dbc2a33 100644 --- a/clients/typescript/credential-issuance-client/api.ts +++ b/clients/typescript/credential-issuance-client/api.ts @@ -2080,10 +2080,10 @@ export interface SupportedCredentialMetadataDisplayInner { locale?: string /** * - * @type {SupportedCredentialMetadataDisplayInnerLogo} + * @type {SupportedCredentialMetadataItemLogo} * @memberof SupportedCredentialMetadataDisplayInner */ - logo?: SupportedCredentialMetadataDisplayInnerLogo + logo?: SupportedCredentialMetadataItemLogo /** * * @type {string} @@ -2100,21 +2100,21 @@ export interface SupportedCredentialMetadataDisplayInner { /** * * @export - * @interface SupportedCredentialMetadataDisplayInnerLogo + * @interface SupportedCredentialMetadataItemLogo */ -export interface SupportedCredentialMetadataDisplayInnerLogo { +export interface SupportedCredentialMetadataItemLogo { [key: string]: any /** * * @type {string} - * @memberof SupportedCredentialMetadataDisplayInnerLogo + * @memberof SupportedCredentialMetadataItemLogo */ url: string /** * * @type {string} - * @memberof SupportedCredentialMetadataDisplayInnerLogo + * @memberof SupportedCredentialMetadataItemLogo */ altText?: string } diff --git a/clients/typescript/credential-issuance-client/docs/.openapi-generator/FILES b/clients/typescript/credential-issuance-client/docs/.openapi-generator/FILES index 8fe807842..06a5bc52b 100644 --- a/clients/typescript/credential-issuance-client/docs/.openapi-generator/FILES +++ b/clients/typescript/credential-issuance-client/docs/.openapi-generator/FILES @@ -56,8 +56,8 @@ Models/StartIssuanceInput_data_inner_metaData.md Models/StartIssuanceInput_data_inner_statusListDetails_inner.md Models/StartIssuanceResponse.md Models/SupportedCredentialMetadata.md +Models/SupportedCredentialMetadataItemLogo.md Models/SupportedCredentialMetadata_display_inner.md -Models/SupportedCredentialMetadata_display_inner_logo.md Models/UpdateIssuanceConfigInput.md Models/VcClaimedError.md Models/WellKnownOpenIdCredentialIssuerResponse.md diff --git a/clients/typescript/credential-issuance-client/docs/Models/SupportedCredentialMetadata_display_inner_logo.md b/clients/typescript/credential-issuance-client/docs/Models/SupportedCredentialMetadataItemLogo.md similarity index 90% rename from clients/typescript/credential-issuance-client/docs/Models/SupportedCredentialMetadata_display_inner_logo.md rename to clients/typescript/credential-issuance-client/docs/Models/SupportedCredentialMetadataItemLogo.md index 544542926..ad8cd2768 100644 --- a/clients/typescript/credential-issuance-client/docs/Models/SupportedCredentialMetadata_display_inner_logo.md +++ b/clients/typescript/credential-issuance-client/docs/Models/SupportedCredentialMetadataItemLogo.md @@ -1,4 +1,4 @@ -# SupportedCredentialMetadata_display_inner_logo +# SupportedCredentialMetadataItemLogo ## Properties diff --git a/clients/typescript/credential-issuance-client/docs/Models/SupportedCredentialMetadata_display_inner.md b/clients/typescript/credential-issuance-client/docs/Models/SupportedCredentialMetadata_display_inner.md index 4d2a1cc0f..e0690be24 100644 --- a/clients/typescript/credential-issuance-client/docs/Models/SupportedCredentialMetadata_display_inner.md +++ b/clients/typescript/credential-issuance-client/docs/Models/SupportedCredentialMetadata_display_inner.md @@ -2,12 +2,12 @@ ## Properties -| Name | Type | Description | Notes | -| ------------------- | ------------------------------------------------------------------------------------------------------- | ----------- | ---------------------------- | -| **name** | **String** | | [default to null] | -| **locale** | **String** | | [optional] [default to null] | -| **logo** | [**SupportedCredentialMetadata_display_inner_logo**](SupportedCredentialMetadata_display_inner_logo.md) | | [optional] [default to null] | -| **backgroundColor** | **String** | | [optional] [default to null] | -| **textColor** | **String** | | [optional] [default to null] | +| Name | Type | Description | Notes | +| ------------------- | --------------------------------------------------------------------------------- | ----------- | ---------------------------- | +| **name** | **String** | | [default to null] | +| **locale** | **String** | | [optional] [default to null] | +| **logo** | [**SupportedCredentialMetadataItemLogo**](SupportedCredentialMetadataItemLogo.md) | | [optional] [default to null] | +| **backgroundColor** | **String** | | [optional] [default to null] | +| **textColor** | **String** | | [optional] [default to null] | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/typescript/credential-issuance-client/docs/README.md b/clients/typescript/credential-issuance-client/docs/README.md index 04ff1a5f2..350a9c019 100644 --- a/clients/typescript/credential-issuance-client/docs/README.md +++ b/clients/typescript/credential-issuance-client/docs/README.md @@ -77,8 +77,8 @@ All URIs are relative to *https://apse1.api.affinidi.io/cis* - [StartIssuanceInput_data_inner_statusListDetails_inner](./Models/StartIssuanceInput_data_inner_statusListDetails_inner.md) - [StartIssuanceResponse](./Models/StartIssuanceResponse.md) - [SupportedCredentialMetadata](./Models/SupportedCredentialMetadata.md) +- [SupportedCredentialMetadataItemLogo](./Models/SupportedCredentialMetadataItemLogo.md) - [SupportedCredentialMetadata_display_inner](./Models/SupportedCredentialMetadata_display_inner.md) -- [SupportedCredentialMetadata_display_inner_logo](./Models/SupportedCredentialMetadata_display_inner_logo.md) - [UpdateIssuanceConfigInput](./Models/UpdateIssuanceConfigInput.md) - [VcClaimedError](./Models/VcClaimedError.md) - [WellKnownOpenIdCredentialIssuerResponse](./Models/WellKnownOpenIdCredentialIssuerResponse.md) diff --git a/clients/typescript/iota-client/docs/.openapi-generator/FILES b/clients/typescript/iota-client/docs/.openapi-generator/FILES index 6bc0a45e9..b53750c8e 100644 --- a/clients/typescript/iota-client/docs/.openapi-generator/FILES +++ b/clients/typescript/iota-client/docs/.openapi-generator/FILES @@ -31,7 +31,7 @@ Models/InitiateDataSharingRequestOK_data.md Models/InvalidParameterError.md Models/InvalidParameterError_details_inner.md Models/IotaConfigurationDto.md -Models/IotaConfigurationDto_clientMetadata.md +Models/IotaConfigurationDtoClientMetadata.md Models/IotaExchangeCredentials.md Models/IotaExchangeCredentialsOK.md Models/IotaExchangeCredentialsOK_credentials.md diff --git a/clients/typescript/iota-client/docs/Models/CreateIotaConfigurationInput.md b/clients/typescript/iota-client/docs/Models/CreateIotaConfigurationInput.md index fb8e75e2f..6eb7a8660 100644 --- a/clients/typescript/iota-client/docs/Models/CreateIotaConfigurationInput.md +++ b/clients/typescript/iota-client/docs/Models/CreateIotaConfigurationInput.md @@ -2,18 +2,18 @@ ## Properties -| Name | Type | Description | Notes | -| -------------------------- | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------- | -| **name** | **String** | The name of the configuration to quickly identify the resource. | [default to null] | -| **description** | **String** | An optional description of what the configuration is used for. | [optional] [default to null] | -| **walletAri** | **String** | The unique resource identifier of the Wallet used to sign the request token. | [default to null] | -| **iotaResponseWebhookURL** | **String** | The webhook URL is used for callback when the data is ready. | [optional] [default to null] | -| **enableVerification** | **Boolean** | Cryptographically verifies the data shared by the user when enabled. | [default to null] | -| **enableConsentAuditLog** | **Boolean** | Records the user's consent when they share their data, including the type of data shared when enabled. | [default to null] | -| **tokenMaxAge** | **BigDecimal** | This is the lifetime of the signed request token during the data-sharing flow. | [optional] [default to null] | -| **clientMetadata** | [**IotaConfigurationDto_clientMetadata**](IotaConfigurationDto_clientMetadata.md) | | [default to null] | -| **mode** | **String** | Determines whether to handle the data-sharing request using the WebSocket or Redirect flow. | [optional] [default to websocket] | -| **redirectUris** | **List** | List of allowed URLs to redirect users, including the response from the request. This is required if the selected data-sharing mode is Redirect. | [optional] [default to null] | -| **enableIdvProviders** | **Boolean** | Enables identity verification from user with a 3rd-party provider when a verified identity document is not found. | [optional] [default to null] | +| Name | Type | Description | Notes | +| -------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------- | +| **name** | **String** | The name of the configuration to quickly identify the resource. | [default to null] | +| **description** | **String** | An optional description of what the configuration is used for. | [optional] [default to null] | +| **walletAri** | **String** | The unique resource identifier of the Wallet used to sign the request token. | [default to null] | +| **iotaResponseWebhookURL** | **String** | The webhook URL is used for callback when the data is ready. | [optional] [default to null] | +| **enableVerification** | **Boolean** | Cryptographically verifies the data shared by the user when enabled. | [default to null] | +| **enableConsentAuditLog** | **Boolean** | Records the user's consent when they share their data, including the type of data shared when enabled. | [default to null] | +| **tokenMaxAge** | **BigDecimal** | This is the lifetime of the signed request token during the data-sharing flow. | [optional] [default to null] | +| **clientMetadata** | [**IotaConfigurationDtoClientMetadata**](IotaConfigurationDtoClientMetadata.md) | | [default to null] | +| **mode** | **String** | Determines whether to handle the data-sharing request using the WebSocket or Redirect flow. | [optional] [default to websocket] | +| **redirectUris** | **List** | List of allowed URLs to redirect users, including the response from the request. This is required if the selected data-sharing mode is Redirect. | [optional] [default to null] | +| **enableIdvProviders** | **Boolean** | Enables identity verification from user with a 3rd-party provider when a verified identity document is not found. | [optional] [default to null] | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/typescript/iota-client/docs/Models/IotaConfigurationDto.md b/clients/typescript/iota-client/docs/Models/IotaConfigurationDto.md index 092b9a269..c5ec54b91 100644 --- a/clients/typescript/iota-client/docs/Models/IotaConfigurationDto.md +++ b/clients/typescript/iota-client/docs/Models/IotaConfigurationDto.md @@ -2,20 +2,20 @@ ## Properties -| Name | Type | Description | Notes | -| -------------------------- | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------- | -| **ari** | **String** | This is a unique resource identifier of the Affinidi Iota Framework configuration. | [default to null] | -| **configurationId** | **String** | ID of the Affinidi Iota Framework configuration. | [default to null] | -| **name** | **String** | The name of the configuration to quickly identify the resource. | [default to null] | -| **projectId** | **String** | The ID of the project. | [default to null] | -| **walletAri** | **String** | The unique resource identifier of the Wallet used to sign the request token. | [default to null] | -| **tokenMaxAge** | **BigDecimal** | This is the lifetime of the signed request token during the data-sharing flow. | [default to null] | -| **iotaResponseWebhookURL** | **String** | The webhook URL is used for callback when the data is ready. | [optional] [default to null] | -| **enableVerification** | **Boolean** | Cryptographically verifies the data shared by the user when enabled. | [default to null] | -| **enableConsentAuditLog** | **Boolean** | Records the consent the user gave when they shared their data, including the type of data shared. | [default to null] | -| **clientMetadata** | [**IotaConfigurationDto_clientMetadata**](IotaConfigurationDto_clientMetadata.md) | | [default to null] | -| **mode** | **String** | Determines whether to handle the data-sharing request using the WebSocket or Redirect flow. | [optional] [default to websocket] | -| **redirectUris** | **List** | List of allowed URLs to redirect users, including the response from the request. This is required if the selected data-sharing mode is Redirect. | [optional] [default to null] | -| **enableIdvProviders** | **Boolean** | Enables identity verification from user with a 3rd-party provider when a verified identity document is not found. | [optional] [default to null] | +| Name | Type | Description | Notes | +| -------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------- | +| **ari** | **String** | This is a unique resource identifier of the Affinidi Iota Framework configuration. | [default to null] | +| **configurationId** | **String** | ID of the Affinidi Iota Framework configuration. | [default to null] | +| **name** | **String** | The name of the configuration to quickly identify the resource. | [default to null] | +| **projectId** | **String** | The ID of the project. | [default to null] | +| **walletAri** | **String** | The unique resource identifier of the Wallet used to sign the request token. | [default to null] | +| **tokenMaxAge** | **BigDecimal** | This is the lifetime of the signed request token during the data-sharing flow. | [default to null] | +| **iotaResponseWebhookURL** | **String** | The webhook URL is used for callback when the data is ready. | [optional] [default to null] | +| **enableVerification** | **Boolean** | Cryptographically verifies the data shared by the user when enabled. | [default to null] | +| **enableConsentAuditLog** | **Boolean** | Records the consent the user gave when they shared their data, including the type of data shared. | [default to null] | +| **clientMetadata** | [**IotaConfigurationDtoClientMetadata**](IotaConfigurationDtoClientMetadata.md) | | [default to null] | +| **mode** | **String** | Determines whether to handle the data-sharing request using the WebSocket or Redirect flow. | [optional] [default to websocket] | +| **redirectUris** | **List** | List of allowed URLs to redirect users, including the response from the request. This is required if the selected data-sharing mode is Redirect. | [optional] [default to null] | +| **enableIdvProviders** | **Boolean** | Enables identity verification from user with a 3rd-party provider when a verified identity document is not found. | [optional] [default to null] | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/typescript/iota-client/docs/Models/IotaConfigurationDto_clientMetadata.md b/clients/typescript/iota-client/docs/Models/IotaConfigurationDtoClientMetadata.md similarity index 96% rename from clients/typescript/iota-client/docs/Models/IotaConfigurationDto_clientMetadata.md rename to clients/typescript/iota-client/docs/Models/IotaConfigurationDtoClientMetadata.md index 62760c4ae..22d4b5d0c 100644 --- a/clients/typescript/iota-client/docs/Models/IotaConfigurationDto_clientMetadata.md +++ b/clients/typescript/iota-client/docs/Models/IotaConfigurationDtoClientMetadata.md @@ -1,4 +1,4 @@ -# IotaConfigurationDto_clientMetadata +# IotaConfigurationDtoClientMetadata ## Properties diff --git a/clients/typescript/iota-client/docs/Models/UpdateConfigurationByIdInput.md b/clients/typescript/iota-client/docs/Models/UpdateConfigurationByIdInput.md index 0357d6c01..331620c28 100644 --- a/clients/typescript/iota-client/docs/Models/UpdateConfigurationByIdInput.md +++ b/clients/typescript/iota-client/docs/Models/UpdateConfigurationByIdInput.md @@ -2,18 +2,18 @@ ## Properties -| Name | Type | Description | Notes | -| -------------------------- | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------- | -| **name** | **String** | The name of the configuration to quickly identify the resource. | [optional] [default to null] | -| **walletAri** | **String** | The unique resource identifier of the Wallet used to sign the request token. | [optional] [default to null] | -| **iotaResponseWebhookURL** | **String** | The webhook URL is used for callback when the data is ready. | [optional] [default to null] | -| **enableVerification** | **Boolean** | Cryptographically verifies the data shared by the user when enabled. | [optional] [default to null] | -| **enableConsentAuditLog** | **Boolean** | Records the user's consent when they share their data, including the type of data shared when enabled. | [optional] [default to null] | -| **tokenMaxAge** | **BigDecimal** | This is the lifetime of the signed request token during the data-sharing flow. | [optional] [default to null] | -| **description** | **String** | An optional description of what the configuration is used for. | [optional] [default to null] | -| **clientMetadata** | [**IotaConfigurationDto_clientMetadata**](IotaConfigurationDto_clientMetadata.md) | | [optional] [default to null] | -| **mode** | **String** | Determines whether to handle the data-sharing request using the WebSocket or Redirect flow. | [optional] [default to null] | -| **redirectUris** | **List** | List of allowed URLs to redirect users, including the response from the request. This is required if the selected data-sharing mode is Redirect. | [optional] [default to null] | -| **enableIdvProviders** | **Boolean** | Enables identity verification from user with a 3rd-party provider when a verified identity document is not found. | [optional] [default to null] | +| Name | Type | Description | Notes | +| -------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------- | +| **name** | **String** | The name of the configuration to quickly identify the resource. | [optional] [default to null] | +| **walletAri** | **String** | The unique resource identifier of the Wallet used to sign the request token. | [optional] [default to null] | +| **iotaResponseWebhookURL** | **String** | The webhook URL is used for callback when the data is ready. | [optional] [default to null] | +| **enableVerification** | **Boolean** | Cryptographically verifies the data shared by the user when enabled. | [optional] [default to null] | +| **enableConsentAuditLog** | **Boolean** | Records the user's consent when they share their data, including the type of data shared when enabled. | [optional] [default to null] | +| **tokenMaxAge** | **BigDecimal** | This is the lifetime of the signed request token during the data-sharing flow. | [optional] [default to null] | +| **description** | **String** | An optional description of what the configuration is used for. | [optional] [default to null] | +| **clientMetadata** | [**IotaConfigurationDtoClientMetadata**](IotaConfigurationDtoClientMetadata.md) | | [optional] [default to null] | +| **mode** | **String** | Determines whether to handle the data-sharing request using the WebSocket or Redirect flow. | [optional] [default to null] | +| **redirectUris** | **List** | List of allowed URLs to redirect users, including the response from the request. This is required if the selected data-sharing mode is Redirect. | [optional] [default to null] | +| **enableIdvProviders** | **Boolean** | Enables identity verification from user with a 3rd-party provider when a verified identity document is not found. | [optional] [default to null] | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/typescript/iota-client/docs/README.md b/clients/typescript/iota-client/docs/README.md index f721b7b0b..0671fcd59 100644 --- a/clients/typescript/iota-client/docs/README.md +++ b/clients/typescript/iota-client/docs/README.md @@ -60,7 +60,7 @@ All URIs are relative to *https://apse1.api.affinidi.io/ais* - [InvalidParameterError](./Models/InvalidParameterError.md) - [InvalidParameterError_details_inner](./Models/InvalidParameterError_details_inner.md) - [IotaConfigurationDto](./Models/IotaConfigurationDto.md) -- [IotaConfigurationDto_clientMetadata](./Models/IotaConfigurationDto_clientMetadata.md) +- [IotaConfigurationDtoClientMetadata](./Models/IotaConfigurationDtoClientMetadata.md) - [IotaExchangeCredentials](./Models/IotaExchangeCredentials.md) - [IotaExchangeCredentialsOK](./Models/IotaExchangeCredentialsOK.md) - [IotaExchangeCredentialsOK_credentials](./Models/IotaExchangeCredentialsOK_credentials.md)