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 Aug 4, 2024
1 parent c786b3a commit f3e9b7a
Show file tree
Hide file tree
Showing 42 changed files with 1,884 additions and 1,019 deletions.
1,915 changes: 972 additions & 943 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 @@
1764459230610537994
2821752925755295020
55 changes: 39 additions & 16 deletions .nx/workspace-data/parsed-lock-file.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@
"hash": "14527303307738292875"
}
},
"npm:@types/node@22.0.0": {
"type": "npm",
"name": "npm:@types/node@22.0.0",
"data": {
"version": "22.0.0",
"packageName": "@types/node",
"hash": "sha512-VT7KSYudcPOzP5Q0wfbowyNLaVR8QWUdw+088uFWwfvpY6uCWaXpqV6ieLAu9WBcnTa7H4Z5RLK8I5t2FuOcqw=="
}
},
"npm:@types/node": {
"type": "npm",
"name": "npm:@types/node",
Expand Down Expand Up @@ -252,13 +261,31 @@
"hash": "18395649546124891387"
}
},
"npm:@affinidi-tdk/iota-client@1.9.0": {
"npm:@affinidi-tdk/iota-client@1.10.1": {
"type": "npm",
"name": "npm:@affinidi-tdk/iota-client@1.9.0",
"name": "npm:@affinidi-tdk/iota-client@1.10.1",
"data": {
"version": "1.9.0",
"version": "1.10.1",
"packageName": "@affinidi-tdk/iota-client",
"hash": "sha512-MMszIMPCy/KFSEAU548IaqzeazF03oUf6EN+VctLdNeydJh2xmYahD2zKE3wbnNR1SCjuyoJIEq5NBzr7+anlg=="
"hash": "sha512-2B16eUzRMyywupkjXGlBKi5U+oKWsbUXHf4pj0zyWteigIVH87iwJ/ELZK8aOYjPwfhcr8RCslJqPzIoTMAfow=="
}
},
"npm:undici-types@6.11.1": {
"type": "npm",
"name": "npm:undici-types@6.11.1",
"data": {
"version": "6.11.1",
"packageName": "undici-types",
"hash": "sha512-mIDEX2ek50x0OlRgxryxsenE5XaQD4on5U2inY7RApK3SOJpofyw7uW2AyfMKkhAxXIceo2DeWGVGwyvng1GNQ=="
}
},
"npm:undici-types": {
"type": "npm",
"name": "npm:undici-types",
"data": {
"version": "5.26.5",
"packageName": "undici-types",
"hash": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="
}
},
"npm:@ampproject/remapping": {
Expand Down Expand Up @@ -11799,15 +11826,6 @@
"hash": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw=="
}
},
"npm:undici-types": {
"type": "npm",
"name": "npm:undici-types",
"data": {
"version": "5.26.5",
"packageName": "undici-types",
"hash": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="
}
},
"npm:unicode-canonical-property-names-ecmascript": {
"type": "npm",
"name": "npm:unicode-canonical-property-names-ecmascript",
Expand Down Expand Up @@ -12252,20 +12270,25 @@
"type": "static"
},
{
"source": "npm:@affinidi-tdk/iota-client@1.9.0",
"source": "npm:@affinidi-tdk/iota-client@1.10.1",
"target": "npm:axios",
"type": "static"
},
{
"source": "npm:@affinidi-tdk/iota-client@1.9.0",
"source": "npm:@affinidi-tdk/iota-client@1.10.1",
"target": "npm:axios-retry",
"type": "static"
},
{
"source": "npm:@affinidi-tdk/iota-client@1.9.0",
"source": "npm:@affinidi-tdk/iota-client@1.10.1",
"target": "npm:url",
"type": "static"
},
{
"source": "npm:@types/node@22.0.0",
"target": "npm:undici-types@6.11.1",
"type": "static"
},
{
"source": "npm:@typescript-eslint/eslint-plugin@7.14.1",
"target": "npm:@typescript-eslint/parser@7.14.1",
Expand Down
64 changes: 47 additions & 17 deletions .nx/workspace-data/project-graph.json
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,15 @@
"hash": "14527303307738292875"
}
},
"npm:@types/node@22.0.0": {
"type": "npm",
"name": "npm:@types/node@22.0.0",
"data": {
"version": "22.0.0",
"packageName": "@types/node",
"hash": "sha512-VT7KSYudcPOzP5Q0wfbowyNLaVR8QWUdw+088uFWwfvpY6uCWaXpqV6ieLAu9WBcnTa7H4Z5RLK8I5t2FuOcqw=="
}
},
"npm:@types/node": {
"type": "npm",
"name": "npm:@types/node",
Expand Down Expand Up @@ -1317,13 +1326,31 @@
"hash": "18395649546124891387"
}
},
"npm:@affinidi-tdk/iota-client@1.9.0": {
"npm:@affinidi-tdk/iota-client@1.10.1": {
"type": "npm",
"name": "npm:@affinidi-tdk/iota-client@1.9.0",
"name": "npm:@affinidi-tdk/iota-client@1.10.1",
"data": {
"version": "1.9.0",
"version": "1.10.1",
"packageName": "@affinidi-tdk/iota-client",
"hash": "sha512-MMszIMPCy/KFSEAU548IaqzeazF03oUf6EN+VctLdNeydJh2xmYahD2zKE3wbnNR1SCjuyoJIEq5NBzr7+anlg=="
"hash": "sha512-2B16eUzRMyywupkjXGlBKi5U+oKWsbUXHf4pj0zyWteigIVH87iwJ/ELZK8aOYjPwfhcr8RCslJqPzIoTMAfow=="
}
},
"npm:undici-types@6.11.1": {
"type": "npm",
"name": "npm:undici-types@6.11.1",
"data": {
"version": "6.11.1",
"packageName": "undici-types",
"hash": "sha512-mIDEX2ek50x0OlRgxryxsenE5XaQD4on5U2inY7RApK3SOJpofyw7uW2AyfMKkhAxXIceo2DeWGVGwyvng1GNQ=="
}
},
"npm:undici-types": {
"type": "npm",
"name": "npm:undici-types",
"data": {
"version": "5.26.5",
"packageName": "undici-types",
"hash": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="
}
},
"npm:@ampproject/remapping": {
Expand Down Expand Up @@ -12864,15 +12891,6 @@
"hash": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw=="
}
},
"npm:undici-types": {
"type": "npm",
"name": "npm:undici-types",
"data": {
"version": "5.26.5",
"packageName": "undici-types",
"hash": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="
}
},
"npm:unicode-canonical-property-names-ecmascript": {
"type": "npm",
"name": "npm:unicode-canonical-property-names-ecmascript",
Expand Down Expand Up @@ -13530,6 +13548,11 @@
"target": "npm:@aws-sdk/client-cognito-identity",
"type": "static"
},
{
"source": "@affinidi-tdk/iota-core",
"target": "npm:@types/node@22.0.0",
"type": "static"
},
{
"source": "@affinidi-tdk/iota-core",
"target": "npm:@typescript-eslint/eslint-plugin@7.14.1",
Expand Down Expand Up @@ -13757,23 +13780,30 @@
"type": "static"
}
],
"npm:@affinidi-tdk/iota-client@1.9.0": [
"npm:@affinidi-tdk/iota-client@1.10.1": [
{
"source": "npm:@affinidi-tdk/iota-client@1.9.0",
"source": "npm:@affinidi-tdk/iota-client@1.10.1",
"target": "npm:axios",
"type": "static"
},
{
"source": "npm:@affinidi-tdk/iota-client@1.9.0",
"source": "npm:@affinidi-tdk/iota-client@1.10.1",
"target": "npm:axios-retry",
"type": "static"
},
{
"source": "npm:@affinidi-tdk/iota-client@1.9.0",
"source": "npm:@affinidi-tdk/iota-client@1.10.1",
"target": "npm:url",
"type": "static"
}
],
"npm:@types/node@22.0.0": [
{
"source": "npm:@types/node@22.0.0",
"target": "npm:undici-types@6.11.1",
"type": "static"
}
],
"npm:@ampproject/remapping": [
{
"source": "npm:@ampproject/remapping",
Expand Down
6 changes: 4 additions & 2 deletions clients/dart/iota_client/doc/DefaultApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ All URIs are relative to *https://apse1.api.affinidi.io/ais*

# **listLoggedConsents**

> ListLoggedConsentsOK listLoggedConsents(userId, limit, exclusiveStartKey)
> ListLoggedConsentsOK listLoggedConsents(configurationId, userId, limit, exclusiveStartKey)
returns a list of logged consents for the project

Expand All @@ -28,12 +28,13 @@ import 'package:affinidi_tdk_iota_client/api.dart';
//defaultApiClient.getAuthentication<ApiKeyAuth>('ProjectTokenAuth').apiKeyPrefix = 'Bearer';
final api_instance = DefaultApi();
final configurationId = configurationId_example; // String |
final userId = userId_example; // String |
final limit = 56; // int | Maximum number of records to fetch in a list
final exclusiveStartKey = exclusiveStartKey_example; // String | The base64url encoded key of the first item that this operation will evaluate (it is not returned). Use the value that was returned in the previous operation.
try {
final result = api_instance.listLoggedConsents(userId, limit, exclusiveStartKey);
final result = api_instance.listLoggedConsents(configurationId, userId, limit, exclusiveStartKey);
print(result);
} catch (e) {
print('Exception when calling DefaultApi->listLoggedConsents: $e\n');
Expand All @@ -44,6 +45,7 @@ try {

| Name | Type | Description | Notes |
| --------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- |
| **configurationId** | **String** | | [optional] |
| **userId** | **String** | | [optional] |
| **limit** | **int** | Maximum number of records to fetch in a list | [optional] |
| **exclusiveStartKey** | **String** | The base64url encoded key of the first item that this operation will evaluate (it is not returned). Use the value that was returned in the previous operation. | [optional] |
Expand Down
13 changes: 10 additions & 3 deletions clients/dart/iota_client/lib/api/default_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,16 @@ class DefaultApi {
///
/// Parameters:
///
/// * [String] configurationId:
///
/// * [String] userId:
///
/// * [int] limit:
/// Maximum number of records to fetch in a list
///
/// * [String] exclusiveStartKey:
/// The base64url encoded key of the first item that this operation will evaluate (it is not returned). Use the value that was returned in the previous operation.
Future<Response> listLoggedConsentsWithHttpInfo({ String? userId, int? limit, String? exclusiveStartKey, }) async {
Future<Response> listLoggedConsentsWithHttpInfo({ String? configurationId, String? userId, int? limit, String? exclusiveStartKey, }) async {
// ignore: prefer_const_declarations
final path = r'/v1/logged-consents';

Expand All @@ -40,6 +42,9 @@ class DefaultApi {
final headerParams = <String, String>{};
final formParams = <String, String>{};

if (configurationId != null) {
queryParams.addAll(_queryParams('', 'configurationId', configurationId));
}
if (userId != null) {
queryParams.addAll(_queryParams('', 'userId', userId));
}
Expand Down Expand Up @@ -68,15 +73,17 @@ class DefaultApi {
///
/// Parameters:
///
/// * [String] configurationId:
///
/// * [String] userId:
///
/// * [int] limit:
/// Maximum number of records to fetch in a list
///
/// * [String] exclusiveStartKey:
/// The base64url encoded key of the first item that this operation will evaluate (it is not returned). Use the value that was returned in the previous operation.
Future<ListLoggedConsentsOK?> listLoggedConsents({ String? userId, int? limit, String? exclusiveStartKey, }) async {
final response = await listLoggedConsentsWithHttpInfo( userId: userId, limit: limit, exclusiveStartKey: exclusiveStartKey, );
Future<ListLoggedConsentsOK?> listLoggedConsents({ String? configurationId, String? userId, int? limit, String? exclusiveStartKey, }) async {
final response = await listLoggedConsentsWithHttpInfo( configurationId: configurationId, userId: userId, limit: limit, exclusiveStartKey: exclusiveStartKey, );
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ doc/InvalidClaimContextError.md
doc/InvalidGroupsError.md
doc/InvalidParameterError.md
doc/InvalidParameterErrorDetailsInner.md
doc/InvalidVPTokenCreationTimeError.md
doc/JsonWebKey.md
doc/JsonWebKeyKeysInner.md
doc/ListLoginConfigurationOutput.md
Expand Down Expand Up @@ -98,6 +99,7 @@ lib/model/invalid_claim_context_error.dart
lib/model/invalid_groups_error.dart
lib/model/invalid_parameter_error.dart
lib/model/invalid_parameter_error_details_inner.dart
lib/model/invalid_vp_token_creation_time_error.dart
lib/model/json_web_key.dart
lib/model/json_web_key_keys_inner.dart
lib/model/list_login_configuration_output.dart
Expand All @@ -122,3 +124,4 @@ lib/model/unauthorized_error.dart
lib/model/update_login_configuration_input.dart
lib/model/vp_token_validation_error.dart
pubspec.yaml
test/invalid_vp_token_creation_time_error_test.dart
1 change: 1 addition & 0 deletions clients/dart/login_configuration_client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ All URIs are relative to *https://apse1.api.affinidi.io/vpa*
- [InvalidGroupsError](doc//InvalidGroupsError.md)
- [InvalidParameterError](doc//InvalidParameterError.md)
- [InvalidParameterErrorDetailsInner](doc//InvalidParameterErrorDetailsInner.md)
- [InvalidVPTokenCreationTimeError](doc//InvalidVPTokenCreationTimeError.md)
- [JsonWebKey](doc//JsonWebKey.md)
- [JsonWebKeyKeysInner](doc//JsonWebKeyKeysInner.md)
- [ListLoginConfigurationOutput](doc//ListLoginConfigurationOutput.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# affinidi_tdk_login_configuration_client.model.InvalidVPTokenCreationTimeError

## Load the model package

```dart
import 'package:affinidi_tdk_login_configuration_client/api.dart';
```

## Properties

| Name | Type | Description | Notes |
| ------------------ | ----------------------------------------------------------------------------------- | ----------- | -------------------------------- |
| **name** | **String** | |
| **message** | **String** | |
| **httpStatusCode** | **int** | |
| **traceId** | **String** | |
| **details** | [**List<InvalidParameterErrorDetailsInner>**](InvalidParameterErrorDetailsInner.md) | | [optional] [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)
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ import 'package:affinidi_tdk_login_configuration_client/api.dart';
| **presentationDefinition** | **String** | Presentation Definition to ask from the user. In JSON Stringify format. |
| **ari** | **String** | ARI is used for analytics proposals. | [optional] |
| **clientId** | **String** | clientId used for detect origin. | [optional] |
| **nonce** | **String** | nonce for VP Token proof challenge | [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: 1 addition & 0 deletions clients/dart/login_configuration_client/lib/api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ part 'model/invalid_claim_context_error.dart';
part 'model/invalid_groups_error.dart';
part 'model/invalid_parameter_error.dart';
part 'model/invalid_parameter_error_details_inner.dart';
part 'model/invalid_vp_token_creation_time_error.dart';
part 'model/json_web_key.dart';
part 'model/json_web_key_keys_inner.dart';
part 'model/list_login_configuration_output.dart';
Expand Down
2 changes: 2 additions & 0 deletions clients/dart/login_configuration_client/lib/api_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ class ApiClient {
return InvalidParameterError.fromJson(value);
case 'InvalidParameterErrorDetailsInner':
return InvalidParameterErrorDetailsInner.fromJson(value);
case 'InvalidVPTokenCreationTimeError':
return InvalidVPTokenCreationTimeError.fromJson(value);
case 'JsonWebKey':
return JsonWebKey.fromJson(value);
case 'JsonWebKeyKeysInner':
Expand Down
Loading

0 comments on commit f3e9b7a

Please sign in to comment.