Skip to content

Commit

Permalink
chore: regenerate OpenAPI client v1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Feb 25, 2025
1 parent dfa74a4 commit 92c9a46
Show file tree
Hide file tree
Showing 272 changed files with 16,343 additions and 124 deletions.
14 changes: 14 additions & 0 deletions clients/kratos/dart/.github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Publish to pub.dev

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'

jobs:
publish:
permissions:
id-token: write # Required for authentication using OIDC
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
# with:
# working-directory: path/to/package/within/repository
1 change: 1 addition & 0 deletions clients/kratos/dart/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Please refer to https://changelog.ory.sh and https://www.ory.sh/docs/sdk
16 changes: 16 additions & 0 deletions clients/kratos/dart/doc/ContinueWithRedirectBrowserTo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# ory_kratos_client.model.ContinueWithRedirectBrowserTo

## Load the model package
```dart
import 'package:ory_kratos_client/api.dart';
```

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**action** | **String** | Action will always be `redirect_browser_to` redirect_browser_to ContinueWithActionRedirectBrowserToString |
**redirectBrowserTo** | **String** | The URL to redirect the browser to |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


16 changes: 16 additions & 0 deletions clients/kratos/dart/doc/CreateFedcmFlowResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# ory_kratos_client.model.CreateFedcmFlowResponse

## Load the model package
```dart
import 'package:ory_kratos_client/api.dart';
```

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**csrfToken** | **String** | | [optional]
**providers** | [**BuiltList<Provider>**](Provider.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)


16 changes: 16 additions & 0 deletions clients/kratos/dart/doc/IdentityCredentialsCodeAddress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# ory_kratos_client.model.IdentityCredentialsCodeAddress

## Load the model package
```dart
import 'package:ory_kratos_client/api.dart';
```

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**address** | **String** | The address for this code | [optional]
**channel** | **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)


21 changes: 21 additions & 0 deletions clients/kratos/dart/doc/Provider.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# ory_kratos_client.model.Provider

