Skip to content

Commit cecd957

Browse files
committed
autogen: regenerate OpenAPI client for v1.21.4
Version: v1.21.4
1 parent 9457986 commit cecd957

639 files changed

Lines changed: 1096 additions & 983 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

api/openapi.yaml

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ info:
3939
url: https://www.apache.org/licenses/LICENSE-2.0.html
4040
termsOfService: /tos
4141
title: Ory APIs
42-
version: v1.21.3
42+
version: v1.21.4
4343
servers:
4444
- url: "https://{project_slug}.projects.oryapis.com/"
4545
variables:
@@ -6181,6 +6181,14 @@ paths:
61816181
schema:
61826182
type: string
61836183
style: form
6184+
- description: An optional identity schema to use for the registration flow.
6185+
explode: true
6186+
in: query
6187+
name: identity_schema
6188+
required: false
6189+
schema:
6190+
type: string
6191+
style: form
61846192
responses:
61856193
"200":
61866194
content:
@@ -6315,6 +6323,14 @@ paths:
63156323
schema:
63166324
type: string
63176325
style: form
6326+
- description: An optional identity schema to use for the registration flow.
6327+
explode: true
6328+
in: query
6329+
name: identity_schema
6330+
required: false
6331+
schema:
6332+
type: string
6333+
style: form
63186334
responses:
63196335
"200":
63206336
content:
@@ -7051,6 +7067,14 @@ paths:
70517067
schema:
70527068
type: string
70537069
style: form
7070+
- description: An optional identity schema to use for the registration flow.
7071+
explode: true
7072+
in: query
7073+
name: identity_schema
7074+
required: false
7075+
schema:
7076+
type: string
7077+
style: form
70547078
responses:
70557079
"200":
70567080
content:
@@ -7146,6 +7170,14 @@ paths:
71467170
schema:
71477171
type: string
71487172
style: form
7173+
- description: An optional identity schema to use for the registration flow.
7174+
explode: true
7175+
in: query
7176+
name: identity_schema
7177+
required: false
7178+
schema:
7179+
type: string
7180+
style: form
71497181
responses:
71507182
"200":
71517183
content:
@@ -17003,6 +17035,8 @@ components:
1700317035
description: The Revision's ID this schema belongs to
1700417036
format: uuid
1700517037
type: string
17038+
selfservice_selectable:
17039+
type: boolean
1700617040
updated_at:
1700717041
description: Last Time Project's Revision was Updated
1700817042
format: date-time

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'java'
44
apply plugin: 'com.diffplug.spotless'
55

66
group = 'sh.ory'
7-
version = 'v1.21.3'
7+
version = 'v1.21.4'
88

