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 25, 2024
1 parent 4e074d4 commit 1ef41ce
Show file tree
Hide file tree
Showing 448 changed files with 3,301 additions and 2,269 deletions.
3,310 changes: 1,669 additions & 1,641 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
1764459230610537994
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
3 changes: 2 additions & 1 deletion clients/dart/credential_issuance_client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This Dart package is automatically generated by the [OpenAPI Generator](https://

- API version: 1.0.0
- Build package: org.openapitools.codegen.languages.DartClientCodegen
For more information, please visit [https://github.com/affinidi/affinidi-tdk](https://github.com/affinidi/affinidi-tdk)

## Requirements

Expand Down Expand Up @@ -177,4 +178,4 @@ Authentication schemes defined for the API:

## Author

nucleus.team@affinidi.com
info@affinidi.com
3 changes: 2 additions & 1 deletion clients/dart/credential_verification_client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This Dart package is automatically generated by the [OpenAPI Generator](https://

- API version: 1.0.0
- Build package: org.openapitools.codegen.languages.DartClientCodegen
For more information, please visit [https://github.com/affinidi/affinidi-tdk](https://github.com/affinidi/affinidi-tdk)

## Requirements

Expand Down Expand Up @@ -133,4 +134,4 @@ Authentication schemes defined for the API:

## Author

nucleus.team@affinidi.com
info@affinidi.com
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import 'package:affinidi_tdk_credential_verification_client/api.dart';

## Properties

| Name | Type | Description | Notes |
| -------------------------- | ------------------------------------------------------- | ----------- | ---------- |
| **verifiablePresentation** | [**W3cPresentation**](W3cPresentation.md) | | [optional] |
| **signedPresentation** | [**W3cPresentation**](W3cPresentation.md) | | [optional] |
| **presentationDefinition** | [**PresentationDefinition**](PresentationDefinition.md) | | [optional] |
| **presentationSubmission** | [**PresentationSubmission**](PresentationSubmission.md) | | [optional] |
| **challenge** | **String** | | [optional] |
| Name | Type | Description | Notes |
| -------------------------- | ----------------------------------------- | ----------- | ---------- |
| **verifiablePresentation** | [**W3cPresentation**](W3cPresentation.md) | | [optional] |
| **signedPresentation** | [**W3cPresentation**](W3cPresentation.md) | | [optional] |
| **presentationDefinition** | [**Object**](.md) | | [optional] |
| **presentationSubmission** | [**Object**](.md) | | [optional] |
| **challenge** | **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
Expand Up @@ -42,15 +42,15 @@ class VerifyPresentationInput {
/// source code must fall back to having a nullable type.
/// Consider adding a "default:" property in the specification file to hide this note.
///
PresentationDefinition? presentationDefinition;
Object? presentationDefinition;

///
/// 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.
///
PresentationSubmission? presentationSubmission;
Object? presentationSubmission;

///
/// Please note: This property should have been non-nullable! Since the specification file
Expand Down Expand Up @@ -131,8 +131,8 @@ class VerifyPresentationInput {
return VerifyPresentationInput(
verifiablePresentation: W3cPresentation.fromJson(json[r'verifiablePresentation']),
signedPresentation: W3cPresentation.fromJson(json[r'signedPresentation']),
presentationDefinition: PresentationDefinition.fromJson(json[r'presentationDefinition']),
presentationSubmission: PresentationSubmission.fromJson(json[r'presentationSubmission']),
presentationDefinition: mapValueOfType<Object>(json, r'presentationDefinition'),
presentationSubmission: mapValueOfType<Object>(json, r'presentationSubmission'),
challenge: mapValueOfType<String>(json, r'challenge'),
);
}
Expand Down
3 changes: 2 additions & 1 deletion clients/dart/iam_client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This Dart package is automatically generated by the [OpenAPI Generator](https://

- API version: 1.0.0
- Build package: org.openapitools.codegen.languages.DartClientCodegen
For more information, please visit [https://github.com/affinidi/affinidi-tdk](https://github.com/affinidi/affinidi-tdk)

## Requirements

Expand Down Expand Up @@ -164,4 +165,4 @@ Authentication schemes defined for the API:

## Author

nucleus.team@affinidi.com
info@affinidi.com
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
4 changes: 2 additions & 2 deletions clients/dart/iota_client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This Dart package is automatically generated by the [OpenAPI Generator](https://

- API version: 1.0.0
- Build package: org.openapitools.codegen.languages.DartClientCodegen
For more information, please visit [https://github.com/affinidi/affinidi-tdk](https://github.com/affinidi/affinidi-tdk)

## Requirements

Expand Down Expand Up @@ -90,7 +91,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 Expand Up @@ -158,4 +158,4 @@ Authentication schemes defined for the API:

## Author

nucleus.team@affinidi.com
info@affinidi.com
7 changes: 4 additions & 3 deletions clients/dart/iota_client/doc/ListPexQueriesOK.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ import 'package:affinidi_tdk_iota_client/api.dart';

## Properties

| Name | Type | Description | Notes |
| -------------- | --------------------------------------- | ----------- | --------------------- |
| **pexQueries** | [**List<PexQueryDto>**](PexQueryDto.md) | | [default to const []] |
| Name | Type | Description | Notes |
| -------------------- | --------------------------------------- | ----------- | --------------------- |
| **pexQueries** | [**List<PexQueryDto>**](PexQueryDto.md) | | [default to const []] |
| **lastEvaluatedKey** | **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)
Loading

0 comments on commit 1ef41ce

Please sign in to comment.