Skip to content

Commit

Permalink
chore: regenerate OpenAPI client v1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Nov 20, 2023
1 parent 75afc45 commit 2b43665
Show file tree
Hide file tree
Showing 3,058 changed files with 4,745 additions and 20,134 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.4.0
- API version: v1.4.1
- Build package: org.openapitools.codegen.languages.DartDioClientCodegen

## Requirements
Expand All @@ -19,7 +19,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.4.0
ory_client: 1.4.1
```
### Github
Expand Down
6 changes: 4 additions & 2 deletions clients/client/dart/doc/IdentityApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ Name | Type | Description | Notes
[[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)

# **listIdentities**
> BuiltList<Identity> listIdentities(perPage, page, pageSize, pageToken, consistency, credentialsIdentifier, previewCredentialsIdentifierSimilar)
> BuiltList<Identity> listIdentities(perPage, page, pageSize, pageToken, consistency, idsFilter, credentialsIdentifier, previewCredentialsIdentifierSimilar)
List Identities

Expand All @@ -600,11 +600,12 @@ final int page = 789; // int | Deprecated Pagination Page DEPRECATED: Please us
final int pageSize = 789; // int | Page Size This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
final String pageToken = pageToken_example; // String | Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
final String consistency = consistency_example; // String | Read Consistency Level (preview) The read consistency level determines the consistency guarantee for reads: strong (slow): The read is guaranteed to return the most recent data committed at the start of the read. eventual (very fast): The result will return data that is about 4.8 seconds old. The default consistency guarantee can be changed in the Ory Network Console or using the Ory CLI with `ory patch project --replace '/previews/default_read_consistency_level=\"strong\"'`. Setting the default consistency level to `eventual` may cause regressions in the future as we add consistency controls to more APIs. Currently, the following APIs will be affected by this setting: `GET /admin/identities` This feature is in preview and only available in Ory Network. ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level. strong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level. eventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps.
final BuiltList<String> idsFilter = ; // BuiltList<String> | IdsFilter is list of ids used to filter identities. If this list is empty, then no filter will be applied.
final String credentialsIdentifier = credentialsIdentifier_example; // String | CredentialsIdentifier is the identifier (username, email) of the credentials to look up using exact match. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.
final String previewCredentialsIdentifierSimilar = previewCredentialsIdentifierSimilar_example; // String | This is an EXPERIMENTAL parameter that WILL CHANGE. Do NOT rely on consistent, deterministic behavior. THIS PARAMETER WILL BE REMOVED IN AN UPCOMING RELEASE WITHOUT ANY MIGRATION PATH. CredentialsIdentifierSimilar is the (partial) identifier (username, email) of the credentials to look up using similarity search. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.
try {
final response = api.listIdentities(perPage, page, pageSize, pageToken, consistency, credentialsIdentifier, previewCredentialsIdentifierSimilar);
final response = api.listIdentities(perPage, page, pageSize, pageToken, consistency, idsFilter, credentialsIdentifier, previewCredentialsIdentifierSimilar);
print(response);
} catch on DioError (e) {
print('Exception when calling IdentityApi->listIdentities: $e\n');
Expand All @@ -620,6 +621,7 @@ Name | Type | Description | Notes
**pageSize** | **int**| Page Size This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). | [optional] [default to 250]
**pageToken** | **String**| Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). | [optional] [default to '1']
**consistency** | **String**| Read Consistency Level (preview) The read consistency level determines the consistency guarantee for reads: strong (slow): The read is guaranteed to return the most recent data committed at the start of the read. eventual (very fast): The result will return data that is about 4.8 seconds old. The default consistency guarantee can be changed in the Ory Network Console or using the Ory CLI with `ory patch project --replace '/previews/default_read_consistency_level=\"strong\"'`. Setting the default consistency level to `eventual` may cause regressions in the future as we add consistency controls to more APIs. Currently, the following APIs will be affected by this setting: `GET /admin/identities` This feature is in preview and only available in Ory Network. ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level. strong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level. eventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps. | [optional]
**idsFilter** | [**BuiltList&lt;String&gt;**](String.md)| IdsFilter is list of ids used to filter identities. If this list is empty, then no filter will be applied. | [optional]
**credentialsIdentifier** | **String**| CredentialsIdentifier is the identifier (username, email) of the credentials to look up using exact match. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used. | [optional]
**previewCredentialsIdentifierSimilar** | **String**| This is an EXPERIMENTAL parameter that WILL CHANGE. Do NOT rely on consistent, deterministic behavior. THIS PARAMETER WILL BE REMOVED IN AN UPCOMING RELEASE WITHOUT ANY MIGRATION PATH. CredentialsIdentifierSimilar is the (partial) identifier (username, email) of the credentials to look up using similarity search. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used. | [optional]

Expand Down
1 change: 1 addition & 0 deletions clients/client/dart/doc/NormalizedProject.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**createdAt** | [**DateTime**](DateTime.md) | The Project's Creation Date |
**currentRevision** | [**NormalizedProjectRevision**](NormalizedProjectRevision.md) | |
**environment** | **String** | The environment of the project. prod Production dev Development |
**hosts** | **BuiltList&lt;String&gt;** | |
**id** | **String** | The project's ID. |
**slug** | **String** | The project's slug |
Expand Down
2 changes: 1 addition & 1 deletion clients/client/dart/doc/NormalizedProjectRevision.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,13 +185,13 @@ Name | Type | Description | Notes
**kratosSessionWhoamiRequiredAal** | **String** | Configures the Ory Kratos Session Whoami AAL requirement This governs the \"session.whoami.required_aal\" setting. | [optional]
**kratosSessionWhoamiTokenizerTemplates** | [**BuiltList&lt;NormalizedProjectRevisionTokenizerTemplate&gt;**](NormalizedProjectRevisionTokenizerTemplate.md) | | [optional]
**name** | **String** | The project's name. |
**production** | **bool** | Whether this project is in production mode or not. In development mode, a low-security profile is used making it easier to develop against your, for example, local environment. | [optional]
**projectId** | **String** | The Revision's Project ID | [optional]
**projectRevisionHooks** | [**BuiltList&lt;NormalizedProjectRevisionHook&gt;**](NormalizedProjectRevisionHook.md) | | [optional]
**serveAdminCorsAllowedOrigins** | **BuiltList&lt;String&gt;** | | [optional]
**serveAdminCorsEnabled** | **bool** | Enable CORS headers on all admin APIs This governs the \"serve.admin.cors.enabled\" setting. | [optional]
**servePublicCorsAllowedOrigins** | **BuiltList&lt;String&gt;** | | [optional]
**servePublicCorsEnabled** | **bool** | Enable CORS headers on all public APIs This governs the \"serve.public.cors.enabled\" setting. | [optional]
**strictSecurity** | **bool** | Whether the project should employ strict security measures. Setting this to true is recommended for going into production. | [optional]
**updatedAt** | [**DateTime**](DateTime.md) | Last Time Project's Revision was Updated | [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 @@ -8,6 +8,7 @@ import 'package:ory_client/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**additionalIdTokenAudiences** | **BuiltList&lt;String&gt;** | | [optional]
**applePrivateKey** | **String** | | [optional]
**applePrivateKeyId** | **String** | Apple Private Key Identifier Sign In with Apple Private Key Identifier needed for generating a JWT token for client secret | [optional]
**appleTeamId** | **String** | Apple Developer Team ID Apple Developer Team ID needed for generating a JWT token for client secret | [optional]
Expand Down
4 changes: 2 additions & 2 deletions clients/client/dart/doc/Project.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import 'package:ory_client/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**corsAdmin** | [**ProjectCors**](ProjectCors.md) | |
**corsPublic** | [**ProjectCors**](ProjectCors.md) | |
**corsAdmin** | [**ProjectCors**](ProjectCors.md) | | [optional]
**corsPublic** | [**ProjectCors**](ProjectCors.md) | | [optional]
**id** | **String** | The project's ID. |
**name** | **String** | The name of the project. |
**revisionId** | **String** | The configuration revision ID. |
Expand Down
4 changes: 2 additions & 2 deletions clients/client/dart/doc/ProjectCors.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import 'package:ory_client/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**enabled** | **bool** | Whether CORS is enabled for this endpoint. |
**origins** | **BuiltList&lt;String&gt;** | The allowed origins. Use `*` to allow all origins. A wildcard can also be used in the subdomain, i.e. `https://_*.example.com` will allow all origins on all subdomains of `example.com`. |
**enabled** | **bool** | Whether CORS is enabled for this endpoint. | [optional]
**origins** | **BuiltList&lt;String&gt;** | The allowed origins. Use `*` to allow all origins. A wildcard can also be used in the subdomain, i.e. `https://_*.example.com` will allow all origins on all subdomains of `example.com`. | [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
3 changes: 3 additions & 0 deletions clients/client/dart/lib/src/api/identity_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -991,6 +991,7 @@ class IdentityApi {
/// * [pageSize] - Page Size This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
/// * [pageToken] - Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
/// * [consistency] - Read Consistency Level (preview) The read consistency level determines the consistency guarantee for reads: strong (slow): The read is guaranteed to return the most recent data committed at the start of the read. eventual (very fast): The result will return data that is about 4.8 seconds old. The default consistency guarantee can be changed in the Ory Network Console or using the Ory CLI with `ory patch project --replace '/previews/default_read_consistency_level=\"strong\"'`. Setting the default consistency level to `eventual` may cause regressions in the future as we add consistency controls to more APIs. Currently, the following APIs will be affected by this setting: `GET /admin/identities` This feature is in preview and only available in Ory Network. ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level. strong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level. eventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps.
/// * [idsFilter] - IdsFilter is list of ids used to filter identities. If this list is empty, then no filter will be applied.
/// * [credentialsIdentifier] - CredentialsIdentifier is the identifier (username, email) of the credentials to look up using exact match. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.
/// * [previewCredentialsIdentifierSimilar] - This is an EXPERIMENTAL parameter that WILL CHANGE. Do NOT rely on consistent, deterministic behavior. THIS PARAMETER WILL BE REMOVED IN AN UPCOMING RELEASE WITHOUT ANY MIGRATION PATH. CredentialsIdentifierSimilar is the (partial) identifier (username, email) of the credentials to look up using similarity search. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.
/// * [cancelToken] - A [CancelToken] that can be used to cancel the operation
Expand All @@ -1008,6 +1009,7 @@ class IdentityApi {
int? pageSize = 250,
String? pageToken = '1',
String? consistency,
BuiltList<String>? idsFilter,
String? credentialsIdentifier,
String? previewCredentialsIdentifierSimilar,
CancelToken? cancelToken,
Expand Down Expand Up @@ -1042,6 +1044,7 @@ class IdentityApi {
if (pageSize != null) r'page_size': encodeQueryParameter(_serializers, pageSize, const FullType(int)),
if (pageToken != null) r'page_token': encodeQueryParameter(_serializers, pageToken, const FullType(String)),
if (consistency != null) r'consistency': encodeQueryParameter(_serializers, consistency, const FullType(String)),
if (idsFilter != null) r'ids_filter': encodeCollectionQueryParameter<String>(_serializers, idsFilter, const FullType(BuiltList, [FullType(String)]), format: ListFormat.multi,),
if (credentialsIdentifier != null) r'credentials_identifier': encodeQueryParameter(_serializers, credentialsIdentifier, const FullType(String)),
if (previewCredentialsIdentifierSimilar != null) r'preview_credentials_identifier_similar': encodeQueryParameter(_serializers, previewCredentialsIdentifierSimilar, const FullType(String)),
};
Expand Down
35 changes: 35 additions & 0 deletions clients/client/dart/lib/src/model/normalized_project.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ part 'normalized_project.g.dart';
/// Properties:
/// * [createdAt] - The Project's Creation Date
/// * [currentRevision]
/// * [environment] - The environment of the project. prod Production dev Development
/// * [hosts]
/// * [id] - The project's ID.
/// * [slug] - The project's slug
Expand All @@ -31,6 +32,11 @@ abstract class NormalizedProject implements Built<NormalizedProject, NormalizedP
@BuiltValueField(wireName: r'current_revision')
NormalizedProjectRevision get currentRevision;

/// The environment of the project. prod Production dev Development
@BuiltValueField(wireName: r'environment')
NormalizedProjectEnvironmentEnum get environment;
// enum environmentEnum { prod, dev, };

@BuiltValueField(wireName: r'hosts')
BuiltList<String> get hosts;

Expand Down Expand Up @@ -90,6 +96,11 @@ class _$NormalizedProjectSerializer implements PrimitiveSerializer<NormalizedPro
object.currentRevision,
specifiedType: const FullType(NormalizedProjectRevision),
);
yield r'environment';
yield serializers.serialize(
object.environment,
specifiedType: const FullType(NormalizedProjectEnvironmentEnum),
);
yield r'hosts';
yield serializers.serialize(
object.hosts,
Expand Down Expand Up @@ -166,6 +177,13 @@ class _$NormalizedProjectSerializer implements PrimitiveSerializer<NormalizedPro
) as NormalizedProjectRevision;
result.currentRevision.replace(valueDes);
break;
case r'environment':
final valueDes = serializers.deserialize(
value,
specifiedType: const FullType(NormalizedProjectEnvironmentEnum),
) as NormalizedProjectEnvironmentEnum;
result.environment = valueDes;
break;
case r'hosts':
final valueDes = serializers.deserialize(
value,
Expand Down Expand Up @@ -246,6 +264,23 @@ class _$NormalizedProjectSerializer implements PrimitiveSerializer<NormalizedPro
}
}

class NormalizedProjectEnvironmentEnum extends EnumClass {

/// The environment of the project. prod Production dev Development
@BuiltValueEnumConst(wireName: r'prod')
static const NormalizedProjectEnvironmentEnum prod = _$normalizedProjectEnvironmentEnum_prod;
/// The environment of the project. prod Production dev Development
@BuiltValueEnumConst(wireName: r'dev')
static const NormalizedProjectEnvironmentEnum dev = _$normalizedProjectEnvironmentEnum_dev;

static Serializer<NormalizedProjectEnvironmentEnum> get serializer => _$normalizedProjectEnvironmentEnumSerializer;

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

static BuiltSet<NormalizedProjectEnvironmentEnum> get values => _$normalizedProjectEnvironmentEnumValues;
static NormalizedProjectEnvironmentEnum valueOf(String name) => _$normalizedProjectEnvironmentEnumValueOf(name);
}

class NormalizedProjectStateEnum extends EnumClass {

/// The state of the project. running Running halted Halted deleted Deleted
Expand Down
Loading

0 comments on commit 2b43665

Please sign in to comment.