Skip to content

Commit

Permalink
feat: update client all
Browse files Browse the repository at this point in the history
  • Loading branch information
maratsh committed Jul 15, 2024
1 parent 0a2d7ad commit 65754e0
Show file tree
Hide file tree
Showing 96 changed files with 2,442 additions and 1,576 deletions.
2,890 changes: 1,459 additions & 1,431 deletions .nx/workspace-data/file-map.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .nx/workspace-data/lockfile.hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
13786563843267139396
2676219666036482414
24 changes: 24 additions & 0 deletions .nx/workspace-data/parsed-lock-file.json
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,15 @@
"hash": "18395649546124891387"
}
},
"npm:@affinidi-tdk/iota-client@1.9.0": {
"type": "npm",
"name": "npm:@affinidi-tdk/iota-client@1.9.0",
"data": {
"version": "1.9.0",
"packageName": "@affinidi-tdk/iota-client",
"hash": "sha512-MMszIMPCy/KFSEAU548IaqzeazF03oUf6EN+VctLdNeydJh2xmYahD2zKE3wbnNR1SCjuyoJIEq5NBzr7+anlg=="
}
},
"npm:@ampproject/remapping": {
"type": "npm",
"name": "npm:@ampproject/remapping",
Expand Down Expand Up @@ -12242,6 +12251,21 @@
"target": "npm:brace-expansion",
"type": "static"
},
{
"source": "npm:@affinidi-tdk/iota-client@1.9.0",
"target": "npm:axios",
"type": "static"
},
{
"source": "npm:@affinidi-tdk/iota-client@1.9.0",
"target": "npm:axios-retry",
"type": "static"
},
{
"source": "npm:@affinidi-tdk/iota-client@1.9.0",
"target": "npm:url",
"type": "static"
},
{
"source": "npm:@typescript-eslint/eslint-plugin@7.14.1",
"target": "npm:@typescript-eslint/parser@7.14.1",
Expand Down
26 changes: 26 additions & 0 deletions .nx/workspace-data/project-graph.json
Original file line number Diff line number Diff line change
Expand Up @@ -1317,6 +1317,15 @@
"hash": "18395649546124891387"
}
},
"npm:@affinidi-tdk/iota-client@1.9.0": {
"type": "npm",
"name": "npm:@affinidi-tdk/iota-client@1.9.0",
"data": {
"version": "1.9.0",
"packageName": "@affinidi-tdk/iota-client",
"hash": "sha512-MMszIMPCy/KFSEAU548IaqzeazF03oUf6EN+VctLdNeydJh2xmYahD2zKE3wbnNR1SCjuyoJIEq5NBzr7+anlg=="
}
},
"npm:@ampproject/remapping": {
"type": "npm",
"name": "npm:@ampproject/remapping",
Expand Down Expand Up @@ -13748,6 +13757,23 @@
"type": "static"
}
],
"npm:@affinidi-tdk/iota-client@1.9.0": [
{
"source": "npm:@affinidi-tdk/iota-client@1.9.0",
"target": "npm:axios",
"type": "static"
},
{
"source": "npm:@affinidi-tdk/iota-client@1.9.0",
"target": "npm:axios-retry",
"type": "static"
},
{
"source": "npm:@affinidi-tdk/iota-client@1.9.0",
"target": "npm:url",
"type": "static"
}
],
"npm:@ampproject/remapping": [
{
"source": "npm:@ampproject/remapping",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,3 @@ lib/model/update_issuance_config_input.dart
lib/model/vc_claimed_error.dart
lib/model/well_known_open_id_credential_issuer_response.dart
pubspec.yaml
test/credential_response_immediate_c_nonce_expires_in_test.dart
test/credential_response_immediate_credential_test.dart
test/list_issuance_response_issuances_inner_test.dart
5 changes: 3 additions & 2 deletions clients/dart/iam_client/doc/CreateTokenInput.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ import 'package:affinidi_tdk_iam_client/api.dart';

## Properties

| Name | Type | Description | Notes |
| ------------------------ | ------------------------------------------------------------------- | ----------- | ----- |
| Name | Type | Description | Notes |
| ------------------------ | ------------------------------------------------------------------- | ----------- | ---------- |
| **name** | **String** | |
| **authenticationMethod** | [**TokenAuthenticationMethodDto**](TokenAuthenticationMethodDto.md) | |
| **description** | **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)
2 changes: 2 additions & 0 deletions clients/dart/iam_client/doc/PolicyDto.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import 'package:affinidi_tdk_iam_client/api.dart';

| Name | Type | Description | Notes |
| --------------- | ----------------------------------------------------- | ----------- | --------------------- |
| **name** | **String** | | [optional] |
| **description** | **String** | | [optional] |
| **principalId** | **String** | | [optional] |
| **projectId** | **String** | | [optional] |
| **version** | **String** | |
Expand Down
23 changes: 20 additions & 3 deletions clients/dart/iam_client/lib/model/create_token_input.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,46 @@ class CreateTokenInput {
CreateTokenInput({
required this.name,
required this.authenticationMethod,
this.description,
});

String name;

TokenAuthenticationMethodDto authenticationMethod;

///
/// Please note: This property should have been non-nullable! Since the specification file
/// does not include a default value (using the "default:" property), however, the generated
/// source code must fall back to having a nullable type.
/// Consider adding a "default:" property in the specification file to hide this note.
///
String? description;

@override
bool operator ==(Object other) => identical(this, other) || other is CreateTokenInput &&
other.name == name &&
other.authenticationMethod == authenticationMethod;
other.authenticationMethod == authenticationMethod &&
other.description == description;

@override
int get hashCode =>
// ignore: unnecessary_parenthesis
(name.hashCode) +
(authenticationMethod.hashCode);
(authenticationMethod.hashCode) +
(description == null ? 0 : description!.hashCode);

@override
String toString() => 'CreateTokenInput[name=$name, authenticationMethod=$authenticationMethod]';
String toString() => 'CreateTokenInput[name=$name, authenticationMethod=$authenticationMethod, description=$description]';

Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'name'] = this.name;
json[r'authenticationMethod'] = this.authenticationMethod;
if (this.description != null) {
json[r'description'] = this.description;
} else {
json[r'description'] = null;
}
return json;
}