## Load the model package
```dart
import 'package:ory_kratos_client/api.dart';
```

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**clientId** | **String** | The RP's client identifier, issued by the IdP. | [optional]
**configUrl** | **String** | A full path of the IdP config file. | [optional]
**domainHint** | **String** | By specifying one of domain_hints values provided by the accounts endpoints, the FedCM dialog selectively shows the specified account. | [optional]
**fields** | **BuiltList<String>** | Array of strings that specifies the user information (\"name\", \" email\", \"picture\") that RP needs IdP to share with them. Note: Field API is supported by Chrome 132 and later. | [optional]
**loginHint** | **String** | By specifying one of login_hints values provided by the accounts endpoints, the FedCM dialog selectively shows the specified account. | [optional]
**nonce** | **String** | A random string to ensure the response is issued for this specific request. Prevents replay attacks. | [optional]
**parameters** | **BuiltMap<String, String>** | Custom object that allows to specify additional key-value parameters: scope: A string value containing additional permissions that RP needs to request, for example \" drive.readonly calendar.readonly\" nonce: A random string to ensure the response is issued for this specific request. Prevents replay attacks. Other custom key-value parameters. Note: parameters is supported from Chrome 132. | [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)


17 changes: 17 additions & 0 deletions clients/kratos/dart/doc/UpdateFedcmFlowBody.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# ory_kratos_client.model.UpdateFedcmFlowBody

## Load the model package
```dart
import 'package:ory_kratos_client/api.dart';
```

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**csrfToken** | **String** | CSRFToken is the anti-CSRF token. |
**nonce** | **String** | Nonce is the nonce that was used in the `navigator.credentials.get` call. If specified, it must match the `nonce` claim in the token. | [optional]
**token** | **String** | Token contains the result of `navigator.credentials.get`. |

[[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,18 @@
# ory_kratos_client.model.UpdateLoginFlowWithIdentifierFirstMethod

## Load the model package
```dart
import 'package:ory_kratos_client/api.dart';
```

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**csrfToken** | **String** | Sending the anti-csrf token is only required for browser login flows. | [optional]
**identifier** | **String** | Identifier is the email or username of the user trying to log in. |
**method** | **String** | Method should be set to \"password\" when logging in using the identifier and password strategy. |
**transientPayload** | [**JsonObject**](.md) | Transient data to pass along to any webhooks | [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,140 @@
//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//

// ignore_for_file: unused_element
import 'package:built_collection/built_collection.dart';
import 'package:built_value/built_value.dart';
import 'package:built_value/serializer.dart';

part 'continue_with_redirect_browser_to.g.dart';

/// Indicates, that the UI flow could be continued by showing a recovery ui
///
/// Properties:
/// * [action] - Action will always be `redirect_browser_to` redirect_browser_to ContinueWithActionRedirectBrowserToString
/// * [redirectBrowserTo] - The URL to redirect the browser to
@BuiltValue()
abstract class ContinueWithRedirectBrowserTo implements Built<ContinueWithRedirectBrowserTo, ContinueWithRedirectBrowserToBuilder> {
/// Action will always be `redirect_browser_to` redirect_browser_to ContinueWithActionRedirectBrowserToString
@BuiltValueField(wireName: r'action')
ContinueWithRedirectBrowserToActionEnum get action;
// enum actionEnum { redirect_browser_to, };

/// The URL to redirect the browser to
@BuiltValueField(wireName: r'redirect_browser_to')
String get redirectBrowserTo;

ContinueWithRedirectBrowserTo._();

factory ContinueWithRedirectBrowserTo([void updates(ContinueWithRedirectBrowserToBuilder b)]) = _$ContinueWithRedirectBrowserTo;

@BuiltValueHook(initializeBuilder: true)
static void _defaults(ContinueWithRedirectBrowserToBuilder b) => b;

@BuiltValueSerializer(custom: true)
static Serializer<ContinueWithRedirectBrowserTo> get serializer => _$ContinueWithRedirectBrowserToSerializer();
}

class _$ContinueWithRedirectBrowserToSerializer implements PrimitiveSerializer<ContinueWithRedirectBrowserTo> {
@override
final Iterable<Type> types = const [ContinueWithRedirectBrowserTo, _$ContinueWithRedirectBrowserTo];

@override
final String wireName = r'ContinueWithRedirectBrowserTo';

Iterable<Object?> _serializeProperties(
Serializers serializers,
ContinueWithRedirectBrowserTo object, {
FullType specifiedType = FullType.unspecified,
}) sync* {
yield r'action';
yield serializers.serialize(
object.action,
specifiedType: const FullType(ContinueWithRedirectBrowserToActionEnum),
);
yield r'redirect_browser_to';
yield serializers.serialize(
object.redirectBrowserTo,
specifiedType: const FullType(String),
);
}

@override
Object serialize(
Serializers serializers,
ContinueWithRedirectBrowserTo object, {
FullType specifiedType = FullType.unspecified,
}) {
return _serializeProperties(serializers, object, specifiedType: specifiedType).toList();
}

void _deserializeProperties(
Serializers serializers,
Object serialized, {
FullType specifiedType = FullType.unspecified,
required List<Object?> serializedList,
required ContinueWithRedirectBrowserToBuilder result,
required List<Object?> unhandled,
}) {
for (var i = 0; i < serializedList.length; i += 2) {
final key = serializedList[i] as String;
final value = serializedList[i + 1];
switch (key) {
case r'action':
final valueDes = serializers.deserialize(
value,
specifiedType: const FullType(ContinueWithRedirectBrowserToActionEnum),
) as ContinueWithRedirectBrowserToActionEnum;
result.action = valueDes;
break;
case r'redirect_browser_to':
final valueDes = serializers.deserialize(
value,
specifiedType: const FullType(String),
) as String;
result.redirectBrowserTo = valueDes;
break;
default:
unhandled.add(key);
unhandled.add(value);
break;
}
}
}

@override
ContinueWithRedirectBrowserTo deserialize(
Serializers serializers,
Object serialized, {
FullType specifiedType = FullType.unspecified,
}) {
final result = ContinueWithRedirectBrowserToBuilder();
final serializedList = (serialized as Iterable<Object?>).toList();
final unhandled = <Object?>[];
_deserializeProperties(
serializers,
serialized,
specifiedType: specifiedType,
serializedList: serializedList,
unhandled: unhandled,
result: result,
);
return result.build();
}
}

class ContinueWithRedirectBrowserToActionEnum extends EnumClass {

/// Action will always be `redirect_browser_to` redirect_browser_to ContinueWithActionRedirectBrowserToString
@BuiltValueEnumConst(wireName: r'redirect_browser_to')
static const ContinueWithRedirectBrowserToActionEnum redirectBrowserTo = _$continueWithRedirectBrowserToActionEnum_redirectBrowserTo;

static Serializer<ContinueWithRedirectBrowserToActionEnum> get serializer => _$continueWithRedirectBrowserToActionEnumSerializer;

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

static BuiltSet<ContinueWithRedirectBrowserToActionEnum> get values => _$continueWithRedirectBrowserToActionEnumValues;
static ContinueWithRedirectBrowserToActionEnum valueOf(String name) => _$continueWithRedirectBrowserToActionEnumValueOf(name);
}

Loading

0 comments on commit 92c9a46

Please sign in to comment.