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 #377

Merged
merged 1 commit into from
Dec 18, 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
3 changes: 0 additions & 3 deletions clients/dart/iam_client/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,3 @@ lib/model/user_dto.dart
lib/model/user_list.dart
lib/model/whoami_dto.dart
pubspec.yaml
test/project_with_policy_dto_test.dart
test/project_with_policy_list_test.dart
test/typed_principal_id_test.dart
2 changes: 2 additions & 0 deletions clients/dart/iota_client/doc/FetchIOTAVPResponseOK.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ import 'package:affinidi_tdk_iota_client/api.dart';
| **correlationId** | **String** | A unique, randomly generated identifier that correlates the request and response in the data-sharing request flow. | [optional] |
| **presentationSubmission** | **String** | A JSON string format that describes the link between the Verifiable Presentation and Presentation Definition for the verifier. The presentation submission follows the OID4VP standard. | [optional] |
| **vpToken** | **String** | A JSON string format containing the data the user consented to share in a Verifiable Presentation format. The VP Token follows the OID4VP standard. | [optional] |
| **presentationSubmission** | **String** | A JSON string format that describes the link between the Verifiable Presentation and Presentation Definition for the verifier. The presentation submission follows the OID4VP standard. | [optional] |
| **vpToken** | **String** | A JSON string format containing the data the user consented to share in a Verifiable Presentation format. The VP Token follows the OID4VP standard. | [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 @@ -16,6 +16,8 @@ class FetchIOTAVPResponseOK {
this.correlationId,
this.presentationSubmission,
this.vpToken,
this.presentationSubmission,
this.vpToken,
});

/// A unique, randomly generated identifier that correlates the request and response in the data-sharing request flow.
Expand Down Expand Up @@ -45,21 +47,43 @@ class FetchIOTAVPResponseOK {
///
String? vpToken;

/// A JSON string format that describes the link between the Verifiable Presentation and Presentation Definition for the verifier. The presentation submission follows the OID4VP standard.
///
/// 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? presentationSubmission;

/// A JSON string format containing the data the user consented to share in a Verifiable Presentation format. The VP Token follows the OID4VP standard.
///
/// 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? vpToken;

@override
bool operator ==(Object other) => identical(this, other) || other is FetchIOTAVPResponseOK &&
other.correlationId == correlationId &&
other.presentationSubmission == presentationSubmission &&
other.vpToken == vpToken &&
other.presentationSubmission == presentationSubmission &&
other.vpToken == vpToken;

@override
int get hashCode =>
// ignore: unnecessary_parenthesis
(correlationId == null ? 0 : correlationId!.hashCode) +
(presentationSubmission == null ? 0 : presentationSubmission!.hashCode) +
(vpToken == null ? 0 : vpToken!.hashCode) +
(presentationSubmission == null ? 0 : presentationSubmission!.hashCode) +
(vpToken == null ? 0 : vpToken!.hashCode);

@override
String toString() => 'FetchIOTAVPResponseOK[correlationId=$correlationId, presentationSubmission=$presentationSubmission, vpToken=$vpToken]';
String toString() => 'FetchIOTAVPResponseOK[correlationId=$correlationId, presentationSubmission=$presentationSubmission, vpToken=$vpToken, presentationSubmission=$presentationSubmission, vpToken=$vpToken]';

Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
Expand All @@ -78,6 +102,16 @@ class FetchIOTAVPResponseOK {
} else {
json[r'vp_token'] = null;
}
if (this.presentationSubmission != null) {
json[r'presentationSubmission'] = this.presentationSubmission;
} else {
json[r'presentationSubmission'] = null;
}
if (this.vpToken != null) {
json[r'vpToken'] = this.vpToken;
} else {
json[r'vpToken'] = null;
}
return json;
}