Expand All @@ -63,6 +79,7 @@ class CreateTokenInput {
return CreateTokenInput(
name: mapValueOfType<String>(json, r'name')!,
authenticationMethod: TokenAuthenticationMethodDto.fromJson(json[r'authenticationMethod'])!,
description: mapValueOfType<String>(json, r'description'),
);
}
return null;
Expand Down
36 changes: 35 additions & 1 deletion clients/dart/iam_client/lib/model/policy_dto.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,30 @@ part of openapi.api;
class PolicyDto {
/// Returns a new [PolicyDto] instance.
PolicyDto({
this.name,
this.description,
this.principalId,
this.projectId,
required this.version,
this.statement = const [],
});

///
/// Please note: This property should have been non-nullable! Since the specification file
/// does not include a default value (using the "default:" property), however, the generated
/// source code must fall back to having a nullable type.
/// Consider adding a "default:" property in the specification file to hide this note.
///
String? name;

///
/// Please note: This property should have been non-nullable! Since the specification file
/// does not include a default value (using the "default:" property), however, the generated
/// source code must fall back to having a nullable type.
/// Consider adding a "default:" property in the specification file to hide this note.
///
String? description;

///
/// Please note: This property should have been non-nullable! Since the specification file
/// does not include a default value (using the "default:" property), however, the generated
Expand All @@ -41,6 +59,8 @@ class PolicyDto {

@override
bool operator ==(Object other) => identical(this, other) || other is PolicyDto &&
other.name == name &&
other.description == description &&
other.principalId == principalId &&
other.projectId == projectId &&
other.version == version &&
Expand All @@ -49,16 +69,28 @@ class PolicyDto {
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
(name == null ? 0 : name!.hashCode) +
(description == null ? 0 : description!.hashCode) +
(principalId == null ? 0 : principalId!.hashCode) +
(projectId == null ? 0 : projectId!.hashCode) +
(version.hashCode) +
(statement.hashCode);

@override
String toString() => 'PolicyDto[principalId=$principalId, projectId=$projectId, version=$version, statement=$statement]';
String toString() => 'PolicyDto[name=$name, description=$description, principalId=$principalId, projectId=$projectId, version=$version, statement=$statement]';

Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.name != null) {
json[r'name'] = this.name;
} else {
json[r'name'] = null;
}
if (this.description != null) {
json[r'description'] = this.description;
} else {
json[r'description'] = null;
}
if (this.principalId != null) {
json[r'principalId'] = this.principalId;
} else {
Expand Down Expand Up @@ -93,6 +125,8 @@ class PolicyDto {
}());

return PolicyDto(
name: mapValueOfType<String>(json, r'name'),
description: mapValueOfType<String>(json, r'description'),
principalId: mapValueOfType<String>(json, r'principalId'),
projectId: mapValueOfType<String>(json, r'projectId'),
version: mapValueOfType<String>(json, r'version')!,
Expand Down
2 changes: 0 additions & 2 deletions clients/dart/iota_client/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ doc/CorsIotOidc4vpcallbackOK.md
doc/CreateIotaConfigurationInput.md
doc/CreatePexQueryInput.md
doc/DefaultApi.md
doc/DemoWbx.md
doc/GetIotaConfigurationMetaDataOK.md
doc/InvalidParameterError.md
doc/InvalidParameterErrorDetailsInner.md
Expand Down Expand Up @@ -62,7 +61,6 @@ lib/model/cors_aws_exchange_credentials_ok.dart
lib/model/cors_iot_oidc4vpcallback_ok.dart
lib/model/create_iota_configuration_input.dart
lib/model/create_pex_query_input.dart
lib/model/demo_wbx.dart
lib/model/get_iota_configuration_meta_data_ok.dart
lib/model/invalid_parameter_error.dart
lib/model/invalid_parameter_error_details_inner.dart
Expand Down
1 change: 0 additions & 1 deletion clients/dart/iota_client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ All URIs are relative to *https://apse1.api.affinidi.io/ais*
- [CorsIotOidc4vpcallbackOK](doc//CorsIotOidc4vpcallbackOK.md)
- [CreateIotaConfigurationInput](doc//CreateIotaConfigurationInput.md)
- [CreatePexQueryInput](doc//CreatePexQueryInput.md)
- [DemoWbx](doc//DemoWbx.md)
- [GetIotaConfigurationMetaDataOK](doc//GetIotaConfigurationMetaDataOK.md)
- [InvalidParameterError](doc//InvalidParameterError.md)
- [InvalidParameterErrorDetailsInner](doc//InvalidParameterErrorDetailsInner.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import 'package:affinidi_tdk_iota_client/api.dart';
| **enableVerification** | **bool** | | [optional] |
| **enableConsentAuditLog** | **bool** | | [optional] |
| **tokenMaxAge** | **int** | token time to live in seconds | [optional] |
| **description** | **String** | The description of the config | [optional] |
| **clientMetadata** | [**IotaConfigurationDtoClientMetadata**](IotaConfigurationDtoClientMetadata.md) | | [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)
1 change: 0 additions & 1 deletion clients/dart/iota_client/lib/api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ part 'model/cors_aws_exchange_credentials_ok.dart';
part 'model/cors_iot_oidc4vpcallback_ok.dart';
part 'model/create_iota_configuration_input.dart';
part 'model/create_pex_query_input.dart';
part 'model/demo_wbx.dart';
part 'model/get_iota_configuration_meta_data_ok.dart';
part 'model/invalid_parameter_error.dart';
part 'model/invalid_parameter_error_details_inner.dart';
Expand Down
2 changes: 0 additions & 2 deletions clients/dart/iota_client/lib/api_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,6 @@ class ApiClient {
return CreateIotaConfigurationInput.fromJson(value);
case 'CreatePexQueryInput':
return CreatePexQueryInput.fromJson(value);
case 'DemoWbx':
return DemoWbx.fromJson(value);
case 'GetIotaConfigurationMetaDataOK':
return GetIotaConfigurationMetaDataOK.fromJson(value);
case 'InvalidParameterError':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class UpdateConfigurationByIdInput {
this.enableVerification,
this.enableConsentAuditLog,
this.tokenMaxAge,
this.description,
this.clientMetadata,
});

Expand Down Expand Up @@ -74,6 +75,15 @@ class UpdateConfigurationByIdInput {
///
int? tokenMaxAge;

/// The description of the config
///
/// Please note: This property should have been non-nullable! Since the specification file
/// does not include a default value (using the "default:" property), however, the generated
/// source code must fall back to having a nullable type.
/// Consider adding a "default:" property in the specification file to hide this note.
///
String? description;

///
/// Please note: This property should have been non-nullable! Since the specification file
/// does not include a default value (using the "default:" property), however, the generated
Expand All @@ -90,6 +100,7 @@ class UpdateConfigurationByIdInput {
other.enableVerification == enableVerification &&
other.enableConsentAuditLog == enableConsentAuditLog &&
other.tokenMaxAge == tokenMaxAge &&
other.description == description &&
other.clientMetadata == clientMetadata;

@override
Expand All @@ -101,10 +112,11 @@ class UpdateConfigurationByIdInput {
(enableVerification == null ? 0 : enableVerification!.hashCode) +
(enableConsentAuditLog == null ? 0 : enableConsentAuditLog!.hashCode) +
(tokenMaxAge == null ? 0 : tokenMaxAge!.hashCode) +
(description == null ? 0 : description!.hashCode) +
(clientMetadata == null ? 0 : clientMetadata!.hashCode);

@override
String toString() => 'UpdateConfigurationByIdInput[name=$name, walletAri=$walletAri, iotaResponseWebhookURL=$iotaResponseWebhookURL, enableVerification=$enableVerification, enableConsentAuditLog=$enableConsentAuditLog, tokenMaxAge=$tokenMaxAge, clientMetadata=$clientMetadata]';
String toString() => 'UpdateConfigurationByIdInput[name=$name, walletAri=$walletAri, iotaResponseWebhookURL=$iotaResponseWebhookURL, enableVerification=$enableVerification, enableConsentAuditLog=$enableConsentAuditLog, tokenMaxAge=$tokenMaxAge, description=$description, clientMetadata=$clientMetadata]';

Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
Expand Down Expand Up @@ -138,6 +150,11 @@ class UpdateConfigurationByIdInput {
} else {
json[r'tokenMaxAge'] = null;
}
if (this.description != null) {
json[r'description'] = this.description;
} else {
json[r'description'] = null;
}
if (this.clientMetadata != null) {
json[r'clientMetadata'] = this.clientMetadata;
} else {
Expand Down Expand Up @@ -171,6 +188,7 @@ class UpdateConfigurationByIdInput {
enableVerification: mapValueOfType<bool>(json, r'enableVerification'),
enableConsentAuditLog: mapValueOfType<bool>(json, r'enableConsentAuditLog'),
tokenMaxAge: mapValueOfType<int>(json, r'tokenMaxAge'),
description: mapValueOfType<String>(json, r'description'),
clientMetadata: IotaConfigurationDtoClientMetadata.fromJson(json[r'clientMetadata']),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ import 'package:affinidi_tdk_login_configuration_client/api.dart';

## Properties

| Name | Type | Description | Notes |
| ---------- | ---------- | ----------------------------- | ----- |
| **userId** | **String** | Unique identifier of the user |
| Name | Type | Description | Notes |
| --------------- | ---------- | ----------------------------- | ---------- |
| **name** | **String** | | [optional] |
| **description** | **String** | | [optional] |
| **userId** | **String** | Unique identifier of the user |

[[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
Expand Up @@ -8,8 +8,10 @@ import 'package:affinidi_tdk_login_configuration_client/api.dart';

## Properties

| Name | Type | Description | Notes |
| ----------- | ---------------- | ----------- | --------------------- |
| **userIds** | **List<String>** | | [default to const []] |
| Name | Type | Description | Notes |
| --------------- | ---------------- | ----------- | --------------------- |
| **name** | **String** | | [optional] |
| **description** | **String** | | [optional] |
| **userIds** | **List<String>** | | [default to const []] |

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

0 comments on commit 65754e0

Please sign in to comment.