Skip to content

Commit

Permalink
chore: regenerate OpenAPI client v1.15.7
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Oct 18, 2024
1 parent 194397c commit e901930
Show file tree
Hide file tree
Showing 3,814 changed files with 5,204 additions and 24,398 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.6
- API version: v1.15.7
- 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.6
ory_client: 1.15.7
```
### Github
Expand Down
1 change: 1 addition & 0 deletions clients/client/dart/doc/AccountExperienceConfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Name | Type | Description | Notes
**accountExperienceThemeStylesheet** | **String** | | [optional]
**faviconType** | **String** | | [optional]
**faviconUrl** | **String** | | [optional]
**kratosSelfserviceDefaultBrowserReturnUrl** | **String** | | [optional]
**kratosSelfserviceFlowsRecoveryEnabled** | **bool** | | [optional]
**kratosSelfserviceFlowsRegistrationEnabled** | **bool** | | [optional]
**kratosSelfserviceFlowsVerificationEnabled** | **bool** | | [optional]
Expand Down
1 change: 1 addition & 0 deletions clients/client/dart/doc/CreateProjectNormalizedPayload.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ Name | Type | Description | Notes
**kratosCourierTemplatesRegistrationCodeValidEmailBodyHtml** | **String** | Configures the Ory Kratos Valid Registration via Code Email Body HTML Template This governs the \"courier.smtp.templates.registration_code.valid.email.body.html\" setting. | [optional]
**kratosCourierTemplatesRegistrationCodeValidEmailBodyPlaintext** | **String** | Configures the Ory Kratos Valid Registration via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.registration_code.valid.email.body.plaintext\" setting. | [optional]
**kratosCourierTemplatesRegistrationCodeValidEmailSubject** | **String** | Configures the Ory Kratos Valid Registration via Code Email Subject Template This governs the \"courier.smtp.templates.registration_code.valid.email.subject\" setting. | [optional]
**kratosCourierTemplatesRegistrationCodeValidSmsBodyPlaintext** | **String** | Configures the Ory Kratos Valid Registration via Code Email Subject Template This governs the \"courier.smtp.templates.registration_code.valid.sms.body.plaintext\" setting. | [optional]
**kratosCourierTemplatesVerificationCodeInvalidEmailBodyHtml** | **String** | Configures the Ory Kratos Invalid Verification via Code Email Body HTML Template This governs the \"courier.smtp.templates.verification_code.invalid.email.body.html\" setting. | [optional]
**kratosCourierTemplatesVerificationCodeInvalidEmailBodyPlaintext** | **String** | Configures the Ory Kratos Invalid Verification via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.verification_code.invalid.email.body.plaintext\" setting. | [optional]
**kratosCourierTemplatesVerificationCodeInvalidEmailSubject** | **String** | Configures the Ory Kratos Invalid Verification via Code Email Subject Template This governs the \"courier.smtp.templates.verification_code.invalid.email.subject\" setting. | [optional]
Expand Down
10 changes: 7 additions & 3 deletions clients/client/dart/doc/FrontendApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ No authorization required
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **createNativeVerificationFlow**
> VerificationFlow createNativeVerificationFlow()
> VerificationFlow createNativeVerificationFlow(returnTo)
Create Verification Flow for Native Apps

Expand All @@ -513,17 +513,21 @@ This endpoint initiates a verification flow for API clients such as mobile devic
import 'package:ory_client/api.dart';
final api = OryClient().getFrontendApi();
final String returnTo = returnTo_example; // String | A URL contained in the return_to key of the verification flow. This piece of data has no effect on the actual logic of the flow and is purely informational.
try {
final response = api.createNativeVerificationFlow();
final response = api.createNativeVerificationFlow(returnTo);
print(response);
} catch on DioException (e) {
print('Exception when calling FrontendApi->createNativeVerificationFlow: $e\n');
}
```

### Parameters
This endpoint does not need any parameter.

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**returnTo** | **String**| A URL contained in the return_to key of the verification flow. This piece of data has no effect on the actual logic of the flow and is purely informational. | [optional]

### Return type

