Skip to content

Commit d7d8f70

Browse files
committed
autogen: regenerate OpenAPI client for v1.22.5
Version: v1.22.5
1 parent 55918df commit d7d8f70

File tree

6 files changed

+5
-76
lines changed

6 files changed

+5
-76
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 1.22.5
2+
3+
Please refer to https://changelog.ory.sh and https://www.ory.sh/docs/sdk

doc/VerifyUserCodeRequest.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ import 'package:ory_client/api.dart';
88
## Properties
99
Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
11-
**challenge** | **String** | ID is the identifier (\"device challenge\") of the device request. It is used to identify the session. | [optional]
1211
**client** | [**OAuth2Client**](OAuth2Client.md) | | [optional]
1312
**deviceCodeRequestId** | **String** | | [optional]
14-
**handledAt** | [**DateTime**](DateTime.md) | | [optional]
1513
**requestUrl** | **String** | RequestURL is the original Device Authorization URL requested. | [optional]
1614
**requestedAccessTokenAudience** | **BuiltList<String>** | | [optional]
1715
**requestedScope** | **BuiltList<String>** | | [optional]

lib/src/model/verify_user_code_request.dart

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,19 @@ part 'verify_user_code_request.g.dart';
1313
/// VerifyUserCodeRequest
1414
///
1515
/// Properties:
16-
/// * [challenge] - ID is the identifier (\"device challenge\") of the device request. It is used to identify the session.
1716
/// * [client]
1817
/// * [deviceCodeRequestId]
19-
/// * [handledAt]
2018
/// * [requestUrl] - RequestURL is the original Device Authorization URL requested.
2119
/// * [requestedAccessTokenAudience]
2220
/// * [requestedScope]
2321
@BuiltValue()
2422
abstract class VerifyUserCodeRequest implements Built<VerifyUserCodeRequest, VerifyUserCodeRequestBuilder> {
25-
/// ID is the identifier (\"device challenge\") of the device request. It is used to identify the session.
26-
@BuiltValueField(wireName: r'challenge')
27-
String? get challenge;
28-
2923
@BuiltValueField(wireName: r'client')
3024
OAuth2Client? get client;
3125

3226
@BuiltValueField(wireName: r'device_code_request_id')
3327
String? get deviceCodeRequestId;
3428

35-
@BuiltValueField(wireName: r'handled_at')
36-
DateTime? get handledAt;
37-
3829
/// RequestURL is the original Device Authorization URL requested.
3930
@BuiltValueField(wireName: r'request_url')
4031
String? get requestUrl;
@@ -68,13 +59,6 @@ class _$VerifyUserCodeRequestSerializer implements PrimitiveSerializer<VerifyUse
6859
VerifyUserCodeRequest object, {
6960
FullType specifiedType = FullType.unspecified,
7061
}) sync* {
71-
if (object.challenge != null) {
72-
yield r'challenge';
73-
yield serializers.serialize(
74-
object.challenge,
75-
specifiedType: const FullType(String),
76-
);
77-
}
7862
if (object.client != null) {
7963
yield r'client';
8064
yield serializers.serialize(
@@ -89,13 +73,6 @@ class _$VerifyUserCodeRequestSerializer implements PrimitiveSerializer<VerifyUse
8973
specifiedType: const FullType(String),
9074
);
9175
}
92-
if (object.handledAt != null) {
93-
yield r'handled_at';
94-
yield serializers.serialize(
95-
object.handledAt,
96-
specifiedType: const FullType(DateTime),
97-
);
98-
}
9976
if (object.requestUrl != null) {
10077
yield r'request_url';
10178
yield serializers.serialize(
@@ -140,13 +117,6 @@ class _$VerifyUserCodeRequestSerializer implements PrimitiveSerializer<VerifyUse
140117
final key = serializedList[i] as String;
141118
final value = serializedList[i + 1];
142119
switch (key) {
143-
case r'challenge':
144-
final valueDes = serializers.deserialize(
145-
value,
146-
specifiedType: const FullType(String),
147-
) as String;
148-
result.challenge = valueDes;
149-
break;
150120
case r'client':
151121
final valueDes = serializers.deserialize(
152122
value,
@@ -161,13 +131,6 @@ class _$VerifyUserCodeRequestSerializer implements PrimitiveSerializer<VerifyUse
161131
) as String;
162132
result.deviceCodeRequestId = valueDes;
163133
break;
164-
case r'handled_at':
165-
final valueDes = serializers.deserialize(
166-
value,
167-
specifiedType: const FullType(DateTime),
168-
) as DateTime;
169-
result.handledAt = valueDes;
170-
break;
171134
case r'request_url':
172135
final valueDes = serializers.deserialize(
173136
value,

lib/src/model/verify_user_code_request.g.dart

Lines changed: 1 addition & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: ory_client
2-
version: 1.22.4
2+
version: 1.22.5
33
description: OpenAPI API client for Ory Network, Ory&#39;s web-scale API for identity and access control.
44
homepage: https://www.ory.sh
55
repository: https://github.com/ory/sdk/tree/master/clients/client/dart

test/verify_user_code_request_test.dart

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ void main() {
77
// TODO add properties to the builder and call build()
88

99
group(VerifyUserCodeRequest, () {
10-
// ID is the identifier (\"device challenge\") of the device request. It is used to identify the session.
11-
// String challenge
12-
test('to test the property `challenge`', () async {
13-
// TODO
14-
});
15-
1610
// OAuth2Client client
1711
test('to test the property `client`', () async {
1812
// TODO
@@ -23,11 +17,6 @@ void main() {
2317
// TODO
2418
});
2519

26-
// DateTime handledAt
27-
test('to test the property `handledAt`', () async {
28-
// TODO
29-
});
30-
3120
// RequestURL is the original Device Authorization URL requested.
3221
// String requestUrl
3322
test('to test the property `requestUrl`', () async {

0 commit comments

Comments
 (0)