Expand All @@ -103,6 +137,8 @@ class FetchIOTAVPResponseOK {
correlationId: mapValueOfType<String>(json, r'correlationId'),
presentationSubmission: mapValueOfType<String>(json, r'presentation_submission'),
vpToken: mapValueOfType<String>(json, r'vp_token'),
presentationSubmission: mapValueOfType<String>(json, r'presentationSubmission'),
vpToken: mapValueOfType<String>(json, r'vpToken'),
);
}
return null;
Expand Down
3 changes: 0 additions & 3 deletions clients/python/iam_client/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,4 @@ setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_project_with_policy_dto.py
test/test_project_with_policy_list.py
test/test_typed_principal_id.py
tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ class FetchIOTAVPResponseOK(BaseModel):
correlation_id: Optional[StrictStr] = Field(default=None, alias="correlationId", description="A unique, randomly generated identifier that correlates the request and response in the data-sharing request flow.")
presentation_submission: Optional[StrictStr] = Field(default=None, description="A JSON string format that describes the link between the Verifiable Presentation and Presentation Definition for the verifier. The presentation submission follows the OID4VP standard.")
vp_token: Optional[StrictStr] = Field(default=None, description="A JSON string format containing the data the user consented to share in a Verifiable Presentation format. The VP Token follows the OID4VP standard.")
presentation_submission: Optional[StrictStr] = Field(default=None, alias="presentationSubmission", description="A JSON string format that describes the link between the Verifiable Presentation and Presentation Definition for the verifier. The presentation submission follows the OID4VP standard.")
vp_token: Optional[StrictStr] = Field(default=None, alias="vpToken", description="A JSON string format containing the data the user consented to share in a Verifiable Presentation format. The VP Token follows the OID4VP standard.")
additional_properties: Dict[str, Any] = {}
__properties = ["correlationId", "presentation_submission", "vp_token"]
__properties = ["correlationId", "presentation_submission", "vp_token", "presentationSubmission", "vpToken"]

class Config:
"""Pydantic configuration"""
Expand Down Expand Up @@ -76,7 +78,9 @@ def from_dict(cls, obj: dict) -> FetchIOTAVPResponseOK:
_obj = FetchIOTAVPResponseOK.parse_obj({
"correlation_id": obj.get("correlationId"),
"presentation_submission": obj.get("presentation_submission"),
"vp_token": obj.get("vp_token")
"vp_token": obj.get("vp_token"),
"presentation_submission": obj.get("presentationSubmission"),
"vp_token": obj.get("vpToken")
})
# store additional fields in additional_properties
for _key in obj.keys():
Expand Down
2 changes: 2 additions & 0 deletions clients/python/iota_client/docs/FetchIOTAVPResponseOK.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
| **correlation_id** | **str** | A unique, randomly generated identifier that correlates the request and response in the data-sharing request flow. | [optional] |
| **presentation_submission** | **str** | A JSON string format that describes the link between the Verifiable Presentation and Presentation Definition for the verifier. The presentation submission follows the OID4VP standard. | [optional] |
| **vp_token** | **str** | A JSON string format containing the data the user consented to share in a Verifiable Presentation format. The VP Token follows the OID4VP standard. | [optional] |
| **presentation_submission** | **str** | A JSON string format that describes the link between the Verifiable Presentation and Presentation Definition for the verifier. The presentation submission follows the OID4VP standard. | [optional] |
| **vp_token** | **str** | A JSON string format containing the data the user consented to share in a Verifiable Presentation format. The VP Token follows the OID4VP standard. | [optional] |

## Example

Expand Down
14 changes: 14 additions & 0 deletions clients/typescript/iota-client/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -575,14 +575,28 @@ export interface FetchIOTAVPResponseOK {
* A JSON string format that describes the link between the Verifiable Presentation and Presentation Definition for the verifier. The presentation submission follows the OID4VP standard.
* @type {string}
* @memberof FetchIOTAVPResponseOK
* @deprecated
*/
presentation_submission?: string
/**
* A JSON string format containing the data the user consented to share in a Verifiable Presentation format. The VP Token follows the OID4VP standard.
* @type {string}
* @memberof FetchIOTAVPResponseOK
* @deprecated
*/
vp_token?: string
/**
* A JSON string format that describes the link between the Verifiable Presentation and Presentation Definition for the verifier. The presentation submission follows the OID4VP standard.
* @type {string}
* @memberof FetchIOTAVPResponseOK
*/
presentationSubmission?: string
/**
* A JSON string format containing the data the user consented to share in a Verifiable Presentation format. The VP Token follows the OID4VP standard.
* @type {string}
* @memberof FetchIOTAVPResponseOK
*/
vpToken?: string
}
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
| **correlationId** | **String** | A unique, randomly generated identifier that correlates the request and response in the data-sharing request flow. | [optional] [default to null] |
| **presentation_submission** | **String** | A JSON string format that describes the link between the Verifiable Presentation and Presentation Definition for the verifier. The presentation submission follows the OID4VP standard. | [optional] [default to null] |
| **vp_token** | **String** | A JSON string format containing the data the user consented to share in a Verifiable Presentation format. The VP Token follows the OID4VP standard. | [optional] [default to null] |
| **presentationSubmission** | **String** | A JSON string format that describes the link between the Verifiable Presentation and Presentation Definition for the verifier. The presentation submission follows the OID4VP standard. | [optional] [default to null] |
| **vpToken** | **String** | A JSON string format containing the data the user consented to share in a Verifiable Presentation format. The VP Token follows the OID4VP standard. | [optional] [default to null] |

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