Skip to content

Commit

Permalink
feat: update client cis
Browse files Browse the repository at this point in the history
  • Loading branch information
linn-affinidi committed Aug 5, 2024
1 parent c786b3a commit d2181c9
Show file tree
Hide file tree
Showing 39 changed files with 3,203 additions and 1,685 deletions.
3,175 changes: 1,616 additions & 1,559 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
1718957446726285076
51 changes: 25 additions & 26 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,22 @@
"hash": "18395649546124891387"
}
},
"npm:@affinidi-tdk/iota-client@1.9.0": {
"npm:undici-types@6.11.1": {
"type": "npm",
"name": "npm:@affinidi-tdk/iota-client@1.9.0",
"name": "npm:undici-types@6.11.1",
"data": {
"version": "1.9.0",
"packageName": "@affinidi-tdk/iota-client",
"hash": "sha512-MMszIMPCy/KFSEAU548IaqzeazF03oUf6EN+VctLdNeydJh2xmYahD2zKE3wbnNR1SCjuyoJIEq5NBzr7+anlg=="
"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 +11817,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,18 +12261,8 @@
"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",
"source": "npm:@types/node@22.0.0",
"target": "npm:undici-types@6.11.1",
"type": "static"
},
{
Expand Down
58 changes: 31 additions & 27 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,22 @@
"hash": "18395649546124891387"
}
},
"npm:@affinidi-tdk/iota-client@1.9.0": {
"npm:undici-types@6.11.1": {
"type": "npm",
"name": "npm:@affinidi-tdk/iota-client@1.9.0",
"name": "npm:undici-types@6.11.1",
"data": {
"version": "1.9.0",
"packageName": "@affinidi-tdk/iota-client",
"hash": "sha512-MMszIMPCy/KFSEAU548IaqzeazF03oUf6EN+VctLdNeydJh2xmYahD2zKE3wbnNR1SCjuyoJIEq5NBzr7+anlg=="
"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 +12882,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 +13539,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,20 +13771,10 @@
"type": "static"
}
],
"npm:@affinidi-tdk/iota-client@1.9.0": [
"npm:@types/node@22.0.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",
"source": "npm:@types/node@22.0.0",
"target": "npm:undici-types@6.11.1",
"type": "static"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ doc/CreateIssuanceConfig400Response.md
doc/CreateIssuanceConfigInput.md
doc/CreateIssuanceConfigInputCredentialSupportedInner.md
doc/CredentialIssuanceIdExistError.md
doc/CredentialOfferClaimedError.md
doc/CredentialOfferExpiredError.md
doc/CredentialOfferResponse.md
doc/CredentialOfferResponseGrants.md
Expand Down Expand Up @@ -43,6 +44,7 @@ doc/IssuanceConfigMiniDto.md
doc/IssuanceStateResponse.md
doc/ListIssuanceResponse.md
doc/ListIssuanceResponseIssuancesInner.md
doc/MissingHolderDidError.md
doc/NotFoundError.md
doc/OfferApi.md
doc/ProjectCredentialConfigExistError.md
Expand Down Expand Up @@ -80,6 +82,7 @@ lib/model/create_issuance_config400_response.dart
lib/model/create_issuance_config_input.dart
lib/model/create_issuance_config_input_credential_supported_inner.dart
lib/model/credential_issuance_id_exist_error.dart
lib/model/credential_offer_claimed_error.dart
lib/model/credential_offer_expired_error.dart
lib/model/credential_offer_response.dart
lib/model/credential_offer_response_grants.dart
Expand Down Expand Up @@ -108,6 +111,7 @@ lib/model/issuance_config_mini_dto.dart
lib/model/issuance_state_response.dart
lib/model/list_issuance_response.dart
lib/model/list_issuance_response_issuances_inner.dart
lib/model/missing_holder_did_error.dart
lib/model/not_found_error.dart
lib/model/project_credential_config_exist_error.dart
lib/model/project_credential_config_not_exist_error.dart
Expand All @@ -120,3 +124,5 @@ 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_offer_claimed_error_test.dart
test/missing_holder_did_error_test.dart
2 changes: 2 additions & 0 deletions clients/dart/credential_issuance_client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ All URIs are relative to *https://apse1.api.affinidi.io/cis*
- [CreateIssuanceConfigInput](doc//CreateIssuanceConfigInput.md)
- [CreateIssuanceConfigInputCredentialSupportedInner](doc//CreateIssuanceConfigInputCredentialSupportedInner.md)
- [CredentialIssuanceIdExistError](doc//CredentialIssuanceIdExistError.md)
- [CredentialOfferClaimedError](doc//CredentialOfferClaimedError.md)
- [CredentialOfferExpiredError](doc//CredentialOfferExpiredError.md)
- [CredentialOfferResponse](doc//CredentialOfferResponse.md)
- [CredentialOfferResponseGrants](doc//CredentialOfferResponseGrants.md)
Expand Down Expand Up @@ -120,6 +121,7 @@ All URIs are relative to *https://apse1.api.affinidi.io/cis*
- [IssuanceStateResponse](doc//IssuanceStateResponse.md)
- [ListIssuanceResponse](doc//ListIssuanceResponse.md)
- [ListIssuanceResponseIssuancesInner](doc//ListIssuanceResponseIssuancesInner.md)
- [MissingHolderDidError](doc//MissingHolderDidError.md)
- [NotFoundError](doc//NotFoundError.md)
- [ProjectCredentialConfigExistError](doc//ProjectCredentialConfigExistError.md)
- [ProjectCredentialConfigNotExistError](doc//ProjectCredentialConfigNotExistError.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# affinidi_tdk_credential_issuance_client.model.CredentialOfferClaimedError

## Load the model package

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

## Properties

| Name | Type | Description | Notes |
| ------------------ | --------------------------------------------------------------------------------- | ----------- | -------------------------------- |
| **name** | **String** | |
| **message** | **String** | |
| **httpStatusCode** | **int** | |
| **traceId** | **String** | |
| **details** | [**List<ActionForbiddenErrorDetailsInner>**](ActionForbiddenErrorDetailsInner.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
@@ -0,0 +1,19 @@
# affinidi_tdk_credential_issuance_client.model.MissingHolderDidError

## Load the model package

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

## Properties

| Name | Type | Description | Notes |
| ------------------ | --------------------------------------------------------------------------------- | ----------- | -------------------------------- |
| **name** | **String** | |
| **message** | **String** | |
| **httpStatusCode** | **int** | |
| **traceId** | **String** | |
| **details** | [**List<ActionForbiddenErrorDetailsInner>**](ActionForbiddenErrorDetailsInner.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 @@ -8,11 +8,11 @@ import 'package:affinidi_tdk_credential_issuance_client/api.dart';

## Properties

| Name | Type | Description | Notes |
| -------------- | ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- |
| **claimMode** | **String** | | [optional] |
| **holderDid** | **String** | Holder DID |
| **issuanceId** | **String** | Website's internal identifier. Website may use to get info about the status of issuance flow. If it is not provided, CIS will generate one. | [optional] |
| **data** | [**List<StartIssuanceInputDataInner>**](StartIssuanceInputDataInner.md) | | [default to const []] |
| Name | Type | Description | Notes |
| -------------- | ----------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- |
| **claimMode** | **String** | In TX_CODE claim mode, additional transaction code will be generated and the Authorization Server expects presentation of the transaction Code by the end-user. If FIXED_HOLDER claim mode is defined, holderDid must be present and service will not generate additional transaction code (NORMAL claimMode is deprecated). | [optional] |
| **holderDid** | **String** | Holder DID | [optional] |
| **issuanceId** | **String** | Website's internal identifier. Website may use to get info about the status of issuance flow. If it is not provided, CIS will generate one. | [optional] |
| **data** | [**List<StartIssuanceInputDataInner>**](StartIssuanceInputDataInner.md) | | [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)
2 changes: 2 additions & 0 deletions clients/dart/credential_issuance_client/lib/api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ part 'model/create_issuance_config400_response.dart';
part 'model/create_issuance_config_input.dart';
part 'model/create_issuance_config_input_credential_supported_inner.dart';
part 'model/credential_issuance_id_exist_error.dart';
part 'model/credential_offer_claimed_error.dart';
part 'model/credential_offer_expired_error.dart';
part 'model/credential_offer_response.dart';
part 'model/credential_offer_response_grants.dart';
Expand Down Expand Up @@ -72,6 +73,7 @@ part 'model/issuance_config_mini_dto.dart';
part 'model/issuance_state_response.dart';
part 'model/list_issuance_response.dart';
part 'model/list_issuance_response_issuances_inner.dart';
part 'model/missing_holder_did_error.dart';
part 'model/not_found_error.dart';
part 'model/project_credential_config_exist_error.dart';
part 'model/project_credential_config_not_exist_error.dart';
Expand Down
4 changes: 4 additions & 0 deletions clients/dart/credential_issuance_client/lib/api_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ class ApiClient {
return CreateIssuanceConfigInputCredentialSupportedInner.fromJson(value);
case 'CredentialIssuanceIdExistError':
return CredentialIssuanceIdExistError.fromJson(value);
case 'CredentialOfferClaimedError':
return CredentialOfferClaimedError.fromJson(value);
case 'CredentialOfferExpiredError':
return CredentialOfferExpiredError.fromJson(value);
case 'CredentialOfferResponse':
Expand Down Expand Up @@ -258,6 +260,8 @@ class ApiClient {
return ListIssuanceResponse.fromJson(value);
case 'ListIssuanceResponseIssuancesInner':
return ListIssuanceResponseIssuancesInner.fromJson(value);
case 'MissingHolderDidError':
return MissingHolderDidError.fromJson(value);
case 'NotFoundError':
return NotFoundError.fromJson(value);
case 'ProjectCredentialConfigExistError':
Expand Down
Loading

0 comments on commit d2181c9

Please sign in to comment.