Skip to content

Commit

Permalink
chore: regenerate OpenAPI client v1.15.5
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Oct 2, 2024
1 parent 1504cf6 commit b318334
Show file tree
Hide file tree
Showing 3,789 changed files with 4,623 additions and 24,374 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions clients/client/dart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ with a valid Personal Access Token. Public APIs are mostly used in browsers.

This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: v1.15.4
- API version: v1.15.5
- Generator version: 7.7.0
- Build package: org.openapitools.codegen.languages.DartDioClientCodegen

Expand All @@ -20,7 +20,7 @@ This Dart package is automatically generated by the [OpenAPI Generator](https://
To use the package from [pub.dev](https://pub.dev), please include the following in pubspec.yaml
```yaml
dependencies:
ory_client: 1.15.4
ory_client: 1.15.5
```
### Github
Expand Down
2 changes: 1 addition & 1 deletion clients/client/dart/doc/UpdateRegistrationFlowBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Name | Type | Description | Notes
**code** | **String** | The OTP Code sent to the user | [optional]
**resend** | **String** | Resend restarts the flow with a new code | [optional]
**passkeyRegister** | **String** | Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. | [optional]
**screen** | **String** | Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. | [optional]
**screen** | **String** | Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious | [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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**csrfToken** | **String** | The Anti-CSRF Token This token is only required when performing browser flows. | [optional]
**method** | **String** | Method Should be set to profile when trying to update a profile. |
**screen** | **String** | Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. | [optional]
**screen** | **String** | Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious | [optional]
**traits** | [**JsonObject**](.md) | Traits The identity's traits. |
**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [optional]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import 'package:ory_client/src/model/update_registration_flow_with_code_method.d
import 'package:ory_client/src/model/update_registration_flow_with_oidc_method.dart';
import 'package:ory_client/src/model/update_registration_flow_with_web_authn_method.dart';
import 'package:ory_client/src/model/update_registration_flow_with_password_method.dart';
import 'package:built_collection/built_collection.dart';
import 'package:ory_client/src/model/update_registration_flow_with_passkey_method.dart';
import 'package:ory_client/src/model/update_registration_flow_with_profile_method.dart';
import 'package:built_value/json_object.dart';
Expand All @@ -33,7 +34,7 @@ part 'update_registration_flow_body.g.dart';
/// * [code] - The OTP Code sent to the user
/// * [resend] - Resend restarts the flow with a new code
/// * [passkeyRegister] - Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here.
/// * [screen] - Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen.
/// * [screen] - Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious
@BuiltValue()
abstract class UpdateRegistrationFlowBody implements Built<UpdateRegistrationFlowBody, UpdateRegistrationFlowBodyBuilder> {
/// One Of [UpdateRegistrationFlowWithCodeMethod], [UpdateRegistrationFlowWithOidcMethod], [UpdateRegistrationFlowWithPasskeyMethod], [UpdateRegistrationFlowWithPasswordMethod], [UpdateRegistrationFlowWithProfileMethod], [UpdateRegistrationFlowWithWebAuthnMethod]
Expand Down Expand Up @@ -198,3 +199,20 @@ class _$UpdateRegistrationFlowBodySerializer implements PrimitiveSerializer<Upda
}
}

class UpdateRegistrationFlowBodyScreenEnum extends EnumClass {

/// Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious
@BuiltValueEnumConst(wireName: r'credential-selection')
static const UpdateRegistrationFlowBodyScreenEnum credentialSelection = _$updateRegistrationFlowBodyScreenEnum_credentialSelection;
/// Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious
@BuiltValueEnumConst(wireName: r'previous')
static const UpdateRegistrationFlowBodyScreenEnum previous = _$updateRegistrationFlowBodyScreenEnum_previous;

static Serializer<UpdateRegistrationFlowBodyScreenEnum> get serializer => _$updateRegistrationFlowBodyScreenEnumSerializer;

const UpdateRegistrationFlowBodyScreenEnum._(String name): super(name);

static BuiltSet<UpdateRegistrationFlowBodyScreenEnum> get values => _$updateRegistrationFlowBodyScreenEnumValues;
static UpdateRegistrationFlowBodyScreenEnum valueOf(String name) => _$updateRegistrationFlowBodyScreenEnumValueOf(name);
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
//

// ignore_for_file: unused_element
import 'package:built_collection/built_collection.dart';
import 'package:built_value/json_object.dart';
import 'package:built_value/built_value.dart';
import 'package:built_value/serializer.dart';
Expand All @@ -14,7 +15,7 @@ part 'update_registration_flow_with_profile_method.g.dart';
/// Properties:
/// * [csrfToken] - The Anti-CSRF Token This token is only required when performing browser flows.
/// * [method] - Method Should be set to profile when trying to update a profile.
/// * [screen] - Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen.
/// * [screen] - Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious
/// * [traits] - Traits The identity's traits.
/// * [transientPayload] - Transient data to pass along to any webhooks
@BuiltValue()
Expand All @@ -27,9 +28,10 @@ abstract class UpdateRegistrationFlowWithProfileMethod implements Built<UpdateRe
@BuiltValueField(wireName: r'method')
String get method;

/// Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen.
/// Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious
@BuiltValueField(wireName: r'screen')
String? get screen;
UpdateRegistrationFlowWithProfileMethodScreenEnum? get screen;
// enum screenEnum { credential-selection, previous, };

/// Traits The identity's traits.
@BuiltValueField(wireName: r'traits')
Expand Down Expand Up @@ -78,7 +80,7 @@ class _$UpdateRegistrationFlowWithProfileMethodSerializer implements PrimitiveSe
yield r'screen';
yield serializers.serialize(
object.screen,
specifiedType: const FullType(String),
specifiedType: const FullType(UpdateRegistrationFlowWithProfileMethodScreenEnum),
);
}
yield r'traits';
Expand Down Expand Up @@ -133,8 +135,8 @@ class _$UpdateRegistrationFlowWithProfileMethodSerializer implements PrimitiveSe
case r'screen':
final valueDes = serializers.deserialize(
value,
specifiedType: const FullType(String),
) as String;
specifiedType: const FullType(UpdateRegistrationFlowWithProfileMethodScreenEnum),
) as UpdateRegistrationFlowWithProfileMethodScreenEnum;
result.screen = valueDes;
break;
case r'traits':
Expand Down Expand Up @@ -180,3 +182,20 @@ class _$UpdateRegistrationFlowWithProfileMethodSerializer implements PrimitiveSe
}
}