Expand Down
1 change: 1 addition & 0 deletions clients/client/dart/doc/NormalizedProjectRevision.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ Name | Type | Description | Notes
**kratosCourierTemplatesRegistrationCodeValidEmailBodyHtml** | **String** | Configures the Ory Kratos Valid Registration via Code Email Body HTML Template This governs the \"courier.smtp.templates.registration_code.valid.email.body.html\" setting. | [optional]
**kratosCourierTemplatesRegistrationCodeValidEmailBodyPlaintext** | **String** | Configures the Ory Kratos Valid Registration via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.registration_code.valid.email.body.plaintext\" setting. | [optional]
**kratosCourierTemplatesRegistrationCodeValidEmailSubject** | **String** | Configures the Ory Kratos Valid Registration via Code Email Subject Template This governs the \"courier.smtp.templates.registration_code.valid.email.subject\" setting. | [optional]
**kratosCourierTemplatesRegistrationCodeValidSmsBodyPlaintext** | **String** | Configures the Ory Kratos Valid Registration via Code Email Subject Template This governs the \"courier.smtp.templates.registration_code.valid.sms.body.plaintext\" setting. | [optional]
**kratosCourierTemplatesVerificationCodeInvalidEmailBodyHtml** | **String** | Configures the Ory Kratos Invalid Verification via Code Email Body HTML Template This governs the \"courier.smtp.templates.verification_code.invalid.email.body.html\" setting. | [optional]
**kratosCourierTemplatesVerificationCodeInvalidEmailBodyPlaintext** | **String** | Configures the Ory Kratos Invalid Verification via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.verification_code.invalid.email.body.plaintext\" setting. | [optional]
**kratosCourierTemplatesVerificationCodeInvalidEmailSubject** | **String** | Configures the Ory Kratos Invalid Verification via Code Email Subject Template This governs the \"courier.smtp.templates.verification_code.invalid.email.subject\" setting. | [optional]
Expand Down
7 changes: 7 additions & 0 deletions clients/client/dart/lib/src/api/frontend_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,7 @@ class FrontendApi {
/// This endpoint initiates a verification flow for API clients such as mobile devices, smart TVs, and so on. To fetch an existing verification flow call `/self-service/verification/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
///
/// Parameters:
/// * [returnTo] - A URL contained in the return_to key of the verification flow. This piece of data has no effect on the actual logic of the flow and is purely informational.
/// * [cancelToken] - A [CancelToken] that can be used to cancel the operation
/// * [headers] - Can be used to add additional headers to the request
/// * [extras] - Can be used to add flags to the request
Expand All @@ -891,6 +892,7 @@ class FrontendApi {
/// Returns a [Future] containing a [Response] with a [VerificationFlow] as data
/// Throws [DioException] if API call or serialization fails
Future<Response<VerificationFlow>> createNativeVerificationFlow({
String? returnTo,
CancelToken? cancelToken,
Map<String, dynamic>? headers,
Map<String, dynamic>? extra,
Expand All @@ -911,9 +913,14 @@ class FrontendApi {
validateStatus: validateStatus,
);

final _queryParameters = <String, dynamic>{
if (returnTo != null) r'return_to': encodeQueryParameter(_serializers, returnTo, const FullType(String)),
};

final _response = await _dio.request<Object>(
_path,
options: _options,
queryParameters: _queryParameters,
cancelToken: cancelToken,
onSendProgress: onSendProgress,
onReceiveProgress: onReceiveProgress,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ part 'account_experience_configuration.g.dart';
/// * [accountExperienceThemeStylesheet]
/// * [faviconType]
/// * [faviconUrl]
/// * [kratosSelfserviceDefaultBrowserReturnUrl]
/// * [kratosSelfserviceFlowsRecoveryEnabled]
/// * [kratosSelfserviceFlowsRegistrationEnabled]
/// * [kratosSelfserviceFlowsVerificationEnabled]
Expand All @@ -32,6 +33,9 @@ abstract class AccountExperienceConfiguration implements Built<AccountExperience
@BuiltValueField(wireName: r'favicon_url')
String? get faviconUrl;

@BuiltValueField(wireName: r'kratos_selfservice_default_browser_return_url')
String? get kratosSelfserviceDefaultBrowserReturnUrl;

@BuiltValueField(wireName: r'kratos_selfservice_flows_recovery_enabled')
bool? get kratosSelfserviceFlowsRecoveryEnabled;

Expand Down Expand Up @@ -94,6 +98,13 @@ class _$AccountExperienceConfigurationSerializer implements PrimitiveSerializer<
specifiedType: const FullType(String),
);
}
if (object.kratosSelfserviceDefaultBrowserReturnUrl != null) {
yield r'kratos_selfservice_default_browser_return_url';
yield serializers.serialize(
object.kratosSelfserviceDefaultBrowserReturnUrl,
specifiedType: const FullType(String),
);
}
if (object.kratosSelfserviceFlowsRecoveryEnabled != null) {
yield r'kratos_selfservice_flows_recovery_enabled';
yield serializers.serialize(
Expand Down Expand Up @@ -180,6 +191,13 @@ class _$AccountExperienceConfigurationSerializer implements PrimitiveSerializer<
) as String;
result.faviconUrl = valueDes;
break;
case r'kratos_selfservice_default_browser_return_url':
final valueDes = serializers.deserialize(
value,
specifiedType: const FullType(String),
) as String;
result.kratosSelfserviceDefaultBrowserReturnUrl = valueDes;
break;
case r'kratos_selfservice_flows_recovery_enabled':
final valueDes = serializers.deserialize(
value,
Expand Down

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 @@ -106,6 +106,7 @@ part 'create_project_normalized_payload.g.dart';
/// * [kratosCourierTemplatesRegistrationCodeValidEmailBodyHtml] - Configures the Ory Kratos Valid Registration via Code Email Body HTML Template This governs the \"courier.smtp.templates.registration_code.valid.email.body.html\" setting.
/// * [kratosCourierTemplatesRegistrationCodeValidEmailBodyPlaintext] - Configures the Ory Kratos Valid Registration via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.registration_code.valid.email.body.plaintext\" setting.
/// * [kratosCourierTemplatesRegistrationCodeValidEmailSubject] - Configures the Ory Kratos Valid Registration via Code Email Subject Template This governs the \"courier.smtp.templates.registration_code.valid.email.subject\" setting.
/// * [kratosCourierTemplatesRegistrationCodeValidSmsBodyPlaintext] - Configures the Ory Kratos Valid Registration via Code Email Subject Template This governs the \"courier.smtp.templates.registration_code.valid.sms.body.plaintext\" setting.
/// * [kratosCourierTemplatesVerificationCodeInvalidEmailBodyHtml] - Configures the Ory Kratos Invalid Verification via Code Email Body HTML Template This governs the \"courier.smtp.templates.verification_code.invalid.email.body.html\" setting.
/// * [kratosCourierTemplatesVerificationCodeInvalidEmailBodyPlaintext] - Configures the Ory Kratos Invalid Verification via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.verification_code.invalid.email.body.plaintext\" setting.
/// * [kratosCourierTemplatesVerificationCodeInvalidEmailSubject] - Configures the Ory Kratos Invalid Verification via Code Email Subject Template This governs the \"courier.smtp.templates.verification_code.invalid.email.subject\" setting.
Expand Down Expand Up @@ -572,6 +573,10 @@ abstract class CreateProjectNormalizedPayload implements Built<CreateProjectNorm
@BuiltValueField(wireName: r'kratos_courier_templates_registration_code_valid_email_subject')
String? get kratosCourierTemplatesRegistrationCodeValidEmailSubject;

/// Configures the Ory Kratos Valid Registration via Code Email Subject Template This governs the \"courier.smtp.templates.registration_code.valid.sms.body.plaintext\" setting.
@BuiltValueField(wireName: r'kratos_courier_templates_registration_code_valid_sms_body_plaintext')
String? get kratosCourierTemplatesRegistrationCodeValidSmsBodyPlaintext;

/// Configures the Ory Kratos Invalid Verification via Code Email Body HTML Template This governs the \"courier.smtp.templates.verification_code.invalid.email.body.html\" setting.
@BuiltValueField(wireName: r'kratos_courier_templates_verification_code_invalid_email_body_html')
String? get kratosCourierTemplatesVerificationCodeInvalidEmailBodyHtml;
Expand Down Expand Up @@ -1687,6 +1692,13 @@ class _$CreateProjectNormalizedPayloadSerializer implements PrimitiveSerializer<
specifiedType: const FullType(String),
);
}
if (object.kratosCourierTemplatesRegistrationCodeValidSmsBodyPlaintext != null) {
yield r'kratos_courier_templates_registration_code_valid_sms_body_plaintext';
yield serializers.serialize(
object.kratosCourierTemplatesRegistrationCodeValidSmsBodyPlaintext,
specifiedType: const FullType(String),
);
}
if (object.kratosCourierTemplatesVerificationCodeInvalidEmailBodyHtml != null) {
yield r'kratos_courier_templates_verification_code_invalid_email_body_html';
yield serializers.serialize(
Expand Down Expand Up @@ -3166,6 +3178,13 @@ class _$CreateProjectNormalizedPayloadSerializer implements PrimitiveSerializer<
) as String;
result.kratosCourierTemplatesRegistrationCodeValidEmailSubject = valueDes;
break;
case r'kratos_courier_templates_registration_code_valid_sms_body_plaintext':
final valueDes = serializers.deserialize(
value,
specifiedType: const FullType(String),
) as String;
result.kratosCourierTemplatesRegistrationCodeValidSmsBodyPlaintext = valueDes;
break;
case r'kratos_courier_templates_verification_code_invalid_email_body_html':
final valueDes = serializers.deserialize(
value,
Expand Down
Loading

0 comments on commit e901930

Please sign in to comment.