Skip to content

Commit

Permalink
chore: regenerate OpenAPI client v1.15.10
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Nov 8, 2024
1 parent a891e22 commit 6bdaedd
Show file tree
Hide file tree
Showing 3,969 changed files with 11,805 additions and 29,811 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
34 changes: 26 additions & 8 deletions clients/client/dart/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
# ory_client (EXPERIMENTAL)
# Introduction
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed
with a valid Personal Access Token. Public APIs are mostly used in browsers.

## SDKs
This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages:

| Language | Download SDK | Documentation |
| -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) |
| .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) |
| Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) |
| Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) |
| Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) |
| JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) |
| JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) |
| PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) |
| Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) |
| Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) |
| Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |


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

- API version: v1.15.7
- API version: v1.15.10
- Generator version: 7.7.0
- Build package: org.openapitools.codegen.languages.DartDioClientCodegen

Expand All @@ -20,7 +38,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.7
ory_client: 1.15.10
```
### Github
Expand Down Expand Up @@ -63,7 +81,7 @@ try {

## Documentation for API Endpoints

All URIs are relative to *https://.projects.oryapis.com*
All URIs are relative to *https://playground.projects.oryapis.com*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
Expand Down Expand Up @@ -173,14 +191,14 @@ Class | Method | HTTP request | Description
[*PermissionApi*](doc/PermissionApi.md) | [**postCheckPermissionOrError**](doc/PermissionApi.md#postcheckpermissionorerror) | **POST** /relation-tuples/check | Check a permission
[*ProjectApi*](doc/ProjectApi.md) | [**createOrganization**](doc/ProjectApi.md#createorganization) | **POST** /projects/{project_id}/organizations | Create an Enterprise SSO Organization
[*ProjectApi*](doc/ProjectApi.md) | [**createProject**](doc/ProjectApi.md#createproject) | **POST** /projects | Create a Project
[*ProjectApi*](doc/ProjectApi.md) | [**createProjectApiKey**](doc/ProjectApi.md#createprojectapikey) | **POST** /projects/{project}/tokens | Create project API token
[*ProjectApi*](doc/ProjectApi.md) | [**createProjectApiKey**](doc/ProjectApi.md#createprojectapikey) | **POST** /projects/{project}/tokens | Create project API key
[*ProjectApi*](doc/ProjectApi.md) | [**deleteOrganization**](doc/ProjectApi.md#deleteorganization) | **DELETE** /projects/{project_id}/organizations/{organization_id} | Delete Enterprise SSO Organization
[*ProjectApi*](doc/ProjectApi.md) | [**deleteProjectApiKey**](doc/ProjectApi.md#deleteprojectapikey) | **DELETE** /projects/{project}/tokens/{token_id} | Delete project API token
[*ProjectApi*](doc/ProjectApi.md) | [**deleteProjectApiKey**](doc/ProjectApi.md#deleteprojectapikey) | **DELETE** /projects/{project}/tokens/{token_id} | Delete project API key
[*ProjectApi*](doc/ProjectApi.md) | [**getOrganization**](doc/ProjectApi.md#getorganization) | **GET** /projects/{project_id}/organizations/{organization_id} | Get Enterprise SSO Organization by ID
[*ProjectApi*](doc/ProjectApi.md) | [**getProject**](doc/ProjectApi.md#getproject) | **GET** /projects/{project_id} | Get a Project
[*ProjectApi*](doc/ProjectApi.md) | [**getProjectMembers**](doc/ProjectApi.md#getprojectmembers) | **GET** /projects/{project}/members | Get all members associated with this project
[*ProjectApi*](doc/ProjectApi.md) | [**listOrganizations**](doc/ProjectApi.md#listorganizations) | **GET** /projects/{project_id}/organizations | List all Enterprise SSO organizations
[*ProjectApi*](doc/ProjectApi.md) | [**listProjectApiKeys**](doc/ProjectApi.md#listprojectapikeys) | **GET** /projects/{project}/tokens | List a project's API Tokens
[*ProjectApi*](doc/ProjectApi.md) | [**listProjectApiKeys**](doc/ProjectApi.md#listprojectapikeys) | **GET** /projects/{project}/tokens | List a project's API keys
[*ProjectApi*](doc/ProjectApi.md) | [**listProjects**](doc/ProjectApi.md#listprojects) | **GET** /projects | List All Projects
[*ProjectApi*](doc/ProjectApi.md) | [**patchProject**](doc/ProjectApi.md#patchproject) | **PATCH** /projects/{project_id} | Patch an Ory Network Project Configuration
[*ProjectApi*](doc/ProjectApi.md) | [**patchProjectWithRevision**](doc/ProjectApi.md#patchprojectwithrevision) | **PATCH** /projects/{project_id}/revision/{revision_id} | Patch an Ory Network Project Configuration based on a revision ID
Expand All @@ -197,9 +215,9 @@ Class | Method | HTTP request | Description
[*WellknownApi*](doc/WellknownApi.md) | [**discoverJsonWebKeys**](doc/WellknownApi.md#discoverjsonwebkeys) | **GET** /.well-known/jwks.json | Discover Well-Known JSON Web Keys
[*WorkspaceApi*](doc/WorkspaceApi.md) | [**createWorkspace**](doc/WorkspaceApi.md#createworkspace) | **POST** /workspaces | Create a new workspace
[*WorkspaceApi*](doc/WorkspaceApi.md) | [**createWorkspaceApiKey**](doc/WorkspaceApi.md#createworkspaceapikey) | **POST** /workspaces/{workspace}/tokens | Create workspace API key
[*WorkspaceApi*](doc/WorkspaceApi.md) | [**deleteWorkspaceApiKey**](doc/WorkspaceApi.md#deleteworkspaceapikey) | **DELETE** /workspaces/{workspace}/tokens/{token_id} | Delete workspace API token
[*WorkspaceApi*](doc/WorkspaceApi.md) | [**deleteWorkspaceApiKey**](doc/WorkspaceApi.md#deleteworkspaceapikey) | **DELETE** /workspaces/{workspace}/tokens/{token_id} | Delete workspace API key
[*WorkspaceApi*](doc/WorkspaceApi.md) | [**getWorkspace**](doc/WorkspaceApi.md#getworkspace) | **GET** /workspaces/{workspace} | Get a workspace
[*WorkspaceApi*](doc/WorkspaceApi.md) | [**listWorkspaceApiKeys**](doc/WorkspaceApi.md#listworkspaceapikeys) | **GET** /workspaces/{workspace}/tokens | List a workspace's API Tokens
[*WorkspaceApi*](doc/WorkspaceApi.md) | [**listWorkspaceApiKeys**](doc/WorkspaceApi.md#listworkspaceapikeys) | **GET** /workspaces/{workspace}/tokens | List a workspace's API keys
[*WorkspaceApi*](doc/WorkspaceApi.md) | [**listWorkspaceProjects**](doc/WorkspaceApi.md#listworkspaceprojects) | **GET** /workspaces/{workspace}/projects | List all projects of a workspace
[*WorkspaceApi*](doc/WorkspaceApi.md) | [**listWorkspaces**](doc/WorkspaceApi.md#listworkspaces) | **GET** /workspaces | List workspaces the user is a member of
[*WorkspaceApi*](doc/WorkspaceApi.md) | [**updateWorkspace**](doc/WorkspaceApi.md#updateworkspace) | **PUT** /workspaces/{workspace} | Update an workspace
Expand Down
2 changes: 1 addition & 1 deletion clients/client/dart/doc/CourierApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import 'package:ory_client/api.dart';
```