99
buildscript {
1010
repositories {

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "sh.ory",
44
name := "client",
5-
version := "v1.21.3",
5+
version := "v1.21.4",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/FrontendApi.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ All URIs are relative to *https://playground.projects.oryapis.com*
4040

4141
<a id="createBrowserLoginFlow"></a>
4242
# **createBrowserLoginFlow**
43-
> LoginFlow createBrowserLoginFlow(refresh, aal, returnTo, cookie, loginChallenge, organization, via)
43+
> LoginFlow createBrowserLoginFlow(refresh, aal, returnTo, cookie, loginChallenge, organization, via, identitySchema)
4444
4545
Create Login Flow for Browsers
4646

@@ -68,8 +68,9 @@ public class Example {
6868
String loginChallenge = "loginChallenge_example"; // String | An optional Hydra login challenge. If present, Kratos will cooperate with Ory Hydra to act as an OAuth2 identity provider. The value for this parameter comes from `login_challenge` URL Query parameter sent to your application (e.g. `/login?login_challenge=abcde`).
6969
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.
7070
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.
71+
String identitySchema = "identitySchema_example"; // String | An optional identity schema to use for the registration flow.
7172
try {
72-
LoginFlow result = apiInstance.createBrowserLoginFlow(refresh, aal, returnTo, cookie, loginChallenge, organization, via);
73+
LoginFlow result = apiInstance.createBrowserLoginFlow(refresh, aal, returnTo, cookie, loginChallenge, organization, via, identitySchema);
7374
System.out.println(result);
7475
} catch (ApiException e) {
7576
System.err.println("Exception when calling FrontendApi#createBrowserLoginFlow");
@@ -93,6 +94,7 @@ public class Example {
9394
| **loginChallenge** | **String**| An optional Hydra login challenge. If present, Kratos will cooperate with Ory Hydra to act as an OAuth2 identity provider. The value for this parameter comes from &#x60;login_challenge&#x60; URL Query parameter sent to your application (e.g. &#x60;/login?login_challenge&#x3D;abcde&#x60;). | [optional] |
9495
| **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] |
9596
| **via** | **String**| Via should contain the identity&#39;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] |
97+
| **identitySchema** | **String**| An optional identity schema to use for the registration flow. | [optional] |
9698

9799
### Return type
98100

@@ -249,7 +251,7 @@ No authorization required
249251

250252
<a id="createBrowserRegistrationFlow"></a>
251253
# **createBrowserRegistrationFlow**
252-
> RegistrationFlow createBrowserRegistrationFlow(returnTo, loginChallenge, afterVerificationReturnTo, organization)
254+
> RegistrationFlow createBrowserRegistrationFlow(returnTo, loginChallenge, afterVerificationReturnTo, organization, identitySchema)
253255
254256
Create Registration Flow for Browsers
255257

@@ -274,8 +276,9 @@ public class Example {
274276
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.
275277
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.
276278
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.
279+
String identitySchema = "identitySchema_example"; // String | An optional identity schema to use for the registration flow.
277280
try {
278-
RegistrationFlow result = apiInstance.createBrowserRegistrationFlow(returnTo, loginChallenge, afterVerificationReturnTo, organization);
281+
RegistrationFlow result = apiInstance.createBrowserRegistrationFlow(returnTo, loginChallenge, afterVerificationReturnTo, organization, identitySchema);
279282
System.out.println(result);
280283
} catch (ApiException e) {
281284
System.err.println("Exception when calling FrontendApi#createBrowserRegistrationFlow");
@@ -296,6 +299,7 @@ public class Example {
296299
| **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 &#x60;login_challenge&#x60; URL Query parameter sent to your application (e.g. &#x60;/registration?login_challenge&#x3D;abcde&#x60;). This feature is compatible with Ory Hydra when not running on the Ory Network. | [optional] |
297300
| **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 &#x60;selfservice.flows.verification.after.default_redirect_to&#x60; value. | [optional] |
298301
| **organization** | **String**| An optional organization ID that should be used to register this user. This parameter is only effective in the Ory Network. | [optional] |
302+
| **identitySchema** | **String**| An optional identity schema to use for the registration flow. | [optional] |
299303

300304
### Return type
301305

@@ -512,7 +516,7 @@ No authorization required
512516

513517
<a id="createNativeLoginFlow"></a>
514518
# **createNativeLoginFlow**
515-
> LoginFlow createNativeLoginFlow(refresh, aal, xSessionToken, returnSessionTokenExchangeCode, returnTo, organization, via)
519+
> LoginFlow createNativeLoginFlow(refresh, aal, xSessionToken, returnSessionTokenExchangeCode, returnTo, organization, via, identitySchema)
516520
517521
Create Login Flow for Native Apps
518522

@@ -540,8 +544,9 @@ public class Example {
540544
String returnTo = "returnTo_example"; // String | The URL to return the browser to after the flow was completed.
541545
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.
542546
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.
547+
String identitySchema = "identitySchema_example"; // String | An optional identity schema to use for the registration flow.
543548
try {
544-
LoginFlow result = apiInstance.createNativeLoginFlow(refresh, aal, xSessionToken, returnSessionTokenExchangeCode, returnTo, organization, via);
549+
LoginFlow result = apiInstance.createNativeLoginFlow(refresh, aal, xSessionToken, returnSessionTokenExchangeCode, returnTo, organization, via, identitySchema);
545550
System.out.println(result);
546551
} catch (ApiException e) {
547552
System.err.println("Exception when calling FrontendApi#createNativeLoginFlow");
@@ -565,6 +570,7 @@ public class Example {
565570
| **returnTo** | **String**| The URL to return the browser to after the flow was completed. | [optional] |
566571
| **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] |
567572
| **via** | **String**| Via should contain the identity&#39;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] |
573+
| **identitySchema** | **String**| An optional identity schema to use for the registration flow. | [optional] |
568574

569575
### Return type
570576

@@ -648,7 +654,7 @@ No authorization required
648654

649655
<a id="createNativeRegistrationFlow"></a>
650656
# **createNativeRegistrationFlow**
651-
> RegistrationFlow createNativeRegistrationFlow(returnSessionTokenExchangeCode, returnTo, organization)
657+
> RegistrationFlow createNativeRegistrationFlow(returnSessionTokenExchangeCode, returnTo, organization, identitySchema)
652658
653659
Create Registration Flow for Native Apps
654660

@@ -672,8 +678,9 @@ public class Example {
672678
Boolean returnSessionTokenExchangeCode = true; // Boolean | 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.
673679
String returnTo = "returnTo_example"; // String | The URL to return the browser to after the flow was completed.
674680
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.
681+
String identitySchema = "identitySchema_example"; // String | An optional identity schema to use for the registration flow.
675682
try {
676-
RegistrationFlow result = apiInstance.createNativeRegistrationFlow(returnSessionTokenExchangeCode, returnTo, organization);
683+
RegistrationFlow result = apiInstance.createNativeRegistrationFlow(returnSessionTokenExchangeCode, returnTo, organization, identitySchema);
677684
System.out.println(result);
678685
} catch (ApiException e) {
679686
System.err.println("Exception when calling FrontendApi#createNativeRegistrationFlow");
@@ -693,6 +700,7 @@ public class Example {
693700
| **returnSessionTokenExchangeCode** | **Boolean**| 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] |
694701
| **returnTo** | **String**| The URL to return the browser to after the flow was completed. | [optional] |
695702
| **organization** | **String**| An optional organization ID that should be used to register this user. This parameter is only effective in the Ory Network. | [optional] |
703+
| **identitySchema** | **String**| An optional identity schema to use for the registration flow. | [optional] |
696704

697705
### Return type
698706

docs/NormalizedProjectRevisionIdentitySchema.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
|**isDefault** | **Boolean** | If true sets the default schema for identities Only one schema can ever be the default schema. If you try to add two schemas with default to true, the request will fail. | [optional] |
1717
|**preset** | **String** | Use a preset instead of a custom identity schema. | [optional] |
1818
|**projectRevisionId** | **String** | The Revision&#39;s ID this schema belongs to | [optional] |
19+
|**selfserviceSelectable** | **Boolean** | | [optional] |
1920
|**updatedAt** | **OffsetDateTime** | Last Time Project&#39;s Revision was Updated | [optional] [readonly] |
2021

2122

src/main/java/sh/ory/ApiCallback.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Ory APIs
33
* # 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) |
44
*
5-
* The version of the OpenAPI document: v1.21.3
5+
* The version of the OpenAPI document: v1.21.4
66
* Contact: support@ory.sh
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/sh/ory/ApiClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Ory APIs
33
* # 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) |
44
*
5-
* The version of the OpenAPI document: v1.21.3
5+
* The version of the OpenAPI document: v1.21.4
66
* Contact: support@ory.sh
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -231,7 +231,7 @@ private void init() {
231231
json = new JSON();
232232

233233
// Set default User-Agent.
234-
setUserAgent("OpenAPI-Generator/v1.21.3/java");
234+
setUserAgent("OpenAPI-Generator/v1.21.4/java");
235235

236236
authentications = new HashMap<String, Authentication>();
237237
}

0 commit comments

Comments
 (0)