class UpdateRegistrationFlowWithProfileMethodScreenEnum extends EnumClass {

/// Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious
@BuiltValueEnumConst(wireName: r'credential-selection')
static const UpdateRegistrationFlowWithProfileMethodScreenEnum credentialSelection = _$updateRegistrationFlowWithProfileMethodScreenEnum_credentialSelection;
/// Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious
@BuiltValueEnumConst(wireName: r'previous')
static const UpdateRegistrationFlowWithProfileMethodScreenEnum previous = _$updateRegistrationFlowWithProfileMethodScreenEnum_previous;

static Serializer<UpdateRegistrationFlowWithProfileMethodScreenEnum> get serializer => _$updateRegistrationFlowWithProfileMethodScreenEnumSerializer;

const UpdateRegistrationFlowWithProfileMethodScreenEnum._(String name): super(name);

static BuiltSet<UpdateRegistrationFlowWithProfileMethodScreenEnum> get values => _$updateRegistrationFlowWithProfileMethodScreenEnumValues;
static UpdateRegistrationFlowWithProfileMethodScreenEnum valueOf(String name) => _$updateRegistrationFlowWithProfileMethodScreenEnumValueOf(name);
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions clients/client/dart/lib/src/serializers.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion clients/client/dart/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: ory_client
version: 1.15.4
version: 1.15.5
description: OpenAPI API client for Ory Network, Ory&#39;s web-scale API for identity and access control.
homepage: https://www.ory.sh
repository: https://github.com/ory/sdk/tree/master/clients/client/dart
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ void main() {
// TODO
});

// Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen.
// Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious
// String screen
test('to test the property `screen`', () async {
// TODO
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ void main() {
// TODO
});

// Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen.
// Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious
// String screen
test('to test the property `screen`', () async {
// TODO
Expand Down
Loading

0 comments on commit b318334

Please sign in to comment.