All URIs are relative to *https://.projects.oryapis.com*
All URIs are relative to *https://playground.projects.oryapis.com*

Method | HTTP request | Description
------------- | ------------- | -------------
Expand Down
1 change: 1 addition & 0 deletions clients/client/dart/doc/CreateProjectApiKeyRequest.md
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
------------ | ------------- | ------------- | -------------
**expiresAt** | [**DateTime**](DateTime.md) | | [optional]
**name** | **String** | The Token Name A descriptive name for the token. in: body |

[[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
1 change: 1 addition & 0 deletions clients/client/dart/doc/CreateWorkspaceApiKeyBody.md
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
------------ | ------------- | ------------- | -------------
**expiresAt** | [**DateTime**](DateTime.md) | | [optional]
**name** | **String** | The API Key Name A descriptive name for the API key. |

[[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
2 changes: 1 addition & 1 deletion clients/client/dart/doc/EventsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import 'package:ory_client/api.dart';
```

All URIs are relative to *https://.projects.oryapis.com*
All URIs are relative to *https://playground.projects.oryapis.com*

Method | HTTP request | Description
------------- | ------------- | -------------
Expand Down
18 changes: 11 additions & 7 deletions clients/client/dart/doc/FrontendApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import 'package:ory_client/api.dart';
```

All URIs are relative to *https://.projects.oryapis.com*
All URIs are relative to *https://playground.projects.oryapis.com*

Method | HTTP request | Description
------------- | ------------- | -------------
Expand Down Expand Up @@ -199,7 +199,7 @@ final api = OryClient().getFrontendApi();
final String returnTo = returnTo_example; // String | The URL to return the browser to after the flow was completed.
final String loginChallenge = loginChallenge_example; // String | Ory OAuth 2.0 Login Challenge. If set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. The value for this parameter comes from `login_challenge` URL Query parameter sent to your application (e.g. `/registration?login_challenge=abcde`). This feature is compatible with Ory Hydra when not running on the Ory Network.
final String afterVerificationReturnTo = afterVerificationReturnTo_example; // String | The URL to return the browser to after the verification flow was completed. After the registration flow is completed, the user will be sent a verification email. Upon completing the verification flow, this URL will be used to override the default `selfservice.flows.verification.after.default_redirect_to` value.
final String organization = organization_example; // String |
final String organization = organization_example; // String | An optional organization ID that should be used to register this user. This parameter is only effective in the Ory Network.
try {
final response = api.createBrowserRegistrationFlow(returnTo, loginChallenge, afterVerificationReturnTo, organization);
Expand All @@ -216,7 +216,7 @@ Name | Type | Description | Notes
**returnTo** | **String**| The URL to return the browser to after the flow was completed. | [optional]
**loginChallenge** | **String**| Ory OAuth 2.0 Login Challenge. If set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. The value for this parameter comes from `login_challenge` URL Query parameter sent to your application (e.g. `/registration?login_challenge=abcde`). This feature is compatible with Ory Hydra when not running on the Ory Network. | [optional]
**afterVerificationReturnTo** | **String**| The URL to return the browser to after the verification flow was completed. After the registration flow is completed, the user will be sent a verification email. Upon completing the verification flow, this URL will be used to override the default `selfservice.flows.verification.after.default_redirect_to` value. | [optional]
**organization** | **String**| | [optional]
**organization** | **String**| An optional organization ID that should be used to register this user. This parameter is only effective in the Ory Network. | [optional]

### Return type

Expand Down Expand Up @@ -322,7 +322,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)

# **createNativeLoginFlow**
> LoginFlow createNativeLoginFlow(refresh, aal, xSessionToken, returnSessionTokenExchangeCode, returnTo, via)
> LoginFlow createNativeLoginFlow(refresh, aal, xSessionToken, returnSessionTokenExchangeCode, returnTo, organization, via)
Create Login Flow for Native Apps

Expand All @@ -338,10 +338,11 @@ final String aal = aal_example; // String | Request a Specific AuthenticationMet
final String xSessionToken = xSessionToken_example; // String | The Session Token of the Identity performing the settings flow.
final bool returnSessionTokenExchangeCode = true; // bool | EnableSessionTokenExchangeCode requests the login flow to include a code that can be used to retrieve the session token after the login flow has been completed.
final String returnTo = returnTo_example; // String | The URL to return the browser to after the flow was completed.
final String organization = organization_example; // String | An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network.
final String via = via_example; // String | Via should contain the identity's credential the code should be sent to. Only relevant in aal2 flows. DEPRECATED: This field is deprecated. Please remove it from your requests. The user will now see a choice of MFA credentials to choose from to perform the second factor instead.
try {
final response = api.createNativeLoginFlow(refresh, aal, xSessionToken, returnSessionTokenExchangeCode, returnTo, via);
final response = api.createNativeLoginFlow(refresh, aal, xSessionToken, returnSessionTokenExchangeCode, returnTo, organization, via);
print(response);
} catch on DioException (e) {
print('Exception when calling FrontendApi->createNativeLoginFlow: $e\n');
Expand All @@ -357,6 +358,7 @@ Name | Type | Description | Notes
**xSessionToken** | **String**| The Session Token of the Identity performing the settings flow. | [optional]
**returnSessionTokenExchangeCode** | **bool**| EnableSessionTokenExchangeCode requests the login flow to include a code that can be used to retrieve the session token after the login flow has been completed. | [optional]
**returnTo** | **String**| The URL to return the browser to after the flow was completed. | [optional]
**organization** | **String**| An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network. | [optional]
**via** | **String**| Via should contain the identity's credential the code should be sent to. Only relevant in aal2 flows. DEPRECATED: This field is deprecated. Please remove it from your requests. The user will now see a choice of MFA credentials to choose from to perform the second factor instead. | [optional]

### Return type
Expand Down Expand Up @@ -414,7 +416,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)

# **createNativeRegistrationFlow**
> RegistrationFlow createNativeRegistrationFlow(returnSessionTokenExchangeCode, returnTo)
> RegistrationFlow createNativeRegistrationFlow(returnSessionTokenExchangeCode, returnTo, organization)
Create Registration Flow for Native Apps

Expand All @@ -427,9 +429,10 @@ import 'package:ory_client/api.dart';
final api = OryClient().getFrontendApi();
final bool returnSessionTokenExchangeCode = true; // bool | EnableSessionTokenExchangeCode requests the login flow to include a code that can be used to retrieve the session token after the login flow has been completed.
final String returnTo = returnTo_example; // String | The URL to return the browser to after the flow was completed.
final String organization = organization_example; // String | An optional organization ID that should be used to register this user. This parameter is only effective in the Ory Network.
try {
final response = api.createNativeRegistrationFlow(returnSessionTokenExchangeCode, returnTo);
final response = api.createNativeRegistrationFlow(returnSessionTokenExchangeCode, returnTo, organization);
print(response);
} catch on DioException (e) {
print('Exception when calling FrontendApi->createNativeRegistrationFlow: $e\n');
Expand All @@ -442,6 +445,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**returnSessionTokenExchangeCode** | **bool**| EnableSessionTokenExchangeCode requests the login flow to include a code that can be used to retrieve the session token after the login flow has been completed. | [optional]
**returnTo** | **String**| The URL to return the browser to after the flow was completed. | [optional]
**organization** | **String**| An optional organization ID that should be used to register this user. This parameter is only effective in the Ory Network. | [optional]

### Return type

Expand Down
Loading

0 comments on commit 6bdaedd

Please sign in to comment.