Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from feat/update-client-all #241

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions clients/dart/iota_client/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,26 @@ doc/AwsExchangeCredentialsProjectTokenOK.md
doc/AwsExchangeCredentialsProjectTokenOKCredentials.md
doc/CallbackApi.md
doc/CallbackInput.md
doc/CallbackResponseOK.md
doc/CallbackResponseOKRedirectResponse.md
doc/ConfigurationsApi.md
doc/ConsentDto.md
doc/CorsAwsExchangeCredentialsOK.md
doc/CorsAwsExchangeCredentialsProjectTokenOK.md
doc/CorsFetchIotaVpResponseOK.md
doc/CorsInitiateDataSharingRequestOK.md
doc/CorsIotOidc4vpcallbackOK.md
doc/CorsIotaExchangeCredentialsOK.md
doc/CreateIotaConfigurationInput.md
doc/CreatePexQueryInput.md
doc/DefaultApi.md
doc/DeletePexQueriesInput.md
doc/FetchIOTAVPResponseInput.md
doc/FetchIOTAVPResponseOK.md
doc/GetIotaConfigurationMetaDataOK.md
doc/InitiateDataSharingRequestInput.md
doc/InitiateDataSharingRequestOK.md
doc/InitiateDataSharingRequestOKData.md
doc/InvalidParameterError.md
doc/InvalidParameterErrorDetailsInner.md
doc/IotaApi.md
Expand Down Expand Up @@ -68,15 +77,24 @@ lib/model/aws_exchange_credentials_project_token.dart
lib/model/aws_exchange_credentials_project_token_ok.dart
lib/model/aws_exchange_credentials_project_token_ok_credentials.dart
lib/model/callback_input.dart
lib/model/callback_response_ok.dart
lib/model/callback_response_ok_redirect_response.dart
lib/model/consent_dto.dart
lib/model/cors_aws_exchange_credentials_ok.dart
lib/model/cors_aws_exchange_credentials_project_token_ok.dart
lib/model/cors_fetch_iota_vp_response_ok.dart
lib/model/cors_initiate_data_sharing_request_ok.dart
lib/model/cors_iot_oidc4vpcallback_ok.dart
lib/model/cors_iota_exchange_credentials_ok.dart
lib/model/create_iota_configuration_input.dart
lib/model/create_pex_query_input.dart
lib/model/delete_pex_queries_input.dart
lib/model/fetch_iotavp_response_input.dart
lib/model/fetch_iotavp_response_ok.dart
lib/model/get_iota_configuration_meta_data_ok.dart
lib/model/initiate_data_sharing_request_input.dart
lib/model/initiate_data_sharing_request_ok.dart
lib/model/initiate_data_sharing_request_ok_data.dart
lib/model/invalid_parameter_error.dart
lib/model/invalid_parameter_error_details_inner.dart
lib/model/iota_configuration_dto.dart
Expand All @@ -102,3 +120,12 @@ lib/model/update_configuration_by_id_ok.dart
lib/model/update_pex_query_input.dart
lib/model/vp_token_validation_error.dart
pubspec.yaml
test/callback_response_ok_redirect_response_test.dart
test/callback_response_ok_test.dart
test/cors_fetch_iota_vp_response_ok_test.dart
test/cors_initiate_data_sharing_request_ok_test.dart
test/fetch_iotavp_response_input_test.dart
test/fetch_iotavp_response_ok_test.dart
test/initiate_data_sharing_request_input_test.dart
test/initiate_data_sharing_request_ok_data_test.dart
test/initiate_data_sharing_request_ok_test.dart
11 changes: 11 additions & 0 deletions clients/dart/iota_client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ All URIs are relative to *https://apse1.api.affinidi.io/ais*
| _IotaApi_ | [**awsExchangeCredentials**](doc//IotaApi.md#awsexchangecredentials) | **POST** /v1/aws-exchange-credentials |
| _IotaApi_ | [**awsExchangeCredentialsProjectToken**](doc//IotaApi.md#awsexchangecredentialsprojecttoken) | **POST** /v1/aws-exchange-credentials/project-token |
| _IotaApi_ | [**deletePexQueries**](doc//IotaApi.md#deletepexqueries) | **POST** /v1/configurations/{configurationId}/delete-queries | deletes pex queries |
| _IotaApi_ | [**fetchIotaVpResponse**](doc//IotaApi.md#fetchiotavpresponse) | **POST** /v1/fetch-iota-response |
| _IotaApi_ | [**initiateDataSharingRequest**](doc//IotaApi.md#initiatedatasharingrequest) | **POST** /v1/initiate-data-sharing-request |
| _IotaApi_ | [**iotaExchangeCredentials**](doc//IotaApi.md#iotaexchangecredentials) | **POST** /v1/exchange-credentials |
| _IotaApi_ | [**savePexQueries**](doc//IotaApi.md#savepexqueries) | **POST** /v1/configurations/{configurationId}/save-queries |
| _PexQueryApi_ | [**createPexQuery**](doc//PexQueryApi.md#createpexquery) | **POST** /v1/configurations/{configurationId}/pex-queries |
Expand All @@ -93,15 +95,24 @@ All URIs are relative to *https://apse1.api.affinidi.io/ais*
- [AwsExchangeCredentialsProjectTokenOK](doc//AwsExchangeCredentialsProjectTokenOK.md)
- [AwsExchangeCredentialsProjectTokenOKCredentials](doc//AwsExchangeCredentialsProjectTokenOKCredentials.md)
- [CallbackInput](doc//CallbackInput.md)
- [CallbackResponseOK](doc//CallbackResponseOK.md)
- [CallbackResponseOKRedirectResponse](doc//CallbackResponseOKRedirectResponse.md)
- [ConsentDto](doc//ConsentDto.md)
- [CorsAwsExchangeCredentialsOK](doc//CorsAwsExchangeCredentialsOK.md)
- [CorsAwsExchangeCredentialsProjectTokenOK](doc//CorsAwsExchangeCredentialsProjectTokenOK.md)
- [CorsFetchIotaVpResponseOK](doc//CorsFetchIotaVpResponseOK.md)
- [CorsInitiateDataSharingRequestOK](doc//CorsInitiateDataSharingRequestOK.md)
- [CorsIotOidc4vpcallbackOK](doc//CorsIotOidc4vpcallbackOK.md)
- [CorsIotaExchangeCredentialsOK](doc//CorsIotaExchangeCredentialsOK.md)
- [CreateIotaConfigurationInput](doc//CreateIotaConfigurationInput.md)
- [CreatePexQueryInput](doc//CreatePexQueryInput.md)
- [DeletePexQueriesInput](doc//DeletePexQueriesInput.md)
- [FetchIOTAVPResponseInput](doc//FetchIOTAVPResponseInput.md)
- [FetchIOTAVPResponseOK](doc//FetchIOTAVPResponseOK.md)
- [GetIotaConfigurationMetaDataOK](doc//GetIotaConfigurationMetaDataOK.md)
- [InitiateDataSharingRequestInput](doc//InitiateDataSharingRequestInput.md)
- [InitiateDataSharingRequestOK](doc//InitiateDataSharingRequestOK.md)
- [InitiateDataSharingRequestOKData](doc//InitiateDataSharingRequestOKData.md)
- [InvalidParameterError](doc//InvalidParameterError.md)
- [InvalidParameterErrorDetailsInner](doc//InvalidParameterErrorDetailsInner.md)
- [IotaConfigurationDto](doc//IotaConfigurationDto.md)
Expand Down
4 changes: 2 additions & 2 deletions clients/dart/iota_client/doc/CallbackApi.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*

# **iotOIDC4VPCallback**

> Object iotOIDC4VPCallback(callbackInput)
> CallbackResponseOK iotOIDC4VPCallback(callbackInput)
Processes the callback for OIDC4VP flows

Expand Down Expand Up @@ -44,7 +44,7 @@ try {

### Return type

[**Object**](Object.md)
[**CallbackResponseOK**](CallbackResponseOK.md)

### Authorization

Expand Down
16 changes: 16 additions & 0 deletions clients/dart/iota_client/doc/CallbackResponseOK.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# affinidi_tdk_iota_client.model.CallbackResponseOK

## Load the model package

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

## Properties

| Name | Type | Description | Notes |
| -------------------- | ------------------------------------------------------------------------------- | ---------------------------------------------------- | ---------- |
| **message** | **String** | A message to vault that flow is updated successfully |
| **redirectResponse** | [**CallbackResponseOKRedirectResponse**](CallbackResponseOKRedirectResponse.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)
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# affinidi_tdk_iota_client.model.CallbackResponseOKRedirectResponse

## Load the model package

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

## Properties

| Name | Type | Description | Notes |
| ---------------- | ---------- | ----------------------------------------------------------------- | ---------- |
| **redirectUri** | **String** | the configured redirect url where vault will redirect | [optional] |
| **responseCode** | **String** | Code which will be used to retrieve data along with transactionId | [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)
15 changes: 15 additions & 0 deletions clients/dart/iota_client/doc/CorsFetchIotaVpResponseOK.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# affinidi_tdk_iota_client.model.CorsFetchIotaVpResponseOK

## Load the model package

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

## Properties

| Name | Type | Description | Notes |
| ----------------------------- | ---------- | ----------- | ---------- |
| **corsFetchIotaVpResponseOk** | **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
@@ -0,0 +1,15 @@
# affinidi_tdk_iota_client.model.CorsInitiateDataSharingRequestOK

## Load the model package

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

## Properties

| Name | Type | Description | Notes |
| ------------------------------------ | ---------- | ----------- | ---------- |
| **corsInitiateDataSharingRequestOk** | **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)
22 changes: 12 additions & 10 deletions clients/dart/iota_client/doc/CreateIotaConfigurationInput.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@ import 'package:affinidi_tdk_iota_client/api.dart';

## Properties

| Name | Type | Description | Notes |
| -------------------------- | ------------------------------------------------------------------------------- | ---------------------------------------- | ---------- |
| **name** | **String** | The name of the configuration |
| **description** | **String** | Description of the configuration | [optional] |
| **walletAri** | **String** | The wallet Ari that will be used to sign |
| **iotaResponseWebhookURL** | **String** | webhook to call when data is ready | [optional] |
| **enableVerification** | **bool** | |
| **enableConsentAuditLog** | **bool** | |
| **tokenMaxAge** | **int** | token time to live in seconds | [optional] |
| **clientMetadata** | [**IotaConfigurationDtoClientMetadata**](IotaConfigurationDtoClientMetadata.md) | |
| Name | Type | Description | Notes |
| -------------------------- | ------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| **name** | **String** | The name of the configuration |
| **description** | **String** | Description of the configuration | [optional] |
| **walletAri** | **String** | The wallet Ari that will be used to sign |
| **iotaResponseWebhookURL** | **String** | webhook to call when data is ready | [optional] |
| **enableVerification** | **bool** | |
| **enableConsentAuditLog** | **bool** | |
| **tokenMaxAge** | **int** | token time to live in seconds | [optional] |
| **clientMetadata** | [**IotaConfigurationDtoClientMetadata**](IotaConfigurationDtoClientMetadata.md) | |
| **mode** | **String** | indicates whether the flow is a WebSocket flow or a Redirect flow. This value is used in Vault to determine how to process the data flow request. | [optional] [default to 'websocket'] |
| **redirectUris** | **List<String>** | the URL that the user will be redirected to after the request has been processed; should be provided by the developer of the client application.Required only if mode is Redirect. | [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)
17 changes: 17 additions & 0 deletions clients/dart/iota_client/doc/FetchIOTAVPResponseInput.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# affinidi_tdk_iota_client.model.FetchIOTAVPResponseInput

## Load the model package

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

## Properties

| Name | Type | Description | Notes |
| ----------------- | ---------- | ------------------ | ----- |
| **correlationId** | **String** | The correlation ID |
| **transactionId** | **String** | The transaction ID |
| **responseCode** | **String** | The response code. |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
17 changes: 17 additions & 0 deletions clients/dart/iota_client/doc/FetchIOTAVPResponseOK.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# affinidi_tdk_iota_client.model.FetchIOTAVPResponseOK

## Load the model package

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

## Properties

| Name | Type | Description | Notes |
| -------------------------- | ---------- | ------------------------------------------------------------------------------------------------------------------ | ---------- |
| **correlationId** | **String** | A correlationId used for the flow | [optional] |
| **presentationSubmission** | **String** | A string that must be a valid JSON object. The structure of presentation submission should follow OID4VP standard. | [optional] |
| **vpToken** | **String** | A string that must be a valid JSON object. Ensure to escape special characters properly.. | [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)
19 changes: 19 additions & 0 deletions clients/dart/iota_client/doc/InitiateDataSharingRequestInput.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# affinidi_tdk_iota_client.model.InitiateDataSharingRequestInput

## Load the model package

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

## Properties

| Name | Type | Description | Notes |
| ----------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ---------- |
| **queryId** | **String** | |
| **correlationId** | **String** | |
| **tokenMaxAge** | **int** | token time to live in seconds | [optional] |
| **nonce** | **String** | Random value used to prevent replay attacks |
| **redirectUri** | **String** | the URL that the user will be redirected to after the request has been processed; should be provided by the developer of the client application. |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
15 changes: 15 additions & 0 deletions clients/dart/iota_client/doc/InitiateDataSharingRequestOK.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# affinidi_tdk_iota_client.model.InitiateDataSharingRequestOK

## Load the model package

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

## Properties

| Name | Type | Description | Notes |
| -------- | --------------------------------------------------------------------------- | ----------- | ---------- |
| **data** | [**InitiateDataSharingRequestOKData**](InitiateDataSharingRequestOKData.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)
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# affinidi_tdk_iota_client.model.InitiateDataSharingRequestOKData

## Load the model package

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

## Properties

| Name | Type | Description | Notes |
| ----------------- | ---------- | ----------- | ----- |
| **jwt** | **String** | |
| **correlationId** | **String** | |
| **transactionId** | **String** | |

[[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